{"pages":[{"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":""}]},{"backButtonLabel":"Back","commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.HideOverdraft","value":"Hide"}]}]},{"endpointUrl":"api/staticdata/IntededUseForPersonalChequing","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.IntededUseForPersonalChequing"}],"statusCode":200}]},{"endpointUrl":"api/staticdata/IntededUseForPersonalSavings","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.IntededUseForPersonalSavings"}],"statusCode":200}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.Offers","targetValue":""}],"endpointUrl":"api/staticdata/RetailDepositOffers","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Offers"},{"bindingPath":"$..Lists.Offers[?(@.ProductType=='PersonalChequing')]","targetJsonPath":"$.Private.Lists.FilteredOffers.PersonalChequing"},{"bindingPath":"$..Lists.Offers[?(@.ProductType=='PersonalSavings')]","targetJsonPath":"$.Private.Lists.FilteredOffers.PersonalSavings"},{"responseJsonPath":"$[?(@.ProductType=='PersonalChequing' && @.OfferId =='acu-light')]","targetJsonPath":"$.Private.Offers[0]"},{"responseJsonPath":"$[?(@.ProductType=='PersonalChequing' && @.OfferId =='acu-light')]","targetJsonPath":"$.Private.Offers[1]"},{"bindingPath":"$.Private.Lists.FilteredOffers.PersonalChequing","targetJsonPath":"$.Private.Lists.FilteredOffersResult[0]"},{"bindingPath":"$.Private.Lists.FilteredOffers.PersonalChequing","targetJsonPath":"$.Private.Lists.FilteredOffersResult[1]"},{"targetJsonPath":"$.Private.Products[0].ProductType.Code","value":"PersonalChequing"}],"statusCode":200}]},{"conditions":[{"targetJsonPath":"$.Products[0].OfferId","targetValue":"*"}],"endpointUrl":"api/staticdata/RetailDepositOffers","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[?(@.OfferId == '{$.Products[0].OfferId}')]","targetJsonPath":"$.Private.Offers[0]"}],"statusCode":200}]}],"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Products[0].ProductType.Code","targetJsonPath":"$.Products[0].ProductType.Code"}]}]},{"conditions":[{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"NotApplied"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Description","value":"No"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.Income"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.Income"}]}]},{"conditions":[{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"Applied"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Description","value":"Yes"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Products[0].ProductType.Code","targetValue":"PersonalSavings"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Code"},{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Description"}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"bindingPath":"$.Private.Offers[0].OfferDetail","targetJsonPath":"$.Products[0].OfferDetail"},{"bindingPath":"$.Private.Offers[0].OfferId","targetJsonPath":"$.Products[0].OfferId"}]}]}],"hasBackButton":true,"hasNextButton":true,"id":"account-selection1","navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"nextPageId":"add-account-modal"},"nextButtonLabel":"Next","pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":0,"sections":[{"controls":[{"bindingPath":"$.Products[0].ProductType.Code","controlOptions":{"onChangeTargetId":"account-selection-1","options":[{"label":"Chequing","value":"PersonalChequing"},{"label":"Savings","value":"PersonalSavings"}]},"controlType":"Input","customClasses":"mt-4 pb-2","defaultValue":"PersonalChequing","id":"product-type-radio1","inputMode":"Required","radioListSettings":{"bindOnSelect":true,"commandsOnSelect":[{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Lists.FilteredOffers['{$.Products[0].ProductType.Code}']","targetJsonPath":"$.Private.Lists.FilteredOffersResult[0]"},{"bindingPath":"$.Products[0].ProductType.Code","targetJsonPath":"$.Private.Products[0].ProductType.Code"}]}]},{"conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"PersonalChequing"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Lists.FilteredOffersResult[0][?(@.OfferId=='acu-light')]","targetJsonPath":"$.Private.Offers[0]"},{"bindingPath":"$.Private.Lists.FilteredOffersResult[0][?(@.OfferId=='acu-light')].OfferDetail.ProductName","targetJsonPath":"$.Products[0].OfferDetail.ProductName"}]}]},{"conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"PersonalSavings"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Lists.FilteredOffersResult[0][?(@.OfferId=='high-rate-savings')]","targetJsonPath":"$.Private.Offers[0]"},{"bindingPath":"$.Private.Lists.FilteredOffersResult[0][?(@.OfferId=='high-rate-savings')].OfferDetail.ProductName","targetJsonPath":"$.Products[0].OfferDetail.ProductName"}]}]}],"submitOnSelect":false},"resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Products[0].ProductType.Description"},{"onChangeTargetId":"account-chequing-1"},{"onChangeTargetId":"account-savings-1"},{"onChangeTargetId":"intended-use-dropdown-chequing"},{"onChangeTargetId":"intended-use-dropdown-savings"}]}],"template":"RadioList"},{"bindingPath":"$.Products[0].OfferDetail.ProductName","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"PersonalChequing"},{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":""}],"controlOptions":{"optionsJsonPath":"$.Private.Lists.FilteredOffers.PersonalChequing"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"defaultValue":"ACU Light","dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$","labelJsonPath":"$.OfferDetail.ProductName","selectedIdJsonPath":"$.Private.Offers[0]"},"id":"account-chequing-1","inputMode":"Required","label":"Please select an account","template":"DropDown"},{"bindingPath":"$.Products[0].OfferDetail.ProductName","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"PersonalSavings"}],"controlOptions":{"optionsJsonPath":"$.Private.Lists.FilteredOffers.PersonalSavings"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"defaultValue":"Everyday Savings","dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$","labelJsonPath":"$.OfferDetail.ProductName","selectedIdJsonPath":"$.Private.Offers[0]"},"id":"account-savings-1","inputMode":"Required","label":"Please select an account","template":"DropDown"},{"bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Offers[0].OfferDetail","targetValue":"*"}],"controlType":"HTML","customClasses":"background-primary-opaque pb-3 mb-3","description":"<div class=\"px-3 pt-1 pb-2s background-primary-faded\"><h3><b>{$.Private.Offers[0].OfferDetail.ProductTitle}</b></h3>{$.Private.Offers[0].OfferDetail.ProductDescriptionHtml}<a href=\"{$.Private.Offers[0].OfferDetail.LearnMoreUrl}\" target=\"_blank\">More Details</a></div>","id":"product-html"},{"bindingPath":"$.Customers[0].CustomerDetail.MarketingEngagement.HearAboutUsMethod.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.HowDidYouHearAboutUs"},"controlType":"Input","customClasses":"pb-2","dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onLoad":{"endpointUrl":"api/staticdata/HowDidYouHearAboutUs","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.HowDidYouHearAboutUs"}],"statusCode":200}]},"selectedIdJsonPath":"$.Customers[0].CustomerDetail.MarketingEngagement.HearAboutUsMethod.Code","valueJsonPath":"$.Description"},"id":"where-did-you-hear-dropdown","inputMode":"Required","label":"How did you hear about us?","template":"DropDown"},{"bindingPath":"$.Products[0].ProductDetail.RegulatoryCompliance.IntendedUse.Description","conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"PersonalChequing"},{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":""}],"controlOptions":{"optionsJsonPath":"$.Private.Lists.IntededUseForPersonalChequing"},"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Products[0].ProductDetail.RegulatoryCompliance.IntendedUse.Code","valueJsonPath":"$.Description"},"id":"intended-use-dropdown-chequing","inputMode":"Required","label":"Please select an intended use","template":"DropDown"},{"bindingPath":"$.Products[0].ProductDetail.RegulatoryCompliance.IntendedUse.Description","conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"PersonalSavings"}],"controlOptions":{"optionsJsonPath":"$.Private.Lists.IntededUseForPersonalSavings"},"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Products[0].ProductDetail.RegulatoryCompliance.IntendedUse.Code","valueJsonPath":"$.Description"},"id":"intended-use-dropdown-savings","inputMode":"Required","label":"Please select an intended use","template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.BankCard.SetupStatus.Code","controlOptions":{"options":[{"label":"Yes","value":"Yes"},{"label":"No","value":"No"}]},"controlType":"Input","customClasses":"mt-3","customValidationMessages":{"required":"This is a required field."},"id":"member-card","inputMode":"Required","label":"Do you want a debit card?","radioListSettings":{"bindOnSelect":true,"submitOnSelect":false},"template":"RadioList"},{"allConditionsMustBeMet":true,"bindingPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Code","conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":""},{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":""},{"targetJsonPath":"$.Private.HideOverdraft","targetValue":"RemoveThisSingleConditionToDisplayOverdraftAgain"}],"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 an Overdraft protection to this account?","radioListSettings":{"bindOnSelect":true,"submitOnSelect":false},"template":"RadioList"},{"allConditionsMustBeMet":true,"bindingPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Code","conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"PersonalChequing"},{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":""},{"targetJsonPath":"$.Private.HideOverdraft","targetValue":"RemoveThisSingleConditionToDisplayOverdraftAgain"}],"controlOptions":{"options":[{"label":"Yes","value":"Applied"},{"label":"No","value":"NotApplied"}]},"controlType":"Input","customClasses":"mt-3","id":"open-overdraft-account1-2","inputMode":"Required","label":"Would you like to add an Overdraft protection to this account?","radioListSettings":{"bindOnSelect":true,"submitOnSelect":false},"template":"RadioList"}],"description":"Please select the account type and then the specific account you'd like to open. You can select up to two (2) total accounts.","groupPanelSettings":{"customClasses":"bg-white m=0"},"id":"account-selection","title":"Account Selection"}],"updateButtonLabel":"Save Changes"},{"backButtonLabel":"Back","commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"endpointUrl":"api/staticdata/IntededUseForPersonalChequing","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.IntededUseForPersonalChequing"}],"statusCode":200}]},{"endpointUrl":"api/staticdata/IntededUseForPersonalSavings","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.IntededUseForPersonalSavings"}],"statusCode":200}]},{"endpointUrl":"api/staticdata/RetailDepositOffers","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Offers"},{"bindingPath":"$..Lists.Offers[?(@.ProductType=='PersonalChequing')]","targetJsonPath":"$.Private.Lists.FilteredOffers.PersonalChequing"},{"bindingPath":"$..Lists.Offers[?(@.ProductType=='PersonalSavings')]","targetJsonPath":"$.Private.Lists.FilteredOffers.PersonalSavings"},{"responseJsonPath":"$[?(@.ProductType=='PersonalChequing' && @.OfferId =='acu-light')]","targetJsonPath":"$.Private.Offers[1]"},{"bindingPath":"$.Private.Lists.FilteredOffers.PersonalChequing","targetJsonPath":"$.Private.Lists.FilteredOffersResult[0]"},{"bindingPath":"$.Private.Lists.FilteredOffers.PersonalChequing","targetJsonPath":"$.Private.Lists.FilteredOffersResult[1]"},{"targetJsonPath":"$.Private.Products[0].ProductType.Code","value":"PersonalChequing"}],"statusCode":200}]}],"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Products[1].ProductType.Code","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Products[1].ProductType.Code","targetJsonPath":"$.Products[1].ProductType.Code"}]}]},{"conditions":[{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"NotApplied"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer.OverdraftStatus.Description","value":"No"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.Income"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.Income"}]}]},{"conditions":[{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"Applied"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer.OverdraftStatus.Description","value":"Yes"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Products[1].ProductType.Code","targetValue":"PersonalSavings"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer.OverdraftStatus.Code"},{"targetJsonPath":"$.Products[1].ProductDetail.OverdraftOffer.OverdraftStatus.Description"}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"bindingPath":"$.Private.Offers[1].OfferDetail","targetJsonPath":"$.Products[1].OfferDetail"},{"bindingPath":"$.Private.Offers[1].OfferId","targetJsonPath":"$.Products[1].OfferId"}]}]}],"hasBackButton":true,"hasNextButton":true,"id":"account-selection2","navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"nextPageId":"personal-information"},"nextButtonLabel":"Next","pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":0,"sections":[{"controls":[{"bindingPath":"$.Products[1].ProductType.Code","controlOptions":{"options":[{"label":"Chequing","value":"PersonalChequing"},{"label":"Savings","value":"PersonalSavings"}]},"controlType":"Input","customClasses":"mt-4 pb-2","defaultValue":"PersonalChequing","id":"product-type-radio-2","inputMode":"Required","radioListSettings":{"bindOnSelect":true,"commandsOnSelect":[{"customCommand":"GetCurrentUrl","delayInMilliseconds":500,"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Lists.FilteredOffers['{$.Products[1].ProductType.Code}']","targetJsonPath":"$.Private.Lists.FilteredOffersResult[1]"},{"bindingPath":"$.Products[1].ProductType.Code","targetJsonPath":"$.Private.Products[1].ProductType.Code"}]}]},{"conditions":[{"targetJsonPath":"$.Products[1].ProductType.Code","targetValue":"PersonalChequing"}],"customCommand":"GetCurrentUrl","delayInMilliseconds":500,"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Lists.FilteredOffersResult[1][?(@.OfferId=='acu-light')]","targetJsonPath":"$.Private.Offers[1]"},{"bindingPath":"$.Private.Lists.FilteredOffersResult[1][?(@.OfferId=='acu-light')].OfferDetail.ProductName","targetJsonPath":"$.Products[1].OfferDetail.ProductName"}]}]},{"conditions":[{"targetJsonPath":"$.Products[1].ProductType.Code","targetValue":"PersonalSavings"}],"customCommand":"GetCurrentUrl","delayInMilliseconds":500,"onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Lists.FilteredOffersResult[1][?(@.OfferId=='high-rate-savings')]","targetJsonPath":"$.Private.Offers[1]"},{"bindingPath":"$.Private.Lists.FilteredOffersResult[1][?(@.OfferId=='high-rate-savings')].OfferDetail.ProductName","targetJsonPath":"$.Products[1].OfferDetail.ProductName"}]}]}],"submitOnSelect":false},"resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Products[1].ProductType.Description"},{"onChangeTargetId":"account-chequing-2"},{"onChangeTargetId":"account-savings-2"},{"onChangeTargetId":"intended-use-dropdown-chequing-2"},{"onChangeTargetId":"intended-use-dropdown-savings-2"}]}],"template":"RadioList"},{"bindingPath":"$.Products[1].OfferDetail.ProductName","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Products[1].ProductType.Code","targetValue":"PersonalChequing"},{"targetJsonPath":"$.Products[1].ProductType.Code","targetValue":""}],"controlOptions":{"optionsJsonPath":"$.Private.Lists.FilteredOffers.PersonalChequing"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"defaultValue":"ACU Light","dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$","labelJsonPath":"$.OfferDetail.ProductName","selectedIdJsonPath":"$.Private.Offers[1]"},"id":"account-chequing-2","inputMode":"Required","label":"Please select an account","template":"DropDown"},{"bindingPath":"$.Products[1].OfferDetail.ProductName","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Products[1].ProductType.Code","targetValue":"PersonalSavings"}],"controlOptions":{"optionsJsonPath":"$.Private.Lists.FilteredOffers.PersonalSavings"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field."},"defaultValue":"Everyday Savings","dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$","labelJsonPath":"$.OfferDetail.ProductName","selectedIdJsonPath":"$.Private.Offers[1]"},"id":"account-savings-2","inputMode":"Required","label":"Please select an account","template":"DropDown"},{"bindOnChange":true,"conditions":[{"targetJsonPath":"$.Private.Offers[1].OfferDetail","targetValue":"*"}],"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[1].OfferDetail.ProductTitle}</b></h3>{$.Private.Offers[1].OfferDetail.ProductDescriptionHtml}<a href=\"{$.Private.Offers[1].OfferDetail.LearnMoreUrl}\" target=\"_blank\">More Details</a></div>","id":"product-html-2"},{"bindingPath":"$.Products[1].ProductDetail.RegulatoryCompliance.IntendedUse.Description","conditions":[{"targetJsonPath":"$.Products[1].ProductType.Code","targetValue":"PersonalChequing"},{"targetJsonPath":"$.Products[1].ProductType.Code","targetValue":""}],"controlOptions":{"optionsJsonPath":"$.Private.Lists.IntededUseForPersonalChequing"},"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Products[1].ProductDetail.RegulatoryCompliance.IntendedUse.Code","valueJsonPath":"$.Description"},"id":"intended-use-dropdown-chequing-2","inputMode":"Required","label":"Please select an intended use","template":"DropDown"},{"bindingPath":"$.Products[1].ProductDetail.RegulatoryCompliance.IntendedUse.Description","conditions":[{"targetJsonPath":"$.Products[1].ProductType.Code","targetValue":"PersonalSavings"}],"controlOptions":{"optionsJsonPath":"$.Private.Lists.IntededUseForPersonalSavings"},"controlType":"Input","customValidationMessages":{"required":"This is a required field."},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Products[1].ProductDetail.RegulatoryCompliance.IntendedUse.Code","valueJsonPath":"$.Description"},"id":"intended-use-dropdown-savings-2","inputMode":"Required","label":"Please select an intended use","template":"DropDown"},{"allConditionsMustBeMet":true,"bindingPath":"$.Products[1].ProductDetail.OverdraftOffer.OverdraftStatus.Code","conditions":[{"operator":"NotContains","targetJsonPath":"$.Products[1].ProductType.Code","targetValue":"PersonalSavings"},{"targetJsonPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":""},{"targetJsonPath":"$.Private.HideOverdraft","targetValue":"RemoveThisSingleConditionToDisplayOverdraftAgain"}],"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 an Overdraft protection to this account?","radioListSettings":{"bindOnSelect":true,"submitOnSelect":false},"template":"RadioList"},{"bindingPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Description","bindOnChange":true,"controlType":"Input","id":"overdraft-description-2","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","title":"Account Selection 2"}],"updateButtonLabel":"Save Changes"},{"commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"conditions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/current","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$.OutputParameters.ApplicationStatus","targetJsonPath":"$.ApplicationStatus.Code"},{"responseJsonPath":"$.StageName","targetJsonPath":"$.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.CurrentStage.StageStatus.Code"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Resume.CustomerFirstName","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"approved"},"responseMappings":[{"bindingPath":"$.Customers[0].CustomerDetail.FirstName","targetJsonPath":"$.Private.CustomerFirstName"},{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberNumber","targetJsonPath":"$.Private.CustomerMemberNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.BankCard.CardNumber","targetJsonPath":"$.Private.BankCardNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.FirstName","targetJsonPath":"$.Private.Resume.CustomerFirstName"},{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberNumber","targetJsonPath":"$.Private.Resume.CustomerMemberNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.BankCard.CardNumber","targetJsonPath":"$.Private.Resume.BankCardNumber"}]}]},{"conditions":[{"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code=='Applied')].ProductDetail.OverdraftAcceptance.AcceptanceStatus.Code","targetValue":"Accepted"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.OverdraftAccepted","value":"Yes"}]}]}],"customClasses":"pt-0 mb-4 p-0","hasBackButton":false,"hasNextButton":false,"id":"approved","pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","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(s) 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},{"targetJsonPath":"$.Products[1].ProductType.Code","targetValue":"MemberShare"}],"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}</h1>","id":"loan-amount","width":"Fit Content"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"},{"targetJsonPath":"$..Products.length","targetValue":3},{"operator":"NotContains","targetJsonPath":"$.Products[1].ProductType.Code","targetValue":"MemberShare"}],"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"},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"},{"targetJsonPath":"$..Products.length","targetValue":4}],"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-0 mb-4 bg-white border-bottom text-center box-shadow-none","headingSize":"h1","id":"account-details","template":"Form","title":"Congratulations, {$.Private.Resume.CustomerFirstName}!<br>Your account has been successfully opened.","width":"Max Width"},{"customClasses":"bg-none text-center box-shadow-none bg-transparent pb-3","description":"Now that your accounts have been opened, here are the next steps that youâll need to take to complete the process.","headingSize":"h1","id":"next-steps","template":"Form","title":"Your Next Steps","width":"Large"},{"allConditionsMustBeMet":true,"columns":2,"conditions":[{"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code === 'Applied')].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"Applied"},{"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code === 'Applied')].ProductDetail.OverdraftOffer.OverdraftLimit","targetValue":"*"}],"controls":[{"columnOverride":1,"controlType":"Info","description":"You are approved for Overdraft, Please set up by agreeing terms and conditions","id":"next-steps-0","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","stepNumber":1},"label":"Setup your Overdraft","template":"InfoBox","width":"Max Width"},{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"overdraft-payment-confirmation-modal"}}]}],"disableConditions":[{"targetJsonPath":"$.Private.OverdraftAccepted","targetValue":"Yes"}]},"columnOverride":1,"controlType":"Button","customClasses":"md:ml-8 sm:ml-8 md:pl-6 sm:pl-6","id":"od-button","label":"Setup Overdraft"}],"customClasses":"pl-0 pt-2","id":"overdraft","template":"Form","width":"Large","wrapControls":true},{"allConditionsMustBeMet":true,"columns":2,"conditions":[{"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code === 'Applied')].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"Applied"},{"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code === 'Applied')].ProductDetail.OverdraftOffer.OverdraftLimit","targetValue":""}],"controls":[{"columnOverride":1,"controlType":"Info","description":"We were not able to provide you an overdraft at this time","id":"next-steps-0","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","stepNumber":1},"label":"Overdraft","template":"InfoBox","width":"Max Width"}],"customClasses":"pl-0 pt-2","id":"overdraft-declined","template":"Form","width":"Large","wrapControls":true},{"columns":2,"conditions":[{"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code === 'Applied')].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"Applied"}],"controls":[{"columnOverride":1,"controlType":"Info","description":"To start experiencing the benefits of your new account, simply make your first deposit using:","id":"next-steps-1","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","stepNumber":2},"label":"Make your First Deposit","template":"InfoBox","width":"Max Width"},{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"interac-modal"}}]}]},"columnOverride":1,"controlType":"Button","customClasses":"md:ml-8 sm:ml-8 md:pl-6 sm:pl-6","id":"interac-button","label":"Interac"}],"customClasses":"pl-0 pt-2","id":"first-deposit","template":"Form","width":"Large","wrapControls":true},{"columns":2,"conditions":[{"operator":"NotContains","targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code === 'Applied')].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"Applied"}],"controls":[{"columnOverride":1,"controlType":"Info","description":"To start experiencing the benefits of your new account, simply make your first deposit using:","id":"next-steps-1","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","stepNumber":1},"label":"Make your First Deposit","template":"InfoBox","width":"Max Width"},{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"interac-modal"}}]}]},"columnOverride":1,"controlType":"Button","customClasses":"md:ml-8 sm:ml-8 md:pl-6 sm:pl-6","id":"interac-button","label":"Interac"}],"customClasses":"pl-0 pt-2","id":"first-deposit","template":"Form","width":"Large","wrapControls":true},{"allConditionsMustBeMet":true,"columns":2,"conditions":[{"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code === 'Applied')].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"Applied"}],"controls":[{"allConditionsMustBeMet":true,"columnOverride":1,"controlType":"Info","customClasses":"ml-0","description":"You will need your login number <b>{$.Private.Resume.BankCardNumber}</b> to log onto <a href='https://online.acu.ca/' target='_blank'>online banking</a> along with the password (PAC) you previously created.","id":"next-steps-3","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","pipe":"pan","stepNumber":3},"label":"Record your Login Details","template":"InfoBox","width":"Max Width"},{"columnOverride":1,"controlType":"Button","customClasses":"md:ml-8 sm:ml-8 md:pl-6 sm:pl-6","id":"online-banking-button","label":"Online Banking","navigationAction":{"href":"https://online.acu.ca/","navigationType":"NavigateToLink"}}],"customClasses":"pl-0 pt-2","id":"record-PAN","template":"Form","width":"Large","wrapControls":true},{"allConditionsMustBeMet":true,"columns":2,"conditions":[{"operator":"NotContains","targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code === 'Applied')].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"Applied"}],"controls":[{"allConditionsMustBeMet":true,"columnOverride":1,"controlType":"Info","customClasses":"ml-0","description":"You will need your login number <b>{$.Private.Resume.BankCardNumber}</b> to log onto <a href='https://online.acu.ca/' target='_blank'>online banking</a> along with the password (PAC) you previously created.","id":"next-steps-3","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","pipe":"pan","stepNumber":2},"label":"Record your Login Details","template":"InfoBox","width":"Max Width"},{"columnOverride":1,"controlType":"Button","customClasses":"md:ml-8 sm:ml-8 md:pl-6 sm:pl-6","id":"online-banking-button","label":"Online Banking","navigationAction":{"href":"https://online.acu.ca/","navigationType":"NavigateToLink"}}],"customClasses":"pl-0 pt-2","id":"record-PAN","template":"Form","width":"Large","wrapControls":true},{"allConditionsMustBeMet":true,"columns":2,"conditions":[{"targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code === 'Applied')].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"Applied"}],"controls":[{"columnOverride":1,"controlType":"Info","description":"Select your phone type below 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"},{"controlType":"Button","customClasses":"md:ml-8 sm:ml-8 md:pl-6 sm:pl-6","id":"apple-button","label":"Apple","navigationAction":{"href":"https://apps.apple.com/ca/app/acu-mobile-app/id559869401","navigationType":"NavigateToLink"}},{"controlType":"Button","customClasses":"-ml-2","id":"android-button","label":"Android","navigationAction":{"href":"https://play.google.com/store/apps/details?id=com.celero.assiniboine","navigationType":"NavigateToLink"}}],"customClasses":"pl-0 pt-2","id":"download-mobile-app","template":"Form","width":"Large","wrapControls":true},{"allConditionsMustBeMet":true,"columns":2,"conditions":[{"operator":"NotContains","targetJsonPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code === 'Applied')].ProductDetail.OverdraftOffer.OverdraftStatus.Code","targetValue":"Applied"}],"controls":[{"columnOverride":1,"controlType":"Info","description":"Select your phone type below and download our mobile app.","id":"next-steps-4","infoBoxOptions":{"customClasses":"box-shadow-none -mb-5","stepNumber":3},"label":"Download our Mobile Banking App","template":"InfoBox","width":"Max Width"},{"controlType":"Button","customClasses":"md:ml-8 sm:ml-8 md:pl-6 sm:pl-6","id":"apple-button","label":"Apple","navigationAction":{"href":"https://apps.apple.com/ca/app/acu-mobile-app/id559869401","navigationType":"NavigateToLink"}},{"controlType":"Button","customClasses":"-ml-2","id":"android-button","label":"Android","navigationAction":{"href":"https://play.google.com/store/apps/details?id=com.celero.assiniboine","navigationType":"NavigateToLink"}}],"customClasses":"pl-0 pt-2","id":"download-mobile-app","template":"Form","width":"Large","wrapControls":true}]},{"backButtonLabel":"Back","commandsOnLoad":[{"endpointUrl":"api/branchlocator/branches?originAddress={$.Private.Customers[0].CustomerDetail.AddressContacts.Home.Search.label}","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Branches"}],"statusCode":200}]},{"endpointUrl":"api/staticdata/branches","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.StaticBranches"},{"bindingPath":"$.Private.Lists.StaticBranches[?(@.BranchId == '{$.Private.Lists.Branches[*].branchId}')].DisplayName","targetJsonPath":"$.Private.Lists.Branches[*].branchName"}],"statusCode":200}]}],"commandsOnSubmit":[{"dataBindings":[{"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"}]}]},{"allowNull":false,"body":[{"parameterName":"MemberRegistration","valueJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[0].CustomerId}/detail","httpMethod":"PUT","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"}}]}],"hasBackButton":true,"hasNextButton":true,"id":"branch-selection","navigation":{"nextPageId":"employment-info"},"nextButtonLabel":"Next","pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":3,"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":"overflow-y-scroll h-28rem border","customValidationMessages":{"required":"This is a required field"},"id":"branch-map-table","inputMode":"Required","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}"},{"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},{"field":"languageCode","hidden":true,"labelJsonMultiPath":"en"}],"defaultFirstRowSelection":true,"hideHeader":true,"responsive":"stack","selectedIdJsonPath":"$.Private.Branch","selectionMode":"single","targetJsonPath":"$.Private.Lists.Branches","uniqueColumn":"BranchId"}}],"description":"All Assiniboine Credit Union members are welcome to bank at any of our branches. Please select one to serve as your primary branch:","headingSize":"h1","id":"branch-selection-section","title":"Your primary branch"}],"updateButtonLabel":"Save Changes"},{"backButtonLabel":"Back","commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.Countries","targetValue":""}],"endpointUrl":"api/staticdata/countries","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Countries"}],"statusCode":200}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Lists.Countries[?(@.Code!='CA')]","targetJsonPath":"$.Private.Lists.ComplianceCountries"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.BusinessRelationships","targetValue":""}],"endpointUrl":"api/staticdata/businessrelationshippurpose?orderby=Sequence","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.BusinessRelationships"}],"statusCode":200}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.ExposureRelationships","targetValue":""}],"endpointUrl":"api/staticdata/exposurerelationships?orderby=Sequence","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.ExposureRelationships"}],"statusCode":200}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.ForeignExposurePositions","targetValue":""}],"endpointUrl":"api/staticdata/foreignexposurepositions?orderby=Sequence","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.ForeignExposurePositions"}],"statusCode":200}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.DomesticExposurePositions","targetValue":""}],"endpointUrl":"api/staticdata/domesticexposurepositions?orderby=Sequence","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.DomesticExposurePositions"}],"statusCode":200}]}],"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","value":"None"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Description","value":"No"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES1"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","value":"ForeignTaxPayer"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Description","value":"Foreign Tax Payer"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES2"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","value":"ForeignTaxPayer"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Description","value":"Foreign Tax Payer"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES3"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","value":"ForeignTaxPayer"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Description","value":"Foreign Tax Payer"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","value":"TaxPerson"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Description","value":"US person"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"YesApplied"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","value":"TaxPerson"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Description","value":"US person"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"YesNo"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","value":"TaxPerson"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Description","value":"US person"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"No"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","value":"NonPerson"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Description","value":"Non Person"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Foreign"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Code","value":"Exposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Description","value":"Exposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Description","value":"Not Exposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Description","value":"Not Exposed"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Domestic"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Code","value":"Exposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Description","value":"Exposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Description","value":"Not Exposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Description","value":"Not Exposed"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"International"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Code","value":"Exposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Description","value":"Exposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Description","value":"Not Exposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Description","value":"Not Exposed"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"None"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Description","value":"Not Exposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Description","value":"Not Exposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Description","value":"Not Exposed"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"None"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Description","value":"Not Exposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Description","value":"Not Exposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Description","value":"Not Exposed"}]}]},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.Relationship.Code","targetValue":"Self"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Customers[0].CustomerDetail.FirstName","targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.FirstName"},{"bindingPath":"$.Customers[0].CustomerDetail.LastName","targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.LastName"}]}]},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.Relationship.Code","targetValue":"Self"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Customers[0].CustomerDetail.FirstName","targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.FirstName"},{"bindingPath":"$.Customers[0].CustomerDetail.LastName","targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.LastName"}]}]},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.Relationship.Code","targetValue":"Self"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Customers[0].CustomerDetail.FirstName","targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.FirstName"},{"bindingPath":"$.Customers[0].CustomerDetail.LastName","targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.LastName"}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"}}]}],"hasBackButton":true,"hasNextButton":true,"id":"compliance","navigation":{"editConditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirmation"}}],"nextPageId":"joint-applicant-modal"},"nextButtonLabel":"Next","pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":4,"restrictions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"*"}],"sections":[{"controls":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.NatureOfBusiness.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.BusinessRelationships"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.NatureOfBusiness.Code"},"id":"business-relationship-purpose","inputMode":"Required","label":"What is the nature of your business relationship with us?","template":"DropDown"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.PoliticallyExposed"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onLoad":{"endpointUrl":"api/staticdata/PoliticallyExposed","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.PoliticallyExposed"}],"statusCode":200}]},"selectedIdJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","valueJsonPath":"$.Description"},"id":"PoliticallyExposed","inputMode":"Required","label":"Are you politically exposed or the head of an international organization?","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical"},{"onChangeTargetId":"relationship-f"},{"onChangeTargetId":"firstName-f"},{"onChangeTargetId":"lastName-f"},{"onChangeTargetId":"institution-f"},{"onChangeTargetId":"office-f"},{"onChangeTargetId":"source-f"},{"onChangeTargetId":"source-wealth-f"},{"onChangeTargetId":"relationship-d"},{"onChangeTargetId":"firstName-d"},{"onChangeTargetId":"lastName-d"},{"onChangeTargetId":"institution-d"},{"onChangeTargetId":"office-d"},{"onChangeTargetId":"source-d"},{"onChangeTargetId":"source-wealth-d"},{"onChangeTargetId":"relationship-i"},{"onChangeTargetId":"firstName-i"},{"onChangeTargetId":"lastName-i"},{"onChangeTargetId":"organization-i"},{"onChangeTargetId":"position-i"},{"onChangeTargetId":"source-i"},{"onChangeTargetId":"source-wealth-i"}]}],"template":"DropDown"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.ResidentOutsideCanadaOrUsa"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onLoad":{"endpointUrl":"api/staticdata/ResidentOutsideCanadaOrUsa","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.ResidentOutsideCanadaOrUsa"}],"statusCode":200}]},"selectedIdJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","valueJsonPath":"$.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":"YES1"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2"},{"onChangeTargetId":"jurisdiction-2"},{"onChangeTargetId":"have-tin-2"},{"onChangeTargetId":"ssn-2"},{"onChangeTargetId":"ssn-no-reason-2"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3"},{"onChangeTargetId":"jurisdiction-3"},{"onChangeTargetId":"have-tin-3"},{"onChangeTargetId":"ssn-3"},{"onChangeTargetId":"ssn-no-reason-3"}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES2"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3"},{"onChangeTargetId":"jurisdiction-3"},{"onChangeTargetId":"have-tin-3"},{"onChangeTargetId":"ssn-3"},{"onChangeTargetId":"ssn-no-reason-3"}]},{"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"},{"onChangeTargetId":"ssn-no-reason-1"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2"},{"onChangeTargetId":"jurisdiction-2"},{"onChangeTargetId":"have-tin-2"},{"onChangeTargetId":"ssn-2"},{"onChangeTargetId":"ssn-no-reason-2"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3"},{"onChangeTargetId":"jurisdiction-3"},{"onChangeTargetId":"have-tin-3"},{"onChangeTargetId":"ssn-3"},{"onChangeTargetId":"ssn-no-reason-3"}]}],"template":"DropDown"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.ResidentOfTheUsa"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onLoad":{"endpointUrl":"api/staticdata/ResidentOfTheUsa","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.ResidentOfTheUsa"}],"statusCode":200}]},"selectedIdJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","valueJsonPath":"$.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.SocialSecurityStatus"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialSecurityReason"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialSecurityNumber"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus"}]}],"template":"DropDown"}],"description":"Please answer the questions below and refer to the text for additional information to help understand the various terms.","headingSize":"h1","helpText":["A politically exposed person (PEP) or a head of an international organization (HIO) is a person entrusted with a prominent position that typically comes with the opportunity to influence decisions and the ability to control resources (ex. held a political office, high ranking military, ambassador or consulate, high court judge) as well as their immediate family (spouse, siblings, children, parents)."],"id":"more-details","title":"Consent and Disclosures"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Foreign"}],"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.Relationship.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.ExposureRelationships"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.Relationship.Code"},"id":"relationship-f","inputMode":"Required","label":"Relationship","template":"DropDown"},{"allConditionsMustBeMet":true,"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.FirstName","conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.Relationship.Code","targetValue":"Self"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical","targetValue":"*"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"firstName-f","inputMode":"Required","label":"First name","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"allConditionsMustBeMet":true,"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.LastName","conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.Relationship.Code","targetValue":"Self"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical","targetValue":"*"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"lastName-f","inputMode":"Required","label":"Last name","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.InstitutionName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"institution-f","inputMode":"Required","label":"Name of Organization or Institution","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.OfficeTitle.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.ForeignExposurePositions"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.OfficeTitle.Code"},"id":"office-f","inputMode":"Required","label":"Office or Position","template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.SourceOfFunds.Description","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"source-f","inputMode":"Required","label":"Source of funds","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"}],"id":"more-details-foreign-politically-exposed","title":"Politically Exposed {$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code} Person"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Domestic"}],"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.Relationship.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.ExposureRelationships"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.Relationship.Code"},"id":"relationship-d","inputMode":"Required","label":"Relationship","template":"DropDown"},{"allConditionsMustBeMet":true,"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.FirstName","conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.Relationship.Code","targetValue":"Self"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical","targetValue":"*"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"firstName-d","inputMode":"Required","label":"First name","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"allConditionsMustBeMet":true,"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.LastName","conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.Relationship.Code","targetValue":"Self"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical","targetValue":"*"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"lastName-d","inputMode":"Required","label":"Last name","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.InstitutionName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"institution-d","inputMode":"Required","label":"Name of Organization or Institution","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.OfficeTitle.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.DomesticExposurePositions"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.OfficeTitle.Code"},"id":"office-d","inputMode":"Required","label":"Office or Position","template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.SourceOfFunds.Description","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"source-d","inputMode":"Required","label":"Source of funds","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"}],"id":"more-details-domestic-politically-exposed","title":"Politically Exposed {$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code} Person"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"International"}],"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.Relationship.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.ExposureRelationships"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.Relationship.Code"},"id":"relationship-i","inputMode":"Required","label":"Relationship","template":"DropDown"},{"allConditionsMustBeMet":true,"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.FirstName","conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.Relationship.Code","targetValue":"Self"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg","targetValue":"*"}],"controlType":"Input","customClasses":"mt-3 pb-2","customValidationMessages":{"required":"This is a required field"},"id":"firstName-i","inputMode":"Required","label":"First name","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"allConditionsMustBeMet":true,"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.LastName","conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.Relationship.Code","targetValue":"Self"},{"targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg","targetValue":"*"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"lastName-i","inputMode":"Required","label":"Last name","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.OrganizationName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"organization-i","inputMode":"Required","label":"Name of Organization or Institution","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.OfficeTitle.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.ForeignExposurePositions"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.OfficeTitle.Code"},"id":"office-i","inputMode":"Required","label":"Office or Position","template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.SourceOfFunds.Description","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"source-i","inputMode":"Required","label":"Source of funds","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"}],"id":"more-details-international-politically-exposed","title":"Head of the {$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code} Organization"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES1"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES2"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES3"}],"controls":[{"autocompleteSettings":{"forceSelection":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","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.ComplianceCountries"},"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"customValidators":[{"errorMessage":"Duplicate Jurisdiction Country selection. Please choose another.","operator":"NotEquals","parameters":{"id":"taxId3","targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Description","valueJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Description"},"validator":"CompareValue"},{"errorMessage":"Duplicate Jurisdiction Country selection. Please choose another.","operator":"NotEquals","parameters":{"id":"taxId4","targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Description","valueJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxCountry.Description"},"validator":"CompareValue"}],"id":"jurisdiction-1","inputMode":"Required","label":"Please enter the jurisdiction that you are a tax resident of","maxLength":50,"template":"AutoComplete"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.PersonHasTin"},"controlType":"Input","customClasses":"mt-3","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"idJsonPath":"$.Code","labelJsonPath":"$.Description","onLoad":{"endpointUrl":"api/staticdata/PersonHasTin","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.PersonHasTin"}],"statusCode":200}]},"selectedIdJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Code"},"id":"have-tin-1","inputMode":"Required","label":"Do you have a Tax Identification Number (TIN) for the selected tax jurisdiction?","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"ssn-1"},{"onChangeTargetId":"ssn-no-reason-1"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdReason"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxNumber"}]}],"template":"DropDown"},{"allowedKeysRegex":"^[0-9,a-z,A-Z]*$","bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxNumber","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Code","targetValue":"Issued"}],"controlType":"Input","convertValueTo":"String","customClasses":"mt-3","customValidationMessages":{"minLength":"The minimum length is 7","required":"This is a required field"},"enabled":true,"id":"ssn-1","inputMode":"Required","keyboardType":"Phone","label":"TIN Number","maxLength":20,"minLength":7,"regexMessage":"This field should 7-20 characters and cannot contain only zeros","regexPattern":"^(?!0{7,20}$)([a-z,A-Z,0-9]{7,20})$","regexStrictMatch":false,"template":"TextBox"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdReason","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Code","targetValue":"NotApplied"}],"controlType":"Input","customClasses":"mt-3","customValidationMessages":{"required":"This is a required field"},"id":"ssn-no-reason-1","inputMode":"Required","label":"Please explain the 'other' reason for not having a TIN.","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox"}],"id":"more-details-tax-c1","title":"Tax Resident Country 1"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES2"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES3"}],"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","bindOnLoad":true,"controlOptions":{"descriptionControlId":"jurisdiction-2","optionsJsonPath":"$.Private.Lists.ComplianceCountries"},"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"customValidators":[{"errorMessage":"Please choose another Jurisdiction Country than Canada and United States of America.","operator":"NotEquals","parameters":{"id":"taxId1","targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Description","value":"Canada"},"validator":"CompareValue"},{"errorMessage":"Please choose another Jurisdiction Country than Canada and United States of America.","operator":"NotEquals","parameters":{"id":"taxId2","targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Description","value":"United States of America"},"validator":"CompareValue"},{"errorMessage":"Duplicate Jurisdiction Country selection. Please choose another.","operator":"NotEquals","parameters":{"id":"taxId3","targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Description","valueJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Description"},"validator":"CompareValue"},{"errorMessage":"Duplicate Jurisdiction Country selection. Please choose another.","operator":"NotEquals","parameters":{"id":"taxId4","targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Description","valueJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxCountry.Description"},"validator":"CompareValue"}],"id":"jurisdiction-2","inputMode":"Required","label":"Please enter the jurisdiction that you are a tax resident of","maxLength":50,"template":"AutoComplete"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.PersonHasTin"},"controlType":"Input","customClasses":"mt-3","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onLoad":{"endpointUrl":"api/staticdata/PersonHasTin","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.PersonHasTin"}],"statusCode":200}]},"selectedIdJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Code"},"id":"have-tin-2","inputMode":"Required","label":"Do you have a Tax Identification Number (TIN) for the selected tax jurisdiction?","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"ssn-2"},{"onChangeTargetId":"ssn-no-reason-2"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdReason"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxNumber"}]}],"template":"DropDown"},{"allowedKeysRegex":"^[0-9,a-z,A-Z]*$","bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxNumber","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Code","targetValue":"Issued"}],"controlType":"Input","convertValueTo":"String","customClasses":"mt-3","customValidationMessages":{"minLength":"The minimum length is 7","required":"This is a required field"},"enabled":true,"id":"ssn-2","inputMode":"Required","keyboardType":"Phone","label":"TIN Number","maxLength":20,"minLength":7,"regexMessage":"This field should 7-20 digits and cannot contain only zeros","regexPattern":"^(?!0{7,20}$)([a-z,A-Z,0-9]{7,20})$","regexStrictMatch":false,"template":"TextBox"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdReason","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Code","targetValue":"NotApplied"}],"controlType":"Input","customClasses":"mt-3","customValidationMessages":{"required":"This is a required field"},"id":"ssn-no-reason-2","inputMode":"Required","label":"Please explain the 'other' reason for not having a TIN.","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox"}],"id":"more-details-tax-c2","title":"Tax Resident Country 2"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES3"}],"controls":[{"autocompleteSettings":{"forceSelection":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onSelect":{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"compliance"}}]},"searchIdJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxCountry.Code"},"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxCountry.Description","bindOnLoad":true,"controlOptions":{"descriptionControlId":"jurisdiction-3","optionsJsonPath":"$.Private.Lists.ComplianceCountries"},"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"customValidators":[{"errorMessage":"Duplicate Jurisdiction Country selection. Please choose another.","operator":"NotEquals","parameters":{"id":"taxId3","targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxCountry.Description","valueJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Description"},"validator":"CompareValue"},{"errorMessage":"Duplicate Jurisdiction Country selection. Please choose another.","operator":"NotEquals","parameters":{"id":"taxId4","targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxCountry.Description","valueJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Description"},"validator":"CompareValue"}],"id":"jurisdiction-3","inputMode":"Required","label":"Please enter the jurisdiction that you are a tax resident of","maxLength":50,"template":"AutoComplete"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxIdStatus.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.PersonHasTin"},"controlType":"Input","customClasses":"mt-3","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onLoad":{"endpointUrl":"api/staticdata/PersonHasTin","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.PersonHasTin"}],"statusCode":200}]},"selectedIdJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxIdStatus.Code"},"id":"have-tin-3","inputMode":"Required","label":"Do you have a Tax Identification Number (TIN) for the selected tax jurisdiction?","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"ssn-3"},{"onChangeTargetId":"ssn-no-reason-3"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxIdReason"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxNumber"}]}],"template":"DropDown"},{"allowedKeysRegex":"^[0-9,a-z,A-Z]*$","bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxNumber","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxIdStatus.Code","targetValue":"Issued"}],"controlType":"Input","convertValueTo":"String","customClasses":"mt-3","customValidationMessages":{"minLength":"The minimum length is 7","required":"This is a required field"},"enabled":true,"id":"ssn-3","inputMode":"Required","keyboardType":"Phone","label":"TIN Number","maxLength":20,"minLength":7,"regexMessage":"This field should 7-20 digits and cannot contain only zeros","regexPattern":"^(?!0{7,20}$)([a-z,A-Z,0-9]{7,20})$","regexStrictMatch":false,"template":"TextBox"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxIdReason","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxIdStatus.Code","targetValue":"NotApplied"}],"controlType":"Input","customClasses":"mt-3","customValidationMessages":{"required":"This is a required field"},"id":"ssn-no-reason-3","inputMode":"Required","label":"Please explain the 'other' reason for not having a TIN.","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox"}],"id":"more-details-tax-c3","title":"Tax Resident Country 3"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"YesNo"}],"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialSecurityNumber","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes"}],"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"us-ssn","inputMask":"999-99-9999","inputMode":"Required","label":"SSN Number","maxLength":9,"regexMessage":"This field should 9 characters and cannot contain only zeros","regexPattern":"^(?!0{9}$)([0-9]{9})$","template":"TextBox"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialSecurityReason.Description","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"YesNo"}],"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"us-ssn-no-reason","inputMode":"Required","label":"Please explain the 'other' reason for not having a SSN.","maxLength":40,"template":"TextBox"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes"},{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"YesNo"}],"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialSecurityNumber","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes"}],"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"us-ssn","inputMask":"999-99-9999","inputMode":"Required","label":"SSN Number","maxLength":9,"template":"TextBox"},{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialSecurityReason.Description","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"YesNo"}],"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"us-ssn-no-reason","inputMode":"Required","label":"Please explain the 'other' reason for not having a SSN.","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox"}],"id":"more-details-us-taxed","title":"US person"}],"id":"more-details-us-taxed","title":"US person"}],"updateButtonLabel":"Save Changes"},{"backButtonLabel":"Back","commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"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"}]}]}],"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":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"nextPageId":"add-products"},"nextButtonLabel":"Submit","pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":6,"restrictions":[{"targetJsonPath":"$.ApplicationStatus.Code","targetValue":"Started"}],"sections":[{"conditions":[{"targetJsonPath":"$.Private.AddSecondAccount","targetValue":"No"},{"targetJsonPath":"$.Private.AddSecondAccount","targetValue":""}],"controls":[{"conditions":[{"targetJsonPath":"$.Private.AddSecondAccount","targetValue":"No"}],"controlType":"Info","displayOptions":[{"customText":"    "}],"editUrl":"/flow/account-selection1","id":"accounts-name","label":"<h3 class='m-0'>Account</h3>"},{"conditions":[{"targetJsonPath":"$.Private.AddSecondAccount","targetValue":"No"}],"controlType":"Info","customClasses":"pr-3","displayOptions":[{"bindingPath":"$.Products[0].OfferDetail.ProductName"}],"id":"confirm-account-details-account","label":"Name"},{"controlType":"Info","customClasses":"pr-3","displayOptions":[{"bindingPath":"$.Products[0].ProductDetail.RegulatoryCompliance.IntendedUse.Description"}],"id":"confirm-account-details-intended-use","label":"Intended Use"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.BankCard.SetupStatus.Code","targetValue":"Yes"}],"controlType":"Info","customClasses":"pr-3","displayOptions":[{"customText":"Yes"}],"id":"confirm-account-details-card","label":"Debit Card"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.BankCard.SetupStatus.Code","targetValue":"No"}],"controlType":"Info","customClasses":"pr-3","displayOptions":[{"customText":"No"}],"id":"confirm-account-details-card","label":"Debit Card"},{"conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"PersonalChequing"}],"controlType":"Info","customClasses":"pr-3","displayOptions":[{"bindingPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Description"}],"id":"confirm-account-details-overdraft","label":"Overdraft"}],"groupPanelSettings":{"customClasses":"bg-white"},"id":"confirm-account-details","template":"GroupPanel","title":"Accounts"},{"conditions":[{"targetJsonPath":"$.Private.AddSecondAccount","targetValue":"Yes"}],"controls":[{"conditions":[{"operator":"GreaterThan","targetJsonPath":"$.Products.length","targetValue":1}],"controlType":"Info","displayOptions":[{"customText":"    "}],"editUrl":"/flow/account-selection1","id":"accounts-name","label":"<h3 class='m-0'>Account 1</h3>"},{"controlType":"Info","customClasses":"pr-3","displayOptions":[{"bindingPath":"$.Products[0].OfferDetail.ProductName"}],"id":"confirm-account-details-account","label":"Name"},{"controlType":"Info","customClasses":"pr-3","displayOptions":[{"bindingPath":"$.Products[0].ProductDetail.RegulatoryCompliance.IntendedUse.Description"}],"id":"confirm-account-details-intended-use","label":"Intended Use"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.BankCard.SetupStatus.Code","targetValue":"Yes"}],"controlType":"Info","customClasses":"pr-3","displayOptions":[{"customText":"Yes"}],"id":"confirm-account-details-card","label":"Debit Card"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.BankCard.SetupStatus.Code","targetValue":"No"}],"controlType":"Info","customClasses":"pr-3","displayOptions":[{"customText":"No"}],"id":"confirm-account-details-card","label":"Debit Card"},{"conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"PersonalChequing"}],"controlType":"Info","customClasses":"pr-3","displayOptions":[{"bindingPath":"$.Products[0].ProductDetail.OverdraftOffer.OverdraftStatus.Description"}],"id":"confirm-account-details-overdraft","label":"Overdraft"},{"controlType":"Divider","customClasses":"mt-3","id":"divider-1"},{"conditions":[{"targetJsonPath":"$.Private.AddSecondAccount","targetValue":"Yes"}],"controlType":"Info","displayOptions":[{"customText":"    "}],"editUrl":"/flow/account-selection2","id":"accounts-name","label":"<h3 class='mb-1'>Account 2</h3>"},{"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"},{"conditions":[{"targetJsonPath":"$.Products[1].ProductType.Code","targetValue":"PersonalChequing"}],"controlType":"Info","customClasses":"pr-3","displayOptions":[{"bindingPath":"$.Products[1].ProductDetail.OverdraftOffer.OverdraftStatus.Description"}],"id":"confirm-account-details-overdraft","label":"Overdraft"}],"groupPanelSettings":{"customClasses":"bg-white"},"id":"confirm-account-details","template":"GroupPanel","title":"Accounts"},{"controls":[{"controlType":"Info","displayOptions":[{"customText":"    "}],"editUrl":"/flow/personal-information","id":"confirmation-name","label":"<h3>Personal & Contact Information</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:en-CA"}],"id":"confirmation-dob","label":"Date of Birth"},{"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":"Mobile Number"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"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":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalBoxNumber","endingText":",","startingText":"PO Box "},{"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":"RURALROUTE"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.RuralAddress","endingText":","},{"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"},{"controlType":"Info","displayOptions":[{"customText":"    "}],"editUrl":"/flow/branch-selection","id":"confirmation-branch-name","label":"<h3>Home 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/employment-info","id":"confirmation-name","label":"<h3>Employment & Password Details</h3>"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Description"}],"id":"confirmation-employment-status","label":"Employment Status"},{"conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":["Retired","Student","Unemployed"]}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Description"}],"id":"confirmation-employment-industry","label":"Industry"},{"conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":["Retired","Student","Unemployed"]}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Description"}],"id":"confirmation-employment-occupation","label":"Occupation"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.PositionTitle"}],"id":"confirmation-current-employment-position","label":"Position/Title"},{"conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":["Retired","Student","Unemployed"]}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.CompanyName"}],"id":"confirmation-current-employment-name","label":"Employer Name"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.Income"}],"id":"confirmation-income","label":"Income"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.AccountSecurity.VerbalPassword"}],"id":"confirmation-verbal-code","label":"Verbal Code"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.OnlineBanking.NewPassword","pipe":"password","replaceValue":"*"}],"id":"password","label":"Password"},{"controlType":"Info","displayOptions":[{"customText":"    "}],"editUrl":"/flow/compliance","id":"confirmation-compliance-title","label":"<h3>Compliance</h3>"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.NatureOfBusiness.Description"}],"id":"confirmation-compliance-business-relationship","label":"Purpose and Intended Nature of Business Relationship"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Description"}],"id":"confirmation-compliance-politically-exposed","label":"Exposure Type"},{"conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.Relationship.Code","targetValue":"Self"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.FirstName"},{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.LastName"}],"id":"confirmation-name-foreign","label":"Name"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.Relationship.Description"}],"id":"confirmation-relationship-foreign","label":"Relationship"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Foreign"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.InstitutionName"}],"id":"confirmation-organization-foreign","label":"Institution Name"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.OfficeTitle.Description"}],"id":"confirmation-position-foreign","label":"Office"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Foreign"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.SourceOfFunds.Description"}],"id":"confirmation-funds-foreign","label":"Source of Funds"},{"conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.Relationship.Code","targetValue":"Self"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.FirstName"},{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.LastName"}],"id":"confirmation-name-domestic","label":"Name"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.Relationship.Description"}],"id":"confirmation-relationship-domestic","label":"Relationship"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Domestic"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.InstitutionName"}],"id":"confirmation-organization-domestic","label":"Institution Name"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.OfficeTitle.Description"}],"id":"confirmation-position-domestic","label":"Office"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Domestic"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.SourceOfFunds.Description"}],"id":"confirmation-funds-domestic","label":"Source of Funds"},{"conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.Relationship.Code","targetValue":"Self"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.FirstName"},{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.LastName"}],"id":"confirmation-name-headofintorg","label":"Name"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.Relationship.Description"}],"id":"confirmation-relationship-headofintorg","label":"Relationship"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"International"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.OrganizationName"}],"id":"confirmation-organization-headofintorg","label":"Institution Name"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.OfficeTitle.Description"}],"id":"confirmation-position-headofintorg","label":"Office"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"International"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.SourceOfFunds.Description"}],"id":"confirmation-funds-headofintorg","label":"Source of Funds"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxStatus.Description"}],"id":"confirmation-foreign-tax-status","label":"Non CAN/US Tax Resident"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Description"}],"id":"confirmation-tax-id1-tax-country","label":"Tax Resident Country"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxNumber"}],"id":"confirmation-tax-id1-tax-number","label":"Tax Identification Number"},{"conditions":[{"operator":"Contains","targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Code","targetValue":["NotApplied","NotOffered","Applied"]}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Description"}],"id":"confirmation-tax-id1-tax-applied","label":"Tax Identification Number"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdReason"}],"id":"confirmation-tax-id1-tax-reason","label":"No Tax Identification Number Reason"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Description"}],"id":"confirmation-tax-id2-tax-country","label":"Tax Resident Country"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxNumber"}],"id":"confirmation-tax-id2-tax-number","label":"Tax Identification Number"},{"conditions":[{"operator":"Contains","targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Code","targetValue":["NotApplied","NotOffered","Applied"]}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Description"}],"id":"confirmation-tax-id1-tax-applied","label":"Tax Identification Number"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdReason"}],"id":"confirmation-tax-id1-tax-reason","label":"No Tax Identification Number Reason"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxCountry.Description"}],"id":"confirmation-tax-id3-tax-country","label":"Tax Resident Country"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxNumber"}],"id":"confirmation-tax-id3-tax-number","label":"Tax Identification Number"},{"conditions":[{"operator":"Contains","targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxIdStatus.Code","targetValue":["NotApplied","NotOffered","Applied"]}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxIdStatus.Description"}],"id":"confirmation-tax-id3-tax-applied","label":"Tax Identification Number"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxIdReason"}],"id":"confirmation-tax-id3-tax-reason","label":"No Tax Identification Number Reason"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Description"}],"id":"confirmation-US-person","label":"US Person"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialSecurityNumber"}],"id":"confirmation-US-person-ssn","label":"SSN"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialSecurityReason.Description"}],"id":"confirmation-US-person-ssn-other","label":"No SSN Reason"}],"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>Personal & Contact Information</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:en-CA"}],"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"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","targetValue":"STREET"}],"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":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalBoxNumber","endingText":",","startingText":"PO Box "},{"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":"RURALROUTE"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.RuralAddress","endingText":","},{"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"},{"controlType":"Info","displayOptions":[{"customText":"    "}],"editUrl":"/flow/joint-employment-info","id":"confirmation-employment","label":"<h3>Employment & Password Details</h3>"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Description"}],"id":"confirmation-employment-status","label":"Employment Status"},{"conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":["Retired","Student","Unemployed"]}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Description"}],"id":"confirmation-employment-industry","label":"Industry"},{"conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":["Retired","Student","Unemployed"]}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Description"}],"id":"confirmation-employment-occupation","label":"Occupation"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.PositionTitle"}],"id":"confirmation-current-employment-position","label":"Position/Title"},{"conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":["Retired","Student","Unemployed"]}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.CompanyName"}],"id":"confirmation-current-employment-name","label":"Employer Name"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.Income"}],"id":"confirmation-income","label":"Income"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.AccountSecurity.VerbalPassword"}],"id":"confirmation-verbal-code","label":"Verbal Code"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.MemberRegistration.OnlineBanking.NewPassword","pipe":"password","replaceValue":"*"}],"id":"password","label":"Password"},{"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.NatureOfBusiness.Description"}],"id":"confirmation-compliance-business-relationship","label":"Purpose and Intended Nature of Business Relationship"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Description"}],"id":"confirmation-compliance-politically-exposed","label":"Exposure Type"},{"conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.Relationship.Code","targetValue":"Self"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.FirstName"},{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.LastName"}],"id":"confirmation-name-foreign","label":"Name"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.Relationship.Description"}],"id":"confirmation-relationship-foreign","label":"Relationship"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Foreign"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.InstitutionName"}],"id":"confirmation-organization-foreign","label":"Institution Name"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.OfficeTitle.Description"}],"id":"confirmation-position-foreign","label":"Office"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Foreign"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.SourceOfFunds.Description"}],"id":"confirmation-funds-foreign","label":"Source of Funds"},{"conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.Relationship.Code","targetValue":"Self"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.FirstName"},{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.LastName"}],"id":"confirmation-name-domestic","label":"Name"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.Relationship.Description"}],"id":"confirmation-relationship-domestic","label":"Relationship"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Domestic"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.InstitutionName"}],"id":"confirmation-organization-domestic","label":"Institution Name"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.OfficeTitle.Description"}],"id":"confirmation-position-domestic","label":"Office"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Domestic"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.SourceOfFunds.Description"}],"id":"confirmation-funds-domestic","label":"Source of Funds"},{"conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.Relationship.Code","targetValue":"Self"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.FirstName"},{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.LastName"}],"id":"confirmation-name-headofintorg","label":"Name"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.Relationship.Description"}],"id":"confirmation-relationship-headofintorg","label":"Relationship"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"International"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.OrganizationName"}],"id":"confirmation-organization-headofintorg","label":"Institution Name"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.OfficeTitle.Description"}],"id":"confirmation-position-headofintorg","label":"Office"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"International"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.SourceOfFunds.Description"}],"id":"confirmation-funds-headofintorg","label":"Source of Funds"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Description"}],"id":"confirmation-foreign-tax-status","label":"Non CAN/US Tax Resident"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Description"}],"id":"confirmation-tax-id1-tax-country","label":"Tax Resident Country"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxNumber"}],"id":"confirmation-tax-id1-tax-number","label":"Tax Identification Number"},{"conditions":[{"operator":"Contains","targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Code","targetValue":["NotApplied","NotOffered","Applied"]}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Description"}],"id":"confirmation-tax-id1-tax-applied","label":"Tax Identification Number"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdReason"}],"id":"confirmation-tax-id1-tax-reason","label":"No Tax Identification Number Reason"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Description"}],"id":"confirmation-tax-id2-tax-country","label":"Tax Resident Country"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxNumber"}],"id":"confirmation-tax-id2-tax-number","label":"Tax Identification Number"},{"conditions":[{"operator":"Contains","targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Code","targetValue":["NotApplied","NotOffered","Applied"]}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Description"}],"id":"confirmation-tax-id1-tax-applied","label":"Tax Identification Number"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdReason"}],"id":"confirmation-tax-id1-tax-reason","label":"No Tax Identification Number Reason"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxCountry.Description"}],"id":"confirmation-tax-id3-tax-country","label":"Tax Resident Country"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxNumber"}],"id":"confirmation-tax-id3-tax-number","label":"Tax Identification Number"},{"conditions":[{"operator":"Contains","targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxIdStatus.Code","targetValue":["NotApplied","NotOffered","Applied"]}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxIdStatus.Description"}],"id":"confirmation-tax-id3-tax-applied","label":"Tax Identification Number"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxIdReason"}],"id":"confirmation-tax-id3-tax-reason","label":"No Tax Identification Number Reason"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Description"}],"id":"confirmation-US-person","label":"US Person"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.SocialSecurityNumber"}],"id":"confirmation-US-person-ssn","label":"SSN"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.SocialSecurityReason.Description"}],"id":"confirmation-US-person-ssn-other","label":"No SSN Reason"}],"groupPanelSettings":{"customClasses":"bg-white"},"headingSize":"h2","id":"confirmation-personal-joint","template":"GroupPanel","title":"Joint Applicant"}],"updateButtonLabel":"Save Changes"},{"customClasses":"mt-7","hasBackButton":false,"hasNextButton":false,"id":"declined","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","sections":[{"controls":[{"controlType":"HTML","customClasses":"mt-5","description":"Thank you for your application to open a membership at Assiniboine Credit Union. Unfortunately, your application hasn't met one or more of our eligibility requirements.","id":"description-2"},{"controlType":"HTML","customClasses":"mt-5","description":"If you would like to review your application or have any questions, please call us at <a href='tel:204.958.8588'>204.958.8588</a> or email to <a href='mailto:cu@acu.ca'>cu@acu.ca</a>","id":"description-3"},{"controlType":"HTML","customClasses":"mt-5","description":"<p>Your reference number is <strong>{$.ApplicationNumber}</strong.</p>","id":"description-4"}],"customClasses":"mt-0 bg-white text-center","description":"","icon":"fa-light fa-user-clock roatateY180","title":"Your application has been declined.","width":"Max Width"}]},{"backButtonLabel":"Back","commandsOnLoad":[{"customCommand":"GenerateGuid","onSuccess":[{"parameterName":"$.Guid","responseMappings":[{"responseJsonPath":"$.Guid","targetJsonPath":"$.Private.Guids.BusinessSearch"}]}]}],"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.Income.Test","targetValue":"$0 - $36,000"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.GrossIncomeAmount","value":0},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IncomePeriodType.Code","value":"Year"}]}]},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.Income.Test","targetValue":"$36,000 - $72,000"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.GrossIncomeAmount","value":37000},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IncomePeriodType.Code","value":"Year"}]}]},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.Income.Test","targetValue":"$72,000 - $108,000"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.GrossIncomeAmount","value":73000},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IncomePeriodType.Code","value":"Year"}]}]},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.Income.Test","targetValue":"over $108,000"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.GrossIncomeAmount","value":109000},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IncomePeriodType.Code","value":"Year"}]}]},{"allowNull":false,"body":[{"parameterName":"EmploymentRecords","valueJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[0].CustomerId}/detail","httpMethod":"PUT"},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"}}]}],"hasBackButton":true,"hasNextButton":true,"id":"employment-info","navigation":{"nextPageId":"compliance"},"nextButtonLabel":"Next","pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":2,"restrictions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"sections":[{"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.EmploymentStatuts"},"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onLoad":{"endpointUrl":"api/staticdata/EmploymentStatuts","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.EmploymentStatuts"}],"statusCode":200}]},"selectedIdJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code"},"id":"employment-type","inputMode":"Required","label":"Employment Status","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"industry"},{"onChangeTargetId":"occupation"},{"onChangeTargetId":"position-title-current"},{"onChangeTargetId":"employer-name"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IndustryClassification"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationClassification"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.PositionTitle"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.Income"}]}],"template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Description","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"}],"controlOptions":{"descriptionControlId":"industry","onChangeTargetId":"occupation","optionsJsonPath":"$.Private.Lists.Industry"},"controlType":"Input","customClasses":"mt-3 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","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Occupation"},{"bindingPath":"$.Private.Lists.Occupation[?(@.CategoryCode=={$.Customers[0].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Code})]","targetJsonPath":"$.Private.Lists.Occupation"}],"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"}],"controlOptions":{"descriptionControlId":"occupation-description","optionsJsonPath":"$.Private.Lists.Occupation"},"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"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.PositionTitle","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"position-title-current","inputMode":"Required","label":"Position/Title","maxLength":124,"template":"TextBox"},{"autocompleteSettings":{"forceSelection":true,"idJsonPath":"$.placeId","labelJsonMultiPath":"{$.displayName} {$.locationText}","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":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.CompanyName"},{"responseJsonPath":"$.address.civicNumber","targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.CivicNumber"},{"responseJsonPath":"$.address.unitNumber","targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.UnitNumber"},{"responseJsonPath":"$.address.streetName","targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.StreetName"},{"responseJsonPath":"$.address.city","targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.CityName"},{"responseJsonPath":"$.address.provinceCode","targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Province.Code"},{"responseJsonPath":"$.address.postalCode","targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.PostalCode"},{"responseJsonPath":"$.address.countryCode","targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Country.Code"},{"responseJsonPath":"$.formattedAddress","targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Search"},{"responseJsonPath":"$.phoneNumber","targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.MainPhone.PhoneNumber"}],"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","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"}],"controlOptions":{"descriptionControlId":"employer-name"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"employer-name","inputMode":"Required","label":"Employer Name","maxLength":100,"template":"AutoComplete"}],"id":"employment-type-s","title":"Employment"},{"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.AccountSecurity.VerbalPassword","controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"member-identity-code-input","inputMode":"Required","keyboardType":"Phone","label":"Verbal Passcode","maxLength":35,"template":"TextBox"}],"description":"<p>Your security is our top priority. To help improve security for our members, we're requesting that you create a verbal passcode that only you would know. We'll ask you to confirm this passcode while interacting with our advisors to help validate your identity/account and deter identity theft and scammers.</p>","id":"member-identity-code","template":"Form","title":"Verbal Passcode","width":"Default"},{"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":"10-30 characters","regexPattern":"^.{10,30}$","targetFormId":"password1"},{"label":"no spaces","regexPattern":"^[^\\s]*$","targetFormId":"password1"},{"label":"at least 1 lowercase letter","regexPattern":"(.*[a-z].*)","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 special character","regexPattern":"^(?=.*[#@$!])[a-zA-Z0-9#@$!]+$","targetFormId":"password1"}],"validColor":"#006747"}},{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.OnlineBanking.NewPassword","controlType":"Input","convertValueTo":"String","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"customValidators":[{"parameters":{"targetControlId":"password2"}}],"id":"password1","inputMode":"Required","keyboardType":"Phone","label":"Online Banking Password","maxLength":30,"regexMessage":"Your password does not meet the requirements","regexPattern":"(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@#$!].*)[A-Za-z\\d#$@!]{10,35}$","template":"Password"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.Password2","controlType":"Input","customValidationMessages":{"required":"This is a required field"},"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":"HTML","customClasses":"pt-2","description":"By clicking next 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":"password-text"}],"description":"Create your unique password to sign into online banking.","id":"password","template":"Form","title":"Password Setup","width":"Default"}],"updateButtonLabel":"Save Changes"},{"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","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:204.958.8588'>204.958.8588</a> or email to <a href='mailto:cu@acu.ca'>cu@acu.ca</a> so we can help.</p>","icon":"fa-light fa-exclamation-triangle","id":"error-details","title":"Something Went Wrong"}]},{"description":"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":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"nextPageId":"approved"},"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=false&consentEnable=true&customerName=Assiniboine 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"}]}}],"customClasses":"p-card p-4 mt-5 bg-white","id":"flinks-widget","width":"Medium"}],"title":"Make your first deposit"},{"commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"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"}]}]},{"body":[{"parameterName":"NotificationType","parameterValue":"IdentityVerificationPending"}],"conditions":[{"targetJsonPath":"$.Private.IdentityCheck.RefreshOnce","targetValue":false}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/notifications/customers/{$.Private.IdentityCheck.CustomerId}","httpMethod":"POST"},{"conditions":[{"targetJsonPath":"$.Private.IdentityCheck.RefreshOnce","targetValue":false}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"idv-details"},"responseMappings":[{"targetJsonPath":"$.Private.IdentityCheck.RefreshOnce","value":true}]}]}],"hasBackButton":false,"hasNextButton":false,"id":"idv-details","navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"nextPageId":"idv-modal-status"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":7,"restrictions":[{"targetJsonPath":"$.ApplicationNumber","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 licence</h4>You'll be asked to take a photo of the front and back of your licence.","id":"description-1"},{"controlType":"HTML","customClasses":"mt-5","description":"<h4 class='mb-1'>Use your mobile device to take a photo of yourself</h4>You'll be asked to take a photo of yourself. We'll use the photo you take and match it to the one from your licence to confirm your identity and keep your account secure.","id":"description-2"},{"controlType":"HTML","customClasses":"mt-5","description":"<h4 class='mb-1'>That's it!</h4>Once we've verified your ID, we can process your application.","id":"description-3"},{"controlType":"Divider","customClasses":"mt-5 mb-4","id":"divider-2"},{"controlType":"HTML","customClasses":"mt-4 mb-4","description":"<div class='flex align-items-center'><div class='mr-4 color-primary font-size-150-percent'><i class='far fa-lock'></i></div><div>We won’t keep a copy of your ID photos or your selfie. We'll only use them to validate your identity and to keep a record of your ID type, number, place of issue and expiry date. </div></div>","id":"disclaimer"},{"controlType":"Divider","customClasses":"mt-4","id":"divider-3"},{"buttonAction":"Submit","controlType":"Button","customClasses":"display-block mt-5","id":"btn-begin","label":"Begin Verification"}],"customClasses":"mt-0","description":"Digital photo ID verification is a secure way for you to prove who you are by taking a photo of your Canadian driver's licence and of yourself using your mobile device. The application process is quick, simple, and secure.","id":"idv-details","textAlignment":"text-left","title":"{$.Private.CustomerFirstName}, we need some more information to verify your identity."}]},{"customClasses":"pt-7 h-screen","description":"<p>Unfortunately there has been an error with your identity verification. We'd be happy to speak to you about your application, please call our Relationship Centre at <a href='tel:204.958.8588'>204.958.8588</a> or email to <a href='mailto:cu@acu.ca'>cu@acu.ca</a>.</p>","hasBackButton":false,"hasNextButton":false,"icon":"far fa-exclamation-triangle","id":"idv-error","mainClasses":"bg-white pt-7","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","template":"Form","title":"Alert"},{"backButtonLabel":"Back","commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.Countries","targetValue":""}],"endpointUrl":"api/staticdata/countries","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Countries"}],"statusCode":200}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.BusinessRelationships","targetValue":""}],"endpointUrl":"api/staticdata/businessrelationshippurpose?orderby=Sequence","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.BusinessRelationships"}],"statusCode":200}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.ExposureRelationships","targetValue":""}],"endpointUrl":"api/staticdata/exposurerelationships?orderby=Sequence","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.ExposureRelationships"}],"statusCode":200}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.ForeignExposurePositions","targetValue":""}],"endpointUrl":"api/staticdata/foreignexposurepositions?orderby=Sequence","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.ForeignExposurePositions"}],"statusCode":200}]},{"conditions":[{"targetJsonPath":"$.Private.Lists.DomesticExposurePositions","targetValue":""}],"endpointUrl":"api/staticdata/domesticexposurepositions?orderby=Sequence","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.DomesticExposurePositions"}],"statusCode":200}]}],"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"None"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","value":"None"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Description","value":"No"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES1"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","value":"ForeignTaxPayer"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Description","value":"Foreign Tax Payer"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES2"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","value":"ForeignTaxPayer"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Description","value":"Foreign Tax Payer"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES3"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","value":"ForeignTaxPayer"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Description","value":"Foreign Tax Payer"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","value":"TaxPerson"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Description","value":"US person"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"YesApplied"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","value":"TaxPerson"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Description","value":"US person"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"YesNo"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","value":"TaxPerson"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Description","value":"US person"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"No"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","value":"NonPerson"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Description","value":"Non Person"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"None"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Description","value":"Not Exposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Description","value":"Not Exposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Description","value":"Not Exposed"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Foreign"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Code","value":"Exposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Description","value":"Exposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Description","value":"Not Exposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Description","value":"Not Exposed"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Domestic"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Code","value":"Exposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Description","value":"Exposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Description","value":"Not Exposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Description","value":"Not Exposed"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"International"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Code","value":"Exposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Description","value":"Exposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Description","value":"Not Exposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Description","value":"Not Exposed"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"None"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.ExposureStatus.Description","value":"Not Exposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.ExposureStatus.Description","value":"Not Exposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Code","value":"NotExposed"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.ExposureStatus.Description","value":"Not Exposed"}]}]},{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.Relationship.Code","targetValue":"Self"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Customers[1].CustomerDetail.FirstName","targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.FirstName"},{"bindingPath":"$.Customers[1].CustomerDetail.LastName","targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.LastName"}]}]},{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.Relationship.Code","targetValue":"Self"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Customers[1].CustomerDetail.FirstName","targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.FirstName"},{"bindingPath":"$.Customers[1].CustomerDetail.LastName","targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.LastName"}]}]},{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.Relationship.Code","targetValue":"Self"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Customers[1].CustomerDetail.FirstName","targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.FirstName"},{"bindingPath":"$.Customers[1].CustomerDetail.LastName","targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.LastName"}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirmation"}}]}],"hasBackButton":true,"hasNextButton":true,"id":"joint-compliance","navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"nextPageId":"confirmation"},"nextButtonLabel":"Next","pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":4,"restrictions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"*"}],"sections":[{"controls":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.NatureOfBusiness.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.BusinessRelationships"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.NatureOfBusiness.Code"},"id":"business-relationship-purpose-joint","inputMode":"Required","label":"What is the nature of your business relationship with us?","template":"DropDown"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.PoliticallyExposed"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onLoad":{"endpointUrl":"api/staticdata/PoliticallyExposed","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.PoliticallyExposed"}],"statusCode":200}]},"selectedIdJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","valueJsonPath":"$.Description"},"id":"PoliticallyExposed-joint","inputMode":"Required","label":"Are you politically exposed or the head of an international organization?","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical"},{"onChangeTargetId":"relationship-f-joint"},{"onChangeTargetId":"firstName-f-joint"},{"onChangeTargetId":"lastName-f-joint"},{"onChangeTargetId":"institution-f-joint"},{"onChangeTargetId":"office-f-joint"},{"onChangeTargetId":"source-f-joint"},{"onChangeTargetId":"source-wealth-f-joint"},{"onChangeTargetId":"relationship-d-joint"},{"onChangeTargetId":"firstName-d-joint"},{"onChangeTargetId":"lastName-d-joint"},{"onChangeTargetId":"institution-d-joint"},{"onChangeTargetId":"office-d-joint"},{"onChangeTargetId":"source-d-joint"},{"onChangeTargetId":"source-wealth-d-joint"},{"onChangeTargetId":"relationship-i-joint"},{"onChangeTargetId":"firstName-i-joint"},{"onChangeTargetId":"lastName-i-joint"},{"onChangeTargetId":"organization-i-joint"},{"onChangeTargetId":"position-i-joint"},{"onChangeTargetId":"source-i-joint"},{"onChangeTargetId":"source-wealth-i-joint"}]}],"template":"DropDown"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.ResidentOutsideCanadaOrUsa"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onLoad":{"endpointUrl":"api/staticdata/ResidentOutsideCanadaOrUsa","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.ResidentOutsideCanadaOrUsa"}],"statusCode":200}]},"selectedIdJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","valueJsonPath":"$.Description"},"id":"are-you-taxed-joint","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":"YES1"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2"},{"onChangeTargetId":"jurisdiction-2"},{"onChangeTargetId":"have-tin-2"},{"onChangeTargetId":"ssn-2"},{"onChangeTargetId":"ssn-no-reason-2"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3"},{"onChangeTargetId":"jurisdiction-3"},{"onChangeTargetId":"have-tin-3"},{"onChangeTargetId":"ssn-3"},{"onChangeTargetId":"ssn-no-reason-3"}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES2"}],"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3"},{"onChangeTargetId":"jurisdiction-3"},{"onChangeTargetId":"have-tin-3"},{"onChangeTargetId":"ssn-3"},{"onChangeTargetId":"ssn-no-reason-3"}]},{"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"},{"onChangeTargetId":"ssn-no-reason-1"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2"},{"onChangeTargetId":"jurisdiction-2"},{"onChangeTargetId":"have-tin-2"},{"onChangeTargetId":"ssn-2"},{"onChangeTargetId":"ssn-no-reason-2"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3"},{"onChangeTargetId":"jurisdiction-3"},{"onChangeTargetId":"have-tin-3"},{"onChangeTargetId":"ssn-3"},{"onChangeTargetId":"ssn-no-reason-3"}]}],"template":"DropDown"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.ResidentOfTheUsa"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onLoad":{"endpointUrl":"api/staticdata/ResidentOfTheUsa","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.ResidentOfTheUsa"}],"statusCode":200}]},"selectedIdJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","valueJsonPath":"$.Description"},"id":"are-you-us-person-joint","inputMode":"Required","label":"Are you a US person? (a citizen or resident of the US)","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.SocialSecurityStatus"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.SocialSecurityReason"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.SocialSecurityNumber"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus"}]}],"template":"DropDown"}],"description":"Please answer the questions below and refer to the text for additional information to help understand the various terms.","headingSize":"h1","helpText":["A politically exposed person (PEP) or a head of an international organization (HIO) is a person entrusted with a prominent position that typically comes with the opportunity to influence decisions and the ability to control resources (ex. held a political office, high ranking military, ambassador or consulate, high court judge) as well as their immediate family (spouse, siblings, children, parents)."],"id":"more-details-joint","tagDescription":"<span class='px-2'>Joint</span>","title":"Consent and Disclosures"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Foreign"}],"controls":[{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.Relationship.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.ExposureRelationships"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.Relationship.Code"},"id":"relationship-f-joint","inputMode":"Required","label":"Relationship","template":"DropDown"},{"allConditionsMustBeMet":true,"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.FirstName","conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.Relationship.Code","targetValue":"Self"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical","targetValue":"*"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"firstName-f-joint","inputMode":"Required","label":"First name","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"allConditionsMustBeMet":true,"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.LastName","conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.Relationship.Code","targetValue":"Self"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical","targetValue":"*"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"lastName-f-joint","inputMode":"Required","label":"Last name","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.InstitutionName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"institution-f-joint","inputMode":"Required","label":"Name of Organization or Institution","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.OfficeTitle.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.ForeignExposurePositions"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.OfficeTitle.Code"},"id":"office-f-joint","inputMode":"Required","label":"Office or Position","template":"DropDown"},{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.ForeignPolitical.SourceOfFunds.Description","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"source-f-joint","inputMode":"Required","label":"Source of funds","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"}],"id":"more-details-foreign-politically-exposed-joint","title":"Politically Exposed {$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code} Person"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"Domestic"}],"controls":[{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.Relationship.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.ExposureRelationships"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.Relationship.Code"},"id":"relationship-d-joint","inputMode":"Required","label":"Relationship","template":"DropDown"},{"allConditionsMustBeMet":true,"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.FirstName","conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.Relationship.Code","targetValue":"Self"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical","targetValue":"*"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"firstName-d-joint","inputMode":"Required","label":"First name","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"allConditionsMustBeMet":true,"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.LastName","conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.Relationship.Code","targetValue":"Self"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical","targetValue":"*"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"lastName-d-joint","inputMode":"Required","label":"Last name","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.InstitutionName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"institution-d-joint","inputMode":"Required","label":"Name of Organization or Institution","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.OfficeTitle.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.DomesticExposurePositions"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.OfficeTitle.Code"},"id":"office-d-joint","inputMode":"Required","label":"Office or Position","template":"DropDown"},{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.DomesticPolitical.SourceOfFunds.Description","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"source-d-joint","inputMode":"Required","label":"Source of funds","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"}],"id":"more-details-domestic-politically-exposed-joint","title":"Politically Exposed {$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code} Person"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code","targetValue":"International"}],"controls":[{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.Relationship.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.ExposureRelationships"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.Relationship.Code"},"id":"relationship-i-joint","inputMode":"Required","label":"Relationship","template":"DropDown"},{"allConditionsMustBeMet":true,"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.FirstName","conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.Relationship.Code","targetValue":"Self"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg","targetValue":"*"}],"controlType":"Input","customClasses":"mt-3 pb-2","customValidationMessages":{"required":"This is a required field"},"id":"firstName-i-joint","inputMode":"Required","label":"First name","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"allConditionsMustBeMet":true,"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.LastName","conditions":[{"operator":"NotContains","targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.Relationship.Code","targetValue":"Self"},{"targetJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg","targetValue":"*"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"lastName-i-joint","inputMode":"Required","label":"Last name","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.OrganizationName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"organization-i-joint","inputMode":"Required","label":"Name of Organization or Institution","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"},{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.OfficeTitle.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.ForeignExposurePositions"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.OfficeTitle.Code"},"id":"office-i-joint","inputMode":"Required","label":"Office or Position","template":"DropDown"},{"bindingPath":"$.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.HeadOfIntOrg.SourceOfFunds.Description","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"source-i-joint","inputMode":"Required","label":"Source of funds","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox","transformStringTo":"Titlecase"}],"id":"more-details-international-politically-exposed-joint","title":"Head of the {$.Private.Customers[1].CustomerDetail.RegulatoryCompliance.HighRiskExposures.Code} Organization"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES1"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES2"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES3"}],"controls":[{"autocompleteSettings":{"forceSelection":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","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.ComplianceCountries"},"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"customValidators":[{"errorMessage":"Please choose another Jurisdiction Country than Canada and United States of America.","operator":"NotEquals","parameters":{"id":"taxId1","targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Description","value":"Canada"},"validator":"CompareValue"},{"errorMessage":"Please choose another Jurisdiction Country than Canada and United States of America.","operator":"NotEquals","parameters":{"id":"taxId2","targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Description","value":"United States of America"},"validator":"CompareValue"},{"errorMessage":"Duplicate Jurisdiction Country selection. Please choose another.","operator":"NotEquals","parameters":{"id":"taxId3","targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Description","valueJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Description"},"validator":"CompareValue"},{"errorMessage":"Duplicate Jurisdiction Country selection. Please choose another.","operator":"NotEquals","parameters":{"id":"taxId4","targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Description","valueJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxCountry.Description"},"validator":"CompareValue"}],"id":"jurisdiction-1-joint","inputMode":"Required","label":"Please enter the jurisdiction that you are a tax resident of","maxLength":50,"template":"AutoComplete"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.PersonHasTin"},"controlType":"Input","customClasses":"mt-3","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"idJsonPath":"$.Code","labelJsonPath":"$.Description","onLoad":{"endpointUrl":"api/staticdata/PersonHasTin","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.PersonHasTin"}],"statusCode":200}]},"selectedIdJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Code"},"id":"have-tin-1-joint","inputMode":"Required","label":"Do you have a Tax Identification Number (TIN) for the selected tax jurisdiction?","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"ssn-1"},{"onChangeTargetId":"ssn-no-reason-1"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdReason"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxNumber"}]}],"template":"DropDown"},{"allowedKeysRegex":"^[0-9,a-z,A-Z]*$","bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxNumber","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Code","targetValue":"Issued"}],"controlType":"Input","convertValueTo":"String","customClasses":"mt-3","customValidationMessages":{"minLength":"The minimum length is 7","required":"This is a required field"},"enabled":true,"id":"ssn-1-joint","inputMode":"Required","keyboardType":"Phone","label":"TIN Number","maxLength":20,"minLength":7,"regexMessage":"This field should 7-20 characters and cannot contain only zeros","regexPattern":"^(?!0{7,20}$)([a-z,A-Z,0-9]{7,20})$","regexStrictMatch":false,"template":"TextBox"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdReason","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxIdStatus.Code","targetValue":"NotApplied"}],"controlType":"Input","customClasses":"mt-3","customValidationMessages":{"required":"This is a required field"},"id":"ssn-no-reason-1-joint","inputMode":"Required","label":"Please explain the 'other' reason for not having a TIN.","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox"}],"id":"more-details-tax-c1-joint","title":"Tax Resident Country 1"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES2"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES3"}],"controls":[{"autocompleteSettings":{"forceSelection":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onSelect":{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"compliance"}}]},"searchIdJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Code"},"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Description","bindOnLoad":true,"controlOptions":{"descriptionControlId":"jurisdiction-2","optionsJsonPath":"$.Private.Lists.ComplianceCountries"},"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"customValidators":[{"errorMessage":"Please choose another Jurisdiction Country than Canada and United States of America.","operator":"NotEquals","parameters":{"id":"taxId1","targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Description","value":"Canada"},"validator":"CompareValue"},{"errorMessage":"Please choose another Jurisdiction Country than Canada and United States of America.","operator":"NotEquals","parameters":{"id":"taxId2","targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Description","value":"United States of America"},"validator":"CompareValue"},{"errorMessage":"Duplicate Jurisdiction Country selection. Please choose another.","operator":"NotEquals","parameters":{"id":"taxId3","targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Description","valueJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Description"},"validator":"CompareValue"},{"errorMessage":"Duplicate Jurisdiction Country selection. Please choose another.","operator":"NotEquals","parameters":{"id":"taxId4","targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Description","valueJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxCountry.Description"},"validator":"CompareValue"}],"id":"jurisdiction-2-joint","inputMode":"Required","label":"Please enter the jurisdiction that you are a tax resident of","maxLength":50,"template":"AutoComplete"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.PersonHasTin"},"controlType":"Input","customClasses":"mt-3","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onLoad":{"endpointUrl":"api/staticdata/PersonHasTin","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.PersonHasTin"}],"statusCode":200}]},"selectedIdJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Code"},"id":"have-tin-2-joint","inputMode":"Required","label":"Do you have a Tax Identification Number (TIN) for the selected tax jurisdiction?","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"ssn-2"},{"onChangeTargetId":"ssn-no-reason-2"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdReason"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxNumber"}]}],"template":"DropDown"},{"allowedKeysRegex":"^[0-9,a-z,A-Z]*$","bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxNumber","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Code","targetValue":"Issued"}],"controlType":"Input","convertValueTo":"String","customClasses":"mt-3","customValidationMessages":{"minLength":"The minimum length is 7","required":"This is a required field"},"enabled":true,"id":"ssn-2-joint","inputMode":"Required","keyboardType":"Phone","label":"TIN Number","maxLength":20,"minLength":7,"regexMessage":"This field should 7-20 digits and cannot contain only zeros","regexPattern":"^(?!0{7,20}$)([a-z,A-Z,0-9]{7,20})$","regexStrictMatch":false,"template":"TextBox"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdReason","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxIdStatus.Code","targetValue":"NotApplied"}],"controlType":"Input","customClasses":"mt-3","customValidationMessages":{"required":"This is a required field"},"id":"ssn-no-reason-2-joint","inputMode":"Required","label":"Please explain the 'other' reason for not having a TIN.","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox"}],"id":"more-details-tax-c2-joint","title":"Tax Resident Country 2"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.ForeignTaxStatus.Code","targetValue":"YES3"}],"controls":[{"autocompleteSettings":{"forceSelection":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onSelect":{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"compliance"}}]},"searchIdJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxCountry.Code"},"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxCountry.Description","bindOnLoad":true,"controlOptions":{"descriptionControlId":"jurisdiction-3","optionsJsonPath":"$.Private.Lists.ComplianceCountries"},"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"customValidators":[{"errorMessage":"Please choose another Jurisdiction Country than Canada and United States of America.","operator":"NotEquals","parameters":{"id":"taxId1","targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxCountry.Description","value":"Canada"},"validator":"CompareValue"},{"errorMessage":"Please choose another Jurisdiction Country than Canada and United States of America.","operator":"NotEquals","parameters":{"id":"taxId2","targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxCountry.Description","value":"United States of America"},"validator":"CompareValue"},{"errorMessage":"Duplicate Jurisdiction Country selection. Please choose another.","operator":"NotEquals","parameters":{"id":"taxId3","targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxCountry.Description","valueJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId1.TaxCountry.Description"},"validator":"CompareValue"},{"errorMessage":"Duplicate Jurisdiction Country selection. Please choose another.","operator":"NotEquals","parameters":{"id":"taxId4","targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxCountry.Description","valueJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId2.TaxCountry.Description"},"validator":"CompareValue"}],"id":"jurisdiction-3-joint","inputMode":"Required","label":"Please enter the jurisdiction that you are a tax resident of","maxLength":50,"template":"AutoComplete"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxIdStatus.Description","controlOptions":{"optionsJsonPath":"$.Private.Lists.PersonHasTin"},"controlType":"Input","customClasses":"mt-3","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onLoad":{"endpointUrl":"api/staticdata/PersonHasTin","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.PersonHasTin"}],"statusCode":200}]},"selectedIdJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxIdStatus.Code"},"id":"have-tin-3-joint","inputMode":"Required","label":"Do you have a Tax Identification Number (TIN) for the selected tax jurisdiction?","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"ssn-3"},{"onChangeTargetId":"ssn-no-reason-3"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxIdReason"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxNumber"}]}],"template":"DropDown"},{"allowedKeysRegex":"^[0-9,a-z,A-Z]*$","bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxNumber","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxIdStatus.Code","targetValue":"Issued"}],"controlType":"Input","convertValueTo":"String","customClasses":"mt-3","customValidationMessages":{"minLength":"The minimum length is 7","required":"This is a required field"},"enabled":true,"id":"ssn-3-joint","inputMode":"Required","keyboardType":"Phone","label":"TIN Number","maxLength":20,"minLength":7,"regexMessage":"This field should 7-20 digits and cannot contain only zeros","regexPattern":"^(?!0{7,20}$)([a-z,A-Z,0-9]{7,20})$","regexStrictMatch":false,"template":"TextBox"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxIdReason","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.ForeignTaxIds.TaxId3.TaxIdStatus.Code","targetValue":"NotApplied"}],"controlType":"Input","customClasses":"mt-3","customValidationMessages":{"required":"This is a required field"},"id":"ssn-no-reason-3-joint","inputMode":"Required","label":"Please explain the 'other' reason for not having a TIN.","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox"}],"id":"more-details-tax-c3-joint","title":"Tax Resident Country 3"},{"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"YesNo"}],"controls":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.SocialSecurityNumber","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes"}],"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"us-ssn-joint","inputMask":"999-99-9999","inputMode":"Required","label":"SSN Number","maxLength":9,"regexMessage":"This field should 9 characters and cannot contain only zeros","regexPattern":"^(?!0{9}$)([0-9]{9})$","template":"TextBox"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.SocialSecurityReason.Description","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"YesNo"}],"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"us-ssn-no-reason-joint","inputMode":"Required","label":"Please explain the 'other' reason for not having a SSN.","maxLength":40,"template":"TextBox"},{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes"},{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"YesNo"}],"controls":[{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.SocialSecurityNumber","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"Yes"}],"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"us-ssn-joint","inputMask":"999-99-9999","inputMode":"Required","label":"SSN Number","maxLength":9,"template":"TextBox"},{"bindingPath":"$.Customers[1].CustomerDetail.TaxInformation.SocialSecurityReason.Description","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.UnitedStatesTaxStatus.Code","targetValue":"YesNo"}],"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"us-ssn-no-reason-joint","inputMode":"Required","label":"Please explain the 'other' reason for not having a SSN.","maxLength":40,"regexMessage":"This field does not accept input of numbers or special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox"}],"id":"more-details-us-taxed-joint","title":"US person"}],"id":"more-details-us-taxed-joint","title":"US person"}],"updateButtonLabel":"Save Changes"},{"backButtonLabel":"Back","commandsOnLoad":[{"customCommand":"GenerateGuid","onSuccess":[{"parameterName":"$.Guid","responseMappings":[{"responseJsonPath":"$.Guid","targetJsonPath":"$.Private.Guids.BusinessSearch"}]}]}],"commandsOnSubmit":[{"allowNull":false,"body":[{"parameterName":"EmploymentRecords","valueJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[1].CustomerId}/detail","httpMethod":"PUT"},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"}}]}],"hasBackButton":true,"hasNextButton":true,"id":"joint-employment-info","navigation":{"editConditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirmation"},"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"nextPageId":"joint-compliance"},"nextButtonLabel":"Next","pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":2,"restrictions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"sections":[{"controls":[{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Description","controlOptions":{"descriptionControlId":"employment-status-description-joint","optionsJsonPath":"$.Private.Lists.EmploymentStatuts"},"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.Code","labelJsonPath":"$.Description","onLoad":{"endpointUrl":"api/staticdata/EmploymentStatuts","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.EmploymentStatuts"}],"statusCode":200}]},"selectedIdJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","valueJsonPath":"$.Description"},"id":"employment-type-joint","inputMode":"Required","label":"Employment Status","resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"onChangeTargetId":"industry-joint"},{"onChangeTargetId":"occupation-joint"},{"onChangeTargetId":"position-title-current-joint"},{"onChangeTargetId":"employer-name-joint"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.IndustryClassification"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.OccupationClassification"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.PositionTitle"},{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.Income"}]}],"template":"DropDown"},{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Description","bindOnChange":true,"controlType":"Input","id":"employment-status-description-joint","template":"Hidden"},{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Description","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"}],"controlOptions":{"descriptionControlId":"industry","onChangeTargetId":"occupation-joint","optionsJsonPath":"$.Private.Lists.Industry"},"controlType":"Input","customClasses":"mt-3 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","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Occupation"},{"bindingPath":"$.Private.Lists.Occupation[?(@.CategoryCode=={$.Customers[1].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Code})]","targetJsonPath":"$.Private.Lists.Occupation"}],"statusCode":200}]},"selectedIdJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Code"},"id":"industry-joint","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"}],"controlOptions":{"descriptionControlId":"occupation-description-joint","optionsJsonPath":"$.Private.Lists.Occupation"},"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":"occupation-joint","inputMode":"Required","label":"Occupation","template":"DropDown"},{"bindingPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.PositionTitle","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"position-title-current-joint","inputMode":"Required","label":"Position/Title","maxLength":124,"template":"TextBox"},{"autocompleteSettings":{"forceSelection":true,"idJsonPath":"$.placeId","labelJsonMultiPath":"{$.displayName} {$.locationText}","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":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.CompanyName"},{"responseJsonPath":"$.address.civicNumber","targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.CivicNumber"},{"responseJsonPath":"$.address.unitNumber","targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.UnitNumber"},{"responseJsonPath":"$.address.streetName","targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.StreetName"},{"responseJsonPath":"$.address.city","targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.CityName"},{"responseJsonPath":"$.address.provinceCode","targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Province.Code"},{"responseJsonPath":"$.address.postalCode","targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.PostalCode"},{"responseJsonPath":"$.address.countryCode","targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Country.Code"},{"responseJsonPath":"$.formattedAddress","targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Search"},{"responseJsonPath":"$.phoneNumber","targetJsonPath":"$.Private.Customers[1].CustomerDetail.EmploymentRecords.Current.EmployerDetail.MainPhone.PhoneNumber"}],"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","conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"}],"controlOptions":{"descriptionControlId":"employer-name"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"id":"employer-name-joint","inputMode":"Required","label":"Employer Name","maxLength":100,"template":"AutoComplete"}],"id":"employment-type-s-joint","tagDescription":"<span class='px-2'>Joint</span>","title":"Employment"},{"controls":[{"bindingPath":"$.Customers[1].CustomerDetail.AccountSecurity.VerbalPassword","controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"member-identity-code-input-joint","inputMode":"Required","keyboardType":"Phone","label":"Verbal Passcode","maxLength":35,"template":"TextBox"}],"description":"<p>Your security is our top priority. To help improve security for our members, we're requesting that you create a verbal passcode that only you would know. We'll ask you to confirm this passcode while interacting with our advisors to help validate your identity/account and deter identity theft and scammers.</p>","id":"member-identity-code-joint","template":"Form","title":"Verbal Passcode","width":"Default"},{"controls":[{"controlType":"Validator","customClasses":"mb-4 shadow-none ","id":"passwordValidator-joint","validatorSettings":{"footerText":"* You may only use the following special characters: # @ $ !","title":"Please ensure your password has the following:","validators":[{"label":"10-30 characters","regexPattern":"^.{10,30}$","targetFormId":"password1-joint"},{"label":"no spaces","regexPattern":"^[^\\s]*$","targetFormId":"password1-joint"},{"label":"at least 1 lowercase letter","regexPattern":"(.*[a-z].*)","targetFormId":"password1-joint"},{"label":"at least 1 uppercase letter","regexPattern":"(.*[A-Z].*)","targetFormId":"password1-joint"},{"label":"at least 1 number","regexPattern":"(.*[0-9].*)","targetFormId":"password1-joint"},{"label":"at least 1 special character","regexPattern":"^(?=.*[#@$!])[a-zA-Z0-9#@$!]+$","targetFormId":"password1-joint"}],"validColor":"#006747"}},{"bindingPath":"$.Customers[1].CustomerDetail.MemberRegistration.OnlineBanking.NewPassword","controlType":"Input","convertValueTo":"String","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"customValidators":[{"parameters":{"targetControlId":"password2-joint"}}],"id":"password1-joint","inputMode":"Required","keyboardType":"Phone","label":"Online Banking Password","maxLength":30,"regexMessage":"Your password does not meet the requirements","regexPattern":"(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@#$!].*)[A-Za-z\\d#$@!]{10,35}$","template":"Password"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.Password2","controlType":"Input","customValidationMessages":{"required":"This is a required field"},"customValidators":[{"errorMessage":"This password does not match what you entered in the previous field","parameters":{"targetFormId":"password1-joint"},"validator":"MatchValue"}],"id":"password2-joint","inputMode":"Required","keyboardType":"Phone","label":"Re-enter your password","maxLength":30,"template":"Password"},{"controlType":"HTML","customClasses":"pt-2","description":"By clicking next 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":"password-text"}],"description":"Create your unique password to sign into online banking.","id":"password-joint","template":"Form","title":"Password Setup","width":"Default"}],"updateButtonLabel":"Save Changes"},{"backButtonLabel":"Back","commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.JointSin.MemberType","value":"INDIVIDUAL"}]}]},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetValue":"*"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","dataTransformation":[{"pattern":"(.{2})","replacement":""}],"targetJsonPath":"$.Private.CustomerOne.Mobile.PhoneNumber"}]}]}],"commandsOnSubmit":[{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.JointSin.TaxInformation.TaxpayerIdentificationNumbers[0].TaxNumber","targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.SocialInsuranceNumber"}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.LanguageCode","targetJsonPath":"$.Customers[1].CustomerDetail.LanguageCode"}]}]},{"conditions":[{"operator":"NotEquals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetValueJsonPath":"$.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.Sms.Result","value":""}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.BankCard.SetupStatus","targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.BankCard.SetupStatus"}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search","targetValue":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.CityName","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Country.Code","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code","value":""},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalBoxNumber","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":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalBoxNumber","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Province.Code","value":""},{"targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.Country.Code","value":""}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search","targetValue":"*"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","targetValue":"*"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"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"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.BoxNumber","targetJsonPath":"$.Customers[1].CustomerDetail.AddressContacts.Mail.PostalBoxNumber"}]}]},{"allowNull":false,"body":[{"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":"$.Private.Customers[1].CustomerDetail.PhoneContacts"},{"parameterName":"LanguageCode","valueJsonPath":"$.Private.LanguageCode"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[1].CustomerId}/detail","httpMethod":"PUT","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"}}]}],"hasBackButton":true,"hasNextButton":true,"id":"joint-personal-information","navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-confirm-sms"},"operator":"NotEquals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetValueJsonPath":"$.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-confirm-sms"},"targetJsonPath":"$.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetValueJsonPath":""}],"editConditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-confirm-sms"},"operator":"NotEquals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetValueJsonPath":"$.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirmation"},"operator":"Equals","targetJsonPath":"$.Private.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetValueJsonPath":"$.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"}],"nextPageId":"joint-employment-info"},"nextButtonLabel":"Next","pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":1,"resetToDefaultOnBackClick":true,"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":"firstName-joint","inputMode":"Required","label":"First name","maxLength":40,"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","bindOnChange":true,"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-joint","inputMode":"Optional","label":"Middle name (optional)","maxLength":40,"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":"lastName-joint","inputMode":"Required","label":"Last name","maxLength":40,"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","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"datepickerSettings":{"ageJsonPath":"$.Private.Customers[1].CustomerDetail.Age","defaultDate":"1980,1,1","locale":{"clear":"Clear","dayNames":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"dayNamesMin":["Su","Mo","Tu","We","Th","Fr","Sa"],"dayNamesShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"firstDayOfWeek":0,"monthNames":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthNamesShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"today":"Today"},"minAge":19},"iconLeft":"fal fa-calendar-alt","id":"dob-joint","inputMode":"Required","label":"Date of birth","template":"DatePicker"},{"bindingPath":"$.Private.JointSin.TaxInformation.TaxpayerIdentificationNumbers[0].TaxNumber","commandsOnChange":[{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.JointSin.TaxInformation.TaxpayerIdentificationNumbers[0].TaxNumber","targetJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.SocialInsuranceNumber"}]}]}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"customValidators":[{"errorMessage":"Please enter a valid Social insurance number","sinValidatorSettings":{"canStartWithNine":true},"validator":"SocialInsuranceNumber"},{"errorMessage":"Joint applicant's SIN cannot be the same as the primary applicant","operator":"NotEquals","parameters":{"id":"primary-sin-validation","valueJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialInsuranceNumber"},"validator":"CompareValue"}],"id":"sinNumber-joint","inputMask":"999-999-999","inputMode":"Required","keyboardType":"Phone","label":"Social Insurance Number","regexMessage":"Please enter a valid Social insurance number","regexPattern":"^(\\d{3}-\\d{3}-\\d{3})|(\\d{9})$","template":"TextBox"},{"bindingPath":"$.Private.MemberShare[1].ProductType.Code","controlType":"Input","defaultValue":"MemberShare","id":"ProductNamePmCode-joint","template":"Hidden"},{"bindingPath":"$.Private.MemberShare[1].ProductName","controlType":"Input","defaultValue":"Member Share","id":"ProductNamePm-joint","template":"Hidden"},{"bindingPath":"$.Private.MemberShare[1].ProductDetail.RegulatoryCompliance.IntendedUse.Code","controlType":"Input","defaultValue":"MembershipShares","id":"ProductNamePmCodeIUC-joint","template":"Hidden"},{"bindingPath":"$.Private.MemberShare[1].ProductDetail.RegulatoryCompliance.IntendedUse.Description","controlType":"Input","defaultValue":"Membership equity shares","id":"ProductNamePmCodeIUD-joint","template":"Hidden"}],"description":"Please ensure that you enter your full name exactly as it appears on your government-issued photo ID (example: driver's license)","id":"personal-information-section","tagDescription":"<span class='px-2'>Joint</span>","title":"Personal Information"},{"controls":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.addressType","controlType":"Input","defaultValue":"STREET","id":"home-address-type-joint","template":"Hidden"},{"addressInputs":{"cityName":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.CityName","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"cityName-joint","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":"civicNumber-joint","inputMode":"Required","label":"Street number","maxLength":10,"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"},"country":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.Country.Code","bindOnChange":true,"controlOptions":{"options":[{"label":"Canada","value":"CA"}]},"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"country-joint","inputMode":"Required","label":"Country","template":"DropDown"},"postalCode":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.PostalCode","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"postalCode-joint","inputMask":"a9a-9a9","inputMode":"Required","label":"Postal code","regexMessage":"Invalid postal code (eg. A1A-1A1)","regexPattern":"^([A-Za-z]\\d[A-Za-z]\\d[A-Za-z]\\d)$","template":"TextBox","transformStringTo":"Uppercase"},"provinceCode":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.Province.Code","bindOnChange":true,"controlOptions":{"options":[{"label":"Manitoba","value":"MB"}]},"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Description","valueJsonPath":"$.Code"},"enabled":true,"id":"provinceCode-joint","inputMode":"Required","label":"Province","template":"DropDown"},"streetName":{"bindingPath":"$.Customers[1].CustomerDetail.AddressContacts.Home.StreetName","bindOnChange":true,"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"streetName-joint","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[1].CustomerDetail.AddressContacts.Home.UnitNumber","bindOnChange":true,"controlType":"Input","id":"unitNumber-joint","inputMode":"Optional","label":"Apt/Unit #","maxLength":10,"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"}},"addressSettings":{"manualEntryType":"Modal","modalButtonLabel":"Submit","modalCancelButtonLabel":"Cancel","modalDescription":"Please enter your address manually below.","modalTitle":"Enter Address Manually","poBoxRestrictionMessage":"Please select a non-PO box address","provinceCode":"MB","restrictPoBox":true,"toggleLinkLabel":{"searchLabel":"Enter Address Manually"}},"autocompleteSettings":{"forceSelection":false},"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Home.Search","controlType":"Input","customClasses":"max-w-full -mt-3","customValidationMessages":{"required":"This is a required field"},"iconLeft":"fal fa-map-marker-alt","id":"addressSearch-joint","inputMode":"Required","label":"Home 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":"addressTypeM-joint","inputMode":"Optional","label":"Address type","placeholder":"","template":"DropDown"},"boxNumber":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.BoxNumber","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"}],"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"poBoxNumberM-joint","inputMode":"Optional","label":"PO Box #","maxLength":40,"template":"TextBox"},"cityName":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.CityName","controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"cityNameM-joint","inputMode":"Optional","label":"City","maxLength":50,"template":"TextBox"},"civicNumber":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.CivicNumber","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"}],"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"civicNumberM-joint","inputMode":"Optional","label":"Street number","maxLength":10,"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":"countryM-joint","inputMode":"Optional","label":"Country","template":"DropDown"},"postalCode":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.PostalCode","controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"postalCodeM-joint","inputMask":"a9a-9a9","inputMode":"Optional","label":"Postal code","regexMessage":"Invalid postal code (eg. A1A-1A1)","regexPattern":"^([A-Za-z]\\d[A-Za-z]\\d[A-Za-z]\\d)$","template":"TextBox","transformStringTo":"Uppercase"},"provinceCode":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.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":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Description","valueJsonPath":"$.Code"},"enabled":true,"id":"provinceCodeM-joint","inputMode":"Optional","label":"Province","template":"DropDown"},"streetName":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.StreetName","controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"streetNameM-joint","inputMode":"Optional","label":"Street name","maxLength":35,"template":"TextBox"},"unitNumber":{"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.UnitNumber","conditions":[{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"}],"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"unitNumberM-joint","inputMode":"Optional","label":"Apt/Unit #","maxLength":10,"template":"TextBox"}},"addressSettings":{"manualEntryType":"Modal","modalButtonLabel":"Submit","modalCancelButtonLabel":"Cancel","modalDescription":"Please enter your address manually below.","modalTitle":"Enter Address Manually","resetAddressOnClose":true,"restrictPoBox":false,"toggleLinkLabel":{"searchLabel":"Enter Address Manually"}},"autocompleteSettings":{"forceSelection":false},"bindingPath":"$.Private.Customers[1].CustomerDetail.AddressContacts.Mail.Search","bindOnChange":true,"controlType":"Input","customClasses":"max-w-full -mt-1 mb-3","iconLeft":"fal fa-map-marker-alt","id":"addressSearchMail-joint","inputMode":"Optional","label":"Mailing address (optional)","template":"AddressSearch"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","bindOnChange":true,"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"customValidators":[{"errorMessage":"Joint applicant's cell number cannot be the same as primary applicant.","operator":"NotEquals","parameters":{"valueJsonPath":"$.Private.CustomerOne.Mobile.PhoneNumber"},"validator":"CompareValue"}],"iconLeft":"fal fa-phone","id":"phoneNumber-joint","inputMask":"(999) 999-9999","inputMode":"Required","keyboardType":"Phone","label":"Cell #","prependString":"+1","regexMessage":"Please enter a valid mobile phone number","regexPattern":"^(\\d{3}-\\d{3}-\\d{4})|(\\d{10})$","template":"TextBox"},{"bindingPath":"$.Customers[1].CustomerDetail.EmailContacts.Primary.EmailAddress","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"email":"Please enter a valid email address. (eg. email@example.com)","required":"This is a required field"},"iconLeft":"fal fa-envelope","id":"email-joint","inputMode":"Required","keyboardType":"Email","label":"Email","maxLength":100,"regexMessage":"Please enter a valid email address. (eg. email@example.com)","template":"TextBox"}],"description":"We only accept residential addresses in Manitoba for your home address (no PO Boxes). PO Boxes and addresses outside Manitoba can be used for your mailing address.","id":"contact-details-section","title":"Contact Details"}],"updateButtonLabel":"Save Changes"},{"backButtonLabel":"Back","commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"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":"$.CustomerId","targetJsonPath":"$.Private.Resume.Cid"},{"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[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetValue":"*"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","dataTransformation":[{"pattern":"(.{2})","replacement":""}],"targetJsonPath":"$.Private.CustomerTwo.Mobile.PhoneNumber"}]}]},{"endpointUrl":"api/staticdata/provinces","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Provinces"}],"statusCode":200}]}],"commandsOnSubmit":[{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Sin.TaxInformation.TaxpayerIdentificationNumbers[0].TaxNumber","targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialInsuranceNumber"}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.LanguageCode","targetJsonPath":"$.Customers[0].CustomerDetail.LanguageCode"}]}]},{"conditions":[{"operator":"NotEquals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetValueJsonPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Result","value":""}]}]},{"endpointUrl":"api/branchlocator/branches?originAddress={$.Private.Customers[0].CustomerDetail.AddressContacts.Home.Search.label}","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Branches"}],"statusCode":200}]},{"endpointUrl":"api/staticdata/branches","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.StaticBranches"},{"bindingPath":"$.Private.Lists.StaticBranches[?(@.BranchId == '{$.Private.Lists.Branches[*].branchId}')].DisplayName","targetJsonPath":"$.Private.Lists.Branches[*].branchName"}],"statusCode":200}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Search","targetValue":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","value":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.CityName","value":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber","value":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","value":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName","value":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber","value":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Country.Code","value":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code","value":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.PostalBoxNumber","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":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Country.Code","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalBoxNumber","value":""}]}]},{"allConditionsMustBeMet":true,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Search","targetValue":"*"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","targetValue":"*"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"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"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.BoxNumber","targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalBoxNumber"}]}]},{"allowNull":false,"body":[{"parameterName":"EmailContacts","valueJsonPath":"$.Customers[0].CustomerDetail.EmailContacts"},{"parameterName":"FirstName","valueJsonPath":"$.Customers[0].CustomerDetail.FirstName"},{"parameterName":"LastName","valueJsonPath":"$.Customers[0].CustomerDetail.LastName"},{"parameterName":"MarketEngagment","valueJsonPath":"$.Customers[0].CustomerDetail.MarketEngagment"},{"parameterName":"PhoneContacts","valueJsonPath":"$.Private.Customers[0].CustomerDetail.PhoneContacts"},{"parameterName":"LanguageCode","valueJsonPath":"$.Private.LanguageCode"}],"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":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirm-sms"},"operator":"NotEquals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetValueJsonPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirm-sms"},"targetJsonPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetValueJsonPath":""}],"editConditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirm-sms"},"operator":"NotEquals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetValueJsonPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirmation"},"operator":"Equals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetValueJsonPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"}],"nextPageId":"branch-selection"},"nextButtonLabel":"Next","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":"First name","maxLength":40,"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","bindOnChange":true,"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":"Middle name (optional)","maxLength":40,"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":"Last name","maxLength":40,"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","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"datepickerSettings":{"ageJsonPath":"$.Private.Customers[0].CustomerDetail.Age","defaultDate":"1980,1,1","locale":{"clear":"Clear","dayNames":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"dayNamesMin":["Su","Mo","Tu","We","Th","Fr","Sa"],"dayNamesShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"firstDayOfWeek":0,"monthNames":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthNamesShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"today":"Today"},"minAge":19},"iconLeft":"fal fa-calendar-alt","id":"dob","inputMode":"Required","label":"Date of birth","template":"DatePicker"},{"bindingPath":"$.Private.Sin.TaxInformation.TaxpayerIdentificationNumbers[0].TaxNumber","commandsOnChange":[{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Private.Sin.TaxInformation.TaxpayerIdentificationNumbers[0].TaxNumber","targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialInsuranceNumber"}]}]}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"customValidators":[{"errorMessage":"Please enter a valid Social insurance number","sinValidatorSettings":{"canStartWithNine":true},"validator":"SocialInsuranceNumber"},{"errorMessage":"Primary applicant's SIN cannot be the same as the joint applicant","operator":"NotEquals","parameters":{"id":"joint-sin-validation","valueJsonPath":"$.Customers[1].CustomerDetail.TaxInformation.SocialInsuranceNumber"},"validator":"CompareValue"}],"id":"sinNumber","inputMask":"999-999-999","inputMode":"Required","keyboardType":"Phone","label":"Social Insurance Number","regexMessage":"Please enter a valid Social insurance number","regexPattern":"^(\\d{3}-\\d{3}-\\d{3})|(\\d{9})$","template":"TextBox"},{"bindingPath":"$.Private.MemberShare[0].ProductType.Code","controlType":"Input","defaultValue":"MemberShare","id":"ProductNamePmCode","template":"Hidden"},{"bindingPath":"$.Private.MemberShare[0].ProductName","controlType":"Input","defaultValue":"Member Share","id":"ProductNamePm","template":"Hidden"},{"bindingPath":"$.Private.MemberShare[0].ProductDetail.RegulatoryCompliance.IntendedUse.Code","controlType":"Input","defaultValue":"MembershipShares","id":"ProductNamePmCodeIUC","template":"Hidden"},{"bindingPath":"$.Private.MemberShare[0].ProductDetail.RegulatoryCompliance.IntendedUse.Description","controlType":"Input","defaultValue":"Membership equity shares","id":"ProductNamePmCodeIUD","template":"Hidden"}],"description":"Please ensure that you enter your full name exactly as it appears on your government-issued photo ID (example: driver's license)","id":"personal-information-section","title":"Personal Information"},{"controls":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.addressType","controlType":"Input","defaultValue":"STREET","id":"home-address-type","template":"Hidden"},{"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,"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"},"country":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.Country.Code","bindOnChange":true,"controlOptions":{"options":[{"label":"Canada","value":"CA"}]},"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"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 (eg. A1A-1A1)","regexPattern":"^([A-Za-z]\\d[A-Za-z]\\d[A-Za-z]\\d)$","template":"TextBox","transformStringTo":"Uppercase"},"provinceCode":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.Province.Code","bindOnChange":true,"controlOptions":{"options":[{"label":"Manitoba","value":"MB"}]},"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"dropdownSettings":{"bindOnSelect":true,"labelJsonPath":"$.Description","valueJsonPath":"$.Code"},"enabled":true,"id":"provinceCode","inputMode":"Required","label":"Province","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,"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"}},"addressSettings":{"manualEntryType":"Modal","modalButtonLabel":"Submit","modalCancelButtonLabel":"Cancel","modalDescription":"Please enter your address manually below.","modalTitle":"Enter Address Manually","poBoxRestrictionMessage":"Please select a non-PO box address","provinceCode":"MB","restrictPoBox":true,"toggleLinkLabel":{"searchLabel":"Enter Address Manually"}},"autocompleteSettings":{"forceSelection":false},"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.Search","controlType":"Input","customClasses":"max-w-full -mt-3","customValidationMessages":{"required":"This is a required field"},"iconLeft":"fal fa-map-marker-alt","id":"addressSearch","inputMode":"Required","label":"Home 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","label":"Address type","placeholder":"","template":"DropDown"},"boxNumber":{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.BoxNumber","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"}],"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"poBoxNumberM","inputMode":"Optional","label":"PO Box #","maxLength":40,"template":"TextBox"},"cityName":{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.CityName","controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"cityNameM","inputMode":"Optional","label":"City","maxLength":50,"template":"TextBox"},"civicNumber":{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"}],"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"civicNumberM","inputMode":"Optional","label":"Street number","maxLength":10,"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","controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"postalCodeM","inputMask":"a9a-9a9","inputMode":"Optional","label":"Postal code","regexMessage":"Invalid postal code (eg. A1A-1A1)","regexPattern":"^([A-Za-z]\\d[A-Za-z]\\d[A-Za-z]\\d)$","template":"TextBox","transformStringTo":"Uppercase"},"provinceCode":{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.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":"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","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","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"}],"controlType":"Input","customValidationMessages":{"required":"This is a required field"},"id":"unitNumberM","inputMode":"Optional","label":"Apt/Unit #","maxLength":10,"template":"TextBox"}},"addressSettings":{"manualEntryType":"Modal","modalButtonLabel":"Submit","modalCancelButtonLabel":"Cancel","modalDescription":"Please enter your address manually below.","modalTitle":"Enter Address Manually","resetAddressOnClose":true,"restrictPoBox":false,"toggleLinkLabel":{"searchLabel":"Enter Address Manually"}},"autocompleteSettings":{"forceSelection":false},"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Search","bindOnChange":true,"controlType":"Input","customClasses":"max-w-full -mt-1 mb-3","iconLeft":"fal fa-map-marker-alt","id":"addressSearchMail","inputMode":"Optional","label":"Mailing address (optional)","template":"AddressSearch"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","bindOnChange":true,"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This is a required field"},"customValidators":[{"errorMessage":"Primary applicant's cell number cannot be the same as joint applicant.","operator":"NotEquals","parameters":{"valueJsonPath":"$.Private.CustomerTwo.Mobile.PhoneNumber"},"validator":"CompareValue"}],"iconLeft":"fal fa-phone","id":"phoneNumber","inputMask":"(999) 999-9999","inputMode":"Required","keyboardType":"Phone","label":"Cell #","prependString":"+1","regexMessage":"Please enter a valid mobile phone number","regexPattern":"^(\\d{3}-\\d{3}-\\d{4})|(\\d{10})$","template":"TextBox"},{"bindingPath":"$.Customers[0].CustomerDetail.EmailContacts.Primary.EmailAddress","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"email":"Please enter a valid email address. (eg. email@example.com)","required":"This is a required field"},"iconLeft":"fal fa-envelope","id":"email","inputMode":"Required","keyboardType":"Email","label":"Email","maxLength":100,"regexMessage":"Please enter a valid email address. (eg. email@example.com)","template":"TextBox"}],"description":"We only accept residential addresses in Manitoba for your home address (no PO Boxes). PO Boxes and addresses outside Manitoba can be used for your mailing address.","id":"contact-details-section","title":"Contact Details"}],"updateButtonLabel":"Save Changes"},{"customClasses":"mt-7","hasBackButton":false,"hasNextButton":false,"id":"resume-link-expiry","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","sections":[{"controls":[{"controlType":"HTML","description":"<h2>Your link has expired.</h2><p>The link you're trying to access has expired.</p>For more information on Assiniboine chequing and savings accounts please visit our website at: <a href=\"https://www.acu.ca/en/personal\" target=\"_blank\">https://www.acu.ca/en/personal</a></p>If you have any questions please reach us at <a href='mailto:cu@acu.ca'>cu@acu.ca</a> or call us at <a href='tel:204.958.8588'>204.958.8588</a>"}],"customClasses":"text-center","icon":"fa-light fa-exclamation-triangle","id":"error-details"}]},{"bindOnLoad":[{"queryParam":"appnum","targetJsonPath":"$.ApplicationNumber"},{"queryParam":"cid","targetJsonPath":"$.Private.Resume.Cid"},{"queryParam":"code","targetJsonPath":"$.Private.Resume.Code"}],"commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"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":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"nextPageId":"resume-modal"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":7,"sections":[{"controls":[{"bindingPath":"$.Private.Resume.DestinationToken","controlOptions":{"options":[{"label":"Text Me","targetJsonPath":"$.Private.Resume.AuthenticationDetail.Sms.DestinationToken","value":""},{"label":"Call Me","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":"There's still a few more steps before we can finalize your account setup. Select a method below to receive a one time password to resume your application.","id":"resume-options","title":"Resume your application","width":"Medium"}]},{"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-2","description":"Thank you for allowing us to serve your financial needs.","id":"description-2"},{"controlType":"HTML","customClasses":"mt-2","description":"Reference #: <strong>{$.ApplicationNumber}</strong>","id":"description-3"}],"customClasses":"mt-3 text-center bg-white","description":"Your application has been sent on to an analyst for further review. The status of your application, along with any additional information needed, will be emailed to you in the next 2 business days.","icon":"fa-light fa-user-clock","id":"description-2","title":"Thanks for submitting your application","width":"Max Width"}]},{"customClasses":"pt-7 h-screen","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:204.958.8588'>204.958.8588</a> or email to <a href='mailto:cu@acu.ca'>cu@acu.ca</a>.</p>","hasBackButton":false,"hasNextButton":false,"icon":"far fa-exclamation-triangle","id":"sin-error","mainClasses":"bg-white pt-7","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","template":"Form","title":"Alert"},{"commandsOnLoad":[{"customCommand":"ClearSession"}],"customClasses":"pt-7 h-screen","description":"<p>Your application has timed out.<br/> For security reasons our application times out after 20 minutes of inactivity. Please close this tab and reload the application to start again.</p>","hasBackButton":false,"hasNextButton":false,"icon":"far fa-exclamation-triangle","id":"timeout-error","mainClasses":"bg-white pt-7","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Large","template":"Form","title":"Time's Up"},{"bindOnLoad":[{"queryParam":"Account","targetJsonPath":"$.Private.Account"}],"commandsInBackground":[{"conditions":[{"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"}}]}],"commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.EnableSMSTemporarily","value":"Yes"},{"targetJsonPath":"$.Private.LanguageCode","value":"en"}]}]}],"description":"<div class='mx-0 sm:mx-6'>You will need your social insurance number (SIN) to apply and your Canadian provincial photo ID to confirm your identity.<br/><br/>Already a Member? Log in to your account <a href='https://online.acu.ca/' target='_blank'>here</a>.<br/><br/>Prefer to meet with someone in person? Book an appointment <a href='https://www.acu.ca/en/forms/appointment-booking' target='_blank'>online</a> at a time and location that suits you best.</div>","hasBackButton":false,"hasNextButton":false,"id":"welcome","navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"nextPageId":"declarations-modal"},"pageMode":"Page","pageTemplate":"Welcome","sections":[{"controls":[{"buttonAction":"Submit","controlType":"Button","id":"btnGetStarted","label":"Get Started"},{"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":[{"conditions":[{"targetJsonPath":"$.Private.AddSecondAccount","targetValue":"No"}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"targetJsonPath":"$.Products[1]","value":""},{"targetJsonPath":"$.Private.Products[1]","value":""},{"bindingPath":"$.Products[0].ProductDetail.RegulatoryCompliance","targetJsonPath":"$.Products[0].OfferDetail.RegulatoryCompliance"},{"bindingPath":"$.Products[0].ProductDetail.AccountSubtype","targetJsonPath":"$.Products[0].ProductDetail.ProductCode"},{"bindingPath":"$.Private.Offers[0].OfferDetail.ProductName","targetJsonPath":"$.Products[0].OfferDetail.ProductName"},{"bindingPath":"$.Private.Offers[0].OfferDetail","targetJsonPath":"$.Products[0].OfferDetail"},{"targetJsonPath":"$.Private.AddSecondAccount","value":"No"}]}]},{"conditions":[{"targetJsonPath":"$.Private.AddSecondAccount","targetValue":"Yes"},{"targetJsonPath":"$.Private.Offers[1].OfferDetail","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"account-selection2"},"responseMappings":[{"bindingPath":"$.Products[0].ProductDetail.RegulatoryCompliance","targetJsonPath":"$.Products[0].OfferDetail.RegulatoryCompliance"},{"bindingPath":"$.Products[0].ProductDetail.AccountSubtype","targetJsonPath":"$.Products[0].ProductDetail.ProductCode"},{"bindingPath":"$.Private.Offers[0].OfferDetail.ProductName","targetJsonPath":"$.Products[0].OfferDetail.ProductName"},{"bindingPath":"$.Private.Offers[0].OfferDetail","targetJsonPath":"$.Products[0].OfferDetail"},{"targetJsonPath":"$.Private.AddSecondAccount","value":"Yes"},{"targetJsonPath":"$.Private.SecondAccount.HasRefreshed","value":"No"}]}]},{"conditions":[{"targetJsonPath":"$.Private.AddSecondAccount","targetValue":"Yes"}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"account-selection2"}}]}],"id":"add-account-modal","modalOptions":{"modalSize":"extra-large"},"navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"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 add 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"}]},{"commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Offers[0].OfferDetail.AdditionalProducts[0]","targetValue":"savings"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Products[0].ProductDetail.RegulatoryCompliance","targetJsonPath":"$.Private.AdditionalProductDetails[0].RegulatoryCompliance"}]}]},{"conditions":[{"operator":"Contains","targetJsonPath":"$.Private.Offers[0].OfferDetail.AdditionalProducts[0]","targetValue":["rrspvariablesav","tfsavariablesav"]}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Products[0].ProductDetail.RegulatoryCompliance","targetJsonPath":"$.Private.AdditionalProductDetails[0].RegulatoryCompliance"},{"bindingPath":"$.Products[0].ProductDetail.BeneficiaryDesignations","targetJsonPath":"$.Private.AdditionalProductDetails[0].BeneficiaryDesignations"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Offers[0].OfferDetail.AdditionalProducts[1]","targetValue":"savings"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Products[0].ProductDetail.RegulatoryCompliance","targetJsonPath":"$.Private.AdditionalProductDetails[1].RegulatoryCompliance"}]}]},{"conditions":[{"operator":"Contains","targetJsonPath":"$.Private.Offers[0].OfferDetail.AdditionalProducts[1]","targetValue":["rrspvariablesav","tfsavariablesav"]}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Products[0].ProductDetail.RegulatoryCompliance","targetJsonPath":"$.Private.AdditionalProductDetails[1].RegulatoryCompliance"},{"bindingPath":"$.Products[0].ProductDetail.BeneficiaryDesignations","targetJsonPath":"$.Private.AdditionalProductDetails[1].BeneficiaryDesignations"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Offers[1].OfferDetail.AdditionalProducts[0]","targetValue":"savings"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Products[1].ProductDetail.RegulatoryCompliance","targetJsonPath":"$.Private.AdditionalProductDetails[2].RegulatoryCompliance"}]}]},{"conditions":[{"operator":"Contains","targetJsonPath":"$.Private.Offers[1].OfferDetail.AdditionalProducts[0]","targetValue":["rrspvariablesav","tfsavariablesav"]}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Products[1].ProductDetail.RegulatoryCompliance","targetJsonPath":"$.Private.AdditionalProductDetails[2].RegulatoryCompliance"},{"bindingPath":"$.Products[1].ProductDetail.BeneficiaryDesignations","targetJsonPath":"$.Private.AdditionalProductDetails[2].BeneficiaryDesignations"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Offers[1].OfferDetail.AdditionalProducts[1]","targetValue":"savings"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Products[1].ProductDetail.RegulatoryCompliance","targetJsonPath":"$.Private.AdditionalProductDetails[3].RegulatoryCompliance"}]}]},{"conditions":[{"operator":"Contains","targetJsonPath":"$.Private.Offers[1].OfferDetail.AdditionalProducts[1]","targetValue":["rrspvariablesav","tfsavariablesav"]}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"bindingPath":"$.Products[1].ProductDetail.RegulatoryCompliance","targetJsonPath":"$.Private.AdditionalProductDetails[3].RegulatoryCompliance"},{"bindingPath":"$.Products[1].ProductDetail.BeneficiaryDesignations","targetJsonPath":"$.Private.AdditionalProductDetails[3].BeneficiaryDesignations"}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"}}]}],"hasBackButton":false,"hasNextButton":false,"id":"add-additional-details","modalOptions":{"isDismissible":false},"navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"nextPageId":"add-additional-products1"},"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":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"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]"},{"responseJsonPath":"$.OfferId","targetJsonPath":"$.Private.AllOffers[0]"}],"statusCode":201}]},{"allConditionsMustBeMet":true,"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]"},{"responseJsonPath":"$.OfferId","targetJsonPath":"$.Private.AllOffers[1]"}],"statusCode":201}]},{"body":[{"valueJsonPath":"$.Private.MemberShare[0]"}],"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"},{"targetJsonPath":"$.Private.MemberShare[0].ProductId","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products","httpMethod":"POST","onSuccess":[{"parameterName":"$.ProductId","responseMappings":[{"responseJsonPath":"$.ProductId","targetJsonPath":"$.Private.MemberShare[0].ProductId"}],"statusCode":201}]},{"body":[{"valueJsonPath":"$.Private.MemberShare[1]"}],"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"},{"targetJsonPath":"$.Private.MemberShare[1].ProductId","targetValue":""},{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products","httpMethod":"POST","onSuccess":[{"parameterName":"$.ProductId","responseMappings":[{"responseJsonPath":"$.ProductId","targetJsonPath":"$.Private.MemberShare[1].ProductId"}],"statusCode":201}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"}}]}],"hasBackButton":false,"hasNextButton":false,"id":"add-products","modalOptions":{"isDismissible":false},"navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"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":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"conditions":[{"targetJsonPath":"$.Products[0].ProductRoles.Code","targetValue":""},{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"PersonalChequing"},{"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":"$.Products[0].ProductType.Code","targetValue":"PersonalChequing"},{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Products[0].ProductId}/roles/JointAccountHolder/assignments/{$.Customers[1].CustomerId}","httpMethod":"POST","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[0].ProductRoles.Code","value":"JointAccountHolder"}],"statusCode":204}]},{"conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"PersonalSavings"},{"targetJsonPath":"$.Products[0].ProductId","targetValue":"*"},{"targetJsonPath":"$.Products[0].ProductRoles.Code","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Products[0].ProductId}/roles/PrimaryAccountHolder/assignments/{$.Customers[0].CustomerId}","httpMethod":"POST","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[0].ProductRoles.Code","value":"PrimaryAccountHolder"}],"statusCode":204}]},{"conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"PersonalSavings"},{"targetJsonPath":"$.Products[0].ProductId","targetValue":"*"},{"targetJsonPath":"$.Products[0].ProductRoles.Code","targetValue":""},{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Products[0].ProductId}/roles/JointAccountHolder/assignments/{$.Customers[1].CustomerId}","httpMethod":"POST","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[0].ProductRoles.Code","value":"JointAccountHolder"}],"statusCode":204}]},{"conditions":[{"targetJsonPath":"$.Products[0].ProductType.Code","targetValue":"PersonalTerm"},{"targetJsonPath":"$.Products[0].ProductId","targetValue":"*"},{"targetJsonPath":"$.Products[0].ProductRoles.Code","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Products[0].ProductId}/roles/PrimaryAccountHolder/assignments/{$.Customers[0].CustomerId}","httpMethod":"POST","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[0].ProductRoles.Code","value":"PrimaryAccountHolder"}],"statusCode":204}]},{"conditions":[{"targetJsonPath":"$.Private.Offers[0].OfferDetail.IsPersonalTerm","targetValue":true},{"targetJsonPath":"$.Products[0].ProductId","targetValue":"*"},{"targetJsonPath":"$.Products[0].ProductRoles.Code","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Products[0].ProductId}/roles/PrimaryAccountHolder/assignments/{$.Customers[0].CustomerId}","httpMethod":"POST","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[0].ProductRoles.Code","value":"PrimaryAccountHolder"}],"statusCode":204}]},{"conditions":[{"targetJsonPath":"$.Private.Offers[0].OfferDetail.IsPersonalTerm","targetValue":true},{"targetJsonPath":"$.Products[0].ProductId","targetValue":"*"},{"targetJsonPath":"$.Products[0].ProductRoles.Code","targetValue":""},{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Products[0].ProductId}/roles/JointAccountHolder/assignments/{$.Customers[1].CustomerId}","httpMethod":"POST","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[0].ProductRoles.Code","value":"JointAccountHolder"}],"statusCode":204}]},{"conditions":[{"targetJsonPath":"$.Products[1].ProductType.Code","targetValue":"PersonalChequing"},{"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].ProductType.Code","targetValue":"PersonalChequing"},{"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":[{"responseMappings":[{"targetJsonPath":"$.Products[1].ProductRoles.Code","value":"JointAccountHolder"}],"statusCode":204}]},{"conditions":[{"targetJsonPath":"$.Products[1].ProductType.Code","targetValue":"PersonalSavings"},{"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].ProductType.Code","targetValue":"PersonalSavings"},{"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":[{"responseMappings":[{"targetJsonPath":"$.Products[1].ProductRoles.Code","value":"JointAccountHolder"}],"statusCode":204}]},{"conditions":[{"targetJsonPath":"$.Products[1].ProductType.Code","targetValue":"PersonalTerm"},{"targetJsonPath":"$.Products[1].ProductId","targetValue":"*"},{"targetJsonPath":"$.Products[1].ProductRoles.Code","targetValue":""}],"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].ProductType.Code","targetValue":"PersonalTerm"},{"targetJsonPath":"$.Products[1].ProductId","targetValue":"*"},{"targetJsonPath":"$.Products[1].ProductRoles.Code","targetValue":""},{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Products[1].ProductId}/roles/JointAccountHolder/assignments/{$.Customers[1].CustomerId}","httpMethod":"POST","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[1].ProductRoles.Code","value":"JointAccountHolder"}],"statusCode":204}]},{"conditions":[{"targetJsonPath":"$.Private.Offers[1].OfferDetail.IsPersonalTerm","targetValue":true},{"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":"$.Private.Offers[1].OfferDetail.IsPersonalTerm","targetValue":true},{"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":[{"responseMappings":[{"targetJsonPath":"$.Products[1].ProductRoles.Code","value":"JointAccountHolder"}],"statusCode":204}]},{"conditions":[{"targetJsonPath":"$.Private.AdditionalProducts[0]","targetValue":"*"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Private.AdditionalProducts[0]}/roles/PrimaryAccountHolder/assignments/{$.Customers[0].CustomerId}","httpMethod":"POST"},{"conditions":[{"targetJsonPath":"$.Private.AdditionalProducts[1]","targetValue":"*"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Private.AdditionalProducts[1]}/roles/PrimaryAccountHolder/assignments/{$.Customers[0].CustomerId}","httpMethod":"POST"},{"conditions":[{"targetJsonPath":"$.Private.AdditionalProducts[2]","targetValue":"*"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Private.AdditionalProducts[2]}/roles/PrimaryAccountHolder/assignments/{$.Customers[0].CustomerId}","httpMethod":"POST"},{"conditions":[{"targetJsonPath":"$.Private.AdditionalProducts[3]","targetValue":"*"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Private.AdditionalProducts[3]}/roles/PrimaryAccountHolder/assignments/{$.Customers[0].CustomerId}","httpMethod":"POST"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"},{"targetJsonPath":"$.Private.MemberShare[0].ProductId","targetValue":"*"},{"targetJsonPath":"$.Customers[0].CustomerId","targetValue":"*"},{"targetJsonPath":"$.Private.MemberShare[0].ProductRoles.Code","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Private.MemberShare[0].ProductId}/roles/PrimaryShareOwner/assignments/{$.Customers[0].CustomerId}","httpMethod":"POST","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.MemberShare[0].ProductRoles.Code","value":"PrimaryShareOwner"}],"statusCode":204}]},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"},{"targetJsonPath":"$.Private.MemberShare[0].ProductId","targetValue":"*"},{"targetJsonPath":"$.Customers[1].CustomerId","targetValue":"*"},{"targetJsonPath":"$.Private.MemberShare[0].ProductRoles.Code","targetValue":""},{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Private.MemberShare[0].ProductId}/roles/JointShareOwner/assignments/{$.Customers[1].CustomerId}","httpMethod":"POST","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.MemberShare[0].ProductRoles.Code","value":"JointShareOwner"}],"statusCode":204}]},{"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"},{"targetJsonPath":"$.Private.MemberShare[1].ProductId","targetValue":"*"},{"targetJsonPath":"$.Customers[1].CustomerId","targetValue":"*"},{"targetJsonPath":"$.Private.MemberShare[1].ProductRoles.Code","targetValue":""},{"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Private.MemberShare[1].ProductId}/roles/PrimaryShareOwner/assignments/{$.Customers[1].CustomerId}","httpMethod":"POST","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.MemberShare[1].ProductRoles.Code","value":"PrimaryShareOwner"}],"statusCode":204}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"}}]}],"hasBackButton":false,"hasNextButton":false,"id":"assign-products","modalOptions":{"isDismissible":false},"navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"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..."}]},{"hasBackButton":false,"hasNextButton":false,"id":"complete","modalOptions":{"isDismissible":false,"modalSize":"medium"},"navigation":{"nextPageId":""},"pageMode":"Modal","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":6,"sections":[{"columns":2,"controls":[{"columnOverride":1,"controlType":"HTML","customClasses":"mt-0 text-left","description":"Your electronic transfer is on its way. Please allow up to 5 business days for the funds to appear in your new Assiniboine Credit Union account.","id":"description-1"},{"buttonAction":"Click","buttonSettings":{"commandsOnClick":[{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"approved"}}]}]},"columnOverride":1,"controlType":"Button","customClasses":"block mt-5 text-center","id":"complete-close-button","label":"Close"}],"customClasses":"text-center","description":"<h1>Success! Your electronic transfer has been initiated.</h1>","id":"complete-details","width":"Medium"}]},{"commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"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":[{"conditions":[{"targetJsonPath":"$.Private.EnableSMSTemporarily","targetValue":"No"}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetJsonPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Otp"}]}]},{"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":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetJsonPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"},{"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":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"nextPageId":"branch-selection"},"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":"We have texted a verification code to your mobile phone number. Once you have received it, please enter the code below to continue your application. <br/><br/>If you do not receive a code within a minute or two please click resend code below and we will send you another code.","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","customValidationMessages":{"minLength":"The minimum length is 6","required":"Please enter a valid code as this field is required"},"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":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"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":"review"},"parameterName":"$.NonApprovedDecisioningDepartmentId","parameterValue":"FraudPrevention","responseMappings":[{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.ApplicationStatus.Code"}],"statusCode":200},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"review"},"parameterName":"$.NonApprovedDecisioningDepartmentId","parameterValue":"CreditRating","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":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"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..."}]},{"commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"conditions":[{"targetJsonPath":"$.Products.length","targetValue":2}],"dataBindings":[{"targetJsonPath":"$.Private.SelectedProducts[0]"}],"onSuccess":[{"responseMappings":[{"bindingPath":"$.Products[0]","targetJsonPath":"$.Private.SelectedProducts[0]"},{"bindingPath":"$.Products[1]","targetJsonPath":"$.Private.SelectedProducts[1]"}]}]},{"conditions":[{"targetJsonPath":"$.Products.length","targetValue":1}],"dataBindings":[{"targetJsonPath":"$.Private.SelectedProducts[0]"}],"onSuccess":[{"responseMappings":[{"bindingPath":"$.Products[0]","targetJsonPath":"$.Private.SelectedProducts[0]"}]}]},{"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$.Customers[0].CustomerId","targetJsonPath":"$.Customers[0].CustomerId"},{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.ApplicationStatus.Code"},{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"}]}]},{"conditions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/current","httpMethod":"GET","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"decision-modal-final"},"parameterName":"$.StageStatus.Code","parameterValue":"Completed","responseMappings":[{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"idv-details"},"parameterName":"$.OutputParameters.CurrentStepName","parameterValue":"UserConsent","responseMappings":[{"responseJsonPath":"$.OutputParameters.InputCorrelationId","targetJsonPath":"$.Private.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"},{"targetJsonPath":"$.Private.IdentityCheck.RefreshOnce","value":false}]},{"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[?(@.SigningStatus == 'Started')].SigningStatus","targetJsonPath":"$.Private.Customers[0].CustomerSessions.SigningStatus"},{"responseJsonPath":"$.OutputParameters.CustomerSessions[?(@.SigningStatus == 'Started')].SigningUrl","targetJsonPath":"$.Private.Customers[0].CustomerSessions.SigningUrl"},{"responseJsonPath":"$.OutputParameters.CustomerSessions[?(@.SigningStatus == 'Started')].SessionToken","targetJsonPath":"$.Private.Customers[0].CustomerSessions.SessionToken"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"decision-modal-final"},"parameterName":"$.StageStatus.Code","parameterValue":"PendingReview"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"declined"},"parameterName":"$.StageStatus.Code","parameterValue":"Faulted"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"declined"},"parameterName":"$.StageStatus.Code","parameterValue":"Canceled"},{"parameterName":"$.StageStatus.Code","parameterValue":"Processing","responseMappings":[{"responseJsonPath":"$.OutputParameters.ApplicationStatus","targetJsonPath":"$.ApplicationStatus.Code"}]},{"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"}]}],"pollIntervalMS":5000},{"conditions":[{"targetJsonPath":"$.Products.length","targetValue":1}],"dataBindings":[{"targetJsonPath":"$.Private.SelectedProducts[0]"}],"onSuccess":[{"responseMappings":[{"bindingPath":"$.Products[0]","targetJsonPath":"$.Private.SelectedProducts[0]"}]}]}],"hasBackButton":false,"hasNextButton":false,"id":"decision-modal-status","modalOptions":{"isDismissible":false},"navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"nextPageId":"preload-approved-modal"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"conditions":[{"targetJsonPath":"$.Private.Resume.Cid","targetValue":""}],"customClasses":"p-3 box-shadow-none text-center","disclaimerText":"Sit tight. This should only take a moment.","icon":"fal fa-credit-card-front fa-fade","id":"awaiting-results","title":"Processing your application..."},{"conditions":[{"targetJsonPath":"$.Private.Resume.Cid","targetValue":"*"}],"customClasses":"p-3 box-shadow-none text-center","disclaimerText":"Sit tight. This should only take a moment.","icon":"fal fa-credit-card-front fa-fade","id":"awaiting-results","title":"Getting things ready..."}]},{"commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"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":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"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..."}]},{"commandsOnSubmit":[{"body":[{"valueJsonPath":"$.ApplicationType.Code"},{"valueJsonPath":"$.ApplicationDetail"}],"conditions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications","httpMethod":"POST","onSuccess":[{"createDataModelAtPath":"$","navigationAction":{"navigationType":"NavigateToPage","pageId":"account-selection1"},"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"},{"targetJsonPath":"$.Private.AddJointApplicant","value":"No"},{"targetJsonPath":"$.Private.FirstAccount.HasRefreshed","value":"No"}],"statusCode":201}]}],"hasBackButton":false,"hasNextButton":false,"id":"declarations-modal","modalOptions":{"modalSize":"extra-large","waitForCommands":true},"navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"nextPageId":"account-selection1"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"columns":2,"controls":[{"columnOverride":1,"controlType":"HTML","customClasses":"mb-0","description":"Please click the checkboxes to confirm you have read and understood the declarations listed below.","id":"declarationTitle"},{"columnOverride":1,"controlType":"HTML","customClasses":"mb-0 h-auto","description":"<div><p>I confirm that:</p><ul class='mb-0'><li>I am a resident of Manitoba, Canada.</li><li>I am at least 18 years old.</li><li>I am not opening this account on behalf of a third party.</li><li>I understand and consent that my information will be used by our trusted partners to verify my identity.</li></ul></div>","id":"declarationList"},{"columnOverride":1,"controlType":"Divider","id":"divider1"},{"bindingPath":"$.Customers[0].CustomerDetail.CustomerAgreements.DeclarationAgreementStatus.Code","checkboxSettings":{"checkedRequired":true,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"controlType":"Input","id":"declarationCheckbox","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","label":"I confirm that I have read and agree to the <a href=\"https://www.acu.ca/en/privacy\" target=\"_blank\">Privacy Policy</a> and <a href=\"https://cdn.prod.thirdstream.ca/assiniboine/cumulus/Terms-and-Conditions.pdf\" target=\"_blank\">Terms and Conditions.</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","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.acu.ca/en/privacy\" 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"},{"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-section","template":"Default","textAlignment":"text-left","title":"Declarations"}]},{"commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"conditions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"}],"delayIntervalMS":4000,"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":"approved"},"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":"idv-error"},"parameterName":"$.StageStatus.Code","parameterValue":"Canceled"},{"parameterName":"$.StageStatus.Code","parameterValue":"Processing","responseMappings":[{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"},{"responseJsonPath":"$.OutputParameters.ApplicationStatus","targetJsonPath":"$.ApplicationStatus.Code"}]},{"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"},{"targetJsonPath":"$.Private.IdentityCheck.RefreshOnce","value":false}]}],"pollIntervalMS":5000}],"hasBackButton":false,"hasNextButton":false,"id":"idv-modal-processing","modalOptions":{"isDismissible":false},"navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"nextPageId":"approved"},"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"}]},{"commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"body":[{"parameterName":"ConsentGranted","parameterValue":true},{"parameterName":"SendInvitation","parameterValue":true},{"parameterName":"InvitationAddress","valueJsonPath":"$.Private.Customers[0].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.Customers[1].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":6000,"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":"idv-error"},"parameterName":"$.StageStatus.Code","parameterValue":"Canceled"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"idv-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"}]}],"pollIntervalMS":5000}],"hasBackButton":false,"hasNextButton":false,"id":"idv-modal-status","modalOptions":{"isDismissible":false},"navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"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 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":"timeout-error"}}],"customClasses":"p-3 box-shadow-none text-center","hideSkeleton":true,"icon":"fal fa-fingerprint fa-fade","id":"awaiting-results","title":"Verify your identity"}]},{"hasBackButton":false,"hasNextButton":false,"id":"interac-modal","modalOptions":{"isDismissible":false,"modalSize":"medium"},"pageMode":"Modal","pageTemplate":"Form","pageWidth":"Large","sections":[{"columns":1,"controls":[{"controlType":"HTML","description":"<p>To fund your new Assiniboine Credit Union account using an Interac e-Transfer please complete the following steps: </p><p>Step 1</p><p>Log into your existing bank account and initiate an Interac Transfer to yourself (if you currently have your e-transfer set to auto deposit, you may need to disable before sending the e-transfer, so the funds can be deposited into your new Assiniboine Credit Union account.) </p><p></p>Step 2<p>Once you receive the email or text notification for the Interac transfer you initiated, select Assiniboine Credit Union as the institution you want to make the deposit to and then select your new Assiniboine Credit Union account to complete the transfer.</p>","id":"text1"},{"columnOverride":1,"controlType":"Divider","customClasses":"my-5","id":"divider2"},{"buttonAction":"CloseModal","buttonSettings":{"isOutline":true},"controlType":"Button","id":"close-modal-button","label":"Close"}],"customClasses":"box-shadow-none p-0","id":"interac-div","textAlignment":"text-left","title":"Interac"}]},{"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":"NavigateToPage","pageId":"joint-declarations-modal"},"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":"$.Private.AddJointApplicant","targetValue":"No"},{"targetJsonPath":"$.Customers[1].CustomerId","targetValue":"*"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[1].CustomerId}","httpMethod":"DELETE","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"targetJsonPath":"$.Customers[1]"},{"targetJsonPath":"$.Private.Customers[1]"}]}]}],"hasBackButton":false,"hasNextButton":false,"id":"joint-applicant-modal","modalOptions":{"isDismissible":true,"modalSize":"extra-large"},"navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-declarations-modal"},"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"}],"editConditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"joint-declarations-modal"},"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"Yes"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirmation"},"targetJsonPath":"$.Private.AddJointApplicant","targetValue":"No"}],"nextPageId":"confirmation"},"pageMode":"Modal","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":5,"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":"Back"},{"buttonAction":"Submit","controlType":"Button","customClasses":"float-right","id":"btnNext","label":"Next"}],"customClasses":"box-shadow-none p-0","id":"add-joint-account","textAlignment":"text-left","title":"Add Joint Applicant"}]},{"commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"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":[{"conditions":[{"targetJsonPath":"$.Private.EnableSMSTemporarily","targetValue":"No"}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetJsonPath":"$.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"},{"targetJsonPath":"$.Private.Customers[1].CustomerDetail.Sms.Otp"}]}]},{"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":[{"bindingPath":"$.Private.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetJsonPath":"$.Customers[1].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"},{"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":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"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-result-joint","template":"Hidden"},{"columnOverride":1,"controlType":"HTML","customClasses":"pt-1","description":"We have texted a verification code to your mobile phone number. Once you have received it, please enter the code below to continue your application. <br/><br/>If you do not receive a code within a minute or two please click resend code below and we will send you another code.","id":"otp-html-joint"},{"columnOverride":1,"controlType":"HTML","customClasses":"-mb-2","description":"<label>Mobile code</label>","id":"otp-mobile-label-joint"},{"bindingPath":"$.Private.Customers[1].CustomerDetail.Sms.Otp","bindOnChange":true,"columnOverride":1,"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"minLength":"The minimum length is 6","required":"Please enter a valid code as this field is required"},"id":"otp-mobile-joint","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-error-joint"},{"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-joint"},{"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-timer-joint"},{"columnOverride":1,"controlType":"Divider","customClasses":"-mt-2","id":"divider1-joint"},{"buttonAction":"CloseModal","buttonSettings":{"isOutline":true},"controlType":"Button","id":"close-modal-button-joint","label":"Cancel"},{"buttonAction":"Submit","controlType":"Button","customClasses":"float-right","id":"btnNext-joint","label":"Submit"}],"customClasses":"-mb-3 box-shadow-none p-0","headingSize":"h1","id":"get-code-joint","tagDescription":"<span class='px-2'>Joint</span>","textAlignment":"text-left","title":"Confirm your mobile number."}]},{"hasBackButton":false,"hasNextButton":false,"id":"joint-declarations-modal","modalOptions":{"modalSize":"extra-large","waitForCommands":true},"navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"nextPageId":"joint-personal-information"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"columns":2,"controls":[{"columnOverride":1,"controlType":"HTML","customClasses":"mb-0","description":"Please click the checkboxes to confirm you have read and understood the declarations listed below.","id":"declarationTitle"},{"columnOverride":1,"controlType":"HTML","customClasses":"mb-0 h-auto","description":"<div><p>I confirm that:</p><ul class='mb-0'><li>I am a resident of Manitoba, Canada.</li><li>I am at least 18 years old.</li><li>I am not opening this account on behalf of a third party.</li><li>I understand and consent that my information will be used by our trusted partners to verify my identity.</li></ul></div>","id":"declarationList"},{"columnOverride":1,"controlType":"Divider","id":"divider1"},{"bindingPath":"$.Customers[1].CustomerDetail.CustomerAgreements.DeclarationAgreementStatus.Code","checkboxSettings":{"checkedRequired":true,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"controlType":"Input","id":"declarationCheckbox","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","label":"I confirm that I have read and agree to the <a href=\"https://www.acu.ca/en/privacy\" target=\"_blank\">Privacy Policy</a> and <a href=\"https://cdn.prod.thirdstream.ca/assiniboine/cumulus/Terms-and-Conditions.pdf\" target=\"_blank\">Terms and Conditions</a>.","template":"CheckBox","value":false},{"bindingPath":"$.Customers[1].CustomerDetail.CustomerAgreements.PrivacyPolicy.Code","checkboxSettings":{"checkedRequired":false,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"controlType":"Input","id":"declarationCheckboxSubPrivacy","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.acu.ca/en/privacy\" target=\"_blank\">privacy policy</a>.","template":"CheckBox","value":false},{"columnOverride":1,"conditions":[{"targetJsonPath":"$.Customers[1].CustomerDetail.MemberRegistration.MemberStatus.Code","targetValue":"NewMember"}],"controlType":"Divider","id":"divider1"},{"buttonAction":"CloseModal","buttonSettings":{"isOutline":true},"controlType":"Button","id":"close-modal-button","label":"Cancel"},{"buttonAction":"Submit","controlType":"Button","customClasses":"float-right","id":"btnNext","label":"Next"}],"customClasses":"font-size-90-percent box-shadow-none p-0","headingSize":"h1","id":"declarations-section","tagDescription":"<span class='px-2'>Joint</span>","template":"Default","textAlignment":"text-left","title":"Declarations"}]},{"commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"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"},{"bindingPath":"$..Products[?(@.ProductType.Code == 'PersonalChequing' || @.ProductType.Code == 'PersonalSavings')]","targetJsonPath":"$.FilteredProducts"},{"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[?(@.CustomerId == '{$.Private.Resume.Cid}')].CustomerDetail.FirstName","targetJsonPath":"$.Private.Resume.CustomerFirstName"},{"responseJsonPath":"$.Customers[?(@.CustomerId == '{$.Private.Resume.Cid}')].CustomerDetail.MemberRegistration.MemberNumber","targetJsonPath":"$.Private.Resume.CustomerMemberNumber"},{"responseJsonPath":"$.Customers[?(@.CustomerId == '{$.Private.Resume.Cid}')].CustomerDetail.MemberRegistration.BankCard.CardNumber","targetJsonPath":"$.Private.Resume.BankCardNumber"},{"responseJsonPath":"$.Customers[?(@.CustomerId == '{$.Private.Resume.Cid}')].CustomerDetail.MemberRegistration.MemberStatus.Code","targetJsonPath":"$.Private.Resume.MemberStatusCode"},{"responseJsonPath":"$.Customers[?(@.CustomerId == '{$.Private.Resume.Cid}')].CustomerDetail.MemberRegistration.BankCard.CardNumber","targetJsonPath":"$.Private.Resume.BankCardNumber"}],"statusCode":200}]}],"hasBackButton":false,"hasNextButton":false,"id":"load-application-modal","modalOptions":{"isDismissible":false},"navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"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..."}]},{"commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Overdraft.SetLimit","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"overdraft-payment-confirmation-modal"},"responseMappings":[{"bindingPath":"$.Products[?(@.ProductDetail.OverdraftOffer.OverdraftStatus.Code=='Applied')].ProductDetail.OverdraftOffer.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":[{"allConditionsMustBeMet":true,"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"},{"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.ActionName","value":"UpdateOverdraft"}]}]}],"hasBackButton":false,"hasNextButton":false,"id":"overdraft-payment-confirmation-modal","modalOptions":{"modalSize":"extra-large"},"navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"nextPageId":"approved"},"pageMode":"Modal","pageTemplate":"Form","progressIndicatorNum":7,"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 on your <strong>{$.Private.OverdraftAccounts[0].ProductName}</strong>. Please confirm the details below to complete setting up your overdraft.","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":100,"numberStepperSettings":{"showStepperButtons":true,"stepAmount":100,"stepMode":"currency"},"template":"NumberStepper"},{"bindingPath":"$.Private.Overdraft.PaymentConfirmation.Code","checkboxSettings":{"checkedRequired":true,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"controlType":"Input","customClasses":"my-3","id":"confirmation-checkbox","label":"I have read and agree with the overdraft (<a href=\"https://www.acu.ca/en/personal\" target=\"_blank\">terms & conditions</a>) that outline the interest rate, payback schedule and associated fees.","template":"CheckBox","value":false},{"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":"Cancel"},{"buttonAction":"Submit","controlType":"Button","customClasses":"block text-right","id":"btnNext","label":"Accept"}],"customClasses":"-mb-3 -mt-2 box-shadow-none p-0","headingSize":"h1","id":"payment-confirmation","textAlignment":"text-left","title":"Set up your overdraft"}]},{"commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"body":[{"parameterName":"AcceptedOverdraftAmount","valueJsonPath":"$.Private.OverdraftAcceptance.OverdraftAmount"},{"parameterName":"Action","parameterValue":"UpdateOverdraft"},{"parameterName":"ActionName","parameterValue":"UpdateOverdraft"},{"parameterName":"ActionInputParameters","valueJsonPath":"$.Private.Signatures.ActionInputParameters"}],"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":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"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..."}]},{"commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"endpointUrl":"api/moneytransfers/accounts/{$.Private.Flinks.AccountId}?sessionToken=@btoa({$.Private.Flinks.LoginId})&isExternalSession=true","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$.accountId","targetJsonPath":"$.Private.Flinks.SelectedAccount.AccountId"},{"responseJsonPath":"$.accountName","targetJsonPath":"$.Private.Flinks.SelectedAccount.AccountName"},{"responseJsonPath":"$.currentBalance","targetJsonPath":"$.Private.Flinks.SelectedAccount.CurrentBalance"},{"targetJsonPath":"$.InitialDeposit[0].DepositMethod.Code","value":"ExternalTransfer"},{"responseJsonPath":"$.bankName","targetJsonPath":"$.InitialDeposit[0].ExternalAccount.InstitutionName"},{"responseJsonPath":"$.institutionNumber","targetJsonPath":"$.InitialDeposit[0].ExternalAccount.InstitutionNumber"},{"responseJsonPath":"$.transitNumber","targetJsonPath":"$.InitialDeposit[0].ExternalAccount.TransitNumber"},{"responseJsonPath":"$.accountNumber","targetJsonPath":"$.InitialDeposit[0].ExternalAccount.AccountNumber"},{"targetJsonPath":"$.Private.Flinks.NumberOfAccounts.Code","value":1},{"targetJsonPath":"$.Private.Flinks.NumberOfAccounts.Description","value":1}],"statusCode":200}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.Deposit.ActionInputParameters.Action","value":"AccountDeposit"},{"targetJsonPath":"$.Private.Deposit.ActionInputParameters.ActionName","value":"AccountDeposit"}]}]}],"commandsOnSubmit":[{"body":[{"parameterName":"CustomerId","valueJsonPath":"$.Private.Resume.Cid"},{"parameterName":"ProductId","valueJsonPath":"$.Private.Flinks.ToAccount[0]"},{"parameterName":"Action","parameterValue":"AccountDeposit"},{"parameterName":"ActionName","parameterValue":"AccountDeposit"},{"parameterName":"ActionInputParameters","valueJsonPath":"$.Private.Deposit.ActionInputParameters"},{"parameterName":"InitialDeposit","valueJsonPath":"$.InitialDeposit[0]"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/finalize/input","httpMethod":"PUT","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"complete"},"responseMappings":[{"targetJsonPath":"$.Private.Resume.isFunded","value":true}],"statusCode":200}]}],"hasBackButton":false,"hasNextButton":false,"id":"payment-confirmation-modal","modalOptions":{"modalSize":"extra-large"},"navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"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-4","id":"divider-2"},{"bindOnChange":true,"controlType":"HTML","customClasses":"mb-3","description":"<strong>{$.Private.Flinks.SelectedAccount.AccountName} (${$.Private.Flinks.SelectedAccount.CurrentBalance})</strong>","id":"from-account"},{"bindingPath":"$.InitialDeposit[0].DepositAmount","columnOverride":1,"controlType":"Input","customValidationMessages":{"minValue":"Please ensure the amount entered is at least $25"},"enabled":true,"iconLeft":"fal fa-dollar-sign","id":"amount1","inputMode":"Required","keyboardType":"Phone","label":"Amount to transfer","maxValuePath":"$.Private.Flinks.SelectedAccount.CurrentBalance","minValue":25,"regexMessage":"You may only enter numbers","regexPattern":"^[0-9]*$","template":"Integer"},{"bindingPath":"$.Private.Flinks.ToAccount[0]","bindOnChange":true,"columnOverride":1,"controlOptions":{"optionsJsonPath":"$.FilteredProducts"},"controlType":"Input","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,"conditions":[{"targetJsonPath":"$.Private.Flinks.NumberOfAccounts.Code","targetValue":"*"}],"controlType":"Input","customClasses":"my-4","id":"confirmation-checkbox","label":"I agree with the transfer <a href=\"https://cdn.prod.thirdstream.ca/assiniboine/cumulus/Terms-and-Conditions.pdf\" target=\"_blank\">terms & conditions</a>.","template":"CheckBox","value":false},{"columnOverride":1,"controlType":"Divider","customClasses":"mb-5 mt-0","id":"divider-2"},{"buttonAction":"CloseModal","buttonSettings":{"isOutline":true},"controlType":"Button","customClasses":"block mt-5","id":"btnCancel","label":"Cancel"},{"buttonAction":"Submit","controlType":"Button","customClasses":"block mt-5 float-right","id":"btnNext","label":"Next"}],"description":"Please complete the fields below to finalize your transfer.","headingSize":"h1","id":"payment-confirmation","textAlignment":"text-left","title":"Confirm Your Transfer"}]},{"commandsOnLoad":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"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":"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":"$.Products","targetJsonPath":"$.Products"},{"bindingPath":"$.Products[?(@.ProductType.Code == 'PersonalChequing'||@.ProductType.Code == 'PersonalSavings')]","targetJsonPath":"$.FilteredProducts"},{"responseJsonPath":"$.Customers","targetJsonPath":"$.Customers"},{"bindingPath":"$.Customers","targetJsonPath":"$.Private.FilteredCustomers"},{"bindingPath":"$.Private.FilteredCustomers[0].CustomerName","targetJsonPath":"$.Private.FilteredCustomers[0].ApplicantName"},{"bindingMultiPath":["$.Private.FilteredCustomers[1].CustomerName","$.Private.FilteredCustomers[0].CustomerName"],"bindingMultiPathSplitValue":" & ","targetJsonPath":"$.Private.FilteredCustomers[1].ApplicantName"},{"responseJsonPath":"$.Customers[0].CustomerDetail.FirstName","targetJsonPath":"$.Customers[0].CustomerDetail.FirstName"},{"responseJsonPath":"$.Customers[0].CustomerDetail.LastName","targetJsonPath":"$.Customers[0].CustomerDetail.LastName"},{"responseJsonPath":"$.Customers[0].CustomerDetail.PreferredName","targetJsonPath":"$.Customers[0].CustomerDetail.PreferredName"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName","value":""},{"responseJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code","targetJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.MemberStatus.Code"}],"statusCode":200}]},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.PreferredName","targetValue":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"approved"},"responseMappings":[{"bindingPath":"$.Customers[0].CustomerDetail.FirstName","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName"},{"targetJsonPath":"$.Private.ApplicationStatus.Code","value":""}]}]},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.PreferredName","targetValue":"*"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName","targetValue":""}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"approved"},"responseMappings":[{"bindingPath":"$.Customers[0].CustomerDetail.PreferredName","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PreferredName"},{"targetJsonPath":"$.Private.ApplicationStatus.Code","value":""}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"approved"}}]}],"hasBackButton":false,"hasNextButton":false,"id":"preload-approved-modal","modalOptions":{"isDismissible":false},"navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"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":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"conditions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"}],"delayIntervalMS":10000,"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":[{"targetJsonPath":"$.Private.OverdraftAccepted","value":"Yes"},{"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":5000}],"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":[{"endpointUrl":"api/staticdata/maintenanceoptions","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$[0]","targetJsonPath":"$.Private.Lists.MaintenanceOptions"}]}]},{"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}]}],"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":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"maintenance"},"targetJsonPath":"$.Private.Lists.MaintenanceOptions.MaintenanceOn","targetValue":true}],"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","customValidationMessages":{"minLength":"The minimum length is 6"},"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 a minute or two 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"}]}],"platform":"Online","progressIndicators":[{"name":"Account"},{"name":"Personal Info"},{"name":"Employment"},{"name":"Branch"},{"name":"Compliance"},{"name":"Joint"},{"name":"Confirmation"},{"name":"Finalize"},{"name":"All Done"}]}