@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
|
@@ -3,19 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
7
|
import {
|
|
11
8
|
CommercialSecuredLoanCommercialApplicationRelationships,
|
|
12
|
-
CommercialSecuredLoanCommercialApplicationRelationships$inboundSchema,
|
|
13
9
|
CommercialSecuredLoanCommercialApplicationRelationships$Outbound,
|
|
14
10
|
CommercialSecuredLoanCommercialApplicationRelationships$outboundSchema,
|
|
15
11
|
} from "./commercialsecuredloancommercialapplicationrelationships.js";
|
|
16
12
|
import {
|
|
17
13
|
LinkObject,
|
|
18
|
-
LinkObject$inboundSchema,
|
|
19
14
|
LinkObject$Outbound,
|
|
20
15
|
LinkObject$outboundSchema,
|
|
21
16
|
} from "./linkobject.js";
|
|
@@ -77,55 +72,14 @@ export type CommercialSecuredApplicationPayload = {
|
|
|
77
72
|
};
|
|
78
73
|
|
|
79
74
|
/** @internal */
|
|
80
|
-
export const Type$
|
|
75
|
+
export const Type$outboundSchema: z.ZodNativeEnum<typeof Type> = z.nativeEnum(
|
|
81
76
|
Type,
|
|
82
77
|
);
|
|
83
78
|
|
|
84
|
-
/** @internal */
|
|
85
|
-
export const Type$outboundSchema: z.ZodNativeEnum<typeof Type> =
|
|
86
|
-
Type$inboundSchema;
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
91
|
-
*/
|
|
92
|
-
export namespace Type$ {
|
|
93
|
-
/** @deprecated use `Type$inboundSchema` instead. */
|
|
94
|
-
export const inboundSchema = Type$inboundSchema;
|
|
95
|
-
/** @deprecated use `Type$outboundSchema` instead. */
|
|
96
|
-
export const outboundSchema = Type$outboundSchema;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/** @internal */
|
|
100
|
-
export const ApplicationType$inboundSchema: z.ZodNativeEnum<
|
|
101
|
-
typeof ApplicationType
|
|
102
|
-
> = z.nativeEnum(ApplicationType);
|
|
103
|
-
|
|
104
79
|
/** @internal */
|
|
105
80
|
export const ApplicationType$outboundSchema: z.ZodNativeEnum<
|
|
106
81
|
typeof ApplicationType
|
|
107
|
-
> = ApplicationType
|
|
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 ApplicationType$ {
|
|
114
|
-
/** @deprecated use `ApplicationType$inboundSchema` instead. */
|
|
115
|
-
export const inboundSchema = ApplicationType$inboundSchema;
|
|
116
|
-
/** @deprecated use `ApplicationType$outboundSchema` instead. */
|
|
117
|
-
export const outboundSchema = ApplicationType$outboundSchema;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
/** @internal */
|
|
121
|
-
export const Attributes$inboundSchema: z.ZodType<
|
|
122
|
-
Attributes,
|
|
123
|
-
z.ZodTypeDef,
|
|
124
|
-
unknown
|
|
125
|
-
> = z.object({
|
|
126
|
-
applicationType: ApplicationType$inboundSchema,
|
|
127
|
-
associatedBrokerEmail: z.string(),
|
|
128
|
-
});
|
|
82
|
+
> = z.nativeEnum(ApplicationType);
|
|
129
83
|
|
|
130
84
|
/** @internal */
|
|
131
85
|
export type Attributes$Outbound = {
|
|
@@ -143,48 +97,10 @@ export const Attributes$outboundSchema: z.ZodType<
|
|
|
143
97
|
associatedBrokerEmail: z.string(),
|
|
144
98
|
});
|
|
145
99
|
|
|
146
|
-
/**
|
|
147
|
-
* @internal
|
|
148
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
149
|
-
*/
|
|
150
|
-
export namespace Attributes$ {
|
|
151
|
-
/** @deprecated use `Attributes$inboundSchema` instead. */
|
|
152
|
-
export const inboundSchema = Attributes$inboundSchema;
|
|
153
|
-
/** @deprecated use `Attributes$outboundSchema` instead. */
|
|
154
|
-
export const outboundSchema = Attributes$outboundSchema;
|
|
155
|
-
/** @deprecated use `Attributes$Outbound` instead. */
|
|
156
|
-
export type Outbound = Attributes$Outbound;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
100
|
export function attributesToJSON(attributes: Attributes): string {
|
|
160
101
|
return JSON.stringify(Attributes$outboundSchema.parse(attributes));
|
|
161
102
|
}
|
|
162
103
|
|
|
163
|
-
export function attributesFromJSON(
|
|
164
|
-
jsonString: string,
|
|
165
|
-
): SafeParseResult<Attributes, SDKValidationError> {
|
|
166
|
-
return safeParse(
|
|
167
|
-
jsonString,
|
|
168
|
-
(x) => Attributes$inboundSchema.parse(JSON.parse(x)),
|
|
169
|
-
`Failed to parse 'Attributes' from JSON`,
|
|
170
|
-
);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
/** @internal */
|
|
174
|
-
export const CommercialSecuredApplicationPayload$inboundSchema: z.ZodType<
|
|
175
|
-
CommercialSecuredApplicationPayload,
|
|
176
|
-
z.ZodTypeDef,
|
|
177
|
-
unknown
|
|
178
|
-
> = z.object({
|
|
179
|
-
type: Type$inboundSchema,
|
|
180
|
-
attributes: z.lazy(() => Attributes$inboundSchema),
|
|
181
|
-
relationships:
|
|
182
|
-
CommercialSecuredLoanCommercialApplicationRelationships$inboundSchema
|
|
183
|
-
.optional(),
|
|
184
|
-
links: z.record(LinkObject$inboundSchema).optional(),
|
|
185
|
-
meta: z.record(z.any()).optional(),
|
|
186
|
-
});
|
|
187
|
-
|
|
188
104
|
/** @internal */
|
|
189
105
|
export type CommercialSecuredApplicationPayload$Outbound = {
|
|
190
106
|
type: string;
|
|
@@ -211,21 +127,6 @@ export const CommercialSecuredApplicationPayload$outboundSchema: z.ZodType<
|
|
|
211
127
|
meta: z.record(z.any()).optional(),
|
|
212
128
|
});
|
|
213
129
|
|
|
214
|
-
/**
|
|
215
|
-
* @internal
|
|
216
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
217
|
-
*/
|
|
218
|
-
export namespace CommercialSecuredApplicationPayload$ {
|
|
219
|
-
/** @deprecated use `CommercialSecuredApplicationPayload$inboundSchema` instead. */
|
|
220
|
-
export const inboundSchema =
|
|
221
|
-
CommercialSecuredApplicationPayload$inboundSchema;
|
|
222
|
-
/** @deprecated use `CommercialSecuredApplicationPayload$outboundSchema` instead. */
|
|
223
|
-
export const outboundSchema =
|
|
224
|
-
CommercialSecuredApplicationPayload$outboundSchema;
|
|
225
|
-
/** @deprecated use `CommercialSecuredApplicationPayload$Outbound` instead. */
|
|
226
|
-
export type Outbound = CommercialSecuredApplicationPayload$Outbound;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
130
|
export function commercialSecuredApplicationPayloadToJSON(
|
|
230
131
|
commercialSecuredApplicationPayload: CommercialSecuredApplicationPayload,
|
|
231
132
|
): string {
|
|
@@ -235,14 +136,3 @@ export function commercialSecuredApplicationPayloadToJSON(
|
|
|
235
136
|
),
|
|
236
137
|
);
|
|
237
138
|
}
|
|
238
|
-
|
|
239
|
-
export function commercialSecuredApplicationPayloadFromJSON(
|
|
240
|
-
jsonString: string,
|
|
241
|
-
): SafeParseResult<CommercialSecuredApplicationPayload, SDKValidationError> {
|
|
242
|
-
return safeParse(
|
|
243
|
-
jsonString,
|
|
244
|
-
(x) =>
|
|
245
|
-
CommercialSecuredApplicationPayload$inboundSchema.parse(JSON.parse(x)),
|
|
246
|
-
`Failed to parse 'CommercialSecuredApplicationPayload' from JSON`,
|
|
247
|
-
);
|
|
248
|
-
}
|
|
@@ -10,27 +10,12 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
10
10
|
import {
|
|
11
11
|
ApplicationStatus,
|
|
12
12
|
ApplicationStatus$inboundSchema,
|
|
13
|
-
ApplicationStatus$outboundSchema,
|
|
14
13
|
} from "./applicationstatus.js";
|
|
15
14
|
import {
|
|
16
15
|
CommercialApplicationJsonApiRelationships,
|
|
17
16
|
CommercialApplicationJsonApiRelationships$inboundSchema,
|
|
18
|
-
CommercialApplicationJsonApiRelationships$Outbound,
|
|
19
|
-
CommercialApplicationJsonApiRelationships$outboundSchema,
|
|
20
17
|
} from "./commercialapplicationjsonapirelationships.js";
|
|
21
|
-
import {
|
|
22
|
-
LinkObject,
|
|
23
|
-
LinkObject$inboundSchema,
|
|
24
|
-
LinkObject$Outbound,
|
|
25
|
-
LinkObject$outboundSchema,
|
|
26
|
-
} from "./linkobject.js";
|
|
27
|
-
|
|
28
|
-
export const CommercialSecuredApplicationResourceType = {
|
|
29
|
-
CommercialSecuredApplications: "commercial-secured-applications",
|
|
30
|
-
} as const;
|
|
31
|
-
export type CommercialSecuredApplicationResourceType = ClosedEnum<
|
|
32
|
-
typeof CommercialSecuredApplicationResourceType
|
|
33
|
-
>;
|
|
18
|
+
import { LinkObject, LinkObject$inboundSchema } from "./linkobject.js";
|
|
34
19
|
|
|
35
20
|
/**
|
|
36
21
|
* Type of the loan application
|
|
@@ -50,7 +35,7 @@ export type CommercialSecuredApplicationResourceApplicationType = ClosedEnum<
|
|
|
50
35
|
*/
|
|
51
36
|
export type CommercialSecuredApplicationResourceAttributes = {
|
|
52
37
|
/**
|
|
53
|
-
* Full identifier of the application. Not visible within the web application.
|
|
38
|
+
* Full identifier of the application. Not visible within the web application (except via URL).
|
|
54
39
|
*/
|
|
55
40
|
id?: string | undefined;
|
|
56
41
|
/**
|
|
@@ -65,6 +50,14 @@ export type CommercialSecuredApplicationResourceAttributes = {
|
|
|
65
50
|
* Current status, must be 'workshop' for new applications
|
|
66
51
|
*/
|
|
67
52
|
status: ApplicationStatus;
|
|
53
|
+
/**
|
|
54
|
+
* If the application has settled with a lender, the date of the settlement, in DD/MM/YYYY format
|
|
55
|
+
*/
|
|
56
|
+
settlementDate?: string | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* If the application has settled with a lender, the lender's identifier of the application, distinct from Financeable's
|
|
59
|
+
*/
|
|
60
|
+
lenderApplicationReference?: string | undefined;
|
|
68
61
|
/**
|
|
69
62
|
* Creation timestamp
|
|
70
63
|
*/
|
|
@@ -79,7 +72,7 @@ export type CommercialSecuredApplicationResourceAttributes = {
|
|
|
79
72
|
* A Commercial Application resource following JSON:API structure
|
|
80
73
|
*/
|
|
81
74
|
export type CommercialSecuredApplicationResource = {
|
|
82
|
-
type:
|
|
75
|
+
type: "commercial-secured-applications";
|
|
83
76
|
id?: string | undefined;
|
|
84
77
|
/**
|
|
85
78
|
* Application resource attributes
|
|
@@ -93,52 +86,11 @@ export type CommercialSecuredApplicationResource = {
|
|
|
93
86
|
meta?: { [k: string]: any } | undefined;
|
|
94
87
|
};
|
|
95
88
|
|
|
96
|
-
/** @internal */
|
|
97
|
-
export const CommercialSecuredApplicationResourceType$inboundSchema:
|
|
98
|
-
z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceType> = z
|
|
99
|
-
.nativeEnum(CommercialSecuredApplicationResourceType);
|
|
100
|
-
|
|
101
|
-
/** @internal */
|
|
102
|
-
export const CommercialSecuredApplicationResourceType$outboundSchema:
|
|
103
|
-
z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceType> =
|
|
104
|
-
CommercialSecuredApplicationResourceType$inboundSchema;
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* @internal
|
|
108
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
109
|
-
*/
|
|
110
|
-
export namespace CommercialSecuredApplicationResourceType$ {
|
|
111
|
-
/** @deprecated use `CommercialSecuredApplicationResourceType$inboundSchema` instead. */
|
|
112
|
-
export const inboundSchema =
|
|
113
|
-
CommercialSecuredApplicationResourceType$inboundSchema;
|
|
114
|
-
/** @deprecated use `CommercialSecuredApplicationResourceType$outboundSchema` instead. */
|
|
115
|
-
export const outboundSchema =
|
|
116
|
-
CommercialSecuredApplicationResourceType$outboundSchema;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
89
|
/** @internal */
|
|
120
90
|
export const CommercialSecuredApplicationResourceApplicationType$inboundSchema:
|
|
121
91
|
z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceApplicationType> =
|
|
122
92
|
z.nativeEnum(CommercialSecuredApplicationResourceApplicationType);
|
|
123
93
|
|
|
124
|
-
/** @internal */
|
|
125
|
-
export const CommercialSecuredApplicationResourceApplicationType$outboundSchema:
|
|
126
|
-
z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceApplicationType> =
|
|
127
|
-
CommercialSecuredApplicationResourceApplicationType$inboundSchema;
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* @internal
|
|
131
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
132
|
-
*/
|
|
133
|
-
export namespace CommercialSecuredApplicationResourceApplicationType$ {
|
|
134
|
-
/** @deprecated use `CommercialSecuredApplicationResourceApplicationType$inboundSchema` instead. */
|
|
135
|
-
export const inboundSchema =
|
|
136
|
-
CommercialSecuredApplicationResourceApplicationType$inboundSchema;
|
|
137
|
-
/** @deprecated use `CommercialSecuredApplicationResourceApplicationType$outboundSchema` instead. */
|
|
138
|
-
export const outboundSchema =
|
|
139
|
-
CommercialSecuredApplicationResourceApplicationType$outboundSchema;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
94
|
/** @internal */
|
|
143
95
|
export const CommercialSecuredApplicationResourceAttributes$inboundSchema:
|
|
144
96
|
z.ZodType<
|
|
@@ -151,63 +103,12 @@ export const CommercialSecuredApplicationResourceAttributes$inboundSchema:
|
|
|
151
103
|
applicationType:
|
|
152
104
|
CommercialSecuredApplicationResourceApplicationType$inboundSchema,
|
|
153
105
|
status: ApplicationStatus$inboundSchema,
|
|
106
|
+
settlementDate: z.string().optional(),
|
|
107
|
+
lenderApplicationReference: z.string().optional(),
|
|
154
108
|
createdAt: z.string().optional(),
|
|
155
109
|
updatedAt: z.string().optional(),
|
|
156
110
|
});
|
|
157
111
|
|
|
158
|
-
/** @internal */
|
|
159
|
-
export type CommercialSecuredApplicationResourceAttributes$Outbound = {
|
|
160
|
-
id?: string | undefined;
|
|
161
|
-
humanId: string;
|
|
162
|
-
applicationType: string;
|
|
163
|
-
status: string;
|
|
164
|
-
createdAt?: string | undefined;
|
|
165
|
-
updatedAt?: string | undefined;
|
|
166
|
-
};
|
|
167
|
-
|
|
168
|
-
/** @internal */
|
|
169
|
-
export const CommercialSecuredApplicationResourceAttributes$outboundSchema:
|
|
170
|
-
z.ZodType<
|
|
171
|
-
CommercialSecuredApplicationResourceAttributes$Outbound,
|
|
172
|
-
z.ZodTypeDef,
|
|
173
|
-
CommercialSecuredApplicationResourceAttributes
|
|
174
|
-
> = z.object({
|
|
175
|
-
id: z.string().optional(),
|
|
176
|
-
humanId: z.string(),
|
|
177
|
-
applicationType:
|
|
178
|
-
CommercialSecuredApplicationResourceApplicationType$outboundSchema,
|
|
179
|
-
status: ApplicationStatus$outboundSchema,
|
|
180
|
-
createdAt: z.string().optional(),
|
|
181
|
-
updatedAt: z.string().optional(),
|
|
182
|
-
});
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* @internal
|
|
186
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
187
|
-
*/
|
|
188
|
-
export namespace CommercialSecuredApplicationResourceAttributes$ {
|
|
189
|
-
/** @deprecated use `CommercialSecuredApplicationResourceAttributes$inboundSchema` instead. */
|
|
190
|
-
export const inboundSchema =
|
|
191
|
-
CommercialSecuredApplicationResourceAttributes$inboundSchema;
|
|
192
|
-
/** @deprecated use `CommercialSecuredApplicationResourceAttributes$outboundSchema` instead. */
|
|
193
|
-
export const outboundSchema =
|
|
194
|
-
CommercialSecuredApplicationResourceAttributes$outboundSchema;
|
|
195
|
-
/** @deprecated use `CommercialSecuredApplicationResourceAttributes$Outbound` instead. */
|
|
196
|
-
export type Outbound =
|
|
197
|
-
CommercialSecuredApplicationResourceAttributes$Outbound;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
export function commercialSecuredApplicationResourceAttributesToJSON(
|
|
201
|
-
commercialSecuredApplicationResourceAttributes:
|
|
202
|
-
CommercialSecuredApplicationResourceAttributes,
|
|
203
|
-
): string {
|
|
204
|
-
return JSON.stringify(
|
|
205
|
-
CommercialSecuredApplicationResourceAttributes$outboundSchema.parse(
|
|
206
|
-
commercialSecuredApplicationResourceAttributes,
|
|
207
|
-
),
|
|
208
|
-
);
|
|
209
|
-
}
|
|
210
|
-
|
|
211
112
|
export function commercialSecuredApplicationResourceAttributesFromJSON(
|
|
212
113
|
jsonString: string,
|
|
213
114
|
): SafeParseResult<
|
|
@@ -230,7 +131,7 @@ export const CommercialSecuredApplicationResource$inboundSchema: z.ZodType<
|
|
|
230
131
|
z.ZodTypeDef,
|
|
231
132
|
unknown
|
|
232
133
|
> = z.object({
|
|
233
|
-
type:
|
|
134
|
+
type: z.literal("commercial-secured-applications"),
|
|
234
135
|
id: z.string().optional(),
|
|
235
136
|
attributes: z.lazy(() =>
|
|
236
137
|
CommercialSecuredApplicationResourceAttributes$inboundSchema
|
|
@@ -240,57 +141,6 @@ export const CommercialSecuredApplicationResource$inboundSchema: z.ZodType<
|
|
|
240
141
|
meta: z.record(z.any()).optional(),
|
|
241
142
|
});
|
|
242
143
|
|
|
243
|
-
/** @internal */
|
|
244
|
-
export type CommercialSecuredApplicationResource$Outbound = {
|
|
245
|
-
type: string;
|
|
246
|
-
id?: string | undefined;
|
|
247
|
-
attributes: CommercialSecuredApplicationResourceAttributes$Outbound;
|
|
248
|
-
relationships: CommercialApplicationJsonApiRelationships$Outbound;
|
|
249
|
-
links?: { [k: string]: LinkObject$Outbound } | undefined;
|
|
250
|
-
meta?: { [k: string]: any } | undefined;
|
|
251
|
-
};
|
|
252
|
-
|
|
253
|
-
/** @internal */
|
|
254
|
-
export const CommercialSecuredApplicationResource$outboundSchema: z.ZodType<
|
|
255
|
-
CommercialSecuredApplicationResource$Outbound,
|
|
256
|
-
z.ZodTypeDef,
|
|
257
|
-
CommercialSecuredApplicationResource
|
|
258
|
-
> = z.object({
|
|
259
|
-
type: CommercialSecuredApplicationResourceType$outboundSchema,
|
|
260
|
-
id: z.string().optional(),
|
|
261
|
-
attributes: z.lazy(() =>
|
|
262
|
-
CommercialSecuredApplicationResourceAttributes$outboundSchema
|
|
263
|
-
),
|
|
264
|
-
relationships: CommercialApplicationJsonApiRelationships$outboundSchema,
|
|
265
|
-
links: z.record(LinkObject$outboundSchema).optional(),
|
|
266
|
-
meta: z.record(z.any()).optional(),
|
|
267
|
-
});
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* @internal
|
|
271
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
272
|
-
*/
|
|
273
|
-
export namespace CommercialSecuredApplicationResource$ {
|
|
274
|
-
/** @deprecated use `CommercialSecuredApplicationResource$inboundSchema` instead. */
|
|
275
|
-
export const inboundSchema =
|
|
276
|
-
CommercialSecuredApplicationResource$inboundSchema;
|
|
277
|
-
/** @deprecated use `CommercialSecuredApplicationResource$outboundSchema` instead. */
|
|
278
|
-
export const outboundSchema =
|
|
279
|
-
CommercialSecuredApplicationResource$outboundSchema;
|
|
280
|
-
/** @deprecated use `CommercialSecuredApplicationResource$Outbound` instead. */
|
|
281
|
-
export type Outbound = CommercialSecuredApplicationResource$Outbound;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
export function commercialSecuredApplicationResourceToJSON(
|
|
285
|
-
commercialSecuredApplicationResource: CommercialSecuredApplicationResource,
|
|
286
|
-
): string {
|
|
287
|
-
return JSON.stringify(
|
|
288
|
-
CommercialSecuredApplicationResource$outboundSchema.parse(
|
|
289
|
-
commercialSecuredApplicationResource,
|
|
290
|
-
),
|
|
291
|
-
);
|
|
292
|
-
}
|
|
293
|
-
|
|
294
144
|
export function commercialSecuredApplicationResourceFromJSON(
|
|
295
145
|
jsonString: string,
|
|
296
146
|
): SafeParseResult<CommercialSecuredApplicationResource, SDKValidationError> {
|
|
@@ -191,29 +191,16 @@ export type CommercialSecuredLoanAssetAttributes = {
|
|
|
191
191
|
/** @internal */
|
|
192
192
|
export const Condition$inboundSchema: z.ZodNativeEnum<typeof Condition> = z
|
|
193
193
|
.nativeEnum(Condition);
|
|
194
|
-
|
|
195
194
|
/** @internal */
|
|
196
195
|
export const Condition$outboundSchema: z.ZodNativeEnum<typeof Condition> =
|
|
197
196
|
Condition$inboundSchema;
|
|
198
197
|
|
|
199
|
-
/**
|
|
200
|
-
* @internal
|
|
201
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
202
|
-
*/
|
|
203
|
-
export namespace Condition$ {
|
|
204
|
-
/** @deprecated use `Condition$inboundSchema` instead. */
|
|
205
|
-
export const inboundSchema = Condition$inboundSchema;
|
|
206
|
-
/** @deprecated use `Condition$outboundSchema` instead. */
|
|
207
|
-
export const outboundSchema = Condition$outboundSchema;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
198
|
/** @internal */
|
|
211
199
|
export const AssetValue$inboundSchema: z.ZodType<
|
|
212
200
|
AssetValue,
|
|
213
201
|
z.ZodTypeDef,
|
|
214
202
|
unknown
|
|
215
203
|
> = z.union([MonetaryQuantity$inboundSchema, z.string()]);
|
|
216
|
-
|
|
217
204
|
/** @internal */
|
|
218
205
|
export type AssetValue$Outbound = MonetaryQuantity$Outbound | string;
|
|
219
206
|
|
|
@@ -224,23 +211,9 @@ export const AssetValue$outboundSchema: z.ZodType<
|
|
|
224
211
|
AssetValue
|
|
225
212
|
> = z.union([MonetaryQuantity$outboundSchema, z.string()]);
|
|
226
213
|
|
|
227
|
-
/**
|
|
228
|
-
* @internal
|
|
229
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
230
|
-
*/
|
|
231
|
-
export namespace AssetValue$ {
|
|
232
|
-
/** @deprecated use `AssetValue$inboundSchema` instead. */
|
|
233
|
-
export const inboundSchema = AssetValue$inboundSchema;
|
|
234
|
-
/** @deprecated use `AssetValue$outboundSchema` instead. */
|
|
235
|
-
export const outboundSchema = AssetValue$outboundSchema;
|
|
236
|
-
/** @deprecated use `AssetValue$Outbound` instead. */
|
|
237
|
-
export type Outbound = AssetValue$Outbound;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
214
|
export function assetValueToJSON(assetValue: AssetValue): string {
|
|
241
215
|
return JSON.stringify(AssetValue$outboundSchema.parse(assetValue));
|
|
242
216
|
}
|
|
243
|
-
|
|
244
217
|
export function assetValueFromJSON(
|
|
245
218
|
jsonString: string,
|
|
246
219
|
): SafeParseResult<AssetValue, SDKValidationError> {
|
|
@@ -255,30 +228,17 @@ export function assetValueFromJSON(
|
|
|
255
228
|
export const RegistrationState$inboundSchema: z.ZodNativeEnum<
|
|
256
229
|
typeof RegistrationState
|
|
257
230
|
> = z.nativeEnum(RegistrationState);
|
|
258
|
-
|
|
259
231
|
/** @internal */
|
|
260
232
|
export const RegistrationState$outboundSchema: z.ZodNativeEnum<
|
|
261
233
|
typeof RegistrationState
|
|
262
234
|
> = RegistrationState$inboundSchema;
|
|
263
235
|
|
|
264
|
-
/**
|
|
265
|
-
* @internal
|
|
266
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
267
|
-
*/
|
|
268
|
-
export namespace RegistrationState$ {
|
|
269
|
-
/** @deprecated use `RegistrationState$inboundSchema` instead. */
|
|
270
|
-
export const inboundSchema = RegistrationState$inboundSchema;
|
|
271
|
-
/** @deprecated use `RegistrationState$outboundSchema` instead. */
|
|
272
|
-
export const outboundSchema = RegistrationState$outboundSchema;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
236
|
/** @internal */
|
|
276
237
|
export const TypeOfSale$inboundSchema: z.ZodType<
|
|
277
238
|
TypeOfSale,
|
|
278
239
|
z.ZodTypeDef,
|
|
279
240
|
unknown
|
|
280
241
|
> = z.union([z.string(), CommercialSecuredLoanTypeOfSale$inboundSchema]);
|
|
281
|
-
|
|
282
242
|
/** @internal */
|
|
283
243
|
export type TypeOfSale$Outbound = string | string;
|
|
284
244
|
|
|
@@ -289,23 +249,9 @@ export const TypeOfSale$outboundSchema: z.ZodType<
|
|
|
289
249
|
TypeOfSale
|
|
290
250
|
> = z.union([z.string(), CommercialSecuredLoanTypeOfSale$outboundSchema]);
|
|
291
251
|
|
|
292
|
-
/**
|
|
293
|
-
* @internal
|
|
294
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
295
|
-
*/
|
|
296
|
-
export namespace TypeOfSale$ {
|
|
297
|
-
/** @deprecated use `TypeOfSale$inboundSchema` instead. */
|
|
298
|
-
export const inboundSchema = TypeOfSale$inboundSchema;
|
|
299
|
-
/** @deprecated use `TypeOfSale$outboundSchema` instead. */
|
|
300
|
-
export const outboundSchema = TypeOfSale$outboundSchema;
|
|
301
|
-
/** @deprecated use `TypeOfSale$Outbound` instead. */
|
|
302
|
-
export type Outbound = TypeOfSale$Outbound;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
252
|
export function typeOfSaleToJSON(typeOfSale: TypeOfSale): string {
|
|
306
253
|
return JSON.stringify(TypeOfSale$outboundSchema.parse(typeOfSale));
|
|
307
254
|
}
|
|
308
|
-
|
|
309
255
|
export function typeOfSaleFromJSON(
|
|
310
256
|
jsonString: string,
|
|
311
257
|
): SafeParseResult<TypeOfSale, SDKValidationError> {
|
|
@@ -322,7 +268,6 @@ export const NetAssetValue$inboundSchema: z.ZodType<
|
|
|
322
268
|
z.ZodTypeDef,
|
|
323
269
|
unknown
|
|
324
270
|
> = z.union([MonetaryQuantity$inboundSchema, z.string()]);
|
|
325
|
-
|
|
326
271
|
/** @internal */
|
|
327
272
|
export type NetAssetValue$Outbound = MonetaryQuantity$Outbound | string;
|
|
328
273
|
|
|
@@ -333,23 +278,9 @@ export const NetAssetValue$outboundSchema: z.ZodType<
|
|
|
333
278
|
NetAssetValue
|
|
334
279
|
> = z.union([MonetaryQuantity$outboundSchema, z.string()]);
|
|
335
280
|
|
|
336
|
-
/**
|
|
337
|
-
* @internal
|
|
338
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
339
|
-
*/
|
|
340
|
-
export namespace NetAssetValue$ {
|
|
341
|
-
/** @deprecated use `NetAssetValue$inboundSchema` instead. */
|
|
342
|
-
export const inboundSchema = NetAssetValue$inboundSchema;
|
|
343
|
-
/** @deprecated use `NetAssetValue$outboundSchema` instead. */
|
|
344
|
-
export const outboundSchema = NetAssetValue$outboundSchema;
|
|
345
|
-
/** @deprecated use `NetAssetValue$Outbound` instead. */
|
|
346
|
-
export type Outbound = NetAssetValue$Outbound;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
281
|
export function netAssetValueToJSON(netAssetValue: NetAssetValue): string {
|
|
350
282
|
return JSON.stringify(NetAssetValue$outboundSchema.parse(netAssetValue));
|
|
351
283
|
}
|
|
352
|
-
|
|
353
284
|
export function netAssetValueFromJSON(
|
|
354
285
|
jsonString: string,
|
|
355
286
|
): SafeParseResult<NetAssetValue, SDKValidationError> {
|
|
@@ -366,7 +297,6 @@ export const LuxuryGst$inboundSchema: z.ZodType<
|
|
|
366
297
|
z.ZodTypeDef,
|
|
367
298
|
unknown
|
|
368
299
|
> = z.union([MonetaryQuantity$inboundSchema, z.string()]);
|
|
369
|
-
|
|
370
300
|
/** @internal */
|
|
371
301
|
export type LuxuryGst$Outbound = MonetaryQuantity$Outbound | string;
|
|
372
302
|
|
|
@@ -377,23 +307,9 @@ export const LuxuryGst$outboundSchema: z.ZodType<
|
|
|
377
307
|
LuxuryGst
|
|
378
308
|
> = z.union([MonetaryQuantity$outboundSchema, z.string()]);
|
|
379
309
|
|
|
380
|
-
/**
|
|
381
|
-
* @internal
|
|
382
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
383
|
-
*/
|
|
384
|
-
export namespace LuxuryGst$ {
|
|
385
|
-
/** @deprecated use `LuxuryGst$inboundSchema` instead. */
|
|
386
|
-
export const inboundSchema = LuxuryGst$inboundSchema;
|
|
387
|
-
/** @deprecated use `LuxuryGst$outboundSchema` instead. */
|
|
388
|
-
export const outboundSchema = LuxuryGst$outboundSchema;
|
|
389
|
-
/** @deprecated use `LuxuryGst$Outbound` instead. */
|
|
390
|
-
export type Outbound = LuxuryGst$Outbound;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
310
|
export function luxuryGstToJSON(luxuryGst: LuxuryGst): string {
|
|
394
311
|
return JSON.stringify(LuxuryGst$outboundSchema.parse(luxuryGst));
|
|
395
312
|
}
|
|
396
|
-
|
|
397
313
|
export function luxuryGstFromJSON(
|
|
398
314
|
jsonString: string,
|
|
399
315
|
): SafeParseResult<LuxuryGst, SDKValidationError> {
|
|
@@ -410,7 +326,6 @@ export const AdditionalFees$inboundSchema: z.ZodType<
|
|
|
410
326
|
z.ZodTypeDef,
|
|
411
327
|
unknown
|
|
412
328
|
> = z.union([MonetaryQuantity$inboundSchema, z.string()]);
|
|
413
|
-
|
|
414
329
|
/** @internal */
|
|
415
330
|
export type AdditionalFees$Outbound = MonetaryQuantity$Outbound | string;
|
|
416
331
|
|
|
@@ -421,23 +336,9 @@ export const AdditionalFees$outboundSchema: z.ZodType<
|
|
|
421
336
|
AdditionalFees
|
|
422
337
|
> = z.union([MonetaryQuantity$outboundSchema, z.string()]);
|
|
423
338
|
|
|
424
|
-
/**
|
|
425
|
-
* @internal
|
|
426
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
427
|
-
*/
|
|
428
|
-
export namespace AdditionalFees$ {
|
|
429
|
-
/** @deprecated use `AdditionalFees$inboundSchema` instead. */
|
|
430
|
-
export const inboundSchema = AdditionalFees$inboundSchema;
|
|
431
|
-
/** @deprecated use `AdditionalFees$outboundSchema` instead. */
|
|
432
|
-
export const outboundSchema = AdditionalFees$outboundSchema;
|
|
433
|
-
/** @deprecated use `AdditionalFees$Outbound` instead. */
|
|
434
|
-
export type Outbound = AdditionalFees$Outbound;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
339
|
export function additionalFeesToJSON(additionalFees: AdditionalFees): string {
|
|
438
340
|
return JSON.stringify(AdditionalFees$outboundSchema.parse(additionalFees));
|
|
439
341
|
}
|
|
440
|
-
|
|
441
342
|
export function additionalFeesFromJSON(
|
|
442
343
|
jsonString: string,
|
|
443
344
|
): SafeParseResult<AdditionalFees, SDKValidationError> {
|
|
@@ -454,7 +355,6 @@ export const AdditionalTaxes$inboundSchema: z.ZodType<
|
|
|
454
355
|
z.ZodTypeDef,
|
|
455
356
|
unknown
|
|
456
357
|
> = z.union([MonetaryQuantity$inboundSchema, z.string()]);
|
|
457
|
-
|
|
458
358
|
/** @internal */
|
|
459
359
|
export type AdditionalTaxes$Outbound = MonetaryQuantity$Outbound | string;
|
|
460
360
|
|
|
@@ -465,25 +365,11 @@ export const AdditionalTaxes$outboundSchema: z.ZodType<
|
|
|
465
365
|
AdditionalTaxes
|
|
466
366
|
> = z.union([MonetaryQuantity$outboundSchema, z.string()]);
|
|
467
367
|
|
|
468
|
-
/**
|
|
469
|
-
* @internal
|
|
470
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
471
|
-
*/
|
|
472
|
-
export namespace AdditionalTaxes$ {
|
|
473
|
-
/** @deprecated use `AdditionalTaxes$inboundSchema` instead. */
|
|
474
|
-
export const inboundSchema = AdditionalTaxes$inboundSchema;
|
|
475
|
-
/** @deprecated use `AdditionalTaxes$outboundSchema` instead. */
|
|
476
|
-
export const outboundSchema = AdditionalTaxes$outboundSchema;
|
|
477
|
-
/** @deprecated use `AdditionalTaxes$Outbound` instead. */
|
|
478
|
-
export type Outbound = AdditionalTaxes$Outbound;
|
|
479
|
-
}
|
|
480
|
-
|
|
481
368
|
export function additionalTaxesToJSON(
|
|
482
369
|
additionalTaxes: AdditionalTaxes,
|
|
483
370
|
): string {
|
|
484
371
|
return JSON.stringify(AdditionalTaxes$outboundSchema.parse(additionalTaxes));
|
|
485
372
|
}
|
|
486
|
-
|
|
487
373
|
export function additionalTaxesFromJSON(
|
|
488
374
|
jsonString: string,
|
|
489
375
|
): SafeParseResult<AdditionalTaxes, SDKValidationError> {
|
|
@@ -532,7 +418,6 @@ export const CommercialSecuredLoanAssetAttributes$inboundSchema: z.ZodType<
|
|
|
532
418
|
additionalTaxes: z.union([MonetaryQuantity$inboundSchema, z.string()])
|
|
533
419
|
.optional(),
|
|
534
420
|
});
|
|
535
|
-
|
|
536
421
|
/** @internal */
|
|
537
422
|
export type CommercialSecuredLoanAssetAttributes$Outbound = {
|
|
538
423
|
id?: string | undefined;
|
|
@@ -601,21 +486,6 @@ export const CommercialSecuredLoanAssetAttributes$outboundSchema: z.ZodType<
|
|
|
601
486
|
.optional(),
|
|
602
487
|
});
|
|
603
488
|
|
|
604
|
-
/**
|
|
605
|
-
* @internal
|
|
606
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
607
|
-
*/
|
|
608
|
-
export namespace CommercialSecuredLoanAssetAttributes$ {
|
|
609
|
-
/** @deprecated use `CommercialSecuredLoanAssetAttributes$inboundSchema` instead. */
|
|
610
|
-
export const inboundSchema =
|
|
611
|
-
CommercialSecuredLoanAssetAttributes$inboundSchema;
|
|
612
|
-
/** @deprecated use `CommercialSecuredLoanAssetAttributes$outboundSchema` instead. */
|
|
613
|
-
export const outboundSchema =
|
|
614
|
-
CommercialSecuredLoanAssetAttributes$outboundSchema;
|
|
615
|
-
/** @deprecated use `CommercialSecuredLoanAssetAttributes$Outbound` instead. */
|
|
616
|
-
export type Outbound = CommercialSecuredLoanAssetAttributes$Outbound;
|
|
617
|
-
}
|
|
618
|
-
|
|
619
489
|
export function commercialSecuredLoanAssetAttributesToJSON(
|
|
620
490
|
commercialSecuredLoanAssetAttributes: CommercialSecuredLoanAssetAttributes,
|
|
621
491
|
): string {
|
|
@@ -625,7 +495,6 @@ export function commercialSecuredLoanAssetAttributesToJSON(
|
|
|
625
495
|
),
|
|
626
496
|
);
|
|
627
497
|
}
|
|
628
|
-
|
|
629
498
|
export function commercialSecuredLoanAssetAttributesFromJSON(
|
|
630
499
|
jsonString: string,
|
|
631
500
|
): SafeParseResult<CommercialSecuredLoanAssetAttributes, SDKValidationError> {
|
|
@@ -46,19 +46,7 @@ export type CommercialSecuredLoanAssetType = ClosedEnum<
|
|
|
46
46
|
export const CommercialSecuredLoanAssetType$inboundSchema: z.ZodNativeEnum<
|
|
47
47
|
typeof CommercialSecuredLoanAssetType
|
|
48
48
|
> = z.nativeEnum(CommercialSecuredLoanAssetType);
|
|
49
|
-
|
|
50
49
|
/** @internal */
|
|
51
50
|
export const CommercialSecuredLoanAssetType$outboundSchema: z.ZodNativeEnum<
|
|
52
51
|
typeof CommercialSecuredLoanAssetType
|
|
53
52
|
> = CommercialSecuredLoanAssetType$inboundSchema;
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
58
|
-
*/
|
|
59
|
-
export namespace CommercialSecuredLoanAssetType$ {
|
|
60
|
-
/** @deprecated use `CommercialSecuredLoanAssetType$inboundSchema` instead. */
|
|
61
|
-
export const inboundSchema = CommercialSecuredLoanAssetType$inboundSchema;
|
|
62
|
-
/** @deprecated use `CommercialSecuredLoanAssetType$outboundSchema` instead. */
|
|
63
|
-
export const outboundSchema = CommercialSecuredLoanAssetType$outboundSchema;
|
|
64
|
-
}
|