{"pages":[{"bindOnLoad":[{"queryParam":"account","targetJsonPath":"$.Private.Account"}],"description":"Please have your <b>Social Insurance Number</b> handy. Membership costs $1 per account holder. This will be transferred from your first deposit into <b>Membership Equity Shares</b>.","hasBackButton":false,"hasNextButton":false,"id":"welcome","navigation":{"nextPageId":"declarations-modal"},"pageMode":"Page","pageTemplate":"Welcome","sections":[{"controls":[{"buttonAction":"Submit","columnOverride":1,"controlType":"Button","customClasses":"flex justify-content-center","id":"btnGetStarted","label":"Get Started"}],"customClasses":"text-center -m-5 box-shadow-none font-size-90-percent","id":"welcome","width":"Extra Extra Large"},{"controls":[{"bindingPath":"$.Private.EnableSMSTemporarily","controlType":"Input","defaultValue":"Yes","id":"EnableSMS","template":"Hidden"},{"bindingPath":"$.ApplicationType.Code","controlType":"Input","customClasses":"hidden","defaultValue":"RetailDeposit","id":"applicationType","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranch.Code","controlType":"Input","convertValueTo":"String","customClasses":"hidden","defaultValue":"downtown","id":"HomeBranchCode","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranch.Description","controlType":"Input","convertValueTo":"String","customClasses":"hidden","defaultValue":"Downtown Branch","id":"HomeBranchDescription","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","controlType":"Input","convertValueTo":"String","customClasses":"hidden","defaultValue":"NewMember","id":"NewMemberCode1","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Description","controlType":"Input","convertValueTo":"String","customClasses":"hidden","defaultValue":"New Member","id":"NewMemberDescription1","template":"Hidden"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","controlType":"Input","customClasses":"hidden","defaultValue":"STREET","id":"AddressDefault","template":"Hidden"},{"bindingPath":"$.Private.DeviceDetail.IPAddress","bindOnChange":true,"controlType":"Input","defaultValue":"0.0.0.0","id":"device-detail-ipaddress","template":"Hidden"}],"customClasses":"hidden","id":"set-defaults"}],"title":"<h1 class=\"mb-0 text-center\">Simple, Fast, Secure<br/>Open a new account in minutes.</h1>"},{"commandsOnLoad":[{"customCommand":"GetSessionId","onSuccess":[{"parameterName":"$.sessionId","responseMappings":[{"responseJsonPath":"$.sessionId","targetJsonPath":"$.Private.AppSessionId"}]}]}],"commandsOnSubmit":[{"body":[{"valueJsonPath":"$.ApplicationType.Code"},{"valueJsonPath":"$.ApplicationDetail"}],"conditions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications","httpMethod":"POST","onSuccess":[{"createDataModelAtPath":"$","navigationAction":{"navigationType":"NavigateForward"},"parameterName":"$.ApplicationNumber","responseMappings":[{"responseJsonPath":"$.ApplicationNumber","targetJsonPath":"$.ApplicationNumber"},{"responseJsonPath":"$.ApplicationType.Code","targetJsonPath":"$.ApplicationType.Code"},{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.ApplicationStatus.Code"},{"responseJsonPath":"$.StartedDateTime","targetJsonPath":"$.StartedDateTime"},{"responseJsonPath":"$.ExpirationDateTime","targetJsonPath":"$.ExpirationDateTime"},{"responseJsonPath":"$.CurrentStage","targetJsonPath":"$.CurrentStage"},{"targetJsonPath":"$.Customers[0].AccessType.Code","value":"Owner"},{"targetJsonPath":"$.Customers[1].AccessType.Code","value":"Owner"},{"targetJsonPath":"$.Customers[0].CustomerType.Code","value":"Individual"},{"targetJsonPath":"$.Private.PrimaryAccountRoles[0]","value":"Primary"},{"targetJsonPath":"$.Private.JointAccountRoles[0]","value":"Joint"}],"statusCode":201}]}],"hasBackButton":false,"hasNextButton":false,"id":"declarations-modal","modalOptions":{"modalSize":"extra-large"},"navigation":{"nextPageId":"personal-information"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"columns":2,"controls":[{"columnOverride":1,"controlType":"HTML","customClasses":"mb-0","description":"Please tick the checkboxes below to confirm you have read and understood the declarations. If you're unable to accept the declarations, please visit a branch to open an account.","id":"declarationTitle-new"},{"columnOverride":1,"controlType":"HTML","customClasses":"mb-0 h-auto","description":"<div><p class='mt-0'>I confirm that:</p><ul class='mb-0'><li>I am a Canadian resident and live in Alberta or within 75km of the <a href=\"https://www.servus.ca/branches\" target=\"_blank\">nearest branch</a>.</li><li>I am at least 18 years old and opening a personal account.</li><li>I am not opening this account on behalf of any third party.</li><li>I am not a tax resident of a country other than Canada or a US person.</li><li>I am not a politically exposed person or the head of an international organization.</a></li><li>I understand and consent that my information will be used by our trusted partners to verify my identity.</li></ul></div>","id":"declarationList1-new"},{"columnOverride":1,"controlType":"Divider","customClasses":"mt-0","id":"divider1-new"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.CustomerAgreements.DeclarationAgreementStatus.Code","checkboxSettings":{"checkedRequired":true,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"controlType":"Input","id":"declarationCheckbox-new","label":"I agree with the declarations above.","template":"CheckBox","value":false},{"bindingPath":"$.Private.Customers[0].CustomerDetail.CustomerAgreements.TermsAndCondition.Code","checkboxSettings":{"checkedRequired":true,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"controlType":"Input","id":"declarationCheckboxPrivacy-new","label":"<a href= \"https://servus.ca/personal/bank/member-agreement\" target=\"_blank\">Servus Member Agreement.</a>","template":"CheckBox","value":false},{"bindingPath":"$.Private.Customers[0].CustomerDetail.CustomerAgreements.RRSPInvestment.Code","checkboxSettings":{"checkedRequired":true,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"conditions":[{"targetJsonPath":"$.Private.Account","targetValue":"rrsp-high-yield-savings"},{"targetJsonPath":"$.Private.Account","targetValue":"rrsp-premium-savings"}],"controlType":"Input","id":"declarationCheckboxRRSPInvestment-new","label":"I have read and agree to the RRSP Investment <a href= \"https://acrobat.adobe.com/id/urn:aaid:sc:AP:762663c4-21b9-4bc0-8ab6-f68b2ce05c31\" target=\"_blank\">Terms and Conditions</a>","template":"CheckBox","value":false},{"bindingPath":"$.Private.Customers[0].CustomerDetail.CustomerAgreements.TFSAInvestment.Code","checkboxSettings":{"checkedRequired":true,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"conditions":[{"targetJsonPath":"$.Private.Account","targetValue":"tfga-growth"},{"targetJsonPath":"$.Private.Account","targetValue":"tfga-premium"}],"controlType":"Input","id":"declarationCheckboxTFSAInvestment-new","label":"I have read and agree to the TFSA Investment <a href= \"https://acrobat.adobe.com/id/urn:aaid:sc:ap:3415c219-10f3-4e06-96e1-be98a7fce2bc\" target=\"_blank\">Terms and Conditions</a>","template":"CheckBox","value":false},{"bindingPath":"$.Private.Customers[0].CustomerDetail.CustomerAgreements.PrivacyPolicy.Code","checkboxSettings":{"checkedRequired":true,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"controlType":"Input","id":"declarationCheckboxSubPrivacy-new","label":"Send me tailored financial insights, the latest product news, and unique opportunities to make the most of being a Servus member-owner. Your information is protected by our privacy policy, and you can withdraw anytime.","template":"CheckBox","value":false},{"columnOverride":1,"controlType":"Divider","customClasses":"mt-0","id":"divider1-new"},{"buttonAction":"CloseModal","buttonSettings":{"isOutline":true},"controlType":"Button","id":"close-modal-button","label":"Cancel"},{"buttonAction":"Submit","controlType":"Button","customClasses":"float-right","id":"btnNext","label":"Next"}],"customClasses":"font-size-90-percent box-shadow-none p-0 -mt-2","headingSize":"h1","id":"declarations-section1","template":"Default","textAlignment":"text-left","title":"Declarations"}]},{"commandsOnLoad":[{"conditions":[{"targetJsonPath":"$.Private.Offers","targetValue":""}],"endpointUrl":"api/cumulusworkflow/offers/{$.Private.Account}","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Offers[0]"},{"responseJsonPath":"$.OfferDetail.ProductName","targetJsonPath":"$.Private.DefaultProductName1"},{"responseJsonPath":"$.OfferDetail.UpsellAccountList[0].Name","targetJsonPath":"$.Private.UpsellTitle.Product1"},{"responseJsonPath":"$.OfferDetail.UpsellAccountList[1].Name","targetJsonPath":"$.Private.UpsellTitle.Product2"},{"responseJsonPath":"$.OfferDetail","targetJsonPath":"$.Products[0].OfferDetail"},{"responseJsonPath":"$.ProductType","targetJsonPath":"$.Products[0].ProductType"},{"responseJsonPath":"$.OfferDetail.ProductName","targetJsonPath":"$.Products[0].ProductName"},{"responseJsonPath":"$.ProductType","targetJsonPath":"$.Private.Offers[0].IntendedUseCategory"},{"bindingPath":"$.Private.Offers[0].OfferDetail.UpsellAccountList[0].Id","targetJsonPath":"$.Private.DefaultUpsellPlan"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","value":""}],"statusCode":200}]},{"body":[{"parameterName":"AccessType","valueJsonPath":"$.Customers[0].AccessType"},{"parameterName":"CustomerType","valueJsonPath":"$.Customers[0].CustomerType"},{"parameterName":"CustomerDetail","valueJsonPath":"$.Customers[0].CustomerDetail"}],"conditions":[{"targetJsonPath":"$.Customers[0].CustomerId","targetValue":""},{"targetJsonPath":"$.ApplicationStatus.Code","targetValue":"Started"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers","httpMethod":"POST","onSuccess":[{"createDataModelAtPath":"$.Customers[0]","parameterName":"$.CustomerId","responseMappings":[{"responseJsonPath":"$.CustomerId","targetJsonPath":"$.Customers[0].CustomerId"},{"responseJsonPath":"$.CustomerType.Code","targetJsonPath":"$.Customers[0].CustomerType.Code"},{"responseJsonPath":"$.AccessType.Code","targetJsonPath":"$.Customers[0].AccessType.Code"},{"responseJsonPath":"$.CustomerDetail","targetJsonPath":"$.Customers[0].CustomerDetail"},{"targetJsonPath":"$.Private.Sin.MemberType","value":"INDIVIDUAL"}],"statusCode":201}]}],"commandsOnSubmit":[{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.SMSSent","value":""}]}]},{"conditions":[{"targetJsonPath":"$.Private.LastPhoneNumber","targetValueJsonPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"}],"customCommand":"GetCurrentUrl","delayIntervalMS":1,"onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.SMSSent","value":"Yes"}]}]},{"conditions":[{"operator":"Contains","targetJsonPath":"$.Private.Offers[0].ProductType","targetValue":["TfsaTermDeposit","RspTermDeposit"]}],"dataBindings":[{"targetJsonPath":"$.Private.Offers[0].ProductType"}],"onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Offers[0].IntendedUseCategory","value":"PersonalSavings"}]}]},{"allowNull":false,"body":[{"parameterName":"EmailContacts","valueJsonPath":"$.Customers[0].CustomerDetail.EmailContacts"},{"parameterName":"FirstName","valueJsonPath":"$.Customers[0].CustomerDetail.FirstName"},{"parameterName":"PreferredName","valueJsonPath":"$.Customers[0].CustomerDetail.PreferredName"},{"parameterName":"MiddleName","valueJsonPath":"$.Customers[0].CustomerDetail.MiddleName"},{"parameterName":"LastName","valueJsonPath":"$.Customers[0].CustomerDetail.LastName"},{"parameterName":"PhoneContacts","valueJsonPath":"$.Customers[0].CustomerDetail.PhoneContacts"},{"parameterName":"EmailContacts","valueJsonPath":"$.Customers[0].CustomerDetail.EmailContacts"},{"parameterName":"AccountRoles","valueJsonPath":"$.Private.PrimaryAccountRoles"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[0].CustomerId}/detail","httpMethod":"PUT","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"resetMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Otp","value":""}],"responseMappings":[{"responseJsonPath":"$.CustomerDetail.PreferredName","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName"}],"statusCode":200}]}],"hasBackButton":false,"hasNextButton":true,"id":"personal-information","navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirm-sms"},"operator":"NotEquals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetValueJsonPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"}],"editConditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirm-sms"},"operator":"NotEquals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetValueJsonPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"}],"nextPageId":"account-selection1"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":1,"restrictions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"sections":[{"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.FirstName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter your first name"},"id":"firstName","inputMode":"Required","label":"First name","maxLength":19,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Customers[0].CustomerDetail.PreferredName","bindOnChange":true,"controlType":"Input","customClasses":"pb-2","id":"preferredName","inputMode":"Optional","label":"Preferred name (optional)","maxLength":13,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Customers[0].CustomerDetail.MiddleName","bindOnChange":true,"controlType":"Input","customClasses":"pb-2","id":"middleName","inputMode":"Optional","label":"Middle name (optional)","maxLength":19,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Customers[0].CustomerDetail.LastName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter your last name"},"id":"lastName","inputMode":"Required","label":"Last name","maxLength":38,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter your phone number"},"id":"mobileNumber","inputMask":"(999) 999-9999","inputMode":"Required","keyboardType":"Mobile","label":"Mobile #","maxLength":10,"prependString":"+1","regexMessage":"Invalid mobile phone number","regexPattern":"^(\\d{3}-\\d{3}-\\d{4})|(\\d{10})$","template":"TextBox"},{"bindingPath":"$.Customers[0].CustomerDetail.EmailContacts.Primary.EmailAddress","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"email":"A valid email address is required. Please use the format email@example.com","required":"Please enter your email address"},"customValidators":[{"errorMessage":"A valid email address is required. Please use the format email@example.com","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z0-9._%-]+@[A-Za-z0-9._%-]+\\.[a-zA-Z]{2,10}$"},"validator":"Regex"}],"id":"email","inputMode":"Required","label":"Email","maxLength":50,"template":"TextBox","transformStringTo":"Lowercase"},{"controlType":"Input","helpIcon":"fal fa-info-circle","helpText":"Preferred name: If you go by something different than your legal name, please let us know your preferred name.","id":"helptext1"}],"description":"<p class='-mt-2'>Please enter the information below exactly as it appears on your government issued ID. (example: driver's license). Please be aware that once you have confirmed your mobile number on the next page you will not be able to update the information entered on this page.</p>","id":"names","title":"Personal information"}]},{"commandsOnLoad":[{"conditions":[{"operator":"Contains","targetJsonPath":"$.Private.Offers[0].ProductType","targetValue":["TfsaTermDeposit","RspTermDeposit"]}],"dataBindings":[{"targetJsonPath":"$.Private.UpsellTitle.Product1"}],"onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.AddUpsellAccount","value":"Yes"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.Offers","targetValue":""}],"endpointUrl":"api/cumulusworkflow/offers","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Offers"}],"statusCode":200}]},{"endpointUrl":"api/staticdata/intendeduseoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.IntendedUse"},{"bindingPath":"$..Lists.IntendedUse[?(@.Category=='PersonalChequing')]","targetJsonPath":"$.Private.Lists.FilteredIntendedUse.PersonalChequing"},{"bindingPath":"$..Lists.IntendedUse[?(@.Category=='PersonalSavings')]","targetJsonPath":"$.Private.Lists.FilteredIntendedUse.PersonalSavings"},{"bindingPath":"$.Private.Lists.FilteredIntendedUse['{$.Private.Offers[0].IntendedUseCategory}']","targetJsonPath":"$.Private.Lists.FilteredIntendedUseResult[0]"},{"bindingPath":"$.Private.Lists.FilteredIntendedUse.PersonalSavings","targetJsonPath":"$.Private.Lists.FilteredIntendedUseResult[1]"}],"statusCode":200}]},{"endpointUrl":"api/staticdata/OpeningReason","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.OpeningReason"}],"statusCode":200}]}],"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Private.DefaultUpsellPlan","targetValue":"*"}],"endpointUrl":"api/cumulusworkflow/offers/{$.Private.DefaultUpsellPlan}","httpMethod":"GET","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Offers[1]"},{"responseJsonPath":"$.OfferDetail.ProductName","targetJsonPath":"$.Private.DefaultProductName2"},{"responseJsonPath":"$.OfferDetail","targetJsonPath":"$.Products[1].OfferDetail"},{"responseJsonPath":"$.OfferDetail.ProductName","targetJsonPath":"$.Products[1].ProductName"},{"responseJsonPath":"$.ProductType","targetJsonPath":"$.Products[1].ProductType"},{"responseJsonPath":"$.ProductType","targetJsonPath":"$.Private.Offers[1].IntendedUseCategory"}],"statusCode":200}]}],"hasBackButton":true,"hasNextButton":true,"id":"account-selection1","navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"additional-details"},"targetJsonPath":"$.Private.Offers[0].OfferDetail.UpsellAccountList","targetValue":""}],"editConditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"upsell-promotional-plan"},"targetJsonPath":"$.Private.AddUpsellAccount","targetValue":"Yes"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirmation"},"targetJsonPath":"$.Private.AddUpsellAccount","targetValue":"No"}],"nextPageId":"upsell-promotional-plan"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":0,"sections":[{"controls":[{"bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Offers[0].OfferDetail","targetValue":"*"}],"controlType":"HTML","customClasses":"background-primary-opaque pb-3 mb-4","description":"<div class=\"px-3 pt-1 pb-2 -mt-2 background-primary-faded\"><h3><b>{$.Private.Offers[0].OfferDetail.ProductName}</b></h3>{$.Private.Offers[0].OfferDetail.ProductDescriptionHtml}<details><summary  class='font-bold color-primary'>Account Details</summary><div>{$.Private.Offers[0].OfferDetail.ProductMoreDescriptionHtml}</div></details></div>","id":"product-html1"},{"bindOnChange":true,"conditions":[{"operator":"Contains","targetJsonPath":"$.Private.Offers[0].ProductType","targetValue":["TfsaTermDeposit","RspTermDeposit"]}],"controlType":"HTML","customClasses":"background-primary-opaque pb-3 mb-4","description":"<div class=\"px-3 pt-1 pb-2 background-primary-faded\">{$.Private.Offers[0].OfferDetail.Notes}<div></div>","id":"product-html2"},{"bindingPath":"$.Products[0].ProductDetail.RegulatoryCompliance.IntendedUse.Code","conditions":[{"operator":"Contains","targetJsonPath":"$.Private.Offers[0].ProductType","targetValue":["PersonalSavings","PersonalChequing"]}],"controlOptions":{"descriptionControlId":"intended-use-description1","optionsJsonPath":"$.Private.Lists.FilteredIntendedUseResult[0]"},"controlType":"Input","dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Description","valueJsonPath":"$.Code"},"id":"intended-use-dropdown1","inputMode":"Required","label":"What will you use this account for?","template":"DropDown"},{"bindingPath":"$.Products[0].ProductDetail.RegulatoryCompliance.IntendedUse.Description","bindOnChange":true,"controlType":"Input","id":"intended-use-description1","template":"Hidden"}],"description":"","groupPanelSettings":{"customClasses":"bg-white m=0"},"id":"account-selection-section1","title":"Account selection"}]},{"commandsOnLoad":[{"conditions":[{"targetJsonPath":"$.Private.Offers[1].IntendedUseCategory","targetValue":"*"}],"dataBindings":[{"bindingPath":"$.Private.Lists.FilteredIntendedUse['{$.Private.Offers[1].IntendedUseCategory}']","targetJsonPath":"$.Private.Lists.FilteredIntendedUseResult[1]"}],"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Lists.FilteredIntendedUse['{$.Private.Offers[1].IntendedUseCategory}']","targetJsonPath":"$.Private.Lists.FilteredIntendedUseResult[1]"}]}]}],"hasBackButton":true,"hasNextButton":true,"id":"upsell-promotional-plan","navigation":{"nextPageId":"additional-details"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":0,"resetToDefaultOnBackClick":true,"sections":[{"controls":[{"conditions":[{"operator":"Contains","targetJsonPath":"$.Private.Offers[0].ProductType","targetValue":["TfsaTermDeposit","RspTermDeposit"]}],"controlType":"HTML","customClasses":"-mt-4","description":"<h2>Add a {$.Private.UpsellTitle.Product1} / {$.Private.UpsellTitle.Product2} Account</h2>","id":"upsell-title"},{"conditions":[{"operator":"Contains","targetJsonPath":"$.Private.Offers[0].ProductType","targetValue":["PersonalChequing","PersonalSavings"]}],"controlType":"HTML","customClasses":"-mt-4","description":"<h2>Add a {$.Private.DefaultProductName2} Account</h2>","id":"upsell-title1"},{"conditions":[{"operator":"Contains","targetJsonPath":"$.Private.Offers[0].ProductType","targetValue":["PersonalChequing","PersonalSavings"]}],"controlType":"HTML","customClasses":"","description":"<p class='-mt-2'>You've already opening a {$.Private.DefaultProductName1}. Why not add a {$.Private.DefaultProductName2} so that you can manage your chequing and savings in one place?</p>","id":"usell-title2"},{"bindingPath":"$.Private.AddUpsellAccount","bindOnChange":true,"conditions":[{"operator":"Contains","targetJsonPath":"$.Private.Offers[0].ProductType","targetValue":["PersonalChequing","PersonalSavings"]}],"controlOptions":{"options":[{"label":"Sure","value":"Yes"},{"label":"No thanks","value":"No"}],"stacked":false},"controlType":"Input","customClasses":"mt-3 pb-0","id":"add-upsell-acount","inputMode":"Required","radioListSettings":{"bindOnSelect":true,"submitOnSelect":false},"resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"intended-use-dropdown2"},{"onChangeTargetId":"intended-use-description2"},{"targetJsonPath":"$.Products[1].ProductDetail.RegulatoryCompliance.IntendedUse.Code"},{"targetJsonPath":"$.Products[1].ProductDetail.RegulatoryCompliance.IntendedUse.Description"}]}],"template":"RadioList"},{"conditions":[{"operator":"Contains","targetJsonPath":"$.Private.Offers[0].ProductType","targetValue":["TfsaTermDeposit","RspTermDeposit"]}],"controlType":"HTML","customClasses":"","description":"<p>You can either use a savings account or select a daily banking account for this step.</p>","id":"add-upsell-acount-desp"},{"allConditionsMustBeMet":true,"bindingPath":"$.Private.DefaultUpsellPlan","bindOnChange":true,"bindOnLoad":true,"conditions":[{"targetJsonPath":"$.Private.Offers[0].OfferDetail.UpsellAccountList","targetValue":"*"},{"operator":"Contains","targetJsonPath":"$.Private.Offers[0].ProductType","targetValue":["TfsaTermDeposit","RspTermDeposit"]}],"controlOptions":{"onChangeTargetId":"intended-use-dropdown2","optionsJsonPath":"$.Private.Offers[0].OfferDetail.UpsellAccountList"},"controlType":"Input","customClasses":"pb-2 block w-16rem sm:w-auto","dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Name","onSelect":{"conditions":[{"targetJsonPath":"$.Private.DefaultUpsellPlan","targetValue":"*"}],"endpointUrl":"api/cumulusworkflow/offers/{$.Private.DefaultUpsellPlan}","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Offers[1]"},{"responseJsonPath":"$.OfferDetail.ProductName","targetJsonPath":"$.Private.DefaultProductName2"},{"responseJsonPath":"$.OfferDetail","targetJsonPath":"$.Private.Offers[1].OfferDetail"},{"responseJsonPath":"$.OfferDetail","targetJsonPath":"$.Products[1].OfferDetail"},{"responseJsonPath":"$.OfferDetail.ProductName","targetJsonPath":"$.Products[1].OfferDetail.ProductName"},{"responseJsonPath":"$.ProductType","targetJsonPath":"$.Products[1].ProductType"},{"responseJsonPath":"$.OfferDetail.ProductName","targetJsonPath":"$.Products[1].ProductName"},{"responseJsonPath":"$.ProductType","targetJsonPath":"$.Private.Offers[1].IntendedUseCategory"},{"bindingPath":"$.Private.Lists.FilteredIntendedUse['{$.Private.Offers[1].IntendedUseCategory}']","targetJsonPath":"$.Private.Lists.FilteredIntendedUseResult[1]"}],"statusCode":200}]},"valueJsonPath":"$.Id"},"id":"accounts-dropdown1-1","inputMode":"Required","label":"Please select an account","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"intended-use-dropdown2"},{"onChangeTargetId":"intended-use-description2"},{"targetJsonPath":"$.Products[1].ProductDetail.RegulatoryCompliance.IntendedUse.Code"},{"targetJsonPath":"$.Products[1].ProductDetail.RegulatoryCompliance.IntendedUse.Description"},{"targetJsonPath":"$.Private.Lists.FilteredIntendedUseResult[1]"}]}],"template":"DropDown"},{"allConditionsMustBeMet":true,"bindOnChange":true,"bindOnLoad":true,"conditions":[{"targetJsonPath":"$.Private.Offers[1].OfferDetail","targetValue":"*"}],"controlType":"HTML","customClasses":"background-primary-opaque pb-3 mb-4 mt-4","description":"<div class=\"px-3 pt-1 pb-2 background-primary-faded\"><h3><b>{$.Private.Offers[1].OfferDetail.ProductName}</b></h3>{$.Private.Offers[1].OfferDetail.ProductDescriptionHtml}<details><summary  class='font-bold color-primary'>Account Details</summary><div>{$.Private.Offers[1].OfferDetail.ProductMoreDescriptionHtml}</div></details></div>","id":"product-html1"},{"allConditionsMustBeMet":true,"bindingPath":"$.Products[1].ProductDetail.RegulatoryCompliance.IntendedUse.Code","bindOnChange":true,"bindOnLoad":true,"conditions":[{"targetJsonPath":"$.Private.AddUpsellAccount","targetValue":"Yes"},{"operator":"Contains","targetJsonPath":"$.Private.Offers[1].ProductType","targetValue":["PersonalSavings","PersonalChequing"]}],"controlOptions":{"descriptionControlId":"intended-use-description2","optionsJsonPath":"$.Private.Lists.FilteredIntendedUseResult[1]"},"controlType":"Input","dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Description","onLoad":{"dataBindings":[{"targetJsonPath":"$.Private.Offers[1].IntendedUseCategory"}],"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Lists.FilteredIntendedUse['{$.Private.Offers[1].IntendedUseCategory}']","targetJsonPath":"$.Private.Lists.FilteredIntendedUseResult[1]"}]}]},"valueJsonPath":"$.Code"},"id":"intended-use-dropdown2","inputMode":"Required","label":"What will you use this account for?","template":"DropDown"},{"bindingPath":"$.Products[1].ProductDetail.RegulatoryCompliance.IntendedUse.Description","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.AddUpsellAccount","targetValue":"Yes"},{"operator":"Contains","targetJsonPath":"$.Private.Offers[1].ProductType","targetValue":["PersonalChequing","PersonalSavings"]}],"controlType":"Input","id":"intended-use-description2","template":"Hidden"}],"description":"","groupPanelSettings":{"customClasses":"bg-white m=0"},"id":"account-selection-section2"}]},{"commandsOnLoad":[{"conditions":[{"targetJsonPath":"$.Private.Lists.Primary.AllBranches","targetValue":"*"},{"targetJsonPath":"$.Private.Lists.Primary.Branches","targetValue":"*"},{"operator":"GreaterThan","targetJsonPath":"$.Private.Lists.Primary.Branches.length","targetValue":0}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.ValidPrimaryAddress","value":"yes"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.Primary.Branches","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.ValidPrimaryAddress","value":"no"}]}]},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.Province.Code","targetValue":"AB"},{"targetJsonPath":"$.Private.Lists.Primary.AllBranches","targetValue":"*"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$..Lists.Primary.AllBranches[?(@.streetAddress.provinceCode=='AB')]","targetJsonPath":"$.Private.Lists.Primary.Branches"},{"targetJsonPath":"$.Private.ValidPrimaryAddress","value":"yes"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","value":"STREET"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Search","value":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":""}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.PostalCode","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.Search","value":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.addressType","value":""}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.BankingFloorCallResults[0].Status","value":"Success"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.BankingFloorCallResults[0].ReferenceId","value":"PartyExists"}]}]},{"customCommand":"GetCurrentUtcDateTime","onSuccess":[{"parameterName":"$.currentDate","responseMappings":[{"responseJsonPath":"$.currentDate","targetJsonPath":"$.Private.Customers[0].CustomerDetail.BankingFloorCallResults[0].CallDateTime"}]}]}],"commandsOnSubmit":[{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.TaxpayerIdentificationNumbers[0].TaxNumber","targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialInsuranceNumber"}]}]},{"body":[{"parameterName":"TaxInformation","valueJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation"}],"endpointUrl":"api/bankingfloor/members/checkexists","httpMethod":"POST","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"sin-error"},"parameterName":"$.IsMatchFound","parameterValue":true,"statusCode":200},{"statusCode":200}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.SameAsAddressType","value":"Home"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.PostalCode","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.SameAsAddressType","value":"Home"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","targetValue":"*"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.SameAsAddressType","value":"None"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.CityName","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CityName"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Country.Code","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Country.Code"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.PostalCode","targetValue":"*"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.SameAsAddressType","value":"None"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.UnitNumber","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.CivicNumber","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.StreetName","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.CityName","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CityName"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.Province.Code","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.PostalCode","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.Country.Code","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Country.Code"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimaryMail","targetValue":true},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Search","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.RuralRoute","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.RuralRoute"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.BoxNumber","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.BoxNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.SameAsAddressType","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.SameAsAddressType"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CityName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CityName"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimaryMail","targetValue":true}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.Search","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.addressType","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.RuralRoute","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.RuralRoute"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.BoxNumber","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.BoxNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.UnitNumber","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.StreetName","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.SameAsAddressType","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.SameAsAddressType"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CityName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CityName"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.LegalLandDescription","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.StreetName"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressTypeIntitial","value":"PO Box"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"RURALROUTE"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressTypeIntitial","value":"RR"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingMultiPath":["$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressTypeIntitial","$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.BoxNumber"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"POBOX"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingMultiPath":["$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressTypeIntitial","$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.BoxNumber"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"RURALROUTE"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingMultiPath":["$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressTypeIntitial","$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.RuralRoute"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"RURALROUTE"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingMultiPath":["$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressTypeIntitial","$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.RuralRoute"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","targetValue":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.PostalCode"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.PostalCode","targetValue":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimaryMail","targetValue":true}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.SameAsAddressType","value":"Home"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimaryMail","targetValue":true}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.BoxNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"POBOX"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimaryMail","targetValue":true}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.BoxNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"RURALROUTE"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimaryMail","targetValue":true}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.RuralRoute","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"RURALROUTE"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimaryMail","targetValue":true}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.RuralRoute","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimary","targetValue":true}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.Search","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.Search"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.LegalLandDescription","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.LegalLandDescription"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.UnitNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.UnitNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.CivicNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.CivicNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.StreetName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.StreetName"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.CityName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.CityName"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.Province.Code","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.Province.Code"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.PostalCode","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.PostalCode"},{"bindingPath":"$.Private.Lists.Primary.AllBranches","targetJsonPath":"$.Private.Lists.Joint.AllBranches"},{"bindingPath":"$.Private.Lists.Primary.Branches","targetJsonPath":"$.Private.Lists.Joint.Branches"},{"bindingPath":"$.Private.Primary.HomeBranch","targetJsonPath":"$.Private.Joint.HomeBranch"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customer[0].CustomerDetail.IsMainFI","targetValue":"No"}],"dataBindings":[{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.PrimaryFinancialInstitutionName","targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.PrimaryFinancialInstitutionName"}],"onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.PrimaryFinancialInstitutionName"}],"statusCode":200}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.TaxpayerIdentificationNumbers[0].TaxNumber","targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialInsuranceNumber"}]}]},{"allowNull":false,"body":[{"parameterName":"BankingFloorCallResults","valueJsonPath":"$.Private.Customers[0].CustomerDetail.BankingFloorCallResults"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[0].CustomerId}/detail","httpMethod":"PUT","onSuccess":[{"statusCode":200}]},{"allowNull":true,"body":[{"parameterName":"IPAddress","valueJsonPath":"$.Private.DeviceDetail.IPAddress"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[0].CustomerId}/devicedetail","httpMethod":"PUT","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"statusCode":200}]}],"hasBackButton":true,"hasNextButton":true,"id":"additional-details","navigation":{"nextPageId":"employment-info"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":1,"resetToDefaultOnBackClick":true,"sections":[{"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.DateOfBirth","bindOnChange":true,"controlType":"Input","datepickerSettings":{"defaultDate":"2000,1,1","minAge":18},"iconLeft":"fal fa-calendar-alt","id":"dob","inputMode":"Required","label":"Date of Birth","template":"DatePicker"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.TaxpayerIdentificationNumbers[0].TaxNumber","bindOnChange":true,"controlType":"Input","customClasses":"mt-3 pb-2","customValidators":[{"errorMessage":"Invalid Social Insurance Number.","sinValidatorSettings":{"canStartWithNine":true},"validator":"SocialInsuranceNumber"}],"iconLeft":"fal fa-address-card","id":"sin-number","inputMask":"999-999-999","inputMode":"Required","keyboardType":"Phone","label":"Social Insurance Number","regexMessage":"A Social Insurance Number must be 9 digits long","regexPattern":",^(\\d{3}-\\d{3}-\\d{3})|(\\d{9})$","template":"TextBox"},{"bindingPath":"$.Customers[0].CustomerDetail.ReasonForOpening.Code","controlOptions":{"descriptionControlId":"opening-reason-description","optionsJsonPath":"$.Private.Lists.OpeningReason"},"controlType":"Input","dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Description","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Customers[0].CustomerDetail.ReasonForOpening.Description"},"id":"why-choose-servus-dropdown","inputMode":"Required","label":"Why are you choosing Servus?","placeholder":"","template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.ReasonForOpening.Description","bindOnChange":true,"controlType":"Input","id":"opening-reason-description"},{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.PrimaryFinancialInstitutionName","controlType":"Input","customClasses":"hidden","id":"servus-your-main-fi-default","template":"Hidden"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.IsMainFI","controlOptions":{"options":[{"label":"Yes","value":"Servus"},{"label":"No","value":"No"}],"stacked":false},"controlType":"Input","customClasses":"mt-3 pb-3","id":"servus-your-main-fi","inputMode":"Required","label":"Will Servus be your main financial institution?","radioListSettings":{"bindOnSelect":true,"onSelect":{"dataBindings":[{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.PrimaryFinancialInstitutionName","targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.PrimaryFinancialInstitutionName"}],"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.IsMainFI","targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.PrimaryFinancialInstitutionName"}],"statusCode":200}]},"submitOnSelect":false},"resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.PrimaryFinancialInstitutionName"},{"onChangeTargetId":"servus-your-main-fi-default"}]}],"template":"RadioList"},{"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"Social Insurance Number: Your SIN will be used for tax reporting purposes and to help us confirm your identity.","id":"addition-details-help-text-2"},{"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"Main financial institution: This is another one of those questions that the government requires us to report on.","id":"addition-details-help-text-1"}],"title":"Additional details"},{"controls":[{"controlType":"HTML","description":"<p class='-mt-2'>Please enter your address.</p>","id":"address-description"},{"addressInputs":{"addressType":{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","bindOnChange":true,"bindOnLoad":true,"controlOptions":{"options":[{"label":"Civic Address","value":"STREET"},{"label":"Legal Land Description","value":"LEGAL"}]},"controlType":"Input","dropdownSettings":{"bindOnSelect":true},"enabled":true,"id":"addressType","inputMode":"Required","label":"Address type","placeholder":"","resetMappingsSettings":[{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.LegalLandDescription"},{"onChangeTargetId":"legalDescription"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail"}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.UnitNumber"},{"onChangeTargetId":"unitNumber"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.CivicNumber"},{"onChangeTargetId":"civicNumber"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.StreetName"},{"onChangeTargetId":"streetName"}]}],"template":"DropDown"},"cityName":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.CityName","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"Please enter valid city","parameters":{"objectProperty":"id","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"cityName","inputMode":"Required","label":"City","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"civicNumber":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.CivicNumber","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"civicNumber","inputMode":"Optional","inputModeConditions":[{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"defaultInputMode":"Optional","inputMode":"Required"}],"label":"Street number","maxLength":20,"regexMessage":"Please enter a valid street number","regexPattern":"(^[0-9 ]*$)?","template":"TextBox"},"country":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.Country.Code","bindOnChange":true,"controlOptions":{"options":[{"label":"Canada","value":"CA"}]},"controlType":"Input","id":"country","inputMode":"Required","label":"Country","template":"DropDown","value":"CA"},"legalDescription":{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.LegalLandDescription","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"Please enter valid legal land description","parameters":{"objectProperty":"id","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"legalDescription","inputMode":"Optional","inputModeConditions":[{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"}],"defaultInputMode":"Optional","inputMode":"Required"}],"label":"Legal land description","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"postalCode":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.PostalCode","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"postalCode","inputMask":"a9a-9a9","inputMode":"Required","label":"Postal code","regexMessage":"Invalid postal code (eg. A1A-1A1).","regexPattern":"^([A-Za-z]\\d[A-Za-z]\\d[A-Za-z]\\d)$","template":"TextBox","transformStringTo":"Uppercase"},"provinceCode":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.Province.Code","bindOnChange":true,"controlOptions":{"options":[{"label":"Alberta","value":"AB"},{"label":"British Columbia","value":"BC"},{"label":"Saskatchewan","value":"SK"}]},"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"enabled":true,"id":"provinceCode","inputMode":"Required","label":"Province","regexMessage":"Quebec addresses are not permitted.","regexPattern":"^((?!QC).)*$","template":"DropDown"},"streetName":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.StreetName","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"streetName","inputMode":"Optional","inputModeConditions":[{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"defaultInputMode":"Optional","inputMode":"Required"}],"label":"Street name","maxLength":50,"regexMessage":"Please select a non-PO box address","regexPattern":"(^((?!PO\\sBOX|PO\\sBox|Po\\sBox|po\\sbox|POBOX|POBox|PoBox|pobox).)*$)(^[a-zA-Z0-9 -]*$)?","template":"TextBox","transformStringTo":"Titlecase"},"unitNumber":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.UnitNumber","bindOnChange":true,"bindOnLoad":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"controlType":"Input","customValidators":[{"errorMessage":"Please enter valid apt/unit #","parameters":{"regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"unitNumber","inputMode":"Optional","label":"Apt/Unit #","maxLength":20,"template":"TextBox"}},"addressSettings":{"commandsOnSelect":[{"delayIntervalMS":500,"endpointUrl":"api/branchlocator/branches?originAddress={$.Private.Customers[0].CustomerDetail.AddressContacts.Home.Search.label}","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Primary.AllBranches"},{"targetJsonPath":"$.Private.Lists.Primary.Branches","value":""},{"targetJsonPath":"$.Private.Primary.HomeBranch","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranch.Code","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranch.Description","value":""}],"statusCode":200}]},{"customCommand":"GetCurrentUrl","delayIntervalMS":500,"onSuccess":[{"responseMappings":[{"bindingPath":"$..Lists.Primary.AllBranches[?(@.routeDistance<=75000)]","targetJsonPath":"$.Private.Lists.Primary.Branches"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimary","targetValue":true}],"customCommand":"GetCurrentUrl","delayIntervalMS":600,"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.Search","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.Search"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.LegalLandDescription","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.LegalLandDescription"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.UnitNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.UnitNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.CivicNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.CivicNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.StreetName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.StreetName"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.CityName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.CityName"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.Province.Code","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.Province.Code"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.PostalCode","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.PostalCode"},{"bindingPath":"$.Private.Lists.Primary.AllBranches","targetJsonPath":"$.Private.Lists.Joint.AllBranches"},{"bindingPath":"$.Private.Lists.Primary.Branches","targetJsonPath":"$.Private.Lists.Joint.Branches"},{"bindingPath":"$.Private.Primary.HomeBranch","targetJsonPath":"$.Private.Joint.HomeBranch"}]}]},{"customCommand":"GetCurrentUrl","delayIntervalMS":700,"onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"additional-details"}}]}],"manualEntryType":"Modal","modalButtonLabel":"Submit","modalDescription":"Please enter your address manually below.","modalTitle":"Enter manual address","poBoxRestrictionMessage":"Please use a non-PO Box address for your physical address","ProvinceCode":"AB,BC,SK","restrictPoBox":true,"toggleLinkLabel":{"searchLabel":"Enter address manually"}},"autocompleteSettings":{"bindOnSelect":true},"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.Search","controlType":"Input","customClasses":"max-w-full -mt-3","customValidators":[{"errorMessage":"Input contains special and/or accented characters. Please enter address manually to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"iconLeft":"fal fa-map-marker-alt","id":"addressSearch","inputMode":"Required","label":"Physical address (required)","template":"AddressSearch"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Lists.Primary.AllBranches","targetValue":"*"},{"targetJsonPath":"$.Private.Lists.Primary.Branches","targetValue":""},{"operator":"NotContains","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.Province.Code","targetValue":"AB"}],"controlType":"HTML","customClasses":"line-height-1 ml-3","description":"<small class='p-error '>You have to be either a resident of AB or resident of BC or SK that resides within 75 km from one of our branches.</small>","id":"address-description-error"},{"addressInputs":{"addressType":{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","bindOnLoad":true,"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"controlOptions":{"options":[{"label":"Civic Address","value":"STREET"},{"label":"PO Box Address","value":"POBOX"},{"label":"Rural Route","value":"RURALROUTE"}]},"controlType":"Input","defaultValue":"STREET","dropdownSettings":{"bindOnSelect":true},"enabled":true,"id":"addressTypeM","inputMode":"Optional","inputModeConditions":[{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Search","targetValue":"*"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Search","targetValue":""}],"defaultInputMode":"Optional","inputMode":"Optional","labelChange":true}],"label":"Address type","placeholder":"","resetMappingsSettings":[{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.BoxNumber"},{"onChangeTargetId":"poBoxNumberM"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.RuralRoute"},{"onChangeTargetId":"ruralRouteM"}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"onChangeTargetId":"unitNumberM"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"onChangeTargetId":"civicNumberM"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.RuralRoute"},{"onChangeTargetId":"ruralRouteM"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName"},{"onChangeTargetId":"streetNameM"}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"RURALROUTE"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"onChangeTargetId":"unitNumberM"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"onChangeTargetId":"civicNumberM"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.BoxNumber"},{"onChangeTargetId":"poBoxNumberM"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName"},{"onChangeTargetId":"streetNameM"}]}],"template":"DropDown","value":"STREET"},"boxNumber":{"allConditionsMustBeMet":true,"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.BoxNumber","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"}],"controlType":"Input","customValidators":[{"errorMessage":"Please enter valid PO Box","parameters":{"objectProperty":"id","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"poBoxNumberM","inputMode":"Optional","inputModeConditions":[{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"PO Box #","maxLength":20,"template":"TextBox"},"cityName":{"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.CityName","bindOnChange":true,"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"Please enter valid city","parameters":{"objectProperty":"id","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"cityNameM","inputMode":"Optional","inputModeConditions":[{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"*"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"City","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"civicNumber":{"allConditionsMustBeMet":true,"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"civicNumberM","inputMode":"Optional","inputModeConditions":[{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"Street number","maxLength":20,"regexMessage":"Please enter a valid street number","regexPattern":"(^[0-9 ]*$)?","template":"TextBox"},"country":{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Country.Code","bindOnChange":true,"controlOptions":{"options":[{"label":"Canada","value":"CA"}]},"controlType":"Input","id":"countryM","inputMode":"Optional","label":"Country","template":"DropDown","value":"CA"},"postalCode":{"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","bindOnChange":true,"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"Invalid postal code (eg. A1A-1A1).","parameters":{"regexPattern":"^([A-Za-z]\\d[A-Za-z]\\d[A-Za-z]\\d)$"},"validator":"Regex"}],"id":"postalCodeM","inputMask":"a9a-9a9","inputMode":"Optional","inputModeConditions":[{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"},{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"*"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"Postal code","template":"TextBox","transformStringTo":"Uppercase"},"provinceCode":{"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code","bindOnChange":true,"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"controlOptions":{"options":[{"label":"Alberta","value":"AB"},{"label":"British Columbia","value":"BC"},{"label":"Manitoba","value":"MB"},{"label":"New Brunswick","value":"NB"},{"label":"Newfoundland and Labrador","value":"NL"},{"label":"Nova Scotia","value":"NS"},{"label":"Northwest Territories","value":"NT"},{"label":"Nunavut","value":"NU"},{"label":"Ontario","value":"ON"},{"label":"Prince Edward Island","value":"PE"},{"label":"Quebec","value":"QC"},{"label":"Saskatchewan","value":"SK"},{"label":"Yukon","value":"YT"}]},"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"","parameters":{"regexPattern":"^[A-Za-z]*$"},"validator":"Regex"}],"enabled":true,"id":"provinceCodeM","inputMode":"Optional","inputModeConditions":[{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"},{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"*"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"Province","template":"DropDown"},"ruralRoute":{"allConditionsMustBeMet":true,"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.RuralRoute","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"RURALROUTE"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"Please enter valid rural route","parameters":{"objectProperty":"id","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"ruralRouteM","inputMode":"Optional","inputModeConditions":[{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"RURALROUTE"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"Rural route","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"streetName":{"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName","bindOnChange":true,"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"Please select a non-PO box address","parameters":{"regexPattern":"(^((?!PO\\sBOX|PO\\sBox|Po\\sBox|po\\sbox|POBOX|POBox|PoBox|pobox).)*$)(^[a-zA-Z0-9 -]*$)?"},"validator":"Regex"}],"id":"streetNameM","inputMode":"Optional","inputModeConditions":[{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"Street name","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"unitNumber":{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"}],"controlType":"Input","customValidators":[{"errorMessage":"Please enter valid apt/unit #","parameters":{"objectProperty":"id","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"unitNumberM","inputMode":"Optional","label":"Apt/Unit #","maxLength":20,"template":"TextBox"}},"addressSettings":{"commandsOnSelect":[{"customCommand":"GetCurrentUrl","delayIntervalMS":500,"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.SameAsAddressType","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.SameAsAddressType"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.CityName","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CityName"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimaryMail","targetValue":true}],"customCommand":"GetCurrentUrl","delayIntervalMS":1500,"onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"additional-details"},"responseMappings":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Search","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.RuralRoute","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.RuralRoute"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.BoxNumber","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.BoxNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.SameAsAddressType","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.SameAsAddressType"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CityName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CityName"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode"}]}]}],"enableResetOnManualEntry":true,"enableValidationsOnManualEntry":true,"manualEntryType":"Modal","modalButtonLabel":"Submit","modalDescription":"Please enter your address manually below.","modalTitle":"Enter manual address","resetOnManualEntryDelayMS":200,"toggleLinkLabel":{"searchLabel":"Enter address manually"},"validationsOnManualEntryDelayMS":50},"autocompleteSettings":{"bindOnSelect":true,"forceSelection":false},"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Search","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"controlType":"Input","customClasses":"max-w-full","customValidators":[{"errorMessage":"Input contains special and/or accented characters. Please enter address manually to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"iconLeft":"fal fa-map-marker-alt","id":"addressSearchOptionalMail","inputMode":"Optional","label":"Mailing address (optional)","template":"AddressSearch"},{"addressInputs":{"addressType":{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.addressType","bindOnLoad":true,"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"}],"controlOptions":{"options":[{"label":"Civic Address","value":"STREET"},{"label":"PO Box Address","value":"POBOX"},{"label":"Rural Route","value":"RURALROUTE"}]},"controlType":"Input","defaultValue":"STREET","dropdownSettings":{"bindOnSelect":true},"enabled":true,"id":"addressTypeML","inputMode":"Required","label":"Address type","placeholder":"","resetMappingsSettings":[{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"STREET"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.BoxNumber"},{"onChangeTargetId":"poBoxNumberML"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.RuralRoute"},{"onChangeTargetId":"ruralRouteML"}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"POBOX"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.UnitNumber"},{"onChangeTargetId":"unitNumberML"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.CivicNumber"},{"onChangeTargetId":"civicNumberML"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.RuralRoute"},{"onChangeTargetId":"ruralRouteML"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.StreetName"},{"onChangeTargetId":"streetNameML"}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"RURALROUTE"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.UnitNumber"},{"onChangeTargetId":"unitNumberML"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.CivicNumber"},{"onChangeTargetId":"civicNumberML"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.BoxNumber"},{"onChangeTargetId":"poBoxNumberML"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.StreetName"},{"onChangeTargetId":"streetNameML"}]}],"template":"DropDown"},"boxNumber":{"allConditionsMustBeMet":true,"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.BoxNumber","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"POBOX"}],"controlType":"Input","customValidators":[{"errorMessage":"Please enter valid PO Box","parameters":{"objectProperty":"id","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"poBoxNumberML","inputMode":"Optional","inputModeConditions":[{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"POBOX"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"PO Box #","maxLength":20,"template":"TextBox"},"cityName":{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.CityName","bindOnChange":true,"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"Please enter valid city","parameters":{"objectProperty":"id","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"cityNameML","inputMode":"Required","label":"City","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"civicNumber":{"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.CivicNumber","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"STREET"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"civicNumberML","inputMode":"Optional","inputModeConditions":[{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"STREET"}],"defaultInputMode":"Optional","inputMode":"Required"}],"label":"Street number","maxLength":20,"regexMessage":"Please enter a valid street number","regexPattern":"(^[0-9 ]*$)?","template":"TextBox"},"country":{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.Country.Code","bindOnChange":true,"controlOptions":{"options":[{"label":"Canada","value":"CA"}]},"controlType":"Input","id":"countryML","inputMode":"Optional","label":"Country","template":"DropDown","value":"CA"},"postalCode":{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.PostalCode","bindOnChange":true,"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"Invalid postal code (eg. A1A-1A1).","parameters":{"regexPattern":"^([A-Za-z]\\d[A-Za-z]\\d[A-Za-z]\\d)$"},"validator":"Regex"}],"id":"postalCodeML","inputMask":"a9a-9a9","inputMode":"Required","label":"Postal code","template":"TextBox","transformStringTo":"Uppercase"},"provinceCode":{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.Province.Code","bindOnChange":true,"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"}],"controlOptions":{"options":[{"label":"Alberta","value":"AB"},{"label":"British Columbia","value":"BC"},{"label":"Manitoba","value":"MB"},{"label":"New Brunswick","value":"NB"},{"label":"Newfoundland and Labrador","value":"NL"},{"label":"Nova Scotia","value":"NS"},{"label":"Northwest Territories","value":"NT"},{"label":"Nunavut","value":"NU"},{"label":"Ontario","value":"ON"},{"label":"Prince Edward Island","value":"PE"},{"label":"Quebec","value":"QC"},{"label":"Saskatchewan","value":"SK"},{"label":"Yukon","value":"YT"}]},"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"enabled":true,"id":"provinceCodeML","inputMode":"Required","label":"Province","template":"DropDown"},"ruralRoute":{"allConditionsMustBeMet":true,"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.RuralRoute","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"RURALROUTE"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"Please enter valid rural route","parameters":{"objectProperty":"id","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"ruralRouteML","inputMode":"Optional","inputModeConditions":[{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"RURALROUTE"}],"defaultInputMode":"Optional","inputMode":"Required"}],"label":"Rural route","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"streetName":{"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.StreetName","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"STREET"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"Please select a non-PO box address","parameters":{"regexPattern":"(^((?!PO\\sBOX|PO\\sBox|Po\\sBox|po\\sbox|POBOX|POBox|PoBox|pobox).)*$)(^[a-zA-Z0-9 -]*$)?"},"validator":"Regex"}],"id":"streetNameML","inputMode":"Optional","inputModeConditions":[{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"STREET"}],"defaultInputMode":"Optional","inputMode":"Required"}],"label":"Street name","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"unitNumber":{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.UnitNumber","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"STREET"}],"controlType":"Input","customValidators":[{"errorMessage":"Please enter valid apt/unit #","parameters":{"objectProperty":"id","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"unitNumberML","inputMode":"Optional","label":"Apt/Unit #","maxLength":20,"template":"TextBox"}},"addressSettings":{"commandsOnSelect":[{"customCommand":"GetCurrentUrl","delayIntervalMS":500,"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.UnitNumber","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.CivicNumber","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.StreetName","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.SameAsAddressType","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.SameAsAddressType"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.CityName","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CityName"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.Province.Code","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.PostalCode","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimaryMail","targetValue":true}],"customCommand":"GetCurrentUrl","delayIntervalMS":1500,"onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"additional-details"},"responseMappings":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.Search","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.addressType","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.RuralRoute","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.RuralRoute"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.BoxNumber","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.BoxNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.SameAsAddressType","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.SameAsAddressType"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CityName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CityName"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode"}]}]}],"manualEntryType":"Modal","modalButtonLabel":"Submit","modalDescription":"Please enter your address manually below.","modalTitle":"Enter manual address","toggleLinkLabel":{"searchLabel":"Enter address manually"}},"autocompleteSettings":{"bindOnSelect":true,"forceSelection":false},"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.Search","bindOnChange":true,"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"}],"controlType":"Input","customClasses":"max-w-full","customValidators":[{"errorMessage":"Input contains special and/or accented characters. Please enter address manually to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"iconLeft":"fal fa-map-marker-alt","id":"addressSearchRequiredMail","inputMode":"Required","label":"Mailing address (required)","template":"AddressSearch"},{"controlType":"HelpText","customClasses":"mt-5","helpText":"If your physical or mailing address isn't showing automatically, please enter it manually.","id":"mailing-address-help-text"},{"bindingPath":"$.Private.ValidPrimaryAddress","checkboxSettings":{"checkedRequired":true,"falseValue":"no","trueValue":"yes"},"columnOverride":1,"controlType":"Input","customClasses":"hidden","id":"ValidPrimaryAddress","label":"","template":"CheckBox","value":true}],"title":"Address details"},{"controls":[{"bindingPath":"$.Products[\"$.Products.length\"].ProductType.Code","controlType":"Input","defaultValue":"MemberShare","id":"ProductNamePmCode","template":"Hidden"},{"bindingPath":"$.Products[\"$.Products.length\"].ProductName","controlType":"Input","defaultValue":"Member Share","id":"ProductNamePm","template":"Hidden"},{"bindingPath":"$.Products[\"$.Products.length\"].ProductDetail.RegulatoryCompliance.IntendedUse.Code","controlType":"Input","defaultValue":"MembershipShares","id":"ProductNamePmCodeIUC","template":"Hidden"},{"bindingPath":"$.Products[\"$.Products.length\"].ProductDetail.RegulatoryCompliance.IntendedUse.Description","controlType":"Input","defaultValue":"Membership equity shares","id":"ProductNamePmCodeIUD","template":"Hidden"}],"customClasses":"hidden","id":"hidden-MemberShare-defaults"}]},{"commandsOnLoad":[{"conditions":[{"targetJsonPath":"$.Private.Lists.Primary.Branches","targetValue":"*"},{"operator":"GreaterThan","targetJsonPath":"$.Private.Lists.Primary.Branches.length","targetValue":1}],"endpointUrl":"api/staticdata/branches?searchIn=BranchUniqueName&searchFor={$.Private.Lists.Primary.Branches[0].branchId}","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Primary.HomeBranch"},{"bindingPath":"$.Private.Primary.HomeBranch[0].BranchId","targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranch.Code"},{"bindingPath":"$.Private.Primary.HomeBranch[0].DisplayName","targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranch.Description"},{"bindingPath":"$.Private.Primary.HomeBranch[0].Address.UnitNumber","targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.UnitNumber"},{"bindingPath":"$.Private.Primary.HomeBranch[0].Address.CityName","targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.CityName"},{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.Province.Code","value":"AB"},{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.Country.Code","value":"CA"},{"bindingPath":"$.Private.Primary.HomeBranch[0].Address.CivicNumber","targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.CivicNumber"},{"bindingPath":"$.Private.Primary.HomeBranch[0].Address.ProvideCode","targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.Province.Code"},{"bindingPath":"$.Private.Primary.HomeBranch[0].Address.StreetName","targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.StreetName"},{"bindingPath":"$.Private.Primary.HomeBranch[0].Address.PostalCode","dataTransformation":[{"pattern":" ","replacement":""}],"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.PostalCode"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.Primary.Branches","targetValue":""}],"dataBindings":[{"targetJsonPath":"$.Private.Lists.Primary.Branches"}],"onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"additional-details"},"responseMappings":[{"targetJsonPath":"$.Private.Primary.HomeBranch","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranch.Code","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranch.Description","value":""}]}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.Joint.Branches","targetValue":"*"},{"operator":"GreaterThan","targetJsonPath":"$.Private.Lists.Joint.Branches.length","targetValue":1}],"endpointUrl":"api/staticdata/branches?searchIn=BranchUniqueName&searchFor={$.Private.Lists.Joint.Branches[0].branchId}","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Joint.HomeBranch"},{"bindingPath":"$.Private.Joint.HomeBranch[0].BranchId","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranch.Code"},{"bindingPath":"$.Private.Joint.HomeBranch[0].DisplayName","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranch.Description"},{"bindingPath":"$.Private.Joint.HomeBranch[0].Address.UnitNumber","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.UnitNumber"},{"bindingPath":"$.Private.Joint.HomeBranch[0].Address.CityName","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.CityName"},{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.Province.Code","value":"AB"},{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.Country.Code","value":"CA"},{"bindingPath":"$.Private.Joint.HomeBranch[0].Address.CivicNumber","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.CivicNumber"},{"bindingPath":"$.Private.Joint.HomeBranch[0].Address.ProvideCode","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.Province.Code"},{"bindingPath":"$.Private.Joint.HomeBranch[0].Address.StreetName","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.StreetName"},{"bindingPath":"$.Private.Joint.HomeBranch[0].Address.PostalCode","dataTransformation":[{"pattern":" ","replacement":""}],"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.PostalCode"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.Joint.Branches","targetValue":""},{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.Search.label","targetValue":"*"}],"dataBindings":[{"targetJsonPath":"$.Private.Lists.Joint.Branches"}],"onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Joint.HomeBranch","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranch.Code","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranch.Description","value":""}]}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.ChallengeQuestions","targetValue":""}],"endpointUrl":"api/staticdata/ChallengeQuestions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.ChallengeQuestions"}],"statusCode":200}]}],"hasBackButton":true,"hasNextButton":true,"id":"employment-info","navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"beneficiaries"},"targetJsonPath":"$.Private.Offers[0].OfferDetail.HasBeneficiaries","targetValue":true},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-applicant-modal"},"targetJsonPath":"$.Private.Offers[0].OfferDetail.IsPersonalTerm","targetValue":false}],"nextPageId":"confirmation"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":2,"resetToDefaultOnBackClick":true,"sections":[{"controls":[{"bindingPath":"$.Private.IsEmployed","bindOnLoad":true,"controlOptions":{"options":[{"label":"Yes","value":"Yes"},{"label":"No","value":"No"}]},"controlType":"Input","customClasses":"mb-3 -mt-2","id":"is-employed","inputMode":"Required","label":"Are you employed?","radioListSettings":{"bindOnSelect":true,"onSelect":{"conditions":[{"targetJsonPath":"$.Private.IsEmployed","targetValue":"Yes"}],"dataBindings":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code"}],"onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","value":"Employed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Description","value":"Employed"}]}]},"submitOnSelect":false},"resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"occupation"},{"onChangeTargetId":"employment-status"}]}],"template":"RadioList"},{"autocompleteSettings":{"forceSelection":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onSearch":{"endpointUrl":"api/staticdata/occupationtypes?searchIn=Description&searchFor={$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Search.Term}","httpMethod":"GET"},"onSelect":{"endpointUrl":"api/staticdata/occupationtypes?searchIn=Code&searchFor={$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Search.Id}","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0].Code","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Code"},{"responseJsonPath":"$[0].Description","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Description"},{"responseJsonPath":"$[0].CategoryId","targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationType.CategoryId"}],"statusCode":200}]},"searchIdJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Search.Id","searchTermJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Search.Term"},"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Description","bindOnLoad":true,"conditions":[{"targetJsonPath":"$.Private.IsEmployed","targetValue":"Yes"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please select a valid occupation from the list"},"id":"occupation","inputMode":"Required","label":"Occupation (required)","maxLength":50,"template":"AutoComplete"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","conditions":[{"targetJsonPath":"$.Private.IsEmployed","targetValue":"No"}],"controlOptions":{"descriptionControlId":"employment-status-description","options":[{"label":"Unemployed","value":"Unemployed"},{"label":"Retired","value":"Retired"},{"label":"Student","value":"Student"}]},"controlType":"Input","customValidationMessages":{"required":"Please select your status"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.value","labelJsonPath":"$.label","selectedIdJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Description"},"id":"employment-status","inputMode":"Required","label":"What is your status? (required)","template":"DropDown"}],"id":"employment","title":"Employment"},{"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.AccountSecurity.Question.Code","controlOptions":{"descriptionControlId":"question-description","optionsJsonPath":"$.Private.Lists.ChallengeQuestions"},"controlType":"Input","customClasses":"mt-2","dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Description","valueJsonPath":"$.Code"},"id":"choose-a-challenge-question","inputMode":"Required","label":"Choose a challenge question","template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.AccountSecurity.Question.Description","controlType":"Input","id":"question-description","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.AccountSecurity.Answer.Description","bindOnChange":true,"controlType":"Input","customClasses":"pt-2","customValidationMessages":{"required":"This is a required field."},"id":"challenge-question-answer","inputMode":"Required","label":"Please enter an answer to your challenge question","maxLength":40,"template":"TextBox"},{"allowedKeysRegex":"^[0-9]*$","bindingPath":"$.Customers[0].CustomerDetail.AccountSecurity.PersonalAccessNumber","bindOnChange":true,"controlType":"Input","customClasses":"pt-2","customValidationMessages":{"required":"Please enter a 5-digit security number"},"customValidators":[{"errorMessage":"Whoops! Your 5-digit security number cannot contain repeated digits","parameters":{"id":"check-repeat","objectProperty":"digit-security-number","regexFlag":"gm","regexPattern":"^(?!(\\d)\\1{4})\\d+$"},"validator":"Regex"},{"errorMessage":"Whoops! Your 5-digit security number cannot begin with 0.","parameters":{"id":"check-0","objectProperty":"digit-security-number","regexPattern":"^(?!0)\\d+"},"validator":"Regex"},{"errorMessage":"","parameters":{"id":"check-5","objectProperty":"digit-security-number","regexPattern":"^\\d{5}$"},"validator":"Regex"}],"id":"digit-security-number","inputMode":"Required","keyboardType":"Mobile","label":"Please enter a 5-digit security number","maxLength":5,"template":"TextBox"},{"controlType":"HelpText","customClasses":"pt-2","helpIcon":"fal fa-info-circle","helpText":"Create a 5-digit security number.","id":"addition-details-help-text-1"}],"description":"Choose a challenge question and 5-digit security number. We'll use this information to verify your identity when you contact Servus over the phone.","id":"call-centre-verification","title":"Call centre verification"}]},{"commandsOnLoad":[{"conditions":[{"operator":"GreaterThan","targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationType.CategoryId","targetValue":0}],"endpointUrl":"api/staticdata/categories?searchIn=Code&searchFor={$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationType.CategoryId}","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0].Description","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.CategoryClassification.Category.Description"},{"responseJsonPath":"$[0].Code","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.CategoryClassification.Category.Code"}],"statusCode":200}]},{"conditions":[{"operator":"GreaterThan","targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.OccupationType.CategoryId","targetValue":0}],"endpointUrl":"api/staticdata/categories?searchIn=Code&searchFor={$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.OccupationType.CategoryId}","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0].Description","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.CategoryClassification.Category.Description"},{"responseJsonPath":"$[0].Code","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.CategoryClassification.Category.Code"}],"statusCode":200}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.PostalCode","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.SameAsAddressType","value":"Home"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CityName","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Country.Code","value":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Search","value":""}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.PostalCode","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.SameAsAddressType","value":"Home"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CityName","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Country.Code","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search","value":""}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.SameAsAddressType","value":"Home"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CityName","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Country.Code","value":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Search","value":""}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.SameAsAddressType","value":"Home"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CityName","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Country.Code","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search","value":""}]}]},{"conditions":[{"targetJsonPath":"Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":1}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[0].ProductDetail.HasBeneficiaries","value":"No"}]}]},{"conditions":[{"operator":"GreaterThan","targetJsonPath":"Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":1}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[0].ProductDetail.HasBeneficiaries","value":"Yes"}]}]},{"conditions":[{"targetJsonPath":"Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":2}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.SuccessorHolder","targetJsonPath":"$.Products[0].ProductDetail.BeneficiaryDesignations.SuccessorHolder"}]}]},{"conditions":[{"operator":"GreaterThan","targetJsonPath":"Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":2}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary1","targetJsonPath":"$.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary1"}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranch.Code","value":"virtual"}]}]},{"conditions":[{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranch.Code","value":"virtual"}]}]},{"conditions":[{"operator":"GreaterThan","targetJsonPath":"Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":3}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary2","targetJsonPath":"$.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary2"}]}]},{"conditions":[{"operator":"GreaterThan","targetJsonPath":"Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":4}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3","targetJsonPath":"$.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3"}]}]}],"commandsOnSubmit":[{"allowNull":false,"body":[{"valueJsonPath":"$.Customers[1].CustomerDetail"}],"conditions":[{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[1].CustomerId}/detail","httpMethod":"PUT"},{"allowNull":false,"body":[{"valueJsonPath":"$.Customers[0].CustomerDetail"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[0].CustomerId}/detail","httpMethod":"PUT","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"add-products"},"statusCode":200}]}],"hasBackButton":true,"hasNextButton":true,"id":"confirmation","navigation":{"nextPageId":"add-products"},"nextButtonLabel":"Submit","pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":5,"restrictions":[{"targetJsonPath":"$.ApplicationStatus.Code","targetValue":"Started"}],"sections":[{"controls":[{"controlType":"Info","customClasses":"pr-3","displayOptions":[{"bindingPath":"$.Products[0].OfferDetail.ProductName"}],"id":"confirm-account-details-account","label":"Name"},{"controlType":"Info","customClasses":"pr-3","displayOptions":[{"bindingPath":"$.Products[0].ProductDetail.RegulatoryCompliance.IntendedUse.Description"}],"id":"confirm-account-details-intended-use","label":"Intended Use"},{"conditions":[{"targetJsonPath":"$.Private.AddUpsellAccount","targetValue":"Yes"}],"controlType":"HTML","description":"<hr class=\"mb-0 mt-0\"/>","id":"confirm-account-details-account-div"},{"conditions":[{"targetJsonPath":"$.Private.AddUpsellAccount","targetValue":"Yes"}],"controlType":"Info","customClasses":"pr-3","displayOptions":[{"bindingPath":"$.Products[1].OfferDetail.ProductName"}],"id":"confirm-account-details-account-1","label":"Name"},{"conditions":[{"targetJsonPath":"$.Private.AddUpsellAccount","targetValue":"Yes"}],"controlType":"Info","customClasses":"pr-3","displayOptions":[{"bindingPath":"$.Products[1].ProductDetail.RegulatoryCompliance.IntendedUse.Description"}],"id":"confirm-account-details-intended-use-1","label":"Intended Use"}],"customClasses":"bg-white rounded-corners","id":"confirm-account-details","template":"GroupPanel","title":"Accounts","width":"Large"},{"controls":[{"controlType":"Info","displayOptions":[{"customText":"    "}],"id":"confirmation-primary","label":"<h3 class='m-0'>Personal Information</h3>"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.FirstName"},{"bindingPath":"$.Customers[0].CustomerDetail.PreferredName","endingText":")","startingText":"("},{"bindingPath":"$.Customers[0].CustomerDetail.LastName"}],"id":"confirmation-name","label":"Name"},{"controlType":"Info","customClasses":"lowercase","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmailContacts.Primary.EmailAddress"}],"id":"confirmation-email","label":"Email"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","pipe":"phone"}],"id":"confirmation-phone","label":"Mobile Number"},{"controlType":"Info","displayOptions":[{"customText":"    "}],"editUrl":"/flow/additional-details","id":"confirm-account-details","label":"<h3 class='m-0'>Additional & address details</h3>"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.DateOfBirth","pipe":"date"}],"id":"confirmation-dob","label":"Date of Birth"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialInsuranceNumber","pipe":"masked-sin","replaceValue":"xxx-xxx-$3"}],"id":"confirmation-sin","label":"Social Insurance Number"},{"displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.ReasonForOpening.Description"}],"id":"confirmation-choosing-servus","label":"Why are you choosing Servus?"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.IsMainFI","targetValue":"No"}],"displayOptions":[{"customText":"No"}],"id":"confirmation-primary-fi","label":"Will Servus be your primary FI?"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.IsMainFI","targetValue":"Servus"}],"displayOptions":[{"customText":"Yes"}],"id":"confirmation-primary-fi","label":"Will Servus be your primary FI?"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.UnitNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.CivicNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.StreetName","endingText":"<br>"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.CityName","endingText":","},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.Province.Code","endingText":","},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.PostalCode"}],"id":"confirmation-address","label":"Physical Address"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.BoxNumber","startingText":"PO Box "},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.RuralRoute","startingText":"Rural Route "},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName","endingText":"<br>"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CityName","endingText":","},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code","endingText":","},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode"}],"id":"confirmation-mailing-address","label":"Mailing Address"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.BoxNumber","startingText":"PO Box "},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.UnitNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.RuralRoute","startingText":"Rural Route "},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.StreetName","endingText":"<br>"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CityName","endingText":","},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code","endingText":","},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode"}],"id":"confirmation-mailing-address","label":"Mailing Address"},{"controlType":"Info","displayOptions":[{"customText":"    "}],"editUrl":"/flow/employment-info","id":"confirmation-employment","label":"<h3 class='m-0'>Employment & call centre</h3>"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code"}],"id":"confirmation-employment-status","label":"Employed"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Description"}],"id":"confirmation-employment-occupation","label":"Occupation"},{"displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.AccountSecurity.Question.Description"}],"id":"confirmation-challenge-question","label":"Challenge Question"},{"displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.AccountSecurity.Answer.Description","pipe":"mask-all","replaceValue":"*"}],"id":"confirmation-challenge-answer","label":"Challenge Answer"},{"displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.AccountSecurity.PersonalAccessNumber","pipe":"mic","replaceValue":"*"}],"id":"confirmation-security-code","label":"5 Digit Security Code"}],"customClasses":"bg-white rounded-corners","groupPanelSettings":{"customClasses":"bg-white"},"headingSize":"h2","id":"confirmation-personal-primary","template":"GroupPanel","title":"Primary Applicant","width":"Large"},{"commandsOnSubmit":[{"allowNull":false,"body":[{"valueJsonPath":"$.Customers[1].CustomerDetail"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[1].CustomerId}/detail","httpMethod":"PUT"}],"conditions":[{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"controls":[{"controlType":"Info","displayOptions":[{"customText":"    "}],"editUrl":"/flow/joint-personal-information","id":"confirmation-joint","label":"<h3 class='m-0'>Personal Information</h3>"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.FirstName"},{"bindingPath":"$.Customers[1].CustomerDetail.PreferredName","endingText":")","startingText":"("},{"bindingPath":"$.Customers[1].CustomerDetail.LastName"}],"id":"confirmation-name","label":"Name"},{"controlType":"Info","customClasses":"lowercase","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.EmailContacts.Primary.EmailAddress"}],"id":"confirmation-email","label":"Email"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","pipe":"phone"}],"id":"confirmation-phone","label":"Mobile Number"},{"controlType":"Info","displayOptions":[{"customText":"    "}],"editUrl":"/flow/joint-additional-details","id":"confirm-account-details","label":"<h3 class='m-0'>Additional & address details</h3>"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.DateOfBirth","pipe":"date"}],"id":"confirmation-dob","label":"Date of Birth"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.SocialInsuranceNumber","pipe":"masked-sin","replaceValue":"xxx-xxx-$3"}],"id":"confirmation-sin","label":"Social Insurance Number"},{"displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.ReasonForOpening.Description"}],"id":"confirmation-choosing-servus","label":"Why are you choosing Servus?"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.IsMainFI","targetValue":"No"}],"displayOptions":[{"customText":"No"}],"id":"confirmation-primary-fi","label":"Will Servus be your primary FI?"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.IsMainFI","targetValue":"Servus"}],"displayOptions":[{"customText":"Yes"}],"id":"confirmation-primary-fi","label":"Will Servus be your primary FI?"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.UnitNumber"},{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.CivicNumber"},{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.StreetName","endingText":"<br>"},{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.CityName","endingText":","},{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.Province.Code","endingText":","},{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.PostalCode"}],"id":"confirmation-address","label":"Physical Address"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.BoxNumber","startingText":"PO Box "},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.RuralRoute","startingText":"Rural Route "},{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName","endingText":"<br>"},{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CityName","endingText":","},{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code","endingText":","},{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode"}],"id":"confirmation-mailing-address","label":"Mailing Address"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.BoxNumber","startingText":"PO Box "},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.UnitNumber"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.RuralRoute","startingText":"Rural Route "},{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.StreetName","endingText":"<br>"},{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CityName","endingText":","},{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code","endingText":","},{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode"}],"id":"confirmation-mailing-address","label":"Mailing Address"},{"controlType":"Info","displayOptions":[{"customText":"    "}],"editUrl":"/flow/joint-employment-info","id":"confirmation-employment","label":"<h3 class='m-0'>Employment & call centre</h3>"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code"}],"id":"confirmation-employment-status","label":"Employed"},{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Description"}],"id":"confirmation-employment-occupation","label":"Occupation"},{"displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.AccountSecurity.Question.Description"}],"id":"confirmation-challenge-question","label":"Challenge Question"},{"displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.AccountSecurity.Answer.Description","pipe":"mask-all","replaceValue":"*"}],"id":"confirmation-challenge-answer","label":"Challenge Answer"},{"displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.AccountSecurity.PersonalAccessNumber","pipe":"mic","replaceValue":"*"}],"id":"confirmation-security-code","label":"5 Digit Security Code"}],"customClasses":"bg-white rounded-corners","groupPanelSettings":{"customClasses":"bg-white"},"headingSize":"h2","id":"confirmation-joint-applicant","template":"GroupPanel","title":"Joint Applicant","width":"Large"},{"conditions":[{"targetJsonPath":"$.Private.Offers[0].OfferDetail.HasBeneficiaries","targetValue":true}],"controls":[{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":1}],"controlType":"HTML","customClasses":"mb-0 -ml-2","description":"No beneficiary added","id":"bene-successor"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.SuccessorHolder.FirstName","targetValue":"*"},{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":2}],"controlType":"HTML","customClasses":"mb-0 -ml-2","description":"<h3 class='m-0 -mt-3'>Successor</h3>","id":"bene-successor"},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.SuccessorHolder.FirstName","targetValue":"*"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.SuccessorHolder.FirstName"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.SuccessorHolder.LastName"}],"id":"confirmation-beneficiary-successor-name","label":"Name"},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.SuccessorHolder.FirstName","targetValue":"*"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.SuccessorHolder.Relationship.Description"}],"id":"confirmation-beneficiary-successor-relationship","label":"Relationship"},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary1.FirstName","targetValue":"*"}],"controlType":"HTML","description":"<hr class=\"mb-2 mt-0\"/>","id":"divider-beneficiators-1"},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary1.FirstName","targetValue":"*"}],"controlType":"HTML","customClasses":"mb-0 -ml-2","description":"<h3 class='m-0 -mt-3'>Beneficiary 1</h3>","id":"bene-1"},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary1.FirstName","targetValue":"*"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary1.FirstName"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary1.LastName"}],"id":"confirmation-beneficiary-name1-1","label":"Name"},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary1.FirstName","targetValue":"*"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary1.Relationship.Description"}],"id":"confirmation-beneficiary-relationship1-1","label":"Relationship"},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary2.FirstName","targetValue":"*"}],"controlType":"HTML","description":"<hr class=\"mb-2 mt-0\"/>","id":"divider-beneficiators-1"},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary2.FirstName","targetValue":"*"}],"controlType":"HTML","customClasses":"mb-0 -ml-2","description":"<h3 class='m-0 -mt-3'>Beneficiary 2</h4>","id":"bene-2"},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary2.FirstName","targetValue":"*"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary2.FirstName"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary2.LastName"}],"id":"confirmation-beneficiary-name1-2","label":"Name"},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary2.FirstName","targetValue":"*"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary2.Relationship.Description"}],"id":"confirmation-beneficiary-relationship1-2","label":"Relationship"},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3.FirstName","targetValue":"*"}],"controlType":"HTML","description":"<hr class=\"mb-2 mt-0\"/>","id":"divider-beneficiators-3"},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3.FirstName","targetValue":"*"}],"controlType":"HTML","customClasses":"mb-0 -ml-2","description":"<h3 class='m-0 -mt-3'>Beneficiary 3</h3>","id":"bene-3"},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3.FirstName","targetValue":"*"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3.FirstName"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3.LastName"}],"id":"confirmation-beneficiary-name1-3","label":"Name"},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3.FirstName","targetValue":"*"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3.Relationship.Description"}],"id":"confirmation-beneficiary-relationship1-3","label":"Relationship"}],"customClasses":"bg-white rounded-corners","groupPanelSettings":{"editUrl":"/flow/beneficiaries"},"id":"confirmation-beneficiary","template":"GroupPanel","title":"Beneficiary Information","width":"Large"},{"controls":[{"checkboxSettings":{"checkedRequired":true,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"controlType":"Input","customClasses":"-m-3","id":"confirmation-declaration-checkbox","label":"I certify that the personal information, financial information and all representations made in respect of my tax status are correct and complete and that updated information will be provided, where necessary. Should any of my tax residency information change, I will provide Servus Credit Union with update information within 30 days.","template":"CheckBox","value":false}],"customClasses":"bg-white box-shadow-none","id":"confirmation-declaration","template":"GroupPanel","width":"Large"}]},{"commandsOnLoad":[{"conditions":[{"targetJsonPath":"$.Private.Lists.BeneficiaryDesignations","targetValue":""}],"endpointUrl":"api/staticdata/beneficiarydesignations?orderby=Code","httpMethod":"GET","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"beneficiaries"},"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.BeneficiaryDesignations"},{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.BeneficiaryDesignationsList"}],"statusCode":200}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.BeneficiaryDesignations","targetValue":"*"},{"targetJsonPath":"$.Private.Offers[0].ProductType","targetValue":"RspTermDeposit"}],"dataBindings":[{"targetJsonPath":"$.Private.Lists.BeneficiaryDesignations"}],"onSuccess":[{"responseMappings":[{"bindingPath":"$..Lists.BeneficiaryDesignations[?(@.isTFSA==false)]","targetJsonPath":"$.Private.Lists.BeneficiaryDesignationsList"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.Titles","targetValue":""}],"endpointUrl":"api/staticdata/title","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Titles"}],"statusCode":200}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.Relations","targetValue":""}],"endpointUrl":"api/staticdata/relationship","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Relations"},{"bindingPath":"$.Private.Lists.Relations[?(@.isSuccessor==true)]","targetJsonPath":"$.Private.Lists.SuccessorRelations"}],"statusCode":200}]}],"hasBackButton":true,"hasNextButton":true,"id":"beneficiaries","navigation":{"nextPageId":"confirmation"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":3,"resetToDefaultOnBackClick":true,"sections":[{"controls":[{"controlType":"HTML","description":"<p>Setting up a beneficiary(s) will ensure that the funds in this account are dealt with appropriately in the event of your death.</p>"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","bindOnChange":true,"bindonSelect":true,"controlOptions":{"descriptionControlId":"beneficiator1-relationship-description","optionsJsonPath":"$.Private.Lists.BeneficiaryDesignationsList"},"controlType":"Input","customClasses":"pb-2","dropdownSettings":{"bindOnChange":true,"bindOnSelect":true,"labelJsonPath":"$.Description","valueJsonPath":"$.Code"},"id":"beneficiary-designation","inputMode":"Required","label":"How would you like to designate the beneficiary(s) for this account?","resetMappingsSettings":[{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":1}],"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"beneficiary-successor-title"},{"onChangeTargetId":"beneficiary-successor-firstname"},{"onChangeTargetId":"beneficiary-successor-lastname"},{"onChangeTargetId":"beneficiary-successor-relationship"},{"onChangeTargetId":"beneficiary-successor-relationship-description"},{"onChangeTargetId":"beneficiary-successor-dob"},{"onChangeTargetId":"beneficiary-successor-sin"},{"onChangeTargetId":"beneficiary1-title"},{"onChangeTargetId":"beneficiary1-firstname"},{"onChangeTargetId":"beneficiary1-lastname"},{"onChangeTargetId":"beneficiary1-relationship"},{"onChangeTargetId":"beneficiary1-relationship-description"},{"onChangeTargetId":"beneficiary1-sin"},{"onChangeTargetId":"beneficiary2-title"},{"onChangeTargetId":"beneficiary2-firstname"},{"onChangeTargetId":"beneficiary2-lastname"},{"onChangeTargetId":"beneficiary2-relationship"},{"onChangeTargetId":"beneficiary2-relationship-description"},{"onChangeTargetId":"beneficiary2-sin"},{"onChangeTargetId":"beneficiary3-title"},{"onChangeTargetId":"beneficiary3-firstname"},{"onChangeTargetId":"beneficiary3-lastname"},{"onChangeTargetId":"beneficiary3-relationship"},{"onChangeTargetId":"beneficiary3-relationship-description"},{"onChangeTargetId":"beneficiary3-sin"},{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.SuccessorHolder"},{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary1"},{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary2"},{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3"}]},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":2}],"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"beneficiary1-title"},{"onChangeTargetId":"beneficiary1-firstname"},{"onChangeTargetId":"beneficiary1-lastname"},{"onChangeTargetId":"beneficiary1-relationship"},{"onChangeTargetId":"beneficiary1-relationship-description"},{"onChangeTargetId":"beneficiary1-sin"},{"onChangeTargetId":"beneficiary2-title"},{"onChangeTargetId":"beneficiary2-firstname"},{"onChangeTargetId":"beneficiary2-lastname"},{"onChangeTargetId":"beneficiary2-relationship"},{"onChangeTargetId":"beneficiary2-relationship-description"},{"onChangeTargetId":"beneficiary2-sin"},{"onChangeTargetId":"beneficiary3-title"},{"onChangeTargetId":"beneficiary3-firstname"},{"onChangeTargetId":"beneficiary3-lastname"},{"onChangeTargetId":"beneficiary3-relationship"},{"onChangeTargetId":"beneficiary3-relationship-description"},{"onChangeTargetId":"beneficiary3-sin"},{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary1"},{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary2"},{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3"}]},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":3}],"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"beneficiary-successor-title"},{"onChangeTargetId":"beneficiary-successor-firstname"},{"onChangeTargetId":"beneficiary-successor-lastname"},{"onChangeTargetId":"beneficiary-successor-relationship"},{"onChangeTargetId":"beneficiary-successor-relationship-description"},{"onChangeTargetId":"beneficiary-successor-dob"},{"onChangeTargetId":"beneficiary-successor-sin"},{"onChangeTargetId":"beneficiary2-title"},{"onChangeTargetId":"beneficiary2-firstname"},{"onChangeTargetId":"beneficiary2-lastname"},{"onChangeTargetId":"beneficiary2-relationship"},{"onChangeTargetId":"beneficiary2-relationship-description"},{"onChangeTargetId":"beneficiary2-sin"},{"onChangeTargetId":"beneficiary3-title"},{"onChangeTargetId":"beneficiary3-firstname"},{"onChangeTargetId":"beneficiary3-lastname"},{"onChangeTargetId":"beneficiary3-relationship"},{"onChangeTargetId":"beneficiary3-relationship-description"},{"onChangeTargetId":"beneficiary3-sin"},{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.SuccessorHolder"},{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary2"},{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3"}]},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":4}],"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"beneficiary-successor-title"},{"onChangeTargetId":"beneficiary-successor-firstname"},{"onChangeTargetId":"beneficiary-successor-lastname"},{"onChangeTargetId":"beneficiary-successor-relationship"},{"onChangeTargetId":"beneficiary-successor-relationship-description"},{"onChangeTargetId":"beneficiary-successor-dob"},{"onChangeTargetId":"beneficiary-successor-sin"},{"onChangeTargetId":"beneficiary3-title"},{"onChangeTargetId":"beneficiary3-firstname"},{"onChangeTargetId":"beneficiary3-lastname"},{"onChangeTargetId":"beneficiary3-relationship"},{"onChangeTargetId":"beneficiary3-relationship-description"},{"onChangeTargetId":"beneficiary3-sin"},{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.SuccessorHolder"},{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3"}]},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":5}],"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"beneficiary-successor-title"},{"onChangeTargetId":"beneficiary-successor-firstname"},{"onChangeTargetId":"beneficiary-successor-lastname"},{"onChangeTargetId":"beneficiary-successor-relationship"},{"onChangeTargetId":"beneficiary-successor-relationship-description"},{"onChangeTargetId":"beneficiary-successor-dob"},{"onChangeTargetId":"beneficiary-successor-sin"},{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.SuccessorHolder"}]}],"template":"DropDown"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Offers[0].ProductType","targetValue":"TfsaTermDeposit"},{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":1}],"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"Not to worry, successors or beneficiaries can be added or amended later through your local Servus branch or by calling 1.877.378.8728.","id":"helpText-1"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Offers[0].ProductType","targetValue":"RspTermDeposit"},{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":1}],"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"Not to worry, beneficiaries can be added or amended later through your local Servus branch or by calling 1.877.378.8728.","id":"helpText-2"},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":2}],"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"A successor holder is a spouse or common-law partner of the holder at the time of death. This individual will become the new account holder.","id":"helpText-3"},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":3}],"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"Proceeds of this account will be fully disbursed to your designated beneficiary.","id":"helpText-4"},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":4}],"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"Proceeds of this account will be equally disbursed between your designated beneficiaries.","id":"helpText-5"},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":5}],"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"Proceeds of this account will be equally disbursed amongst up to three (3) surviving beneficiaries.","id":"helpText-6"}],"id":"beneficiary-designation-section","title":"Beneficiary Designation"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Offers[0].ProductType","targetValue":"TfsaTermDeposit"},{"targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":2}],"controls":[{"controlType":"HTML","description":"<p>I designate the person named below as successor holder of the proceeds payable under the {$.Private.DefaultProductName1} in the event of my death.</p>"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.SuccessorHolder.BeneficiaryType.Code","controlType":"Input","defaultValue":"Successor","id":"beneficiary-successor-type-code","template":"Hidden"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.SuccessorHolder.BeneficiaryType.Description","controlType":"Input","defaultValue":"Successor","id":"beneficiary-successor-type-description","template":"Hidden"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.SuccessorHolder.Title","controlOptions":{"descriptionControlId":"beneficiary-successor-title-description","optionsJsonPath":"$.Private.Lists.Titles"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter your successor holder's title."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Description","labelJsonPath":"$.Description"},"id":"beneficiary-successor-title","inputMode":"Required","label":"Title","template":"DropDown"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.SuccessorHolder.FirstName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter your successor holder's first name."},"id":"beneficiary-successor-firstname","inputMode":"Required","label":"First name","maxLength":19,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.SuccessorHolder.LastName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter your successor holder's last name."},"id":"beneficiary-successor-lastname","inputMode":"Required","label":"Last name","maxLength":38,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.SuccessorHolder.Relationship.Code","controlOptions":{"descriptionControlId":"beneficiary-successor-relationship-description","optionsJsonPath":"$.Private.Lists.SuccessorRelations"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please select the relationship between your successor holder and you."},"dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Description","valueJsonPath":"$.Code"},"id":"beneficiary-successor-relationship","inputMode":"Required","label":"Relationship","template":"DropDown"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.SuccessorHolder.Relationship.Description","controlType":"Input","id":"beneficiary-successor-relationship-description","template":"Hidden"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.SuccessorHolder.DateOfBirth","controlType":"Input","customValidationMessages":{"required":"Please input your successor holder's date of birth."},"datepickerSettings":{"defaultDate":"2000,1,1","minAge":18},"iconLeft":"fal fa-calendar-alt","id":"beneficiary-successor-dob","inputMode":"Required","label":"Date of Birth","template":"DatePicker"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.SuccessorHolder.TaxInformation.SocialInsuranceNumber","controlType":"Input","customClasses":"mt-3 pb-2","customValidationMessages":{"required":"Please enter your successor holder's Social Insurance Number"},"customValidators":[{"errorMessage":"Invalid Social Insurance Number","sinValidatorSettings":{"canStartWithNine":true},"validator":"SocialInsuranceNumber"}],"helpIcon":"fal fa-info-circle","helpText":"Your designation of successor will not be revoked or changed automatically by any future marriage or divorce. Should you wish to change your successor get in touch with us by visiting your local Servus branch or by calling us at 1.877.378.8728.","iconLeft":"fal fa-address-card","id":"beneficiary-successor-sin","inputMask":"999-999-999","inputMode":"Required","keyboardType":"Phone","label":"Social Insurance Number","regexMessage":"A Social Insurance Number must be 9 digits long","regexPattern":",^(\\d{3}-\\d{3}-\\d{3})|(\\d{9})$","template":"TextBox"}],"id":"beneficiary-successor-section","title":"Successor"},{"conditions":[{"operator":"GreaterThan","targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":2}],"controls":[{"controlType":"HTML","customClasses":"-mt-4","description":"<h2>Beneficiary 1</h2>"},{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Offers[0].ProductType","targetValue":"TfsaTermDeposit"}],"controlType":"HTML","customClasses":"pb-2","description":"I designate the person named below as beneficiary(s) of the proceeds payable under the {$.Private.DefaultProductName1} in the event of my death."},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary1.BeneficiaryType.Code","controlType":"Input","defaultValue":"Individual","id":"beneficiary1-type-code1","template":"Hidden"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary1.BeneficiaryType.Description","controlType":"Input","defaultValue":"Individual","id":"beneficiary1-type-description1","template":"Hidden"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary1.Title","controlOptions":{"descriptionControlId":"beneficiary1-title-description","optionsJsonPath":"$.Private.Lists.Titles"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter your beneficiary's title."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Description","labelJsonPath":"$.Description"},"id":"beneficiary1-title","inputMode":"Required","label":"Title","template":"DropDown"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary1.FirstName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter your beneficiary's first name."},"id":"beneficiary1-firstname","inputMode":"Required","label":"First name","maxLength":19,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary1.LastName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter your beneficiary's last name."},"id":"beneficiary1-lastname","inputMode":"Required","label":"Last name","maxLength":38,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary1.Relationship.Code","controlOptions":{"descriptionControlId":"beneficiary1-relationship-description","optionsJsonPath":"$.Private.Lists.Relations"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please select the relationship between beneficiary and you."},"dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Description","valueJsonPath":"$.Code"},"id":"beneficiary1-relationship","inputMode":"Required","label":"Relationship","template":"DropDown"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Offers[0].ProductType","targetValue":"RspTermDeposit"}],"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"Your designation of beneficiary will not be revoked or changed automatically by any future marriage or divorce. Should you wish to change your beneficiary get in touch with us by visiting your local Servus branch or calling us at 1.877.378.8728.\n","id":"helpText-b"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary1.Relationship.Description","controlType":"Input","id":"beneficiary1-relationship-description","template":"Hidden"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary1.Relationship.Description","controlType":"Input","id":"beneficiary1-relationship-description","template":"Hidden"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary1.TaxInformation.SocialInsuranceNumber","bindOnChange":true,"bindOnLoad":true,"conditions":[{"targetJsonPath":"$.Private.Offers[0].ProductType","targetValue":"TfsaTermDeposit"}],"controlType":"Input","customClasses":"mt-3 pb-2","customValidators":[{"errorMessage":"Invalid Social Insurance Number","sinValidatorSettings":{"canStartWithNine":true},"validator":"SocialInsuranceNumber"}],"helpIcon":"fal fa-info-circle","helpText":"Your designation of beneficiary will not be revoked or changed automatically by any future marriage or divorce. Should you wish to change your beneficiary get in touch with us by visiting your local Servus branch or calling us at 1.877.378.8728.","iconLeft":"fal fa-address-card","id":"beneficiary1-sin","inputMask":"999-999-999","inputMode":"Optional","keyboardType":"Phone","label":"Social Insurance Number (optional)","regexMessage":"A Social Insurance Number must be 9 digits long","regexPattern":",^(\\d{3}-\\d{3}-\\d{3})|(\\d{9})$","template":"TextBox"}],"id":"beneficiary1-section"},{"conditions":[{"operator":"GreaterThan","targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":3}],"controls":[{"controlType":"HTML","customClasses":"-mt-4","description":"<h2>Beneficiary 2</h2>"},{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Offers[0].ProductType","targetValue":"TfsaTermDeposit"}],"controlType":"HTML","customClasses":"pb-2","description":"I designate the person named below as beneficiary(s) of the proceeds payable under the {$.Private.DefaultProductName1} in the event of my death."},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary2.BeneficiaryType.Code","controlType":"Input","defaultValue":"Individual","id":"beneficiary2-type-code1","template":"Hidden"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary2.BeneficiaryType.Description","controlType":"Input","defaultValue":"Individual","id":"beneficiary2-type-description1","template":"Hidden"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary2.Title","controlOptions":{"descriptionControlId":"beneficiary2-title-description","optionsJsonPath":"$.Private.Lists.Titles"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter your beneficiary's title."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Description","labelJsonPath":"$.Description"},"id":"beneficiary2-title","inputMode":"Required","label":"Title","template":"DropDown"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary2.FirstName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter your beneficiary's first name."},"id":"beneficiary2-firstname","inputMode":"Required","label":"First name","maxLength":19,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary2.LastName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter your beneficiary's last name."},"id":"beneficiary2-lastname","inputMode":"Required","label":"Last name","maxLength":38,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary2.Relationship.Code","controlOptions":{"descriptionControlId":"beneficiary2-relationship-description","optionsJsonPath":"$.Private.Lists.Relations"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please select the relationship between beneficiary and you."},"dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Description","valueJsonPath":"$.Code"},"id":"beneficiary2-relationship","inputMode":"Required","label":"Relationship","template":"DropDown"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Offers[0].ProductType","targetValue":"RspTermDeposit"}],"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"Your designation of beneficiary will not be revoked or changed automatically by any future marriage or divorce. Should you wish to change your beneficiary get in touch with us by visiting your local Servus branch or calling us at 1.877.378.8728.\n","id":"helpText-b"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary2.Relationship.Description","controlType":"Input","id":"beneficiary2-relationship-description","template":"Hidden"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary2.Relationship.Description","controlType":"Input","id":"beneficiary2-relationship-description","template":"Hidden"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary2.TaxInformation.SocialInsuranceNumber","bindOnChange":true,"bindOnLoad":true,"conditions":[{"targetJsonPath":"$.Private.Offers[0].ProductType","targetValue":"TfsaTermDeposit"}],"controlType":"Input","customClasses":"mt-3 pb-2","customValidators":[{"errorMessage":"Invalid Social Insurance Number","sinValidatorSettings":{"canStartWithNine":true},"validator":"SocialInsuranceNumber"}],"helpIcon":"fal fa-info-circle","helpText":"Your designation of beneficiary will not be revoked or changed automatically by any future marriage or divorce. Should you wish to change your beneficiary get in touch with us by visiting your local Servus branch or calling us at 1.877.378.8728.","iconLeft":"fal fa-address-card","id":"beneficiary2-sin","inputMask":"999-999-999","inputMode":"Optional","keyboardType":"Phone","label":"Social Insurance Number (optional)","regexMessage":"A Social Insurance Number must be 9 digits long","regexPattern":",^(\\d{3}-\\d{3}-\\d{3})|(\\d{9})$","template":"TextBox"}],"id":"beneficiary2-section"},{"conditions":[{"operator":"GreaterThan","targetJsonPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Code","targetValue":4}],"controls":[{"controlType":"HTML","customClasses":"-mt-4","description":"<h2>Beneficiary 3</h2>"},{"controlType":"HTML","customClasses":"pb-2","description":"I designate the person named below as beneficiary(s) of the proceeds payable under the {$.Private.DefaultProductName1} in the event of my death."},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3.BeneficiaryType.Code","controlType":"Input","defaultValue":"Individual","id":"beneficiary3-type-code1","template":"Hidden"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3.BeneficiaryType.Description","controlType":"Input","defaultValue":"Individual","id":"beneficiary3-type-description1","template":"Hidden"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3.Title","controlOptions":{"descriptionControlId":"beneficiary3-title-description","optionsJsonPath":"$.Private.Lists.Titles"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter your beneficiary's title."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Description","labelJsonPath":"$.Description"},"id":"beneficiary3-title","inputMode":"Required","label":"Title","template":"DropDown"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3.FirstName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter your beneficiary's first name."},"id":"beneficiary3-firstname","inputMode":"Required","label":"First name","maxLength":19,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3.LastName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter your beneficiary's last name."},"id":"beneficiary3-lastname","inputMode":"Required","label":"Last name","maxLength":38,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3.Relationship.Code","controlOptions":{"descriptionControlId":"beneficiary3-relationship-description","optionsJsonPath":"$.Private.Lists.Relations"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please select the relationship between beneficiary and you."},"dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Description","valueJsonPath":"$.Code"},"id":"beneficiary3-relationship","inputMode":"Required","label":"Relationship","template":"DropDown"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3.Relationship.Description","controlType":"Input","id":"beneficiary3-relationship-description","template":"Hidden"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3.Relationship.Description","controlType":"Input","id":"beneficiary3-relationship-description","template":"Hidden"},{"bindingPath":"$.Private.Products[0].ProductDetail.BeneficiaryDesignations.Beneficiary3.TaxInformation.SocialInsuranceNumber","bindOnChange":true,"bindOnLoad":true,"conditions":[{"targetJsonPath":"$.Private.Offers[0].ProductType","targetValue":"TfsaTermDeposit"}],"controlType":"Input","customClasses":"mt-3 pb-2","customValidators":[{"errorMessage":"Invalid Social Insurance Number","sinValidatorSettings":{"canStartWithNine":true},"validator":"SocialInsuranceNumber"}],"helpIcon":"fal fa-info-circle","helpText":"Your designation of beneficiary will not be revoked or changed automatically by any future marriage or divorce. Should you wish to change your beneficiary get in touch with us by visiting your local Servus branch or calling us at 1.877.378.8728.","iconLeft":"fal fa-address-card","id":"beneficiary3-sin","inputMask":"999-999-999","inputMode":"Optional","keyboardType":"Phone","label":"Social Insurance Number (optional)","regexMessage":"A Social Insurance Number must be 9 digits long","regexPattern":",^(\\d{3}-\\d{3}-\\d{3})|(\\d{9})$","template":"TextBox"}],"id":"beneficiary3-section"}]},{"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"No"}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.CustomerAgreements"},{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration"}]}]}],"id":"joint-applicant-modal","modalOptions":{"isDismissible":true,"modalSize":"extra-large"},"navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-declarations-modal"},"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"nextPageId":"confirmation"},"pageMode":"Modal","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":4,"resetToDefaultOnBackClick":true,"sections":[{"columns":2,"controls":[{"bindingPath":"$.Private.AddJointApplicant","bindOnChange":true,"columnOverride":1,"controlOptions":{"options":[{"label":"Yes","value":"Yes"},{"label":"No","value":"No"}]},"controlType":"Input","customClasses":"pb-3","id":"add-joint-account-radio","inputMode":"Required","label":"Would you like to add a joint applicant?","radioListSettings":{"bindOnSelect":true,"submitOnSelect":false},"template":"RadioList"},{"columnOverride":1,"controlType":"Divider","customClasses":"mb-4","id":"divider1"},{"buttonAction":"CloseModal","buttonSettings":{"isOutline":true},"controlType":"Button","id":"close-modal-button","label":"Cancel"},{"buttonAction":"Submit","controlType":"Button","customClasses":"float-right","id":"btnNext","label":"Next"}],"customClasses":"box-shadow-none p-0","id":"add-joint-account","textAlignment":"text-left","title":"Add joint applicant"},{"controls":[{"bindingPath":"$.Customers[1].CustomerDetail.MemberRegistration.MemberStatus.Code","controlType":"Input","convertValueTo":"String","customClasses":"hidden","defaultValue":"NewMember","id":"NewMemberCode1","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.MemberRegistration.MemberStatus.Description","controlType":"Input","convertValueTo":"String","customClasses":"hidden","defaultValue":"New Member","id":"NewMemberDescription1","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.MemberRegistration.MemberStatus.Code","controlType":"Input","convertValueTo":"String","customClasses":"hidden","defaultValue":"NewMember","id":"JointMemberStatusCode","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.MemberRegistration.MemberStatus.Description","controlType":"Input","convertValueTo":"String","customClasses":"hidden","defaultValue":"New Member","id":"JointMemberStatusDescription","template":"Hidden"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","controlType":"Input","customClasses":"hidden","defaultValue":"STREET","id":"AddressDefault","template":"Hidden"}],"customClasses":"hidden","id":"set-defaults"}]},{"commandsOnLoad":[{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail","value":""}]}]}],"hasBackButton":false,"hasNextButton":false,"id":"joint-declarations-modal","modalOptions":{"modalSize":"extra-large"},"navigation":{"nextPageId":"joint-personal-information"},"pageMode":"Modal","pageTemplate":"Form","resetToDefaultOnBackClick":true,"sections":[{"columns":2,"controls":[{"columnOverride":1,"controlType":"HTML","customClasses":"mb-0","description":"Please tick the checkboxes below to confirm you have read and understood the declarations. If you're unable to accept the declarations, please visit a branch to open an account.","id":"declarationTitle-new"},{"columnOverride":1,"controlType":"HTML","customClasses":"mb-0 h-auto","description":"<div><p class='mt-0'>I confirm that:</p><ul class='mb-0'><li>I am a Canadian resident and live in Alberta or within 75km of the <a href=\"https://www.servus.ca/branches\" target=\"_blank\">nearest branch</a>.</li><li>I am at least 18 years old and opening a personal account.</li><li>I am not opening this account on behalf of any third party.</li><li>I am not a tax resident of a country other than Canada or a US person.</li><li>I am not a politically exposed person or the head of an international organization.</a></li><li>I understand and consent that my information will be used by our trusted partners to verify my identity.</li></ul></div>","id":"declarationList1-new"},{"columnOverride":1,"controlType":"Divider","customClasses":"mt-0","id":"divider1-new"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.CustomerAgreements.DeclarationAgreementStatus.Code","checkboxSettings":{"checkedRequired":true,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"controlType":"Input","id":"declarationCheckbox-new","label":"I agree with the declarations above.","template":"CheckBox","value":false},{"bindingPath":"$.Private.Customers[1].CustomerDetail.CustomerAgreements.TermsAndCondition.Code","checkboxSettings":{"checkedRequired":true,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"controlType":"Input","id":"declarationCheckboxPrivacy-new","label":"<a href= \"https://servus.ca/personal/bank/member-agreement\" target=\"_blank\">Servus Member Agreement.</a>","template":"CheckBox","value":false},{"bindingPath":"$.Private.Customers[1].CustomerDetail.CustomerAgreements.RRSPInvestment.Code","checkboxSettings":{"checkedRequired":true,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"conditions":[{"targetJsonPath":"$.Private.Account","targetValue":"rrsp-high-yield-savings"},{"targetJsonPath":"$.Private.Account","targetValue":"rrsp-premium-savings"}],"controlType":"Input","id":"declarationCheckboxRRSPInvestment-new","label":"I have read and agree to the RRSP Investment <a href= \"https://acrobat.adobe.com/id/urn:aaid:sc:AP:762663c4-21b9-4bc0-8ab6-f68b2ce05c31\" target=\"_blank\">Terms and Conditions</a>","template":"CheckBox","value":false},{"bindingPath":"$.Private.Customers[1].CustomerDetail.CustomerAgreements.TFSAInvestment.Code","checkboxSettings":{"checkedRequired":true,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"conditions":[{"targetJsonPath":"$.Private.Account","targetValue":"tfga-growth"},{"targetJsonPath":"$.Private.Account","targetValue":"tfga-premium"}],"controlType":"Input","id":"declarationCheckboxTFSAInvestment-new","label":"I have read and agree to the TFSA Investment <a href= \"https://acrobat.adobe.com/id/urn:aaid:sc:ap:3415c219-10f3-4e06-96e1-be98a7fce2bc\" target=\"_blank\">Terms and Conditions</a>","template":"CheckBox","value":false},{"bindingPath":"$.Private.Customers[1].CustomerDetail.CustomerAgreements.PrivacyPolicy.Code","checkboxSettings":{"checkedRequired":true,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"controlType":"Input","id":"declarationCheckboxSubPrivacy-new","label":"Send me tailored financial insights, the latest product news, and unique opportunities to make the most of being a Servus member-owner. Your information is protected by our privacy policy, and you can withdraw anytime.","template":"CheckBox","value":false},{"columnOverride":1,"controlType":"Divider","customClasses":"mt-0","id":"divider1-new"},{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"employment-info"},"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.CustomerAgreements"},{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration"}]}]}],"disableConditions":[{"targetJsonPath":"$.Private.Account","targetValue":1}],"isOutline":true},"controlType":"Button","id":"close-modal-button","label":"Cancel"},{"buttonAction":"Submit","controlType":"Button","customClasses":"float-right","id":"btnNext","label":"Next"}],"customClasses":"font-size-90-percent box-shadow-none p-0 -mt-2","headingSize":"h1","id":"declarations-section1","template":"Default","textAlignment":"text-left","title":"Declarations"}]},{"commandsOnLoad":[{"allowNull":false,"body":[{"parameterName":"AccessType","valueJsonPath":"$.Customers[1].AccessType"},{"parameterName":"CustomerType","valueJsonPath":"$.Customers[1].CustomerType"},{"parameterName":"CustomerDetail","valueJsonPath":"$.Customers[1].CustomerDetail"}],"conditions":[{"targetJsonPath":"$.Customers[1].CustomerId","targetValue":""},{"targetJsonPath":"$.ApplicationStatus.Code","targetValue":"Started"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers","httpMethod":"POST","onSuccess":[{"createDataModelAtPath":"$.Customers[1]","parameterName":"$.CustomerId","responseMappings":[{"responseJsonPath":"$.CustomerId","targetJsonPath":"$.Customers[1].CustomerId"},{"responseJsonPath":"$.CustomerType.Code","targetJsonPath":"$.Customers[1].CustomerType.Code"},{"responseJsonPath":"$.AccessType.Code","targetJsonPath":"$.Customers[1].AccessType.Code"},{"responseJsonPath":"$.CustomerDetail","targetJsonPath":"$.Customers[1].CustomerDetail"},{"targetJsonPath":"$.Private.Sin.MemberType","value":"INDIVIDUAL"}],"statusCode":201}]}],"commandsOnSubmit":[{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.joint.SMSSent","value":""}]}]},{"conditions":[{"targetJsonPath":"$.Private.joint.LastPhoneNumber","targetValueJsonPath":"$.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"}],"customCommand":"GetCurrentUrl","delayIntervalMS":1,"onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.joint.SMSSent","value":"Yes"}]}]},{"allowNull":false,"body":[{"parameterName":"EmailContacts","valueJsonPath":"$.Customers[1].CustomerDetail.EmailContacts"},{"parameterName":"FirstName","valueJsonPath":"$.Customers[1].CustomerDetail.FirstName"},{"parameterName":"PreferredName","valueJsonPath":"$.Customers[1].CustomerDetail.PreferredName"},{"parameterName":"MiddleName","valueJsonPath":"$.Customers[1].CustomerDetail.MiddleName"},{"parameterName":"LastName","valueJsonPath":"$.Customers[1].CustomerDetail.LastName"},{"parameterName":"PhoneContacts","valueJsonPath":"$.Customers[1].CustomerDetail.PhoneContacts"},{"parameterName":"EmailContacts","valueJsonPath":"$.Customers[1].CustomerDetail.EmailContacts"},{"parameterName":"AccountRoles","valueJsonPath":"$.Private.JointAccountRoles"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[1].CustomerId}/detail","httpMethod":"PUT","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"resetMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.Otp","value":""}],"statusCode":200}]}],"hasBackButton":true,"hasNextButton":true,"id":"joint-personal-information","navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-confirm-sms"},"operator":"NotEquals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetValueJsonPath":"$.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"}],"editConditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-confirm-sms"},"operator":"NotEquals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetValueJsonPath":"$.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirmation"},"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetValueJsonPath":"$.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"}],"nextPageId":"joint-additional-details"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":1,"resetToDefaultOnBackClick":true,"restrictions":[{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"sections":[{"controls":[{"bindingPath":"$.Customers[1].CustomerDetail.FirstName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter your first name"},"id":"firstName","inputMode":"Required","label":"First name","maxLength":19,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Customers[1].CustomerDetail.PreferredName","bindOnChange":true,"controlType":"Input","customClasses":"pb-2","id":"preferredName","inputMode":"Optional","label":"Preferred name (optional)","maxLength":13,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Customers[1].CustomerDetail.MiddleName","bindOnChange":true,"controlType":"Input","customClasses":"pb-2","id":"middleName","inputMode":"Optional","label":"Middle name (optional)","maxLength":19,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Customers[1].CustomerDetail.LastName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter your last name"},"id":"lastName","inputMode":"Required","label":"Last name","maxLength":38,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","bindOnChange":true,"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter your phone number"},"id":"mobileNumber","inputMask":"(999) 999-9999","inputMode":"Required","keyboardType":"Mobile","label":"Mobile #","maxLength":10,"prependString":"+1","regexMessage":"Invalid mobile phone number","regexPattern":"^(\\d{3}-\\d{3}-\\d{4})|(\\d{10})$","template":"TextBox"},{"bindingPath":"$.Customers[1].CustomerDetail.EmailContacts.Primary.EmailAddress","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"email":"A valid email address is required. Please use the format email@example.com","required":"Please enter your email address"},"customValidators":[{"errorMessage":"A valid email address is required. Please use the format email@example.com","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z0-9._%-]+@[A-Za-z0-9._%-]+\\.[a-zA-Z]{2,10}$"},"validator":"Regex"},{"errorMessage":"Joint applicant's email address cannot be the same as primary applicant.","operator":"NotEquals","parameters":{"valueJsonPath":"$.Customers[0].CustomerDetail.EmailContacts.Primary.EmailAddress"},"validator":"CompareValue"}],"id":"email","inputMode":"Required","label":"Email","maxLength":50,"template":"TextBox","transformStringTo":"Lowercase"},{"controlType":"Input","helpText":"Preferred name: If you go by something different than your legal name, please let us know your preferred name.","id":"helptext1"}],"description":"Please ensure that you enter your full name exactly as it appears on your government-issued photo ID (example: drivers license)","id":"names","tagDescription":"<span class='px-2'>Joint</span>","title":"Personal information"}]},{"commandsOnLoad":[{"conditions":[{"targetJsonPath":"$.Private.Lists.Joint.AllBranches","targetValue":"*"},{"targetJsonPath":"$.Private.Lists.Joint.Branches","targetValue":"*"},{"operator":"GreaterThan","targetJsonPath":"$.Private.Lists.Joint.Branches.length","targetValue":0}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.ValidJointAddress","value":"yes"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.Joint.Branches","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.ValidJointAddress","value":"no"}]}]},{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.Province.Code","targetValue":"AB"},{"targetJsonPath":"$.Private.Lists.Joint.AllBranches","targetValue":"*"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$..Lists.Joint.AllBranches[?(@.streetAddress.provinceCode=='AB')]","targetJsonPath":"$.Private.Lists.Joint.Branches"},{"targetJsonPath":"$.Private.ValidJointAddress","value":"yes"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"onChangeTargetId":"addressType","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","value":"STREET"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","value":""}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.PostalCode","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.Search","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.addressType","value":""}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.BankingFloorCallResults[0].Status","value":"Success"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.BankingFloorCallResults[0].ReferenceId","value":"PartyExists"}]}]},{"customCommand":"GetCurrentUtcDateTime","onSuccess":[{"parameterName":"$.currentDate","responseMappings":[{"responseJsonPath":"$.currentDate","targetJsonPath":"$.Private.Customers[1].CustomerDetail.BankingFloorCallResults[0].CallDateTime"}]}]}],"commandsOnSubmit":[{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.TaxpayerIdentificationNumbers[0].TaxNumber","targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.SocialInsuranceNumber"}]}]},{"body":[{"parameterName":"TaxInformation","valueJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation"}],"endpointUrl":"api/bankingfloor/members/checkexists","httpMethod":"POST","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"sin-error"},"parameterName":"$.IsMatchFound","parameterValue":true,"statusCode":200},{"statusCode":200}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","targetValue":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.PostalCode"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.PostalCode","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail","value":""}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","targetValue":"*"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.SameAsAddressType","value":"None"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.CityName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CityName"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Country.Code","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Country.Code"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","targetValue":"*"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.SameAsAddressType","value":"None"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.UnitNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.CivicNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.StreetName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.CityName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CityName"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.Province.Code","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.PostalCode","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.Country.Code","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Country.Code"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.Search","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.LegalLandDescription","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.StreetName"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressTypeIntitial","value":"PO Box"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.PostalCode","targetValue":"*"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.SameAsAddressType","value":"None"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.Country.Code","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Country.Code"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","targetValue":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.SameAsAddressType","value":"Home"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"RURALROUTE"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressTypeIntitial","value":"RR"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingMultiPath":["$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressTypeIntitial","$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.BoxNumber"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"POBOX"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingMultiPath":["$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressTypeIntitial","$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.BoxNumber"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"RURALROUTE"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingMultiPath":["$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressTypeIntitial","$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.RuralRoute"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"RURALROUTE"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingMultiPath":["$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressTypeIntitial","$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.RuralRoute"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customer[1].CustomerDetail.IsMainFI","targetValue":"No"}],"dataBindings":[{"bindingPath":"$.Customers[1].CustomerDetail.MemberRegistration.PrimaryFinancialInstitutionName","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.PrimaryFinancialInstitutionName"}],"onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.PrimaryFinancialInstitutionName"}],"statusCode":200}]},{"allowNull":false,"body":[{"parameterName":"BankingFloorCallResults","valueJsonPath":"$.Private.Customers[1].CustomerDetail.BankingFloorCallResults"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[1].CustomerId}/detail","httpMethod":"PUT","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"statusCode":200}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"}}]}],"hasBackButton":true,"hasNextButton":true,"id":"joint-additional-details","navigation":{"nextPageId":"joint-employment-info"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":1,"resetToDefaultOnBackClick":true,"restrictions":[{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"sections":[{"controls":[{"bindingPath":"$.Customers[1].CustomerDetail.DateOfBirth","bindOnChange":true,"controlType":"Input","datepickerSettings":{"defaultDate":"2000,1,1","minAge":18},"iconLeft":"fal fa-calendar-alt","id":"dob","inputMode":"Required","label":"Date of Birth","template":"DatePicker"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.TaxpayerIdentificationNumbers[0].TaxNumber","bindOnChange":true,"controlType":"Input","customClasses":"mt-3 pb-2","customValidators":[{"errorMessage":"Invalid Social Insurance Number.","sinValidatorSettings":{"canStartWithNine":true},"validator":"SocialInsuranceNumber"},{"errorMessage":"Joint applicant SIN cannot be the same as the Primary applicant","operator":"NotEquals","parameters":{"valueJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialInsuranceNumber"},"validator":"CompareValue"}],"iconLeft":"fal fa-address-card","id":"sin-number","inputMask":"999-999-999","inputMode":"Required","keyboardType":"Phone","label":"Social Insurance Number","regexMessage":"A Social Insurance Number must be 9 digits long","regexPattern":",^(\\d{3}-\\d{3}-\\d{3})|(\\d{9})$","template":"TextBox"},{"bindingPath":"$.Customers[1].CustomerDetail.ReasonForOpening.Code","controlOptions":{"descriptionControlId":"opening-reason-description1","optionsJsonPath":"$.Private.Lists.OpeningReason"},"controlType":"Input","dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Description","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Customers[1].CustomerDetail.ReasonForOpening.Description"},"id":"why-choose-servus-dropdown","inputMode":"Required","label":"Why are you choosing Servus?","placeholder":"","template":"DropDown"},{"bindingPath":"$.Customers[1].CustomerDetail.ReasonForOpening.Description","bindOnChange":true,"controlType":"Input","id":"opening-reason-description1"},{"bindingPath":"$.Customers[1].CustomerDetail.MemberRegistration.PrimaryFinancialInstitutionName","controlType":"Input","customClasses":"hidden","id":"servus-your-main-fi-default","template":"Hidden"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.IsMainFI","controlOptions":{"options":[{"label":"Yes","value":"Servus"},{"label":"No","value":"No"}],"stacked":false},"controlType":"Input","customClasses":"mt-3 pb-3","id":"servus-your-main-fi","inputMode":"Required","label":"Will Servus be your main financial institution?","radioListSettings":{"bindOnSelect":true,"onSelect":{"dataBindings":[{"bindingPath":"$.Customers[1].CustomerDetail.MemberRegistration.PrimaryFinancialInstitutionName","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.PrimaryFinancialInstitutionName"}],"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.IsMainFI","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.PrimaryFinancialInstitutionName"}],"statusCode":200}]},"submitOnSelect":false},"resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.PrimaryFinancialInstitutionName"},{"onChangeTargetId":"servus-your-main-fi-default"}]}],"template":"RadioList"},{"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"Social Insurance Number: Your SIN will be used for tax reporting purposes and to help us confirm your identity.","id":"addition-details-help-text-2"},{"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"Main financial institution: This is another one of those questions that the government requires us to report on.","id":"addition-details-help-text-1"}],"tagDescription":"<span class='px-2'>Joint</span>","title":"Additional details"},{"controls":[{"controlType":"HTML","description":"<p class='-mt-2'>Please enter your address.</p>","id":"address-description"},{"addressInputs":{"addressType":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","bindOnChange":true,"bindOnLoad":true,"controlOptions":{"options":[{"label":"Civic Address","value":"STREET"},{"label":"Legal Land Description","value":"LEGAL"}]},"controlType":"Input","dropdownSettings":{"bindOnSelect":true},"enabled":true,"id":"addressType","inputMode":"Required","label":"Address type","placeholder":"","resetMappingsSettings":[{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.LegalLandDescription"},{"onChangeTargetId":"legalDescription"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType"}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.UnitNumber"},{"onChangeTargetId":"unitNumber"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.CivicNumber"},{"onChangeTargetId":"civicNumber"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.StreetName"},{"onChangeTargetId":"streetName"}]}],"template":"DropDown"},"cityName":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.CityName","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"Please enter valid city","parameters":{"objectProperty":"id","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"cityName","inputMode":"Required","label":"City","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"civicNumber":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.CivicNumber","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"civicNumber","inputMode":"Optional","inputModeConditions":[{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"defaultInputMode":"Optional","inputMode":"Required"}],"label":"Street number","maxLength":20,"regexMessage":"Please enter a valid street number","regexPattern":"(^[0-9 ]*$)?","template":"TextBox"},"country":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.Country.Code","bindOnChange":true,"controlOptions":{"options":[{"label":"Canada","value":"CA"}]},"controlType":"Input","id":"country","inputMode":"Required","label":"Country","template":"DropDown","value":"CA"},"legalDescription":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.LegalLandDescription","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"Please enter valid legal land description","parameters":{"objectProperty":"id","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"legalDescription","inputMode":"Optional","inputModeConditions":[{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"}],"defaultInputMode":"Optional","inputMode":"Required"}],"label":"Legal land description","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"postalCode":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.PostalCode","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"postalCode","inputMask":"a9a-9a9","inputMode":"Required","label":"Postal code","regexMessage":"Invalid postal code (eg. A1A-1A1).","regexPattern":"^([A-Za-z]\\d[A-Za-z]\\d[A-Za-z]\\d)$","template":"TextBox","transformStringTo":"Uppercase"},"provinceCode":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.Province.Code","bindOnChange":true,"controlOptions":{"options":[{"label":"Alberta","value":"AB"},{"label":"British Columbia","value":"BC"},{"label":"Saskatchewan","value":"SK"}]},"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"enabled":true,"id":"provinceCode","inputMode":"Required","label":"Province","regexMessage":"Quebec addresses are not permitted.","regexPattern":"^((?!QC).)*$","template":"DropDown"},"streetName":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.StreetName","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"streetName","inputMode":"Optional","inputModeConditions":[{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"defaultInputMode":"Optional","inputMode":"Required"}],"label":"Street name","maxLength":50,"regexMessage":"Please select a non-PO box address","regexPattern":"(^((?!PO\\sBOX|PO\\sBox|Po\\sBox|po\\sbox|POBOX|POBox|PoBox|pobox).)*$)(^[a-zA-Z0-9 -]*$)?","template":"TextBox","transformStringTo":"Titlecase"},"unitNumber":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.UnitNumber","bindOnChange":true,"bindOnLoad":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"controlType":"Input","customValidators":[{"errorMessage":"Please enter valid apt/unit #","parameters":{"regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"unitNumber","inputMode":"Optional","label":"Apt/Unit #","maxLength":20,"template":"TextBox"}},"addressSettings":{"commandsOnSelect":[{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimary","value":false}]}]},{"delayIntervalMS":500,"endpointUrl":"api/branchlocator/branches?originAddress={$.Private.Customers[1].CustomerDetail.AddressContacts.Home.Search.label}","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Joint.AllBranches"},{"targetJsonPath":"$.Private.Lists.Joint.Branches","value":""},{"targetJsonPath":"$.Private.Joint.HomeBranch","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranch.Code","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranch.Description","value":""}],"statusCode":200}]},{"customCommand":"GetCurrentUrl","delayIntervalMS":500,"onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-additional-details"},"responseMappings":[{"bindingPath":"$..Lists.Joint.AllBranches[?(@.routeDistance<=75000)]","targetJsonPath":"$.Private.Lists.Joint.Branches"}]}]}],"manualEntryType":"Modal","modalButtonLabel":"Submit","modalDescription":"Please enter your address manually below.","modalTitle":"Enter manual address","poBoxRestrictionMessage":"Please use a non-PO Box address for your physical address","ProvinceCode":"AB,BC,SK","restrictPoBox":true,"setAddressConditions":[{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimary","targetValue":true}],"setAddressfromSubscription":false}],"toggleLinkLabel":{"searchLabel":"Enter address manually"}},"autocompleteSettings":{"bindOnSelect":true},"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.Search","controlType":"Input","customClasses":"max-w-full -mt-3","customValidators":[{"errorMessage":"Input contains special and/or accented characters. Please enter address manually to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"iconLeft":"fal fa-map-marker-alt","id":"addressSearchJoint","inputMode":"Required","label":"Physical address (required)","template":"AddressSearch"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimary","bindOnChange":true,"checkboxSettings":{"bindOnChange":true,"commandsOnClick":[{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimary","targetValue":true}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-additional-details"},"responseMappings":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home","value":""},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.Search","onChangeTargetId":"addressSearchJoint"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.Search","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.Search"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.LegalLandDescription","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.LegalLandDescription"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.UnitNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.UnitNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.CivicNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.CivicNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.StreetName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.StreetName"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.CityName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.CityName"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.Province.Code","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.Province.Code"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.PostalCode","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.PostalCode"},{"bindingPath":"$.Private.Lists.Primary.AllBranches","targetJsonPath":"$.Private.Lists.Joint.AllBranches"},{"bindingPath":"$.Private.Lists.Primary.Branches","targetJsonPath":"$.Private.Lists.Joint.Branches"},{"bindingPath":"$.Private.Primary.HomeBranch","targetJsonPath":"$.Private.Joint.HomeBranch"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimary","targetValue":false}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-additional-details"},"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.Search","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","value":"STREET"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.LegalLandDescription","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.UnitNumber","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.CivicNumber","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.StreetName","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.CityName","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.Province.Code","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.PostalCode","value":""},{"targetJsonPath":"$.Private.Lists.Joint.AllBranches","value":""},{"targetJsonPath":"$.Private.Lists.Joint.Branches","value":""},{"targetJsonPath":"$.Private.Joint.HomeBranch","value":""}]}]}]},"controlType":"Input","id":"address-same-as-primary","inputMode":"Optional","label":"Same as the primary applicant","template":"CheckBox"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Lists.Joint.AllBranches","targetValue":"*"},{"targetJsonPath":"$.Private.Lists.Joint.Branches","targetValue":""},{"operator":"NotContains","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.Province.Code","targetValue":"AB"}],"controlType":"HTML","customClasses":"line-height-1 ml-3","description":"<small class='p-error '>You have to be either a resident of AB or resident of BC or SK that resides within 75 km from one of our branches.</small>","id":"address-description-error"},{"addressInputs":{"addressType":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","bindOnLoad":true,"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"controlOptions":{"options":[{"label":"Civic Address","value":"STREET"},{"label":"PO Box Address","value":"POBOX"},{"label":"Rural Route","value":"RURALROUTE"}]},"controlType":"Input","defaultValue":"STREET","dropdownSettings":{"bindOnSelect":true},"enabled":true,"id":"addressTypeM","inputMode":"Optional","inputModeConditions":[{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search","targetValue":"*"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"Address type","placeholder":"","resetMappingsSettings":[{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.BoxNumber"},{"onChangeTargetId":"poBoxNumberM"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.RuralRoute"},{"onChangeTargetId":"ruralRouteM"}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"onChangeTargetId":"unitNumberM"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"onChangeTargetId":"civicNumberM"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.RuralRoute"},{"onChangeTargetId":"ruralRouteM"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName"},{"onChangeTargetId":"streetNameM"}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"RURALROUTE"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"onChangeTargetId":"unitNumberM"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"onChangeTargetId":"civicNumberM"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.BoxNumber"},{"onChangeTargetId":"poBoxNumberM"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName"},{"onChangeTargetId":"streetNameM"}]}],"template":"DropDown"},"boxNumber":{"allConditionsMustBeMet":true,"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.BoxNumber","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"}],"controlType":"Input","customValidators":[{"errorMessage":"Please enter valid PO Box","parameters":{"objectProperty":"id","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"poBoxNumberM","inputMode":"Optional","inputModeConditions":[{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"POBOX"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"PO Box #","maxLength":20,"template":"TextBox"},"cityName":{"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.CityName","bindOnChange":true,"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"Please enter valid city","parameters":{"objectProperty":"id","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"cityNameM","inputMode":"Optional","inputModeConditions":[{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"*"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"City","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"civicNumber":{"allConditionsMustBeMet":true,"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"civicNumberM","inputMode":"Optional","inputModeConditions":[{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"Street number","maxLength":20,"regexMessage":"Please enter a valid street number","regexPattern":"(^[0-9 ]*$)?","template":"TextBox"},"country":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Country.Code","bindOnChange":true,"controlOptions":{"options":[{"label":"Canada","value":"CA"}]},"controlType":"Input","id":"countryM","inputMode":"Optional","label":"Country","template":"DropDown","value":"CA"},"postalCode":{"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","bindOnChange":true,"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"Invalid postal code (eg. A1A-1A1).","parameters":{"regexPattern":"^([A-Za-z]\\d[A-Za-z]\\d[A-Za-z]\\d)$"},"validator":"Regex"}],"id":"postalCodeM","inputMask":"a9a-9a9","inputMode":"Optional","inputModeConditions":[{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"},{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"*"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"Postal code","template":"TextBox","transformStringTo":"Uppercase"},"provinceCode":{"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code","bindOnChange":true,"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"controlOptions":{"options":[{"label":"Alberta","value":"AB"},{"label":"British Columbia","value":"BC"},{"label":"Manitoba","value":"MB"},{"label":"New Brunswick","value":"NB"},{"label":"Newfoundland and Labrador","value":"NL"},{"label":"Nova Scotia","value":"NS"},{"label":"Northwest Territories","value":"NT"},{"label":"Nunavut","value":"NU"},{"label":"Ontario","value":"ON"},{"label":"Prince Edward Island","value":"PE"},{"label":"Quebec","value":"QC"},{"label":"Saskatchewan","value":"SK"},{"label":"Yukon","value":"YT"}]},"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"","parameters":{"regexPattern":"^[A-Za-z]*$"},"validator":"Regex"}],"enabled":true,"id":"provinceCodeM","inputMode":"Optional","inputModeConditions":[{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"},{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"*"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"Province","template":"DropDown"},"ruralRoute":{"allConditionsMustBeMet":true,"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.RuralRoute","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"RURALROUTE"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"Please enter valid rural route","parameters":{"objectProperty":"id","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"ruralRouteM","inputMode":"Optional","inputModeConditions":[{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"RURALROUTE"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"Rural route","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"streetName":{"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName","bindOnChange":true,"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"Please select a non-PO box address","parameters":{"regexPattern":"(^((?!PO\\sBOX|PO\\sBox|Po\\sBox|po\\sbox|POBOX|POBox|PoBox|pobox).)*$)(^[a-zA-Z0-9 -]*$)?"},"validator":"Regex"}],"id":"streetNameM","inputMode":"Optional","inputModeConditions":[{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"Street name","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"unitNumber":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"}],"controlType":"Input","customValidators":[{"errorMessage":"Please enter valid apt/unit #","parameters":{"objectProperty":"id","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"unitNumberM","inputMode":"Optional","label":"Apt/Unit #","maxLength":20,"template":"TextBox"}},"addressSettings":{"commandsOnSelect":[{"customCommand":"GetCurrentUrl","delayIntervalMS":500,"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.SameAsAddressType","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.SameAsAddressType"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.CityName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CityName"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode"}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-additional-details"},"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimaryMail","value":false}]}]}],"enableResetOnManualEntry":true,"enableValidationsOnManualEntry":true,"manualEntryType":"Modal","modalButtonLabel":"Submit","modalDescription":"Please enter your address manually below.","modalTitle":"Enter manual address","resetOnManualEntryDelayMS":200,"setAddressConditions":[{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimaryMail","targetValue":true}],"setAddressfromSubscription":false}],"toggleLinkLabel":{"searchLabel":"Enter address manually"},"validationsOnManualEntryDelayMS":50},"autocompleteSettings":{"bindOnSelect":true,"forceSelection":false},"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"controlType":"Input","customClasses":"max-w-full","customValidators":[{"errorMessage":"Input contains special and/or accented characters. Please enter address manually to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"iconLeft":"fal fa-map-marker-alt","id":"addressSearchOptionalMailJoint","inputMode":"Optional","label":"Mailing address (optional)","template":"AddressSearch"},{"addressInputs":{"addressType":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.addressType","bindOnLoad":true,"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"}],"controlOptions":{"options":[{"label":"Civic Address","value":"STREET"},{"label":"PO Box Address","value":"POBOX"},{"label":"Rural Route","value":"RURALROUTE"}]},"controlType":"Input","defaultValue":"STREET","dropdownSettings":{"bindOnSelect":true},"enabled":true,"id":"addressTypeML","inputMode":"Required","label":"Address type","placeholder":"","resetMappingsSettings":[{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"STREET"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.BoxNumber"},{"onChangeTargetId":"poBoxNumberML"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.RuralRoute"},{"onChangeTargetId":"ruralRouteML"}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"POBOX"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.UnitNumber"},{"onChangeTargetId":"unitNumberML"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.CivicNumber"},{"onChangeTargetId":"civicNumberML"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.RuralRoute"},{"onChangeTargetId":"ruralRouteML"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.StreetName"},{"onChangeTargetId":"streetNameML"}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"RURALROUTE"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.UnitNumber"},{"onChangeTargetId":"unitNumberML"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.CivicNumber"},{"onChangeTargetId":"civicNumberML"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.BoxNumber"},{"onChangeTargetId":"poBoxNumberML"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.StreetName"},{"onChangeTargetId":"streetNameML"}]}],"template":"DropDown"},"boxNumber":{"allConditionsMustBeMet":true,"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.BoxNumber","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"POBOX"}],"controlType":"Input","customValidators":[{"errorMessage":"Please enter valid PO Box","parameters":{"objectProperty":"id","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"poBoxNumberML","inputMode":"Optional","inputModeConditions":[{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"POBOX"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"PO Box #","maxLength":20,"template":"TextBox"},"cityName":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.CityName","bindOnChange":true,"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"Please enter valid city","parameters":{"objectProperty":"id","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"cityNameML","inputMode":"Required","label":"City","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"civicNumber":{"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.CivicNumber","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"STREET"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"civicNumberML","inputMode":"Optional","inputModeConditions":[{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"STREET"}],"defaultInputMode":"Optional","inputMode":"Required"}],"label":"Street number","maxLength":20,"regexMessage":"Please enter a valid street number","regexPattern":"(^[0-9 ]*$)?","template":"TextBox"},"country":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.Country.Code","bindOnChange":true,"controlOptions":{"options":[{"label":"Canada","value":"CA"}]},"controlType":"Input","id":"countryML","inputMode":"Optional","label":"Country","template":"DropDown","value":"CA"},"postalCode":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.PostalCode","bindOnChange":true,"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"Invalid postal code (eg. A1A-1A1).","parameters":{"regexPattern":"^([A-Za-z]\\d[A-Za-z]\\d[A-Za-z]\\d)$"},"validator":"Regex"}],"id":"postalCodeML","inputMask":"a9a-9a9","inputMode":"Required","label":"Postal code","template":"TextBox","transformStringTo":"Uppercase"},"provinceCode":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.Province.Code","bindOnChange":true,"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"}],"controlOptions":{"options":[{"label":"Alberta","value":"AB"},{"label":"British Columbia","value":"BC"},{"label":"Manitoba","value":"MB"},{"label":"New Brunswick","value":"NB"},{"label":"Newfoundland and Labrador","value":"NL"},{"label":"Nova Scotia","value":"NS"},{"label":"Northwest Territories","value":"NT"},{"label":"Nunavut","value":"NU"},{"label":"Ontario","value":"ON"},{"label":"Prince Edward Island","value":"PE"},{"label":"Quebec","value":"QC"},{"label":"Saskatchewan","value":"SK"},{"label":"Yukon","value":"YT"}]},"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"enabled":true,"id":"provinceCodeML","inputMode":"Required","label":"Province","template":"DropDown"},"ruralRoute":{"allConditionsMustBeMet":true,"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.RuralRoute","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"RURALROUTE"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"Please enter valid rural route","parameters":{"objectProperty":"id","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"ruralRouteML","inputMode":"Optional","inputModeConditions":[{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"RURALROUTE"}],"defaultInputMode":"Optional","inputMode":"Required"}],"label":"Rural route","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"streetName":{"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.StreetName","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"STREET"}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"customValidators":[{"errorMessage":"Please select a non-PO box address","parameters":{"regexPattern":"(^((?!PO\\sBOX|PO\\sBox|Po\\sBox|po\\sbox|POBOX|POBox|PoBox|pobox).)*$)(^[a-zA-Z0-9 -]*$)?"},"validator":"Regex"}],"id":"streetNameML","inputMode":"Optional","inputModeConditions":[{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"STREET"}],"defaultInputMode":"Optional","inputMode":"Required"}],"label":"Street name","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"unitNumber":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.UnitNumber","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.addressType","targetValue":"STREET"}],"controlType":"Input","customValidators":[{"errorMessage":"Please enter valid apt/unit #","parameters":{"objectProperty":"id","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"unitNumberML","inputMode":"Optional","label":"Apt/Unit #","maxLength":20,"template":"TextBox"}},"addressSettings":{"commandsOnSelect":[{"customCommand":"GetCurrentUrl","delayIntervalMS":500,"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.UnitNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.CivicNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.StreetName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.SameAsAddressType","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.SameAsAddressType"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.CityName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CityName"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.Province.Code","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.PostalCode","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode"}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-additional-details"},"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimaryMail","value":false}]}]}],"manualEntryType":"Modal","modalButtonLabel":"Submit","modalDescription":"Please enter your address manually below.","modalTitle":"Enter manual address","toggleLinkLabel":{"searchLabel":"Enter address manually"}},"autocompleteSettings":{"bindOnSelect":true,"forceSelection":false},"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.Search","bindOnChange":true,"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"}],"controlType":"Input","customClasses":"max-w-full","customValidators":[{"errorMessage":"Input contains special and/or accented characters. Please enter address manually to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"iconLeft":"fal fa-map-marker-alt","id":"addressSearchRequiredMailJoint","inputMode":"Required","label":"Mailing address (required)","template":"AddressSearch"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimaryMail","bindOnChange":true,"checkboxSettings":{"bindOnChange":true,"commandsOnClick":[{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimaryMail","targetValue":true}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-additional-details"},"responseMappings":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail","value":""},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Search","onChangeTargetId":"addressSearchMailJoint","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Search","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","onChangeTargetId":"addressTypeM","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber","onChangeTargetId":"unitNumberM","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber","onChangeTargetId":"civicNumberM","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName","onChangeTargetId":"streetNameM","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.CityName","onChangeTargetId":"cityNameM","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.CityName"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code","onChangeTargetId":"provinceCodeM","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","onChangeTargetId":"postalCodeM","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.BoxNumber","onChangeTargetId":"poBoxNumberM","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.BoxNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.RuralRoute","onChangeTargetId":"ruralRouteM","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.RuralRoute"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.SameAsAddressType","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.SameAsAddressType"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimaryMail","targetValue":false}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-additional-details"},"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.CityName","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.RuralRoute","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.BoxNumber","value":""}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimaryMail","targetValue":true}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-additional-details"},"responseMappings":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal","value":""},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.Search","onChangeTargetId":"addressSearchMailJoint","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.Search"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.Search","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.Search"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.addressType","onChangeTargetId":"addressTypeML","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.addressType"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.UnitNumber","onChangeTargetId":"unitNumberML","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.UnitNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.CivicNumber","onChangeTargetId":"civicNumberML","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.CivicNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.StreetName","onChangeTargetId":"streetNameML","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.StreetName"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.CityName","onChangeTargetId":"cityNameML","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.CityName"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.Province.Code","onChangeTargetId":"provinceCodeML","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.Province.Code"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.PostalCode","onChangeTargetId":"postalCodeML","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.PostalCode"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.BoxNumber","onChangeTargetId":"poBoxNumberML","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.BoxNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.MailLegal.RuralRoute","onChangeTargetId":"ruralRouteML","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.RuralRoute"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.SameAsAddressType","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.SameAsAddressType"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"LEGAL"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.SameAsPrimaryMail","targetValue":false}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-additional-details"},"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.Search","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.addressType","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.UnitNumber","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.CivicNumber","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.StreetName","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.CityName","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.Province.Code","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.PostalCode","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.BoxNumber","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.MailLegal.RuralRoute","value":""}]}]}]},"controlType":"Input","id":"address-same-as-primary-mail","inputMode":"Optional","label":"Same as the primary applicant","template":"CheckBox"},{"controlType":"HelpText","customClasses":"mt-5","helpText":"If your physical or mailing address isn't showing automatically, please enter it manually.","id":"mailing-address-help-text"},{"bindingPath":"$.Private.ValidJointAddress","checkboxSettings":{"checkedRequired":true,"falseValue":"no","trueValue":"yes"},"columnOverride":1,"controlType":"Input","customClasses":"hidden","id":"ValidJointAddress","label":"","template":"CheckBox","value":true}],"title":"Address details"}]},{"commandsOnLoad":[{"conditions":[{"targetJsonPath":"$.Private.Lists.Joint.Branches","targetValue":"*"},{"operator":"GreaterThan","targetJsonPath":"$.Private.Lists.Joint.Branches.length","targetValue":1}],"endpointUrl":"api/staticdata/branches?searchIn=BranchUniqueName&searchFor={$.Private.Lists.Joint.Branches[0].branchId}","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Joint.HomeBranch"},{"bindingPath":"$.Private.Joint.HomeBranch[0].BranchId","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranch.Code"},{"bindingPath":"$.Private.Joint.HomeBranch[0].DisplayName","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranch.Description"},{"bindingPath":"$.Private.Joint.HomeBranch[0].Address.UnitNumber","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.UnitNumber"},{"bindingPath":"$.Private.Joint.HomeBranch[0].Address.CityName","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.CityName"},{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.Province.Code","value":"AB"},{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.Country.Code","value":"CA"},{"bindingPath":"$.Private.Joint.HomeBranch[0].Address.CivicNumber","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.CivicNumber"},{"bindingPath":"$.Private.Joint.HomeBranch[0].Address.ProvideCode","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.Province.Code"},{"bindingPath":"$.Private.Joint.HomeBranch[0].Address.StreetName","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.StreetName"},{"bindingPath":"$.Private.Joint.HomeBranch[0].Address.PostalCode","dataTransformation":[{"pattern":" ","replacement":""}],"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.PostalCode"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.Joint.Branches","targetValue":""}],"dataBindings":[{"targetJsonPath":"$.Private.Lists.Joint.Branches"}],"onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-additional-details"},"responseMappings":[{"targetJsonPath":"$.Private.Joint.HomeBranch","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranch.Code","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranch.Description","value":""}]}]}],"hasBackButton":true,"hasNextButton":true,"id":"joint-employment-info","navigation":{"nextPageId":"confirmation"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":2,"resetToDefaultOnBackClick":true,"restrictions":[{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"sections":[{"controls":[{"bindingPath":"$.Private.Joint.IsEmployed","bindOnLoad":true,"controlOptions":{"options":[{"label":"Yes","value":"Yes"},{"label":"No","value":"No"}]},"controlType":"Input","customClasses":"mb-3 -mt-2","id":"is-employed","inputMode":"Required","label":"Are you employed?","radioListSettings":{"bindOnSelect":true,"onSelect":{"conditions":[{"targetJsonPath":"$.Private.Joint.IsEmployed","targetValue":"Yes"}],"dataBindings":[{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code"}],"onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","value":"Employed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Description","value":"Employed"}]}]},"submitOnSelect":false},"resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"occupation"},{"onChangeTargetId":"employment-status"}]}],"template":"RadioList"},{"autocompleteSettings":{"forceSelection":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onSearch":{"endpointUrl":"api/staticdata/occupationtypes?searchIn=Description&searchFor={$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Search.Term}","httpMethod":"GET"},"onSelect":{"endpointUrl":"api/staticdata/occupationtypes?searchIn=Code&searchFor={$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Search.Id}","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0].Code","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Code"},{"responseJsonPath":"$[0].Description","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Description"},{"responseJsonPath":"$[0].CategoryId","targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.OccupationType.CategoryId"}],"statusCode":200}]},"searchIdJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Search.Id","searchTermJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Search.Term"},"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Description","bindOnLoad":true,"conditions":[{"targetJsonPath":"$.Private.Joint.IsEmployed","targetValue":"Yes"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please select a valid occupation from the list"},"id":"occupation","inputMode":"Required","label":"Occupation (required)","maxLength":50,"template":"AutoComplete"},{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","conditions":[{"targetJsonPath":"$.Private.Joint.IsEmployed","targetValue":"No"}],"controlOptions":{"descriptionControlId":"employment-status-description","options":[{"label":"Unemployed","value":"Unemployed"},{"label":"Retired","value":"Retired"},{"label":"Student","value":"Student"}]},"controlType":"Input","customValidationMessages":{"required":"Please select your status"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.value","labelJsonPath":"$.label","selectedIdJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Description"},"id":"employment-status","inputMode":"Required","label":"What is your status? (required)","template":"DropDown"}],"id":"employment","tagDescription":"<span class='px-2'>Joint</span>","title":"Employment"},{"controls":[{"bindingPath":"$.Customers[1].CustomerDetail.AccountSecurity.Question.Code","controlOptions":{"descriptionControlId":"question-description","optionsJsonPath":"$.Private.Lists.ChallengeQuestions"},"controlType":"Input","customClasses":"mt-2","dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Description","valueJsonPath":"$.Code"},"id":"choose-a-challenge-question","inputMode":"Required","label":"Choose a challenge question","template":"DropDown"},{"bindingPath":"$.Customers[1].CustomerDetail.AccountSecurity.Question.Description","controlType":"Input","id":"question-description","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.AccountSecurity.Answer.Description","bindOnChange":true,"controlType":"Input","customClasses":"pt-2","customValidationMessages":{"required":"This is a required field."},"id":"challenge-question-answer","inputMode":"Required","label":"Please enter an answer to your challenge question","maxLength":40,"template":"TextBox"},{"allowedKeysRegex":"^[0-9]*$","bindingPath":"$.Customers[1].CustomerDetail.AccountSecurity.PersonalAccessNumber","bindOnChange":true,"controlType":"Input","customClasses":"pt-2","customValidationMessages":{"required":"Please enter a 5-digit security number"},"customValidators":[{"errorMessage":"Whoops! Your 5-digit security number cannot contain repeated digits","parameters":{"id":"check-repeat","objectProperty":"digit-security-number","regexFlag":"gm","regexPattern":"^(?!(\\d)\\1{4})\\d+$"},"validator":"Regex"},{"errorMessage":"Whoops! Your 5-digit security number cannot begin with 0.","parameters":{"id":"check-0","objectProperty":"digit-security-number","regexPattern":"^(?!0)\\d+"},"validator":"Regex"},{"errorMessage":"","parameters":{"id":"check-5","objectProperty":"digit-security-number","regexPattern":"^\\d{5}$"},"validator":"Regex"}],"id":"digit-security-number","inputMode":"Required","keyboardType":"Phone","label":"Please enter a 5-digit security number","maxLength":5,"template":"TextBox"},{"controlType":"HelpText","customClasses":"pt-2","helpIcon":"fal fa-info-circle","helpText":"Create a 5-digit security number.","id":"addition-details-help-text-1"}],"description":"Choose a challenge question and 5-digit security number. We'll use this information to verify your identity when you contact Servus over the phone.","id":"call-centre-verification","title":"Call centre verification"}]},{"commandsOnLoad":[{"allowNull":false,"body":[{"parameterName":"ProductDetail","valueJsonPath":"$.Products[0].ProductDetail"},{"parameterName":"ProductType","valueJsonPath":"$.Private.Offers[0].ProductType"},{"parameterName":"OfferId","valueJsonPath":"$.Private.Offers[0].OfferId"},{"parameterName":"ProductName","valueJsonPath":"$.Private.Offers[0].OfferDetail.ProductName"},{"parameterName":"OfferDetail","valueJsonPath":"$.Products[0].OfferDetail"}],"conditions":[{"targetJsonPath":"$.Products[0].ProductId","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products","httpMethod":"POST","onSuccess":[{"responseMappings":[{"responseJsonPath":"$.ProductId","targetJsonPath":"$.Products[0].ProductId"},{"responseJsonPath":"$.ProductDetail","targetJsonPath":"$.Products[0].ProductDetail"},{"responseJsonPath":"$.OfferDetail","targetJsonPath":"$.Products[0].OfferDetail"},{"responseJsonPath":"$.OfferId","targetJsonPath":"$.Products[0].OfferId"},{"responseJsonPath":"$.OfferDetail.ProductName","targetJsonPath":"$.Products[0].ProductName"},{"responseJsonPath":"$.ProductRoles","targetJsonPath":"$.Products[0].ProductRoles"},{"responseJsonPath":"$.ProductType","targetJsonPath":"$.Products[0].ProductType"},{"responseJsonPath":"$.Products[0]","targetJsonPath":"$.Private.SelectedProducts[0]"}],"statusCode":201}]},{"allowNull":false,"body":[{"parameterName":"ProductDetail","valueJsonPath":"$.Products[1].ProductDetail"},{"parameterName":"ProductType","valueJsonPath":"$.Private.Offers[1].ProductType"},{"parameterName":"OfferId","valueJsonPath":"$.Private.Offers[1].OfferId"},{"parameterName":"ProductName","valueJsonPath":"$.Private.Offers[1].OfferDetail.ProductName"},{"parameterName":"OfferDetail","valueJsonPath":"$.Products[1].OfferDetail"}],"conditions":[{"targetJsonPath":"$.Products[1].ProductId","targetValue":""},{"targetJsonPath":"$.Private.AddUpsellAccount","targetValue":"Yes"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products","httpMethod":"POST","onSuccess":[{"responseMappings":[{"responseJsonPath":"$.ProductId","targetJsonPath":"$.Products[1].ProductId"},{"responseJsonPath":"$.ProductDetail","targetJsonPath":"$.Products[1].ProductDetail"},{"responseJsonPath":"$.OfferDetail","targetJsonPath":"$.Products[1].OfferDetail"},{"responseJsonPath":"$.OfferId","targetJsonPath":"$.Products[1].OfferId"},{"responseJsonPath":"$.OfferDetail.ProductName","targetJsonPath":"$.Products[1].ProductName"},{"responseJsonPath":"$.ProductRoles","targetJsonPath":"$.Products[1].ProductRoles"},{"responseJsonPath":"$.ProductType","targetJsonPath":"$.Products[1].ProductType"},{"responseJsonPath":"$.Products[1]","targetJsonPath":"$.Private.SelectedProducts[1]"}],"statusCode":201}]},{"body":[{"valueJsonPath":"$.Products[\"$.Products.length\"]"}],"conditions":[{"targetJsonPath":"$.Products[\"$.Products.length\"].ProductId","targetValue":"*"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products","httpMethod":"POST","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"parameterName":"$.ProductId","responseMappings":[{"responseJsonPath":"$.ProductId","targetJsonPath":"$.Products[\"$.Products.length\"].ProductId"},{"responseJsonPath":"$.ProductDetail","targetJsonPath":"$.Products[\"$.Products.length\"].ProductDetail"},{"responseJsonPath":"$.OfferDetail","targetJsonPath":"$.Products[\"$.Products.length\"].OfferDetail"},{"responseJsonPath":"$.OfferId","targetJsonPath":"$.Products[\"$.Products.length\"].OfferId"},{"responseJsonPath":"$.ProductName","targetJsonPath":"$.Products[\"$.Products.length\"].ProductName"},{"responseJsonPath":"$.ProductRoles","targetJsonPath":"$.Products[\"$.Products.length\"].ProductRoles"},{"responseJsonPath":"$.ProductType","targetJsonPath":"$.Products[\"$.Products.length\"].ProductType"},{"responseJsonPath":"$.ProductId","targetJsonPath":"$.Private.MemberShare.ProductId"}],"statusCode":201}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"}}]}],"hasBackButton":false,"hasNextButton":false,"id":"add-products","modalOptions":{"isDismissible":false},"navigation":{"nextPageId":"assign-products"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"customClasses":"p-3 box-shadow-none text-center","disclaimerText":"Sit tight. This should only take a moment.","icon":"fa-light fa-user-shield","id":"creatingAccounts","title":"Verifying Identity..."}]},{"commandsOnLoad":[{"conditions":[{"targetJsonPath":"$.Products[0].ProductId","targetValue":"*"},{"targetJsonPath":"$.Products[0].ProductRoles.Code","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Products[0].ProductId}/roles/PrimaryAccountHolder/assignments/{$.Customers[0].CustomerId}","httpMethod":"POST","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[0].ProductRoles.Code","value":"PrimaryAccountHolder"}],"statusCode":204}]},{"conditions":[{"targetJsonPath":"$.Products[0].ProductId","targetValue":"*"},{"targetJsonPath":"$.Products[0].ProductRoles.Code","targetValue":""},{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Products[0].ProductId}/roles/JointAccountHolder/assignments/{$.Customers[1].CustomerId}","httpMethod":"POST","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[0].ProductRoles.Code","value":"PrimaryAccountHolder"}],"statusCode":204}]},{"conditions":[{"targetJsonPath":"$.Products[1].ProductId","targetValue":"*"},{"targetJsonPath":"$.Products[1].ProductRoles.Code","targetValue":""},{"targetJsonPath":"$.Private.AddUpsellAccount","targetValue":"Yes"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Products[1].ProductId}/roles/PrimaryAccountHolder/assignments/{$.Customers[0].CustomerId}","httpMethod":"POST","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[1].ProductRoles.Code","value":"PrimaryAccountHolder"}],"statusCode":204}]},{"conditions":[{"targetJsonPath":"$.Products[1].ProductId","targetValue":"*"},{"targetJsonPath":"$.Products[1].ProductRoles.Code","targetValue":""},{"targetJsonPath":"$.Private.AddUpsellAccount","targetValue":"Yes"},{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Products[1].ProductId}/roles/JointAccountHolder/assignments/{$.Customers[1].CustomerId}","httpMethod":"POST","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[1].ProductRoles.Code","value":"PrimaryAccountHolder"}],"statusCode":204}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"}}]}],"hasBackButton":false,"hasNextButton":false,"id":"assign-products","modalOptions":{"isDismissible":false},"navigation":{"nextPageId":"decision-modal"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"customClasses":"p-3 box-shadow-none text-center","disclaimerText":"Sit tight. This should only take a moment.","icon":"fa-light fa-user-shield","id":"creatingAccounts","title":"Verifying Identity..."}]},{"commandsOnLoad":[{"body":[{"parameterName":"SessionId","valueJsonPath":"$.Private.AppSessionId"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/presub/submit","httpMethod":"POST","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"parameterName":"$.StageName","responseMappings":[{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"}],"statusCode":200}]}],"hasBackButton":false,"hasNextButton":false,"id":"decision-modal","modalOptions":{"isDismissible":false},"navigation":{"nextPageId":"decision-modal-status"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"customClasses":"p-3 box-shadow-none text-center","disclaimerText":"Sit tight. This should only take a moment.","icon":"fa-light fa-user-shield","id":"creatingAccounts","title":"Verifying Identity..."}]},{"commandsOnLoad":[{"conditions":[{"targetJsonPath":"$.Products.length","targetValue":2}],"dataBindings":[{"targetJsonPath":"$.Private.SelectedProducts[0]"}],"onSuccess":[{"responseMappings":[{"bindingPath":"$.Products[0]","targetJsonPath":"$.Private.SelectedProducts[0]"},{"bindingPath":"$.Products[1]","targetJsonPath":"$.Private.SelectedProducts[1]"}]}]},{"conditions":[{"targetJsonPath":"$.Products.length","targetValue":1}],"dataBindings":[{"targetJsonPath":"$.Private.SelectedProducts[0]"}],"onSuccess":[{"responseMappings":[{"bindingPath":"$.Products[0]","targetJsonPath":"$.Private.SelectedProducts[0]"}]}]},{"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$.Customers[0].CustomerId","targetJsonPath":"$.Customers[0].CustomerId"}]}]},{"conditions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/current","httpMethod":"GET","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"decision-modal-final"},"parameterName":"$.StageStatus.Code","parameterValue":"Completed","responseMappings":[{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"idv-details"},"parameterName":"$.OutputParameters.CurrentStepName","parameterValue":"UserConsent","responseMappings":[{"responseJsonPath":"$.OutputParameters.InputCorrelationId","targetJsonPath":"$.Private.Customers[0].InputCorrelationId"},{"responseJsonPath":"$.OutputParameters.CurrentStepName","targetJsonPath":"$.Private.Customers[0].CurrentStepName"},{"responseJsonPath":"$.OutputParameters.InvitationAddresses","targetJsonPath":"$.Private.Customers[0].InvitationAddresses"},{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"decision-modal-final"},"parameterName":"$.StageStatus.Code","parameterValue":"PendingReview"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"declined"},"parameterName":"$.StageStatus.Code","parameterValue":"Faulted"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"declined"},"parameterName":"$.OutputParameters.ApplicationStatus","parameterValue":"Declined"},{"parameterName":"$.StageStatus.Code","parameterValue":"Processing","responseMappings":[{"responseJsonPath":"$.OutputParameters.ApplicationStatus","targetJsonPath":"$.ApplicationStatus.Code"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"preload-approved-modal"},"parameterName":"$.OutputParameters.ApplicationStatus","parameterValue":"Approved","responseMappings":[{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"},{"targetJsonPath":"$.ApplicationStatus.Code","value":"Approved"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"id-failure"},"parameterName":"$.OutputParameters.ApplicationStatus","parameterValue":"Referred"}],"pollIntervalMS":5000},{"conditions":[{"targetJsonPath":"$.Products.length","targetValue":1}],"dataBindings":[{"targetJsonPath":"$.Private.SelectedProducts[0]"}],"onSuccess":[{"responseMappings":[{"bindingPath":"$.Products[0]","targetJsonPath":"$.Private.SelectedProducts[0]"}]}]}],"hasBackButton":false,"hasNextButton":false,"id":"decision-modal-status","modalOptions":{"isDismissible":false},"navigation":{"nextPageId":"preload-approved-modal","onLoadConditions":[{"conditions":[{"targetJsonPath":"$.Products[0].ProductDetail.CreditAcceptance.AcceptedLimit","targetValue":"*"}],"navigationAction":{"navigationType":"NavigateToPage","pageId":"share-account"}}]},"pageMode":"Modal","pageTemplate":"Form","sections":[{"conditions":[{"targetJsonPath":"$.Private.Resume.Cid","targetValue":""}],"customClasses":"p-3 box-shadow-none text-center","disclaimerText":"Sit tight. This should only take a moment.","icon":"fal fa-credit-card-front fa-fade","id":"awaiting-results","title":"Processing your application..."},{"conditions":[{"targetJsonPath":"$.Private.Resume.Cid","targetValue":"*"}],"customClasses":"p-3 box-shadow-none text-center","disclaimerText":"Sit tight. This should only take a moment.","icon":"fal fa-credit-card-front fa-fade","id":"awaiting-results","title":"Getting things ready..."}]},{"commandsOnLoad":[{"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}","httpMethod":"GET","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"technical-error"},"parameterName":"$.NonApprovedDecisioningProvider.DepartmentId","parameterValue":"BankingIntegration","responseMappings":[{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.ApplicationStatus.Code"},{"responseJsonPath":"$.Products[0].ProductDetail.BankingFloorCallResults[?(@.Status == 'Failed')].ReasonCode.Code","targetJsonPath":"$.Private.BankingErrorCodes[0]"},{"responseJsonPath":"$.Products[1].ProductDetail.BankingFloorCallResults[?(@.Status == 'Failed')].ReasonCode.Code","targetJsonPath":"$.Private.BankingErrorCodes[1]"},{"responseJsonPath":"$.Customers[0].CustomerDetail.BankingFloorCallResults[?(@.Status == 'Failed')].ReasonCode.Code","targetJsonPath":"$.Private..BankingErrorCodes[2]"},{"responseJsonPath":"$.Customers[1].CustomerDetail.BankingFloorCallResults[?(@.Status == 'Failed')].ReasonCode.Code","targetJsonPath":"$.Private..BankingErrorCodes[3]"},{"responseJsonPath":"$.Products[0].ProductDetail.BankingFloorCallResults[?(@.Status == 'Failed')][0].ReasonCode.Code","targetJsonPath":"$.Private.BankingErrorCodes[4]"},{"responseJsonPath":"$.Products[1].ProductDetail.BankingFloorCallResults[?(@.Status == 'Failed')][0].ReasonCode.Code","targetJsonPath":"$.Private.BankingErrorCodes[5]"},{"responseJsonPath":"$.Customers[0].CustomerDetail.BankingFloorCallResults[?(@.Status == 'Failed')][0].ReasonCode.Code","targetJsonPath":"$.Private..BankingErrorCodes[6]"},{"responseJsonPath":"$.Customers[1].CustomerDetail.BankingFloorCallResults[?(@.Status == 'Failed')][0].ReasonCode.Code","targetJsonPath":"$.Private..BankingErrorCodes[7]"},{"bindingPath":"$.Private..BankingErrorCodes[?(@!='')]","targetJsonPath":"$.Error.Code"}],"statusCode":200},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"preload-approved-modal"},"parameterName":"$.ApplicationStatus.Code","parameterValue":"Approved","responseMappings":[{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.ApplicationStatus.Code"}],"statusCode":200},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"declined"},"parameterName":"$.ApplicationStatus.Code","parameterValue":"Declined","responseMappings":[{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.ApplicationStatus.Code"}],"statusCode":200},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"review-fraud"},"parameterName":"$.NonApprovedDecisioningProvider.DepartmentId","parameterValue":"FraudPrevention","responseMappings":[{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.ApplicationStatus.Code"}],"statusCode":200},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"review-credit"},"parameterName":"$.NonApprovedDecisioningProvider.DepartmentId","parameterValue":"CreditRating","responseMappings":[{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.ApplicationStatus.Code"}],"statusCode":200},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"id-failure"},"parameterName":"$.NonApprovedDecisioningProvider.DepartmentId","parameterValue":"IdentityVerification","responseMappings":[{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.ApplicationStatus.Code"}],"statusCode":200},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"approved"},"parameterName":"$.ApplicationStatus.Code","parameterValue":"Completed","responseMappings":[{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.ApplicationStatus.Code"}],"statusCode":200},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"error"},"parameterName":"$.ApplicationStatus.Code","parameterValue":"Faulted","responseMappings":[{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"}],"statusCode":200}]}],"hasBackButton":false,"hasNextButton":false,"id":"decision-modal-final","modalOptions":{"isDismissible":false},"navigation":{"nextPageId":"error"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"customClasses":"p-3 box-shadow-none text-center","disclaimerText":"Sit tight. This should only take a moment.","icon":"fal fa-credit-card-front fa-fade","id":"creatingAccounts","title":"Updating application..."}]},{"hasBackButton":false,"hasNextButton":false,"id":"idv-details","navigation":{"nextPageId":"idv-modal-status"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":6,"restrictions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"},{"targetJsonPath":"$.Private.Customers[0].CurrentStepName","targetValue":"UserConsent"}],"sections":[{"controls":[{"controlType":"Divider","customClasses":"mb-5 mt-0","id":"divider-1"},{"controlType":"HTML","customClasses":"mt-5","description":"<h4 class='mb-1'>Use your mobile device to take a photo of your Canadian driver's licence</h4>You'll be asked to take a photo of the front and back of your licence.","id":"description-1"},{"controlType":"HTML","customClasses":"mt-5","description":"<h4 class='mb-1'>Use your mobile device to take a photo of yourself</h4>You'll be asked to take a photo of yourself. We'll use the photo you take and match it to the one from your licence to confirm your identity and keep your account secure.","id":"description-2"},{"controlType":"HTML","customClasses":"mt-5","description":"<h4 class='mb-1'>That's it!</h4>Once we've verified your ID, we can process your application.","id":"description-3"},{"controlType":"Divider","customClasses":"mt-5 mb-4","id":"divider-2"},{"controlType":"HTML","customClasses":"mt-4 mb-4","description":"<div class='flex align-items-center'><div class='mr-4 color-primary font-size-150-percent'><i class='far fa-lock'></i></div><div>We won’t keep a copy of your ID photos or your selfie. We'll only use them to validate your identity and to keep a record of your ID type, number, place of issue and expiry date. </div></div>","id":"disclaimer"},{"controlType":"Divider","customClasses":"mt-4","id":"divider-3"},{"buttonAction":"Submit","controlType":"Button","customClasses":"display-block mt-5","id":"btn-begin","label":"Begin Verification"}],"customClasses":"mt-0","description":"Digital photo ID verification is a secure way for you to prove who you are by taking a photo of your Canadian driver's licence and of yourself using your mobile device. The application process is quick, simple, and secure.","id":"idv-details","textAlignment":"text-left","title":"We need some more information to verify your identity."}]},{"commandsOnLoad":[{"body":[{"parameterName":"ConsentGranted","parameterValue":true},{"parameterName":"SendInvitation","parameterValue":true},{"parameterName":"InvitationAddress","valueJsonPath":"$.Private.Customers[0].InvitationAddresses[0]"}],"conditions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/{$.Private.CurrentStage.StageName}/input","httpMethod":"PUT"},{"conditions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/current","httpMethod":"GET","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"decision-modal-final"},"parameterName":"$.StageStatus.Code","parameterValue":"Completed"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"preload-approved-modal"},"parameterName":"$.OutputParameter.ApplicationStatus","parameterValue":"Approved"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"id-failure"},"parameterName":"$.OutputParameters.ApplicationStatus","parameterValue":"Referred"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"decision-modal-final"},"parameterName":"$.StageStatus.Code","parameterValue":"PendingReview","responseMappings":[{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"error"},"parameterName":"$.StageStatus.Code","parameterValue":"Faulted"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"error"},"parameterName":"$.StageStatus.Code","parameterValue":"Canceled"},{"parameterName":"$.StageStatus.Code","parameterValue":"Processing","responseMappings":[{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"},{"responseJsonPath":"$.OutputParameters.ApplicationStatus","targetJsonPath":"$.ApplicationStatus.Code"}]},{"parameterName":"$.StageStatus.Code","parameterValue":"PendingAdditionalInput","responseMappings":[{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"}]}],"pollIntervalMS":5000}],"hasBackButton":false,"hasNextButton":false,"id":"idv-modal-status","modalOptions":{"isDismissible":false},"navigation":{"nextPageId":"preload-approved-modal"},"pageMode":"Modal","pageTemplate":"Form","pageWidth":"Small","sections":[{"controls":[{"controlType":"HTML","customClasses":"m-0 ","description":"<div class=\"font-size-90-percent\"><p>We have sent you a text message and an email with a link which will direct you to the identity verification site.</p><p>The site has instructions on how to take the required photos to verify your identity using a mobile device. The link will be available for the next 20 minutes.</p><p>Once you are done please return to this page.</p></div>","id":"description-1"},{"controlType":"CountdownTimer","countdownTimerSettings":{"countdownTimeMin":20,"label":"Time remaining"},"customClasses":"mt-4 mb-4","id":"timer","navigationAction":{"navigationType":"NavigateToPage","pageId":"error"}}],"customClasses":"p-3 box-shadow-none text-center","icon":"fal fa-fingerprint fa-fade","id":"awaiting-results","title":"Verify your identity"}]},{"commandsOnLoad":[{"conditions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"},{"targetJsonPath":"$.Private.ApplicationStatus.Code","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}","httpMethod":"GET","onError":[{"responseMappings":[{"responseJsonPath":"$.ErrorMessage","targetJsonPath":"$.Private.Resume.ErrorMessage"}],"statusCode":400},{"responseMappings":[{"responseJsonPath":"$.ErrorMessage","targetJsonPath":"$.Private.Resume.ErrorMessage"}],"statusCode":403}],"onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"technical-error"},"parameterName":"$.NonApprovedDecisioningProvider.DepartmentId","parameterValue":"BankingIntegration","responseMappings":[{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.ApplicationStatus.Code"},{"responseJsonPath":"$.Products[0].ProductDetail.BankingFloorCallResults[?(@.Status == 'Failed')].ReasonCode.Code","targetJsonPath":"$.Private.BankingErrorCodes[0]"},{"responseJsonPath":"$.Products[1].ProductDetail.BankingFloorCallResults[?(@.Status == 'Failed')].ReasonCode.Code","targetJsonPath":"$.Private.BankingErrorCodes[1]"},{"responseJsonPath":"$.Customers[0].CustomerDetail.BankingFloorCallResults[?(@.Status == 'Failed')].ReasonCode.Code","targetJsonPath":"$.Private..BankingErrorCodes[2]"},{"responseJsonPath":"$.Customers[1].CustomerDetail.BankingFloorCallResults[?(@.Status == 'Failed')].ReasonCode.Code","targetJsonPath":"$.Private..BankingErrorCodes[3]"},{"responseJsonPath":"$.Products[0].ProductDetail.BankingFloorCallResults[?(@.Status == 'Failed')][0].ReasonCode.Code","targetJsonPath":"$.Private.BankingErrorCodes[4]"},{"responseJsonPath":"$.Products[1].ProductDetail.BankingFloorCallResults[?(@.Status == 'Failed')][0].ReasonCode.Code","targetJsonPath":"$.Private.BankingErrorCodes[5]"},{"responseJsonPath":"$.Customers[0].CustomerDetail.BankingFloorCallResults[?(@.Status == 'Failed')][0].ReasonCode.Code","targetJsonPath":"$.Private..BankingErrorCodes[6]"},{"responseJsonPath":"$.Customers[1].CustomerDetail.BankingFloorCallResults[?(@.Status == 'Failed')][0].ReasonCode.Code","targetJsonPath":"$.Private..BankingErrorCodes[7]"},{"bindingPath":"$.Private..BankingErrorCodes[?(@!='')]","targetJsonPath":"$.Error.Code"}],"statusCode":200},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"preload-approved-modal"},"responseMappings":[{"responseJsonPath":"$.ApplicationNumber","targetJsonPath":"$.ApplicationNumber"},{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.ApplicationStatus.Code"},{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.Private.ApplicationStatus.Code"},{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"},{"responseJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.BankCard.CardNumber","targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.BankCard.CardNumber"},{"responseJsonPath":"$.Products","targetJsonPath":"$.Products"},{"responseJsonPath":"$.Customers","targetJsonPath":"$.Customers"},{"bindingPath":"$.Customers","targetJsonPath":"$.Private.FilteredCustomers"},{"bindingPath":"$.Private.FilteredCustomers[0].CustomerName","targetJsonPath":"$.Private.FilteredCustomers[0].ApplicantName"},{"bindingMultiPath":["$.Private.FilteredCustomers[1].CustomerName","$.Private.FilteredCustomers[0].CustomerName"],"bindingMultiPathSplitValue":" & ","targetJsonPath":"$.Private.FilteredCustomers[1].ApplicantName"},{"responseJsonPath":"$.Customers[0].CustomerDetail.FirstName","targetJsonPath":"$.Customers[0].CustomerDetail.FirstName"},{"responseJsonPath":"$.Customers[0].CustomerDetail.LastName","targetJsonPath":"$.Customers[0].CustomerDetail.LastName"},{"responseJsonPath":"$.Customers[0].CustomerDetail.PreferredName","targetJsonPath":"$.Customers[0].CustomerDetail.PreferredName"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName","value":""},{"responseJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code"},{"bindingPath":"$..Customers[?(@.CustomerId == '{$.Private.Resume.Cid}')].CustomerDetail.FirstName","targetJsonPath":"$.Private.Resume.CustomerFirstName"},{"bindingPath":"$..Customers[?(@.CustomerId == '{$.Private.Resume.Cid}')].CustomerDetail.PreferredName","targetJsonPath":"$.Private.Resume.CustomerPreferredName"}],"statusCode":200}]},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.PreferredName","targetValue":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"approved"},"responseMappings":[{"bindingPath":"$.Customers[0].CustomerDetail.FirstName","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName"},{"targetJsonPath":"$.Private.ApplicationStatus.Code","value":""}]}]},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.PreferredName","targetValue":"*"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"approved"},"responseMappings":[{"bindingPath":"$.Customers[0].CustomerDetail.PreferredName","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName"},{"targetJsonPath":"$.Private.ApplicationStatus.Code","value":""}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"approved"}}]}],"hasBackButton":false,"hasNextButton":false,"id":"preload-approved-modal","modalOptions":{"isDismissible":false},"navigation":{"nextPageId":"approved"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"conditions":[{"targetJsonPath":"$.Private.Resume.Cid","targetValue":""}],"customClasses":"p-3 box-shadow-none text-center","disclaimerText":"Sit tight. This should only take a moment.","icon":"fal fa-credit-card-front fa-fade","id":"loading-application","title":"Loading application..."},{"conditions":[{"targetJsonPath":"$.Private.Resume.Cid","targetValue":"*"}],"customClasses":"p-3 box-shadow-none text-center","disclaimerText":"Sit tight. This should only take a moment.","icon":"fal fa-credit-card-front fa-fade","id":"awaiting-results","title":"Getting things ready..."}]},{"commandsOnLoad":[{"conditions":[{"operator":"NotContains","targetJsonPath":"$.ApplicationStatus.Code","targetValue":["Approved","Completed"]}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"error"}}]},{"conditions":[{"targetJsonPath":"$.Private.Resume.Cid","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.FilteredCustomers[0].CustomerId","targetJsonPath":"$.Private.Resume.Cid"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Resume.Cid","targetValueJsonPath":"$.Private.FilteredCustomers[1].CustomerId"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.FilteredCustomers[1].ApplicantName","targetJsonPath":"$.Private.FilteredCustomers[0].ApplicantName"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Resume.CustomerPreferredName","targetValue":""},{"targetJsonPath":"$.Private.Resume.CustomerFirstName","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.FilteredCustomers[0].CustomerDetail.PreferredName","targetJsonPath":"$.Private.Resume.CustomerPreferredName"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Resume.CustomerPreferredName","targetValue":""},{"targetJsonPath":"$.Private.Resume.CustomerFirstName","targetValue":""},{"targetJsonPath":"$.Private.FilteredCustomers[0].CustomerDetail.PreferredName","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.FilteredCustomers[0].CustomerDetail.FirstName","targetJsonPath":"$.Private.Resume.CustomerPreferredName"}]}]}],"customClasses":"pt-0 mb-4 p-0","hasBackButton":false,"hasNextButton":false,"id":"approved","pageMode":"Page","pageTemplate":"Form","pageWidth":"Extra Extra Large","sections":[{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Resume.CustomerPreferredName","targetValue":"*"}],"controls":[{"controlType":"HTML","description":"Your accounts have been successfully opened!</div></div>","id":"text"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Products[1].OfferDetail.ProductName","targetValue":""}],"controlType":"HTML","customClasses":"mt-5 ml-auto mr-auto pl-6 pr-6 pt-2 pb-2 rounded-corners background-primary color-white","description":"<h1 class=\"m-0 color-white\">{$.Products[0].OfferDetail.ProductName}</h1>","id":"loan-amount","width":"Fit Content"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Products[1].OfferDetail.ProductName","targetValue":"*"}],"controlType":"HTML","customClasses":"mt-5 ml-auto mr-auto pl-6 pr-6 pt-2 pb-2 rounded-corners background-primary color-white","description":"<h1 class=\"m-0 color-white\">{$.Products[0].OfferDetail.ProductName} & {$.Products[1]..OfferDetail.ProductName}</h1>","id":"loan-amount","width":"Fit Content"}],"customClasses":"pl-2 pr-2 pb-3 bg-white border-bottom text-center box-shadow-none","headingSize":"h1","id":"account-details","template":"Form","title":"Congratulations, {$.Private.Resume.CustomerPreferredName}.","width":"Extra Large"},{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Resume.CustomerPreferredName","targetValue":""}],"controls":[{"controlType":"HTML","description":"Your accounts have been successfully opened!</div></div>","id":"text"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Products[1].OfferDetail.ProductName","targetValue":""}],"controlType":"HTML","customClasses":"mt-5 ml-auto mr-auto pl-6 pr-6 pt-2 pb-2 rounded-corners background-primary color-white","description":"<h1 class=\"m-0 color-white\">{$.Products[0].OfferDetail.ProductName}</h1>","id":"loan-amount","width":"Fit Content"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Products[1].OfferDetail.ProductName","targetValue":"*"}],"controlType":"HTML","customClasses":"mt-5 ml-auto mr-auto pl-6 pr-6 pt-2 pb-2 rounded-corners background-primary color-white","description":"<h1 class=\"m-0 color-white\">{$.Products[0].OfferDetail.ProductName} & {$.Products[1]..OfferDetail.ProductName}</h1>","id":"loan-amount","width":"Fit Content"}],"customClasses":"pl-2 pr-2 pb-3 bg-white border-bottom text-center box-shadow-none","headingSize":"h1","id":"account-details","template":"Form","title":"Congratulations, {$.Private.Resume.CustomerFirstName}.","width":"Extra Large"},{"controls":[{"controlType":"HTML","description":"<h1>Get the full Servus experience</h1> You're in the home stretch! Let's finish up so you can start banking. To get the full Servus experience, we've made it easy to set up online banking, direct deposits, and more.</div></div>","id":"text"}],"customClasses":"bg-none text-center box-shadow-none bg-transparent","headingSize":"h1","id":"finalize-your-account","template":"Form","width":"Extra Large"},{"controls":[{"controlType":"Info","description":"Your Member Card (debit card) will be mailed to you within 3-5 business days.","id":"text","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","stepNumber":1},"label":"<h2 class='-mt-1 -mb-1'>Your Member Card is on the way!</h2>","template":"InfoBox","width":"Max Width"}],"customClasses":"pl-0 pt-1 pb-3 bg-white","id":"member-card","template":"Form","width":"Extra Large"},{"columns":2,"controls":[{"childControls":[{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"online-banking-setup"}}]}],"disableConditions":[{"targetJsonPath":"$..Customers[?(@.CustomerId == '{$.Private.Resume.Cid}')].CustomerDetail.MemberRegistration.OnlineBanking.IsBankingIntegrationDone","targetValue":true}]},"columnOverride":1,"controlType":"Button","id":"Setup-button","label":"Setup"}],"columnOverride":1,"controlType":"Info","description":"Bank where and when you want. Send and receive e-Transfers, manage transactions, open registered investments, and much more.","id":"text","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","stepNumber":2},"label":"<h2 class='-mt-1 -mb-1'>Set up online banking</h2>","template":"InfoBox","width":"Max Width"}],"customClasses":"pl-1 pt-1 pb-3 bg-white","id":"first-deposit","template":"Form","width":"Extra Large"},{"columns":2,"controls":[{"childControls":[{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"interac-modal"}}]}]},"controlType":"Button","id":"interac-button","label":"Interac e-Transfer"},{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"flinks"}}]}],"disableConditions":[{"targetJsonPath":"$.ApplicationStatus.Code","targetValue":"Completed"}]},"controlType":"Button","id":"electronic-transfer","label":"Electronic transfer"}],"columnOverride":1,"controlType":"Info","description":"Here are two easy ways fund your new Servus account. Remember that $1 of your first deposit will go towards purchasing common shares.","id":"text","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","stepNumber":3},"label":"<h2 class='-mt-1 -mb-1'>Fund your account</h2>","template":"InfoBox","width":"Max Width"}],"customClasses":"pl-0 pt-1 pb-3 bg-white","id":"fund-accounts","template":"Form","width":"Extra Large","wrapControls":true},{"columns":2,"controls":[{"childControls":[{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"setup-payroll-and-direct-deposits"},"responseMappings":[{"targetJsonPath":"$.Private.DocumentsToGenerate","value":""},{"targetJsonPath":"$.Private.DocumentToGenerate","value":""}]}]}]},"columnOverride":1,"controlType":"Button","id":"online-banking-setup-button","label":"Get Started"}],"columnOverride":1,"controlType":"Info","description":"We'll provide pre-filled downloadable forms so you can set up payroll or other direct deposits (like government payments) to go directly to your new account.","id":"text","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","stepNumber":4},"label":"<h2 class='-mt-1 -mb-1'>Setup payroll and direct deposits</h2>","template":"InfoBox","width":"Max Width"}],"customClasses":"pl-0 pt-1 pb-3 bg-white","id":"setup-payroll-and-direct-deposits","template":"Form","width":"Extra Large"},{"columns":2,"conditions":[{"operator":"Contains","targetJsonPath":"$.Products[0].ProductType.Code","targetValue":["TfsaTermDeposit","RspTermDeposit"]}],"controls":[{"childControls":[{"buttonAction":"Click","conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"RspTermDeposit"}],"controlType":"Button","id":"download-application-button","label":"Download contract","navigationAction":{"href":"/deposits/en/api/cumulusworkflow/applications/{$.ApplicationNumber}/documents/rsp-contract-prepared/download","navigationType":"NavigateToLink"}}],"columnOverride":1,"conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"RspTermDeposit"}],"controlType":"Info","description":"You can download a pdf copy to print or save for your records. You can now open other RRSP products with Servus in online banking, without needing to fill out any paperwork.","id":"text","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","stepNumber":5},"label":"<h2 class='-mt-1 -mb-1'>Download your contracts</h2>","template":"InfoBox","width":"Max Width"},{"childControls":[{"conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"TfsaTermDeposit"}],"controlType":"Button","id":"download-application-button","label":"Download contract","navigationAction":{"href":"/deposits/en/api/cumulusworkflow/applications/{$.ApplicationNumber}/documents/tfsa-contract-prepared/download","navigationType":"NavigateToLink"}}],"columnOverride":1,"conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"TfsaTermDeposit"}],"controlType":"Info","description":"You can download a pdf copy to print or save for your records. You can now open other TFSA products with Servus in online banking, without needing to fill out any paperwork.","id":"text","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","stepNumber":5},"label":"<h2 class='-mt-1 -mb-1'>Download your contracts</h2>","template":"InfoBox","width":"Max Width"}],"customClasses":"pl-0 pt-0 bg-white pb-3","id":"download-your-contracts","template":"Form","width":"Extra Large"}]},{"commandsOnLoad":[{"customCommand":"GetLocalDate","onSuccess":[{"parameterName":"$.localDate","responseMappings":[{"convertValueTo":"DateString","responseJsonPath":"$.localDate","targetJsonPath":"$.Private.DocumentSettings.LocalDate"}]}]},{"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/documents?categoryTag=notice-of-information","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$.length","targetJsonPath":"$.Private.DocumentSettings.Number"},{"targetJsonPath":"$.Private.DocumentSettings.Id","value":"notice-of-information"},{"targetJsonPath":"$.Private.DocumentSettings.Name","value":"Demand Info (Notice of Account Information)"},{"targetJsonPath":"$.Private.DocumentSettings.ProvinceCode","value":"AB"},{"targetJsonPath":"$.Private.DocumentSettings.ApplicantNameSeperator","value":"&"}]}]}],"hasBackButton":false,"hasNextButton":false,"id":"setup-payroll-and-direct-deposits","navigation":{"nextPageId":"confirm-direct-deposits"},"nextButtonLabel":"Submit","pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","sections":[{"controls":[{"controlType":"Table","customClasses":"border-none","id":"search-result-controls","tableSettings":{"caption":"<b>Payroll & direct deposit</b>","columns":[{"bindingPath":"$.Parameters.GenericDocumentName","field":"DocumentName","header":"Form","sort":false,"width":"90%"},{"bindingPath":"$.Parameters.UniqueId","field":"UniqueId","header":"Form","hidden":true,"sort":false,"width":"90%"},{"actionConditions":[{"bindingPath":"$.Private.DocumentToRemove","commandsOnClick":[{"conditions":[{"targetJsonPath":"$.Private.DocumentsToGenerate.length","targetValue":1}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.DocumentsToGenerate","value":""}]}]},{"conditions":[{"targetJsonPath":"$.Private.DocumentsToGenerate.length","targetValue":1}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.DocumentsToGenerate","value":""}]}]},{"conditions":[{"targetJsonPath":"$.Private.DocumentsToGenerate.length","targetValue":2}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.DocumentsToGenerate[?(@.Parameters.UniqueId != '{$.Private.DocumentToRemove.UniqueId}')]","convertValueTo":"Array","targetJsonPath":"$.Private.DocumentsToGenerate"}]}]},{"conditions":[{"operator":"GreaterThan","targetJsonPath":"$.Private.DocumentsToGenerate.length","targetValue":2}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.DocumentsToGenerate[?(@.Parameters.UniqueId != '{$.Private.DocumentToRemove.UniqueId}')]","targetJsonPath":"$.Private.DocumentsToGenerate"}]}]}],"label":"Remove"}],"bindingPath":"actions","field":"actions","header":"Actions","width":"auto"}],"emptyDataMessage":"No Records.","summaryRows":[{"actionCondition":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"add-direct-deposit-modal"}}]}],"label":"Add Direct Deposit"}}],"targetJsonPath":"$.Private.DocumentsToGenerate","uniqueColumn":"form"}}],"description":"<p>Say goodbye to chasing cheques. Set up payroll and other direct deposits (like government payments) so they're deposited directly into your account.</p><p>We'll provide you with a pre-filled form that you can print off (or save as a PDF  and submit electronically) and provide to your employer or to the government.</p>","id":"search-results","textAlignment":"text-left","title":"Set up payroll and direct deposits"},{"columns":2,"controls":[{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"approved"}}]}],"isOutline":true},"controlType":"Button","customClasses":"float-left","id":"setup-payroll-back","label":"Back"},{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.DocumentsToGenerate","dataTransformation":[{"indexFields":["DocumentName","DocumentId"],"indexStartingAtJsonPath":"$.Private.DocumentSettings.Number"}],"targetJsonPath":"$.Private.DocumentsToGenerate"}]}]},{"body":[{"parameterName":"Documents","valueJsonPath":"$.Private.DocumentsToGenerate"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/documents/generate","httpMethod":"POST","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"targetJsonPath":"$.Private.DocumentsToGenerate","value":""}],"statusCode":201}]}],"disableConditions":[{"targetJsonPath":"$.Private.DocumentsToGenerate","targetValue":""}]},"controlType":"Button","customClasses":"float-right","id":"addBtnNext","label":"Done"}],"customClasses":"bg-transparent no-panel mt-6","id":"setup-payroll-buttons"}]},{"commandsOnLoad":[{"conditions":[{"targetJsonPath":"$.Private.FilteredCustomers[0].CustomerDetail.AddressContacts.Mail.SameAsAddressType","targetValue":"Home"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.FilteredCustomers[0].CustomerDetail.AddressContacts.Home","targetJsonPath":"$.Private.FilteredCustomers[0].CustomerDetail.AddressContacts.Mail"},{"bindingPath":"$.Private.FilteredCustomers[0].CustomerDetail.AddressContacts.Mail.SameAsAddressType","targetValue":"Home"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.FilteredCustomers[1].CustomerId","targetValue":"*"},{"targetJsonPath":"$.Private.FilteredCustomers[1].CustomerDetail.AddressContacts.Mail.SameAsAddressType","targetValue":"Home"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.FilteredCustomers[1].CustomerDetail.AddressContacts.Home","targetJsonPath":"$.Private.FilteredCustomers[1].CustomerDetail.AddressContacts.Mail"},{"bindingPath":"$.Private.FilteredCustomers[1].CustomerDetail.AddressContacts.Mail.SameAsAddressType","targetValue":"Home"}]}]},{"customCommand":"GenerateGuid","onSuccess":[{"parameterName":"$.Guid","responseMappings":[{"responseJsonPath":"$.Guid","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.UniqueId"},{"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.GenericDocumentName","value":"Demand Info (Notice of Account Information)"},{"bindingPath":"$.Private.FilteredCustomers[0].CustomerId","targetJsonPath":"$.Private.DocumentToGenerate.CustomerIds[0]"},{"bindingPath":"$.Private.FilteredCustomers[1].CustomerId","targetJsonPath":"$.Private.DocumentToGenerate.CustomerIds[1]"},{"bindingPath":"$..Products[?(@.ProductType.Code != 'MemberShare' && @.ProductType.Code != 'TfsaTermDeposit' && @.ProductType.Code != 'RspTermDeposit')]","targetJsonPath":"$.Private.FilteredProducts"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.FilteredCustomers[0]","targetJsonPath":"$.Private.Payroll.Customer"},{"bindingPath":"$.Private.FilteredProduct","targetJsonPath":"$.Private.Payroll.Product"}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.DocumentSettings.Id","targetJsonPath":"$.Private.DocumentToGenerate.DocumentId"},{"bindingPath":"$.Private.DocumentSettings.Name","targetJsonPath":"$.Private.DocumentToGenerate.DocumentName"},{"targetJsonPath":"$.Private.DocumentToGenerate.CategoryTags[0]","value":"notice-of-information"},{"targetJsonPath":"$.Private.DocumentToGenerate.TemplateId","value":"notice-of-information.pdf"},{"bindingPath":"$.Private.DocumentSettings.LocalDate","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Date"},{"bindingPath":"$.Private.Payroll.Customer.CustomerId","targetJsonPath":"$.Private.DocumentToGenerate.CustomerId"},{"bindingPath":"$.Private.Payroll.Customer.ApplicantName","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.ApplicantName"},{"bindingMultiPath":["$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.UnitNumber","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.CivicNumber","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.StreetName"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.AddressLineOne"},{"bindingMultiPath":["$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.CityName","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.Province.Code","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.PostalCode"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.AddressLineTwo"},{"bindingMultiPath":["$.Private.Payroll.Product.ProductDetail.AccountRegistration.TransitNumber","$.Private.Payroll.Product.ProductDetail.AccountRegistration.InstitutionNumber"],"bindingMultiPathSplitValue":"-","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.TransitNumber"},{"bindingPath":"$.Private.Payroll.Product.ProductDetail.AccountRegistration.MicrNumber","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.AccountNumber"},{"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.DirectDeposit","value":true},{"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CreditUnion","value":"Servus Credit Union Ltd."},{"bindingMultiPath":["$.Private.FilteredCustomers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.UnitNumber","$.Private.FilteredCustomers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.CivicNumber","$.Private.FilteredCustomers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.StreetName"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CreditUnionAddressOne"},{"bindingMultiPath":["$.Private.FilteredCustomers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.CityName","$.Private.DocumentSettings.ProvinceCode","$.Private.FilteredCustomers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.PostalCode"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CreditUnionAddressTwo"}]}]}],"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Private.DocumentsToGenerate","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"setup-payroll-and-direct-deposits"},"responseMappings":[{"bindingPath":"$.Private.DocumentToGenerate","convertValueTo":"Array","targetJsonPath":"$.Private.DocumentsToGenerate"},{"targetJsonPath":"$.Private.DocumentToGenerate","value":""}]}]},{"conditions":[{"targetJsonPath":"$.Private.DocumentsToGenerate.DocumentId","targetValue":"*"}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"setup-payroll-and-direct-deposits"},"responseMappings":[{"bindingPath":"$.Private.DocumentToGenerate","convertValueTo":"Array","targetJsonPath":"$.Private.DocumentsToGenerate"},{"targetJsonPath":"$.Private.DocumentToGenerate","value":""}]}]},{"conditions":[{"operator":"GreaterThan","targetJsonPath":"$.Private.DocumentsToGenerate.length","targetValue":0}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"setup-payroll-and-direct-deposits"},"responseMappings":[{"bindingPath":"$.Private.DocumentToGenerate","targetJsonPath":"$.Private.DocumentsToGenerate[{$.Private.DocumentsToGenerate.length}]"},{"targetJsonPath":"$.Private.DocumentToGenerate","value":""}]}]}],"hasBackButton":true,"hasNextButton":true,"id":"add-direct-deposit-modal","modalOptions":{"modalSize":"extra-large"},"navigation":{"nextPageId":"setup-payroll-and-direct-deposits"},"pageMode":"Modal","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":4,"sections":[{"columns":2,"controls":[{"bindingPath":"$.Private.Payroll.ApplicantId","columnOverride":1,"conditions":[{"targetJsonPath":"$.Private.FilteredCustomers[1].CustomerId","targetValue":"*"}],"controlOptions":{"optionsJsonPath":"$.Private.FilteredCustomers"},"controlType":"Input","dropdownSettings":{"bindOnSelect":true,"descriptionControlId":"applicant-name","idJsonPath":"$","labelJsonMultiPath":"{$.CustomerDetail.FirstName} {$.CustomerDetail.LastName}","onSelect":{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.DocumentSettings.Id","targetJsonPath":"$.Private.DocumentToGenerate.DocumentId"},{"bindingPath":"$.Private.DocumentSettings.Name","targetJsonPath":"$.Private.DocumentToGenerate.DocumentName"},{"targetJsonPath":"$.Private.DocumentToGenerate.CategoryTags[0]","value":"notice-of-information"},{"targetJsonPath":"$.Private.DocumentToGenerate.TemplateId","value":"notice-of-information.pdf"},{"bindingPath":"$.Private.DocumentSettings.LocalDate","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Date"},{"bindingPath":"$.Private.Payroll.Customer.CustomerId","targetJsonPath":"$.Private.DocumentToGenerate.CustomerId"},{"bindingPath":"$.Private.Payroll.Customer.ApplicantName","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.ApplicantName"},{"bindingMultiPath":["$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.UnitNumber","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.CivicNumber","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.StreetName"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.AddressLineOne"},{"bindingMultiPath":["$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.CityName","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.Province.Code","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.PostalCode"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.AddressLineTwo"},{"bindingMultiPath":["$.Private.Payroll.Product.ProductDetail.AccountRegistration.TransitNumber","$.Private.Payroll.Product.ProductDetail.AccountRegistration.InstitutionNumber"],"bindingMultiPathSplitValue":"-","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.TransitNumber"},{"bindingPath":"$.Private.Payroll.Product.ProductDetail.AccountRegistration.MicrNumber","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.AccountNumber"},{"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.DirectDeposit","value":true},{"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CreditUnion","value":"Servus Credit Union Ltd."},{"bindingMultiPath":["$.Private.FilteredCustomers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.UnitNumber","$.Private.FilteredCustomers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.CivicNumber","$.Private.FilteredCustomers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.StreetName"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CreditUnionAddressOne"},{"bindingMultiPath":["$.Private.FilteredCustomers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.CityName","$.Private.DocumentSettings.ProvinceCode","$.Private.FilteredCustomers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.PostalCode"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CreditUnionAddressTwo"}]}]},"selectedIdJsonPath":"$.Private.Payroll.Customer"},"id":"applicant-id","inputMode":"Required","label":"Whose name is associated with this direct deposit?","template":"DropDown"},{"bindingPath":"$.Private.Payroll.ApplicantName","bindOnChange":true,"controlType":"Input","id":"applicant-name","template":"Hidden"},{"bindingPath":"$.Private.Payroll.DemandInfo.Code","columnOverride":1,"controlOptions":{"descriptionControlId":"demand-info-description","options":[{"label":"Demand Info (Notice of Account Information)","value":"DemandInfo"}]},"controlType":"Input","customClasses":"-mt-3","dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.label","onSelect":{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.DocumentSettings.Id","targetJsonPath":"$.Private.DocumentToGenerate.DocumentId"},{"bindingPath":"$.Private.DocumentSettings.Name","targetJsonPath":"$.Private.DocumentToGenerate.DocumentName"},{"targetJsonPath":"$.Private.DocumentToGenerate.CategoryTags[0]","value":"notice-of-information"},{"targetJsonPath":"$.Private.DocumentToGenerate.TemplateId","value":"notice-of-information.pdf"},{"bindingPath":"$.Private.DocumentSettings.LocalDate","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Date"},{"bindingPath":"$.Private.Payroll.Customer.CustomerId","targetJsonPath":"$.Private.DocumentToGenerate.CustomerId"},{"bindingPath":"$.Private.Payroll.Customer.ApplicantName","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.ApplicantName"},{"bindingMultiPath":["$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.UnitNumber","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.CivicNumber","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.StreetName"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.AddressLineOne"},{"bindingMultiPath":["$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.CityName","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.Province.Code","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.PostalCode"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.AddressLineTwo"},{"bindingMultiPath":["$.Private.Payroll.Product.ProductDetail.AccountRegistration.TransitNumber","$.Private.Payroll.Product.ProductDetail.AccountRegistration.InstitutionNumber"],"bindingMultiPathSplitValue":"-","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.TransitNumber"},{"bindingPath":"$.Private.Payroll.Product.ProductDetail.AccountRegistration.MicrNumber","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.AccountNumber"},{"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.DirectDeposit","value":true},{"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CreditUnion","value":"Servus Credit Union Ltd."},{"bindingMultiPath":["$.Private.FilteredCustomers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.UnitNumber","$.Private.FilteredCustomers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.CivicNumber","$.Private.FilteredCustomers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.StreetName"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CreditUnionAddressOne"},{"bindingMultiPath":["$.Private.FilteredCustomers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.CityName","$.Private.DocumentSettings.ProvinceCode","$.Private.FilteredCustomers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.PostalCode"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CreditUnionAddressTwo"}]}]},"valueJsonPath":"$.value"},"id":"demand-info-code","inputMode":"Required","label":"Select direct deposit form","template":"DropDown"},{"bindingPath":"$.Private.Payroll.DemandInfo.Description","bindOnChange":true,"controlType":"Input","id":"demand-info-description","template":"Hidden"},{"bindingPath":"$.Private.Payroll.Product.OfferDetail.ProductName","bindOnChange":true,"columnOverride":1,"controlOptions":{"optionsJsonPath":"$.Private.FilteredProducts"},"controlType":"Input","customClasses":"-mt-3","dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$","labelJsonPath":"$.OfferDetail.ProductName","onSelect":{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.DocumentSettings.Id","targetJsonPath":"$.Private.DocumentToGenerate.DocumentId"},{"bindingPath":"$.Private.DocumentSettings.Name","targetJsonPath":"$.Private.DocumentToGenerate.DocumentName"},{"targetJsonPath":"$.Private.DocumentToGenerate.CategoryTags[0]","value":"notice-of-information"},{"targetJsonPath":"$.Private.DocumentToGenerate.TemplateId","value":"notice-of-information.pdf"},{"bindingPath":"$.Private.DocumentSettings.LocalDate","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Date"},{"bindingPath":"$.Private.Payroll.Customer.CustomerId","targetJsonPath":"$.Private.DocumentToGenerate.CustomerId"},{"bindingPath":"$.Private.Payroll.Customer.ApplicantName","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.ApplicantName"},{"bindingMultiPath":["$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.UnitNumber","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.CivicNumber","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.StreetName"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.AddressLineOne"},{"bindingMultiPath":["$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.CityName","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.Province.Code","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Mail.PostalCode"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.AddressLineTwo"},{"bindingMultiPath":["$.Private.Payroll.Product.ProductDetail.AccountRegistration.TransitNumber","$.Private.Payroll.Product.ProductDetail.AccountRegistration.InstitutionNumber"],"bindingMultiPathSplitValue":"-","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.TransitNumber"},{"bindingPath":"$.Private.Payroll.Product.ProductDetail.AccountRegistration.MicrNumber","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.AccountNumber"},{"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.DirectDeposit","value":true},{"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CreditUnion","value":"Servus Credit Union Ltd."},{"bindingMultiPath":["$.Private.FilteredCustomers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.UnitNumber","$.Private.FilteredCustomers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.CivicNumber","$.Private.FilteredCustomers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.StreetName"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CreditUnionAddressOne"},{"bindingMultiPath":["$.Private.FilteredCustomers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.CityName","$.Private.DocumentSettings.ProvinceCode","$.Private.FilteredCustomers[0].CustomerDetail.MemberRegistration.HomeBranchDetail.Address.PostalCode"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CreditUnionAddressTwo"}]}]},"selectedIdJsonPath":"$.Private.Payroll.Product"},"id":"add-direct-deposit_field2","inputMode":"Optional","label":"Which account would you like to use?","template":"DropDown"},{"columnOverride":1,"controlType":"Divider","id":"divider1"},{"buttonAction":"CloseModal","buttonSettings":{"isOutline":true},"controlType":"Button","customClasses":"float-left flex","id":"close-modal-button","label":"Cancel"},{"buttonAction":"Submit","controlType":"Button","customClasses":"float-right","id":"addBtnNext","label":"Add"}],"id":"add-direct-deposit","template":"Default","textAlignment":"text-left","title":"Add direct deposit","titleClasses":"mb-5"}]},{"commandsOnLoad":[{"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/documents?categoryTag=notice-of-information","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.DocumentsToDownload"},{"responseJsonPath":"$.length","targetJsonPath":"$.Private.DocumentSettings.Number"}]}]}],"commandsOnSubmit":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"targetJsonPath":"$.Private.DocumentsToDownload","value":""}]}]}],"hasBackButton":true,"hasNextButton":true,"id":"confirm-direct-deposits","navigation":{"nextPageId":"preload-approved-modal"},"nextButtonLabel":"Done","pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","sections":[{"controls":[{"controlType":"Table","id":"search-result-controls","tableSettings":{"caption":"<b>Your Forms</b>","columns":[{"bindingPath":"$.DisplayName","field":"DisplayName","header":"Form","sort":false},{"bindingPath":"$.AddedDateTime","field":"AddedDate","header":"Added On","pipe":"date","sort":false},{"bindingPath":"$.DocumentId","field":"DocumentId","hidden":true},{"actionConditions":[{"bindingPath":"$.Private.DocumentToDownload","commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"href":"/deposits/en/api/cumulusworkflow/applications/{$.ApplicationNumber}/documents/{$.Private.DocumentToDownload.DocumentId}/download","navigationType":"NavigateToLink"}}]}],"label":"Download"}],"bindingPath":"actions","field":"actions","header":"Actions","width":"auto"}],"defaultSortField":"AddedDate","emptyDataMessage":"No Records.","targetJsonPath":"$.Private.DocumentsToDownload"}}],"description":"<p>Print off the form below or save it as a PDF. Enter the missing details (the ones we can't fill in for you) and then provide this to your employer or to the government.</p><p><b>Printing off a CRA Direct Deposit Enrolment Form?</b> You must also submit a Confirmation of Account form along with any CRA direct deposit enrolments. The Confirmation of Account form will act as a void cheque.</p>","id":"search-results","textAlignment":"text-left","title":"Direct deposit confirmation"}]},{"hasBackButton":false,"hasNextButton":false,"id":"interac-modal","modalOptions":{"isDismissible":false,"modalSize":"extra-large"},"pageMode":"Modal","pageTemplate":"Form","pageWidth":"Large","sections":[{"columns":2,"controls":[{"columnOverride":1,"controlType":"HTML","description":"<p class='mt-0'>Transfer funds from your old financial institution to your new Servus account using Interac e-Transfer by following these steps: </p><p><b>Step 1</b><br/>Sign in to your old mobile or online banking and add your new Servus account as an Interac e-Transfer contact. </p><p><b>Step 2</b><br/>Initiate an e-Transfer to your new Servus account. You may need to disable Autodeposit if you have it enabled.</p><p><b>Step 3</b><br/>Once you receive the transfer notification, choose Servus as your institution and select your new Servus account to deposit your funds.</p>","id":"text1"},{"columnOverride":1,"controlType":"Divider","customClasses":"-mt-2","id":"divider2"},{"buttonAction":"CloseModal","buttonSettings":{"isOutline":true},"controlType":"Button","customClasses":"float-left","id":"close-modal-button","label":"Cancel"},{"buttonAction":"CloseModal","controlType":"Button","customClasses":"float-right","id":"close-modal-button","label":"Next"}],"customClasses":"font-size-90-percent box-shadow-none p-0","headingSize":"h1","id":"interac-div","textAlignment":"text-left","title":"Interac"}]},{"commandsOnLoad":[{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.MemberRegistration.OnlineBanking.NewPassword","value":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.MemberRegistration.OnlineBanking.Username","value":""}]}]}],"commandsOnSubmit":[{"body":[{"parameterName":"CustomerId","valueJsonPath":"$.Private.Resume.Cid"},{"parameterName":"ActionStep","parameterValue":"OnlineBanking"},{"parameterName":"OnlineBanking","valueJsonPath":"$.Private.Customers[0].CustomerDetail.MemberRegistration.OnlineBanking"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/funding/input","httpMethod":"PUT","onSuccess":[{"statusCode":200}]},{"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/current","httpMethod":"GET","onSuccess":[{"parameterName":"$.StageStatus.Code","parameterValue":"Processing","responseMappings":[{"responseJsonPath":"$.OutputParameters.ApplicationStatus","targetJsonPath":"$.ApplicationStatus.Code"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"bankingSetupComplete"},"parameterName":"$.StageStatus.Code","parameterValue":"PendingAdditionalInput","responseMappings":[{"responseJsonPath":"$.OutputParameters.OnlineAccessResponseCode","targetJsonPath":"$.Private.Customers[0].CustomerDetail.MemberRegistration.OnlineBanking.ReasonCode"},{"responseJsonPath":"$.OutputParameters.IsSuccess","targetJsonPath":"$.Private.Customers[0].CustomerDetail.MemberRegistration.OnlineBanking.IsSuccess"}]}],"pollIntervalMS":5000}],"hasBackButton":true,"hasNextButton":true,"id":"online-banking-setup","navigation":{"nextPageId":"approved"},"nextButtonLabel":"Continue","pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":6,"sections":[{"controls":[{"columnOverride":1,"controlType":"Validator","customClasses":"mb-4 background-primary-opaque","id":"UserIdValidator","validatorSettings":{"footerText":" ","title":"Quick tips:","validators":[{"label":"Your User ID must be 6 to 40 characters long. A longer ID will be more secure.","regexPattern":"^[a-zA-Z0-9!#$%()+-.?@^{}[\\]]{6,40}$","targetFormId":"User-Id"},{"label":"It can contain letters, numbers, and special characters ! # $ % () + - . ? @ ^ {} [] but not spaces.","regexPattern":"^[a-zA-Z0-9!#$%()+-.?@^{}[\\]]+$","targetFormId":"User-Id"},{"label":"Your User ID is not case sensitive.","regexPattern":"(.*[A-Za-z0-9].*)","targetFormId":"User-Id"},{"label":"Your ID and password can not be the same.","regexPattern":"^[a-zA-Z0-9!#$%()+-.?@^{}[\\]]+$","targetFormId":"User-Id"},{"label":"It may not contain the following characters * _ = | \\ / < > ~ & , : ; \" ' ` ","regexPattern":"^(?!.*[*_=|'\\/<>~&,:;\"`]).*$","targetFormId":"User-Id"}],"validColor":"#0072bc"}},{"bindingPath":"$.Private.Customers[0].CustomerDetail.MemberRegistration.OnlineBanking.Username","bindOnChange":true,"controlType":"Input","customClasses":"pb-2","id":"User-Id","inputMode":"Required","label":"User id","maxLength":40,"minLength":6,"regexMessage":"Your user id is not meeting the requirements","regexPattern":"^(?!.*[ *_=|\\/<>\\~&,:;\"'`]).*[a-zA-Z0-9!#$%()+-.?@^{}[\\]]+$","template":"Password"},{"columnOverride":1,"controlType":"Validator","customClasses":"mb-4 background-primary-opaque","id":"passwordValidator","validatorSettings":{"title":"Password requirements","validators":[{"label":"Be 8-16 characters long","regexPattern":"^.{8,16}$","targetFormId":"password1"},{"label":"Use a lowercase letter","regexPattern":"(.*[a-z].*)","targetFormId":"password1"},{"label":"Use an uppercase letter","regexPattern":"(.*[A-Z].*)","targetFormId":"password1"},{"label":"Use a number","regexPattern":"(.*[0-9].*)","targetFormId":"password1"},{"label":"Use at least one special character ! # % @ $ [ ] { } ^ ( ) _ - + . ?","regexPattern":"(.*[@#$!%^\\[\\]()-+.?{}].*)","targetFormId":"password1"},{"label":"Be unique (no reusing passwords)","regexPattern":"^.{8,16}$","targetFormId":"password1"}],"validColor":"#0072bc"}},{"bindingPath":"$.Private.Customers[0].CustomerDetail.MemberRegistration.OnlineBanking.NewPassword","controlType":"Input","customClasses":"pb-2","id":"password1","inputMode":"Required","keyboardType":"Phone","label":"Online banking password","maxLength":16,"minLength":8,"regexMessage":"Your password is not meeting the requirements","regexPattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[!#%@$[\\]{}^()_\\-+.?])[a-zA-Z\\d!#%@$[\\]{}^()_\\-+.?]{8,16}$","template":"Password"}],"description":"Let's get your online banking setup. First select a User ID (it can be changed when you login for the first time). Second, you'll need to pick a password below that you'll use when signing into your online banking.","id":"online-banking-setup","template":"Form","title":"Online banking setup","width":"Default"}]},{"hasBackButton":false,"hasNextButton":false,"id":"complete","modalOptions":{"isDismissible":false,"modalSize":"extra-large"},"navigation":{"nextPageId":""},"pageMode":"Modal","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":6,"sections":[{"columns":2,"controls":[{"columnOverride":1,"controlType":"HTML","customClasses":"mt-0 text-left","description":"Your electronic transfer is on its way. Please allow up to 5 business days for the funds to appear in your new Servus account.","id":"description-1"},{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"preload-approved-modal"}}]}],"isOutline":true},"columnOverride":1,"controlType":"Button","customClasses":"block mt-5 text-left","id":"complete-close-button","label":"Close"}],"customClasses":"box-shadow-none p-0","id":"complete-details","textAlignment":"text-left","title":"Success! Your electronic transfer has been initiated."}]},{"hasBackButton":false,"hasNextButton":false,"id":"bankingSetupComplete","modalOptions":{"isDismissible":false,"modalSize":"extra-large"},"navigation":{"nextPageId":""},"pageMode":"Modal","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":6,"sections":[{"columns":2,"controls":[{"columnOverride":1,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.MemberRegistration.OnlineBanking.ReasonCode","targetValue":""}],"controlType":"HTML","customClasses":"mt-0 text-left","description":"<h2>Online Banking Complete</h2><br/>We've successfully setup your <a href='https://ib.servus.ca/Servus/SignInServus.aspx' target='blank'>online banking</a> credentials.","id":"description-1"},{"columnOverride":1,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.MemberRegistration.OnlineBanking.ReasonCode","targetValue":6778}],"controlType":"HTML","customClasses":"mt-0 text-left","description":"<h2>Unable to complete setup</h2><br>We're sorry. The User ID you are requesting is not available. Please try again with different user ID. If you continue to have issues, please call us at <a href='tel:1.877.378.8728'>1.877.378.8728</a> or email us at <a href='mailto:contact_us@onboard.servus.ca'>contact_us@onboard.servus.ca</a> with ths application reference number {$.ApplicationNumber} and one of our staff will be happy to help you.","id":"description-1"},{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"preload-approved-modal"}}]}],"isOutline":true},"columnOverride":1,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.MemberRegistration.OnlineBanking.ReasonCode","targetValue":""}],"controlType":"Button","customClasses":"block mt-5 text-left","id":"complete-close-button","label":"Done"},{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"preload-approved-modal"}}]}],"isOutline":true},"columnOverride":1,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.MemberRegistration.OnlineBanking.ReasonCode","targetValue":6778}],"controlType":"Button","customClasses":"block mt-5 text-left","id":"complete-close-button1","label":"Close"}],"customClasses":"box-shadow-none p-0","id":"complete-details","textAlignment":"text-left"}]},{"commandsOnLoad":[{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.PreferredName","targetValue":"*"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"declined"},"responseMappings":[{"bindingPath":"$.Customers[0].CustomerDetail.PreferredName","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.PreferredName","targetValue":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName","targetValue":""}],"dataBindings":[{"bindingPath":"$.Customers[0].CustomerDetail.FirstName","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName"}],"onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"declined"},"responseMappings":[{"bindingPath":"$.Customers[0].CustomerDetail.FirstName","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName"}]}]}],"customClasses":"mt-7","hasBackButton":false,"hasNextButton":false,"id":"declined","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","sections":[{"controls":[{"controlType":"HTML","customClasses":"mt-5","description":"Your application couldn't be approved at this time. Please check your email for more information.","id":"description-2"},{"controlType":"HTML","customClasses":"mt-5","description":"<p>Sincerely,</p><p>The Servus Team.</p>","id":"description-3"}],"customClasses":"mt-0 bg-white text-center","description":"","icon":"fa-light fa-user-clock roatateY180","title":"Sorry, we're unable to proceed.","width":"Max Width"}]},{"commandsInBackground":[{"customCommand":"ClearSession","delayIntervalMS":200}],"customClasses":"mt-7","hasBackButton":false,"hasNextButton":false,"id":"review-fraud","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","sections":[{"controls":[{"controlType":"HTML","customClasses":"mt-2","description":"Reference #: <strong>{$.ApplicationNumber}</strong>","id":"description-2"},{"controlType":"HTML","customClasses":"mt-2","description":"If you need immediate assistance please call 1.877.378.8728 or email us at contact_us@onboard.servus.ca","id":"description-3"}],"customClasses":"mt-3 text-center bg-white","description":"Your application has been forwarded to the Servus team for review. You'll get an email with the status and any extra details within 1 business day.","icon":"fa-light fa-user-clock","id":"description-1","title":"Application submitted successfully","width":"Max Width"}]},{"commandsInBackground":[{"customCommand":"ClearSession","delayIntervalMS":200}],"customClasses":"mt-7","hasBackButton":false,"hasNextButton":false,"id":"review-credit","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","sections":[{"controls":[{"controlType":"HTML","customClasses":"mt-2","description":"Reference #: <strong>{$.ApplicationNumber}</strong>","id":"description-2"},{"controlType":"HTML","customClasses":"mt-2","description":"If you need immediate assistance please call 1.877.378.8728 or email us at contact_us@onboard.servus.ca","id":"description-3"}],"customClasses":"mt-3 text-center bg-white","description":"Your application has been forwarded to the Servus team for review. You'll get an email with the status and any extra details within 24 hours.","icon":"fa-light fa-user-clock","id":"description-1","title":"Application submitted successfully","width":"Max Width"}]},{"commandsInBackground":[{"customCommand":"ClearSession"}],"customClasses":"mt-7 text-center","hasBackButton":false,"hasNextButton":false,"id":"idv-cancelled","pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","sections":[{"customClasses":"text-center","description":"<p>The IDV process was cancelled by the applicant and we cannot move forward.","icon":"far fa-exclamation-triangle","id":"error-details","template":"Form","title":"IDV Cancelled"}]},{"bindOnLoad":[{"queryParam":"appnum","targetJsonPath":"$.ApplicationNumber"},{"queryParam":"cid","targetJsonPath":"$.Private.Resume.Cid"},{"queryParam":"code","targetJsonPath":"$.Private.Resume.Code"}],"commandsOnLoad":[{"body":[{"parameterName":"CustomerResumeCode","valueJsonPath":"$.Private.Resume.Code"},{"parameterName":"AuthenticationMethodCode","parameterValue":"OneTimePassword"}],"conditions":[{"targetJsonPath":"$.Application","targetValue":""},{"targetJsonPath":"$.Private.Resume.ErrorMessage","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Private.Resume.Cid}/sessions","httpMethod":"POST","onError":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"resume-link-expiry"},"parameterName":"$.Code","parameterValue":"CustomerResumeLinkExpired","statusCode":404,"throwError":false},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"faulted"},"parameterName":"$.ApplicationStatus.Code","parameterValue":"Faulted","statusCode":409,"throwError":false},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"resume-link-expiry"},"parameterName":"$.ApplicationStatus.Code","parameterValue":"*","statusCode":402,"throwError":false}],"onSuccess":[{"responseMappings":[{"responseJsonPath":"$.AuthenticationDetail.SupportedDestinations","targetJsonPath":"$.Private.Resume.AuthenticationDetail.SupportedDestinations"},{"responseJsonPath":"$.SessionId","targetJsonPath":"$.Private.Resume.SessionId"},{"responseJsonPath":"$.AuthenticationDetail.SupportedDestinations[?(@.DeliveryMethod.Code=='Sms')]","targetJsonPath":"$.Private.Resume.AuthenticationDetail.Sms"},{"responseJsonPath":"$.AuthenticationDetail.SupportedDestinations[?(@.DeliveryMethod.Code=='Voice')]","targetJsonPath":"$.Private.Resume.AuthenticationDetail.Voice"},{"dataTransformation":[{"pattern":"(\\*)+","replacement":""}],"responseJsonPath":"$.AuthenticationDetail.SupportedDestinations[?(@.DeliveryMethod.Code=='Sms')].ContactEndpoint","targetJsonPath":"$.Private.Resume.AuthenticationDetail.ContactEndpoint"}],"statusCode":200}]}],"hasBackButton":false,"hasNextButton":false,"id":"resume","navigation":{"nextPageId":"resume-modal"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":6,"sections":[{"controls":[{"bindingPath":"$.Private.Resume.DestinationToken","controlOptions":{"options":[{"label":"Text","targetJsonPath":"$.Private.Resume.AuthenticationDetail.Sms.DestinationToken","value":""},{"label":"Call","targetJsonPath":"$.Private.Resume.AuthenticationDetail.Voice.DestinationToken","value":""}]},"controlType":"Input","customClasses":"mt-4","dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.label","labelJsonPath":"$.value"},"id":"resume-list","inputMode":"Required","template":"RadioList"},{"bindOnChange":true,"columnOverride":1,"conditions":[{"operator":"Contains","targetJsonPath":"$.Private.Resume.ErrorMessage","targetValue":["We are sorry, but the code did not match. You have no more attempts remaining."]}],"controlType":"HTML","customClasses":"ml-3","description":"<small class='p-invalid'>We are sorry, you have no more attempts remaining. You will be able to try again in 24 hours.</small>","id":"resume-attempt-0"},{"bindOnChange":true,"columnOverride":1,"conditions":[{"operator":"Contains","targetJsonPath":"$.Private.Resume.ErrorMessage","targetValue":["We are sorry, but the code did not match. You can retry the code or click on Request a new code. You have 2 more attempt(s) remaining.","We are sorry, but the code did not match. You can retry the code or Request a new code. You have 1 more attempt(s) remaining."]}],"controlType":"HTML","customClasses":"ml-3","description":"<small class='p-invalid'>{$.Private.Resume.ErrorMessage}</small>","id":"resume-attempt-0"},{"bindOnChange":true,"buttonAction":"Submit","buttonSettings":{"disableConditions":[{"targetJsonPath":"$.Private.Resume.ErrorMessage","targetValue":"We are sorry, but the code did not match. You have no more attempts remaining."}]},"columnOverride":1,"controlType":"Button","customClasses":"flex justify-content-end -mb-2 mt-5","id":"btnSubmit","label":"Send Code"}],"description":"We need to send a verification code to the phone number you provided during the onboarding process. Please select how you'd prefer to receive your code:","id":"resume-options","title":"Resume your application","width":"Medium"}]},{"commandsOnLoad":[{"body":[{"parameterName":"DestinationToken","valueJsonPath":"$.Private.Resume.DestinationToken"}],"conditions":[{"targetJsonPath":"$.Private.Resume.ErrorMessage","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Private.Resume.Cid}/sessions/{$.Private.Resume.SessionId}/authenticate/onetimepassword","httpMethod":"POST","onError":[{"responseMappings":[{"onChangeTargetId":"resume-code"},{"dataTransformation":[{"flag":"g","pattern":"(Verification code was invalid with 2 attempts remaining.)+","replacement":"We are sorry, but the code did not match. You can retry the code or click on Request a new code. You have 2 more attempt(s) remaining."},{"flag":"g","pattern":"(Verification code was invalid with 1 attempt remaining.)+","replacement":"We are sorry, but the code did not match. You can retry the code or Request a new code. You have 1 more attempt(s) remaining."},{"flag":"g","pattern":"(Verification code was invalid with no attempts remaining, the session has been terminated.)+","replacement":"We are sorry, but the code did not match. You have no more attempts remaining."}],"responseJsonPath":"$.ErrorMessage","targetJsonPath":"$.Private.Resume.ErrorMessage"}],"statusCode":400,"throwError":false},{"responseMappings":[{"onChangeTargetId":"resume-code"},{"dataTransformation":[{"flag":"g","pattern":"(Verification code was invalid with 2 attempts remaining.)+","replacement":"We are sorry, but the code did not match. You can retry the code or click on Request a new code. You have 2 more attempt(s) remaining."},{"flag":"g","pattern":"(Verification code was invalid with 1 attempt remaining.)+","replacement":"We are sorry, but the code did not match. You can retry the code or Request a new code. You have 1 more attempt(s) remaining."},{"flag":"g","pattern":"(Verification code was invalid with no attempts remaining, the session has been terminated.)+","replacement":"We are sorry, but the code did not match. You have no more attempts remaining."}],"responseJsonPath":"$.ErrorMessage","targetJsonPath":"$.Private.Resume.ErrorMessage"}],"statusCode":409,"throwError":false}],"onSuccess":[{"statusCode":200}]},{"body":[{"parameterName":"CustomerResumeCode","valueJsonPath":"$.Private.Resume.Code"},{"parameterName":"AuthenticationMethodCode","parameterValue":"OneTimePassword"}],"conditions":[{"targetJsonPath":"$.Private.Resume.ErrorMessage","targetValue":"The verification code has expired. Please request a new code and try again."}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Private.Resume.Cid}/sessions","httpMethod":"POST","onError":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"faulted"},"parameterName":"$.ApplicationStatus.Code","parameterValue":"Faulted","statusCode":409,"throwError":false},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"resume-link-expiry"},"parameterName":"$.ApplicationStatus.Code","parameterValue":"*","statusCode":402,"throwError":false}],"onSuccess":[{"responseMappings":[{"responseJsonPath":"$.AuthenticationDetail.SupportedDestinations","targetJsonPath":"$.Private.Resume.AuthenticationDetail.SupportedDestinations"},{"responseJsonPath":"$.SessionId","targetJsonPath":"$.Private.Resume.SessionId"},{"responseJsonPath":"$.AuthenticationDetail.SupportedDestinations[?(@.DeliveryMethod.Code=='Sms')]","targetJsonPath":"$.Private.Resume.AuthenticationDetail.Sms"},{"responseJsonPath":"$.AuthenticationDetail.SupportedDestinations[?(@.DeliveryMethod.Code=='Voice')]","targetJsonPath":"$.Private.Resume.AuthenticationDetail.Voice"},{"dataTransformation":[{"pattern":"(\\*)+","replacement":""}],"responseJsonPath":"$.AuthenticationDetail.SupportedDestinations[?(@.DeliveryMethod.Code=='Sms')].ContactEndpoint","targetJsonPath":"$.Private.Resume.AuthenticationDetail.ContactEndpoint"}],"statusCode":200}]}],"commandsOnSubmit":[{"body":[{"parameterName":"VerificationCode","valueJsonPath":"$.Private.Resume.UserCode"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Private.Resume.Cid}/sessions/{$.Private.Resume.SessionId}/authenticate/onetimepassword","errorRetryCount":0,"httpMethod":"PUT","onError":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"resume-modal"},"responseMappings":[{"onChangeTargetId":"resume-code"},{"dataTransformation":[{"flag":"g","pattern":"(Verification code was invalid with 2 attempts remaining.)+","replacement":"We are sorry, but the code did not match. You can retry the code or click on Request a new code. You have 2 more attempt(s) remaining."},{"flag":"g","pattern":"(Verification code was invalid with 1 attempt remaining.)+","replacement":"We are sorry, but the code did not match. You can retry the code or Request a new code. You have 1 more attempt(s) remaining."},{"flag":"g","pattern":"(Verification code was invalid with no attempts remaining, the session has been terminated.)+","replacement":"We are sorry, but the code did not match. You have no more attempts remaining."},{"flag":"g","pattern":"(One-time password authentication timed out and the session has been terminated.)+","replacement":"The verification code has expired. Please request a new code and try again."}],"responseJsonPath":"$.ErrorMessage","targetJsonPath":"$.Private.Resume.ErrorMessage"},{"targetJsonPath":"$.Private.Resume.UserCode","value":""}],"statusCode":400,"throwError":false},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"resume-modal"},"responseMappings":[{"onChangeTargetId":"resume-code"},{"dataTransformation":[{"flag":"g","pattern":"(Verification code was invalid with 2 attempts remaining.)+","replacement":"We are sorry, but the code did not match. You can retry the code or click on Request a new code. You have 2 more attempt(s) remaining."},{"flag":"g","pattern":"(Verification code was invalid with 1 attempt remaining.)+","replacement":"We are sorry, but the code did not match. You can retry the code or Request a new code. You have 1 more attempt(s) remaining."},{"flag":"g","pattern":"(Verification code was invalid with no attempts remaining, the session has been terminated.)+","replacement":"We are sorry, but the code did not match. You have no more attempts remaining."}],"responseJsonPath":"$.ErrorMessage","targetJsonPath":"$.Private.Resume.ErrorMessage"},{"targetJsonPath":"$.Private.Resume.UserCode","value":""}],"statusCode":409,"throwError":false}],"onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"load-application-modal"},"statusCode":200,"throwError":true}]}],"hasBackButton":false,"hasNextButton":false,"id":"resume-modal","modalOptions":{"modalSize":"extra-large"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"columns":2,"controls":[{"bindingPath":"$.Private.Resume.UserCode","bindOnChange":true,"columnOverride":1,"controlType":"Input","customClasses":"mt-1 mb-2","customValidationMessages":{"required":"Please enter the requested information as it is required"},"id":"resume-code","inputMode":"Required","inputSettings":{"disableConditions":[{"targetJsonPath":"$.Private.Resume.ErrorMessage","targetValue":"We are sorry, but the code did not match. You have no more attempts remaining."}]},"label":"Enter code","maxLength":6,"minLength":6,"regexMessage":"You may only enter numbers","regexPattern":"^[0-9]*$","template":"TextBox"},{"bindOnChange":true,"columnOverride":1,"controlType":"HTML","customClasses":"ml-3","description":"<small class='p-invalid'>{$.Private.Resume.ErrorMessage}</small>","id":"resume-attempt-0"},{"bindOnChange":true,"columnOverride":1,"controlType":"CountdownTimer","countdownTimerSettings":{"countdownTimeMin":0.3,"disableConditions":[{"targetJsonPath":"$.Private.Resume.ErrorMessage","targetValue":"We are sorry, but the code did not match. You have no more attempts remaining."}],"icon":"fal fa-info-circle","label":"","timerCompleteButtonCommands":[{"body":[{"parameterName":"DestinationToken","valueJsonPath":"$.Private.Resume.DestinationToken"}],"conditions":[{"targetJsonPath":"$.Application","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Private.Resume.Cid}/sessions/{$.Private.Resume.SessionId}/authenticate/onetimepassword","httpMethod":"POST","onError":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"resume-modal"},"responseMappings":[{"onChangeTargetId":"resume-code"},{"responseJsonPath":"$.ErrorMessage","targetJsonPath":"$.Private.Resume.ErrorMessage"}],"statusCode":409,"throwError":false}],"onSuccess":[{"responseMappings":[{"responseJsonPath":"","targetJsonPath":"$.Private.Resume.ErrorMessage"}],"statusCode":200}]},{"conditions":[{"targetJsonPath":"$.Application","targetValue":""}],"customCommand":"ResetApplicationTimer"}],"timerCompleteButtonLabel":"Request new code","timerCompleteButtonLabelPrefix":"  ","timerCompleteButtonLabelSuffix":""},"customClasses":"-mt-2 mb-3 flex","id":"resume-resend-timer"},{"columnOverride":1,"controlType":"Divider","customClasses":"-mt-3","id":"divider2"},{"buttonAction":"CloseModal","buttonSettings":{"isOutline":true},"controlType":"Button","id":"close-modal-button","label":"Cancel"},{"buttonAction":"Submit","controlType":"Button","customClasses":"float-right","id":"btnSubmit","label":"Submit"}],"customClasses":"-mb-2 box-shadow-none p-0","description":"<p>Your code has been sent to the number ending in {$.Private.Resume.AuthenticationDetail.ContactEndpoint} and should arrive shortly. If your code does not arrive, request a new code. Your code will expire in 5 minutes.</p>","headingSize":"h1","id":"enter-code","textAlignment":"text-left","title":"Enter your code"}]},{"commandsOnLoad":[{"conditions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"},{"targetJsonPath":"$.Private.ApplicationStatus.Code","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}","httpMethod":"GET","onError":[{"responseMappings":[{"responseJsonPath":"$.ErrorMessage","targetJsonPath":"$.Private.Resume.ErrorMessage"}],"statusCode":400}],"onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"technical-error"},"parameterName":"$.NonApprovedDecisioningProvider.DepartmentId","parameterValue":"BankingIntegration","responseMappings":[{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.ApplicationStatus.Code"},{"responseJsonPath":"$.Products[0].ProductDetail.BankingFloorCallResults[?(@.Status == 'Failed')].ReasonCode.Code","targetJsonPath":"$.Private.BankingErrorCodes[0]"},{"responseJsonPath":"$.Products[1].ProductDetail.BankingFloorCallResults[?(@.Status == 'Failed')].ReasonCode.Code","targetJsonPath":"$.Private.BankingErrorCodes[1]"},{"responseJsonPath":"$.Customers[0].CustomerDetail.BankingFloorCallResults[?(@.Status == 'Failed')].ReasonCode.Code","targetJsonPath":"$.Private..BankingErrorCodes[2]"},{"responseJsonPath":"$.Customers[1].CustomerDetail.BankingFloorCallResults[?(@.Status == 'Failed')].ReasonCode.Code","targetJsonPath":"$.Private..BankingErrorCodes[3]"},{"responseJsonPath":"$.Products[0].ProductDetail.BankingFloorCallResults[?(@.Status == 'Failed')][0].ReasonCode.Code","targetJsonPath":"$.Private.BankingErrorCodes[4]"},{"responseJsonPath":"$.Products[1].ProductDetail.BankingFloorCallResults[?(@.Status == 'Failed')][0].ReasonCode.Code","targetJsonPath":"$.Private.BankingErrorCodes[5]"},{"responseJsonPath":"$.Customers[0].CustomerDetail.BankingFloorCallResults[?(@.Status == 'Failed')][0].ReasonCode.Code","targetJsonPath":"$.Private..BankingErrorCodes[6]"},{"responseJsonPath":"$.Customers[1].CustomerDetail.BankingFloorCallResults[?(@.Status == 'Failed')][0].ReasonCode.Code","targetJsonPath":"$.Private..BankingErrorCodes[7]"},{"bindingPath":"$.Private..BankingErrorCodes[?(@!='')]","targetJsonPath":"$.Error.Code"}],"statusCode":200},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"load-application-modal"},"responseMappings":[{"responseJsonPath":"$.ApplicationNumber","targetJsonPath":"$.ApplicationNumber"},{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.ApplicationStatus.Code"},{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.Private.ApplicationStatus.Code"},{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"},{"responseJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.BankCard.CardNumber","targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.BankCard.CardNumber"},{"responseJsonPath":"$.Products","targetJsonPath":"$.Products"},{"bindingPath":"$..Products[?(@.ProductType.Code != 'MemberShare' && @.ProductType.Code != 'TfsaTermDeposit' && @.ProductType.Code != 'RspTermDeposit')]","targetJsonPath":"$.Private.FilteredProducts"},{"responseJsonPath":"$.Customers[0].CustomerDetail","targetJsonPath":"$.Customers[0].CustomerDetail"},{"responseJsonPath":"$.Customers[0].CustomerDetail.FirstName","targetJsonPath":"$.Customers[0].CustomerDetail.FirstName"},{"responseJsonPath":"$.Customers[0].CustomerDetailLastName","targetJsonPath":"$.Customers[0].CustomerDetail.LastName"},{"responseJsonPath":"$.Customers[0].CustomerDetail.PreferredName","targetJsonPath":"$.Customers[0].CustomerDetail.PreferredName"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName","value":""},{"responseJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code"},{"bindingPath":"$.Customers","targetJsonPath":"$.Private.FilteredCustomers"},{"bindingPath":"$.Private.FilteredCustomers[0].CustomerName","targetJsonPath":"$.Private.FilteredCustomers[0].ApplicantName"},{"bindingMultiPath":["$.Private.FilteredCustomers[1].CustomerName","$.Private.FilteredCustomers[0].CustomerName"],"bindingMultiPathSplitValue":" & ","targetJsonPath":"$.Private.FilteredCustomers[1].ApplicantName"}],"statusCode":200}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.PreferredName","targetValue":"*"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"decision-modal-status"},"responseMappings":[{"bindingPath":"$.Customers[0].CustomerDetail.PreferredName","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName"},{"targetJsonPath":"$.Private.ApplicationStatus.Code","value":""}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.PreferredName","targetValue":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName","targetValue":""}],"dataBindings":[{"bindingPath":"$.Customers[0].CustomerDetail.FirstName","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName"}],"onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"decision-modal-status"},"responseMappings":[{"bindingPath":"$.Customers[0].CustomerDetail.FirstName","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName"},{"targetJsonPath":"$.Private.ApplicationStatus.Code","value":""}]}]}],"hasBackButton":false,"hasNextButton":false,"id":"load-application-modal","modalOptions":{"isDismissible":false},"navigation":{"nextPageId":"decision-modal-status"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"customClasses":"p-3 box-shadow-none text-center","disclaimerText":"Sit tight. This should only take a moment.","icon":"fal fa-credit-card-front fa-fade","id":"loading-application","title":"Loading application..."}]},{"customClasses":"mt-7","hasBackButton":false,"hasNextButton":false,"id":"error","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","sections":[{"controls":[{"controlType":"HTML","description":"<h2>Something Went Wrong</h2><p>We're experiencing a technical issue at the moment and we're working to resolve it. Please try again later.</p><p>Have a question? Please feel free to call us at <a href='tel:1.877.378.8728'>1.877.378.8728</a> or email to <a href='mailto:contact_us@onboard.servus.ca'>contact_us@onboard.servus.ca</a> so we can help.</p>"},{"conditions":[{"targetJsonPath":"$.Error.Code","targetValue":"*"}],"controlType":"HTML","description":"<p><strong>Error Code: </strong>{$.Error.Code}</p>","id":"error-code"},{"conditions":[{"targetJsonPath":"$.Error.OperationId","targetValue":"*"}],"controlType":"HTML","description":"<p><strong>Operation ID: </strong>{$.Error.OperationId}</p>","id":"error-operation-id"}],"customClasses":"text-center","icon":"fa-light fa-exclamation-triangle","id":"error-details"}]},{"customClasses":"mt-7","hasBackButton":false,"hasNextButton":false,"id":"resume-link-expiry","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","sections":[{"controls":[{"controlType":"HTML","description":"<h2>Your link has expired.</h2><p>The link you're trying to access has expired.</p><p>Have a question? Give us a call at <a href='tel:1.877.378.8728'>1.877.378.8728</a> or visit one of our <a href='https://servus.ca/branches' target='_blank'>branches</a> and we'll be more than happy to help.</p>"}],"customClasses":"text-center","icon":"fa-light fa-exclamation-triangle","id":"error-details"}]},{"customClasses":"mt-7","hasBackButton":false,"hasNextButton":false,"id":"technical-error","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","sections":[{"controls":[{"controlType":"HTML","description":"<h2>We're unable to proceed at this time.</h2><p>Don't panic. We're just experiencing a technical issue at the moment and we're working to resolve it. We will be in touch within 24 hours.</p><p>If you need immediate assistance please call <a href='tel:1.877.378.8728'>1.877.378.8728</a> or email us at <a href='mailto:contact_us@onboard.servus.ca'>contact_us@onboard.servus.ca</a> so we can help.</p>"},{"conditions":[{"targetJsonPath":"$.Error.Code","targetValue":"*"}],"controlType":"HTML","description":"<p><strong>Error Code: </strong>{$.Error.Code}</p>","id":"error-code"},{"conditions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"}],"controlType":"HTML","description":"<p>Your reference number is: {$.ApplicationNumber}</p>","id":"app-code"}],"customClasses":"text-center","icon":"fa-light fa-exclamation-triangle","id":"error-details"}]},{"customClasses":"pt-7 h-screen","description":"<p>We're unable to proceed at this time.</p><p>Sorry for the inconvenience, but we are unable to process your application digitally at this time. Please visit the nearest Servus Credit Union branch with one piece of valid government issued photo ID to finalize your application. If you have any questions in the meantime please give us a call at <a href='tel:1.877.378.8728'>1.877.378.8728</a>.</p><p>Your application reference number is: {$.ApplicationNumber}</p>","hasBackButton":false,"hasNextButton":false,"icon":"far fa-exclamation-triangle","id":"id-failure","mainClasses":"bg-white pt-7","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","template":"Form"},{"customClasses":"pt-7 h-screen","hasBackButton":false,"hasNextButton":false,"id":"fraud-review","mainClasses":"bg-white pt-7","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","sections":[{"controls":[{"controlType":"HTML","customClasses":"mt-2","description":"Reference #: <strong>{$.ApplicationNumber}</strong>","id":"description-3"},{"controlType":"HTML","customClasses":"mt-2","description":"If you need immediate assistance please call <a href='tel:1.877.378.8728'>1.877.378.8728</a> or email us at <a href='mailto:contact_us@onboard.servus.ca'>contact_us@onboard.servus.ca</a>","id":"description-2"}],"customClasses":"mt-3 text-center bg-white","description":"Your application has been forwarded to the Servus team for review. You'll get an email with the status and any extra details within 1 business day.","icon":"fa-light fa-user-clock","id":"description-2","title":"Application submitted successfully","width":"Max Width"}],"template":"Form"},{"customClasses":"pt-7 h-screen","hasBackButton":false,"hasNextButton":false,"id":"credit-review","mainClasses":"bg-white pt-7","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","sections":[{"controls":[{"controlType":"HTML","customClasses":"mt-2","description":"Reference #: <strong>{$.ApplicationNumber}</strong>","id":"description-3"},{"controlType":"HTML","customClasses":"mt-2","description":"If you need immediate assistance please call <a href='tel:1.877.378.8728'>1.877.378.8728</a> or email us at <a href='mailto:contact_us@onboard.servus.ca'>contact_us@onboard.servus.ca</a>","id":"description-2"}],"customClasses":"mt-3 text-center bg-white","description":"Your application has been forwarded to the Servus team for review. You'll get an email with the status and any extra details within 24 hours.","icon":"fa-light fa-user-clock","id":"description-2","title":"Application submitted successfully","width":"Max Width"}],"template":"Form"},{"customClasses":"pt-7 h-screen","description":"Sorry, if you're already a Servus member and want to open another membership, you'll need to call us at <a href='tel:1.877.378.8729'>1.877.378.8729</a> or visit your <a href='https://servus.ca/branches'>nearest branch</a>.","hasBackButton":false,"hasNextButton":false,"icon":"far fa-exclamation-triangle","id":"sin-error","mainClasses":"bg-white pt-7","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","template":"Form","title":"Opening another Servus membership"},{"commandsOnLoad":[{"customCommand":"ClearSession"}],"customClasses":"pt-7 h-screen","description":"<p>Your application has timed out.<br/> For security reasons our application times out after 20 minutes of inactivity. Please close this tab and reload the application to start again.</p>","hasBackButton":false,"hasNextButton":false,"icon":"far fa-exclamation-triangle","id":"timeout-error","mainClasses":"bg-white pt-7","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","template":"Form","title":"Time's Up"},{"description":"Easily move funds to your Servus account from another bank. Follow the steps below to connect to your old institution and start the transfer.","hasBackButton":false,"hasNextButton":false,"id":"flinks","navigation":{"nextPageId":"preload-approved-modal"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":6,"sections":[{"controls":[{"controlType":"Iframe","customClasses":"border-none","id":"flinks-widget-iframe","iframeSettings":{"height":760,"url":"https://thirdstream-iframe.private.fin.ag/?demo=false&consentEnable=true&customerName=Servus Credit Union&institutionFilterEnable=true&accountSelectorEnable=true&accountSelectorCurrency=cad"},"listenerCallbackSettings":{"action":"LoadingComplete","message":"COMPONENT_CONSENT_INTRO","property":"step"}},{"controlType":"Listener","customClasses":"border-none","id":"listener","listenerSettings":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"payment-confirmation-modal"},"targetJsonPath":"$.step","targetValue":"REDIRECT"}],"element":"window","event":"message","responseMappings":[{"responseJsonPath":"$.step","targetJsonPath":"$.Private.Flinks.Step"},{"responseJsonPath":"$.institution","targetJsonPath":"$.Private.Flinks.Institution"},{"responseJsonPath":"$.loginId","targetJsonPath":"$.Private.Flinks.LoginId"},{"responseJsonPath":"$.requestId","targetJsonPath":"$.Private.Flinks.RequestId"},{"responseJsonPath":"$.accountId","targetJsonPath":"$.Private.Flinks.AccountId"}]}}],"customClasses":"p-card p-4 mt-5 bg-white","id":"flinks-widget","width":"Large"},{"controls":[{"controlType":"HTML","customClasses":"flinks-cancel inline-block pl-8 pr-8 pt-3 pb-3 p-button p-outline-button p-ripple p-button-outlined","description":"<a href=\"flow/approved\" class=\"no-underline p-button-label\">Cancel</a>","id":"cancel-flinks-button","label":"Cancel"}],"customClasses":"p-0 bg-transparent shadow-none","id":"flinks-close","width":"Large"}],"title":"Make an electronic transfer"},{"commandsOnLoad":[{"endpointUrl":"api/moneytransfers/accounts/{$.Private.Flinks.AccountId}?sessionToken=@btoa({$.Private.Flinks.LoginId})&isExternalSession=true","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$.accountId","targetJsonPath":"$.Private.Flinks.SelectedAccount.AccountId"},{"responseJsonPath":"$.accountName","targetJsonPath":"$.Private.Flinks.SelectedAccount.AccountName"},{"responseJsonPath":"$.currentBalance","targetJsonPath":"$.Private.Flinks.SelectedAccount.CurrentBalance"},{"targetJsonPath":"$.InitialDeposit[0].DepositMethod.Code","value":"ExternalTransfer"},{"responseJsonPath":"$.bankName","targetJsonPath":"$.InitialDeposit[0].ExternalAccount.InstitutionName"},{"responseJsonPath":"$.institutionNumber","targetJsonPath":"$.InitialDeposit[0].ExternalAccount.InstitutionNumber"},{"responseJsonPath":"$.transitNumber","targetJsonPath":"$.InitialDeposit[0].ExternalAccount.TransitNumber"},{"responseJsonPath":"$.accountNumber","targetJsonPath":"$.InitialDeposit[0].ExternalAccount.AccountNumber"},{"targetJsonPath":"$.InitialDeposit[1].DepositMethod.Code","value":"ExternalTransfer"},{"responseJsonPath":"$.bankName","targetJsonPath":"$.InitialDeposit[1].ExternalAccount.InstitutionName"},{"responseJsonPath":"$.institutionNumber","targetJsonPath":"$.InitialDeposit[1].ExternalAccount.InstitutionNumber"},{"responseJsonPath":"$.transitNumber","targetJsonPath":"$.InitialDeposit[1].ExternalAccount.TransitNumber"},{"responseJsonPath":"$.accountNumber","targetJsonPath":"$.InitialDeposit[1].ExternalAccount.AccountNumber"},{"targetJsonPath":"$.Private.Flinks.NumberOfAccounts.Code","value":1},{"targetJsonPath":"$.Private.Flinks.NumberOfAccounts.Description","value":1},{"targetJsonPath":"$.Private.Flinks.PaymentConfirmation.Code","value":false},{"bindingPath":"$..Products[?(@.ProductType.Code != 'MemberShare' && @.ProductType.Code != 'TfsaTermDeposit' && @.ProductType.Code != 'RspTermDeposit')]","targetJsonPath":"$.FilteredProducts"}],"statusCode":200}]}],"commandsOnSubmit":[{"body":[{"parameterName":"CustomerId","valueJsonPath":"$.Private.Resume.Cid"},{"parameterName":"ProductId","valueJsonPath":"$.Private.Flinks.ToAccount[0]"},{"parameterName":"ActionStep","parameterValue":"AftDeposit"},{"parameterName":"InitialDeposit","valueJsonPath":"$.InitialDeposit[0]"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/funding/input","httpMethod":"PUT","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"complete"},"responseMappings":[{"targetJsonPath":"$.Private.Status.Code","value":"complete"},{"targetJsonPath":"$.InitialDeposit[0]","targetValue":""},{"targetJsonPath":"$.Private.Flinks.ToAccount[0]","targetValue":""}],"statusCode":200}]}],"hasBackButton":false,"hasNextButton":false,"id":"payment-confirmation-modal","modalOptions":{"modalSize":"extra-large"},"navigation":{"nextPageId":"welcome"},"pageMode":"Modal","pageTemplate":"Form","progressIndicatorNum":6,"restrictions":[{"targetJsonPath":"$.Private.Flinks.Institution","targetValue":"*"},{"targetJsonPath":"$.Private.Flinks.LoginId","targetValue":"*"},{"targetJsonPath":"$.Private.Flinks.RequestId","targetValue":"*"},{"targetJsonPath":"$.Private.Flinks.AccountId","targetValue":"*"}],"sections":[{"columns":2,"controls":[{"columnOverride":1,"controlType":"Divider","id":"divider-2"},{"bindOnChange":true,"controlType":"HTML","customClasses":"mb-2","description":"<strong>{$.Private.Flinks.SelectedAccount.AccountName} (${$.Private.Flinks.SelectedAccount.CurrentBalance})</strong>","id":"from-account"},{"bindingPath":"$.Private.Flinks.NumberOfAccounts.Description","bindOnChange":true,"columnOverride":1,"conditions":[{"targetJsonPath":"$.Products.length","targetValue":3}],"controlOptions":{"options":[{"label":1,"value":1},{"label":2,"value":2}]},"controlType":"Input","convertValueTo":"String","defaultValue":1,"dropdownSettings":{"bindOnSelect":false,"idJsonPath":"$.value","labelJsonPath":"$.label","selectedIdJsonPath":"$.Private.Flinks.NumberOfAccounts.Code"},"id":"how-many-accounts","inputMode":"Required","label":"How many accounts do you want to fund?","template":"DropDown"},{"allowedKeysRegex":"^[0-9.]*$","bindingPath":"$.InitialDeposit[0].DepositAmount","columnOverride":1,"conditions":[{"targetJsonPath":"$.Private.Flinks.NumberOfAccounts.Code","targetValue":1}],"controlType":"Input","customClasses":"mt-2 mb-2","customValidators":[{"errorMessage":"Please enter the amount with only 2 decimal places","parameters":{"regexPattern":"^[0-9]*\\.[0-9][0-9]$"},"validator":"Regex"},{"errorMessage":"The maximum amount is ${$.Private.Flinks.SelectedAccount.CurrentBalance}","operator":"LessThanOrEqual","parameters":{"id":"greaterthan","valueJsonPath":"$.Private.Flinks.SelectedAccount.CurrentBalance"},"validator":"CompareValue"},{"errorMessage":"Please ensure the amount entered is at least $10","operator":"GreaterThan","parameters":{"id":"lessthan","value":9},"validator":"CompareValue"}],"enabled":true,"iconLeft":"fal fa-dollar-sign","id":"amount1","inputMode":"Required","inputSettings":{"maxFractionDigits":2,"minFractionDigits":2},"keyboardType":"Phone","label":"Amount to transfer","regexMessage":"Please enter the amount with only 2 decimal places","regexPattern":"^\\d+\\.?\\d{0,2}$","template":"TextBox"},{"bindingPath":"$.Private.Flinks.ToAccount[0]","bindOnChange":true,"columnOverride":1,"conditions":[{"targetJsonPath":"$.Private.Flinks.NumberOfAccounts.Code","targetValue":1}],"controlOptions":{"optionsJsonPath":"$.FilteredProducts"},"controlType":"Input","dropdownSettings":{"idJsonPath":"$.ProductId","labelJsonPath":"$.OfferDetail.ProductName","valueJsonPath":"$.ProductId"},"id":"to-account1","inputMode":"Required","label":"To account","placeholder":" ","template":"DropDown"},{"allowedKeysRegex":"^[0-9.]*$","bindingPath":"$.InitialDeposit[0].DepositAmount","conditions":[{"targetJsonPath":"$.Private.Flinks.NumberOfAccounts.Code","targetValue":2}],"controlType":"Input","customClasses":"mt-2","customValidators":[{"errorMessage":"Please enter the amount with only 2 decimal places","parameters":{"regexPattern":"^[0-9]*\\.[0-9][0-9]$"},"validator":"Regex"},{"errorMessage":"The maximum amount is ${$.Private.Flinks.SelectedAccount.CurrentBalance}","operator":"LessThanOrEqual","parameters":{"id":"greaterthan","valueJsonPath":"$.Private.Flinks.SelectedAccount.CurrentBalance"},"validator":"CompareValue"},{"errorMessage":"Please ensure the amount entered is at least $10","operator":"GreaterThan","parameters":{"id":"lessthan","value":9},"validator":"CompareValue"}],"enabled":true,"iconLeft":"fal fa-dollar-sign","id":"amount2","inputMode":"Required","inputSettings":{"maxFractionDigits":2,"minFractionDigits":2},"keyboardType":"Phone","label":"Amount to transfer","regexMessage":"Please enter the amount with only 2 decimal places","regexPattern":"^\\d+\\.?\\d{0,2}$","template":"TextBox"},{"allowedKeysRegex":"^[0-9.]*$","bindingPath":"$.InitialDeposit[1].DepositAmount","conditions":[{"targetJsonPath":"$.Private.Flinks.NumberOfAccounts.Code","targetValue":2}],"controlType":"Input","customClasses":"mt-2","customValidators":[{"errorMessage":"Please enter the amount with only 2 decimal places","parameters":{"regexPattern":"^[0-9]*\\.[0-9][0-9]$"},"validator":"Regex"},{"errorMessage":"The maximum amount is ${$.Private.Flinks.SelectedAccount.CurrentBalance}","operator":"LessThanOrEqual","parameters":{"id":"greaterthan","valueJsonPath":"$.Private.Flinks.SelectedAccount.CurrentBalance"},"validator":"CompareValue"},{"errorMessage":"Please ensure the amount entered is at least $10","operator":"GreaterThan","parameters":{"id":"lessthan","value":9},"validator":"CompareValue"}],"enabled":true,"iconLeft":"fal fa-dollar-sign","id":"amount3","inputMode":"Required","inputSettings":{"maxFractionDigits":2,"minFractionDigits":2},"keyboardType":"Phone","label":"Amount to transfer","regexMessage":"Please enter the amount with only 2 decimal places","regexPattern":"^\\d+\\.?\\d{0,2}$","template":"TextBox"},{"bindingPath":"$.Private.Flinks.ToAccount[0]","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Flinks.NumberOfAccounts.Code","targetValue":2}],"controlOptions":{"optionsJsonPath":"$.FilteredProducts"},"controlType":"Input","dropdownSettings":{"idJsonPath":"$.ProductId","labelJsonPath":"$.OfferDetail.ProductName","valueJsonPath":"$.ProductId"},"id":"to-account2","inputMode":"Required","label":"To account","placeholder":" ","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"to-account3"}]}],"template":"DropDown"},{"bindingPath":"$.Private.Flinks.ToAccount[1]","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Flinks.NumberOfAccounts.Code","targetValue":2}],"controlOptions":{"optionsJsonPath":"$.FilteredProducts"},"controlType":"Input","customValidators":[{"errorMessage":"Please select a different account","operator":"NotEquals","parameters":{"valueJsonPath":"$.Private.Flinks.ToAccount[0]"},"validator":"CompareValue"}],"dropdownSettings":{"idJsonPath":"$.ProductId","labelJsonPath":"$.OfferDetail.ProductName","valueJsonPath":"$.ProductId"},"id":"to-account3","inputMode":"Required","label":"To account","placeholder":" ","template":"DropDown"},{"bindingPath":"$.Private.Flinks.PaymentConfirmation.Code","checkboxSettings":{"checkedRequired":true,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"conditions":[{"targetJsonPath":"$.Private.Flinks.NumberOfAccounts.Code","targetValue":"*"}],"controlType":"Input","customClasses":"my-4","id":"confirmation-checkbox","label":"I agree with the transfer <a href=\"https://cdn.prod.thirdstream.ca/servus/PAD.pdf\" target=\"_blank\">terms & conditions</a>.","template":"CheckBox","value":false},{"columnOverride":1,"controlType":"Divider","customClasses":"mb-3 mt-0","id":"divider-2"},{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"approved"}}]}],"disableConditions":[{"targetJsonPath":"$.Private.Account","targetValue":1}],"isOutline":true},"controlType":"Button","id":"close-modal-button","label":"Cancel"},{"buttonAction":"Submit","controlType":"Button","customClasses":"block mt-1 text-right","id":"btnNext","label":"Submit"}],"customClasses":"-mb-2 box-shadow-none p-0","description":"Please complete the fields below to finalize your transfer.","headingSize":"h1","id":"payment-confirmation","textAlignment":"text-left","title":"Confirm your transfer"}]},{"commandsOnLoad":[{"conditions":[{"operator":"NotEquals","targetJsonPath":"$.Private.LastPhoneNumber","targetValue":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.SMSSent","value":""}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Otp","value":""}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Result","targetValue":"Verified"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Email.Result","targetValue":"Verified"}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Result","value":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Email.Result","value":""}]}]},{"body":[{"parameterName":"DeliveryMethod","parameterValue":"Sms"},{"parameterName":"ContactType","parameterValue":"Mobile"}],"conditions":[{"targetJsonPath":"$.Customers[0].CustomerId","targetValue":"*"},{"targetJsonPath":"$.Private.EnableSMSTemporarily","targetValue":"Yes"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.VerificationToken","targetValue":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Result","targetValue":""},{"targetJsonPath":"$.Private.SMSSent","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[0].CustomerId}/contactmethods/verify","httpMethod":"POST","onSuccess":[{"responseMappings":[{"responseJsonPath":"$.VerificationToken","targetJsonPath":"$.Private.Customers[0].CustomerDetail.VerificationToken"},{"targetJsonPath":"$.Private.SMSSent","value":"Yes"},{"bindingPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetJsonPath":"$.Private.LastPhoneNumber"},{"targetJsonPath":"$.Private.SMSOTPErrorMsg","value":""}],"statusCode":200}]}],"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Private.EnableSMSTemporarily","targetValue":"No"}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"bindingPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"}]}]},{"body":[{"parameterName":"VerificationToken","valueJsonPath":"$.Private.Customers[0].CustomerDetail.VerificationToken"},{"parameterName":"VerificationCode","valueJsonPath":"$.Private.Customers[0].CustomerDetail.Otp"}],"conditions":[{"targetJsonPath":"$.Private.EnableSMSTemporarily","targetValue":"Yes"},{"targetJsonPath":"$.Customers[0].CustomerId","targetValue":"*"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[0].CustomerId}/contactmethods/verify","httpMethod":"PUT","onError":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirm-sms"},"responseMappings":[{"onChangeTargetId":"otp"},{"responseJsonPath":"$.ErrorMessage","targetJsonPath":"$.Private.SMSOTPErrorMsg"}],"statusCode":400,"throwError":false}],"onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"bindingPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Otp","value":""},{"targetJsonPath":"$.Private.SMSOTPErrorMsg","value":""}],"statusCode":200,"throwError":true}]}],"hasBackButton":false,"hasNextButton":false,"id":"confirm-sms","modalOptions":{"modalSize":"extra-large"},"navigation":{"nextPageId":"account-selection1"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"columns":2,"controls":[{"columnOverride":1,"controlType":"HTML","customClasses":"pt-2","description":"<p class='-mt-3'>We have texted a verification code to your mobile phone number. Once you have received it please enter the code below to continue your application.</p><p class='mb-2'>If you do not receive a code, please click the resend link below and we will send you another code.</p>","id":"otp-html"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.Otp","bindOnLoad":true,"columnOverride":1,"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":""},"id":"otp","inputMode":"Required","label":"Enter Code","maxLength":6,"minLength":6,"regexMessage":"You may only enter numbers","regexPattern":"^[0-9]*$","template":"TextBox"},{"columnOverride":1,"conditions":[{"targetJsonPath":"$.Private.SMSOTPErrorMsg","targetValue":"Verification code failed."}],"controlType":"HTML","customClasses":"-mt-3 ml-3 p-invalid","description":"<small>The verification code entered is incorrect. Please try again or request a new code.</small>","id":"otp-email-error"},{"columnOverride":1,"conditions":[{"targetJsonPath":"$.Private.SMSOTPErrorMsg","targetValue":"Verification timed out."}],"controlType":"HTML","customClasses":"-mt-3 ml-3 p-invalid","description":"<small>The verification code has expired. Please request a new code and try again.</small>","id":"otp-email-error"},{"columnOverride":1,"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"<p class='-ml-0.5 mb-2 mt-0.5'>Please enter the correct code within 5 minutes of receiving it.</p>","helpTextOnHover":false,"id":"otp-help"},{"columnOverride":1,"controlType":"CountdownTimer","countdownTimerSettings":{"countdownTimeMin":0,"icon":"fal fa-info-circle mr-1","label":"","timerCompleteButtonCommands":[{"body":[{"parameterName":"DeliveryMethod","parameterValue":"Sms"},{"parameterName":"ContactType","parameterValue":"Mobile"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[0].CustomerId}/contactmethods/verify","httpMethod":"POST","onError":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirm-sms"},"responseMappings":[{"responseJsonPath":"$.VerificationToken","targetJsonPath":"$.Private.Customers[0].CustomerDetail.VerificationToken"}],"statusCode":200}],"onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirm-sms"},"responseMappings":[{"responseJsonPath":"$.VerificationToken","targetJsonPath":"$.Private.Customers[0].CustomerDetail.VerificationToken"},{"targetJsonPath":"$.Private.SMSOTPErrorMsg","value":""}],"statusCode":200}]}],"timerCompleteButtonLabel":"Request new code","timerCompleteButtonLabelPrefix":"","timerCompleteButtonLabelSuffix":""},"customClasses":"-mt-3 flex","id":"otp-resend-mobile-timer"},{"columnOverride":1,"controlType":"Divider","customClasses":"mb-3","id":"divider1"},{"buttonAction":"CloseModal","buttonSettings":{"isOutline":true},"controlType":"Button","id":"close-modal-button","label":"Cancel"},{"buttonAction":"Submit","controlType":"Button","customClasses":"float-right","id":"btnNext","label":"Submit"}],"customClasses":"box-shadow-none p-0","headingSize":"h1","id":"mobile","template":"Default","textAlignment":"text-left","title":"Confirm your mobile number"}]},{"commandsOnLoad":[{"conditions":[{"operator":"NotEquals","targetJsonPath":"$.Private.joint.LastPhoneNumber","targetValue":"$.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.joint.SMSSent","value":""}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.Otp","value":""}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.Sms.Result","targetValue":"Verified"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.Email.Result","targetValue":"Verified"}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.Sms.Result","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.Email.Result","value":""}]}]},{"body":[{"parameterName":"DeliveryMethod","parameterValue":"Sms"},{"parameterName":"ContactType","parameterValue":"Mobile"}],"conditions":[{"targetJsonPath":"$.Customers[1].CustomerId","targetValue":"*"},{"targetJsonPath":"$.Private.EnableSMSTemporarily","targetValue":"Yes"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.Sms.VerificationToken","targetValue":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.Sms.Result","targetValue":""},{"targetJsonPath":"$.Private.joint.SMSSent","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[1].CustomerId}/contactmethods/verify","httpMethod":"POST","onSuccess":[{"responseMappings":[{"responseJsonPath":"$.VerificationToken","targetJsonPath":"$.Private.Customers[1].CustomerDetail.VerificationToken"},{"targetJsonPath":"$.Private.joint.SMSSent","value":"Yes"},{"bindingPath":"$.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetJsonPath":"$.Private.joint.LastPhoneNumber"},{"targetJsonPath":"$.Private.SMSOTPErrorMsg","value":""}],"statusCode":200}]}],"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Private.EnableSMSTemporarily","targetValue":"No"}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"bindingPath":"$.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetJsonPath":"$.Private.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"}]}]},{"body":[{"parameterName":"VerificationToken","valueJsonPath":"$.Private.Customers[1].CustomerDetail.VerificationToken"},{"parameterName":"VerificationCode","valueJsonPath":"$.Private.Customers[1].CustomerDetail.Otp"}],"conditions":[{"targetJsonPath":"$.Private.EnableSMSTemporarily","targetValue":"Yes"},{"targetJsonPath":"$.Customers[1].CustomerId","targetValue":"*"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[1].CustomerId}/contactmethods/verify","httpMethod":"PUT","onError":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-confirm-sms"},"responseMappings":[{"onChangeTargetId":"otp"},{"responseJsonPath":"$.ErrorMessage","targetJsonPath":"$.Private.SMSOTPErrorMsg"}],"statusCode":400,"throwError":false}],"onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"bindingPath":"$.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetJsonPath":"$.Private.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.Otp","value":""},{"targetJsonPath":"$.Private.SMSOTPErrorMsg","value":""}],"statusCode":200,"throwError":true}]}],"hasBackButton":false,"hasNextButton":false,"id":"joint-confirm-sms","modalOptions":{"modalSize":"extra-large"},"navigation":{"nextPageId":"joint-additional-details"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"columns":2,"controls":[{"columnOverride":1,"controlType":"HTML","customClasses":"pt-2","description":"<p class='-mt-3'>We have texted a verification code to your mobile phone number. Once you have received it please enter the code below to continue your application.</p><p class='mb-2'>If you do not receive a code, please click the resend link below and we will send you another code.</p>","id":"otp-html"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.Otp","bindOnLoad":true,"columnOverride":1,"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":""},"id":"otp","inputMode":"Required","label":"Enter Code","maxLength":6,"minLength":6,"regexMessage":"You may only enter numbers","regexPattern":"^[0-9]*$","template":"TextBox"},{"columnOverride":1,"conditions":[{"targetJsonPath":"$.Private.SMSOTPErrorMsg","targetValue":"Verification code failed."}],"controlType":"HTML","customClasses":"-mt-3 ml-3 p-invalid","description":"<small>The verification code entered is incorrect. Please try again or request a new code.</small>","id":"otp-email-error"},{"columnOverride":1,"conditions":[{"targetJsonPath":"$.Private.SMSOTPErrorMsg","targetValue":"Verification timed out."}],"controlType":"HTML","customClasses":"-mt-3 ml-3 p-invalid","description":"<small>The verification code has expired. Please request a new code and try again.</small>","id":"otp-email-error"},{"columnOverride":1,"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"<p class='-ml-0.5 mb-2 mt-0.5'>Please enter the correct code within 5 minutes of receiving it.</p>","helpTextOnHover":false,"id":"otp-help"},{"columnOverride":1,"controlType":"CountdownTimer","countdownTimerSettings":{"countdownTimeMin":0,"icon":"fal fa-info-circle mr-1","label":"","timerCompleteButtonCommands":[{"body":[{"parameterName":"DeliveryMethod","parameterValue":"Sms"},{"parameterName":"ContactType","parameterValue":"Mobile"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[1].CustomerId}/contactmethods/verify","httpMethod":"POST","onError":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-confirm-sms"},"responseMappings":[{"responseJsonPath":"$.VerificationToken","targetJsonPath":"$.Private.Customers[1].CustomerDetail.VerificationToken"}],"statusCode":200}],"onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-confirm-sms"},"responseMappings":[{"responseJsonPath":"$.VerificationToken","targetJsonPath":"$.Private.Customers[1].CustomerDetail.VerificationToken"},{"targetJsonPath":"$.Private.SMSOTPErrorMsg","value":""}],"statusCode":200}]}],"timerCompleteButtonLabel":"Request new code","timerCompleteButtonLabelPrefix":"","timerCompleteButtonLabelSuffix":""},"customClasses":"-mt-3 flex","id":"otp-resend-mobile-timer"},{"columnOverride":1,"controlType":"Divider","customClasses":"mb-3","id":"divider1"},{"buttonAction":"CloseModal","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-personal-information"}}]}],"isOutline":true},"controlType":"Button","id":"close-modal-button","label":"Cancel"},{"buttonAction":"Submit","controlType":"Button","customClasses":"float-right","id":"btnNext","label":"Submit"}],"customClasses":"box-shadow-none p-0","headingSize":"h1","id":"mobile","template":"Default","textAlignment":"text-left","title":"Confirm your mobile number"}]}],"progressIndicators":[{"name":"Account"},{"name":"Details"},{"name":"Employment"},{"name":"Beneficiary"},{"name":"Joint"},{"name":"Confirmation"},{"name":"Finalize"},{"name":"All Done"}]}