@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
|
@@ -126,25 +126,11 @@ export type SupportingDocumentRelationships = {
|
|
|
126
126
|
export const SupportingDocumentRelationshipsType$inboundSchema: z.ZodNativeEnum<
|
|
127
127
|
typeof SupportingDocumentRelationshipsType
|
|
128
128
|
> = z.nativeEnum(SupportingDocumentRelationshipsType);
|
|
129
|
-
|
|
130
129
|
/** @internal */
|
|
131
130
|
export const SupportingDocumentRelationshipsType$outboundSchema:
|
|
132
131
|
z.ZodNativeEnum<typeof SupportingDocumentRelationshipsType> =
|
|
133
132
|
SupportingDocumentRelationshipsType$inboundSchema;
|
|
134
133
|
|
|
135
|
-
/**
|
|
136
|
-
* @internal
|
|
137
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
138
|
-
*/
|
|
139
|
-
export namespace SupportingDocumentRelationshipsType$ {
|
|
140
|
-
/** @deprecated use `SupportingDocumentRelationshipsType$inboundSchema` instead. */
|
|
141
|
-
export const inboundSchema =
|
|
142
|
-
SupportingDocumentRelationshipsType$inboundSchema;
|
|
143
|
-
/** @deprecated use `SupportingDocumentRelationshipsType$outboundSchema` instead. */
|
|
144
|
-
export const outboundSchema =
|
|
145
|
-
SupportingDocumentRelationshipsType$outboundSchema;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
134
|
/** @internal */
|
|
149
135
|
export const SupportingDocumentRelationshipsData$inboundSchema: z.ZodType<
|
|
150
136
|
SupportingDocumentRelationshipsData,
|
|
@@ -154,7 +140,6 @@ export const SupportingDocumentRelationshipsData$inboundSchema: z.ZodType<
|
|
|
154
140
|
type: SupportingDocumentRelationshipsType$inboundSchema,
|
|
155
141
|
id: z.string(),
|
|
156
142
|
});
|
|
157
|
-
|
|
158
143
|
/** @internal */
|
|
159
144
|
export type SupportingDocumentRelationshipsData$Outbound = {
|
|
160
145
|
type: string;
|
|
@@ -171,21 +156,6 @@ export const SupportingDocumentRelationshipsData$outboundSchema: z.ZodType<
|
|
|
171
156
|
id: z.string(),
|
|
172
157
|
});
|
|
173
158
|
|
|
174
|
-
/**
|
|
175
|
-
* @internal
|
|
176
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
177
|
-
*/
|
|
178
|
-
export namespace SupportingDocumentRelationshipsData$ {
|
|
179
|
-
/** @deprecated use `SupportingDocumentRelationshipsData$inboundSchema` instead. */
|
|
180
|
-
export const inboundSchema =
|
|
181
|
-
SupportingDocumentRelationshipsData$inboundSchema;
|
|
182
|
-
/** @deprecated use `SupportingDocumentRelationshipsData$outboundSchema` instead. */
|
|
183
|
-
export const outboundSchema =
|
|
184
|
-
SupportingDocumentRelationshipsData$outboundSchema;
|
|
185
|
-
/** @deprecated use `SupportingDocumentRelationshipsData$Outbound` instead. */
|
|
186
|
-
export type Outbound = SupportingDocumentRelationshipsData$Outbound;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
159
|
export function supportingDocumentRelationshipsDataToJSON(
|
|
190
160
|
supportingDocumentRelationshipsData: SupportingDocumentRelationshipsData,
|
|
191
161
|
): string {
|
|
@@ -195,7 +165,6 @@ export function supportingDocumentRelationshipsDataToJSON(
|
|
|
195
165
|
),
|
|
196
166
|
);
|
|
197
167
|
}
|
|
198
|
-
|
|
199
168
|
export function supportingDocumentRelationshipsDataFromJSON(
|
|
200
169
|
jsonString: string,
|
|
201
170
|
): SafeParseResult<SupportingDocumentRelationshipsData, SDKValidationError> {
|
|
@@ -217,7 +186,6 @@ export const Customer$inboundSchema: z.ZodType<
|
|
|
217
186
|
links: z.record(LinkObject$inboundSchema).optional(),
|
|
218
187
|
meta: z.record(z.any()).optional(),
|
|
219
188
|
});
|
|
220
|
-
|
|
221
189
|
/** @internal */
|
|
222
190
|
export type Customer$Outbound = {
|
|
223
191
|
data: SupportingDocumentRelationshipsData$Outbound;
|
|
@@ -236,23 +204,9 @@ export const Customer$outboundSchema: z.ZodType<
|
|
|
236
204
|
meta: z.record(z.any()).optional(),
|
|
237
205
|
});
|
|
238
206
|
|
|
239
|
-
/**
|
|
240
|
-
* @internal
|
|
241
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
242
|
-
*/
|
|
243
|
-
export namespace Customer$ {
|
|
244
|
-
/** @deprecated use `Customer$inboundSchema` instead. */
|
|
245
|
-
export const inboundSchema = Customer$inboundSchema;
|
|
246
|
-
/** @deprecated use `Customer$outboundSchema` instead. */
|
|
247
|
-
export const outboundSchema = Customer$outboundSchema;
|
|
248
|
-
/** @deprecated use `Customer$Outbound` instead. */
|
|
249
|
-
export type Outbound = Customer$Outbound;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
207
|
export function customerToJSON(customer: Customer): string {
|
|
253
208
|
return JSON.stringify(Customer$outboundSchema.parse(customer));
|
|
254
209
|
}
|
|
255
|
-
|
|
256
210
|
export function customerFromJSON(
|
|
257
211
|
jsonString: string,
|
|
258
212
|
): SafeParseResult<Customer, SDKValidationError> {
|
|
@@ -267,25 +221,11 @@ export function customerFromJSON(
|
|
|
267
221
|
export const SupportingDocumentRelationshipsAssetType$inboundSchema:
|
|
268
222
|
z.ZodNativeEnum<typeof SupportingDocumentRelationshipsAssetType> = z
|
|
269
223
|
.nativeEnum(SupportingDocumentRelationshipsAssetType);
|
|
270
|
-
|
|
271
224
|
/** @internal */
|
|
272
225
|
export const SupportingDocumentRelationshipsAssetType$outboundSchema:
|
|
273
226
|
z.ZodNativeEnum<typeof SupportingDocumentRelationshipsAssetType> =
|
|
274
227
|
SupportingDocumentRelationshipsAssetType$inboundSchema;
|
|
275
228
|
|
|
276
|
-
/**
|
|
277
|
-
* @internal
|
|
278
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
279
|
-
*/
|
|
280
|
-
export namespace SupportingDocumentRelationshipsAssetType$ {
|
|
281
|
-
/** @deprecated use `SupportingDocumentRelationshipsAssetType$inboundSchema` instead. */
|
|
282
|
-
export const inboundSchema =
|
|
283
|
-
SupportingDocumentRelationshipsAssetType$inboundSchema;
|
|
284
|
-
/** @deprecated use `SupportingDocumentRelationshipsAssetType$outboundSchema` instead. */
|
|
285
|
-
export const outboundSchema =
|
|
286
|
-
SupportingDocumentRelationshipsAssetType$outboundSchema;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
229
|
/** @internal */
|
|
290
230
|
export const SupportingDocumentRelationshipsAssetData$inboundSchema: z.ZodType<
|
|
291
231
|
SupportingDocumentRelationshipsAssetData,
|
|
@@ -295,7 +235,6 @@ export const SupportingDocumentRelationshipsAssetData$inboundSchema: z.ZodType<
|
|
|
295
235
|
type: SupportingDocumentRelationshipsAssetType$inboundSchema,
|
|
296
236
|
id: z.string(),
|
|
297
237
|
});
|
|
298
|
-
|
|
299
238
|
/** @internal */
|
|
300
239
|
export type SupportingDocumentRelationshipsAssetData$Outbound = {
|
|
301
240
|
type: string;
|
|
@@ -312,21 +251,6 @@ export const SupportingDocumentRelationshipsAssetData$outboundSchema: z.ZodType<
|
|
|
312
251
|
id: z.string(),
|
|
313
252
|
});
|
|
314
253
|
|
|
315
|
-
/**
|
|
316
|
-
* @internal
|
|
317
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
318
|
-
*/
|
|
319
|
-
export namespace SupportingDocumentRelationshipsAssetData$ {
|
|
320
|
-
/** @deprecated use `SupportingDocumentRelationshipsAssetData$inboundSchema` instead. */
|
|
321
|
-
export const inboundSchema =
|
|
322
|
-
SupportingDocumentRelationshipsAssetData$inboundSchema;
|
|
323
|
-
/** @deprecated use `SupportingDocumentRelationshipsAssetData$outboundSchema` instead. */
|
|
324
|
-
export const outboundSchema =
|
|
325
|
-
SupportingDocumentRelationshipsAssetData$outboundSchema;
|
|
326
|
-
/** @deprecated use `SupportingDocumentRelationshipsAssetData$Outbound` instead. */
|
|
327
|
-
export type Outbound = SupportingDocumentRelationshipsAssetData$Outbound;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
254
|
export function supportingDocumentRelationshipsAssetDataToJSON(
|
|
331
255
|
supportingDocumentRelationshipsAssetData:
|
|
332
256
|
SupportingDocumentRelationshipsAssetData,
|
|
@@ -337,7 +261,6 @@ export function supportingDocumentRelationshipsAssetDataToJSON(
|
|
|
337
261
|
),
|
|
338
262
|
);
|
|
339
263
|
}
|
|
340
|
-
|
|
341
264
|
export function supportingDocumentRelationshipsAssetDataFromJSON(
|
|
342
265
|
jsonString: string,
|
|
343
266
|
): SafeParseResult<
|
|
@@ -364,7 +287,6 @@ export const SupportingDocumentRelationshipsAsset$inboundSchema: z.ZodType<
|
|
|
364
287
|
links: z.record(LinkObject$inboundSchema).optional(),
|
|
365
288
|
meta: z.record(z.any()).optional(),
|
|
366
289
|
});
|
|
367
|
-
|
|
368
290
|
/** @internal */
|
|
369
291
|
export type SupportingDocumentRelationshipsAsset$Outbound = {
|
|
370
292
|
data: SupportingDocumentRelationshipsAssetData$Outbound;
|
|
@@ -383,21 +305,6 @@ export const SupportingDocumentRelationshipsAsset$outboundSchema: z.ZodType<
|
|
|
383
305
|
meta: z.record(z.any()).optional(),
|
|
384
306
|
});
|
|
385
307
|
|
|
386
|
-
/**
|
|
387
|
-
* @internal
|
|
388
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
389
|
-
*/
|
|
390
|
-
export namespace SupportingDocumentRelationshipsAsset$ {
|
|
391
|
-
/** @deprecated use `SupportingDocumentRelationshipsAsset$inboundSchema` instead. */
|
|
392
|
-
export const inboundSchema =
|
|
393
|
-
SupportingDocumentRelationshipsAsset$inboundSchema;
|
|
394
|
-
/** @deprecated use `SupportingDocumentRelationshipsAsset$outboundSchema` instead. */
|
|
395
|
-
export const outboundSchema =
|
|
396
|
-
SupportingDocumentRelationshipsAsset$outboundSchema;
|
|
397
|
-
/** @deprecated use `SupportingDocumentRelationshipsAsset$Outbound` instead. */
|
|
398
|
-
export type Outbound = SupportingDocumentRelationshipsAsset$Outbound;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
308
|
export function supportingDocumentRelationshipsAssetToJSON(
|
|
402
309
|
supportingDocumentRelationshipsAsset: SupportingDocumentRelationshipsAsset,
|
|
403
310
|
): string {
|
|
@@ -407,7 +314,6 @@ export function supportingDocumentRelationshipsAssetToJSON(
|
|
|
407
314
|
),
|
|
408
315
|
);
|
|
409
316
|
}
|
|
410
|
-
|
|
411
317
|
export function supportingDocumentRelationshipsAssetFromJSON(
|
|
412
318
|
jsonString: string,
|
|
413
319
|
): SafeParseResult<SupportingDocumentRelationshipsAsset, SDKValidationError> {
|
|
@@ -423,25 +329,11 @@ export function supportingDocumentRelationshipsAssetFromJSON(
|
|
|
423
329
|
export const SupportingDocumentRelationshipsEntityType$inboundSchema:
|
|
424
330
|
z.ZodNativeEnum<typeof SupportingDocumentRelationshipsEntityType> = z
|
|
425
331
|
.nativeEnum(SupportingDocumentRelationshipsEntityType);
|
|
426
|
-
|
|
427
332
|
/** @internal */
|
|
428
333
|
export const SupportingDocumentRelationshipsEntityType$outboundSchema:
|
|
429
334
|
z.ZodNativeEnum<typeof SupportingDocumentRelationshipsEntityType> =
|
|
430
335
|
SupportingDocumentRelationshipsEntityType$inboundSchema;
|
|
431
336
|
|
|
432
|
-
/**
|
|
433
|
-
* @internal
|
|
434
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
435
|
-
*/
|
|
436
|
-
export namespace SupportingDocumentRelationshipsEntityType$ {
|
|
437
|
-
/** @deprecated use `SupportingDocumentRelationshipsEntityType$inboundSchema` instead. */
|
|
438
|
-
export const inboundSchema =
|
|
439
|
-
SupportingDocumentRelationshipsEntityType$inboundSchema;
|
|
440
|
-
/** @deprecated use `SupportingDocumentRelationshipsEntityType$outboundSchema` instead. */
|
|
441
|
-
export const outboundSchema =
|
|
442
|
-
SupportingDocumentRelationshipsEntityType$outboundSchema;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
337
|
/** @internal */
|
|
446
338
|
export const SupportingDocumentRelationshipsEntityData$inboundSchema: z.ZodType<
|
|
447
339
|
SupportingDocumentRelationshipsEntityData,
|
|
@@ -451,7 +343,6 @@ export const SupportingDocumentRelationshipsEntityData$inboundSchema: z.ZodType<
|
|
|
451
343
|
type: SupportingDocumentRelationshipsEntityType$inboundSchema,
|
|
452
344
|
id: z.string(),
|
|
453
345
|
});
|
|
454
|
-
|
|
455
346
|
/** @internal */
|
|
456
347
|
export type SupportingDocumentRelationshipsEntityData$Outbound = {
|
|
457
348
|
type: string;
|
|
@@ -469,21 +360,6 @@ export const SupportingDocumentRelationshipsEntityData$outboundSchema:
|
|
|
469
360
|
id: z.string(),
|
|
470
361
|
});
|
|
471
362
|
|
|
472
|
-
/**
|
|
473
|
-
* @internal
|
|
474
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
475
|
-
*/
|
|
476
|
-
export namespace SupportingDocumentRelationshipsEntityData$ {
|
|
477
|
-
/** @deprecated use `SupportingDocumentRelationshipsEntityData$inboundSchema` instead. */
|
|
478
|
-
export const inboundSchema =
|
|
479
|
-
SupportingDocumentRelationshipsEntityData$inboundSchema;
|
|
480
|
-
/** @deprecated use `SupportingDocumentRelationshipsEntityData$outboundSchema` instead. */
|
|
481
|
-
export const outboundSchema =
|
|
482
|
-
SupportingDocumentRelationshipsEntityData$outboundSchema;
|
|
483
|
-
/** @deprecated use `SupportingDocumentRelationshipsEntityData$Outbound` instead. */
|
|
484
|
-
export type Outbound = SupportingDocumentRelationshipsEntityData$Outbound;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
363
|
export function supportingDocumentRelationshipsEntityDataToJSON(
|
|
488
364
|
supportingDocumentRelationshipsEntityData:
|
|
489
365
|
SupportingDocumentRelationshipsEntityData,
|
|
@@ -494,7 +370,6 @@ export function supportingDocumentRelationshipsEntityDataToJSON(
|
|
|
494
370
|
),
|
|
495
371
|
);
|
|
496
372
|
}
|
|
497
|
-
|
|
498
373
|
export function supportingDocumentRelationshipsEntityDataFromJSON(
|
|
499
374
|
jsonString: string,
|
|
500
375
|
): SafeParseResult<
|
|
@@ -518,7 +393,6 @@ export const Entity$inboundSchema: z.ZodType<Entity, z.ZodTypeDef, unknown> = z
|
|
|
518
393
|
links: z.record(LinkObject$inboundSchema).optional(),
|
|
519
394
|
meta: z.record(z.any()).optional(),
|
|
520
395
|
});
|
|
521
|
-
|
|
522
396
|
/** @internal */
|
|
523
397
|
export type Entity$Outbound = {
|
|
524
398
|
data: SupportingDocumentRelationshipsEntityData$Outbound;
|
|
@@ -537,23 +411,9 @@ export const Entity$outboundSchema: z.ZodType<
|
|
|
537
411
|
meta: z.record(z.any()).optional(),
|
|
538
412
|
});
|
|
539
413
|
|
|
540
|
-
/**
|
|
541
|
-
* @internal
|
|
542
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
543
|
-
*/
|
|
544
|
-
export namespace Entity$ {
|
|
545
|
-
/** @deprecated use `Entity$inboundSchema` instead. */
|
|
546
|
-
export const inboundSchema = Entity$inboundSchema;
|
|
547
|
-
/** @deprecated use `Entity$outboundSchema` instead. */
|
|
548
|
-
export const outboundSchema = Entity$outboundSchema;
|
|
549
|
-
/** @deprecated use `Entity$Outbound` instead. */
|
|
550
|
-
export type Outbound = Entity$Outbound;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
414
|
export function entityToJSON(entity: Entity): string {
|
|
554
415
|
return JSON.stringify(Entity$outboundSchema.parse(entity));
|
|
555
416
|
}
|
|
556
|
-
|
|
557
417
|
export function entityFromJSON(
|
|
558
418
|
jsonString: string,
|
|
559
419
|
): SafeParseResult<Entity, SDKValidationError> {
|
|
@@ -566,40 +426,16 @@ export function entityFromJSON(
|
|
|
566
426
|
|
|
567
427
|
/** @internal */
|
|
568
428
|
export const Two$inboundSchema: z.ZodNativeEnum<typeof Two> = z.nativeEnum(Two);
|
|
569
|
-
|
|
570
429
|
/** @internal */
|
|
571
430
|
export const Two$outboundSchema: z.ZodNativeEnum<typeof Two> =
|
|
572
431
|
Two$inboundSchema;
|
|
573
432
|
|
|
574
|
-
/**
|
|
575
|
-
* @internal
|
|
576
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
577
|
-
*/
|
|
578
|
-
export namespace Two$ {
|
|
579
|
-
/** @deprecated use `Two$inboundSchema` instead. */
|
|
580
|
-
export const inboundSchema = Two$inboundSchema;
|
|
581
|
-
/** @deprecated use `Two$outboundSchema` instead. */
|
|
582
|
-
export const outboundSchema = Two$outboundSchema;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
433
|
/** @internal */
|
|
586
434
|
export const One$inboundSchema: z.ZodNativeEnum<typeof One> = z.nativeEnum(One);
|
|
587
|
-
|
|
588
435
|
/** @internal */
|
|
589
436
|
export const One$outboundSchema: z.ZodNativeEnum<typeof One> =
|
|
590
437
|
One$inboundSchema;
|
|
591
438
|
|
|
592
|
-
/**
|
|
593
|
-
* @internal
|
|
594
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
595
|
-
*/
|
|
596
|
-
export namespace One$ {
|
|
597
|
-
/** @deprecated use `One$inboundSchema` instead. */
|
|
598
|
-
export const inboundSchema = One$inboundSchema;
|
|
599
|
-
/** @deprecated use `One$outboundSchema` instead. */
|
|
600
|
-
export const outboundSchema = One$outboundSchema;
|
|
601
|
-
}
|
|
602
|
-
|
|
603
439
|
/** @internal */
|
|
604
440
|
export const SupportingDocumentRelationshipsApplicationType$inboundSchema:
|
|
605
441
|
z.ZodType<
|
|
@@ -607,7 +443,6 @@ export const SupportingDocumentRelationshipsApplicationType$inboundSchema:
|
|
|
607
443
|
z.ZodTypeDef,
|
|
608
444
|
unknown
|
|
609
445
|
> = z.union([One$inboundSchema, Two$inboundSchema]);
|
|
610
|
-
|
|
611
446
|
/** @internal */
|
|
612
447
|
export type SupportingDocumentRelationshipsApplicationType$Outbound =
|
|
613
448
|
| string
|
|
@@ -621,22 +456,6 @@ export const SupportingDocumentRelationshipsApplicationType$outboundSchema:
|
|
|
621
456
|
SupportingDocumentRelationshipsApplicationType
|
|
622
457
|
> = z.union([One$outboundSchema, Two$outboundSchema]);
|
|
623
458
|
|
|
624
|
-
/**
|
|
625
|
-
* @internal
|
|
626
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
627
|
-
*/
|
|
628
|
-
export namespace SupportingDocumentRelationshipsApplicationType$ {
|
|
629
|
-
/** @deprecated use `SupportingDocumentRelationshipsApplicationType$inboundSchema` instead. */
|
|
630
|
-
export const inboundSchema =
|
|
631
|
-
SupportingDocumentRelationshipsApplicationType$inboundSchema;
|
|
632
|
-
/** @deprecated use `SupportingDocumentRelationshipsApplicationType$outboundSchema` instead. */
|
|
633
|
-
export const outboundSchema =
|
|
634
|
-
SupportingDocumentRelationshipsApplicationType$outboundSchema;
|
|
635
|
-
/** @deprecated use `SupportingDocumentRelationshipsApplicationType$Outbound` instead. */
|
|
636
|
-
export type Outbound =
|
|
637
|
-
SupportingDocumentRelationshipsApplicationType$Outbound;
|
|
638
|
-
}
|
|
639
|
-
|
|
640
459
|
export function supportingDocumentRelationshipsApplicationTypeToJSON(
|
|
641
460
|
supportingDocumentRelationshipsApplicationType:
|
|
642
461
|
SupportingDocumentRelationshipsApplicationType,
|
|
@@ -647,7 +466,6 @@ export function supportingDocumentRelationshipsApplicationTypeToJSON(
|
|
|
647
466
|
),
|
|
648
467
|
);
|
|
649
468
|
}
|
|
650
|
-
|
|
651
469
|
export function supportingDocumentRelationshipsApplicationTypeFromJSON(
|
|
652
470
|
jsonString: string,
|
|
653
471
|
): SafeParseResult<
|
|
@@ -674,7 +492,6 @@ export const SupportingDocumentRelationshipsApplicationData$inboundSchema:
|
|
|
674
492
|
type: z.union([One$inboundSchema, Two$inboundSchema]),
|
|
675
493
|
id: z.string(),
|
|
676
494
|
});
|
|
677
|
-
|
|
678
495
|
/** @internal */
|
|
679
496
|
export type SupportingDocumentRelationshipsApplicationData$Outbound = {
|
|
680
497
|
type: string | string;
|
|
@@ -692,22 +509,6 @@ export const SupportingDocumentRelationshipsApplicationData$outboundSchema:
|
|
|
692
509
|
id: z.string(),
|
|
693
510
|
});
|
|
694
511
|
|
|
695
|
-
/**
|
|
696
|
-
* @internal
|
|
697
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
698
|
-
*/
|
|
699
|
-
export namespace SupportingDocumentRelationshipsApplicationData$ {
|
|
700
|
-
/** @deprecated use `SupportingDocumentRelationshipsApplicationData$inboundSchema` instead. */
|
|
701
|
-
export const inboundSchema =
|
|
702
|
-
SupportingDocumentRelationshipsApplicationData$inboundSchema;
|
|
703
|
-
/** @deprecated use `SupportingDocumentRelationshipsApplicationData$outboundSchema` instead. */
|
|
704
|
-
export const outboundSchema =
|
|
705
|
-
SupportingDocumentRelationshipsApplicationData$outboundSchema;
|
|
706
|
-
/** @deprecated use `SupportingDocumentRelationshipsApplicationData$Outbound` instead. */
|
|
707
|
-
export type Outbound =
|
|
708
|
-
SupportingDocumentRelationshipsApplicationData$Outbound;
|
|
709
|
-
}
|
|
710
|
-
|
|
711
512
|
export function supportingDocumentRelationshipsApplicationDataToJSON(
|
|
712
513
|
supportingDocumentRelationshipsApplicationData:
|
|
713
514
|
SupportingDocumentRelationshipsApplicationData,
|
|
@@ -718,7 +519,6 @@ export function supportingDocumentRelationshipsApplicationDataToJSON(
|
|
|
718
519
|
),
|
|
719
520
|
);
|
|
720
521
|
}
|
|
721
|
-
|
|
722
522
|
export function supportingDocumentRelationshipsApplicationDataFromJSON(
|
|
723
523
|
jsonString: string,
|
|
724
524
|
): SafeParseResult<
|
|
@@ -747,7 +547,6 @@ export const Application$inboundSchema: z.ZodType<
|
|
|
747
547
|
links: z.record(LinkObject$inboundSchema).optional(),
|
|
748
548
|
meta: z.record(z.any()).optional(),
|
|
749
549
|
});
|
|
750
|
-
|
|
751
550
|
/** @internal */
|
|
752
551
|
export type Application$Outbound = {
|
|
753
552
|
data: SupportingDocumentRelationshipsApplicationData$Outbound;
|
|
@@ -768,23 +567,9 @@ export const Application$outboundSchema: z.ZodType<
|
|
|
768
567
|
meta: z.record(z.any()).optional(),
|
|
769
568
|
});
|
|
770
569
|
|
|
771
|
-
/**
|
|
772
|
-
* @internal
|
|
773
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
774
|
-
*/
|
|
775
|
-
export namespace Application$ {
|
|
776
|
-
/** @deprecated use `Application$inboundSchema` instead. */
|
|
777
|
-
export const inboundSchema = Application$inboundSchema;
|
|
778
|
-
/** @deprecated use `Application$outboundSchema` instead. */
|
|
779
|
-
export const outboundSchema = Application$outboundSchema;
|
|
780
|
-
/** @deprecated use `Application$Outbound` instead. */
|
|
781
|
-
export type Outbound = Application$Outbound;
|
|
782
|
-
}
|
|
783
|
-
|
|
784
570
|
export function applicationToJSON(application: Application): string {
|
|
785
571
|
return JSON.stringify(Application$outboundSchema.parse(application));
|
|
786
572
|
}
|
|
787
|
-
|
|
788
573
|
export function applicationFromJSON(
|
|
789
574
|
jsonString: string,
|
|
790
575
|
): SafeParseResult<Application, SDKValidationError> {
|
|
@@ -807,7 +592,6 @@ export const SupportingDocumentRelationships$inboundSchema: z.ZodType<
|
|
|
807
592
|
entity: z.lazy(() => Entity$inboundSchema).optional(),
|
|
808
593
|
application: z.lazy(() => Application$inboundSchema),
|
|
809
594
|
});
|
|
810
|
-
|
|
811
595
|
/** @internal */
|
|
812
596
|
export type SupportingDocumentRelationships$Outbound = {
|
|
813
597
|
customer?: Customer$Outbound | undefined;
|
|
@@ -829,19 +613,6 @@ export const SupportingDocumentRelationships$outboundSchema: z.ZodType<
|
|
|
829
613
|
application: z.lazy(() => Application$outboundSchema),
|
|
830
614
|
});
|
|
831
615
|
|
|
832
|
-
/**
|
|
833
|
-
* @internal
|
|
834
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
835
|
-
*/
|
|
836
|
-
export namespace SupportingDocumentRelationships$ {
|
|
837
|
-
/** @deprecated use `SupportingDocumentRelationships$inboundSchema` instead. */
|
|
838
|
-
export const inboundSchema = SupportingDocumentRelationships$inboundSchema;
|
|
839
|
-
/** @deprecated use `SupportingDocumentRelationships$outboundSchema` instead. */
|
|
840
|
-
export const outboundSchema = SupportingDocumentRelationships$outboundSchema;
|
|
841
|
-
/** @deprecated use `SupportingDocumentRelationships$Outbound` instead. */
|
|
842
|
-
export type Outbound = SupportingDocumentRelationships$Outbound;
|
|
843
|
-
}
|
|
844
|
-
|
|
845
616
|
export function supportingDocumentRelationshipsToJSON(
|
|
846
617
|
supportingDocumentRelationships: SupportingDocumentRelationships,
|
|
847
618
|
): string {
|
|
@@ -851,7 +622,6 @@ export function supportingDocumentRelationshipsToJSON(
|
|
|
851
622
|
),
|
|
852
623
|
);
|
|
853
624
|
}
|
|
854
|
-
|
|
855
625
|
export function supportingDocumentRelationshipsFromJSON(
|
|
856
626
|
jsonString: string,
|
|
857
627
|
): SafeParseResult<SupportingDocumentRelationships, SDKValidationError> {
|
|
@@ -3,25 +3,19 @@
|
|
|
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
|
LinkObject,
|
|
12
|
-
LinkObject$inboundSchema,
|
|
13
9
|
LinkObject$Outbound,
|
|
14
10
|
LinkObject$outboundSchema,
|
|
15
11
|
} from "./linkobject.js";
|
|
16
12
|
import {
|
|
17
13
|
SupportingDocumentAttributesInput,
|
|
18
|
-
SupportingDocumentAttributesInput$inboundSchema,
|
|
19
14
|
SupportingDocumentAttributesInput$Outbound,
|
|
20
15
|
SupportingDocumentAttributesInput$outboundSchema,
|
|
21
16
|
} from "./supportingdocumentattributesinput.js";
|
|
22
17
|
import {
|
|
23
18
|
SupportingDocumentRelationships,
|
|
24
|
-
SupportingDocumentRelationships$inboundSchema,
|
|
25
19
|
SupportingDocumentRelationships$Outbound,
|
|
26
20
|
SupportingDocumentRelationships$outboundSchema,
|
|
27
21
|
} from "./supportingdocumentrelationships.js";
|
|
@@ -41,39 +35,10 @@ export type SupportingDocumentResource = {
|
|
|
41
35
|
meta?: { [k: string]: any } | undefined;
|
|
42
36
|
};
|
|
43
37
|
|
|
44
|
-
/** @internal */
|
|
45
|
-
export const SupportingDocumentResourceType$inboundSchema: z.ZodNativeEnum<
|
|
46
|
-
typeof SupportingDocumentResourceType
|
|
47
|
-
> = z.nativeEnum(SupportingDocumentResourceType);
|
|
48
|
-
|
|
49
38
|
/** @internal */
|
|
50
39
|
export const SupportingDocumentResourceType$outboundSchema: z.ZodNativeEnum<
|
|
51
40
|
typeof SupportingDocumentResourceType
|
|
52
|
-
> = SupportingDocumentResourceType
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
57
|
-
*/
|
|
58
|
-
export namespace SupportingDocumentResourceType$ {
|
|
59
|
-
/** @deprecated use `SupportingDocumentResourceType$inboundSchema` instead. */
|
|
60
|
-
export const inboundSchema = SupportingDocumentResourceType$inboundSchema;
|
|
61
|
-
/** @deprecated use `SupportingDocumentResourceType$outboundSchema` instead. */
|
|
62
|
-
export const outboundSchema = SupportingDocumentResourceType$outboundSchema;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/** @internal */
|
|
66
|
-
export const SupportingDocumentResource$inboundSchema: z.ZodType<
|
|
67
|
-
SupportingDocumentResource,
|
|
68
|
-
z.ZodTypeDef,
|
|
69
|
-
unknown
|
|
70
|
-
> = z.object({
|
|
71
|
-
type: SupportingDocumentResourceType$inboundSchema,
|
|
72
|
-
attributes: SupportingDocumentAttributesInput$inboundSchema,
|
|
73
|
-
relationships: SupportingDocumentRelationships$inboundSchema,
|
|
74
|
-
links: z.record(LinkObject$inboundSchema).optional(),
|
|
75
|
-
meta: z.record(z.any()).optional(),
|
|
76
|
-
});
|
|
41
|
+
> = z.nativeEnum(SupportingDocumentResourceType);
|
|
77
42
|
|
|
78
43
|
/** @internal */
|
|
79
44
|
export type SupportingDocumentResource$Outbound = {
|
|
@@ -97,19 +62,6 @@ export const SupportingDocumentResource$outboundSchema: z.ZodType<
|
|
|
97
62
|
meta: z.record(z.any()).optional(),
|
|
98
63
|
});
|
|
99
64
|
|
|
100
|
-
/**
|
|
101
|
-
* @internal
|
|
102
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
103
|
-
*/
|
|
104
|
-
export namespace SupportingDocumentResource$ {
|
|
105
|
-
/** @deprecated use `SupportingDocumentResource$inboundSchema` instead. */
|
|
106
|
-
export const inboundSchema = SupportingDocumentResource$inboundSchema;
|
|
107
|
-
/** @deprecated use `SupportingDocumentResource$outboundSchema` instead. */
|
|
108
|
-
export const outboundSchema = SupportingDocumentResource$outboundSchema;
|
|
109
|
-
/** @deprecated use `SupportingDocumentResource$Outbound` instead. */
|
|
110
|
-
export type Outbound = SupportingDocumentResource$Outbound;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
65
|
export function supportingDocumentResourceToJSON(
|
|
114
66
|
supportingDocumentResource: SupportingDocumentResource,
|
|
115
67
|
): string {
|
|
@@ -117,13 +69,3 @@ export function supportingDocumentResourceToJSON(
|
|
|
117
69
|
SupportingDocumentResource$outboundSchema.parse(supportingDocumentResource),
|
|
118
70
|
);
|
|
119
71
|
}
|
|
120
|
-
|
|
121
|
-
export function supportingDocumentResourceFromJSON(
|
|
122
|
-
jsonString: string,
|
|
123
|
-
): SafeParseResult<SupportingDocumentResource, SDKValidationError> {
|
|
124
|
-
return safeParse(
|
|
125
|
-
jsonString,
|
|
126
|
-
(x) => SupportingDocumentResource$inboundSchema.parse(JSON.parse(x)),
|
|
127
|
-
`Failed to parse 'SupportingDocumentResource' from JSON`,
|
|
128
|
-
);
|
|
129
|
-
}
|
|
@@ -4,10 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
7
|
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
8
|
|
|
12
9
|
/**
|
|
13
10
|
* Must be 'client_credentials'
|
|
@@ -43,42 +40,9 @@ export type TokenRequest = {
|
|
|
43
40
|
};
|
|
44
41
|
|
|
45
42
|
/** @internal */
|
|
46
|
-
export const GrantType$
|
|
43
|
+
export const GrantType$outboundSchema: z.ZodNativeEnum<typeof GrantType> = z
|
|
47
44
|
.nativeEnum(GrantType);
|
|
48
45
|
|
|
49
|
-
/** @internal */
|
|
50
|
-
export const GrantType$outboundSchema: z.ZodNativeEnum<typeof GrantType> =
|
|
51
|
-
GrantType$inboundSchema;
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* @internal
|
|
55
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
56
|
-
*/
|
|
57
|
-
export namespace GrantType$ {
|
|
58
|
-
/** @deprecated use `GrantType$inboundSchema` instead. */
|
|
59
|
-
export const inboundSchema = GrantType$inboundSchema;
|
|
60
|
-
/** @deprecated use `GrantType$outboundSchema` instead. */
|
|
61
|
-
export const outboundSchema = GrantType$outboundSchema;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/** @internal */
|
|
65
|
-
export const TokenRequest$inboundSchema: z.ZodType<
|
|
66
|
-
TokenRequest,
|
|
67
|
-
z.ZodTypeDef,
|
|
68
|
-
unknown
|
|
69
|
-
> = z.object({
|
|
70
|
-
grant_type: GrantType$inboundSchema,
|
|
71
|
-
client_id: z.string(),
|
|
72
|
-
client_secret: z.string(),
|
|
73
|
-
scope: z.string(),
|
|
74
|
-
}).transform((v) => {
|
|
75
|
-
return remap$(v, {
|
|
76
|
-
"grant_type": "grantType",
|
|
77
|
-
"client_id": "clientId",
|
|
78
|
-
"client_secret": "clientSecret",
|
|
79
|
-
});
|
|
80
|
-
});
|
|
81
|
-
|
|
82
46
|
/** @internal */
|
|
83
47
|
export type TokenRequest$Outbound = {
|
|
84
48
|
grant_type: string;
|
|
@@ -105,29 +69,6 @@ export const TokenRequest$outboundSchema: z.ZodType<
|
|
|
105
69
|
});
|
|
106
70
|
});
|
|
107
71
|
|
|
108
|
-
/**
|
|
109
|
-
* @internal
|
|
110
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
111
|
-
*/
|
|
112
|
-
export namespace TokenRequest$ {
|
|
113
|
-
/** @deprecated use `TokenRequest$inboundSchema` instead. */
|
|
114
|
-
export const inboundSchema = TokenRequest$inboundSchema;
|
|
115
|
-
/** @deprecated use `TokenRequest$outboundSchema` instead. */
|
|
116
|
-
export const outboundSchema = TokenRequest$outboundSchema;
|
|
117
|
-
/** @deprecated use `TokenRequest$Outbound` instead. */
|
|
118
|
-
export type Outbound = TokenRequest$Outbound;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
72
|
export function tokenRequestToJSON(tokenRequest: TokenRequest): string {
|
|
122
73
|
return JSON.stringify(TokenRequest$outboundSchema.parse(tokenRequest));
|
|
123
74
|
}
|
|
124
|
-
|
|
125
|
-
export function tokenRequestFromJSON(
|
|
126
|
-
jsonString: string,
|
|
127
|
-
): SafeParseResult<TokenRequest, SDKValidationError> {
|
|
128
|
-
return safeParse(
|
|
129
|
-
jsonString,
|
|
130
|
-
(x) => TokenRequest$inboundSchema.parse(JSON.parse(x)),
|
|
131
|
-
`Failed to parse 'TokenRequest' from JSON`,
|
|
132
|
-
);
|
|
133
|
-
}
|