@financeable/aggregation 0.12.0 → 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 +1 -31
- 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 +1 -17
- 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
|
@@ -144,6 +144,10 @@ export type LoanDetailsAttributes = {
|
|
|
144
144
|
* Origination fee as either MonetaryQuantity model (preferred) or integer AUD dollars. The latter will be deprecated.
|
|
145
145
|
*/
|
|
146
146
|
originationFee?: MonetaryQuantity | number | undefined;
|
|
147
|
+
/**
|
|
148
|
+
* Commission amount as MonetaryQuantity.
|
|
149
|
+
*/
|
|
150
|
+
commission?: MonetaryQuantity | undefined;
|
|
147
151
|
/**
|
|
148
152
|
* Payout amount as either MonetaryQuantity model (preferred) or floating point AUD dollars as string. The latter will be deprecated.
|
|
149
153
|
*/
|
|
@@ -164,7 +168,6 @@ export const Repayments$inboundSchema: z.ZodType<
|
|
|
164
168
|
z.ZodTypeDef,
|
|
165
169
|
unknown
|
|
166
170
|
> = z.union([MonetaryQuantity$inboundSchema, z.string()]);
|
|
167
|
-
|
|
168
171
|
/** @internal */
|
|
169
172
|
export type Repayments$Outbound = MonetaryQuantity$Outbound | string;
|
|
170
173
|
|
|
@@ -175,23 +178,9 @@ export const Repayments$outboundSchema: z.ZodType<
|
|
|
175
178
|
Repayments
|
|
176
179
|
> = z.union([MonetaryQuantity$outboundSchema, z.string()]);
|
|
177
180
|
|
|
178
|
-
/**
|
|
179
|
-
* @internal
|
|
180
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
181
|
-
*/
|
|
182
|
-
export namespace Repayments$ {
|
|
183
|
-
/** @deprecated use `Repayments$inboundSchema` instead. */
|
|
184
|
-
export const inboundSchema = Repayments$inboundSchema;
|
|
185
|
-
/** @deprecated use `Repayments$outboundSchema` instead. */
|
|
186
|
-
export const outboundSchema = Repayments$outboundSchema;
|
|
187
|
-
/** @deprecated use `Repayments$Outbound` instead. */
|
|
188
|
-
export type Outbound = Repayments$Outbound;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
181
|
export function repaymentsToJSON(repayments: Repayments): string {
|
|
192
182
|
return JSON.stringify(Repayments$outboundSchema.parse(repayments));
|
|
193
183
|
}
|
|
194
|
-
|
|
195
184
|
export function repaymentsFromJSON(
|
|
196
185
|
jsonString: string,
|
|
197
186
|
): SafeParseResult<Repayments, SDKValidationError> {
|
|
@@ -208,7 +197,6 @@ export const LoanAmount$inboundSchema: z.ZodType<
|
|
|
208
197
|
z.ZodTypeDef,
|
|
209
198
|
unknown
|
|
210
199
|
> = z.union([MonetaryQuantity$inboundSchema, z.string()]);
|
|
211
|
-
|
|
212
200
|
/** @internal */
|
|
213
201
|
export type LoanAmount$Outbound = MonetaryQuantity$Outbound | string;
|
|
214
202
|
|
|
@@ -219,23 +207,9 @@ export const LoanAmount$outboundSchema: z.ZodType<
|
|
|
219
207
|
LoanAmount
|
|
220
208
|
> = z.union([MonetaryQuantity$outboundSchema, z.string()]);
|
|
221
209
|
|
|
222
|
-
/**
|
|
223
|
-
* @internal
|
|
224
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
225
|
-
*/
|
|
226
|
-
export namespace LoanAmount$ {
|
|
227
|
-
/** @deprecated use `LoanAmount$inboundSchema` instead. */
|
|
228
|
-
export const inboundSchema = LoanAmount$inboundSchema;
|
|
229
|
-
/** @deprecated use `LoanAmount$outboundSchema` instead. */
|
|
230
|
-
export const outboundSchema = LoanAmount$outboundSchema;
|
|
231
|
-
/** @deprecated use `LoanAmount$Outbound` instead. */
|
|
232
|
-
export type Outbound = LoanAmount$Outbound;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
210
|
export function loanAmountToJSON(loanAmount: LoanAmount): string {
|
|
236
211
|
return JSON.stringify(LoanAmount$outboundSchema.parse(loanAmount));
|
|
237
212
|
}
|
|
238
|
-
|
|
239
213
|
export function loanAmountFromJSON(
|
|
240
214
|
jsonString: string,
|
|
241
215
|
): SafeParseResult<LoanAmount, SDKValidationError> {
|
|
@@ -256,7 +230,6 @@ export const Brokerage$inboundSchema: z.ZodType<
|
|
|
256
230
|
PercentageQuantity$inboundSchema,
|
|
257
231
|
z.string(),
|
|
258
232
|
]);
|
|
259
|
-
|
|
260
233
|
/** @internal */
|
|
261
234
|
export type Brokerage$Outbound =
|
|
262
235
|
| MonetaryQuantity$Outbound
|
|
@@ -274,23 +247,9 @@ export const Brokerage$outboundSchema: z.ZodType<
|
|
|
274
247
|
z.string(),
|
|
275
248
|
]);
|
|
276
249
|
|
|
277
|
-
/**
|
|
278
|
-
* @internal
|
|
279
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
280
|
-
*/
|
|
281
|
-
export namespace Brokerage$ {
|
|
282
|
-
/** @deprecated use `Brokerage$inboundSchema` instead. */
|
|
283
|
-
export const inboundSchema = Brokerage$inboundSchema;
|
|
284
|
-
/** @deprecated use `Brokerage$outboundSchema` instead. */
|
|
285
|
-
export const outboundSchema = Brokerage$outboundSchema;
|
|
286
|
-
/** @deprecated use `Brokerage$Outbound` instead. */
|
|
287
|
-
export type Outbound = Brokerage$Outbound;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
250
|
export function brokerageToJSON(brokerage: Brokerage): string {
|
|
291
251
|
return JSON.stringify(Brokerage$outboundSchema.parse(brokerage));
|
|
292
252
|
}
|
|
293
|
-
|
|
294
253
|
export function brokerageFromJSON(
|
|
295
254
|
jsonString: string,
|
|
296
255
|
): SafeParseResult<Brokerage, SDKValidationError> {
|
|
@@ -308,7 +267,6 @@ export const Balloon$inboundSchema: z.ZodType<Balloon, z.ZodTypeDef, unknown> =
|
|
|
308
267
|
PercentageQuantity$inboundSchema,
|
|
309
268
|
z.number().int(),
|
|
310
269
|
]);
|
|
311
|
-
|
|
312
270
|
/** @internal */
|
|
313
271
|
export type Balloon$Outbound =
|
|
314
272
|
| MonetaryQuantity$Outbound
|
|
@@ -326,23 +284,9 @@ export const Balloon$outboundSchema: z.ZodType<
|
|
|
326
284
|
z.number().int(),
|
|
327
285
|
]);
|
|
328
286
|
|
|
329
|
-
/**
|
|
330
|
-
* @internal
|
|
331
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
332
|
-
*/
|
|
333
|
-
export namespace Balloon$ {
|
|
334
|
-
/** @deprecated use `Balloon$inboundSchema` instead. */
|
|
335
|
-
export const inboundSchema = Balloon$inboundSchema;
|
|
336
|
-
/** @deprecated use `Balloon$outboundSchema` instead. */
|
|
337
|
-
export const outboundSchema = Balloon$outboundSchema;
|
|
338
|
-
/** @deprecated use `Balloon$Outbound` instead. */
|
|
339
|
-
export type Outbound = Balloon$Outbound;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
287
|
export function balloonToJSON(balloon: Balloon): string {
|
|
343
288
|
return JSON.stringify(Balloon$outboundSchema.parse(balloon));
|
|
344
289
|
}
|
|
345
|
-
|
|
346
290
|
export function balloonFromJSON(
|
|
347
291
|
jsonString: string,
|
|
348
292
|
): SafeParseResult<Balloon, SDKValidationError> {
|
|
@@ -356,7 +300,6 @@ export function balloonFromJSON(
|
|
|
356
300
|
/** @internal */
|
|
357
301
|
export const Deposit$inboundSchema: z.ZodType<Deposit, z.ZodTypeDef, unknown> =
|
|
358
302
|
z.union([MonetaryQuantity$inboundSchema, z.string()]);
|
|
359
|
-
|
|
360
303
|
/** @internal */
|
|
361
304
|
export type Deposit$Outbound = MonetaryQuantity$Outbound | string;
|
|
362
305
|
|
|
@@ -367,23 +310,9 @@ export const Deposit$outboundSchema: z.ZodType<
|
|
|
367
310
|
Deposit
|
|
368
311
|
> = z.union([MonetaryQuantity$outboundSchema, z.string()]);
|
|
369
312
|
|
|
370
|
-
/**
|
|
371
|
-
* @internal
|
|
372
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
373
|
-
*/
|
|
374
|
-
export namespace Deposit$ {
|
|
375
|
-
/** @deprecated use `Deposit$inboundSchema` instead. */
|
|
376
|
-
export const inboundSchema = Deposit$inboundSchema;
|
|
377
|
-
/** @deprecated use `Deposit$outboundSchema` instead. */
|
|
378
|
-
export const outboundSchema = Deposit$outboundSchema;
|
|
379
|
-
/** @deprecated use `Deposit$Outbound` instead. */
|
|
380
|
-
export type Outbound = Deposit$Outbound;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
313
|
export function depositToJSON(deposit: Deposit): string {
|
|
384
314
|
return JSON.stringify(Deposit$outboundSchema.parse(deposit));
|
|
385
315
|
}
|
|
386
|
-
|
|
387
316
|
export function depositFromJSON(
|
|
388
317
|
jsonString: string,
|
|
389
318
|
): SafeParseResult<Deposit, SDKValidationError> {
|
|
@@ -397,7 +326,6 @@ export function depositFromJSON(
|
|
|
397
326
|
/** @internal */
|
|
398
327
|
export const TradeIn$inboundSchema: z.ZodType<TradeIn, z.ZodTypeDef, unknown> =
|
|
399
328
|
z.union([MonetaryQuantity$inboundSchema, z.string()]);
|
|
400
|
-
|
|
401
329
|
/** @internal */
|
|
402
330
|
export type TradeIn$Outbound = MonetaryQuantity$Outbound | string;
|
|
403
331
|
|
|
@@ -408,23 +336,9 @@ export const TradeIn$outboundSchema: z.ZodType<
|
|
|
408
336
|
TradeIn
|
|
409
337
|
> = z.union([MonetaryQuantity$outboundSchema, z.string()]);
|
|
410
338
|
|
|
411
|
-
/**
|
|
412
|
-
* @internal
|
|
413
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
414
|
-
*/
|
|
415
|
-
export namespace TradeIn$ {
|
|
416
|
-
/** @deprecated use `TradeIn$inboundSchema` instead. */
|
|
417
|
-
export const inboundSchema = TradeIn$inboundSchema;
|
|
418
|
-
/** @deprecated use `TradeIn$outboundSchema` instead. */
|
|
419
|
-
export const outboundSchema = TradeIn$outboundSchema;
|
|
420
|
-
/** @deprecated use `TradeIn$Outbound` instead. */
|
|
421
|
-
export type Outbound = TradeIn$Outbound;
|
|
422
|
-
}
|
|
423
|
-
|
|
424
339
|
export function tradeInToJSON(tradeIn: TradeIn): string {
|
|
425
340
|
return JSON.stringify(TradeIn$outboundSchema.parse(tradeIn));
|
|
426
341
|
}
|
|
427
|
-
|
|
428
342
|
export function tradeInFromJSON(
|
|
429
343
|
jsonString: string,
|
|
430
344
|
): SafeParseResult<TradeIn, SDKValidationError> {
|
|
@@ -441,7 +355,6 @@ export const OriginationFee$inboundSchema: z.ZodType<
|
|
|
441
355
|
z.ZodTypeDef,
|
|
442
356
|
unknown
|
|
443
357
|
> = z.union([MonetaryQuantity$inboundSchema, z.number().int()]);
|
|
444
|
-
|
|
445
358
|
/** @internal */
|
|
446
359
|
export type OriginationFee$Outbound = MonetaryQuantity$Outbound | number;
|
|
447
360
|
|
|
@@ -452,23 +365,9 @@ export const OriginationFee$outboundSchema: z.ZodType<
|
|
|
452
365
|
OriginationFee
|
|
453
366
|
> = z.union([MonetaryQuantity$outboundSchema, z.number().int()]);
|
|
454
367
|
|
|
455
|
-
/**
|
|
456
|
-
* @internal
|
|
457
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
458
|
-
*/
|
|
459
|
-
export namespace OriginationFee$ {
|
|
460
|
-
/** @deprecated use `OriginationFee$inboundSchema` instead. */
|
|
461
|
-
export const inboundSchema = OriginationFee$inboundSchema;
|
|
462
|
-
/** @deprecated use `OriginationFee$outboundSchema` instead. */
|
|
463
|
-
export const outboundSchema = OriginationFee$outboundSchema;
|
|
464
|
-
/** @deprecated use `OriginationFee$Outbound` instead. */
|
|
465
|
-
export type Outbound = OriginationFee$Outbound;
|
|
466
|
-
}
|
|
467
|
-
|
|
468
368
|
export function originationFeeToJSON(originationFee: OriginationFee): string {
|
|
469
369
|
return JSON.stringify(OriginationFee$outboundSchema.parse(originationFee));
|
|
470
370
|
}
|
|
471
|
-
|
|
472
371
|
export function originationFeeFromJSON(
|
|
473
372
|
jsonString: string,
|
|
474
373
|
): SafeParseResult<OriginationFee, SDKValidationError> {
|
|
@@ -482,7 +381,6 @@ export function originationFeeFromJSON(
|
|
|
482
381
|
/** @internal */
|
|
483
382
|
export const Payout$inboundSchema: z.ZodType<Payout, z.ZodTypeDef, unknown> = z
|
|
484
383
|
.union([MonetaryQuantity$inboundSchema, z.string()]);
|
|
485
|
-
|
|
486
384
|
/** @internal */
|
|
487
385
|
export type Payout$Outbound = MonetaryQuantity$Outbound | string;
|
|
488
386
|
|
|
@@ -493,23 +391,9 @@ export const Payout$outboundSchema: z.ZodType<
|
|
|
493
391
|
Payout
|
|
494
392
|
> = z.union([MonetaryQuantity$outboundSchema, z.string()]);
|
|
495
393
|
|
|
496
|
-
/**
|
|
497
|
-
* @internal
|
|
498
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
499
|
-
*/
|
|
500
|
-
export namespace Payout$ {
|
|
501
|
-
/** @deprecated use `Payout$inboundSchema` instead. */
|
|
502
|
-
export const inboundSchema = Payout$inboundSchema;
|
|
503
|
-
/** @deprecated use `Payout$outboundSchema` instead. */
|
|
504
|
-
export const outboundSchema = Payout$outboundSchema;
|
|
505
|
-
/** @deprecated use `Payout$Outbound` instead. */
|
|
506
|
-
export type Outbound = Payout$Outbound;
|
|
507
|
-
}
|
|
508
|
-
|
|
509
394
|
export function payoutToJSON(payout: Payout): string {
|
|
510
395
|
return JSON.stringify(Payout$outboundSchema.parse(payout));
|
|
511
396
|
}
|
|
512
|
-
|
|
513
397
|
export function payoutFromJSON(
|
|
514
398
|
jsonString: string,
|
|
515
399
|
): SafeParseResult<Payout, SDKValidationError> {
|
|
@@ -523,7 +407,6 @@ export function payoutFromJSON(
|
|
|
523
407
|
/** @internal */
|
|
524
408
|
export const Rate$inboundSchema: z.ZodType<Rate, z.ZodTypeDef, unknown> = z
|
|
525
409
|
.union([PercentageQuantity$inboundSchema, z.string()]);
|
|
526
|
-
|
|
527
410
|
/** @internal */
|
|
528
411
|
export type Rate$Outbound = PercentageQuantity$Outbound | string;
|
|
529
412
|
|
|
@@ -531,23 +414,9 @@ export type Rate$Outbound = PercentageQuantity$Outbound | string;
|
|
|
531
414
|
export const Rate$outboundSchema: z.ZodType<Rate$Outbound, z.ZodTypeDef, Rate> =
|
|
532
415
|
z.union([PercentageQuantity$outboundSchema, z.string()]);
|
|
533
416
|
|
|
534
|
-
/**
|
|
535
|
-
* @internal
|
|
536
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
537
|
-
*/
|
|
538
|
-
export namespace Rate$ {
|
|
539
|
-
/** @deprecated use `Rate$inboundSchema` instead. */
|
|
540
|
-
export const inboundSchema = Rate$inboundSchema;
|
|
541
|
-
/** @deprecated use `Rate$outboundSchema` instead. */
|
|
542
|
-
export const outboundSchema = Rate$outboundSchema;
|
|
543
|
-
/** @deprecated use `Rate$Outbound` instead. */
|
|
544
|
-
export type Outbound = Rate$Outbound;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
417
|
export function rateToJSON(rate: Rate): string {
|
|
548
418
|
return JSON.stringify(Rate$outboundSchema.parse(rate));
|
|
549
419
|
}
|
|
550
|
-
|
|
551
420
|
export function rateFromJSON(
|
|
552
421
|
jsonString: string,
|
|
553
422
|
): SafeParseResult<Rate, SDKValidationError> {
|
|
@@ -564,7 +433,6 @@ export const RateAdjustment$inboundSchema: z.ZodType<
|
|
|
564
433
|
z.ZodTypeDef,
|
|
565
434
|
unknown
|
|
566
435
|
> = z.union([PercentageQuantity$inboundSchema, z.string()]);
|
|
567
|
-
|
|
568
436
|
/** @internal */
|
|
569
437
|
export type RateAdjustment$Outbound = PercentageQuantity$Outbound | string;
|
|
570
438
|
|
|
@@ -575,23 +443,9 @@ export const RateAdjustment$outboundSchema: z.ZodType<
|
|
|
575
443
|
RateAdjustment
|
|
576
444
|
> = z.union([PercentageQuantity$outboundSchema, z.string()]);
|
|
577
445
|
|
|
578
|
-
/**
|
|
579
|
-
* @internal
|
|
580
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
581
|
-
*/
|
|
582
|
-
export namespace RateAdjustment$ {
|
|
583
|
-
/** @deprecated use `RateAdjustment$inboundSchema` instead. */
|
|
584
|
-
export const inboundSchema = RateAdjustment$inboundSchema;
|
|
585
|
-
/** @deprecated use `RateAdjustment$outboundSchema` instead. */
|
|
586
|
-
export const outboundSchema = RateAdjustment$outboundSchema;
|
|
587
|
-
/** @deprecated use `RateAdjustment$Outbound` instead. */
|
|
588
|
-
export type Outbound = RateAdjustment$Outbound;
|
|
589
|
-
}
|
|
590
|
-
|
|
591
446
|
export function rateAdjustmentToJSON(rateAdjustment: RateAdjustment): string {
|
|
592
447
|
return JSON.stringify(RateAdjustment$outboundSchema.parse(rateAdjustment));
|
|
593
448
|
}
|
|
594
|
-
|
|
595
449
|
export function rateAdjustmentFromJSON(
|
|
596
450
|
jsonString: string,
|
|
597
451
|
): SafeParseResult<RateAdjustment, SDKValidationError> {
|
|
@@ -632,12 +486,12 @@ export const LoanDetailsAttributes$inboundSchema: z.ZodType<
|
|
|
632
486
|
tradeIn: z.union([MonetaryQuantity$inboundSchema, z.string()]).optional(),
|
|
633
487
|
originationFee: z.union([MonetaryQuantity$inboundSchema, z.number().int()])
|
|
634
488
|
.optional(),
|
|
489
|
+
commission: MonetaryQuantity$inboundSchema.optional(),
|
|
635
490
|
payout: z.union([MonetaryQuantity$inboundSchema, z.string()]).optional(),
|
|
636
491
|
rate: z.union([PercentageQuantity$inboundSchema, z.string()]).optional(),
|
|
637
492
|
rateAdjustment: z.union([PercentageQuantity$inboundSchema, z.string()])
|
|
638
493
|
.optional(),
|
|
639
494
|
});
|
|
640
|
-
|
|
641
495
|
/** @internal */
|
|
642
496
|
export type LoanDetailsAttributes$Outbound = {
|
|
643
497
|
id?: string | undefined;
|
|
@@ -663,6 +517,7 @@ export type LoanDetailsAttributes$Outbound = {
|
|
|
663
517
|
deposit?: MonetaryQuantity$Outbound | string | undefined;
|
|
664
518
|
tradeIn?: MonetaryQuantity$Outbound | string | undefined;
|
|
665
519
|
originationFee?: MonetaryQuantity$Outbound | number | undefined;
|
|
520
|
+
commission?: MonetaryQuantity$Outbound | undefined;
|
|
666
521
|
payout?: MonetaryQuantity$Outbound | string | undefined;
|
|
667
522
|
rate?: PercentageQuantity$Outbound | string | undefined;
|
|
668
523
|
rateAdjustment?: PercentageQuantity$Outbound | string | undefined;
|
|
@@ -698,25 +553,13 @@ export const LoanDetailsAttributes$outboundSchema: z.ZodType<
|
|
|
698
553
|
tradeIn: z.union([MonetaryQuantity$outboundSchema, z.string()]).optional(),
|
|
699
554
|
originationFee: z.union([MonetaryQuantity$outboundSchema, z.number().int()])
|
|
700
555
|
.optional(),
|
|
556
|
+
commission: MonetaryQuantity$outboundSchema.optional(),
|
|
701
557
|
payout: z.union([MonetaryQuantity$outboundSchema, z.string()]).optional(),
|
|
702
558
|
rate: z.union([PercentageQuantity$outboundSchema, z.string()]).optional(),
|
|
703
559
|
rateAdjustment: z.union([PercentageQuantity$outboundSchema, z.string()])
|
|
704
560
|
.optional(),
|
|
705
561
|
});
|
|
706
562
|
|
|
707
|
-
/**
|
|
708
|
-
* @internal
|
|
709
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
710
|
-
*/
|
|
711
|
-
export namespace LoanDetailsAttributes$ {
|
|
712
|
-
/** @deprecated use `LoanDetailsAttributes$inboundSchema` instead. */
|
|
713
|
-
export const inboundSchema = LoanDetailsAttributes$inboundSchema;
|
|
714
|
-
/** @deprecated use `LoanDetailsAttributes$outboundSchema` instead. */
|
|
715
|
-
export const outboundSchema = LoanDetailsAttributes$outboundSchema;
|
|
716
|
-
/** @deprecated use `LoanDetailsAttributes$Outbound` instead. */
|
|
717
|
-
export type Outbound = LoanDetailsAttributes$Outbound;
|
|
718
|
-
}
|
|
719
|
-
|
|
720
563
|
export function loanDetailsAttributesToJSON(
|
|
721
564
|
loanDetailsAttributes: LoanDetailsAttributes,
|
|
722
565
|
): string {
|
|
@@ -724,7 +567,6 @@ export function loanDetailsAttributesToJSON(
|
|
|
724
567
|
LoanDetailsAttributes$outboundSchema.parse(loanDetailsAttributes),
|
|
725
568
|
);
|
|
726
569
|
}
|
|
727
|
-
|
|
728
570
|
export function loanDetailsAttributesFromJSON(
|
|
729
571
|
jsonString: string,
|
|
730
572
|
): SafeParseResult<LoanDetailsAttributes, SDKValidationError> {
|
|
@@ -15,19 +15,7 @@ export type MaritalStatus = ClosedEnum<typeof MaritalStatus>;
|
|
|
15
15
|
export const MaritalStatus$inboundSchema: z.ZodNativeEnum<
|
|
16
16
|
typeof MaritalStatus
|
|
17
17
|
> = z.nativeEnum(MaritalStatus);
|
|
18
|
-
|
|
19
18
|
/** @internal */
|
|
20
19
|
export const MaritalStatus$outboundSchema: z.ZodNativeEnum<
|
|
21
20
|
typeof MaritalStatus
|
|
22
21
|
> = MaritalStatus$inboundSchema;
|
|
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 MaritalStatus$ {
|
|
29
|
-
/** @deprecated use `MaritalStatus$inboundSchema` instead. */
|
|
30
|
-
export const inboundSchema = MaritalStatus$inboundSchema;
|
|
31
|
-
/** @deprecated use `MaritalStatus$outboundSchema` instead. */
|
|
32
|
-
export const outboundSchema = MaritalStatus$outboundSchema;
|
|
33
|
-
}
|
|
@@ -33,22 +33,10 @@ export type MonetaryQuantity = {
|
|
|
33
33
|
/** @internal */
|
|
34
34
|
export const ValueType$inboundSchema: z.ZodNativeEnum<typeof ValueType> = z
|
|
35
35
|
.nativeEnum(ValueType);
|
|
36
|
-
|
|
37
36
|
/** @internal */
|
|
38
37
|
export const ValueType$outboundSchema: z.ZodNativeEnum<typeof ValueType> =
|
|
39
38
|
ValueType$inboundSchema;
|
|
40
39
|
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
44
|
-
*/
|
|
45
|
-
export namespace ValueType$ {
|
|
46
|
-
/** @deprecated use `ValueType$inboundSchema` instead. */
|
|
47
|
-
export const inboundSchema = ValueType$inboundSchema;
|
|
48
|
-
/** @deprecated use `ValueType$outboundSchema` instead. */
|
|
49
|
-
export const outboundSchema = ValueType$outboundSchema;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
40
|
/** @internal */
|
|
53
41
|
export const MonetaryQuantity$inboundSchema: z.ZodType<
|
|
54
42
|
MonetaryQuantity,
|
|
@@ -59,7 +47,6 @@ export const MonetaryQuantity$inboundSchema: z.ZodType<
|
|
|
59
47
|
value: z.string(),
|
|
60
48
|
currencyCode: CurrencyCodeIso4217$inboundSchema,
|
|
61
49
|
});
|
|
62
|
-
|
|
63
50
|
/** @internal */
|
|
64
51
|
export type MonetaryQuantity$Outbound = {
|
|
65
52
|
valueType: string;
|
|
@@ -78,19 +65,6 @@ export const MonetaryQuantity$outboundSchema: z.ZodType<
|
|
|
78
65
|
currencyCode: CurrencyCodeIso4217$outboundSchema,
|
|
79
66
|
});
|
|
80
67
|
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
84
|
-
*/
|
|
85
|
-
export namespace MonetaryQuantity$ {
|
|
86
|
-
/** @deprecated use `MonetaryQuantity$inboundSchema` instead. */
|
|
87
|
-
export const inboundSchema = MonetaryQuantity$inboundSchema;
|
|
88
|
-
/** @deprecated use `MonetaryQuantity$outboundSchema` instead. */
|
|
89
|
-
export const outboundSchema = MonetaryQuantity$outboundSchema;
|
|
90
|
-
/** @deprecated use `MonetaryQuantity$Outbound` instead. */
|
|
91
|
-
export type Outbound = MonetaryQuantity$Outbound;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
68
|
export function monetaryQuantityToJSON(
|
|
95
69
|
monetaryQuantity: MonetaryQuantity,
|
|
96
70
|
): string {
|
|
@@ -98,7 +72,6 @@ export function monetaryQuantityToJSON(
|
|
|
98
72
|
MonetaryQuantity$outboundSchema.parse(monetaryQuantity),
|
|
99
73
|
);
|
|
100
74
|
}
|
|
101
|
-
|
|
102
75
|
export function monetaryQuantityFromJSON(
|
|
103
76
|
jsonString: string,
|
|
104
77
|
): SafeParseResult<MonetaryQuantity, SDKValidationError> {
|
|
@@ -38,45 +38,6 @@ export const PaginationLinks$inboundSchema: z.ZodType<
|
|
|
38
38
|
prev: z.string().optional(),
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
/** @internal */
|
|
42
|
-
export type PaginationLinks$Outbound = {
|
|
43
|
-
first?: string | undefined;
|
|
44
|
-
last?: string | undefined;
|
|
45
|
-
next?: string | undefined;
|
|
46
|
-
prev?: string | undefined;
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
/** @internal */
|
|
50
|
-
export const PaginationLinks$outboundSchema: z.ZodType<
|
|
51
|
-
PaginationLinks$Outbound,
|
|
52
|
-
z.ZodTypeDef,
|
|
53
|
-
PaginationLinks
|
|
54
|
-
> = z.object({
|
|
55
|
-
first: z.string().optional(),
|
|
56
|
-
last: z.string().optional(),
|
|
57
|
-
next: z.string().optional(),
|
|
58
|
-
prev: z.string().optional(),
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
64
|
-
*/
|
|
65
|
-
export namespace PaginationLinks$ {
|
|
66
|
-
/** @deprecated use `PaginationLinks$inboundSchema` instead. */
|
|
67
|
-
export const inboundSchema = PaginationLinks$inboundSchema;
|
|
68
|
-
/** @deprecated use `PaginationLinks$outboundSchema` instead. */
|
|
69
|
-
export const outboundSchema = PaginationLinks$outboundSchema;
|
|
70
|
-
/** @deprecated use `PaginationLinks$Outbound` instead. */
|
|
71
|
-
export type Outbound = PaginationLinks$Outbound;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export function paginationLinksToJSON(
|
|
75
|
-
paginationLinks: PaginationLinks,
|
|
76
|
-
): string {
|
|
77
|
-
return JSON.stringify(PaginationLinks$outboundSchema.parse(paginationLinks));
|
|
78
|
-
}
|
|
79
|
-
|
|
80
41
|
export function paginationLinksFromJSON(
|
|
81
42
|
jsonString: string,
|
|
82
43
|
): SafeParseResult<PaginationLinks, SDKValidationError> {
|
|
@@ -45,49 +45,6 @@ export const PaginationMeta$inboundSchema: z.ZodType<
|
|
|
45
45
|
});
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
/** @internal */
|
|
49
|
-
export type PaginationMeta$Outbound = {
|
|
50
|
-
total?: number | undefined;
|
|
51
|
-
per_page?: number | undefined;
|
|
52
|
-
current_page?: number | undefined;
|
|
53
|
-
total_pages?: number | undefined;
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
/** @internal */
|
|
57
|
-
export const PaginationMeta$outboundSchema: z.ZodType<
|
|
58
|
-
PaginationMeta$Outbound,
|
|
59
|
-
z.ZodTypeDef,
|
|
60
|
-
PaginationMeta
|
|
61
|
-
> = z.object({
|
|
62
|
-
total: z.number().int().optional(),
|
|
63
|
-
perPage: z.number().int().optional(),
|
|
64
|
-
currentPage: z.number().int().optional(),
|
|
65
|
-
totalPages: z.number().int().optional(),
|
|
66
|
-
}).transform((v) => {
|
|
67
|
-
return remap$(v, {
|
|
68
|
-
perPage: "per_page",
|
|
69
|
-
currentPage: "current_page",
|
|
70
|
-
totalPages: "total_pages",
|
|
71
|
-
});
|
|
72
|
-
});
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
77
|
-
*/
|
|
78
|
-
export namespace PaginationMeta$ {
|
|
79
|
-
/** @deprecated use `PaginationMeta$inboundSchema` instead. */
|
|
80
|
-
export const inboundSchema = PaginationMeta$inboundSchema;
|
|
81
|
-
/** @deprecated use `PaginationMeta$outboundSchema` instead. */
|
|
82
|
-
export const outboundSchema = PaginationMeta$outboundSchema;
|
|
83
|
-
/** @deprecated use `PaginationMeta$Outbound` instead. */
|
|
84
|
-
export type Outbound = PaginationMeta$Outbound;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export function paginationMetaToJSON(paginationMeta: PaginationMeta): string {
|
|
88
|
-
return JSON.stringify(PaginationMeta$outboundSchema.parse(paginationMeta));
|
|
89
|
-
}
|
|
90
|
-
|
|
91
48
|
export function paginationMetaFromJSON(
|
|
92
49
|
jsonString: string,
|
|
93
50
|
): SafeParseResult<PaginationMeta, SDKValidationError> {
|
|
@@ -27,23 +27,11 @@ export type PercentageQuantity = {
|
|
|
27
27
|
export const PercentageQuantityValueType$inboundSchema: z.ZodNativeEnum<
|
|
28
28
|
typeof PercentageQuantityValueType
|
|
29
29
|
> = z.nativeEnum(PercentageQuantityValueType);
|
|
30
|
-
|
|
31
30
|
/** @internal */
|
|
32
31
|
export const PercentageQuantityValueType$outboundSchema: z.ZodNativeEnum<
|
|
33
32
|
typeof PercentageQuantityValueType
|
|
34
33
|
> = PercentageQuantityValueType$inboundSchema;
|
|
35
34
|
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
39
|
-
*/
|
|
40
|
-
export namespace PercentageQuantityValueType$ {
|
|
41
|
-
/** @deprecated use `PercentageQuantityValueType$inboundSchema` instead. */
|
|
42
|
-
export const inboundSchema = PercentageQuantityValueType$inboundSchema;
|
|
43
|
-
/** @deprecated use `PercentageQuantityValueType$outboundSchema` instead. */
|
|
44
|
-
export const outboundSchema = PercentageQuantityValueType$outboundSchema;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
35
|
/** @internal */
|
|
48
36
|
export const PercentageQuantity$inboundSchema: z.ZodType<
|
|
49
37
|
PercentageQuantity,
|
|
@@ -53,7 +41,6 @@ export const PercentageQuantity$inboundSchema: z.ZodType<
|
|
|
53
41
|
valueType: PercentageQuantityValueType$inboundSchema,
|
|
54
42
|
value: z.string(),
|
|
55
43
|
});
|
|
56
|
-
|
|
57
44
|
/** @internal */
|
|
58
45
|
export type PercentageQuantity$Outbound = {
|
|
59
46
|
valueType: string;
|
|
@@ -70,19 +57,6 @@ export const PercentageQuantity$outboundSchema: z.ZodType<
|
|
|
70
57
|
value: z.string(),
|
|
71
58
|
});
|
|
72
59
|
|
|
73
|
-
/**
|
|
74
|
-
* @internal
|
|
75
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
76
|
-
*/
|
|
77
|
-
export namespace PercentageQuantity$ {
|
|
78
|
-
/** @deprecated use `PercentageQuantity$inboundSchema` instead. */
|
|
79
|
-
export const inboundSchema = PercentageQuantity$inboundSchema;
|
|
80
|
-
/** @deprecated use `PercentageQuantity$outboundSchema` instead. */
|
|
81
|
-
export const outboundSchema = PercentageQuantity$outboundSchema;
|
|
82
|
-
/** @deprecated use `PercentageQuantity$Outbound` instead. */
|
|
83
|
-
export type Outbound = PercentageQuantity$Outbound;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
60
|
export function percentageQuantityToJSON(
|
|
87
61
|
percentageQuantity: PercentageQuantity,
|
|
88
62
|
): string {
|
|
@@ -90,7 +64,6 @@ export function percentageQuantityToJSON(
|
|
|
90
64
|
PercentageQuantity$outboundSchema.parse(percentageQuantity),
|
|
91
65
|
);
|
|
92
66
|
}
|
|
93
|
-
|
|
94
67
|
export function percentageQuantityFromJSON(
|
|
95
68
|
jsonString: string,
|
|
96
69
|
): SafeParseResult<PercentageQuantity, SDKValidationError> {
|