@financeable/aggregation 0.12.1 → 0.13.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/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/encodings.d.ts +1 -0
- package/lib/encodings.d.ts.map +1 -1
- package/models/components/addressattributes.d.ts +0 -28
- package/models/components/addressattributes.d.ts.map +1 -1
- package/models/components/apierrorlinks.d.ts +0 -19
- package/models/components/apierrorlinks.d.ts.map +1 -1
- package/models/components/applicationresource.d.ts +4 -21
- package/models/components/applicationresource.d.ts.map +1 -1
- package/models/components/applicationstatus.d.ts +0 -30
- package/models/components/applicationstatus.d.ts.map +1 -1
- package/models/components/australianstatesandterritories.d.ts +0 -28
- package/models/components/australianstatesandterritories.d.ts.map +1 -1
- package/models/components/badrequesterror.d.ts +3 -85
- package/models/components/badrequesterror.d.ts.map +1 -1
- package/models/components/businessapplicationjsonapirelationships.d.ts +1 -205
- package/models/components/businessapplicationjsonapirelationships.d.ts.map +1 -1
- package/models/components/businessapplicationpayload.d.ts +0 -64
- package/models/components/businessapplicationpayload.d.ts.map +1 -1
- package/models/components/businessapplicationresource.d.ts +12 -94
- package/models/components/businessapplicationresource.d.ts.map +1 -1
- package/models/components/businessloanbusinessapplicationrelationships.d.ts +0 -308
- package/models/components/businessloanbusinessapplicationrelationships.d.ts.map +1 -1
- package/models/components/commercialapplicationjsonapirelationships.d.ts +1 -267
- package/models/components/commercialapplicationjsonapirelationships.d.ts.map +1 -1
- package/models/components/commercialsecuredapplicationpayload.d.ts +0 -78
- package/models/components/commercialsecuredapplicationpayload.d.ts.map +1 -1
- package/models/components/commercialsecuredapplicationresource.d.ts +12 -94
- package/models/components/commercialsecuredapplicationresource.d.ts.map +1 -1
- package/models/components/commercialsecuredloanassetattributes.d.ts +0 -130
- package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -1
- package/models/components/commercialsecuredloanassettype.d.ts +0 -64
- package/models/components/commercialsecuredloanassettype.d.ts.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +0 -354
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
- package/models/components/commercialsecuredloantypeofsale.d.ts +0 -24
- package/models/components/commercialsecuredloantypeofsale.d.ts.map +1 -1
- package/models/components/consumerapplicationjsonapirelationships.d.ts +1 -205
- package/models/components/consumerapplicationjsonapirelationships.d.ts.map +1 -1
- package/models/components/consumersecuredapplicationpayload.d.ts +0 -78
- package/models/components/consumersecuredapplicationpayload.d.ts.map +1 -1
- package/models/components/consumersecuredapplicationresource.d.ts +12 -94
- package/models/components/consumersecuredapplicationresource.d.ts.map +1 -1
- package/models/components/consumersecuredloanassetattributes.d.ts +0 -130
- package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -1
- package/models/components/consumersecuredloanassettype.d.ts +0 -40
- package/models/components/consumersecuredloanassettype.d.ts.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +0 -400
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -1
- package/models/components/consumersecuredloantypeofsale.d.ts +0 -24
- package/models/components/consumersecuredloantypeofsale.d.ts.map +1 -1
- package/models/components/createsupportingdocumentsresponse.d.ts +3 -78
- package/models/components/createsupportingdocumentsresponse.d.ts.map +1 -1
- package/models/components/currencycodeiso4217.d.ts +0 -14
- package/models/components/currencycodeiso4217.d.ts.map +1 -1
- package/models/components/customerassetattributes.d.ts +0 -12
- package/models/components/customerassetattributes.d.ts.map +1 -1
- package/models/components/customerassettype.d.ts +0 -28
- package/models/components/customerassettype.d.ts.map +1 -1
- package/models/components/customerattributes.d.ts +1 -33
- package/models/components/customerattributes.d.ts.map +1 -1
- package/models/components/customerattributescreateitem.d.ts +0 -17
- package/models/components/customerattributescreateitem.d.ts.map +1 -1
- package/models/components/customeridtype.d.ts +0 -18
- package/models/components/customeridtype.d.ts.map +1 -1
- package/models/components/customerliabilityattributes.d.ts +0 -12
- package/models/components/customerliabilityattributes.d.ts.map +1 -1
- package/models/components/customerliabilityrepaymentfrequency.d.ts +0 -18
- package/models/components/customerliabilityrepaymentfrequency.d.ts.map +1 -1
- package/models/components/customerliabilitytype.d.ts +0 -24
- package/models/components/customerliabilitytype.d.ts.map +1 -1
- package/models/components/customertitle.d.ts +0 -20
- package/models/components/customertitle.d.ts.map +1 -1
- package/models/components/documenttype.d.ts +0 -40
- package/models/components/documenttype.d.ts.map +1 -1
- package/models/components/entityattributes.d.ts +0 -84
- package/models/components/entityattributes.d.ts.map +1 -1
- package/models/components/entityattributesinput.d.ts +0 -17
- package/models/components/entityattributesinput.d.ts.map +1 -1
- package/models/components/errorsource.d.ts +0 -21
- package/models/components/errorsource.d.ts.map +1 -1
- package/models/components/expenseattributes.d.ts +0 -17
- package/models/components/expenseattributes.d.ts.map +1 -1
- package/models/components/expensefrequency.d.ts +0 -20
- package/models/components/expensefrequency.d.ts.map +1 -1
- package/models/components/expensetype.d.ts +0 -52
- package/models/components/expensetype.d.ts.map +1 -1
- package/models/components/forbiddenerror.d.ts +2 -78
- package/models/components/forbiddenerror.d.ts.map +1 -1
- package/models/components/frequencytype.d.ts +0 -18
- package/models/components/frequencytype.d.ts.map +1 -1
- package/models/components/incomeattributes.d.ts +0 -17
- package/models/components/incomeattributes.d.ts.map +1 -1
- package/models/components/incomefrequency.d.ts +0 -22
- package/models/components/incomefrequency.d.ts.map +1 -1
- package/models/components/incometype.d.ts +0 -32
- package/models/components/incometype.d.ts.map +1 -1
- package/models/components/linkobject.d.ts +0 -12
- package/models/components/linkobject.d.ts.map +1 -1
- package/models/components/livingarrangements.d.ts +0 -20
- package/models/components/livingarrangements.d.ts.map +1 -1
- package/models/components/loandetailsattributes.d.ts +5 -132
- package/models/components/loandetailsattributes.d.ts.map +1 -1
- package/models/components/maritalstatus.d.ts +0 -16
- package/models/components/maritalstatus.d.ts.map +1 -1
- package/models/components/monetaryquantity.d.ts +0 -26
- package/models/components/monetaryquantity.d.ts.map +1 -1
- package/models/components/paginationlinks.d.ts +0 -22
- package/models/components/paginationlinks.d.ts.map +1 -1
- package/models/components/paginationmeta.d.ts +0 -22
- package/models/components/paginationmeta.d.ts.map +1 -1
- package/models/components/percentagequantity.d.ts +0 -26
- package/models/components/percentagequantity.d.ts.map +1 -1
- package/models/components/personalapplicationjsonapirelationships.d.ts +1 -143
- package/models/components/personalapplicationjsonapirelationships.d.ts.map +1 -1
- package/models/components/personalapplicationpayload.d.ts +0 -64
- package/models/components/personalapplicationpayload.d.ts.map +1 -1
- package/models/components/personalapplicationresource.d.ts +12 -94
- package/models/components/personalapplicationresource.d.ts.map +1 -1
- package/models/components/personalloanpersonalapplicationrelationships.d.ts +0 -354
- package/models/components/personalloanpersonalapplicationrelationships.d.ts.map +1 -1
- package/models/components/relationshipresourcenotfound.d.ts +2 -78
- package/models/components/relationshipresourcenotfound.d.ts.map +1 -1
- package/models/components/repaymentstructure.d.ts +0 -18
- package/models/components/repaymentstructure.d.ts.map +1 -1
- package/models/components/residencystatus.d.ts +0 -22
- package/models/components/residencystatus.d.ts.map +1 -1
- package/models/components/resourcenotfound.d.ts +2 -78
- package/models/components/resourcenotfound.d.ts.map +1 -1
- package/models/components/security.d.ts +0 -17
- package/models/components/security.d.ts.map +1 -1
- package/models/components/supportingdocumentattributes.d.ts +0 -21
- package/models/components/supportingdocumentattributes.d.ts.map +1 -1
- package/models/components/supportingdocumentattributesinput.d.ts +0 -17
- package/models/components/supportingdocumentattributesinput.d.ts.map +1 -1
- package/models/components/supportingdocumentrelationships.d.ts +0 -190
- package/models/components/supportingdocumentrelationships.d.ts.map +1 -1
- package/models/components/supportingdocumentresource.d.ts +0 -33
- package/models/components/supportingdocumentresource.d.ts.map +1 -1
- package/models/components/tokenrequest.d.ts +0 -33
- package/models/components/tokenrequest.d.ts.map +1 -1
- package/models/components/tokenresponse.d.ts +0 -22
- package/models/components/tokenresponse.d.ts.map +1 -1
- package/models/components/uploadmimetype.d.ts +0 -28
- package/models/components/uploadmimetype.d.ts.map +1 -1
- package/models/operations/createapplication.d.ts +0 -484
- package/models/operations/createapplication.d.ts.map +1 -1
- package/models/operations/getapplication.d.ts +0 -469
- package/models/operations/getapplication.d.ts.map +1 -1
- package/models/operations/listapplications.d.ts +0 -91
- package/models/operations/listapplications.d.ts.map +1 -1
- package/models/operations/supportingdocumentscreate.d.ts +6 -159
- package/models/operations/supportingdocumentscreate.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/hooks/oauth2scopes.ts +16 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +17 -3
- package/src/models/components/addressattributes.ts +0 -27
- package/src/models/components/apierrorlinks.ts +0 -31
- package/src/models/components/applicationresource.ts +0 -48
- package/src/models/components/applicationstatus.ts +0 -16
- package/src/models/components/australianstatesandterritories.ts +0 -12
- package/src/models/components/badrequesterror.ts +4 -119
- package/src/models/components/businessapplicationjsonapirelationships.ts +1 -395
- package/src/models/components/businessapplicationpayload.ts +2 -114
- package/src/models/components/businessapplicationresource.ts +14 -156
- package/src/models/components/businessloanbusinessapplicationrelationships.ts +6 -776
- package/src/models/components/commercialapplicationjsonapirelationships.ts +1 -497
- package/src/models/components/commercialsecuredapplicationpayload.ts +2 -112
- package/src/models/components/commercialsecuredapplicationresource.ts +14 -164
- package/src/models/components/commercialsecuredloanassetattributes.ts +0 -131
- package/src/models/components/commercialsecuredloanassettype.ts +0 -12
- package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +7 -790
- package/src/models/components/commercialsecuredloantypeofsale.ts +0 -12
- package/src/models/components/consumerapplicationjsonapirelationships.ts +1 -390
- package/src/models/components/consumersecuredapplicationpayload.ts +2 -127
- package/src/models/components/consumersecuredapplicationresource.ts +14 -163
- package/src/models/components/consumersecuredloanassetattributes.ts +0 -149
- package/src/models/components/consumersecuredloanassettype.ts +0 -12
- package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +8 -977
- package/src/models/components/consumersecuredloantypeofsale.ts +0 -12
- package/src/models/components/createsupportingdocumentsresponse.ts +1 -107
- package/src/models/components/currencycodeiso4217.ts +0 -12
- package/src/models/components/customerassetattributes.ts +0 -15
- package/src/models/components/customerassettype.ts +0 -12
- package/src/models/components/customerattributes.ts +2 -75
- package/src/models/components/customerattributescreateitem.ts +0 -59
- package/src/models/components/customeridtype.ts +1 -17
- package/src/models/components/customerliabilityattributes.ts +0 -15
- package/src/models/components/customerliabilityrepaymentfrequency.ts +0 -14
- package/src/models/components/customerliabilitytype.ts +0 -12
- package/src/models/components/customertitle.ts +0 -12
- package/src/models/components/documenttype.ts +0 -12
- package/src/models/components/entityattributes.ts +0 -95
- package/src/models/components/entityattributesinput.ts +0 -41
- package/src/models/components/errorsource.ts +0 -35
- package/src/models/components/expenseattributes.ts +1 -45
- package/src/models/components/expensefrequency.ts +1 -17
- package/src/models/components/expensetype.ts +1 -16
- package/src/models/components/forbiddenerror.ts +2 -103
- package/src/models/components/frequencytype.ts +0 -12
- package/src/models/components/incomeattributes.ts +1 -45
- package/src/models/components/incomefrequency.ts +1 -17
- package/src/models/components/incometype.ts +1 -16
- package/src/models/components/linkobject.ts +0 -15
- package/src/models/components/livingarrangements.ts +0 -12
- package/src/models/components/loandetailsattributes.ts +7 -165
- package/src/models/components/maritalstatus.ts +0 -12
- package/src/models/components/monetaryquantity.ts +0 -27
- package/src/models/components/paginationlinks.ts +0 -39
- package/src/models/components/paginationmeta.ts +0 -43
- package/src/models/components/percentagequantity.ts +0 -27
- package/src/models/components/personalapplicationjsonapirelationships.ts +1 -277
- package/src/models/components/personalapplicationpayload.ts +2 -114
- package/src/models/components/personalapplicationresource.ts +14 -156
- package/src/models/components/personalloanpersonalapplicationrelationships.ts +7 -892
- package/src/models/components/relationshipresourcenotfound.ts +2 -113
- package/src/models/components/repaymentstructure.ts +0 -12
- package/src/models/components/residencystatus.ts +0 -12
- package/src/models/components/resourcenotfound.ts +2 -109
- package/src/models/components/security.ts +0 -35
- package/src/models/components/supportingdocumentattributes.ts +1 -46
- package/src/models/components/supportingdocumentattributesinput.ts +1 -42
- package/src/models/components/supportingdocumentrelationships.ts +0 -230
- package/src/models/components/supportingdocumentresource.ts +1 -59
- package/src/models/components/tokenrequest.ts +1 -60
- package/src/models/components/tokenresponse.ts +0 -43
- package/src/models/components/uploadmimetype.ts +1 -17
- package/src/models/operations/createapplication.ts +0 -779
- package/src/models/operations/getapplication.ts +0 -759
- package/src/models/operations/listapplications.ts +0 -199
- package/src/models/operations/supportingdocumentscreate.ts +10 -340
- package/src/types/enums.ts +38 -9
- package/src/types/index.ts +2 -2
- package/src/types/unrecognized.ts +35 -0
- package/tsconfig.json +0 -1
- package/types/enums.d.ts +8 -11
- package/types/enums.d.ts.map +1 -1
- package/types/index.d.ts +2 -2
- package/types/index.d.ts.map +1 -1
- package/.devcontainer/README.md +0 -35
- package/core.js +0 -17
- package/core.js.map +0 -1
- package/docs/sdks/applications/README.md +0 -527
- package/docs/sdks/oauthtoken/README.md +0 -87
- package/docs/sdks/supportingdocuments/README.md +0 -115
- package/examples/README.md +0 -31
- package/hooks/hooks.js +0 -84
- package/hooks/hooks.js.map +0 -1
- package/hooks/index.js +0 -22
- package/hooks/index.js.map +0 -1
- package/hooks/types.js +0 -6
- package/hooks/types.js.map +0 -1
- package/index.js +0 -48
- package/index.js.map +0 -1
- package/lib/base64.js +0 -71
- package/lib/base64.js.map +0 -1
- package/lib/config.d.ts +0 -38
- package/lib/config.d.ts.map +0 -1
- package/lib/config.js +0 -35
- package/lib/config.js.map +0 -1
- package/lib/dlv.d.ts +0 -14
- package/lib/dlv.d.ts.map +0 -1
- package/lib/dlv.js +0 -49
- package/lib/dlv.js.map +0 -1
- package/lib/encodings.js +0 -368
- package/lib/encodings.js.map +0 -1
- package/lib/env.js +0 -82
- package/lib/env.js.map +0 -1
- package/lib/files.d.ts +0 -13
- package/lib/files.d.ts.map +0 -1
- package/lib/files.js +0 -77
- package/lib/files.js.map +0 -1
- package/lib/http.d.ts +0 -67
- package/lib/http.d.ts.map +0 -1
- package/lib/http.js +0 -217
- package/lib/http.js.map +0 -1
- package/lib/is-plain-object.d.ts +0 -2
- package/lib/is-plain-object.d.ts.map +0 -1
- package/lib/is-plain-object.js +0 -41
- package/lib/is-plain-object.js.map +0 -1
- package/lib/logger.d.ts +0 -6
- package/lib/logger.d.ts.map +0 -1
- package/lib/logger.js +0 -6
- package/lib/logger.js.map +0 -1
- package/lib/matchers.js +0 -218
- package/lib/matchers.js.map +0 -1
- package/lib/primitives.d.ts +0 -26
- package/lib/primitives.d.ts.map +0 -1
- package/lib/primitives.js +0 -111
- package/lib/primitives.js.map +0 -1
- package/lib/retries.d.ts +0 -38
- package/lib/retries.d.ts.map +0 -1
- package/lib/retries.js +0 -153
- package/lib/retries.js.map +0 -1
- package/lib/schemas.js +0 -62
- package/lib/schemas.js.map +0 -1
- package/lib/sdks.js +0 -274
- package/lib/sdks.js.map +0 -1
- package/lib/security.js +0 -145
- package/lib/security.js.map +0 -1
- package/lib/url.d.ts +0 -5
- package/lib/url.d.ts.map +0 -1
- package/lib/url.js +0 -25
- package/lib/url.js.map +0 -1
- package/models/components/addressattributes.js +0 -120
- package/models/components/addressattributes.js.map +0 -1
- package/models/components/apierrorlinks.js +0 -69
- package/models/components/apierrorlinks.js.map +0 -1
- package/models/components/applicationresource.js +0 -79
- package/models/components/applicationresource.js.map +0 -1
- package/models/components/applicationstatus.js +0 -66
- package/models/components/applicationstatus.js.map +0 -1
- package/models/components/australianstatesandterritories.js +0 -66
- package/models/components/australianstatesandterritories.js.map +0 -1
- package/models/components/badrequesterror.js +0 -139
- package/models/components/badrequesterror.js.map +0 -1
- package/models/components/businessapplicationjsonapirelationships.js +0 -309
- package/models/components/businessapplicationjsonapirelationships.js.map +0 -1
- package/models/components/businessapplicationpayload.js +0 -150
- package/models/components/businessapplicationpayload.js.map +0 -1
- package/models/components/businessapplicationresource.js +0 -159
- package/models/components/businessapplicationresource.js.map +0 -1
- package/models/components/businessloanbusinessapplicationrelationships.js +0 -597
- package/models/components/businessloanbusinessapplicationrelationships.js.map +0 -1
- package/models/components/commercialapplicationjsonapirelationships.js +0 -391
- package/models/components/commercialapplicationjsonapirelationships.js.map +0 -1
- package/models/components/commercialsecuredapplicationpayload.js +0 -159
- package/models/components/commercialsecuredapplicationpayload.js.map +0 -1
- package/models/components/commercialsecuredapplicationresource.js +0 -159
- package/models/components/commercialsecuredapplicationresource.js.map +0 -1
- package/models/components/commercialsecuredloanassetattributes.js +0 -322
- package/models/components/commercialsecuredloanassetattributes.js.map +0 -1
- package/models/components/commercialsecuredloanassettype.js +0 -84
- package/models/components/commercialsecuredloanassettype.js.map +0 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js +0 -682
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +0 -1
- package/models/components/commercialsecuredloantypeofsale.js +0 -64
- package/models/components/commercialsecuredloantypeofsale.js.map +0 -1
- package/models/components/consumerapplicationjsonapirelationships.js +0 -310
- package/models/components/consumerapplicationjsonapirelationships.js.map +0 -1
- package/models/components/consumersecuredapplicationpayload.js +0 -160
- package/models/components/consumersecuredapplicationpayload.js.map +0 -1
- package/models/components/consumersecuredapplicationresource.js +0 -159
- package/models/components/consumersecuredapplicationresource.js.map +0 -1
- package/models/components/consumersecuredloanassetattributes.js +0 -324
- package/models/components/consumersecuredloanassetattributes.js.map +0 -1
- package/models/components/consumersecuredloanassettype.js +0 -72
- package/models/components/consumersecuredloanassettype.js.map +0 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js +0 -775
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +0 -1
- package/models/components/consumersecuredloantypeofsale.js +0 -64
- package/models/components/consumersecuredloantypeofsale.js.map +0 -1
- package/models/components/createsupportingdocumentsresponse.js +0 -138
- package/models/components/createsupportingdocumentsresponse.js.map +0 -1
- package/models/components/currencycodeiso4217.js +0 -59
- package/models/components/currencycodeiso4217.js.map +0 -1
- package/models/components/customerassetattributes.js +0 -77
- package/models/components/customerassetattributes.js.map +0 -1
- package/models/components/customerassettype.js +0 -66
- package/models/components/customerassettype.js.map +0 -1
- package/models/components/customerattributes.js +0 -100
- package/models/components/customerattributes.js.map +0 -1
- package/models/components/customerattributescreateitem.js +0 -110
- package/models/components/customerattributescreateitem.js.map +0 -1
- package/models/components/customeridtype.js +0 -60
- package/models/components/customeridtype.js.map +0 -1
- package/models/components/customerliabilityattributes.js +0 -88
- package/models/components/customerliabilityattributes.js.map +0 -1
- package/models/components/customerliabilityrepaymentfrequency.js +0 -61
- package/models/components/customerliabilityrepaymentfrequency.js.map +0 -1
- package/models/components/customerliabilitytype.js +0 -64
- package/models/components/customerliabilitytype.js.map +0 -1
- package/models/components/customertitle.js +0 -62
- package/models/components/customertitle.js.map +0 -1
- package/models/components/documenttype.js +0 -75
- package/models/components/documenttype.js.map +0 -1
- package/models/components/entityattributes.js +0 -151
- package/models/components/entityattributes.js.map +0 -1
- package/models/components/entityattributesinput.js +0 -81
- package/models/components/entityattributesinput.js.map +0 -1
- package/models/components/errorsource.js +0 -73
- package/models/components/errorsource.js.map +0 -1
- package/models/components/expenseattributes.js +0 -78
- package/models/components/expenseattributes.js.map +0 -1
- package/models/components/expensefrequency.js +0 -61
- package/models/components/expensefrequency.js.map +0 -1
- package/models/components/expensetype.js +0 -78
- package/models/components/expensetype.js.map +0 -1
- package/models/components/forbiddenerror.js +0 -139
- package/models/components/forbiddenerror.js.map +0 -1
- package/models/components/frequencytype.js +0 -64
- package/models/components/frequencytype.js.map +0 -1
- package/models/components/incomeattributes.js +0 -78
- package/models/components/incomeattributes.js.map +0 -1
- package/models/components/incomefrequency.js +0 -62
- package/models/components/incomefrequency.js.map +0 -1
- package/models/components/incometype.js +0 -68
- package/models/components/incometype.js.map +0 -1
- package/models/components/index.js +0 -91
- package/models/components/index.js.map +0 -1
- package/models/components/linkobject.js +0 -77
- package/models/components/linkobject.js.map +0 -1
- package/models/components/livingarrangements.js +0 -62
- package/models/components/livingarrangements.js.map +0 -1
- package/models/components/loandetailsattributes.js +0 -375
- package/models/components/loandetailsattributes.js.map +0 -1
- package/models/components/maritalstatus.js +0 -60
- package/models/components/maritalstatus.js.map +0 -1
- package/models/components/monetaryquantity.js +0 -93
- package/models/components/monetaryquantity.js.map +0 -1
- package/models/components/paginationlinks.js +0 -75
- package/models/components/paginationlinks.js.map +0 -1
- package/models/components/paginationmeta.js +0 -88
- package/models/components/paginationmeta.js.map +0 -1
- package/models/components/percentagequantity.js +0 -89
- package/models/components/percentagequantity.js.map +0 -1
- package/models/components/personalapplicationjsonapirelationships.js +0 -229
- package/models/components/personalapplicationjsonapirelationships.js.map +0 -1
- package/models/components/personalapplicationpayload.js +0 -150
- package/models/components/personalapplicationpayload.js.map +0 -1
- package/models/components/personalapplicationresource.js +0 -159
- package/models/components/personalapplicationresource.js.map +0 -1
- package/models/components/personalloanpersonalapplicationrelationships.js +0 -682
- package/models/components/personalloanpersonalapplicationrelationships.js.map +0 -1
- package/models/components/relationshipresourcenotfound.js +0 -139
- package/models/components/relationshipresourcenotfound.js.map +0 -1
- package/models/components/repaymentstructure.js +0 -64
- package/models/components/repaymentstructure.js.map +0 -1
- package/models/components/residencystatus.js +0 -63
- package/models/components/residencystatus.js.map +0 -1
- package/models/components/resourcenotfound.js +0 -139
- package/models/components/resourcenotfound.js.map +0 -1
- package/models/components/security.js +0 -69
- package/models/components/security.js.map +0 -1
- package/models/components/supportingdocumentattributes.js +0 -74
- package/models/components/supportingdocumentattributes.js.map +0 -1
- package/models/components/supportingdocumentattributesinput.js +0 -72
- package/models/components/supportingdocumentattributesinput.js.map +0 -1
- package/models/components/supportingdocumentrelationships.js +0 -434
- package/models/components/supportingdocumentrelationships.js.map +0 -1
- package/models/components/supportingdocumentresource.js +0 -98
- package/models/components/supportingdocumentresource.js.map +0 -1
- package/models/components/tokenrequest.js +0 -110
- package/models/components/tokenrequest.js.map +0 -1
- package/models/components/tokenresponse.js +0 -88
- package/models/components/tokenresponse.js.map +0 -1
- package/models/components/uploadmimetype.js +0 -68
- package/models/components/uploadmimetype.js.map +0 -1
- package/models/errors/apierror.d.ts +0 -10
- package/models/errors/apierror.d.ts.map +0 -1
- package/models/errors/apierror.js +0 -34
- package/models/errors/apierror.js.map +0 -1
- package/models/errors/financeableerror.d.ts +0 -19
- package/models/errors/financeableerror.d.ts.map +0 -1
- package/models/errors/financeableerror.js +0 -20
- package/models/errors/financeableerror.js.map +0 -1
- package/models/errors/httpclienterrors.d.ts +0 -44
- package/models/errors/httpclienterrors.d.ts.map +0 -1
- package/models/errors/httpclienterrors.js +0 -78
- package/models/errors/httpclienterrors.js.map +0 -1
- package/models/errors/index.js +0 -25
- package/models/errors/index.js.map +0 -1
- package/models/errors/responsevalidationerror.js +0 -66
- package/models/errors/responsevalidationerror.js.map +0 -1
- package/models/errors/sdkvalidationerror.js +0 -129
- package/models/errors/sdkvalidationerror.js.map +0 -1
- package/models/operations/createapplication.js +0 -747
- package/models/operations/createapplication.js.map +0 -1
- package/models/operations/getapplication.js +0 -697
- package/models/operations/getapplication.js.map +0 -1
- package/models/operations/index.js +0 -24
- package/models/operations/index.js.map +0 -1
- package/models/operations/listapplications.js +0 -199
- package/models/operations/listapplications.js.map +0 -1
- package/models/operations/supportingdocumentscreate.js +0 -320
- package/models/operations/supportingdocumentscreate.js.map +0 -1
- package/sdk/index.js +0 -21
- package/sdk/index.js.map +0 -1
- package/sdk/sdk.js +0 -23
- package/sdk/sdk.js.map +0 -1
- package/types/async.d.ts +0 -23
- package/types/async.d.ts.map +0 -1
- package/types/async.js +0 -44
- package/types/async.js.map +0 -1
- package/types/blobs.js +0 -62
- package/types/blobs.js.map +0 -1
- package/types/constdatetime.js +0 -46
- package/types/constdatetime.js.map +0 -1
- package/types/enums.js +0 -10
- package/types/enums.js.map +0 -1
- package/types/fp.d.ts +0 -31
- package/types/fp.d.ts.map +0 -1
- package/types/fp.js +0 -37
- package/types/fp.js.map +0 -1
- package/types/index.js +0 -16
- package/types/index.js.map +0 -1
- package/types/operations.d.ts +0 -27
- package/types/operations.d.ts.map +0 -1
- package/types/operations.js +0 -83
- package/types/operations.js.map +0 -1
- package/types/rfcdate.d.ts +0 -21
- package/types/rfcdate.d.ts.map +0 -1
- package/types/rfcdate.js +0 -46
- package/types/rfcdate.js.map +0 -1
- package/types/streams.d.ts +0 -2
- package/types/streams.d.ts.map +0 -1
- package/types/streams.js +0 -18
- package/types/streams.js.map +0 -1
|
@@ -21,19 +21,7 @@ export type ConsumerSecuredLoanTypeOfSale = ClosedEnum<
|
|
|
21
21
|
export const ConsumerSecuredLoanTypeOfSale$inboundSchema: z.ZodNativeEnum<
|
|
22
22
|
typeof ConsumerSecuredLoanTypeOfSale
|
|
23
23
|
> = z.nativeEnum(ConsumerSecuredLoanTypeOfSale);
|
|
24
|
-
|
|
25
24
|
/** @internal */
|
|
26
25
|
export const ConsumerSecuredLoanTypeOfSale$outboundSchema: z.ZodNativeEnum<
|
|
27
26
|
typeof ConsumerSecuredLoanTypeOfSale
|
|
28
27
|
> = ConsumerSecuredLoanTypeOfSale$inboundSchema;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* @internal
|
|
32
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
33
|
-
*/
|
|
34
|
-
export namespace ConsumerSecuredLoanTypeOfSale$ {
|
|
35
|
-
/** @deprecated use `ConsumerSecuredLoanTypeOfSale$inboundSchema` instead. */
|
|
36
|
-
export const inboundSchema = ConsumerSecuredLoanTypeOfSale$inboundSchema;
|
|
37
|
-
/** @deprecated use `ConsumerSecuredLoanTypeOfSale$outboundSchema` instead. */
|
|
38
|
-
export const outboundSchema = ConsumerSecuredLoanTypeOfSale$outboundSchema;
|
|
39
|
-
}
|
|
@@ -7,23 +7,14 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
7
7
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
import {
|
|
11
|
-
LinkObject,
|
|
12
|
-
LinkObject$inboundSchema,
|
|
13
|
-
LinkObject$Outbound,
|
|
14
|
-
LinkObject$outboundSchema,
|
|
15
|
-
} from "./linkobject.js";
|
|
10
|
+
import { LinkObject, LinkObject$inboundSchema } from "./linkobject.js";
|
|
16
11
|
import {
|
|
17
12
|
SupportingDocumentAttributes,
|
|
18
13
|
SupportingDocumentAttributes$inboundSchema,
|
|
19
|
-
SupportingDocumentAttributes$Outbound,
|
|
20
|
-
SupportingDocumentAttributes$outboundSchema,
|
|
21
14
|
} from "./supportingdocumentattributes.js";
|
|
22
15
|
import {
|
|
23
16
|
SupportingDocumentRelationships,
|
|
24
17
|
SupportingDocumentRelationships$inboundSchema,
|
|
25
|
-
SupportingDocumentRelationships$Outbound,
|
|
26
|
-
SupportingDocumentRelationships$outboundSchema,
|
|
27
18
|
} from "./supportingdocumentrelationships.js";
|
|
28
19
|
|
|
29
20
|
/**
|
|
@@ -68,61 +59,12 @@ export const CreateSupportingDocumentsResponseType$inboundSchema:
|
|
|
68
59
|
CreateSupportingDocumentsResponseType,
|
|
69
60
|
);
|
|
70
61
|
|
|
71
|
-
/** @internal */
|
|
72
|
-
export const CreateSupportingDocumentsResponseType$outboundSchema:
|
|
73
|
-
z.ZodNativeEnum<typeof CreateSupportingDocumentsResponseType> =
|
|
74
|
-
CreateSupportingDocumentsResponseType$inboundSchema;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* @internal
|
|
78
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
79
|
-
*/
|
|
80
|
-
export namespace CreateSupportingDocumentsResponseType$ {
|
|
81
|
-
/** @deprecated use `CreateSupportingDocumentsResponseType$inboundSchema` instead. */
|
|
82
|
-
export const inboundSchema =
|
|
83
|
-
CreateSupportingDocumentsResponseType$inboundSchema;
|
|
84
|
-
/** @deprecated use `CreateSupportingDocumentsResponseType$outboundSchema` instead. */
|
|
85
|
-
export const outboundSchema =
|
|
86
|
-
CreateSupportingDocumentsResponseType$outboundSchema;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
62
|
/** @internal */
|
|
90
63
|
export const Links$inboundSchema: z.ZodType<Links, z.ZodTypeDef, unknown> = z
|
|
91
64
|
.object({
|
|
92
65
|
upload: LinkObject$inboundSchema,
|
|
93
66
|
});
|
|
94
67
|
|
|
95
|
-
/** @internal */
|
|
96
|
-
export type Links$Outbound = {
|
|
97
|
-
upload: LinkObject$Outbound;
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
/** @internal */
|
|
101
|
-
export const Links$outboundSchema: z.ZodType<
|
|
102
|
-
Links$Outbound,
|
|
103
|
-
z.ZodTypeDef,
|
|
104
|
-
Links
|
|
105
|
-
> = z.object({
|
|
106
|
-
upload: LinkObject$outboundSchema,
|
|
107
|
-
});
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* @internal
|
|
111
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
112
|
-
*/
|
|
113
|
-
export namespace Links$ {
|
|
114
|
-
/** @deprecated use `Links$inboundSchema` instead. */
|
|
115
|
-
export const inboundSchema = Links$inboundSchema;
|
|
116
|
-
/** @deprecated use `Links$outboundSchema` instead. */
|
|
117
|
-
export const outboundSchema = Links$outboundSchema;
|
|
118
|
-
/** @deprecated use `Links$Outbound` instead. */
|
|
119
|
-
export type Outbound = Links$Outbound;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
export function linksToJSON(links: Links): string {
|
|
123
|
-
return JSON.stringify(Links$outboundSchema.parse(links));
|
|
124
|
-
}
|
|
125
|
-
|
|
126
68
|
export function linksFromJSON(
|
|
127
69
|
jsonString: string,
|
|
128
70
|
): SafeParseResult<Links, SDKValidationError> {
|
|
@@ -147,54 +89,6 @@ export const CreateSupportingDocumentsResponse$inboundSchema: z.ZodType<
|
|
|
147
89
|
meta: z.record(z.any()).optional(),
|
|
148
90
|
});
|
|
149
91
|
|
|
150
|
-
/** @internal */
|
|
151
|
-
export type CreateSupportingDocumentsResponse$Outbound = {
|
|
152
|
-
type: string;
|
|
153
|
-
id?: string | undefined;
|
|
154
|
-
attributes: SupportingDocumentAttributes$Outbound;
|
|
155
|
-
relationships: SupportingDocumentRelationships$Outbound;
|
|
156
|
-
links?: Links$Outbound | undefined;
|
|
157
|
-
meta?: { [k: string]: any } | undefined;
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
/** @internal */
|
|
161
|
-
export const CreateSupportingDocumentsResponse$outboundSchema: z.ZodType<
|
|
162
|
-
CreateSupportingDocumentsResponse$Outbound,
|
|
163
|
-
z.ZodTypeDef,
|
|
164
|
-
CreateSupportingDocumentsResponse
|
|
165
|
-
> = z.object({
|
|
166
|
-
type: CreateSupportingDocumentsResponseType$outboundSchema,
|
|
167
|
-
id: z.string().optional(),
|
|
168
|
-
attributes: SupportingDocumentAttributes$outboundSchema,
|
|
169
|
-
relationships: SupportingDocumentRelationships$outboundSchema,
|
|
170
|
-
links: z.lazy(() => Links$outboundSchema).optional(),
|
|
171
|
-
meta: z.record(z.any()).optional(),
|
|
172
|
-
});
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* @internal
|
|
176
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
177
|
-
*/
|
|
178
|
-
export namespace CreateSupportingDocumentsResponse$ {
|
|
179
|
-
/** @deprecated use `CreateSupportingDocumentsResponse$inboundSchema` instead. */
|
|
180
|
-
export const inboundSchema = CreateSupportingDocumentsResponse$inboundSchema;
|
|
181
|
-
/** @deprecated use `CreateSupportingDocumentsResponse$outboundSchema` instead. */
|
|
182
|
-
export const outboundSchema =
|
|
183
|
-
CreateSupportingDocumentsResponse$outboundSchema;
|
|
184
|
-
/** @deprecated use `CreateSupportingDocumentsResponse$Outbound` instead. */
|
|
185
|
-
export type Outbound = CreateSupportingDocumentsResponse$Outbound;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
export function createSupportingDocumentsResponseToJSON(
|
|
189
|
-
createSupportingDocumentsResponse: CreateSupportingDocumentsResponse,
|
|
190
|
-
): string {
|
|
191
|
-
return JSON.stringify(
|
|
192
|
-
CreateSupportingDocumentsResponse$outboundSchema.parse(
|
|
193
|
-
createSupportingDocumentsResponse,
|
|
194
|
-
),
|
|
195
|
-
);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
92
|
export function createSupportingDocumentsResponseFromJSON(
|
|
199
93
|
jsonString: string,
|
|
200
94
|
): SafeParseResult<CreateSupportingDocumentsResponse, SDKValidationError> {
|
|
@@ -14,19 +14,7 @@ export type CurrencyCodeIso4217 = ClosedEnum<typeof CurrencyCodeIso4217>;
|
|
|
14
14
|
export const CurrencyCodeIso4217$inboundSchema: z.ZodNativeEnum<
|
|
15
15
|
typeof CurrencyCodeIso4217
|
|
16
16
|
> = z.nativeEnum(CurrencyCodeIso4217);
|
|
17
|
-
|
|
18
17
|
/** @internal */
|
|
19
18
|
export const CurrencyCodeIso4217$outboundSchema: z.ZodNativeEnum<
|
|
20
19
|
typeof CurrencyCodeIso4217
|
|
21
20
|
> = CurrencyCodeIso4217$inboundSchema;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @internal
|
|
25
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
26
|
-
*/
|
|
27
|
-
export namespace CurrencyCodeIso4217$ {
|
|
28
|
-
/** @deprecated use `CurrencyCodeIso4217$inboundSchema` instead. */
|
|
29
|
-
export const inboundSchema = CurrencyCodeIso4217$inboundSchema;
|
|
30
|
-
/** @deprecated use `CurrencyCodeIso4217$outboundSchema` instead. */
|
|
31
|
-
export const outboundSchema = CurrencyCodeIso4217$outboundSchema;
|
|
32
|
-
}
|
|
@@ -36,7 +36,6 @@ export const CustomerAssetAttributes$inboundSchema: z.ZodType<
|
|
|
36
36
|
value: MonetaryQuantity$inboundSchema.optional(),
|
|
37
37
|
description: z.string().optional(),
|
|
38
38
|
});
|
|
39
|
-
|
|
40
39
|
/** @internal */
|
|
41
40
|
export type CustomerAssetAttributes$Outbound = {
|
|
42
41
|
id?: string | undefined;
|
|
@@ -57,19 +56,6 @@ export const CustomerAssetAttributes$outboundSchema: z.ZodType<
|
|
|
57
56
|
description: z.string().optional(),
|
|
58
57
|
});
|
|
59
58
|
|
|
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 CustomerAssetAttributes$ {
|
|
65
|
-
/** @deprecated use `CustomerAssetAttributes$inboundSchema` instead. */
|
|
66
|
-
export const inboundSchema = CustomerAssetAttributes$inboundSchema;
|
|
67
|
-
/** @deprecated use `CustomerAssetAttributes$outboundSchema` instead. */
|
|
68
|
-
export const outboundSchema = CustomerAssetAttributes$outboundSchema;
|
|
69
|
-
/** @deprecated use `CustomerAssetAttributes$Outbound` instead. */
|
|
70
|
-
export type Outbound = CustomerAssetAttributes$Outbound;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
59
|
export function customerAssetAttributesToJSON(
|
|
74
60
|
customerAssetAttributes: CustomerAssetAttributes,
|
|
75
61
|
): string {
|
|
@@ -77,7 +63,6 @@ export function customerAssetAttributesToJSON(
|
|
|
77
63
|
CustomerAssetAttributes$outboundSchema.parse(customerAssetAttributes),
|
|
78
64
|
);
|
|
79
65
|
}
|
|
80
|
-
|
|
81
66
|
export function customerAssetAttributesFromJSON(
|
|
82
67
|
jsonString: string,
|
|
83
68
|
): SafeParseResult<CustomerAssetAttributes, SDKValidationError> {
|
|
@@ -21,19 +21,7 @@ export type CustomerAssetType = ClosedEnum<typeof CustomerAssetType>;
|
|
|
21
21
|
export const CustomerAssetType$inboundSchema: z.ZodNativeEnum<
|
|
22
22
|
typeof CustomerAssetType
|
|
23
23
|
> = z.nativeEnum(CustomerAssetType);
|
|
24
|
-
|
|
25
24
|
/** @internal */
|
|
26
25
|
export const CustomerAssetType$outboundSchema: z.ZodNativeEnum<
|
|
27
26
|
typeof CustomerAssetType
|
|
28
27
|
> = CustomerAssetType$inboundSchema;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* @internal
|
|
32
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
33
|
-
*/
|
|
34
|
-
export namespace CustomerAssetType$ {
|
|
35
|
-
/** @deprecated use `CustomerAssetType$inboundSchema` instead. */
|
|
36
|
-
export const inboundSchema = CustomerAssetType$inboundSchema;
|
|
37
|
-
/** @deprecated use `CustomerAssetType$outboundSchema` instead. */
|
|
38
|
-
export const outboundSchema = CustomerAssetType$outboundSchema;
|
|
39
|
-
}
|
|
@@ -6,31 +6,19 @@ import * as z from "zod/v3";
|
|
|
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
|
-
CustomerTitle,
|
|
11
|
-
CustomerTitle$inboundSchema,
|
|
12
|
-
CustomerTitle$outboundSchema,
|
|
13
|
-
} from "./customertitle.js";
|
|
9
|
+
import { CustomerTitle, CustomerTitle$inboundSchema } from "./customertitle.js";
|
|
14
10
|
import {
|
|
15
11
|
LivingArrangements,
|
|
16
12
|
LivingArrangements$inboundSchema,
|
|
17
|
-
LivingArrangements$outboundSchema,
|
|
18
13
|
} from "./livingarrangements.js";
|
|
19
|
-
import {
|
|
20
|
-
MaritalStatus,
|
|
21
|
-
MaritalStatus$inboundSchema,
|
|
22
|
-
MaritalStatus$outboundSchema,
|
|
23
|
-
} from "./maritalstatus.js";
|
|
14
|
+
import { MaritalStatus, MaritalStatus$inboundSchema } from "./maritalstatus.js";
|
|
24
15
|
import {
|
|
25
16
|
PercentageQuantity,
|
|
26
17
|
PercentageQuantity$inboundSchema,
|
|
27
|
-
PercentageQuantity$Outbound,
|
|
28
|
-
PercentageQuantity$outboundSchema,
|
|
29
18
|
} from "./percentagequantity.js";
|
|
30
19
|
import {
|
|
31
20
|
ResidencyStatus,
|
|
32
21
|
ResidencyStatus$inboundSchema,
|
|
33
|
-
ResidencyStatus$outboundSchema,
|
|
34
22
|
} from "./residencystatus.js";
|
|
35
23
|
|
|
36
24
|
/**
|
|
@@ -102,67 +90,6 @@ export const CustomerAttributes$inboundSchema: z.ZodType<
|
|
|
102
90
|
proportionOfSharedExpenses: PercentageQuantity$inboundSchema.optional(),
|
|
103
91
|
});
|
|
104
92
|
|
|
105
|
-
/** @internal */
|
|
106
|
-
export type CustomerAttributes$Outbound = {
|
|
107
|
-
id?: string | undefined;
|
|
108
|
-
title?: string | undefined;
|
|
109
|
-
firstName?: string | undefined;
|
|
110
|
-
middleNames?: string | undefined;
|
|
111
|
-
lastName?: string | undefined;
|
|
112
|
-
dateOfBirth?: string | undefined;
|
|
113
|
-
cardNumber?: string | undefined;
|
|
114
|
-
emailAddresses?: Array<string> | undefined;
|
|
115
|
-
phoneNumbers?: Array<string> | undefined;
|
|
116
|
-
numberOfDependents?: number | undefined;
|
|
117
|
-
residencyStatus?: string | undefined;
|
|
118
|
-
livingArrangements?: string | undefined;
|
|
119
|
-
maritalStatus?: string | undefined;
|
|
120
|
-
proportionOfSharedExpenses?: PercentageQuantity$Outbound | undefined;
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
/** @internal */
|
|
124
|
-
export const CustomerAttributes$outboundSchema: z.ZodType<
|
|
125
|
-
CustomerAttributes$Outbound,
|
|
126
|
-
z.ZodTypeDef,
|
|
127
|
-
CustomerAttributes
|
|
128
|
-
> = z.object({
|
|
129
|
-
id: z.string().optional(),
|
|
130
|
-
title: CustomerTitle$outboundSchema.optional(),
|
|
131
|
-
firstName: z.string().optional(),
|
|
132
|
-
middleNames: z.string().optional(),
|
|
133
|
-
lastName: z.string().optional(),
|
|
134
|
-
dateOfBirth: z.string().optional(),
|
|
135
|
-
cardNumber: z.string().optional(),
|
|
136
|
-
emailAddresses: z.array(z.string()).optional(),
|
|
137
|
-
phoneNumbers: z.array(z.string()).optional(),
|
|
138
|
-
numberOfDependents: z.number().int().optional(),
|
|
139
|
-
residencyStatus: ResidencyStatus$outboundSchema.optional(),
|
|
140
|
-
livingArrangements: LivingArrangements$outboundSchema.optional(),
|
|
141
|
-
maritalStatus: MaritalStatus$outboundSchema.optional(),
|
|
142
|
-
proportionOfSharedExpenses: PercentageQuantity$outboundSchema.optional(),
|
|
143
|
-
});
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* @internal
|
|
147
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
148
|
-
*/
|
|
149
|
-
export namespace CustomerAttributes$ {
|
|
150
|
-
/** @deprecated use `CustomerAttributes$inboundSchema` instead. */
|
|
151
|
-
export const inboundSchema = CustomerAttributes$inboundSchema;
|
|
152
|
-
/** @deprecated use `CustomerAttributes$outboundSchema` instead. */
|
|
153
|
-
export const outboundSchema = CustomerAttributes$outboundSchema;
|
|
154
|
-
/** @deprecated use `CustomerAttributes$Outbound` instead. */
|
|
155
|
-
export type Outbound = CustomerAttributes$Outbound;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
export function customerAttributesToJSON(
|
|
159
|
-
customerAttributes: CustomerAttributes,
|
|
160
|
-
): string {
|
|
161
|
-
return JSON.stringify(
|
|
162
|
-
CustomerAttributes$outboundSchema.parse(customerAttributes),
|
|
163
|
-
);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
93
|
export function customerAttributesFromJSON(
|
|
167
94
|
jsonString: string,
|
|
168
95
|
): SafeParseResult<CustomerAttributes, SDKValidationError> {
|
|
@@ -3,43 +3,33 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
6
|
import {
|
|
10
7
|
AustralianStatesAndTerritories,
|
|
11
|
-
AustralianStatesAndTerritories$inboundSchema,
|
|
12
8
|
AustralianStatesAndTerritories$outboundSchema,
|
|
13
9
|
} from "./australianstatesandterritories.js";
|
|
14
10
|
import {
|
|
15
11
|
CustomerIDType,
|
|
16
|
-
CustomerIDType$inboundSchema,
|
|
17
12
|
CustomerIDType$outboundSchema,
|
|
18
13
|
} from "./customeridtype.js";
|
|
19
14
|
import {
|
|
20
15
|
CustomerTitle,
|
|
21
|
-
CustomerTitle$inboundSchema,
|
|
22
16
|
CustomerTitle$outboundSchema,
|
|
23
17
|
} from "./customertitle.js";
|
|
24
18
|
import {
|
|
25
19
|
LivingArrangements,
|
|
26
|
-
LivingArrangements$inboundSchema,
|
|
27
20
|
LivingArrangements$outboundSchema,
|
|
28
21
|
} from "./livingarrangements.js";
|
|
29
22
|
import {
|
|
30
23
|
MaritalStatus,
|
|
31
|
-
MaritalStatus$inboundSchema,
|
|
32
24
|
MaritalStatus$outboundSchema,
|
|
33
25
|
} from "./maritalstatus.js";
|
|
34
26
|
import {
|
|
35
27
|
PercentageQuantity,
|
|
36
|
-
PercentageQuantity$inboundSchema,
|
|
37
28
|
PercentageQuantity$Outbound,
|
|
38
29
|
PercentageQuantity$outboundSchema,
|
|
39
30
|
} from "./percentagequantity.js";
|
|
40
31
|
import {
|
|
41
32
|
ResidencyStatus,
|
|
42
|
-
ResidencyStatus$inboundSchema,
|
|
43
33
|
ResidencyStatus$outboundSchema,
|
|
44
34
|
} from "./residencystatus.js";
|
|
45
35
|
|
|
@@ -106,32 +96,6 @@ export type CustomerAttributesCreateItem = {
|
|
|
106
96
|
proportionOfSharedExpenses?: PercentageQuantity | undefined;
|
|
107
97
|
};
|
|
108
98
|
|
|
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
99
|
/** @internal */
|
|
136
100
|
export type CustomerAttributesCreateItem$Outbound = {
|
|
137
101
|
id?: string | undefined;
|
|
@@ -180,19 +144,6 @@ export const CustomerAttributesCreateItem$outboundSchema: z.ZodType<
|
|
|
180
144
|
proportionOfSharedExpenses: PercentageQuantity$outboundSchema.optional(),
|
|
181
145
|
});
|
|
182
146
|
|
|
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
147
|
export function customerAttributesCreateItemToJSON(
|
|
197
148
|
customerAttributesCreateItem: CustomerAttributesCreateItem,
|
|
198
149
|
): string {
|
|
@@ -202,13 +153,3 @@ export function customerAttributesCreateItemToJSON(
|
|
|
202
153
|
),
|
|
203
154
|
);
|
|
204
155
|
}
|
|
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
|
-
}
|
|
@@ -11,23 +11,7 @@ export const CustomerIDType = {
|
|
|
11
11
|
} as const;
|
|
12
12
|
export type CustomerIDType = ClosedEnum<typeof CustomerIDType>;
|
|
13
13
|
|
|
14
|
-
/** @internal */
|
|
15
|
-
export const CustomerIDType$inboundSchema: z.ZodNativeEnum<
|
|
16
|
-
typeof CustomerIDType
|
|
17
|
-
> = z.nativeEnum(CustomerIDType);
|
|
18
|
-
|
|
19
14
|
/** @internal */
|
|
20
15
|
export const CustomerIDType$outboundSchema: z.ZodNativeEnum<
|
|
21
16
|
typeof CustomerIDType
|
|
22
|
-
> = CustomerIDType
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @internal
|
|
26
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
27
|
-
*/
|
|
28
|
-
export namespace CustomerIDType$ {
|
|
29
|
-
/** @deprecated use `CustomerIDType$inboundSchema` instead. */
|
|
30
|
-
export const inboundSchema = CustomerIDType$inboundSchema;
|
|
31
|
-
/** @deprecated use `CustomerIDType$outboundSchema` instead. */
|
|
32
|
-
export const outboundSchema = CustomerIDType$outboundSchema;
|
|
33
|
-
}
|
|
17
|
+
> = z.nativeEnum(CustomerIDType);
|
|
@@ -50,7 +50,6 @@ export const CustomerLiabilityAttributes$inboundSchema: z.ZodType<
|
|
|
50
50
|
repaymentAmount: MonetaryQuantity$inboundSchema.optional(),
|
|
51
51
|
description: z.string().optional(),
|
|
52
52
|
});
|
|
53
|
-
|
|
54
53
|
/** @internal */
|
|
55
54
|
export type CustomerLiabilityAttributes$Outbound = {
|
|
56
55
|
id?: string | undefined;
|
|
@@ -80,19 +79,6 @@ export const CustomerLiabilityAttributes$outboundSchema: z.ZodType<
|
|
|
80
79
|
description: z.string().optional(),
|
|
81
80
|
});
|
|
82
81
|
|
|
83
|
-
/**
|
|
84
|
-
* @internal
|
|
85
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
86
|
-
*/
|
|
87
|
-
export namespace CustomerLiabilityAttributes$ {
|
|
88
|
-
/** @deprecated use `CustomerLiabilityAttributes$inboundSchema` instead. */
|
|
89
|
-
export const inboundSchema = CustomerLiabilityAttributes$inboundSchema;
|
|
90
|
-
/** @deprecated use `CustomerLiabilityAttributes$outboundSchema` instead. */
|
|
91
|
-
export const outboundSchema = CustomerLiabilityAttributes$outboundSchema;
|
|
92
|
-
/** @deprecated use `CustomerLiabilityAttributes$Outbound` instead. */
|
|
93
|
-
export type Outbound = CustomerLiabilityAttributes$Outbound;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
82
|
export function customerLiabilityAttributesToJSON(
|
|
97
83
|
customerLiabilityAttributes: CustomerLiabilityAttributes,
|
|
98
84
|
): string {
|
|
@@ -102,7 +88,6 @@ export function customerLiabilityAttributesToJSON(
|
|
|
102
88
|
),
|
|
103
89
|
);
|
|
104
90
|
}
|
|
105
|
-
|
|
106
91
|
export function customerLiabilityAttributesFromJSON(
|
|
107
92
|
jsonString: string,
|
|
108
93
|
): SafeParseResult<CustomerLiabilityAttributes, SDKValidationError> {
|
|
@@ -18,21 +18,7 @@ export type CustomerLiabilityRepaymentFrequency = ClosedEnum<
|
|
|
18
18
|
export const CustomerLiabilityRepaymentFrequency$inboundSchema: z.ZodNativeEnum<
|
|
19
19
|
typeof CustomerLiabilityRepaymentFrequency
|
|
20
20
|
> = z.nativeEnum(CustomerLiabilityRepaymentFrequency);
|
|
21
|
-
|
|
22
21
|
/** @internal */
|
|
23
22
|
export const CustomerLiabilityRepaymentFrequency$outboundSchema:
|
|
24
23
|
z.ZodNativeEnum<typeof CustomerLiabilityRepaymentFrequency> =
|
|
25
24
|
CustomerLiabilityRepaymentFrequency$inboundSchema;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @internal
|
|
29
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
30
|
-
*/
|
|
31
|
-
export namespace CustomerLiabilityRepaymentFrequency$ {
|
|
32
|
-
/** @deprecated use `CustomerLiabilityRepaymentFrequency$inboundSchema` instead. */
|
|
33
|
-
export const inboundSchema =
|
|
34
|
-
CustomerLiabilityRepaymentFrequency$inboundSchema;
|
|
35
|
-
/** @deprecated use `CustomerLiabilityRepaymentFrequency$outboundSchema` instead. */
|
|
36
|
-
export const outboundSchema =
|
|
37
|
-
CustomerLiabilityRepaymentFrequency$outboundSchema;
|
|
38
|
-
}
|
|
@@ -19,19 +19,7 @@ export type CustomerLiabilityType = ClosedEnum<typeof CustomerLiabilityType>;
|
|
|
19
19
|
export const CustomerLiabilityType$inboundSchema: z.ZodNativeEnum<
|
|
20
20
|
typeof CustomerLiabilityType
|
|
21
21
|
> = z.nativeEnum(CustomerLiabilityType);
|
|
22
|
-
|
|
23
22
|
/** @internal */
|
|
24
23
|
export const CustomerLiabilityType$outboundSchema: z.ZodNativeEnum<
|
|
25
24
|
typeof CustomerLiabilityType
|
|
26
25
|
> = CustomerLiabilityType$inboundSchema;
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* @internal
|
|
30
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
31
|
-
*/
|
|
32
|
-
export namespace CustomerLiabilityType$ {
|
|
33
|
-
/** @deprecated use `CustomerLiabilityType$inboundSchema` instead. */
|
|
34
|
-
export const inboundSchema = CustomerLiabilityType$inboundSchema;
|
|
35
|
-
/** @deprecated use `CustomerLiabilityType$outboundSchema` instead. */
|
|
36
|
-
export const outboundSchema = CustomerLiabilityType$outboundSchema;
|
|
37
|
-
}
|
|
@@ -17,19 +17,7 @@ export type CustomerTitle = ClosedEnum<typeof CustomerTitle>;
|
|
|
17
17
|
export const CustomerTitle$inboundSchema: z.ZodNativeEnum<
|
|
18
18
|
typeof CustomerTitle
|
|
19
19
|
> = z.nativeEnum(CustomerTitle);
|
|
20
|
-
|
|
21
20
|
/** @internal */
|
|
22
21
|
export const CustomerTitle$outboundSchema: z.ZodNativeEnum<
|
|
23
22
|
typeof CustomerTitle
|
|
24
23
|
> = CustomerTitle$inboundSchema;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @internal
|
|
28
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
29
|
-
*/
|
|
30
|
-
export namespace CustomerTitle$ {
|
|
31
|
-
/** @deprecated use `CustomerTitle$inboundSchema` instead. */
|
|
32
|
-
export const inboundSchema = CustomerTitle$inboundSchema;
|
|
33
|
-
/** @deprecated use `CustomerTitle$outboundSchema` instead. */
|
|
34
|
-
export const outboundSchema = CustomerTitle$outboundSchema;
|
|
35
|
-
}
|
|
@@ -32,18 +32,6 @@ export type DocumentType = ClosedEnum<typeof DocumentType>;
|
|
|
32
32
|
/** @internal */
|
|
33
33
|
export const DocumentType$inboundSchema: z.ZodNativeEnum<typeof DocumentType> =
|
|
34
34
|
z.nativeEnum(DocumentType);
|
|
35
|
-
|
|
36
35
|
/** @internal */
|
|
37
36
|
export const DocumentType$outboundSchema: z.ZodNativeEnum<typeof DocumentType> =
|
|
38
37
|
DocumentType$inboundSchema;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
43
|
-
*/
|
|
44
|
-
export namespace DocumentType$ {
|
|
45
|
-
/** @deprecated use `DocumentType$inboundSchema` instead. */
|
|
46
|
-
export const inboundSchema = DocumentType$inboundSchema;
|
|
47
|
-
/** @deprecated use `DocumentType$outboundSchema` instead. */
|
|
48
|
-
export const outboundSchema = DocumentType$outboundSchema;
|
|
49
|
-
}
|