{"pages":[{"bindOnLoad":[{"queryParam":"Account","targetJsonPath":"$.Private.Account"}],"commandsInBackground":[{"conditions":[{"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"}}]}],"commandsOnLoad":[{"customCommand":"GetSessionId","onSuccess":[{"parameterName":"$.sessionId","responseMappings":[{"responseJsonPath":"$.sessionId","targetJsonPath":"$.Private.AppSessionId"}]}]},{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"},{"targetJsonPath":"$.Private.EnableDOBCalendar","value":"Yes"},{"targetJsonPath":"$.Customers[0].CustomerDetail.CustomerAgreements.PrivacyPolicyStatus.Code","value":"Declined"}]}]}],"description":"<div class='mx-0 sm:mx-6'>This online application is for new members only. You can apply individually or with a joint applicant.<br/>Already a Member? Go to your nearest branch or <a href='https://www.bowvalleycu.com/en/contact-us?_ga=2.261929352.409369766.1721917296-915917705.1716484392' target='_blank'>Contact us</a>.<br/><br/><b>Please note: </b><br/>Using privacy browsers (such as Brave or Tor) or a VPN may block device checks needed for account opening and cause errors. For best results, use a standard browser without a VPN, and refresh this page if you turn your VPN off.<br/><br/>You may need to have your drivers license ready. </div>","hasBackButton":false,"hasNextButton":false,"id":"welcome","navigation":{"nextPageId":"declarations-modal"},"pageMode":"Page","pageTemplate":"Welcome","sections":[{"controls":[{"buttonAction":"Submit","controlType":"Button","id":"btnGetStarted","label":"Get Started"},{"bindingPath":"$.Private.EnableSMSTemporarily","controlType":"Input","defaultValue":"Yes","id":"EnableSMS","template":"Hidden"},{"bindingPath":"$.ApplicationType.Code","controlType":"Input","defaultValue":"PersonalDeposit","id":"applicationType","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranch.Code","controlType":"Input","convertValueTo":"String","defaultValue":"downtown","id":"HomeBranchCode","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranch.Description","controlType":"Input","convertValueTo":"String","defaultValue":"Downtown Branch","id":"HomeBranchDescription","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","controlType":"Input","convertValueTo":"String","defaultValue":"NewMember","id":"NewMemberCode1","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Description","controlType":"Input","convertValueTo":"String","defaultValue":"New Member","id":"NewMemberDescription1","template":"Hidden"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","controlType":"Input","defaultValue":"STREET","id":"AddressDefault","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranch.Code","controlType":"Input","convertValueTo":"String","defaultValue":"downtown","id":"HomeBranchCode","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranch.Description","controlType":"Input","convertValueTo":"String","defaultValue":"Downtown Branch","id":"HomeBranchDescription","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.MemberRegistration.MemberStatus.Code","controlType":"Input","convertValueTo":"String","defaultValue":"NewMember","id":"NewMemberCode2","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.MemberRegistration.MemberStatus.Description","controlType":"Input","convertValueTo":"String","defaultValue":"New Member","id":"NewMemberDescription2","template":"Hidden"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","controlType":"Input","defaultValue":"STREET","id":"AddressDefault","template":"Hidden"}],"customClasses":"text-center mt-0 mb-0 box-shadow-none pt-0 pb-0","id":"welcome","width":"Medium"}],"title":"<h1 class=\"-m-3 text-center\">Open an account in under 5 minutes</h1>"},{"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[0].CustomerType.Code","value":"Individual"}],"statusCode":201}]}],"hasBackButton":false,"hasNextButton":false,"id":"declarations-modal","modalOptions":{"modalSize":"extra-large","waitForCommands":true},"navigation":{"nextPageId":"account-selection1"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"columns":2,"controls":[{"columnOverride":1,"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"controlType":"HTML","customClasses":"mb-0","description":"Please click the checkboxes to confirm you have read and understood the declarations listed below.","id":"declarationTitle-new"},{"columnOverride":1,"controlType":"HTML","customClasses":"mb-0 h-auto","description":"<div><p>I confirm that:</p><ul class='mb-0'><li>I am a current resident of Alberta and a Canadian citizen.</li><li>I am 18 years or older.</li><li>I am not opening this account on behalf of any third party.</li><li>I will need to purchase $25 in Membership Common Shares.</li><li>I understand and consent that my information will be used by our trusted partners including Canadian credit bureaus and telecommunications providers to verify my identity, and that the information being validated is already in their files and will not be shared.</li></ul></div>","id":"declarationList1-new"},{"columnOverride":1,"controlType":"Divider","id":"divider1-new"},{"bindingPath":"$.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":"$.Customers[0].CustomerDetail.CustomerAgreements.TermsAndCondition.Code","checkboxSettings":{"checkedRequired":true,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"controlType":"Input","id":"declarationCheckboxPrivacy-new","label":"I confirm that I have read and agree to the <a href=\"https://cdn.test.thirdstream.ca/bowvalley/cumulus/BVCU_TermsAndConditions.pdf\" target=\"_blank\">Terms and Conditions for Financial Services - Personal</a>, conditions of the <a target=\"_blank\" href=\"https://cdn.prod.thirdstream.ca/bowvalley/cumulus/MemberCard-Agreement-Terms.pdf\">MemberCard Agreement</a>, and the <a target=\"_blank\" href=\"https://cdn.prod.thirdstream.ca/bowvalley/cumulus/Common-Share-Disclosure.pdf\">Common Share Disclosure Statement</a>.","template":"CheckBox","value":false},{"bindingPath":"$.Customers[0].CustomerDetail.CustomerAgreements.PrivacyPolicy.Code","checkboxSettings":{"checkedRequired":false,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"controlType":"Input","id":"declarationCheckboxSubPrivacy-new","label":"Send me news, events and offers and advice on products and services that may be of interest to me. I understand I can withdraw my consent at any time. We will use and protect your information in accordance with our <a href=\"https://www.bowvalleycu.com/en/privacy?_ga=2.261929352.409369766.1721917296-915917705.1716484392\" target=\"_blank\">privacy policy</a>.","template":"CheckBox","value":false},{"columnOverride":1,"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"controlType":"Divider","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","headingSize":"h1","id":"declarations-section1","template":"Default","textAlignment":"text-left","title":"Declarations"}]},{"bindOnLoad":[{"convertValueTo":"String","queryParam":"edit","targetJsonPath":"$.Private.IsEdit"}],"commandsOnLoad":[{"conditions":[{"targetJsonPath":"$.Private.Lists.Offers","targetValue":""}],"endpointUrl":"api/cumulusworkflow/offers","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Offers"},{"responseJsonPath":"$","targetJsonPath":"$.Private.Offers[0]"},{"targetJsonPath":"$.Products[0].ProductType.Code","value":"PersonalChequing"},{"targetJsonPath":"$.Products[1].ProductType.Code","value":"PersonalChequing"},{"targetJsonPath":"$.Private.Products[0].ProductType.Code","value":"PersonalChequing"},{"targetJsonPath":"$.Private.Products[1].ProductType.Code","value":"PersonalChequing"},{"responseJsonPath":"$[6]","targetJsonPath":"$.Private.Offers[0]"},{"responseJsonPath":"$[6]","targetJsonPath":"$.Private.Offers[1]"},{"responseJsonPath":"$[6].OfferDetail.ProductName","targetJsonPath":"$.Private.DefaultChequingProductName1"},{"responseJsonPath":"$[6].OfferDetail.ProductName","targetJsonPath":"$.Products[0].OfferDetail.ProductName"},{"responseJsonPath":"$[6].OfferDetail.ProductName","targetJsonPath":"$.Products[1].OfferDetail.ProductName"},{"responseJsonPath":"$[6].OfferDetail.ProductName","targetJsonPath":"$.Private.DefaultChequingProductName2"},{"responseJsonPath":"$[10].OfferDetail.ProductName","targetJsonPath":"$.Private.DefaultSavingsProductName1"},{"responseJsonPath":"$[10].OfferDetail.ProductName","targetJsonPath":"$.Private.DefaultSavingsProductName2"},{"responseJsonPath":"$[0].OfferDetail.ProductName","targetJsonPath":"$.Private.DefaultInvestmentsProductName1"},{"responseJsonPath":"$[0].OfferDetail.ProductName","targetJsonPath":"$.Private.DefaultInvestmentsProductName2"},{"responseJsonPath":"$[6]","targetJsonPath":"$.Private.DefaultOffers[0].PersonalChequing"},{"responseJsonPath":"$[6]","targetJsonPath":"$.Private.DefaultOffers[1].PersonalChequing"},{"responseJsonPath":"$[10]","targetJsonPath":"$.Private.DefaultOffers[0].PersonalSavings"},{"responseJsonPath":"$[10]","targetJsonPath":"$.Private.DefaultOffers[1].PersonalSavings"},{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.DefaultOffers[0].Investments"},{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.DefaultOffers[1].Investments"},{"bindingPath":"$..Lists.Offers[?(@.ProductType=='PersonalChequing')]","targetJsonPath":"$.Private.Lists.FilteredOffers.PersonalChequing"},{"bindingPath":"$..Lists.Offers[?(@.ProductType=='PersonalSavings')]","targetJsonPath":"$.Private.Lists.FilteredOffers.PersonalSavings"},{"bindingPath":"$..Lists.Offers[?(@.ProductType=='Investments')]","targetJsonPath":"$.Private.Lists.FilteredOffers.Investments"},{"bindingPath":"$.Private.Lists.FilteredOffers.PersonalChequing","targetJsonPath":"$.Private.Lists.FilteredOffersResult[0]"},{"bindingPath":"$.Private.Lists.FilteredOffers.PersonalSavings","targetJsonPath":"$.Private.Lists.FilteredOffersResult[1]"},{"bindingPath":"$.Private.Lists.FilteredOffers.Investments","targetJsonPath":"$.Private.Lists.FilteredOffersResult[2]"}],"statusCode":200}]},{"conditions":[{"targetJsonPath":"$.Private.Account","targetValue":"*"}],"endpointUrl":"api/cumulusworkflow/offers/{$.Private.Account}","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Offers[0]"},{"responseJsonPath":"$.ProductType","targetJsonPath":"$.Private.Products[0].ProductType.Code"},{"responseJsonPath":"$.ProductType","targetJsonPath":"$.Products[0].ProductType.Code"},{"responseJsonPath":"$.OfferDetail.ProductName","targetJsonPath":"$.Products[0].OfferDetail.ProductName"},{"responseJsonPath":"$.OfferDetail.ProductName","targetJsonPath":"$.Private.DefaultChequingProductName1"},{"responseJsonPath":"$.OfferDetail.ProductName","targetJsonPath":"$.Private.DefaultSavingsProductName1"},{"responseJsonPath":"$.OfferDetail.ProductName","targetJsonPath":"$.Private.DefaultInvestmentProductName1"}],"statusCode":200}]},{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.IntendedUse","targetValue":""}],"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":"$..Lists.IntendedUse[?(@.Category=='Investments')]","targetJsonPath":"$.Private.Lists.FilteredIntendedUse.Investments"},{"bindingPath":"$.Private.Lists.FilteredIntendedUse.PersonalChequing","targetJsonPath":"$.Private.Lists.FilteredIntendedUseResult[0]"},{"bindingPath":"$.Private.Lists.FilteredIntendedUse.PersonalSavings","targetJsonPath":"$.Private.Lists.FilteredIntendedUseResult[1]"},{"bindingPath":"$.Private.Lists.FilteredIntendedUse.Investments","targetJsonPath":"$.Private.Lists.FilteredIntendedUseResult[2]"}],"statusCode":200}]}],"commandsOnSubmit":[{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":""},{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"PersonalChequing"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Code","value":"NotApplied"},{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Description","value":"Not Applied"},{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftAcceptance.AcceptanceStatus.Code","value":"NotAccepted"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"*"},{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"PersonalChequing"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Description"},{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftAcceptance.AcceptanceStatus.Code","value":"NotAccepted"}]}]},{"conditions":[{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"Applied"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.HasOverdraftOffer","value":"Yes"}]}]},{"conditions":[{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"NotApplied"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.HasOverdraftOffer","value":"No"}]}]},{"conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"PersonalSavings"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftAcceptance","value":""},{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.HasOverdraftOffer","value":"No"}]}]},{"conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"Investments"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftAcceptance","value":""},{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.HasOverdraftOffer","value":"No"}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"}}]}],"hasBackButton":false,"hasNextButton":true,"id":"account-selection1","navigation":{"editConditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"add-account-modal"},"targetJsonPath":"$.Private.IsEdit","targetValue":"*"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"nextPageId":"add-account-modal"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":0,"sections":[{"controls":[{"bindingPath":"$.Private.Products[0].ProductType.Code","bindOnChange":true,"controlOptions":{"options":[{"label":"Chequing","value":"PersonalChequing"},{"label":"Savings","value":"PersonalSavings"},{"label":"Investments","value":"Investments"}]},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a mandatory field."},"defaultValue":"PersonalChequing","dropdownSettings":{"bindOnSelect":true,"onSelect":{"dataBindings":[{"bindingPath":"$.Private.Lists.FilteredOffers['{$.Products[0].ProductType.Code}']","targetJsonPath":"$.Private.Lists.FilteredOffersResult[0]"}],"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Lists.FilteredOffers['{$.Private.Products[0].ProductType.Code}']","targetJsonPath":"$.Private.Lists.FilteredOffersResult[0]"},{"bindingPath":"$.Private.DefaultOffers[0]['{$.Private.Products[0].ProductType.Code}']","targetJsonPath":"$.Private.Offers[0]"},{"bindingPath":"$.Private.Lists.FilteredIntendedUse['{$.Private.Products[0].ProductType.Code}']","targetJsonPath":"$.Private.Lists.FilteredIntendedUseResult[0]"},{"bindingPath":"$.Private.DefaultOffers[0]['{$.Private.Products[0].ProductType.Code}'].OfferDetail.ProductName","targetJsonPath":"$.Products[0].OfferDetail.ProductName"},{"bindingPath":"$.Private.DefaultOffers[0]['{$.Private.Products[0].ProductType.Code}'].ProductType","targetJsonPath":"$.Products[0].ProductType.Code"},{"bindingPath":"$.Private.DefaultOffers[0]['{$.Private.Products[0].ProductType.Code}'].ProductType","targetJsonPath":"$.Products[0].ProductType.Description"}]}]},"submitOnSelect":false},"id":"product-type-dropdown1","inputMode":"Required","label":"Please select an account type","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"accounts-term-dropdown1"},{"onChangeTargetId":"accounts-term-dropdown2"},{"onChangeTargetId":"accounts-term-dropdown3"},{"targetJsonPath":"$.Products[0].ProductType.Description"},{"onChangeTargetId":"accounts-dropdown1-1"},{"onChangeTargetId":"accounts-dropdown1-2"},{"onChangeTargetId":"accounts-dropdown1-3"},{"onChangeTargetId":"open-overdraft-account1"},{"onChangeTargetId":"open-overdraft-account-c"},{"onChangeTargetId":"intended-use-dropdown-c-1"},{"onChangeTargetId":"intended-use-dropdown-s-1"},{"onChangeTargetId":"intended-use-dropdown-i-1"},{"onChangeTargetId":"business-relationship-dropdown"},{"onChangeTargetId":"intended-use-description1"},{"onChangeTargetId":"business-relationship-description"},{"targetJsonPath":"$.Products[0].ProductDetail.RegulatoryCompliance.IntendedUse.Code"},{"targetJsonPath":"$.Products[0].ProductDetail.RegulatoryCompliance.IntendedUse.Description"},{"targetJsonPath":"$.Customers[0].CustomerDetail.NatureOfBusinessRelationship.Description"},{"targetJsonPath":"$.Products[0].ProductDetail.ContractTerms.TermLength"},{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer"},{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftAcceptance"},{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftAcceptance"},{"targetJsonPath":"$.Customers[0].CustomerDetail.HasOverdraftOffer"}]}],"template":"DropDown"},{"bindingPath":"$.Products[0].ProductType.Description","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductType.Code","targetValue":"PersonalChequing"}],"controlType":"Input","defaultValue":"Chequing","id":"product-type-description-c","template":"Hidden"},{"bindingPath":"$.Private.Products[0].ProductType.Description","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductType.Code","targetValue":"PersonalSavings"}],"controlType":"Input","defaultValue":"PersonalSavings","id":"product-type-description-s","template":"Hidden"},{"bindingPath":"$.Private.Products[0].ProductType.Description","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductType.Code","targetValue":"Investments"}],"controlType":"Input","defaultValue":"Investments","id":"product-type-description-i","template":"Hidden"},{"bindingPath":"$.Private.DefaultChequingProductName1","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductType.Code","targetValue":"PersonalChequing"}],"controlOptions":{"optionsJsonPath":"$.Private.Lists.FilteredOffers.PersonalChequing"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a mandatory field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$","labelJsonPath":"$.OfferDetail.ProductName","onSelect":{"dataBindings":[{"bindingPath":"$.Private.Offers[0]","targetJsonPath":"$.Private.DefaultOffers[0].PersonalChequing"}],"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Offers[0]","targetJsonPath":"$.Private.DefaultOffers[0].PersonalChequing"},{"bindingPath":"$.Private.DefaultOffers[0]['{$.Private.Products[0].ProductType.Code}'].OfferDetail.ProductName","targetJsonPath":"$.Products[0].OfferDetail.ProductName"},{"bindingPath":"$.Private.DefaultOffers[0]['{$.Private.Products[0].ProductType.Code}'].ProductType","targetJsonPath":"$.Products[0].ProductType.Code"},{"bindingPath":"$.Private.DefaultOffers[0]['{$.Private.Products[0].ProductType.Code}'].ProductType","targetJsonPath":"$.Products[0].ProductType.Description"}]}]},"selectedIdJsonPath":"$.Private.Offers[0]"},"id":"accounts-dropdown1-1","inputMode":"Required","label":"Account","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Products[0].ProductDetail.ContractTerms.TermLength"},{"onChangeTargetId":"open-overdraft-account1"},{"onChangeTargetId":"open-overdraft-account-c"},{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer"},{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftAcceptance"},{"onChangeTargetId":"intended-use-dropdown-c-1"},{"onChangeTargetId":"intended-use-dropdown-s-1"},{"onChangeTargetId":"intended-use-dropdown-i-1"},{"onChangeTargetId":"intended-use-description1"},{"onChangeTargetId":"business-relationship-description"},{"onChangeTargetId":"business-relationship-dropdown"}]}],"template":"DropDown"},{"bindingPath":"$.Private.DefaultSavingsProductName1","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductType.Code","targetValue":"PersonalSavings"}],"controlOptions":{"optionsJsonPath":"$.Private.Lists.FilteredOffers.PersonalSavings"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a mandatory field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$","labelJsonPath":"$.OfferDetail.ProductName","onSelect":{"dataBindings":[{"bindingPath":"$.Private.Offers[0]","targetJsonPath":"$.Private.DefaultOffers[0].PersonalSavings"}],"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Offers[0]","targetJsonPath":"$.Private.DefaultOffers[0].PersonalSavings"},{"bindingPath":"$.Private.DefaultOffers[0]['{$.Private.Products[0].ProductType.Code}'].OfferDetail.ProductName","targetJsonPath":"$.Products[0].OfferDetail.ProductName"},{"bindingPath":"$.Private.DefaultOffers[0]['{$.Private.Products[0].ProductType.Code}'].ProductType","targetJsonPath":"$.Products[0].ProductType.Code"},{"bindingPath":"$.Private.DefaultOffers[0]['{$.Private.Products[0].ProductType.Code}'].ProductType","targetJsonPath":"$.Products[0].ProductType.Description"}]}]},"selectedIdJsonPath":"$.Private.Offers[0]"},"id":"accounts-dropdown1-2","inputMode":"Required","label":"Account","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Products[0].ProductDetail.ContractTerms.TermLength"},{"onChangeTargetId":"open-overdraft-account1"},{"onChangeTargetId":"open-overdraft-account-c"},{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer"},{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftAcceptance"},{"onChangeTargetId":"intended-use-dropdown-c-1"},{"onChangeTargetId":"intended-use-dropdown-s-1"},{"onChangeTargetId":"intended-use-dropdown-i-1"},{"onChangeTargetId":"intended-use-description1"},{"onChangeTargetId":"business-relationship-description"},{"onChangeTargetId":"business-relationship-dropdown"}]}],"template":"DropDown"},{"bindingPath":"$.Private.DefaultInvestmentsProductName1","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductType.Code","targetValue":"Investments"}],"controlOptions":{"optionsJsonPath":"$.Private.Lists.FilteredOffers.Investments"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a mandatory field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$","labelJsonPath":"$.OfferDetail.ProductName","onSelect":{"dataBindings":[{"bindingPath":"$.Private.Offers[0]","targetJsonPath":"$.Private.DefaultOffers[0].Investments"}],"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Offers[0]","targetJsonPath":"$.Private.DefaultOffers[0].Investments"},{"bindingPath":"$.Private.DefaultOffers[0]['{$.Private.Products[0].ProductType.Code}'].OfferDetail.ProductName","targetJsonPath":"$.Products[0].OfferDetail.ProductName"},{"bindingPath":"$.Private.DefaultOffers[0]['{$.Private.Products[0].ProductType.Code}'].ProductType","targetJsonPath":"$.Products[0].ProductType.Code"},{"bindingPath":"$.Private.DefaultOffers[0]['{$.Private.Products[0].ProductType.Code}'].ProductType","targetJsonPath":"$.Products[0].ProductType.Description"}]}]},"selectedIdJsonPath":"$.Private.Offers[0]"},"id":"accounts-dropdown1-3","inputMode":"Required","label":"Account","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"accounts-term-dropdown1"},{"onChangeTargetId":"accounts-term-dropdown2"},{"onChangeTargetId":"accounts-term-dropdown3"},{"targetJsonPath":"$.Products[0].ProductDetail.ContractTerms.TermLength"},{"onChangeTargetId":"open-overdraft-account1"},{"onChangeTargetId":"open-overdraft-account-c"},{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer"},{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftAcceptance"},{"onChangeTargetId":"intended-use-dropdown-c-1"},{"onChangeTargetId":"intended-use-dropdown-s-1"},{"onChangeTargetId":"intended-use-dropdown-i-1"},{"onChangeTargetId":"intended-use-description1"},{"onChangeTargetId":"business-relationship-description"},{"onChangeTargetId":"business-relationship-dropdown"}]}],"template":"DropDown"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductType.Code","targetValue":"PersonalChequing"},{"targetJsonPath":"$.Private.Offers[0].OfferId","targetValue":"heritagechequing"}],"controlType":"HelpText","helpIcon":"fa-light fa-circle-info","helpText":"Note that BVCU Classic account require that at least 1 of the applicants be 60 years or over. If this is a joint application, please ensure that the Primary applicant qualifies.","id":"helptext"},{"allConditionsMustBeMet":true,"bindingPath":"$.Products[0].ProductDetail.ContractTerms.TermLength","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductType.Code","targetValue":"Investments"},{"operator":"Contains","targetJsonPath":"$.Private.Offers[0].OfferId","targetValue":["Alberta.Plus.Term.Deposit1","tdless1yearfeature","Platinum1"]}],"controlOptions":{"options":[{"label":"30 days","value":1},{"label":"60 days","value":2},{"label":"90 days","value":3},{"label":"180 days","value":6},{"label":"270 days","value":9}]},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a mandatory field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.value","labelJsonPath":"$.label","selectedIdJsonPath":"$.Products[0].ProductDetail.ContractTerms.TermLength"},"id":"accounts-term-dropdown1","inputMode":"Required","label":"Term","template":"DropDown"},{"allConditionsMustBeMet":true,"bindingPath":"$.Products[0].ProductDetail.ContractTerms.TermLength","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductType.Code","targetValue":"Investments"},{"operator":"Contains","targetJsonPath":"$.Private.Offers[0].OfferId","targetValue":["Alberta.Plus.Term.Deposit2","Alberta.Plus.Term.Deposit4","First.GIC","Platinum2"]}],"controlOptions":{"options":[{"label":"1 year","value":12},{"label":"2 years","value":24},{"label":"3 years","value":36},{"label":"4 years","value":48},{"label":"5 years","value":60}]},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a mandatory field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.value","labelJsonPath":"$.label","selectedIdJsonPath":"$.Products[0].ProductDetail.ContractTerms.TermLength"},"id":"accounts-term-dropdown2","inputMode":"Required","label":"Term","template":"DropDown"},{"allConditionsMustBeMet":true,"bindingPath":"$.Products[0].ProductDetail.ContractTerms.TermLength","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductType.Code","targetValue":"Investments"},{"targetJsonPath":"$.Private.Offers[0].OfferId","targetValue":"Rate.Lifter"}],"controlOptions":{"options":[{"label":"3 years","value":36}]},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a mandatory field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.value","labelJsonPath":"$.label","selectedIdJsonPath":"$..Products[0].ProductDetail.ContractTerms.TermLength"},"id":"accounts-term-dropdown3","inputMode":"Required","label":"Term","template":"DropDown"},{"allConditionsMustBeMet":true,"bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Offers[0].OfferDetail","targetValue":"*"},{"operator":"NotContains","targetJsonPath":"$.Private.Offers[0].OfferDetail.ProductName","targetValue":"Rate Lifter"}],"controlType":"HTML","customClasses":"background-primary-opaque pb-3 mb-3","description":"<div class=\"px-3 pt-1 pb-2 background-primary-faded\"><h3><b>{$.Private.Offers[0].OfferDetail.ProductName}</b></h3>{$.Private.Offers[0].OfferDetail.ProductDescriptionHtml}<a href=\"{$.Private.Offers[0].OfferDetail.LearnMoreUrl}\" target=\"_blank\">Learn More</a></div>","id":"product-html1"},{"allConditionsMustBeMet":true,"bindOnChange":true,"conditions":[{"operator":"Contains","targetJsonPath":"$.Private.Offers[0].OfferDetail.ProductName","targetValue":"Rate Lifter"}],"controlType":"HTML","customClasses":"background-primary-opaque pb-3 mb-3","description":"<div class=\"px-3 pt-1 pb-2 background-primary-faded\"><h3><b>{$.Private.Offers[0].OfferDetail.ProductName}</b></h3>{$.Private.Offers[0].OfferDetail.ProductDescriptionHtml}</div>","id":"product-html1"},{"bindingPath":"$.Products[0].ProductDetail.RegulatoryCompliance.IntendedUse.Description","bindOnChange":true,"bindOnLoad":true,"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductType.Code","targetValue":"PersonalSavings"}],"controlOptions":{"descriptionControlId":"intended-use-description1","optionsJsonPath":"$.Private.Lists.FilteredIntendedUse.PersonalSavings"},"controlType":"Input","customClasses":"pb-2","dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Code","valueJsonPath":"$.Description"},"id":"intended-use-dropdown-s-1","inputMode":"Required","label":"Please select an intended use","template":"DropDown"},{"bindingPath":"$.Products[0].ProductDetail.RegulatoryCompliance.IntendedUse.Description","bindOnChange":true,"bindOnLoad":true,"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductType.Code","targetValue":"PersonalChequing"}],"controlOptions":{"descriptionControlId":"intended-use-description1","optionsJsonPath":"$.Private.Lists.FilteredIntendedUse.PersonalChequing"},"controlType":"Input","customClasses":"pb-2","dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Code","valueJsonPath":"$.Description"},"id":"intended-use-dropdown-c-1","inputMode":"Required","label":"Please select an intended use","template":"DropDown"},{"bindingPath":"$.Products[0].ProductDetail.RegulatoryCompliance.IntendedUse.Description","bindOnChange":true,"bindOnLoad":true,"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductType.Code","targetValue":"Investments"}],"controlOptions":{"descriptionControlId":"intended-use-description1","optionsJsonPath":"$.Private.Lists.FilteredIntendedUse.Investments"},"controlType":"Input","customClasses":"pb-2","dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Code","valueJsonPath":"$.Description"},"id":"intended-use-dropdown-i-1","inputMode":"Required","label":"Please select an intended use","template":"DropDown"},{"bindingPath":"$.Products[0].ProductDetail.RegulatoryCompliance.IntendedUse.Code","bindOnChange":true,"controlType":"Input","id":"intended-use-description1","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.NatureOfBusinessRelationship.Description","bindOnChange":true,"bindOnLoad":true,"controlOptions":{"options":[{"label":"Full-service banking (chequing/saving/lending)","value":"Full-service banking (chequing/saving/lending)"},{"label":"Manage income and household expenses","value":"Manage income and household expenses"},{"label":"Manage household expenses","value":"Manage household expenses"},{"label":"Manage rental property","value":"Manage rental property"},{"label":"Save for retirement","value":"Save for retirement"}]},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a mandatory field."},"descriptionControlId":"business-relationship-description","dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Code","valueJsonPath":"$.Description"},"id":"business-relationship-dropdown","inputMode":"Required","label":"What is the intended nature of your business relationship with us?","template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.NatureOfBusinessRelationship.Code","bindOnChange":true,"controlType":"Input","id":"business-relationship-description","template":"Hidden"},{"controlType":"HelpText","helpIcon":"fa-light fa-circle-info","helpText":"This information helps us understand the type of banking relationship that we have for you. For example, if your banking relationship with us is 'Full service', we know that you intended to utilize a variety of our products and services but if the banking relationship is 'investment only', then we know that your relationship with us is mainly for the purpose of investing. The intended business relationship can change over time.","id":"helptext"},{"bindingPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Code","conditions":[{"targetJsonPath":"$.Private.Products[0].ProductType.Code","targetValue":"PersonalChequing"}],"controlOptions":{"options":[{"label":"Yes","value":"Applied"},{"label":"No","value":"NotApplied"}]},"controlType":"Input","customClasses":"mt-3","id":"open-overdraft-account1","inputMode":"Required","label":"Would you like to add Overdraft Protection?","radioListSettings":{"bindOnSelect":true,"submitOnSelect":false},"template":"RadioList"},{"bindingPath":"$.Products[0].ProductDetail.OverdraftAcceptance.AcceptanceStatus.Code","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus","targetValue":"*"}],"controlType":"Input","defaultValue":"NotAccepted","id":"open-overdraft-account-c","template":"Hidden"}],"description":"Please select the account type and then the specific account you'd like to open.","groupPanelSettings":{"customClasses":"bg-white m=0"},"id":"account-selection-section1","title":"Account Selection"}],"updateButtonLabel":"Next"},{"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Private.AddSecondAccount","targetValue":"No"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Products","targetJsonPath":"$.Private.Selected.Products"},{"targetJsonPath":"$.Products"},{"bindingPath":"$.Private.Selected.Products[0]","targetJsonPath":"$.Products[0]"},{"targetJsonPath":"$.Private.Offers[1]"}]}]},{"conditions":[{"targetJsonPath":"$.Private.AddSecondAccount","targetValue":"Yes"},{"targetJsonPath":"$.Private.Offers[1].OfferDetail","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Products","targetJsonPath":"$.Private.Selected.Products"},{"targetJsonPath":"$.Products"},{"bindingPath":"$.Private.Selected.Products[0]","targetJsonPath":"$.Products[0]"},{"targetJsonPath":"$.Products[1].ProductType.Code","value":"PersonalChequing"},{"bindingPath":"$.Private.Lists.FilteredOffers.PersonalChequing[4]","targetJsonPath":"$.Private.Offers[1]"}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"}}]}],"id":"add-account-modal","modalOptions":{"modalSize":"extra-large"},"navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"account-selection2"},"targetJsonPath":"$.Private.AddSecondAccount","targetValue":"Yes"}],"editConditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"account-selection2"},"targetJsonPath":"$.Private.AddSecondAccount","targetValue":"Yes"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirmation"},"targetJsonPath":"$.Private.AddSecondAccount","targetValue":"No"}],"nextPageId":"personal-information"},"pageMode":"Modal","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":4,"resetToDefaultOnBackClick":true,"sections":[{"columns":2,"controls":[{"columnOverride":1,"controlType":"Divider","customClasses":"mb-3","id":"divider1"},{"bindingPath":"$.Private.AddSecondAccount","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 open another account?","radioListSettings":{"bindOnSelect":true,"submitOnSelect":false},"template":"RadioList"},{"columnOverride":1,"controlType":"Divider","customClasses":"mb-4","id":"divider2"},{"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 mt-0 p-0","headingSize":"h1","id":"add-account","template":"Default","textAlignment":"text-left","title":"Add another Account"}]},{"bindOnLoad":[{"targetJsonPath":"$.Private.ShowDobValidation","value":""}],"commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.IntendedUse","targetValue":""}],"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":"$..Lists.IntendedUse[?(@.Category=='Investments')]","targetJsonPath":"$.Private.Lists.FilteredIntendedUse.Investments"},{"bindingPath":"$.Private.Lists.FilteredIntendedUse.PersonalChequing","targetJsonPath":"$.Private.Lists.FilteredIntendedUseResult[0]"},{"bindingPath":"$.Private.Lists.FilteredIntendedUse.PersonalSavings","targetJsonPath":"$.Private.Lists.FilteredIntendedUseResult[1]"},{"bindingPath":"$.Private.Lists.FilteredIntendedUse.Investments","targetJsonPath":"$.Private.Lists.FilteredIntendedUseResult[2]"}],"statusCode":200}]}],"commandsOnSubmit":[{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Offers[1].OfferDetail.ProductName","targetJsonPath":"$.Products[1].OfferDetail.ProductName"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":""},{"targetJsonPath":"$.Products[1].ProductType.Code","targetValue":"PersonalChequing"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer.OverdraftStatus.Code","value":"NotApplied"},{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer.OverdraftStatus.Description","value":"Not Applied"},{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftAcceptance.AcceptanceStatus.Code","value":"NotAccepted"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"*"},{"targetJsonPath":"$.Products[1].ProductType.Code","targetValue":"PersonalChequing"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Products[1].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer.OverdraftStatus.Description"},{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftAcceptance.AcceptanceStatus.Code","value":"NotAccepted"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code=='Applied')].OfferDetail.ProductName","targetValue":"*"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.HasOverdraftOffer","value":"Yes"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"operator":"Contains","targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":["","NotApplied"]},{"operator":"Contains","targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":["","NotApplied"]}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.HasOverdraftOffer","value":"No"}]}]},{"conditions":[{"targetJsonPath":"$.Products[1].ProductType.Code","targetValue":"PersonalSavings"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftAcceptance","value":""},{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer","value":""}]}]},{"conditions":[{"targetJsonPath":"$.Products[1].ProductType.Code","targetValue":"Investments"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftAcceptance","value":""},{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer","value":""}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"}}]}],"hasBackButton":true,"hasNextButton":true,"id":"account-selection2","navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"editConditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirmation"},"targetJsonPath":"$.Private.IsEdit","targetValue":"*"}],"nextPageId":"personal-information"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":0,"sections":[{"controls":[{"bindingPath":"$.Private.Products[1].ProductType.Code","bindOnChange":true,"bindOnLoad":true,"controlOptions":{"options":[{"label":"Chequing","value":"PersonalChequing"},{"label":"Savings","value":"PersonalSavings"},{"label":"Investments","value":"Investments"}]},"controlType":"Input","customClasses":"mt-4 pb-2","defaultValue":"PersonalChequing","dropdownSettings":{"bindOnSelect":true,"onSelect":{"dataBindings":[{"bindingPath":"$.Private.Lists.FilteredOffers['{$.Private.Products[1].ProductType.Code}']","targetJsonPath":"$.Private.Lists.FilteredOffersResult[1]"}],"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Lists.FilteredOffers['{$.Private.Products[1].ProductType.Code}']","targetJsonPath":"$.Private.Lists.FilteredOffersResult[1]"},{"bindingPath":"$.Private.DefaultOffers[1]['{$.Private.Products[1].ProductType.Code}']","targetJsonPath":"$.Private.Offers[1]"},{"bindingPath":"$.Private.Lists.FilteredIntendedUse['{$.Private.Products[1].ProductType.Code}']","targetJsonPath":"$.Private.Lists.FilteredIntendedUseResult[1]"},{"bindingPath":"$.Private.DefaultOffers[1]['{$.Private.Products[1].ProductType.Code}'].OfferDetail.ProductName","targetJsonPath":"$.Products[1].OfferDetail.ProductName"},{"bindingPath":"$.Private.DefaultOffers[1]['{$.Private.Products[1].ProductType.Code}'].ProductType","targetJsonPath":"$.Products[1].ProductType.Code"},{"bindingPath":"$.Private.DefaultOffers[1]['{$.Private.Products[1].ProductType.Code}'].ProductType","targetJsonPath":"$.Products[1].ProductType.Description"}]}]},"submitOnSelect":false},"id":"product-type-dropdown2","inputMode":"Required","label":"Please select an account type","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Products[1].ProductType.Description"},{"targetJsonPath":"$.Products[1].ProductDetail.RegulatoryCompliance"},{"onChangeTargetId":"accounts-term-dropdown11"},{"onChangeTargetId":"accounts-term-dropdown12"},{"onChangeTargetId":"accounts-term-dropdown13"},{"onChangeTargetId":"accounts-dropdown2-1"},{"onChangeTargetId":"accounts-dropdown2-2"},{"onChangeTargetId":"accounts-dropdown2-3"},{"onChangeTargetId":"intended-use-dropdown-c-2"},{"onChangeTargetId":"intended-use-dropdown-s-2"},{"onChangeTargetId":"intended-use-dropdown-i-2"},{"onChangeTargetId":"intended-use-description2"},{"onChangeTargetId":"open-overdraft-account-2"},{"onChangeTargetId":"open-overdraft-account-c1"},{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer"},{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftAcceptance"},{"targetJsonPath":"$.Customers[0].CustomerDetail.HasOverdraftOffer"}]}],"template":"DropDown"},{"bindingPath":"$.Products[1].ProductType.Description","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Products[1].ProductType.Code","targetValue":"PersonalChequing"}],"controlType":"Input","defaultValue":"Chequing","id":"product-type-description2","template":"Hidden"},{"bindingPath":"$.Products[1].ProductType.Description","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Products[1].ProductType.Code","targetValue":"PersonalSavings"}],"controlType":"Input","defaultValue":"Savings","id":"product-type-description1","template":"Hidden"},{"bindingPath":"$.Products[1].ProductType.Description","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Products[1].ProductType.Code","targetValue":"Investments"}],"controlType":"Input","defaultValue":"Investments","id":"product-type-description3","template":"Hidden"},{"bindingPath":"$.Private.DefaultChequingProductName2","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Products[1].ProductType.Code","targetValue":"PersonalChequing"}],"controlOptions":{"optionsJsonPath":"$.Private.Lists.FilteredOffers.PersonalChequing"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a mandatory field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$","labelJsonPath":"$.OfferDetail.ProductName","onSelect":{"dataBindings":[{"bindingPath":"$.Private.Offers[1]","targetJsonPath":"$.Private.DefaultOffers[1].PersonalChequing"}],"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Offers[1]","targetJsonPath":"$.Private.DefaultOffers[1].PersonalChequing"},{"bindingPath":"$.Private.DefaultOffers[1]['{$.Private.Products[1].ProductType.Code}'].OfferDetail.ProductName","targetJsonPath":"$.Products[1].OfferDetail.ProductName"},{"bindingPath":"$.Private.DefaultOffers[1]['{$.Private.Products[1].ProductType.Code}'].ProductType","targetJsonPath":"$.Products[1].ProductType.Code"},{"bindingPath":"$.Private.DefaultOffers[1]['{$.Private.Products[1].ProductType.Code}'].ProductType","targetJsonPath":"$.Products[1].ProductType.Description"}]}]},"selectedIdJsonPath":"$.Private.Offers[1]"},"id":"accounts-dropdown2-1","inputMode":"Required","label":"Account","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Products[1].ProductDetail.ContractTerms.TermLength"},{"onChangeTargetId":"open-overdraft-account-2"},{"onChangeTargetId":"open-overdraft-account-c1"},{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer"},{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftAcceptance"},{"onChangeTargetId":"intended-use-dropdown-c-2"},{"onChangeTargetId":"intended-use-dropdown-s-2"},{"onChangeTargetId":"intended-use-dropdown-i-2"},{"onChangeTargetId":"intended-use-description2"},{"onChangeTargetId":"accounts-term-dropdown11"},{"onChangeTargetId":"accounts-term-dropdown12"},{"onChangeTargetId":"accounts-term-dropdown13"},{"targetJsonPath":"$.Products[1].ProductType.Description"},{"targetJsonPath":"$.Products[1].ProductDetail.RegulatoryCompliance"}]}],"template":"DropDown"},{"bindingPath":"$.Private.DefaultSavingsProductName1","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Products[1].ProductType.Code","targetValue":"PersonalSavings"}],"controlOptions":{"optionsJsonPath":"$.Private.Lists.FilteredOffers.PersonalSavings"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a mandatory field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$","labelJsonPath":"$.OfferDetail.ProductName","onSelect":{"dataBindings":[{"bindingPath":"$.Private.Offers[1]","targetJsonPath":"$.Private.DefaultOffers[1].PersonalSavings"}],"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Offers[1]","targetJsonPath":"$.Private.DefaultOffers[1].PersonalSavings"},{"bindingPath":"$.Private.DefaultOffers[1]['{$.Private.Products[1].ProductType.Code}'].OfferDetail.ProductName","targetJsonPath":"$.Products[1].OfferDetail.ProductName"},{"bindingPath":"$.Private.DefaultOffers[1]['{$.Private.Products[1].ProductType.Code}'].ProductType","targetJsonPath":"$.Products[1].ProductType.Code"},{"bindingPath":"$.Private.DefaultOffers[1]['{$.Private.Products[1].ProductType.Code}'].ProductType","targetJsonPath":"$.Products[1].ProductType.Description"}]}]},"selectedIdJsonPath":"$.Private.Offers[1]"},"id":"accounts-dropdown2-2","inputMode":"Required","label":"Account","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Products[1].ProductDetail.ContractTerms.TermLength"},{"onChangeTargetId":"open-overdraft-account-2"},{"onChangeTargetId":"open-overdraft-account-c1"},{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer"},{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftAcceptance"},{"onChangeTargetId":"intended-use-dropdown-c-2"},{"onChangeTargetId":"intended-use-dropdown-s-2"},{"onChangeTargetId":"intended-use-dropdown-i-2"},{"onChangeTargetId":"intended-use-description2"},{"onChangeTargetId":"accounts-term-dropdown11"},{"onChangeTargetId":"accounts-term-dropdown12"},{"onChangeTargetId":"accounts-term-dropdown13"},{"targetJsonPath":"$.Products[1].ProductType.Description"},{"targetJsonPath":"$.Products[1].ProductDetail.RegulatoryCompliance"}]}],"template":"DropDown"},{"bindingPath":"$.Private.DefaultInvestmentsProductName1","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Products[1].ProductType.Code","targetValue":"Investments"}],"controlOptions":{"optionsJsonPath":"$.Private.Lists.FilteredOffers.Investments"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a mandatory field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$","labelJsonPath":"$.OfferDetail.ProductName","onSelect":{"dataBindings":[{"bindingPath":"$.Private.Offers[1]","targetJsonPath":"$.Private.DefaultOffers[1].Investments"}],"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Offers[1]","targetJsonPath":"$.Private.DefaultOffers[1].Investments"},{"bindingPath":"$.Private.DefaultOffers[1]['{$.Private.Products[1].ProductType.Code}'].OfferDetail.ProductName","targetJsonPath":"$.Products[1].OfferDetail.ProductName"},{"bindingPath":"$.Private.DefaultOffers[1]['{$.Private.Products[1].ProductType.Code}'].ProductType","targetJsonPath":"$.Products[1].ProductType.Code"},{"bindingPath":"$.Private.DefaultOffers[1]['{$.Private.Products[1].ProductType.Code}'].ProductType","targetJsonPath":"$.Products[1].ProductType.Description"}]}]},"selectedIdJsonPath":"$.Private.Offers[1]"},"id":"accounts-dropdown2-3","inputMode":"Required","label":"Account","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"accounts-term-dropdown11"},{"onChangeTargetId":"accounts-term-dropdown12"},{"onChangeTargetId":"accounts-term-dropdown13"},{"targetJsonPath":"$.Products[1].ProductDetail.ContractTerms.TermLength"},{"onChangeTargetId":"open-overdraft-account-2"},{"onChangeTargetId":"open-overdraft-account-c1"},{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer"},{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftAcceptance"},{"onChangeTargetId":"intended-use-dropdown-c-2"},{"onChangeTargetId":"intended-use-dropdown-s-2"},{"onChangeTargetId":"intended-use-dropdown-i-2"},{"onChangeTargetId":"intended-use-description2"},{"targetJsonPath":"$.Products[1].ProductType.Description"},{"targetJsonPath":"$.Products[1].ProductDetail.RegulatoryCompliance"}]}],"template":"DropDown"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Products[1].ProductType.Code","targetValue":"PersonalChequing"},{"targetJsonPath":"$.Private.Offers[1].OfferId","targetValue":"heritagechequing"}],"controlType":"HelpText","helpIcon":"fa-light fa-circle-info","helpText":"Note that BVCU Classic account require that at least 1 of the applicants be 60 years or over. If this is a joint application, please ensure that the Primary applicant qualifies.","id":"helptext"},{"allConditionsMustBeMet":true,"bindingPath":"$.Products[1].ProductDetail.ContractTerms.TermLength","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Products[1].ProductType.Code","targetValue":"Investments"},{"operator":"Contains","targetJsonPath":"$.Private.Offers[1].OfferId","targetValue":["Alberta.Plus.Term.Deposit1","tdless1yearfeature","Platinum1"]}],"controlOptions":{"options":[{"label":"30 days","value":1},{"label":"60 days","value":2},{"label":"90 days","value":3},{"label":"180 days","value":6},{"label":"270 days","value":9}]},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a mandatory field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.value","labelJsonPath":"$.label","selectedIdJsonPath":"$.Products[1].ProductDetail.ContractTerms.TermLength"},"id":"accounts-term-dropdown11","inputMode":"Required","label":"Term","template":"DropDown"},{"allConditionsMustBeMet":true,"bindingPath":"$.Products[1].ProductDetail.ContractTerms.TermLength","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Products[1].ProductType.Code","targetValue":"Investments"},{"operator":"Contains","targetJsonPath":"$.Private.Offers[1].OfferId","targetValue":["Alberta.Plus.Term.Deposit2","Alberta.Plus.Term.Deposit4","First.GIC","Platinum2"]}],"controlOptions":{"options":[{"label":"1 year","value":12},{"label":"2 years","value":24},{"label":"3 years","value":36},{"label":"4 years","value":48},{"label":"5 years","value":60}]},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a mandatory field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.value","labelJsonPath":"$.label","selectedIdJsonPath":"$.Products[1].ProductDetail.ContractTerms.TermLength"},"id":"accounts-term-dropdown12","inputMode":"Required","label":"Term","template":"DropDown"},{"allConditionsMustBeMet":true,"bindingPath":"$.Products[1].ProductDetail.ContractTerms.TermLength","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Products[1].ProductType.Code","targetValue":"Investments"},{"targetJsonPath":"$.Private.Offers[1].OfferId","targetValue":"Rate.Lifter"}],"controlOptions":{"options":[{"label":"3 years","value":36}]},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a mandatory field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.value","labelJsonPath":"$.label","selectedIdJsonPath":"$..Products[1].ProductDetail.ContractTerms.TermLength"},"id":"accounts-term-dropdown13","inputMode":"Required","label":"Term","template":"DropDown"},{"allConditionsMustBeMet":true,"bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Offers[1].OfferDetail","targetValue":"*"}],"controlType":"HTML","customClasses":"background-primary-opaque pb-3 mb-3","description":"<div class=\"px-5 pt-1 pb-4 background-primary-faded\"><h2><b>{$.Private.Offers[1].OfferDetail.ProductName}.</b></h2>{$.Private.Offers[1].OfferDetail.ProductDescriptionHtml}<a href=\"{$.Private.Offers[1].OfferDetail.LearnMoreUrl}\" target=\"_blank\">Learn More</a>{$.Private.Offers[0].OfferDetail.ProductFinePrintHtml}</div>","id":"product-html2"},{"allConditionsMustBeMet":true,"bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Offers[1].OfferDetail","targetValue":"*"},{"operator":"Contains","targetJsonPath":"$.Private.Offers[1].OfferDetail.ProductName","targetValue":"Rate Lifter"}],"controlType":"HTML","customClasses":"background-primary-opaque pb-3 mb-3","description":"<div class=\"px-5 pt-1 pb-4 background-primary-faded\"><h2><b>{$.Private.Offers[1].OfferDetail.ProductName}.</b></h2>{$.Private.Offers[1].OfferDetail.ProductDescriptionHtml}</div>","id":"product-html2"},{"bindingPath":"$.Products[1].ProductDetail.RegulatoryCompliance.IntendedUse.Description","bindOnChange":true,"bindOnLoad":true,"conditions":[{"targetJsonPath":"$.Private.Products[1].ProductType.Code","targetValue":"PersonalChequing"}],"controlOptions":{"descriptionControlId":"intended-use-description2","optionsJsonPath":"$.Private.Lists.FilteredIntendedUse['PersonalChequing']"},"controlType":"Input","customClasses":"pb-2","dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Code","valueJsonPath":"$.Description"},"id":"intended-use-dropdown-c-2","inputMode":"Required","label":"Please select an intended use","template":"DropDown"},{"bindingPath":"$.Products[1].ProductDetail.RegulatoryCompliance.IntendedUse.Description","bindOnChange":true,"bindOnLoad":true,"conditions":[{"targetJsonPath":"$.Private.Products[1].ProductType.Code","targetValue":"PersonalSavings"}],"controlOptions":{"descriptionControlId":"intended-use-description2","optionsJsonPath":"$.Private.Lists.FilteredIntendedUse['PersonalSavings']"},"controlType":"Input","customClasses":"pb-2","dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Code","valueJsonPath":"$.Description"},"id":"intended-use-dropdown-s-2","inputMode":"Required","label":"Please select an intended use","template":"DropDown"},{"bindingPath":"$.Products[1].ProductDetail.RegulatoryCompliance.IntendedUse.Description","bindOnChange":true,"bindOnLoad":true,"conditions":[{"targetJsonPath":"$.Private.Products[1].ProductType.Code","targetValue":"Investments"}],"controlOptions":{"descriptionControlId":"intended-use-description2","optionsJsonPath":"$.Private.Lists.FilteredIntendedUse['Investments']"},"controlType":"Input","customClasses":"pb-2","dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Code","valueJsonPath":"$.Description"},"id":"intended-use-dropdown-i-2","inputMode":"Required","label":"Please select an intended use","template":"DropDown"},{"bindingPath":"$.Products[1].ProductDetail.RegulatoryCompliance.IntendedUse.Code","bindOnChange":true,"controlType":"Input","id":"intended-use-description2","template":"Hidden"},{"allConditionsMustBeMet":true,"bindingPath":"$.Products[1].ProductDetail.OverdraftOffer.OverdraftStatus.Code","conditions":[{"targetJsonPath":"$.Private.Products[1].ProductType.Code","targetValue":"PersonalChequing"}],"controlOptions":{"options":[{"label":"Yes","value":"Applied"},{"label":"No","value":"NotApplied"}]},"controlType":"Input","customClasses":"mt-3","id":"open-overdraft-account-2","inputMode":"Required","label":"Would you like to add Overdraft Protection?","radioListSettings":{"bindOnSelect":true,"submitOnSelect":false},"template":"RadioList"},{"bindingPath":"$.Products[1].ProductDetail.OverdraftAcceptance.AcceptanceStatus.Code","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer.OverdraftStatus","targetValue":"*"}],"controlType":"Input","defaultValue":"NotAccepted","id":"open-overdraft-account-c1","template":"Hidden"}],"description":"Please select the account type and then the specific account you'd like to open.","groupPanelSettings":{"customClasses":"mb-3"},"headingSize":"h1","id":"account-selection-section2","title":"Account 2 Selection"}]},{"commandsOnLoad":[{"body":[{"parameterName":"AccessType","valueJsonPath":"$.Customers[0].AccessType"},{"parameterName":"CustomerType","valueJsonPath":"$.Customers[0].CustomerType"}],"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"},{"targetJsonPath":"$.Private.Sin.MemberType","value":"INDIVIDUAL"}],"statusCode":201}]},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.HasOverdraftOffer","targetValue":"No"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Previous.Search"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Previous.LivedMoreThanTwoYears"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.UnitNumber"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.CivicNumber"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.StreetName"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.CityName"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.Province.Code"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.Country.Code"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.PostalCode"}]}]}],"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.SameAsAddressType","value":"Home"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Previous.LivedMoreThanTwoYears","targetValue":"No"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.Duration.MinimumMonthCount","value":24}]}]},{"endpointUrl":"api/branchlocator/branches?originAddress={$.Private.Customers[0].CustomerDetail.AddressContacts.Home.Search.label}","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Branches"}],"statusCode":200}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Search","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CityName","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber","value":""}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Search","targetValue":"*"},{"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.CityName","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CityName"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Country.Code","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Country.Code"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Search","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CityName","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.BoxNumber","value":""}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Search","targetValue":"*"},{"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.CityName","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CityName"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.BoxNumber","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalBoxNumber"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Country.Code","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Country.Code"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code"}]}]},{"allowNull":false,"body":[{"parameterName":"AddressContacts","valueJsonPath":"$.Customers[0].CustomerDetail.AddressContacts"},{"parameterName":"EmailContacts","valueJsonPath":"$.Customers[0].CustomerDetail.EmailContacts"},{"parameterName":"FirstName","valueJsonPath":"$.Customers[0].CustomerDetail.FirstName"},{"parameterName":"LastName","valueJsonPath":"$.Customers[0].CustomerDetail.LastName"},{"parameterName":"CustomerAgreements","valueJsonPath":"$.Customers[0].CustomerDetail.CustomerAgreements"},{"parameterName":"PhoneContacts","valueJsonPath":"$.Customers[0].CustomerDetail.PhoneContacts"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[0].CustomerId}/detail","httpMethod":"PUT","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"statusCode":200}]}],"hasBackButton":true,"hasNextButton":true,"id":"personal-information","navigation":{"nextPageId":"confirm-sms"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":1,"resetToDefaultOnBackClick":true,"restrictions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"sections":[{"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.FirstName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"customValidators":[{"errorMessage":"First name must start and end with a letter, and may contain only letters, hyphens, apostrophe (') or spaces.","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z]([ .,'-]*?[A-Za-z])*$"},"validator":"Regex"}],"id":"firstName","inputMode":"Required","label":"Legal first name","maxLength":50,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox"},{"bindingPath":"$.Customers[0].CustomerDetail.MiddleName","controlType":"Input","customClasses":"pb-2","customValidators":[{"errorMessage":"Middle name must start and end with a letter, and may contain only letters, hyphens, apostrophe (') or spaces.","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z]([ .,'-]*?[A-Za-z])*$"},"validator":"Regex"}],"id":"middleName","inputMode":"Optional","label":"Legal middle name (if applicable)","maxLength":50,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox"},{"bindingPath":"$.Customers[0].CustomerDetail.LastName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"customValidators":[{"errorMessage":"Last name must start and end with a letter, and may contain only letters, hyphens, apostrophe (') or spaces.","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z]([ .,'-]*?[A-Za-z])*$"},"validator":"Regex"}],"id":"lastName","inputMode":"Required","label":"Legal last name","maxLength":50,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox"},{"bindingPath":"$.Customers[0].CustomerDetail.DateOfBirth","bindOnChange":true,"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"datepickerSettings":{"ageJsonPath":"$.Private.Customers[0].CustomerDetail.Age","defaultDate":"1980,1,1","minAge":18},"iconLeft":"fal fa-calendar-alt","id":"dob","inputMode":"Required","label":"Date of birth","template":"DatePicker"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Offers[0].OfferId","targetValue":"heritagechequing"},{"operator":"LessThan","targetJsonPath":"$.Private.Customers[0].CustomerDetail.Age","targetValue":59}],"controlType":"HTML","description":"<small class='-mt-2 ml-3 p-invalid block'>You must be 60 years or over to apply for a BVCU Classic account. Please click the back button and select a different account.</small>","id":"classic-age-error"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Offers[1].OfferId","targetValue":"heritagechequing"},{"operator":"LessThan","targetJsonPath":"$.Private.Customers[0].CustomerDetail.Age","targetValue":59}],"controlType":"HTML","description":"<small class='-mt-2 ml-3 p-invalid block'>You must be 60 years or over to apply for a BVCU Classic account. Please click the back button and select a different account.</small>","id":"classic2-age-error"},{"allConditionsMustBeMet":true,"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialInsuranceNumber","conditions":[{"targetJsonPath":"$.Products[?(@.ProductType.Code=='PersonalChequing')].OfferDetail.ProductName","targetValue":"*"},{"targetJsonPath":"$.Products[?(@.ProductType.Code=='PersonalSavings')].OfferDetail.ProductName","targetValue":""},{"targetJsonPath":"$.Products[?(@.ProductType.Code=='Investments')].OfferDetail.ProductName","targetValue":""}],"controlType":"Input","customClasses":"pb-2","customValidators":[{"errorMessage":"Oops. You have entered an invalid Social Insurance Number.","validator":"SocialInsuranceNumber"}],"id":"sinNumber","inputMask":"999-999-999","inputMode":"Optional","keyboardType":"Phone","label":"Social insurance number (optional)","regexMessage":"Oops. You have entered an invalid Social Insurance Number.","regexPattern":"^(\\d{3}-\\d{3}-\\d{3})|(\\d{9})$","template":"TextBox"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialInsuranceNumber","conditions":[{"targetJsonPath":"$.Products[?(@.ProductType.Code=='PersonalSavings')].OfferDetail.ProductName","targetValue":"*"},{"targetJsonPath":"$.Products[?(@.ProductType.Code=='Investments')].OfferDetail.ProductName","targetValue":"*"}],"controlType":"Input","customClasses":"pb-2","customValidators":[{"errorMessage":"Oops. You have entered an invalid Social Insurance Number.","validator":"SocialInsuranceNumber"}],"id":"sinNumber1","inputMask":"999-999-999","inputMode":"Required","keyboardType":"Phone","label":"Social insurance number","regexMessage":"Oops. You have entered an invalid Social Insurance Number.","regexPattern":"^(\\d{3}-\\d{3}-\\d{3})|(\\d{9})$","template":"TextBox"},{"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"Your Social Insurance Number will be used for tax reporting purposes and to help us confirm your identity. This is an optional field, unless applying for any one of or a combination of an Investment account, Personal Savings account or Overdraft Protection.","id":"sin-helpText"},{"bindingPath":"$.Private.MemberShare.ProductType.Code","controlType":"Input","defaultValue":"MemberShare","id":"ProductNamePmCode","template":"Hidden"},{"bindingPath":"$.Private.MemberShare.ProductName","controlType":"Input","defaultValue":"Member Share","id":"ProductNamePm","template":"Hidden"},{"bindingPath":"$.Private.MemberShare.ProductDetail.RegulatoryCompliance.IntendedUse.Code","controlType":"Input","defaultValue":"MembershipShares","id":"ProductNamePmCodeIUC","template":"Hidden"},{"bindingPath":"$.Private.MemberShare.ProductDetail.RegulatoryCompliance.IntendedUse.Description","controlType":"Input","defaultValue":"Membership equity shares","id":"ProductNamePmCodeIUD","template":"Hidden"}],"id":"about-you","title":"About You"},{"controls":[{"addressInputs":{"cityName":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.CityName","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"cityName","inputMode":"Required","label":"City","maxLength":50,"template":"TextBox"},"civicNumber":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.CivicNumber","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"civicNumber","inputMode":"Required","label":"Street number","maxLength":10,"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"},"postalCode":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.PostalCode","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"postalCode","inputMask":"a9a-9a9","inputMode":"Required","label":"Postal code","regexMessage":"Invalid postal code","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":"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":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Description","valueJsonPath":"$.Code"},"enabled":true,"id":"provinceCode","inputMode":"Required","label":"Province","regexMessage":"Our products and services are currently only available to Alberta residents.","template":"DropDown"},"streetName":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.StreetName","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"streetName","inputMode":"Required","label":"Street name","maxLength":35,"regexMessage":"Please select a non-PO box address","regexPattern":"(^((?![Pp][Oo]\\s[Bb][Oo][Xx]|[Pp][Oo][Bb][Oo][Xx]).)*$)(^[a-zA-Z0-9 -#]*$)?","template":"TextBox"},"unitNumber":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.UnitNumber","bindOnChange":true,"controlType":"Input","id":"unitNumber","inputMode":"Optional","label":"Apt/Unit #","maxLength":10,"template":"TextBox"}},"addressSettings":{"manualEntryType":"Modal","modalButtonLabel":"Submit","modalDescription":"Please enter your address manually below.","modalTitle":"Enter Manual Address","poBoxRestrictionMessage":"Please select a non-PO box address","restrictPoBox":true,"toggleLinkLabel":{"searchLabel":"Enter Address Manually"}},"autocompleteSettings":{"bindOnSelect":true},"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.Search","controlType":"Input","customClasses":"max-w-full","customValidationMessages":{"required":"This is a required field."},"customValidators":[{"errorMessage":"Our products and services are currently only available to Alberta residents.","parameters":{"objectProperty":"label","regexPattern":"^.*?, AB, ?.*$"},"validator":"Regex"}],"iconLeft":"fal fa-map-marker-alt","id":"addressSearch","inputMode":"Required","label":"Physical address","template":"AddressSearch"},{"addressInputs":{"addressType":{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","bindOnLoad":true,"controlOptions":{"options":[{"label":"Street Address","value":"STREET"},{"label":"PO Box Address","value":"POBOX"}]},"controlType":"Input","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"}]},{"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.StreetName"},{"onChangeTargetId":"streetNameM"}]}],"template":"DropDown"},"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":40,"template":"TextBox"},"cityName":{"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.CityName","bindOnChange":true,"controlType":"Input","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":"*"},{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Search","targetValue":"*"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"City","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"civicNumber":{"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","id":"civicNumberM","inputMode":"Optional","inputModeConditions":[{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"},{"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Search","targetValue":"*"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"Street number","maxLength":10,"regexMessage":"Please enter a valid street number","regexPattern":"(^[0-9A-Za-z ]*$)?","template":"TextBox"},"country":{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Country.Code","bindOnChange":true,"controlOptions":{"options":[{"label":"Canada","value":"CA"}]},"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"countryM","inputMode":"Optional","label":"Country","template":"DropDown"},"postalCode":{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"postalCodeM","inputMask":"a9a-9a9","inputMode":"Optional","label":"Postal code","regexMessage":"Invalid postal code","regexPattern":"^([A-Za-z]\\d[A-Za-z]\\d[A-Za-z]\\d)$","template":"TextBox","transformStringTo":"Uppercase"},"provinceCode":{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code","bindOnChange":true,"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":"Saskatchewan","value":"SK"},{"label":"Yukon","value":"YT"}]},"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Description","valueJsonPath":"$.Code"},"enabled":true,"id":"provinceCodeM","inputMode":"Optional","label":"Province","template":"DropDown"},"streetName":{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"streetNameM","inputMode":"Optional","label":"Street name","maxLength":35,"template":"TextBox"},"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":10,"template":"TextBox"}},"addressSettings":{"enableResetOnManualEntry":true,"enableValidationsOnManualEntry":true,"manualEntryType":"Modal","modalButtonLabel":"Submit","modalDescription":"Please enter your address manually below.","modalTitle":"Enter Manual Address","resetAddressOnClose":true,"resetOnManualEntryDelayMS":200,"restrictPoBox":false,"toggleLinkLabel":{"searchLabel":"Enter Address Manually"},"validationsOnManualEntryDelayMS":50},"autocompleteSettings":{"bindOnSelect":true,"forceSelection":false},"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Search","bindOnChange":true,"controlType":"Input","customClasses":"max-w-full mb-3","iconLeft":"fal fa-map-marker-alt","id":"addressSearchMail","inputMode":"Required","label":"Mailing address","template":"AddressSearch"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Previous.LivedMoreThanTwoYears","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.HasOverdraftOffer","targetValue":"Yes"}],"controlOptions":{"options":[{"label":"Yes","value":"Yes"},{"label":"No","value":"No"}]},"controlType":"Input","customClasses":"mt-3 pb-2","customValidationMessages":{"required":"This is a required field."},"id":"previous-address-question","inputMode":"Required","label":"Have you lived at this address for more than two years?","radioListSettings":{"bindOnSelect":true,"submitOnSelect":false},"resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"addressSearchPrevious"},{"onChangeTargetId":"unitNumberP"},{"onChangeTargetId":"poBoxNumberP"},{"onChangeTargetId":"civicNumberP"},{"onChangeTargetId":"streetNameP"},{"onChangeTargetId":"cityNameP"},{"onChangeTargetId":"provinceCodeP"},{"onChangeTargetId":"postalCodeP"},{"onChangeTargetId":"countryP"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Previous.Search"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.UnitNumber"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.UnitNumber"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.CivicNumber"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.StreetName"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.CityName"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.Province.Code"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.Country.Code"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.PostalCode"}]}],"template":"RadioList"},{"addressInputs":{"cityName":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.CityName","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"cityNameP","inputMode":"Optional","label":"City","maxLength":50,"template":"TextBox"},"civicNumber":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.CivicNumber","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"civicNumberP","inputMode":"Optional","label":"Street number","maxLength":10,"template":"TextBox"},"country":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.Country.Code","bindOnChange":true,"controlOptions":{"options":[{"label":"Canada","value":"CA"}]},"controlType":"Input","id":"countryP","inputMode":"Optional","label":"Country","template":"DropDown"},"postalCode":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.PostalCode","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"postalCodeP","inputMask":"a9a-9a9","inputMode":"Optional","label":"Postal code","regexMessage":"Invalid postal code","regexPattern":"^([A-Za-z]\\d[A-Za-z]\\d[A-Za-z]\\d)$","template":"TextBox","transformStringTo":"Uppercase"},"provinceCode":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.Province.Code","bindOnChange":true,"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":"Saskatchewan","value":"SK"},{"label":"Yukon","value":"YT"}]},"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Description","valueJsonPath":"$.Code"},"enabled":true,"id":"provinceCodeP","inputMode":"Optional","label":"Province","template":"DropDown"},"streetName":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.StreetName","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"streetNameP","inputMode":"Optional","label":"Street name","maxLength":35,"template":"TextBox"},"unitNumber":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.UnitNumber","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Previous.addressType","targetValue":"STREET"}],"controlType":"Input","id":"unitNumberP","inputMode":"Optional","label":"Apt/Unit #","maxLength":10,"template":"TextBox"}},"addressSettings":{"manualEntryType":"Modal","modalButtonLabel":"Submit","modalDescription":"Please enter your address manually below.","modalTitle":"Enter Manual Address","restrictPoBox":false,"toggleLinkLabel":{"searchLabel":"Enter Address Manually"}},"autocompleteSettings":{"forceSelection":false},"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Previous.Search","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Previous.LivedMoreThanTwoYears","targetValue":"No"}],"controlType":"Input","customClasses":"max-w-full mb-3","customValidationMessages":{"required":"This is a required field."},"iconLeft":"fal fa-map-marker-alt","id":"addressSearchPrevious","inputMode":"Required","label":"Previous address","template":"AddressSearch"},{"bindingPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"iconLeft":"fal fa-phone","id":"phoneNumber","inputMask":"(999) 999-9999","inputMode":"Required","inputSettings":{"disableConditions":[{"targetJsonPath":"Private.Customers[0].CustomerDetail.Sms.Result","targetValue":"Verified"}]},"keyboardType":"Phone","label":"Cell phone number","prependString":"+1","regexMessage":"Please enter your phone number, including area code.","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":"This is a required field."},"iconLeft":"fal fa-envelope","id":"email","inputMode":"Required","keyboardType":"Email","label":"Email","maxLength":100,"regexMessage":"A valid email address is required. Please use the format email@example.com","template":"TextBox"},{"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"Your physical address is the address that you would use if you were ordering pizza or calling an ambulance. We do not accept international addresses or PO Boxes.","id":"address-helpText"},{"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"We need a valid email to open your account. We will use and protect your information in accordance with our privacy policy.","id":"email-helpText"}],"id":"contact","title":"Contact Details"}]},{"commandsOnLoad":[{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Result","targetValue":"Verified"}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"}}]},{"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.Result","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[0].CustomerId}/contactmethods/verify","httpMethod":"POST","onSuccess":[{"responseMappings":[{"responseJsonPath":"$.VerificationToken","targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.VerificationToken"},{"onChangeTargetId":"otp"}],"statusCode":200}]}],"commandsOnSubmit":[{"body":[{"parameterName":"VerificationToken","valueJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.VerificationToken"},{"parameterName":"VerificationCode","valueJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Otp"}],"conditions":[{"targetJsonPath":"$.Customers[0].CustomerId","targetValue":"*"},{"targetJsonPath":"$.Private.EnableSMSTemporarily","targetValue":"Yes"}],"continueOnError":true,"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[0].CustomerId}/contactmethods/verify","errorRetryCount":0,"httpMethod":"PUT","onError":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Otp","value":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Result","value":"NotVerified"}],"statusCode":400,"throwError":false}],"onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Result","value":"Verified"}],"statusCode":200,"throwError":true}]},{"conditions":[{"targetJsonPath":"$.Private.EnableSMSTemporarily","targetValue":"Yes"}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirm-sms"}}]}],"hasBackButton":false,"hasNextButton":false,"id":"confirm-sms","modalOptions":{"modalSize":"extra-large"},"navigation":{"nextPageId":"employment-info"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"columns":2,"controls":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.Sms.Result","bindOnChange":true,"controlType":"Input","id":"otp-mobile-result","template":"Hidden"},{"columnOverride":1,"controlType":"HTML","customClasses":"pt-1","description":"During the online application process you provided a phone number that will be used to send you a verification code. You should be receiving it shortly.<br/><br/>If it does not arrive within the next few minutes, click the resend code link and we will send you another code. Once the mobile number has been confirmed it will not be editable.","id":"otp-html"},{"columnOverride":1,"controlType":"HTML","customClasses":"-mb-2","description":"<label>Mobile code</label>","id":"otp-mobile-label"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.Sms.Otp","bindOnChange":true,"columnOverride":1,"controlType":"Input","customClasses":"pb-2","id":"otp-mobile","inputMode":"Required","label":"Enter mobile code","maxLength":6,"minLength":6,"regexMessage":"You may only enter numbers","regexPattern":"^[0-9]*$","template":"TextBox"},{"allConditionsMustBeMet":true,"columnOverride":1,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Result","targetValue":"NotVerified"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Otp","targetValue":""}],"controlType":"HTML","customClasses":"-mt-2 ml-3 p-invalid","description":"<small>Verificiation code is invalid</small>","id":"otp-mobile-error"},{"columnOverride":1,"controlType":"HelpText","helpIcon":"fal fa-question-circle -pr-1 font-size-110-percent","helpText":"Please enter your code within 5 minutes of receiving it.","id":"otp-mobile-help"},{"columnOverride":1,"controlType":"CountdownTimer","countdownTimerSettings":{"countdownTimeMin":0.3,"icon":"fal fa-info-circle","label":"Resend a code","timerCompleteButtonCommands":[{"body":[{"parameterName":"DeliveryMethod","parameterValue":"Sms"},{"parameterName":"ContactType","parameterValue":"Mobile"}],"conditions":[{"targetJsonPath":"$.Customers[0].CustomerId","targetValue":"*"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[0].CustomerId}/contactmethods/verify","httpMethod":"POST","onSuccess":[{"responseMappings":[{"responseJsonPath":"$.VerificationToken","targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.VerificationToken"}],"statusCode":200}]}],"timerCompleteButtonLabel":"send","timerCompleteButtonLabelPrefix":"","timerCompleteButtonLabelSuffix":""},"customClasses":"-mt-2 mb-5 align-items-center flex","id":"resend-mobile-timer"},{"columnOverride":1,"controlType":"Divider","customClasses":"-mt-2","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":"-mb-3 box-shadow-none p-0","headingSize":"h1","id":"get-code","textAlignment":"text-left","title":"Confirm your mobile number."}]},{"commandsOnLoad":[{"customCommand":"GenerateGuid","onSuccess":[{"parameterName":"$.Guid","responseMappings":[{"responseJsonPath":"$.Guid","targetJsonPath":"$.Private.Guids.BusinessSearch"}]}]},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.HasOverdraftOffer","targetValue":"No"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IsThisCurrentEmployment"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Description"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Code"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType.Description"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType.Code"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatu"}]}]}],"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous"}]}]},{"conditions":[{"operator":"Contains","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":["Retired","Unemployed","Student","Homemaker"]}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail"}]}]},{"conditions":[{"operator":"Contains","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":["Retired","Unemployed","Student","Homemaker"]}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail"}]}]},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IsThisCurrentEmployment","targetValue":"No"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.Duration.MinimumMonthCount","value":24}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.OnlineBanking.NewPassword","dataTransformation":[{"flag":"g","pattern":"[A-Za-z0-9@#$!]","replacement":"•"}],"targetJsonPath":"$.Private.Customers[0].CustomerDetail.MemberRegistration.OnlineBanking.NewPasswordDisplay"}]}]}],"hasBackButton":true,"hasNextButton":true,"id":"employment-info","navigation":{"nextPageId":"branch-selection"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":2,"resetToDefaultOnBackClick":true,"sections":[{"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","controlOptions":{"descriptionControlId":"employment-status-description","options":[{"icon":"fal fa-briefcase","label":"Employed","value":"Employed"},{"icon":"fal fa-laptop-house","label":"Self-Employed","value":"SelfEmployed"},{"icon":"fal fa-coffee","label":"Retired","value":"Retired"},{"icon":"fal fa-newspaper","label":"Unemployed","value":"Unemployed"},{"label":"Student","value":"Student"},{"label":"Homemaker","value":"Homemaker"}]},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.value","labelJsonPath":"$.label","selectedIdJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Description"},"id":"employment-type","inputMode":"Required","label":"Employment status","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"occupation"},{"onChangeTargetId":"industry"},{"onChangeTargetId":"employer-name"},{"onChangeTargetId":"employment-addressSearch"},{"onChangeTargetId":"employer-phone"},{"onChangeTargetId":"unitNumberE"},{"onChangeTargetId":"civicNumberE"},{"onChangeTargetId":"streetNameE"},{"onChangeTargetId":"cityNameE"},{"onChangeTargetId":"provinceCodeE"},{"onChangeTargetId":"postalCodeE"},{"onChangeTargetId":"countryE"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Description"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Code"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Description"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Code"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Search"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail"}]}],"template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Description","bindOnChange":true,"controlType":"Input","id":"employment-status-description","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Description","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"}],"controlOptions":{"descriptionControlId":"industry","onChangeTargetId":"occupation","optionsJsonPath":"$.Private.Lists.Industry"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onLoad":{"endpointUrl":"api/staticdata/industrytypes","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Industry"}],"statusCode":200}]},"onSelect":{"endpointUrl":"api/staticdata/occupationtypes?searchFor={$.Customers[0].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Code}&searchIn=CategoryCode,CategoryCode2,CategoryCode3","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Occupation"},{"bindingPath":"$..Lists.Occupation[?(@.IsRetired=='false'&&(@.CategoryCode=={$.Customers[0].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Code}||@.CategoryCode2=={$.Customers[0].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Code}||@.CategoryCode3=={$.Customers[0].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Code}))]","targetJsonPath":"$.Private.Lists.EmployedOccupation"}],"statusCode":200}]},"selectedIdJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Code"},"id":"industry","inputMode":"Required","label":"Industry","template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Description","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"}],"controlOptions":{"descriptionControlId":"occupation","optionsJsonPath":"$.Private.Lists.EmployedOccupation"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Code"},"id":"occupation","inputMode":"Required","label":"Occupation","template":"DropDown"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"}],"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"Choose the occupation that most closely matches your field.","id":"employment-helpText"},{"autocompleteSettings":{"forceSelection":false,"idJsonPath":"$.placeId","labelJsonMultiPath":"{$.displayName}","onSearch":{"endpointUrl":"api/placesearch/autocomplete?input={$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.Employer.Search.Term}&sessionToken={$.Private.Guids.BusinessSearch}","httpMethod":"GET"},"onSelect":{"endpointUrl":"api/placesearch/places/{$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.Employer.Search.Id}","httpMethod":"GET","onSuccess":[{"parameterName":"$.address","responseMappings":[{"responseJsonPath":"$.displayName","targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.CompanyName"},{"responseJsonPath":"$.formattedPhoneNumber","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.MainPhone.PhoneNumber"},{"responseJsonPath":"$.formattedAddress","targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Search"},{"onChangeTargetId":"employer-phone","responseJsonPath":"$.phoneNumber"},{"responseJsonPath":"$.displayName","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.CompanyName"},{"responseJsonPath":"$.address.civicNumber","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.CivicNumber"},{"responseJsonPath":"$.address.unitNumber","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.UnitNumber"},{"responseJsonPath":"$.address.streetName","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.StreetName"},{"responseJsonPath":"$.address.city","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.CityName"},{"responseJsonPath":"$.address.provinceCode","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Province.Code"},{"responseJsonPath":"$.address.postalCode","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.PostalCode"},{"responseJsonPath":"$.address.countryCode","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Country.Code"}],"statusCode":200}]},"searchIdJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.Employer.Search.Id","searchTermJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.Employer.Search.Term"},"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.CompanyName","bindOnChange":true,"bindOnLoad":true,"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"}],"controlOptions":{"descriptionControlId":"employer-name","onChangeTargetId":"employment-addressSearch"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"customValidators":[{"errorMessage":"This field does not accept input of special characters other than - (hyphen) and ' (apostrophe)","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z0-9 '-é]+$"},"validator":"Regex"}],"iconLeft":"fal fa-briefcase","id":"employer-name","inputMode":"Required","label":"Employer name","maxLength":50,"template":"AutoComplete"},{"addressInputs":{"cityName":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.CityName","controlType":"Input","customValidationMessages":{"required":"Please enter this information as this is a required field"},"customValidators":[{"errorMessage":"Input contains special and/or accented characters, please remove them to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z '-é]+$"},"validator":"Regex"}],"id":"cityNameE","inputMode":"Optional","label":"City","maxLength":50,"template":"TextBox"},"civicNumber":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.CivicNumber","controlType":"Input","customValidationMessages":{"required":"Please enter this information as this is a required field"},"id":"civicNumberE","inputMode":"Optional","label":"Street number","maxLength":20,"template":"TextBox"},"country":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Country.Code","bindOnChange":true,"controlOptions":{"options":[{"label":"Canada","value":"CA"}]},"controlType":"Input","id":"countryE","inputMode":"Optional","label":"Country","template":"DropDown","value":"CA"},"postalCode":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.PostalCode","controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"postalCodeE","inputMask":"a9a 9a9","inputMode":"Optional","label":"Postal code","regexMessage":"Invalid postal code (eg. A1A 1A1).","regexPattern":"^[A-Z][0-9][A-Z][ ]{0,1}[0-9][A-Z][0-9]$","template":"TextBox","transformStringTo":"Uppercase"},"provinceCode":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Province.Code","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 this is a required field"},"dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Description","valueJsonPath":"$.Code"},"enabled":true,"id":"provinceCodeE","inputMode":"Optional","label":"Province","placeholder":" ","template":"DropDown"},"streetName":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.StreetName","controlType":"Input","customValidationMessages":{"required":"Please enter this information as this is a required field"},"customValidators":[{"errorMessage":"Input contains special and/or accented characters, please remove them to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z0-9 '-é]+$"},"validator":"Regex"}],"id":"streetNameE","inputMode":"Optional","label":"Street name","maxLength":50,"template":"TextBox"},"unitNumber":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.UnitNumber","controlType":"Input","customValidators":[{"errorMessage":"Input contains special and/or accented characters, please remove them to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z0-9 '-é]+$"},"validator":"Regex"}],"id":"unitNumberE","inputMode":"Optional","label":"Apt/Unit #","maxLength":20,"template":"TextBox"}},"addressSettings":{"manualEntryType":"Modal","modalButtonLabel":"Submit","modalDescription":"Please enter your address manually below.","modalTitle":"Enter Manual Address","poBoxRestrictionMessage":"Please select a non-PO box address ","resetAddressOnClose":true,"restrictPoBox":true,"toggleLinkLabel":{"searchLabel":"Enter Address Manually"}},"autocompleteSettings":{"forceSelection":true},"bindingPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Search","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"customValidators":[{"errorMessage":"Input contains special and/or accented characters. Please enter address manually to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[\\x20-\\x5E\\x60-\\x7A\\xDE ]*$"},"validator":"Regex"}],"iconLeft":"fal fa-map-marker-alt","id":"employment-addressSearch","inputMode":"Optional","label":"Employer address","template":"AddressSearch"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.MainPhone.PhoneNumber","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"iconLeft":"fal fa-phone","id":"employer-phone","inputMask":"(999) 999-9999","inputMode":"Optional","keyboardType":"Phone","label":"Employer phone","prependString":"+1","regexMessage":"Please enter your phone number, including area code.","regexPattern":"^(\\d{3}-\\d{3}-\\d{4})|(\\d{10})$","template":"TextBox"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IsThisCurrentEmployment","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.HasOverdraftOffer","targetValue":"Yes"}],"controlOptions":{"options":[{"label":"Yes","value":"Yes"},{"label":"No","value":"No"}]},"controlType":"Input","customClasses":"mt-3 pb-2","customValidationMessages":{"required":"This is a required field."},"id":"previous-employment-question","inputMode":"Required","label":"Has this been your employment status for the last two or more years?","radioListSettings":{"bindOnSelect":true,"submitOnSelect":false},"resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"previous-employment-type"},{"onChangeTargetId":"previous-employment-status-description"},{"onChangeTargetId":"previous-occupation"},{"onChangeTargetId":"previous-industry"},{"onChangeTargetId":"previous-employer-name"},{"onChangeTargetId":"previous-employment-addressSearch"},{"onChangeTargetId":"previous-employment-phoneNumber"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Description"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Code"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType.Description"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType.Code"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus"}]}],"template":"RadioList"}],"id":"employment-type","title":"Employment"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IsThisCurrentEmployment","targetValue":"No"}],"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","controlOptions":{"descriptionControlId":"previous-employment-status-description","options":[{"icon":"fal fa-briefcase","label":"Employed","value":"Employed"},{"icon":"fal fa-laptop-house","label":"Self-Employed","value":"SelfEmployed"},{"icon":"fal fa-coffee","label":"Retired","value":"Retired"},{"icon":"fal fa-newspaper","label":"Unemployed","value":"Unemployed"},{"label":"Student","value":"Student"},{"label":"Homemaker","value":"Homemaker"}]},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.value","labelJsonPath":"$.label","selectedIdJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Description"},"id":"previous-employment-type","inputMode":"Required","label":"Previous employment status","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"previous-occupation"},{"onChangeTargetId":"previous-industry"},{"onChangeTargetId":"previous-employer-name"},{"onChangeTargetId":"previous-employer-phone"},{"onChangeTargetId":"previous-employment-addressSearch"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Description"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Code"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType.Description"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType.Code"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.Search"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail"}]}],"template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Description","bindOnChange":true,"controlType":"Input","id":"previous-employment-status-description","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Description","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Retired"}],"controlOptions":{"descriptionControlId":"previous-industry","onChangeTargetId":"previous-occupation","optionsJsonPath":"$.Private.Lists.Industry"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onLoad":{"endpointUrl":"api/staticdata/industrytypes","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Industry"}],"statusCode":200}]},"onSelect":{"endpointUrl":"api/staticdata/occupationtypes?searchFor={$.Customers[0].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Code}&searchIn=CategoryCode,CategoryCode2,CategoryCode3","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Occupation"},{"bindingPath":"$..Lists.Occupation[?(@.IsRetired=='false'&&(@.CategoryCode=={$.Customers[0].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Code}||@.CategoryCode2=={$.Customers[0].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Code}||@.CategoryCode3=={$.Customers[0].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Code}))]","targetJsonPath":"$.Private.Lists.PreviousEmployedOccupation"}],"statusCode":200}]},"selectedIdJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Code"},"id":"previous-industry","inputMode":"Required","label":"Previous industry","template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType.Description","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Retired"}],"controlOptions":{"descriptionControlId":"previous-occupation","optionsJsonPath":"$.Private.Lists.PreviousEmployedOccupation"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType.Code"},"id":"previous-occupation","inputMode":"Required","label":"Previous occupation","template":"DropDown"},{"autocompleteSettings":{"forceSelection":false,"idJsonPath":"$.placeId","labelJsonMultiPath":"{$.displayName}","onSearch":{"endpointUrl":"api/placesearch/autocomplete?input={$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.Employer.Search.Term}&sessionToken={$.Private.Guids.BusinessSearch}","httpMethod":"GET"},"onSelect":{"endpointUrl":"api/placesearch/places/{$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.Employer.Search.Id}","httpMethod":"GET","onSuccess":[{"parameterName":"$.address","responseMappings":[{"responseJsonPath":"$.displayName","targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.CompanyName"},{"responseJsonPath":"$.formattedPhoneNumber","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.MainPhone.PhoneNumber"},{"responseJsonPath":"$.formattedAddress","targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.Search"},{"onChangeTargetId":"previous-employment-phoneNumber","responseJsonPath":"$.phoneNumber"},{"responseJsonPath":"$.displayName","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.CompanyName"},{"responseJsonPath":"$.address.civicNumber","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.CivicNumber"},{"responseJsonPath":"$.address.unitNumber","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.UnitNumber"},{"responseJsonPath":"$.address.streetName","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.StreetName"},{"responseJsonPath":"$.address.city","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.CityName"},{"responseJsonPath":"$.address.provinceCode","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.Province.Code"},{"responseJsonPath":"$.address.postalCode","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.PostalCode"},{"responseJsonPath":"$.address.countryCode","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.Country.Code"}],"statusCode":200}]},"searchIdJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.Employer.Search.Id","searchTermJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.Employer.Search.Term"},"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.CompanyName","bindOnLoad":true,"conditions":[{"operator":"Contains","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":["Employed","SelfEmployed","Retired"]}],"controlOptions":{"descriptionControlId":"previous-employer-name","onChangeTargetId":"previous-employment-addressSearch"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"customValidators":[{"errorMessage":"This field does not accept input of special characters other than - (hyphen) and ' (apostrophe)","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z0-9 '-é]+$"},"validator":"Regex"}],"iconLeft":"fal fa-briefcase","id":"previous-employer-name","inputMode":"Required","label":"Previous employer name","maxLength":50,"template":"AutoComplete"},{"addressInputs":{"cityName":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.CityName","controlType":"Input","customValidationMessages":{"required":"Please enter this information as this is a required field"},"customValidators":[{"errorMessage":"Input contains special and/or accented characters, please remove them to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z '-é]+$"},"validator":"Regex"}],"id":"cityNameEP","inputMode":"Optional","label":"City","maxLength":50,"template":"TextBox"},"civicNumber":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.CivicNumber","controlType":"Input","customValidationMessages":{"required":"Please enter this information as this is a required field"},"customValidators":[{"errorMessage":"Input contains special and/or accented characters, please remove them to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z0-9 '-é]+$"},"validator":"Regex"}],"id":"civicNumberEP","inputMode":"Optional","label":"Street number","maxLength":20,"template":"TextBox"},"country":{"allConditionsMustBeMet":true,"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.Country.Code","bindOnChange":true,"conditions":[{"operator":"Contains","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":["Employed","SelfEmployed"]},{"targetJsonPath":"$.Customers[0].CustomerDetail.HasOverdraftOffer","targetValue":"Yes"}],"controlOptions":{"options":[{"label":"Canada","value":"CA"}]},"controlType":"Input","id":"countryEP","inputMode":"Optional","label":"Country","template":"DropDown","value":"CA"},"postalCode":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.PostalCode","controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"postalCodeEP","inputMask":"a9a 9a9","inputMode":"Optional","label":"Postal code","regexMessage":"Invalid postal code (eg. A1A 1A1).","regexPattern":"^[A-Z][0-9][A-Z][ ]{0,1}[0-9][A-Z][0-9]$","template":"TextBox","transformStringTo":"Uppercase"},"provinceCode":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.Province.Code","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 this is a required field"},"dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Description","valueJsonPath":"$.Code"},"enabled":true,"id":"provinceCodeEP","inputMode":"Optional","label":"Province","placeholder":" ","template":"DropDown"},"streetName":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.StreetName","controlType":"Input","customValidationMessages":{"required":"Please enter this information as this is a required field"},"customValidators":[{"errorMessage":"Input contains special and/or accented characters, please remove them to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z '-é]+$"},"validator":"Regex"}],"id":"streetNameEP","inputMode":"Optional","label":"Street name","maxLength":50,"template":"TextBox"},"unitNumber":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.UnitNumber","controlType":"Input","customValidators":[{"errorMessage":"Input contains special and/or accented characters, please remove them to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z0-9 '-é]+$"},"validator":"Regex"}],"id":"unitNumberEP","inputMode":"Optional","label":"Apt/Unit #","maxLength":20,"template":"TextBox"}},"addressSettings":{"manualEntryType":"Modal","modalButtonLabel":"Submit","modalDescription":"Please enter your address manually below.","modalTitle":"Enter Manual Address","poBoxRestrictionMessage":"Please select a non-PO box address ","resetAddressOnClose":true,"restrictPoBox":true,"toggleLinkLabel":{"searchLabel":"Enter Address Manually"}},"autocompleteSettings":{"forceSelection":true},"bindingPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.Search","conditions":[{"operator":"Contains","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":["Employed","SelfEmployed","Retired"]}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"customValidators":[{"errorMessage":"Input contains special and/or accented characters. Please enter address manually to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[\\x20-\\x5E\\x60-\\x7A\\xDE ]*$"},"validator":"Regex"}],"iconLeft":"fal fa-map-marker-alt","id":"previous-employment-addressSearch","inputMode":"Required","label":"Previous employer address","template":"AddressSearch"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.MainPhone.PhoneNumber","conditions":[{"operator":"Contains","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":["Employed","SelfEmployed","Retired"]}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"iconLeft":"fal fa-phone","id":"previous-employment-phoneNumber","inputMask":"(999) 999-9999","inputMode":"Required","keyboardType":"Phone","label":"Previous employer phone","prependString":"+1","regexMessage":"Please enter your phone number, including area code.","regexPattern":"^(\\d{3}-\\d{3}-\\d{4})|(\\d{10})$","template":"TextBox"}],"id":"previous-employment-type","title":"Previous Employment"},{"controls":[{"controlType":"Validator","customClasses":"mb-4 shadow-none","id":"passwordValidator","validatorSettings":{"footerText":"* You may only use the following special characters: @ # $ ! ","title":"Please ensure your password has the following:","validators":[{"label":"at least 10 characters","regexPattern":"^[A-Za-z\\d#$@!]{10,35}$","targetFormId":"password1"},{"label":"at least 1 uppercase letter","regexPattern":"(.*[A-Z].*)","targetFormId":"password1"},{"label":"at least 1 number","regexPattern":"(.*[0-9].*)","targetFormId":"password1"},{"label":"at least 1 lowercase letter","regexPattern":"(.*[a-z].*)","targetFormId":"password1"}],"validColor":"#3576bc"}},{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.OnlineBanking.NewPassword","controlType":"Input","customClasses":"pb-2","customValidators":[{"parameters":{"targetControlId":"password2"}}],"id":"password1","inputMode":"Required","keyboardType":"Phone","label":"Online banking password","maxLength":30,"regexMessage":"Your password is not meeting the requirements","regexPattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[A-Za-z\\d#$@!]{10,35}$","template":"Password"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.Password2","controlType":"Input","customValidators":[{"errorMessage":"This password does not match what you entered in the previous field","parameters":{"targetFormId":"password1"},"validator":"MatchValue"}],"id":"password2","inputMode":"Required","keyboardType":"Phone","label":"Re-enter your password","maxLength":30,"template":"Password"},{"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"By clicking Continue you agree that your account number and unique password will be recorded and will constitute the signature and signature card for the purposes of opening your membership.","id":"pass-helpText"}],"customClasses":"pb-4","description":"To be able to access your account online you will need to setup an online banking password, also known as your Personal Access Code (PAC).","id":"password","template":"Form","title":"Password Setup","width":"Default"}]},{"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Private.Branch.BranchId","targetValue":"*"}],"dataBindings":[{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.PostalCode","dataTransformation":[{"pattern":"(.{3})","replacement":"$1 "},{"pattern":" {2,}","replacement":" "}],"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.PostalCode"},{"bindingPath":"$.Private.Branch.BranchId","targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranch.Code"},{"bindingPath":"$.Private.Branch.BranchName","targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranch.Description"}],"onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"bindingPath":"$.Private.Branch.BranchId","targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranch.Code"},{"bindingPath":"$.Private.Branch.BranchName","targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranch.Description"},{"bindingPath":"$.Private.Branch.IdealBranchLocation","targetJsonPath":"$.Customers[0].CustomerDetail.IdealBranchLocation"}]}]}],"hasBackButton":true,"hasNextButton":true,"id":"branch-selection","navigation":{"nextPageId":"compliance"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":4,"resetToDefaultOnBackClick":true,"sections":[{"controls":[{"bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Branch.BranchId","targetValue":"*"}],"controlType":"HTML","description":"<div class=\"mb-4\"><b>{$.Private.Branch.BranchName}</b> - {$.Private.Branch.FormattedLabel}</div>","id":"branch-address-information"},{"bindingPath":"$.Private.Branch","bindOnChange":true,"controlType":"Map","customClasses":"h-full","id":"branch-map"},{"controlType":"HTML","description":"<h3>Select a branch:</h3>","id":"branch-selection-information"},{"controlType":"Table","customClasses":"border","id":"branch-map-table","tableSettings":{"columns":[{"bindingPath":"$.branchId","field":"BranchId","hidden":true},{"bindingPath":"$.branchName","field":"BranchName","pipe":"m-to-km"},{"bindingPath":"$.routeDistance","field":"Distance","pipe":"m-to-km","width":"150px"},{"field":"FormattedLabel","labelJsonMultiPath":"{$.streetAddress.civicNumber} {$.streetAddress.streetName},<br/> {$.streetAddress.cityName}, {$.streetAddress.provinceCode} {$.streetAddress.postalCode}"},{"bindingPath":"$.streetAddress.civicNumber","field":"civicNumber","hidden":true},{"bindingPath":"$.streetAddress.streetName","field":"streetName","hidden":true},{"bindingPath":"$.streetAddress.cityName","field":"city","header":"city","hidden":true},{"bindingPath":"$.streetAddress.provinceCode","field":"provinceName","hidden":true},{"bindingPath":"$.streetAddress.postalCode","field":"postalCode","hidden":true}],"defaultFirstRowSelection":true,"hideHeader":true,"responsive":"no-column","selectedIdJsonPath":"$.Private.Branch","selectionMode":"single","targetJsonPath":"$.Private.Lists.Branches","uniqueColumn":"BranchId"}}],"description":"Please select a home branch from the list below. We've pre-selected the closet branch to your home address for your convenience. ","headingSize":"h1","id":"branch-selection-section","title":"Home Branch"},{"controls":[{"bindingPath":"$.Private.Branch.IdealBranchLocation","controlOptions":{"descriptionControlId":"previous-employment-status-description","options":[{"label":"No Preference","value":"No Preference"},{"label":"Avenida","value":"Avenida"},{"label":"Bonneville","value":"Bonneville"},{"label":"Cold Lake","value":"Cold Lake"},{"label":"Didsbury/Olds","value":"Didsbury/Olds"},{"label":"Grand Prairie","value":"Grand Prairie"},{"label":"Lacombe","value":"Lacombe"},{"label":"Leduc","value":"Leduc"},{"label":"Lethbridge","value":"Lethbridge"},{"label":"Lloydminster","value":"Lloydminster"},{"label":"Medicine Hat","value":"Medicine Hat"},{"label":"Okotoks","value":"Okotoks"},{"label":"Ponoka","value":"Ponoka"},{"label":"St Albert","value":"St Albert"},{"label":"Spruce Grove","value":"Spruce Grove"},{"label":"Sherwood Park","value":"Sherwood Park"},{"label":"Other","value":"Other"}]},"controlType":"Input","customClasses":"pb-2","dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.value","labelJsonPath":"$.label","selectedIdJsonPath":"$.Customers[0].CustomerDetail.IdealBranchLocation"},"id":"ideal-location","label":"Where would your ideal branch location be if we were to expand? (optional)","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"other-location"},{"targetJsonPath":"$.Customers[0].CustomerDetail.NewLocation"}]}],"template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.NewLocation","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.IdealBranchLocation","targetValue":"Other"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"id":"other-location","inputMode":"Required","label":"Please comment where, we need branch advocacy champions!","maxLength":50,"regexMessage":"This field does not accept input of special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z0-9 '-]+$","template":"TextBox"},{"controlType":"HelpText","helpIcon":"fa-light fa-circle-info","helpText":"BVCU currently has 9 locations in Alberta: Acheson, Banff, Canmore, Cochrane, Airdrie (2), Calgary (2), Red Deer.","id":"branch-helptext"}],"headingSize":"h1","id":"ideal-branch-selection-section","title":"Ideal Branch Location"}]},{"commandsOnLoad":[{"endpointUrl":"api/staticdata/countries","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Countries"}],"statusCode":200}]},{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]}],"hasBackButton":true,"hasNextButton":true,"id":"compliance","navigation":{"nextPageId":"final-questions"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":5,"resetToDefaultOnBackClick":true,"sections":[{"controls":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","controlOptions":{"options":[{"label":"No","value":"None"},{"label":"Yes - in one other country","value":"YES-1"},{"label":"Yes - in two other countries","value":"YES-2"}]},"controlType":"Input","customClasses":"pb-2 block w-16rem sm:w-auto","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.label","labelJsonPath":"$.value","selectedIdJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Description"},"id":"are-you-taxed","inputMode":"Required","label":"Are you a tax resident of a country other than Canada or the US?","resetMappingsSettings":[{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-1"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2"},{"onChangeTargetId":"jurisdiction-2"},{"onChangeTargetId":"have-tin-2"},{"onChangeTargetId":"ssn-2"}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1"},{"onChangeTargetId":"jurisdiction-1"},{"onChangeTargetId":"have-tin-1"},{"onChangeTargetId":"ssn-1"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2"},{"onChangeTargetId":"jurisdiction-2"},{"onChangeTargetId":"have-tin-2"},{"onChangeTargetId":"ssn-2"}]}],"template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","controlOptions":{"options":[{"label":"No","value":"None"},{"label":"Yes - I have a Social Security Number","value":"Yes"},{"label":"Yes - I will apply or have applied for a SSN but have not yet received it","value":"Yes-Applied"}]},"controlType":"Input","customClasses":"pb-2 block w-16rem sm:w-auto","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.label","labelJsonPath":"$.value","selectedIdJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Description"},"id":"are-you-us-person","inputMode":"Required","label":"Are you a US person? (a citizen or resident of the US)","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialSecurityNumber"}]}],"template":"DropDown"},{"controlType":"HelpText","helpText":"Each jurisdiction has its own rules for defining tax residency. For more information, please consult your tax adviser.","id":"more-details-jurisdiction"},{"controlType":"HelpText","helpText":"A tax resident of the United States includes U.S. Residents or U.S. Citizens. For more information, please consult your tax adviser.","id":"more-details-us-taxed"}],"description":"Please answer the questions below and refer to the text for additional information to help understand the various terms.","id":"more-details","title":"Compliance"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-1"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-3"}],"controls":[{"autocompleteSettings":{"forceSelection":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onSelect":{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"compliance"}}]},"searchIdJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Code"},"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Description","bindOnLoad":true,"controlOptions":{"descriptionControlId":"jurisdiction","optionsJsonPath":"$.Private.Lists.Countries"},"controlType":"Input","customClasses":"block w-16rem sm:w-auto","customValidationMessages":{"required":"This is a required field"},"customValidators":[{"errorMessage":"Please choose/enter a different jurisdiction","operator":"NotEquals","parameters":{"id":"jurisdiction-1-validation","targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Code","valueJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Code"},"validator":"CompareValue"}],"id":"jurisdiction-1","inputMode":"Required","label":"Jurisdiction","maxLength":50,"template":"AutoComplete"},{"allowedKeysRegex":"^[0-9]*$","bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxNumber","bindOnChange":true,"bindOnLoad":true,"controlType":"Input","customClasses":"pb-2 mt-3 ","customValidators":[{"errorMessage":"Please enter a different Tax Identification Number ","operator":"NotEquals","parameters":{"valueJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxNumber"},"validator":"CompareValue"}],"id":"ssn-1","inputMode":"Required","label":"Tax Identification Number","maxLength":20,"minLength":7,"regexMessage":"This field should have 7-20 digits and cannot contain only zeros","regexPattern":"^(?!0{7,20}$)(\\d{7,20})$","template":"TextBox"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Code","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxNumber","targetValue":"*"}],"controlType":"Input","defaultValue":"Issued","id":"ssn-1-issued","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Description","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxNumber","targetValue":"*"}],"controlType":"Input","defaultValue":"Yes","id":"ssn-1-status","template":"Hidden"}],"id":"more-details-tax-c1","title":"Tax Resident of Another Country"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"}],"controls":[{"autocompleteSettings":{"forceSelection":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onSelect":{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"compliance"}}]},"searchIdJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Code"},"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Description","bindOnChange":true,"bindOnLoad":true,"controlOptions":{"descriptionControlId":"jurisdiction","optionsJsonPath":"$.Private.Lists.Countries"},"controlType":"Input","customClasses":"block w-16rem sm:w-auto","customValidationMessages":{"required":"This is a required field"},"customValidators":[{"errorMessage":"Please choose/enter a different jurisdiction","operator":"NotEquals","parameters":{"id":"jurisdiction-2-validation","targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Code","valueJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Code"},"validator":"CompareValue"}],"id":"jurisdiction-2","inputMode":"Required","label":"Jurisdiction","maxLength":50,"template":"AutoComplete"},{"allowedKeysRegex":"^[0-9]*$","bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxNumber","bindOnChange":true,"bindOnLoad":true,"controlType":"Input","customClasses":"pb-2 mt-3 ","customValidators":[{"errorMessage":"Please enter a different Tax Identification Number ","operator":"NotEquals","parameters":{"valueJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxNumber"},"validator":"CompareValue"}],"id":"ssn-2","inputMode":"Required","label":"Tax Identification Number","maxLength":20,"minLength":7,"regexMessage":"This field should have 7-20 digits and cannot contain only zeros","regexPattern":"^(?!0{7,20}$)(\\d{7,20})$","template":"TextBox"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Code","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxNumber","targetValue":"*"}],"controlType":"Input","defaultValue":"Issued","id":"ssn-2-issued","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Description","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxNumber","targetValue":"*"}],"controlType":"Input","defaultValue":"Yes","id":"ssn-2-status","template":"Hidden"}],"id":"more-details-tax-c2","title":"Tax Resident of Another Country"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes-No"}],"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialSecurityNumber","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes"}],"controlType":"Input","customClasses":"pb-2 block w-16rem sm:w-auto","customValidationMessages":{"required":"This is a required field"},"id":"us-ssn","inputMask":"999-99-9999","inputMode":"Required","label":"Social Security Number","maxLength":9,"regexMessage":"Oops. You have entered an invalid Social Insurance Number.","regexPattern":"^(?!9)(?!0{9}$)(\\d{9})$","template":"TextBox"}],"id":"more-details-us-taxed-test","title":"US person"}]},{"hasBackButton":true,"hasNextButton":true,"id":"final-questions","navigation":{"nextPageId":"joint-applicant-modal"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":6,"resetToDefaultOnBackClick":true,"sections":[{"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.CommonShares.ExtraSharePreference","controlOptions":{"options":[{"label":"Yes","value":"Yes"},{"label":"No","value":"No"}]},"controlType":"Input","customClasses":"pb-2 block w-16rem sm:w-auto","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.label","labelJsonPath":"$.value","selectedIdJsonPath":"$.Customers[0].CustomerDetail.CommonShares.ExtraSharePreference"},"id":"common-shares-interested","inputMode":"Required","label":"Interested in buying more common shares beyond the $25 min?","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.CommonShares.ExtraShareInvestment"},{"onChangeTargetId":"common-shares-amount"}]}],"template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.CommonShares.ExtraShareInvestment","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.CommonShares.ExtraSharePreference","targetValue":"Yes"}],"controlType":"Input","customClasses":"pb-2 block w-16rem sm:w-auto","customValidationMessages":{"maxValue":"The amount to invest must be $175000 or less","minValue":"The amount to invest must be more thn zero","required":"The amount to invest must be more than zero"},"id":"common-shares-amount","inputMode":"Required","label":"How much more would you like to invest to your common shares?","maxValue":175000,"minValue":1,"regexMessage":"You may only enter numbers","regexPattern":"^[0-9]*$","template":"TextBox"},{"bindingPath":"$.Customers[0].CustomerDetail.WiresAmount","controlOptions":{"options":[{"label":"None","value":"None"},{"label":"1 per month","value":1},{"label":"2-5 per month","value":"2-5"},{"label":"More than 6 per month","value":"6+"}]},"controlType":"Input","customClasses":"pb-2 block w-16rem sm:w-auto","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.label","labelJsonPath":"$.value","selectedIdJsonPath":"$.Customers[0].CustomerDetail.WiresAmount"},"id":"wires-amount","inputMode":"Required","label":"How many wires do you expect to send or receive regularly?","template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.MonthlyDeposit","controlOptions":{"options":[{"label":"Yes","value":"Yes"},{"label":"No","value":"No"}]},"controlType":"Input","customClasses":"pb-2 block w-16rem sm:w-auto","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.label","labelJsonPath":"$.value","selectedIdJsonPath":"$.Customers[0].CustomerDetail.MonthlyDeposit"},"id":"deposit-over-3000","inputMode":"Required","label":"Will you deposit over $3000 in cash to your account each month?","template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.SourceOfFunds.Description","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MonthlyDeposit","targetValue":"Yes"}],"controlType":"Input","customClasses":"pb-2 block w-16rem sm:w-auto","customValidationMessages":{"required":"This is a required field"},"id":"source-of-funds","inputMode":"Required","label":"Please describe the source of the cash funds","template":"TextBox"},{"controlType":"HelpText","helpText":"Common shares can be purchased up to a maximum of $175,000 which includes the minimum $25 requirement.","id":"more-details-common-shares"},{"controlType":"HelpText","helpText":"This information helps us anticipate your needs and our understanding of your relationship with us. ","id":"more-details-relationship"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MonthlyDeposit","targetValue":"Yes"}],"controlType":"HelpText","helpText":"Please provide details related to the source of these cash deposits. For example, does your employer pay you in cash? Do you plan to regularly transfer cash from an account at another financial institution? Do you have a side business?","id":"more-details-source-of-funds"}],"id":"final-questions-section","title":"A Few Final Questions"}]},{"commandsOnLoad":[{"conditions":[{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"dataBindings":[{"bindingPath":"$.Private.Branch.BranchId","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranch.Code"},{"bindingPath":"$.Private.Branch.BranchName","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranch.Description"}],"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Branch.BranchId","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranch.Code"},{"bindingPath":"$.Private.Branch.BranchName","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranch.Description"},{"bindingPath":"$.Customers[0].CustomerDetail.NatureOfBusinessRelationship.Description","targetJsonPath":"$.Customers[1].CustomerDetail.NatureOfBusinessRelationship.Description"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Account","targetValue":"*"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Account"}]}]},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.HasOverdraftOffer","targetValue":"No"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IsThisCurrentEmployment"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.IsThisCurrentEmployment"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Previous.Search"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Previous.LivedMoreThanTwoYears"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.UnitNumber"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.CivicNumber"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.StreetName"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.CityName"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.Province.Code"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.Country.Code"},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.PostalCode"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Previous.Search"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Previous.LivedMoreThanTwoYears"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.UnitNumber"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.CivicNumber"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.StreetName"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.CityName"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.Province.Code"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.Country.Code"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.PostalCode"}]}]}],"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","onSuccess":[{"statusCode":200}]},{"allowNull":false,"body":[{"valueJsonPath":"$.Customers[0].CustomerDetail"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[0].CustomerId}/detail","httpMethod":"PUT","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"statusCode":200}]}],"hasBackButton":true,"hasNextButton":true,"id":"confirmation","navigation":{"nextPageId":"add-products"},"nextButtonLabel":"Submit","pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":7,"restrictions":[{"targetJsonPath":"$.ApplicationStatus.Code","targetValue":"Started"}],"sections":[{"conditions":[{"targetJsonPath":"$.Private.AddSecondAccount","targetValue":"No"}],"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"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"PersonalChequing"},{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"NotApplied"}],"controlType":"Info","customClasses":"pr-3","displayOptions":[{"customText":"No"}],"id":"confirm-account-details-overdraft-protection-no","label":"Overdraft Protection "},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"PersonalChequing"},{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"Applied"}],"controlType":"Info","customClasses":"pr-3","displayOptions":[{"customText":"Yes"}],"id":"confirm-account-details-overdraft-protection-yes","label":"Overdraft Protection "}],"groupPanelSettings":{"customClasses":"bg-white","editUrl":"/flow/account-selection1"},"id":"confirm-account-details","template":"GroupPanel","title":"Account"},{"conditions":[{"targetJsonPath":"$.Private.AddSecondAccount","targetValue":"Yes"}],"controls":[{"controlType":"Info","customClasses":"pr-3","displayOptions":[{"customText":"     "}],"id":"confirm-account-details-account","label":"Account 1"},{"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"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"PersonalChequing"},{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"NotApplied"}],"controlType":"Info","customClasses":"pr-3","displayOptions":[{"customText":"No"}],"id":"confirm-account-details-overdraft-protection-no","label":"Overdraft Protection "},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"PersonalChequing"},{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"Applied"}],"controlType":"Info","customClasses":"pr-3","displayOptions":[{"customText":"Yes"}],"id":"confirm-account-details-overdraft-protection-yes","label":"Overdraft Protection "},{"controlType":"Divider","customClasses":"mt-3","id":"divider-1"},{"controlType":"Info","customClasses":"pr-3","displayOptions":[{"customText":"     "}],"id":"confirm-account-details-account","label":"Account 2"},{"controlType":"Info","customClasses":"pr-3","displayOptions":[{"bindingPath":"$.Products[1].OfferDetail.ProductName"}],"id":"confirm-account-details-account","label":"Name"},{"controlType":"Info","customClasses":"pr-3","displayOptions":[{"bindingPath":"$.Products[1].ProductDetail.RegulatoryCompliance.IntendedUse.Description"}],"id":"confirm-account-details-intended-use","label":"Intended Use"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Products[1].ProductType.Code","targetValue":"PersonalChequing"},{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"NotApplied"}],"controlType":"Info","customClasses":"pr-3","displayOptions":[{"customText":"No"}],"id":"confirm-account-details-overdraft-protection-no","label":"Overdraft Protection "},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Products[1].ProductType.Code","targetValue":"PersonalChequing"},{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"Applied"}],"controlType":"Info","customClasses":"pr-3","displayOptions":[{"customText":"Yes"}],"id":"confirm-account-details-overdraft-protection-yes","label":"Overdraft Protection "}],"groupPanelSettings":{"customClasses":"bg-white","editUrl":"/flow/account-selection1"},"id":"confirm-account-details","template":"GroupPanel","title":"Accounts"},{"controls":[{"controlType":"Info","displayOptions":[{"customText":"    "}],"editUrl":"/flow/personal-information","id":"confirmation-name","label":"<h3>About You & Contact</h3>"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.FirstName"},{"bindingPath":"$.Customers[0].CustomerDetail.MiddleName"},{"bindingPath":"$.Customers[0].CustomerDetail.LastName"}],"id":"confirmation-name","label":"Name"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.DateOfBirth","pipe":"date"}],"id":"confirmation-dob","label":"Date of Birth"},{"controlType":"Divider","customClasses":"mt-3","id":"divider-1"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialInsuranceNumber","pipe":"sin"}],"id":"confirmation-sin","label":"Social Insurance Number"},{"controlType":"Info","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":"Cell Phone Number"},{"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"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"POBOX"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.PostalBoxNumber","endingText":",","startingText":"PO Box "},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.CityName","endingText":","},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.Province.Description","endingText":","},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.PostalCode"}],"id":"confirmation-mailing-address-po","label":"Physical Address"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.BoxNumber","startingText":"PO Box "},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"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-po","label":"Mailing Address"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"bindingPath":"$.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"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Previous.LivedMoreThanTwoYears","targetValue":"No"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.UnitNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.CivicNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.StreetName","endingText":"<br>"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.CityName","endingText":","},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.Province.Code","endingText":","},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.PostalCode"}],"id":"confirmation-previous-address","label":"Previous Address"},{"controlType":"Info","displayOptions":[{"customText":"    "}],"editUrl":"/flow/employment-info","id":"confirmation-name","label":"<h3>Employment & Password</h3>"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Description"}],"id":"confirmation-employment-status","label":"Employment Status"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Description"}],"id":"confirmation-employment-industry","label":"Industry"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Description"}],"id":"confirmation-employment-occupation","label":"Occupation"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.CompanyName"}],"id":"confirmation-employer","label":"Employer Name"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IsThisCurrentEmployment","targetValue":"No"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Description"}],"id":"confirmation-previous employment-status","label":"Previous Employment Status"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Retired"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Description"}],"id":"confirmation-previous-employment-industry","label":"Previous Industry"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Retired"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType.Description"}],"id":"confirmation-previous-employment-occupation","label":"Previous Occupation"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Retired"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.CompanyName"}],"id":"confirmation-previous-employer","label":"Previous Employer Name"},{"controlType":"Divider","customClasses":"mt-3","id":"divider-1"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.MemberRegistration.OnlineBanking.NewPasswordDisplay"}],"id":"password","label":"Password"},{"controlType":"Info","displayOptions":[{"customText":"    "}],"editUrl":"/flow/branch-selection","id":"confirmation-branch-name","label":"<h3>Branch</h3>"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranch.Description"}],"id":"confirm-branch-name1","label":"Branch Name"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Branch.FormattedLabel"}],"id":"confirm-branch-name1","label":"Branch Address"},{"controlType":"Info","displayOptions":[{"customText":"    "}],"editUrl":"/flow/compliance","id":"confirmation-compliance-title","label":"<h3>Compliance</h3>"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Description"}],"id":"confirmation-employment-status","label":"Non CAN/US Tax Resident"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-1"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Description"}],"id":"confirmation-tax-id1-tax-country","label":"Tax Resident Country"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-1"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Description"}],"id":"confirmation-tax-id1-tax-status","label":"Do you have a Tax Identification Number (TIN) for the selected tax jurisdiction?"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-1"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Code","targetValue":"Issued"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxNumber"}],"id":"confirmation-tax-id1-tax-number","label":"TIN Number"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-1"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Code","targetValue":"NotApplied"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdReason"}],"id":"confirmation-tax-id1-tax-reason","label":"Please explain the 'other' reason for not having a TIN."},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Description"}],"id":"confirmation-tax-id2-tax-country","label":"Tax Resident Country"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-1"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Description"}],"id":"confirmation-tax-id2-tax-status","label":"Do you have a Tax Identification Number (TIN) for the selected tax jurisdiction?"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Code","targetValue":"Issued"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxNumber"}],"id":"confirmation-tax-id2-tax-number","label":"TIN Number"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Code","targetValue":"NotApplied"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdReason"}],"id":"confirmation-tax-id2-tax-reason","label":"Please explain the 'other' reason for not having a TIN."},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Description"}],"id":"confirmation-US-person","label":"US Person"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialSecurityNumber"}],"id":"confirmation-US-person-ssn","label":"SSN Number"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes-No"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialSecurityReason.Description"}],"id":"confirmation-US-person-ssn-reason","label":"Please explain the 'other' reason for not having a SSN."},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.Citizenship.Description"}],"id":"confirmation-citizenship","label":"Citizenship"}],"groupPanelSettings":{"customClasses":"bg-white"},"headingSize":"h2","id":"confirmation-personal-primary","template":"GroupPanel","title":"Primary Applicant"},{"conditions":[{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"controls":[{"controlType":"Info","displayOptions":[{"customText":"    "}],"editUrl":"/flow/joint-personal-information","id":"confirmation-name","label":"<h3>About You & Contact</h3>"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.FirstName"},{"bindingPath":"$.Customers[1].CustomerDetail.MiddleName"},{"bindingPath":"$.Customers[1].CustomerDetail.LastName"}],"id":"confirmation-name","label":"Name"},{"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":"sin"}],"id":"confirmation-sin","label":"Social Insurance Number"},{"controlType":"Info","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":[{"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":"POBOX"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.PostalBoxNumber","endingText":",","startingText":"PO Box "},{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.CityName","endingText":","},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.Province.Description","endingText":","},{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.PostalCode"}],"id":"confirmation-mailing-address-po","label":"Physical Address"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.BoxNumber","startingText":"PO Box "},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"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-po","label":"Mailing Address"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"bindingPath":"$.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.Previous.LivedMoreThanTwoYears","targetValue":"No"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.UnitNumber"},{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.CivicNumber"},{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.StreetName","endingText":"<br>"},{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.CityName","endingText":","},{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.Province.Code","endingText":","},{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.PostalCode"}],"id":"confirmation-previous-address","label":"Previous Address"},{"controlType":"Divider","customClasses":"mt-3","id":"divider-1"},{"controlType":"Info","displayOptions":[{"customText":"    "}],"editUrl":"/flow/joint-employment-info","id":"confirmation-name","label":"<h3>Employment & Password</h3>"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Description"}],"id":"confirmation-employment-status","label":"Employment Status"},{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Description"}],"id":"confirmation-employment-industry","label":"Industry"},{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Description"}],"id":"confirmation-employment-occupation","label":"Occupation"},{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.CompanyName"}],"id":"confirmation-employer","label":"Employer Name"},{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.IsThisCurrentEmployment","targetValue":"No"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Description"}],"id":"confirmation-previous employment-status","label":"Previous Employment Status"},{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Retired"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Description"}],"id":"confirmation-previous-employment-industry","label":"Previous Industry"},{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Retired"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType.Description"}],"id":"confirmation-previous-employment-occupation","label":"Previous Occupation"},{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Retired"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.CompanyName"}],"id":"confirmation-previous-employer","label":"Previous Employer Name"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.MemberRegistration.OnlineBanking.NewPasswordDisplay"}],"id":"password","label":"Password"},{"controlType":"Divider","customClasses":"mt-3","id":"divider-1"},{"controlType":"Info","displayOptions":[{"customText":"    "}],"editUrl":"/flow/joint-compliance","id":"confirmation-compliance-title","label":"<h3>Compliance</h3>"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Description"}],"id":"confirmation-compliance-politically-exposed","label":"PEP or HIO"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Foreign"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.Relationship.Description"}],"id":"confirmation-relationship-f","label":"Relationship"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Foreign"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.FirstName"},{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.LastName"}],"id":"confirmation-political-name-f","label":"Name"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Description"}],"id":"confirmation-employment-status","label":"Non CAN/US Tax Resident"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-1"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Description"}],"id":"confirmation-tax-id1-tax-country","label":"Tax Resident Country"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-1"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Description"}],"id":"confirmation-tax-id1-tax-status","label":"Do you have a Tax Identification Number (TIN) for the selected tax jurisdiction?"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-1"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Code","targetValue":"Issued"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxNumber"}],"id":"confirmation-tax-id1-tax-number","label":"TIN Number"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-1"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Code","targetValue":"NotApplied"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdReason"}],"id":"confirmation-tax-id1-tax-reason","label":"Please explain the 'other' reason for not having a TIN."},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Description"}],"id":"confirmation-tax-id2-tax-country","label":"Tax Resident Country"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-1"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Description"}],"id":"confirmation-tax-id2-tax-status","label":"Do you have a Tax Identification Number (TIN) for the selected tax jurisdiction?"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Code","targetValue":"Issued"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxNumber"}],"id":"confirmation-tax-id2-tax-number","label":"TIN Number"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Code","targetValue":"NotApplied"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdReason"}],"id":"confirmation-tax-id2-tax-reason","label":"Please explain the 'other' reason for not having a TIN."},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Description"}],"id":"confirmation-US-person","label":"US Person"},{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.SocialSecurityNumber"}],"id":"confirmation-US-person-ssn","label":"SSN Number"}],"groupPanelSettings":{"customClasses":"bg-white"},"id":"confirmation-personal-secondary","template":"GroupPanel","title":"Joint Applicant"},{"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Description","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Unemployed"}],"controlType":"Input","defaultValue":"Unemployed","id":"occupation-unemployed","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Description","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"}],"controlType":"Input","defaultValue":"Retired","id":"occupation-retired","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Description","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Unemployed"}],"controlType":"Input","defaultValue":"Unemployed","id":"industry-unemployed","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Description","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"}],"controlType":"Input","defaultValue":"Retired","id":"industry-retired","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.CompanyName","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Unemployed"}],"controlType":"Input","defaultValue":"Unemployed","id":"employer-detail-unemployed","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.CompanyName","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"}],"controlType":"Input","defaultValue":"Retired","id":"employer-detail-retired","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.CompanyName","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"}],"controlType":"Input","defaultValue":"SelfEmployed","id":"employer-detail-self-employed","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Code","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Domestic"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"International"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"None"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"NotExposed","id":"hidden-exposure-status-code-ne-f","template":"TextBox"},{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Description","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Domestic"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"International"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"None"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"NotExposed","id":"exposure-status-description-ne-f","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Code","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Foreign"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"International"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"None"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"NotExposed","id":"exposure-status-code-ne-d","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Description","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Foreign"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"International"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"None"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"NotExposed","id":"exposure-status-description-ne-i","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Code","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Domestic"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Foreign"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"None"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"NotExposed","id":"exposure-status-code-ne-i","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Description","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Domestic"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"International"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"None"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"NotExposed","id":"exposure-status-description-ne-if","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"None","id":"foreign-tax-status-code-none","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Description","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"None","id":"foreign-tax-status-description-none","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-1"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-3"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"ForeignTaxPayer","id":"foreign-tax-status-code","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Description","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-1"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-3"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"Foreign Tax Payer","id":"foreign-tax-status-description","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"No"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"NonPerson","id":"are-you-us-taxed-none","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Description","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"No"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"Non Person","id":"are-you-us-taxed-none-d","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes-Applied"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes-No"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"TaxPerson","id":"are-you-us-taxed","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Description","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes-Applied"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes-No"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"Tax Person","id":"are-you-us-taxed-d","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Code","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","defaultValue":"None","id":"foreign-tax-id1-code-none","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Description","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","defaultValue":"None","id":"foreign-tax-id1-description-none","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Code","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","defaultValue":"NotApplied","id":"foreign-tax-id1-status-code-none","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Description","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","defaultValue":"Not Applied","id":"foreign-tax-id1-status-code-none","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxNumber","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","defaultValue":"None","id":"foreign-tax-id1-name-none","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Code","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","defaultValue":"None","id":"foreign-tax-id2-code-none","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Description","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","defaultValue":"None","id":"foreign-tax-id2-description-none","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Code","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","defaultValue":"NotApplied","id":"foreign-tax-id2-status-code-none","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Description","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","defaultValue":"Not Applied","id":"foreign-tax-id2-status-description-none","template":"Hidden"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxNumber","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","defaultValue":"None","id":"foreign-tax-id2-name-none","template":"Hidden"}],"customClasses":"bg-white hidden","id":"confirmation-compliance-hidden","template":"GroupPanel","title":"Compliance","width":"Large"},{"controls":[{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Description","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Unemployed"}],"controlType":"Input","defaultValue":"Unemployed","id":"occupation-unemployed-joint","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Description","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"}],"controlType":"Input","defaultValue":"Retired","id":"occupation-retired-joint","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Description","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Unemployed"}],"controlType":"Input","defaultValue":"Unemployed","id":"industry-unemployed-joint","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Description","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"}],"controlType":"Input","defaultValue":"Retired","id":"industry-retired-joint","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.CompanyName","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Unemployed"}],"controlType":"Input","defaultValue":"Unemployed","id":"employer-detail-unemployed-joint","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.CompanyName","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"}],"controlType":"Input","defaultValue":"Retired","id":"employer-detail-retired-joint","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.CompanyName","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"}],"controlType":"Input","defaultValue":"SelfEmployed","id":"employer-detail-self-employed-joint","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Code","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Domestic"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"International"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"None"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"NotExposed","id":"hidden-exposure-status-code-ne-f-joint","template":"TextBox"},{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Description","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Domestic"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"International"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"None"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"NotExposed","id":"exposure-status-description-ne-f-joint","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Code","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Foreign"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"International"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"None"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"NotExposed","id":"exposure-status-code-ne-d-joint","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Description","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Foreign"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"International"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"None"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"NotExposed","id":"exposure-status-description-ne-i-joint","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Code","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Domestic"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Foreign"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"None"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"NotExposed","id":"exposure-status-code-ne-i-joint","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Description","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Domestic"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"International"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"None"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"NotExposed","id":"exposure-status-description-ne-if-joint","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"None","id":"foreign-tax-status-code-none-joint","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Description","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"None","id":"foreign-tax-status-description-none-joint","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-1"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-3"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"ForeignTaxPayer","id":"foreign-tax-status-code-joint","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Description","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-1"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-3"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"Foreign Tax Payer","id":"foreign-tax-status-description-joint","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"No"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"NonPerson","id":"are-you-us-taxed-none-joint","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Description","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"No"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"Non Person","id":"are-you-us-taxed-none-d-joint","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes-Applied"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes-No"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"TaxPerson","id":"are-you-us-taxed-joint","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Description","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes-Applied"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes-No"}],"controlType":"Input","customClasses":"-mt-3 -mb-3","defaultValue":"Tax Person","id":"are-you-us-taxed-d-joint","isVisible":false,"template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Code","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","defaultValue":"None","id":"foreign-tax-id1-code-none-joint","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Description","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","defaultValue":"None","id":"foreign-tax-id1-description-none-joint","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Code","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","defaultValue":"NotApplied","id":"foreign-tax-id1-status-code-none-joint","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Description","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","defaultValue":"Not Applied","id":"foreign-tax-id1-status-code-none-joint","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxNumber","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","defaultValue":"None","id":"foreign-tax-id1-name-none-joint","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Code","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","defaultValue":"None","id":"foreign-tax-id2-code-none-joint","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Description","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","defaultValue":"None","id":"foreign-tax-id2-description-none-joint","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Code","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","defaultValue":"NotApplied","id":"foreign-tax-id2-status-code-none-joint","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Description","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","defaultValue":"Not Applied","id":"foreign-tax-id2-status-description-none-joint","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxNumber","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"controlType":"Input","defaultValue":"None","id":"foreign-tax-id2-name-none-joint","template":"Hidden"}],"customClasses":"bg-white hidden","id":"joint-confirmation-compliance-hidden","template":"GroupPanel","title":"Compliance","width":"Large"}]},{"commandsOnSubmit":[{"body":[{"parameterName":"AccessType","parameterValue":"Owner"},{"parameterName":"CustomerType","parameterValue":"Individual"}],"conditions":[{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"},{"targetJsonPath":"$.Customers[1].CustomerId","targetValue":""},{"targetJsonPath":"$.ApplicationStatus.Code","targetValue":"Started"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers","httpMethod":"POST","onSuccess":[{"createDataModelAtPath":"$.Customers[1]","navigationAction":{"navigationType":"NavigateForward"},"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"},{"bindingPath":"$.Customers[0].CustomerDetail.MarketingEngagement","targetJsonPath":"$.Customers[1].CustomerDetail.MarketingEngagement"},{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranch","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.HomeBranch"},{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.MemberStatus"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Code","targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Code"},{"targetJsonPath":"$.Private.Sin.MemberType","value":"INDIVIDUAL"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.CustomerAgreements.PrivacyPolicyStatus.Code","value":"Declined"}],"statusCode":201}]}],"id":"joint-applicant-modal","modalOptions":{"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,"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":"Submit"}],"customClasses":"box-shadow-none p-0","id":"add-joint-account","textAlignment":"text-left","title":"Add Joint Applicant"}]},{"hasBackButton":false,"hasNextButton":false,"id":"joint-declarations-modal","modalOptions":{"modalSize":"extra-large"},"navigation":{"nextPageId":"joint-address-modal"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"columns":2,"controls":[{"columnOverride":1,"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"controlType":"HTML","customClasses":"mb-0","description":"Please click the checkboxes to confirm you have read and understood the declarations listed below.","id":"joint-declarationTitle-new"},{"columnOverride":1,"controlType":"HTML","customClasses":"mb-0 h-auto","description":"<div><p>I confirm that:</p><ul class='mb-0'><li>I am a current resident of Alberta and a Canadian citizen.</li><li>I am 18 years or older.</li><li>I am not opening this account on behalf of any third party.</li><li>I will need to purchase $25 in Membership Common Shares.</li><li>I understand and consent that my information will be used by our trusted partners including Canadian credit bureaus and telecommunications providers to verify my identity, and that the information being validated is already in their files and will not be shared.</li></ul></div>","id":"declarationList1-new"},{"columnOverride":1,"controlType":"Divider","id":"divider1-new"},{"bindingPath":"$.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":"$.Customers[1].CustomerDetail.CustomerAgreements.TermsAndCondition.Code","checkboxSettings":{"checkedRequired":true,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"controlType":"Input","id":"declarationCheckboxPrivacy-new","label":"I confirm that I have read and agree to the <a href=\"https://cdn.test.thirdstream.ca/bowvalley/cumulus/BVCU_TermsAndConditions.pdf\" target=\"_blank\">Terms and Conditions for Financial Services - Personal</a>, conditions of the <a target=\"_blank\" href=\"https://cdn.prod.thirdstream.ca/bowvalley/cumulus/MemberCard-Agreement-Terms.pdf\">MemberCard Agreement</a>, and the <a target=\"_blank\" href=\"https://cdn.prod.thirdstream.ca/bowvalley/cumulus/Common-Share-Disclosure.pdf\">Common Share Disclosure Statement</a>.","template":"CheckBox","value":false},{"bindingPath":"$.Customers[1].CustomerDetail.CustomerAgreements.PrivacyPolicy.Code","checkboxSettings":{"checkedRequired":false,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"controlType":"Input","id":"declarationCheckboxSubPrivacy-new","label":"Send me news, events and offers and advice on products and services that may be of interest to me. I understand I can withdraw my consent at any time. We will use and protect your information in accordance with our <a href=\"https://www.bowvalleycu.com/en/privacy?_ga=2.261929352.409369766.1721917296-915917705.1716484392\" target=\"_blank\">privacy policy</a>.","template":"CheckBox","value":false},{"columnOverride":1,"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"controlType":"Divider","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","headingSize":"h1","id":"declarations-section1","template":"Default","textAlignment":"text-left","title":"Declarations"}]},{"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.PhysicalAddressSameAsPrimary","targetValue":"Yes"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.Search","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.Search"}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"}}]}],"id":"joint-address-modal","modalOptions":{"modalSize":"extra-large"},"navigation":{"nextPageId":"joint-personal-information"},"pageMode":"Modal","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":4,"sections":[{"columns":2,"controls":[{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.PhysicalAddressSameAsPrimary","bindOnChange":true,"columnOverride":1,"controlOptions":{"options":[{"label":"Yes","value":"Yes"},{"label":"No","value":"No"}]},"controlType":"Input","customClasses":"pb-3","id":"joint-confirm-address-radio","inputMode":"Required","label":"Is your physical address same as the primary applicant?","radioListSettings":{"bindOnSelect":true,"submitOnSelect":false},"resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.Search"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home"}]}],"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":"Submit"}],"customClasses":"box-shadow-none p-0","id":"joint-confirm-address","textAlignment":"text-left","title":"Address Confirmation"}]},{"commandsOnLoad":[{"body":[{"parameterName":"AccessType","valueJsonPath":"$.Customers[1].AccessType"},{"parameterName":"CustomerType","valueJsonPath":"$.Customers[1].CustomerType"}],"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"},{"targetJsonPath":"$.Private.Sin.MemberType","value":"INDIVIDUAL"}],"statusCode":201}]},{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.PhysicalAddressSameAsPrimary","targetValue":"Yes"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.Search","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.Search"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.CityName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.CityName"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.CivicNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.CivicNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.Country.Code","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.Country.Code"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.PostalCode","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.PostalCode"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.Province.Code","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.Province.Code"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.StreetName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.StreetName"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.UnitNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.UnitNumber"}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","dataTransformation":[{"pattern":"^.{1,2}","replacement":""}],"targetJsonPath":"$.Private.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"}]}]},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.HasOverdraftOffer","targetValue":"No"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Previous.Search"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Previous.LivedMoreThanTwoYears"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.UnitNumber"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.CivicNumber"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.StreetName"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.CityName"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.Province.Code"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.Country.Code"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.PostalCode"}]}]}],"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.SameAsAddressType","value":"Home"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Previous.LivedMoreThanTwoYears","targetValue":"No"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.Duration.MinimumMonthCount","value":24}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CityName","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.BoxNumber","value":""}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CityName","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber","value":""}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search","targetValue":"*"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","targetValue":"*"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.SameAsAddressType","value":"None"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.CityName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CityName"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Country.Code","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Country.Code"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search","targetValue":"*"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","targetValue":"*"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.SameAsAddressType","value":"None"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.CityName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.CityName"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.BoxNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalBoxNumber"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Country.Code","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Country.Code"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code"}]}]},{"allowNull":false,"body":[{"parameterName":"AddressContacts","valueJsonPath":"$.Customers[1].CustomerDetail.AddressContacts"},{"parameterName":"EmailContacts","valueJsonPath":"$.Customers[1].CustomerDetail.EmailContacts"},{"parameterName":"FirstName","valueJsonPath":"$.Customers[1].CustomerDetail.FirstName"},{"parameterName":"LastName","valueJsonPath":"$.Customers[1].CustomerDetail.LastName"},{"parameterName":"MarketEngagment","valueJsonPath":"$.Customers[1].CustomerDetail.MarketEngagment"},{"parameterName":"PhoneContacts","valueJsonPath":"$.Customers[1].CustomerDetail.PhoneContacts"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[1].CustomerId}/detail","httpMethod":"PUT","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"statusCode":200}]}],"hasBackButton":true,"hasNextButton":true,"id":"joint-personal-information","navigation":{"nextPageId":"joint-confirm-sms"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":1,"restrictions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"sections":[{"controls":[{"bindingPath":"$.Customers[1].CustomerDetail.FirstName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"customValidators":[{"errorMessage":"First name must start and end with a letter, and may contain only letters, hyphens, apostrophe (') or spaces.","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z]([ .,'-]*?[A-Za-z])*$"},"validator":"Regex"}],"id":"joint-firstName","inputMode":"Required","label":"Legal first name","maxLength":50,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox"},{"bindingPath":"$.Customers[1].CustomerDetail.MiddleName","controlType":"Input","customClasses":"pb-2","customValidators":[{"errorMessage":"Middle name must start and end with a letter, and may contain only letters, hyphens, apostrophe (') or spaces.","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z]([ .,'-]*?[A-Za-z])*$"},"validator":"Regex"}],"id":"joint-middleName","inputMode":"Optional","label":"Legal middle name (if applicable)","maxLength":50,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox"},{"bindingPath":"$.Customers[1].CustomerDetail.LastName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"customValidators":[{"errorMessage":"Last name must start and end with a letter, and may contain only letters, hyphens, apostrophe (') or spaces.","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z]([ .,'-]*?[A-Za-z])*$"},"validator":"Regex"}],"id":"joint-lastName","inputMode":"Required","label":"Legal last name","maxLength":50,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox"},{"bindingPath":"$.Customers[1].CustomerDetail.DateOfBirth","bindOnChange":true,"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"datepickerSettings":{"ageJsonPath":"$.Private.Customers[1].CustomerDetail.Age","defaultDate":"1980,1,1","minAge":18},"iconLeft":"fal fa-calendar-alt","id":"joint-dob","inputMode":"Required","label":"Date of birth","template":"DatePicker"},{"allConditionsMustBeMet":true,"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.SocialInsuranceNumber","conditions":[{"targetJsonPath":"$.Products[?(@.ProductType.Code=='PersonalChequing')].OfferDetail.ProductName","targetValue":"*"},{"targetJsonPath":"$.Products[?(@.ProductType.Code=='PersonalSavings')].OfferDetail.ProductName","targetValue":""},{"targetJsonPath":"$.Products[?(@.ProductType.Code=='Investments')].OfferDetail.ProductName","targetValue":""}],"controlType":"Input","customClasses":"pb-2","customValidators":[{"errorMessage":"Oops. You have entered an invalid Social Insurance Number.","validator":"SocialInsuranceNumber"}],"id":"joint-sinNumber","inputMask":"999-999-999","inputMode":"Optional","keyboardType":"Phone","label":"Social insurance number (optional)","regexMessage":"Oops. You have entered an invalid Social Insurance Number.","regexPattern":"^(\\d{3}-\\d{3}-\\d{3})|(\\d{9})$","template":"TextBox"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.SocialInsuranceNumber","conditions":[{"targetJsonPath":"$.Products[?(@.ProductType.Code=='PersonalSavings')].OfferDetail.ProductName","targetValue":"*"},{"targetJsonPath":"$.Products[?(@.ProductType.Code=='Investments')].OfferDetail.ProductName","targetValue":"*"}],"controlType":"Input","customClasses":"pb-2","customValidators":[{"errorMessage":"Oops. You have entered an invalid Social Insurance Number.","validator":"SocialInsuranceNumber"}],"id":"joint-sinNumber1","inputMask":"999-999-999","inputMode":"Required","keyboardType":"Phone","label":"Social insurance number","regexMessage":"Oops. You have entered an invalid Social Insurance Number.","regexPattern":"^(\\d{3}-\\d{3}-\\d{3})|(\\d{9})$","template":"TextBox"},{"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"Your Social Insurance Number will be used for tax reporting purposes and to help us confirm your identity. This is an optional field, unless applying for any one of or a combination of an Investment account, Personal Savings account or Overdraft Protection.","id":"joint-sin-helpText"},{"bindingPath":"$.Private.MemberShare.ProductType.Code","controlType":"Input","defaultValue":"MemberShare","id":"ProductNamePmCode","template":"Hidden"},{"bindingPath":"$.Private.MemberShare.ProductName","controlType":"Input","defaultValue":"Member Share","id":"ProductNamePm","template":"Hidden"},{"bindingPath":"$.Private.MemberShare.ProductDetail.RegulatoryCompliance.IntendedUse.Code","controlType":"Input","defaultValue":"MembershipShares","id":"ProductNamePmCodeIUC","template":"Hidden"},{"bindingPath":"$.Private.MemberShare.ProductDetail.RegulatoryCompliance.IntendedUse.Description","controlType":"Input","defaultValue":"Membership equity shares","id":"ProductNamePmCodeIUD","template":"Hidden"}],"id":"about-you","tagDescription":"<span class='px-2'>Joint</span>","title":"About You"},{"controls":[{"addressInputs":{"cityName":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.CityName","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"cityNameJ","inputMode":"Required","label":"City","maxLength":50,"template":"TextBox"},"civicNumber":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.CivicNumber","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"civicNumberJ","inputMode":"Required","label":"Street number","maxLength":10,"template":"TextBox"},"country":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.Country.Code","bindOnChange":true,"controlOptions":{"options":[{"label":"Canada","value":"CA"}]},"controlType":"Input","id":"countryJ","inputMode":"Required","label":"Country","template":"DropDown","value":"CA"},"postalCode":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.PostalCode","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"postalCodeJ","inputMask":"a9a-9a9","inputMode":"Required","label":"Postal code","regexMessage":"Invalid postal code","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":"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":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Description","valueJsonPath":"$.Code"},"enabled":true,"id":"provinceCodeJ","inputMode":"Required","label":"Province","regexMessage":"Our products and services are currently only available to Alberta residents.","regexPattern":"^AB$","template":"DropDown"},"streetName":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.StreetName","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"streetNameJ","inputMode":"Required","label":"Street name","maxLength":35,"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"},"unitNumber":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.UnitNumber","bindOnChange":true,"controlType":"Input","id":"unitNumberJ","inputMode":"Optional","label":"Apt/Unit #","maxLength":10,"template":"TextBox"}},"addressSettings":{"commandsOnSelect":[{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.PhysicalAddressSameAsPrimary","value":"No"}]}]}],"manualEntryType":"Modal","modalButtonLabel":"Submit","modalDescription":"Please enter your address manually below.","modalTitle":"Enter Manual Address","poBoxRestrictionMessage":"Please select a non-PO box address","resetAddressOnClose":true,"restrictPoBox":true,"toggleLinkLabel":{"searchLabel":"Enter Address Manually"}},"autocompleteSettings":{"bindOnChange":true,"bindOnSelect":true},"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.Search","controlType":"Input","customClasses":"max-w-full","customValidationMessages":{"required":"This is a required field."},"customValidators":[{"errorMessage":"Our products and services are currently only available to Alberta residents.","parameters":{"objectProperty":"label","regexPattern":"^.*?, AB, ?.*$"},"validator":"Regex"}],"iconLeft":"fal fa-map-marker-alt","id":"joint-addressSearch","inputMode":"Required","label":"Physical address","template":"AddressSearch"},{"addressInputs":{"addressType":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","bindOnLoad":true,"controlOptions":{"options":[{"label":"Street Address","value":"STREET"},{"label":"PO Box Address","value":"POBOX"}]},"controlType":"Input","dropdownSettings":{"bindOnSelect":true},"enabled":true,"id":"addressTypeMJ","inputMode":"Optional","inputModeConditions":[{"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search","targetValue":"*"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].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[1].CustomerDetail.AddressContacts.Mail.BoxNumber"},{"onChangeTargetId":"poBoxNumberMJ"}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber"},{"onChangeTargetId":"unitNumberMJ"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber"},{"onChangeTargetId":"civicNumberMJ"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName"},{"onChangeTargetId":"streetNameMJ"}]}],"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":"poBoxNumberMJ","inputMode":"Optional","inputModeConditions":[{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"PO Box #","maxLength":40,"template":"TextBox"},"cityName":{"allInputModeConditionsMustBeMet":true,"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.CityName","bindOnChange":true,"controlType":"Input","customValidators":[{"errorMessage":"Please enter valid city","parameters":{"objectProperty":"id","regexPattern":"^[a-zA-Z0-9'.,-\\s]*$"},"validator":"Regex"}],"id":"cityNameMJ","inputMode":"Optional","inputModeConditions":[{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"*"},{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search","targetValue":"*"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"City","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"civicNumber":{"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","id":"civicNumberMJ","inputMode":"Optional","inputModeConditions":[{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"},{"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search","targetValue":"*"}],"defaultInputMode":"Optional","inputMode":"Required","labelChange":true}],"label":"Street number","maxLength":10,"regexMessage":"Please enter a valid street number","regexPattern":"(^[0-9A-Za-z ]*$)?","template":"TextBox"},"country":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Country.Code","bindOnChange":true,"controlOptions":{"options":[{"label":"Canada","value":"CA"}]},"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"countryMJ","inputMode":"Optional","label":"Country","template":"DropDown"},"postalCode":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"postalCodeMJ","inputMask":"a9a-9a9","inputMode":"Optional","label":"Postal code","regexMessage":"Invalid postal code","regexPattern":"^([A-Za-z]\\d[A-Za-z]\\d[A-Za-z]\\d)$","template":"TextBox","transformStringTo":"Uppercase"},"provinceCode":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code","bindOnChange":true,"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":"Saskatchewan","value":"SK"},{"label":"Yukon","value":"YT"}]},"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Description","valueJsonPath":"$.Code"},"enabled":true,"id":"provinceCodeMJ","inputMode":"Optional","label":"Province","template":"DropDown"},"streetName":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"streetNameMJ","inputMode":"Optional","label":"Street name","maxLength":35,"template":"TextBox"},"unitNumber":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"}],"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"unitNumberMJ","inputMode":"Optional","label":"Apt/Unit #","maxLength":10,"template":"TextBox"}},"addressSettings":{"enableResetOnManualEntry":true,"enableValidationsOnManualEntry":true,"manualEntryType":"Modal","modalButtonLabel":"Submit","modalDescription":"Please enter your address manually below.","modalTitle":"Enter Manual Address","resetOnManualEntryDelayMS":200,"restrictPoBox":false,"toggleLinkLabel":{"searchLabel":"Enter Address Manually"},"validationsOnManualEntryDelayMS":50},"autocompleteSettings":{"bindOnSelect":true,"forceSelection":false},"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search","bindOnChange":true,"controlType":"Input","customClasses":"max-w-full mb-3","iconLeft":"fal fa-map-marker-alt","id":"joint-addressSearchMail","inputMode":"Required","label":"Mailing address","template":"AddressSearch"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Previous.LivedMoreThanTwoYears","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.HasOverdraftOffer","targetValue":"Yes"}],"controlOptions":{"options":[{"label":"Yes","value":"Yes"},{"label":"No","value":"No"}]},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"id":"joint-previous-address-question","inputMode":"Required","label":"Have you lived at this address for more than two years?","radioListSettings":{"bindOnSelect":true,"submitOnSelect":false},"resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"joint-addressSearchPrevious"},{"onChangeTargetId":"unitNumberPJ"},{"onChangeTargetId":"poBoxNumberPJ"},{"onChangeTargetId":"civicNumberPJ"},{"onChangeTargetId":"streetNamePJ"},{"onChangeTargetId":"cityNamePJ"},{"onChangeTargetId":"provinceCodePJ"},{"onChangeTargetId":"postalCodePJ"},{"onChangeTargetId":"countryPJ"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Previous.Search"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.UnitNumber"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.UnitNumber"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.CivicNumber"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.StreetName"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.CityName"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.Province.Code"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.Country.Code"},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.PostalCode"}]}],"template":"RadioList"},{"addressInputs":{"cityName":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.CityName","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"cityNamePJ","inputMode":"Optional","label":"City","maxLength":50,"template":"TextBox"},"civicNumber":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.CivicNumber","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"civicNumberPJ","inputMode":"Optional","label":"Street number","maxLength":10,"template":"TextBox"},"country":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.Country.Code","bindOnChange":true,"controlOptions":{"options":[{"label":"Canada","value":"CA"}]},"controlType":"Input","id":"countryPJ","inputMode":"Optional","label":"Country","template":"DropDown"},"postalCode":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.PostalCode","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"postalCodePJ","inputMask":"a9a-9a9","inputMode":"Optional","label":"Postal code","regexMessage":"Invalid postal code","regexPattern":"^([A-Za-z]\\d[A-Za-z]\\d[A-Za-z]\\d)$","template":"TextBox","transformStringTo":"Uppercase"},"provinceCode":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.Province.Code","bindOnChange":true,"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":"Saskatchewan","value":"SK"},{"label":"Yukon","value":"YT"}]},"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Description","valueJsonPath":"$.Code"},"enabled":true,"id":"provinceCodePJ","inputMode":"Optional","label":"Province","template":"DropDown"},"streetName":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.StreetName","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"id":"streetNamePJ","inputMode":"Optional","label":"Street name","maxLength":35,"template":"TextBox"},"unitNumber":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Previous.UnitNumber","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Previous.addressType","targetValue":"STREET"}],"controlType":"Input","id":"unitNumberPJ","inputMode":"Optional","label":"Apt/Unit #","maxLength":10,"template":"TextBox"}},"addressSettings":{"manualEntryType":"Modal","modalButtonLabel":"Submit","modalDescription":"Please enter your address manually below.","modalTitle":"Enter Manual Address","restrictPoBox":false,"toggleLinkLabel":{"searchLabel":"Enter Address Manually"}},"autocompleteSettings":{"forceSelection":false},"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Previous.Search","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Previous.LivedMoreThanTwoYears","targetValue":"No"}],"controlType":"Input","customClasses":"max-w-full mb-3 ","customValidationMessages":{"required":"This is a required field."},"iconLeft":"fal fa-map-marker-alt","id":"joint-addressSearchPrevious","inputMode":"Required","label":"Previous address","template":"AddressSearch"},{"bindingPath":"$.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"customValidators":[{"errorMessage":"Please enter a different number from the primary applicant.","operator":"NotEquals","parameters":{"valueJsonPath":"$.Private.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"},"validator":"CompareValue"}],"iconLeft":"fal fa-phone","id":"joint-phoneNumber","inputMask":"(999) 999-9999","inputMode":"Required","inputSettings":{"disableConditions":[{"targetJsonPath":"Private.Customers[1].CustomerDetail.Sms.Result","targetValue":"Verified"}]},"keyboardType":"Phone","label":"Cell phone number","prependString":"+1","regexMessage":"Please enter your phone number, including area code.","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":"This is a required field."},"iconLeft":"fal fa-envelope","id":"joint-email","inputMode":"Required","keyboardType":"Email","label":"Email","maxLength":100,"regexMessage":"A valid email address is required. Please use the format email@example.com","template":"TextBox"},{"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"Your physical address is the address that you would use if you were ordering pizza or calling an ambulance. We do not accept international addresses or PO Boxes.","id":"joint-address-helpText"},{"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"We need a valid email to open your account. We will use and protect your information in accordance with our privacy policy.","id":"joint-email-helpText"}],"id":"contact","title":"Contact Details"}]},{"commandsOnLoad":[{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.Sms.Result","targetValue":"Verified"}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"}}]},{"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.Result","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[1].CustomerId}/contactmethods/verify","httpMethod":"POST","onSuccess":[{"responseMappings":[{"responseJsonPath":"$.VerificationToken","targetJsonPath":"$.Private.Customers[1].CustomerDetail.Sms.VerificationToken"},{"onChangeTargetId":"otp"}],"statusCode":200}]}],"commandsOnSubmit":[{"body":[{"parameterName":"VerificationToken","valueJsonPath":"$.Private.Customers[1].CustomerDetail.Sms.VerificationToken"},{"parameterName":"VerificationCode","valueJsonPath":"$.Private.Customers[1].CustomerDetail.Sms.Otp"}],"conditions":[{"targetJsonPath":"$.Customers[1].CustomerId","targetValue":"*"},{"targetJsonPath":"$.Private.EnableSMSTemporarily","targetValue":"Yes"}],"continueOnError":true,"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[1].CustomerId}/contactmethods/verify","errorRetryCount":0,"httpMethod":"PUT","onError":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.Sms.Otp","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.Sms.Result","value":"NotVerified"}],"statusCode":400,"throwError":false}],"onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.Sms.Result","value":"Verified"}],"statusCode":200,"throwError":true}]},{"conditions":[{"targetJsonPath":"$.Private.EnableSMSTemporarily","targetValue":"Yes"}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-confirm-sms"}}]}],"hasBackButton":false,"hasNextButton":false,"id":"joint-confirm-sms","modalOptions":{"modalSize":"extra-large"},"navigation":{"nextPageId":"joint-employment-info"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"columns":2,"controls":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.Sms.Result","bindOnChange":true,"controlType":"Input","id":"otp-mobile-result1","template":"Hidden"},{"columnOverride":1,"controlType":"HTML","customClasses":"pt-1","description":"During the online application process you provided a phone number that will be used to send you a verification code. You should be receiving it shortly.<br/><br/>If it does not arrive within the next few minutes, click the resend code link and we will send you another code. Once the mobile number has been confirmed it will not be editable.","id":"otp-html1"},{"columnOverride":1,"controlType":"HTML","customClasses":"-mb-2","description":"<label>Mobile code</label>","id":"otp-mobile-label1"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.Sms.Otp","bindOnChange":true,"columnOverride":1,"controlType":"Input","customClasses":"pb-2","id":"otp-mobile1","inputMode":"Required","label":"Enter mobile code","maxLength":6,"minLength":6,"regexMessage":"You may only enter numbers","regexPattern":"^[0-9]*$","template":"TextBox"},{"allConditionsMustBeMet":true,"columnOverride":1,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.Sms.Result","targetValue":"NotVerified"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.Sms.Otp","targetValue":""}],"controlType":"HTML","customClasses":"-mt-2 ml-3 p-invalid","description":"<small>Verificiation code is invalid</small>","id":"otp-mobile-error1"},{"columnOverride":1,"controlType":"HelpText","helpIcon":"fal fa-question-circle -pr-1 font-size-110-percent","helpText":"Please enter your code within 5 minutes of receiving it.","id":"otp-mobile-help1"},{"columnOverride":1,"controlType":"CountdownTimer","countdownTimerSettings":{"countdownTimeMin":0.3,"icon":"fal fa-info-circle","label":"Resend a code","timerCompleteButtonCommands":[{"body":[{"parameterName":"DeliveryMethod","parameterValue":"Sms"},{"parameterName":"ContactType","parameterValue":"Mobile"}],"conditions":[{"targetJsonPath":"$.Customers[1].CustomerId","targetValue":"*"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[1].CustomerId}/contactmethods/verify","httpMethod":"POST","onSuccess":[{"responseMappings":[{"responseJsonPath":"$.VerificationToken","targetJsonPath":"$.Private.Customers[1].CustomerDetail.Sms.VerificationToken"}],"statusCode":200}]}],"timerCompleteButtonLabel":"send","timerCompleteButtonLabelPrefix":"","timerCompleteButtonLabelSuffix":""},"customClasses":"-mt-2 mb-5 align-items-center flex","id":"resend-mobile-timer1"},{"columnOverride":1,"controlType":"Divider","customClasses":"-mt-2","id":"divider11"},{"buttonAction":"CloseModal","buttonSettings":{"isOutline":true},"controlType":"Button","id":"close-modal-button1","label":"Cancel"},{"buttonAction":"Submit","controlType":"Button","customClasses":"float-right","id":"btnNext1","label":"Submit"}],"customClasses":"-mb-3 box-shadow-none p-0","headingSize":"h1","id":"get-code1","textAlignment":"text-left","title":"Confirm your mobile number."}]},{"commandsOnLoad":[{"customCommand":"GenerateGuid","onSuccess":[{"parameterName":"$.Guid","responseMappings":[{"responseJsonPath":"$.Guid","targetJsonPath":"$.Private.Guids.BusinessSearch"}]}]},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.HasOverdraftOffer","targetValue":"No"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.IsThisCurrentEmployment"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Description"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Code"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType.Description"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType.Code"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus"}]}]}],"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous"}]}]},{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.IsThisCurrentEmployment","targetValue":"No"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.Duration.MinimumMonthCount","value":24}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"bindingPath":"$.Customers[1].CustomerDetail.MemberRegistration.OnlineBanking.NewPassword","dataTransformation":[{"flag":"g","pattern":"[A-Za-z0-9@#$!]","replacement":"•"}],"targetJsonPath":"$.Private.Customers[1].CustomerDetail.MemberRegistration.OnlineBanking.NewPasswordDisplay"}]}]}],"hasBackButton":true,"hasNextButton":true,"id":"joint-employment-info","navigation":{"nextPageId":"joint-compliance"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":2,"resetToDefaultOnBackClick":true,"sections":[{"controls":[{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","controlOptions":{"descriptionControlId":"joint-employment-status-description","options":[{"icon":"fal fa-briefcase","label":"Employed","value":"Employed"},{"icon":"fal fa-laptop-house","label":"Self-Employed","value":"SelfEmployed"},{"icon":"fal fa-coffee","label":"Retired","value":"Retired"},{"icon":"fal fa-newspaper","label":"Unemployed","value":"Unemployed"},{"label":"Student","value":"Student"},{"label":"Homemaker","value":"Homemaker"}]},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.value","labelJsonPath":"$.label","selectedIdJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Description"},"id":"joint-employment-type","inputMode":"Required","label":"Employment status","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"joint-occupation"},{"onChangeTargetId":"joint-industry"},{"onChangeTargetId":"joint-employer-name"},{"onChangeTargetId":"joint-employment-addressSearch"},{"onChangeTargetId":"joint-employer-phone"},{"onChangeTargetId":"unitNumberEJ"},{"onChangeTargetId":"civicNumberEJ"},{"onChangeTargetId":"streetNameEJ"},{"onChangeTargetId":"cityNameEJ"},{"onChangeTargetId":"provinceCodeEJ"},{"onChangeTargetId":"postalCodeEJ"},{"onChangeTargetId":"countryEJ"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Description"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Code"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Description"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Code"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Search"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail"}]}],"template":"DropDown"},{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Description","bindOnChange":true,"controlType":"Input","id":"joint-employment-status-description","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Description","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"}],"controlOptions":{"descriptionControlId":"industry","onChangeTargetId":"joint-occupation","optionsJsonPath":"$.Private.Lists.Industry"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onLoad":{"endpointUrl":"api/staticdata/industrytypes","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Industry"}],"statusCode":200}]},"onSelect":{"endpointUrl":"api/staticdata/occupationtypes?searchFor={$.Customers[1].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Code}&searchIn=CategoryCode,CategoryCode2,CategoryCode3","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Occupation"},{"bindingPath":"$..Lists.Occupation[?(@.IsRetired=='false'&&(@.CategoryCode=={$.Customers[1].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Code}||@.CategoryCode2=={$.Customers[1].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Code}||@.CategoryCode3=={$.Customers[1].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Code}))]","targetJsonPath":"$.Private.Lists.JointEmployedOccupation"}],"statusCode":200}]},"selectedIdJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Code"},"id":"joint-industry","inputMode":"Required","label":"Industry","template":"DropDown"},{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Description","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"}],"controlOptions":{"descriptionControlId":"occupation","optionsJsonPath":"$.Private.Lists.JointEmployedOccupation"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Code"},"id":"joint-occupation","inputMode":"Required","label":"Occupation","template":"DropDown"},{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"}],"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"Choose the occupation that most closely matches your field.","id":"joint-employment-helpText"},{"autocompleteSettings":{"forceSelection":false,"idJsonPath":"$.placeId","labelJsonMultiPath":"{$.displayName}","onSearch":{"endpointUrl":"api/placesearch/autocomplete?input={$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.Employer.Search.Term}&sessionToken={$.Private.Guids.BusinessSearch}","httpMethod":"GET"},"onSelect":{"endpointUrl":"api/placesearch/places/{$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.Employer.Search.Id}","httpMethod":"GET","onSuccess":[{"parameterName":"$.address","responseMappings":[{"responseJsonPath":"$.displayName","targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.CompanyName"},{"responseJsonPath":"$.formattedPhoneNumber","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.MainPhone.PhoneNumber"},{"responseJsonPath":"$.formattedAddress","targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Search"},{"onChangeTargetId":"joint-employer-phone","responseJsonPath":"$.phoneNumber"},{"responseJsonPath":"$.displayName","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.CompanyName"},{"responseJsonPath":"$.address.civicNumber","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.CivicNumber"},{"responseJsonPath":"$.address.unitNumber","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.UnitNumber"},{"responseJsonPath":"$.address.streetName","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.StreetName"},{"responseJsonPath":"$.address.city","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.CityName"},{"responseJsonPath":"$.address.provinceCode","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Province.Code"},{"responseJsonPath":"$.address.postalCode","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.PostalCode"},{"responseJsonPath":"$.address.countryCode","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Country.Code"}],"statusCode":200}]},"searchIdJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.Employer.Search.Id","searchTermJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.Employer.Search.Term"},"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.CompanyName","bindOnLoad":true,"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"}],"controlOptions":{"descriptionControlId":"employer-name","onChangeTargetId":"joint-employment-addressSearch"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"customValidators":[{"errorMessage":"This field does not accept input of special characters other than - (hyphen) and ' (apostrophe)","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z0-9 '-é]+$"},"validator":"Regex"}],"iconLeft":"fal fa-briefcase","id":"joint-employer-name","inputMode":"Required","label":"Employer name","maxLength":50,"template":"AutoComplete"},{"addressInputs":{"cityName":{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.CityName","controlType":"Input","customValidationMessages":{"required":"Please enter this information as this is a required field"},"customValidators":[{"errorMessage":"Input contains special and/or accented characters, please remove them to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z '-é]+$"},"validator":"Regex"}],"id":"cityNameEJ","inputMode":"Optional","label":"City","maxLength":50,"template":"TextBox"},"civicNumber":{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.CivicNumber","controlType":"Input","customValidationMessages":{"required":"Please enter this information as this is a required field"},"customValidators":[{"errorMessage":"Input contains special and/or accented characters, please remove them to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z0-9 '-é]+$"},"validator":"Regex"}],"id":"civicNumberEJ","inputMode":"Optional","label":"Street number","maxLength":20,"template":"TextBox"},"country":{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Country.Code","bindOnChange":true,"controlOptions":{"options":[{"label":"Canada","value":"CA"}]},"controlType":"Input","id":"countryEJ","inputMode":"Optional","label":"Country","template":"DropDown","value":"CA"},"postalCode":{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.PostalCode","controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"postalCodeEJ","inputMask":"a9a 9a9","inputMode":"Optional","label":"Postal code","regexMessage":"Invalid postal code (eg. A1A 1A1).","regexPattern":"^[A-Z][0-9][A-Z][ ]{0,1}[0-9][A-Z][0-9]$","template":"TextBox","transformStringTo":"Uppercase"},"provinceCode":{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Province.Code","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 this is a required field"},"dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Description","valueJsonPath":"$.Code"},"enabled":true,"id":"provinceCodeEJ","inputMode":"Optional","label":"Province","placeholder":" ","template":"DropDown"},"streetName":{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.StreetName","controlType":"Input","customValidationMessages":{"required":"Please enter this information as this is a required field"},"customValidators":[{"errorMessage":"Input contains special and/or accented characters, please remove them to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z '-é]+$"},"validator":"Regex"}],"id":"streetNameEJ","inputMode":"Optional","label":"Street name","maxLength":50,"template":"TextBox"},"unitNumber":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.UnitNumber","controlType":"Input","customValidators":[{"errorMessage":"Input contains special and/or accented characters, please remove them to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z0-9 '-é]+$"},"validator":"Regex"}],"id":"unitNumberEJ","inputMode":"Optional","label":"Apt/Unit #","maxLength":20,"template":"TextBox"}},"addressSettings":{"manualEntryType":"Modal","modalButtonLabel":"Submit","modalDescription":"Please enter your address manually below.","modalTitle":"Enter Manual Address","poBoxRestrictionMessage":"Please select a non-PO box address ","resetAddressOnClose":true,"restrictPoBox":true,"toggleLinkLabel":{"searchLabel":"Enter Address Manually"}},"autocompleteSettings":{"forceSelection":true},"bindingPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Search","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"customValidators":[{"errorMessage":"Input contains special and/or accented characters. Please enter address manually to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[\\x20-\\x5E\\x60-\\x7A\\xDE ]*$"},"validator":"Regex"}],"iconLeft":"fal fa-map-marker-alt","id":"joint-employment-addressSearch","inputMode":"Optional","label":"Employer address","template":"AddressSearch"},{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.MainPhone.PhoneNumber","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"iconLeft":"fal fa-phone","id":"joint-employer-phone","inputMask":"(999) 999-9999","inputMode":"Optional","keyboardType":"Phone","label":"Employer phone","prependString":"+1","regexMessage":"Please enter your phone number, including area code.","regexPattern":"^(\\d{3}-\\d{3}-\\d{4})|(\\d{10})$","template":"TextBox"},{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.IsThisCurrentEmployment","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.HasOverdraftOffer","targetValue":"Yes"}],"controlOptions":{"options":[{"label":"Yes","value":"Yes"},{"label":"No","value":"No"}]},"controlType":"Input","customClasses":"mt-3 pb-2","customValidationMessages":{"required":"This is a required field."},"id":"joint-previous-employment-question","inputMode":"Required","label":"Has this been your employment status for the last two or more years?","radioListSettings":{"bindOnSelect":true,"submitOnSelect":false},"resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"joint-previous-employment-type"},{"onChangeTargetId":"joint-previous-employment-status-description"},{"onChangeTargetId":"joint-previous-occupation"},{"onChangeTargetId":"joint-previous-industry"},{"onChangeTargetId":"joint-previous-employer-name"},{"onChangeTargetId":"joint-previous-employment-addressSearch"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Description"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Code"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType.Description"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType.Code"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus"}]}],"template":"RadioList"}],"id":"joint-employment-type","tagDescription":"<span class='px-2'>Joint</span>","title":"Employment"},{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.IsThisCurrentEmployment","targetValue":"No"}],"controls":[{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","controlOptions":{"descriptionControlId":"joint-previous-employment-status-description","options":[{"icon":"fal fa-briefcase","label":"Employed","value":"Employed"},{"icon":"fal fa-laptop-house","label":"Self-Employed","value":"SelfEmployed"},{"icon":"fal fa-coffee","label":"Retired","value":"Retired"},{"icon":"fal fa-newspaper","label":"Unemployed","value":"Unemployed"},{"label":"Student","value":"Student"},{"label":"Homemaker","value":"Homemaker"}]},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.value","labelJsonPath":"$.label","selectedIdJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Description"},"id":"joint-previous-employment-type","inputMode":"Required","label":"Previous employment status","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"joint-previous-occupation"},{"onChangeTargetId":"joint-previous-industry"},{"onChangeTargetId":"joint-previous-employer-name"},{"onChangeTargetId":"joint-previous-employment-addressSearch"},{"onChangeTargetId":"joint-previous-employment-phoneNumber"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Description"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Code"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType.Description"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType.Code"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.Search"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail"},{"onChangeTargetId":"unitNumberEPJ"},{"onChangeTargetId":"civicNumberEPJ"},{"onChangeTargetId":"streetNameEPJ"},{"onChangeTargetId":"cityNameEPJ"},{"onChangeTargetId":"provinceCodeEPJ"},{"onChangeTargetId":"postalCodeEPJ"},{"onChangeTargetId":"countryEPJ"}]}],"template":"DropDown"},{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Description","bindOnChange":true,"controlType":"Input","id":"joint-previous-employment-status-description","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Description","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Retired"}],"controlOptions":{"descriptionControlId":"joint-previous-industry","onChangeTargetId":"joint-previous-occupation","optionsJsonPath":"$.Private.Lists.Industry"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onLoad":{"endpointUrl":"api/staticdata/industrytypes","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Industry"}],"statusCode":200}]},"onSelect":{"endpointUrl":"api/staticdata/occupationtypes?searchFor={$.Customers[1].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Code}&searchIn=CategoryCode,CategoryCode2,CategoryCode3","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Occupation"},{"bindingPath":"$..Lists.Occupation[?(@.IsRetired=='false'&&(@.CategoryCode=={$.Customers[1].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Code}||@.CategoryCode2=={$.Customers[1].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Code}||@.CategoryCode3=={$.Customers[1].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Code}))]","targetJsonPath":"$.Private.Lists.JointPreviousEmployedOccupation"}],"statusCode":200}]},"selectedIdJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Code"},"id":"joint-previous-industry","inputMode":"Required","label":"Previous industry","template":"DropDown"},{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType.Description","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Retired"}],"controlOptions":{"descriptionControlId":"joint-previous-occupation","optionsJsonPath":"$.Private.Lists.JointPreviousEmployedOccupation"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType.Code"},"id":"joint-previous-occupation","inputMode":"Required","label":"Previous occupation","template":"DropDown"},{"autocompleteSettings":{"forceSelection":false,"idJsonPath":"$.placeId","labelJsonMultiPath":"{$.displayName}","onSearch":{"endpointUrl":"api/placesearch/autocomplete?input={$.Private.Customers[1].CustomerDetail.EmploymentRecords.Previous.Employer.Search.Term}&sessionToken={$.Private.Guids.BusinessSearch}","httpMethod":"GET"},"onSelect":{"endpointUrl":"api/placesearch/places/{$.Private.Customers[1].CustomerDetail.EmploymentRecords.Previous.Employer.Search.Id}","httpMethod":"GET","onSuccess":[{"parameterName":"$.address","responseMappings":[{"responseJsonPath":"$.displayName","targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.CompanyName"},{"responseJsonPath":"$.formattedPhoneNumber","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.MainPhone.PhoneNumber"},{"responseJsonPath":"$.formattedAddress","targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.Search"},{"onChangeTargetId":"joint-previous-employment-phoneNumber","responseJsonPath":"$.phoneNumber"},{"responseJsonPath":"$.displayName","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.CompanyName"},{"responseJsonPath":"$.address.civicNumber","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.CivicNumber"},{"responseJsonPath":"$.address.unitNumber","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.UnitNumber"},{"responseJsonPath":"$.address.streetName","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.StreetName"},{"responseJsonPath":"$.address.city","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.CityName"},{"responseJsonPath":"$.address.provinceCode","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.Province.Code"},{"responseJsonPath":"$.address.postalCode","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.PostalCode"},{"responseJsonPath":"$.address.countryCode","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.Country.Code"}],"statusCode":200}]},"searchIdJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Previous.Employer.Search.Id","searchTermJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Previous.Employer.Search.Term"},"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.CompanyName","bindOnLoad":true,"conditions":[{"operator":"Contains","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":["Employed","SelfEmployed","Retired"]}],"controlOptions":{"descriptionControlId":"joint-previous-employer-name","onChangeTargetId":"joint-previous-employment-addressSearch"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"customValidators":[{"errorMessage":"This field does not accept input of special characters other than - (hyphen) and ' (apostrophe)","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z0-9 '-é]+$"},"validator":"Regex"}],"iconLeft":"fal fa-briefcase","id":"joint-previous-employer-name","inputMode":"Required","label":"Previous employer name","maxLength":50,"template":"AutoComplete"},{"addressInputs":{"cityName":{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.CityName","controlType":"Input","customValidationMessages":{"required":"Please enter this information as this is a required field"},"customValidators":[{"errorMessage":"Input contains special and/or accented characters, please remove them to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z '-é]+$"},"validator":"Regex"}],"id":"cityNameEPJ","inputMode":"Optional","label":"City","maxLength":50,"template":"TextBox"},"civicNumber":{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.CivicNumber","controlType":"Input","customValidationMessages":{"required":"Please enter this information as this is a required field"},"customValidators":[{"errorMessage":"Input contains special and/or accented characters, please remove them to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z0-9 '-é]+$"},"validator":"Regex"}],"id":"civicNumberEPJ","inputMode":"Optional","label":"Street number","maxLength":20,"template":"TextBox"},"country":{"allConditionsMustBeMet":true,"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.Country.Code","bindOnChange":true,"conditions":[{"operator":"Contains","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":["Employed","SelfEmployed","Retired"]},{"targetJsonPath":"$.Customers[0].CustomerDetail.HasOverdraftOffer","targetValue":"Yes"}],"controlOptions":{"options":[{"label":"Canada","value":"CA"}]},"controlType":"Input","id":"countryEPJ","inputMode":"Optional","label":"Country","template":"DropDown","value":"CA"},"postalCode":{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.PostalCode","controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"postalCodeEPJ","inputMask":"a9a 9a9","inputMode":"Optional","label":"Postal code","regexMessage":"Invalid postal code (eg. A1A 1A1).","regexPattern":"^[A-Z][0-9][A-Z][ ]{0,1}[0-9][A-Z][0-9]$","template":"TextBox","transformStringTo":"Uppercase"},"provinceCode":{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.Province.Code","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 this is a required field"},"dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Description","valueJsonPath":"$.Code"},"enabled":true,"id":"provinceCodeEPJ","inputMode":"Optional","label":"Province","placeholder":" ","template":"DropDown"},"streetName":{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.StreetName","controlType":"Input","customValidationMessages":{"required":"Please enter this information as this is a required field"},"customValidators":[{"errorMessage":"Input contains special and/or accented characters, please remove them to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z '-é]+$"},"validator":"Regex"}],"id":"streetNameEPJ","inputMode":"Optional","label":"Street name","maxLength":50,"template":"TextBox"},"unitNumber":{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.UnitNumber","controlType":"Input","customValidators":[{"errorMessage":"Input contains special and/or accented characters, please remove them to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[A-Za-z0-9 '-é]+$"},"validator":"Regex"}],"id":"unitNumberEPJ","inputMode":"Optional","label":"Apt/Unit #","maxLength":20,"template":"TextBox"}},"addressSettings":{"manualEntryType":"Modal","modalButtonLabel":"Submit","modalDescription":"Please enter your address manually below.","modalTitle":"Enter Manual Address","poBoxRestrictionMessage":"Please select a non-PO box address ","resetAddressOnClose":true,"restrictPoBox":true,"toggleLinkLabel":{"searchLabel":"Enter Address Manually"}},"autocompleteSettings":{"forceSelection":true},"bindingPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.Search","conditions":[{"operator":"Contains","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":["Employed","SelfEmployed","Retired"]}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"customValidators":[{"errorMessage":"Input contains special and/or accented characters. Please enter address manually to proceed.","parameters":{"objectProperty":"label","regexPattern":"^[\\x20-\\x5E\\x60-\\x7A\\xDE ]*$"},"validator":"Regex"}],"iconLeft":"fal fa-map-marker-alt","id":"joint-previous-employment-addressSearch","inputMode":"Required","label":"Previous employer address","template":"AddressSearch"},{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.MainPhone.PhoneNumber","conditions":[{"operator":"Contains","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":["Employed","SelfEmployed","Retired"]}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"iconLeft":"fal fa-phone","id":"joint-previous-employment-phoneNumber","inputMask":"(999) 999-9999","inputMode":"Required","keyboardType":"Phone","label":"Previous employer phone","prependString":"+1","regexMessage":"Please enter your phone number, including area code.","regexPattern":"^(\\d{3}-\\d{3}-\\d{4})|(\\d{10})$","template":"TextBox"}],"id":"joint-previous-employment-type","title":"Previous Employment"},{"controls":[{"controlType":"Validator","customClasses":"mb-4 shadow-none","id":"passwordValidator","validatorSettings":{"footerText":"* You may only use the following special characters: @ # $ ! ","title":"Please ensure your password has the following:","validators":[{"label":"at least 10 characters","regexPattern":"^[A-Za-z\\d#$@!]{10,35}$","targetFormId":"password1"},{"label":"at least 1 uppercase letter","regexPattern":"(.*[A-Z].*)","targetFormId":"password1"},{"label":"at least 1 number","regexPattern":"(.*[0-9].*)","targetFormId":"password1"},{"label":"at least 1 lowercase letter","regexPattern":"(.*[a-z].*)","targetFormId":"password1"}],"validColor":"#3576bc"}},{"bindingPath":"$.Customers[1].CustomerDetail.MemberRegistration.OnlineBanking.NewPassword","controlType":"Input","customClasses":"pb-2","customValidators":[{"parameters":{"targetControlId":"password2"}}],"id":"password1","inputMode":"Required","keyboardType":"Phone","label":"Online banking password","maxLength":30,"regexMessage":"Your password is not meeting the requirements","regexPattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[A-Za-z\\d#$@!]{10,35}$","template":"Password"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.Password2","controlType":"Input","customValidators":[{"errorMessage":"This password does not match what you entered in the previous field","parameters":{"targetFormId":"password1"},"validator":"MatchValue"}],"id":"password2","inputMode":"Required","keyboardType":"Phone","label":"Re-enter your password","maxLength":30,"template":"Password"},{"controlType":"HelpText","helpIcon":"fal fa-info-circle","helpText":"By clicking Continue you agree that your account number and unique password will be recorded and will constitute the signature and signature card for the purposes of opening your membership.","id":"pass-helpText"}],"customClasses":"pb-4","description":"To be able to access your account online you will need to setup an online banking password, also known as your Personal Access Code (PAC).","id":"password","template":"Form","title":"Password Setup","width":"Default"}]},{"hasBackButton":true,"hasNextButton":true,"id":"joint-compliance","navigation":{"nextPageId":"joint-final-questions"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":5,"resetToDefaultOnBackClick":true,"sections":[{"controls":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","controlOptions":{"options":[{"label":"No","value":"None"},{"label":"Yes - in one other country","value":"YES-1"},{"label":"Yes - in two other countries","value":"YES-2"}]},"controlType":"Input","customClasses":"pb-2 block w-16rem sm:w-auto","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.label","labelJsonPath":"$.value","selectedIdJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Description"},"id":"are-you-taxed","inputMode":"Required","label":"Are you a tax resident of a country other than Canada or the US?","resetMappingsSettings":[{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-1"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2"},{"onChangeTargetId":"jurisdiction-21"},{"onChangeTargetId":"have-tin-2"},{"onChangeTargetId":"ssn-2"}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1"},{"onChangeTargetId":"jurisdiction-1"},{"onChangeTargetId":"have-tin-1"},{"onChangeTargetId":"ssn-1"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2"},{"onChangeTargetId":"jurisdiction-21"},{"onChangeTargetId":"have-tin-2"},{"onChangeTargetId":"ssn-2"}]}],"template":"DropDown"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","controlOptions":{"options":[{"label":"No","value":"None"},{"label":"Yes - I have a Social Security Number","value":"Yes"},{"label":"Yes - I will apply or have applied for a SSN but have not yet received it","value":"Yes-Applied"}]},"controlType":"Input","customClasses":"pb-2 block w-16rem sm:w-auto","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.label","labelJsonPath":"$.value","selectedIdJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Description"},"id":"are-you-us-person","inputMode":"Required","label":"Are you a US person? (a citizen or resident of the US)","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.SocialSecurityNumber"}]}],"template":"DropDown"},{"controlType":"HelpText","helpText":"Each jurisdiction has its own rules for defining tax residency. For more information, please consult your tax adviser.","id":"more-details-jurisdiction"},{"controlType":"HelpText","helpText":"A tax resident of the United States includes U.S. Residents or U.S. Citizens. For more information, please consult your tax adviser.","id":"more-details-us-taxed"}],"description":"Please answer the questions below and refer to the text for additional information to help understand the various terms.","id":"more-details","tagDescription":"<span class='px-2'>Joint</span>","title":"Compliance"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-1"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-3"}],"controls":[{"autocompleteSettings":{"forceSelection":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onSelect":{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-compliance"}}]},"searchIdJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Code"},"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Description","bindOnLoad":true,"controlOptions":{"descriptionControlId":"jurisdiction","optionsJsonPath":"$.Private.Lists.Countries"},"controlType":"Input","customClasses":"block w-16rem sm:w-auto","customValidationMessages":{"required":"This is a required field"},"customValidators":[{"errorMessage":"Please choose/enter a different jurisdiction","operator":"NotEquals","parameters":{"id":"joint-jurisdiction-2-validation","targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Code","valueJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Code"},"validator":"CompareValue"}],"id":"jurisdiction-1","inputMode":"Required","label":"Jurisdiction","maxLength":50,"template":"AutoComplete"},{"allowedKeysRegex":"^[0-9]*$","bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxNumber","bindOnChange":true,"bindOnLoad":true,"controlType":"Input","customClasses":"pb-2 mt-3 ","customValidators":[{"errorMessage":"Please enter a different Tax Identification Number ","operator":"NotEquals","parameters":{"valueJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxNumber"},"validator":"CompareValue"}],"id":"ssn-1","inputMode":"Required","label":"Tax Identification Number","maxLength":20,"minLength":7,"regexMessage":"This field should have 7-20 digits and cannot contain only zeros","regexPattern":"^(?!0{7,20}$)(\\d{7,20})$","template":"TextBox"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Code","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxNumber","targetValue":"*"}],"controlType":"Input","defaultValue":"Issued","id":"ssn-1-issued","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Description","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxNumber","targetValue":"*"}],"controlType":"Input","defaultValue":"Yes","id":"ssn-1-status","template":"Hidden"}],"id":"more-details-tax-c1","title":"Tax Resident of Another Country"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES-2"}],"controls":[{"autocompleteSettings":{"forceSelection":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onSelect":{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-compliance"}}]},"searchIdJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Code"},"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Description","bindOnLoad":true,"controlOptions":{"descriptionControlId":"jurisdiction","optionsJsonPath":"$.Private.Lists.Countries"},"controlType":"Input","customClasses":"block w-16rem sm:w-auto","customValidationMessages":{"required":"This is a required field"},"customValidators":[{"errorMessage":"Please choose/enter a different jurisdiction","operator":"NotEquals","parameters":{"id":"joint-jurisdiction-1-validation","targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Code","valueJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Code"},"validator":"CompareValue"}],"id":"jurisdiction-21","inputMode":"Required","label":"Jurisdiction","maxLength":50,"template":"AutoComplete"},{"allowedKeysRegex":"^[0-9]*$","bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxNumber","bindOnChange":true,"bindOnLoad":true,"controlType":"Input","customValidators":[{"errorMessage":"Please enter a different Tax Identification Number ","operator":"NotEquals","parameters":{"valueJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxNumber"},"validator":"CompareValue"}],"id":"ssn-2","inputMode":"Required","label":"Tax Identification Number","maxLength":20,"minLength":7,"regexMessage":"This field should have 7-20 digits and cannot contain only zeros","regexPattern":"^(?!0{7,20}$)(\\d{7,20})$","template":"TextBox"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Code","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxNumber","targetValue":"*"}],"controlType":"Input","defaultValue":"Issued","id":"ssn-2-issued","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Description","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxNumber","targetValue":"*"}],"controlType":"Input","defaultValue":"Yes","id":"ssn-2-status","template":"Hidden"}],"id":"more-details-tax-c2","title":"Tax Resident of Another Country"},{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes-No"}],"controls":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.SocialSecurityNumber","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes"}],"controlType":"Input","customClasses":"pb-2 block w-16rem sm:w-auto","customValidationMessages":{"required":"This is a required field"},"id":"us-ssn","inputMask":"999-99-9999","inputMode":"Required","label":"Social Security Number","maxLength":9,"regexMessage":"Oops. You have entered an invalid Social Insurance Number.","regexPattern":"^(?!9)(?!0{9}$)(\\d{9})$","template":"TextBox"}],"id":"more-details-us-taxed-test","title":"US person"}]},{"hasBackButton":true,"hasNextButton":true,"id":"joint-final-questions","navigation":{"nextPageId":"confirmation"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":6,"resetToDefaultOnBackClick":true,"sections":[{"controls":[{"bindingPath":"$.Customers[1].CustomerDetail.WiresAmount","controlOptions":{"options":[{"label":"None","value":"None"},{"label":"1 per month","value":1},{"label":"2-5 per month","value":"2-5"},{"label":"More than 6 per month","value":"6+"}]},"controlType":"Input","customClasses":"pb-2 block w-16rem sm:w-auto","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.label","labelJsonPath":"$.value","selectedIdJsonPath":"$.Customers[1].CustomerDetail.WiresAmount"},"id":"wires-amount","inputMode":"Required","label":"How many wires do you expect to send or receive regularly?","template":"DropDown"},{"bindingPath":"$.Customers[1].CustomerDetail.MonthlyDeposit","controlOptions":{"options":[{"label":"Yes","value":"Yes"},{"label":"No","value":"No"}]},"controlType":"Input","customClasses":"pb-2 block w-16rem sm:w-auto","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.label","labelJsonPath":"$.value","selectedIdJsonPath":"$.Customers[1].CustomerDetail.MonthlyDeposit"},"id":"deposit-over-3000","inputMode":"Required","label":"Will you deposit over $3000 in cash to your account each month?","template":"DropDown"},{"bindingPath":"$.Customers[1].CustomerDetail.SourceOfFunds.Description","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.MonthlyDeposit","targetValue":"Yes"}],"controlType":"Input","customClasses":"pb-2 block w-16rem sm:w-auto","customValidationMessages":{"required":"This is a required field"},"id":"source-of-funds","inputMode":"Required","label":"Please describe the source of the cash funds","template":"TextBox"},{"controlType":"HelpText","helpText":"Common shares can be purchased up to a maximum of $175,000 which includes the minimum $25 requirement.","id":"more-details-common-shares"},{"controlType":"HelpText","helpText":"This information helps us anticipate your needs and our understanding of your relationship with us. ","id":"more-details-relationship"},{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.MonthlyDeposit","targetValue":"Yes"}],"controlType":"HelpText","helpText":"Please provide details related to the source of these cash deposits. For example, does your employer pay you in cash? Do you plan to regularly transfer cash from an account at another financial institution? Do you have a side business?","id":"more-details-source-of-funds"}],"id":"final-questions-section","tagDescription":"<span class='px-2'>Joint</span>","title":"A Few Final Questions"}]},{"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"}],"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":"$.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"}],"conditions":[{"targetJsonPath":"$.Products[1].ProductId","targetValue":""},{"targetJsonPath":"$.Private.AddSecondAccount","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":"$.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":"$.Private.MemberShare"}],"conditions":[{"targetJsonPath":"$.Private.MemberShare.ProductId","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products","httpMethod":"POST","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"assign-products"},"responseMappings":[{"responseJsonPath":"$.ProductId","targetJsonPath":"$.Private.MemberShare.ProductId"}],"statusCode":201}]}],"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].ProductRoles.Code","targetValue":""},{"targetJsonPath":"$.Products[0].ProductId","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].ProductRoles.Code","targetValue":""},{"targetJsonPath":"$.Products[0].ProductId","targetValue":"*"},{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Products[0].ProductId}/roles/JointAccountHolder/assignments/{$.Customers[1].CustomerId}","httpMethod":"POST","onSuccess":[{"statusCode":204}]},{"conditions":[{"targetJsonPath":"$.Products[1].ProductId","targetValue":"*"},{"targetJsonPath":"$.Products[1].ProductRoles.Code","targetValue":""},{"targetJsonPath":"$.Private.AddSecondAccount","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.AddSecondAccount","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":[{"statusCode":204}]},{"conditions":[{"targetJsonPath":"$.Private.MemberShare.ProductId","targetValue":"*"},{"targetJsonPath":"$.Customers[0].CustomerId","targetValue":"*"},{"targetJsonPath":"$.Private.MemberShare.ProductRoles.Code","targetValue":""},{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Private.MemberShare.ProductId}/roles/JointShareOwner/assignments/{$.Customers[1].CustomerId}","httpMethod":"POST","onSuccess":[{"statusCode":204}]},{"conditions":[{"targetJsonPath":"$.Private.MemberShare.ProductId","targetValue":"*"},{"targetJsonPath":"$.Customers[0].CustomerId","targetValue":"*"},{"targetJsonPath":"$.Private.MemberShare.ProductRoles.Code","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Private.MemberShare.ProductId}/roles/PrimaryShareOwner/assignments/{$.Customers[0].CustomerId}","httpMethod":"POST","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"targetJsonPath":"$.Private.MemberShare.ProductRoles.Code","value":"PrimaryShareOwner"}],"statusCode":204}]}],"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}/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.IdentityCheck.InputCorrelationId"},{"responseJsonPath":"$.OutputParameters.CurrentStepName","targetJsonPath":"$.Private.IdentityCheck.CurrentStepName"},{"responseJsonPath":"$.OutputParameters.InvitationAddresses","targetJsonPath":"$.Private.IdentityCheck.InvitationAddresses"},{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"},{"responseJsonPath":"$.OutputParameters.CustomerId","targetJsonPath":"$.Private.IdentityCheck.CustomerId"},{"bindingPath":"$.Customers[?(@.CustomerId == '{$.Private.IdentityCheck.CustomerId}')].CustomerDetail.FirstName","targetJsonPath":"$.Private.CustomerFirstName"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"idv-details"},"parameterName":"$.OutputParameters.CurrentStepName","parameterValue":"VerificationInitiated","responseMappings":[{"responseJsonPath":"$.OutputParameters.InputCorrelationId","targetJsonPath":"$.Private.IdentityCheck.InputCorrelationId"},{"responseJsonPath":"$.OutputParameters.CurrentStepName","targetJsonPath":"$.Private.IdentityCheck.CurrentStepName"},{"responseJsonPath":"$.OutputParameters.InvitationAddresses","targetJsonPath":"$.Private.IdentityCheck.InvitationAddresses"},{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"},{"responseJsonPath":"$.OutputParameters.CustomerId","targetJsonPath":"$.Private.IdentityCheck.CustomerId"},{"bindingPath":"$.Customers[?(@.CustomerId == '{$.Private.IdentityCheck.CustomerId}')].CustomerDetail.FirstName","targetJsonPath":"$.Private.CustomerFirstName"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"sign-documents"},"parameterName":"$.OutputParameters.CurrentStepName","parameterValue":"SigningSession","responseMappings":[{"responseJsonPath":"$.OutputParameters.InputCorrelationId","targetJsonPath":"$.Private.Customers[0].InputCorrelationId"},{"responseJsonPath":"$.OutputParameters.CurrentStepName","targetJsonPath":"$.Private.Customers[0].CurrentStepName"},{"responseJsonPath":"$.OutputParameters.CustomerSessions[\"{$.Private.Resume.Cid}\"].SigningStatus","targetJsonPath":"$.Private.Customers[0].CustomerSessions.SigningStatus"},{"responseJsonPath":"$.OutputParameters.CustomerSessions[\"{$.Private.Resume.Cid}\"].SigningUrl","targetJsonPath":"$.Private.Customers[0].CustomerSessions.SigningUrl"},{"responseJsonPath":"$.OutputParameters.CustomerSessions[\"{$.Private.Resume.Cid}\"].SessionToken","targetJsonPath":"$.Private.Customers[0].CustomerSessions.SessionToken"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"preload-approved-modal"},"parameterName":"$.OutputParameters.ViewCollectionId","parameterValue":"Finalize","responseMappings":[{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"},{"targetJsonPath":"$.ApplicationStatus.Code","value":"Approved"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"decision-modal-final"},"parameterName":"$.StageStatus.Code","parameterValue":"PendingReview"},{"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":"$.OutputParameters.ApplicationStatus","targetJsonPath":"$.ApplicationStatus.Code"}]}],"pollIntervalMS":5000}],"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":[{"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..."}]},{"commandsOnLoad":[{"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}","httpMethod":"GET","onSuccess":[{"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"},"parameterName":"$.ApplicationStatus.Code","parameterValue":"Referred","responseMappings":[{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.ApplicationStatus.Code"}],"statusCode":200},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"complete"},"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..."}]},{"commandsInBackground":[{"customCommand":"ClearSession","delayIntervalMS":200}],"customClasses":"mt-7","hasBackButton":false,"hasNextButton":false,"id":"review","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","progressIndicatorNum":7,"sections":[{"controls":[{"controlType":"HTML","customClasses":"mt-3","description":"Reference #: <strong>{$.ApplicationNumber}</strong>","id":"description-2"}],"customClasses":"mt-3 text-center bg-white","description":"Thank you for starting the process of opening an account with us. We've forwarded your application to a member of our team for review and will update you on the status within two business days. If you have any questions, please contact us at <a href='mailto:welcome@bowvalleycu.com'>welcome@bowvalleycu.com</a> or <a href='tel:1-800-207-0068'>1-800-207-0068</a>.","icon":"fa-light fa-user-clock","id":"description-2","title":"Thanks for submitting your application","width":"Max Width"}]},{"commandsInBackground":[{"customCommand":"ClearSession","delayIntervalMS":200}],"customClasses":"mt-7","hasBackButton":false,"hasNextButton":false,"id":"declined","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","progressIndicatorNum":7,"sections":[{"controls":[{"controlType":"HTML","customClasses":"mt-3","description":"If you would like to review your application or have any questions, please call us at <br><a href='tel:1-800-207-0068'>1-800-207-0068</a> or email to <a href='mailto:welcome@bowvalleycu.com'>welcome@bowvalleycu.com</a>.","id":"description-2"},{"controlType":"HTML","customClasses":"mt-3","description":"Your reference number is {$.ApplicationNumber}.","id":"description-3"}],"customClasses":"mt-3 text-center bg-white","description":"Thank you for your application to open a membership at Bow Valley Credit Union. Unfortunately, your application hasn’t met one or more of our eligibility requirements.","icon":"fa-light fa-user-clock","title":"Your application has been declined","width":"Max Width"}]},{"commandsOnLoad":[{"conditions":[{"targetJsonPath":"$.Private.IdentityCheck.CustomerId","targetValueJsonPath":"$.Customers[0].CustomerId"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.IdentityCheck.InputCorrelationId","targetJsonPath":"$.Private.Customers[0].InputCorrelationId"},{"bindingPath":"$.Private.IdentityCheck.CurrentStepName","targetJsonPath":"$.Private.Customers[0].CurrentStepName"},{"bindingPath":"$.Private.IdentityCheck.InvitationAddresses","targetJsonPath":"$.Private.Customers[0].InvitationAddresses"},{"targetJsonPath":"$.Private.IdentityCheck.IsSecondApplicant","value":""},{"bindingPath":"$.Customers[0].CustomerDetail.FirstName","targetJsonPath":"$.Private.CustomerFirstName"}]}]},{"conditions":[{"targetJsonPath":"$.Private.IdentityCheck.CustomerId","targetValueJsonPath":"$.Customers[1].CustomerId"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.IdentityCheck.InputCorrelationId","targetJsonPath":"$.Private.Customers[1].InputCorrelationId"},{"bindingPath":"$.Private.IdentityCheck.CurrentStepName","targetJsonPath":"$.Private.Customers[1].CurrentStepName"},{"bindingPath":"$.Private.IdentityCheck.InvitationAddresses","targetJsonPath":"$.Private.Customers[1].InvitationAddresses"},{"targetJsonPath":"$.Private.IdentityCheck.IsSecondApplicant","value":true},{"bindingPath":"$.Customers[1].CustomerDetail.FirstName","targetJsonPath":"$.Private.CustomerFirstName"}]}]}],"hasBackButton":false,"hasNextButton":false,"id":"idv-details","navigation":{"nextPageId":"idv-modal-status"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":7,"restrictions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"},{"targetJsonPath":"$.Private.IdentityCheck.CurrentStepName","targetValue":"*"}],"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 license</h4>You'll be asked to take a photo of the front and back of your license.","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 license 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 license and of yourself using your mobile device. The application process is quick, simple, and secure.","id":"idv-details","textAlignment":"text-left","title":"{$.Private.CustomerFirstName}, we need some more information to verify your identity."}]},{"commandsOnLoad":[{"body":[{"parameterName":"ConsentGranted","parameterValue":true},{"parameterName":"SendInvitation","parameterValue":true},{"parameterName":"InvitationAddress","valueJsonPath":"$.Private.IdentityCheck.InvitationAddresses[0]"}],"conditions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"},{"targetJsonPath":"$.Private.IdentityCheck.IsSecondApplicant","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/{$.Private.CurrentStage.StageName}/input","httpMethod":"PUT"},{"body":[{"parameterName":"ConsentGranted","parameterValue":true},{"parameterName":"SendInvitation","parameterValue":true},{"parameterName":"InvitationAddress","valueJsonPath":"$.Private.IdentityCheck.InvitationAddresses[0]"}],"conditions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"},{"targetJsonPath":"$.Private.IdentityCheck.IsSecondApplicant","targetValue":true}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/{$.Private.CurrentStage.StageName}/input","httpMethod":"PUT"},{"conditions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"}],"delayIntervalMS":5000,"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":"$.OutputParameters.ViewCollectionId","parameterValue":"Finalize"},{"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"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"error"},"parameterName":"$.OutputParameters.IdvScenarioStatus","parameterValue":"Canceled"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"idv-modal-processing"},"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"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"idv-details"},"parameterName":"$.OutputParameters.CurrentStepName","parameterValue":"UserConsent","responseMappings":[{"responseJsonPath":"$.OutputParameters.InputCorrelationId","targetJsonPath":"$.Private.IdentityCheck.InputCorrelationId"},{"responseJsonPath":"$.OutputParameters.CurrentStepName","targetJsonPath":"$.Private.IdentityCheck.CurrentStepName"},{"responseJsonPath":"$.OutputParameters.InvitationAddresses","targetJsonPath":"$.Private.IdentityCheck.InvitationAddresses"},{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"},{"responseJsonPath":"$.OutputParameters.CustomerId","targetJsonPath":"$.Private.IdentityCheck.CustomerId"},{"bindingPath":"$.Customers[?(@.CustomerId == '{$.Private.IdentityCheck.CustomerId}')].CustomerDetail.FirstName","targetJsonPath":"$.Private.CustomerFirstName"}]}],"pollIntervalMS":3000}],"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>","hideSkeleton":true,"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","hideSkeleton":true,"icon":"fal fa-fingerprint fa-fade","id":"awaiting-results","title":"Verify your identity"}]},{"commandsOnLoad":[{"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":"$.OutputParameters.ViewCollectionId","parameterValue":"Finalize"},{"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":"declined"},"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"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"idv-details"},"parameterName":"$.OutputParameters.CurrentStepName","parameterValue":"UserConsent","responseMappings":[{"responseJsonPath":"$.OutputParameters.InputCorrelationId","targetJsonPath":"$.Private.IdentityCheck.InputCorrelationId"},{"responseJsonPath":"$.OutputParameters.CurrentStepName","targetJsonPath":"$.Private.IdentityCheck.CurrentStepName"},{"responseJsonPath":"$.OutputParameters.InvitationAddresses","targetJsonPath":"$.Private.IdentityCheck.InvitationAddresses"},{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"},{"responseJsonPath":"$.OutputParameters.CustomerId","targetJsonPath":"$.Private.IdentityCheck.CustomerId"},{"bindingPath":"$.Customers[?(@.CustomerId == '{$.Private.IdentityCheck.CustomerId}')].CustomerDetail.FirstName","targetJsonPath":"$.Private.CustomerFirstName"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"idv-modal-status"},"parameterName":"$.OutputParameters.CurrentStepName","parameterValue":"VerificationInitiated","responseMappings":[{"responseJsonPath":"$.OutputParameters.InputCorrelationId","targetJsonPath":"$.Private.IdentityCheck.InputCorrelationId"},{"responseJsonPath":"$.OutputParameters.CurrentStepName","targetJsonPath":"$.Private.IdentityCheck.CurrentStepName"},{"responseJsonPath":"$.OutputParameters.InvitationAddresses","targetJsonPath":"$.Private.IdentityCheck.InvitationAddresses"},{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"},{"responseJsonPath":"$.OutputParameters.CustomerId","targetJsonPath":"$.Private.IdentityCheck.CustomerId"},{"bindingPath":"$.Customers[?(@.CustomerId == '{$.Private.IdentityCheck.CustomerId}')].CustomerDetail.FirstName","targetJsonPath":"$.Private.CustomerFirstName"}]}],"pollIntervalMS":3000}],"hasBackButton":false,"hasNextButton":false,"id":"idv-modal-processing","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>Processing Identity.</p></div>","hideSkeleton":true,"id":"description-1"}],"customClasses":"p-3 box-shadow-none text-center","hideSkeleton":true,"icon":"fal fa-fingerprint fa-fade","id":"awaiting-results","title":"Verify your identity"}]},{"description":"Please review the document below and sign any signature fields that are required.","hasBackButton":false,"hasNextButton":false,"id":"sign-documents","navigation":{"nextPageId":"await-documents"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Extra Large","progressIndicatorNum":6,"restrictions":[{"targetJsonPath":"$.Private.Customers[0].CustomerSessions.SigningUrl","targetValue":"*"}],"sections":[{"controls":[{"controlType":"Iframe","customClasses":"border-none","id":"esign-iframe","iframeSettings":{"height":800,"url":"{$.Private.Customers[0].CustomerSessions.SigningUrl}"}},{"controlType":"Listener","id":"listerner","listenerSettings":{"actionPageId":"await-documents","callbackFunction":"receiveMessage","element":"window","event":"message"}}],"customClasses":"mt-0","id":"e-sign"}],"title":"Sign Your Documents"},{"commandsOnLoad":[{"customCommand":"GetCurrentUrl","delayIntervalMS":5000,"onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"decision-modal-status"}}]}],"hasBackButton":false,"hasNextButton":false,"id":"await-documents","modalOptions":{"isDismissible":false},"navigation":{"nextPageId":"decision-modal-status"},"pageMode":"Page","pageTemplate":"Form","sections":[{"customClasses":"p-3 box-shadow-none text-center","disclaimerText":"Sit tight. This should only take a moment.","icon":"fal fa-file fa-fade","id":"awaiting-results","title":"Processing Documents..."}]},{"commandsOnLoad":[{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.ApplicationNumber","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":"approved"},"parameterName":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code=='Applied')].ProductDetail.OverdraftAcceptance.AcceptanceStatus.Code","parameterValue":"Accepted","responseMappings":[{"responseJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code=='Applied')].ProductDetail.OverdraftAcceptance.AcceptanceStatus.Code","targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code=='Applied')].ProductDetail.OverdraftAcceptance.AcceptanceStatus.Code"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"preload-approved-overdraft-modal"},"parameterName":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code=='Applied')].ProductDetail.OverdraftAcceptance.AcceptanceStatus.Code","parameterValue":"NotAccepted"}],"pollIntervalMS":100000}],"hasBackButton":false,"hasNextButton":false,"id":"preload-approved-overdraft-modal","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-file fa-fade","id":"awaiting-results","title":"Processing..."}]},{"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"},{"targetJsonPath":"$.Private.OverdraftAccounts","value":""},{"bindingPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code=='Applied')]","targetJsonPath":"$.Private.OverdraftAccounts"},{"bindingPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code=='Applied')].ProductDetail.OverdraftOffer.OverdraftLimit","targetJsonPath":"$.Private.Overdraft.OverdraftLimit"}],"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"},{"bindingPath":"$.Private.FilteredCustomers[1].CustomerName","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"},{"targetJsonPath":"$.Private.OverdraftAccounts","value":""},{"bindingPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code=='Applied')]","targetJsonPath":"$.Private.OverdraftAccounts"},{"bindingPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code=='Applied')].ProductDetail.OverdraftOffer.OverdraftLimit","targetJsonPath":"$.Private.Overdraft.OverdraftLimit"},{"targetJsonPath":"$.Private.RefreshOnce","value":"Yes"}],"statusCode":200}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"}}]}],"hasBackButton":false,"hasNextButton":false,"id":"preload-approved-modal","modalOptions":{"isDismissible":false},"navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"approved"},"targetJsonPath":"$.ApplicationStatus.Code","targetValue":"Completed"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"approved"},"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code=='Applied')].ProductDetail.OverdraftAcceptance.AcceptanceStatus.Code","targetValue":"Accepted"}],"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":"$.Customers[?(@.CustomerId == '{$.Private.Resume.Cid}')].CustomerDetail.MemberRegistration.BankCard.CardNumber","targetJsonPath":"$.Private.CardNumber"},{"bindingPath":"$.Customers[?(@.CustomerId == '{$.Private.Resume.Cid}')].CustomerDetail.FirstName","targetJsonPath":"$.Private.CustomerFirstName"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Resume.Cid","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.BankCard.CardNumber","targetJsonPath":"$.Private.CardNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.FirstName","targetJsonPath":"$.Private.CustomerFirstName"},{"targetJsonPath":"$.Private.RefreshOnce","value":"Yes"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Overdraft.DeclinedMessageDisplayed","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Overdraft.DeclinedMessageDisplayed","value":"No"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"operator":"Equals","targetJsonPath":"$.Private.Overdraft.OverdraftLimit","targetValue":0},{"targetJsonPath":"$.Private.Overdraft.DeclinedMessageDisplayed","value":"No"},{"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code === 'Applied')]","targetValue":"*"}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"declined-overdraft-modal"},"responseMappings":[{"targetJsonPath":"$.Private.Overdraft.DeclinedMessageDisplayed","value":"Yes"}],"statusCode":200}]},{"conditions":[{"operator":"Contains","targetJsonPath":"$.Products[*].ProductDetail.InitialDeposits[0].DepositMethod.Code","targetValue":["ExternalTransfer"]}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.FirstDepositCompleted","value":true}]}]},{"conditions":[{"operator":"Contains","targetJsonPath":"$.InitialDeposit[*].DepositMethod.Code","targetValue":["ExternalTransfer"]}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.FirstDepositCompleted","value":true}]}]},{"allConditionsMustBeMet":true,"conditions":[{"operator":"NotContains","targetJsonPath":"$.Products[*].ProductDetail.InitialDeposits[0].DepositMethod.Code","targetValue":["ExternalTransfer"]},{"operator":"NotContains","targetJsonPath":"$.InitialDeposit[*].DepositMethod.Code","targetValue":["ExternalTransfer"]}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.FirstDepositCompleted","value":""}]}]},{"conditions":[{"targetJsonPath":"$.Private.RefreshOnce","targetValue":"Yes"}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"approved"},"responseMappings":[{"targetJsonPath":"$.Private.RefreshOnce","value":"No"}]}]}],"customClasses":"pt-0 mb-4 p-0","hasBackButton":false,"hasNextButton":false,"id":"approved","navigation":{"nextPageId":"decision-modal"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Max Width","progressIndicatorNum":7,"sections":[{"controls":[{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"},{"targetJsonPath":"$.Products.length","targetValue":2}],"controlType":"HTML","customClasses":"mt-5 ml-auto mr-auto pl-6 pr-6 pt-2 pb-2 rounded-corners background-primary color-white","description":"<strong>Account opened</strong><h1 class=\"m-0 color-white\">{$.Products[0].ProductName}</h1>","id":"loan-amount","width":"Fit Content"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"},{"targetJsonPath":"$.Products.length","targetValue":3}],"controlType":"HTML","customClasses":"mt-5 ml-auto mr-auto pl-6 pr-6 pt-2 pb-2 rounded-corners background-primary color-white","description":"<strong>Account(s) opened</strong><h1 class=\"m-0 color-white\">{$.Products[0].ProductName} & {$.Products[1].ProductName}</h1>","id":"loan-amount","width":"Fit Content"}],"customClasses":"pl-2 pr-2 pb-6 pt-8 -mt-5 mb-4 bg-white border-bottom text-center box-shadow-none","headingSize":"h1","id":"account-details","template":"Form","title":"Congratulations, {$.Private.CustomerFirstName}.<br/>Your accounts have been successfully opened!","width":"Max Width"},{"customClasses":"bg-none text-center box-shadow-none bg-transparent pb-3","description":"You're in the home stretch! Let's finish things up so you can start using your new account. Funding your account, adding direct deposits and preauthorized payments are a few things we made easy to do, right now.","headingSize":"h1","id":"next-steps","template":"Form","title":"Finalize your account ","width":"Large"},{"allConditionsMustBeMet":true,"columns":2,"conditions":[{"targetJsonPath":"$.Products[?(@.ProductType.Code=='PersonalChequing')].OfferDetail.ProductName","targetValue":"*"},{"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code === 'Applied')]","targetValue":"*"}],"controls":[{"childControls":[{"allConditionsMustBeMet":true,"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"overdraft-payment-confirmation-modal"}}]}],"disableConditions":[{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftAcceptance.AcceptanceStatus.Code","targetValue":"Accepted"},{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftAcceptance.AcceptanceStatus.Code","targetValue":"Accepted"},{"operator":"Equals","targetJsonPath":"$.Private.Overdraft.OverdraftLimit","targetValue":0}]},"conditions":[{"targetJsonPath":"$.Products[?(@.ProductType.Code=='PersonalChequing')].OfferDetail.ProductName","targetValue":"*"},{"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code === 'Applied')]","targetValue":"*"}],"controlType":"Button","id":"od-button","label":"Set up overdraft"}],"columnOverride":1,"controlType":"Info","customClasses":"ml-2","description":"You have been approved for overdraft protection. To get started, please click the ‘Overdraft Setup’ button and indicate the amount you wish to opt into. A visit to a Bow Valley Credit Union <a href='https://www.bowvalleycu.com/en/branch-atm' target='_blank' >branch</a> will be required to complete the setup.","id":"next-steps-1","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","stepNumber":1},"label":"Setup your overdraft","template":"InfoBox","width":"Max Width"}],"customClasses":"pl-0 pt-2","id":"first-overdraft","template":"Form","width":"Large","wrapControls":true},{"columns":3,"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"controls":[{"childControls":[{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"interac-modal"}}]}]},"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"controlType":"Button","id":"interac-button","label":"Interac"},{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"flinks"}}]}],"disableConditions":[{"targetJsonPath":"$.ApplicationStatus.Code","targetValue":"Completed"}]},"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"controlType":"Button","id":"funds-transfer-button","isVisible":false,"label":"Funds transfer"},{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"cheque-modal"}}]}],"customClasses":"approved-button"},"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"controlType":"Button","id":"cheque-button","label":"Cheque"}],"columnOverride":1,"conditions":[{"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code === 'Applied')]","targetValue":"*"}],"controlType":"Info","description":"We have three easy ways to make a deposit to your account. Remember, for your first deposit, the minimum amount sent must be at least $35 to cover your membership common shares as well as the funding/activation of your deposit account(s).","id":"next-steps-2","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","stepNumber":2},"label":"Fund your account(s)","template":"InfoBox","width":"Max Width"},{"childControls":[{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"interac-modal"}}]}]},"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"controlType":"Button","id":"interac-button","label":"Interac"},{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"flinks"}}]}],"disableConditions":[{"targetJsonPath":"$.ApplicationStatus.Code","targetValue":"Completed"}]},"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"controlType":"Button","id":"funds-transfer-button","isVisible":false,"label":"Funds transfer"},{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"cheque-modal"}}]}],"customClasses":"approved-button"},"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"controlType":"Button","id":"cheque-button","label":"Cheque"}],"columnOverride":1,"conditions":[{"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code === 'Applied')]","targetValue":""}],"controlType":"Info","customClasses":"ml-2","description":"We have three easy ways to make a deposit to your account. Remember, for your first deposit, the minimum amount sent must be at least $35 to cover your membership common shares as well as the funding/activation of your deposit account(s).","id":"next-steps-1","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","stepNumber":1},"label":"Fund your account(s)","template":"InfoBox","width":"Max Width"}],"customClasses":"pl-0 pt-2","id":"first-deposit","template":"Form","width":"Large","wrapControls":true},{"columns":2,"controls":[{"childControls":[{"controlType":"Button","id":"online-banking-button","label":"Online Banking","navigationAction":{"href":"https://online.bowvalleycu.com/","navigationType":"NavigateToLink"}}],"columnOverride":1,"conditions":[{"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code === 'Applied')]","targetValue":"*"}],"controlType":"Info","customClasses":"ml-0","description":"Ensure you record your card number {$.Private.CardNumber}, as it is required in conjunction with the password you previously created to log onto online banking.","id":"next-steps-3","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","stepNumber":3},"label":"Record your card number","template":"InfoBox","width":"Max Width"},{"childControls":[{"controlType":"Button","id":"online-banking-button","label":"Online Banking","navigationAction":{"href":"https://online.bowvalleycu.com/","navigationType":"NavigateToLink"}}],"columnOverride":1,"conditions":[{"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code === 'Applied')]","targetValue":""}],"controlType":"Info","customClasses":"ml-0","description":"Ensure you record your card number {$.Private.CardNumber}, as it is required in conjunction with the password you previously created to log onto online banking.","id":"next-steps-2","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","pipe":"pan","stepNumber":2},"label":"Record your card number","template":"InfoBox","width":"Max Width"}],"customClasses":"pl-0 pt-2","id":"record-PAN","template":"Form","width":"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":""}]}]}]},"controlType":"Button","id":"setup-payroll-direct-deposit-button","label":"Get Started"}],"columnOverride":1,"conditions":[{"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code === 'Applied')]","targetValue":"*"}],"controlType":"Info","customClasses":"ml-0","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":"next-steps-4","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","stepNumber":4},"label":"Set up payroll and direct deposits","template":"InfoBox","width":"Max Width"},{"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":""}]}]}]},"controlType":"Button","id":"setup-payroll-direct-deposit-button","label":"Get Started"}],"columnOverride":1,"conditions":[{"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code === 'Applied')]","targetValue":""}],"controlType":"Info","customClasses":"ml-0","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":"next-steps-3","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","stepNumber":3},"label":"Set up payroll and direct deposits","template":"InfoBox","width":"Max Width"}],"customClasses":"pl-0 pt-2","id":"setup-payroll-direct-deposit","template":"Form","width":"Large","wrapControls":true},{"columns":3,"controls":[{"childControls":[{"controlType":"Button","id":"apple-button","label":"Apple","navigationAction":{"href":"https://apps.apple.com/ca/app/bow-valley-cu-mobile-app/id1009607498","navigationType":"NavigateToLink"}},{"controlType":"Button","id":"android-button","label":"Android","navigationAction":{"href":"https://play.google.com/store/apps/details?id=com.celero.bowvalley","navigationType":"NavigateToLink"}}],"columnOverride":1,"conditions":[{"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code === 'Applied')]","targetValue":"*"}],"controlType":"Info","description":"Please select your mobile type and download our mobile app.","id":"next-steps-5","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","stepNumber":5},"label":"Download our mobile banking app","template":"InfoBox","width":"Max Width"},{"childControls":[{"controlType":"Button","id":"apple-button","label":"Apple","navigationAction":{"href":"https://apps.apple.com/ca/app/bow-valley-cu-mobile-app/id1009607498","navigationType":"NavigateToLink"}},{"controlType":"Button","id":"android-button","label":"Android","navigationAction":{"href":"https://play.google.com/store/apps/details?id=com.celero.bowvalley","navigationType":"NavigateToLink"}}],"columnOverride":1,"conditions":[{"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code === 'Applied')]","targetValue":""}],"controlType":"Info","description":"Please select your mobile type and download our mobile app.","id":"next-steps-4","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","stepNumber":4},"label":"Download our mobile banking app","template":"InfoBox","width":"Max Width"}],"customClasses":"pl-0 pt-2","id":"download-mobile-app","template":"Form","width":"Large","wrapControls":true}]},{"hasBackButton":false,"hasNextButton":false,"id":"approved-overdraft-modal","modalOptions":{"isDismissible":false,"modalSize":"extra-large"},"pageMode":"Modal","pageTemplate":"Form","pageWidth":"Large","sections":[{"columns":1,"controls":[{"columnOverride":1,"controlType":"HTML","description":"Thank you for confirming your overdraft amount. To complete your overdraft set up, please visit a Bow Valley Credit Union branch.","id":"text1"},{"columnOverride":1,"controlType":"Divider","customClasses":"my-5","id":"divider2"},{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"preload-approved-modal"},"responseMappings":[{"targetJsonPath":"$.Private.ApplicationStatus.Code","value":""}]}]}]},"columnOverride":1,"controlType":"Button","id":"close-modal-button","label":"Close"}],"customClasses":"box-shadow-none p-0","id":"approved-overdraft","textAlignment":"text-left","title":"Overdraft"}]},{"hasBackButton":false,"hasNextButton":false,"id":"declined-overdraft-modal","modalOptions":{"isDismissible":true,"modalSize":"extra-large"},"pageMode":"Modal","pageTemplate":"Form","pageWidth":"Large","sections":[{"columns":1,"controls":[{"columnOverride":1,"controlType":"HTML","description":"Unfortunately, we were unable to approve overdraft for your account. If you have any questions, please contact us at <a href='tel:1-800-207-0068'>1-800-207-0068</a> or <a href='mailto:welcome@bowvalleycu.com'>welcome@bowvalleycu.com</a>","id":"text1"},{"columnOverride":1,"controlType":"Divider","customClasses":"my-5","id":"divider2"},{"buttonAction":"CloseModal","columnOverride":1,"controlType":"Button","id":"close-modal-button1","label":"Next"}],"customClasses":"box-shadow-none p-0","id":"declined-overdraft","textAlignment":"text-left","title":"Overdraft"}]},{"commandsOnLoad":[{"conditions":[{"targetJsonPath":"$.Private.Overdraft.SetLimit","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"overdraft-payment-confirmation-modal"},"responseMappings":[{"bindingPath":"$.Private.Overdraft.OverdraftLimit","targetJsonPath":"$.Private.Overdraft.OverdraftLimit"},{"bindingPath":"$.Private.Overdraft.OverdraftLimit","targetJsonPath":"$.Private.Overdraft.Amount"},{"targetJsonPath":"$.Private.Overdraft.SetLimit","value":1}]}]},{"conditions":[{"operator":"GreaterThan","targetJsonPath":"$.Private.Overdraft.OverdraftLimit.length","targetValue":1}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Overdraft.OverdraftLimit[0]","targetJsonPath":"$.Private.Overdraft.OverdraftLimit"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Overdraft.OverdraftLimit","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"approved"},"responseMappings":[{"dataTransformation":[{"pattern":"@","replacement":""}],"targetJsonPath":"$.Private.Overdraft.OverdraftLimit","value":"@0"},{"dataTransformation":[{"pattern":"@","replacement":""}],"targetJsonPath":"$.Private.Overdraft.Amount","value":"@0"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code=='Applied')]","targetValue":"*"},{"targetJsonPath":"$.Private.OverdraftAccounts[0]","value":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.OverdraftAccounts","value":""},{"bindingPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code=='Applied')]","targetJsonPath":"$.Private.OverdraftAccounts"},{"bindingPath":"$.Private.OverdraftAccounts[0].ProductId","targetJsonPath":"$.Private.Overdraft.ToAccount[0]"}]}]},{"conditions":[{"targetJsonPath":"$.Private.OverdraftAccounts[0].ProductId","targetValue":""},{"targetJsonPath":"$.Private.SetOverdraftAccounts","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"overdraft-payment-confirmation-modal"},"responseMappings":[{"bindingPath":"$.Private.OverdraftAccounts","convertValueTo":"Array","targetJsonPath":"$.Private.OverdraftAccounts"},{"bindingPath":"$.Private.OverdraftAccounts[0].ProductId","targetJsonPath":"$.Private.Overdraft.ToAccount[0]"},{"targetJsonPath":"$.Private.SetOverdraftAccounts","value":true}],"statusCode":200}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.OverdraftAccounts[0].ProductId","targetValue":"*"},{"targetJsonPath":"$.Private.SetOverdraftAccounts","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"overdraft-payment-confirmation-modal"},"responseMappings":[{"targetJsonPath":"$.Private.SetOverdraftAccounts","value":true},{"bindingPath":"$.Private.OverdraftAccounts[0].ProductId","targetJsonPath":"$.Private.Overdraft.ToAccount[0]"}],"statusCode":200}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.OverdraftAccounts[0].ProductId","targetValue":"*"},{"targetJsonPath":"$.Private.Overdraft.ToAccount[0]","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"overdraft-payment-confirmation-modal"},"responseMappings":[{"bindingPath":"$.Private.OverdraftAccounts[0].ProductId","targetJsonPath":"$.Private.Overdraft.ToAccount[0]"}],"statusCode":200}]}],"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Private.Overdraft.ToAccount[0]","targetValue":"*"}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"overdraft-processing-modal"},"responseMappings":[{"bindingPath":"$.Private.Overdraft.OverdraftLimit","targetJsonPath":"$.Private.OverdraftOffer.OverdraftLimit"},{"bindingPath":"$.Private.Overdraft.ToAccount[0]","targetJsonPath":"$.Private.Overdraft.ToAccount[0]"},{"targetJsonPath":"$.Private.OverdraftOffer.OverdraftStatus.Code","value":"Applied"},{"targetJsonPath":"$.Private.OverdraftOffer.OverdraftStatus.Description","value":"Applied"},{"bindingPath":"$.Private.Overdraft.Amount","targetJsonPath":"$.Private.OverdraftAcceptance.OverdraftAmount"},{"targetJsonPath":"$.Private.OverdraftAcceptance.AcceptanceStatus.Code","value":"Accepted"},{"targetJsonPath":"$.Private.OverdraftAcceptance.AcceptanceStatus.Description","value":"Accepted"},{"targetJsonPath":"$.Private.Signatures.ActionInputParameters.Action","value":"UpdateOverdraft"},{"bindingPath":"$.Private.Overdraft.Amount","targetJsonPath":"$.Private.Signatures.ActionInputParameters.AcceptedOverdraftAmount"},{"bindingPath":"$.Private.Overdraft.ToAccount[0]","targetJsonPath":"$.Private.Signatures.ActionInputParameters.ProductId"},{"targetJsonPath":"$.Private.Signatures.ActionInputParameters.ActionName","value":"UpdateOverdraft"}]}]}],"hasBackButton":false,"hasNextButton":false,"id":"overdraft-payment-confirmation-modal","modalOptions":{"modalSize":"extra-large"},"navigation":{"nextPageId":"approved"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"columns":2,"controls":[{"columnOverride":1,"controlType":"HTML","customClasses":"mb-3","description":"You have been approved for <strong>up to ${$.Private.Overdraft.OverdraftLimit}</strong> of overdraft. Please select your desired overdraft amount below.","id":"description-c"},{"bindingPath":"$.Private.Overdraft.Amount","bindOnChange":true,"bindOnLoad":true,"columnOverride":1,"controlType":"Input","customClasses":"mb-2 text-black","enabled":true,"id":"overdraft-amount","inputMode":"Required","keyboardType":"Phone","label":"Overdraft amount","maxValuePath":"$.Private.Overdraft.OverdraftLimit","minValue":500,"numberStepperSettings":{"stepAmount":250,"stepMode":"currency"},"template":"NumberStepper"},{"bindingPath":"$.Private.Overdraft.ProductName","bindOnChange":true,"columnOverride":1,"controlOptions":{"optionsJsonPath":"$.Private.OverdraftAccounts"},"controlType":"Input","customClasses":"pb-2 block w-16rem sm:w-auto","dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$","labelJsonPath":"$.OfferDetail.ProductName","onSelect":{"dataBindings":[{"bindingPath":"$.Private.OverdraftAccounts.ProductId","targetJsonPath":"$.Private.Overdraft.ToAccount[0]"}],"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.OverdraftAccounts.ProductId","targetJsonPath":"$.Private.Overdraft.ToAccount[0]"}]}]},"selectedIdJsonPath":"$.Private.OverdraftAccounts"},"id":"accounts-dropdown-overdraft","inputMode":"Required","label":"Account","template":"DropDown"},{"columnOverride":1,"controlType":"Divider","customClasses":"mb-3 mt-0","id":"divider-2"},{"buttonAction":"CloseModal","buttonSettings":{"isOutline":true},"controlType":"Button","id":"close-od-modal-button","label":"Skip"},{"buttonAction":"Submit","controlType":"Button","customClasses":"block text-right","id":"btnNext","label":"Next"}],"customClasses":"-mb-3 -mt-2 box-shadow-none p-0","headingSize":"h1","id":"payment-confirmation","textAlignment":"text-left","title":"Overdraft"}]},{"commandsOnLoad":[{"body":[{"parameterName":"AcceptedOverdraftAmount","valueJsonPath":"$.Private.Overdraft.Amount"},{"parameterName":"Action","parameterValue":"UpdateOverdraft"},{"parameterName":"ActionName","parameterValue":"UpdateOverdraft"},{"parameterName":"ActionInputParameters","valueJsonPath":"$.Private.Signatures.ActionInputParameters"},{"parameterName":"ProductId","valueJsonPath":"$.Private.Overdraft.ToAccount[0]"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/{$.Private.CurrentStage.StageName}/input","httpMethod":"PUT","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"preload-approved-overdraft-modal"},"statusCode":200}]},{"customCommand":"GetCurrentUrl","delayIntervalMS":5000,"onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"preload-approved-modal"}}]}],"hasBackButton":false,"hasNextButton":false,"id":"overdraft-processing-modal","modalOptions":{"isDismissible":false},"navigation":{"nextPageId":"preload-approved-modal"},"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-file fa-fade","id":"awaiting-results","title":"Processing..."}]},{"bindOnLoad":[{"targetJsonPath":"$.Private.Signatures.ActionInputParameters.Action","value":"AccountDeposit"},{"targetJsonPath":"$.Private.Signatures.ActionInputParameters.ActionName","value":"AccountDeposit"},{"bindingPath":"$.Customers[0].CustomerId","targetJsonPath":"$.Private.Signatures.ActionInputParameters.CustomerId"}],"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":"$.Private.Signatures.ActionInputParameters.InitialDeposit.DepositMethod.Code","value":"ExternalTransfer"},{"responseJsonPath":"$.bankName","targetJsonPath":"$.Private.Signatures.ActionInputParameters.InitialDeposit.ExternalAccount.InstitutionName"},{"responseJsonPath":"$.institutionNumber","targetJsonPath":"$.Private.Signatures.ActionInputParameters.InitialDeposit.ExternalAccount.InstitutionNumber"},{"responseJsonPath":"$.transitNumber","targetJsonPath":"$.Private.Signatures.ActionInputParameters.InitialDeposit.ExternalAccount.TransitNumber"},{"responseJsonPath":"$.accountNumber","targetJsonPath":"$.Private.Signatures.ActionInputParameters.InitialDeposit.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}],"statusCode":200}]},{"conditions":[{"targetJsonPath":"$.Private.Resume.Cid","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Customers[0].CustomerId","targetJsonPath":"$.Private.Resume.Cid"}]}]}],"commandsOnSubmit":[{"body":[{"parameterName":"CustomerId","valueJsonPath":"$.Private.Resume.Cid"},{"parameterName":"ProductId","valueJsonPath":"$.Private.Signatures.ActionInputParameters.ProductId"},{"parameterName":"Action","parameterValue":"AccountDeposit"},{"parameterName":"ActionName","parameterValue":"AccountDeposit"},{"parameterName":"ActionInputParameters","valueJsonPath":"$.Private.Signatures.ActionInputParameters"},{"parameterName":"InitialDeposit","valueJsonPath":"$.Private.Signatures.ActionInputParameters.InitialDeposit"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/finalize/input","httpMethod":"PUT","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"complete"},"responseMappings":[{"targetJsonPath":"$.Private.Status.Code","value":"complete"},{"targetJsonPath":"$.Private.Signatures.ActionInputParameters.InitialDeposit","targetValue":""},{"targetJsonPath":"$.Private.Signatures.ActionInputParameters.ProductId","targetValue":""}],"statusCode":200}]},{"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/finalize/submit","httpMethod":"POST","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"complete"},"responseMappings":[{"targetJsonPath":"$.Private.Status.Code","value":"complete"}],"statusCode":200}]}],"hasBackButton":false,"hasNextButton":false,"id":"payment-confirmation-modal","modalOptions":{"modalSize":"extra-large"},"navigation":{"nextPageId":"welcome"},"pageMode":"Modal","pageTemplate":"Form","progressIndicatorNum":7,"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","customClasses":"my-2","id":"divider-2"},{"bindOnChange":true,"controlType":"HTML","customClasses":"mb-1","description":"<strong>{$.Private.Flinks.SelectedAccount.AccountName} (${$.Private.Flinks.SelectedAccount.CurrentBalance})</strong>","id":"from-account"},{"bindingPath":"$.Private.Signatures.ActionInputParameters.InitialDeposit.DepositAmount","columnOverride":1,"controlType":"Input","customClasses":"mb-2","customValidationMessages":{"minValue":"Please ensure the amount entered is at least $10"},"enabled":true,"iconLeft":"fal fa-dollar-sign","id":"amount1","inputMode":"Required","keyboardType":"Phone","label":"Amount","maxValuePath":"$.Private.Flinks.SelectedAccount.CurrentBalance","minValue":10,"regexMessage":"You may only enter numbers","regexPattern":"^[0-9]*$","template":"Integer"},{"bindingPath":"$.Private.Signatures.ActionInputParameters.ProductId","bindOnChange":true,"columnOverride":1,"controlOptions":{"optionsJsonPath":"$.FilteredProducts"},"controlType":"Input","customClasses":"mb-2","dropdownSettings":{"idJsonPath":"$.ProductId","labelJsonPath":"$.ProductName","valueJsonPath":"$.ProductId"},"id":"to-account1","inputMode":"Required","label":"To account","placeholder":" ","template":"DropDown"},{"bindingPath":"$.Private.Flinks.PaymentConfirmation.Code","checkboxSettings":{"checkedRequired":true,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"controlType":"Input","customClasses":"my-2","id":"confirmation-checkbox","label":"I agree with the transfer <a href=\"https://www.bowvalleycu.com/en/legal?_ga=2.235536004.409369766.1721917296-915917705.1716484392\" target=\"_blank\">terms & conditions</a>.","template":"CheckBox","value":false},{"columnOverride":1,"controlType":"Divider","customClasses":"mt-0","id":"divider-2"},{"buttonAction":"CloseModal","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"approved"}}]}]},"columnOverride":2,"controlType":"Button","id":"close-modal-button","label":"Cancel"},{"buttonAction":"Submit","columnOverride":2,"controlType":"Button","customClasses":"block mt-0 float-right","id":"btnNext","label":"Submit"}],"customClasses":"p-0 box-shadow-none","description":"Please complete the fields below to finalize your transfer.","headingSize":"h1","id":"payment-confirmation","textAlignment":"text-left","title":"Confirm Your Transfer"}]},{"commandsOnLoad":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"href":"flinks","navigationType":"NavigateToPage"},"responseMappings":[{"targetJsonPath":"$.FilteredProducts","value":""},{"bindingPath":"$.Products[?(@.ProductType.Code != 'MemberShare' && @.ProductType.Code != 'Investment'  && @.ProductId !='')]","targetJsonPath":"$.FilteredProducts"}],"statusCode":200}]},{"conditions":[{"targetJsonPath":"$.FilteredProducts[0].ProductId","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.FilteredProducts","convertValueTo":"Array","targetJsonPath":"$.FilteredProducts"}],"statusCode":200}]},{"conditions":[{"targetJsonPath":"$.FilteredProducts[0][0].ProductId","targetValue":"*"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.FilteredProducts[0]","targetJsonPath":"$.FilteredProducts"}],"statusCode":200}]}],"description":"You can log into your existing bank account and send an electronic funds transfer to your account. The funds will be available within 3 business days.<br/>To complete a funds transfer, you will first need to log into the institution you want to make the transfer from. Once you've done that, you will be able to select the transfer amount and the specific account you want it to come from.","hasBackButton":false,"hasNextButton":false,"id":"flinks","navigation":{"nextPageId":"complete"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":7,"sections":[{"controls":[{"controlType":"Iframe","customClasses":"border-none","id":"flinks-widget-iframe","iframeSettings":{"height":760,"url":"https://thirdstream-iframe.private.fin.ag/?demo=true&consentEnable=true&customerName=Bow Valley Credit Union&institutionFilterEnable=true&accountSelectorEnable=true&accountSelectorCurrency=cad"}},{"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"}]}},{"controlType":"HTML","customClasses":"block pl-3","description":"<a href=\"flow/approved\" class=\"no-underline p-button navigation\">Cancel Funds Transfer</a>","id":"cancel-flinks-button","label":"Cancel Funds Transfer"}],"customClasses":"p-card p-4 mt-5 bg-white","id":"flinks-widget","width":"Medium"}],"title":"Transfer Funds Electronically"},{"hasBackButton":false,"hasNextButton":false,"id":"sin-error","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","sections":[{"customClasses":"text-center mb-8","description":"<p>Unfortunately we are not able to complete your application at this time. We'd be happy to speak to you about your application, please call our Relationship Centre at <a href='tel:1-800-207-0068'>1-800-207-0068</a> or email to <a href='mailto:welcome@bowvalleycu.com'>welcome@bowvalleycu.com</a>.</p>","icon":"fa-light fa-exclamation-triangle","id":"sin-error-details","title":"Alert"}],"template":"Form"},{"commandsOnLoad":[{"customCommand":"ClearSession"}],"hasBackButton":false,"hasNextButton":false,"id":"timeout-error","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","sections":[{"customClasses":"text-center mb-8","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>","icon":"fa-light fa-exclamation-triangle","id":"timeup-error-details","template":"Form","title":"Time's Up"}]},{"commandsOnLoad":[{"customCommand":"ClearSession","delayIntervalMS":200}],"customClasses":"mt-7","hasBackButton":false,"hasNextButton":false,"id":"error","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","sections":[{"controls":[{"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 mb-8","description":"<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-800-207-0068'>1-800-207-0068</a> or email to <a href='mailto:welcome@bowvalleycu.com'>welcome@bowvalleycu.com</a> so we can help.</p>","icon":"fa-light fa-exclamation-triangle","id":"error-details","title":"Something Went Wrong"}]},{"commandsOnLoad":[{"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}","httpMethod":"GET","onError":[{"responseMappings":[{"responseJsonPath":"$.ErrorMessage","targetJsonPath":"$.Private.Resume.ErrorMessage"}],"statusCode":400}],"onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"decision-modal-status"},"responseMappings":[{"responseJsonPath":"$.ApplicationNumber","targetJsonPath":"$.ApplicationNumber"},{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.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"},{"targetJsonPath":"$.FilteredProducts","value":""},{"bindingPath":"$.Products[?(@.ProductType.Code != 'MemberShare' && @.ProductType.Code != 'TfsaTermDeposit' && @.ProductType.Code != 'RspTermDeposit' && @.ProductId !='')]","targetJsonPath":"$.FilteredProducts"},{"targetJsonPath":"$.Private.OverdraftAccounts","value":""},{"bindingPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code=='Applied')]","targetJsonPath":"$.Private.OverdraftAccounts"},{"responseJsonPath":"$.Customers[0].CustomerDetail.FirstName","targetJsonPath":"$.Customers[0].CustomerDetail.FirstName"},{"responseJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code"},{"responseJsonPath":"$.Customers[0].CustomerDetail.FirstName","targetJsonPath":"$.Customers[0].CustomerDetail.FirstName"},{"responseJsonPath":"$.Customers[0].CustomerId","targetJsonPath":"$.Customers[0].CustomerId"},{"responseJsonPath":"$.Customers[1].CustomerDetail.FirstName","targetJsonPath":"$.Customers[1].CustomerDetail.FirstName"},{"responseJsonPath":"$.Customers[1].CustomerId","targetJsonPath":"$.Customers[1].CustomerId"}],"statusCode":200}]}],"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..."}]},{"hasBackButton":false,"hasNextButton":false,"id":"interac-modal","modalOptions":{"isDismissible":false,"modalSize":"extra-large"},"pageMode":"Modal","pageTemplate":"Form","pageWidth":"Large","sections":[{"columns":1,"controls":[{"controlType":"HTML","description":"<p>Send us an e-Transfer from an existing account with another financial institution and it will be deposited into your account within 1 business day.<br/><br/>Send the e-Transfer to: <b><a href='mailto:newaccounts@bowvalleycu.com'>newaccounts@bowvalleycu.com</a>.</b><br/><br/>In the message line for the e-Transfer, you MUST include your Reference number <b>{$.ApplicationNumber}</b>.</p>","id":"text1"},{"columnOverride":1,"controlType":"Divider","customClasses":"my-5","id":"divider2"},{"buttonAction":"CloseModal","controlType":"Button","id":"close-modal-button","label":"Close"}],"customClasses":"box-shadow-none p-0","id":"interac-div","textAlignment":"text-left","title":"Interac e-Transfer"}]},{"hasBackButton":false,"hasNextButton":false,"id":"cheque-modal","modalOptions":{"isDismissible":false,"modalSize":"extra-large"},"pageMode":"Modal","pageTemplate":"Form","pageWidth":"Large","sections":[{"columns":3,"controls":[{"controlType":"HTML","customClasses":"cheque-button ","description":"<p><b>1. Write a cheque</b></p>","id":"text1"},{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"cheque-example-modal"}}]}]},"controlType":"Button","customClasses":"cheque-button -m-8","id":"cheque-modal-button","label":"See an example"},{"columnOverride":1,"controlType":"HTML","customClasses":"-mt-4","description":"<p>To use this option, your cheque needs to be:</p><ul><li>in Canadian funds from a Canadian institution</li><li>pre-printed and personalized with your name on it</li><li>signed by you and dated with today’s date</li></ul><p>The dollar value of this cheque must be at least $35 to cover your membership common shares as well as the funding/activation of your deposit account(s).</p><p><b>2. Mail your cheque to us</b><br/><br/>Please mail the cheque to:<br/><br/>Bow Valley Credit Union<br/>Welcome Team<br/>121 Sage Valley Common NW<br/>Calgary, AB<br/>T3R 1T8</p>","id":"text1"},{"columnOverride":1,"controlType":"Divider","customClasses":"my-3","id":"divider2"},{"buttonAction":"CloseModal","columnOverride":1,"controlType":"Button","id":"close-modal-button","label":"Close"}],"customClasses":"box-shadow-none p-0","id":"interac-div","textAlignment":"text-left","title":"Mail us a cheque"}]},{"backButtonLabel":"Close","hasBackButton":true,"hasNextButton":false,"id":"cheque-example-modal","modalOptions":{"isDismissible":false,"modalSize":"extra-large"},"pageMode":"Modal","pageTemplate":"Form","pageWidth":"Large","sections":[{"columns":1,"controls":[{"columnOverride":1,"controlType":"HTML","description":"<img src=\"https://cdn.prod.thirdstream.ca/bowvalley/cumulus/Cheque.png\">","id":"text1"},{"columnOverride":1,"controlType":"Divider","customClasses":"my-5","id":"divider2"},{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"cheque-modal"}}]}]},"controlType":"Button","customClasses":"cheque-button","id":"cheque-modal-button","label":"Close"}],"customClasses":"box-shadow-none p-0","id":"cheque-div","textAlignment":"text-left","title":"Example of Cheque"}]},{"commandsOnLoad":[{"customCommand":"GetLocalDate","onSuccess":[{"parameterName":"$.localDate","responseMappings":[{"convertValueTo":"DateString","responseJsonPath":"$.localDate","targetJsonPath":"$.Private.DocumentSettings.LocalDate"}]}]},{"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/documents","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$.length","targetJsonPath":"$.Private.DocumentSettings.Number"},{"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 cashing cheques. Set up payroll and other direct deposits, like government payments so that they are made directly to your Credit Union account.</p><p>We'll provide you with a form that you can print off or save as a PDF 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":"Next"}],"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"},{"bindingPath":"$.Private.FilteredCustomers[0].CustomerId","targetJsonPath":"$.Private.DocumentToGenerate.CustomerIds[0]"},{"bindingPath":"$.Private.FilteredCustomers[1].CustomerId","targetJsonPath":"$.Private.DocumentToGenerate.CustomerIds[1]"},{"targetJsonPath":"$.Private.FilteredProducts","value":""},{"bindingPath":"$.Products[?(@.ProductType.Code != 'MemberShare' && @.ProductType.Code != 'TfsaTermDeposit' && @.ProductType.Code != 'RspTermDeposit' && @.ProductId !='')]","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.FilteredCustomers[0].CustomerDetail.DateOfBirth","dataTransformation":[{"pattern":"-","replacement":""}],"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.DateOfBirth"}]}]}],"commandsOnSubmit":[{"endpointUrl":"api/staticdata/Branches","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Branches"},{"bindingPath":"$..Lists.Branches[?(@.BranchId == '{$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code}')]","targetJsonPath":"$.Private.Lists.FilteredBranch"}],"statusCode":200}]},{"conditions":[{"targetJsonPath":"$.Private.Payroll.DemandInfo.Code","targetValue":"Payroll"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.DocumentToGenerate.DocumentId","value":"direct-deposit-payroll"},{"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.GenericDocumentName","value":"Payroll"},{"targetJsonPath":"$.Private.DocumentToGenerate.DocumentName","value":"Payroll"},{"targetJsonPath":"$.Private.DocumentToGenerate.CategoryTags[0]","value":"direct-deposit-payroll"},{"targetJsonPath":"$.Private.DocumentToGenerate.TemplateId","value":"direct-deposit-payroll.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.MemberName"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.PhoneContacts.Mobile.PhoneNumber","dataTransformation":[{"pattern":"^.{1,2}","replacement":""}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.PhoneNumber"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.EmailContacts.Primary.EmailAddress","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.EmailAddress"},{"bindingMultiPath":["$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.UnitNumber","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.CivicNumber","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.StreetName"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.StreetBox"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.CityName","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CityTown"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.Province.Code","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Province"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.PostalCode","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.PostalCode"},{"bindingPath":"$.Private.Payroll.Product.ProductDetail.AccountRegistration.AccountNumber","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.AccountNumber"},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":15}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CheckBox1","value":true},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":363}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CheckBox2","value":true},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":393}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CheckBox3","value":true},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":21}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CheckBox4","value":true},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":19}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CheckBox5","value":true},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":22}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CheckBox6","value":true},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":23}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CheckBox7","value":true}]}]},{"conditions":[{"targetJsonPath":"$.Private.Payroll.DemandInfo.Code","targetValue":"DirectDeposits"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.DocumentToGenerate.DocumentId","value":"direct-deposit-payroll"},{"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.GenericDocumentName","value":"All other direct deposits"},{"targetJsonPath":"$.Private.DocumentToGenerate.DocumentName","value":"All other direct deposits"},{"targetJsonPath":"$.Private.DocumentToGenerate.CategoryTags[0]","value":"direct-deposit-payroll"},{"targetJsonPath":"$.Private.DocumentToGenerate.TemplateId","value":"direct-deposit-payroll.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.MemberName"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.PhoneContacts.Mobile.PhoneNumber","dataTransformation":[{"pattern":"^.{1,2}","replacement":""}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.PhoneNumber"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.EmailContacts.Primary.EmailAddress","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.EmailAddress"},{"bindingMultiPath":["$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.UnitNumber","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.CivicNumber","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.StreetName"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.StreetBox"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.CityName","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CityTown"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.Province.Code","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Province"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.PostalCode","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.PostalCode"},{"bindingPath":"$.Private.Payroll.Product.ProductDetail.AccountRegistration.AccountNumber","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.AccountNumber"},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":15}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CheckBox1","value":true},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":363}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CheckBox2","value":true},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":393}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CheckBox3","value":true},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":21}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CheckBox4","value":true},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":19}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CheckBox5","value":true},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":22}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CheckBox6","value":true},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":23}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.CheckBox7","value":true}]}]},{"conditions":[{"targetJsonPath":"$.Private.Payroll.DemandInfo.Code","targetValue":"IncomeTax"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.DocumentToGenerate.DocumentId","value":"direct-deposit-incometax"},{"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.GenericDocumentName","value":"Income Tax, Canada Pension Plan and Old Age Security"},{"targetJsonPath":"$.Private.DocumentToGenerate.DocumentName","value":"Income Tax, Canada Pension Plan and Old Age Security"},{"targetJsonPath":"$.Private.DocumentToGenerate.CategoryTags[0]","value":"direct-deposit-incometax"},{"targetJsonPath":"$.Private.DocumentToGenerate.TemplateId","value":"direct-deposit-incometax.pdf"},{"bindingPath":"$.Private.DocumentSettings.LocalDate","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.DepositDate"},{"bindingPath":"$.Private.Payroll.Customer.CustomerId","targetJsonPath":"$.Private.DocumentToGenerate.CustomerId"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.LastName","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Surname"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.FirstName","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.GivenName"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.PhoneContacts.Mobile.PhoneNumber","dataTransformation":[{"pattern":"^.{1,5}","replacement":""}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.TelephoneNo"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.PhoneContacts.Mobile.PhoneNumber","dataTransformation":[{"pattern":"^.{1,2}","replacement":""},{"pattern":".{7}$","replacement":""}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.AreaCode"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.DateOfBirth","dataTransformation":[{"pattern":"-","replacement":""}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.DateBirth"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.TaxInformation.SocialInsuranceNumber","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.SIN"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.EmailContacts.Primary.EmailAddress","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.EmailAddress"},{"bindingMultiPath":["$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.UnitNumber","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.CivicNumber","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.StreetName"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Address"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.CityName","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.City"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.Province.Code","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Province"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.PostalCode","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.PostCode"},{"bindingPath":"$.Private.Payroll.Product.ProductDetail.AccountRegistration.AccountNumber","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.AccountNumber"},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":15}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Branch","value":83419},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":363}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Branch","value":53419},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":393}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Branch","value":73419},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":21}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Branch","value":"00149"},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":19}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Branch","value":"01079"},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":22}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Branch","value":"00159"},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":23}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Branch","value":"00139"},{"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Institution","value":899},{"bindingPath":"$.Private.FilteredCustomers[1].ApplicantName","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.AccountName_1"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Payroll.DemandInfo.Code","targetValue":"UnemploymentInsurance"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.DocumentToGenerate.DocumentId","value":"direct-deposit-unemployment"},{"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.GenericDocumentName","value":"Unemployment Insurance"},{"targetJsonPath":"$.Private.DocumentToGenerate.DocumentName","value":"Unemployment Insurance"},{"targetJsonPath":"$.Private.DocumentToGenerate.CategoryTags[0]","value":"direct-deposit-unemployment"},{"targetJsonPath":"$.Private.DocumentToGenerate.TemplateId","value":"direct-deposit-unemployment.pdf"},{"bindingPath":"$.Private.DocumentSettings.LocalDate","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Startdate"},{"bindingPath":"$.Private.DocumentSettings.LocalDate","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Date"},{"bindingPath":"$.Private.Payroll.Customer.CustomerId","targetJsonPath":"$.Private.DocumentToGenerate.CustomerId"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.LastName","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.LastName"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.FirstName","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.FirstName"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.PhoneContacts.Mobile.PhoneNumber","dataTransformation":[{"pattern":"^.{1,2}","replacement":""}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.TelephoneNo"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.TaxInformation.SocialInsuranceNumber","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.SIN"},{"bindingMultiPath":["$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.UnitNumber","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.CivicNumber","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.StreetName","$.Private.DocumentToGenerate.Parameters.City","$.Private.DocumentToGenerate.Parameters.Province"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Address"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.PostalCode","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.PostalCode"},{"bindingPath":"$.Private.Payroll.Product.ProductDetail.AccountRegistration.AccountNumber","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.AccountNumber"},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":15}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.BranchNumber","value":83419},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":363}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.BranchNumber","value":53419},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":393}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.BranchNumber","value":73419},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":21}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.BranchNumber","value":"00149"},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":19}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.BranchNumber","value":"01079"},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":22}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.BranchNumber","value":"00159"},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":23}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.BranchNumber","value":"00139"},{"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.InstitutionNumber","value":899},{"bindingPath":"$.Private.FilteredCustomers[1].ApplicantName","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.JointName"},{"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.BankTelephone","value":"1-800-207-0068"},{"bindingMultiPath":["$.ClientDetails.Name","$.Private.Lists.FilteredBranch.Address.UnitNumber","$.Private.Lists.FilteredBranch.Address.CivicNumber","$.Private.Lists.FilteredBranch.Address.StreetName"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.BankName"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Payroll.DemandInfo.Code","targetValue":"ArmedForces"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.DocumentToGenerate.DocumentId","value":"direct-deposit-canadianforces"},{"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.GenericDocumentName","value":"Canadian Armed Forces Pensions"},{"targetJsonPath":"$.Private.DocumentToGenerate.DocumentName","value":"Canadian Armed Forces Pensions"},{"targetJsonPath":"$.Private.DocumentToGenerate.CategoryTags[0]","value":"direct-deposit-canadianforces"},{"targetJsonPath":"$.Private.DocumentToGenerate.TemplateId","value":"direct-deposit-canadianforces.pdf"},{"bindingPath":"$.Private.DocumentSettings.LocalDate","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.EffectiveDate"},{"bindingPath":"$.Private.Payroll.Customer.CustomerId","targetJsonPath":"$.Private.DocumentToGenerate.CustomerId"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.LastName","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.LastName"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.FirstName","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.FirstName"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.PhoneContacts.Mobile.PhoneNumber","dataTransformation":[{"pattern":"^.{1,2}","replacement":""}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Telephone_Work"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.TaxInformation.SocialInsuranceNumber","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.SIN"},{"bindingMultiPath":["$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.UnitNumber","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.CivicNumber","$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.StreetName"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.StreetAddress"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.CityName","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Address_City"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.Province.Code","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Address_Province"},{"bindingPath":"$.Private.Payroll.Customer.CustomerDetail.AddressContacts.Home.PostalCode","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.Address_PostCode"},{"bindingPath":"$.Private.Payroll.Product.ProductDetail.AccountRegistration.AccountNumber","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.AccountNumber"},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":15}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.BranchNUmbe","value":83419},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":363}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.BranchNUmbe","value":53419},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":393}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.BranchNUmbe","value":73419},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":21}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.BranchNUmbe","value":"00149"},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":19}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.BranchNUmbe","value":"01079"},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":22}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.BranchNUmbe","value":"00159"},{"conditions":[{"targetJsonPath":"$.Private.Payroll.Customer.CustomerDetail.MemberRegistration.HomeBranch.Code","targetValue":23}],"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.BranchNUmbe","value":"00139"},{"bindingMultiPath":["$.Private.Lists.FilteredBranch.Address.UnitNumber","$.Private.Lists.FilteredBranch.Address.CivicNumber","$.Private.Lists.FilteredBranch.Address.StreetName"],"bindingMultiPathSplitValue":" ","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.bankAddress"},{"bindingPath":"$.Private.Lists.FilteredBranch.Address.PostalCode","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.BankAddress_PostalCode"},{"bindingPath":"$.Private.Lists.FilteredBranch.Address.CityName","targetJsonPath":"$.Private.DocumentToGenerate.Parameters.BankAddress_City"},{"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.InstitutionNumber","value":899},{"targetJsonPath":"$.Private.DocumentToGenerate.Parameters.BankAddress_Province","value":"AB"}]}]},{"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.DemandInfo.Code","columnOverride":1,"controlOptions":{"descriptionControlId":"demand-info-description","options":[{"label":"Payroll","value":"Payroll"},{"label":"Income Tax, Canada Pension Plan and Old Age Security","value":"IncomeTax"},{"label":"Unemployment Insurance","value":"UnemploymentInsurance"},{"label":"Canadian Armed Forces Pensions","value":"ArmedForces"},{"label":"All other direct deposits","value":"DirectDeposits"}]},"controlType":"Input","customClasses":"-mt-3","dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.label","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"add-direct-deposit_field2"},{"targetJsonPath":"$.Private.Payroll.Product.OfferDetail.ProductName"}]}],"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":"$.ProductName","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","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. You can then provide this to your employer or to the government. </p><p>Printing off a CRA Direct Deposit Enrolment Form? 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"}]},{"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":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Private.Resume.Cid}/sessions","httpMethod":"POST","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"}],"statusCode":200}]}],"hasBackButton":false,"hasNextButton":false,"id":"resume","navigation":{"nextPageId":"resume-modal"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":7,"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"},{"buttonAction":"Submit","columnOverride":1,"controlType":"Button","customClasses":"flex justify-content-end -mb-2 mt-5","id":"btnSubmit","label":"Send Code"}],"description":"During the online application process you provided a phone number that will be used to send you a verification code. Please select how you'd prefer to receive your verification code from the two options below. ","id":"resume-options","title":"Resume your application","width":"Medium"}]},{"commandsOnLoad":[{"body":[{"parameterName":"DestinationToken","valueJsonPath":"$.Private.Resume.DestinationToken"}],"conditions":[{"targetJsonPath":"$.Application","targetValue":""}],"continueOnError":true,"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Private.Resume.Cid}/sessions/{$.Private.Resume.SessionId}/authenticate/onetimepassword","httpMethod":"POST","OnError":[{"responseMappings":[{"responseJsonPath":"$.ErrorMessage","targetJsonPath":"$.Private.Resume.ErrorMessage"}],"statusCode":400}],"onSuccess":[{"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","httpMethod":"PUT","onError":[{"parameterName":"$.ErrorMessage","parameterValue":"Terminated session cannot be authenticated.","statusCode":400,"throwError":false},{"resetControls":true,"responseMappings":[{"responseJsonPath":"$.ErrorMessage","targetJsonPath":"$.Private.Resume.ErrorMessage"}],"statusCode":400,"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"},"navigation":{"nextPageId":"load-application-modal"},"pageMode":"Modal","pageTemplate":"Form","restrictions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"},{"targetJsonPath":"$.Private.Resume.Cid","targetValue":"*"},{"targetJsonPath":"$.Private.Resume.Code","targetValue":"*"}],"sections":[{"columns":2,"controls":[{"bindingPath":"$.Private.Resume.UserCode","columnOverride":1,"controlType":"Input","customClasses":"mt-1 mb-2","helpText":"Please enter your code within 5 minutes of receiving it.","id":"resume-code","inputMode":"Required","label":"Enter code","maxLength":6,"minLength":6,"regexMessage":"You may only enter numbers","regexPattern":"^[0-9]*$","template":"TextBox"},{"columnOverride":1,"controlType":"CountdownTimer","countdownTimerSettings":{"countdownTimeMin":0.3,"icon":"fal fa-info-circle","label":"Resend code:","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","onSuccess":[{"statusCode":200}]}],"timerCompleteButtonLabel":"send","timerCompleteButtonLabelPrefix":"","timerCompleteButtonLabelSuffix":""},"customClasses":"-mt-4 mb-3 flex","id":"resume-resend-timer"},{"columnOverride":1,"conditions":[{"targetJsonPath":"$.Private.Resume.ErrorMessage","targetValue":"*"}],"controlType":"HTML","description":"<small class='p-invalid'>{$.Private.Resume.ErrorMessage}</small>","id":"resume-error"},{"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>You should receive a code by either text or a phone call depending on the method you previously selected. Once you receive the code please enter it below to resume your application.</p><p>If you do not receive a code within the next few minutes, please click cancel below and try a different method to receive the code. </p>","headingSize":"h1","id":"enter-code","textAlignment":"text-left","title":"Enter your code"}]},{"commandsOnLoad":[{"body":[{"parameterName":"NotificationType","parameterValue":"Welcome"}],"conditions":[{"targetJsonPath":"$.Private.FirstDepositCompleted","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/notifications/customers/{$.Customers[0].CustomerId}","httpMethod":"POST","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.FirstDepositCompleted","value":true}]}]}],"hasBackButton":false,"hasNextButton":false,"id":"complete","modalOptions":{"isDismissible":false,"modalSize":"extra-large"},"pageMode":"Modal","pageTemplate":"Form","pageWidth":"Large","sections":[{"columns":1,"controls":[{"columnOverride":1,"controlType":"HTML","description":"Your transfer has been successfully initiated, funds should be available on your account in 3-5 business days. <br/><br/>If you have any questions in the meantime, please contact us at <a href='tel:1-800-207-0068'>1-800-207-0068</a> or <a href='mailto:welcome@bowvalleycu.com'>welcome@bowvalleycu.com.","id":"text1"},{"columnOverride":1,"controlType":"Divider","customClasses":"my-5","id":"divider2"},{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"approved"},"responseMappings":[{"targetJsonPath":"$.Private.ApplicationStatus.Code","value":""}]}]}]},"columnOverride":1,"controlType":"Button","customClasses":"block mt-5","id":"complete-close-button","label":"Close"}],"customClasses":"box-shadow-none p-0","id":"complete-div","textAlignment":"text-left","title":"Transfer Initiated"}]},{"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"}]},{"commandsOnLoad":[{"customCommand":"ClearSession"},{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]}],"customClasses":"mt-7","hasBackButton":false,"hasNextButton":false,"id":"maintenance","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","sections":[{"customClasses":"text-center","description":"{$.Private.Lists.MaintenanceOptions.MaintenanceDescription}","icon":"fa-light fa-wrench","id":"maintenance-details","title":"Planned Maintenance."}]}],"progressIndicators":[{"name":"Account"},{"name":"About You"},{"name":"Employment"},{"name":"Password"},{"name":"Branch"},{"name":"Compliance"},{"name":"Final Questions"},{"name":"Finalize"}]}