{"version":3,"sources":["webpack://_N_E/../src/xplanEnums.ts","webpack://_N_E/../src/index.ts","webpack://_N_E/./src/constant.ts"],"names":["EntityTitleChoices","EntityMaritalStatusChoices","OccupationCategory","EntityHousingStatusChoices","EntityUserAccessLevelChoices","EntityResidentStatusChoices","EntityEntityTypeChoices","AddressTypeChoices","ContactTypeChoices","AssetTypeChoices","AssetStatusChoices","AssetTypeGroupChoices","AssetOwnerChoices","AssetRiskTypeChoices","HazardousTypeChoices","HazardousParticipationChoices","LiabilityTypeChoices","LiabilityTypeGroupChoices","LiabilityOwnerChoices","LiabilityStatusChoices","CashflowTypeChoices","CashflowTypeGroup","CashflowFreqChoices","CashflowOwnerChoices","IncomeSource","DependentDepSexChoices","DocNotesPermissionChoices","EmploymentEmpStatusChoices","EntityGroupRelationship","EntityClientStatus","GoalCategory","GoalOwner","GoalStatus","LiabilityRepaymentFrequency","LiabilitySupplier","LiabilityRepaymentType","LiabilityRateType","DependentRelationshipType","DesiredFutureChoices","ModuleChoices","ReferralSubtypes","LiabilityLoanTermType","getUrl","url","process","SUPPORTED_FORMATS","yupImageUploadSchema","Yup","test","name","message","value","type","includes","size","TRACKING_ENABLED","xplanCountries","debtTypeLabels","CreditCard","PersonalLoan","Overdraft","CarLoan","OutstandingPayment","OtherCurrentLoan","OtherLongTermLoan","PrimaryResidenceMortgage","PrimaryResidenceIslamicMortgage","BuyToLetMortgage","AdditionalPropertyMortgage","InvestmentPropertyMortgage","StudentLoan","debtTypes","key","label","assetTypes","Annuity","Antiques","Artwork","Bonds","CashOnHand","CurrentSavings","FixedDeposits","HolidayHome","HouseholdContents","Jewellery","KiwiSaver","ManagedInvestments","MotorVehicle","OtherInvestments","OtherLifeStyle","OtherLifestyleProperty","Pension","PrimaryResidence","InvestmentProperty","SecondaryResidentialProperty","Shares","Superannuation","UnitTrusts","WrapAccount"],"mappings":"6LAoCY,EAqGA,E,04CAtIZ,SAAY,GACV,UACA,gBACA,oBACA,kBACA,cACEA,EAAF,QACEA,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,OAC/DA,IAASA,EAAMG,MAAOH,EAAMG,MATH,QAgBhBC,GAAqD,EAGrDC,EAAiB,CAC5B,cACA,mBACA,UACA,UACA,iBACA,UACA,SACA,WACA,aACA,sBACA,YACA,UACA,QACA,YACA,UACA,aACA,UACA,UACA,aACA,WACA,UACA,UACA,SACA,QACA,UACA,SACA,UACA,oCACA,SACA,WACA,YACA,SACA,SACA,WACA,eACA,UACA,WACA,WACA,SACA,aACA,iBACA,2BACA,OACA,qBACA,QACA,QACA,mBACA,gBACA,WACA,UACA,wCACA,6BACA,QACA,eACA,aACA,mBACA,UACA,OACA,aACA,SACA,iBACA,UACA,WACA,WACA,qBACA,aACA,UACA,QACA,cACA,oBACA,UACA,UACA,WACA,iBACA,8BACA,OACA,UACA,SACA,gBACA,mBACA,8BACA,QACA,SACA,UACA,UACA,QACA,YACA,gBACA,SACA,YACA,UACA,aACA,OACA,YACA,WACA,gBACA,SACA,SACA,QACA,6BACA,WACA,YACA,UACA,UACA,QACA,YACA,6BACA,OACA,UACA,cACA,SACA,QACA,UACA,QACA,SACA,SACA,aACA,QACA,WACA,wCACA,qBACA,SACA,aACA,kCACA,SACA,UACA,UACA,UACA,yBACA,gBACA,YACA,aACA,QACA,YACA,aACA,SACA,WACA,WACA,OACA,QACA,mBACA,aACA,aACA,YACA,UACA,SACA,kCACA,UACA,SACA,WACA,aACA,aACA,UACA,aACA,UACA,UACA,QACA,QACA,cACA,gBACA,cACA,YACA,QACA,UACA,OACA,iBACA,2BACA,SACA,OACA,WACA,QACA,wBACA,SACA,mBACA,WACA,OACA,cACA,kBACA,SACA,WACA,cACA,QACA,UACA,UACA,qBACA,SACA,QACA,aACA,wBACA,eACA,UACA,SACA,aACA,eACA,YACA,4BACA,6BACA,WACA,kBACA,UACA,eACA,+CACA,cACA,QACA,YACA,oBACA,aACA,sBACA,YACA,2BACA,0BACA,iCACA,QACA,WACA,iCACA,YACA,SACA,cACA,uBACA,SACA,aACA,WACA,WACA,OACA,UACA,QACA,sB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AAcd,MAAO,iBAC7C,CAAED,IAAK/D,EAAiB+E,iBAAkBf,MAAO,qBACjD,CAAED,IAAK/D,EAAiBgF,eAAgBhB,MAAO,mBAC/C,CAAED,IAAK/D,EAAiBiF,uBAAwBjB,MAAO,4BACvD,CAAED,IAAK/D,EAAiBkF,QAASlB,MAAO,YACxC,CAAED,IAAK/D,EAAiBmF,iBAAkBnB,MAAO,qBACjD,CAAED,IAAK/D,EAAiBoF,mBAAoBpB,MAAO,uBACnD,CAAED,IAAK/D,EAAiBqF,6BAA8BrB,MAAO,kCAC7D,CAAED,IAAK/D,EAAiBsF,OAAQtB,MAAO,UACvC,CAAED,IAAK/D,EAAiBuF,eAAgBvB,MAAO,kBAC/C,CAAED,IAAK/D,EAAiBwF,WAAYxB,MAAO,eAC3C,CAAED,IAAK/D,EAAiByF,YAAazB,MAAO","file":"static/chunks/3f094a9deb44f6ce0ba76983eb15a568d4e304b5.84fb2c537d6f1f1c28e2.js","sourcesContent":["\"use strict\";\n// Generateed from scripts/createEnums.ts\nvar _a;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ReferralSubtypes = exports.ModuleChoices = exports.DesiredFutureChoices = exports.DependentRelationshipType = exports.LiabilityLoanTermType = exports.LiabilityFixedRateTermType = exports.LiabilityRateType = exports.LiabilityRepaymentType = exports.LiabilitySupplier = exports.LiabilityRepaymentFrequency = exports.AssetInvestmentRisk = exports.KiwiSaverObjective = exports.GoalStatus = exports.GoalOwner = exports.GoalCategory = exports.EntityClientStatus = exports.EntityGroupRelationship = exports.EmploymentEmpStatusChoices = exports.DocNotesPermissionChoices = exports.DependentDepSexChoices = exports.IncomeSource = exports.CashflowOwnerChoices = exports.CashflowFreqChoices = exports.CashflowTypeGroup = exports.CashflowTypeChoices = exports.LiabilityStatusChoices = exports.LiabilityOwnerChoices = exports.LiabilityTypeGroupChoices = exports.LiabilityTypeChoices = exports.HazardousParticipationChoices = exports.HazardousTypeChoices = exports.AssetRiskTypeChoices = exports.AssetOwnerChoices = exports.AssetRealestateTypeChoices = exports.AssetKiwisaverObjectiveChoices = exports.AssetTypeGroupChoices = exports.AssetStatusChoices = exports.AssetTypeChoices = exports.EmailContactTypes = exports.ContactTypeChoices = exports.AddressTypeChoices = exports.EntityEntityTypeChoices = exports.EntityResidentStatusChoices = exports.EntityUserAccessLevelChoices = exports.EntityHousingStatusChoices = exports.OccupationCategoryUUIDMap = exports.OccupationCategory = exports.EntitySexChoices = exports.EntityMaritalStatusChoices = exports.EntityTitleChoices = void 0;\nexports.IncomeProtectionPremiumStyle = exports.IncomeProtectionType = exports.IncomeProtectionBenefitPeriod = exports.IncomeProtectionWaitPeriod = exports.InsuranceInScopeTypes = exports.HealthCoverTypes = exports.HealthExcess = exports.HealthCover = void 0;\n// Check https://camelotgroup.xplan.iress.co.nz/ufield/edit/entity/title\nvar EntityTitleChoices;\n(function (EntityTitleChoices) {\n EntityTitleChoices[\"Dr\"] = \"Dr\";\n EntityTitleChoices[\"Judge\"] = \"Judge\";\n EntityTitleChoices[\"Justice\"] = \"Justice\";\n EntityTitleChoices[\"Master\"] = \"Master\";\n EntityTitleChoices[\"Miss\"] = \"Miss\";\n EntityTitleChoices[\"Mr\"] = \"Mr\";\n EntityTitleChoices[\"Mrs\"] = \"Mrs\";\n EntityTitleChoices[\"Ms\"] = \"Ms\";\n EntityTitleChoices[\"Prof\"] = \"Prof\";\n EntityTitleChoices[\"Rev\"] = \"Rev\";\n EntityTitleChoices[\"Coroner\"] = \"Coroner\";\n EntityTitleChoices[\"Lady\"] = \"Lady\";\n EntityTitleChoices[\"Sir\"] = \"Sir\";\n})(EntityTitleChoices = exports.EntityTitleChoices || (exports.EntityTitleChoices = {}));\nvar EntityMaritalStatusChoices;\n(function (EntityMaritalStatusChoices) {\n EntityMaritalStatusChoices[\"CivilUnion\"] = \"Civil Union\";\n EntityMaritalStatusChoices[\"DeFacto\"] = \"Defacto\";\n EntityMaritalStatusChoices[\"Divorced\"] = \"4\";\n EntityMaritalStatusChoices[\"Married\"] = \"2\";\n EntityMaritalStatusChoices[\"Separated\"] = \"3\";\n EntityMaritalStatusChoices[\"Single\"] = \"1\";\n EntityMaritalStatusChoices[\"Widowed\"] = \"Widowed\";\n EntityMaritalStatusChoices[\"Unknown\"] = \"Unknown\";\n})(EntityMaritalStatusChoices = exports.EntityMaritalStatusChoices || (exports.EntityMaritalStatusChoices = {}));\nvar EntitySexChoices;\n(function (EntitySexChoices) {\n EntitySexChoices[\"Male\"] = \"1\";\n EntitySexChoices[\"Female\"] = \"0\";\n EntitySexChoices[\"X\"] = \"2\";\n})(EntitySexChoices = exports.EntitySexChoices || (exports.EntitySexChoices = {}));\nvar OccupationCategory;\n(function (OccupationCategory) {\n OccupationCategory[\"WhiteCollar\"] = \"1A - White Collar Professional - Uni Qualified & Prof Assoc.\";\n OccupationCategory[\"WhiteCollarExec\"] = \"1B - White Collar Professional - High Earning Execs.\";\n OccupationCategory[\"MedicalProfessionals\"] = \"1M - Medical Professionals\";\n OccupationCategory[\"Managers\"] = \"2A - Managers & Business Execs.\";\n OccupationCategory[\"Admins\"] = \"2B - Clerical & Administration\";\n OccupationCategory[\"WhiteCollarLight\"] = \"2C - Light Manual - White Collar\";\n OccupationCategory[\"BlueCollarLight\"] = \"3A - Light Manual - Skilled Blue Collar\";\n OccupationCategory[\"BlueCollarModerate\"] = \"3B - Moderate Manual - Skilled Blue Collar\";\n OccupationCategory[\"BlueCollarHeavy\"] = \"4 - Heavy Manual/Moderate Risk - Blue Collar\";\n OccupationCategory[\"BlueCollarHeavyHighRisk\"] = \"5 - Heavy Manual/High Risk - Blue Collar\";\n})(OccupationCategory = exports.OccupationCategory || (exports.OccupationCategory = {}));\n// Map each JobCategory to a UUID - https://camelotgroup.xplan.iress.co.nz/resourceful/#method:PATCH%20/resourceful/riskresearcher/au/scenario/:scenario_id/life/:life_id\nexports.OccupationCategoryUUIDMap = (_a = {},\n _a[OccupationCategory.WhiteCollar] = '00000000-0000-0000-0000-000000008860',\n _a[OccupationCategory.WhiteCollarExec] = '00000000-0000-0000-0000-000000008861',\n _a[OccupationCategory.MedicalProfessionals] = '00000000-0000-0000-0000-000000008862',\n _a[OccupationCategory.Managers] = '00000000-0000-0000-0000-000000008863',\n _a[OccupationCategory.Admins] = '00000000-0000-0000-0000-000000008864',\n _a[OccupationCategory.WhiteCollarLight] = '00000000-0000-0000-0000-000000008865',\n _a[OccupationCategory.BlueCollarLight] = '00000000-0000-0000-0000-000000008866',\n _a[OccupationCategory.BlueCollarModerate] = '00000000-0000-0000-0000-000000008867',\n _a[OccupationCategory.BlueCollarHeavy] = '00000000-0000-0000-0000-000000008868',\n _a[OccupationCategory.BlueCollarHeavyHighRisk] = '00000000-0000-0000-0000-000000008869',\n _a);\nvar EntityHousingStatusChoices;\n(function (EntityHousingStatusChoices) {\n EntityHousingStatusChoices[\"Boarding\"] = \"Boarding\";\n EntityHousingStatusChoices[\"Renting\"] = \"Renting\";\n EntityHousingStatusChoices[\"OwnHome\"] = \"Own Home\";\n EntityHousingStatusChoices[\"OwnHomeMortgage\"] = \"Own Home Mortgage\";\n EntityHousingStatusChoices[\"WithParents\"] = \"With Parents\";\n EntityHousingStatusChoices[\"MobileHome\"] = \"Caravan\";\n EntityHousingStatusChoices[\"SuppliedByEmployer\"] = \"Supplied by Employer\";\n EntityHousingStatusChoices[\"RightToOccupy\"] = \"Right to Occupy\";\n EntityHousingStatusChoices[\"Other\"] = \"Other\";\n})(EntityHousingStatusChoices = exports.EntityHousingStatusChoices || (exports.EntityHousingStatusChoices = {}));\nvar EntityUserAccessLevelChoices;\n(function (EntityUserAccessLevelChoices) {\n EntityUserAccessLevelChoices[\"Adviser\"] = \"1\";\n EntityUserAccessLevelChoices[\"AdviserXTOOLSAccess\"] = \"10\";\n EntityUserAccessLevelChoices[\"AdviserSupport\"] = \"3\";\n EntityUserAccessLevelChoices[\"ParaplannerAdviserSupport\"] = \"2\";\n EntityUserAccessLevelChoices[\"CommPayAdviserSupport\"] = \"11\";\n EntityUserAccessLevelChoices[\"Management\"] = \"4\";\n EntityUserAccessLevelChoices[\"ExternalUserAuditor\"] = \"5\";\n EntityUserAccessLevelChoices[\"SystemAdministrator\"] = \"7\";\n EntityUserAccessLevelChoices[\"DormantUser\"] = \"8\";\n EntityUserAccessLevelChoices[\"ReadOnly\"] = \"9\";\n EntityUserAccessLevelChoices[\"SystemAdministratorDoNotUse\"] = \"6\";\n})(EntityUserAccessLevelChoices = exports.EntityUserAccessLevelChoices || (exports.EntityUserAccessLevelChoices = {}));\nvar EntityResidentStatusChoices;\n(function (EntityResidentStatusChoices) {\n EntityResidentStatusChoices[\"EmploymentPass\"] = \"Employment Pass\";\n EntityResidentStatusChoices[\"Foreigner\"] = \"Foreigner\";\n EntityResidentStatusChoices[\"NZCitizen\"] = \"NZ Citizen\";\n EntityResidentStatusChoices[\"PermanentResident\"] = \"Permanent Resident\";\n EntityResidentStatusChoices[\"Resident\"] = \"Resident\";\n EntityResidentStatusChoices[\"Other\"] = \"Other\";\n})(EntityResidentStatusChoices = exports.EntityResidentStatusChoices || (exports.EntityResidentStatusChoices = {}));\nvar EntityEntityTypeChoices;\n(function (EntityEntityTypeChoices) {\n EntityEntityTypeChoices[\"Individual\"] = \"1\";\n EntityEntityTypeChoices[\"Company\"] = \"2\";\n EntityEntityTypeChoices[\"Trust\"] = \"3\";\n EntityEntityTypeChoices[\"Group\"] = \"4\";\n EntityEntityTypeChoices[\"Superfund\"] = \"5\";\n EntityEntityTypeChoices[\"Partnership\"] = \"6\";\n EntityEntityTypeChoices[\"ReportCategory\"] = \"10\";\n EntityEntityTypeChoices[\"ReportTemplate\"] = \"11\";\n EntityEntityTypeChoices[\"ClientGroup\"] = \"12\";\n EntityEntityTypeChoices[\"SuperPlan\"] = \"13\";\n EntityEntityTypeChoices[\"Liability\"] = \"14\";\n EntityEntityTypeChoices[\"Asset\"] = \"15\";\n EntityEntityTypeChoices[\"Annuity\"] = \"16\";\n EntityEntityTypeChoices[\"Insurance\"] = \"20\";\n EntityEntityTypeChoices[\"MarginLending\"] = \"21\";\n EntityEntityTypeChoices[\"WizardScenario\"] = \"22\";\n EntityEntityTypeChoices[\"PartnerWizardScenario\"] = \"23\";\n EntityEntityTypeChoices[\"Subfund\"] = \"24\";\n EntityEntityTypeChoices[\"GroupPlanCategory\"] = \"26\";\n})(EntityEntityTypeChoices = exports.EntityEntityTypeChoices || (exports.EntityEntityTypeChoices = {}));\nvar AddressTypeChoices;\n(function (AddressTypeChoices) {\n AddressTypeChoices[\"Postal\"] = \"0\";\n AddressTypeChoices[\"Residential\"] = \"1\";\n AddressTypeChoices[\"Business\"] = \"2\";\n AddressTypeChoices[\"EstateHandler\"] = \"Estate Handler\";\n AddressTypeChoices[\"Registered\"] = \"registered\";\n AddressTypeChoices[\"PostSettlement\"] = \"post_settlement\";\n AddressTypeChoices[\"Other\"] = \"Other\";\n AddressTypeChoices[\"PreviousAddress\"] = \"Previous Address\";\n AddressTypeChoices[\"GoneNoAddress\"] = \"Gone No Address\";\n})(AddressTypeChoices = exports.AddressTypeChoices || (exports.AddressTypeChoices = {}));\nvar ContactTypeChoices;\n(function (ContactTypeChoices) {\n ContactTypeChoices[\"HomePhone\"] = \"p1\";\n ContactTypeChoices[\"WorkPhone\"] = \"p2\";\n ContactTypeChoices[\"MobilePhone\"] = \"p3\";\n ContactTypeChoices[\"Pager\"] = \"p4\";\n ContactTypeChoices[\"OtherPhone\"] = \"p5\";\n ContactTypeChoices[\"HomeFax\"] = \"f1\";\n ContactTypeChoices[\"WorkFax\"] = \"f2\";\n ContactTypeChoices[\"OtherFax\"] = \"f3\";\n ContactTypeChoices[\"HomeEmail\"] = \"m1\";\n ContactTypeChoices[\"WorkEmail\"] = \"m2\";\n ContactTypeChoices[\"OtherEmail\"] = \"m3\";\n ContactTypeChoices[\"SMSEmail\"] = \"SMS Email\";\n ContactTypeChoices[\"SMSNumber\"] = \"ms\";\n ContactTypeChoices[\"MSExchangeEmail\"] = \"mx\";\n ContactTypeChoices[\"GoogleMailGmail\"] = \"mg\";\n ContactTypeChoices[\"Website\"] = \"w1\";\n ContactTypeChoices[\"Skype\"] = \"sk\";\n ContactTypeChoices[\"PreferredEmail\"] = \"preferred_email\";\n ContactTypeChoices[\"WeChat\"] = \"ec\";\n ContactTypeChoices[\"NoEmailAddressHeld\"] = \"No Email Address Held\";\n})(ContactTypeChoices = exports.ContactTypeChoices || (exports.ContactTypeChoices = {}));\nexports.EmailContactTypes = [\n ContactTypeChoices.HomeEmail,\n ContactTypeChoices.GoogleMailGmail,\n ContactTypeChoices.MSExchangeEmail,\n ContactTypeChoices.OtherEmail,\n ContactTypeChoices.PreferredEmail,\n ContactTypeChoices.SMSEmail,\n ContactTypeChoices.WorkEmail,\n ContactTypeChoices.SMSNumber\n];\nvar AssetTypeChoices;\n(function (AssetTypeChoices) {\n AssetTypeChoices[\"AccountsReceivable\"] = \"702\";\n AssetTypeChoices[\"Annuity\"] = \"401\";\n AssetTypeChoices[\"Antiques\"] = \"501\";\n AssetTypeChoices[\"Artwork\"] = \"502\";\n AssetTypeChoices[\"Bonds\"] = \"201\";\n AssetTypeChoices[\"CashOnHand\"] = \"101\";\n AssetTypeChoices[\"CurrentSavings\"] = \"102\";\n AssetTypeChoices[\"FixedDeposits\"] = \"103\";\n AssetTypeChoices[\"Franchises\"] = \"707\";\n AssetTypeChoices[\"Goodwill\"] = \"706\";\n AssetTypeChoices[\"HolidayHome\"] = \"303\";\n AssetTypeChoices[\"HouseholdContents\"] = \"503\";\n AssetTypeChoices[\"Inventory\"] = \"703\";\n AssetTypeChoices[\"Investment\"] = \"708\";\n AssetTypeChoices[\"InvestmentProperty\"] = \"302\";\n AssetTypeChoices[\"Investments\"] = \"709\";\n AssetTypeChoices[\"Jewellery\"] = \"504\";\n AssetTypeChoices[\"KiwiSaver\"] = \"404\";\n AssetTypeChoices[\"Livestock\"] = \"712\";\n AssetTypeChoices[\"ManagedInvestments\"] = \"205\";\n AssetTypeChoices[\"MotorVehicle\"] = \"505\";\n AssetTypeChoices[\"Other\"] = \"405\";\n AssetTypeChoices[\"OtherInvestments\"] = \"299\";\n AssetTypeChoices[\"OtherLifeStyle\"] = \"506\";\n AssetTypeChoices[\"OtherLifestyleProperty\"] = \"304\";\n AssetTypeChoices[\"PatentsAndCopyrights\"] = \"705\";\n AssetTypeChoices[\"Pension\"] = \"402\";\n AssetTypeChoices[\"PlantAndMachinery\"] = \"701\";\n AssetTypeChoices[\"PrepaidExpenses\"] = \"704\";\n AssetTypeChoices[\"PrimaryResidence\"] = \"301\";\n AssetTypeChoices[\"SecondaryResidentialProperty\"] = \"300\";\n AssetTypeChoices[\"Shares\"] = \"202\";\n AssetTypeChoices[\"Superannuation\"] = \"403\";\n AssetTypeChoices[\"UnitTrusts\"] = \"203\";\n AssetTypeChoices[\"WrapAccount\"] = \"204\";\n})(AssetTypeChoices = exports.AssetTypeChoices || (exports.AssetTypeChoices = {}));\nvar AssetStatusChoices;\n(function (AssetStatusChoices) {\n AssetStatusChoices[\"Existing\"] = \"Existing\";\n AssetStatusChoices[\"Cancelled\"] = \"Cancelled\";\n AssetStatusChoices[\"Transferred\"] = \"Transferred\";\n AssetStatusChoices[\"Sold\"] = \"Sold\";\n})(AssetStatusChoices = exports.AssetStatusChoices || (exports.AssetStatusChoices = {}));\nvar AssetTypeGroupChoices;\n(function (AssetTypeGroupChoices) {\n AssetTypeGroupChoices[\"Investments\"] = \"2\";\n AssetTypeGroupChoices[\"Retirement\"] = \"4\";\n AssetTypeGroupChoices[\"BusinessAssets\"] = \"7\";\n AssetTypeGroupChoices[\"LifeStyle\"] = \"5\";\n AssetTypeGroupChoices[\"LiquidAssets\"] = \"1\";\n AssetTypeGroupChoices[\"RealEstate\"] = \"3\";\n AssetTypeGroupChoices[\"ManagedInvestments\"] = \"8\";\n})(AssetTypeGroupChoices = exports.AssetTypeGroupChoices || (exports.AssetTypeGroupChoices = {}));\nvar AssetKiwisaverObjectiveChoices;\n(function (AssetKiwisaverObjectiveChoices) {\n AssetKiwisaverObjectiveChoices[\"FirstHome\"] = \"1\";\n AssetKiwisaverObjectiveChoices[\"Retirement\"] = \"2\";\n})(AssetKiwisaverObjectiveChoices = exports.AssetKiwisaverObjectiveChoices || (exports.AssetKiwisaverObjectiveChoices = {}));\nvar AssetRealestateTypeChoices;\n(function (AssetRealestateTypeChoices) {\n AssetRealestateTypeChoices[\"InvestmentAsset\"] = \"1\";\n AssetRealestateTypeChoices[\"LifestyleAsset\"] = \"2\";\n})(AssetRealestateTypeChoices = exports.AssetRealestateTypeChoices || (exports.AssetRealestateTypeChoices = {}));\nvar AssetOwnerChoices;\n(function (AssetOwnerChoices) {\n AssetOwnerChoices[\"Client\"] = \"Client\";\n AssetOwnerChoices[\"Partner\"] = \"Partner\";\n AssetOwnerChoices[\"Joint\"] = \"Joint\";\n AssetOwnerChoices[\"Complex\"] = \"Complex\";\n})(AssetOwnerChoices = exports.AssetOwnerChoices || (exports.AssetOwnerChoices = {}));\nvar AssetRiskTypeChoices;\n(function (AssetRiskTypeChoices) {\n AssetRiskTypeChoices[\"Defensive\"] = \"106\";\n AssetRiskTypeChoices[\"Conservative\"] = \"107\";\n AssetRiskTypeChoices[\"Balanced\"] = \"108\";\n AssetRiskTypeChoices[\"Growth\"] = \"109\";\n AssetRiskTypeChoices[\"Aggressive\"] = \"110\";\n AssetRiskTypeChoices[\"NotSure\"] = \"411\";\n})(AssetRiskTypeChoices = exports.AssetRiskTypeChoices || (exports.AssetRiskTypeChoices = {}));\nvar HazardousTypeChoices;\n(function (HazardousTypeChoices) {\n HazardousTypeChoices[\"GameHunting\"] = \"Game Hunting\";\n HazardousTypeChoices[\"PowerBoating\"] = \"Power Boating\";\n HazardousTypeChoices[\"HorseRiding\"] = \"Horse Riding\";\n HazardousTypeChoices[\"RockClimbing\"] = \"Mountaineering/Rock Climbing\";\n HazardousTypeChoices[\"SkyDiving\"] = \"Parachuting/Skydiving\";\n HazardousTypeChoices[\"MotorRacing\"] = \"Motor Racing\";\n HazardousTypeChoices[\"Diving\"] = \"Underwater Diving\";\n HazardousTypeChoices[\"Flying\"] = \"Aviation\";\n HazardousTypeChoices[\"Biking\"] = \"Mountain Biking\";\n HazardousTypeChoices[\"Rugby\"] = \"Rugby / League\";\n HazardousTypeChoices[\"Other\"] = \"Other\";\n})(HazardousTypeChoices = exports.HazardousTypeChoices || (exports.HazardousTypeChoices = {}));\nvar HazardousParticipationChoices;\n(function (HazardousParticipationChoices) {\n HazardousParticipationChoices[\"Current\"] = \"Currently participates\";\n HazardousParticipationChoices[\"LastThreeYears\"] = \"Participated within the last 3 years\";\n HazardousParticipationChoices[\"Intends\"] = \"Intends Participating\";\n HazardousParticipationChoices[\"MoreThanThreeYears\"] = \"Participated more than 3 years ago\";\n})(HazardousParticipationChoices = exports.HazardousParticipationChoices || (exports.HazardousParticipationChoices = {}));\nvar LiabilityTypeChoices;\n(function (LiabilityTypeChoices) {\n LiabilityTypeChoices[\"CreditCard\"] = \"101\";\n LiabilityTypeChoices[\"OtherCurrentLoan\"] = \"102\";\n LiabilityTypeChoices[\"OutstandingPayment\"] = \"103\";\n LiabilityTypeChoices[\"Overdraft\"] = \"104\";\n LiabilityTypeChoices[\"PrimaryResidenceMortgage\"] = \"201\";\n LiabilityTypeChoices[\"PrimaryResidenceIslamicMortgage\"] = \"210\";\n LiabilityTypeChoices[\"InvestmentPropertyMortgage\"] = \"202\";\n LiabilityTypeChoices[\"BuyToLetMortgage\"] = \"211\";\n LiabilityTypeChoices[\"AdditionalPropertyMortgage\"] = \"212\";\n LiabilityTypeChoices[\"InvestmentPropertyIslamicMortgage\"] = \"213\";\n LiabilityTypeChoices[\"CarLoan\"] = \"203\";\n LiabilityTypeChoices[\"StudentLoan\"] = \"204\";\n LiabilityTypeChoices[\"PersonalLoan\"] = \"205\";\n LiabilityTypeChoices[\"OtherLongTermLoan\"] = \"206\";\n LiabilityTypeChoices[\"JointAndSeveral\"] = \"301\";\n LiabilityTypeChoices[\"Limited\"] = \"302\";\n})(LiabilityTypeChoices = exports.LiabilityTypeChoices || (exports.LiabilityTypeChoices = {}));\nvar LiabilityTypeGroupChoices;\n(function (LiabilityTypeGroupChoices) {\n LiabilityTypeGroupChoices[\"Current\"] = \"1\";\n LiabilityTypeGroupChoices[\"LongTerm\"] = \"2\";\n LiabilityTypeGroupChoices[\"Contingent\"] = \"3\";\n})(LiabilityTypeGroupChoices = exports.LiabilityTypeGroupChoices || (exports.LiabilityTypeGroupChoices = {}));\nvar LiabilityOwnerChoices;\n(function (LiabilityOwnerChoices) {\n LiabilityOwnerChoices[\"Client\"] = \"Client\";\n LiabilityOwnerChoices[\"Partner\"] = \"Partner\";\n LiabilityOwnerChoices[\"Joint\"] = \"Joint\";\n LiabilityOwnerChoices[\"Complex\"] = \"Complex\";\n})(LiabilityOwnerChoices = exports.LiabilityOwnerChoices || (exports.LiabilityOwnerChoices = {}));\nvar LiabilityStatusChoices;\n(function (LiabilityStatusChoices) {\n LiabilityStatusChoices[\"Approved\"] = \"Approved\";\n LiabilityStatusChoices[\"Cancelled\"] = \"Cancelled\";\n LiabilityStatusChoices[\"Current\"] = \"Current\";\n})(LiabilityStatusChoices = exports.LiabilityStatusChoices || (exports.LiabilityStatusChoices = {}));\nvar CashflowTypeChoices;\n(function (CashflowTypeChoices) {\n CashflowTypeChoices[\"AnnuityIncome\"] = \"i107\";\n CashflowTypeChoices[\"Bonuses\"] = \"i102\";\n CashflowTypeChoices[\"BusinessIncome\"] = \"i113\";\n CashflowTypeChoices[\"Car\"] = \"e905\";\n CashflowTypeChoices[\"CarLoan\"] = \"e203\";\n CashflowTypeChoices[\"CarMaintenance\"] = \"e703\";\n CashflowTypeChoices[\"CDsVideosMovies\"] = \"ec03\";\n CashflowTypeChoices[\"ChildSupport\"] = \"Child Support\";\n CashflowTypeChoices[\"Clothing\"] = \"eb01\";\n CashflowTypeChoices[\"Commissions\"] = \"i103\";\n CashflowTypeChoices[\"Contributions\"] = \"e4\";\n CashflowTypeChoices[\"Cosmetics\"] = \"eb04\";\n CashflowTypeChoices[\"CreditCards\"] = \"e301\";\n CashflowTypeChoices[\"CustomExpenditure\"] = \"ed99\";\n CashflowTypeChoices[\"Dental\"] = \"ea02\";\n CashflowTypeChoices[\"DiningOut\"] = \"e802\";\n CashflowTypeChoices[\"Disability\"] = \"e902\";\n CashflowTypeChoices[\"Doctor\"] = \"ea01\";\n CashflowTypeChoices[\"Drawings\"] = \"Drawings\";\n CashflowTypeChoices[\"DryCleaning\"] = \"eb02\";\n CashflowTypeChoices[\"Electricity\"] = \"e603\";\n CashflowTypeChoices[\"Endowment\"] = \"e906\";\n CashflowTypeChoices[\"Gas\"] = \"e601\";\n CashflowTypeChoices[\"Groceries\"] = \"e801\";\n CashflowTypeChoices[\"Hairdressing\"] = \"eb03\";\n CashflowTypeChoices[\"Health\"] = \"e904\";\n CashflowTypeChoices[\"Holiday\"] = \"ec02\";\n CashflowTypeChoices[\"Home\"] = \"e903\";\n CashflowTypeChoices[\"Hospital\"] = \"ea05\";\n CashflowTypeChoices[\"HousingMaintenance\"] = \"e501\";\n CashflowTypeChoices[\"IncomeTax\"] = \"e101\";\n CashflowTypeChoices[\"InvestmentDividends\"] = \"i105\";\n CashflowTypeChoices[\"InvestmentInterest\"] = \"i104\";\n CashflowTypeChoices[\"InvestmentOtherIncome\"] = \"i111\";\n CashflowTypeChoices[\"InvestmentRental\"] = \"i106\";\n CashflowTypeChoices[\"Life\"] = \"e901\";\n CashflowTypeChoices[\"LifestyleIncome\"] = \"i112\";\n CashflowTypeChoices[\"Memberships\"] = \"ec01\";\n CashflowTypeChoices[\"Mobile\"] = \"e605\";\n CashflowTypeChoices[\"MortgagePayments\"] = \"e201\";\n CashflowTypeChoices[\"Optical\"] = \"ea03\";\n CashflowTypeChoices[\"SecondaryWages\"] = \"i101\";\n CashflowTypeChoices[\"Other\"] = \"e699\";\n CashflowTypeChoices[\"OtherCarExpenses\"] = \"e799\";\n CashflowTypeChoices[\"OtherEntertainment\"] = \"ec99\";\n CashflowTypeChoices[\"OtherExpenditure\"] = \"ed01\";\n CashflowTypeChoices[\"OtherFoodExpenses\"] = \"e899\";\n CashflowTypeChoices[\"OtherHealthCare\"] = \"ea99\";\n CashflowTypeChoices[\"OtherHousing\"] = \"e599\";\n CashflowTypeChoices[\"OtherIncome\"] = \"i199\";\n CashflowTypeChoices[\"OtherInsurance\"] = \"e999\";\n CashflowTypeChoices[\"OtherLoans\"] = \"e399\";\n CashflowTypeChoices[\"OtherLongTermLoans\"] = \"e299\";\n CashflowTypeChoices[\"OtherPersonalCare\"] = \"eb99\";\n CashflowTypeChoices[\"OtherTax\"] = \"e199\";\n CashflowTypeChoices[\"PensionIncome\"] = \"i108\";\n CashflowTypeChoices[\"PersonalLoans\"] = \"e204\";\n CashflowTypeChoices[\"Petrol\"] = \"e701\";\n CashflowTypeChoices[\"Pharmaceutical\"] = \"ea04\";\n CashflowTypeChoices[\"PropertyTax\"] = \"e102\";\n CashflowTypeChoices[\"Rates\"] = \"e607\";\n CashflowTypeChoices[\"RentalPayments\"] = \"e202\";\n CashflowTypeChoices[\"Repairs\"] = \"e702\";\n CashflowTypeChoices[\"RoadTax\"] = \"e103\";\n CashflowTypeChoices[\"Royalties\"] = \"i110\";\n CashflowTypeChoices[\"SocialWelfare\"] = \"Social Welfare\";\n CashflowTypeChoices[\"Sports\"] = \"ec04\";\n CashflowTypeChoices[\"TaxDeductibleEducationLoans\"] = \"e205\";\n CashflowTypeChoices[\"TaxDeductibleMortgagePayments\"] = \"e206\";\n CashflowTypeChoices[\"Telephone\"] = \"e604\";\n CashflowTypeChoices[\"Television\"] = \"e606\";\n CashflowTypeChoices[\"Term\"] = \"e907\";\n CashflowTypeChoices[\"TradeIncome\"] = \"i109\";\n CashflowTypeChoices[\"Water\"] = \"e602\";\n CashflowTypeChoices[\"WholeLife\"] = \"e908\";\n CashflowTypeChoices[\"RentalExpenses\"] = \"e502\";\n CashflowTypeChoices[\"SportsAndRec\"] = \"ec05\";\n CashflowTypeChoices[\"Transport\"] = \"e704\";\n CashflowTypeChoices[\"Rent\"] = \"e504\";\n CashflowTypeChoices[\"BodyCorp\"] = \"e503\";\n CashflowTypeChoices[\"Entertainment\"] = \"ec11\";\n CashflowTypeChoices[\"Insurance\"] = \"e910\";\n CashflowTypeChoices[\"ChildCare\"] = \"ed02\";\n CashflowTypeChoices[\"Education\"] = \"ed05\";\n CashflowTypeChoices[\"Healthcare\"] = \"ea06\";\n CashflowTypeChoices[\"Pets\"] = \"ed04\";\n CashflowTypeChoices[\"General\"] = \"ed03\";\n CashflowTypeChoices[\"OtherExpense\"] = \"ed01\";\n CashflowTypeChoices[\"WorkingForFamilies\"] = \"i125\";\n CashflowTypeChoices[\"OtherGovernmentBenefit\"] = \"i127\";\n})(CashflowTypeChoices = exports.CashflowTypeChoices || (exports.CashflowTypeChoices = {}));\nvar CashflowTypeGroup;\n(function (CashflowTypeGroup) {\n CashflowTypeGroup[\"INCOME\"] = \"i1\";\n CashflowTypeGroup[\"TAXES\"] = \"e1\";\n CashflowTypeGroup[\"DEBT_LONG_TERM\"] = \"e2\";\n CashflowTypeGroup[\"DEBT_SHORT_TERM\"] = \"e3\";\n CashflowTypeGroup[\"CONTRIBUTIONS\"] = \"e4\";\n CashflowTypeGroup[\"HOUSING\"] = \"e5\";\n CashflowTypeGroup[\"UTILITIES\"] = \"e6\";\n CashflowTypeGroup[\"TRANSPORT\"] = \"e7\";\n CashflowTypeGroup[\"FOOD\"] = \"e8\";\n CashflowTypeGroup[\"INSURANCE\"] = \"e9\";\n CashflowTypeGroup[\"HEALTH_CARE\"] = \"ea\";\n CashflowTypeGroup[\"PERSONAL_CARE\"] = \"eb\";\n CashflowTypeGroup[\"ENTERTAINMENT\"] = \"ec\";\n CashflowTypeGroup[\"OTHER_EXPENDITURE\"] = \"ed\";\n})(CashflowTypeGroup = exports.CashflowTypeGroup || (exports.CashflowTypeGroup = {}));\nvar CashflowFreqChoices;\n(function (CashflowFreqChoices) {\n CashflowFreqChoices[\"Weekly\"] = \"52\";\n CashflowFreqChoices[\"Fortnightly\"] = \"26\";\n CashflowFreqChoices[\"TwiceAMonth\"] = \"24\";\n CashflowFreqChoices[\"FourWeekly\"] = \"13\";\n CashflowFreqChoices[\"Monthly\"] = \"12\";\n CashflowFreqChoices[\"BiMonthly\"] = \"6\";\n CashflowFreqChoices[\"Quarterly\"] = \"4\";\n CashflowFreqChoices[\"HalfYearly\"] = \"2\";\n CashflowFreqChoices[\"Yearly\"] = \"1\";\n CashflowFreqChoices[\"Single\"] = \"0\";\n CashflowFreqChoices[\"CustomMonthly\"] = \"-1\";\n})(CashflowFreqChoices = exports.CashflowFreqChoices || (exports.CashflowFreqChoices = {}));\nvar CashflowOwnerChoices;\n(function (CashflowOwnerChoices) {\n CashflowOwnerChoices[\"Client\"] = \"Client\";\n CashflowOwnerChoices[\"Partner\"] = \"Partner\";\n CashflowOwnerChoices[\"Joint\"] = \"Joint\";\n})(CashflowOwnerChoices = exports.CashflowOwnerChoices || (exports.CashflowOwnerChoices = {}));\n// https://camelotgroup.xplan.iress.co.nz/resourceful/ufield/entity_cashflow/type\nvar IncomeSource;\n(function (IncomeSource) {\n IncomeSource[\"SalaryAndWages\"] = \"i101\";\n IncomeSource[\"Bonuses\"] = \"i102\";\n IncomeSource[\"Commissions\"] = \"i103\";\n IncomeSource[\"InvestmentInterest\"] = \"i104\";\n IncomeSource[\"InvestmentDividends\"] = \"i105\";\n IncomeSource[\"InvestmentRental\"] = \"i106\";\n IncomeSource[\"AnnuityIncome\"] = \"i107\";\n IncomeSource[\"PensionIncome\"] = \"i108\";\n IncomeSource[\"BusinessIncome\"] = \"i113\";\n IncomeSource[\"TradeIncome\"] = \"i109\";\n IncomeSource[\"Royalties\"] = \"i110\";\n IncomeSource[\"InvestmentOtherIncome\"] = \"i111\";\n IncomeSource[\"LifestyleIncome\"] = \"i112\";\n IncomeSource[\"WorkingForFamiliesTaxCredit\"] = \"i125\";\n IncomeSource[\"OtherGovernmentBenefit\"] = \"i127\";\n IncomeSource[\"OtherIncome\"] = \"i199\";\n})(IncomeSource = exports.IncomeSource || (exports.IncomeSource = {}));\nvar DependentDepSexChoices;\n(function (DependentDepSexChoices) {\n DependentDepSexChoices[\"Male\"] = \"1\";\n DependentDepSexChoices[\"Female\"] = \"0\";\n DependentDepSexChoices[\"Other\"] = \"X\";\n})(DependentDepSexChoices = exports.DependentDepSexChoices || (exports.DependentDepSexChoices = {}));\nvar DocNotesPermissionChoices;\n(function (DocNotesPermissionChoices) {\n DocNotesPermissionChoices[\"Private\"] = \"0\";\n DocNotesPermissionChoices[\"SharedWithSpecificGroups\"] = \"3\";\n DocNotesPermissionChoices[\"SharedWithMyGroups\"] = \"1\";\n DocNotesPermissionChoices[\"SharedWithAll\"] = \"2\";\n DocNotesPermissionChoices[\"SharedWithClientsGroups\"] = \"4\";\n})(DocNotesPermissionChoices = exports.DocNotesPermissionChoices || (exports.DocNotesPermissionChoices = {}));\nvar EmploymentEmpStatusChoices;\n(function (EmploymentEmpStatusChoices) {\n EmploymentEmpStatusChoices[\"FullTime\"] = \"Full-time\";\n EmploymentEmpStatusChoices[\"PartTime\"] = \"Part-time\";\n EmploymentEmpStatusChoices[\"Casual\"] = \"Casual\";\n EmploymentEmpStatusChoices[\"Unemployed\"] = \"Unemployed\";\n EmploymentEmpStatusChoices[\"SelfEmployed\"] = \"Self Employed\";\n EmploymentEmpStatusChoices[\"Retired\"] = \"Retired\";\n EmploymentEmpStatusChoices[\"HomeMaker\"] = \"Homemaker\";\n EmploymentEmpStatusChoices[\"Student\"] = \"Student\";\n EmploymentEmpStatusChoices[\"FullTimeContractor\"] = \"Full-time Contractor\";\n EmploymentEmpStatusChoices[\"PartTimeContractor\"] = \"Part-time Contractor\";\n EmploymentEmpStatusChoices[\"Other\"] = \"Other\";\n EmploymentEmpStatusChoices[\"PreviousEmployment\"] = \"Previous Employment\";\n})(EmploymentEmpStatusChoices = exports.EmploymentEmpStatusChoices || (exports.EmploymentEmpStatusChoices = {}));\nvar EntityGroupRelationship;\n(function (EntityGroupRelationship) {\n EntityGroupRelationship[\"None\"] = \"-1\";\n EntityGroupRelationship[\"Partner\"] = \"0\";\n EntityGroupRelationship[\"Company\"] = \"1\";\n EntityGroupRelationship[\"Super\"] = \"2\";\n EntityGroupRelationship[\"Trust\"] = \"3\";\n EntityGroupRelationship[\"Family\"] = \"4\";\n EntityGroupRelationship[\"Other\"] = \"5\";\n EntityGroupRelationship[\"BeneficiaryEstate\"] = \"6\";\n EntityGroupRelationship[\"BeneficiaryTrust\"] = \"7\";\n EntityGroupRelationship[\"BusinessPartner\"] = \"8\";\n EntityGroupRelationship[\"Dependent\"] = \"9\";\n EntityGroupRelationship[\"Director\"] = \"10\";\n EntityGroupRelationship[\"Employee\"] = \"11\";\n EntityGroupRelationship[\"ExecutorOfWill\"] = \"12\";\n EntityGroupRelationship[\"KeyPerson\"] = \"13\";\n EntityGroupRelationship[\"PowerOfAttorney\"] = \"14\";\n EntityGroupRelationship[\"PrimaryContactPerson\"] = \"15\";\n EntityGroupRelationship[\"Shareholder\"] = \"16\";\n EntityGroupRelationship[\"Trustee\"] = \"17\";\n EntityGroupRelationship[\"Settlor\"] = \"18\";\n EntityGroupRelationship[\"Employer\"] = \"19\";\n EntityGroupRelationship[\"AdditionalSpouse\"] = \"100\";\n EntityGroupRelationship[\"AdoptedChild\"] = \"101\";\n EntityGroupRelationship[\"AdoptedParent\"] = \"102\";\n EntityGroupRelationship[\"AdoptedSibling\"] = \"103\";\n EntityGroupRelationship[\"AuntUncle\"] = \"104\";\n EntityGroupRelationship[\"ChildGuardian\"] = \"105\";\n EntityGroupRelationship[\"ChildInLaw\"] = \"106\";\n EntityGroupRelationship[\"Cousing\"] = \"107\";\n EntityGroupRelationship[\"DependentParentInLaw\"] = \"108\";\n EntityGroupRelationship[\"ExSpouse\"] = \"109\";\n EntityGroupRelationship[\"Fiance\"] = \"110\";\n EntityGroupRelationship[\"Fiancee\"] = \"111\";\n EntityGroupRelationship[\"FosterChild\"] = \"112\";\n EntityGroupRelationship[\"FosterParent\"] = \"113\";\n EntityGroupRelationship[\"FosterSibling\"] = \"114\";\n EntityGroupRelationship[\"Friend\"] = \"115\";\n EntityGroupRelationship[\"Godchild\"] = \"116\";\n EntityGroupRelationship[\"Godparent\"] = \"117\";\n EntityGroupRelationship[\"GrandAuntUncle\"] = \"118\";\n EntityGroupRelationship[\"GrandNephewNiece\"] = \"119\";\n EntityGroupRelationship[\"GrandChild\"] = \"120\";\n EntityGroupRelationship[\"GrandChildInLaw\"] = \"121\";\n EntityGroupRelationship[\"GrandParent\"] = \"122\";\n EntityGroupRelationship[\"GrandParentInLaw\"] = \"123\";\n EntityGroupRelationship[\"GreatGrandAuntUncle\"] = \"124\";\n EntityGroupRelationship[\"GreatGrandNephewNiece\"] = \"125\";\n EntityGroupRelationship[\"GreatGrandChild\"] = \"126\";\n EntityGroupRelationship[\"GreatGrandParent\"] = \"127\";\n EntityGroupRelationship[\"HalfSibling\"] = \"128\";\n EntityGroupRelationship[\"LivingSpouse\"] = \"129\";\n EntityGroupRelationship[\"NephewNiece\"] = \"130\";\n EntityGroupRelationship[\"ParentInLaw\"] = \"131\";\n EntityGroupRelationship[\"Servant\"] = \"132\";\n EntityGroupRelationship[\"StepChild\"] = \"133\";\n EntityGroupRelationship[\"StepGrandChild\"] = \"134\";\n EntityGroupRelationship[\"StepGrandParent\"] = \"135\";\n EntityGroupRelationship[\"StepParent\"] = \"136\";\n EntityGroupRelationship[\"StepSibling\"] = \"137\";\n EntityGroupRelationship[\"Parent\"] = \"200\";\n})(EntityGroupRelationship = exports.EntityGroupRelationship || (exports.EntityGroupRelationship = {}));\nvar EntityClientStatus;\n(function (EntityClientStatus) {\n EntityClientStatus[\"Client\"] = \"0\";\n EntityClientStatus[\"Archived\"] = \"2\";\n EntityClientStatus[\"Contact\"] = \"32\";\n EntityClientStatus[\"Deceased\"] = \"64\";\n EntityClientStatus[\"GroupPlanMembers\"] = \"4\";\n EntityClientStatus[\"Prospect\"] = \"8\";\n})(EntityClientStatus = exports.EntityClientStatus || (exports.EntityClientStatus = {}));\nvar GoalCategory;\n(function (GoalCategory) {\n GoalCategory[\"EstatePlanning\"] = \"0\";\n GoalCategory[\"Mortgage\"] = \"1\";\n GoalCategory[\"Protection\"] = \"2\";\n GoalCategory[\"SavingsAndInvestment\"] = \"3\";\n GoalCategory[\"Retirement\"] = \"5\";\n GoalCategory[\"DebtManagement\"] = \"6\";\n GoalCategory[\"Budgeting\"] = \"7\";\n GoalCategory[\"Other\"] = \"9999\";\n})(GoalCategory = exports.GoalCategory || (exports.GoalCategory = {}));\nvar GoalOwner;\n(function (GoalOwner) {\n GoalOwner[\"Client\"] = \"client\";\n GoalOwner[\"Partner\"] = \"partner\";\n GoalOwner[\"Joint\"] = \"joint\";\n})(GoalOwner = exports.GoalOwner || (exports.GoalOwner = {}));\nvar GoalStatus;\n(function (GoalStatus) {\n GoalStatus[\"Fulfilled\"] = \"1\";\n GoalStatus[\"Unfulfilled\"] = \"2\";\n GoalStatus[\"PartiallyFulfilled\"] = \"3\";\n GoalStatus[\"Cancelled\"] = \"4\";\n})(GoalStatus = exports.GoalStatus || (exports.GoalStatus = {}));\nvar KiwiSaverObjective;\n(function (KiwiSaverObjective) {\n KiwiSaverObjective[\"FirstHome\"] = \"1\";\n KiwiSaverObjective[\"Retirement\"] = \"2\";\n})(KiwiSaverObjective = exports.KiwiSaverObjective || (exports.KiwiSaverObjective = {}));\nvar AssetInvestmentRisk;\n(function (AssetInvestmentRisk) {\n // there's more...\n AssetInvestmentRisk[\"Balanced\"] = \"108\";\n})(AssetInvestmentRisk = exports.AssetInvestmentRisk || (exports.AssetInvestmentRisk = {}));\nvar LiabilityRepaymentFrequency;\n(function (LiabilityRepaymentFrequency) {\n LiabilityRepaymentFrequency[\"Weekly\"] = \"52\";\n LiabilityRepaymentFrequency[\"Fortnightly\"] = \"26\";\n LiabilityRepaymentFrequency[\"Monthly\"] = \"12\";\n LiabilityRepaymentFrequency[\"Quarterly\"] = \"4\";\n LiabilityRepaymentFrequency[\"HalfYearly\"] = \"2\";\n LiabilityRepaymentFrequency[\"Yearly\"] = \"1\";\n LiabilityRepaymentFrequency[\"Single\"] = \"0\";\n})(LiabilityRepaymentFrequency = exports.LiabilityRepaymentFrequency || (exports.LiabilityRepaymentFrequency = {}));\nvar LiabilitySupplier;\n(function (LiabilitySupplier) {\n LiabilitySupplier[\"ANZ_Bank_NZ\"] = \" 1069 \";\n LiabilitySupplier[\"ASB_Bank_NZ\"] = \" 1072 \";\n LiabilitySupplier[\"BNZ_Bank\"] = \"BNZ Bank\";\n LiabilitySupplier[\"GeneralFinance_NZ\"] = \" 1070 \";\n LiabilitySupplier[\"Heartland\"] = \"Heartland\";\n LiabilitySupplier[\"NZF_Group_Ltd\"] = \" 1067 \";\n LiabilitySupplier[\"National_Bank_NZ\"] = \" 1071 \";\n LiabilitySupplier[\"Sovereign\"] = \" 1004 \";\n LiabilitySupplier[\"Westpac_NZ\"] = \" 1068 \";\n LiabilitySupplier[\"Other\"] = \"other\";\n LiabilitySupplier[\"TSB_Bank\"] = \"TSB Bank\";\n LiabilitySupplier[\"Resimac_Financial_Services_NZ\"] = \"Resimac Financial Services NZ\";\n LiabilitySupplier[\"SBS_Bank_NZ\"] = \"SBS Bank NZ\";\n LiabilitySupplier[\"The_Cooperative_Bank_NZ\"] = \"The Cooperative Bank NZ\";\n LiabilitySupplier[\"AMP_Home_Loans_NZ\"] = \"AMP Home Loans NZ\";\n})(LiabilitySupplier = exports.LiabilitySupplier || (exports.LiabilitySupplier = {}));\nvar LiabilityRepaymentType;\n(function (LiabilityRepaymentType) {\n LiabilityRepaymentType[\"PrincipalAndInterest\"] = \"1\";\n LiabilityRepaymentType[\"InterestOnly\"] = \"2\";\n LiabilityRepaymentType[\"InterestCapitalised\"] = \"3\";\n LiabilityRepaymentType[\"PrePaidInterest\"] = \"4\";\n})(LiabilityRepaymentType = exports.LiabilityRepaymentType || (exports.LiabilityRepaymentType = {}));\nvar LiabilityRateType;\n(function (LiabilityRateType) {\n LiabilityRateType[\"Fixed\"] = \"100\";\n LiabilityRateType[\"Variable\"] = \"200\";\n LiabilityRateType[\"Hybrid\"] = \"300\";\n LiabilityRateType[\"Other\"] = \"400\";\n})(LiabilityRateType = exports.LiabilityRateType || (exports.LiabilityRateType = {}));\nvar LiabilityFixedRateTermType;\n(function (LiabilityFixedRateTermType) {\n LiabilityFixedRateTermType[\"Months\"] = \"Months\";\n LiabilityFixedRateTermType[\"Years\"] = \"Years\";\n})(LiabilityFixedRateTermType = exports.LiabilityFixedRateTermType || (exports.LiabilityFixedRateTermType = {}));\nvar LiabilityLoanTermType;\n(function (LiabilityLoanTermType) {\n LiabilityLoanTermType[\"Months\"] = \"Months\";\n LiabilityLoanTermType[\"Years\"] = \"Years\";\n})(LiabilityLoanTermType = exports.LiabilityLoanTermType || (exports.LiabilityLoanTermType = {}));\nvar DependentRelationshipType;\n(function (DependentRelationshipType) {\n DependentRelationshipType[\"AdditionalSpouse\"] = \"Additional Spouse\";\n DependentRelationshipType[\"AdoptedChild\"] = \"Adopted Child\";\n DependentRelationshipType[\"AdoptedParent\"] = \"Adopted Parent\";\n DependentRelationshipType[\"AdoptedSibling\"] = \"Adopted Sibling\";\n DependentRelationshipType[\"AdultDependent\"] = \"Adult dependant\";\n DependentRelationshipType[\"AuntUncle\"] = \"Aunt/Uncle\";\n DependentRelationshipType[\"Child\"] = \"Child\";\n DependentRelationshipType[\"ChildGuardian\"] = \"Child (Guardian)\";\n DependentRelationshipType[\"ChildInLaw\"] = \"Child(In-law)\";\n DependentRelationshipType[\"Cousin\"] = \"Cousin\";\n DependentRelationshipType[\"Daughter\"] = \"Daughter\";\n DependentRelationshipType[\"DependentParent\"] = \"Dependant Parent\";\n DependentRelationshipType[\"DependentParentInLaw\"] = \"Dependent Parent-in-law\";\n DependentRelationshipType[\"ExSpouse\"] = \"Ex-Spouse\";\n DependentRelationshipType[\"Fiance\"] = \"Fiance\";\n DependentRelationshipType[\"Fiancee\"] = \"Fiancee\";\n DependentRelationshipType[\"FosterChild\"] = \"Foster Child\";\n DependentRelationshipType[\"FosterParent\"] = \"Foster Parent\";\n DependentRelationshipType[\"FosterSibling\"] = \"Foster Sibling\";\n DependentRelationshipType[\"Friend\"] = \"Friend\";\n DependentRelationshipType[\"Godchild\"] = \"Godchild\";\n DependentRelationshipType[\"Godparent\"] = \"Godparent\";\n DependentRelationshipType[\"GrandAuntUncle\"] = \"Grand Aunt/Uncle\";\n DependentRelationshipType[\"GrandNephewNiece\"] = \"Grand Nephew/Niece\";\n DependentRelationshipType[\"Granddaughter\"] = \"Grand-daughter\";\n DependentRelationshipType[\"Grandson\"] = \"Grand-son\";\n DependentRelationshipType[\"Grandchild\"] = \"GrandChild\";\n DependentRelationshipType[\"GrandchildInLaw\"] = \"GrandChild-in-Law\";\n DependentRelationshipType[\"Grandparent\"] = \"GrandParent\";\n DependentRelationshipType[\"GrandparentInLaw\"] = \"GrandParent-in-Law\";\n DependentRelationshipType[\"GreatGrandAuntUncle\"] = \"Great Grand Aunt/Uncle\";\n DependentRelationshipType[\"GreatGrandNephewNiece\"] = \"Great Grand Nephew/Niece\";\n DependentRelationshipType[\"GreatGrandchild\"] = \"Great GrandChild\";\n DependentRelationshipType[\"GreatGrandparent\"] = \"Great GrandParent\";\n DependentRelationshipType[\"HalfSibling\"] = \"Half-Sibling\";\n DependentRelationshipType[\"LivingSpouse\"] = \"Living Spouse\";\n DependentRelationshipType[\"Nephew\"] = \"Nephew\";\n DependentRelationshipType[\"NephewNiece\"] = \"Nephew/Niece\";\n DependentRelationshipType[\"Niece\"] = \"Niece\";\n DependentRelationshipType[\"Other\"] = \"Other\";\n DependentRelationshipType[\"Parent\"] = \"Parent\";\n DependentRelationshipType[\"ParentInLaw\"] = \"Parent-In-Law\";\n DependentRelationshipType[\"Servant\"] = \"Servant\";\n DependentRelationshipType[\"Son\"] = \"Son\";\n DependentRelationshipType[\"StepChild\"] = \"Step-Child\";\n DependentRelationshipType[\"StepGrandchild\"] = \"Step-GrandChild\";\n DependentRelationshipType[\"StepGrandparent\"] = \"Step-GrandParent\";\n DependentRelationshipType[\"StepParent\"] = \"Step-Parent\";\n DependentRelationshipType[\"StepSibling\"] = \"Step-Sibling\";\n DependentRelationshipType[\"StepDaughter\"] = \"Step-daughter\";\n DependentRelationshipType[\"StepSon\"] = \"Step-son\";\n})(DependentRelationshipType = exports.DependentRelationshipType || (exports.DependentRelationshipType = {}));\nvar DesiredFutureChoices;\n(function (DesiredFutureChoices) {\n DesiredFutureChoices[\"Comfortable\"] = \"100\";\n DesiredFutureChoices[\"Choices\"] = \"200\";\n DesiredFutureChoices[\"Luxury\"] = \"300\";\n})(DesiredFutureChoices = exports.DesiredFutureChoices || (exports.DesiredFutureChoices = {}));\nvar ModuleChoices;\n(function (ModuleChoices) {\n ModuleChoices[\"GettingStarted\"] = \"Getting Started\";\n ModuleChoices[\"HowCanWeHelpYou\"] = \"How Can We Help You\";\n ModuleChoices[\"Properties\"] = \"Properties\";\n ModuleChoices[\"FinancialProtection\"] = \"Financial Protection\";\n ModuleChoices[\"FinancialProtectionV2\"] = \"Insurance Modelling\";\n ModuleChoices[\"KiwiSaver\"] = \"KiwiSaver\";\n ModuleChoices[\"ProgressCheckIn\"] = \"Progress Check In\";\n ModuleChoices[\"GoalModelling\"] = \"Goal Modelling\";\n})(ModuleChoices = exports.ModuleChoices || (exports.ModuleChoices = {}));\nvar ReferralSubtypes;\n(function (ReferralSubtypes) {\n ReferralSubtypes[\"AssetProtection\"] = \"Asset Protection\";\n ReferralSubtypes[\"Business\"] = \"Business\";\n ReferralSubtypes[\"InvestmentProperty\"] = \"Investment Property\";\n ReferralSubtypes[\"FinancialPlanning\"] = \"Financial Planning\";\n ReferralSubtypes[\"KiwiSaver\"] = \"KiwiSaver\";\n ReferralSubtypes[\"Accounting\"] = \"Accounting\";\n ReferralSubtypes[\"External\"] = \"External\";\n ReferralSubtypes[\"FG\"] = \"F & G\";\n ReferralSubtypes[\"GroupAndEmployeeBenefits\"] = \"Group and Employee Benefits\";\n ReferralSubtypes[\"Insurance\"] = \"Insurance\";\n ReferralSubtypes[\"Mortgage\"] = \"Mortgage\";\n ReferralSubtypes[\"Investment\"] = \"Investment\";\n ReferralSubtypes[\"Planning\"] = \"Planning\";\n ReferralSubtypes[\"KeepingOnTrack\"] = \"Keeping On Track\";\n})(ReferralSubtypes = exports.ReferralSubtypes || (exports.ReferralSubtypes = {}));\nexports.HealthCover = {\n SingleAdult: {\n cover_details: 'SingleAdult',\n needs_analysis: '1'\n },\n Couple: {\n cover_details: 'Couple',\n needs_analysis: '2'\n },\n SingleParentFamily: {\n cover_details: 'SingleParentFamily',\n needs_analysis: '3'\n },\n Family: {\n cover_details: 'Family',\n needs_analysis: '4'\n }\n};\nexports.HealthExcess = {\n Nil: {\n cover_details: 'Nil',\n needs_analysis: '1'\n },\n OneHundred: {\n cover_details: '_100',\n needs_analysis: '2'\n },\n TwoHundredFiftyThreeHundred: {\n cover_details: '_250and300',\n needs_analysis: '3'\n },\n FiveHundredSixHundred: {\n cover_details: '_500and600',\n needs_analysis: '4'\n },\n OneThousandTwelveHundred: {\n cover_details: '_1000and1200',\n needs_analysis: '5'\n },\n TwoThousand: {\n cover_details: '_2000',\n needs_analysis: '6'\n },\n FourThousand: {\n cover_details: '_4000',\n needs_analysis: '7'\n },\n FiveThousand: {\n cover_details: '_5000',\n needs_analysis: '8'\n },\n SixThousand: {\n cover_details: '_6000',\n needs_analysis: '9'\n },\n EightThousand: {\n cover_details: '_8000',\n needs_analysis: '10'\n },\n TenThousand: {\n cover_details: '_10000',\n needs_analysis: '11'\n }\n};\nvar HealthCoverTypes;\n(function (HealthCoverTypes) {\n HealthCoverTypes[\"NonPharmac\"] = \"Non-Pharmac\";\n HealthCoverTypes[\"OpticalDental\"] = \"Optical/Dental\";\n HealthCoverTypes[\"GP\"] = \"GP\";\n HealthCoverTypes[\"Specialists\"] = \"Specialists\";\n})(HealthCoverTypes = exports.HealthCoverTypes || (exports.HealthCoverTypes = {}));\nvar InsuranceInScopeTypes;\n(function (InsuranceInScopeTypes) {\n InsuranceInScopeTypes[\"Health\"] = \"1\";\n InsuranceInScopeTypes[\"IncomeProtection\"] = \"2\";\n InsuranceInScopeTypes[\"Trauma\"] = \"3\";\n InsuranceInScopeTypes[\"TPD\"] = \"4\";\n InsuranceInScopeTypes[\"Life\"] = \"5\";\n})(InsuranceInScopeTypes = exports.InsuranceInScopeTypes || (exports.InsuranceInScopeTypes = {}));\nvar IncomeProtectionWaitPeriod;\n(function (IncomeProtectionWaitPeriod) {\n IncomeProtectionWaitPeriod[\"TwoWeeks\"] = \"_14days\";\n IncomeProtectionWaitPeriod[\"ThreeWeeks\"] = \"_21days\";\n IncomeProtectionWaitPeriod[\"FourWeeks\"] = \"_30days\";\n IncomeProtectionWaitPeriod[\"EightWeeks\"] = \"_60days\";\n IncomeProtectionWaitPeriod[\"ThirteenWeeks\"] = \"_90days\";\n IncomeProtectionWaitPeriod[\"TwentySixWeeks\"] = \"_180days\";\n IncomeProtectionWaitPeriod[\"FiftyTwoWeeks\"] = \"_1year\";\n IncomeProtectionWaitPeriod[\"OneHundredFourWeeks\"] = \"_2years\";\n})(IncomeProtectionWaitPeriod = exports.IncomeProtectionWaitPeriod || (exports.IncomeProtectionWaitPeriod = {}));\nvar IncomeProtectionBenefitPeriod;\n(function (IncomeProtectionBenefitPeriod) {\n IncomeProtectionBenefitPeriod[\"OneYear\"] = \"_1year\";\n IncomeProtectionBenefitPeriod[\"TwoYears\"] = \"_2years\";\n IncomeProtectionBenefitPeriod[\"FiveYears\"] = \"_5years\";\n IncomeProtectionBenefitPeriod[\"TenYears\"] = \"_10years\";\n IncomeProtectionBenefitPeriod[\"ToAge55\"] = \"toAge55\";\n IncomeProtectionBenefitPeriod[\"ToAge60\"] = \"toAge60\";\n IncomeProtectionBenefitPeriod[\"ToAge65\"] = \"toAge65\";\n})(IncomeProtectionBenefitPeriod = exports.IncomeProtectionBenefitPeriod || (exports.IncomeProtectionBenefitPeriod = {}));\nvar IncomeProtectionType;\n(function (IncomeProtectionType) {\n IncomeProtectionType[\"Indemnity\"] = \"Indemnity\";\n IncomeProtectionType[\"AgreedValue\"] = \"AgreedValue\";\n})(IncomeProtectionType = exports.IncomeProtectionType || (exports.IncomeProtectionType = {}));\n// Once iress fix their endpoints you'll need to change to the NZ endpoint and add _5_Yr_Renewal and _10_Yr_Renewal to the enum here\nvar IncomeProtectionPremiumStyle;\n(function (IncomeProtectionPremiumStyle) {\n IncomeProtectionPremiumStyle[\"Stepped\"] = \"Stepped\";\n IncomeProtectionPremiumStyle[\"Level\"] = \"Level\";\n // FiveYearRenewal = '_5_Yr_Renewal',\n // TenYearRenewal = '_10_Yr_Renewal'\n})(IncomeProtectionPremiumStyle = exports.IncomeProtectionPremiumStyle || (exports.IncomeProtectionPremiumStyle = {}));\n//# sourceMappingURL=xplanEnums.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./xplanEnums\"), exports);\n__exportStar(require(\"./user-needs-analysis\"), exports);\n//# sourceMappingURL=index.js.map","import { LiabilityTypeChoices } from '@integrations/xplan-types'\nimport * as Yup from 'yup'\n\nexport const getUrl = (): string => {\n const url = process.env.NEXT_PUBLIC_RELAY_ENDPOINT\n if (url) {\n return url\n } else {\n throw new Error('Could not find NEXT_PUBLIC_RELAY_ENDPOINT')\n }\n}\nexport const isDEV = process.env.NODE_ENV === 'development'\n\nexport const SUPPORTED_FORMATS = ['image/jpg', 'image/jpeg', 'image/png']\nexport const MIN_FILE_SIZE = 1024\n\nexport const yupImageUploadSchema = Yup.mixed()\n .test({\n name: 'fileFormat',\n message: 'Unsupported Format',\n test: (value) => (value && value.type ? SUPPORTED_FORMATS.includes(value.type) : true),\n })\n .test('fileSize', 'File is too small, must be greater than 1KB', (value) =>\n value && value.size ? value.size >= MIN_FILE_SIZE : true\n )\nexport const {\n // This write key is associated with https://segment.com/nextjs-example/sources/nextjs.\n NEXT_PUBLIC_ANALYTICS_WRITE_KEY,\n} = process.env\n\nexport const TRACKING_ENABLED = NEXT_PUBLIC_ANALYTICS_WRITE_KEY ? true : false\n\n// nop\nexport const xplanCountries = [\n 'Afghanistan',\n 'Åland Islands',\n 'Albania',\n 'Algeria',\n 'American Samoa',\n 'Andorra',\n 'Angola',\n 'Anguilla',\n 'Antarctica',\n 'Antigua and Barbuda',\n 'Argentina',\n 'Armenia',\n 'Aruba',\n 'Australia',\n 'Austria',\n 'Azerbaijan',\n 'Bahamas',\n 'Bahrain',\n 'Bangladesh',\n 'Barbados',\n 'Belarus',\n 'Belgium',\n 'Belize',\n 'Benin',\n 'Bermuda',\n 'Bhutan',\n 'Bolivia',\n 'Bonaire, Saint Eustatius and Saba',\n 'Bosnia',\n 'Botswana',\n 'Bouvetoya',\n 'Brazil',\n 'Brunei',\n 'Bulgaria',\n 'Burkina Faso',\n 'Burundi',\n 'Cambodia',\n 'Cameroon',\n 'Canada',\n 'Cape Verde',\n 'Cayman Islands',\n 'Central African Republic',\n 'Chad',\n 'Chagos Archipelago',\n 'Chile',\n 'China',\n 'Christmas Island',\n 'Cocos Islands',\n 'Colombia',\n 'Comoros',\n 'Congo, Democratic Republic of (Zaire)',\n 'Congo, Peoples Republic of',\n 'Congo',\n 'Cook Islands',\n 'Costa Rica',\n \"Côte D'Ivoire\",\n 'Croatia',\n 'Cuba',\n 'Curaçoa',\n 'Cyprus',\n 'Czech Republic',\n 'Denmark',\n 'Djibouti',\n 'Dominica',\n 'Dominican Republic',\n 'East Timor',\n 'Ecuador',\n 'Egypt',\n 'El Salvador',\n 'Equatorial Guinea',\n 'Eritrea',\n 'Estonia',\n 'Ethiopia',\n 'Faeroe Islands',\n 'Falkland Islands (Malvinas)',\n 'Fiji',\n 'Finland',\n 'France',\n 'French Guiana',\n 'French Polynesia',\n 'French Southern Territories',\n 'Gabon',\n 'Gambia',\n 'Georgia',\n 'Germany',\n 'Ghana',\n 'Gibraltar',\n 'Great Britain',\n 'Greece',\n 'Greenland',\n 'Grenada',\n 'Guadeloupe',\n 'Guam',\n 'Guatemala',\n 'Guernsey',\n 'Guinea-Bissau',\n 'Guinea',\n 'Guyana',\n 'Haiti',\n 'Heard and McDonald Islands',\n 'Honduras',\n 'Hong Kong',\n 'Hungary',\n 'Iceland',\n 'India',\n 'Indonesia',\n 'Iran (Islamic Republic of)',\n 'Iraq',\n 'Ireland',\n 'Isle of Man',\n 'Israel',\n 'Italy',\n 'Jamaica',\n 'Japan',\n 'Jersey',\n 'Jordan',\n 'Kazakhstan',\n 'Kenya',\n 'Kiribati',\n 'Korea, Democratic Peoples Republic of',\n 'Korea, Republic of',\n 'Kuwait',\n 'Kyrgyzstan',\n 'Lao Peoples Democratic Republic',\n 'Latvia',\n 'Lebanon',\n 'Lesotho',\n 'Liberia',\n 'Libyan Arab Jamahiriya',\n 'Liechtenstein',\n 'Lithuania',\n 'Luxembourg',\n 'Macau',\n 'Macedonia',\n 'Madagascar',\n 'Malawi',\n 'Malaysia',\n 'Maldives',\n 'Mali',\n 'Malta',\n 'Marshall Islands',\n 'Martinique',\n 'Mauritania',\n 'Mauritius',\n 'Mayotte',\n 'Mexico',\n 'Micronesia, Federated States Of',\n 'Moldova',\n 'Monaco',\n 'Mongolia',\n 'Montenegro',\n 'Montserrat',\n 'Morocco',\n 'Mozambique',\n 'Myanmar',\n 'Namibia',\n 'Nauru',\n 'Nepal',\n 'Netherlands',\n 'New Caledonia',\n 'New Zealand',\n 'Nicaragua',\n 'Niger',\n 'Nigeria',\n 'Niue',\n 'Norfolk Island',\n 'Northern Mariana Islands',\n 'Norway',\n 'Oman',\n 'Pakistan',\n 'Palau',\n 'Palestinian Territory',\n 'Panama',\n 'Papua New Guinea',\n 'Paraguay',\n 'Peru',\n 'Philippines',\n 'Pitcairn Island',\n 'Poland',\n 'Portugal',\n 'Puerto Rico',\n 'Qatar',\n 'Reunion',\n 'Romania',\n 'Russian Federation',\n 'Rwanda',\n 'Samoa',\n 'San Marino',\n 'Sao Tome and Principe',\n 'Saudi Arabia',\n 'Senegal',\n 'Serbia',\n 'Seychelles',\n 'Sierra Leone',\n 'Singapore',\n 'Sint Maarten (Dutch part)',\n 'Slovakia (Slovak Republic)',\n 'Slovenia',\n 'Solomon Islands',\n 'Somalia',\n 'South Africa',\n 'South Georgia and the South Sandwich Islands',\n 'South Sudan',\n 'Spain',\n 'Sri Lanka',\n 'St. Barthélemy',\n 'St. Helena',\n 'St. Kitts and Nevis',\n 'St. Lucia',\n 'St. Martin (French part)',\n 'St. Pierre and Miquelon',\n 'St. Vincent and the Grenadines',\n 'Sudan',\n 'Suriname',\n 'Svalbard and Jan Mayen Islands',\n 'Swaziland',\n 'Sweden',\n 'Switzerland',\n 'Syrian Arab Republic',\n 'Taiwan',\n 'Tajikistan',\n 'Tanzania',\n 'Thailand',\n 'Togo',\n 'Tokelau',\n 'Tonga',\n 'Trinidad and Tobago',\n 'Tunisia',\n 'Turkey',\n 'Turkmenistan',\n 'Turks and Caicos Islands',\n 'Tuvalu',\n 'Uganda',\n 'Ukraine',\n 'United Arab Emirates',\n 'United Kingdom',\n 'United States Minor Outlying Islands',\n 'United States of America',\n 'Uruguay',\n 'Uzbekistan',\n 'Vanuatu',\n 'Vatican City State',\n 'Venezuela',\n 'Viet Nam',\n 'Virgin Islands (British)',\n 'Virgin Islands (U.S.)',\n 'Wallis and Futuna Islands',\n 'Western Sahara',\n 'Yemen',\n 'Yugoslavia',\n 'Zaire',\n 'Zambia',\n 'Zimbabwe',\n]\n\nexport enum LiabilityTypeGroupChoices {\n Current = '1',\n LongTerm = '2',\n Contingent = '3',\n}\n\nexport enum LiabilityOwnerChoices {\n Client = 'Client',\n Partner = 'Partner',\n Joint = 'Joint',\n Complex = 'Complex',\n}\n\nexport enum LiabilityStatusChoices {\n Approved = 'Approved',\n Cancelled = 'Cancelled',\n Current = 'Current',\n}\n\nexport enum LiabilityLoanTermType {\n Months = 'Months',\n Years = 'Years',\n}\n\nexport enum LiabilityRepaymentType {\n PrincipalAndInterest = '1',\n InterestOnly = '2',\n InterestCapitalised = '3',\n PrePaidInterest = '4',\n}\n\nexport enum AssetOwnerChoices {\n Client = 'Client',\n Partner = 'Partner',\n Joint = 'Joint',\n Complex = 'Complex',\n}\n\nexport enum AssetTypeChoices {\n AccountsReceivable = '702',\n Annuity = '401',\n Antiques = '501',\n Artwork = '502',\n Bonds = '201',\n CashOnHand = '101',\n CurrentSavings = '102',\n FixedDeposits = '103',\n Franchises = '707',\n Goodwill = '706',\n HolidayHome = '303',\n HouseholdContents = '503',\n Inventory = '703',\n Investment = '708',\n InvestmentProperty = '302',\n Investments = '709',\n Jewellery = '504',\n KiwiSaver = '404',\n Livestock = '712',\n ManagedInvestments = '205',\n MotorVehicle = '505',\n Other = '405',\n OtherInvestments = '299',\n OtherLifeStyle = '506',\n OtherLifestyleProperty = '304',\n PatentsAndCopyrights = '705',\n Pension = '402',\n PlantAndMachinery = '701',\n PrepaidExpenses = '704',\n PrimaryResidence = '301',\n SecondaryResidentialProperty = '300',\n Shares = '202',\n Superannuation = '403',\n UnitTrusts = '203',\n WrapAccount = '204',\n}\ninterface DebtTypeLabels {\n [key: string]: string\n}\n// Used on the debt summary page\nexport const debtTypeLabels: DebtTypeLabels = {\n '': 'Select an option',\n [LiabilityTypeChoices.CreditCard]: 'Credit Card',\n [LiabilityTypeChoices.PersonalLoan]: 'Personal Loan',\n [LiabilityTypeChoices.Overdraft]: 'Overdraft',\n [LiabilityTypeChoices.CarLoan]: 'Car Loan',\n [LiabilityTypeChoices.OutstandingPayment]: 'Outstanding Payment',\n [LiabilityTypeChoices.OtherCurrentLoan]: 'Other Current Loan',\n [LiabilityTypeChoices.OtherLongTermLoan]: 'Other Long Term Loan',\n [LiabilityTypeChoices.PrimaryResidenceMortgage]: 'Primary Residence Mortgage',\n [LiabilityTypeChoices.PrimaryResidenceIslamicMortgage]: 'Primary Residence Islamic Mortgage',\n [LiabilityTypeChoices.BuyToLetMortgage]: 'Buy To Let Mortgage',\n [LiabilityTypeChoices.AdditionalPropertyMortgage]: 'Additional Property Mortgage',\n [LiabilityTypeChoices.InvestmentPropertyMortgage]: 'Investment Property Mortgage',\n [LiabilityTypeChoices.StudentLoan]: 'Student Loan',\n}\n// Used for the debt type dropdown in the debt form\nexport const debtTypes = [\n { key: '', label: 'Select an option' },\n { key: LiabilityTypeChoices.CreditCard, label: 'Credit Card' },\n { key: LiabilityTypeChoices.PersonalLoan, label: 'Personal Loan' },\n { key: LiabilityTypeChoices.Overdraft, label: 'Overdraft' },\n { key: LiabilityTypeChoices.CarLoan, label: 'Car Loan' },\n { key: LiabilityTypeChoices.OutstandingPayment, label: 'Outstanding Payment' },\n { key: LiabilityTypeChoices.OtherCurrentLoan, label: 'Other Current Loan' },\n { key: LiabilityTypeChoices.OtherLongTermLoan, label: 'Other Long Term Loan' },\n { key: LiabilityTypeChoices.PrimaryResidenceMortgage, label: 'Primary Residence Mortgage' },\n { key: LiabilityTypeChoices.AdditionalPropertyMortgage, label: 'Additional Property Mortgage' },\n { key: LiabilityTypeChoices.InvestmentPropertyMortgage, label: 'Investment Property Mortgage' },\n { key: LiabilityTypeChoices.StudentLoan, label: 'Student Loan' },\n]\n\nexport const assetTypes = [\n { key: '', label: 'Select an option' },\n { key: AssetTypeChoices.Annuity, label: 'Annuity' },\n { key: AssetTypeChoices.Antiques, label: 'Antiques' },\n { key: AssetTypeChoices.Artwork, label: 'Artwork' },\n { key: AssetTypeChoices.Bonds, label: 'Bonds' },\n { key: AssetTypeChoices.CashOnHand, label: 'Cash On Hand' },\n { key: AssetTypeChoices.CurrentSavings, label: 'Current Savings' },\n { key: AssetTypeChoices.FixedDeposits, label: 'Fixed Deposits' },\n { key: AssetTypeChoices.HolidayHome, label: 'Holiday Home' },\n { key: AssetTypeChoices.HouseholdContents, label: 'Household Contents' },\n { key: AssetTypeChoices.Jewellery, label: 'Jewellery' },\n { key: AssetTypeChoices.KiwiSaver, label: 'KiwiSaver' },\n { key: AssetTypeChoices.ManagedInvestments, label: 'Managed Investments' },\n { key: AssetTypeChoices.MotorVehicle, label: 'Motor Vehicle' },\n { key: AssetTypeChoices.OtherInvestments, label: 'Other Investments' },\n { key: AssetTypeChoices.OtherLifeStyle, label: 'Other Lifestyle' },\n { key: AssetTypeChoices.OtherLifestyleProperty, label: 'Other Lifestyle Property' },\n { key: AssetTypeChoices.Pension, label: 'Pensions' },\n { key: AssetTypeChoices.PrimaryResidence, label: 'Primary Residence' },\n { key: AssetTypeChoices.InvestmentProperty, label: 'Investment Property' },\n { key: AssetTypeChoices.SecondaryResidentialProperty, label: 'Secondary Residential Property' },\n { key: AssetTypeChoices.Shares, label: 'Shares' },\n { key: AssetTypeChoices.Superannuation, label: 'Superannuation' },\n { key: AssetTypeChoices.UnitTrusts, label: 'Unit Trusts' },\n { key: AssetTypeChoices.WrapAccount, label: 'Wrap Account' },\n]\n"],"sourceRoot":""}