{"pages":[{"description":"<div class='mx-0 sm:mx-8'>We’re currently undergoing maintenance on our online loan application form. We apologize for any inconvenience. Have a question? Give us a call at 1-905-728-5187 or visit our site and we'll be more than happy to help.</div>","hasBackButton":false,"hasNextButton":false,"id":"welcome","navigation":{"nextPageId":"declarations-modal"},"pageMode":"Page","pageTemplate":"Welcome","title":"Under Maintenance"},{"bindOnLoad":[{"convertValueTo":"Boolean","dataTransformation":[{"pattern":"@","replacement":""}],"targetJsonPath":"$.ApplicationDetail.PersonalLoan.IsPaymentFromExisting","value":"@false"},{"convertValueTo":"Boolean","dataTransformation":[{"pattern":"@","replacement":""}],"targetJsonPath":"$.ApplicationDetail.PersonalLoan.IsFundingFromExisting","value":"@false"}],"description":"<div class='mx-0 sm:mx-8'>During the application process, you will be required to provide your Social Insurance Number and either your Canadian Driver’s Licence or Ontario Photo Card for identity verification. You will also need to have a void cheque or direct deposit form handy to complete the required Banking information details.<br><br>Please be advised that this process is available exclusively to new members. If you are an existing Pathwise Credit Union member, we encourage you to contact our office at <a href='tel:1-800-268-8771'>1-800-268-8771</a> to speak with a member of our Financial Services Team or send us an email at <a href='mailto:fsr@pathwise.ca'>fsr@pathwise.ca</a>.<br><br>Upon approval of your Application, a Chequing Account will be created for you to receive the loan proceeds and manage your payments. To activate your Account and to complete your membership, you will be required to purchase Member Shares in the amount of $10.</div>","hasBackButton":false,"hasNextButton":false,"id":"welcome_maintenance","navigation":{"nextPageId":"declarationsModal"},"pageMode":"Page","pageTemplate":"Welcome","sections":[{"controls":[{"buttonAction":"Submit","controlType":"Button","id":"btnGetStarted","label":"Get Started"},{"bindingPath":"$.ApplicationType","controlType":"Input","defaultValue":"PersonalLoan","id":"applicationType","template":"Hidden"},{"bindingPath":"$.Products[0].ProductName","controlType":"Input","defaultValue":"Loan","id":"applicationName","template":"Hidden"},{"bindingPath":"$.Products[1].ProductName","controlType":"Input","defaultValue":"Retail Fixed Rate Loan","id":"applicationNameOne","template":"Hidden"}],"customClasses":"mt-0 mb-0","id":"welcome","width":"Medium"}],"title":"Open a membership and apply for a loan in less than 10 minutes"},{"commandsOnSubmit":[{"body":[{"parameterName":"ApplicationType","valueJsonPath":"$.ApplicationType.Code"},{"parameterName":"ApplicationDetail","valueJsonPath":"$.ApplicationDetail"}],"conditions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications","httpMethod":"POST","onSuccess":[{"createDataModelAtPath":"$","navigationAction":{"navigationType":"NavigateForward"},"parameterName":"$.ApplicationNumber","responseMappings":[{"responseJsonPath":"$.ApplicationNumber","targetJsonPath":"$.ApplicationNumber"},{"responseJsonPath":"$.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":"$.Products[1].ProductType","value":"PersonalChequing"},{"targetJsonPath":"$.Products[1].ProductName","value":"Retail Fixed Rate Loan"},{"targetJsonPath":"$.Products[1].ProductDetail.RegulatoryCompliance.IntendedUse.Code","value":"Lending Purposes"},{"targetJsonPath":"$.Products[1].ProductDetail.RegulatoryCompliance.IntendedUse.Description","value":"To apply for lending services"},{"targetJsonPath":"$.Private.EnableSMSTemporarily","value":"Yes"}],"statusCode":201}]}],"hasBackButton":false,"hasNextButton":false,"id":"declarationsModal","modalOptions":{"modalSize":"extra-large"},"navigation":{"nextPageId":"loan-details"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"columns":2,"controls":[{"columnOverride":1,"controlType":"HTML","customClasses":"mb-4","description":"<ul><li>Everything I will state in my application is true and correct.</li><li>My personal credit history is clear of bankruptcies.</li><li>I consent to my information being used to check my credit and the collection of device-identifying data by trusted partners.</li><li>I confirm that I am of legal age in Ontario and a Canadian resident.</li><li>I have read and agreed to the <a class='text-decoration-none' href=\"https://www.pathwise.ca/assets/pdfs/Copy of 2722 T&C.pdf\" target=\"_blank\">Terms and Conditions</a>.</li><li>I have read and agreed to the <a class='text-decoration-none' href=\"https://www.pathwise.ca/about/about-pathwise/online-policies\" target=\"_blank\">Privacy Policy</a>.</li><li>I confirm that this loan is not on behalf of a <a class='text-decoration-none' title=\"A third party is an individual or entity who gives direction in dealing with the funds, other than the account holder or those authorized to give instructions about the account. \"  target=\"_blank\">Third Party</a>.</li><li>I certify that I am not a <a class='text-decoration-none'  title=\"A politically exposed person or a head of an international organization 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, mayor) as well as their immediate family (ex. spouse, siblings, children, parents). We are required by law to collect this information.\" target=\"_blank\">Politically Exposed Foreign or Domestic Person</a>, <a class='text-decoration-none'  title=\"A politically exposed person or a head of an international organization 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, mayor) as well as their immediate family (ex. spouse, siblings, children, parents). We are required by law to collect this information.\" confirmation target=\"_blank\">the Head of an International Organization</a>, a <a class='text-decoration-none' title=\"A US person includes both United States residents or United States citizens.\" target=\"_blank\">US Person</a> or a Tax Resident of a country other than the US or Canada.</li></ul>","id":"declarationList1"},{"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},{"columnOverride":1,"controlType":"Divider","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","description":"Please click the checkbox to confirm you have read and understood the declarations listed below.","headingSize":"h1","id":"declarations1","textAlignment":"text-left","title":"Declarations"}]},{"commandsOnSubmit":[{"body":[{"valueJsonPath":"$.Products[0]"}],"conditions":[{"targetJsonPath":"$.Products[0].ProductId","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products","httpMethod":"POST","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"parameterName":"$.ProductId","responseMappings":[{"responseJsonPath":"$.ProductId","targetJsonPath":"$.Products[0].ProductId"},{"responseJsonPath":"$.ProductRoles","targetJsonPath":"$.Products[0].ProductRoles"},{"responseJsonPath":"$.ProductType","targetJsonPath":"$.Products[0].ProductType"},{"responseJsonPath":"$.ProductId","targetJsonPath":"$.Products[0].ProductDetail.DisbursementInstructions.FundingAccount.ProductId"},{"responseJsonPath":"$.ProductId","targetJsonPath":"$.Products[0].ProductDetail.PaymentSchedule.PaymentAccount.ProductId"}],"statusCode":201}]},{"body":[{"valueJsonPath":"$.Products[0].ProductDetail"}],"conditions":[{"targetJsonPath":"$.Products[0].ProductId","targetValue":"*"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Products[0].ProductId}/detail","httpMethod":"PUT","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"statusCode":200}]}],"description":"You can apply for a fixed-rate loan of up to $25,000. If you wish to borrow more than $25,000, simply enter the full amount you're requesting, and one of our advisors will reach out to discuss your application. Please note that the loan amount you are approved for may differ from the amount you requested, based on your creditworthiness.","hasBackButton":false,"hasNextButton":true,"id":"loan-details","navigation":{"nextPageId":"name"},"pageMode":"Page","pageTemplate":"Form","progressIndicatorNum":0,"restrictions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"},{"targetJsonPath":"$.Customers[0].CustomerDetail.CustomerAgreements.DeclarationAgreementStatus.Code","targetValue":"Accepted"}],"sections":[{"controls":[{"bindingPath":"$.Products[0].ProductDetail.CreditRequest.RequestedLimit","bindOnChange":true,"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"minValue":"Please ensure the amount entered is at least $7,500"},"enabled":true,"iconLeft":"fal fa-dollar-sign","id":"amount","inputMode":"Required","keyboardType":"Phone","label":"How much do you want to borrow?","maxLength":6,"maxValue":999999999,"minValue":7500,"regexMessage":"You may only enter numbers","regexPattern":"^[0-9]*$","template":"Integer","value":""},{"conditions":[{"operator":"GreaterThan","targetJsonPath":"$.Products[0].ProductDetail.CreditRequest.RequestedLimit","targetValue":25000}],"controlType":"HelpText","helpIcon":"fa-light fa-circle-info","helpText":"A team member will reach out to you if the amount entered is more than $25,000","id":"helptext"},{"bindingPath":"$.Products[0].ProductDetail.RegulatoryCompliance.IntendedUse.Code","controlOptions":{"options":[{"label":"Car Purchase/Expense","value":"Automotive"},{"label":"Education","value":"Education"},{"label":"Renovations","value":"Renovations"},{"label":"Debt Consolidation","value":"Consolidation"},{"label":"Other","value":"Other"}]},"controlType":"Input","customValidationMessages":{"required":"Please make a selection as this information is required"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.label","labelJsonPath":"$.value","selectedIdJsonPath":"$.Products[0].ProductDetail.RegulatoryCompliance.IntendedUse.Description"},"id":"purpose","inputMode":"Required","label":"What is the purpose of this loan?","placeholder":" ","template":"DropDown"},{"bindingPath":"$.Products[0].ProductDetail.RegulatoryCompliance.IntendedUse.Description","conditions":[{"targetJsonPath":"$.Products[0].ProductDetail.RegulatoryCompliance.IntendedUse.Code","targetValue":"Other"}],"controlType":"Input","customClasses":"pt-2","customValidationMessages":{"required":"Please make a selection as this information is required"},"id":"other","inputMode":"Required","label":"Please enter the purpose for your loan","minLength":3,"placeholder":" ","regexMessage":"This field does not accept input of special characters other than - (hyphen) and ' (apostrophe)","regexPattern":"^[A-Za-z '-]+$","template":"TextBox"},{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranch.Code","controlOptions":{"options":[{"label":"Oshawa Branch","value":1001},{"label":"Bowmanville Branch","value":1002}]},"controlType":"Input","customClasses":"pt-2","customValidationMessages":{"required":"Please make a selection as this information is required"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.label","labelJsonPath":"$.value","selectedIdJsonPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranch.Description"},"id":"branch","inputMode":"Required","label":"Please select your home branch?","placeholder":" ","template":"DropDown"}],"helpIcon":"fa-light fa-circle-info","helpText":["Please note your application may not be approved for the amount you enter. For additional details on branch locations please <a href='https://www.pathwise.ca/branch-atms' target='_blank'>click here</a>."],"id":"details"}],"title":"Tell me about the loan you'd like"},{"commandsOnLoad":[{"body":[{"parameterName":"AccessType","valueJsonPath":"$.Customers[0].AccessType"},{"parameterName":"CustomerType","valueJsonPath":"$.Customers[0].CustomerType"}],"conditions":[{"targetJsonPath":"$.Customers[0].CustomerId","targetValue":""},{"targetJsonPath":"$.ApplicationStatus.Code","targetValue":"Started"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers","httpMethod":"POST","onSuccess":[{"createDataModelAtPath":"$.Customers[0]","parameterName":"$.CustomerId","responseMappings":[{"responseJsonPath":"$.CustomerId","targetJsonPath":"$.Customers[0].CustomerId"},{"responseJsonPath":"$.CustomerType.Code","targetJsonPath":"$.Customers[0].CustomerType.Code"},{"responseJsonPath":"$.AccessType.Code","targetJsonPath":"$.Customers[0].AccessType.Code"},{"targetJsonPath":"$.Customers[0].CustomerDetail.CommunicationPreferences.MarketingConsentStatus.Code","value":"Declined"},{"targetJsonPath":"$.Private.Sin.MemberType","value":"INDIVIDUAL"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","value":""}],"statusCode":201}]}],"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Products[0].ProductId","targetValue":"*"},{"targetJsonPath":"$.Customers[0].CustomerId","targetValue":"*"},{"targetJsonPath":"$.Products[0].ProductRoles.Code","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Products[0].ProductId}/roles/PrimaryBorrower/assignments/{$.Customers[0].CustomerId}","httpMethod":"POST","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"targetJsonPath":"$.Products[0].ProductRoles.Code","value":"PrimaryBorrower"}],"statusCode":204}]}],"hasBackButton":true,"hasNextButton":true,"id":"name","navigation":{"nextPageId":"more-details"},"pageMode":"Page","pageTemplate":"Form","progressIndicatorNum":0,"restrictions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"},{"targetJsonPath":"$.Customers[0].CustomerDetail.CustomerAgreements.DeclarationAgreementStatus.Code","targetValue":"Accepted"},{"targetJsonPath":"$.Private.Customers[0].CurrentStepName","targetValue":""}],"sections":[{"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.FirstName","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter the requested information as it is required"},"id":"firstName","inputMode":"Required","label":"Legal 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"},{"bindingPath":"$.Customers[0].CustomerDetail.MiddleName","controlType":"Input","customClasses":"pb-2","id":"middleName","inputMode":"Optional","label":"Legal 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":"Please enter the requested information as it is required"},"id":"lastName","inputMode":"Required","label":"Legal 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.DateOfBirth","controlType":"Input","customValidationMessages":{"required":"Please enter your date of birth"},"datepickerSettings":{"defaultDate":"1980,1,1","minAge":19},"iconLeft":"fal fa-birthday-cake","id":"dob","inputMode":"Required","label":"Date of Birth","template":"DatePicker"}],"helpIcon":"fa-light fa-circle-info","helpText":["We use this information to verify your identity so please make sure it matches your Ontario Driver's Licence or Ontario Photo Card."],"id":"names"}],"title":"Please enter your full name as it appears on your Ontario Driver's Licence or Ontario photo card"},{"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Private.LastPhoneNumber","targetValueJsonPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"}],"customCommand":"GetCurrentUrl","delayIntervalMS":1,"onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.SMSSent","value":"Yes"}]}]},{"body":[{"valueJsonPath":"$.Private.Sin"}],"conditions":[{"targetJsonPath":"$.Products[0].ProductId","targetValue":"*"}],"endpointUrl":"api/bankingfloor/members/checkexists","httpMethod":"POST","onSuccess":[{"parameterName":"$.IsMatchFound","parameterValue":false,"responseMappings":[{"bindingPath":"$.Private.Sin.TaxInformation.TaxpayerIdentificationNumbers[0].TaxNumber","targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialInsuranceNumber"}],"statusCode":200},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"sin-error"},"parameterName":"$.IsMatchFound","parameterValue":true,"statusCode":200}]},{"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":"$.Customers[0].CustomerDetail.PhoneContacts"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[0].CustomerId}/detail","httpMethod":"PUT","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"statusCode":200}]}],"hasBackButton":true,"hasNextButton":true,"id":"more-details","navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirm-sms"},"operator":"NotEquals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetValueJsonPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"}],"editConditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirm-sms"},"operator":"NotEquals","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetValueJsonPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"}],"nextPageId":"physical-address"},"pageMode":"Page","pageTemplate":"Form","progressIndicatorNum":0,"restrictions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"},{"targetJsonPath":"$.Private.Customers[0].CurrentStepName","targetValue":""}],"sections":[{"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.EmailContacts.Primary.EmailAddress","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"email":"A valid email address is required. Please use the format email@example.com","required":"This information is required"},"iconLeft":"fal fa-envelope","id":"email","inputMode":"Required","keyboardType":"Email","label":"Email","maxLength":100,"regexMessage":"A valid email address is required. Please use the format email@example.com","template":"TextBox"},{"bindingPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"This information is required"},"iconLeft":"fal fa-phone","id":"phoneNumber","inputMask":"(999) 999-9999","inputMode":"Required","keyboardType":"Phone","label":"Mobile Phone #","prependString":"+1","regexMessage":"Invalid mobile phone number","regexPattern":"^(\\d{3}-\\d{3}-\\d{4})|(\\d{10})$","template":"TextBox"},{"bindingPath":"$.Private.Sin.TaxInformation.TaxpayerIdentificationNumbers[0].TaxNumber","controlType":"Input","customClasses":"pb-2","customValidators":[{"errorMessage":"Please enter a valid SIN","validator":"SocialInsuranceNumber"}],"iconLeft":"fal fa-address-card","id":"sinNumber","inputMask":"999-999-999","inputMode":"Required","keyboardType":"Phone","label":"Social Insurance Number","template":"TextBox"}],"id":"more-details"}],"title":"Nice to meet you {$.Customers[0].CustomerDetail.FirstName}!\nLet's learn more about you now."},{"hasBackButton":true,"hasNextButton":true,"id":"physical-address","navigation":{"nextPageId":"where-you-live"},"pageMode":"Page","pageTemplate":"Form","progressIndicatorNum":1,"restrictions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"},{"targetJsonPath":"$.Private.Customers[0].CurrentStepName","targetValue":""}],"sections":[{"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.SameAsAddressType","controlType":"Input","defaultValue":"Home","id":"same-as-address-type","template":"Hidden"},{"addressInputs":{"cityName":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.CityName","controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"cityName","inputMode":"Required","label":"City","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"civicNumber":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.CivicNumber","controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"civicNumber","inputMode":"Required","label":"Street number","maxLength":20,"template":"TextBox"},"country":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.Country.Code","controlOptions":{"options":[{"label":"Canada","value":"CA"},{"label":"United States","value":"US"}]},"controlType":"Input","id":"country","inputMode":"Required","label":"Country","template":"DropDown","value":"CA"},"postalCode":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.PostalCode","controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"postalCode","inputMask":"a9a-9a9","inputMode":"Required","label":"Postal code","regexMessage":"Invalid postal code (eg. A1A-1A1).","regexPattern":"^([A-Za-z]\\d[A-Za-z]\\d[A-Za-z]\\d)$","template":"TextBox","transformStringTo":"Uppercase"},"provinceCode":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.Province.Code","bindOnLoad":true,"controlOptions":{"options":[{"label":"Alberta","value":"AB"},{"label":"British Columbia","value":"BC"},{"label":"Manitoba","value":"MB"},{"label":"New Brunswick","value":"NB"},{"label":"Newfoundland and Labrador","value":"NL"},{"label":"Nova Scotia","value":"NS"},{"label":"Northwest Territories","value":"NT"},{"label":"Nunavut","value":"NU"},{"label":"Ontario","value":"ON"},{"label":"Prince Edward Island","value":"PE"},{"label":"Quebec","value":"QC"},{"label":"Saskatchewan","value":"SK"},{"label":"Yukon","value":"YT"}]},"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"defaultValue":"ON","dropdownSettings":{"bindOnSelect":true},"enabled":false,"id":"provinceCode","inputMode":"Required","label":"Province","placeholder":" ","template":"DropDown"},"streetName":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.StreetName","controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"streetName","inputMode":"Required","label":"Street name","maxLength":50,"regexMessage":"Please select a non-PO box address","regexPattern":"(^((?!PO|po|Po|Box|box).)*$)(^[a-zA-Z0-9 -#]*$)?","template":"TextBox"},"unitNumber":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.UnitNumber","controlType":"Input","id":"unitNumber","inputMode":"Optional","label":"Apt/Unit #","maxLength":20,"template":"TextBox"}},"addressSettings":{"poBoxRestrictionMessage":"Please use a non-PO Box address for your physical address","provinceCode":"ON","resetAddressOnToggleManualyEntry":false,"restrictPoBox":true,"searchSuffix":" ON"},"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.Search","controlType":"Input","customClasses":"mb-3","iconLeft":"fal fa-map-marker-alt","id":"addressSearch","inputMode":"Optional","label":"Search for your address","template":"AddressSearch"}],"helpIcon":"fa-light fa-circle-info","helpText":["Ontario residential addresses only. We do not accept international or PO Boxes. When typing in your address, please select the autofill's suggestions if your address appears. For assistance, please contact our Financial Services Team at 1-800-268-8771 or fsr@pathwise.ca."],"id":"physicalAddress","width":"Medium"}],"title":"What's your current physical home address?"},{"hasBackButton":true,"hasNextButton":true,"id":"where-you-live","navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"mailing-address"},"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.IsMailingAddress","targetValue":"No"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"previous-address"},"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.Duration.MinimumMonthCount","targetValue":0}],"editConditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"mailing-address"},"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.IsMailingAddress","targetValue":"No"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"previous-address"},"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.Duration.MinimumMonthCount","targetValue":0}],"nextPageId":"employment-status"},"pageMode":"Page","pageTemplate":"Form","progressIndicatorNum":1,"sections":[{"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.HousingOccupancy.OccupancyStatus.Code","controlOptions":{"options":[{"description":"Rent","label":"Rent","value":"Rent"},{"description":"Own","label":"Own","value":"Own"},{"description":"Lives with Parents","label":"Lives with Parents","value":"Parents"},{"description":"Other","label":"Other","value":"Other"}]},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter this information as it is a required field"},"dropdownSettings":{"idJsonPath":"$.description","labelJsonPath":"$.value","selectedIdJsonPath":"$.Customers[0].CustomerDetail.HousingOccupancy.OccupancyStatus.Description"},"id":"housing-status","inputMode":"Required","label":"What is your housing status?","placeholder":" ","template":"DropDown"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.IsMailingAddress","controlOptions":{"options":[{"label":"Yes","value":"Yes"},{"label":"No","value":"No"}]},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter this information as it is a required field"},"dropdownSettings":{"bindOnSelect":true},"id":"is-mailing-address","inputMode":"Required","label":"Is this also your mailing address?","placeholder":" ","resetMappingsSettings":[{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.IsMailingAddress","targetValue":"Yes"}],"resetMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail","value":""},{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.SameAsAddressType","value":"Home"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail"}]}],"template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.Duration.MinimumMonthCount","controlOptions":{"options":[{"description":"more than 24 months","label":"Yes","value":24},{"description":"less than 24 months","label":"No","value":0}]},"controlType":"Input","convertValueTo":"Integer","customValidationMessages":{"required":"Please enter this information as it is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.description","labelJsonPath":"$.value","selectedIdJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.Duration.MinimumMonthCount"},"id":"lived-two-years","inputMode":"Required","label":"Have you lived here for more than 24 months?","placeholder":" ","resetMappingsSettings":[{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.Duration.MinimumMonthCount","targetValue":24}],"resetMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous","value":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Previous"}]}],"template":"DropDown"}],"id":"where-you-live"}],"title":"Tell us more about where you live."},{"hasBackButton":true,"hasNextButton":true,"id":"mailing-address","navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"previous-address"},"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.Duration.MinimumMonthCount","targetValue":0}],"editConditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"previous-address"},"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Home.Duration.MinimumMonthCount","targetValue":0}],"nextPageId":"employment-status"},"pageMode":"Page","pageTemplate":"Form","progressIndicatorNum":1,"sections":[{"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.SameAsAddressType","constantValue":"None","controlType":"Input","id":"same-as-address-type","template":"Hidden"},{"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","defaultValue":"STREET","dropdownSettings":{"bindOnSelect":true},"enabled":true,"id":"addressType","inputMode":"Required","label":"Address Type","placeholder":"","template":"DropDown"},"boxNumber":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalBoxNumber","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"}],"controlType":"Input","id":"boxNumber-m","inputMode":"Required","label":"Box #","maxLength":20,"template":"TextBox"},"cityName":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CityName","controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"cityName-m","inputMode":"Required","label":"City","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"civicNumber":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CivicNumber","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":""}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"enable":true,"id":"civicNumber-m","inputMode":"Required","label":"Street number","maxLength":20,"template":"TextBox"},"country":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Country.Code","controlOptions":{"options":[{"label":"Canada","value":"CA"},{"label":"United States","value":"US"}]},"controlType":"Input","id":"country-m","inputMode":"Required","label":"Country","template":"DropDown","value":"CA"},"postalCode":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode","controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"postalCode-m","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.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":"Please enter this information as it is a required field"},"enabled":true,"id":"provinceCode-m","inputMode":"Required","label":"Province","placeholder":" ","template":"DropDown"},"streetName":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.StreetName","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":""}],"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"enable":true,"id":"streetName-m","inputMode":"Required","label":"Street name","maxLength":50,"template":"TextBox"},"unitNumber":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.UnitNumber","conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"STREET"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":""}],"controlType":"Input","enable":true,"id":"unitNumber-m","inputMode":"Optional","label":"Apt/Unit #","maxLength":20,"template":"TextBox"}},"addressSettings":{"forceManualEntry":false,"resetAddressOnToggleManualyEntry":false},"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.Search","controlType":"Input","customClasses":"mb-3","iconLeft":"fal fa-map-marker-alt","id":"addressSearchMailing","inputMode":"Optional","label":"Search for your address","template":"AddressSearch"}],"helpIcon":"fa-light fa-circle-info","helpText":["Ontario residential addresses only. When typing in your address, please select the autofill's suggestions if your address appears. For assistance, please contact our Financial Services Team at 1-800-268-8771 or fsr@pathwise.ca."],"id":"mailingAddress","width":"Medium"}],"title":"What's your current mailing address?"},{"hasBackButton":true,"hasNextButton":true,"id":"previous-address","navigation":{"nextPageId":"employment-status"},"pageMode":"Page","pageTemplate":"Form","progressIndicatorNum":1,"sections":[{"controls":[{"addressInputs":{"cityName":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.CityName","controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"cityName","inputMode":"Required","label":"City","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"civicNumber":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.CivicNumber","controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"civicNumber","inputMode":"Required","label":"Street number","maxLength":20,"template":"TextBox"},"country":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.Country.Code","controlOptions":{"options":[{"label":"Canada","value":"CA"},{"label":"United States","value":"US"}]},"controlType":"Input","id":"country","inputMode":"Required","label":"Country","template":"DropDown","value":"CA"},"postalCode":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.PostalCode","controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"postalCode","inputMask":"a9a-9a9","inputMode":"Required","label":"Postal code","regexMessage":"Invalid postal code (eg. A1A-1A1).","regexPattern":"^([A-Za-z]\\d[A-Za-z]\\d[A-Za-z]\\d)$","template":"TextBox","transformStringTo":"Uppercase"},"provinceCode":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.Province.Code","controlOptions":{"options":[{"label":"Alberta","value":"AB"},{"label":"British Columbia","value":"BC"},{"label":"Manitoba","value":"MB"},{"label":"New Brunswick","value":"NB"},{"label":"Newfoundland and Labrador","value":"NL"},{"label":"Nova Scotia","value":"NS"},{"label":"Northwest Territories","value":"NT"},{"label":"Nunavut","value":"NU"},{"label":"Ontario","value":"ON"},{"label":"Prince Edward Island","value":"PE"},{"label":"Quebec","value":"QC"},{"label":"Saskatchewan","value":"SK"},{"label":"Yukon","value":"YT"}]},"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"enabled":true,"id":"provinceCode","inputMode":"Required","label":"Province","placeholder":" ","template":"DropDown"},"streetName":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.StreetName","controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"streetName","inputMode":"Required","label":"Street name","maxLength":50,"regexMessage":"Please select a non-PO box address","regexPattern":"(^((?!PO|po|Po|Box|box).)*$)(^[a-zA-Z0-9 -#]*$)?","template":"TextBox"},"unitNumber":{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.UnitNumber","controlType":"Input","id":"unitNumber","inputMode":"Optional","label":"Apt/Unit #","maxLength":20,"template":"TextBox"}},"addressSettings":{"forceManualEntry":false,"resetAddressOnToggleManualyEntry":false},"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Previous.Search","controlType":"Input","iconLeft":"fal fa-map-marker-alt","id":"address-search-previous","inputMode":"Optional","label":"Search for your address","template":"AddressSearch"}],"helpIcon":"fa-light fa-circle-info","helpText":["Canadian residential addresses only. We do not accept international or PO Boxes. When typing in your address, please select the autofill's suggestions if your address appears. For assistance, please contact our Financial Services Team at 1-800-268-8771 or fsr@pathwise.ca."],"id":"previous-address","width":"Medium"}],"title":"What was your previous address?"},{"commandsOnSubmit":[{"body":[{"valueJsonPath":"$.Products[1]"}],"conditions":[{"targetJsonPath":"$.Products[1].ProductId","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products","httpMethod":"POST","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"parameterName":"$.ProductId","responseMappings":[{"responseJsonPath":"$.ProductId","targetJsonPath":"$.Products[1].ProductId"},{"targetJsonPath":"$.Products[2].ProductId","value":""},{"targetJsonPath":"$.Products[2].ProductType.Code","value":"MemberShare"},{"targetJsonPath":"$.Products[2].ProductName","value":"Share Account"},{"targetJsonPath":"$.Products[2].ProductDetail.RegulatoryCompliance.IntendedUse.Code","value":"MembershipShares"},{"targetJsonPath":"$.Products[2].ProductDetail.RegulatoryCompliance.IntendedUse.Description","value":"Member Shares"},{"responseJsonPath":"$.ProductId","targetJsonPath":"$.Products[0].ProductDetail.DisbursementInstructions.FundingAccount.ProductId"},{"responseJsonPath":"$.ProductId","targetJsonPath":"$.Products[0].ProductDetail.PaymentSchedule.PaymentAccount.ProductId"}],"statusCode":201}]}],"hasBackButton":true,"hasNextButton":false,"id":"employment-status","navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"employment-details"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"employment-details"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Unemployed"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"employment-details"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Student"}],"editConditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"employment-type"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"employment-type"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"employment-details"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"employment-details"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Unemployed"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"employment-details"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Student"}],"nextPageId":"employment-type"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Max Width","progressIndicatorNum":2,"sections":[{"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","controlOptions":{"options":[{"icon":"fal fa-briefcase","label":"Employed","value":"Employed"},{"icon":"fal fa-laptop-house","label":"Self-Employed","value":"SelfEmployed"},{"icon":"fal fa-newspaper","label":"Unemployed","value":"Unemployed"},{"icon":"fal fa-coffee","label":"Retired","value":"Retired"},{"icon":"fal fa-graduation-cap","label":"Student","value":"Student"}]},"controlType":"Input","customClasses":"card-container","dropdownSettings":{"idJsonPath":"$.value","labelJsonPath":"$.value","selectedIdJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Description"},"id":"employment-status","inputMode":"Required","radioListSettings":{"submitOnSelect":true},"resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.ContractType"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IncomeSource"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IncomeSource.Description"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.GrossIncomeAmount"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.Duration.MinimumMonthCount"}]}],"template":"IconCardList","width":"Max Width"}],"id":"employment-status","width":"Max Width"}],"title":"What is your current employment status?"},{"hasBackButton":true,"hasNextButton":true,"id":"employment-type","navigation":{"editConditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"employment-details"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"employment-details"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"}],"nextPageId":"employment-details"},"pageMode":"Page","pageTemplate":"Form","progressIndicatorNum":2,"sections":[{"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.ContractType.Code","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"}],"controlOptions":{"options":[{"label":"Contractual","value":"Contractual"},{"label":"Permanent","value":"Permanent"},{"label":"Temporary","value":"Temporary"},{"label":"Regular Part Time","value":"PartTime"}]},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please make a selection as this is a required field"},"dropdownSettings":{"idJsonPath":"$.value","labelJsonPath":"$.value","selectedIdJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.ContractType.Description"},"id":"employment-type","inputMode":"Required","label":"Employment Type","placeholder":" ","template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Description","controlOptions":{"descriptionControlId":"industry","onChangeTargetId":"occupation","optionsJsonPath":"$.Private.Lists.Industry"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please make a selection as 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?filter=CategoryCode+eq+{$.Customers[0].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Code}","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Occupation"}],"statusCode":200}]},"selectedIdJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Code"},"id":"industry","inputMode":"Required","label":"Industry","placeholder":" ","template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Description","controlOptions":{"descriptionControlId":"occupation","optionsJsonPath":"$.Private.Lists.Occupation"},"controlType":"Input","customValidationMessages":{"required":"Please make a selection as this is a required field"},"dropdownSettings":{"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Code"},"id":"occupation","inputMode":"Required","label":"Occupation","maxLength":50,"template":"DropDown"}],"id":"employment-type"}],"title":"Tell us about your employment."},{"commandsOnLoad":[{"customCommand":"GenerateGuid","onSuccess":[{"parameterName":"$.Guid","responseMappings":[{"responseJsonPath":"$.Guid","targetJsonPath":"$.Private.Guids.BusinessSearch"}]}]}],"hasBackButton":true,"hasNextButton":true,"id":"employment-details","navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"employment-address"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"previous-employment-status"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.Duration.MinimumMonthCount","targetValue":0}],"editConditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"employment-address"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"previous-employment-status"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.Duration.MinimumMonthCount","targetValue":0}],"nextPageId":"online-banking"},"pageMode":"Page","pageTemplate":"Form","progressIndicatorNum":2,"sections":[{"controls":[{"autocompleteSettings":{"forceSelection":false,"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":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.CivicNumber"},{"responseJsonPath":"$.address.unitNumber","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.UnitNumber"},{"responseJsonPath":"$.address.streetName","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.StreetName"},{"responseJsonPath":"$.address.city","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.CityName"},{"responseJsonPath":"$.address.provinceCode","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Province.Code"},{"responseJsonPath":"$.address.postalCode","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.PostalCode"},{"responseJsonPath":"$.address.countryCode","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Country.Code"},{"responseJsonPath":"$.formattedAddress","targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Search"},{"onChangeTargetId":"work-phone","responseJsonPath":"$.phoneNumber","targetJsonPath":"$.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":"Please enter this information as this is a required field"},"iconLeft":"fal fa-briefcase","id":"employer-name","inputMode":"Required","label":"Employer Name","maxLength":50,"template":"AutoComplete"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.MainPhone.PhoneNumber","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter this information as this is a required field"},"iconLeft":"fal fa-phone","id":"work-phone","inputMask":"(999) 999-9999","inputMode":"Required","keyboardType":"Phone","label":"Work Phone #","prependString":"+1","regexPattern":"^(\\d{3}-\\d{3}-\\d{4})|(\\d{10})$","template":"TextBox"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.GrossIncomeAmount","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter this information as this is a required field"},"enabled":true,"iconLeft":"fal fa-dollar-sign","id":"gross-income","inputMode":"Required","keyboardType":"Phone","label":"Current monthly gross income","maxLength":6,"maxValue":999999,"minValue":0,"regexMessage":"You may only enter numbers","regexPattern":"^[0-9]*$","template":"Integer"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.GrossIncomeAmount","bindOnChange":true,"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Student"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Unemployed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter this information as this is a required field"},"enabled":true,"iconLeft":"fal fa-dollar-sign","id":"gross-income-r","inputMode":"Required","keyboardType":"Phone","label":"Current monthly gross income","maxLength":6,"maxValue":999999,"minValue":0,"regexMessage":"You may only enter numbers","regexPattern":"^[0-9]*$","template":"Integer"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IncomeSource.Description","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Student"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Unemployed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"}],"controlType":"Input","id":"income-sources-r","inputMode":"Optional","inputModeConditions":[{"conditions":[{"operator":"GreaterThan","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.GrossIncomeAmount","targetValue":0}],"defaultInputMode":"Optional","inputMode":"Required"}],"label":"Income Sources","placeholder":" ","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.EmploymentRecords.Current.Duration.MinimumMonthCount","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"SelfEmployed"}],"controlOptions":{"options":[{"description":"more than 24 months","label":"Yes","value":24},{"description":"less than 24 months","label":"No","value":0}]},"controlType":"Input","convertValueTo":"Integer","customValidationMessages":{"required":"Please make a selection as this is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.description","labelJsonPath":"$.value","selectedIdJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.Duration.MinimumMonthCount"},"id":"worked-two-years","inputMode":"Required","label":"Have you been at this job for 24 months or longer?","placeholder":" ","template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.Duration.MinimumMonthCount","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Student"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Unemployed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code","targetValue":"Retired"}],"controlOptions":{"options":[{"description":"more than 24 months","label":"Yes","value":24},{"description":"less than 24 months","label":"No","value":0}]},"controlType":"Input","convertValueTo":"Integer","customValidationMessages":{"required":"Please make a selection as this is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.description","labelJsonPath":"$.value","selectedIdJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.Duration.MinimumMonthCountStatus"},"id":"status-two-years","inputMode":"Required","label":"Have this been your status for 24 months or longer?","placeholder":" ","template":"DropDown"}],"id":"employment-details"}],"title":"Just a couple more details."},{"hasBackButton":true,"hasNextButton":true,"id":"employment-address","navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"previous-employment-status"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.Duration.MinimumMonthCount","targetValue":0}],"editConditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"previous-employment-status"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.Duration.MinimumMonthCount","targetValue":0}],"nextPageId":"online-banking"},"pageMode":"Page","pageTemplate":"Form","progressIndicatorNum":1,"sections":[{"controls":[{"addressInputs":{"cityName":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.CityName","controlType":"Input","customValidationMessages":{"required":"Please enter this information as this is a required field"},"id":"cityName","inputMode":"Required","label":"City","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"civicNumber":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.CivicNumber","controlType":"Input","customValidationMessages":{"required":"Please enter this information as this is a required field"},"id":"civicNumber","inputMode":"Required","label":"Street number","maxLength":20,"template":"TextBox"},"country":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Country.Code","controlOptions":{"options":[{"label":"Canada","value":"CA"},{"label":"United States","value":"US"}]},"controlType":"Input","id":"country","inputMode":"Required","label":"Country","template":"DropDown","value":"CA"},"postalCode":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.PostalCode","controlType":"Input","customValidationMessages":{"required":"Please enter this information as 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.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Province.Code","controlOptions":{"options":[{"label":"Alberta","value":"AB"},{"label":"British Columbia","value":"BC"},{"label":"Manitoba","value":"MB"},{"label":"New Brunswick","value":"NB"},{"label":"Newfoundland and Labrador","value":"NL"},{"label":"Nova Scotia","value":"NS"},{"label":"Northwest Territories","value":"NT"},{"label":"Nunavut","value":"NU"},{"label":"Ontario","value":"ON"},{"label":"Prince Edward Island","value":"PE"},{"label":"Quebec","value":"QC"},{"label":"Saskatchewan","value":"SK"},{"label":"Yukon","value":"YT"}]},"controlType":"Input","customValidationMessages":{"required":"Please enter this information as this is a required field"},"enabled":true,"id":"provinceCode","inputMode":"Required","label":"Province","placeholder":" ","template":"DropDown"},"streetName":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.StreetName","controlType":"Input","customValidationMessages":{"required":"Please enter this information as this is a required field"},"id":"streetName","inputMode":"Required","label":"Street name","maxLength":50,"template":"TextBox"},"unitNumber":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.UnitNumber","controlType":"Input","id":"unitNumber","inputMode":"Optional","label":"Apt/Unit #","maxLength":20,"template":"TextBox"}},"addressSettings":{"forceManualEntry":true,"resetAddressOnToggleManualyEntry":false,"showMapPreview":true},"bindingPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Search","controlType":"Input","customClasses":"mb-3","iconLeft":"fal fa-map-marker-alt","id":"employment-addressSearch","inputMode":"Optional","label":"Search for your address","template":"AddressSearch"}],"helpIcon":"fa-light fa-circle-info","helpText":["Canadian addresses only. We do not accept international addresses. When typing in your address, please select the autofill's suggestions if your address appears. For assistance, please contact our Financial Services Team at 1-800-268-8771 or fsr@pathwise.ca."],"id":"physicalAddress","width":"Medium"}],"title":"Here's the address we found for {$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.CompanyName}."},{"hasBackButton":true,"hasNextButton":false,"id":"previous-employment-status","navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"previous-employment-details"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Retired"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"previous-employment-details"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Unemployed"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"previous-employment-details"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Student"}],"editConditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"previous-employment-type"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Employed"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"previous-employment-type"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"SelfEmployed"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"previous-employment-details"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Retired"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"previous-employment-details"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Unemployed"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"previous-employment-details"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Student"}],"nextPageId":"previous-employment-type"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Max Width","progressIndicatorNum":2,"sections":[{"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","controlOptions":{"options":[{"icon":"fal fa-briefcase","label":"Employed","value":"Employed"},{"icon":"fal fa-laptop-house","label":"Self-Employed","value":"SelfEmployed"},{"icon":"fal fa-newspaper","label":"Unemployed","value":"Unemployed"},{"icon":"fal fa-coffee","label":"Retired","value":"Retired"},{"icon":"fal fa-graduation-cap","label":"Student","value":"Student"}]},"controlType":"Input","dropdownSettings":{"idJsonPath":"$.value","labelJsonPath":"$.value","selectedIdJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Description"},"id":"employment-status","inputMode":"Required","radioListSettings":{"submitOnSelect":true},"resetMappingsSettings":[{"onChangeReset":true,"resetMappings":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.ContractType"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.IncomeSource.Description"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.Duration.MinimumMonthCount"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.GrossIncomeAmount"}]}],"template":"IconCardList","width":"Max Width"}],"id":"previous-employment-status","width":"Max Width"}],"title":"What was your previous employment status?"},{"hasBackButton":true,"hasNextButton":true,"id":"previous-employment-type","navigation":{"editConditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"previous-employment-details"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Employed"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"previous-employment-details"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"SelfEmployed"}],"nextPageId":"previous-employment-details"},"pageMode":"Page","pageTemplate":"Form","progressIndicatorNum":2,"sections":[{"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.ContractType.Code","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Employed"}],"controlOptions":{"options":[{"label":"Contractual","value":"Contractual"},{"label":"Permanent","value":"Permanent"},{"label":"Temporary","value":"Temporary"},{"label":"Regular Part Time","value":"PartTime"}]},"controlType":"Input","customValidationMessages":{"required":"Please make a selection as this is a required field"},"dropdownSettings":{"idJsonPath":"$.value","labelJsonPath":"$.value","selectedIdJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.ContractType.Description"},"id":"previous-employment-type","inputMode":"Required","label":"Employment Type","placeholder":" ","template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Description","controlOptions":{"descriptionControlId":"previous-industry","onChangeTargetId":"previous-occupation","optionsJsonPath":"$.Private.Lists.Industry"},"controlType":"Input","customValidationMessages":{"required":"Please make a selection as this is a required field"},"dropdownSettings":{"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?filter=CategoryCode+eq+{$.Customers[0].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Code}","httpMethod":"GET","onSuccess":[{"responseMappings":[{"responseJsonPath":"$","targetJsonPath":"$.Private.Lists.Previous.Occupation"}],"statusCode":200}]},"selectedIdJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Code"},"id":"previous-industry","inputMode":"Required","label":"Industry","placeholder":" ","template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType.Description","controlOptions":{"descriptionControlId":"previous-occupation","optionsJsonPath":"$.Private.Lists.Previous.Occupation"},"controlType":"Input","customValidationMessages":{"required":"Please make a selection as this is a required field"},"dropdownSettings":{"idJsonPath":"$.Code","labelJsonPath":"$.Description","selectedIdJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType.Code"},"id":"previous-occupation","inputMode":"Required","label":"Occupation","maxLength":50,"template":"DropDown"}],"id":"previous-employment-type"}],"title":"Tell us about your previous employment."},{"hasBackButton":true,"hasNextButton":true,"id":"previous-employment-details","navigation":{"conditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"previous-employment-address"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Employed"}],"editConditions":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"previous-employment-address"},"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Employed"}],"nextPageId":"online-banking"},"pageMode":"Page","pageTemplate":"Form","progressIndicatorNum":2,"sections":[{"controls":[{"autocompleteSettings":{"forceSelection":false,"idJsonPath":"$.placeId","labelJsonMultiPath":"{$.displayName} {$.locationText}","onSearch":{"endpointUrl":"api/placesearch/autocomplete?input={$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.Employer.Search.Term}&sessionToken={$.Private.Guids.BusinessSearch}","httpMethod":"GET"},"onSelect":{"endpointUrl":"api/placesearch/places/{$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.Employer.Search.Id}","httpMethod":"GET","onSuccess":[{"parameterName":"$.address","responseMappings":[{"responseJsonPath":"$.displayName","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.CompanyName"},{"responseJsonPath":"$.address.civicNumber","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.CivicNumber"},{"responseJsonPath":"$.address.unitNumber","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.UnitNumber"},{"responseJsonPath":"$.address.streetName","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.StreetName"},{"responseJsonPath":"$.address.city","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.CityName"},{"responseJsonPath":"$.address.provinceCode","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.Province.Code"},{"responseJsonPath":"$.address.postalCode","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.PostalCode"},{"responseJsonPath":"$.address.countryCode","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.Country.Code"},{"responseJsonPath":"$.formattedAddress","targetJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.Search"},{"onChangeTargetId":"previous-work-phone","responseJsonPath":"$.phoneNumber","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.MainPhone.PhoneNumber"}],"statusCode":200}]},"searchIdJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.Employer.Search.Id","searchTermJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.Employer.Search.Term"},"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.CompanyName","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Employed"}],"controlOptions":{"descriptionControlId":"employer-name"},"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter this information as this is a required field"},"iconLeft":"fal fa-briefcase","id":"previous-employer-name","inputMode":"Required","label":"Previous Employer Name","maxLength":50,"template":"AutoComplete"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.MainPhone.PhoneNumber","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"SelfEmployed"}],"controlType":"Input","customClasses":"pb-2","customValidationMessages":{"required":"Please enter this information as this is a required field"},"iconLeft":"fal fa-phone","id":"previous-work-phone","inputMask":"(999) 999-9999","inputMode":"Required","keyboardType":"Phone","label":"Previous Work Phone #","prependString":"+1","regexPattern":"^(\\d{3}-\\d{3}-\\d{4})|(\\d{10})$","template":"TextBox"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.GrossIncomeAmount","controlType":"Input","customClasses":"pb-2","enabled":true,"iconLeft":"fal fa-dollar-sign","id":"previous-gross-income","inputMode":"Optional","keyboardType":"Phone","label":"Previous monthly gross income","maxLength":6,"maxValue":999999,"minValue":0,"regexMessage":"You may only enter numbers","regexPattern":"^[0-9]*$","template":"Integer"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.IncomeSource.Description","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Student"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Unemployed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Retired"}],"controlType":"Input","id":"previous-income-sources-r","inputMode":"Optional","inputModeConditions":[{"conditions":[{"operator":"GreaterThan","targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.GrossIncomeAmount","targetValue":0}],"defaultInputMode":"Optional","inputMode":"Required"}],"label":"Income Sources","placeholder":" ","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.EmploymentRecords.Previous.Duration.MinimumMonthCount","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Employed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"SelfEmployed"}],"controlOptions":{"options":[{"description":"more than 24 months","label":"Yes","value":24},{"description":"less than 24 months","label":"No","value":0}]},"controlType":"Input","convertValueTo":"Integer","customValidationMessages":{"required":"Please make a selection as this is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.description","labelJsonPath":"$.value","selectedIdJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.Duration.MinimumMonthCount"},"id":"previous-worked-two-years","inputMode":"Required","label":"Have you been at this job for 24 months or longer?","placeholder":" ","template":"DropDown"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.Duration.MinimumMonthCount","conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Student"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Unemployed"},{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code","targetValue":"Retired"}],"controlOptions":{"options":[{"description":"more than 24 months","label":"Yes","value":24},{"description":"less than 24 months","label":"No","value":0}]},"controlType":"Input","convertValueTo":"Integer","customValidationMessages":{"required":"Please make a selection as this is a required field"},"dropdownSettings":{"bindOnSelect":true,"idJsonPath":"$.description","labelJsonPath":"$.value","selectedIdJsonPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.Duration.MinimumMonthCountStatus"},"id":"previous-status-two-years","inputMode":"Required","label":"Have this been your status for 24 months or longer?","placeholder":" ","template":"DropDown"}],"id":"previous-employment-details"}],"title":"Just a couple more details."},{"hasBackButton":true,"hasNextButton":true,"id":"previous-employment-address","navigation":{"nextPageId":"online-banking"},"pageMode":"Page","pageTemplate":"Form","progressIndicatorNum":1,"sections":[{"controls":[{"addressInputs":{"cityName":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.CityName","controlType":"Input","customValidationMessages":{"required":"Please enter this information as this is a required field"},"id":"cityName","inputMode":"Required","label":"City","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"civicNumber":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.CivicNumber","controlType":"Input","customValidationMessages":{"required":"Please enter this information as this is a required field"},"id":"civicNumber","inputMode":"Required","label":"Street number","maxLength":20,"template":"TextBox"},"country":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.Country.Code","controlOptions":{"options":[{"label":"Canada","value":"CA"},{"label":"United States","value":"US"}]},"controlType":"Input","id":"country","inputMode":"Required","label":"Country","template":"DropDown","value":"CA"},"postalCode":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.PostalCode","controlType":"Input","customValidationMessages":{"required":"Please enter this information as 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.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.Province.Code","controlOptions":{"options":[{"label":"Alberta","value":"AB"},{"label":"British Columbia","value":"BC"},{"label":"Manitoba","value":"MB"},{"label":"New Brunswick","value":"NB"},{"label":"Newfoundland and Labrador","value":"NL"},{"label":"Nova Scotia","value":"NS"},{"label":"Northwest Territories","value":"NT"},{"label":"Nunavut","value":"NU"},{"label":"Ontario","value":"ON"},{"label":"Prince Edward Island","value":"PE"},{"label":"Quebec","value":"QC"},{"label":"Saskatchewan","value":"SK"},{"label":"Yukon","value":"YT"}]},"controlType":"Input","customValidationMessages":{"required":"Please enter this information as this is a required field"},"enabled":true,"id":"provinceCode","inputMode":"Required","label":"Province","placeholder":" ","template":"DropDown"},"streetName":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.StreetName","controlType":"Input","customValidationMessages":{"required":"Please enter this information as this is a required field"},"id":"streetName","inputMode":"Required","label":"Street name","maxLength":50,"template":"TextBox"},"unitNumber":{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.UnitNumber","controlType":"Input","id":"unitNumber","inputMode":"Optional","label":"Apt/Unit #","maxLength":20,"template":"TextBox"}},"addressSettings":{"forceManualEntry":true,"resetAddressOnToggleManualyEntry":false,"showMapPreview":true},"bindingPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.Search","controlType":"Input","customClasses":"mb-3","iconLeft":"fal fa-map-marker-alt","id":"addressSearch","inputMode":"Optional","label":"Search for your address","template":"AddressSearch"}],"helpIcon":"fa-light fa-circle-info","helpText":["Canadian residential addresses only. We do not accept international addresses. When typing in your address, please select the autofill's suggestions if your address appears. For assistance, please contact our Financial Services Team at 1-800-268-8771 or fsr@pathwise.ca."],"id":"physicalAddress","width":"Medium"}],"title":"Here's the address we found for {$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.CompanyName}."},{"commandsOnSubmit":[{"body":[{"parameterName":"DisbursementInstructions","valueJsonPath":"$.Products[0].ProductDetail.DisbursementInstructions"},{"parameterName":"PaymentSchedule","valueJsonPath":"$.Products[0].ProductDetail.PaymentSchedule"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Products[0].ProductId}/detail","httpMethod":"PUT","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"bindingPath":"$.Products[0].ProductDetail.DisbursementInstructions","targetJsonPath":"$.Products[0].ProductDetail.DisbursementInstructions"},{"bindingPath":"$.Products[0].ProductDetail.PaymentSchedule","targetJsonPath":"$.Products[0].ProductDetail.PaymentSchedule"}],"statusCode":200}]}],"description":"To be able to access your accounts online you will need to setup an online banking password.","hasBackButton":true,"hasNextButton":true,"id":"online-banking","navigation":{"nextPageId":"confirmation"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Max Width","progressIndicatorNum":4,"sections":[{"controls":[{"controlType":"Validator","customClasses":"mb-4","id":"passwordValidator","validatorSettings":{"footerText":"* You may only use the following special characters: @ # $ ! ","title":"Please ensure your password has the following:","validators":[{"label":"at least 9 characters","regexPattern":"^[A-Za-z\\d#$@!]{9,30}$","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":"(.*[#$@!].*)","targetFormId":"password1"}],"validColor":"#FF5757"}},{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.OnlineBanking.NewPassword","controlType":"Input","customClasses":"pb-2","customValidators":[{"parameters":{"targetControlId":"password2"}}],"id":"password1","inputMode":"Required","keyboardType":"Phone","label":"Online Banking Password","maxLength":30,"regexMessage":"Your password is not meeting the requirements","regexPattern":"^(?=.*[a-z])(?=.*[A-Z])(?=.*[#$@!])(?=.*\\d)[A-Za-z\\d#$@!]{9,30}$","template":"Password"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.Password2","controlType":"Input","customValidators":[{"errorMessage":"This password does not match what you entered in the previous field","parameters":{"targetFormId":"password1"},"validator":"MatchValue"}],"id":"password2","inputMode":"Required","keyboardType":"Phone","label":"Re-enter your password","maxLength":30,"template":"Password"}],"id":"password","template":"Form","width":"Default"}],"title":"Set up your Online Banking password"},{"commandsOnLoad":[{"conditions":[{"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[2].ProductId","targetValue":"*"},{"targetJsonPath":"$.Products[2].ProductRoles.Code","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Products[2].ProductId}/roles/PrimaryShareOwner/assignments/{$.Customers[0].CustomerId}","httpMethod":"POST","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[2].ProductRoles.Code","value":"PrimaryShareOwner"}],"statusCode":204}]}],"commandsOnSubmit":[{"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}]}],"description":"Please confirm that the following details are correct before submitting your application.","hasBackButton":true,"hasNextButton":true,"id":"confirmation","navigation":{"nextPageId":"decision-modal","onLoadConditions":[{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.ChequingAccount.DeclarationTerms.Code","targetValue":""}],"navigationAction":{"navigationType":"NavigateToPage","pageId":"chequing-account-modal"}}],"prevPageId":"online-banking"},"nextButtonLabel":"SUBMIT","pageMode":"Page","pageTemplate":"Form","progressIndicatorNum":4,"restrictions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"},{"targetJsonPath":"$.Private.CurrentStage.StageStatus.Code","targetValue":""}],"sections":[{"controls":[{"controlType":"Info","displayOptions":[{"bindingPath":"$.Products[0].ProductDetail.CreditRequest.RequestedLimit","pipe":"currency"}],"editUrl":"/flow/loan-details","id":"confirm-loan-amount","label":"Amount"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Products[0].ProductDetail.RegulatoryCompliance.IntendedUse.Description"}],"editUrl":"/flow/loan-details","id":"confirm-loan-purpose","label":"Purpose"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.MemberRegistration.HomeBranch.Description"}],"editUrl":"/flow/loan-details","id":"confirm-home-branch","label":"Home Branch"}],"customClasses":"mt-5","id":"confirm-loan","template":"GroupPanel","title":"Loan Details"},{"controls":[{"controlType":"Info","customClasses":"pr-3","displayOptions":[{"bindingPath":"$.Products[1].ProductName"}],"id":"confirm-account-details-account","label":"Account"},{"controlType":"Info","customClasses":"pr-3","displayOptions":[{"bindingPath":"$.Products[1].ProductDetail.RegulatoryCompliance.IntendedUse.Description"}],"id":"confirm-account-details-intended-use","label":"Intended Use"}],"id":"confirm-account-details","template":"GroupPanel","title":"Account Details"},{"controls":[{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.FirstName"},{"bindingPath":"$.Customers[0].CustomerDetail.MiddleName"},{"bindingPath":"$.Customers[0].CustomerDetail.LastName"}],"editUrl":"/flow/name","id":"confirmation-name","label":"Name"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.DateOfBirth","pipe":"date"}],"editUrl":"/flow/name","id":"confirmation-dob","label":"Date of Birth"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialInsuranceNumber","pipe":"sin"}],"editUrl":"/flow/more-details","id":"confirmation-sin","label":"Social Insurance Number"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmailContacts.Primary.EmailAddress"}],"editUrl":"/flow/more-details","id":"confirmation-email","label":"Email"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","pipe":"phone"}],"editUrl":"/flow/more-details","id":"confirmation-phone","label":"Phone"}],"id":"confirmation-primary","template":"GroupPanel","title":"Applicant Details"},{"controls":[{"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"}],"editUrl":"/flow/physical-address","id":"confirmation-address","label":"Physical Address"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.HousingOccupancy.OccupancyStatus.Description"}],"editUrl":"/flow/where-you-live","id":"confirmation-housing-status","label":"Housing status"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Home.Duration.MinimumMonthCount"}],"editUrl":"/flow/where-you-live","id":"confirmation-address-length","label":"Length of time at address"},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.AddressContacts.Mail.addressType","targetValue":"POBOX"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalBoxNumber","endingText":",","startingText":"Box "},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.CityName","endingText":","},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.Province.Code","endingText":","},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Mail.PostalCode"}],"editUrl":"/flow/mailing-address","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"}],"editUrl":"/flow/mailing-address","id":"confirmation-mailing-address","label":"Mailing Address"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous","targetValue":"*"}],"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.UnitNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.CivicNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.StreetName","endingText":"<br>"},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.CityName","endingText":","},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.Province.Code","endingText":","},{"bindingPath":"$.Customers[0].CustomerDetail.AddressContacts.Previous.PostalCode"}],"editUrl":"/flow/previous-address","id":"confirmation-previous-address","label":"Previous Address"}],"id":"confirmation-address","template":"GroupPanel","title":"Address Details"},{"controls":[{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmploymentStatus.Code"}],"editUrl":"/flow/employment-status","id":"confirmation-employment-status","label":"Employment Status"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.ContractType.Code"}],"editUrl":"/flow/employment-type","id":"confirmation-employment-type","label":"Employment Type"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IndustryClassification.IndustryType.Description"}],"editUrl":"/flow/employment-type","id":"confirmation-employment-industry","label":"Industry"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.OccupationClassification.OccupationType.Description"}],"editUrl":"/flow/employment-type","id":"confirmation-employment-occupation","label":"Occupation"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.CompanyName"}],"editUrl":"/flow/employment-details","id":"confirmation-employer","label":"Employer"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.MainPhone.PhoneNumber","pipe":"phone"}],"editUrl":"/flow/employment-details","id":"confirmation-employer-phone","label":"Employer Phone"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.GrossIncomeAmount","pipe":"currency"}],"editUrl":"/flow/employment-details","id":"confirmation-employer","label":"Monthly Income"},{"controlType":"Info","customClasses":"pb-2","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.IncomeSource.Description"}],"editUrl":"/flow/employment-details","id":"confirmation-employer-income-sources","label":"Income Sources"},{"controlType":"Info","customClasses":"pb-2","displayOptions":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.Duration.MinimumMonthCount"}],"editUrl":"/flow/employment-details","id":"confirmation-employer-length","label":"Length of employment"},{"controlType":"Info","customClasses":"pb-2","displayOptions":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Current.Duration.MinimumMonthCountStatus"}],"editUrl":"/flow/employment-details","id":"confirmation-employer-length-status","label":"Length of employment status"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.UnitNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.CivicNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.StreetName","endingText":"<br>"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.CityName","endingText":","},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.Province.Code","endingText":","},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.EmployerDetail.OfficeAddress.PostalCode"}],"editUrl":"/flow/employment-address","id":"confirmation-employer-address","label":"Employer Address"}],"id":"confirmation-employment","template":"GroupPanel","title":"Employment Details"},{"conditions":[{"targetJsonPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Current.Duration.MinimumMonthCount","targetValue":0}],"controls":[{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmploymentStatus.Code"}],"editUrl":"/flow/previous-employment-status","id":"confirmation-previous-employment-status","label":"Employment Status"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.ContractType.Code"}],"editUrl":"/flow/previous-employment-type","id":"confirmation-previous-employment-type","label":"Employment Type"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.IndustryClassification.IndustryType.Description"}],"editUrl":"/flow/previous-employment-type","id":"confirmation-employment-industry","label":"Industry"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.OccupationClassification.OccupationType.Description"}],"editUrl":"/flow/previous-employment-type","id":"confirmation-previous-employment-occupation","label":"Occupation"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.CompanyName"}],"editUrl":"/flow/previous-employment-details","id":"confirmation-previous-employer","label":"Employer"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.MainPhone.PhoneNumber","pipe":"phone"}],"editUrl":"/flow/previous-employment-details","id":"confirmation-previous-employer-phone","label":"Employer Phone"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.GrossIncomeAmount","pipe":"currency"}],"editUrl":"/flow/previous-employment-details","id":"confirmation-previous-income","label":"Monthly Income"},{"controlType":"Info","customClasses":"pb-2","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.IncomeSource.Description"}],"editUrl":"/flow/previous-employment-details","id":"confirmation-employer-previous-income-sources","label":"Income Sources"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.Duration.MinimumMonthCount"}],"editUrl":"/flow/previous-employment-details","id":"confirmation-previous-employer-length","label":"Length of employment"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Customers[0].CustomerDetail.EmploymentRecords.Previous.Duration.MinimumMonthCountStatus"}],"editUrl":"/flow/previous-employment-details","id":"confirmation-previous-employer-length-status","label":"Length of employment status"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.UnitNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.CivicNumber"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.StreetName","endingText":"<br>"},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.CityName","endingText":","},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.Province.Code","endingText":","},{"bindingPath":"$.Customers[0].CustomerDetail.EmploymentRecords.Previous.EmployerDetail.OfficeAddress.PostalCode"}],"editUrl":"/flow/previous-employment-address","id":"confirmation-previous-employer-address","label":"Employer Address"}],"id":"confirmation-previous-employment","template":"GroupPanel","title":"Previous Employment Details"},{"controls":[{"bindingPath":"$.Customers[0].CustomerDetail.CommunicationPreferences.MarketingConsentStatus.Code","checkboxSettings":{"checkedRequired":true,"falseValue":"Declined","trueValue":"Accepted"},"controlType":"Input","id":"marketing-checkbox","label":"I consent to receiving commercial electronic messages from Pathwise Credit Union. I understand I can unsubscribe at any time.","template":"CheckBox","value":false},{"bindingPath":"$.Customers[0].CustomerDetail.CustomerAgreements.PrivacyPolicyStatus.Code","checkboxSettings":{"checkedRequired":false,"falseValue":"Declined","trueValue":"Accepted"},"controlType":"Input","customClasses":"mt-4 mb-5","defaultValue":"Accepted","id":"privacy-checkbox","label":"","template":"Hidden","width":"Large"}],"customClasses":"mt-5","id":"confirmation-submit","width":"Large"}],"title":"Almost done, {$.Customers[0].CustomerDetail.FirstName}!"},{"commandsOnLoad":[{"body":[{"valueJsonPath":"$.Products[2]"}],"conditions":[{"targetJsonPath":"$.Products[2].ProductId","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products","httpMethod":"POST","onSuccess":[{"parameterName":"$.ProductId","responseMappings":[{"responseJsonPath":"$.ProductId","targetJsonPath":"$.Products[2].ProductId"},{"bindingPath":"$.Private.Sin.TaxInformation.TaxpayerIdentificationNumbers[0].TaxNumber","targetJsonPath":"$.Customers[0].CustomerDetail.TaxInformation.SocialInsuranceNumber"}],"statusCode":201}]}],"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Products[2].ProductId","targetValue":"*"},{"targetJsonPath":"$.Products[2].ProductRoles.Code","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Products[2].ProductId}/roles/PrimaryShareOwner/assignments/{$.Customers[0].CustomerId}","httpMethod":"POST","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Products[2].ProductRoles.Code","value":"PrimaryShareOwner"}],"statusCode":204}]},{"conditions":[{"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":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"targetJsonPath":"$.Products[1].ProductRoles.Code","value":"PrimaryAccountholder"}],"statusCode":204}]}],"hasBackButton":false,"hasNextButton":true,"id":"chequing-account-modal","modalOptions":{"modalSize":"extra-large","onLoadModal":true},"navigation":{"nextPageId":"confirmation"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"columns":2,"controls":[{"columnOverride":1,"controlType":"HTML","customClasses":"mb-4","description":"The Pathwise Essential Chequing Account offers you 10 Free Withdrawal transactions per month, making it an ideal choice for efficient and low-cost banking.","id":"declarationList1"},{"columnOverride":1,"controlType":"HTML","customClasses":"mb-4","description":"<span>Features and benefits:</span><br><ul class=\"m-1 line-height-4\"><li>Includes Online and Mobile Banking, Monthly Statements</li><li>Tiered Interest Rate</li><li>No Monthly Fee</li><li>No Minimum Balance required</li><li>10 Free Withdrawal/Debit Transactions per month then $1.00 per Withdrawal/Debit Transaction</li></ul>","id":"declarationList3"},{"columnOverride":1,"controlType":"Divider","id":"divider1"},{"bindingPath":"$.Private.Customers[0].CustomerDetail.ChequingAccount.DeclarationTerms.Code","checkboxSettings":{"checkedRequired":true,"falseValue":"Declined","trueValue":"Accepted"},"columnOverride":1,"controlType":"Input","id":"declarationCheckbox","label":"I have read and agree to the <a href=\"https://www.pathwise.ca/assets/pdfs/R - Personal Contract (Account).pdf\" target=\"_blank\">Terms and Conditions</a>, and acknowledge that this account will be opened if my loan application is successful.","template":"CheckBox","value":false},{"columnOverride":1,"controlType":"Divider","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","description":" ","headingSize":"h1","id":"declarations1","textAlignment":"text-left","title":"Chequing Account"}]},{"commandsOnLoad":[{"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/presub/submit","httpMethod":"POST","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"parameterName":"$.StageName","responseMappings":[{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"}],"statusCode":200}]}],"hasBackButton":false,"hasNextButton":false,"id":"decision-modal","modalOptions":{"isDismissible":false},"navigation":{"nextPageId":"decision-modal-status"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"customClasses":"p-3","disclaimerText":"Sit tight. This should only take a few moments.","icon":"fa-light fa-user-shield","id":"creatingAccounts","title":"Verifying Identity..."}]},{"commandsOnLoad":[{"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/current","httpMethod":"GET","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"decision-modal-final"},"parameterName":"$.StageStatus.Code","parameterValue":"Completed","responseMappings":[{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"idv-details"},"parameterName":"$.OutputParameters.CurrentStepName","parameterValue":"UserConsent","responseMappings":[{"responseJsonPath":"$.OutputParameters.InputCorrelationId","targetJsonPath":"$.Private.Customers[0].InputCorrelationId"},{"responseJsonPath":"$.OutputParameters.CurrentStepName","targetJsonPath":"$.Private.Customers[0].CurrentStepName"},{"responseJsonPath":"$.OutputParameters.InvitationAddresses","targetJsonPath":"$.Private.Customers[0].InvitationAddresses"},{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"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[\"{$.Customers[0].CustomerId}\"].SigningStatus","targetJsonPath":"$.Private.Customers[0].CustomerSessions.SigningStatus"},{"responseJsonPath":"$.OutputParameters.CustomerSessions[\"{$.Customers[0].CustomerId}\"].SigningUrl","targetJsonPath":"$.Private.Customers[0].CustomerSessions.SigningUrl"},{"responseJsonPath":"$.OutputParameters.CustomerSessions[\"{$.Customers[0].CustomerId}\"].SessionToken","targetJsonPath":"$.Private.Customers[0].CustomerSessions.SessionToken"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"approved"},"parameterName":"$.OutputParameters.ViewCollectionId","parameterValue":"Finalize","responseMappings":[{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"},{"targetJsonPath":"$.ApplicationStatus.Code","value":"Approved"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"decision-modal-final"},"parameterName":"$.StageStatus.Code","parameterValue":"PendingReview"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"error"},"parameterName":"$.StageStatus.Code","parameterValue":"Faulted"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"error"},"parameterName":"$.StageStatus.Code","parameterValue":"Canceled"},{"parameterName":"$.StageStatus.Code","parameterValue":"Processing","responseMappings":[{"responseJsonPath":"$.OutputParameters.ApplicationStatus","targetJsonPath":"$.ApplicationStatus.Code"}]}],"pollIntervalMS":5000}],"hasBackButton":false,"hasNextButton":false,"id":"decision-modal-status","modalOptions":{"isDismissible":false},"navigation":{"nextPageId":"approved","onLoadConditions":[{"conditions":[{"targetJsonPath":"$.Products[0].ProductDetail.CreditAcceptance.AcceptedLimit","targetValue":"*"},{"targetJsonPath":"$.Products[2].ProductDetail.InitialDeposit.ExternalAccount.BankName"}],"navigationAction":{"navigationType":"NavigateToPage","pageId":"share-account"}}]},"pageMode":"Modal","pageTemplate":"Form","sections":[{"customClasses":"p-3","disclaimerText":"Sit tight. This should only take a few moments.","icon":"fal fa-credit-card-front fa-fade","id":"awaiting-results","title":"Processing application..."}]},{"commandsOnLoad":[{"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}","httpMethod":"GET","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"approved"},"parameterName":"$.ApplicationStatus.Code","parameterValue":"Approved","responseMappings":[{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.ApplicationStatus.Code"}],"statusCode":200},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"declined"},"parameterName":"$.ApplicationStatus.Code","parameterValue":"Declined","responseMappings":[{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.ApplicationStatus.Code"}],"statusCode":200},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"review"},"parameterName":"$.ApplicationStatus.Code","parameterValue":"Referred","responseMappings":[{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.ApplicationStatus.Code"}],"statusCode":200},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"complete"},"parameterName":"$.ApplicationStatus.Code","parameterValue":"Completed","responseMappings":[{"responseJsonPath":"$.ApplicationStatus.Code","targetJsonPath":"$.ApplicationStatus.Code"}],"statusCode":200},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"error"},"parameterName":"$.ApplicationStatus.Code","parameterValue":"Faulted","responseMappings":[{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"}],"statusCode":200}]}],"hasBackButton":false,"hasNextButton":false,"id":"decision-modal-final","modalOptions":{"isDismissible":false},"navigation":{"nextPageId":"error"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"customClasses":"p-3","disclaimerText":"Sit tight. This should only take a few moments.","icon":"fal fa-credit-card-front fa-fade","id":"creatingAccounts","title":"Updating application..."}]},{"commandsOnLoad":[{"body":[{"parameterName":"CancelActivity","parameterValue":true}],"conditions":[{"targetJsonPath":"$.Private.Customers[0].CurrentStepName","targetValue":"VerificationInitiated"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/{$.Private.CurrentStage.StageName}/input","httpMethod":"PUT"}],"hasBackButton":false,"hasNextButton":false,"id":"idv-details","navigation":{"nextPageId":"idv-modal-status"},"pageMode":"Page","pageTemplate":"Panel","pageWidth":"Large","progressIndicatorNum":4,"restrictions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"},{"targetJsonPath":"$.Private.Customers[0].CurrentStepName","targetValue":"UserConsent"}],"sections":[{"controls":[{"controlType":"Divider","customClasses":"mb-5 mt-0","id":"divider-1"},{"controlType":"HTML","customClasses":"mt-5","description":"<h4 class='mb-1'>Use your mobile device to take a photo of your Canadian driver's license or Ontario photo card</h4>You'll be asked to take a photo of the front and back of your identification.","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 identification  to confirm your identity and keep your account secure.","id":"description-2"},{"controlType":"HTML","customClasses":"mt-5","description":"<h4 class='mb-1'>That's it!</h4>Once we've verified your ID, we can process your application.","id":"description-3"},{"controlType":"Divider","customClasses":"mt-5 mb-4","id":"divider-2"},{"controlType":"HTML","customClasses":"mt-4 mb-4","description":"<div class='flex align-items-center'><div class='mr-4 color-primary font-size-150-percent'><i class='far fa-lock'></i></div><div>We won’t keep a copy of your ID photos or your selfie. We'll only use them to validate your identity and to keep a record of your ID type, number, place of issue and expiry date. </div></div>","id":"disclaimer"},{"controlType":"Divider","customClasses":"mt-4","id":"divider-3"},{"buttonAction":"Submit","controlType":"Button","customClasses":"display-block mt-5","id":"btn-begin","label":"Begin Verification"}],"customClasses":"mt-0","description":"Digital photo ID verification is a secure way for you to prove who you are by taking a photo of your Canadian driver's license or Ontario photo card and of yourself using your mobile device. The application process is quick, simple, and secure.","id":"idv-details","textAlignment":"text-left","title":"We need some more information to verify your identity."}]},{"commandsOnLoad":[{"body":[{"parameterName":"ConsentGranted","parameterValue":true},{"parameterName":"SendInvitation","parameterValue":true},{"parameterName":"InvitationAddress","valueJsonPath":"$.Private.Customers[0].InvitationAddresses[0]"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/{$.Private.CurrentStage.StageName}/input","httpMethod":"PUT"},{"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","responseMappings":[{"targetJsonPath":"$.ApplicationStatus.Code","value":"Approved"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"decision-modal-final"},"parameterName":"$.StageStatus.Code","parameterValue":"PendingReview","responseMappings":[{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"error"},"parameterName":"$.StageStatus.Code","parameterValue":"Faulted"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"error"},"parameterName":"$.StageStatus.Code","parameterValue":"Canceled"},{"parameterName":"$.StageStatus.Code","parameterValue":"Processing","responseMappings":[{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"},{"responseJsonPath":"$.OutputParameters.ApplicationStatus","targetJsonPath":"$.ApplicationStatus.Code"}]},{"parameterName":"$.StageStatus.Code","parameterValue":"PendingAdditionalInput","responseMappings":[{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"}]}],"pollIntervalMS":5000}],"hasBackButton":false,"hasNextButton":false,"id":"idv-modal-status","modalOptions":{"isDismissible":false},"navigation":{"nextPageId":"approved"},"pageMode":"Modal","pageTemplate":"Form","restrictions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"},{"targetJsonPath":"$.Private.Customers[0].CurrentStepName","targetValue":"UserConsent"}],"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":"idv-description-1"},{"controlType":"CountdownTimer","countdownTimerSettings":{"countdownTimeMin":20,"label":"Time remaining"},"customClasses":"mt-4 flex justify-content-center","id":"timer","navigationAction":{"navigationType":"NavigateToPage","pageId":"error"}},{"buttonAction":"Submit","buttonSettings":{"commandsOnSubmit":[{"body":[{"parameterName":"CancelActivity","parameterValue":true}],"conditions":[{"targetJsonPath":"$.Private.Customers[0].CurrentStepName","targetValue":"UserConsent"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/{$.Private.CurrentStage.StageName}/input","httpMethod":"PUT","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"idv-details"}}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"idv-details"}}]}],"disableOnLoad":false,"isLink":true},"controlType":"Button","id":"idv-close-modal-button1","label":"Cancel"}],"customClasses":"p-3","icon":"fal fa-fingerprint fa-fade","id":"awaiting-results","title":"Verify your identity"}]},{"commandsOnLoad":[{"conditions":[{"operator":"NotContains","targetJsonPath":"$.ApplicationStatus.Code","targetValue":["Approved","Completed"]}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"error"}}]},{"conditions":[{"targetJsonPath":"$.Products[0].ProductDetail.CreditAcceptance.TermLength","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Products[0].ProductId}","httpMethod":"GET","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"approved"},"parameterName":"$.ProductDetail","responseMappings":[{"responseJsonPath":"$.ProductDetail.CreditRequest.RequestedLimit","targetJsonPath":"$.Products[0].ProductDetail.CreditRequest.RequestedLimit"},{"responseJsonPath":"$.ProductDetail.CreditOffer.MinimumLimit","targetJsonPath":"$.Products[0].ProductDetail.CreditOffer.MinimumLimit"},{"responseJsonPath":"$.ProductDetail.CreditOffer.MaximumLimit","targetJsonPath":"$.Products[0].ProductDetail.CreditOffer.MaximumLimit"},{"responseJsonPath":"$.ProductDetail.CreditOffer.MaximumLimit","targetJsonPath":"$.Products[0].ProductDetail.CreditAcceptance.AcceptedLimit"},{"targetJsonPath":"$.Products[0].ProductDetail.CreditAcceptance.TermLength","value":60},{"targetJsonPath":"$.ApplicationStatus.Code","value":"Approved"}],"statusCode":200}]}],"customClasses":"pt-0 mb-4 p-0","hasBackButton":false,"hasNextButton":true,"id":"approved","navigation":{"nextPageId":"build-loan"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Max Width","progressIndicatorNum":5,"sections":[{"controls":[{"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>Loan up to: </strong><h1 class=\"m-0 color-white\">${$.Products[0].ProductDetail.CreditAcceptance.AcceptedLimit}</h1>","id":"loan-amount","width":"Fit Content"},{"controlType":"HTML","customClasses":"ml-auto mr-auto mt-4","description":"But you aren’t done yet! There are still a few more steps before we can finalize your loan.","id":"loan-amount-text","width":"Fit Content"}],"customClasses":"pl-2 pr-2 pb-6 pt-8 mt-0 mb-6 bg-white border-bottom","headingSize":"h1","id":"account-details","template":"Form","title":"Congratulations, {$.Customers[0].CustomerDetail.FirstName}!<br>You have been approved for your loan.","width":"Max Width"},{"controls":[{"controlType":"Info","customClasses":"bg-white rounded-corners","description":"Select your term and frequency and confirm the details of your loan.","id":"next-steps-1","infoBoxOptions":{"stepNumber":1},"label":"Finalize your loan","template":"InfoBox","width":"Max Width"},{"controlType":"Info","customClasses":"bg-white rounded-corners","description":"To activate your account, you’ll need to purchase $10.00 in Pathwise Credit Union membership shares. This amount will be transferred from your loan advance once it has been funded.","id":"next-steps-2","infoBoxOptions":{"stepNumber":2},"label":"Set up your share account","template":"InfoBox","width":"Max Width"},{"controlType":"Info","customClasses":"bg-white rounded-corners","description":"Digitally sign the documents required to finalize your loan.","id":"next-steps-3","infoBoxOptions":{"stepNumber":3},"label":"Sign your loan documents","template":"InfoBox","width":"Max Width"},{"controlType":"HTML","customClasses":"ml-auto mr-auto pt-4","description":"If you are interested in adding loan insurance to your uninsured loan, please visit one of our branches or contact us at 1-800-268-8771 to be connected with a Financial Services Team to discuss insurance options to help protect your loan.","id":"description1","width":"Fit Content"}],"description":"Here are the next steps that you’ll need to take to complete the process. And keep in mind that if you applied for an amount greater than $25,000, you should complete these steps to finalize the amount you have been approved for. An advisor will reach out to you to discuss the full amount of your loan application.","headingSize":"h1","id":"next-steps","template":"Form","title":"Your Next Steps","width":"Large"}]},{"commandsOnLoad":[{"body":[{"parameterName":"principalAmount","valueJsonPath":"$.Products[0].ProductDetail.CreditAcceptance.AcceptedLimit"},{"parameterName":"termLength","valueJsonPath":"$.Products[0].ProductDetail.CreditAcceptance.TermLength"}],"conditions":[{"targetJsonPath":"$.Private.Loan.Payment","targetValue":""}],"endpointUrl":"api/universalcalculator/worksheets/loanschedule","httpMethod":"POST","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"build-loan"},"parameterName":"$","responseMappings":[{"responseJsonPath":"$.computedOutputs.paymentAmount","targetJsonPath":"$.Private.Loan.Payment"},{"responseJsonPath":"$.computedOutputs.costOfBorrowing","targetJsonPath":"$.Private.Loan.CostOfBorrowing"},{"responseJsonPath":"$.computedOutputs.totalPaymentsDue","targetJsonPath":"$.Private.Loan.TotalPaymentsDue"},{"responseJsonPath":"$.computedOutputs.annualPercentageRate","targetJsonPath":"$.Private.Loan.AnnualPercentageRate"},{"responseJsonPath":"$.inputParameters.interestRate","targetJsonPath":"$.Private.Loan.InterestRate"},{"responseJsonPath":"$.inputParameters.paymentFrequency","targetJsonPath":"$.Private.Loan.PaymentFrequency"},{"responseJsonPath":"$.inputParameters.adminFee","targetJsonPath":"$.Private.Loan.AdminFee"},{"responseJsonPath":"$.computedOutputs.minimumTerm","targetJsonPath":"$.Private.Loan.MinimumTerm"},{"responseJsonPath":"$.computedOutputs.maximumTerm","targetJsonPath":"$.Private.Loan.MaximumTerm"},{"responseJsonPath":"$.computedOutputs.maximumTerm","targetJsonPath":"$.Products[0].ProductDetail.CreditAcceptance.TermLength"},{"responseJsonPath":"$.inputParameters.principalAmount","targetJsonPath":"$.Products[0].ProductDetail.CreditAcceptance.AcceptedLimit"}],"statusCode":200}]}],"commandsOnSubmit":[{"body":[{"parameterName":"CreditAcceptance","valueJsonPath":"$.Products[0].ProductDetail.CreditAcceptance"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Products[0].ProductId}/detail","httpMethod":"PUT","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"bindingPath":"$.Products[0].ProductDetail.CreditAcceptance","targetJsonPath":"$.Products[0].ProductDetail.CreditAcceptance"}],"statusCode":200}]}],"description":"Now that you have been approved for your loan, you can select the specific amount and term for your loan.","hasBackButton":false,"hasNextButton":true,"id":"build-loan","navigation":{"nextPageId":"decision-update-loan"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":4,"restrictions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"},{"targetJsonPath":"$.Private.Products[0].ProductDetail.CreditAcceptance","targetValue":""}],"sections":[{"controls":[{"controlType":"HTML","description":"<small><strong>Loan Amount:</strong> You have been approved for up to ${$.Products[0].ProductDetail.CreditOffer.MaximumLimit}</small>","id":"loan-amounts"},{"bindingPath":"$.Products[0].ProductDetail.CreditAcceptance.AcceptedLimit","bindOnChange":true,"bindOnLoad":true,"commandOnChange":{"body":[{"parameterName":"principalAmount","valueJsonPath":"$.Products[0].ProductDetail.CreditAcceptance.AcceptedLimit"},{"parameterName":"termLength","valueJsonPath":"$.Products[0].ProductDetail.CreditAcceptance.TermLength"}],"conditions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"}],"endpointUrl":"api/universalcalculator/worksheets/loanschedule","httpMethod":"POST","onSuccess":[{"parameterName":"$","responseMappings":[{"responseJsonPath":"$.computedOutputs.paymentAmount","targetJsonPath":"$.Private.Loan.Payment"},{"responseJsonPath":"$.computedOutputs.costOfBorrowing","targetJsonPath":"$.Private.Loan.CostOfBorrowing"},{"responseJsonPath":"$.computedOutputs.totalPaymentsDue","targetJsonPath":"$.Private.Loan.TotalPaymentsDue"},{"responseJsonPath":"$.computedOutputs.annualPercentageRate","targetJsonPath":"$.Private.Loan.AnnualPercentageRate"},{"responseJsonPath":"$.inputParameters.interestRate","targetJsonPath":"$.Private.Loan.InterestRate"},{"responseJsonPath":"$.inputParameters.paymentFrequency","targetJsonPath":"$.Private.Loan.PaymentFrequency"},{"responseJsonPath":"$.inputParameters.adminFee","targetJsonPath":"$.Private.Loan.AdminFee"},{"responseJsonPath":"$.computedOutputs.minimumTerm","targetJsonPath":"$.Private.Loan.MinimumTerm"},{"responseJsonPath":"$.computedOutputs.maximumTerm","targetJsonPath":"$.Private.Loan.MaximumTerm"}],"statusCode":200}]},"controlType":"Input","enabled":true,"id":"amount","inputMode":"Required","keyboardType":"Phone","label":"Amount","maxValuePath":"$.Products[0].ProductDetail.CreditOffer.MaximumLimit","minValue":7500,"numberStepperSettings":{"stepAmount":100,"stepMode":"currency"},"template":"NumberStepper"},{"bindingPath":"$.Products[0].ProductDetail.CreditAcceptance.TermPeriod.Code","controlType":"Input","defaultValue":"Month","id":"Period","template":"Hidden"},{"controlType":"HTML","description":"<small><strong>Term options</strong> <ul class=\"pl-4 m-0\"><li>12 - 24 Months for amounts between $7,500 and $7,999</li><li>24 - 48 Months for amounts between $8,000 and $9,999</li><li>24 - 60 Months for amounts between $10,000 and $14,999</li><li>36 - 60 Months for amounts between $15,000 and $19,999</li><li>36 - 60 Months for amounts between $20,000 and $25,000</li></ul></small>","id":"term-options"},{"bindingPath":"$.Products[0].ProductDetail.CreditAcceptance.TermLength","bindOnChange":true,"bindOnLoad":true,"commandOnChange":{"body":[{"parameterName":"principalAmount","valueJsonPath":"$.Products[0].ProductDetail.CreditAcceptance.AcceptedLimit"},{"parameterName":"termLength","valueJsonPath":"$.Products[0].ProductDetail.CreditAcceptance.TermLength"}],"endpointUrl":"api/universalcalculator/worksheets/loanschedule","httpMethod":"POST","onSuccess":[{"parameterName":"$","responseMappings":[{"responseJsonPath":"$.computedOutputs.paymentAmount","targetJsonPath":"$.Private.Loan.Payment"},{"responseJsonPath":"$.computedOutputs.costOfBorrowing","targetJsonPath":"$.Private.Loan.CostOfBorrowing"},{"responseJsonPath":"$.computedOutputs.totalPaymentsDue","targetJsonPath":"$.Private.Loan.TotalPaymentsDue"},{"responseJsonPath":"$.computedOutputs.annualPercentageRate","targetJsonPath":"$.Private.Loan.AnnualPercentageRate"},{"responseJsonPath":"$.inputParameters.interestRate","targetJsonPath":"$.Private.Loan.InterestRate"},{"responseJsonPath":"$.inputParameters.paymentFrequency","targetJsonPath":"$.Private.Loan.PaymentFrequency"},{"responseJsonPath":"$.inputParameters.adminFee","targetJsonPath":"$.Private.Loan.AdminFee"},{"responseJsonPath":"$.computedOutputs.minimumTerm","targetJsonPath":"$.Private.Loan.MinimumTerm"},{"responseJsonPath":"$.computedOutputs.maximumTerm","targetJsonPath":"$.Private.Loan.MaximumTerm"}],"statusCode":200}]},"controlType":"Input","enabled":true,"id":"term","inputMode":"Required","keyboardType":"Phone","label":"Term","maxValuePath":"$.Private.Loan.MaximumTerm","minValuePath":"$.Private.Loan.MinimumTerm","numberStepperSettings":{"stepAmount":1},"template":"NumberStepper"}],"customClasses":"mt-5","id":"loan-calculator","template":"GroupPanel","title":"Adjust your loan","width":"Medium"},{"controls":[{"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Loan.Payment","pipe":"currency","watchForChanges":true}],"id":"confirmation-payment","label":"Monthly Payment"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Loan.CostOfBorrowing","pipe":"currency","watchForChanges":true}],"id":"cost-of-borrowing","label":"Cost of Borrowing"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Loan.TotalPaymentsDue","pipe":"currency","watchForChanges":true}],"id":"total-loan","label":"Total Loan Amount"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Loan.AnnualPercentageRate","endingText":"%","pipe":"percent","watchForChanges":true}],"id":"apr","label":"APR"},{"controlType":"Divider","customClasses":"mt-1 mb-1","id":"divider1"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Loan.InterestRate","endingText":"%","pipe":"percent","watchForChanges":true}],"id":"interest-rate","label":"Interest Rate"},{"controlType":"Info","displayOptions":[{"customText":"Monthly"}],"id":"frequency","label":"Payment Frequency"}],"customClasses":"mt-5","id":"loan-details","template":"GroupPanel","title":"Loan details","width":"Medium"}],"title":"1. Build Your Loan"},{"hasBackButton":false,"hasNextButton":false,"id":"decision-update-loan","modalOptions":{"modalSize":"extra-large"},"navigation":{"nextPageId":"share-account"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"controls":[{"controlType":"Info","displayOptions":[{"bindingPath":"$.Products[0].ProductDetail.CreditAcceptance.AcceptedLimit","pipe":"currency","watchForChanges":true}],"id":"confirmation-amount","label":"Amount"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Products[0].ProductDetail.CreditAcceptance.TermLength","endingText":" months","watchForChanges":true}],"id":"confirmation-term","label":"Term"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Loan.Payment","pipe":"currency","watchForChanges":true}],"id":"confirmation-monthly-payment","label":"Monthly Payment"},{"controlType":"Info","displayOptions":[{"bindingPath":"$.Private.Loan.InterestRate","endingText":"%","pipe":"percent","watchForChanges":true}],"id":"confirmation-interest-rate","label":"Interest Rate"},{"controlType":"Divider","customClasses":"mt-1 mb-1","id":"divider1"},{"controlType":"HelpText","helpIcon":"fa-light fa-circle-info","helpText":"Please be aware that once you confirm this loan, you will have until 9 pm EST to digitally sign the loan documents on the next page. If you are not ready to sign, you can come back using the resume link in your email when you are ready.","id":"helptext"},{"controlType":"Divider","customClasses":"mt-1 mb-1","id":"divider1"}],"customClasses":"box-shadow-none update-loan-modal p-0","id":"awaiting-results","template":"GroupPanel","title":"Please confirm your loan"},{"columns":2,"controls":[{"buttonAction":"CloseModal","buttonSettings":{"isOutline":true},"controlType":"Button","id":"close-modal-button","label":"Cancel"},{"buttonAction":"Submit","controlType":"Button","customClasses":"display-inline-block float-right","id":"confirm-update-button","label":"Confirm"}],"customClasses":"text-left","id":"buttons"},{"controls":[{"bindingPath":"$.Products[0].ProductDetail.InitialDeposit.DepositAmount","controlType":"Input","defaultValue":10,"id":"share-DepositAmount","label":"Deposit Amount","template":"Hidden"},{"bindingPath":"$.Products[0].ProductDetail.InitialDeposit.DepositMethod","controlType":"Input","defaultValue":"ExternalTransfer","id":"share-DepositMethod","label":"DepositMethod","template":"Hidden"}],"id":"share-details","template":"Form"}]},{"commandsOnSubmit":[{"body":[{"parameterName":"InitialDeposit","valueJsonPath":"$.Products[0].ProductDetail.InitialDeposit"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/products/{$.Products[2].ProductId}/detail","httpMethod":"PUT","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"share-account-modal"},"statusCode":200}]}],"description":"Please provide the account details below to indicate where Pathwise Credit Union can transfer funds to process your monthly loan payments.","hasBackButton":false,"hasNextButton":true,"id":"share-account","navigation":{"nextPageId":"share-account-modal"},"pageMode":"Page","pageTemplate":"Form","progressIndicatorNum":4,"sections":[{"controls":[{"autocompleteSettings":{"forceSelection":false,"idJsonPath":"$.placeId","labelJsonMultiPath":"{$.displayName} {$.locationText}","onSearch":{"endpointUrl":"api/placesearch/autocomplete?input={$.Private.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BankName.Search.Term}&sessionToken={$.Private.Guids.BusinessSearch}","httpMethod":"GET"},"onSelect":{"endpointUrl":"api/placesearch/places/{$.Private.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BankName.Search.Id}","httpMethod":"GET","onSuccess":[{"parameterName":"$.address","responseMappings":[{"responseJsonPath":"$.displayName","targetJsonPath":"$.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BankName"},{"onChangeTargetId":"bank-civicNumber","responseJsonPath":"$.address.civicNumber","targetJsonPath":"$.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BranchAddress.CivicNumber"},{"onChangeTargetId":"bank-unitNumber","responseJsonPath":"$.address.unitNumber","targetJsonPath":"$.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BranchAddress.UnitNumber"},{"onChangeTargetId":"bank-streetName","responseJsonPath":"$.address.streetName","targetJsonPath":"$.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BranchAddress.StreetName"},{"onChangeTargetId":"bank-cityName","responseJsonPath":"$.address.city","targetJsonPath":"$.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BranchAddress.CityName"},{"onChangeTargetId":"bank-provinceCode","responseJsonPath":"$.address.provinceCode","targetJsonPath":"$.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BranchAddress.Province.Code"},{"onChangeTargetId":"bank-postalCode","responseJsonPath":"$.address.postalCode","targetJsonPath":"$.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BranchAddress.PostalCode"},{"onChangeTargetId":"bank-country","responseJsonPath":"$.address.countryCode","targetJsonPath":"$.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BranchAddress.Country.Code"},{"onChangeTargetId":"bank-addressSearch","responseJsonPath":"$.formattedAddress","targetJsonPath":"$.Private.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BranchAddress.Search"},{"onChangeTargetId":"bank-phone","responseJsonPath":"$.phoneNumber","targetJsonPath":"$.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BranchPhone.PhoneNumber"}],"statusCode":200}]},"searchIdJsonPath":"$.Private.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BankName.Search.Id","searchTermJsonPath":"$.Private.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BankName.Search.Term"},"bindingPath":"$.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BankName","controlOptions":{"descriptionControlId":"bank-name"},"controlType":"Input","customClasses":"pb-5","customValidationMessages":{"required":"Please enter this information as this is a required field"},"iconLeft":"fal fa-briefcase","id":"bank-name","inputMode":"Required","label":"Bank Name","maxLength":50,"template":"AutoComplete"},{"addressInputs":{"cityName":{"bindingPath":"$.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BranchAddress.CityName","controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"bank-cityName","inputMode":"Required","label":"City","maxLength":50,"template":"TextBox","transformStringTo":"Titlecase"},"civicNumber":{"bindingPath":"$.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BranchAddress.CivicNumber","controlType":"Input","convertValueTo":"String","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"bank-civicNumber","inputMode":"Required","label":"Street number","maxLength":20,"template":"TextBox"},"country":{"bindingPath":"$.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BranchAddress.Country.Code","controlOptions":{"options":[{"label":"Canada","value":"CA"},{"label":"United States","value":"US"}]},"controlType":"Input","id":"bank-country","inputMode":"Required","label":"Country","template":"DropDown","value":"CA"},"postalCode":{"bindingPath":"$.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BranchAddress.PostalCode","controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"bank-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":"$.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BranchAddress.Province.Code","controlOptions":{"options":[{"label":"Alberta","value":"AB"},{"label":"British Columbia","value":"BC"},{"label":"Manitoba","value":"MB"},{"label":"New Brunswick","value":"NB"},{"label":"Newfoundland and Labrador","value":"NL"},{"label":"Nova Scotia","value":"NS"},{"label":"Northwest Territories","value":"NT"},{"label":"Nunavut","value":"NU"},{"label":"Ontario","value":"ON"},{"label":"Prince Edward Island","value":"PE"},{"label":"Quebec","value":"QC"},{"label":"Saskatchewan","value":"SK"},{"label":"Yukon","value":"YT"}]},"controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"enabled":true,"id":"bank-provinceCode","inputMode":"Required","label":"Province","placeholder":" ","template":"DropDown"},"streetName":{"bindingPath":"$.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BranchAddress.StreetName","controlType":"Input","customValidationMessages":{"required":"Please enter this information as it is a required field"},"id":"bank-streetName","inputMode":"Required","label":"Street name","maxLength":50,"regexMessage":"Please select a non-PO box address","regexPattern":"(^((?!PO|po|Po|Box|box).)*$)(^[a-zA-Z0-9 -#]*$)?","template":"TextBox"},"unitNumber":{"bindingPath":"$.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BranchAddress.UnitNumber","controlType":"Input","convertValueTo":"String","id":"bank-unitNumber","inputMode":"Optional","label":"Apt/Unit #","maxLength":20,"template":"TextBox"}},"addressSettings":{"forceManualEntry":true,"resetAddressOnToggleManualyEntry":false,"toggleLinkLabel":{"searchLabel":"Enter my bank's address manually"}},"bindingPath":"$.Private.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BranchAddress.Search","controlType":"Input","customClasses":"mb-3","iconLeft":"fal fa-map-marker-alt","id":"bank-addressSearch","inputMode":"Optional","label":"Bank Address","template":"AddressSearch"},{"bindingPath":"$.Products[0].ProductDetail.InitialDeposit.ExternalAccount.BranchPhone.PhoneNumber","controlType":"Input","customValidationMessages":{"required":"Please enter this information as this is a required field"},"id":"bank-phone","inputMask":"(999) 999-9999","inputMode":"Required","keyboardType":"Phone","label":"Bank Phone","maxLength":10,"prependString":"+1","regexMessage":"Please enter a valid phone number","regexPattern":"^(\\d{3}-\\d{3}-\\d{4})|(\\d{10})$","template":"TextBox"}],"width":"Medium"},{"columns":3,"controls":[{"bindingPath":"$.Products[0].ProductDetail.InitialDeposit.ExternalAccount.InstitutionNumber","controlType":"Input","convertValueTo":"String","customClasses":"pb-2","customValidationMessages":{"minLength":"This field requires 3 digits","required":"This information is required"},"enabled":true,"id":"institution-number","inputMode":"Required","keyboardType":"Phone","label":"Institution #","maxLength":3,"minLength":3,"regexMessage":"This field cannot contain only zeros","regexPattern":"^(?!.*0{3})([0-9]*)$","template":"TextBox"},{"bindingPath":"$.Products[0].ProductDetail.InitialDeposit.ExternalAccount.TransitNumber","controlType":"Input","convertValueTo":"String","customClasses":"pb-2","customValidationMessages":{"minLength":"This field requires 5 digits","required":"This information is required"},"enabled":true,"id":"transit-number","inputMode":"Required","keyboardType":"Phone","label":"Transit #","maxLength":5,"minLength":5,"regexMessage":"This field cannot contain only zeros","regexPattern":"^(?!.*0{5})([0-9]*)$","template":"TextBox"},{"allowedKeysRegex":"^[0-9]*$","bindingPath":"$.Products[0].ProductDetail.InitialDeposit.ExternalAccount.AccountNumber","controlType":"Input","convertValueTo":"String","customClasses":"pb-2","customValidationMessages":{"required":"This information is required"},"enabled":true,"id":"account-number","inputMode":"Required","keyboardType":"Phone","label":"Account #","maxLength":12,"regexMessage":"This field should 7-12 digits and cannot contain only zeros","regexPattern":"^(?!0{7,12}$)(\\d{7,12})$","regexStrictMatch":false,"template":"TextBox"}],"customClasses":"mt-3","helpText":["This information can usually be found in your financial institution’s online banking, a void cheque or your financial institution’s direct deposit form."],"width":"Medium"}],"title":"Let’s finalize your account opening!"},{"commandsInBackground":[{"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/finalize/submit","httpMethod":"POST","onSuccess":[{"parameterName":"$.StageName","responseMappings":[{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"}],"statusCode":200}]},{"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":"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[\"{$.Customers[0].CustomerId}\"].SigningStatus","targetJsonPath":"$.Private.Customers[0].CustomerSessions.SigningStatus"},{"responseJsonPath":"$.OutputParameters.CustomerSessions[\"{$.Customers[0].CustomerId}\"].SigningUrl","targetJsonPath":"$.Private.Customers[0].CustomerSessions.SigningUrl"},{"responseJsonPath":"$.OutputParameters.CustomerSessions[\"{$.Customers[0].CustomerId}\"].SessionToken","targetJsonPath":"$.Private.Customers[0].CustomerSessions.SessionToken"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"decision-modal-final"},"parameterName":"$.StageStatus.Code","parameterValue":"PendingReview"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"error"},"parameterName":"$.StageStatus.Code","parameterValue":"Faulted"},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"error"},"parameterName":"$.StageStatus.Code","parameterValue":"Canceled"},{"parameterName":"$.StageStatus.Code","parameterValue":"Processing","responseMappings":[{"responseJsonPath":"$.OutputParameters.ApplicationStatus","targetJsonPath":"$.ApplicationStatus.Code"}]}],"pollIntervalMS":5000}],"hasBackButton":false,"hasNextButton":false,"id":"share-account-modal","modalOptions":{"isDismissible":false},"navigation":{"nextPageId":"error"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"customClasses":"p-3","disclaimerText":"Sit tight. This should only take a few moments.","icon":"fa-light fa-credit-card-front fa-fade","id":"creatingShareAccounts","title":"Processing application..."}]},{"description":"Please review the document below and sign any signature fields that are required.","hasBackButton":false,"hasNextButton":false,"id":"sign-documents","navigation":{"nextPageId":"decision-modal-final"},"pageMode":"Page","pageTemplate":"Panel","pageWidth":"Extra Large","progressIndicatorNum":4,"restrictions":[{"targetJsonPath":"$.Private.Customers[0].CustomerSessions.SigningUrl","targetValue":"*"},{"targetJsonPath":"$.ApplicationStatus.Code","targetValue":"Approved"}],"sections":[{"controls":[{"controlType":"Iframe","customClasses":"border-none","id":"esign-iframe","iframeSettings":{"height":800,"url":"{$.Private.Customers[0].CustomerSessions.SigningUrl}"}},{"controlType":"Listener","id":"listerner","listenerSettings":{"actionPageId":"complete","callbackFunction":"receiveMessage","element":"window","event":"message"}}],"customClasses":"mt-0","id":"e-sign"}],"title":"2. Sign Your Documents"},{"commandsInBackground":[{"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/stages/current","httpMethod":"GET","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"decision-modal-final"},"parameterName":"$.StageStatus.Code","parameterValue":"Completed","responseMappings":[{"responseJsonPath":"$.OutputParameters.InputCorrelationId","targetJsonPath":"$.Private.Customers[0].InputCorrelationId"},{"responseJsonPath":"$.OutputParameters.CurrentStepName","targetJsonPath":"$.Private.Customers[0].CurrentStepName"}]},{"navigationAction":{"navigationType":"NavigateToPage","pageId":"error"},"parameterName":"$.StageStatus.Code","parameterValue":"Faulted"},{"parameterName":"$.StageStatus.Code","parameterValue":"PendingAdditionalInput","responseMappings":[{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"}]},{"parameterName":"$.StageStatus.Code","parameterValue":"Executing","responseMappings":[{"responseJsonPath":"$.StageName","targetJsonPath":"$.Private.CurrentStage.StageName"},{"responseJsonPath":"$.StageStatus.Code","targetJsonPath":"$.Private.CurrentStage.StageStatus.Code"}],"showLoader":true},{"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"}],"showLoader":true}],"pollIntervalMS":5000,"runInBackground":true}],"hasBackButton":false,"hasNextButton":false,"id":"completing-loan-modal","modalOptions":{"isDismissible":false},"navigation":{"nextPageId":"error"},"pageMode":"Modal","pageTemplate":"Form","restrictions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"},{"targetJsonPath":"$.Private.Customers[0].CustomerSessions.SigningUrl","targetValue":"*"}],"sections":[{"customClasses":"p-3","disclaimerText":"Sit tight. This should only take a few moments.","icon":"fa-light fa-credit-card-front fa-fade","id":"creatingAccounts","title":"Completing your loan..."}]},{"commandsInBackground":[{"customCommand":"ClearSession"}],"customClasses":"pt-7 h-screen","description":"<h1>Congratulations, {$.Customers[0].CustomerDetail.FirstName} {$.Customers[0].CustomerDetail.LastName}.\nYour financing is in place!</h1>","hasBackButton":false,"hasNextButton":false,"icon":"fa-light fa-party-horn","id":"complete","mainClasses":"bg-white pt-7","navigation":{"nextPageId":"","onLoadConditions":[{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CurrentStepName","targetValue":"SigningSession"}],"navigationAction":{"navigationType":"NavigateToPage","pageId":"completing-loan-modal"}}]},"pageMode":"Page","pageTemplate":"Decision","pageWidth":"Extra Large","progressIndicatorNum":5,"sections":[{"controls":[{"controlType":"HTML","customClasses":"mt-0","description":"A confirmation email has been sent to you, detailing the instructions for accessing your account and funds. You will be able to access your loan documents from this page using the link in your confirmation email for the next 30 days. We recommend downloading the documents for your records.","id":"description-1"},{"controlType":"HTML","customClasses":"mt-5","description":"If you have any questions please reach us at <a href=\"mailto:fsr@pathwise.ca\">fsr@pathwise.ca</a> or call us at <a href='tel:1-800-268-8771'>1-800-268-8771</a>","id":"description-3"}],"customClasses":"mt-0","id":"complete-details"},{"columns":3,"controls":[{"controlType":"Button","customClasses":"display-block mt-5 md:text-center","id":"btn-download-documents","label":"Download account contract","navigationAction":{"href":"/loans/en/api/cumulusworkflow/applications/{$.ApplicationNumber}/documents/personal-contract-account-agreement-signed/download","navigationType":"NavigateToLink"}},{"controlType":"Button","customClasses":"display-block md:mt-5 md:text-center","id":"btn-download-documents","label":"Download member contract","navigationAction":{"href":"/loans/en/api/cumulusworkflow/applications/{$.ApplicationNumber}/documents/personal-contract-member-agreement-signed/download","navigationType":"NavigateToLink"}},{"controlType":"Button","customClasses":"display-block md:mt-5 md:text-center","id":"btn-download-documents","label":"Download consent document","navigationAction":{"href":"/loans/en/api/cumulusworkflow/applications/{$.ApplicationNumber}/documents/line-of-credit-consent-signed/download","navigationType":"NavigateToLink"}}],"customClasses":"mt-3 w-full display-inline-block mb-2 d-btn p-2"},{"columns":2,"controls":[{"controlType":"Button","customClasses":"display-block md:mt-5 md:text-right pr-1","id":"btn-download-documents","label":"Download AFT document","navigationAction":{"href":"/loans/en/api/cumulusworkflow/applications/{$.ApplicationNumber}/documents/aft-direct-services-external-account-agreement-signed/download","navigationType":"NavigateToLink"}},{"controlType":"Button","customClasses":"display-block mt-5 md:text-left pl-1","id":"btn-download-documents","label":"Download loan document","navigationAction":{"href":"/loans/en/api/cumulusworkflow/applications/{$.ApplicationNumber}/documents/loan-agreement-signed/download","navigationType":"NavigateToLink"}}],"customClasses":"-mt-5 w-full display-inline-block mb-8 d-btn p-0"}]},{"commandsInBackground":[{"customCommand":"ClearSession"}],"controlType":"HTML","customClasses":"pt-7 h-screen","description":"Thank you for your application for a Pathwise Credit Union personal loan. Unfortunately, your application hasn’t met one or more of our eligibility requirements.","hasBackButton":false,"hasNextButton":false,"icon":"fa-light fa-user-clock roatateY180","id":"declined","mainClasses":"bg-white pt-7","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Extra Large","sections":[{"controlType":"HTML","customClasses":"mt-5","description":"We'd be happy to speak to you about your application, please contact our Financial Services Team at <a href='tel:1-800-268-8771'>1-800-268-8771</a> or email us at <a href='mailto:fsr@pathwise.ca'>fsr@pathwise.ca</a>.","id":"description-2"},{"controlType":"HTML","customClasses":"mt-5","description":"Your reference number is {$.ApplicationNumber}.","id":"description-3"}],"title":"Your application has been declined"},{"commandsInBackground":[{"customCommand":"ClearSession","delayIntervalMS":200}],"customClasses":"bg-white pt-7 mt-7","hasBackButton":false,"hasNextButton":false,"id":"review","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Extra Large","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-5 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 within the next 7 business days.","icon":"fa-light fa-user-clock","id":"description-2","title":"Thanks for submitting your application","width":"Max Width"}]},{"commandsInBackground":[{"customCommand":"ClearSession"}],"customClasses":"mt-7","hasBackButton":false,"hasNextButton":false,"id":"idv-cancelled","pageMode":"Page","pageTemplate":"Panel","pageWidth":"Large","sections":[{"description":"<p>The IDV process was cancelled by the applicant and we cannot move forward.","icon":"far fa-exclamation-triangle","id":"error-details","template":"Form","title":"IDV Cancelled"}]},{"bindOnLoad":[{"queryParam":"appnum","targetJsonPath":"$.ApplicationNumber"},{"queryParam":"cid","targetJsonPath":"$.Private.Resume.Cid"},{"queryParam":"code","targetJsonPath":"$.Private.Resume.Code"}],"commandsOnLoad":[{"body":[{"parameterName":"CustomerResumeCode","valueJsonPath":"$.Private.Resume.Code"},{"parameterName":"AuthenticationMethodCode","parameterValue":"OneTimePassword"}],"conditions":[{"targetJsonPath":"$.Application","targetValue":""}],"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"}],"statusCode":200}]}],"description":"There’s still a few more steps before we can finalize your loan. Select a method below to receive a one time password to resume your application.","hasBackButton":false,"hasNextButton":false,"id":"resume","navigation":{"nextPageId":"resume-modal"},"pageMode":"Page","pageTemplate":"Form","pageWidth":"Large","progressIndicatorNum":4,"restrictions":[{"queryParam":"appnum","targetValue":"*"},{"queryParam":"cid","targetValue":"*"},{"queryParam":"code","targetValue":"*"}],"sections":[{"controls":[{"bindingPath":"$.Private.Resume.DestinationToken","controlOptions":{"options":[{"icon":"fal fa-message-sms","label":"Text Me<br><small class=\"font-size-75-percent\">{$.Private.Resume.AuthenticationDetail.SupportedDestinations.*.ContactEndpoint}</small>","targetJsonPath":"Private.Resume.AuthenticationDetail.SupportedDestinations.*.DestinationToken","value":0},{"icon":"fal fa-phone-volume","label":"Call Me<br><small class=\"font-size-75-percent\">{$.Private.Resume.AuthenticationDetail.SupportedDestinations.*.ContactEndpoint}</small>","targetJsonPath":"Private.Resume.AuthenticationDetail.SupportedDestinations.*.DestinationToken","value":1}]},"controlType":"Input","id":"resume-list","inputMode":"Required","radioListSettings":{"bindOnSelect":true,"submitOnSelect":true},"template":"IconCardList"}],"id":"resume-options","width":"Medium"}],"title":"Resume your application"},{"commandsOnLoad":[{"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},{"resetControls":true,"responseMappings":[{"responseJsonPath":"$.ErrorMessage","targetJsonPath":"$.Private.Resume.ErrorMessage"}],"statusCode":400,"throwError":false}],"onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"load-application-modal"},"statusCode":200}]}],"hasBackButton":false,"hasNextButton":false,"id":"resume-modal","modalOptions":{"modalSize":"large"},"navigation":{"nextPageId":"load-application-modal"},"pageMode":"Modal","pageTemplate":"Form","restrictions":[{"targetJsonPath":"$.ApplicationNumber","targetValue":"*"},{"targetJsonPath":"$.Private.Resume.Cid","targetValue":"*"},{"targetJsonPath":"$.Private.Resume.Code","targetValue":"*"}],"sections":[{"columns":2,"controls":[{"bindingPath":"$.Private.Resume.UserCode","columnOverride":1,"controlType":"Input","customClasses":"mt-4","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,"conditions":[{"targetJsonPath":"$.Private.Resume.ErrorMessage","targetValue":"*"}],"controlType":"HTML","description":"<small class='p-invalid'>{$.Private.Resume.ErrorMessage}</small>","id":"resume-error"},{"columnOverride":1,"controlType":"Divider","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"}],"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"}]},{"commandsOnLoad":[{"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}","httpMethod":"GET","onError":[{"responseMappings":[{"responseJsonPath":"$.ErrorMessage","targetJsonPath":"$.Private.Resume.ErrorMessage"}],"statusCode":400}],"onSuccess":[{"bindAllResponseValues":true,"navigationAction":{"navigationType":"NavigateToPage","pageId":"decision-modal-status"},"statusCode":200}]}],"hasBackButton":false,"hasNextButton":false,"id":"load-application-modal","modalOptions":{"isDismissible":false},"navigation":{"nextPageId":"decision-modal-status"},"pageMode":"Modal","pageTemplate":"Form","sections":[{"customClasses":"p-3","disclaimerText":"Sit tight. This should only take a few moments.","icon":"fal fa-credit-card-front fa-fade","id":"loading-application","title":"Loading application..."}]},{"commandsOnLoad":[{"conditions":[{"operator":"NotEquals","targetJsonPath":"$.Private.LastPhoneNumber","targetValue":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"}],"customCommand":"GetCurrentUrl","onSuccess":[{"responseMappings":[{"targetJsonPath":"$.Private.SMSSent","value":""}]}]},{"customCommand":"GetCurrentUrl","onSuccess":[{"resetControls":true,"responseMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Otp","value":""},{"onChangeTargetId":"otp-mobile"}]}]},{"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Result","targetValue":"Verified"}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Result","value":""}]}]},{"body":[{"parameterName":"DeliveryMethod","parameterValue":"Sms"},{"parameterName":"ContactType","parameterValue":"Mobile"}],"conditions":[{"targetJsonPath":"$.Customers[0].CustomerId","targetValue":"*"},{"targetJsonPath":"$.Private.EnableSMSTemporarily","targetValue":"Yes"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.VerificationToken","targetValue":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Result","targetValue":""},{"targetJsonPath":"$.Private.SMSSent","targetValue":""}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[0].CustomerId}/contactmethods/verify","httpMethod":"POST","onSuccess":[{"resetControls":true,"responseMappings":[{"responseJsonPath":"$.VerificationToken","targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.VerificationToken"},{"targetJsonPath":"$.Private.SMSSent","value":"Yes"},{"bindingPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetJsonPath":"$.Private.LastPhoneNumber"},{"targetJsonPath":"$.Private.SMSOTPErrorMsg","value":""},{"onChangeTargetId":"otp-mobile"}],"statusCode":200}]}],"commandsOnSubmit":[{"conditions":[{"targetJsonPath":"$.Private.EnableSMSTemporarily","targetValue":"No"}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"resetControls":true,"responseMappings":[{"bindingPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Otp","value":""}]}]},{"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":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirm-sms"},"resetControls":true,"responseMappings":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Otp","value":""},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Result","value":"NotVerified"},{"onChangeTargetId":"otp-mobile"},{"responseJsonPath":"$.ErrorMessage","targetJsonPath":"$.Private.SMSOTPErrorMsg"}],"statusCode":400,"throwError":false}],"onSuccess":[{"navigationAction":{"navigationType":"NavigateForward"},"responseMappings":[{"bindingPath":"$.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber","targetJsonPath":"$.Private.Customers[0].CustomerDetail.PhoneContacts.Mobile.PhoneNumber"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Result","value":"Verified"},{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Otp","value":""},{"targetJsonPath":"$.Private.SMSOTPErrorMsg","value":""}],"statusCode":200,"throwError":true}]},{"conditions":[{"targetJsonPath":"$.Private.EnableSMSTemporarily","targetValue":"Yes"}],"customCommand":"GetCurrentUrl","onSuccess":[{"navigationAction":{"navigationType":"NavigateToPage","pageId":"confirm-sms"}}]}],"hasBackButton":false,"hasNextButton":false,"id":"confirm-sms","modalOptions":{"modalSize":"extra-large"},"navigation":{"nextPageId":"physical-address"},"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've texted a verification code to your mobile phone number. Once you've received the code, please enter it below to continue your verification. If you don't receive your code within 1-2 minutes, please click “Resend Code” below and we'll 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","columnOverride":1,"controlType":"Input","customClasses":"pb-2","defaultValue":"","id":"otp-mobile","inputMode":"Required","label":"Enter mobile code","maxLength":6,"minLength":6,"regexMessage":"You may only enter numbers","regexPattern":"^[0-9]*$","template":"TextBox"},{"columnOverride":1,"conditions":[{"targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.Result","targetValue":"NotVerified"}],"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 the correct code within 5 minutes of receiving it.","id":"otp-mobile-help"},{"columnOverride":1,"controlType":"CountdownTimer","countdownTimerSettings":{"countdownTimeMin":0.3,"icon":"fal fa-info-circle","label":"Resend a code","timerCompleteButtonCommands":[{"body":[{"parameterName":"DeliveryMethod","parameterValue":"Sms"},{"parameterName":"ContactType","parameterValue":"Mobile"}],"conditions":[{"targetJsonPath":"$.Customers[0].CustomerId","targetValue":"*"}],"endpointUrl":"api/cumulusworkflow/applications/{$.ApplicationNumber}/customers/{$.Customers[0].CustomerId}/contactmethods/verify","httpMethod":"POST","onSuccess":[{"responseMappings":[{"responseJsonPath":"$.VerificationToken","targetJsonPath":"$.Private.Customers[0].CustomerDetail.Sms.VerificationToken"}],"statusCode":200}]}],"timerCompleteButtonLabel":"send","timerCompleteButtonLabelPrefix":"","timerCompleteButtonLabelSuffix":""},"customClasses":"-mt-2 mb-5 align-items-center flex","id":"resend-mobile-timer"},{"columnOverride":1,"controlType":"Divider","customClasses":"-mt-2","id":"divider1"},{"buttonAction":"CloseModal","buttonSettings":{"isOutline":true},"controlType":"Button","id":"close-modal-button","label":"Cancel"},{"buttonAction":"Submit","controlType":"Button","customClasses":"float-right","id":"btnNext","label":"Submit"}],"customClasses":"-mb-3 box-shadow-none p-0","headingSize":"h1","id":"get-code","textAlignment":"text-left","title":"Confirm your mobile number."}]},{"commandsOnLoad":[{"customCommand":"ClearSession"}],"customClasses":"pt-7 h-screen","description":"<p>We're experiencing a technical issue at the moment and we're working to resolve it. Please try again later.</p><p>Have a question? Please feel free to call us at <a href='tel:1-800-268-8771'>1-800-268-8771</a> or email us at <a href='mailto:fsr@pathwise.ca'>fsr@pathwise.ca</a> so we can help.</p>","hasBackButton":false,"hasNextButton":false,"icon":"fa-light fa-exclamation-triangle","id":"error","mainClasses":"bg-white pt-7","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Extra Extra 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"}],"id":"error-details","template":"Form"}],"title":"Something Went Wrong"},{"customClasses":"pt-7 h-screen","description":"<p>Thank you for your interest in applying for a loan with Pathwise Credit Union.  As an existing member, we want to provide you with the best personalized service possible.  Unfortunately, our online Retail Loan platform is not available for existing members at this time. To explore your loan options, we encourage you to call our office at <a href='tel:1-800-268-8771'>1-800-268-8771</a> or email us at <a href='mailto:fsr@pathwise.ca'>fsr@pathwise.ca</a> to speak with one of our Financial Services Team representatives.  They will be happy to assist you in finding the right loan solution to meet your needs.  Thank you for your understanding, and we look forward to helping you!</p>","hasBackButton":false,"hasNextButton":false,"icon":"far fa-exclamation-triangle","id":"sin-error","mainClasses":"bg-white pt-7","pageMode":"Page","pageTemplate":"Decision","pageWidth":"Extra 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":"Extra Large","template":"Form","title":"Time's Up"}],"progressIndicators":[{"name":"About You"},{"name":"Address"},{"name":"Employment"},{"name":"Details"},{"name":"Finalize"},{"name":"All Done"}]}