@financeable/lenders 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +4 -33
- package/README.md +20 -165
- package/bin/mcp-server.js +1565 -897
- package/bin/mcp-server.js.map +47 -37
- package/dist/commonjs/funcs/createSubmission.d.ts +15 -0
- package/dist/commonjs/funcs/createSubmission.d.ts.map +1 -0
- package/dist/commonjs/funcs/{consumersCreatePepper.js → createSubmission.js} +13 -11
- package/dist/commonjs/funcs/createSubmission.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +3 -3
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/createSubmission.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/createSubmission.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{consumersCreatePepper.js → createSubmission.js} +9 -9
- package/dist/commonjs/mcp-server/tools/createSubmission.js.map +1 -0
- package/dist/commonjs/models/components/application.d.ts +130 -0
- package/dist/commonjs/models/components/application.d.ts.map +1 -0
- package/dist/commonjs/models/components/{pepperconsumerrequest.js → application.js} +71 -31
- package/dist/commonjs/models/components/application.js.map +1 -0
- package/dist/commonjs/models/components/{pepperconsumerasset.d.ts → asset.d.ts} +41 -15
- package/dist/commonjs/models/components/asset.d.ts.map +1 -0
- package/dist/commonjs/models/components/{pepperconsumerasset.js → asset.js} +32 -17
- package/dist/commonjs/models/components/asset.js.map +1 -0
- package/dist/commonjs/models/components/assetspecifications.d.ts +6 -0
- package/dist/commonjs/models/components/assetspecifications.d.ts.map +1 -1
- package/dist/commonjs/models/components/assetspecifications.js +12 -0
- package/dist/commonjs/models/components/assetspecifications.js.map +1 -1
- package/dist/commonjs/models/components/{pepperconsumercustomer.d.ts → customer.d.ts} +53 -37
- package/dist/commonjs/models/components/customer.d.ts.map +1 -0
- package/dist/commonjs/models/components/{pepperconsumercustomer.js → customer.js} +55 -38
- package/dist/commonjs/models/components/customer.js.map +1 -0
- package/dist/commonjs/models/components/customerdisclaimer.d.ts +167 -14
- package/dist/commonjs/models/components/customerdisclaimer.d.ts.map +1 -1
- package/dist/commonjs/models/components/customerdisclaimer.js +236 -15
- package/dist/commonjs/models/components/customerdisclaimer.js.map +1 -1
- package/dist/commonjs/models/components/customerprofile.d.ts +60 -0
- package/dist/commonjs/models/components/customerprofile.d.ts.map +1 -0
- package/dist/commonjs/models/components/{pepperconsumercustomerprofile.js → customerprofile.js} +21 -17
- package/dist/commonjs/models/components/customerprofile.js.map +1 -0
- package/dist/commonjs/models/components/email.d.ts +6 -2
- package/dist/commonjs/models/components/email.d.ts.map +1 -1
- package/dist/commonjs/models/components/email.js +3 -2
- package/dist/commonjs/models/components/email.js.map +1 -1
- package/dist/commonjs/models/components/employer.d.ts +5 -1
- package/dist/commonjs/models/components/employer.d.ts.map +1 -1
- package/dist/commonjs/models/components/employer.js +3 -2
- package/dist/commonjs/models/components/employer.js.map +1 -1
- package/dist/commonjs/models/components/entity.d.ts +99 -0
- package/dist/commonjs/models/components/entity.d.ts.map +1 -0
- package/dist/commonjs/models/components/entity.js +134 -0
- package/dist/commonjs/models/components/entity.js.map +1 -0
- package/dist/commonjs/models/components/entitystatus.d.ts +34 -0
- package/dist/commonjs/models/components/entitystatus.d.ts.map +1 -0
- package/dist/commonjs/models/components/entitystatus.js +63 -0
- package/dist/commonjs/models/components/entitystatus.js.map +1 -0
- package/dist/commonjs/models/components/idtype.d.ts +34 -0
- package/dist/commonjs/models/components/idtype.d.ts.map +1 -0
- package/dist/commonjs/models/components/idtype.js +64 -0
- package/dist/commonjs/models/components/idtype.js.map +1 -0
- package/dist/commonjs/models/components/income.d.ts +48 -0
- package/dist/commonjs/models/components/income.d.ts.map +1 -0
- package/dist/commonjs/models/components/{pepperconsumerincome.js → income.js} +18 -17
- package/dist/commonjs/models/components/income.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +19 -9
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +19 -9
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/lendercredentials.d.ts +52 -0
- package/dist/commonjs/models/components/lendercredentials.d.ts.map +1 -0
- package/dist/commonjs/models/components/lendercredentials.js +100 -0
- package/dist/commonjs/models/components/lendercredentials.js.map +1 -0
- package/dist/commonjs/models/components/liability.d.ts +54 -0
- package/dist/commonjs/models/components/liability.d.ts.map +1 -0
- package/dist/commonjs/models/components/{pepperconsumerliability.js → liability.js} +17 -17
- package/dist/commonjs/models/components/liability.js.map +1 -0
- package/dist/{esm/models/components/pepperconsumerloandetails.d.ts → commonjs/models/components/loandetails.d.ts} +27 -21
- package/dist/commonjs/models/components/loandetails.d.ts.map +1 -0
- package/dist/commonjs/models/components/{pepperconsumerloandetails.js → loandetails.js} +29 -23
- package/dist/commonjs/models/components/loandetails.js.map +1 -0
- package/dist/commonjs/models/components/occupation.d.ts +607 -0
- package/dist/commonjs/models/components/occupation.d.ts.map +1 -0
- package/dist/commonjs/models/components/occupation.js +255 -0
- package/dist/commonjs/models/components/occupation.js.map +1 -0
- package/dist/commonjs/models/components/phonenumber.d.ts +6 -2
- package/dist/commonjs/models/components/phonenumber.d.ts.map +1 -1
- package/dist/commonjs/models/components/phonenumber.js +3 -2
- package/dist/commonjs/models/components/phonenumber.js.map +1 -1
- package/dist/commonjs/models/components/typeofchangeexpected.d.ts +61 -0
- package/dist/commonjs/models/components/typeofchangeexpected.d.ts.map +1 -0
- package/dist/commonjs/models/components/typeofchangeexpected.js +72 -0
- package/dist/commonjs/models/components/typeofchangeexpected.js.map +1 -0
- package/dist/commonjs/models/components/user.d.ts +69 -0
- package/dist/commonjs/models/components/user.d.ts.map +1 -0
- package/dist/commonjs/models/components/user.js +115 -0
- package/dist/commonjs/models/components/user.js.map +1 -0
- package/dist/commonjs/models/components/whatareyoulookingforinyourloan.d.ts +46 -0
- package/dist/commonjs/models/components/whatareyoulookingforinyourloan.d.ts.map +1 -0
- package/dist/commonjs/models/components/whatareyoulookingforinyourloan.js +67 -0
- package/dist/commonjs/models/components/whatareyoulookingforinyourloan.js.map +1 -0
- package/dist/commonjs/models/components/whatisthepurposeofthisapplication.d.ts +43 -0
- package/dist/commonjs/models/components/whatisthepurposeofthisapplication.d.ts.map +1 -0
- package/dist/commonjs/models/components/whatisthepurposeofthisapplication.js +66 -0
- package/dist/commonjs/models/components/whatisthepurposeofthisapplication.js.map +1 -0
- package/dist/commonjs/models/components/whattodowithballoonpaymentattheendoftheloanterm.d.ts +40 -0
- package/dist/commonjs/models/components/whattodowithballoonpaymentattheendoftheloanterm.d.ts.map +1 -0
- package/dist/commonjs/models/components/whattodowithballoonpaymentattheendoftheloanterm.js +66 -0
- package/dist/commonjs/models/components/whattodowithballoonpaymentattheendoftheloanterm.js.map +1 -0
- package/dist/commonjs/models/components/whydoesthisloantermsuityourrequirements.d.ts +43 -0
- package/dist/commonjs/models/components/whydoesthisloantermsuityourrequirements.d.ts.map +1 -0
- package/dist/commonjs/models/components/whydoesthisloantermsuityourrequirements.js +67 -0
- package/dist/commonjs/models/components/whydoesthisloantermsuityourrequirements.js.map +1 -0
- package/dist/commonjs/models/components/yesorno.d.ts +34 -0
- package/dist/commonjs/models/components/yesorno.d.ts.map +1 -0
- package/dist/commonjs/models/components/yesorno.js +64 -0
- package/dist/commonjs/models/components/yesorno.js.map +1 -0
- package/dist/commonjs/models/errors/createsubmission.d.ts +274 -0
- package/dist/commonjs/models/errors/createsubmission.d.ts.map +1 -0
- package/dist/commonjs/models/errors/createsubmission.js +288 -0
- package/dist/commonjs/models/errors/createsubmission.js.map +1 -0
- package/dist/commonjs/models/errors/index.d.ts +1 -1
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +1 -1
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/operations/createsubmission.d.ts +123 -0
- package/dist/commonjs/models/operations/createsubmission.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createsubmission.js +151 -0
- package/dist/commonjs/models/operations/createsubmission.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +1 -1
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +1 -1
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +6 -4
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +7 -3
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/funcs/createSubmission.d.ts +15 -0
- package/dist/esm/funcs/createSubmission.d.ts.map +1 -0
- package/dist/esm/funcs/{consumersCreatePepper.js → createSubmission.js} +13 -11
- package/dist/esm/funcs/createSubmission.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +3 -3
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/createSubmission.d.ts +8 -0
- package/dist/esm/mcp-server/tools/createSubmission.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/createSubmission.js +26 -0
- package/dist/esm/mcp-server/tools/createSubmission.js.map +1 -0
- package/dist/esm/models/components/application.d.ts +130 -0
- package/dist/esm/models/components/application.d.ts.map +1 -0
- package/dist/esm/models/components/application.js +136 -0
- package/dist/esm/models/components/application.js.map +1 -0
- package/dist/esm/models/components/{pepperconsumerasset.d.ts → asset.d.ts} +41 -15
- package/dist/esm/models/components/asset.d.ts.map +1 -0
- package/dist/esm/models/components/{pepperconsumerasset.js → asset.js} +29 -14
- package/dist/esm/models/components/asset.js.map +1 -0
- package/dist/esm/models/components/assetspecifications.d.ts +6 -0
- package/dist/esm/models/components/assetspecifications.d.ts.map +1 -1
- package/dist/esm/models/components/assetspecifications.js +12 -0
- package/dist/esm/models/components/assetspecifications.js.map +1 -1
- package/dist/esm/models/components/{pepperconsumercustomer.d.ts → customer.d.ts} +53 -37
- package/dist/esm/models/components/customer.d.ts.map +1 -0
- package/dist/esm/models/components/{pepperconsumercustomer.js → customer.js} +52 -35
- package/dist/esm/models/components/customer.js.map +1 -0
- package/dist/esm/models/components/customerdisclaimer.d.ts +167 -14
- package/dist/esm/models/components/customerdisclaimer.d.ts.map +1 -1
- package/dist/esm/models/components/customerdisclaimer.js +221 -14
- package/dist/esm/models/components/customerdisclaimer.js.map +1 -1
- package/dist/esm/models/components/customerprofile.d.ts +60 -0
- package/dist/esm/models/components/customerprofile.d.ts.map +1 -0
- package/dist/esm/models/components/{pepperconsumercustomerprofile.js → customerprofile.js} +18 -14
- package/dist/esm/models/components/customerprofile.js.map +1 -0
- package/dist/esm/models/components/email.d.ts +6 -2
- package/dist/esm/models/components/email.d.ts.map +1 -1
- package/dist/esm/models/components/email.js +3 -2
- package/dist/esm/models/components/email.js.map +1 -1
- package/dist/esm/models/components/employer.d.ts +5 -1
- package/dist/esm/models/components/employer.d.ts.map +1 -1
- package/dist/esm/models/components/employer.js +3 -2
- package/dist/esm/models/components/employer.js.map +1 -1
- package/dist/esm/models/components/entity.d.ts +99 -0
- package/dist/esm/models/components/entity.d.ts.map +1 -0
- package/dist/esm/models/components/entity.js +96 -0
- package/dist/esm/models/components/entity.js.map +1 -0
- package/dist/esm/models/components/entitystatus.d.ts +34 -0
- package/dist/esm/models/components/entitystatus.d.ts.map +1 -0
- package/dist/esm/models/components/entitystatus.js +27 -0
- package/dist/esm/models/components/entitystatus.js.map +1 -0
- package/dist/esm/models/components/idtype.d.ts +34 -0
- package/dist/esm/models/components/idtype.d.ts.map +1 -0
- package/dist/esm/models/components/idtype.js +28 -0
- package/dist/esm/models/components/idtype.js.map +1 -0
- package/dist/esm/models/components/income.d.ts +48 -0
- package/dist/esm/models/components/income.d.ts.map +1 -0
- package/dist/esm/models/components/{pepperconsumerincome.js → income.js} +15 -14
- package/dist/esm/models/components/income.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +19 -9
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +19 -9
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/lendercredentials.d.ts +52 -0
- package/dist/esm/models/components/lendercredentials.d.ts.map +1 -0
- package/dist/esm/models/components/lendercredentials.js +62 -0
- package/dist/esm/models/components/lendercredentials.js.map +1 -0
- package/dist/esm/models/components/liability.d.ts +54 -0
- package/dist/esm/models/components/liability.d.ts.map +1 -0
- package/dist/esm/models/components/{pepperconsumerliability.js → liability.js} +14 -14
- package/dist/esm/models/components/liability.js.map +1 -0
- package/dist/{commonjs/models/components/pepperconsumerloandetails.d.ts → esm/models/components/loandetails.d.ts} +27 -21
- package/dist/esm/models/components/loandetails.d.ts.map +1 -0
- package/dist/esm/models/components/{pepperconsumerloandetails.js → loandetails.js} +26 -20
- package/dist/esm/models/components/loandetails.js.map +1 -0
- package/dist/esm/models/components/occupation.d.ts +607 -0
- package/dist/esm/models/components/occupation.d.ts.map +1 -0
- package/dist/esm/models/components/occupation.js +219 -0
- package/dist/esm/models/components/occupation.js.map +1 -0
- package/dist/esm/models/components/phonenumber.d.ts +6 -2
- package/dist/esm/models/components/phonenumber.d.ts.map +1 -1
- package/dist/esm/models/components/phonenumber.js +3 -2
- package/dist/esm/models/components/phonenumber.js.map +1 -1
- package/dist/esm/models/components/typeofchangeexpected.d.ts +61 -0
- package/dist/esm/models/components/typeofchangeexpected.d.ts.map +1 -0
- package/dist/esm/models/components/typeofchangeexpected.js +36 -0
- package/dist/esm/models/components/typeofchangeexpected.js.map +1 -0
- package/dist/esm/models/components/user.d.ts +69 -0
- package/dist/esm/models/components/user.d.ts.map +1 -0
- package/dist/esm/models/components/user.js +75 -0
- package/dist/esm/models/components/user.js.map +1 -0
- package/dist/esm/models/components/whatareyoulookingforinyourloan.d.ts +46 -0
- package/dist/esm/models/components/whatareyoulookingforinyourloan.d.ts.map +1 -0
- package/dist/esm/models/components/whatareyoulookingforinyourloan.js +31 -0
- package/dist/esm/models/components/whatareyoulookingforinyourloan.js.map +1 -0
- package/dist/esm/models/components/whatisthepurposeofthisapplication.d.ts +43 -0
- package/dist/esm/models/components/whatisthepurposeofthisapplication.d.ts.map +1 -0
- package/dist/esm/models/components/whatisthepurposeofthisapplication.js +30 -0
- package/dist/esm/models/components/whatisthepurposeofthisapplication.js.map +1 -0
- package/dist/esm/models/components/whattodowithballoonpaymentattheendoftheloanterm.d.ts +40 -0
- package/dist/esm/models/components/whattodowithballoonpaymentattheendoftheloanterm.d.ts.map +1 -0
- package/dist/esm/models/components/whattodowithballoonpaymentattheendoftheloanterm.js +30 -0
- package/dist/esm/models/components/whattodowithballoonpaymentattheendoftheloanterm.js.map +1 -0
- package/dist/esm/models/components/whydoesthisloantermsuityourrequirements.d.ts +43 -0
- package/dist/esm/models/components/whydoesthisloantermsuityourrequirements.d.ts.map +1 -0
- package/dist/esm/models/components/whydoesthisloantermsuityourrequirements.js +31 -0
- package/dist/esm/models/components/whydoesthisloantermsuityourrequirements.js.map +1 -0
- package/dist/esm/models/components/yesorno.d.ts +34 -0
- package/dist/esm/models/components/yesorno.d.ts.map +1 -0
- package/dist/esm/models/components/yesorno.js +28 -0
- package/dist/esm/models/components/yesorno.js.map +1 -0
- package/dist/esm/models/errors/createsubmission.d.ts +274 -0
- package/dist/esm/models/errors/createsubmission.d.ts.map +1 -0
- package/dist/esm/models/errors/createsubmission.js +247 -0
- package/dist/esm/models/errors/createsubmission.js.map +1 -0
- package/dist/esm/models/errors/index.d.ts +1 -1
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +1 -1
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/operations/createsubmission.d.ts +123 -0
- package/dist/esm/models/operations/createsubmission.d.ts.map +1 -0
- package/dist/esm/models/operations/createsubmission.js +109 -0
- package/dist/esm/models/operations/createsubmission.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +1 -1
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +1 -1
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +6 -4
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +7 -3
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/examples/createSubmission.example.ts +26 -0
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{consumersCreatePepper.ts → createSubmission.ts} +38 -38
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -3
- package/src/mcp-server/tools/{consumersCreatePepper.ts → createSubmission.ts} +7 -7
- package/src/models/components/application.ts +304 -0
- package/src/models/components/{pepperconsumerasset.ts → asset.ts} +94 -61
- package/src/models/components/assetspecifications.ts +18 -0
- package/src/models/components/{pepperconsumercustomer.ts → customer.ts} +109 -77
- package/src/models/components/customerdisclaimer.ts +579 -28
- package/src/models/components/{pepperconsumercustomerprofile.ts → customerprofile.ts} +30 -26
- package/src/models/components/email.ts +12 -4
- package/src/models/components/employer.ts +11 -3
- package/src/models/components/entity.ts +217 -0
- package/src/models/components/entitystatus.ts +37 -0
- package/src/models/components/idtype.ts +37 -0
- package/src/models/components/{pepperconsumerincome.ts → income.ts} +30 -37
- package/src/models/components/index.ts +19 -9
- package/src/models/components/lendercredentials.ts +120 -0
- package/src/models/components/{pepperconsumerliability.ts → liability.ts} +21 -25
- package/src/models/components/{pepperconsumerloandetails.ts → loandetails.ts} +45 -37
- package/src/models/components/occupation.ts +247 -0
- package/src/models/components/phonenumber.ts +12 -4
- package/src/models/components/typeofchangeexpected.ts +51 -0
- package/src/models/components/user.ts +147 -0
- package/src/models/components/whatareyoulookingforinyourloan.ts +47 -0
- package/src/models/components/whatisthepurposeofthisapplication.ts +47 -0
- package/src/models/components/whattodowithballoonpaymentattheendoftheloanterm.ts +45 -0
- package/src/models/components/whydoesthisloantermsuityourrequirements.ts +50 -0
- package/src/models/components/yesorno.ts +37 -0
- package/src/models/errors/createsubmission.ts +508 -0
- package/src/models/errors/index.ts +1 -1
- package/src/models/operations/createsubmission.ts +229 -0
- package/src/models/operations/index.ts +1 -1
- package/src/sdk/sdk.ts +16 -5
- package/dist/commonjs/funcs/consumersCreatePepper.d.ts +0 -16
- package/dist/commonjs/funcs/consumersCreatePepper.d.ts.map +0 -1
- package/dist/commonjs/funcs/consumersCreatePepper.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/consumersCreatePepper.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/consumersCreatePepper.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/consumersCreatePepper.js.map +0 -1
- package/dist/commonjs/models/components/pepperconsumerasset.d.ts.map +0 -1
- package/dist/commonjs/models/components/pepperconsumerasset.js.map +0 -1
- package/dist/commonjs/models/components/pepperconsumercustomer.d.ts.map +0 -1
- package/dist/commonjs/models/components/pepperconsumercustomer.js.map +0 -1
- package/dist/commonjs/models/components/pepperconsumercustomerprofile.d.ts +0 -56
- package/dist/commonjs/models/components/pepperconsumercustomerprofile.d.ts.map +0 -1
- package/dist/commonjs/models/components/pepperconsumercustomerprofile.js.map +0 -1
- package/dist/commonjs/models/components/pepperconsumerincome.d.ts +0 -48
- package/dist/commonjs/models/components/pepperconsumerincome.d.ts.map +0 -1
- package/dist/commonjs/models/components/pepperconsumerincome.js.map +0 -1
- package/dist/commonjs/models/components/pepperconsumerliability.d.ts +0 -54
- package/dist/commonjs/models/components/pepperconsumerliability.d.ts.map +0 -1
- package/dist/commonjs/models/components/pepperconsumerliability.js.map +0 -1
- package/dist/commonjs/models/components/pepperconsumerloandetails.d.ts.map +0 -1
- package/dist/commonjs/models/components/pepperconsumerloandetails.js.map +0 -1
- package/dist/commonjs/models/components/pepperconsumerrequest.d.ts +0 -90
- package/dist/commonjs/models/components/pepperconsumerrequest.d.ts.map +0 -1
- package/dist/commonjs/models/components/pepperconsumerrequest.js.map +0 -1
- package/dist/commonjs/models/components/pepperlendercredentials.d.ts +0 -40
- package/dist/commonjs/models/components/pepperlendercredentials.d.ts.map +0 -1
- package/dist/commonjs/models/components/pepperlendercredentials.js +0 -94
- package/dist/commonjs/models/components/pepperlendercredentials.js.map +0 -1
- package/dist/commonjs/models/components/peppersuccessresource.d.ts +0 -56
- package/dist/commonjs/models/components/peppersuccessresource.d.ts.map +0 -1
- package/dist/commonjs/models/components/peppersuccessresource.js +0 -98
- package/dist/commonjs/models/components/peppersuccessresource.js.map +0 -1
- package/dist/commonjs/models/errors/createpepperconsumer.d.ts +0 -274
- package/dist/commonjs/models/errors/createpepperconsumer.d.ts.map +0 -1
- package/dist/commonjs/models/errors/createpepperconsumer.js +0 -288
- package/dist/commonjs/models/errors/createpepperconsumer.js.map +0 -1
- package/dist/commonjs/models/operations/createpepperconsumer.d.ts +0 -60
- package/dist/commonjs/models/operations/createpepperconsumer.d.ts.map +0 -1
- package/dist/commonjs/models/operations/createpepperconsumer.js +0 -93
- package/dist/commonjs/models/operations/createpepperconsumer.js.map +0 -1
- package/dist/commonjs/sdk/consumers.d.ts +0 -10
- package/dist/commonjs/sdk/consumers.d.ts.map +0 -1
- package/dist/commonjs/sdk/consumers.js +0 -19
- package/dist/commonjs/sdk/consumers.js.map +0 -1
- package/dist/esm/funcs/consumersCreatePepper.d.ts +0 -16
- package/dist/esm/funcs/consumersCreatePepper.d.ts.map +0 -1
- package/dist/esm/funcs/consumersCreatePepper.js.map +0 -1
- package/dist/esm/mcp-server/tools/consumersCreatePepper.d.ts +0 -8
- package/dist/esm/mcp-server/tools/consumersCreatePepper.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/consumersCreatePepper.js +0 -26
- package/dist/esm/mcp-server/tools/consumersCreatePepper.js.map +0 -1
- package/dist/esm/models/components/pepperconsumerasset.d.ts.map +0 -1
- package/dist/esm/models/components/pepperconsumerasset.js.map +0 -1
- package/dist/esm/models/components/pepperconsumercustomer.d.ts.map +0 -1
- package/dist/esm/models/components/pepperconsumercustomer.js.map +0 -1
- package/dist/esm/models/components/pepperconsumercustomerprofile.d.ts +0 -56
- package/dist/esm/models/components/pepperconsumercustomerprofile.d.ts.map +0 -1
- package/dist/esm/models/components/pepperconsumercustomerprofile.js.map +0 -1
- package/dist/esm/models/components/pepperconsumerincome.d.ts +0 -48
- package/dist/esm/models/components/pepperconsumerincome.d.ts.map +0 -1
- package/dist/esm/models/components/pepperconsumerincome.js.map +0 -1
- package/dist/esm/models/components/pepperconsumerliability.d.ts +0 -54
- package/dist/esm/models/components/pepperconsumerliability.d.ts.map +0 -1
- package/dist/esm/models/components/pepperconsumerliability.js.map +0 -1
- package/dist/esm/models/components/pepperconsumerloandetails.d.ts.map +0 -1
- package/dist/esm/models/components/pepperconsumerloandetails.js.map +0 -1
- package/dist/esm/models/components/pepperconsumerrequest.d.ts +0 -90
- package/dist/esm/models/components/pepperconsumerrequest.d.ts.map +0 -1
- package/dist/esm/models/components/pepperconsumerrequest.js +0 -98
- package/dist/esm/models/components/pepperconsumerrequest.js.map +0 -1
- package/dist/esm/models/components/pepperlendercredentials.d.ts +0 -40
- package/dist/esm/models/components/pepperlendercredentials.d.ts.map +0 -1
- package/dist/esm/models/components/pepperlendercredentials.js +0 -56
- package/dist/esm/models/components/pepperlendercredentials.js.map +0 -1
- package/dist/esm/models/components/peppersuccessresource.d.ts +0 -56
- package/dist/esm/models/components/peppersuccessresource.d.ts.map +0 -1
- package/dist/esm/models/components/peppersuccessresource.js +0 -58
- package/dist/esm/models/components/peppersuccessresource.js.map +0 -1
- package/dist/esm/models/errors/createpepperconsumer.d.ts +0 -274
- package/dist/esm/models/errors/createpepperconsumer.d.ts.map +0 -1
- package/dist/esm/models/errors/createpepperconsumer.js +0 -247
- package/dist/esm/models/errors/createpepperconsumer.js.map +0 -1
- package/dist/esm/models/operations/createpepperconsumer.d.ts +0 -60
- package/dist/esm/models/operations/createpepperconsumer.d.ts.map +0 -1
- package/dist/esm/models/operations/createpepperconsumer.js +0 -55
- package/dist/esm/models/operations/createpepperconsumer.js.map +0 -1
- package/dist/esm/sdk/consumers.d.ts +0 -10
- package/dist/esm/sdk/consumers.d.ts.map +0 -1
- package/dist/esm/sdk/consumers.js +0 -15
- package/dist/esm/sdk/consumers.js.map +0 -1
- package/examples/consumersCreatePepper.example.ts +0 -55
- package/src/models/components/pepperconsumerrequest.ts +0 -222
- package/src/models/components/pepperlendercredentials.ts +0 -102
- package/src/models/components/peppersuccessresource.ts +0 -124
- package/src/models/errors/createpepperconsumer.ts +0 -518
- package/src/models/operations/createpepperconsumer.ts +0 -105
- package/src/sdk/consumers.ts +0 -25
package/bin/mcp-server.js
CHANGED
|
@@ -34164,14 +34164,14 @@ var ServerList, SDK_METADATA;
|
|
|
34164
34164
|
var init_config = __esm(() => {
|
|
34165
34165
|
init_url();
|
|
34166
34166
|
ServerList = [
|
|
34167
|
-
"https://aws.lenders.api.financeable.com.au/api/
|
|
34167
|
+
"https://aws.lenders.api.financeable.com.au/api/v1"
|
|
34168
34168
|
];
|
|
34169
34169
|
SDK_METADATA = {
|
|
34170
34170
|
language: "typescript",
|
|
34171
34171
|
openapiDocVersion: "0.1.0",
|
|
34172
|
-
sdkVersion: "0.
|
|
34172
|
+
sdkVersion: "0.3.0",
|
|
34173
34173
|
genVersion: "2.739.1",
|
|
34174
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
34174
|
+
userAgent: "speakeasy-sdk/typescript 0.3.0 2.739.1 0.1.0 @financeable/lenders"
|
|
34175
34175
|
};
|
|
34176
34176
|
});
|
|
34177
34177
|
|
|
@@ -35798,8 +35798,10 @@ var init_assetspecifications = __esm(() => {
|
|
|
35798
35798
|
BodyName: stringType().optional(),
|
|
35799
35799
|
CCName: stringType().optional(),
|
|
35800
35800
|
TransmissionName: stringType().optional(),
|
|
35801
|
+
NVIC_Model: stringType().optional(),
|
|
35801
35802
|
ModelName: stringType().optional(),
|
|
35802
35803
|
ReleaseDate: stringType().optional(),
|
|
35804
|
+
DiscontinueDate: stringType().optional(),
|
|
35803
35805
|
TradeLow: stringType().optional(),
|
|
35804
35806
|
Trade: stringType().optional(),
|
|
35805
35807
|
Retail: stringType().optional(),
|
|
@@ -35812,7 +35814,8 @@ var init_assetspecifications = __esm(() => {
|
|
|
35812
35814
|
AverageKM: stringType().optional(),
|
|
35813
35815
|
ClassName: stringType().optional(),
|
|
35814
35816
|
ClassCode: stringType().optional(),
|
|
35815
|
-
MarketingModelCode: stringType().optional()
|
|
35817
|
+
MarketingModelCode: stringType().optional(),
|
|
35818
|
+
MTH: stringType().optional()
|
|
35816
35819
|
}).transform((v2) => {
|
|
35817
35820
|
return remap(v2, {
|
|
35818
35821
|
NVIC_CUR: "nvicCur",
|
|
@@ -35824,8 +35827,10 @@ var init_assetspecifications = __esm(() => {
|
|
|
35824
35827
|
BodyName: "bodyName",
|
|
35825
35828
|
CCName: "ccName",
|
|
35826
35829
|
TransmissionName: "transmissionName",
|
|
35830
|
+
NVIC_Model: "nvicModel",
|
|
35827
35831
|
ModelName: "modelName",
|
|
35828
35832
|
ReleaseDate: "releaseDate",
|
|
35833
|
+
DiscontinueDate: "discontinueDate",
|
|
35829
35834
|
TradeLow: "tradeLow",
|
|
35830
35835
|
Trade: "trade",
|
|
35831
35836
|
Retail: "retail",
|
|
@@ -35838,7 +35843,8 @@ var init_assetspecifications = __esm(() => {
|
|
|
35838
35843
|
AverageKM: "averageKM",
|
|
35839
35844
|
ClassName: "className",
|
|
35840
35845
|
ClassCode: "classCode",
|
|
35841
|
-
MarketingModelCode: "marketingModelCode"
|
|
35846
|
+
MarketingModelCode: "marketingModelCode",
|
|
35847
|
+
MTH: "mth"
|
|
35842
35848
|
});
|
|
35843
35849
|
});
|
|
35844
35850
|
AssetSpecifications$outboundSchema = objectType({
|
|
@@ -35851,8 +35857,10 @@ var init_assetspecifications = __esm(() => {
|
|
|
35851
35857
|
bodyName: stringType().optional(),
|
|
35852
35858
|
ccName: stringType().optional(),
|
|
35853
35859
|
transmissionName: stringType().optional(),
|
|
35860
|
+
nvicModel: stringType().optional(),
|
|
35854
35861
|
modelName: stringType().optional(),
|
|
35855
35862
|
releaseDate: stringType().optional(),
|
|
35863
|
+
discontinueDate: stringType().optional(),
|
|
35856
35864
|
tradeLow: stringType().optional(),
|
|
35857
35865
|
trade: stringType().optional(),
|
|
35858
35866
|
retail: stringType().optional(),
|
|
@@ -35865,7 +35873,8 @@ var init_assetspecifications = __esm(() => {
|
|
|
35865
35873
|
averageKM: stringType().optional(),
|
|
35866
35874
|
className: stringType().optional(),
|
|
35867
35875
|
classCode: stringType().optional(),
|
|
35868
|
-
marketingModelCode: stringType().optional()
|
|
35876
|
+
marketingModelCode: stringType().optional(),
|
|
35877
|
+
mth: stringType().optional()
|
|
35869
35878
|
}).transform((v2) => {
|
|
35870
35879
|
return remap(v2, {
|
|
35871
35880
|
nvicCur: "NVIC_CUR",
|
|
@@ -35877,8 +35886,10 @@ var init_assetspecifications = __esm(() => {
|
|
|
35877
35886
|
bodyName: "BodyName",
|
|
35878
35887
|
ccName: "CCName",
|
|
35879
35888
|
transmissionName: "TransmissionName",
|
|
35889
|
+
nvicModel: "NVIC_Model",
|
|
35880
35890
|
modelName: "ModelName",
|
|
35881
35891
|
releaseDate: "ReleaseDate",
|
|
35892
|
+
discontinueDate: "DiscontinueDate",
|
|
35882
35893
|
tradeLow: "TradeLow",
|
|
35883
35894
|
trade: "Trade",
|
|
35884
35895
|
retail: "Retail",
|
|
@@ -35891,7 +35902,8 @@ var init_assetspecifications = __esm(() => {
|
|
|
35891
35902
|
averageKM: "AverageKM",
|
|
35892
35903
|
className: "ClassName",
|
|
35893
35904
|
classCode: "ClassCode",
|
|
35894
|
-
marketingModelCode: "MarketingModelCode"
|
|
35905
|
+
marketingModelCode: "MarketingModelCode",
|
|
35906
|
+
mth: "MTH"
|
|
35895
35907
|
});
|
|
35896
35908
|
});
|
|
35897
35909
|
((AssetSpecifications$) => {
|
|
@@ -35946,47 +35958,141 @@ var init_assettypes = __esm(() => {
|
|
|
35946
35958
|
})(AssetTypes$ ||= {});
|
|
35947
35959
|
});
|
|
35948
35960
|
|
|
35949
|
-
// src/models/components/
|
|
35950
|
-
var
|
|
35951
|
-
var
|
|
35961
|
+
// src/models/components/label.ts
|
|
35962
|
+
var Label$inboundSchema, Label$outboundSchema, Label$;
|
|
35963
|
+
var init_label = __esm(() => {
|
|
35952
35964
|
init_esm();
|
|
35953
|
-
|
|
35954
|
-
|
|
35955
|
-
|
|
35956
|
-
|
|
35957
|
-
|
|
35958
|
-
|
|
35959
|
-
|
|
35960
|
-
|
|
35961
|
-
|
|
35962
|
-
|
|
35963
|
-
};
|
|
35964
|
-
ConsumerIncomeTypes$inboundSchema = nativeEnumType(ConsumerIncomeTypes);
|
|
35965
|
-
ConsumerIncomeTypes$outboundSchema = ConsumerIncomeTypes$inboundSchema;
|
|
35966
|
-
((ConsumerIncomeTypes$) => {
|
|
35967
|
-
ConsumerIncomeTypes$.inboundSchema = ConsumerIncomeTypes$inboundSchema;
|
|
35968
|
-
ConsumerIncomeTypes$.outboundSchema = ConsumerIncomeTypes$outboundSchema;
|
|
35969
|
-
})(ConsumerIncomeTypes$ ||= {});
|
|
35965
|
+
Label$inboundSchema = objectType({
|
|
35966
|
+
label: stringType()
|
|
35967
|
+
});
|
|
35968
|
+
Label$outboundSchema = objectType({
|
|
35969
|
+
label: stringType()
|
|
35970
|
+
});
|
|
35971
|
+
((Label$) => {
|
|
35972
|
+
Label$.inboundSchema = Label$inboundSchema;
|
|
35973
|
+
Label$.outboundSchema = Label$outboundSchema;
|
|
35974
|
+
})(Label$ ||= {});
|
|
35970
35975
|
});
|
|
35971
35976
|
|
|
35972
|
-
// src/models/components/
|
|
35973
|
-
var
|
|
35974
|
-
var
|
|
35977
|
+
// src/models/components/typeofsale.ts
|
|
35978
|
+
var TypeOfSale, TypeOfSale$inboundSchema, TypeOfSale$outboundSchema, TypeOfSale$;
|
|
35979
|
+
var init_typeofsale = __esm(() => {
|
|
35975
35980
|
init_esm();
|
|
35976
|
-
|
|
35977
|
-
|
|
35978
|
-
|
|
35979
|
-
|
|
35980
|
-
|
|
35981
|
-
|
|
35982
|
-
|
|
35981
|
+
TypeOfSale = {
|
|
35982
|
+
AuthorisedSeller: "Authorised seller",
|
|
35983
|
+
AuthorisedElectricVehicleSeller: "Authorised electric vehicle seller",
|
|
35984
|
+
PrivateSale: "Private sale",
|
|
35985
|
+
MidTermRefinance: "Mid-term refinance",
|
|
35986
|
+
BalloonResidualRefinance: "Balloon / Residual Refinance",
|
|
35987
|
+
SaleAndBuybackEquity: "Sale & buyback / Equity"
|
|
35983
35988
|
};
|
|
35984
|
-
|
|
35985
|
-
|
|
35986
|
-
((
|
|
35987
|
-
|
|
35988
|
-
|
|
35989
|
-
})(
|
|
35989
|
+
TypeOfSale$inboundSchema = nativeEnumType(TypeOfSale);
|
|
35990
|
+
TypeOfSale$outboundSchema = TypeOfSale$inboundSchema;
|
|
35991
|
+
((TypeOfSale$) => {
|
|
35992
|
+
TypeOfSale$.inboundSchema = TypeOfSale$inboundSchema;
|
|
35993
|
+
TypeOfSale$.outboundSchema = TypeOfSale$outboundSchema;
|
|
35994
|
+
})(TypeOfSale$ ||= {});
|
|
35995
|
+
});
|
|
35996
|
+
|
|
35997
|
+
// src/models/components/asset.ts
|
|
35998
|
+
var Asset$inboundSchema, Asset$outboundSchema, Asset$;
|
|
35999
|
+
var init_asset = __esm(() => {
|
|
36000
|
+
init_esm();
|
|
36001
|
+
init_primitives();
|
|
36002
|
+
init_assetconditiontypes();
|
|
36003
|
+
init_assetspecifications();
|
|
36004
|
+
init_assettypes();
|
|
36005
|
+
init_idstate();
|
|
36006
|
+
init_label();
|
|
36007
|
+
init_typeofsale();
|
|
36008
|
+
Asset$inboundSchema = objectType({
|
|
36009
|
+
_id: stringType().optional(),
|
|
36010
|
+
ageOfAsset: stringType().optional(),
|
|
36011
|
+
ageOfAssetAtEnd: stringType().optional(),
|
|
36012
|
+
assetValue: numberType().optional(),
|
|
36013
|
+
assetType: AssetTypes$inboundSchema.optional(),
|
|
36014
|
+
assetTypeAtEnd: AssetTypes$inboundSchema.optional(),
|
|
36015
|
+
condition: AssetConditionTypes$inboundSchema.optional(),
|
|
36016
|
+
glassesMake: Label$inboundSchema.optional(),
|
|
36017
|
+
glassesModel: Label$inboundSchema.optional(),
|
|
36018
|
+
glassesNVIC: anyType().optional(),
|
|
36019
|
+
glassesVariant: Label$inboundSchema.optional(),
|
|
36020
|
+
glassesEngineNumber: Label$inboundSchema.optional(),
|
|
36021
|
+
glassesComplianceDate: Label$inboundSchema.optional(),
|
|
36022
|
+
glassesColour: Label$inboundSchema.optional(),
|
|
36023
|
+
specifications: AssetSpecifications$inboundSchema.optional(),
|
|
36024
|
+
typeOfSale: TypeOfSale$inboundSchema.optional(),
|
|
36025
|
+
registrationState: IDState$inboundSchema.optional(),
|
|
36026
|
+
registrationNumber: stringType().optional(),
|
|
36027
|
+
vin: stringType().optional(),
|
|
36028
|
+
make: stringType().optional(),
|
|
36029
|
+
model: stringType().optional(),
|
|
36030
|
+
supplierName: stringType().optional(),
|
|
36031
|
+
supplierABN: stringType().optional(),
|
|
36032
|
+
supplierAddress: stringType().optional(),
|
|
36033
|
+
supplierPhone: stringType().optional(),
|
|
36034
|
+
supplierEmail: stringType().optional(),
|
|
36035
|
+
supplierContactName: stringType().optional(),
|
|
36036
|
+
netAssetValue: numberType().optional(),
|
|
36037
|
+
additionalFees: numberType().optional(),
|
|
36038
|
+
additionalTaxes: numberType().optional(),
|
|
36039
|
+
isManualAssets: booleanType().optional(),
|
|
36040
|
+
isNVICAbsence: booleanType().optional(),
|
|
36041
|
+
complianceDate: Label$inboundSchema.optional(),
|
|
36042
|
+
blueflagPPSR: anyType().optional(),
|
|
36043
|
+
documents: arrayType(anyType()).optional(),
|
|
36044
|
+
application: stringType().optional()
|
|
36045
|
+
}).transform((v2) => {
|
|
36046
|
+
return remap(v2, {
|
|
36047
|
+
_id: "id"
|
|
36048
|
+
});
|
|
36049
|
+
});
|
|
36050
|
+
Asset$outboundSchema = objectType({
|
|
36051
|
+
id: stringType().optional(),
|
|
36052
|
+
ageOfAsset: stringType().optional(),
|
|
36053
|
+
ageOfAssetAtEnd: stringType().optional(),
|
|
36054
|
+
assetValue: numberType().optional(),
|
|
36055
|
+
assetType: AssetTypes$outboundSchema.optional(),
|
|
36056
|
+
assetTypeAtEnd: AssetTypes$outboundSchema.optional(),
|
|
36057
|
+
condition: AssetConditionTypes$outboundSchema.optional(),
|
|
36058
|
+
glassesMake: Label$outboundSchema.optional(),
|
|
36059
|
+
glassesModel: Label$outboundSchema.optional(),
|
|
36060
|
+
glassesNVIC: anyType().optional(),
|
|
36061
|
+
glassesVariant: Label$outboundSchema.optional(),
|
|
36062
|
+
glassesEngineNumber: Label$outboundSchema.optional(),
|
|
36063
|
+
glassesComplianceDate: Label$outboundSchema.optional(),
|
|
36064
|
+
glassesColour: Label$outboundSchema.optional(),
|
|
36065
|
+
specifications: AssetSpecifications$outboundSchema.optional(),
|
|
36066
|
+
typeOfSale: TypeOfSale$outboundSchema.optional(),
|
|
36067
|
+
registrationState: IDState$outboundSchema.optional(),
|
|
36068
|
+
registrationNumber: stringType().optional(),
|
|
36069
|
+
vin: stringType().optional(),
|
|
36070
|
+
make: stringType().optional(),
|
|
36071
|
+
model: stringType().optional(),
|
|
36072
|
+
supplierName: stringType().optional(),
|
|
36073
|
+
supplierABN: stringType().optional(),
|
|
36074
|
+
supplierAddress: stringType().optional(),
|
|
36075
|
+
supplierPhone: stringType().optional(),
|
|
36076
|
+
supplierEmail: stringType().optional(),
|
|
36077
|
+
supplierContactName: stringType().optional(),
|
|
36078
|
+
netAssetValue: numberType().optional(),
|
|
36079
|
+
additionalFees: numberType().optional(),
|
|
36080
|
+
additionalTaxes: numberType().optional(),
|
|
36081
|
+
isManualAssets: booleanType().optional(),
|
|
36082
|
+
isNVICAbsence: booleanType().optional(),
|
|
36083
|
+
complianceDate: Label$outboundSchema.optional(),
|
|
36084
|
+
blueflagPPSR: anyType().optional(),
|
|
36085
|
+
documents: arrayType(anyType()).optional(),
|
|
36086
|
+
application: stringType().optional()
|
|
36087
|
+
}).transform((v2) => {
|
|
36088
|
+
return remap(v2, {
|
|
36089
|
+
id: "_id"
|
|
36090
|
+
});
|
|
36091
|
+
});
|
|
36092
|
+
((Asset$) => {
|
|
36093
|
+
Asset$.inboundSchema = Asset$inboundSchema;
|
|
36094
|
+
Asset$.outboundSchema = Asset$outboundSchema;
|
|
36095
|
+
})(Asset$ ||= {});
|
|
35990
36096
|
});
|
|
35991
36097
|
|
|
35992
36098
|
// src/models/components/creditprofile.ts
|
|
@@ -36005,24 +36111,219 @@ var init_creditprofile = __esm(() => {
|
|
|
36005
36111
|
})(CreditProfile$ ||= {});
|
|
36006
36112
|
});
|
|
36007
36113
|
|
|
36114
|
+
// src/models/components/typeofchangeexpected.ts
|
|
36115
|
+
var TypeOfChangeExpected, TypeOfChangeExpected$inboundSchema, TypeOfChangeExpected$outboundSchema, TypeOfChangeExpected$;
|
|
36116
|
+
var init_typeofchangeexpected = __esm(() => {
|
|
36117
|
+
init_esm();
|
|
36118
|
+
TypeOfChangeExpected = {
|
|
36119
|
+
EndOfEmploymentContractLossOfEmployment: "End of employment contract/ loss of employment",
|
|
36120
|
+
LeavingEmployment: "Leaving employment",
|
|
36121
|
+
IncreasedDebtRepaymentForANewExistingLoan: "Increased debt repayment for a new/ existing loan",
|
|
36122
|
+
LargeExpenditure: "Large expenditure",
|
|
36123
|
+
MedicalTreatmentIllness: "Medical treatment/ illness",
|
|
36124
|
+
ExtendedUnpaidLeaveEGStudyOrParentalLeave: "Extended unpaid leave (e.g. study or parental leave)",
|
|
36125
|
+
ChangeToFamilySituation: "Change to family situation",
|
|
36126
|
+
Retirement: "Retirement",
|
|
36127
|
+
BuyingAHouse: "Buying a house",
|
|
36128
|
+
No: "No",
|
|
36129
|
+
Other: "Other"
|
|
36130
|
+
};
|
|
36131
|
+
TypeOfChangeExpected$inboundSchema = nativeEnumType(TypeOfChangeExpected);
|
|
36132
|
+
TypeOfChangeExpected$outboundSchema = TypeOfChangeExpected$inboundSchema;
|
|
36133
|
+
((TypeOfChangeExpected$) => {
|
|
36134
|
+
TypeOfChangeExpected$.inboundSchema = TypeOfChangeExpected$inboundSchema;
|
|
36135
|
+
TypeOfChangeExpected$.outboundSchema = TypeOfChangeExpected$outboundSchema;
|
|
36136
|
+
})(TypeOfChangeExpected$ ||= {});
|
|
36137
|
+
});
|
|
36138
|
+
|
|
36139
|
+
// src/models/components/whatareyoulookingforinyourloan.ts
|
|
36140
|
+
var WhatAreYouLookingForInYourLoan, WhatAreYouLookingForInYourLoan$inboundSchema, WhatAreYouLookingForInYourLoan$outboundSchema, WhatAreYouLookingForInYourLoan$;
|
|
36141
|
+
var init_whatareyoulookingforinyourloan = __esm(() => {
|
|
36142
|
+
init_esm();
|
|
36143
|
+
WhatAreYouLookingForInYourLoan = {
|
|
36144
|
+
CompetitiveInterestRate: "Competitive Interest Rate",
|
|
36145
|
+
Service: "Service",
|
|
36146
|
+
BrokerRecommendation: "Broker Recommendation",
|
|
36147
|
+
ICanMakeAdditionalRepaymentsAtNoCost: "I can make additional repayments at no cost",
|
|
36148
|
+
ICanRepayTheLoanEarlyFeesAndChargesApply: "I can repay the loan early (fees & charges apply)",
|
|
36149
|
+
ABalloonRepayment: "A balloon repayment"
|
|
36150
|
+
};
|
|
36151
|
+
WhatAreYouLookingForInYourLoan$inboundSchema = nativeEnumType(WhatAreYouLookingForInYourLoan);
|
|
36152
|
+
WhatAreYouLookingForInYourLoan$outboundSchema = WhatAreYouLookingForInYourLoan$inboundSchema;
|
|
36153
|
+
((WhatAreYouLookingForInYourLoan$) => {
|
|
36154
|
+
WhatAreYouLookingForInYourLoan$.inboundSchema = WhatAreYouLookingForInYourLoan$inboundSchema;
|
|
36155
|
+
WhatAreYouLookingForInYourLoan$.outboundSchema = WhatAreYouLookingForInYourLoan$outboundSchema;
|
|
36156
|
+
})(WhatAreYouLookingForInYourLoan$ ||= {});
|
|
36157
|
+
});
|
|
36158
|
+
|
|
36159
|
+
// src/models/components/whatisthepurposeofthisapplication.ts
|
|
36160
|
+
var WhatIsThePurposeOfThisApplication, WhatIsThePurposeOfThisApplication$inboundSchema, WhatIsThePurposeOfThisApplication$outboundSchema, WhatIsThePurposeOfThisApplication$;
|
|
36161
|
+
var init_whatisthepurposeofthisapplication = __esm(() => {
|
|
36162
|
+
init_esm();
|
|
36163
|
+
WhatIsThePurposeOfThisApplication = {
|
|
36164
|
+
PurchaseTheAsset: "Purchase the asset",
|
|
36165
|
+
PurchaseTheAssetPlusFinanceInsurances: "Purchase the asset plus finance insurances",
|
|
36166
|
+
NA: "n/a",
|
|
36167
|
+
RefinanceLoanOnTheAsset: "Refinance loan on the asset",
|
|
36168
|
+
RefinanceLoanOnTheAssetPlusFinanceInsurances: "Refinance loan on the asset plus finance insurances"
|
|
36169
|
+
};
|
|
36170
|
+
WhatIsThePurposeOfThisApplication$inboundSchema = nativeEnumType(WhatIsThePurposeOfThisApplication);
|
|
36171
|
+
WhatIsThePurposeOfThisApplication$outboundSchema = WhatIsThePurposeOfThisApplication$inboundSchema;
|
|
36172
|
+
((WhatIsThePurposeOfThisApplication$) => {
|
|
36173
|
+
WhatIsThePurposeOfThisApplication$.inboundSchema = WhatIsThePurposeOfThisApplication$inboundSchema;
|
|
36174
|
+
WhatIsThePurposeOfThisApplication$.outboundSchema = WhatIsThePurposeOfThisApplication$outboundSchema;
|
|
36175
|
+
})(WhatIsThePurposeOfThisApplication$ ||= {});
|
|
36176
|
+
});
|
|
36177
|
+
|
|
36178
|
+
// src/models/components/whattodowithballoonpaymentattheendoftheloanterm.ts
|
|
36179
|
+
var WhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm, WhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$inboundSchema, WhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$outboundSchema, WhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$;
|
|
36180
|
+
var init_whattodowithballoonpaymentattheendoftheloanterm = __esm(() => {
|
|
36181
|
+
init_esm();
|
|
36182
|
+
WhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm = {
|
|
36183
|
+
Payout: "Payout",
|
|
36184
|
+
RefinanceTheLoanPayout: "Refinance the loanPayout",
|
|
36185
|
+
SellTheAsset: "Sell the asset",
|
|
36186
|
+
TradeInForANewVehicle: "Trade in for a new vehicle"
|
|
36187
|
+
};
|
|
36188
|
+
WhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$inboundSchema = nativeEnumType(WhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm);
|
|
36189
|
+
WhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$outboundSchema = WhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$inboundSchema;
|
|
36190
|
+
((WhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$) => {
|
|
36191
|
+
WhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$.inboundSchema = WhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$inboundSchema;
|
|
36192
|
+
WhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$.outboundSchema = WhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$outboundSchema;
|
|
36193
|
+
})(WhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$ ||= {});
|
|
36194
|
+
});
|
|
36195
|
+
|
|
36196
|
+
// src/models/components/whydoesthisloantermsuityourrequirements.ts
|
|
36197
|
+
var WhyDoesThisLoanTermSuitYourRequirements, WhyDoesThisLoanTermSuitYourRequirements$inboundSchema, WhyDoesThisLoanTermSuitYourRequirements$outboundSchema, WhyDoesThisLoanTermSuitYourRequirements$;
|
|
36198
|
+
var init_whydoesthisloantermsuityourrequirements = __esm(() => {
|
|
36199
|
+
init_esm();
|
|
36200
|
+
WhyDoesThisLoanTermSuitYourRequirements = {
|
|
36201
|
+
WantTheMaximumAmountOfTimeWithTheMinimumRepayment: "Want the maximum amount of time with the minimum repayment",
|
|
36202
|
+
WantToBeAbleToPayOffTheLoanOverTheSelectedTermAsItSuitsMyBudget: "Want to be able to pay off the loan over the selected term as it suits my budget",
|
|
36203
|
+
IWantToPayOffTheLoanAsQuicklyAsPossibleAndAcknowledgeThatFeesAndChargesApplyForEarlyPayoutOfTheLoan: "I want to pay off the loan as quickly as possible (and acknowledge that fees and charges apply for early payout of the loan)",
|
|
36204
|
+
IWillBeLookingToSellTheCarTradeInAtTheEndOfTheLoanTerm: "I will be looking to sell the car/ trade in at the end of the loan term",
|
|
36205
|
+
Other: "Other"
|
|
36206
|
+
};
|
|
36207
|
+
WhyDoesThisLoanTermSuitYourRequirements$inboundSchema = nativeEnumType(WhyDoesThisLoanTermSuitYourRequirements);
|
|
36208
|
+
WhyDoesThisLoanTermSuitYourRequirements$outboundSchema = WhyDoesThisLoanTermSuitYourRequirements$inboundSchema;
|
|
36209
|
+
((WhyDoesThisLoanTermSuitYourRequirements$) => {
|
|
36210
|
+
WhyDoesThisLoanTermSuitYourRequirements$.inboundSchema = WhyDoesThisLoanTermSuitYourRequirements$inboundSchema;
|
|
36211
|
+
WhyDoesThisLoanTermSuitYourRequirements$.outboundSchema = WhyDoesThisLoanTermSuitYourRequirements$outboundSchema;
|
|
36212
|
+
})(WhyDoesThisLoanTermSuitYourRequirements$ ||= {});
|
|
36213
|
+
});
|
|
36214
|
+
|
|
36215
|
+
// src/models/components/yesorno.ts
|
|
36216
|
+
var YesOrNo, YesOrNo$inboundSchema, YesOrNo$outboundSchema, YesOrNo$;
|
|
36217
|
+
var init_yesorno = __esm(() => {
|
|
36218
|
+
init_esm();
|
|
36219
|
+
YesOrNo = {
|
|
36220
|
+
Yes: "Yes",
|
|
36221
|
+
No: "No"
|
|
36222
|
+
};
|
|
36223
|
+
YesOrNo$inboundSchema = nativeEnumType(YesOrNo);
|
|
36224
|
+
YesOrNo$outboundSchema = YesOrNo$inboundSchema;
|
|
36225
|
+
((YesOrNo$) => {
|
|
36226
|
+
YesOrNo$.inboundSchema = YesOrNo$inboundSchema;
|
|
36227
|
+
YesOrNo$.outboundSchema = YesOrNo$outboundSchema;
|
|
36228
|
+
})(YesOrNo$ ||= {});
|
|
36229
|
+
});
|
|
36230
|
+
|
|
36008
36231
|
// src/models/components/customerdisclaimer.ts
|
|
36009
|
-
var CustomerDisclaimer$inboundSchema, CustomerDisclaimer$outboundSchema, CustomerDisclaimer$;
|
|
36232
|
+
var AnyForeseeableChangesImpactingLoanRepayment$inboundSchema, AnyForeseeableChangesImpactingLoanRepayment$outboundSchema, AnyForeseeableChangesImpactingLoanRepayment$, BalloonPaymentAtTheEndOfTheLoan$inboundSchema, BalloonPaymentAtTheEndOfTheLoan$outboundSchema, BalloonPaymentAtTheEndOfTheLoan$, IncreaseInLoanAmountForFinancingCostOfInsurance$inboundSchema, IncreaseInLoanAmountForFinancingCostOfInsurance$outboundSchema, IncreaseInLoanAmountForFinancingCostOfInsurance$, CustomerDisclaimerWhatAreYouLookingForInYourLoan$inboundSchema, CustomerDisclaimerWhatAreYouLookingForInYourLoan$outboundSchema, CustomerDisclaimerWhatAreYouLookingForInYourLoan$, CustomerDisclaimerWhatIsThePurposeOfThisApplication$inboundSchema, CustomerDisclaimerWhatIsThePurposeOfThisApplication$outboundSchema, CustomerDisclaimerWhatIsThePurposeOfThisApplication$, CustomerDisclaimerWhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$inboundSchema, CustomerDisclaimerWhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$outboundSchema, CustomerDisclaimerWhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$, CustomerDisclaimerWhyDoesThisLoanTermSuitYourRequirements$inboundSchema, CustomerDisclaimerWhyDoesThisLoanTermSuitYourRequirements$outboundSchema, CustomerDisclaimerWhyDoesThisLoanTermSuitYourRequirements$, CustomerDisclaimer$inboundSchema, CustomerDisclaimer$outboundSchema, CustomerDisclaimer$;
|
|
36010
36233
|
var init_customerdisclaimer = __esm(() => {
|
|
36011
36234
|
init_esm();
|
|
36012
36235
|
init_primitives();
|
|
36236
|
+
init_typeofchangeexpected();
|
|
36237
|
+
init_whatareyoulookingforinyourloan();
|
|
36238
|
+
init_whatisthepurposeofthisapplication();
|
|
36239
|
+
init_whattodowithballoonpaymentattheendoftheloanterm();
|
|
36240
|
+
init_whydoesthisloantermsuityourrequirements();
|
|
36241
|
+
init_yesorno();
|
|
36242
|
+
AnyForeseeableChangesImpactingLoanRepayment$inboundSchema = unionType([TypeOfChangeExpected$inboundSchema, stringType()]);
|
|
36243
|
+
AnyForeseeableChangesImpactingLoanRepayment$outboundSchema = unionType([TypeOfChangeExpected$outboundSchema, stringType()]);
|
|
36244
|
+
((AnyForeseeableChangesImpactingLoanRepayment$) => {
|
|
36245
|
+
AnyForeseeableChangesImpactingLoanRepayment$.inboundSchema = AnyForeseeableChangesImpactingLoanRepayment$inboundSchema;
|
|
36246
|
+
AnyForeseeableChangesImpactingLoanRepayment$.outboundSchema = AnyForeseeableChangesImpactingLoanRepayment$outboundSchema;
|
|
36247
|
+
})(AnyForeseeableChangesImpactingLoanRepayment$ ||= {});
|
|
36248
|
+
BalloonPaymentAtTheEndOfTheLoan$inboundSchema = unionType([YesOrNo$inboundSchema, stringType()]);
|
|
36249
|
+
BalloonPaymentAtTheEndOfTheLoan$outboundSchema = unionType([YesOrNo$outboundSchema, stringType()]);
|
|
36250
|
+
((BalloonPaymentAtTheEndOfTheLoan$) => {
|
|
36251
|
+
BalloonPaymentAtTheEndOfTheLoan$.inboundSchema = BalloonPaymentAtTheEndOfTheLoan$inboundSchema;
|
|
36252
|
+
BalloonPaymentAtTheEndOfTheLoan$.outboundSchema = BalloonPaymentAtTheEndOfTheLoan$outboundSchema;
|
|
36253
|
+
})(BalloonPaymentAtTheEndOfTheLoan$ ||= {});
|
|
36254
|
+
IncreaseInLoanAmountForFinancingCostOfInsurance$inboundSchema = unionType([YesOrNo$inboundSchema, stringType()]);
|
|
36255
|
+
IncreaseInLoanAmountForFinancingCostOfInsurance$outboundSchema = unionType([YesOrNo$outboundSchema, stringType()]);
|
|
36256
|
+
((IncreaseInLoanAmountForFinancingCostOfInsurance$) => {
|
|
36257
|
+
IncreaseInLoanAmountForFinancingCostOfInsurance$.inboundSchema = IncreaseInLoanAmountForFinancingCostOfInsurance$inboundSchema;
|
|
36258
|
+
IncreaseInLoanAmountForFinancingCostOfInsurance$.outboundSchema = IncreaseInLoanAmountForFinancingCostOfInsurance$outboundSchema;
|
|
36259
|
+
})(IncreaseInLoanAmountForFinancingCostOfInsurance$ ||= {});
|
|
36260
|
+
CustomerDisclaimerWhatAreYouLookingForInYourLoan$inboundSchema = unionType([WhatAreYouLookingForInYourLoan$inboundSchema, stringType()]);
|
|
36261
|
+
CustomerDisclaimerWhatAreYouLookingForInYourLoan$outboundSchema = unionType([WhatAreYouLookingForInYourLoan$outboundSchema, stringType()]);
|
|
36262
|
+
((CustomerDisclaimerWhatAreYouLookingForInYourLoan$) => {
|
|
36263
|
+
CustomerDisclaimerWhatAreYouLookingForInYourLoan$.inboundSchema = CustomerDisclaimerWhatAreYouLookingForInYourLoan$inboundSchema;
|
|
36264
|
+
CustomerDisclaimerWhatAreYouLookingForInYourLoan$.outboundSchema = CustomerDisclaimerWhatAreYouLookingForInYourLoan$outboundSchema;
|
|
36265
|
+
})(CustomerDisclaimerWhatAreYouLookingForInYourLoan$ ||= {});
|
|
36266
|
+
CustomerDisclaimerWhatIsThePurposeOfThisApplication$inboundSchema = unionType([WhatIsThePurposeOfThisApplication$inboundSchema, stringType()]);
|
|
36267
|
+
CustomerDisclaimerWhatIsThePurposeOfThisApplication$outboundSchema = unionType([WhatIsThePurposeOfThisApplication$outboundSchema, stringType()]);
|
|
36268
|
+
((CustomerDisclaimerWhatIsThePurposeOfThisApplication$) => {
|
|
36269
|
+
CustomerDisclaimerWhatIsThePurposeOfThisApplication$.inboundSchema = CustomerDisclaimerWhatIsThePurposeOfThisApplication$inboundSchema;
|
|
36270
|
+
CustomerDisclaimerWhatIsThePurposeOfThisApplication$.outboundSchema = CustomerDisclaimerWhatIsThePurposeOfThisApplication$outboundSchema;
|
|
36271
|
+
})(CustomerDisclaimerWhatIsThePurposeOfThisApplication$ ||= {});
|
|
36272
|
+
CustomerDisclaimerWhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$inboundSchema = unionType([
|
|
36273
|
+
WhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$inboundSchema,
|
|
36274
|
+
stringType()
|
|
36275
|
+
]);
|
|
36276
|
+
CustomerDisclaimerWhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$outboundSchema = unionType([
|
|
36277
|
+
WhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$outboundSchema,
|
|
36278
|
+
stringType()
|
|
36279
|
+
]);
|
|
36280
|
+
((CustomerDisclaimerWhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$) => {
|
|
36281
|
+
CustomerDisclaimerWhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$.inboundSchema = CustomerDisclaimerWhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$inboundSchema;
|
|
36282
|
+
CustomerDisclaimerWhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$.outboundSchema = CustomerDisclaimerWhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$outboundSchema;
|
|
36283
|
+
})(CustomerDisclaimerWhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$ ||= {});
|
|
36284
|
+
CustomerDisclaimerWhyDoesThisLoanTermSuitYourRequirements$inboundSchema = unionType([
|
|
36285
|
+
WhyDoesThisLoanTermSuitYourRequirements$inboundSchema,
|
|
36286
|
+
stringType()
|
|
36287
|
+
]);
|
|
36288
|
+
CustomerDisclaimerWhyDoesThisLoanTermSuitYourRequirements$outboundSchema = unionType([
|
|
36289
|
+
WhyDoesThisLoanTermSuitYourRequirements$outboundSchema,
|
|
36290
|
+
stringType()
|
|
36291
|
+
]);
|
|
36292
|
+
((CustomerDisclaimerWhyDoesThisLoanTermSuitYourRequirements$) => {
|
|
36293
|
+
CustomerDisclaimerWhyDoesThisLoanTermSuitYourRequirements$.inboundSchema = CustomerDisclaimerWhyDoesThisLoanTermSuitYourRequirements$inboundSchema;
|
|
36294
|
+
CustomerDisclaimerWhyDoesThisLoanTermSuitYourRequirements$.outboundSchema = CustomerDisclaimerWhyDoesThisLoanTermSuitYourRequirements$outboundSchema;
|
|
36295
|
+
})(CustomerDisclaimerWhyDoesThisLoanTermSuitYourRequirements$ ||= {});
|
|
36013
36296
|
CustomerDisclaimer$inboundSchema = objectType({
|
|
36014
36297
|
_id: stringType().optional(),
|
|
36015
36298
|
application: stringType().optional(),
|
|
36016
36299
|
customer: stringType().optional(),
|
|
36017
36300
|
disclaimer: stringType().optional(),
|
|
36018
|
-
anyForeseeableChangesImpactingLoanRepayment:
|
|
36019
|
-
|
|
36301
|
+
anyForeseeableChangesImpactingLoanRepayment: unionType([
|
|
36302
|
+
TypeOfChangeExpected$inboundSchema,
|
|
36303
|
+
stringType()
|
|
36304
|
+
]).optional(),
|
|
36305
|
+
balloonPaymentAtTheEndOfTheLoan: unionType([YesOrNo$inboundSchema, stringType()]).optional(),
|
|
36020
36306
|
howApplicantIntendToDoLoanRepaymentAfterChange: stringType().optional(),
|
|
36021
|
-
increaseInLoanAmountForFinancingCostOfInsurance:
|
|
36022
|
-
|
|
36023
|
-
|
|
36024
|
-
|
|
36025
|
-
|
|
36307
|
+
increaseInLoanAmountForFinancingCostOfInsurance: unionType([
|
|
36308
|
+
YesOrNo$inboundSchema,
|
|
36309
|
+
stringType()
|
|
36310
|
+
]).optional(),
|
|
36311
|
+
whatAreYouLookingForInYourLoan: unionType([
|
|
36312
|
+
WhatAreYouLookingForInYourLoan$inboundSchema,
|
|
36313
|
+
stringType()
|
|
36314
|
+
]).optional(),
|
|
36315
|
+
whatIsThePurposeOfThisApplication: unionType([
|
|
36316
|
+
WhatIsThePurposeOfThisApplication$inboundSchema,
|
|
36317
|
+
stringType()
|
|
36318
|
+
]).optional(),
|
|
36319
|
+
whatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm: unionType([
|
|
36320
|
+
WhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$inboundSchema,
|
|
36321
|
+
stringType()
|
|
36322
|
+
]).optional(),
|
|
36323
|
+
whyDoesThisLoanTermSuitYourRequirements: unionType([
|
|
36324
|
+
WhyDoesThisLoanTermSuitYourRequirements$inboundSchema,
|
|
36325
|
+
stringType()
|
|
36326
|
+
]).optional()
|
|
36026
36327
|
}).transform((v2) => {
|
|
36027
36328
|
return remap(v2, {
|
|
36028
36329
|
_id: "id"
|
|
@@ -36033,14 +36334,32 @@ var init_customerdisclaimer = __esm(() => {
|
|
|
36033
36334
|
application: stringType().optional(),
|
|
36034
36335
|
customer: stringType().optional(),
|
|
36035
36336
|
disclaimer: stringType().optional(),
|
|
36036
|
-
anyForeseeableChangesImpactingLoanRepayment:
|
|
36037
|
-
|
|
36337
|
+
anyForeseeableChangesImpactingLoanRepayment: unionType([
|
|
36338
|
+
TypeOfChangeExpected$outboundSchema,
|
|
36339
|
+
stringType()
|
|
36340
|
+
]).optional(),
|
|
36341
|
+
balloonPaymentAtTheEndOfTheLoan: unionType([YesOrNo$outboundSchema, stringType()]).optional(),
|
|
36038
36342
|
howApplicantIntendToDoLoanRepaymentAfterChange: stringType().optional(),
|
|
36039
|
-
increaseInLoanAmountForFinancingCostOfInsurance:
|
|
36040
|
-
|
|
36041
|
-
|
|
36042
|
-
|
|
36043
|
-
|
|
36343
|
+
increaseInLoanAmountForFinancingCostOfInsurance: unionType([
|
|
36344
|
+
YesOrNo$outboundSchema,
|
|
36345
|
+
stringType()
|
|
36346
|
+
]).optional(),
|
|
36347
|
+
whatAreYouLookingForInYourLoan: unionType([
|
|
36348
|
+
WhatAreYouLookingForInYourLoan$outboundSchema,
|
|
36349
|
+
stringType()
|
|
36350
|
+
]).optional(),
|
|
36351
|
+
whatIsThePurposeOfThisApplication: unionType([
|
|
36352
|
+
WhatIsThePurposeOfThisApplication$outboundSchema,
|
|
36353
|
+
stringType()
|
|
36354
|
+
]).optional(),
|
|
36355
|
+
whatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm: unionType([
|
|
36356
|
+
WhatToDoWithBalloonPaymentAtTheEndOfTheLoanTerm$outboundSchema,
|
|
36357
|
+
stringType()
|
|
36358
|
+
]).optional(),
|
|
36359
|
+
whyDoesThisLoanTermSuitYourRequirements: unionType([
|
|
36360
|
+
WhyDoesThisLoanTermSuitYourRequirements$outboundSchema,
|
|
36361
|
+
stringType()
|
|
36362
|
+
]).optional()
|
|
36044
36363
|
}).transform((v2) => {
|
|
36045
36364
|
return remap(v2, {
|
|
36046
36365
|
id: "_id"
|
|
@@ -36052,6 +36371,103 @@ var init_customerdisclaimer = __esm(() => {
|
|
|
36052
36371
|
})(CustomerDisclaimer$ ||= {});
|
|
36053
36372
|
});
|
|
36054
36373
|
|
|
36374
|
+
// src/models/components/livingarrangements.ts
|
|
36375
|
+
var LivingArrangements, LivingArrangements$inboundSchema, LivingArrangements$outboundSchema, LivingArrangements$;
|
|
36376
|
+
var init_livingarrangements = __esm(() => {
|
|
36377
|
+
init_esm();
|
|
36378
|
+
LivingArrangements = {
|
|
36379
|
+
PropertyOwner: "Property owner",
|
|
36380
|
+
Renting: "Renting",
|
|
36381
|
+
Boarding: "Boarding",
|
|
36382
|
+
LivingWParents: "Living w/ parents"
|
|
36383
|
+
};
|
|
36384
|
+
LivingArrangements$inboundSchema = nativeEnumType(LivingArrangements);
|
|
36385
|
+
LivingArrangements$outboundSchema = LivingArrangements$inboundSchema;
|
|
36386
|
+
((LivingArrangements$) => {
|
|
36387
|
+
LivingArrangements$.inboundSchema = LivingArrangements$inboundSchema;
|
|
36388
|
+
LivingArrangements$.outboundSchema = LivingArrangements$outboundSchema;
|
|
36389
|
+
})(LivingArrangements$ ||= {});
|
|
36390
|
+
});
|
|
36391
|
+
|
|
36392
|
+
// src/models/components/maritalstatus.ts
|
|
36393
|
+
var MaritalStatus, MaritalStatus$inboundSchema, MaritalStatus$outboundSchema, MaritalStatus$;
|
|
36394
|
+
var init_maritalstatus = __esm(() => {
|
|
36395
|
+
init_esm();
|
|
36396
|
+
MaritalStatus = {
|
|
36397
|
+
MarriedDefacto: "Married/Defacto",
|
|
36398
|
+
SingleDivorcedWidowed: "Single/Divorced/Widowed"
|
|
36399
|
+
};
|
|
36400
|
+
MaritalStatus$inboundSchema = nativeEnumType(MaritalStatus);
|
|
36401
|
+
MaritalStatus$outboundSchema = MaritalStatus$inboundSchema;
|
|
36402
|
+
((MaritalStatus$) => {
|
|
36403
|
+
MaritalStatus$.inboundSchema = MaritalStatus$inboundSchema;
|
|
36404
|
+
MaritalStatus$.outboundSchema = MaritalStatus$outboundSchema;
|
|
36405
|
+
})(MaritalStatus$ ||= {});
|
|
36406
|
+
});
|
|
36407
|
+
|
|
36408
|
+
// src/models/components/residentialstatus.ts
|
|
36409
|
+
var ResidentialStatus, ResidentialStatus$inboundSchema, ResidentialStatus$outboundSchema, ResidentialStatus$;
|
|
36410
|
+
var init_residentialstatus = __esm(() => {
|
|
36411
|
+
init_esm();
|
|
36412
|
+
ResidentialStatus = {
|
|
36413
|
+
AustralianCitizen: "Australian Citizen",
|
|
36414
|
+
PermanentResident: "Permanent Resident",
|
|
36415
|
+
NewZealandCitizen: "New Zealand Citizen",
|
|
36416
|
+
WorkingVisa: "Working Visa",
|
|
36417
|
+
StudentVisa: "Student Visa"
|
|
36418
|
+
};
|
|
36419
|
+
ResidentialStatus$inboundSchema = nativeEnumType(ResidentialStatus);
|
|
36420
|
+
ResidentialStatus$outboundSchema = ResidentialStatus$inboundSchema;
|
|
36421
|
+
((ResidentialStatus$) => {
|
|
36422
|
+
ResidentialStatus$.inboundSchema = ResidentialStatus$inboundSchema;
|
|
36423
|
+
ResidentialStatus$.outboundSchema = ResidentialStatus$outboundSchema;
|
|
36424
|
+
})(ResidentialStatus$ ||= {});
|
|
36425
|
+
});
|
|
36426
|
+
|
|
36427
|
+
// src/models/components/customerprofile.ts
|
|
36428
|
+
var CustomerProfile$inboundSchema, CustomerProfile$outboundSchema, CustomerProfile$;
|
|
36429
|
+
var init_customerprofile = __esm(() => {
|
|
36430
|
+
init_esm();
|
|
36431
|
+
init_primitives();
|
|
36432
|
+
init_livingarrangements();
|
|
36433
|
+
init_maritalstatus();
|
|
36434
|
+
init_residentialstatus();
|
|
36435
|
+
CustomerProfile$inboundSchema = objectType({
|
|
36436
|
+
_id: stringType().optional(),
|
|
36437
|
+
numberOfDependants: numberType().int().optional(),
|
|
36438
|
+
residencyStatus: ResidentialStatus$inboundSchema.optional(),
|
|
36439
|
+
maritalStatus: MaritalStatus$inboundSchema.optional(),
|
|
36440
|
+
livingArrangements: LivingArrangements$inboundSchema.optional(),
|
|
36441
|
+
contactNumber: stringType().optional(),
|
|
36442
|
+
shareOfExpenses: numberType().optional(),
|
|
36443
|
+
rentAmount: stringType().optional(),
|
|
36444
|
+
landlordName: stringType().optional()
|
|
36445
|
+
}).transform((v2) => {
|
|
36446
|
+
return remap(v2, {
|
|
36447
|
+
_id: "id"
|
|
36448
|
+
});
|
|
36449
|
+
});
|
|
36450
|
+
CustomerProfile$outboundSchema = objectType({
|
|
36451
|
+
id: stringType().optional(),
|
|
36452
|
+
numberOfDependants: numberType().int().optional(),
|
|
36453
|
+
residencyStatus: ResidentialStatus$outboundSchema.optional(),
|
|
36454
|
+
maritalStatus: MaritalStatus$outboundSchema.optional(),
|
|
36455
|
+
livingArrangements: LivingArrangements$outboundSchema.optional(),
|
|
36456
|
+
contactNumber: stringType().optional(),
|
|
36457
|
+
shareOfExpenses: numberType().optional(),
|
|
36458
|
+
rentAmount: stringType().optional(),
|
|
36459
|
+
landlordName: stringType().optional()
|
|
36460
|
+
}).transform((v2) => {
|
|
36461
|
+
return remap(v2, {
|
|
36462
|
+
id: "_id"
|
|
36463
|
+
});
|
|
36464
|
+
});
|
|
36465
|
+
((CustomerProfile$) => {
|
|
36466
|
+
CustomerProfile$.inboundSchema = CustomerProfile$inboundSchema;
|
|
36467
|
+
CustomerProfile$.outboundSchema = CustomerProfile$outboundSchema;
|
|
36468
|
+
})(CustomerProfile$ ||= {});
|
|
36469
|
+
});
|
|
36470
|
+
|
|
36055
36471
|
// src/models/components/customertitle.ts
|
|
36056
36472
|
var CustomerTitle, CustomerTitle$inboundSchema, CustomerTitle$outboundSchema, CustomerTitle$;
|
|
36057
36473
|
var init_customertitle = __esm(() => {
|
|
@@ -36149,15 +36565,32 @@ var init_document = __esm(() => {
|
|
|
36149
36565
|
})(Document$ ||= {});
|
|
36150
36566
|
});
|
|
36151
36567
|
|
|
36152
|
-
// src/models/components/
|
|
36153
|
-
var
|
|
36154
|
-
var
|
|
36568
|
+
// src/models/components/timestatus.ts
|
|
36569
|
+
var TimeStatus, TimeStatus$inboundSchema, TimeStatus$outboundSchema, TimeStatus$;
|
|
36570
|
+
var init_timestatus = __esm(() => {
|
|
36155
36571
|
init_esm();
|
|
36156
|
-
|
|
36157
|
-
|
|
36158
|
-
|
|
36159
|
-
|
|
36160
|
-
|
|
36572
|
+
TimeStatus = {
|
|
36573
|
+
Current: "current",
|
|
36574
|
+
Previous: "previous"
|
|
36575
|
+
};
|
|
36576
|
+
TimeStatus$inboundSchema = nativeEnumType(TimeStatus);
|
|
36577
|
+
TimeStatus$outboundSchema = TimeStatus$inboundSchema;
|
|
36578
|
+
((TimeStatus$) => {
|
|
36579
|
+
TimeStatus$.inboundSchema = TimeStatus$inboundSchema;
|
|
36580
|
+
TimeStatus$.outboundSchema = TimeStatus$outboundSchema;
|
|
36581
|
+
})(TimeStatus$ ||= {});
|
|
36582
|
+
});
|
|
36583
|
+
|
|
36584
|
+
// src/models/components/email.ts
|
|
36585
|
+
var Email$inboundSchema, Email$outboundSchema, Email$;
|
|
36586
|
+
var init_email = __esm(() => {
|
|
36587
|
+
init_esm();
|
|
36588
|
+
init_primitives();
|
|
36589
|
+
init_timestatus();
|
|
36590
|
+
Email$inboundSchema = objectType({
|
|
36591
|
+
_id: stringType().optional(),
|
|
36592
|
+
address: stringType(),
|
|
36593
|
+
status: TimeStatus$inboundSchema.optional(),
|
|
36161
36594
|
emailType: stringType().optional()
|
|
36162
36595
|
}).transform((v2) => {
|
|
36163
36596
|
return remap(v2, {
|
|
@@ -36167,7 +36600,7 @@ var init_email = __esm(() => {
|
|
|
36167
36600
|
Email$outboundSchema = objectType({
|
|
36168
36601
|
id: stringType().optional(),
|
|
36169
36602
|
address: stringType(),
|
|
36170
|
-
status:
|
|
36603
|
+
status: TimeStatus$outboundSchema.optional(),
|
|
36171
36604
|
emailType: stringType().optional()
|
|
36172
36605
|
}).transform((v2) => {
|
|
36173
36606
|
return remap(v2, {
|
|
@@ -36253,20 +36686,211 @@ var init_industrytypes = __esm(() => {
|
|
|
36253
36686
|
})(IndustryTypes$ ||= {});
|
|
36254
36687
|
});
|
|
36255
36688
|
|
|
36256
|
-
// src/models/components/
|
|
36257
|
-
var
|
|
36258
|
-
var
|
|
36689
|
+
// src/models/components/occupation.ts
|
|
36690
|
+
var Occupation, Occupation$inboundSchema, Occupation$outboundSchema, Occupation$;
|
|
36691
|
+
var init_occupation = __esm(() => {
|
|
36259
36692
|
init_esm();
|
|
36260
|
-
|
|
36261
|
-
|
|
36262
|
-
|
|
36263
|
-
|
|
36264
|
-
|
|
36265
|
-
|
|
36266
|
-
|
|
36267
|
-
|
|
36268
|
-
|
|
36269
|
-
|
|
36693
|
+
Occupation = {
|
|
36694
|
+
AccountantGeneral: "Accountant (General)",
|
|
36695
|
+
AdvertisingSpecialist: "Advertising Specialist",
|
|
36696
|
+
AdvertisingManager: "Advertising Manager",
|
|
36697
|
+
AgriculturalConsultant: "Agricultural Consultant",
|
|
36698
|
+
AgriculturalTechnician: "Agricultural Technician",
|
|
36699
|
+
AirconditioningAndMechanicalServicesPlumber: "Airconditioning and Mechanical Services Plumber",
|
|
36700
|
+
AirconditioningAndRefrigerationMechanic: "Airconditioning and Refrigeration Mechanic",
|
|
36701
|
+
AircraftMaintenanceEngineerAvionics: "Aircraft Maintenance Engineer (Avionics)",
|
|
36702
|
+
AirTransportProfessionalsNec: "Air Transport Professionals nec",
|
|
36703
|
+
AmbulanceOfficer: "Ambulance Officer",
|
|
36704
|
+
Apiarist: "Apiarist",
|
|
36705
|
+
Arborist: "Arborist",
|
|
36706
|
+
Architect: "Architect",
|
|
36707
|
+
ArchitecturalBuildingAndSurveyingTechniciansNec: "Architectural, Building and Surveying Technicians nec",
|
|
36708
|
+
ArtisticDirector: "Artistic Director",
|
|
36709
|
+
FacultyHead: "Faculty Head",
|
|
36710
|
+
Auctioneer: "Auctioneer",
|
|
36711
|
+
ExternalAuditor: "External Auditor",
|
|
36712
|
+
InternalAuditor: "Internal Auditor",
|
|
36713
|
+
Barrister: "Barrister",
|
|
36714
|
+
MarineBiologist: "Marine Biologist",
|
|
36715
|
+
BoatBuilderAndRepairer: "Boat Builder and Repairer",
|
|
36716
|
+
Botanist: "Botanist",
|
|
36717
|
+
Bricklayer: "Bricklayer",
|
|
36718
|
+
CarpenterAndJoiner: "Carpenter and Joiner",
|
|
36719
|
+
Chef: "Chef",
|
|
36720
|
+
Cook: "Cook",
|
|
36721
|
+
ChemicalPlantOperator: "Chemical Plant Operator",
|
|
36722
|
+
Chemist: "Chemist",
|
|
36723
|
+
ChildCareCentreManager: "Child Care Centre Manager",
|
|
36724
|
+
ClinicalCoder: "Clinical Coder",
|
|
36725
|
+
ClothingTradesWorkersNec: "Clothing Trades Workers nec",
|
|
36726
|
+
MediaProducerExcludingVideo: "Media Producer (excluding Video)",
|
|
36727
|
+
CommunicationsOperator: "Communications Operator",
|
|
36728
|
+
CommunityWorker: "Community Worker",
|
|
36729
|
+
CompanySecretary: "Company Secretary",
|
|
36730
|
+
ConstructionProjectManager: "Construction Project Manager",
|
|
36731
|
+
GalleryOrMuseumCurator: "Gallery or Museum Curator",
|
|
36732
|
+
CounsellorsNec: "Counsellors nec",
|
|
36733
|
+
DatabaseAdministrator: "Database Administrator",
|
|
36734
|
+
DentalTherapist: "Dental Therapist",
|
|
36735
|
+
RetailBuyer: "Retail Buyer",
|
|
36736
|
+
Dietitian: "Dietitian",
|
|
36737
|
+
Nutritionist: "Nutritionist",
|
|
36738
|
+
DisabilitiesServicesOfficer: "Disabilities Services Officer",
|
|
36739
|
+
Economist: "Economist",
|
|
36740
|
+
EarlyChildhoodPrePrimarySchoolTeacher: "Early Childhood (Pre-primary School) Teacher",
|
|
36741
|
+
EducationManagersNec: "Education Managers nec",
|
|
36742
|
+
ElectricianGeneral: "Electrician (General)",
|
|
36743
|
+
ElectronicEquipmentTradesWorker: "Electronic Equipment Trades Worker",
|
|
36744
|
+
EngineeringManager: "Engineering Manager",
|
|
36745
|
+
EngineeringProfessionalsNec: "Engineering Professionals nec",
|
|
36746
|
+
TelecommunicationsNetworkEngineer: "Telecommunications Network Engineer",
|
|
36747
|
+
UrbanAndRegionalPlanner: "Urban and Regional Planner",
|
|
36748
|
+
Translator: "Translator",
|
|
36749
|
+
TruckDriver: "Truck driver",
|
|
36750
|
+
CropFarmersNec: "Crop Farmers nec",
|
|
36751
|
+
LivestockFarmersNec: "Livestock Farmers nec",
|
|
36752
|
+
MixedCropAndLivestockFarmer: "Mixed Crop and Livestock Farmer",
|
|
36753
|
+
AquacultureFarmer: "Aquaculture Farmer",
|
|
36754
|
+
PetGroomer: "Pet Groomer",
|
|
36755
|
+
FashionDesigner: "Fashion Designer",
|
|
36756
|
+
FinanceManager: "Finance Manager",
|
|
36757
|
+
ICTBusinessAnalyst: "ICT Business Analyst",
|
|
36758
|
+
PolicyAnalyst: "Policy Analyst",
|
|
36759
|
+
PolicyAndPlanningManager: "Policy and Planning Manager",
|
|
36760
|
+
FinancialBrokersNec: "Financial Brokers nec",
|
|
36761
|
+
FinancialDealersNec: "Financial Dealers nec",
|
|
36762
|
+
CorporateTreasurer: "Corporate Treasurer",
|
|
36763
|
+
Florist: "Florist",
|
|
36764
|
+
FoodTechnologist: "Food Technologist",
|
|
36765
|
+
FuneralWorkersNec: "Funeral Workers nec",
|
|
36766
|
+
GasOrPetroleumOperator: "Gas or Petroleum Operator",
|
|
36767
|
+
Geologist: "Geologist",
|
|
36768
|
+
Geophysicist: "Geophysicist",
|
|
36769
|
+
Glazier: "Glazier",
|
|
36770
|
+
Greenkeeper: "Greenkeeper",
|
|
36771
|
+
GymnasticsCoachOrInstructor: "Gymnastics Coach or Instructor",
|
|
36772
|
+
Hairdresser: "Hairdresser",
|
|
36773
|
+
HealthAndWelfareServicesManagersNec: "Health and Welfare Services Managers nec",
|
|
36774
|
+
HealthInformationManager: "Health Information Manager",
|
|
36775
|
+
HospitalityRetailAndServiceManagersNec: "Hospitality, Retail and Service Managers nec",
|
|
36776
|
+
HumanResourceAdviser: "Human Resource Adviser",
|
|
36777
|
+
HumanResourceManager: "Human Resource Manager",
|
|
36778
|
+
InsuranceAgent: "Insurance Agent",
|
|
36779
|
+
InsuranceRiskSurveyor: "Insurance Risk Surveyor",
|
|
36780
|
+
IndustrialDesigner: "Industrial Designer",
|
|
36781
|
+
IntelligenceOfficer: "Intelligence Officer",
|
|
36782
|
+
InteriorDecorator: "Interior Decorator",
|
|
36783
|
+
Interpreter: "Interpreter",
|
|
36784
|
+
Jeweller: "Jeweller",
|
|
36785
|
+
JournalistsAndOtherWritersNec: "Journalists and Other Writers nec",
|
|
36786
|
+
JudicialAndOtherLegalProfessionalsNec: "Judicial and Other Legal Professionals nec",
|
|
36787
|
+
LandscapeGardener: "Landscape Gardener",
|
|
36788
|
+
Librarian: "Librarian",
|
|
36789
|
+
CorporateGeneralManager: "Corporate General Manager",
|
|
36790
|
+
CorporateServicesManager: "Corporate Services Manager",
|
|
36791
|
+
ProcurementManager: "Procurement Manager",
|
|
36792
|
+
ProductionManagerForestry: "Production Manager (Forestry)",
|
|
36793
|
+
ProductionManagerManufacturing: "Production Manager (Manufacturing)",
|
|
36794
|
+
ProductionManagerMining: "Production Manager (Mining)",
|
|
36795
|
+
RegionalEducationManager: "Regional Education Manager",
|
|
36796
|
+
ResearchAndDevelopmentManager: "Research and Development Manager",
|
|
36797
|
+
SpecialistManagersNec: "Specialist Managers nec",
|
|
36798
|
+
SupplyAndDistributionManager: "Supply and Distribution Manager",
|
|
36799
|
+
ChiefExecutiveOrManagingDirector: "Chief Executive or Managing Director",
|
|
36800
|
+
Manufacturer: "Manufacturer",
|
|
36801
|
+
MarketResearchAnalyst: "Market Research Analyst",
|
|
36802
|
+
MarketingSpecialist: "Marketing Specialist",
|
|
36803
|
+
SmallEngineMechanic: "Small Engine Mechanic",
|
|
36804
|
+
MedicalLaboratoryScientist: "Medical Laboratory Scientist",
|
|
36805
|
+
MedicalRadiationTherapist: "Medical Radiation Therapist",
|
|
36806
|
+
EmergencyServiceWorker: "Emergency Service Worker",
|
|
36807
|
+
MedicalPractitionersNec: "Medical Practitioners nec",
|
|
36808
|
+
SurgeonGeneral: "Surgeon (General)",
|
|
36809
|
+
MedicalDiagnosticRadiographer: "Medical Diagnostic Radiographer",
|
|
36810
|
+
MedicalTechniciansNec: "Medical Technicians nec",
|
|
36811
|
+
DiversionalTherapist: "Diversional Therapist",
|
|
36812
|
+
Sonographer: "Sonographer",
|
|
36813
|
+
MetalFabricator: "Metal Fabricator",
|
|
36814
|
+
MetalFittersAndMachinistsNec: "Metal Fitters and Machinists nec",
|
|
36815
|
+
Meteorologist: "Meteorologist",
|
|
36816
|
+
MusicProfessionalsNec: "Music Professionals nec",
|
|
36817
|
+
NursingClinicalDirector: "Nursing Clinical Director",
|
|
36818
|
+
OccupationalHealthAndSafetyAdviser: "Occupational Health and Safety Adviser",
|
|
36819
|
+
PowerGenerationPlantOperator: "Power Generation Plant Operator",
|
|
36820
|
+
Optometrist: "Optometrist",
|
|
36821
|
+
Orthoptist: "Orthoptist",
|
|
36822
|
+
OtherSpatialScientist: "Other Spatial Scientist",
|
|
36823
|
+
Photographer: "Photographer",
|
|
36824
|
+
SpecialistPhysiciansNec: "Specialist Physicians nec",
|
|
36825
|
+
Physicist: "Physicist",
|
|
36826
|
+
PrimaryProductsInspectorsNec: "Primary Products Inspectors nec",
|
|
36827
|
+
PracticeManagersNec: "Practice Managers nec",
|
|
36828
|
+
PrimaryHealthOrganisationManager: "Primary Health Organisation Manager",
|
|
36829
|
+
InformationAndOrganisationProfessionalsNec: "Information and Organisation Professionals nec",
|
|
36830
|
+
MarineTransportProfessionalsNec: "Marine Transport Professionals nec",
|
|
36831
|
+
NaturalAndPhysicalScienceProfessionalsNec: "Natural and Physical Science Professionals nec",
|
|
36832
|
+
SportspersonsNec: "Sportspersons nec",
|
|
36833
|
+
Psychiatrist: "Psychiatrist",
|
|
36834
|
+
PsychologistsNec: "Psychologists nec",
|
|
36835
|
+
PublicRelationsManager: "Public Relations Manager",
|
|
36836
|
+
PublicRelationsProfessional: "Public Relations Professional",
|
|
36837
|
+
RecordsManager: "Records Manager",
|
|
36838
|
+
RealEstateRepresentative: "Real Estate Representative",
|
|
36839
|
+
Conveyancer: "Conveyancer",
|
|
36840
|
+
RegisteredNursesNec: "Registered Nurses nec",
|
|
36841
|
+
SalesAndMarketingManager: "Sales and Marketing Manager",
|
|
36842
|
+
EnvironmentalScientistsNec: "Environmental Scientists nec",
|
|
36843
|
+
LifeScientistsNec: "Life Scientists nec",
|
|
36844
|
+
SocialProfessionalsNec: "Social Professionals nec",
|
|
36845
|
+
ScienceTechniciansNec: "Science Technicians nec",
|
|
36846
|
+
OtherSportsCoachOrInstructor: "Other Sports Coach or Instructor",
|
|
36847
|
+
OtherSportsOfficial: "Other Sports Official",
|
|
36848
|
+
SportsAdministrator: "Sports Administrator",
|
|
36849
|
+
KaiakoKohangaReoMaoriLanguageNestTeacher: "Kaiako Kohanga Reo (Maori Language Nest Teacher)",
|
|
36850
|
+
KaiakoKuraKaupapaMaoriMaoriMediumPrimarySchoolTeacher: "Kaiako Kura Kaupapa Maori (Maori-medium Primary School Teacher)",
|
|
36851
|
+
MiddleSchoolTeacherAusIntermediateSchoolTeacherNZ: "Middle School Teacher (Aus) Intermediate School Teacher (NZ)",
|
|
36852
|
+
PouakoKuraKaupapaMaoriMaoriMediumPrimarySchoolSeniorTeacher: "Pouako Kura Kaupapa Maori (Maori-medium Primary School Senior Teacher)",
|
|
36853
|
+
PrimarySchoolTeacher: "Primary School Teacher",
|
|
36854
|
+
PrivateTutorsAndTeachersNec: "Private Tutors and Teachers nec",
|
|
36855
|
+
SchoolPrincipal: "School Principal",
|
|
36856
|
+
SecondarySchoolTeacher: "Secondary School Teacher",
|
|
36857
|
+
SpecialEducationTeachersNec: "Special Education Teachers nec",
|
|
36858
|
+
UniversityLecturer: "University Lecturer",
|
|
36859
|
+
TechnicalSalesRepresentativesNec: "Technical Sales Representatives nec",
|
|
36860
|
+
TechniciansAndTradesWorkersNec: "Technicians and Trades Workers nec",
|
|
36861
|
+
BuildingAndEngineeringTechniciansNec: "Building and Engineering Technicians nec",
|
|
36862
|
+
Hydrogeologist: "Hydrogeologist",
|
|
36863
|
+
NuclearMedicineTechnologist: "Nuclear Medicine Technologist",
|
|
36864
|
+
TelecommunicationsTechnician: "Telecommunications Technician",
|
|
36865
|
+
ActorsDancersAndOtherEntertainersNec: "Actors, Dancers and Other Entertainers nec",
|
|
36866
|
+
FilmTelevisionRadioAndStageDirectorsNec: "Film, Television, Radio and Stage Directors nec",
|
|
36867
|
+
PerformingArtsTechniciansNec: "Performing Arts Technicians nec",
|
|
36868
|
+
VisualArtsAndCraftsProfessionalsNec: "Visual Arts and Crafts Professionals nec",
|
|
36869
|
+
ImporterOrExporter: "Importer or Exporter",
|
|
36870
|
+
Wholesaler: "Wholesaler",
|
|
36871
|
+
TrainingAndDevelopmentProfessional: "Training and Development Professional",
|
|
36872
|
+
TravelAttendantsNec: "Travel Attendants nec",
|
|
36873
|
+
Valuer: "Valuer",
|
|
36874
|
+
VehicleBodyBuilder: "Vehicle Body Builder",
|
|
36875
|
+
VeterinaryNurse: "Veterinary Nurse",
|
|
36876
|
+
WallAndFloorTiler: "Wall and Floor Tiler",
|
|
36877
|
+
SoftwareAndApplicationsProgrammersNec: "Software and Applications Programmers nec",
|
|
36878
|
+
WineMaker: "Wine Maker",
|
|
36879
|
+
WoolBuyer: "Wool Buyer",
|
|
36880
|
+
WorkplaceRelationsAdviser: "Workplace Relations Adviser",
|
|
36881
|
+
Zookeeper: "Zookeeper",
|
|
36882
|
+
Zoologist: "Zoologist",
|
|
36883
|
+
Historian: "Historian",
|
|
36884
|
+
LeatherGoodsMaker: "Leather Goods Maker",
|
|
36885
|
+
QuarantineOfficer: "Quarantine Officer",
|
|
36886
|
+
RecruitmentConsultant: "Recruitment Consultant"
|
|
36887
|
+
};
|
|
36888
|
+
Occupation$inboundSchema = nativeEnumType(Occupation);
|
|
36889
|
+
Occupation$outboundSchema = Occupation$inboundSchema;
|
|
36890
|
+
((Occupation$) => {
|
|
36891
|
+
Occupation$.inboundSchema = Occupation$inboundSchema;
|
|
36892
|
+
Occupation$.outboundSchema = Occupation$outboundSchema;
|
|
36893
|
+
})(Occupation$ ||= {});
|
|
36270
36894
|
});
|
|
36271
36895
|
|
|
36272
36896
|
// src/models/components/employer.ts
|
|
@@ -36278,6 +36902,7 @@ var init_employer = __esm(() => {
|
|
|
36278
36902
|
init_employmenttypes();
|
|
36279
36903
|
init_entitytype();
|
|
36280
36904
|
init_industrytypes();
|
|
36905
|
+
init_occupation();
|
|
36281
36906
|
init_timestatus();
|
|
36282
36907
|
Employer$inboundSchema = objectType({
|
|
36283
36908
|
_id: stringType().optional(),
|
|
@@ -36288,7 +36913,7 @@ var init_employer = __esm(() => {
|
|
|
36288
36913
|
abnStatus: stringType().optional(),
|
|
36289
36914
|
employmentType: EmploymentTypes$inboundSchema.optional(),
|
|
36290
36915
|
timeOfEmployment: stringType().optional(),
|
|
36291
|
-
occupation:
|
|
36916
|
+
occupation: Occupation$inboundSchema.optional(),
|
|
36292
36917
|
manager: stringType().optional(),
|
|
36293
36918
|
phoneNumber: stringType().optional(),
|
|
36294
36919
|
status: TimeStatus$inboundSchema.optional(),
|
|
@@ -36311,7 +36936,7 @@ var init_employer = __esm(() => {
|
|
|
36311
36936
|
abnStatus: stringType().optional(),
|
|
36312
36937
|
employmentType: EmploymentTypes$outboundSchema.optional(),
|
|
36313
36938
|
timeOfEmployment: stringType().optional(),
|
|
36314
|
-
occupation:
|
|
36939
|
+
occupation: Occupation$outboundSchema.optional(),
|
|
36315
36940
|
manager: stringType().optional(),
|
|
36316
36941
|
phoneNumber: stringType().optional(),
|
|
36317
36942
|
status: TimeStatus$outboundSchema.optional(),
|
|
@@ -36394,582 +37019,79 @@ var init_expense = __esm(() => {
|
|
|
36394
37019
|
_id: stringType().optional(),
|
|
36395
37020
|
application: stringType().optional(),
|
|
36396
37021
|
customer: stringType().optional(),
|
|
36397
|
-
expensesType: ExpensesType$inboundSchema.optional(),
|
|
36398
|
-
amount: stringType().optional(),
|
|
36399
|
-
frequency: Frequency$inboundSchema.optional()
|
|
36400
|
-
}).transform((v2) => {
|
|
36401
|
-
return remap(v2, {
|
|
36402
|
-
_id: "id"
|
|
36403
|
-
});
|
|
36404
|
-
});
|
|
36405
|
-
Expense$outboundSchema = objectType({
|
|
36406
|
-
id: stringType().optional(),
|
|
36407
|
-
application: stringType().optional(),
|
|
36408
|
-
customer: stringType().optional(),
|
|
36409
|
-
expensesType: ExpensesType$outboundSchema.optional(),
|
|
36410
|
-
amount: stringType().optional(),
|
|
36411
|
-
frequency: Frequency$outboundSchema.optional()
|
|
36412
|
-
}).transform((v2) => {
|
|
36413
|
-
return remap(v2, {
|
|
36414
|
-
id: "_id"
|
|
36415
|
-
});
|
|
36416
|
-
});
|
|
36417
|
-
((Expense$) => {
|
|
36418
|
-
Expense$.inboundSchema = Expense$inboundSchema;
|
|
36419
|
-
Expense$.outboundSchema = Expense$outboundSchema;
|
|
36420
|
-
})(Expense$ ||= {});
|
|
36421
|
-
});
|
|
36422
|
-
|
|
36423
|
-
// src/models/components/feefrequency.ts
|
|
36424
|
-
var FeeFrequency, FeeFrequency$inboundSchema, FeeFrequency$outboundSchema, FeeFrequency$;
|
|
36425
|
-
var init_feefrequency = __esm(() => {
|
|
36426
|
-
init_esm();
|
|
36427
|
-
FeeFrequency = {
|
|
36428
|
-
Monthly: "monthly",
|
|
36429
|
-
Weekly: "weekly",
|
|
36430
|
-
Fortnightly: "fortnightly",
|
|
36431
|
-
Financed: "financed",
|
|
36432
|
-
Upfront: "upfront"
|
|
36433
|
-
};
|
|
36434
|
-
FeeFrequency$inboundSchema = nativeEnumType(FeeFrequency);
|
|
36435
|
-
FeeFrequency$outboundSchema = FeeFrequency$inboundSchema;
|
|
36436
|
-
((FeeFrequency$) => {
|
|
36437
|
-
FeeFrequency$.inboundSchema = FeeFrequency$inboundSchema;
|
|
36438
|
-
FeeFrequency$.outboundSchema = FeeFrequency$outboundSchema;
|
|
36439
|
-
})(FeeFrequency$ ||= {});
|
|
36440
|
-
});
|
|
36441
|
-
|
|
36442
|
-
// src/models/components/feetype.ts
|
|
36443
|
-
var FeeType, FeeType$inboundSchema, FeeType$outboundSchema, FeeType$;
|
|
36444
|
-
var init_feetype = __esm(() => {
|
|
36445
|
-
init_esm();
|
|
36446
|
-
FeeType = {
|
|
36447
|
-
EstablishmentFee: "Establishment fee",
|
|
36448
|
-
DocumentFee: "Document fee",
|
|
36449
|
-
ApplicationFee: "Application fee",
|
|
36450
|
-
OriginationFee: "Origination fee"
|
|
36451
|
-
};
|
|
36452
|
-
FeeType$inboundSchema = nativeEnumType(FeeType);
|
|
36453
|
-
FeeType$outboundSchema = FeeType$inboundSchema;
|
|
36454
|
-
((FeeType$) => {
|
|
36455
|
-
FeeType$.inboundSchema = FeeType$inboundSchema;
|
|
36456
|
-
FeeType$.outboundSchema = FeeType$outboundSchema;
|
|
36457
|
-
})(FeeType$ ||= {});
|
|
36458
|
-
});
|
|
36459
|
-
|
|
36460
|
-
// src/models/components/fee.ts
|
|
36461
|
-
var Fee$inboundSchema, Fee$outboundSchema, Fee$;
|
|
36462
|
-
var init_fee = __esm(() => {
|
|
36463
|
-
init_esm();
|
|
36464
|
-
init_feefrequency();
|
|
36465
|
-
init_feetype();
|
|
36466
|
-
Fee$inboundSchema = objectType({
|
|
36467
|
-
key: stringType().optional(),
|
|
36468
|
-
name: FeeType$inboundSchema.optional(),
|
|
36469
|
-
value: stringType().optional(),
|
|
36470
|
-
frequency: FeeFrequency$inboundSchema.optional()
|
|
36471
|
-
});
|
|
36472
|
-
Fee$outboundSchema = objectType({
|
|
36473
|
-
key: stringType().optional(),
|
|
36474
|
-
name: FeeType$outboundSchema.optional(),
|
|
36475
|
-
value: stringType().optional(),
|
|
36476
|
-
frequency: FeeFrequency$outboundSchema.optional()
|
|
36477
|
-
});
|
|
36478
|
-
((Fee$) => {
|
|
36479
|
-
Fee$.inboundSchema = Fee$inboundSchema;
|
|
36480
|
-
Fee$.outboundSchema = Fee$outboundSchema;
|
|
36481
|
-
})(Fee$ ||= {});
|
|
36482
|
-
});
|
|
36483
|
-
|
|
36484
|
-
// src/models/components/forbiddenerror.ts
|
|
36485
|
-
var ForbiddenErrorCode, ForbiddenErrorTitle, ForbiddenErrorStatus, ForbiddenErrorDetail, ForbiddenErrorCode$inboundSchema, ForbiddenErrorCode$outboundSchema, ForbiddenErrorCode$, ForbiddenErrorTitle$inboundSchema, ForbiddenErrorTitle$outboundSchema, ForbiddenErrorTitle$, ForbiddenErrorStatus$inboundSchema, ForbiddenErrorStatus$outboundSchema, ForbiddenErrorStatus$, ForbiddenErrorDetail$inboundSchema, ForbiddenErrorDetail$outboundSchema, ForbiddenErrorDetail$, ForbiddenError$inboundSchema, ForbiddenError$outboundSchema, ForbiddenError$;
|
|
36486
|
-
var init_forbiddenerror = __esm(() => {
|
|
36487
|
-
init_esm();
|
|
36488
|
-
init_apierrorlinks();
|
|
36489
|
-
init_errorsource();
|
|
36490
|
-
ForbiddenErrorCode = {
|
|
36491
|
-
AuthorizationError: "AUTHORIZATION_ERROR"
|
|
36492
|
-
};
|
|
36493
|
-
ForbiddenErrorTitle = {
|
|
36494
|
-
Forbidden: "Forbidden"
|
|
36495
|
-
};
|
|
36496
|
-
ForbiddenErrorStatus = {
|
|
36497
|
-
FourHundredAndThree: "403"
|
|
36498
|
-
};
|
|
36499
|
-
ForbiddenErrorDetail = {
|
|
36500
|
-
YouDoNotHavePermissionToPerformThisAction: "You do not have permission to perform this action."
|
|
36501
|
-
};
|
|
36502
|
-
ForbiddenErrorCode$inboundSchema = nativeEnumType(ForbiddenErrorCode);
|
|
36503
|
-
ForbiddenErrorCode$outboundSchema = ForbiddenErrorCode$inboundSchema;
|
|
36504
|
-
((ForbiddenErrorCode$) => {
|
|
36505
|
-
ForbiddenErrorCode$.inboundSchema = ForbiddenErrorCode$inboundSchema;
|
|
36506
|
-
ForbiddenErrorCode$.outboundSchema = ForbiddenErrorCode$outboundSchema;
|
|
36507
|
-
})(ForbiddenErrorCode$ ||= {});
|
|
36508
|
-
ForbiddenErrorTitle$inboundSchema = nativeEnumType(ForbiddenErrorTitle);
|
|
36509
|
-
ForbiddenErrorTitle$outboundSchema = ForbiddenErrorTitle$inboundSchema;
|
|
36510
|
-
((ForbiddenErrorTitle$) => {
|
|
36511
|
-
ForbiddenErrorTitle$.inboundSchema = ForbiddenErrorTitle$inboundSchema;
|
|
36512
|
-
ForbiddenErrorTitle$.outboundSchema = ForbiddenErrorTitle$outboundSchema;
|
|
36513
|
-
})(ForbiddenErrorTitle$ ||= {});
|
|
36514
|
-
ForbiddenErrorStatus$inboundSchema = nativeEnumType(ForbiddenErrorStatus);
|
|
36515
|
-
ForbiddenErrorStatus$outboundSchema = ForbiddenErrorStatus$inboundSchema;
|
|
36516
|
-
((ForbiddenErrorStatus$) => {
|
|
36517
|
-
ForbiddenErrorStatus$.inboundSchema = ForbiddenErrorStatus$inboundSchema;
|
|
36518
|
-
ForbiddenErrorStatus$.outboundSchema = ForbiddenErrorStatus$outboundSchema;
|
|
36519
|
-
})(ForbiddenErrorStatus$ ||= {});
|
|
36520
|
-
ForbiddenErrorDetail$inboundSchema = nativeEnumType(ForbiddenErrorDetail);
|
|
36521
|
-
ForbiddenErrorDetail$outboundSchema = ForbiddenErrorDetail$inboundSchema;
|
|
36522
|
-
((ForbiddenErrorDetail$) => {
|
|
36523
|
-
ForbiddenErrorDetail$.inboundSchema = ForbiddenErrorDetail$inboundSchema;
|
|
36524
|
-
ForbiddenErrorDetail$.outboundSchema = ForbiddenErrorDetail$outboundSchema;
|
|
36525
|
-
})(ForbiddenErrorDetail$ ||= {});
|
|
36526
|
-
ForbiddenError$inboundSchema = objectType({
|
|
36527
|
-
links: APIErrorLinks$inboundSchema.optional(),
|
|
36528
|
-
code: ForbiddenErrorCode$inboundSchema,
|
|
36529
|
-
title: ForbiddenErrorTitle$inboundSchema,
|
|
36530
|
-
status: ForbiddenErrorStatus$inboundSchema,
|
|
36531
|
-
source: ErrorSource$inboundSchema.optional(),
|
|
36532
|
-
detail: ForbiddenErrorDetail$inboundSchema,
|
|
36533
|
-
meta: recordType(anyType()).optional()
|
|
36534
|
-
});
|
|
36535
|
-
ForbiddenError$outboundSchema = objectType({
|
|
36536
|
-
links: APIErrorLinks$outboundSchema.optional(),
|
|
36537
|
-
code: ForbiddenErrorCode$outboundSchema,
|
|
36538
|
-
title: ForbiddenErrorTitle$outboundSchema,
|
|
36539
|
-
status: ForbiddenErrorStatus$outboundSchema,
|
|
36540
|
-
source: ErrorSource$outboundSchema.optional(),
|
|
36541
|
-
detail: ForbiddenErrorDetail$outboundSchema,
|
|
36542
|
-
meta: recordType(anyType()).optional()
|
|
36543
|
-
});
|
|
36544
|
-
((ForbiddenError$) => {
|
|
36545
|
-
ForbiddenError$.inboundSchema = ForbiddenError$inboundSchema;
|
|
36546
|
-
ForbiddenError$.outboundSchema = ForbiddenError$outboundSchema;
|
|
36547
|
-
})(ForbiddenError$ ||= {});
|
|
36548
|
-
});
|
|
36549
|
-
|
|
36550
|
-
// src/models/components/internalservererror.ts
|
|
36551
|
-
var InternalServerErrorCode, InternalServerErrorTitle, InternalServerErrorStatus, InternalServerErrorDetail, InternalServerErrorCode$inboundSchema, InternalServerErrorCode$outboundSchema, InternalServerErrorCode$, InternalServerErrorTitle$inboundSchema, InternalServerErrorTitle$outboundSchema, InternalServerErrorTitle$, InternalServerErrorStatus$inboundSchema, InternalServerErrorStatus$outboundSchema, InternalServerErrorStatus$, InternalServerErrorDetail$inboundSchema, InternalServerErrorDetail$outboundSchema, InternalServerErrorDetail$, InternalServerError$inboundSchema, InternalServerError$outboundSchema, InternalServerError$;
|
|
36552
|
-
var init_internalservererror = __esm(() => {
|
|
36553
|
-
init_esm();
|
|
36554
|
-
init_apierrorlinks();
|
|
36555
|
-
init_errorsource();
|
|
36556
|
-
InternalServerErrorCode = {
|
|
36557
|
-
InternalServerError: "INTERNAL_SERVER_ERROR"
|
|
36558
|
-
};
|
|
36559
|
-
InternalServerErrorTitle = {
|
|
36560
|
-
InternalServerError: "Internal Server Error"
|
|
36561
|
-
};
|
|
36562
|
-
InternalServerErrorStatus = {
|
|
36563
|
-
FiveHundred: "500"
|
|
36564
|
-
};
|
|
36565
|
-
InternalServerErrorDetail = {
|
|
36566
|
-
AnUnexpectedErrorOccurred: "An unexpected error occurred."
|
|
36567
|
-
};
|
|
36568
|
-
InternalServerErrorCode$inboundSchema = nativeEnumType(InternalServerErrorCode);
|
|
36569
|
-
InternalServerErrorCode$outboundSchema = InternalServerErrorCode$inboundSchema;
|
|
36570
|
-
((InternalServerErrorCode$) => {
|
|
36571
|
-
InternalServerErrorCode$.inboundSchema = InternalServerErrorCode$inboundSchema;
|
|
36572
|
-
InternalServerErrorCode$.outboundSchema = InternalServerErrorCode$outboundSchema;
|
|
36573
|
-
})(InternalServerErrorCode$ ||= {});
|
|
36574
|
-
InternalServerErrorTitle$inboundSchema = nativeEnumType(InternalServerErrorTitle);
|
|
36575
|
-
InternalServerErrorTitle$outboundSchema = InternalServerErrorTitle$inboundSchema;
|
|
36576
|
-
((InternalServerErrorTitle$) => {
|
|
36577
|
-
InternalServerErrorTitle$.inboundSchema = InternalServerErrorTitle$inboundSchema;
|
|
36578
|
-
InternalServerErrorTitle$.outboundSchema = InternalServerErrorTitle$outboundSchema;
|
|
36579
|
-
})(InternalServerErrorTitle$ ||= {});
|
|
36580
|
-
InternalServerErrorStatus$inboundSchema = nativeEnumType(InternalServerErrorStatus);
|
|
36581
|
-
InternalServerErrorStatus$outboundSchema = InternalServerErrorStatus$inboundSchema;
|
|
36582
|
-
((InternalServerErrorStatus$) => {
|
|
36583
|
-
InternalServerErrorStatus$.inboundSchema = InternalServerErrorStatus$inboundSchema;
|
|
36584
|
-
InternalServerErrorStatus$.outboundSchema = InternalServerErrorStatus$outboundSchema;
|
|
36585
|
-
})(InternalServerErrorStatus$ ||= {});
|
|
36586
|
-
InternalServerErrorDetail$inboundSchema = nativeEnumType(InternalServerErrorDetail);
|
|
36587
|
-
InternalServerErrorDetail$outboundSchema = InternalServerErrorDetail$inboundSchema;
|
|
36588
|
-
((InternalServerErrorDetail$) => {
|
|
36589
|
-
InternalServerErrorDetail$.inboundSchema = InternalServerErrorDetail$inboundSchema;
|
|
36590
|
-
InternalServerErrorDetail$.outboundSchema = InternalServerErrorDetail$outboundSchema;
|
|
36591
|
-
})(InternalServerErrorDetail$ ||= {});
|
|
36592
|
-
InternalServerError$inboundSchema = objectType({
|
|
36593
|
-
links: APIErrorLinks$inboundSchema.optional(),
|
|
36594
|
-
code: InternalServerErrorCode$inboundSchema,
|
|
36595
|
-
title: InternalServerErrorTitle$inboundSchema,
|
|
36596
|
-
status: InternalServerErrorStatus$inboundSchema,
|
|
36597
|
-
source: ErrorSource$inboundSchema.optional(),
|
|
36598
|
-
detail: InternalServerErrorDetail$inboundSchema,
|
|
36599
|
-
meta: recordType(anyType()).optional()
|
|
36600
|
-
});
|
|
36601
|
-
InternalServerError$outboundSchema = objectType({
|
|
36602
|
-
links: APIErrorLinks$outboundSchema.optional(),
|
|
36603
|
-
code: InternalServerErrorCode$outboundSchema,
|
|
36604
|
-
title: InternalServerErrorTitle$outboundSchema,
|
|
36605
|
-
status: InternalServerErrorStatus$outboundSchema,
|
|
36606
|
-
source: ErrorSource$outboundSchema.optional(),
|
|
36607
|
-
detail: InternalServerErrorDetail$outboundSchema,
|
|
36608
|
-
meta: recordType(anyType()).optional()
|
|
36609
|
-
});
|
|
36610
|
-
((InternalServerError$) => {
|
|
36611
|
-
InternalServerError$.inboundSchema = InternalServerError$inboundSchema;
|
|
36612
|
-
InternalServerError$.outboundSchema = InternalServerError$outboundSchema;
|
|
36613
|
-
})(InternalServerError$ ||= {});
|
|
36614
|
-
});
|
|
36615
|
-
|
|
36616
|
-
// src/models/components/label.ts
|
|
36617
|
-
var Label$inboundSchema, Label$outboundSchema, Label$;
|
|
36618
|
-
var init_label = __esm(() => {
|
|
36619
|
-
init_esm();
|
|
36620
|
-
Label$inboundSchema = objectType({
|
|
36621
|
-
label: stringType()
|
|
36622
|
-
});
|
|
36623
|
-
Label$outboundSchema = objectType({
|
|
36624
|
-
label: stringType()
|
|
36625
|
-
});
|
|
36626
|
-
((Label$) => {
|
|
36627
|
-
Label$.inboundSchema = Label$inboundSchema;
|
|
36628
|
-
Label$.outboundSchema = Label$outboundSchema;
|
|
36629
|
-
})(Label$ ||= {});
|
|
36630
|
-
});
|
|
36631
|
-
|
|
36632
|
-
// src/models/components/lenders.ts
|
|
36633
|
-
var Lenders, Lenders$inboundSchema, Lenders$outboundSchema, Lenders$;
|
|
36634
|
-
var init_lenders = __esm(() => {
|
|
36635
|
-
init_esm();
|
|
36636
|
-
Lenders = {
|
|
36637
|
-
Pepper: "Pepper",
|
|
36638
|
-
Lendi: "Lendi",
|
|
36639
|
-
MoneyMe: "MoneyMe",
|
|
36640
|
-
Wisr: "Wisr",
|
|
36641
|
-
Latitude: "Latitude",
|
|
36642
|
-
Dynamoney: "Dynamoney",
|
|
36643
|
-
FinanceOne: "FinanceOne",
|
|
36644
|
-
Westpac: "Westpac",
|
|
36645
|
-
Money3: "Money3",
|
|
36646
|
-
Plenti: "Plenti",
|
|
36647
|
-
Now: "Now",
|
|
36648
|
-
Flexi: "Flexi",
|
|
36649
|
-
Metro: "Metro",
|
|
36650
|
-
Angle: "Angle",
|
|
36651
|
-
Financeone: "Financeone",
|
|
36652
|
-
Eastcap: "Eastcap",
|
|
36653
|
-
Branded: "Branded",
|
|
36654
|
-
Liberty: "Liberty",
|
|
36655
|
-
Moneyme: "Moneyme",
|
|
36656
|
-
Autopay: "Autopay",
|
|
36657
|
-
Firstmac: "Firstmac",
|
|
36658
|
-
Moneyplace: "Moneyplace",
|
|
36659
|
-
Azora: "Azora",
|
|
36660
|
-
Resimac: "Resimac",
|
|
36661
|
-
Ammf: "Ammf",
|
|
36662
|
-
Scotpac: "Scotpac",
|
|
36663
|
-
Afs: "Afs",
|
|
36664
|
-
WestpacDriveExpress: "WestpacDriveExpress",
|
|
36665
|
-
WestpacEF: "WestpacEF"
|
|
36666
|
-
};
|
|
36667
|
-
Lenders$inboundSchema = nativeEnumType(Lenders);
|
|
36668
|
-
Lenders$outboundSchema = Lenders$inboundSchema;
|
|
36669
|
-
((Lenders$) => {
|
|
36670
|
-
Lenders$.inboundSchema = Lenders$inboundSchema;
|
|
36671
|
-
Lenders$.outboundSchema = Lenders$outboundSchema;
|
|
36672
|
-
})(Lenders$ ||= {});
|
|
36673
|
-
});
|
|
36674
|
-
|
|
36675
|
-
// src/models/components/livingarrangements.ts
|
|
36676
|
-
var LivingArrangements, LivingArrangements$inboundSchema, LivingArrangements$outboundSchema, LivingArrangements$;
|
|
36677
|
-
var init_livingarrangements = __esm(() => {
|
|
36678
|
-
init_esm();
|
|
36679
|
-
LivingArrangements = {
|
|
36680
|
-
PropertyOwner: "Property owner",
|
|
36681
|
-
Renting: "Renting",
|
|
36682
|
-
Boarding: "Boarding",
|
|
36683
|
-
LivingWParents: "Living w/ parents"
|
|
36684
|
-
};
|
|
36685
|
-
LivingArrangements$inboundSchema = nativeEnumType(LivingArrangements);
|
|
36686
|
-
LivingArrangements$outboundSchema = LivingArrangements$inboundSchema;
|
|
36687
|
-
((LivingArrangements$) => {
|
|
36688
|
-
LivingArrangements$.inboundSchema = LivingArrangements$inboundSchema;
|
|
36689
|
-
LivingArrangements$.outboundSchema = LivingArrangements$outboundSchema;
|
|
36690
|
-
})(LivingArrangements$ ||= {});
|
|
36691
|
-
});
|
|
36692
|
-
|
|
36693
|
-
// src/models/components/loanpurposetype.ts
|
|
36694
|
-
var LoanPurposeType, LoanPurposeType$inboundSchema, LoanPurposeType$outboundSchema, LoanPurposeType$;
|
|
36695
|
-
var init_loanpurposetype = __esm(() => {
|
|
36696
|
-
init_esm();
|
|
36697
|
-
LoanPurposeType = {
|
|
36698
|
-
Vehicle: "Vehicle",
|
|
36699
|
-
DebtConsolidation: "Debt Consolidation",
|
|
36700
|
-
HomeImprovements: "Home Improvements",
|
|
36701
|
-
MedicalAndDental: "Medical & Dental",
|
|
36702
|
-
HouseholdFurnishings: "Household Furnishings",
|
|
36703
|
-
Education: "Education",
|
|
36704
|
-
Travel: "Travel",
|
|
36705
|
-
Wedding: "Wedding",
|
|
36706
|
-
MortgageCostFunding: "Mortgage Cost Funding",
|
|
36707
|
-
OtherPersonalUse: "Other Personal Use"
|
|
36708
|
-
};
|
|
36709
|
-
LoanPurposeType$inboundSchema = nativeEnumType(LoanPurposeType);
|
|
36710
|
-
LoanPurposeType$outboundSchema = LoanPurposeType$inboundSchema;
|
|
36711
|
-
((LoanPurposeType$) => {
|
|
36712
|
-
LoanPurposeType$.inboundSchema = LoanPurposeType$inboundSchema;
|
|
36713
|
-
LoanPurposeType$.outboundSchema = LoanPurposeType$outboundSchema;
|
|
36714
|
-
})(LoanPurposeType$ ||= {});
|
|
36715
|
-
});
|
|
36716
|
-
|
|
36717
|
-
// src/models/components/maritalstatus.ts
|
|
36718
|
-
var MaritalStatus, MaritalStatus$inboundSchema, MaritalStatus$outboundSchema, MaritalStatus$;
|
|
36719
|
-
var init_maritalstatus = __esm(() => {
|
|
36720
|
-
init_esm();
|
|
36721
|
-
MaritalStatus = {
|
|
36722
|
-
MarriedDefacto: "Married/Defacto",
|
|
36723
|
-
SingleDivorcedWidowed: "Single/Divorced/Widowed"
|
|
36724
|
-
};
|
|
36725
|
-
MaritalStatus$inboundSchema = nativeEnumType(MaritalStatus);
|
|
36726
|
-
MaritalStatus$outboundSchema = MaritalStatus$inboundSchema;
|
|
36727
|
-
((MaritalStatus$) => {
|
|
36728
|
-
MaritalStatus$.inboundSchema = MaritalStatus$inboundSchema;
|
|
36729
|
-
MaritalStatus$.outboundSchema = MaritalStatus$outboundSchema;
|
|
36730
|
-
})(MaritalStatus$ ||= {});
|
|
36731
|
-
});
|
|
36732
|
-
|
|
36733
|
-
// src/models/components/notfounderror.ts
|
|
36734
|
-
var NotFoundErrorCode, NotFoundErrorTitle, NotFoundErrorStatus, NotFoundErrorDetail, NotFoundErrorCode$inboundSchema, NotFoundErrorCode$outboundSchema, NotFoundErrorCode$, NotFoundErrorTitle$inboundSchema, NotFoundErrorTitle$outboundSchema, NotFoundErrorTitle$, NotFoundErrorStatus$inboundSchema, NotFoundErrorStatus$outboundSchema, NotFoundErrorStatus$, NotFoundErrorDetail$inboundSchema, NotFoundErrorDetail$outboundSchema, NotFoundErrorDetail$, NotFoundError$inboundSchema, NotFoundError$outboundSchema, NotFoundError$;
|
|
36735
|
-
var init_notfounderror = __esm(() => {
|
|
36736
|
-
init_esm();
|
|
36737
|
-
init_apierrorlinks();
|
|
36738
|
-
init_errorsource();
|
|
36739
|
-
NotFoundErrorCode = {
|
|
36740
|
-
NotFound: "NOT_FOUND"
|
|
36741
|
-
};
|
|
36742
|
-
NotFoundErrorTitle = {
|
|
36743
|
-
ResourceNotFound: "Resource Not Found"
|
|
36744
|
-
};
|
|
36745
|
-
NotFoundErrorStatus = {
|
|
36746
|
-
FourHundredAndFour: "404"
|
|
36747
|
-
};
|
|
36748
|
-
NotFoundErrorDetail = {
|
|
36749
|
-
TheRequestedResourceWasNotFound: "The requested resource was not found."
|
|
36750
|
-
};
|
|
36751
|
-
NotFoundErrorCode$inboundSchema = nativeEnumType(NotFoundErrorCode);
|
|
36752
|
-
NotFoundErrorCode$outboundSchema = NotFoundErrorCode$inboundSchema;
|
|
36753
|
-
((NotFoundErrorCode$) => {
|
|
36754
|
-
NotFoundErrorCode$.inboundSchema = NotFoundErrorCode$inboundSchema;
|
|
36755
|
-
NotFoundErrorCode$.outboundSchema = NotFoundErrorCode$outboundSchema;
|
|
36756
|
-
})(NotFoundErrorCode$ ||= {});
|
|
36757
|
-
NotFoundErrorTitle$inboundSchema = nativeEnumType(NotFoundErrorTitle);
|
|
36758
|
-
NotFoundErrorTitle$outboundSchema = NotFoundErrorTitle$inboundSchema;
|
|
36759
|
-
((NotFoundErrorTitle$) => {
|
|
36760
|
-
NotFoundErrorTitle$.inboundSchema = NotFoundErrorTitle$inboundSchema;
|
|
36761
|
-
NotFoundErrorTitle$.outboundSchema = NotFoundErrorTitle$outboundSchema;
|
|
36762
|
-
})(NotFoundErrorTitle$ ||= {});
|
|
36763
|
-
NotFoundErrorStatus$inboundSchema = nativeEnumType(NotFoundErrorStatus);
|
|
36764
|
-
NotFoundErrorStatus$outboundSchema = NotFoundErrorStatus$inboundSchema;
|
|
36765
|
-
((NotFoundErrorStatus$) => {
|
|
36766
|
-
NotFoundErrorStatus$.inboundSchema = NotFoundErrorStatus$inboundSchema;
|
|
36767
|
-
NotFoundErrorStatus$.outboundSchema = NotFoundErrorStatus$outboundSchema;
|
|
36768
|
-
})(NotFoundErrorStatus$ ||= {});
|
|
36769
|
-
NotFoundErrorDetail$inboundSchema = nativeEnumType(NotFoundErrorDetail);
|
|
36770
|
-
NotFoundErrorDetail$outboundSchema = NotFoundErrorDetail$inboundSchema;
|
|
36771
|
-
((NotFoundErrorDetail$) => {
|
|
36772
|
-
NotFoundErrorDetail$.inboundSchema = NotFoundErrorDetail$inboundSchema;
|
|
36773
|
-
NotFoundErrorDetail$.outboundSchema = NotFoundErrorDetail$outboundSchema;
|
|
36774
|
-
})(NotFoundErrorDetail$ ||= {});
|
|
36775
|
-
NotFoundError$inboundSchema = objectType({
|
|
36776
|
-
links: APIErrorLinks$inboundSchema.optional(),
|
|
36777
|
-
code: NotFoundErrorCode$inboundSchema,
|
|
36778
|
-
title: NotFoundErrorTitle$inboundSchema,
|
|
36779
|
-
status: NotFoundErrorStatus$inboundSchema,
|
|
36780
|
-
source: ErrorSource$inboundSchema.optional(),
|
|
36781
|
-
detail: NotFoundErrorDetail$inboundSchema,
|
|
36782
|
-
meta: recordType(anyType()).optional()
|
|
36783
|
-
});
|
|
36784
|
-
NotFoundError$outboundSchema = objectType({
|
|
36785
|
-
links: APIErrorLinks$outboundSchema.optional(),
|
|
36786
|
-
code: NotFoundErrorCode$outboundSchema,
|
|
36787
|
-
title: NotFoundErrorTitle$outboundSchema,
|
|
36788
|
-
status: NotFoundErrorStatus$outboundSchema,
|
|
36789
|
-
source: ErrorSource$outboundSchema.optional(),
|
|
36790
|
-
detail: NotFoundErrorDetail$outboundSchema,
|
|
36791
|
-
meta: recordType(anyType()).optional()
|
|
36792
|
-
});
|
|
36793
|
-
((NotFoundError$) => {
|
|
36794
|
-
NotFoundError$.inboundSchema = NotFoundError$inboundSchema;
|
|
36795
|
-
NotFoundError$.outboundSchema = NotFoundError$outboundSchema;
|
|
36796
|
-
})(NotFoundError$ ||= {});
|
|
36797
|
-
});
|
|
36798
|
-
|
|
36799
|
-
// src/models/components/typeofsale.ts
|
|
36800
|
-
var TypeOfSale, TypeOfSale$inboundSchema, TypeOfSale$outboundSchema, TypeOfSale$;
|
|
36801
|
-
var init_typeofsale = __esm(() => {
|
|
36802
|
-
init_esm();
|
|
36803
|
-
TypeOfSale = {
|
|
36804
|
-
AuthorisedSeller: "Authorised seller",
|
|
36805
|
-
AuthorisedElectricVehicleSeller: "Authorised electric vehicle seller",
|
|
36806
|
-
PrivateSale: "Private sale",
|
|
36807
|
-
MidTermRefinance: "Mid-term refinance",
|
|
36808
|
-
BalloonResidualRefinance: "Balloon / Residual Refinance",
|
|
36809
|
-
SaleAndBuybackEquity: "Sale & buyback / Equity"
|
|
36810
|
-
};
|
|
36811
|
-
TypeOfSale$inboundSchema = nativeEnumType(TypeOfSale);
|
|
36812
|
-
TypeOfSale$outboundSchema = TypeOfSale$inboundSchema;
|
|
36813
|
-
((TypeOfSale$) => {
|
|
36814
|
-
TypeOfSale$.inboundSchema = TypeOfSale$inboundSchema;
|
|
36815
|
-
TypeOfSale$.outboundSchema = TypeOfSale$outboundSchema;
|
|
36816
|
-
})(TypeOfSale$ ||= {});
|
|
36817
|
-
});
|
|
36818
|
-
|
|
36819
|
-
// src/models/components/pepperconsumerasset.ts
|
|
36820
|
-
var PepperConsumerAsset$inboundSchema, PepperConsumerAsset$outboundSchema, PepperConsumerAsset$;
|
|
36821
|
-
var init_pepperconsumerasset = __esm(() => {
|
|
36822
|
-
init_esm();
|
|
36823
|
-
init_primitives();
|
|
36824
|
-
init_assetconditiontypes();
|
|
36825
|
-
init_assetspecifications();
|
|
36826
|
-
init_assettypes();
|
|
36827
|
-
init_idstate();
|
|
36828
|
-
init_label();
|
|
36829
|
-
init_typeofsale();
|
|
36830
|
-
PepperConsumerAsset$inboundSchema = objectType({
|
|
36831
|
-
_id: stringType().optional(),
|
|
36832
|
-
ageOfAsset: stringType().optional(),
|
|
36833
|
-
ageOfAssetAtEnd: stringType().optional(),
|
|
36834
|
-
assetValue: numberType().optional(),
|
|
36835
|
-
assetType: AssetTypes$inboundSchema.optional(),
|
|
36836
|
-
assetTypeAtEnd: AssetTypes$inboundSchema.optional(),
|
|
36837
|
-
condition: AssetConditionTypes$inboundSchema.optional(),
|
|
36838
|
-
glassesMake: Label$inboundSchema.optional(),
|
|
36839
|
-
glassesModel: Label$inboundSchema.optional(),
|
|
36840
|
-
glassesNVIC: anyType().optional(),
|
|
36841
|
-
glassesVariant: Label$inboundSchema.optional(),
|
|
36842
|
-
specifications: AssetSpecifications$inboundSchema.optional(),
|
|
36843
|
-
typeOfSale: TypeOfSale$inboundSchema.optional(),
|
|
36844
|
-
registrationState: IDState$inboundSchema.optional(),
|
|
36845
|
-
registrationNumber: stringType().optional(),
|
|
36846
|
-
vin: stringType().optional(),
|
|
36847
|
-
make: stringType().optional(),
|
|
36848
|
-
model: stringType().optional(),
|
|
36849
|
-
supplierName: stringType().optional(),
|
|
36850
|
-
supplierABN: stringType().optional(),
|
|
36851
|
-
supplierAddress: stringType().optional(),
|
|
36852
|
-
supplierPhone: stringType().optional(),
|
|
36853
|
-
supplierEmail: stringType().optional(),
|
|
36854
|
-
netAssetValue: numberType().optional(),
|
|
36855
|
-
additionalFees: numberType().optional(),
|
|
36856
|
-
additionalTaxes: numberType().optional(),
|
|
36857
|
-
isManualAssets: booleanType().optional(),
|
|
36858
|
-
documents: arrayType(anyType()).optional(),
|
|
36859
|
-
application: stringType().optional()
|
|
36860
|
-
}).transform((v2) => {
|
|
36861
|
-
return remap(v2, {
|
|
36862
|
-
_id: "id"
|
|
36863
|
-
});
|
|
36864
|
-
});
|
|
36865
|
-
PepperConsumerAsset$outboundSchema = objectType({
|
|
36866
|
-
id: stringType().optional(),
|
|
36867
|
-
ageOfAsset: stringType().optional(),
|
|
36868
|
-
ageOfAssetAtEnd: stringType().optional(),
|
|
36869
|
-
assetValue: numberType().optional(),
|
|
36870
|
-
assetType: AssetTypes$outboundSchema.optional(),
|
|
36871
|
-
assetTypeAtEnd: AssetTypes$outboundSchema.optional(),
|
|
36872
|
-
condition: AssetConditionTypes$outboundSchema.optional(),
|
|
36873
|
-
glassesMake: Label$outboundSchema.optional(),
|
|
36874
|
-
glassesModel: Label$outboundSchema.optional(),
|
|
36875
|
-
glassesNVIC: anyType().optional(),
|
|
36876
|
-
glassesVariant: Label$outboundSchema.optional(),
|
|
36877
|
-
specifications: AssetSpecifications$outboundSchema.optional(),
|
|
36878
|
-
typeOfSale: TypeOfSale$outboundSchema.optional(),
|
|
36879
|
-
registrationState: IDState$outboundSchema.optional(),
|
|
36880
|
-
registrationNumber: stringType().optional(),
|
|
36881
|
-
vin: stringType().optional(),
|
|
36882
|
-
make: stringType().optional(),
|
|
36883
|
-
model: stringType().optional(),
|
|
36884
|
-
supplierName: stringType().optional(),
|
|
36885
|
-
supplierABN: stringType().optional(),
|
|
36886
|
-
supplierAddress: stringType().optional(),
|
|
36887
|
-
supplierPhone: stringType().optional(),
|
|
36888
|
-
supplierEmail: stringType().optional(),
|
|
36889
|
-
netAssetValue: numberType().optional(),
|
|
36890
|
-
additionalFees: numberType().optional(),
|
|
36891
|
-
additionalTaxes: numberType().optional(),
|
|
36892
|
-
isManualAssets: booleanType().optional(),
|
|
36893
|
-
documents: arrayType(anyType()).optional(),
|
|
36894
|
-
application: stringType().optional()
|
|
36895
|
-
}).transform((v2) => {
|
|
36896
|
-
return remap(v2, {
|
|
36897
|
-
id: "_id"
|
|
36898
|
-
});
|
|
36899
|
-
});
|
|
36900
|
-
((PepperConsumerAsset$) => {
|
|
36901
|
-
PepperConsumerAsset$.inboundSchema = PepperConsumerAsset$inboundSchema;
|
|
36902
|
-
PepperConsumerAsset$.outboundSchema = PepperConsumerAsset$outboundSchema;
|
|
36903
|
-
})(PepperConsumerAsset$ ||= {});
|
|
36904
|
-
});
|
|
36905
|
-
|
|
36906
|
-
// src/models/components/residentialstatus.ts
|
|
36907
|
-
var ResidentialStatus, ResidentialStatus$inboundSchema, ResidentialStatus$outboundSchema, ResidentialStatus$;
|
|
36908
|
-
var init_residentialstatus = __esm(() => {
|
|
36909
|
-
init_esm();
|
|
36910
|
-
ResidentialStatus = {
|
|
36911
|
-
AustralianCitizen: "Australian Citizen",
|
|
36912
|
-
PermanentResident: "Permanent Resident",
|
|
36913
|
-
NewZealandCitizen: "New Zealand Citizen",
|
|
36914
|
-
WorkingVisa: "Working Visa",
|
|
36915
|
-
StudentVisa: "Student Visa"
|
|
36916
|
-
};
|
|
36917
|
-
ResidentialStatus$inboundSchema = nativeEnumType(ResidentialStatus);
|
|
36918
|
-
ResidentialStatus$outboundSchema = ResidentialStatus$inboundSchema;
|
|
36919
|
-
((ResidentialStatus$) => {
|
|
36920
|
-
ResidentialStatus$.inboundSchema = ResidentialStatus$inboundSchema;
|
|
36921
|
-
ResidentialStatus$.outboundSchema = ResidentialStatus$outboundSchema;
|
|
36922
|
-
})(ResidentialStatus$ ||= {});
|
|
36923
|
-
});
|
|
36924
|
-
|
|
36925
|
-
// src/models/components/pepperconsumercustomerprofile.ts
|
|
36926
|
-
var PepperConsumerCustomerProfile$inboundSchema, PepperConsumerCustomerProfile$outboundSchema, PepperConsumerCustomerProfile$;
|
|
36927
|
-
var init_pepperconsumercustomerprofile = __esm(() => {
|
|
36928
|
-
init_esm();
|
|
36929
|
-
init_primitives();
|
|
36930
|
-
init_livingarrangements();
|
|
36931
|
-
init_maritalstatus();
|
|
36932
|
-
init_residentialstatus();
|
|
36933
|
-
PepperConsumerCustomerProfile$inboundSchema = objectType({
|
|
36934
|
-
_id: stringType().optional(),
|
|
36935
|
-
numberOfDependants: numberType().int().optional(),
|
|
36936
|
-
residencyStatus: ResidentialStatus$inboundSchema.optional(),
|
|
36937
|
-
maritalStatus: MaritalStatus$inboundSchema.optional(),
|
|
36938
|
-
livingArrangements: LivingArrangements$inboundSchema.optional(),
|
|
36939
|
-
contactNumber: stringType().optional(),
|
|
36940
|
-
shareOfExpenses: numberType().optional()
|
|
37022
|
+
expensesType: ExpensesType$inboundSchema.optional(),
|
|
37023
|
+
amount: stringType().optional(),
|
|
37024
|
+
frequency: Frequency$inboundSchema.optional()
|
|
36941
37025
|
}).transform((v2) => {
|
|
36942
37026
|
return remap(v2, {
|
|
36943
37027
|
_id: "id"
|
|
36944
37028
|
});
|
|
36945
37029
|
});
|
|
36946
|
-
|
|
37030
|
+
Expense$outboundSchema = objectType({
|
|
36947
37031
|
id: stringType().optional(),
|
|
36948
|
-
|
|
36949
|
-
|
|
36950
|
-
|
|
36951
|
-
|
|
36952
|
-
|
|
36953
|
-
shareOfExpenses: numberType().optional()
|
|
37032
|
+
application: stringType().optional(),
|
|
37033
|
+
customer: stringType().optional(),
|
|
37034
|
+
expensesType: ExpensesType$outboundSchema.optional(),
|
|
37035
|
+
amount: stringType().optional(),
|
|
37036
|
+
frequency: Frequency$outboundSchema.optional()
|
|
36954
37037
|
}).transform((v2) => {
|
|
36955
37038
|
return remap(v2, {
|
|
36956
37039
|
id: "_id"
|
|
36957
37040
|
});
|
|
36958
37041
|
});
|
|
36959
|
-
((
|
|
36960
|
-
|
|
36961
|
-
|
|
36962
|
-
})(
|
|
37042
|
+
((Expense$) => {
|
|
37043
|
+
Expense$.inboundSchema = Expense$inboundSchema;
|
|
37044
|
+
Expense$.outboundSchema = Expense$outboundSchema;
|
|
37045
|
+
})(Expense$ ||= {});
|
|
37046
|
+
});
|
|
37047
|
+
|
|
37048
|
+
// src/models/components/idtype.ts
|
|
37049
|
+
var IDType, IDType$inboundSchema, IDType$outboundSchema, IDType$;
|
|
37050
|
+
var init_idtype = __esm(() => {
|
|
37051
|
+
init_esm();
|
|
37052
|
+
IDType = {
|
|
37053
|
+
Licence: "Licence",
|
|
37054
|
+
Passport: "Passport"
|
|
37055
|
+
};
|
|
37056
|
+
IDType$inboundSchema = nativeEnumType(IDType);
|
|
37057
|
+
IDType$outboundSchema = IDType$inboundSchema;
|
|
37058
|
+
((IDType$) => {
|
|
37059
|
+
IDType$.inboundSchema = IDType$inboundSchema;
|
|
37060
|
+
IDType$.outboundSchema = IDType$outboundSchema;
|
|
37061
|
+
})(IDType$ ||= {});
|
|
37062
|
+
});
|
|
37063
|
+
|
|
37064
|
+
// src/models/components/consumerincometypes.ts
|
|
37065
|
+
var ConsumerIncomeTypes, ConsumerIncomeTypes$inboundSchema, ConsumerIncomeTypes$outboundSchema, ConsumerIncomeTypes$;
|
|
37066
|
+
var init_consumerincometypes = __esm(() => {
|
|
37067
|
+
init_esm();
|
|
37068
|
+
ConsumerIncomeTypes = {
|
|
37069
|
+
Primary: "Primary",
|
|
37070
|
+
Secondary: "Secondary",
|
|
37071
|
+
InvestmentProperty: "Investment property",
|
|
37072
|
+
Dividends: "Dividends",
|
|
37073
|
+
Superannuation: "Superannuation",
|
|
37074
|
+
Pension: "Pension",
|
|
37075
|
+
Trust: "Trust",
|
|
37076
|
+
Benefits: "Benefits",
|
|
37077
|
+
Other: "Other"
|
|
37078
|
+
};
|
|
37079
|
+
ConsumerIncomeTypes$inboundSchema = nativeEnumType(ConsumerIncomeTypes);
|
|
37080
|
+
ConsumerIncomeTypes$outboundSchema = ConsumerIncomeTypes$inboundSchema;
|
|
37081
|
+
((ConsumerIncomeTypes$) => {
|
|
37082
|
+
ConsumerIncomeTypes$.inboundSchema = ConsumerIncomeTypes$inboundSchema;
|
|
37083
|
+
ConsumerIncomeTypes$.outboundSchema = ConsumerIncomeTypes$outboundSchema;
|
|
37084
|
+
})(ConsumerIncomeTypes$ ||= {});
|
|
36963
37085
|
});
|
|
36964
37086
|
|
|
36965
|
-
// src/models/components/
|
|
36966
|
-
var
|
|
36967
|
-
var
|
|
37087
|
+
// src/models/components/income.ts
|
|
37088
|
+
var Income$inboundSchema, Income$outboundSchema, Income$;
|
|
37089
|
+
var init_income = __esm(() => {
|
|
36968
37090
|
init_esm();
|
|
36969
37091
|
init_primitives();
|
|
36970
37092
|
init_consumerincometypes();
|
|
36971
37093
|
init_frequency();
|
|
36972
|
-
|
|
37094
|
+
Income$inboundSchema = objectType({
|
|
36973
37095
|
_id: stringType().optional(),
|
|
36974
37096
|
customer: stringType().optional(),
|
|
36975
37097
|
amount: stringType(),
|
|
@@ -36980,7 +37102,7 @@ var init_pepperconsumerincome = __esm(() => {
|
|
|
36980
37102
|
_id: "id"
|
|
36981
37103
|
});
|
|
36982
37104
|
});
|
|
36983
|
-
|
|
37105
|
+
Income$outboundSchema = objectType({
|
|
36984
37106
|
id: stringType().optional(),
|
|
36985
37107
|
customer: stringType().optional(),
|
|
36986
37108
|
amount: stringType(),
|
|
@@ -36991,20 +37113,40 @@ var init_pepperconsumerincome = __esm(() => {
|
|
|
36991
37113
|
id: "_id"
|
|
36992
37114
|
});
|
|
36993
37115
|
});
|
|
36994
|
-
((
|
|
36995
|
-
|
|
36996
|
-
|
|
36997
|
-
})(
|
|
37116
|
+
((Income$) => {
|
|
37117
|
+
Income$.inboundSchema = Income$inboundSchema;
|
|
37118
|
+
Income$.outboundSchema = Income$outboundSchema;
|
|
37119
|
+
})(Income$ ||= {});
|
|
37120
|
+
});
|
|
37121
|
+
|
|
37122
|
+
// src/models/components/consumerliabilitytypes.ts
|
|
37123
|
+
var ConsumerLiabilityTypes, ConsumerLiabilityTypes$inboundSchema, ConsumerLiabilityTypes$outboundSchema, ConsumerLiabilityTypes$;
|
|
37124
|
+
var init_consumerliabilitytypes = __esm(() => {
|
|
37125
|
+
init_esm();
|
|
37126
|
+
ConsumerLiabilityTypes = {
|
|
37127
|
+
Mortgage: "Mortgage",
|
|
37128
|
+
PersonalLoan: "Personal loan",
|
|
37129
|
+
CreditCard: "Credit card",
|
|
37130
|
+
Other: "Other",
|
|
37131
|
+
MotorVehicle: "Motor vehicle",
|
|
37132
|
+
AfterpayZipEtc: "Afterpay, Zip, etc…"
|
|
37133
|
+
};
|
|
37134
|
+
ConsumerLiabilityTypes$inboundSchema = nativeEnumType(ConsumerLiabilityTypes);
|
|
37135
|
+
ConsumerLiabilityTypes$outboundSchema = ConsumerLiabilityTypes$inboundSchema;
|
|
37136
|
+
((ConsumerLiabilityTypes$) => {
|
|
37137
|
+
ConsumerLiabilityTypes$.inboundSchema = ConsumerLiabilityTypes$inboundSchema;
|
|
37138
|
+
ConsumerLiabilityTypes$.outboundSchema = ConsumerLiabilityTypes$outboundSchema;
|
|
37139
|
+
})(ConsumerLiabilityTypes$ ||= {});
|
|
36998
37140
|
});
|
|
36999
37141
|
|
|
37000
|
-
// src/models/components/
|
|
37001
|
-
var
|
|
37002
|
-
var
|
|
37142
|
+
// src/models/components/liability.ts
|
|
37143
|
+
var Liability$inboundSchema, Liability$outboundSchema, Liability$;
|
|
37144
|
+
var init_liability = __esm(() => {
|
|
37003
37145
|
init_esm();
|
|
37004
37146
|
init_primitives();
|
|
37005
37147
|
init_consumerliabilitytypes();
|
|
37006
37148
|
init_frequency();
|
|
37007
|
-
|
|
37149
|
+
Liability$inboundSchema = objectType({
|
|
37008
37150
|
_id: stringType().optional(),
|
|
37009
37151
|
liabilitiesType: ConsumerLiabilityTypes$inboundSchema,
|
|
37010
37152
|
outstandingAmount: stringType(),
|
|
@@ -37018,7 +37160,7 @@ var init_pepperconsumerliability = __esm(() => {
|
|
|
37018
37160
|
_id: "id"
|
|
37019
37161
|
});
|
|
37020
37162
|
});
|
|
37021
|
-
|
|
37163
|
+
Liability$outboundSchema = objectType({
|
|
37022
37164
|
id: stringType().optional(),
|
|
37023
37165
|
liabilitiesType: ConsumerLiabilityTypes$outboundSchema,
|
|
37024
37166
|
outstandingAmount: stringType(),
|
|
@@ -37032,10 +37174,10 @@ var init_pepperconsumerliability = __esm(() => {
|
|
|
37032
37174
|
id: "_id"
|
|
37033
37175
|
});
|
|
37034
37176
|
});
|
|
37035
|
-
((
|
|
37036
|
-
|
|
37037
|
-
|
|
37038
|
-
})(
|
|
37177
|
+
((Liability$) => {
|
|
37178
|
+
Liability$.inboundSchema = Liability$inboundSchema;
|
|
37179
|
+
Liability$.outboundSchema = Liability$outboundSchema;
|
|
37180
|
+
})(Liability$ ||= {});
|
|
37039
37181
|
});
|
|
37040
37182
|
|
|
37041
37183
|
// src/models/components/phonenumber.ts
|
|
@@ -37043,10 +37185,11 @@ var PhoneNumber$inboundSchema, PhoneNumber$outboundSchema, PhoneNumber$;
|
|
|
37043
37185
|
var init_phonenumber = __esm(() => {
|
|
37044
37186
|
init_esm();
|
|
37045
37187
|
init_primitives();
|
|
37188
|
+
init_timestatus();
|
|
37046
37189
|
PhoneNumber$inboundSchema = objectType({
|
|
37047
37190
|
_id: stringType().optional(),
|
|
37048
37191
|
number: stringType(),
|
|
37049
|
-
status:
|
|
37192
|
+
status: TimeStatus$inboundSchema.optional()
|
|
37050
37193
|
}).transform((v2) => {
|
|
37051
37194
|
return remap(v2, {
|
|
37052
37195
|
_id: "id"
|
|
@@ -37055,7 +37198,7 @@ var init_phonenumber = __esm(() => {
|
|
|
37055
37198
|
PhoneNumber$outboundSchema = objectType({
|
|
37056
37199
|
id: stringType().optional(),
|
|
37057
37200
|
number: stringType(),
|
|
37058
|
-
status:
|
|
37201
|
+
status: TimeStatus$outboundSchema.optional()
|
|
37059
37202
|
}).transform((v2) => {
|
|
37060
37203
|
return remap(v2, {
|
|
37061
37204
|
id: "_id"
|
|
@@ -37067,46 +37210,53 @@ var init_phonenumber = __esm(() => {
|
|
|
37067
37210
|
})(PhoneNumber$ ||= {});
|
|
37068
37211
|
});
|
|
37069
37212
|
|
|
37070
|
-
// src/models/components/
|
|
37071
|
-
var
|
|
37072
|
-
var
|
|
37213
|
+
// src/models/components/customer.ts
|
|
37214
|
+
var Customer$inboundSchema, Customer$outboundSchema, Customer$;
|
|
37215
|
+
var init_customer = __esm(() => {
|
|
37073
37216
|
init_esm();
|
|
37074
37217
|
init_primitives();
|
|
37075
37218
|
init_address();
|
|
37076
37219
|
init_applicantasset();
|
|
37077
37220
|
init_creditprofile();
|
|
37078
37221
|
init_customerdisclaimer();
|
|
37222
|
+
init_customerprofile();
|
|
37079
37223
|
init_customertitle();
|
|
37080
37224
|
init_document();
|
|
37081
37225
|
init_email();
|
|
37082
37226
|
init_employer();
|
|
37083
37227
|
init_expense();
|
|
37084
37228
|
init_idstate();
|
|
37085
|
-
|
|
37086
|
-
|
|
37087
|
-
|
|
37229
|
+
init_idtype();
|
|
37230
|
+
init_income();
|
|
37231
|
+
init_liability();
|
|
37088
37232
|
init_phonenumber();
|
|
37089
|
-
|
|
37090
|
-
_id: stringType(),
|
|
37233
|
+
Customer$inboundSchema = objectType({
|
|
37234
|
+
_id: stringType().optional(),
|
|
37091
37235
|
customerTitle: CustomerTitle$inboundSchema.optional(),
|
|
37092
|
-
firstName: stringType(),
|
|
37236
|
+
firstName: stringType().optional(),
|
|
37093
37237
|
middleNames: stringType().optional(),
|
|
37094
|
-
lastName: stringType(),
|
|
37238
|
+
lastName: stringType().optional(),
|
|
37095
37239
|
dateOfBirth: stringType().optional(),
|
|
37096
|
-
IDNumber: stringType(),
|
|
37097
|
-
IDCardNumber: stringType(),
|
|
37098
|
-
|
|
37240
|
+
IDNumber: stringType().optional(),
|
|
37241
|
+
IDCardNumber: stringType().optional(),
|
|
37242
|
+
IDType: IDType$inboundSchema.optional(),
|
|
37243
|
+
IDExpiryDate: stringType().optional(),
|
|
37099
37244
|
IDState: IDState$inboundSchema.optional(),
|
|
37100
|
-
|
|
37245
|
+
IDCountry: stringType().optional(),
|
|
37246
|
+
licenceState: stringType().optional(),
|
|
37247
|
+
applicantType: stringType().optional(),
|
|
37248
|
+
isCustomerDetailsSaved: booleanType().optional(),
|
|
37249
|
+
isDetailsLinkSend: booleanType().optional(),
|
|
37250
|
+
customerProfile: CustomerProfile$inboundSchema.optional(),
|
|
37101
37251
|
addresses: arrayType(Address$inboundSchema).optional(),
|
|
37102
37252
|
emails: arrayType(Email$inboundSchema).optional(),
|
|
37103
37253
|
phoneNumbers: arrayType(PhoneNumber$inboundSchema).optional(),
|
|
37104
37254
|
customerAssets: arrayType(ApplicantAsset$inboundSchema).optional(),
|
|
37105
|
-
liabilities: arrayType(
|
|
37255
|
+
liabilities: arrayType(Liability$inboundSchema).optional(),
|
|
37106
37256
|
applications: arrayType(stringType()).optional(),
|
|
37107
37257
|
entities: arrayType(stringType()).optional(),
|
|
37108
37258
|
employers: arrayType(Employer$inboundSchema).optional(),
|
|
37109
|
-
income: arrayType(
|
|
37259
|
+
income: arrayType(Income$inboundSchema).optional(),
|
|
37110
37260
|
expenses: arrayType(Expense$inboundSchema).optional(),
|
|
37111
37261
|
documents: arrayType(Document$inboundSchema).optional(),
|
|
37112
37262
|
customerDisclaimer: CustomerDisclaimer$inboundSchema.optional(),
|
|
@@ -37116,31 +37266,39 @@ var init_pepperconsumercustomer = __esm(() => {
|
|
|
37116
37266
|
_id: "id",
|
|
37117
37267
|
IDNumber: "idNumber",
|
|
37118
37268
|
IDCardNumber: "idCardNumber",
|
|
37269
|
+
IDType: "idType",
|
|
37119
37270
|
IDExpiryDate: "idExpiryDate",
|
|
37120
|
-
IDState: "idState"
|
|
37271
|
+
IDState: "idState",
|
|
37272
|
+
IDCountry: "idCountry"
|
|
37121
37273
|
});
|
|
37122
37274
|
});
|
|
37123
|
-
|
|
37124
|
-
id: stringType(),
|
|
37275
|
+
Customer$outboundSchema = objectType({
|
|
37276
|
+
id: stringType().optional(),
|
|
37125
37277
|
customerTitle: CustomerTitle$outboundSchema.optional(),
|
|
37126
|
-
firstName: stringType(),
|
|
37278
|
+
firstName: stringType().optional(),
|
|
37127
37279
|
middleNames: stringType().optional(),
|
|
37128
|
-
lastName: stringType(),
|
|
37280
|
+
lastName: stringType().optional(),
|
|
37129
37281
|
dateOfBirth: stringType().optional(),
|
|
37130
|
-
idNumber: stringType(),
|
|
37131
|
-
idCardNumber: stringType(),
|
|
37132
|
-
|
|
37282
|
+
idNumber: stringType().optional(),
|
|
37283
|
+
idCardNumber: stringType().optional(),
|
|
37284
|
+
idType: IDType$outboundSchema.optional(),
|
|
37285
|
+
idExpiryDate: stringType().optional(),
|
|
37133
37286
|
idState: IDState$outboundSchema.optional(),
|
|
37134
|
-
|
|
37287
|
+
idCountry: stringType().optional(),
|
|
37288
|
+
licenceState: stringType().optional(),
|
|
37289
|
+
applicantType: stringType().optional(),
|
|
37290
|
+
isCustomerDetailsSaved: booleanType().optional(),
|
|
37291
|
+
isDetailsLinkSend: booleanType().optional(),
|
|
37292
|
+
customerProfile: CustomerProfile$outboundSchema.optional(),
|
|
37135
37293
|
addresses: arrayType(Address$outboundSchema).optional(),
|
|
37136
37294
|
emails: arrayType(Email$outboundSchema).optional(),
|
|
37137
37295
|
phoneNumbers: arrayType(PhoneNumber$outboundSchema).optional(),
|
|
37138
37296
|
customerAssets: arrayType(ApplicantAsset$outboundSchema).optional(),
|
|
37139
|
-
liabilities: arrayType(
|
|
37297
|
+
liabilities: arrayType(Liability$outboundSchema).optional(),
|
|
37140
37298
|
applications: arrayType(stringType()).optional(),
|
|
37141
37299
|
entities: arrayType(stringType()).optional(),
|
|
37142
37300
|
employers: arrayType(Employer$outboundSchema).optional(),
|
|
37143
|
-
income: arrayType(
|
|
37301
|
+
income: arrayType(Income$outboundSchema).optional(),
|
|
37144
37302
|
expenses: arrayType(Expense$outboundSchema).optional(),
|
|
37145
37303
|
documents: arrayType(Document$outboundSchema).optional(),
|
|
37146
37304
|
customerDisclaimer: CustomerDisclaimer$outboundSchema.optional(),
|
|
@@ -37150,24 +37308,254 @@ var init_pepperconsumercustomer = __esm(() => {
|
|
|
37150
37308
|
id: "_id",
|
|
37151
37309
|
idNumber: "IDNumber",
|
|
37152
37310
|
idCardNumber: "IDCardNumber",
|
|
37311
|
+
idType: "IDType",
|
|
37153
37312
|
idExpiryDate: "IDExpiryDate",
|
|
37154
|
-
idState: "IDState"
|
|
37313
|
+
idState: "IDState",
|
|
37314
|
+
idCountry: "IDCountry"
|
|
37315
|
+
});
|
|
37316
|
+
});
|
|
37317
|
+
((Customer$) => {
|
|
37318
|
+
Customer$.inboundSchema = Customer$inboundSchema;
|
|
37319
|
+
Customer$.outboundSchema = Customer$outboundSchema;
|
|
37320
|
+
})(Customer$ ||= {});
|
|
37321
|
+
});
|
|
37322
|
+
|
|
37323
|
+
// src/models/components/entitystatus.ts
|
|
37324
|
+
var EntityStatus, EntityStatus$inboundSchema, EntityStatus$outboundSchema, EntityStatus$;
|
|
37325
|
+
var init_entitystatus = __esm(() => {
|
|
37326
|
+
init_esm();
|
|
37327
|
+
EntityStatus = {
|
|
37328
|
+
Active: "Active",
|
|
37329
|
+
Inactive: "Inactive"
|
|
37330
|
+
};
|
|
37331
|
+
EntityStatus$inboundSchema = nativeEnumType(EntityStatus);
|
|
37332
|
+
EntityStatus$outboundSchema = EntityStatus$inboundSchema;
|
|
37333
|
+
((EntityStatus$) => {
|
|
37334
|
+
EntityStatus$.inboundSchema = EntityStatus$inboundSchema;
|
|
37335
|
+
EntityStatus$.outboundSchema = EntityStatus$outboundSchema;
|
|
37336
|
+
})(EntityStatus$ ||= {});
|
|
37337
|
+
});
|
|
37338
|
+
|
|
37339
|
+
// src/models/components/entity.ts
|
|
37340
|
+
var Entity$inboundSchema, Entity$outboundSchema, Entity$;
|
|
37341
|
+
var init_entity = __esm(() => {
|
|
37342
|
+
init_esm();
|
|
37343
|
+
init_primitives();
|
|
37344
|
+
init_address();
|
|
37345
|
+
init_email();
|
|
37346
|
+
init_entitystatus();
|
|
37347
|
+
init_entitytype();
|
|
37348
|
+
init_idstate();
|
|
37349
|
+
init_industrytypes();
|
|
37350
|
+
init_phonenumber();
|
|
37351
|
+
Entity$inboundSchema = objectType({
|
|
37352
|
+
_id: stringType().optional(),
|
|
37353
|
+
abn: stringType().optional(),
|
|
37354
|
+
abnStatusEffectiveFrom: stringType().optional(),
|
|
37355
|
+
acn: stringType().optional(),
|
|
37356
|
+
entityName: stringType().optional(),
|
|
37357
|
+
status: EntityStatus$inboundSchema.optional(),
|
|
37358
|
+
state: IDState$inboundSchema.optional(),
|
|
37359
|
+
entityType: EntityType$inboundSchema.optional(),
|
|
37360
|
+
gst: stringType().optional(),
|
|
37361
|
+
timeInBusiness: stringType().optional(),
|
|
37362
|
+
turnover: numberType().optional(),
|
|
37363
|
+
industryType: IndustryTypes$inboundSchema.optional(),
|
|
37364
|
+
addresses: arrayType(Address$inboundSchema).optional(),
|
|
37365
|
+
emails: arrayType(Email$inboundSchema).optional(),
|
|
37366
|
+
phoneNumbers: arrayType(PhoneNumber$inboundSchema).optional(),
|
|
37367
|
+
businessNames: arrayType(stringType()).optional(),
|
|
37368
|
+
directors: arrayType(anyType()).optional(),
|
|
37369
|
+
shareHolders: arrayType(anyType()).optional(),
|
|
37370
|
+
beneficiaries: arrayType(anyType()).optional(),
|
|
37371
|
+
shares: arrayType(anyType()).optional(),
|
|
37372
|
+
businessProfile: arrayType(anyType()).optional(),
|
|
37373
|
+
bankDetails: arrayType(anyType()).optional(),
|
|
37374
|
+
documents: arrayType(anyType()).optional(),
|
|
37375
|
+
customers: arrayType(stringType()).optional(),
|
|
37376
|
+
applications: arrayType(stringType()).optional()
|
|
37377
|
+
}).transform((v2) => {
|
|
37378
|
+
return remap(v2, {
|
|
37379
|
+
_id: "id"
|
|
37380
|
+
});
|
|
37381
|
+
});
|
|
37382
|
+
Entity$outboundSchema = objectType({
|
|
37383
|
+
id: stringType().optional(),
|
|
37384
|
+
abn: stringType().optional(),
|
|
37385
|
+
abnStatusEffectiveFrom: stringType().optional(),
|
|
37386
|
+
acn: stringType().optional(),
|
|
37387
|
+
entityName: stringType().optional(),
|
|
37388
|
+
status: EntityStatus$outboundSchema.optional(),
|
|
37389
|
+
state: IDState$outboundSchema.optional(),
|
|
37390
|
+
entityType: EntityType$outboundSchema.optional(),
|
|
37391
|
+
gst: stringType().optional(),
|
|
37392
|
+
timeInBusiness: stringType().optional(),
|
|
37393
|
+
turnover: numberType().optional(),
|
|
37394
|
+
industryType: IndustryTypes$outboundSchema.optional(),
|
|
37395
|
+
addresses: arrayType(Address$outboundSchema).optional(),
|
|
37396
|
+
emails: arrayType(Email$outboundSchema).optional(),
|
|
37397
|
+
phoneNumbers: arrayType(PhoneNumber$outboundSchema).optional(),
|
|
37398
|
+
businessNames: arrayType(stringType()).optional(),
|
|
37399
|
+
directors: arrayType(anyType()).optional(),
|
|
37400
|
+
shareHolders: arrayType(anyType()).optional(),
|
|
37401
|
+
beneficiaries: arrayType(anyType()).optional(),
|
|
37402
|
+
shares: arrayType(anyType()).optional(),
|
|
37403
|
+
businessProfile: arrayType(anyType()).optional(),
|
|
37404
|
+
bankDetails: arrayType(anyType()).optional(),
|
|
37405
|
+
documents: arrayType(anyType()).optional(),
|
|
37406
|
+
customers: arrayType(stringType()).optional(),
|
|
37407
|
+
applications: arrayType(stringType()).optional()
|
|
37408
|
+
}).transform((v2) => {
|
|
37409
|
+
return remap(v2, {
|
|
37410
|
+
id: "_id"
|
|
37411
|
+
});
|
|
37412
|
+
});
|
|
37413
|
+
((Entity$) => {
|
|
37414
|
+
Entity$.inboundSchema = Entity$inboundSchema;
|
|
37415
|
+
Entity$.outboundSchema = Entity$outboundSchema;
|
|
37416
|
+
})(Entity$ ||= {});
|
|
37417
|
+
});
|
|
37418
|
+
|
|
37419
|
+
// src/models/components/lendercredentials.ts
|
|
37420
|
+
var LenderCredentials$inboundSchema, LenderCredentials$outboundSchema, LenderCredentials$;
|
|
37421
|
+
var init_lendercredentials = __esm(() => {
|
|
37422
|
+
init_esm();
|
|
37423
|
+
init_primitives();
|
|
37424
|
+
LenderCredentials$inboundSchema = objectType({
|
|
37425
|
+
_id: stringType().optional(),
|
|
37426
|
+
ORIGIN_URL: stringType().optional(),
|
|
37427
|
+
apiKey: stringType().optional(),
|
|
37428
|
+
brokerId: stringType().optional(),
|
|
37429
|
+
lender: stringType().optional(),
|
|
37430
|
+
lenderEmail: stringType().optional(),
|
|
37431
|
+
organisationId: stringType().optional(),
|
|
37432
|
+
password: stringType().optional(),
|
|
37433
|
+
user: stringType().optional(),
|
|
37434
|
+
userId: stringType().optional(),
|
|
37435
|
+
username: stringType().optional()
|
|
37436
|
+
}).transform((v2) => {
|
|
37437
|
+
return remap(v2, {
|
|
37438
|
+
_id: "id",
|
|
37439
|
+
ORIGIN_URL: "originUrl"
|
|
37440
|
+
});
|
|
37441
|
+
});
|
|
37442
|
+
LenderCredentials$outboundSchema = objectType({
|
|
37443
|
+
id: stringType().optional(),
|
|
37444
|
+
originUrl: stringType().optional(),
|
|
37445
|
+
apiKey: stringType().optional(),
|
|
37446
|
+
brokerId: stringType().optional(),
|
|
37447
|
+
lender: stringType().optional(),
|
|
37448
|
+
lenderEmail: stringType().optional(),
|
|
37449
|
+
organisationId: stringType().optional(),
|
|
37450
|
+
password: stringType().optional(),
|
|
37451
|
+
user: stringType().optional(),
|
|
37452
|
+
userId: stringType().optional(),
|
|
37453
|
+
username: stringType().optional()
|
|
37454
|
+
}).transform((v2) => {
|
|
37455
|
+
return remap(v2, {
|
|
37456
|
+
id: "_id",
|
|
37457
|
+
originUrl: "ORIGIN_URL"
|
|
37155
37458
|
});
|
|
37156
37459
|
});
|
|
37157
|
-
((
|
|
37158
|
-
|
|
37159
|
-
|
|
37160
|
-
})(
|
|
37460
|
+
((LenderCredentials$) => {
|
|
37461
|
+
LenderCredentials$.inboundSchema = LenderCredentials$inboundSchema;
|
|
37462
|
+
LenderCredentials$.outboundSchema = LenderCredentials$outboundSchema;
|
|
37463
|
+
})(LenderCredentials$ ||= {});
|
|
37464
|
+
});
|
|
37465
|
+
|
|
37466
|
+
// src/models/components/feefrequency.ts
|
|
37467
|
+
var FeeFrequency, FeeFrequency$inboundSchema, FeeFrequency$outboundSchema, FeeFrequency$;
|
|
37468
|
+
var init_feefrequency = __esm(() => {
|
|
37469
|
+
init_esm();
|
|
37470
|
+
FeeFrequency = {
|
|
37471
|
+
Monthly: "monthly",
|
|
37472
|
+
Weekly: "weekly",
|
|
37473
|
+
Fortnightly: "fortnightly",
|
|
37474
|
+
Financed: "financed",
|
|
37475
|
+
Upfront: "upfront"
|
|
37476
|
+
};
|
|
37477
|
+
FeeFrequency$inboundSchema = nativeEnumType(FeeFrequency);
|
|
37478
|
+
FeeFrequency$outboundSchema = FeeFrequency$inboundSchema;
|
|
37479
|
+
((FeeFrequency$) => {
|
|
37480
|
+
FeeFrequency$.inboundSchema = FeeFrequency$inboundSchema;
|
|
37481
|
+
FeeFrequency$.outboundSchema = FeeFrequency$outboundSchema;
|
|
37482
|
+
})(FeeFrequency$ ||= {});
|
|
37483
|
+
});
|
|
37484
|
+
|
|
37485
|
+
// src/models/components/feetype.ts
|
|
37486
|
+
var FeeType, FeeType$inboundSchema, FeeType$outboundSchema, FeeType$;
|
|
37487
|
+
var init_feetype = __esm(() => {
|
|
37488
|
+
init_esm();
|
|
37489
|
+
FeeType = {
|
|
37490
|
+
EstablishmentFee: "Establishment fee",
|
|
37491
|
+
DocumentFee: "Document fee",
|
|
37492
|
+
ApplicationFee: "Application fee",
|
|
37493
|
+
OriginationFee: "Origination fee"
|
|
37494
|
+
};
|
|
37495
|
+
FeeType$inboundSchema = nativeEnumType(FeeType);
|
|
37496
|
+
FeeType$outboundSchema = FeeType$inboundSchema;
|
|
37497
|
+
((FeeType$) => {
|
|
37498
|
+
FeeType$.inboundSchema = FeeType$inboundSchema;
|
|
37499
|
+
FeeType$.outboundSchema = FeeType$outboundSchema;
|
|
37500
|
+
})(FeeType$ ||= {});
|
|
37501
|
+
});
|
|
37502
|
+
|
|
37503
|
+
// src/models/components/fee.ts
|
|
37504
|
+
var Fee$inboundSchema, Fee$outboundSchema, Fee$;
|
|
37505
|
+
var init_fee = __esm(() => {
|
|
37506
|
+
init_esm();
|
|
37507
|
+
init_feefrequency();
|
|
37508
|
+
init_feetype();
|
|
37509
|
+
Fee$inboundSchema = objectType({
|
|
37510
|
+
key: stringType().optional(),
|
|
37511
|
+
name: FeeType$inboundSchema.optional(),
|
|
37512
|
+
value: stringType().optional(),
|
|
37513
|
+
frequency: FeeFrequency$inboundSchema.optional()
|
|
37514
|
+
});
|
|
37515
|
+
Fee$outboundSchema = objectType({
|
|
37516
|
+
key: stringType().optional(),
|
|
37517
|
+
name: FeeType$outboundSchema.optional(),
|
|
37518
|
+
value: stringType().optional(),
|
|
37519
|
+
frequency: FeeFrequency$outboundSchema.optional()
|
|
37520
|
+
});
|
|
37521
|
+
((Fee$) => {
|
|
37522
|
+
Fee$.inboundSchema = Fee$inboundSchema;
|
|
37523
|
+
Fee$.outboundSchema = Fee$outboundSchema;
|
|
37524
|
+
})(Fee$ ||= {});
|
|
37525
|
+
});
|
|
37526
|
+
|
|
37527
|
+
// src/models/components/loanpurposetype.ts
|
|
37528
|
+
var LoanPurposeType, LoanPurposeType$inboundSchema, LoanPurposeType$outboundSchema, LoanPurposeType$;
|
|
37529
|
+
var init_loanpurposetype = __esm(() => {
|
|
37530
|
+
init_esm();
|
|
37531
|
+
LoanPurposeType = {
|
|
37532
|
+
Vehicle: "Vehicle",
|
|
37533
|
+
DebtConsolidation: "Debt Consolidation",
|
|
37534
|
+
HomeImprovements: "Home Improvements",
|
|
37535
|
+
MedicalAndDental: "Medical & Dental",
|
|
37536
|
+
HouseholdFurnishings: "Household Furnishings",
|
|
37537
|
+
Education: "Education",
|
|
37538
|
+
Travel: "Travel",
|
|
37539
|
+
Wedding: "Wedding",
|
|
37540
|
+
MortgageCostFunding: "Mortgage Cost Funding",
|
|
37541
|
+
OtherPersonalUse: "Other Personal Use"
|
|
37542
|
+
};
|
|
37543
|
+
LoanPurposeType$inboundSchema = nativeEnumType(LoanPurposeType);
|
|
37544
|
+
LoanPurposeType$outboundSchema = LoanPurposeType$inboundSchema;
|
|
37545
|
+
((LoanPurposeType$) => {
|
|
37546
|
+
LoanPurposeType$.inboundSchema = LoanPurposeType$inboundSchema;
|
|
37547
|
+
LoanPurposeType$.outboundSchema = LoanPurposeType$outboundSchema;
|
|
37548
|
+
})(LoanPurposeType$ ||= {});
|
|
37161
37549
|
});
|
|
37162
37550
|
|
|
37163
|
-
// src/models/components/
|
|
37164
|
-
var
|
|
37165
|
-
var
|
|
37551
|
+
// src/models/components/loandetails.ts
|
|
37552
|
+
var LoanDetails$inboundSchema, LoanDetails$outboundSchema, LoanDetails$;
|
|
37553
|
+
var init_loandetails = __esm(() => {
|
|
37166
37554
|
init_esm();
|
|
37167
37555
|
init_primitives();
|
|
37168
37556
|
init_fee();
|
|
37169
37557
|
init_loanpurposetype();
|
|
37170
|
-
|
|
37558
|
+
LoanDetails$inboundSchema = objectType({
|
|
37171
37559
|
_id: stringType().optional(),
|
|
37172
37560
|
repayments: numberType().optional(),
|
|
37173
37561
|
loanAmount: numberType().optional(),
|
|
@@ -37178,9 +37566,9 @@ var init_pepperconsumerloandetails = __esm(() => {
|
|
|
37178
37566
|
brokerageAdjustment: numberType().optional(),
|
|
37179
37567
|
balloon: numberType().optional(),
|
|
37180
37568
|
balloonAmount: numberType().optional(),
|
|
37181
|
-
deposit: numberType(),
|
|
37182
|
-
tradeIn: numberType(),
|
|
37183
|
-
payout: numberType(),
|
|
37569
|
+
deposit: numberType().optional(),
|
|
37570
|
+
tradeIn: numberType().optional(),
|
|
37571
|
+
payout: numberType().optional(),
|
|
37184
37572
|
rate: numberType().optional(),
|
|
37185
37573
|
rateAdjustment: numberType().optional(),
|
|
37186
37574
|
cash: numberType().optional(),
|
|
@@ -37190,13 +37578,16 @@ var init_pepperconsumerloandetails = __esm(() => {
|
|
|
37190
37578
|
lender: stringType().optional(),
|
|
37191
37579
|
inArrears: stringType().optional(),
|
|
37192
37580
|
application: stringType().optional(),
|
|
37193
|
-
purpose: LoanPurposeType$inboundSchema.optional()
|
|
37581
|
+
purpose: LoanPurposeType$inboundSchema.optional(),
|
|
37582
|
+
frequency: numberType().optional(),
|
|
37583
|
+
paymentMode: stringType().optional(),
|
|
37584
|
+
productType: stringType().optional()
|
|
37194
37585
|
}).transform((v2) => {
|
|
37195
37586
|
return remap(v2, {
|
|
37196
37587
|
_id: "id"
|
|
37197
37588
|
});
|
|
37198
37589
|
});
|
|
37199
|
-
|
|
37590
|
+
LoanDetails$outboundSchema = objectType({
|
|
37200
37591
|
id: stringType().optional(),
|
|
37201
37592
|
repayments: numberType().optional(),
|
|
37202
37593
|
loanAmount: numberType().optional(),
|
|
@@ -37207,9 +37598,9 @@ var init_pepperconsumerloandetails = __esm(() => {
|
|
|
37207
37598
|
brokerageAdjustment: numberType().optional(),
|
|
37208
37599
|
balloon: numberType().optional(),
|
|
37209
37600
|
balloonAmount: numberType().optional(),
|
|
37210
|
-
deposit: numberType(),
|
|
37211
|
-
tradeIn: numberType(),
|
|
37212
|
-
payout: numberType(),
|
|
37601
|
+
deposit: numberType().optional(),
|
|
37602
|
+
tradeIn: numberType().optional(),
|
|
37603
|
+
payout: numberType().optional(),
|
|
37213
37604
|
rate: numberType().optional(),
|
|
37214
37605
|
rateAdjustment: numberType().optional(),
|
|
37215
37606
|
cash: numberType().optional(),
|
|
@@ -37219,57 +37610,19 @@ var init_pepperconsumerloandetails = __esm(() => {
|
|
|
37219
37610
|
lender: stringType().optional(),
|
|
37220
37611
|
inArrears: stringType().optional(),
|
|
37221
37612
|
application: stringType().optional(),
|
|
37222
|
-
purpose: LoanPurposeType$outboundSchema.optional()
|
|
37613
|
+
purpose: LoanPurposeType$outboundSchema.optional(),
|
|
37614
|
+
frequency: numberType().optional(),
|
|
37615
|
+
paymentMode: stringType().optional(),
|
|
37616
|
+
productType: stringType().optional()
|
|
37223
37617
|
}).transform((v2) => {
|
|
37224
37618
|
return remap(v2, {
|
|
37225
37619
|
id: "_id"
|
|
37226
37620
|
});
|
|
37227
37621
|
});
|
|
37228
|
-
((
|
|
37229
|
-
|
|
37230
|
-
|
|
37231
|
-
})(
|
|
37232
|
-
});
|
|
37233
|
-
|
|
37234
|
-
// src/models/components/pepperlendercredentials.ts
|
|
37235
|
-
var PepperLenderCredentials$inboundSchema, PepperLenderCredentials$outboundSchema, PepperLenderCredentials$;
|
|
37236
|
-
var init_pepperlendercredentials = __esm(() => {
|
|
37237
|
-
init_esm();
|
|
37238
|
-
init_primitives();
|
|
37239
|
-
PepperLenderCredentials$inboundSchema = objectType({
|
|
37240
|
-
PEPPER_MERCHANT_ID: stringType(),
|
|
37241
|
-
PEPPER_BASE_URL: stringType(),
|
|
37242
|
-
PEPPER_CLIENT_ID: stringType(),
|
|
37243
|
-
PEPPER_CLIENT_SECRET: stringType(),
|
|
37244
|
-
PEPPER_USERNAME: stringType()
|
|
37245
|
-
}).transform((v2) => {
|
|
37246
|
-
return remap(v2, {
|
|
37247
|
-
PEPPER_MERCHANT_ID: "pepperMerchantId",
|
|
37248
|
-
PEPPER_BASE_URL: "pepperBaseUrl",
|
|
37249
|
-
PEPPER_CLIENT_ID: "pepperClientId",
|
|
37250
|
-
PEPPER_CLIENT_SECRET: "pepperClientSecret",
|
|
37251
|
-
PEPPER_USERNAME: "pepperUsername"
|
|
37252
|
-
});
|
|
37253
|
-
});
|
|
37254
|
-
PepperLenderCredentials$outboundSchema = objectType({
|
|
37255
|
-
pepperMerchantId: stringType(),
|
|
37256
|
-
pepperBaseUrl: stringType(),
|
|
37257
|
-
pepperClientId: stringType(),
|
|
37258
|
-
pepperClientSecret: stringType(),
|
|
37259
|
-
pepperUsername: stringType()
|
|
37260
|
-
}).transform((v2) => {
|
|
37261
|
-
return remap(v2, {
|
|
37262
|
-
pepperMerchantId: "PEPPER_MERCHANT_ID",
|
|
37263
|
-
pepperBaseUrl: "PEPPER_BASE_URL",
|
|
37264
|
-
pepperClientId: "PEPPER_CLIENT_ID",
|
|
37265
|
-
pepperClientSecret: "PEPPER_CLIENT_SECRET",
|
|
37266
|
-
pepperUsername: "PEPPER_USERNAME"
|
|
37267
|
-
});
|
|
37268
|
-
});
|
|
37269
|
-
((PepperLenderCredentials$) => {
|
|
37270
|
-
PepperLenderCredentials$.inboundSchema = PepperLenderCredentials$inboundSchema;
|
|
37271
|
-
PepperLenderCredentials$.outboundSchema = PepperLenderCredentials$outboundSchema;
|
|
37272
|
-
})(PepperLenderCredentials$ ||= {});
|
|
37622
|
+
((LoanDetails$) => {
|
|
37623
|
+
LoanDetails$.inboundSchema = LoanDetails$inboundSchema;
|
|
37624
|
+
LoanDetails$.outboundSchema = LoanDetails$outboundSchema;
|
|
37625
|
+
})(LoanDetails$ ||= {});
|
|
37273
37626
|
});
|
|
37274
37627
|
|
|
37275
37628
|
// src/models/components/productdetails.ts
|
|
@@ -37290,16 +37643,62 @@ var init_productdetails = __esm(() => {
|
|
|
37290
37643
|
})(ProductDetails$ ||= {});
|
|
37291
37644
|
});
|
|
37292
37645
|
|
|
37293
|
-
// src/models/components/
|
|
37294
|
-
var
|
|
37295
|
-
var
|
|
37646
|
+
// src/models/components/user.ts
|
|
37647
|
+
var Organisation$inboundSchema, Organisation$outboundSchema, Organisation$, User$inboundSchema, User$outboundSchema, User$;
|
|
37648
|
+
var init_user = __esm(() => {
|
|
37649
|
+
init_esm();
|
|
37650
|
+
init_primitives();
|
|
37651
|
+
init_email();
|
|
37652
|
+
Organisation$inboundSchema = objectType({
|
|
37653
|
+
name: stringType().optional()
|
|
37654
|
+
});
|
|
37655
|
+
Organisation$outboundSchema = objectType({
|
|
37656
|
+
name: stringType().optional()
|
|
37657
|
+
});
|
|
37658
|
+
((Organisation$) => {
|
|
37659
|
+
Organisation$.inboundSchema = Organisation$inboundSchema;
|
|
37660
|
+
Organisation$.outboundSchema = Organisation$outboundSchema;
|
|
37661
|
+
})(Organisation$ ||= {});
|
|
37662
|
+
User$inboundSchema = objectType({
|
|
37663
|
+
_id: stringType().optional(),
|
|
37664
|
+
organisation: lazyType(() => Organisation$inboundSchema).optional(),
|
|
37665
|
+
email: Email$inboundSchema.optional(),
|
|
37666
|
+
firstName: stringType().optional(),
|
|
37667
|
+
lastName: stringType().optional()
|
|
37668
|
+
}).transform((v2) => {
|
|
37669
|
+
return remap(v2, {
|
|
37670
|
+
_id: "id"
|
|
37671
|
+
});
|
|
37672
|
+
});
|
|
37673
|
+
User$outboundSchema = objectType({
|
|
37674
|
+
id: stringType().optional(),
|
|
37675
|
+
organisation: lazyType(() => Organisation$outboundSchema).optional(),
|
|
37676
|
+
email: Email$outboundSchema.optional(),
|
|
37677
|
+
firstName: stringType().optional(),
|
|
37678
|
+
lastName: stringType().optional()
|
|
37679
|
+
}).transform((v2) => {
|
|
37680
|
+
return remap(v2, {
|
|
37681
|
+
id: "_id"
|
|
37682
|
+
});
|
|
37683
|
+
});
|
|
37684
|
+
((User$) => {
|
|
37685
|
+
User$.inboundSchema = User$inboundSchema;
|
|
37686
|
+
User$.outboundSchema = User$outboundSchema;
|
|
37687
|
+
})(User$ ||= {});
|
|
37688
|
+
});
|
|
37689
|
+
|
|
37690
|
+
// src/models/components/application.ts
|
|
37691
|
+
var CustomerAcknowledgement$inboundSchema, CustomerAcknowledgement$outboundSchema, CustomerAcknowledgement$, Notes$inboundSchema, Notes$outboundSchema, Notes$, Application$inboundSchema, Application$outboundSchema, Application$;
|
|
37692
|
+
var init_application = __esm(() => {
|
|
37296
37693
|
init_esm();
|
|
37297
37694
|
init_primitives();
|
|
37298
|
-
|
|
37299
|
-
|
|
37300
|
-
|
|
37301
|
-
|
|
37695
|
+
init_asset();
|
|
37696
|
+
init_customer();
|
|
37697
|
+
init_entity();
|
|
37698
|
+
init_lendercredentials();
|
|
37699
|
+
init_loandetails();
|
|
37302
37700
|
init_productdetails();
|
|
37701
|
+
init_user();
|
|
37303
37702
|
CustomerAcknowledgement$inboundSchema = objectType({
|
|
37304
37703
|
is_acknowledgement_accept: booleanType()
|
|
37305
37704
|
}).transform((v2) => {
|
|
@@ -37318,70 +37717,303 @@ var init_pepperconsumerrequest = __esm(() => {
|
|
|
37318
37717
|
CustomerAcknowledgement$.inboundSchema = CustomerAcknowledgement$inboundSchema;
|
|
37319
37718
|
CustomerAcknowledgement$.outboundSchema = CustomerAcknowledgement$outboundSchema;
|
|
37320
37719
|
})(CustomerAcknowledgement$ ||= {});
|
|
37321
|
-
|
|
37720
|
+
Notes$inboundSchema = objectType({
|
|
37721
|
+
value: stringType()
|
|
37722
|
+
});
|
|
37723
|
+
Notes$outboundSchema = objectType({
|
|
37724
|
+
value: stringType()
|
|
37725
|
+
});
|
|
37726
|
+
((Notes$) => {
|
|
37727
|
+
Notes$.inboundSchema = Notes$inboundSchema;
|
|
37728
|
+
Notes$.outboundSchema = Notes$outboundSchema;
|
|
37729
|
+
})(Notes$ ||= {});
|
|
37730
|
+
Application$inboundSchema = objectType({
|
|
37322
37731
|
_id: stringType(),
|
|
37323
37732
|
customer_acknowledgement: lazyType(() => CustomerAcknowledgement$inboundSchema).optional(),
|
|
37324
|
-
|
|
37325
|
-
|
|
37326
|
-
|
|
37733
|
+
user: User$inboundSchema,
|
|
37734
|
+
entities: arrayType(Entity$inboundSchema),
|
|
37735
|
+
asset: Asset$inboundSchema,
|
|
37736
|
+
customers: arrayType(Customer$inboundSchema),
|
|
37737
|
+
loanDetails: LoanDetails$inboundSchema,
|
|
37327
37738
|
productDetails: ProductDetails$inboundSchema,
|
|
37328
|
-
|
|
37739
|
+
comments: arrayType(stringType()).optional(),
|
|
37329
37740
|
humanId: stringType(),
|
|
37330
|
-
|
|
37741
|
+
notes: lazyType(() => Notes$inboundSchema).optional(),
|
|
37742
|
+
lenderCredentials: LenderCredentials$inboundSchema,
|
|
37743
|
+
status: stringType().optional(),
|
|
37744
|
+
transactions: arrayType(anyType()).optional()
|
|
37331
37745
|
}).transform((v2) => {
|
|
37332
37746
|
return remap(v2, {
|
|
37333
37747
|
_id: "id",
|
|
37334
37748
|
customer_acknowledgement: "customerAcknowledgement"
|
|
37335
37749
|
});
|
|
37336
37750
|
});
|
|
37337
|
-
|
|
37751
|
+
Application$outboundSchema = objectType({
|
|
37338
37752
|
id: stringType(),
|
|
37339
37753
|
customerAcknowledgement: lazyType(() => CustomerAcknowledgement$outboundSchema).optional(),
|
|
37340
|
-
|
|
37341
|
-
|
|
37342
|
-
|
|
37754
|
+
user: User$outboundSchema,
|
|
37755
|
+
entities: arrayType(Entity$outboundSchema),
|
|
37756
|
+
asset: Asset$outboundSchema,
|
|
37757
|
+
customers: arrayType(Customer$outboundSchema),
|
|
37758
|
+
loanDetails: LoanDetails$outboundSchema,
|
|
37343
37759
|
productDetails: ProductDetails$outboundSchema,
|
|
37344
|
-
|
|
37760
|
+
comments: arrayType(stringType()).optional(),
|
|
37345
37761
|
humanId: stringType(),
|
|
37346
|
-
|
|
37762
|
+
notes: lazyType(() => Notes$outboundSchema).optional(),
|
|
37763
|
+
lenderCredentials: LenderCredentials$outboundSchema,
|
|
37764
|
+
status: stringType().optional(),
|
|
37765
|
+
transactions: arrayType(anyType()).optional()
|
|
37347
37766
|
}).transform((v2) => {
|
|
37348
37767
|
return remap(v2, {
|
|
37349
37768
|
id: "_id",
|
|
37350
37769
|
customerAcknowledgement: "customer_acknowledgement"
|
|
37351
37770
|
});
|
|
37352
37771
|
});
|
|
37353
|
-
((
|
|
37354
|
-
|
|
37355
|
-
|
|
37356
|
-
})(
|
|
37772
|
+
((Application$) => {
|
|
37773
|
+
Application$.inboundSchema = Application$inboundSchema;
|
|
37774
|
+
Application$.outboundSchema = Application$outboundSchema;
|
|
37775
|
+
})(Application$ ||= {});
|
|
37357
37776
|
});
|
|
37358
37777
|
|
|
37359
|
-
// src/models/components/
|
|
37360
|
-
var
|
|
37361
|
-
var
|
|
37778
|
+
// src/models/components/forbiddenerror.ts
|
|
37779
|
+
var ForbiddenErrorCode, ForbiddenErrorTitle, ForbiddenErrorStatus, ForbiddenErrorDetail, ForbiddenErrorCode$inboundSchema, ForbiddenErrorCode$outboundSchema, ForbiddenErrorCode$, ForbiddenErrorTitle$inboundSchema, ForbiddenErrorTitle$outboundSchema, ForbiddenErrorTitle$, ForbiddenErrorStatus$inboundSchema, ForbiddenErrorStatus$outboundSchema, ForbiddenErrorStatus$, ForbiddenErrorDetail$inboundSchema, ForbiddenErrorDetail$outboundSchema, ForbiddenErrorDetail$, ForbiddenError$inboundSchema, ForbiddenError$outboundSchema, ForbiddenError$;
|
|
37780
|
+
var init_forbiddenerror = __esm(() => {
|
|
37362
37781
|
init_esm();
|
|
37363
|
-
|
|
37364
|
-
|
|
37782
|
+
init_apierrorlinks();
|
|
37783
|
+
init_errorsource();
|
|
37784
|
+
ForbiddenErrorCode = {
|
|
37785
|
+
AuthorizationError: "AUTHORIZATION_ERROR"
|
|
37786
|
+
};
|
|
37787
|
+
ForbiddenErrorTitle = {
|
|
37788
|
+
Forbidden: "Forbidden"
|
|
37789
|
+
};
|
|
37790
|
+
ForbiddenErrorStatus = {
|
|
37791
|
+
FourHundredAndThree: "403"
|
|
37792
|
+
};
|
|
37793
|
+
ForbiddenErrorDetail = {
|
|
37794
|
+
YouDoNotHavePermissionToPerformThisAction: "You do not have permission to perform this action."
|
|
37795
|
+
};
|
|
37796
|
+
ForbiddenErrorCode$inboundSchema = nativeEnumType(ForbiddenErrorCode);
|
|
37797
|
+
ForbiddenErrorCode$outboundSchema = ForbiddenErrorCode$inboundSchema;
|
|
37798
|
+
((ForbiddenErrorCode$) => {
|
|
37799
|
+
ForbiddenErrorCode$.inboundSchema = ForbiddenErrorCode$inboundSchema;
|
|
37800
|
+
ForbiddenErrorCode$.outboundSchema = ForbiddenErrorCode$outboundSchema;
|
|
37801
|
+
})(ForbiddenErrorCode$ ||= {});
|
|
37802
|
+
ForbiddenErrorTitle$inboundSchema = nativeEnumType(ForbiddenErrorTitle);
|
|
37803
|
+
ForbiddenErrorTitle$outboundSchema = ForbiddenErrorTitle$inboundSchema;
|
|
37804
|
+
((ForbiddenErrorTitle$) => {
|
|
37805
|
+
ForbiddenErrorTitle$.inboundSchema = ForbiddenErrorTitle$inboundSchema;
|
|
37806
|
+
ForbiddenErrorTitle$.outboundSchema = ForbiddenErrorTitle$outboundSchema;
|
|
37807
|
+
})(ForbiddenErrorTitle$ ||= {});
|
|
37808
|
+
ForbiddenErrorStatus$inboundSchema = nativeEnumType(ForbiddenErrorStatus);
|
|
37809
|
+
ForbiddenErrorStatus$outboundSchema = ForbiddenErrorStatus$inboundSchema;
|
|
37810
|
+
((ForbiddenErrorStatus$) => {
|
|
37811
|
+
ForbiddenErrorStatus$.inboundSchema = ForbiddenErrorStatus$inboundSchema;
|
|
37812
|
+
ForbiddenErrorStatus$.outboundSchema = ForbiddenErrorStatus$outboundSchema;
|
|
37813
|
+
})(ForbiddenErrorStatus$ ||= {});
|
|
37814
|
+
ForbiddenErrorDetail$inboundSchema = nativeEnumType(ForbiddenErrorDetail);
|
|
37815
|
+
ForbiddenErrorDetail$outboundSchema = ForbiddenErrorDetail$inboundSchema;
|
|
37816
|
+
((ForbiddenErrorDetail$) => {
|
|
37817
|
+
ForbiddenErrorDetail$.inboundSchema = ForbiddenErrorDetail$inboundSchema;
|
|
37818
|
+
ForbiddenErrorDetail$.outboundSchema = ForbiddenErrorDetail$outboundSchema;
|
|
37819
|
+
})(ForbiddenErrorDetail$ ||= {});
|
|
37820
|
+
ForbiddenError$inboundSchema = objectType({
|
|
37821
|
+
links: APIErrorLinks$inboundSchema.optional(),
|
|
37822
|
+
code: ForbiddenErrorCode$inboundSchema,
|
|
37823
|
+
title: ForbiddenErrorTitle$inboundSchema,
|
|
37824
|
+
status: ForbiddenErrorStatus$inboundSchema,
|
|
37825
|
+
source: ErrorSource$inboundSchema.optional(),
|
|
37826
|
+
detail: ForbiddenErrorDetail$inboundSchema,
|
|
37827
|
+
meta: recordType(anyType()).optional()
|
|
37365
37828
|
});
|
|
37366
|
-
|
|
37367
|
-
|
|
37829
|
+
ForbiddenError$outboundSchema = objectType({
|
|
37830
|
+
links: APIErrorLinks$outboundSchema.optional(),
|
|
37831
|
+
code: ForbiddenErrorCode$outboundSchema,
|
|
37832
|
+
title: ForbiddenErrorTitle$outboundSchema,
|
|
37833
|
+
status: ForbiddenErrorStatus$outboundSchema,
|
|
37834
|
+
source: ErrorSource$outboundSchema.optional(),
|
|
37835
|
+
detail: ForbiddenErrorDetail$outboundSchema,
|
|
37836
|
+
meta: recordType(anyType()).optional()
|
|
37368
37837
|
});
|
|
37369
|
-
((
|
|
37370
|
-
|
|
37371
|
-
|
|
37372
|
-
})(
|
|
37373
|
-
|
|
37374
|
-
|
|
37375
|
-
|
|
37838
|
+
((ForbiddenError$) => {
|
|
37839
|
+
ForbiddenError$.inboundSchema = ForbiddenError$inboundSchema;
|
|
37840
|
+
ForbiddenError$.outboundSchema = ForbiddenError$outboundSchema;
|
|
37841
|
+
})(ForbiddenError$ ||= {});
|
|
37842
|
+
});
|
|
37843
|
+
|
|
37844
|
+
// src/models/components/internalservererror.ts
|
|
37845
|
+
var InternalServerErrorCode, InternalServerErrorTitle, InternalServerErrorStatus, InternalServerErrorDetail, InternalServerErrorCode$inboundSchema, InternalServerErrorCode$outboundSchema, InternalServerErrorCode$, InternalServerErrorTitle$inboundSchema, InternalServerErrorTitle$outboundSchema, InternalServerErrorTitle$, InternalServerErrorStatus$inboundSchema, InternalServerErrorStatus$outboundSchema, InternalServerErrorStatus$, InternalServerErrorDetail$inboundSchema, InternalServerErrorDetail$outboundSchema, InternalServerErrorDetail$, InternalServerError$inboundSchema, InternalServerError$outboundSchema, InternalServerError$;
|
|
37846
|
+
var init_internalservererror = __esm(() => {
|
|
37847
|
+
init_esm();
|
|
37848
|
+
init_apierrorlinks();
|
|
37849
|
+
init_errorsource();
|
|
37850
|
+
InternalServerErrorCode = {
|
|
37851
|
+
InternalServerError: "INTERNAL_SERVER_ERROR"
|
|
37852
|
+
};
|
|
37853
|
+
InternalServerErrorTitle = {
|
|
37854
|
+
InternalServerError: "Internal Server Error"
|
|
37855
|
+
};
|
|
37856
|
+
InternalServerErrorStatus = {
|
|
37857
|
+
FiveHundred: "500"
|
|
37858
|
+
};
|
|
37859
|
+
InternalServerErrorDetail = {
|
|
37860
|
+
AnUnexpectedErrorOccurred: "An unexpected error occurred."
|
|
37861
|
+
};
|
|
37862
|
+
InternalServerErrorCode$inboundSchema = nativeEnumType(InternalServerErrorCode);
|
|
37863
|
+
InternalServerErrorCode$outboundSchema = InternalServerErrorCode$inboundSchema;
|
|
37864
|
+
((InternalServerErrorCode$) => {
|
|
37865
|
+
InternalServerErrorCode$.inboundSchema = InternalServerErrorCode$inboundSchema;
|
|
37866
|
+
InternalServerErrorCode$.outboundSchema = InternalServerErrorCode$outboundSchema;
|
|
37867
|
+
})(InternalServerErrorCode$ ||= {});
|
|
37868
|
+
InternalServerErrorTitle$inboundSchema = nativeEnumType(InternalServerErrorTitle);
|
|
37869
|
+
InternalServerErrorTitle$outboundSchema = InternalServerErrorTitle$inboundSchema;
|
|
37870
|
+
((InternalServerErrorTitle$) => {
|
|
37871
|
+
InternalServerErrorTitle$.inboundSchema = InternalServerErrorTitle$inboundSchema;
|
|
37872
|
+
InternalServerErrorTitle$.outboundSchema = InternalServerErrorTitle$outboundSchema;
|
|
37873
|
+
})(InternalServerErrorTitle$ ||= {});
|
|
37874
|
+
InternalServerErrorStatus$inboundSchema = nativeEnumType(InternalServerErrorStatus);
|
|
37875
|
+
InternalServerErrorStatus$outboundSchema = InternalServerErrorStatus$inboundSchema;
|
|
37876
|
+
((InternalServerErrorStatus$) => {
|
|
37877
|
+
InternalServerErrorStatus$.inboundSchema = InternalServerErrorStatus$inboundSchema;
|
|
37878
|
+
InternalServerErrorStatus$.outboundSchema = InternalServerErrorStatus$outboundSchema;
|
|
37879
|
+
})(InternalServerErrorStatus$ ||= {});
|
|
37880
|
+
InternalServerErrorDetail$inboundSchema = nativeEnumType(InternalServerErrorDetail);
|
|
37881
|
+
InternalServerErrorDetail$outboundSchema = InternalServerErrorDetail$inboundSchema;
|
|
37882
|
+
((InternalServerErrorDetail$) => {
|
|
37883
|
+
InternalServerErrorDetail$.inboundSchema = InternalServerErrorDetail$inboundSchema;
|
|
37884
|
+
InternalServerErrorDetail$.outboundSchema = InternalServerErrorDetail$outboundSchema;
|
|
37885
|
+
})(InternalServerErrorDetail$ ||= {});
|
|
37886
|
+
InternalServerError$inboundSchema = objectType({
|
|
37887
|
+
links: APIErrorLinks$inboundSchema.optional(),
|
|
37888
|
+
code: InternalServerErrorCode$inboundSchema,
|
|
37889
|
+
title: InternalServerErrorTitle$inboundSchema,
|
|
37890
|
+
status: InternalServerErrorStatus$inboundSchema,
|
|
37891
|
+
source: ErrorSource$inboundSchema.optional(),
|
|
37892
|
+
detail: InternalServerErrorDetail$inboundSchema,
|
|
37893
|
+
meta: recordType(anyType()).optional()
|
|
37894
|
+
});
|
|
37895
|
+
InternalServerError$outboundSchema = objectType({
|
|
37896
|
+
links: APIErrorLinks$outboundSchema.optional(),
|
|
37897
|
+
code: InternalServerErrorCode$outboundSchema,
|
|
37898
|
+
title: InternalServerErrorTitle$outboundSchema,
|
|
37899
|
+
status: InternalServerErrorStatus$outboundSchema,
|
|
37900
|
+
source: ErrorSource$outboundSchema.optional(),
|
|
37901
|
+
detail: InternalServerErrorDetail$outboundSchema,
|
|
37902
|
+
meta: recordType(anyType()).optional()
|
|
37903
|
+
});
|
|
37904
|
+
((InternalServerError$) => {
|
|
37905
|
+
InternalServerError$.inboundSchema = InternalServerError$inboundSchema;
|
|
37906
|
+
InternalServerError$.outboundSchema = InternalServerError$outboundSchema;
|
|
37907
|
+
})(InternalServerError$ ||= {});
|
|
37908
|
+
});
|
|
37909
|
+
|
|
37910
|
+
// src/models/components/lenders.ts
|
|
37911
|
+
var Lenders, Lenders$inboundSchema, Lenders$outboundSchema, Lenders$;
|
|
37912
|
+
var init_lenders = __esm(() => {
|
|
37913
|
+
init_esm();
|
|
37914
|
+
Lenders = {
|
|
37915
|
+
Pepper: "Pepper",
|
|
37916
|
+
Lendi: "Lendi",
|
|
37917
|
+
MoneyMe: "MoneyMe",
|
|
37918
|
+
Wisr: "Wisr",
|
|
37919
|
+
Latitude: "Latitude",
|
|
37920
|
+
Dynamoney: "Dynamoney",
|
|
37921
|
+
FinanceOne: "FinanceOne",
|
|
37922
|
+
Westpac: "Westpac",
|
|
37923
|
+
Money3: "Money3",
|
|
37924
|
+
Plenti: "Plenti",
|
|
37925
|
+
Now: "Now",
|
|
37926
|
+
Flexi: "Flexi",
|
|
37927
|
+
Metro: "Metro",
|
|
37928
|
+
Angle: "Angle",
|
|
37929
|
+
Financeone: "Financeone",
|
|
37930
|
+
Eastcap: "Eastcap",
|
|
37931
|
+
Branded: "Branded",
|
|
37932
|
+
Liberty: "Liberty",
|
|
37933
|
+
Moneyme: "Moneyme",
|
|
37934
|
+
Autopay: "Autopay",
|
|
37935
|
+
Firstmac: "Firstmac",
|
|
37936
|
+
Moneyplace: "Moneyplace",
|
|
37937
|
+
Azora: "Azora",
|
|
37938
|
+
Resimac: "Resimac",
|
|
37939
|
+
Ammf: "Ammf",
|
|
37940
|
+
Scotpac: "Scotpac",
|
|
37941
|
+
Afs: "Afs",
|
|
37942
|
+
WestpacDriveExpress: "WestpacDriveExpress",
|
|
37943
|
+
WestpacEF: "WestpacEF"
|
|
37944
|
+
};
|
|
37945
|
+
Lenders$inboundSchema = nativeEnumType(Lenders);
|
|
37946
|
+
Lenders$outboundSchema = Lenders$inboundSchema;
|
|
37947
|
+
((Lenders$) => {
|
|
37948
|
+
Lenders$.inboundSchema = Lenders$inboundSchema;
|
|
37949
|
+
Lenders$.outboundSchema = Lenders$outboundSchema;
|
|
37950
|
+
})(Lenders$ ||= {});
|
|
37951
|
+
});
|
|
37952
|
+
|
|
37953
|
+
// src/models/components/notfounderror.ts
|
|
37954
|
+
var NotFoundErrorCode, NotFoundErrorTitle, NotFoundErrorStatus, NotFoundErrorDetail, NotFoundErrorCode$inboundSchema, NotFoundErrorCode$outboundSchema, NotFoundErrorCode$, NotFoundErrorTitle$inboundSchema, NotFoundErrorTitle$outboundSchema, NotFoundErrorTitle$, NotFoundErrorStatus$inboundSchema, NotFoundErrorStatus$outboundSchema, NotFoundErrorStatus$, NotFoundErrorDetail$inboundSchema, NotFoundErrorDetail$outboundSchema, NotFoundErrorDetail$, NotFoundError$inboundSchema, NotFoundError$outboundSchema, NotFoundError$;
|
|
37955
|
+
var init_notfounderror = __esm(() => {
|
|
37956
|
+
init_esm();
|
|
37957
|
+
init_apierrorlinks();
|
|
37958
|
+
init_errorsource();
|
|
37959
|
+
NotFoundErrorCode = {
|
|
37960
|
+
NotFound: "NOT_FOUND"
|
|
37961
|
+
};
|
|
37962
|
+
NotFoundErrorTitle = {
|
|
37963
|
+
ResourceNotFound: "Resource Not Found"
|
|
37964
|
+
};
|
|
37965
|
+
NotFoundErrorStatus = {
|
|
37966
|
+
FourHundredAndFour: "404"
|
|
37967
|
+
};
|
|
37968
|
+
NotFoundErrorDetail = {
|
|
37969
|
+
TheRequestedResourceWasNotFound: "The requested resource was not found."
|
|
37970
|
+
};
|
|
37971
|
+
NotFoundErrorCode$inboundSchema = nativeEnumType(NotFoundErrorCode);
|
|
37972
|
+
NotFoundErrorCode$outboundSchema = NotFoundErrorCode$inboundSchema;
|
|
37973
|
+
((NotFoundErrorCode$) => {
|
|
37974
|
+
NotFoundErrorCode$.inboundSchema = NotFoundErrorCode$inboundSchema;
|
|
37975
|
+
NotFoundErrorCode$.outboundSchema = NotFoundErrorCode$outboundSchema;
|
|
37976
|
+
})(NotFoundErrorCode$ ||= {});
|
|
37977
|
+
NotFoundErrorTitle$inboundSchema = nativeEnumType(NotFoundErrorTitle);
|
|
37978
|
+
NotFoundErrorTitle$outboundSchema = NotFoundErrorTitle$inboundSchema;
|
|
37979
|
+
((NotFoundErrorTitle$) => {
|
|
37980
|
+
NotFoundErrorTitle$.inboundSchema = NotFoundErrorTitle$inboundSchema;
|
|
37981
|
+
NotFoundErrorTitle$.outboundSchema = NotFoundErrorTitle$outboundSchema;
|
|
37982
|
+
})(NotFoundErrorTitle$ ||= {});
|
|
37983
|
+
NotFoundErrorStatus$inboundSchema = nativeEnumType(NotFoundErrorStatus);
|
|
37984
|
+
NotFoundErrorStatus$outboundSchema = NotFoundErrorStatus$inboundSchema;
|
|
37985
|
+
((NotFoundErrorStatus$) => {
|
|
37986
|
+
NotFoundErrorStatus$.inboundSchema = NotFoundErrorStatus$inboundSchema;
|
|
37987
|
+
NotFoundErrorStatus$.outboundSchema = NotFoundErrorStatus$outboundSchema;
|
|
37988
|
+
})(NotFoundErrorStatus$ ||= {});
|
|
37989
|
+
NotFoundErrorDetail$inboundSchema = nativeEnumType(NotFoundErrorDetail);
|
|
37990
|
+
NotFoundErrorDetail$outboundSchema = NotFoundErrorDetail$inboundSchema;
|
|
37991
|
+
((NotFoundErrorDetail$) => {
|
|
37992
|
+
NotFoundErrorDetail$.inboundSchema = NotFoundErrorDetail$inboundSchema;
|
|
37993
|
+
NotFoundErrorDetail$.outboundSchema = NotFoundErrorDetail$outboundSchema;
|
|
37994
|
+
})(NotFoundErrorDetail$ ||= {});
|
|
37995
|
+
NotFoundError$inboundSchema = objectType({
|
|
37996
|
+
links: APIErrorLinks$inboundSchema.optional(),
|
|
37997
|
+
code: NotFoundErrorCode$inboundSchema,
|
|
37998
|
+
title: NotFoundErrorTitle$inboundSchema,
|
|
37999
|
+
status: NotFoundErrorStatus$inboundSchema,
|
|
38000
|
+
source: ErrorSource$inboundSchema.optional(),
|
|
38001
|
+
detail: NotFoundErrorDetail$inboundSchema,
|
|
38002
|
+
meta: recordType(anyType()).optional()
|
|
37376
38003
|
});
|
|
37377
|
-
|
|
37378
|
-
|
|
37379
|
-
|
|
38004
|
+
NotFoundError$outboundSchema = objectType({
|
|
38005
|
+
links: APIErrorLinks$outboundSchema.optional(),
|
|
38006
|
+
code: NotFoundErrorCode$outboundSchema,
|
|
38007
|
+
title: NotFoundErrorTitle$outboundSchema,
|
|
38008
|
+
status: NotFoundErrorStatus$outboundSchema,
|
|
38009
|
+
source: ErrorSource$outboundSchema.optional(),
|
|
38010
|
+
detail: NotFoundErrorDetail$outboundSchema,
|
|
38011
|
+
meta: recordType(anyType()).optional()
|
|
37380
38012
|
});
|
|
37381
|
-
((
|
|
37382
|
-
|
|
37383
|
-
|
|
37384
|
-
})(
|
|
38013
|
+
((NotFoundError$) => {
|
|
38014
|
+
NotFoundError$.inboundSchema = NotFoundError$inboundSchema;
|
|
38015
|
+
NotFoundError$.outboundSchema = NotFoundError$outboundSchema;
|
|
38016
|
+
})(NotFoundError$ ||= {});
|
|
37385
38017
|
});
|
|
37386
38018
|
|
|
37387
38019
|
// src/models/components/unauthorizederror.ts
|
|
@@ -37459,20 +38091,26 @@ var init_components = __esm(() => {
|
|
|
37459
38091
|
init_apierrorcodes();
|
|
37460
38092
|
init_apierrorlinks();
|
|
37461
38093
|
init_applicantasset();
|
|
38094
|
+
init_application();
|
|
38095
|
+
init_asset();
|
|
37462
38096
|
init_assetconditiontypes();
|
|
37463
38097
|
init_assetspecifications();
|
|
37464
38098
|
init_assettypes();
|
|
37465
38099
|
init_consumerincometypes();
|
|
37466
38100
|
init_consumerliabilitytypes();
|
|
37467
38101
|
init_creditprofile();
|
|
38102
|
+
init_customer();
|
|
37468
38103
|
init_customerassettypes();
|
|
37469
38104
|
init_customerdisclaimer();
|
|
38105
|
+
init_customerprofile();
|
|
37470
38106
|
init_customertitle();
|
|
37471
38107
|
init_document();
|
|
37472
38108
|
init_documenttypes();
|
|
37473
38109
|
init_email();
|
|
37474
38110
|
init_employer();
|
|
37475
38111
|
init_employmenttypes();
|
|
38112
|
+
init_entity();
|
|
38113
|
+
init_entitystatus();
|
|
37476
38114
|
init_entitytype();
|
|
37477
38115
|
init_errorsource();
|
|
37478
38116
|
init_expense();
|
|
@@ -37483,38 +38121,42 @@ var init_components = __esm(() => {
|
|
|
37483
38121
|
init_forbiddenerror();
|
|
37484
38122
|
init_frequency();
|
|
37485
38123
|
init_idstate();
|
|
38124
|
+
init_idtype();
|
|
38125
|
+
init_income();
|
|
37486
38126
|
init_industrytypes();
|
|
37487
38127
|
init_internalservererror();
|
|
37488
38128
|
init_label();
|
|
38129
|
+
init_lendercredentials();
|
|
37489
38130
|
init_lenders();
|
|
38131
|
+
init_liability();
|
|
37490
38132
|
init_livingarrangements();
|
|
38133
|
+
init_loandetails();
|
|
37491
38134
|
init_loanpurposetype();
|
|
37492
38135
|
init_maritalstatus();
|
|
37493
38136
|
init_notfounderror();
|
|
37494
|
-
|
|
37495
|
-
init_pepperconsumercustomer();
|
|
37496
|
-
init_pepperconsumercustomerprofile();
|
|
37497
|
-
init_pepperconsumerincome();
|
|
37498
|
-
init_pepperconsumerliability();
|
|
37499
|
-
init_pepperconsumerloandetails();
|
|
37500
|
-
init_pepperconsumerrequest();
|
|
37501
|
-
init_pepperlendercredentials();
|
|
37502
|
-
init_peppersuccessresource();
|
|
38137
|
+
init_occupation();
|
|
37503
38138
|
init_phonenumber();
|
|
37504
38139
|
init_productdetails();
|
|
37505
38140
|
init_residentialstatus();
|
|
37506
38141
|
init_timestatus();
|
|
38142
|
+
init_typeofchangeexpected();
|
|
37507
38143
|
init_typeofsale();
|
|
37508
38144
|
init_unauthorizederror();
|
|
38145
|
+
init_user();
|
|
38146
|
+
init_whatareyoulookingforinyourloan();
|
|
38147
|
+
init_whatisthepurposeofthisapplication();
|
|
38148
|
+
init_whattodowithballoonpaymentattheendoftheloanterm();
|
|
38149
|
+
init_whydoesthisloantermsuityourrequirements();
|
|
38150
|
+
init_yesorno();
|
|
37509
38151
|
});
|
|
37510
38152
|
|
|
37511
|
-
// src/models/errors/
|
|
37512
|
-
var
|
|
37513
|
-
var
|
|
38153
|
+
// src/models/errors/createsubmission.ts
|
|
38154
|
+
var CreateSubmissionResponse500ResponseBody, CreateSubmissionResponse404ResponseBody, CreateSubmissionResponse403ResponseBody, CreateSubmissionResponseResponseBody, CreateSubmissionResponseBody, CreateSubmissionResponse500ResponseBody$inboundSchema, CreateSubmissionResponse500ResponseBody$outboundSchema, CreateSubmissionResponse500ResponseBody$, CreateSubmissionResponse404ResponseBody$inboundSchema, CreateSubmissionResponse404ResponseBody$outboundSchema, CreateSubmissionResponse404ResponseBody$, CreateSubmissionResponse403ResponseBody$inboundSchema, CreateSubmissionResponse403ResponseBody$outboundSchema, CreateSubmissionResponse403ResponseBody$, CreateSubmissionResponseResponseBody$inboundSchema, CreateSubmissionResponseResponseBody$outboundSchema, CreateSubmissionResponseResponseBody$, CreateSubmissionResponseBody$inboundSchema, CreateSubmissionResponseBody$outboundSchema, CreateSubmissionResponseBody$;
|
|
38155
|
+
var init_createsubmission = __esm(() => {
|
|
37514
38156
|
init_esm();
|
|
37515
38157
|
init_components();
|
|
37516
38158
|
init_financeablelenderserror();
|
|
37517
|
-
|
|
38159
|
+
CreateSubmissionResponse500ResponseBody = class CreateSubmissionResponse500ResponseBody extends FinanceableLendersError {
|
|
37518
38160
|
lender;
|
|
37519
38161
|
errors;
|
|
37520
38162
|
data$;
|
|
@@ -37524,10 +38166,10 @@ var init_createpepperconsumer = __esm(() => {
|
|
|
37524
38166
|
this.data$ = err;
|
|
37525
38167
|
this.lender = err.lender;
|
|
37526
38168
|
this.errors = err.errors;
|
|
37527
|
-
this.name = "
|
|
38169
|
+
this.name = "CreateSubmissionResponse500ResponseBody";
|
|
37528
38170
|
}
|
|
37529
38171
|
};
|
|
37530
|
-
|
|
38172
|
+
CreateSubmissionResponse404ResponseBody = class CreateSubmissionResponse404ResponseBody extends FinanceableLendersError {
|
|
37531
38173
|
lender;
|
|
37532
38174
|
errors;
|
|
37533
38175
|
data$;
|
|
@@ -37537,10 +38179,10 @@ var init_createpepperconsumer = __esm(() => {
|
|
|
37537
38179
|
this.data$ = err;
|
|
37538
38180
|
this.lender = err.lender;
|
|
37539
38181
|
this.errors = err.errors;
|
|
37540
|
-
this.name = "
|
|
38182
|
+
this.name = "CreateSubmissionResponse404ResponseBody";
|
|
37541
38183
|
}
|
|
37542
38184
|
};
|
|
37543
|
-
|
|
38185
|
+
CreateSubmissionResponse403ResponseBody = class CreateSubmissionResponse403ResponseBody extends FinanceableLendersError {
|
|
37544
38186
|
lender;
|
|
37545
38187
|
errors;
|
|
37546
38188
|
data$;
|
|
@@ -37550,10 +38192,10 @@ var init_createpepperconsumer = __esm(() => {
|
|
|
37550
38192
|
this.data$ = err;
|
|
37551
38193
|
this.lender = err.lender;
|
|
37552
38194
|
this.errors = err.errors;
|
|
37553
|
-
this.name = "
|
|
38195
|
+
this.name = "CreateSubmissionResponse403ResponseBody";
|
|
37554
38196
|
}
|
|
37555
38197
|
};
|
|
37556
|
-
|
|
38198
|
+
CreateSubmissionResponseResponseBody = class CreateSubmissionResponseResponseBody extends FinanceableLendersError {
|
|
37557
38199
|
lender;
|
|
37558
38200
|
errors;
|
|
37559
38201
|
data$;
|
|
@@ -37563,10 +38205,10 @@ var init_createpepperconsumer = __esm(() => {
|
|
|
37563
38205
|
this.data$ = err;
|
|
37564
38206
|
this.lender = err.lender;
|
|
37565
38207
|
this.errors = err.errors;
|
|
37566
|
-
this.name = "
|
|
38208
|
+
this.name = "CreateSubmissionResponseResponseBody";
|
|
37567
38209
|
}
|
|
37568
38210
|
};
|
|
37569
|
-
|
|
38211
|
+
CreateSubmissionResponseBody = class CreateSubmissionResponseBody extends FinanceableLendersError {
|
|
37570
38212
|
lender;
|
|
37571
38213
|
errors;
|
|
37572
38214
|
data$;
|
|
@@ -37576,159 +38218,183 @@ var init_createpepperconsumer = __esm(() => {
|
|
|
37576
38218
|
this.data$ = err;
|
|
37577
38219
|
this.lender = err.lender;
|
|
37578
38220
|
this.errors = err.errors;
|
|
37579
|
-
this.name = "
|
|
38221
|
+
this.name = "CreateSubmissionResponseBody";
|
|
37580
38222
|
}
|
|
37581
38223
|
};
|
|
37582
|
-
|
|
38224
|
+
CreateSubmissionResponse500ResponseBody$inboundSchema = objectType({
|
|
37583
38225
|
lender: Lenders$inboundSchema,
|
|
37584
38226
|
errors: arrayType(InternalServerError$inboundSchema),
|
|
37585
38227
|
request$: instanceOfType(Request),
|
|
37586
38228
|
response$: instanceOfType(Response),
|
|
37587
38229
|
body$: stringType()
|
|
37588
38230
|
}).transform((v2) => {
|
|
37589
|
-
return new
|
|
38231
|
+
return new CreateSubmissionResponse500ResponseBody(v2, {
|
|
37590
38232
|
request: v2.request$,
|
|
37591
38233
|
response: v2.response$,
|
|
37592
38234
|
body: v2.body$
|
|
37593
38235
|
});
|
|
37594
38236
|
});
|
|
37595
|
-
|
|
38237
|
+
CreateSubmissionResponse500ResponseBody$outboundSchema = instanceOfType(CreateSubmissionResponse500ResponseBody).transform((v2) => v2.data$).pipe(objectType({
|
|
37596
38238
|
lender: Lenders$outboundSchema,
|
|
37597
38239
|
errors: arrayType(InternalServerError$outboundSchema)
|
|
37598
38240
|
}));
|
|
37599
|
-
((
|
|
37600
|
-
|
|
37601
|
-
|
|
37602
|
-
})(
|
|
37603
|
-
|
|
38241
|
+
((CreateSubmissionResponse500ResponseBody$) => {
|
|
38242
|
+
CreateSubmissionResponse500ResponseBody$.inboundSchema = CreateSubmissionResponse500ResponseBody$inboundSchema;
|
|
38243
|
+
CreateSubmissionResponse500ResponseBody$.outboundSchema = CreateSubmissionResponse500ResponseBody$outboundSchema;
|
|
38244
|
+
})(CreateSubmissionResponse500ResponseBody$ ||= {});
|
|
38245
|
+
CreateSubmissionResponse404ResponseBody$inboundSchema = objectType({
|
|
37604
38246
|
lender: Lenders$inboundSchema,
|
|
37605
38247
|
errors: arrayType(NotFoundError$inboundSchema),
|
|
37606
38248
|
request$: instanceOfType(Request),
|
|
37607
38249
|
response$: instanceOfType(Response),
|
|
37608
38250
|
body$: stringType()
|
|
37609
38251
|
}).transform((v2) => {
|
|
37610
|
-
return new
|
|
38252
|
+
return new CreateSubmissionResponse404ResponseBody(v2, {
|
|
37611
38253
|
request: v2.request$,
|
|
37612
38254
|
response: v2.response$,
|
|
37613
38255
|
body: v2.body$
|
|
37614
38256
|
});
|
|
37615
38257
|
});
|
|
37616
|
-
|
|
38258
|
+
CreateSubmissionResponse404ResponseBody$outboundSchema = instanceOfType(CreateSubmissionResponse404ResponseBody).transform((v2) => v2.data$).pipe(objectType({
|
|
37617
38259
|
lender: Lenders$outboundSchema,
|
|
37618
38260
|
errors: arrayType(NotFoundError$outboundSchema)
|
|
37619
38261
|
}));
|
|
37620
|
-
((
|
|
37621
|
-
|
|
37622
|
-
|
|
37623
|
-
})(
|
|
37624
|
-
|
|
38262
|
+
((CreateSubmissionResponse404ResponseBody$) => {
|
|
38263
|
+
CreateSubmissionResponse404ResponseBody$.inboundSchema = CreateSubmissionResponse404ResponseBody$inboundSchema;
|
|
38264
|
+
CreateSubmissionResponse404ResponseBody$.outboundSchema = CreateSubmissionResponse404ResponseBody$outboundSchema;
|
|
38265
|
+
})(CreateSubmissionResponse404ResponseBody$ ||= {});
|
|
38266
|
+
CreateSubmissionResponse403ResponseBody$inboundSchema = objectType({
|
|
37625
38267
|
lender: Lenders$inboundSchema,
|
|
37626
38268
|
errors: arrayType(ForbiddenError$inboundSchema),
|
|
37627
38269
|
request$: instanceOfType(Request),
|
|
37628
38270
|
response$: instanceOfType(Response),
|
|
37629
38271
|
body$: stringType()
|
|
37630
38272
|
}).transform((v2) => {
|
|
37631
|
-
return new
|
|
38273
|
+
return new CreateSubmissionResponse403ResponseBody(v2, {
|
|
37632
38274
|
request: v2.request$,
|
|
37633
38275
|
response: v2.response$,
|
|
37634
38276
|
body: v2.body$
|
|
37635
38277
|
});
|
|
37636
38278
|
});
|
|
37637
|
-
|
|
38279
|
+
CreateSubmissionResponse403ResponseBody$outboundSchema = instanceOfType(CreateSubmissionResponse403ResponseBody).transform((v2) => v2.data$).pipe(objectType({
|
|
37638
38280
|
lender: Lenders$outboundSchema,
|
|
37639
38281
|
errors: arrayType(ForbiddenError$outboundSchema)
|
|
37640
38282
|
}));
|
|
37641
|
-
((
|
|
37642
|
-
|
|
37643
|
-
|
|
37644
|
-
})(
|
|
37645
|
-
|
|
38283
|
+
((CreateSubmissionResponse403ResponseBody$) => {
|
|
38284
|
+
CreateSubmissionResponse403ResponseBody$.inboundSchema = CreateSubmissionResponse403ResponseBody$inboundSchema;
|
|
38285
|
+
CreateSubmissionResponse403ResponseBody$.outboundSchema = CreateSubmissionResponse403ResponseBody$outboundSchema;
|
|
38286
|
+
})(CreateSubmissionResponse403ResponseBody$ ||= {});
|
|
38287
|
+
CreateSubmissionResponseResponseBody$inboundSchema = objectType({
|
|
37646
38288
|
lender: Lenders$inboundSchema,
|
|
37647
38289
|
errors: arrayType(UnauthorizedError$inboundSchema),
|
|
37648
38290
|
request$: instanceOfType(Request),
|
|
37649
38291
|
response$: instanceOfType(Response),
|
|
37650
38292
|
body$: stringType()
|
|
37651
38293
|
}).transform((v2) => {
|
|
37652
|
-
return new
|
|
38294
|
+
return new CreateSubmissionResponseResponseBody(v2, {
|
|
37653
38295
|
request: v2.request$,
|
|
37654
38296
|
response: v2.response$,
|
|
37655
38297
|
body: v2.body$
|
|
37656
38298
|
});
|
|
37657
38299
|
});
|
|
37658
|
-
|
|
38300
|
+
CreateSubmissionResponseResponseBody$outboundSchema = instanceOfType(CreateSubmissionResponseResponseBody).transform((v2) => v2.data$).pipe(objectType({
|
|
37659
38301
|
lender: Lenders$outboundSchema,
|
|
37660
38302
|
errors: arrayType(UnauthorizedError$outboundSchema)
|
|
37661
38303
|
}));
|
|
37662
|
-
((
|
|
37663
|
-
|
|
37664
|
-
|
|
37665
|
-
})(
|
|
37666
|
-
|
|
38304
|
+
((CreateSubmissionResponseResponseBody$) => {
|
|
38305
|
+
CreateSubmissionResponseResponseBody$.inboundSchema = CreateSubmissionResponseResponseBody$inboundSchema;
|
|
38306
|
+
CreateSubmissionResponseResponseBody$.outboundSchema = CreateSubmissionResponseResponseBody$outboundSchema;
|
|
38307
|
+
})(CreateSubmissionResponseResponseBody$ ||= {});
|
|
38308
|
+
CreateSubmissionResponseBody$inboundSchema = objectType({
|
|
37667
38309
|
lender: Lenders$inboundSchema,
|
|
37668
38310
|
errors: arrayType(arrayType(ApiError$inboundSchema)),
|
|
37669
38311
|
request$: instanceOfType(Request),
|
|
37670
38312
|
response$: instanceOfType(Response),
|
|
37671
38313
|
body$: stringType()
|
|
37672
38314
|
}).transform((v2) => {
|
|
37673
|
-
return new
|
|
38315
|
+
return new CreateSubmissionResponseBody(v2, {
|
|
37674
38316
|
request: v2.request$,
|
|
37675
38317
|
response: v2.response$,
|
|
37676
38318
|
body: v2.body$
|
|
37677
38319
|
});
|
|
37678
38320
|
});
|
|
37679
|
-
|
|
38321
|
+
CreateSubmissionResponseBody$outboundSchema = instanceOfType(CreateSubmissionResponseBody).transform((v2) => v2.data$).pipe(objectType({
|
|
37680
38322
|
lender: Lenders$outboundSchema,
|
|
37681
38323
|
errors: arrayType(arrayType(ApiError$outboundSchema))
|
|
37682
38324
|
}));
|
|
37683
|
-
((
|
|
37684
|
-
|
|
37685
|
-
|
|
37686
|
-
})(
|
|
38325
|
+
((CreateSubmissionResponseBody$) => {
|
|
38326
|
+
CreateSubmissionResponseBody$.inboundSchema = CreateSubmissionResponseBody$inboundSchema;
|
|
38327
|
+
CreateSubmissionResponseBody$.outboundSchema = CreateSubmissionResponseBody$outboundSchema;
|
|
38328
|
+
})(CreateSubmissionResponseBody$ ||= {});
|
|
37687
38329
|
});
|
|
37688
38330
|
|
|
37689
38331
|
// src/models/errors/index.ts
|
|
37690
38332
|
var init_errors2 = __esm(() => {
|
|
37691
38333
|
init_apierror();
|
|
37692
|
-
|
|
38334
|
+
init_createsubmission();
|
|
37693
38335
|
init_financeablelenderserror();
|
|
37694
38336
|
init_httpclienterrors();
|
|
37695
38337
|
init_responsevalidationerror();
|
|
37696
38338
|
init_sdkvalidationerror();
|
|
37697
38339
|
});
|
|
37698
38340
|
|
|
37699
|
-
// src/models/operations/
|
|
37700
|
-
var
|
|
37701
|
-
var
|
|
38341
|
+
// src/models/operations/createsubmission.ts
|
|
38342
|
+
var Type, CreateSubmissionRequest$inboundSchema, CreateSubmissionRequest$outboundSchema, CreateSubmissionRequest$, Type$inboundSchema, Type$outboundSchema, Type$, Data$inboundSchema, Data$outboundSchema, Data$, CreateSubmissionResponseBody$inboundSchema2, CreateSubmissionResponseBody$outboundSchema2, CreateSubmissionResponseBody$2;
|
|
38343
|
+
var init_createsubmission2 = __esm(() => {
|
|
37702
38344
|
init_esm();
|
|
37703
38345
|
init_components();
|
|
37704
|
-
|
|
37705
|
-
|
|
37706
|
-
};
|
|
37707
|
-
|
|
37708
|
-
|
|
37709
|
-
|
|
37710
|
-
|
|
37711
|
-
|
|
37712
|
-
})
|
|
37713
|
-
|
|
38346
|
+
Type = {
|
|
38347
|
+
Application: "application"
|
|
38348
|
+
};
|
|
38349
|
+
CreateSubmissionRequest$inboundSchema = objectType({
|
|
38350
|
+
lender: Lenders$inboundSchema
|
|
38351
|
+
});
|
|
38352
|
+
CreateSubmissionRequest$outboundSchema = objectType({
|
|
38353
|
+
lender: Lenders$outboundSchema
|
|
38354
|
+
});
|
|
38355
|
+
((CreateSubmissionRequest$) => {
|
|
38356
|
+
CreateSubmissionRequest$.inboundSchema = CreateSubmissionRequest$inboundSchema;
|
|
38357
|
+
CreateSubmissionRequest$.outboundSchema = CreateSubmissionRequest$outboundSchema;
|
|
38358
|
+
})(CreateSubmissionRequest$ ||= {});
|
|
38359
|
+
Type$inboundSchema = nativeEnumType(Type);
|
|
38360
|
+
Type$outboundSchema = Type$inboundSchema;
|
|
38361
|
+
((Type$) => {
|
|
38362
|
+
Type$.inboundSchema = Type$inboundSchema;
|
|
38363
|
+
Type$.outboundSchema = Type$outboundSchema;
|
|
38364
|
+
})(Type$ ||= {});
|
|
38365
|
+
Data$inboundSchema = objectType({
|
|
38366
|
+
id: stringType(),
|
|
38367
|
+
type: Type$inboundSchema,
|
|
38368
|
+
attributes: Application$inboundSchema.optional()
|
|
38369
|
+
});
|
|
38370
|
+
Data$outboundSchema = objectType({
|
|
38371
|
+
id: stringType(),
|
|
38372
|
+
type: Type$outboundSchema,
|
|
38373
|
+
attributes: Application$outboundSchema.optional()
|
|
38374
|
+
});
|
|
38375
|
+
((Data$) => {
|
|
38376
|
+
Data$.inboundSchema = Data$inboundSchema;
|
|
38377
|
+
Data$.outboundSchema = Data$outboundSchema;
|
|
38378
|
+
})(Data$ ||= {});
|
|
38379
|
+
CreateSubmissionResponseBody$inboundSchema2 = objectType({
|
|
37714
38380
|
success: booleanType(),
|
|
37715
|
-
data:
|
|
37716
|
-
lender:
|
|
38381
|
+
data: lazyType(() => Data$inboundSchema),
|
|
38382
|
+
lender: Lenders$inboundSchema
|
|
37717
38383
|
});
|
|
37718
|
-
|
|
38384
|
+
CreateSubmissionResponseBody$outboundSchema2 = objectType({
|
|
37719
38385
|
success: booleanType(),
|
|
37720
|
-
data:
|
|
37721
|
-
lender:
|
|
38386
|
+
data: lazyType(() => Data$outboundSchema),
|
|
38387
|
+
lender: Lenders$outboundSchema
|
|
37722
38388
|
});
|
|
37723
|
-
((
|
|
37724
|
-
|
|
37725
|
-
|
|
37726
|
-
})(
|
|
38389
|
+
((CreateSubmissionResponseBody$) => {
|
|
38390
|
+
CreateSubmissionResponseBody$.inboundSchema = CreateSubmissionResponseBody$inboundSchema2;
|
|
38391
|
+
CreateSubmissionResponseBody$.outboundSchema = CreateSubmissionResponseBody$outboundSchema2;
|
|
38392
|
+
})(CreateSubmissionResponseBody$2 ||= {});
|
|
37727
38393
|
});
|
|
37728
38394
|
|
|
37729
38395
|
// src/models/operations/index.ts
|
|
37730
38396
|
var init_operations = __esm(() => {
|
|
37731
|
-
|
|
38397
|
+
init_createsubmission2();
|
|
37732
38398
|
});
|
|
37733
38399
|
|
|
37734
38400
|
// src/types/async.ts
|
|
@@ -37757,26 +38423,28 @@ var init_async = __esm(() => {
|
|
|
37757
38423
|
};
|
|
37758
38424
|
});
|
|
37759
38425
|
|
|
37760
|
-
// src/funcs/
|
|
37761
|
-
function
|
|
38426
|
+
// src/funcs/createSubmission.ts
|
|
38427
|
+
function createSubmission(client, request, options) {
|
|
37762
38428
|
return new APIPromise($do(client, request, options));
|
|
37763
38429
|
}
|
|
37764
38430
|
async function $do(client, request, options) {
|
|
37765
|
-
const parsed = safeParse(request, (value) =>
|
|
38431
|
+
const parsed = safeParse(request, (value) => CreateSubmissionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
37766
38432
|
if (!parsed.ok) {
|
|
37767
38433
|
return [parsed, { status: "invalid" }];
|
|
37768
38434
|
}
|
|
37769
38435
|
const payload = parsed.value;
|
|
37770
|
-
const body =
|
|
37771
|
-
const path = pathToFunc("/
|
|
38436
|
+
const body = null;
|
|
38437
|
+
const path = pathToFunc("/v1/submissions")();
|
|
38438
|
+
const query = encodeFormQuery({
|
|
38439
|
+
lender: payload.lender
|
|
38440
|
+
}, { explode: false });
|
|
37772
38441
|
const headers = new Headers(compactMap({
|
|
37773
|
-
"Content-Type": "application/json",
|
|
37774
38442
|
Accept: "application/json"
|
|
37775
38443
|
}));
|
|
37776
38444
|
const context = {
|
|
37777
38445
|
options: client._options,
|
|
37778
38446
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
37779
|
-
operationID: "
|
|
38447
|
+
operationID: "createSubmission",
|
|
37780
38448
|
oAuth2Scopes: null,
|
|
37781
38449
|
resolvedSecurity: null,
|
|
37782
38450
|
securitySource: null,
|
|
@@ -37788,6 +38456,7 @@ async function $do(client, request, options) {
|
|
|
37788
38456
|
baseURL: options?.serverURL,
|
|
37789
38457
|
path,
|
|
37790
38458
|
headers,
|
|
38459
|
+
query,
|
|
37791
38460
|
body,
|
|
37792
38461
|
userAgent: client._options.userAgent,
|
|
37793
38462
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -37809,39 +38478,38 @@ async function $do(client, request, options) {
|
|
|
37809
38478
|
const responseFields = {
|
|
37810
38479
|
HttpMeta: { Response: response, Request: req }
|
|
37811
38480
|
};
|
|
37812
|
-
const [result] = await match(json(201,
|
|
38481
|
+
const [result] = await match(json(201, CreateSubmissionResponseBody$inboundSchema2), jsonErr(400, CreateSubmissionResponseBody$inboundSchema), jsonErr(401, CreateSubmissionResponseResponseBody$inboundSchema), jsonErr(403, CreateSubmissionResponse403ResponseBody$inboundSchema), jsonErr(404, CreateSubmissionResponse404ResponseBody$inboundSchema), jsonErr(500, CreateSubmissionResponse500ResponseBody$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
37813
38482
|
if (!result.ok) {
|
|
37814
38483
|
return [result, { status: "complete", request: req, response }];
|
|
37815
38484
|
}
|
|
37816
38485
|
return [result, { status: "complete", request: req, response }];
|
|
37817
38486
|
}
|
|
37818
|
-
var
|
|
38487
|
+
var init_createSubmission = __esm(() => {
|
|
37819
38488
|
init_encodings();
|
|
37820
38489
|
init_matchers();
|
|
37821
38490
|
init_primitives();
|
|
37822
38491
|
init_schemas();
|
|
37823
38492
|
init_url();
|
|
37824
|
-
init_components();
|
|
37825
38493
|
init_errors2();
|
|
37826
38494
|
init_operations();
|
|
37827
38495
|
init_async();
|
|
37828
38496
|
});
|
|
37829
38497
|
|
|
37830
|
-
// src/mcp-server/tools/
|
|
37831
|
-
var args, tool$
|
|
37832
|
-
var
|
|
37833
|
-
|
|
37834
|
-
|
|
38498
|
+
// src/mcp-server/tools/createSubmission.ts
|
|
38499
|
+
var args, tool$createSubmission;
|
|
38500
|
+
var init_createSubmission2 = __esm(() => {
|
|
38501
|
+
init_createSubmission();
|
|
38502
|
+
init_operations();
|
|
37835
38503
|
init_tools();
|
|
37836
38504
|
args = {
|
|
37837
|
-
request:
|
|
38505
|
+
request: CreateSubmissionRequest$inboundSchema
|
|
37838
38506
|
};
|
|
37839
|
-
tool$
|
|
37840
|
-
name: "
|
|
37841
|
-
description: `
|
|
38507
|
+
tool$createSubmission = {
|
|
38508
|
+
name: "create-submission",
|
|
38509
|
+
description: `Submission route`,
|
|
37842
38510
|
args,
|
|
37843
38511
|
tool: async (client, args2, ctx) => {
|
|
37844
|
-
const [result, apiCall] = await
|
|
38512
|
+
const [result, apiCall] = await createSubmission(client, args2.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
37845
38513
|
if (!result.ok) {
|
|
37846
38514
|
return {
|
|
37847
38515
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -37858,7 +38526,7 @@ var init_consumersCreatePepper2 = __esm(() => {
|
|
|
37858
38526
|
function createMCPServer(deps) {
|
|
37859
38527
|
const server = new McpServer({
|
|
37860
38528
|
name: "FinanceableLenders",
|
|
37861
|
-
version: "0.
|
|
38529
|
+
version: "0.3.0"
|
|
37862
38530
|
});
|
|
37863
38531
|
const client = new FinanceableLendersCore({
|
|
37864
38532
|
serverURL: deps.serverURL,
|
|
@@ -37871,7 +38539,7 @@ function createMCPServer(deps) {
|
|
|
37871
38539
|
const resourceTemplate = createRegisterResourceTemplate(deps.logger, server, client, scopes);
|
|
37872
38540
|
const prompt = createRegisterPrompt(deps.logger, server, client, scopes);
|
|
37873
38541
|
const register = { tool, resource, resourceTemplate, prompt };
|
|
37874
|
-
tool(tool$
|
|
38542
|
+
tool(tool$createSubmission);
|
|
37875
38543
|
return server;
|
|
37876
38544
|
}
|
|
37877
38545
|
var init_server2 = __esm(() => {
|
|
@@ -37879,7 +38547,7 @@ var init_server2 = __esm(() => {
|
|
|
37879
38547
|
init_core();
|
|
37880
38548
|
init_resources();
|
|
37881
38549
|
init_tools();
|
|
37882
|
-
|
|
38550
|
+
init_createSubmission2();
|
|
37883
38551
|
});
|
|
37884
38552
|
|
|
37885
38553
|
// src/mcp-server/cli/start/impl.ts
|
|
@@ -39047,7 +39715,7 @@ var routes = rn({
|
|
|
39047
39715
|
var app = Ve(routes, {
|
|
39048
39716
|
name: "mcp",
|
|
39049
39717
|
versionInfo: {
|
|
39050
|
-
currentVersion: "0.
|
|
39718
|
+
currentVersion: "0.3.0"
|
|
39051
39719
|
}
|
|
39052
39720
|
});
|
|
39053
39721
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -39055,5 +39723,5 @@ export {
|
|
|
39055
39723
|
app
|
|
39056
39724
|
};
|
|
39057
39725
|
|
|
39058
|
-
//# debugId=
|
|
39726
|
+
//# debugId=25BE0248CEB0952764756E2164756E21
|
|
39059
39727
|
//# sourceMappingURL=mcp-server.js.map
|