@financeable/aggregation 0.10.1 → 0.11.0-alpha.1
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/README.md +109 -0
- package/docs/sdks/assets/README.md +369 -0
- package/docs/sdks/customeraddresses/README.md +469 -0
- package/docs/sdks/customerassets/README.md +397 -0
- package/docs/sdks/customerexpenses/README.md +397 -0
- package/docs/sdks/customerincome/README.md +397 -0
- package/docs/sdks/customerliabilities/README.md +397 -0
- package/docs/sdks/customers/README.md +311 -0
- package/docs/sdks/entities/README.md +367 -0
- package/docs/sdks/loandetails/README.md +311 -0
- package/examples/package-lock.json +1 -1
- package/funcs/assetsAssetsCreate.d.ts +14 -0
- package/funcs/assetsAssetsCreate.d.ts.map +1 -0
- package/funcs/assetsAssetsCreate.js +113 -0
- package/funcs/assetsAssetsCreate.js.map +1 -0
- package/funcs/assetsAssetsDelete.d.ts +14 -0
- package/funcs/assetsAssetsDelete.d.ts.map +1 -0
- package/funcs/assetsAssetsDelete.js +118 -0
- package/funcs/assetsAssetsDelete.js.map +1 -0
- package/funcs/assetsAssetsGet.d.ts +14 -0
- package/funcs/assetsAssetsGet.d.ts.map +1 -0
- package/funcs/assetsAssetsGet.js +118 -0
- package/funcs/assetsAssetsGet.js.map +1 -0
- package/funcs/assetsAssetsUpdate.d.ts +14 -0
- package/funcs/assetsAssetsUpdate.d.ts.map +1 -0
- package/funcs/assetsAssetsUpdate.js +119 -0
- package/funcs/assetsAssetsUpdate.js.map +1 -0
- package/funcs/customerAddressesCustomerAddressesCreate.d.ts +14 -0
- package/funcs/customerAddressesCustomerAddressesCreate.d.ts.map +1 -0
- package/funcs/customerAddressesCustomerAddressesCreate.js +119 -0
- package/funcs/customerAddressesCustomerAddressesCreate.js.map +1 -0
- package/funcs/customerAddressesCustomerAddressesDelete.d.ts +14 -0
- package/funcs/customerAddressesCustomerAddressesDelete.d.ts.map +1 -0
- package/funcs/customerAddressesCustomerAddressesDelete.js +122 -0
- package/funcs/customerAddressesCustomerAddressesDelete.js.map +1 -0
- package/funcs/customerAddressesCustomerAddressesGet.d.ts +14 -0
- package/funcs/customerAddressesCustomerAddressesGet.d.ts.map +1 -0
- package/funcs/customerAddressesCustomerAddressesGet.js +122 -0
- package/funcs/customerAddressesCustomerAddressesGet.js.map +1 -0
- package/funcs/customerAddressesCustomerAddressesList.d.ts +14 -0
- package/funcs/customerAddressesCustomerAddressesList.d.ts.map +1 -0
- package/funcs/customerAddressesCustomerAddressesList.js +118 -0
- package/funcs/customerAddressesCustomerAddressesList.js.map +1 -0
- package/funcs/customerAddressesCustomerAddressesUpdate.d.ts +14 -0
- package/funcs/customerAddressesCustomerAddressesUpdate.d.ts.map +1 -0
- package/funcs/customerAddressesCustomerAddressesUpdate.js +123 -0
- package/funcs/customerAddressesCustomerAddressesUpdate.js.map +1 -0
- package/funcs/customerAssetsCustomerAssetsCreate.d.ts +14 -0
- package/funcs/customerAssetsCustomerAssetsCreate.d.ts.map +1 -0
- package/funcs/customerAssetsCustomerAssetsCreate.js +119 -0
- package/funcs/customerAssetsCustomerAssetsCreate.js.map +1 -0
- package/funcs/customerAssetsCustomerAssetsDelete.d.ts +14 -0
- package/funcs/customerAssetsCustomerAssetsDelete.d.ts.map +1 -0
- package/funcs/customerAssetsCustomerAssetsDelete.js +122 -0
- package/funcs/customerAssetsCustomerAssetsDelete.js.map +1 -0
- package/funcs/customerAssetsCustomerAssetsGet.d.ts +14 -0
- package/funcs/customerAssetsCustomerAssetsGet.d.ts.map +1 -0
- package/funcs/customerAssetsCustomerAssetsGet.js +122 -0
- package/funcs/customerAssetsCustomerAssetsGet.js.map +1 -0
- package/funcs/customerAssetsCustomerAssetsList.d.ts +14 -0
- package/funcs/customerAssetsCustomerAssetsList.d.ts.map +1 -0
- package/funcs/customerAssetsCustomerAssetsList.js +118 -0
- package/funcs/customerAssetsCustomerAssetsList.js.map +1 -0
- package/funcs/customerAssetsCustomerAssetsUpdate.d.ts +14 -0
- package/funcs/customerAssetsCustomerAssetsUpdate.d.ts.map +1 -0
- package/funcs/customerAssetsCustomerAssetsUpdate.js +123 -0
- package/funcs/customerAssetsCustomerAssetsUpdate.js.map +1 -0
- package/funcs/customerExpensesCustomerExpensesCreate.d.ts +14 -0
- package/funcs/customerExpensesCustomerExpensesCreate.d.ts.map +1 -0
- package/funcs/customerExpensesCustomerExpensesCreate.js +119 -0
- package/funcs/customerExpensesCustomerExpensesCreate.js.map +1 -0
- package/funcs/customerExpensesCustomerExpensesDelete.d.ts +14 -0
- package/funcs/customerExpensesCustomerExpensesDelete.d.ts.map +1 -0
- package/funcs/customerExpensesCustomerExpensesDelete.js +122 -0
- package/funcs/customerExpensesCustomerExpensesDelete.js.map +1 -0
- package/funcs/customerExpensesCustomerExpensesGet.d.ts +14 -0
- package/funcs/customerExpensesCustomerExpensesGet.d.ts.map +1 -0
- package/funcs/customerExpensesCustomerExpensesGet.js +122 -0
- package/funcs/customerExpensesCustomerExpensesGet.js.map +1 -0
- package/funcs/customerExpensesCustomerExpensesList.d.ts +14 -0
- package/funcs/customerExpensesCustomerExpensesList.d.ts.map +1 -0
- package/funcs/customerExpensesCustomerExpensesList.js +118 -0
- package/funcs/customerExpensesCustomerExpensesList.js.map +1 -0
- package/funcs/customerExpensesCustomerExpensesUpdate.d.ts +14 -0
- package/funcs/customerExpensesCustomerExpensesUpdate.d.ts.map +1 -0
- package/funcs/customerExpensesCustomerExpensesUpdate.js +123 -0
- package/funcs/customerExpensesCustomerExpensesUpdate.js.map +1 -0
- package/funcs/customerIncomeCustomerIncomeCreate.d.ts +14 -0
- package/funcs/customerIncomeCustomerIncomeCreate.d.ts.map +1 -0
- package/funcs/customerIncomeCustomerIncomeCreate.js +119 -0
- package/funcs/customerIncomeCustomerIncomeCreate.js.map +1 -0
- package/funcs/customerIncomeCustomerIncomeDelete.d.ts +14 -0
- package/funcs/customerIncomeCustomerIncomeDelete.d.ts.map +1 -0
- package/funcs/customerIncomeCustomerIncomeDelete.js +122 -0
- package/funcs/customerIncomeCustomerIncomeDelete.js.map +1 -0
- package/funcs/customerIncomeCustomerIncomeGet.d.ts +14 -0
- package/funcs/customerIncomeCustomerIncomeGet.d.ts.map +1 -0
- package/funcs/customerIncomeCustomerIncomeGet.js +122 -0
- package/funcs/customerIncomeCustomerIncomeGet.js.map +1 -0
- package/funcs/customerIncomeCustomerIncomeList.d.ts +14 -0
- package/funcs/customerIncomeCustomerIncomeList.d.ts.map +1 -0
- package/funcs/customerIncomeCustomerIncomeList.js +118 -0
- package/funcs/customerIncomeCustomerIncomeList.js.map +1 -0
- package/funcs/customerIncomeCustomerIncomeUpdate.d.ts +14 -0
- package/funcs/customerIncomeCustomerIncomeUpdate.d.ts.map +1 -0
- package/funcs/customerIncomeCustomerIncomeUpdate.js +123 -0
- package/funcs/customerIncomeCustomerIncomeUpdate.js.map +1 -0
- package/funcs/customerLiabilitiesCustomerLiabilitiesCreate.d.ts +14 -0
- package/funcs/customerLiabilitiesCustomerLiabilitiesCreate.d.ts.map +1 -0
- package/funcs/customerLiabilitiesCustomerLiabilitiesCreate.js +119 -0
- package/funcs/customerLiabilitiesCustomerLiabilitiesCreate.js.map +1 -0
- package/funcs/customerLiabilitiesCustomerLiabilitiesDelete.d.ts +14 -0
- package/funcs/customerLiabilitiesCustomerLiabilitiesDelete.d.ts.map +1 -0
- package/funcs/customerLiabilitiesCustomerLiabilitiesDelete.js +122 -0
- package/funcs/customerLiabilitiesCustomerLiabilitiesDelete.js.map +1 -0
- package/funcs/customerLiabilitiesCustomerLiabilitiesGet.d.ts +14 -0
- package/funcs/customerLiabilitiesCustomerLiabilitiesGet.d.ts.map +1 -0
- package/funcs/customerLiabilitiesCustomerLiabilitiesGet.js +122 -0
- package/funcs/customerLiabilitiesCustomerLiabilitiesGet.js.map +1 -0
- package/funcs/customerLiabilitiesCustomerLiabilitiesList.d.ts +14 -0
- package/funcs/customerLiabilitiesCustomerLiabilitiesList.d.ts.map +1 -0
- package/funcs/customerLiabilitiesCustomerLiabilitiesList.js +118 -0
- package/funcs/customerLiabilitiesCustomerLiabilitiesList.js.map +1 -0
- package/funcs/customerLiabilitiesCustomerLiabilitiesUpdate.d.ts +14 -0
- package/funcs/customerLiabilitiesCustomerLiabilitiesUpdate.d.ts.map +1 -0
- package/funcs/customerLiabilitiesCustomerLiabilitiesUpdate.js +123 -0
- package/funcs/customerLiabilitiesCustomerLiabilitiesUpdate.js.map +1 -0
- package/funcs/customersCustomersCreate.d.ts +14 -0
- package/funcs/customersCustomersCreate.d.ts.map +1 -0
- package/funcs/customersCustomersCreate.js +113 -0
- package/funcs/customersCustomersCreate.js.map +1 -0
- package/funcs/customersCustomersDelete.d.ts +14 -0
- package/funcs/customersCustomersDelete.d.ts.map +1 -0
- package/funcs/customersCustomersDelete.js +118 -0
- package/funcs/customersCustomersDelete.js.map +1 -0
- package/funcs/customersCustomersGet.d.ts +14 -0
- package/funcs/customersCustomersGet.d.ts.map +1 -0
- package/funcs/customersCustomersGet.js +118 -0
- package/funcs/customersCustomersGet.js.map +1 -0
- package/funcs/customersCustomersUpdate.d.ts +14 -0
- package/funcs/customersCustomersUpdate.d.ts.map +1 -0
- package/funcs/customersCustomersUpdate.js +119 -0
- package/funcs/customersCustomersUpdate.js.map +1 -0
- package/funcs/entitiesEntitiesCreate.d.ts +14 -0
- package/funcs/entitiesEntitiesCreate.d.ts.map +1 -0
- package/funcs/entitiesEntitiesCreate.js +113 -0
- package/funcs/entitiesEntitiesCreate.js.map +1 -0
- package/funcs/entitiesEntitiesDelete.d.ts +14 -0
- package/funcs/entitiesEntitiesDelete.d.ts.map +1 -0
- package/funcs/entitiesEntitiesDelete.js +118 -0
- package/funcs/entitiesEntitiesDelete.js.map +1 -0
- package/funcs/entitiesEntitiesGet.d.ts +14 -0
- package/funcs/entitiesEntitiesGet.d.ts.map +1 -0
- package/funcs/entitiesEntitiesGet.js +118 -0
- package/funcs/entitiesEntitiesGet.js.map +1 -0
- package/funcs/entitiesEntitiesUpdate.d.ts +14 -0
- package/funcs/entitiesEntitiesUpdate.d.ts.map +1 -0
- package/funcs/entitiesEntitiesUpdate.js +119 -0
- package/funcs/entitiesEntitiesUpdate.js.map +1 -0
- package/funcs/loanDetailsLoanDetailsCreate.d.ts +14 -0
- package/funcs/loanDetailsLoanDetailsCreate.d.ts.map +1 -0
- package/funcs/loanDetailsLoanDetailsCreate.js +113 -0
- package/funcs/loanDetailsLoanDetailsCreate.js.map +1 -0
- package/funcs/loanDetailsLoanDetailsDelete.d.ts +14 -0
- package/funcs/loanDetailsLoanDetailsDelete.d.ts.map +1 -0
- package/funcs/loanDetailsLoanDetailsDelete.js +118 -0
- package/funcs/loanDetailsLoanDetailsDelete.js.map +1 -0
- package/funcs/loanDetailsLoanDetailsGet.d.ts +14 -0
- package/funcs/loanDetailsLoanDetailsGet.d.ts.map +1 -0
- package/funcs/loanDetailsLoanDetailsGet.js +118 -0
- package/funcs/loanDetailsLoanDetailsGet.js.map +1 -0
- package/funcs/loanDetailsLoanDetailsUpdate.d.ts +14 -0
- package/funcs/loanDetailsLoanDetailsUpdate.d.ts.map +1 -0
- package/funcs/loanDetailsLoanDetailsUpdate.js +119 -0
- package/funcs/loanDetailsLoanDetailsUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/models/components/commercialsecuredloanassetattributesupdate.d.ts +383 -0
- package/models/components/commercialsecuredloanassetattributesupdate.d.ts.map +1 -0
- package/models/components/commercialsecuredloanassetattributesupdate.js +341 -0
- package/models/components/commercialsecuredloanassetattributesupdate.js.map +1 -0
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +3 -3
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js +3 -3
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -1
- package/models/components/consumersecuredloanassetattributesupdate.d.ts +383 -0
- package/models/components/consumersecuredloanassetattributesupdate.d.ts.map +1 -0
- package/models/components/consumersecuredloanassetattributesupdate.js +331 -0
- package/models/components/consumersecuredloanassetattributesupdate.js.map +1 -0
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +3 -3
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js +3 -3
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -1
- package/models/components/customerassetattributesupdate.d.ts +37 -0
- package/models/components/customerassetattributesupdate.d.ts.map +1 -0
- package/models/components/customerassetattributesupdate.js +77 -0
- package/models/components/customerassetattributesupdate.js.map +1 -0
- package/models/components/customerattributes.d.ts +0 -22
- package/models/components/customerattributes.d.ts.map +1 -1
- package/models/components/customerattributes.js +0 -10
- package/models/components/customerattributes.js.map +1 -1
- package/models/components/customerattributescreate.d.ts +112 -0
- package/models/components/customerattributescreate.d.ts.map +1 -0
- package/models/components/customerattributescreate.js +110 -0
- package/models/components/customerattributescreate.js.map +1 -0
- package/models/components/customerattributescreateitem.d.ts +112 -0
- package/models/components/customerattributescreateitem.d.ts.map +1 -0
- package/models/components/customerattributescreateitem.js +110 -0
- package/models/components/customerattributescreateitem.js.map +1 -0
- package/models/components/customerattributesupdate.d.ts +90 -0
- package/models/components/customerattributesupdate.d.ts.map +1 -0
- package/models/components/customerattributesupdate.js +101 -0
- package/models/components/customerattributesupdate.js.map +1 -0
- package/models/components/customerliabilityattributesupdate.d.ts +46 -0
- package/models/components/customerliabilityattributesupdate.d.ts.map +1 -0
- package/models/components/customerliabilityattributesupdate.js +88 -0
- package/models/components/customerliabilityattributesupdate.js.map +1 -0
- package/models/components/expenseattributesupdate.d.ts +38 -0
- package/models/components/expenseattributesupdate.d.ts.map +1 -0
- package/models/components/expenseattributesupdate.js +78 -0
- package/models/components/expenseattributesupdate.js.map +1 -0
- package/models/components/incomeattributesupdate.d.ts +38 -0
- package/models/components/incomeattributesupdate.d.ts.map +1 -0
- package/models/components/incomeattributesupdate.js +78 -0
- package/models/components/incomeattributesupdate.js.map +1 -0
- package/models/components/index.d.ts +13 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +13 -0
- package/models/components/index.js.map +1 -1
- package/models/components/linkobjectupdate.d.ts +47 -0
- package/models/components/linkobjectupdate.d.ts.map +1 -0
- package/models/components/linkobjectupdate.js +77 -0
- package/models/components/linkobjectupdate.js.map +1 -0
- package/models/components/loandetailsattributesupdate.d.ts +360 -0
- package/models/components/loandetailsattributesupdate.d.ts.map +1 -0
- package/models/components/loandetailsattributesupdate.js +387 -0
- package/models/components/loandetailsattributesupdate.js.map +1 -0
- package/models/components/monetaryquantityupdate.d.ts +63 -0
- package/models/components/monetaryquantityupdate.d.ts.map +1 -0
- package/models/components/monetaryquantityupdate.js +92 -0
- package/models/components/monetaryquantityupdate.js.map +1 -0
- package/models/components/percentagequantityupdate.d.ts +57 -0
- package/models/components/percentagequantityupdate.d.ts.map +1 -0
- package/models/components/percentagequantityupdate.js +89 -0
- package/models/components/percentagequantityupdate.js.map +1 -0
- package/models/operations/assetscreate.d.ts +337 -0
- package/models/operations/assetscreate.d.ts.map +1 -0
- package/models/operations/assetscreate.js +400 -0
- package/models/operations/assetscreate.js.map +1 -0
- package/models/operations/assetsdelete.d.ts +58 -0
- package/models/operations/assetsdelete.d.ts.map +1 -0
- package/models/operations/assetsdelete.js +97 -0
- package/models/operations/assetsdelete.js.map +1 -0
- package/models/operations/assetsget.d.ts +255 -0
- package/models/operations/assetsget.d.ts.map +1 -0
- package/models/operations/assetsget.js +314 -0
- package/models/operations/assetsget.js.map +1 -0
- package/models/operations/assetsupdate.d.ts +364 -0
- package/models/operations/assetsupdate.d.ts.map +1 -0
- package/models/operations/assetsupdate.js +438 -0
- package/models/operations/assetsupdate.js.map +1 -0
- package/models/operations/createapplication.d.ts +8 -8
- package/models/operations/createapplication.d.ts.map +1 -1
- package/models/operations/createapplication.js +14 -14
- package/models/operations/createapplication.js.map +1 -1
- package/models/operations/customeraddressescreate.d.ts +322 -0
- package/models/operations/customeraddressescreate.d.ts.map +1 -0
- package/models/operations/customeraddressescreate.js +369 -0
- package/models/operations/customeraddressescreate.js.map +1 -0
- package/models/operations/customeraddressesdelete.d.ts +60 -0
- package/models/operations/customeraddressesdelete.d.ts.map +1 -0
- package/models/operations/customeraddressesdelete.js +99 -0
- package/models/operations/customeraddressesdelete.js.map +1 -0
- package/models/operations/customeraddressesget.d.ts +236 -0
- package/models/operations/customeraddressesget.d.ts.map +1 -0
- package/models/operations/customeraddressesget.js +281 -0
- package/models/operations/customeraddressesget.js.map +1 -0
- package/models/operations/customeraddresseslist.d.ts +234 -0
- package/models/operations/customeraddresseslist.d.ts.map +1 -0
- package/models/operations/customeraddresseslist.js +279 -0
- package/models/operations/customeraddresseslist.js.map +1 -0
- package/models/operations/customeraddressesupdate.d.ts +324 -0
- package/models/operations/customeraddressesupdate.d.ts.map +1 -0
- package/models/operations/customeraddressesupdate.js +371 -0
- package/models/operations/customeraddressesupdate.js.map +1 -0
- package/models/operations/customerassetscreate.d.ts +322 -0
- package/models/operations/customerassetscreate.d.ts.map +1 -0
- package/models/operations/customerassetscreate.js +368 -0
- package/models/operations/customerassetscreate.js.map +1 -0
- package/models/operations/customerassetsdelete.d.ts +60 -0
- package/models/operations/customerassetsdelete.d.ts.map +1 -0
- package/models/operations/customerassetsdelete.js +99 -0
- package/models/operations/customerassetsdelete.js.map +1 -0
- package/models/operations/customerassetsget.d.ts +236 -0
- package/models/operations/customerassetsget.d.ts.map +1 -0
- package/models/operations/customerassetsget.js +281 -0
- package/models/operations/customerassetsget.js.map +1 -0
- package/models/operations/customerassetslist.d.ts +234 -0
- package/models/operations/customerassetslist.d.ts.map +1 -0
- package/models/operations/customerassetslist.js +279 -0
- package/models/operations/customerassetslist.js.map +1 -0
- package/models/operations/customerassetsupdate.d.ts +324 -0
- package/models/operations/customerassetsupdate.d.ts.map +1 -0
- package/models/operations/customerassetsupdate.js +371 -0
- package/models/operations/customerassetsupdate.js.map +1 -0
- package/models/operations/customerexpensescreate.d.ts +322 -0
- package/models/operations/customerexpensescreate.d.ts.map +1 -0
- package/models/operations/customerexpensescreate.js +369 -0
- package/models/operations/customerexpensescreate.js.map +1 -0
- package/models/operations/customerexpensesdelete.d.ts +60 -0
- package/models/operations/customerexpensesdelete.d.ts.map +1 -0
- package/models/operations/customerexpensesdelete.js +99 -0
- package/models/operations/customerexpensesdelete.js.map +1 -0
- package/models/operations/customerexpensesget.d.ts +236 -0
- package/models/operations/customerexpensesget.d.ts.map +1 -0
- package/models/operations/customerexpensesget.js +281 -0
- package/models/operations/customerexpensesget.js.map +1 -0
- package/models/operations/customerexpenseslist.d.ts +234 -0
- package/models/operations/customerexpenseslist.d.ts.map +1 -0
- package/models/operations/customerexpenseslist.js +279 -0
- package/models/operations/customerexpenseslist.js.map +1 -0
- package/models/operations/customerexpensesupdate.d.ts +324 -0
- package/models/operations/customerexpensesupdate.d.ts.map +1 -0
- package/models/operations/customerexpensesupdate.js +371 -0
- package/models/operations/customerexpensesupdate.js.map +1 -0
- package/models/operations/customerincomecreate.d.ts +322 -0
- package/models/operations/customerincomecreate.d.ts.map +1 -0
- package/models/operations/customerincomecreate.js +368 -0
- package/models/operations/customerincomecreate.js.map +1 -0
- package/models/operations/customerincomedelete.d.ts +60 -0
- package/models/operations/customerincomedelete.d.ts.map +1 -0
- package/models/operations/customerincomedelete.js +99 -0
- package/models/operations/customerincomedelete.js.map +1 -0
- package/models/operations/customerincomeget.d.ts +236 -0
- package/models/operations/customerincomeget.d.ts.map +1 -0
- package/models/operations/customerincomeget.js +281 -0
- package/models/operations/customerincomeget.js.map +1 -0
- package/models/operations/customerincomelist.d.ts +234 -0
- package/models/operations/customerincomelist.d.ts.map +1 -0
- package/models/operations/customerincomelist.js +279 -0
- package/models/operations/customerincomelist.js.map +1 -0
- package/models/operations/customerincomeupdate.d.ts +324 -0
- package/models/operations/customerincomeupdate.d.ts.map +1 -0
- package/models/operations/customerincomeupdate.js +370 -0
- package/models/operations/customerincomeupdate.js.map +1 -0
- package/models/operations/customerliabilitiescreate.d.ts +322 -0
- package/models/operations/customerliabilitiescreate.d.ts.map +1 -0
- package/models/operations/customerliabilitiescreate.js +371 -0
- package/models/operations/customerliabilitiescreate.js.map +1 -0
- package/models/operations/customerliabilitiesdelete.d.ts +60 -0
- package/models/operations/customerliabilitiesdelete.d.ts.map +1 -0
- package/models/operations/customerliabilitiesdelete.js +99 -0
- package/models/operations/customerliabilitiesdelete.js.map +1 -0
- package/models/operations/customerliabilitiesget.d.ts +236 -0
- package/models/operations/customerliabilitiesget.d.ts.map +1 -0
- package/models/operations/customerliabilitiesget.js +281 -0
- package/models/operations/customerliabilitiesget.js.map +1 -0
- package/models/operations/customerliabilitieslist.d.ts +234 -0
- package/models/operations/customerliabilitieslist.d.ts.map +1 -0
- package/models/operations/customerliabilitieslist.js +280 -0
- package/models/operations/customerliabilitieslist.js.map +1 -0
- package/models/operations/customerliabilitiesupdate.d.ts +324 -0
- package/models/operations/customerliabilitiesupdate.d.ts.map +1 -0
- package/models/operations/customerliabilitiesupdate.js +375 -0
- package/models/operations/customerliabilitiesupdate.js.map +1 -0
- package/models/operations/customerscreate.d.ts +301 -0
- package/models/operations/customerscreate.d.ts.map +1 -0
- package/models/operations/customerscreate.js +330 -0
- package/models/operations/customerscreate.js.map +1 -0
- package/models/operations/customersdelete.d.ts +58 -0
- package/models/operations/customersdelete.d.ts.map +1 -0
- package/models/operations/customersdelete.js +97 -0
- package/models/operations/customersdelete.js.map +1 -0
- package/models/operations/customersget.d.ts +237 -0
- package/models/operations/customersget.d.ts.map +1 -0
- package/models/operations/customersget.js +279 -0
- package/models/operations/customersget.js.map +1 -0
- package/models/operations/customersupdate.d.ts +328 -0
- package/models/operations/customersupdate.d.ts.map +1 -0
- package/models/operations/customersupdate.js +368 -0
- package/models/operations/customersupdate.js.map +1 -0
- package/models/operations/entitiescreate.d.ts +295 -0
- package/models/operations/entitiescreate.d.ts.map +1 -0
- package/models/operations/entitiescreate.js +330 -0
- package/models/operations/entitiescreate.js.map +1 -0
- package/models/operations/entitiesdelete.d.ts +58 -0
- package/models/operations/entitiesdelete.d.ts.map +1 -0
- package/models/operations/entitiesdelete.js +97 -0
- package/models/operations/entitiesdelete.js.map +1 -0
- package/models/operations/entitiesget.d.ts +234 -0
- package/models/operations/entitiesget.d.ts.map +1 -0
- package/models/operations/entitiesget.js +279 -0
- package/models/operations/entitiesget.js.map +1 -0
- package/models/operations/entitiesupdate.d.ts +322 -0
- package/models/operations/entitiesupdate.d.ts.map +1 -0
- package/models/operations/entitiesupdate.js +368 -0
- package/models/operations/entitiesupdate.js.map +1 -0
- package/models/operations/index.d.ts +41 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +41 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/loandetailscreate.d.ts +301 -0
- package/models/operations/loandetailscreate.d.ts.map +1 -0
- package/models/operations/loandetailscreate.js +330 -0
- package/models/operations/loandetailscreate.js.map +1 -0
- package/models/operations/loandetailsdelete.d.ts +58 -0
- package/models/operations/loandetailsdelete.d.ts.map +1 -0
- package/models/operations/loandetailsdelete.js +97 -0
- package/models/operations/loandetailsdelete.js.map +1 -0
- package/models/operations/loandetailsget.d.ts +237 -0
- package/models/operations/loandetailsget.d.ts.map +1 -0
- package/models/operations/loandetailsget.js +279 -0
- package/models/operations/loandetailsget.js.map +1 -0
- package/models/operations/loandetailsupdate.d.ts +328 -0
- package/models/operations/loandetailsupdate.d.ts.map +1 -0
- package/models/operations/loandetailsupdate.js +368 -0
- package/models/operations/loandetailsupdate.js.map +1 -0
- package/package.json +1 -1
- package/sdk/assets.d.ts +21 -0
- package/sdk/assets.d.ts.map +1 -0
- package/sdk/assets.js +40 -0
- package/sdk/assets.js.map +1 -0
- package/sdk/customeraddresses.d.ts +25 -0
- package/sdk/customeraddresses.d.ts.map +1 -0
- package/sdk/customeraddresses.js +47 -0
- package/sdk/customeraddresses.js.map +1 -0
- package/sdk/customerassets.d.ts +25 -0
- package/sdk/customerassets.d.ts.map +1 -0
- package/sdk/customerassets.js +47 -0
- package/sdk/customerassets.js.map +1 -0
- package/sdk/customerexpenses.d.ts +25 -0
- package/sdk/customerexpenses.d.ts.map +1 -0
- package/sdk/customerexpenses.js +47 -0
- package/sdk/customerexpenses.js.map +1 -0
- package/sdk/customerincome.d.ts +25 -0
- package/sdk/customerincome.d.ts.map +1 -0
- package/sdk/customerincome.js +47 -0
- package/sdk/customerincome.js.map +1 -0
- package/sdk/customerliabilities.d.ts +25 -0
- package/sdk/customerliabilities.d.ts.map +1 -0
- package/sdk/customerliabilities.js +47 -0
- package/sdk/customerliabilities.js.map +1 -0
- package/sdk/customers.d.ts +21 -0
- package/sdk/customers.d.ts.map +1 -0
- package/sdk/customers.js +40 -0
- package/sdk/customers.js.map +1 -0
- package/sdk/entities.d.ts +21 -0
- package/sdk/entities.d.ts.map +1 -0
- package/sdk/entities.js +40 -0
- package/sdk/entities.js.map +1 -0
- package/sdk/loandetails.d.ts +21 -0
- package/sdk/loandetails.d.ts.map +1 -0
- package/sdk/loandetails.js +40 -0
- package/sdk/loandetails.js.map +1 -0
- package/sdk/sdk.d.ts +27 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +36 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/assetsAssetsCreate.ts +158 -0
- package/src/funcs/assetsAssetsDelete.ts +164 -0
- package/src/funcs/assetsAssetsGet.ts +164 -0
- package/src/funcs/assetsAssetsUpdate.ts +165 -0
- package/src/funcs/customerAddressesCustomerAddressesCreate.ts +166 -0
- package/src/funcs/customerAddressesCustomerAddressesDelete.ts +177 -0
- package/src/funcs/customerAddressesCustomerAddressesGet.ts +171 -0
- package/src/funcs/customerAddressesCustomerAddressesList.ts +165 -0
- package/src/funcs/customerAddressesCustomerAddressesUpdate.ts +172 -0
- package/src/funcs/customerAssetsCustomerAssetsCreate.ts +166 -0
- package/src/funcs/customerAssetsCustomerAssetsDelete.ts +177 -0
- package/src/funcs/customerAssetsCustomerAssetsGet.ts +170 -0
- package/src/funcs/customerAssetsCustomerAssetsList.ts +164 -0
- package/src/funcs/customerAssetsCustomerAssetsUpdate.ts +172 -0
- package/src/funcs/customerExpensesCustomerExpensesCreate.ts +166 -0
- package/src/funcs/customerExpensesCustomerExpensesDelete.ts +177 -0
- package/src/funcs/customerExpensesCustomerExpensesGet.ts +171 -0
- package/src/funcs/customerExpensesCustomerExpensesList.ts +165 -0
- package/src/funcs/customerExpensesCustomerExpensesUpdate.ts +172 -0
- package/src/funcs/customerIncomeCustomerIncomeCreate.ts +166 -0
- package/src/funcs/customerIncomeCustomerIncomeDelete.ts +177 -0
- package/src/funcs/customerIncomeCustomerIncomeGet.ts +170 -0
- package/src/funcs/customerIncomeCustomerIncomeList.ts +164 -0
- package/src/funcs/customerIncomeCustomerIncomeUpdate.ts +172 -0
- package/src/funcs/customerLiabilitiesCustomerLiabilitiesCreate.ts +166 -0
- package/src/funcs/customerLiabilitiesCustomerLiabilitiesDelete.ts +177 -0
- package/src/funcs/customerLiabilitiesCustomerLiabilitiesGet.ts +171 -0
- package/src/funcs/customerLiabilitiesCustomerLiabilitiesList.ts +165 -0
- package/src/funcs/customerLiabilitiesCustomerLiabilitiesUpdate.ts +172 -0
- package/src/funcs/customersCustomersCreate.ts +159 -0
- package/src/funcs/customersCustomersDelete.ts +167 -0
- package/src/funcs/customersCustomersGet.ts +164 -0
- package/src/funcs/customersCustomersUpdate.ts +165 -0
- package/src/funcs/entitiesEntitiesCreate.ts +158 -0
- package/src/funcs/entitiesEntitiesDelete.ts +164 -0
- package/src/funcs/entitiesEntitiesGet.ts +164 -0
- package/src/funcs/entitiesEntitiesUpdate.ts +165 -0
- package/src/funcs/loanDetailsLoanDetailsCreate.ts +159 -0
- package/src/funcs/loanDetailsLoanDetailsDelete.ts +170 -0
- package/src/funcs/loanDetailsLoanDetailsGet.ts +164 -0
- package/src/funcs/loanDetailsLoanDetailsUpdate.ts +165 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/commercialsecuredloanassetattributesupdate.ts +800 -0
- package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +9 -9
- package/src/models/components/consumersecuredloanassetattributesupdate.ts +792 -0
- package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +9 -9
- package/src/models/components/customerassetattributesupdate.ts +91 -0
- package/src/models/components/customerattributes.ts +0 -38
- package/src/models/components/customerattributescreate.ts +212 -0
- package/src/models/components/customerattributescreateitem.ts +214 -0
- package/src/models/components/customerattributesupdate.ts +175 -0
- package/src/models/components/customerliabilityattributesupdate.ts +115 -0
- package/src/models/components/expenseattributesupdate.ts +94 -0
- package/src/models/components/incomeattributesupdate.ts +94 -0
- package/src/models/components/index.ts +13 -0
- package/src/models/components/linkobjectupdate.ts +88 -0
- package/src/models/components/loandetailsattributesupdate.ts +903 -0
- package/src/models/components/monetaryquantityupdate.ts +114 -0
- package/src/models/components/percentagequantityupdate.ts +103 -0
- package/src/models/operations/assetscreate.ts +737 -0
- package/src/models/operations/assetsdelete.ts +128 -0
- package/src/models/operations/assetsget.ts +572 -0
- package/src/models/operations/assetsupdate.ts +821 -0
- package/src/models/operations/createapplication.ts +32 -17
- package/src/models/operations/customeraddressescreate.ts +759 -0
- package/src/models/operations/customeraddressesdelete.ts +139 -0
- package/src/models/operations/customeraddressesget.ts +551 -0
- package/src/models/operations/customeraddresseslist.ts +558 -0
- package/src/models/operations/customeraddressesupdate.ts +763 -0
- package/src/models/operations/customerassetscreate.ts +724 -0
- package/src/models/operations/customerassetsdelete.ts +136 -0
- package/src/models/operations/customerassetsget.ts +534 -0
- package/src/models/operations/customerassetslist.ts +530 -0
- package/src/models/operations/customerassetsupdate.ts +729 -0
- package/src/models/operations/customerexpensescreate.ts +748 -0
- package/src/models/operations/customerexpensesdelete.ts +138 -0
- package/src/models/operations/customerexpensesget.ts +545 -0
- package/src/models/operations/customerexpenseslist.ts +545 -0
- package/src/models/operations/customerexpensesupdate.ts +752 -0
- package/src/models/operations/customerincomecreate.ts +724 -0
- package/src/models/operations/customerincomedelete.ts +136 -0
- package/src/models/operations/customerincomeget.ts +534 -0
- package/src/models/operations/customerincomelist.ts +530 -0
- package/src/models/operations/customerincomeupdate.ts +728 -0
- package/src/models/operations/customerliabilitiescreate.ts +765 -0
- package/src/models/operations/customerliabilitiesdelete.ts +139 -0
- package/src/models/operations/customerliabilitiesget.ts +569 -0
- package/src/models/operations/customerliabilitieslist.ts +567 -0
- package/src/models/operations/customerliabilitiesupdate.ts +773 -0
- package/src/models/operations/customerscreate.ts +625 -0
- package/src/models/operations/customersdelete.ts +130 -0
- package/src/models/operations/customersget.ts +514 -0
- package/src/models/operations/customersupdate.ts +696 -0
- package/src/models/operations/entitiescreate.ts +614 -0
- package/src/models/operations/entitiesdelete.ts +128 -0
- package/src/models/operations/entitiesget.ts +508 -0
- package/src/models/operations/entitiesupdate.ts +685 -0
- package/src/models/operations/index.ts +41 -0
- package/src/models/operations/loandetailscreate.ts +634 -0
- package/src/models/operations/loandetailsdelete.ts +130 -0
- package/src/models/operations/loandetailsget.ts +520 -0
- package/src/models/operations/loandetailsupdate.ts +705 -0
- package/src/sdk/assets.ts +69 -0
- package/src/sdk/customeraddresses.ts +84 -0
- package/src/sdk/customerassets.ts +84 -0
- package/src/sdk/customerexpenses.ts +84 -0
- package/src/sdk/customerincome.ts +84 -0
- package/src/sdk/customerliabilities.ts +84 -0
- package/src/sdk/customers.ts +69 -0
- package/src/sdk/entities.ts +69 -0
- package/src/sdk/loandetails.ts +69 -0
- package/src/sdk/sdk.ts +56 -0
|
@@ -26,11 +26,11 @@ import {
|
|
|
26
26
|
CustomerAssetAttributes$outboundSchema,
|
|
27
27
|
} from "./customerassetattributes.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
29
|
+
CustomerAttributesCreateItem,
|
|
30
|
+
CustomerAttributesCreateItem$inboundSchema,
|
|
31
|
+
CustomerAttributesCreateItem$Outbound,
|
|
32
|
+
CustomerAttributesCreateItem$outboundSchema,
|
|
33
|
+
} from "./customerattributescreateitem.js";
|
|
34
34
|
import {
|
|
35
35
|
CustomerLiabilityAttributes,
|
|
36
36
|
CustomerLiabilityAttributes$inboundSchema,
|
|
@@ -229,7 +229,7 @@ export type ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData = {
|
|
|
229
229
|
/**
|
|
230
230
|
* A customer of the proposed financing
|
|
231
231
|
*/
|
|
232
|
-
attributes:
|
|
232
|
+
attributes: CustomerAttributesCreateItem;
|
|
233
233
|
relationships?:
|
|
234
234
|
| ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships
|
|
235
235
|
| undefined;
|
|
@@ -1467,7 +1467,7 @@ export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$in
|
|
|
1467
1467
|
> = z.object({
|
|
1468
1468
|
type:
|
|
1469
1469
|
ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$inboundSchema,
|
|
1470
|
-
attributes:
|
|
1470
|
+
attributes: CustomerAttributesCreateItem$inboundSchema,
|
|
1471
1471
|
relationships: z.lazy(() =>
|
|
1472
1472
|
ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$inboundSchema
|
|
1473
1473
|
).optional(),
|
|
@@ -1479,7 +1479,7 @@ export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$in
|
|
|
1479
1479
|
export type ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$Outbound =
|
|
1480
1480
|
{
|
|
1481
1481
|
type: string;
|
|
1482
|
-
attributes:
|
|
1482
|
+
attributes: CustomerAttributesCreateItem$Outbound;
|
|
1483
1483
|
relationships?:
|
|
1484
1484
|
| ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$Outbound
|
|
1485
1485
|
| undefined;
|
|
@@ -1496,7 +1496,7 @@ export const ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersData$ou
|
|
|
1496
1496
|
> = z.object({
|
|
1497
1497
|
type:
|
|
1498
1498
|
ConsumerSecuredLoanConsumerApplicationRelationshipsCustomersType$outboundSchema,
|
|
1499
|
-
attributes:
|
|
1499
|
+
attributes: CustomerAttributesCreateItem$outboundSchema,
|
|
1500
1500
|
relationships: z.lazy(() =>
|
|
1501
1501
|
ConsumerSecuredLoanConsumerApplicationRelationshipsRelationships$outboundSchema
|
|
1502
1502
|
).optional(),
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
CustomerAssetType,
|
|
11
|
+
CustomerAssetType$inboundSchema,
|
|
12
|
+
CustomerAssetType$outboundSchema,
|
|
13
|
+
} from "./customerassettype.js";
|
|
14
|
+
import {
|
|
15
|
+
MonetaryQuantityUpdate,
|
|
16
|
+
MonetaryQuantityUpdate$inboundSchema,
|
|
17
|
+
MonetaryQuantityUpdate$Outbound,
|
|
18
|
+
MonetaryQuantityUpdate$outboundSchema,
|
|
19
|
+
} from "./monetaryquantityupdate.js";
|
|
20
|
+
|
|
21
|
+
export type CustomerAssetAttributesUpdate = {
|
|
22
|
+
id?: string | undefined;
|
|
23
|
+
assetType?: CustomerAssetType | undefined;
|
|
24
|
+
value?: MonetaryQuantityUpdate | undefined;
|
|
25
|
+
description?: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const CustomerAssetAttributesUpdate$inboundSchema: z.ZodType<
|
|
30
|
+
CustomerAssetAttributesUpdate,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
id: z.string().optional(),
|
|
35
|
+
assetType: CustomerAssetType$inboundSchema.optional(),
|
|
36
|
+
value: MonetaryQuantityUpdate$inboundSchema.optional(),
|
|
37
|
+
description: z.string().optional(),
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export type CustomerAssetAttributesUpdate$Outbound = {
|
|
42
|
+
id?: string | undefined;
|
|
43
|
+
assetType?: string | undefined;
|
|
44
|
+
value?: MonetaryQuantityUpdate$Outbound | undefined;
|
|
45
|
+
description?: string | undefined;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const CustomerAssetAttributesUpdate$outboundSchema: z.ZodType<
|
|
50
|
+
CustomerAssetAttributesUpdate$Outbound,
|
|
51
|
+
z.ZodTypeDef,
|
|
52
|
+
CustomerAssetAttributesUpdate
|
|
53
|
+
> = z.object({
|
|
54
|
+
id: z.string().optional(),
|
|
55
|
+
assetType: CustomerAssetType$outboundSchema.optional(),
|
|
56
|
+
value: MonetaryQuantityUpdate$outboundSchema.optional(),
|
|
57
|
+
description: z.string().optional(),
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
63
|
+
*/
|
|
64
|
+
export namespace CustomerAssetAttributesUpdate$ {
|
|
65
|
+
/** @deprecated use `CustomerAssetAttributesUpdate$inboundSchema` instead. */
|
|
66
|
+
export const inboundSchema = CustomerAssetAttributesUpdate$inboundSchema;
|
|
67
|
+
/** @deprecated use `CustomerAssetAttributesUpdate$outboundSchema` instead. */
|
|
68
|
+
export const outboundSchema = CustomerAssetAttributesUpdate$outboundSchema;
|
|
69
|
+
/** @deprecated use `CustomerAssetAttributesUpdate$Outbound` instead. */
|
|
70
|
+
export type Outbound = CustomerAssetAttributesUpdate$Outbound;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function customerAssetAttributesUpdateToJSON(
|
|
74
|
+
customerAssetAttributesUpdate: CustomerAssetAttributesUpdate,
|
|
75
|
+
): string {
|
|
76
|
+
return JSON.stringify(
|
|
77
|
+
CustomerAssetAttributesUpdate$outboundSchema.parse(
|
|
78
|
+
customerAssetAttributesUpdate,
|
|
79
|
+
),
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function customerAssetAttributesUpdateFromJSON(
|
|
84
|
+
jsonString: string,
|
|
85
|
+
): SafeParseResult<CustomerAssetAttributesUpdate, SDKValidationError> {
|
|
86
|
+
return safeParse(
|
|
87
|
+
jsonString,
|
|
88
|
+
(x) => CustomerAssetAttributesUpdate$inboundSchema.parse(JSON.parse(x)),
|
|
89
|
+
`Failed to parse 'CustomerAssetAttributesUpdate' from JSON`,
|
|
90
|
+
);
|
|
91
|
+
}
|
|
@@ -6,16 +6,6 @@ import * as z from "zod";
|
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
import {
|
|
10
|
-
AustralianStatesAndTerritories,
|
|
11
|
-
AustralianStatesAndTerritories$inboundSchema,
|
|
12
|
-
AustralianStatesAndTerritories$outboundSchema,
|
|
13
|
-
} from "./australianstatesandterritories.js";
|
|
14
|
-
import {
|
|
15
|
-
CustomerIDType,
|
|
16
|
-
CustomerIDType$inboundSchema,
|
|
17
|
-
CustomerIDType$outboundSchema,
|
|
18
|
-
} from "./customeridtype.js";
|
|
19
9
|
import {
|
|
20
10
|
CustomerTitle,
|
|
21
11
|
CustomerTitle$inboundSchema,
|
|
@@ -68,22 +58,6 @@ export type CustomerAttributes = {
|
|
|
68
58
|
* Date of birth in format YYYY-MM-DD
|
|
69
59
|
*/
|
|
70
60
|
dateOfBirth?: string | undefined;
|
|
71
|
-
/**
|
|
72
|
-
* Date of expiry of the ID in format YYYY-MM-DD
|
|
73
|
-
*/
|
|
74
|
-
idExpiryDate?: string | undefined;
|
|
75
|
-
/**
|
|
76
|
-
* Type of ID, either drivers' license or passport
|
|
77
|
-
*/
|
|
78
|
-
idType?: CustomerIDType | undefined;
|
|
79
|
-
/**
|
|
80
|
-
* THe state in which the ID was issued, currently limited to AUS states.
|
|
81
|
-
*/
|
|
82
|
-
idState?: AustralianStatesAndTerritories | undefined;
|
|
83
|
-
/**
|
|
84
|
-
* Number of the ID - license number for driver's licence or passport code.
|
|
85
|
-
*/
|
|
86
|
-
idNumber?: string | undefined;
|
|
87
61
|
/**
|
|
88
62
|
* For driver's licence only - the card number
|
|
89
63
|
*/
|
|
@@ -118,10 +92,6 @@ export const CustomerAttributes$inboundSchema: z.ZodType<
|
|
|
118
92
|
middleNames: z.string().optional(),
|
|
119
93
|
lastName: z.string().optional(),
|
|
120
94
|
dateOfBirth: z.string().optional(),
|
|
121
|
-
idExpiryDate: z.string().optional(),
|
|
122
|
-
idType: CustomerIDType$inboundSchema.optional(),
|
|
123
|
-
idState: AustralianStatesAndTerritories$inboundSchema.optional(),
|
|
124
|
-
idNumber: z.string().optional(),
|
|
125
95
|
cardNumber: z.string().optional(),
|
|
126
96
|
emailAddresses: z.array(z.string()).optional(),
|
|
127
97
|
phoneNumbers: z.array(z.string()).optional(),
|
|
@@ -140,10 +110,6 @@ export type CustomerAttributes$Outbound = {
|
|
|
140
110
|
middleNames?: string | undefined;
|
|
141
111
|
lastName?: string | undefined;
|
|
142
112
|
dateOfBirth?: string | undefined;
|
|
143
|
-
idExpiryDate?: string | undefined;
|
|
144
|
-
idType?: string | undefined;
|
|
145
|
-
idState?: string | undefined;
|
|
146
|
-
idNumber?: string | undefined;
|
|
147
113
|
cardNumber?: string | undefined;
|
|
148
114
|
emailAddresses?: Array<string> | undefined;
|
|
149
115
|
phoneNumbers?: Array<string> | undefined;
|
|
@@ -166,10 +132,6 @@ export const CustomerAttributes$outboundSchema: z.ZodType<
|
|
|
166
132
|
middleNames: z.string().optional(),
|
|
167
133
|
lastName: z.string().optional(),
|
|
168
134
|
dateOfBirth: z.string().optional(),
|
|
169
|
-
idExpiryDate: z.string().optional(),
|
|
170
|
-
idType: CustomerIDType$outboundSchema.optional(),
|
|
171
|
-
idState: AustralianStatesAndTerritories$outboundSchema.optional(),
|
|
172
|
-
idNumber: z.string().optional(),
|
|
173
135
|
cardNumber: z.string().optional(),
|
|
174
136
|
emailAddresses: z.array(z.string()).optional(),
|
|
175
137
|
phoneNumbers: z.array(z.string()).optional(),
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
AustralianStatesAndTerritories,
|
|
11
|
+
AustralianStatesAndTerritories$inboundSchema,
|
|
12
|
+
AustralianStatesAndTerritories$outboundSchema,
|
|
13
|
+
} from "./australianstatesandterritories.js";
|
|
14
|
+
import {
|
|
15
|
+
CustomerIDType,
|
|
16
|
+
CustomerIDType$inboundSchema,
|
|
17
|
+
CustomerIDType$outboundSchema,
|
|
18
|
+
} from "./customeridtype.js";
|
|
19
|
+
import {
|
|
20
|
+
CustomerTitle,
|
|
21
|
+
CustomerTitle$inboundSchema,
|
|
22
|
+
CustomerTitle$outboundSchema,
|
|
23
|
+
} from "./customertitle.js";
|
|
24
|
+
import {
|
|
25
|
+
LivingArrangements,
|
|
26
|
+
LivingArrangements$inboundSchema,
|
|
27
|
+
LivingArrangements$outboundSchema,
|
|
28
|
+
} from "./livingarrangements.js";
|
|
29
|
+
import {
|
|
30
|
+
MaritalStatus,
|
|
31
|
+
MaritalStatus$inboundSchema,
|
|
32
|
+
MaritalStatus$outboundSchema,
|
|
33
|
+
} from "./maritalstatus.js";
|
|
34
|
+
import {
|
|
35
|
+
PercentageQuantity,
|
|
36
|
+
PercentageQuantity$inboundSchema,
|
|
37
|
+
PercentageQuantity$Outbound,
|
|
38
|
+
PercentageQuantity$outboundSchema,
|
|
39
|
+
} from "./percentagequantity.js";
|
|
40
|
+
import {
|
|
41
|
+
ResidencyStatus,
|
|
42
|
+
ResidencyStatus$inboundSchema,
|
|
43
|
+
ResidencyStatus$outboundSchema,
|
|
44
|
+
} from "./residencystatus.js";
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* A customer of the proposed financing
|
|
48
|
+
*/
|
|
49
|
+
export type CustomerAttributesCreate = {
|
|
50
|
+
id?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* Title of the customer
|
|
53
|
+
*/
|
|
54
|
+
title?: CustomerTitle | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* First name of the customer
|
|
57
|
+
*/
|
|
58
|
+
firstName?: string | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* Middle names of the customer
|
|
61
|
+
*/
|
|
62
|
+
middleNames?: string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* Last name of the customer
|
|
65
|
+
*/
|
|
66
|
+
lastName?: string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Date of birth in format YYYY-MM-DD
|
|
69
|
+
*/
|
|
70
|
+
dateOfBirth?: string | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* Date of expiry of the ID in format YYYY-MM-DD
|
|
73
|
+
*/
|
|
74
|
+
idExpiryDate?: string | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* Type of ID, either drivers' license or passport
|
|
77
|
+
*/
|
|
78
|
+
idType?: CustomerIDType | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* THe state in which the ID was issued, currently limited to AUS states.
|
|
81
|
+
*/
|
|
82
|
+
idState?: AustralianStatesAndTerritories | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* Number of the ID - license number for driver's licence or passport code.
|
|
85
|
+
*/
|
|
86
|
+
idNumber?: string | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* For driver's licence only - the card number
|
|
89
|
+
*/
|
|
90
|
+
cardNumber?: string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* The customer's email addresses
|
|
93
|
+
*/
|
|
94
|
+
emailAddresses?: Array<string> | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* The customer's phone numbers
|
|
97
|
+
*/
|
|
98
|
+
phoneNumbers?: Array<string> | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* The number of financial dependents of the customer
|
|
101
|
+
*/
|
|
102
|
+
numberOfDependents?: number | undefined;
|
|
103
|
+
residencyStatus?: ResidencyStatus | undefined;
|
|
104
|
+
livingArrangements?: LivingArrangements | undefined;
|
|
105
|
+
maritalStatus?: MaritalStatus | undefined;
|
|
106
|
+
proportionOfSharedExpenses?: PercentageQuantity | undefined;
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
/** @internal */
|
|
110
|
+
export const CustomerAttributesCreate$inboundSchema: z.ZodType<
|
|
111
|
+
CustomerAttributesCreate,
|
|
112
|
+
z.ZodTypeDef,
|
|
113
|
+
unknown
|
|
114
|
+
> = z.object({
|
|
115
|
+
id: z.string().optional(),
|
|
116
|
+
title: CustomerTitle$inboundSchema.optional(),
|
|
117
|
+
firstName: z.string().optional(),
|
|
118
|
+
middleNames: z.string().optional(),
|
|
119
|
+
lastName: z.string().optional(),
|
|
120
|
+
dateOfBirth: z.string().optional(),
|
|
121
|
+
idExpiryDate: z.string().optional(),
|
|
122
|
+
idType: CustomerIDType$inboundSchema.optional(),
|
|
123
|
+
idState: AustralianStatesAndTerritories$inboundSchema.optional(),
|
|
124
|
+
idNumber: z.string().optional(),
|
|
125
|
+
cardNumber: z.string().optional(),
|
|
126
|
+
emailAddresses: z.array(z.string()).optional(),
|
|
127
|
+
phoneNumbers: z.array(z.string()).optional(),
|
|
128
|
+
numberOfDependents: z.number().int().optional(),
|
|
129
|
+
residencyStatus: ResidencyStatus$inboundSchema.optional(),
|
|
130
|
+
livingArrangements: LivingArrangements$inboundSchema.optional(),
|
|
131
|
+
maritalStatus: MaritalStatus$inboundSchema.optional(),
|
|
132
|
+
proportionOfSharedExpenses: PercentageQuantity$inboundSchema.optional(),
|
|
133
|
+
});
|
|
134
|
+
|
|
135
|
+
/** @internal */
|
|
136
|
+
export type CustomerAttributesCreate$Outbound = {
|
|
137
|
+
id?: string | undefined;
|
|
138
|
+
title?: string | undefined;
|
|
139
|
+
firstName?: string | undefined;
|
|
140
|
+
middleNames?: string | undefined;
|
|
141
|
+
lastName?: string | undefined;
|
|
142
|
+
dateOfBirth?: string | undefined;
|
|
143
|
+
idExpiryDate?: string | undefined;
|
|
144
|
+
idType?: string | undefined;
|
|
145
|
+
idState?: string | undefined;
|
|
146
|
+
idNumber?: string | undefined;
|
|
147
|
+
cardNumber?: string | undefined;
|
|
148
|
+
emailAddresses?: Array<string> | undefined;
|
|
149
|
+
phoneNumbers?: Array<string> | undefined;
|
|
150
|
+
numberOfDependents?: number | undefined;
|
|
151
|
+
residencyStatus?: string | undefined;
|
|
152
|
+
livingArrangements?: string | undefined;
|
|
153
|
+
maritalStatus?: string | undefined;
|
|
154
|
+
proportionOfSharedExpenses?: PercentageQuantity$Outbound | undefined;
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
/** @internal */
|
|
158
|
+
export const CustomerAttributesCreate$outboundSchema: z.ZodType<
|
|
159
|
+
CustomerAttributesCreate$Outbound,
|
|
160
|
+
z.ZodTypeDef,
|
|
161
|
+
CustomerAttributesCreate
|
|
162
|
+
> = z.object({
|
|
163
|
+
id: z.string().optional(),
|
|
164
|
+
title: CustomerTitle$outboundSchema.optional(),
|
|
165
|
+
firstName: z.string().optional(),
|
|
166
|
+
middleNames: z.string().optional(),
|
|
167
|
+
lastName: z.string().optional(),
|
|
168
|
+
dateOfBirth: z.string().optional(),
|
|
169
|
+
idExpiryDate: z.string().optional(),
|
|
170
|
+
idType: CustomerIDType$outboundSchema.optional(),
|
|
171
|
+
idState: AustralianStatesAndTerritories$outboundSchema.optional(),
|
|
172
|
+
idNumber: z.string().optional(),
|
|
173
|
+
cardNumber: z.string().optional(),
|
|
174
|
+
emailAddresses: z.array(z.string()).optional(),
|
|
175
|
+
phoneNumbers: z.array(z.string()).optional(),
|
|
176
|
+
numberOfDependents: z.number().int().optional(),
|
|
177
|
+
residencyStatus: ResidencyStatus$outboundSchema.optional(),
|
|
178
|
+
livingArrangements: LivingArrangements$outboundSchema.optional(),
|
|
179
|
+
maritalStatus: MaritalStatus$outboundSchema.optional(),
|
|
180
|
+
proportionOfSharedExpenses: PercentageQuantity$outboundSchema.optional(),
|
|
181
|
+
});
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* @internal
|
|
185
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
186
|
+
*/
|
|
187
|
+
export namespace CustomerAttributesCreate$ {
|
|
188
|
+
/** @deprecated use `CustomerAttributesCreate$inboundSchema` instead. */
|
|
189
|
+
export const inboundSchema = CustomerAttributesCreate$inboundSchema;
|
|
190
|
+
/** @deprecated use `CustomerAttributesCreate$outboundSchema` instead. */
|
|
191
|
+
export const outboundSchema = CustomerAttributesCreate$outboundSchema;
|
|
192
|
+
/** @deprecated use `CustomerAttributesCreate$Outbound` instead. */
|
|
193
|
+
export type Outbound = CustomerAttributesCreate$Outbound;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export function customerAttributesCreateToJSON(
|
|
197
|
+
customerAttributesCreate: CustomerAttributesCreate,
|
|
198
|
+
): string {
|
|
199
|
+
return JSON.stringify(
|
|
200
|
+
CustomerAttributesCreate$outboundSchema.parse(customerAttributesCreate),
|
|
201
|
+
);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export function customerAttributesCreateFromJSON(
|
|
205
|
+
jsonString: string,
|
|
206
|
+
): SafeParseResult<CustomerAttributesCreate, SDKValidationError> {
|
|
207
|
+
return safeParse(
|
|
208
|
+
jsonString,
|
|
209
|
+
(x) => CustomerAttributesCreate$inboundSchema.parse(JSON.parse(x)),
|
|
210
|
+
`Failed to parse 'CustomerAttributesCreate' from JSON`,
|
|
211
|
+
);
|
|
212
|
+
}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
AustralianStatesAndTerritories,
|
|
11
|
+
AustralianStatesAndTerritories$inboundSchema,
|
|
12
|
+
AustralianStatesAndTerritories$outboundSchema,
|
|
13
|
+
} from "./australianstatesandterritories.js";
|
|
14
|
+
import {
|
|
15
|
+
CustomerIDType,
|
|
16
|
+
CustomerIDType$inboundSchema,
|
|
17
|
+
CustomerIDType$outboundSchema,
|
|
18
|
+
} from "./customeridtype.js";
|
|
19
|
+
import {
|
|
20
|
+
CustomerTitle,
|
|
21
|
+
CustomerTitle$inboundSchema,
|
|
22
|
+
CustomerTitle$outboundSchema,
|
|
23
|
+
} from "./customertitle.js";
|
|
24
|
+
import {
|
|
25
|
+
LivingArrangements,
|
|
26
|
+
LivingArrangements$inboundSchema,
|
|
27
|
+
LivingArrangements$outboundSchema,
|
|
28
|
+
} from "./livingarrangements.js";
|
|
29
|
+
import {
|
|
30
|
+
MaritalStatus,
|
|
31
|
+
MaritalStatus$inboundSchema,
|
|
32
|
+
MaritalStatus$outboundSchema,
|
|
33
|
+
} from "./maritalstatus.js";
|
|
34
|
+
import {
|
|
35
|
+
PercentageQuantity,
|
|
36
|
+
PercentageQuantity$inboundSchema,
|
|
37
|
+
PercentageQuantity$Outbound,
|
|
38
|
+
PercentageQuantity$outboundSchema,
|
|
39
|
+
} from "./percentagequantity.js";
|
|
40
|
+
import {
|
|
41
|
+
ResidencyStatus,
|
|
42
|
+
ResidencyStatus$inboundSchema,
|
|
43
|
+
ResidencyStatus$outboundSchema,
|
|
44
|
+
} from "./residencystatus.js";
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* A customer of the proposed financing
|
|
48
|
+
*/
|
|
49
|
+
export type CustomerAttributesCreateItem = {
|
|
50
|
+
id?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* Title of the customer
|
|
53
|
+
*/
|
|
54
|
+
title?: CustomerTitle | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* First name of the customer
|
|
57
|
+
*/
|
|
58
|
+
firstName?: string | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* Middle names of the customer
|
|
61
|
+
*/
|
|
62
|
+
middleNames?: string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* Last name of the customer
|
|
65
|
+
*/
|
|
66
|
+
lastName?: string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Date of birth in format YYYY-MM-DD
|
|
69
|
+
*/
|
|
70
|
+
dateOfBirth?: string | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* Date of expiry of the ID in format YYYY-MM-DD
|
|
73
|
+
*/
|
|
74
|
+
idExpiryDate?: string | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* Type of ID, either drivers' license or passport
|
|
77
|
+
*/
|
|
78
|
+
idType?: CustomerIDType | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* THe state in which the ID was issued, currently limited to AUS states.
|
|
81
|
+
*/
|
|
82
|
+
idState?: AustralianStatesAndTerritories | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* Number of the ID - license number for driver's licence or passport code.
|
|
85
|
+
*/
|
|
86
|
+
idNumber?: string | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* For driver's licence only - the card number
|
|
89
|
+
*/
|
|
90
|
+
cardNumber?: string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* The customer's email addresses
|
|
93
|
+
*/
|
|
94
|
+
emailAddresses?: Array<string> | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* The customer's phone numbers
|
|
97
|
+
*/
|
|
98
|
+
phoneNumbers?: Array<string> | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* The number of financial dependents of the customer
|
|
101
|
+
*/
|
|
102
|
+
numberOfDependents?: number | undefined;
|
|
103
|
+
residencyStatus?: ResidencyStatus | undefined;
|
|
104
|
+
livingArrangements?: LivingArrangements | undefined;
|
|
105
|
+
maritalStatus?: MaritalStatus | undefined;
|
|
106
|
+
proportionOfSharedExpenses?: PercentageQuantity | undefined;
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
/** @internal */
|
|
110
|
+
export const CustomerAttributesCreateItem$inboundSchema: z.ZodType<
|
|
111
|
+
CustomerAttributesCreateItem,
|
|
112
|
+
z.ZodTypeDef,
|
|
113
|
+
unknown
|
|
114
|
+
> = z.object({
|
|
115
|
+
id: z.string().optional(),
|
|
116
|
+
title: CustomerTitle$inboundSchema.optional(),
|
|
117
|
+
firstName: z.string().optional(),
|
|
118
|
+
middleNames: z.string().optional(),
|
|
119
|
+
lastName: z.string().optional(),
|
|
120
|
+
dateOfBirth: z.string().optional(),
|
|
121
|
+
idExpiryDate: z.string().optional(),
|
|
122
|
+
idType: CustomerIDType$inboundSchema.optional(),
|
|
123
|
+
idState: AustralianStatesAndTerritories$inboundSchema.optional(),
|
|
124
|
+
idNumber: z.string().optional(),
|
|
125
|
+
cardNumber: z.string().optional(),
|
|
126
|
+
emailAddresses: z.array(z.string()).optional(),
|
|
127
|
+
phoneNumbers: z.array(z.string()).optional(),
|
|
128
|
+
numberOfDependents: z.number().int().optional(),
|
|
129
|
+
residencyStatus: ResidencyStatus$inboundSchema.optional(),
|
|
130
|
+
livingArrangements: LivingArrangements$inboundSchema.optional(),
|
|
131
|
+
maritalStatus: MaritalStatus$inboundSchema.optional(),
|
|
132
|
+
proportionOfSharedExpenses: PercentageQuantity$inboundSchema.optional(),
|
|
133
|
+
});
|
|
134
|
+
|
|
135
|
+
/** @internal */
|
|
136
|
+
export type CustomerAttributesCreateItem$Outbound = {
|
|
137
|
+
id?: string | undefined;
|
|
138
|
+
title?: string | undefined;
|
|
139
|
+
firstName?: string | undefined;
|
|
140
|
+
middleNames?: string | undefined;
|
|
141
|
+
lastName?: string | undefined;
|
|
142
|
+
dateOfBirth?: string | undefined;
|
|
143
|
+
idExpiryDate?: string | undefined;
|
|
144
|
+
idType?: string | undefined;
|
|
145
|
+
idState?: string | undefined;
|
|
146
|
+
idNumber?: string | undefined;
|
|
147
|
+
cardNumber?: string | undefined;
|
|
148
|
+
emailAddresses?: Array<string> | undefined;
|
|
149
|
+
phoneNumbers?: Array<string> | undefined;
|
|
150
|
+
numberOfDependents?: number | undefined;
|
|
151
|
+
residencyStatus?: string | undefined;
|
|
152
|
+
livingArrangements?: string | undefined;
|
|
153
|
+
maritalStatus?: string | undefined;
|
|
154
|
+
proportionOfSharedExpenses?: PercentageQuantity$Outbound | undefined;
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
/** @internal */
|
|
158
|
+
export const CustomerAttributesCreateItem$outboundSchema: z.ZodType<
|
|
159
|
+
CustomerAttributesCreateItem$Outbound,
|
|
160
|
+
z.ZodTypeDef,
|
|
161
|
+
CustomerAttributesCreateItem
|
|
162
|
+
> = z.object({
|
|
163
|
+
id: z.string().optional(),
|
|
164
|
+
title: CustomerTitle$outboundSchema.optional(),
|
|
165
|
+
firstName: z.string().optional(),
|
|
166
|
+
middleNames: z.string().optional(),
|
|
167
|
+
lastName: z.string().optional(),
|
|
168
|
+
dateOfBirth: z.string().optional(),
|
|
169
|
+
idExpiryDate: z.string().optional(),
|
|
170
|
+
idType: CustomerIDType$outboundSchema.optional(),
|
|
171
|
+
idState: AustralianStatesAndTerritories$outboundSchema.optional(),
|
|
172
|
+
idNumber: z.string().optional(),
|
|
173
|
+
cardNumber: z.string().optional(),
|
|
174
|
+
emailAddresses: z.array(z.string()).optional(),
|
|
175
|
+
phoneNumbers: z.array(z.string()).optional(),
|
|
176
|
+
numberOfDependents: z.number().int().optional(),
|
|
177
|
+
residencyStatus: ResidencyStatus$outboundSchema.optional(),
|
|
178
|
+
livingArrangements: LivingArrangements$outboundSchema.optional(),
|
|
179
|
+
maritalStatus: MaritalStatus$outboundSchema.optional(),
|
|
180
|
+
proportionOfSharedExpenses: PercentageQuantity$outboundSchema.optional(),
|
|
181
|
+
});
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* @internal
|
|
185
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
186
|
+
*/
|
|
187
|
+
export namespace CustomerAttributesCreateItem$ {
|
|
188
|
+
/** @deprecated use `CustomerAttributesCreateItem$inboundSchema` instead. */
|
|
189
|
+
export const inboundSchema = CustomerAttributesCreateItem$inboundSchema;
|
|
190
|
+
/** @deprecated use `CustomerAttributesCreateItem$outboundSchema` instead. */
|
|
191
|
+
export const outboundSchema = CustomerAttributesCreateItem$outboundSchema;
|
|
192
|
+
/** @deprecated use `CustomerAttributesCreateItem$Outbound` instead. */
|
|
193
|
+
export type Outbound = CustomerAttributesCreateItem$Outbound;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export function customerAttributesCreateItemToJSON(
|
|
197
|
+
customerAttributesCreateItem: CustomerAttributesCreateItem,
|
|
198
|
+
): string {
|
|
199
|
+
return JSON.stringify(
|
|
200
|
+
CustomerAttributesCreateItem$outboundSchema.parse(
|
|
201
|
+
customerAttributesCreateItem,
|
|
202
|
+
),
|
|
203
|
+
);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export function customerAttributesCreateItemFromJSON(
|
|
207
|
+
jsonString: string,
|
|
208
|
+
): SafeParseResult<CustomerAttributesCreateItem, SDKValidationError> {
|
|
209
|
+
return safeParse(
|
|
210
|
+
jsonString,
|
|
211
|
+
(x) => CustomerAttributesCreateItem$inboundSchema.parse(JSON.parse(x)),
|
|
212
|
+
`Failed to parse 'CustomerAttributesCreateItem' from JSON`,
|
|
213
|
+
);
|
|
214
|
+
}
|