@financeable/aggregation 0.12.1 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/encodings.d.ts +1 -0
- package/lib/encodings.d.ts.map +1 -1
- package/models/components/addressattributes.d.ts +0 -28
- package/models/components/addressattributes.d.ts.map +1 -1
- package/models/components/apierrorlinks.d.ts +0 -19
- package/models/components/apierrorlinks.d.ts.map +1 -1
- package/models/components/applicationresource.d.ts +4 -21
- package/models/components/applicationresource.d.ts.map +1 -1
- package/models/components/applicationstatus.d.ts +0 -30
- package/models/components/applicationstatus.d.ts.map +1 -1
- package/models/components/australianstatesandterritories.d.ts +0 -28
- package/models/components/australianstatesandterritories.d.ts.map +1 -1
- package/models/components/badrequesterror.d.ts +3 -85
- package/models/components/badrequesterror.d.ts.map +1 -1
- package/models/components/businessapplicationjsonapirelationships.d.ts +1 -205
- package/models/components/businessapplicationjsonapirelationships.d.ts.map +1 -1
- package/models/components/businessapplicationpayload.d.ts +0 -64
- package/models/components/businessapplicationpayload.d.ts.map +1 -1
- package/models/components/businessapplicationresource.d.ts +12 -94
- package/models/components/businessapplicationresource.d.ts.map +1 -1
- package/models/components/businessloanbusinessapplicationrelationships.d.ts +0 -308
- package/models/components/businessloanbusinessapplicationrelationships.d.ts.map +1 -1
- package/models/components/commercialapplicationjsonapirelationships.d.ts +1 -267
- package/models/components/commercialapplicationjsonapirelationships.d.ts.map +1 -1
- package/models/components/commercialsecuredapplicationpayload.d.ts +0 -78
- package/models/components/commercialsecuredapplicationpayload.d.ts.map +1 -1
- package/models/components/commercialsecuredapplicationresource.d.ts +12 -94
- package/models/components/commercialsecuredapplicationresource.d.ts.map +1 -1
- package/models/components/commercialsecuredloanassetattributes.d.ts +0 -130
- package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -1
- package/models/components/commercialsecuredloanassettype.d.ts +0 -64
- package/models/components/commercialsecuredloanassettype.d.ts.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +0 -354
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
- package/models/components/commercialsecuredloantypeofsale.d.ts +0 -24
- package/models/components/commercialsecuredloantypeofsale.d.ts.map +1 -1
- package/models/components/consumerapplicationjsonapirelationships.d.ts +1 -205
- package/models/components/consumerapplicationjsonapirelationships.d.ts.map +1 -1
- package/models/components/consumersecuredapplicationpayload.d.ts +0 -78
- package/models/components/consumersecuredapplicationpayload.d.ts.map +1 -1
- package/models/components/consumersecuredapplicationresource.d.ts +12 -94
- package/models/components/consumersecuredapplicationresource.d.ts.map +1 -1
- package/models/components/consumersecuredloanassetattributes.d.ts +0 -130
- package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -1
- package/models/components/consumersecuredloanassettype.d.ts +0 -40
- package/models/components/consumersecuredloanassettype.d.ts.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +0 -400
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -1
- package/models/components/consumersecuredloantypeofsale.d.ts +0 -24
- package/models/components/consumersecuredloantypeofsale.d.ts.map +1 -1
- package/models/components/createsupportingdocumentsresponse.d.ts +3 -78
- package/models/components/createsupportingdocumentsresponse.d.ts.map +1 -1
- package/models/components/currencycodeiso4217.d.ts +0 -14
- package/models/components/currencycodeiso4217.d.ts.map +1 -1
- package/models/components/customerassetattributes.d.ts +0 -12
- package/models/components/customerassetattributes.d.ts.map +1 -1
- package/models/components/customerassettype.d.ts +0 -28
- package/models/components/customerassettype.d.ts.map +1 -1
- package/models/components/customerattributes.d.ts +1 -33
- package/models/components/customerattributes.d.ts.map +1 -1
- package/models/components/customerattributescreateitem.d.ts +0 -17
- package/models/components/customerattributescreateitem.d.ts.map +1 -1
- package/models/components/customeridtype.d.ts +0 -18
- package/models/components/customeridtype.d.ts.map +1 -1
- package/models/components/customerliabilityattributes.d.ts +0 -12
- package/models/components/customerliabilityattributes.d.ts.map +1 -1
- package/models/components/customerliabilityrepaymentfrequency.d.ts +0 -18
- package/models/components/customerliabilityrepaymentfrequency.d.ts.map +1 -1
- package/models/components/customerliabilitytype.d.ts +0 -24
- package/models/components/customerliabilitytype.d.ts.map +1 -1
- package/models/components/customertitle.d.ts +0 -20
- package/models/components/customertitle.d.ts.map +1 -1
- package/models/components/documenttype.d.ts +0 -40
- package/models/components/documenttype.d.ts.map +1 -1
- package/models/components/entityattributes.d.ts +0 -84
- package/models/components/entityattributes.d.ts.map +1 -1
- package/models/components/entityattributesinput.d.ts +0 -17
- package/models/components/entityattributesinput.d.ts.map +1 -1
- package/models/components/errorsource.d.ts +0 -21
- package/models/components/errorsource.d.ts.map +1 -1
- package/models/components/expenseattributes.d.ts +0 -17
- package/models/components/expenseattributes.d.ts.map +1 -1
- package/models/components/expensefrequency.d.ts +0 -20
- package/models/components/expensefrequency.d.ts.map +1 -1
- package/models/components/expensetype.d.ts +0 -52
- package/models/components/expensetype.d.ts.map +1 -1
- package/models/components/forbiddenerror.d.ts +2 -78
- package/models/components/forbiddenerror.d.ts.map +1 -1
- package/models/components/frequencytype.d.ts +0 -18
- package/models/components/frequencytype.d.ts.map +1 -1
- package/models/components/incomeattributes.d.ts +0 -17
- package/models/components/incomeattributes.d.ts.map +1 -1
- package/models/components/incomefrequency.d.ts +0 -22
- package/models/components/incomefrequency.d.ts.map +1 -1
- package/models/components/incometype.d.ts +0 -32
- package/models/components/incometype.d.ts.map +1 -1
- package/models/components/linkobject.d.ts +0 -12
- package/models/components/linkobject.d.ts.map +1 -1
- package/models/components/livingarrangements.d.ts +0 -20
- package/models/components/livingarrangements.d.ts.map +1 -1
- package/models/components/loandetailsattributes.d.ts +5 -132
- package/models/components/loandetailsattributes.d.ts.map +1 -1
- package/models/components/maritalstatus.d.ts +0 -16
- package/models/components/maritalstatus.d.ts.map +1 -1
- package/models/components/monetaryquantity.d.ts +0 -26
- package/models/components/monetaryquantity.d.ts.map +1 -1
- package/models/components/paginationlinks.d.ts +0 -22
- package/models/components/paginationlinks.d.ts.map +1 -1
- package/models/components/paginationmeta.d.ts +0 -22
- package/models/components/paginationmeta.d.ts.map +1 -1
- package/models/components/percentagequantity.d.ts +0 -26
- package/models/components/percentagequantity.d.ts.map +1 -1
- package/models/components/personalapplicationjsonapirelationships.d.ts +1 -143
- package/models/components/personalapplicationjsonapirelationships.d.ts.map +1 -1
- package/models/components/personalapplicationpayload.d.ts +0 -64
- package/models/components/personalapplicationpayload.d.ts.map +1 -1
- package/models/components/personalapplicationresource.d.ts +12 -94
- package/models/components/personalapplicationresource.d.ts.map +1 -1
- package/models/components/personalloanpersonalapplicationrelationships.d.ts +0 -354
- package/models/components/personalloanpersonalapplicationrelationships.d.ts.map +1 -1
- package/models/components/relationshipresourcenotfound.d.ts +2 -78
- package/models/components/relationshipresourcenotfound.d.ts.map +1 -1
- package/models/components/repaymentstructure.d.ts +0 -18
- package/models/components/repaymentstructure.d.ts.map +1 -1
- package/models/components/residencystatus.d.ts +0 -22
- package/models/components/residencystatus.d.ts.map +1 -1
- package/models/components/resourcenotfound.d.ts +2 -78
- package/models/components/resourcenotfound.d.ts.map +1 -1
- package/models/components/security.d.ts +0 -17
- package/models/components/security.d.ts.map +1 -1
- package/models/components/supportingdocumentattributes.d.ts +0 -21
- package/models/components/supportingdocumentattributes.d.ts.map +1 -1
- package/models/components/supportingdocumentattributesinput.d.ts +0 -17
- package/models/components/supportingdocumentattributesinput.d.ts.map +1 -1
- package/models/components/supportingdocumentrelationships.d.ts +0 -190
- package/models/components/supportingdocumentrelationships.d.ts.map +1 -1
- package/models/components/supportingdocumentresource.d.ts +0 -33
- package/models/components/supportingdocumentresource.d.ts.map +1 -1
- package/models/components/tokenrequest.d.ts +0 -33
- package/models/components/tokenrequest.d.ts.map +1 -1
- package/models/components/tokenresponse.d.ts +0 -22
- package/models/components/tokenresponse.d.ts.map +1 -1
- package/models/components/uploadmimetype.d.ts +0 -28
- package/models/components/uploadmimetype.d.ts.map +1 -1
- package/models/operations/createapplication.d.ts +0 -484
- package/models/operations/createapplication.d.ts.map +1 -1
- package/models/operations/getapplication.d.ts +0 -469
- package/models/operations/getapplication.d.ts.map +1 -1
- package/models/operations/listapplications.d.ts +0 -91
- package/models/operations/listapplications.d.ts.map +1 -1
- package/models/operations/supportingdocumentscreate.d.ts +6 -159
- package/models/operations/supportingdocumentscreate.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/hooks/oauth2scopes.ts +16 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +17 -3
- package/src/models/components/addressattributes.ts +0 -27
- package/src/models/components/apierrorlinks.ts +0 -31
- package/src/models/components/applicationresource.ts +0 -48
- package/src/models/components/applicationstatus.ts +0 -16
- package/src/models/components/australianstatesandterritories.ts +0 -12
- package/src/models/components/badrequesterror.ts +4 -119
- package/src/models/components/businessapplicationjsonapirelationships.ts +1 -395
- package/src/models/components/businessapplicationpayload.ts +2 -114
- package/src/models/components/businessapplicationresource.ts +14 -156
- package/src/models/components/businessloanbusinessapplicationrelationships.ts +6 -776
- package/src/models/components/commercialapplicationjsonapirelationships.ts +1 -497
- package/src/models/components/commercialsecuredapplicationpayload.ts +2 -112
- package/src/models/components/commercialsecuredapplicationresource.ts +14 -164
- package/src/models/components/commercialsecuredloanassetattributes.ts +0 -131
- package/src/models/components/commercialsecuredloanassettype.ts +0 -12
- package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +7 -790
- package/src/models/components/commercialsecuredloantypeofsale.ts +0 -12
- package/src/models/components/consumerapplicationjsonapirelationships.ts +1 -390
- package/src/models/components/consumersecuredapplicationpayload.ts +2 -127
- package/src/models/components/consumersecuredapplicationresource.ts +14 -163
- package/src/models/components/consumersecuredloanassetattributes.ts +0 -149
- package/src/models/components/consumersecuredloanassettype.ts +0 -12
- package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +8 -977
- package/src/models/components/consumersecuredloantypeofsale.ts +0 -12
- package/src/models/components/createsupportingdocumentsresponse.ts +1 -107
- package/src/models/components/currencycodeiso4217.ts +0 -12
- package/src/models/components/customerassetattributes.ts +0 -15
- package/src/models/components/customerassettype.ts +0 -12
- package/src/models/components/customerattributes.ts +2 -75
- package/src/models/components/customerattributescreateitem.ts +0 -59
- package/src/models/components/customeridtype.ts +1 -17
- package/src/models/components/customerliabilityattributes.ts +0 -15
- package/src/models/components/customerliabilityrepaymentfrequency.ts +0 -14
- package/src/models/components/customerliabilitytype.ts +0 -12
- package/src/models/components/customertitle.ts +0 -12
- package/src/models/components/documenttype.ts +0 -12
- package/src/models/components/entityattributes.ts +0 -95
- package/src/models/components/entityattributesinput.ts +0 -41
- package/src/models/components/errorsource.ts +0 -35
- package/src/models/components/expenseattributes.ts +1 -45
- package/src/models/components/expensefrequency.ts +1 -17
- package/src/models/components/expensetype.ts +1 -16
- package/src/models/components/forbiddenerror.ts +2 -103
- package/src/models/components/frequencytype.ts +0 -12
- package/src/models/components/incomeattributes.ts +1 -45
- package/src/models/components/incomefrequency.ts +1 -17
- package/src/models/components/incometype.ts +1 -16
- package/src/models/components/linkobject.ts +0 -15
- package/src/models/components/livingarrangements.ts +0 -12
- package/src/models/components/loandetailsattributes.ts +7 -165
- package/src/models/components/maritalstatus.ts +0 -12
- package/src/models/components/monetaryquantity.ts +0 -27
- package/src/models/components/paginationlinks.ts +0 -39
- package/src/models/components/paginationmeta.ts +0 -43
- package/src/models/components/percentagequantity.ts +0 -27
- package/src/models/components/personalapplicationjsonapirelationships.ts +1 -277
- package/src/models/components/personalapplicationpayload.ts +2 -114
- package/src/models/components/personalapplicationresource.ts +14 -156
- package/src/models/components/personalloanpersonalapplicationrelationships.ts +7 -892
- package/src/models/components/relationshipresourcenotfound.ts +2 -113
- package/src/models/components/repaymentstructure.ts +0 -12
- package/src/models/components/residencystatus.ts +0 -12
- package/src/models/components/resourcenotfound.ts +2 -109
- package/src/models/components/security.ts +0 -35
- package/src/models/components/supportingdocumentattributes.ts +1 -46
- package/src/models/components/supportingdocumentattributesinput.ts +1 -42
- package/src/models/components/supportingdocumentrelationships.ts +0 -230
- package/src/models/components/supportingdocumentresource.ts +1 -59
- package/src/models/components/tokenrequest.ts +1 -60
- package/src/models/components/tokenresponse.ts +0 -43
- package/src/models/components/uploadmimetype.ts +1 -17
- package/src/models/operations/createapplication.ts +0 -779
- package/src/models/operations/getapplication.ts +0 -759
- package/src/models/operations/listapplications.ts +0 -199
- package/src/models/operations/supportingdocumentscreate.ts +10 -340
- package/src/types/enums.ts +38 -9
- package/src/types/index.ts +2 -2
- package/src/types/unrecognized.ts +35 -0
- package/tsconfig.json +0 -1
- package/types/enums.d.ts +8 -11
- package/types/enums.d.ts.map +1 -1
- package/types/index.d.ts +2 -2
- package/types/index.d.ts.map +1 -1
- package/.devcontainer/README.md +0 -35
- package/core.js +0 -17
- package/core.js.map +0 -1
- package/docs/sdks/applications/README.md +0 -527
- package/docs/sdks/oauthtoken/README.md +0 -87
- package/docs/sdks/supportingdocuments/README.md +0 -115
- package/examples/README.md +0 -31
- package/hooks/hooks.js +0 -84
- package/hooks/hooks.js.map +0 -1
- package/hooks/index.js +0 -22
- package/hooks/index.js.map +0 -1
- package/hooks/types.js +0 -6
- package/hooks/types.js.map +0 -1
- package/index.js +0 -48
- package/index.js.map +0 -1
- package/lib/base64.js +0 -71
- package/lib/base64.js.map +0 -1
- package/lib/config.d.ts +0 -38
- package/lib/config.d.ts.map +0 -1
- package/lib/config.js +0 -35
- package/lib/config.js.map +0 -1
- package/lib/dlv.d.ts +0 -14
- package/lib/dlv.d.ts.map +0 -1
- package/lib/dlv.js +0 -49
- package/lib/dlv.js.map +0 -1
- package/lib/encodings.js +0 -368
- package/lib/encodings.js.map +0 -1
- package/lib/env.js +0 -82
- package/lib/env.js.map +0 -1
- package/lib/files.d.ts +0 -13
- package/lib/files.d.ts.map +0 -1
- package/lib/files.js +0 -77
- package/lib/files.js.map +0 -1
- package/lib/http.d.ts +0 -67
- package/lib/http.d.ts.map +0 -1
- package/lib/http.js +0 -217
- package/lib/http.js.map +0 -1
- package/lib/is-plain-object.d.ts +0 -2
- package/lib/is-plain-object.d.ts.map +0 -1
- package/lib/is-plain-object.js +0 -41
- package/lib/is-plain-object.js.map +0 -1
- package/lib/logger.d.ts +0 -6
- package/lib/logger.d.ts.map +0 -1
- package/lib/logger.js +0 -6
- package/lib/logger.js.map +0 -1
- package/lib/matchers.js +0 -218
- package/lib/matchers.js.map +0 -1
- package/lib/primitives.d.ts +0 -26
- package/lib/primitives.d.ts.map +0 -1
- package/lib/primitives.js +0 -111
- package/lib/primitives.js.map +0 -1
- package/lib/retries.d.ts +0 -38
- package/lib/retries.d.ts.map +0 -1
- package/lib/retries.js +0 -153
- package/lib/retries.js.map +0 -1
- package/lib/schemas.js +0 -62
- package/lib/schemas.js.map +0 -1
- package/lib/sdks.js +0 -274
- package/lib/sdks.js.map +0 -1
- package/lib/security.js +0 -145
- package/lib/security.js.map +0 -1
- package/lib/url.d.ts +0 -5
- package/lib/url.d.ts.map +0 -1
- package/lib/url.js +0 -25
- package/lib/url.js.map +0 -1
- package/models/components/addressattributes.js +0 -120
- package/models/components/addressattributes.js.map +0 -1
- package/models/components/apierrorlinks.js +0 -69
- package/models/components/apierrorlinks.js.map +0 -1
- package/models/components/applicationresource.js +0 -79
- package/models/components/applicationresource.js.map +0 -1
- package/models/components/applicationstatus.js +0 -66
- package/models/components/applicationstatus.js.map +0 -1
- package/models/components/australianstatesandterritories.js +0 -66
- package/models/components/australianstatesandterritories.js.map +0 -1
- package/models/components/badrequesterror.js +0 -139
- package/models/components/badrequesterror.js.map +0 -1
- package/models/components/businessapplicationjsonapirelationships.js +0 -309
- package/models/components/businessapplicationjsonapirelationships.js.map +0 -1
- package/models/components/businessapplicationpayload.js +0 -150
- package/models/components/businessapplicationpayload.js.map +0 -1
- package/models/components/businessapplicationresource.js +0 -159
- package/models/components/businessapplicationresource.js.map +0 -1
- package/models/components/businessloanbusinessapplicationrelationships.js +0 -597
- package/models/components/businessloanbusinessapplicationrelationships.js.map +0 -1
- package/models/components/commercialapplicationjsonapirelationships.js +0 -391
- package/models/components/commercialapplicationjsonapirelationships.js.map +0 -1
- package/models/components/commercialsecuredapplicationpayload.js +0 -159
- package/models/components/commercialsecuredapplicationpayload.js.map +0 -1
- package/models/components/commercialsecuredapplicationresource.js +0 -159
- package/models/components/commercialsecuredapplicationresource.js.map +0 -1
- package/models/components/commercialsecuredloanassetattributes.js +0 -322
- package/models/components/commercialsecuredloanassetattributes.js.map +0 -1
- package/models/components/commercialsecuredloanassettype.js +0 -84
- package/models/components/commercialsecuredloanassettype.js.map +0 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js +0 -682
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +0 -1
- package/models/components/commercialsecuredloantypeofsale.js +0 -64
- package/models/components/commercialsecuredloantypeofsale.js.map +0 -1
- package/models/components/consumerapplicationjsonapirelationships.js +0 -310
- package/models/components/consumerapplicationjsonapirelationships.js.map +0 -1
- package/models/components/consumersecuredapplicationpayload.js +0 -160
- package/models/components/consumersecuredapplicationpayload.js.map +0 -1
- package/models/components/consumersecuredapplicationresource.js +0 -159
- package/models/components/consumersecuredapplicationresource.js.map +0 -1
- package/models/components/consumersecuredloanassetattributes.js +0 -324
- package/models/components/consumersecuredloanassetattributes.js.map +0 -1
- package/models/components/consumersecuredloanassettype.js +0 -72
- package/models/components/consumersecuredloanassettype.js.map +0 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js +0 -775
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +0 -1
- package/models/components/consumersecuredloantypeofsale.js +0 -64
- package/models/components/consumersecuredloantypeofsale.js.map +0 -1
- package/models/components/createsupportingdocumentsresponse.js +0 -138
- package/models/components/createsupportingdocumentsresponse.js.map +0 -1
- package/models/components/currencycodeiso4217.js +0 -59
- package/models/components/currencycodeiso4217.js.map +0 -1
- package/models/components/customerassetattributes.js +0 -77
- package/models/components/customerassetattributes.js.map +0 -1
- package/models/components/customerassettype.js +0 -66
- package/models/components/customerassettype.js.map +0 -1
- package/models/components/customerattributes.js +0 -100
- package/models/components/customerattributes.js.map +0 -1
- package/models/components/customerattributescreateitem.js +0 -110
- package/models/components/customerattributescreateitem.js.map +0 -1
- package/models/components/customeridtype.js +0 -60
- package/models/components/customeridtype.js.map +0 -1
- package/models/components/customerliabilityattributes.js +0 -88
- package/models/components/customerliabilityattributes.js.map +0 -1
- package/models/components/customerliabilityrepaymentfrequency.js +0 -61
- package/models/components/customerliabilityrepaymentfrequency.js.map +0 -1
- package/models/components/customerliabilitytype.js +0 -64
- package/models/components/customerliabilitytype.js.map +0 -1
- package/models/components/customertitle.js +0 -62
- package/models/components/customertitle.js.map +0 -1
- package/models/components/documenttype.js +0 -75
- package/models/components/documenttype.js.map +0 -1
- package/models/components/entityattributes.js +0 -151
- package/models/components/entityattributes.js.map +0 -1
- package/models/components/entityattributesinput.js +0 -81
- package/models/components/entityattributesinput.js.map +0 -1
- package/models/components/errorsource.js +0 -73
- package/models/components/errorsource.js.map +0 -1
- package/models/components/expenseattributes.js +0 -78
- package/models/components/expenseattributes.js.map +0 -1
- package/models/components/expensefrequency.js +0 -61
- package/models/components/expensefrequency.js.map +0 -1
- package/models/components/expensetype.js +0 -78
- package/models/components/expensetype.js.map +0 -1
- package/models/components/forbiddenerror.js +0 -139
- package/models/components/forbiddenerror.js.map +0 -1
- package/models/components/frequencytype.js +0 -64
- package/models/components/frequencytype.js.map +0 -1
- package/models/components/incomeattributes.js +0 -78
- package/models/components/incomeattributes.js.map +0 -1
- package/models/components/incomefrequency.js +0 -62
- package/models/components/incomefrequency.js.map +0 -1
- package/models/components/incometype.js +0 -68
- package/models/components/incometype.js.map +0 -1
- package/models/components/index.js +0 -91
- package/models/components/index.js.map +0 -1
- package/models/components/linkobject.js +0 -77
- package/models/components/linkobject.js.map +0 -1
- package/models/components/livingarrangements.js +0 -62
- package/models/components/livingarrangements.js.map +0 -1
- package/models/components/loandetailsattributes.js +0 -375
- package/models/components/loandetailsattributes.js.map +0 -1
- package/models/components/maritalstatus.js +0 -60
- package/models/components/maritalstatus.js.map +0 -1
- package/models/components/monetaryquantity.js +0 -93
- package/models/components/monetaryquantity.js.map +0 -1
- package/models/components/paginationlinks.js +0 -75
- package/models/components/paginationlinks.js.map +0 -1
- package/models/components/paginationmeta.js +0 -88
- package/models/components/paginationmeta.js.map +0 -1
- package/models/components/percentagequantity.js +0 -89
- package/models/components/percentagequantity.js.map +0 -1
- package/models/components/personalapplicationjsonapirelationships.js +0 -229
- package/models/components/personalapplicationjsonapirelationships.js.map +0 -1
- package/models/components/personalapplicationpayload.js +0 -150
- package/models/components/personalapplicationpayload.js.map +0 -1
- package/models/components/personalapplicationresource.js +0 -159
- package/models/components/personalapplicationresource.js.map +0 -1
- package/models/components/personalloanpersonalapplicationrelationships.js +0 -682
- package/models/components/personalloanpersonalapplicationrelationships.js.map +0 -1
- package/models/components/relationshipresourcenotfound.js +0 -139
- package/models/components/relationshipresourcenotfound.js.map +0 -1
- package/models/components/repaymentstructure.js +0 -64
- package/models/components/repaymentstructure.js.map +0 -1
- package/models/components/residencystatus.js +0 -63
- package/models/components/residencystatus.js.map +0 -1
- package/models/components/resourcenotfound.js +0 -139
- package/models/components/resourcenotfound.js.map +0 -1
- package/models/components/security.js +0 -69
- package/models/components/security.js.map +0 -1
- package/models/components/supportingdocumentattributes.js +0 -74
- package/models/components/supportingdocumentattributes.js.map +0 -1
- package/models/components/supportingdocumentattributesinput.js +0 -72
- package/models/components/supportingdocumentattributesinput.js.map +0 -1
- package/models/components/supportingdocumentrelationships.js +0 -434
- package/models/components/supportingdocumentrelationships.js.map +0 -1
- package/models/components/supportingdocumentresource.js +0 -98
- package/models/components/supportingdocumentresource.js.map +0 -1
- package/models/components/tokenrequest.js +0 -110
- package/models/components/tokenrequest.js.map +0 -1
- package/models/components/tokenresponse.js +0 -88
- package/models/components/tokenresponse.js.map +0 -1
- package/models/components/uploadmimetype.js +0 -68
- package/models/components/uploadmimetype.js.map +0 -1
- package/models/errors/apierror.d.ts +0 -10
- package/models/errors/apierror.d.ts.map +0 -1
- package/models/errors/apierror.js +0 -34
- package/models/errors/apierror.js.map +0 -1
- package/models/errors/financeableerror.d.ts +0 -19
- package/models/errors/financeableerror.d.ts.map +0 -1
- package/models/errors/financeableerror.js +0 -20
- package/models/errors/financeableerror.js.map +0 -1
- package/models/errors/httpclienterrors.d.ts +0 -44
- package/models/errors/httpclienterrors.d.ts.map +0 -1
- package/models/errors/httpclienterrors.js +0 -78
- package/models/errors/httpclienterrors.js.map +0 -1
- package/models/errors/index.js +0 -25
- package/models/errors/index.js.map +0 -1
- package/models/errors/responsevalidationerror.js +0 -66
- package/models/errors/responsevalidationerror.js.map +0 -1
- package/models/errors/sdkvalidationerror.js +0 -129
- package/models/errors/sdkvalidationerror.js.map +0 -1
- package/models/operations/createapplication.js +0 -747
- package/models/operations/createapplication.js.map +0 -1
- package/models/operations/getapplication.js +0 -697
- package/models/operations/getapplication.js.map +0 -1
- package/models/operations/index.js +0 -24
- package/models/operations/index.js.map +0 -1
- package/models/operations/listapplications.js +0 -199
- package/models/operations/listapplications.js.map +0 -1
- package/models/operations/supportingdocumentscreate.js +0 -320
- package/models/operations/supportingdocumentscreate.js.map +0 -1
- package/sdk/index.js +0 -21
- package/sdk/index.js.map +0 -1
- package/sdk/sdk.js +0 -23
- package/sdk/sdk.js.map +0 -1
- package/types/async.d.ts +0 -23
- package/types/async.d.ts.map +0 -1
- package/types/async.js +0 -44
- package/types/async.js.map +0 -1
- package/types/blobs.js +0 -62
- package/types/blobs.js.map +0 -1
- package/types/constdatetime.js +0 -46
- package/types/constdatetime.js.map +0 -1
- package/types/enums.js +0 -10
- package/types/enums.js.map +0 -1
- package/types/fp.d.ts +0 -31
- package/types/fp.d.ts.map +0 -1
- package/types/fp.js +0 -37
- package/types/fp.js.map +0 -1
- package/types/index.js +0 -16
- package/types/index.js.map +0 -1
- package/types/operations.d.ts +0 -27
- package/types/operations.d.ts.map +0 -1
- package/types/operations.js +0 -83
- package/types/operations.js.map +0 -1
- package/types/rfcdate.d.ts +0 -21
- package/types/rfcdate.d.ts.map +0 -1
- package/types/rfcdate.js +0 -46
- package/types/rfcdate.js.map +0 -1
- package/types/streams.d.ts +0 -2
- package/types/streams.d.ts.map +0 -1
- package/types/streams.js +0 -18
- package/types/streams.js.map +0 -1
|
@@ -7,18 +7,8 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
7
7
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
APIErrorLinks$inboundSchema,
|
|
13
|
-
APIErrorLinks$Outbound,
|
|
14
|
-
APIErrorLinks$outboundSchema,
|
|
15
|
-
} from "./apierrorlinks.js";
|
|
16
|
-
import {
|
|
17
|
-
ErrorSource,
|
|
18
|
-
ErrorSource$inboundSchema,
|
|
19
|
-
ErrorSource$Outbound,
|
|
20
|
-
ErrorSource$outboundSchema,
|
|
21
|
-
} from "./errorsource.js";
|
|
10
|
+
import { APIErrorLinks, APIErrorLinks$inboundSchema } from "./apierrorlinks.js";
|
|
11
|
+
import { ErrorSource, ErrorSource$inboundSchema } from "./errorsource.js";
|
|
22
12
|
|
|
23
13
|
export const RelationshipResourceNotFoundStatus = {
|
|
24
14
|
FourHundredAndFour: "404",
|
|
@@ -57,66 +47,16 @@ export const RelationshipResourceNotFoundStatus$inboundSchema: z.ZodNativeEnum<
|
|
|
57
47
|
typeof RelationshipResourceNotFoundStatus
|
|
58
48
|
> = z.nativeEnum(RelationshipResourceNotFoundStatus);
|
|
59
49
|
|
|
60
|
-
/** @internal */
|
|
61
|
-
export const RelationshipResourceNotFoundStatus$outboundSchema: z.ZodNativeEnum<
|
|
62
|
-
typeof RelationshipResourceNotFoundStatus
|
|
63
|
-
> = RelationshipResourceNotFoundStatus$inboundSchema;
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
68
|
-
*/
|
|
69
|
-
export namespace RelationshipResourceNotFoundStatus$ {
|
|
70
|
-
/** @deprecated use `RelationshipResourceNotFoundStatus$inboundSchema` instead. */
|
|
71
|
-
export const inboundSchema = RelationshipResourceNotFoundStatus$inboundSchema;
|
|
72
|
-
/** @deprecated use `RelationshipResourceNotFoundStatus$outboundSchema` instead. */
|
|
73
|
-
export const outboundSchema =
|
|
74
|
-
RelationshipResourceNotFoundStatus$outboundSchema;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
50
|
/** @internal */
|
|
78
51
|
export const RelationshipResourceNotFoundCode$inboundSchema: z.ZodNativeEnum<
|
|
79
52
|
typeof RelationshipResourceNotFoundCode
|
|
80
53
|
> = z.nativeEnum(RelationshipResourceNotFoundCode);
|
|
81
54
|
|
|
82
|
-
/** @internal */
|
|
83
|
-
export const RelationshipResourceNotFoundCode$outboundSchema: z.ZodNativeEnum<
|
|
84
|
-
typeof RelationshipResourceNotFoundCode
|
|
85
|
-
> = RelationshipResourceNotFoundCode$inboundSchema;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
90
|
-
*/
|
|
91
|
-
export namespace RelationshipResourceNotFoundCode$ {
|
|
92
|
-
/** @deprecated use `RelationshipResourceNotFoundCode$inboundSchema` instead. */
|
|
93
|
-
export const inboundSchema = RelationshipResourceNotFoundCode$inboundSchema;
|
|
94
|
-
/** @deprecated use `RelationshipResourceNotFoundCode$outboundSchema` instead. */
|
|
95
|
-
export const outboundSchema = RelationshipResourceNotFoundCode$outboundSchema;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
55
|
/** @internal */
|
|
99
56
|
export const RelationshipResourceNotFoundTitle$inboundSchema: z.ZodNativeEnum<
|
|
100
57
|
typeof RelationshipResourceNotFoundTitle
|
|
101
58
|
> = z.nativeEnum(RelationshipResourceNotFoundTitle);
|
|
102
59
|
|
|
103
|
-
/** @internal */
|
|
104
|
-
export const RelationshipResourceNotFoundTitle$outboundSchema: z.ZodNativeEnum<
|
|
105
|
-
typeof RelationshipResourceNotFoundTitle
|
|
106
|
-
> = RelationshipResourceNotFoundTitle$inboundSchema;
|
|
107
|
-
|
|
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 RelationshipResourceNotFoundTitle$ {
|
|
113
|
-
/** @deprecated use `RelationshipResourceNotFoundTitle$inboundSchema` instead. */
|
|
114
|
-
export const inboundSchema = RelationshipResourceNotFoundTitle$inboundSchema;
|
|
115
|
-
/** @deprecated use `RelationshipResourceNotFoundTitle$outboundSchema` instead. */
|
|
116
|
-
export const outboundSchema =
|
|
117
|
-
RelationshipResourceNotFoundTitle$outboundSchema;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
60
|
/** @internal */
|
|
121
61
|
export const RelationshipResourceNotFound$inboundSchema: z.ZodType<
|
|
122
62
|
RelationshipResourceNotFound,
|
|
@@ -133,57 +73,6 @@ export const RelationshipResourceNotFound$inboundSchema: z.ZodType<
|
|
|
133
73
|
meta: z.record(z.any()),
|
|
134
74
|
});
|
|
135
75
|
|
|
136
|
-
/** @internal */
|
|
137
|
-
export type RelationshipResourceNotFound$Outbound = {
|
|
138
|
-
id?: string | undefined;
|
|
139
|
-
links?: APIErrorLinks$Outbound | undefined;
|
|
140
|
-
status: string;
|
|
141
|
-
code: string;
|
|
142
|
-
title: string;
|
|
143
|
-
detail: string;
|
|
144
|
-
source: ErrorSource$Outbound;
|
|
145
|
-
meta: { [k: string]: any };
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
/** @internal */
|
|
149
|
-
export const RelationshipResourceNotFound$outboundSchema: z.ZodType<
|
|
150
|
-
RelationshipResourceNotFound$Outbound,
|
|
151
|
-
z.ZodTypeDef,
|
|
152
|
-
RelationshipResourceNotFound
|
|
153
|
-
> = z.object({
|
|
154
|
-
id: z.string().optional(),
|
|
155
|
-
links: APIErrorLinks$outboundSchema.optional(),
|
|
156
|
-
status: RelationshipResourceNotFoundStatus$outboundSchema,
|
|
157
|
-
code: RelationshipResourceNotFoundCode$outboundSchema,
|
|
158
|
-
title: RelationshipResourceNotFoundTitle$outboundSchema,
|
|
159
|
-
detail: z.string(),
|
|
160
|
-
source: ErrorSource$outboundSchema,
|
|
161
|
-
meta: z.record(z.any()),
|
|
162
|
-
});
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* @internal
|
|
166
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
167
|
-
*/
|
|
168
|
-
export namespace RelationshipResourceNotFound$ {
|
|
169
|
-
/** @deprecated use `RelationshipResourceNotFound$inboundSchema` instead. */
|
|
170
|
-
export const inboundSchema = RelationshipResourceNotFound$inboundSchema;
|
|
171
|
-
/** @deprecated use `RelationshipResourceNotFound$outboundSchema` instead. */
|
|
172
|
-
export const outboundSchema = RelationshipResourceNotFound$outboundSchema;
|
|
173
|
-
/** @deprecated use `RelationshipResourceNotFound$Outbound` instead. */
|
|
174
|
-
export type Outbound = RelationshipResourceNotFound$Outbound;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
export function relationshipResourceNotFoundToJSON(
|
|
178
|
-
relationshipResourceNotFound: RelationshipResourceNotFound,
|
|
179
|
-
): string {
|
|
180
|
-
return JSON.stringify(
|
|
181
|
-
RelationshipResourceNotFound$outboundSchema.parse(
|
|
182
|
-
relationshipResourceNotFound,
|
|
183
|
-
),
|
|
184
|
-
);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
76
|
export function relationshipResourceNotFoundFromJSON(
|
|
188
77
|
jsonString: string,
|
|
189
78
|
): SafeParseResult<RelationshipResourceNotFound, SDKValidationError> {
|
|
@@ -22,19 +22,7 @@ export type RepaymentStructure = ClosedEnum<typeof RepaymentStructure>;
|
|
|
22
22
|
export const RepaymentStructure$inboundSchema: z.ZodNativeEnum<
|
|
23
23
|
typeof RepaymentStructure
|
|
24
24
|
> = z.nativeEnum(RepaymentStructure);
|
|
25
|
-
|
|
26
25
|
/** @internal */
|
|
27
26
|
export const RepaymentStructure$outboundSchema: z.ZodNativeEnum<
|
|
28
27
|
typeof RepaymentStructure
|
|
29
28
|
> = RepaymentStructure$inboundSchema;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* @internal
|
|
33
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
34
|
-
*/
|
|
35
|
-
export namespace RepaymentStructure$ {
|
|
36
|
-
/** @deprecated use `RepaymentStructure$inboundSchema` instead. */
|
|
37
|
-
export const inboundSchema = RepaymentStructure$inboundSchema;
|
|
38
|
-
/** @deprecated use `RepaymentStructure$outboundSchema` instead. */
|
|
39
|
-
export const outboundSchema = RepaymentStructure$outboundSchema;
|
|
40
|
-
}
|
|
@@ -18,19 +18,7 @@ export type ResidencyStatus = ClosedEnum<typeof ResidencyStatus>;
|
|
|
18
18
|
export const ResidencyStatus$inboundSchema: z.ZodNativeEnum<
|
|
19
19
|
typeof ResidencyStatus
|
|
20
20
|
> = z.nativeEnum(ResidencyStatus);
|
|
21
|
-
|
|
22
21
|
/** @internal */
|
|
23
22
|
export const ResidencyStatus$outboundSchema: z.ZodNativeEnum<
|
|
24
23
|
typeof ResidencyStatus
|
|
25
24
|
> = ResidencyStatus$inboundSchema;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @internal
|
|
29
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
30
|
-
*/
|
|
31
|
-
export namespace ResidencyStatus$ {
|
|
32
|
-
/** @deprecated use `ResidencyStatus$inboundSchema` instead. */
|
|
33
|
-
export const inboundSchema = ResidencyStatus$inboundSchema;
|
|
34
|
-
/** @deprecated use `ResidencyStatus$outboundSchema` instead. */
|
|
35
|
-
export const outboundSchema = ResidencyStatus$outboundSchema;
|
|
36
|
-
}
|
|
@@ -7,18 +7,8 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
7
7
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
APIErrorLinks$inboundSchema,
|
|
13
|
-
APIErrorLinks$Outbound,
|
|
14
|
-
APIErrorLinks$outboundSchema,
|
|
15
|
-
} from "./apierrorlinks.js";
|
|
16
|
-
import {
|
|
17
|
-
ErrorSource,
|
|
18
|
-
ErrorSource$inboundSchema,
|
|
19
|
-
ErrorSource$Outbound,
|
|
20
|
-
ErrorSource$outboundSchema,
|
|
21
|
-
} from "./errorsource.js";
|
|
10
|
+
import { APIErrorLinks, APIErrorLinks$inboundSchema } from "./apierrorlinks.js";
|
|
11
|
+
import { ErrorSource, ErrorSource$inboundSchema } from "./errorsource.js";
|
|
22
12
|
|
|
23
13
|
export const ResourceNotFoundStatus = {
|
|
24
14
|
FourHundredAndFour: "404",
|
|
@@ -54,64 +44,16 @@ export const ResourceNotFoundStatus$inboundSchema: z.ZodNativeEnum<
|
|
|
54
44
|
typeof ResourceNotFoundStatus
|
|
55
45
|
> = z.nativeEnum(ResourceNotFoundStatus);
|
|
56
46
|
|
|
57
|
-
/** @internal */
|
|
58
|
-
export const ResourceNotFoundStatus$outboundSchema: z.ZodNativeEnum<
|
|
59
|
-
typeof ResourceNotFoundStatus
|
|
60
|
-
> = ResourceNotFoundStatus$inboundSchema;
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
65
|
-
*/
|
|
66
|
-
export namespace ResourceNotFoundStatus$ {
|
|
67
|
-
/** @deprecated use `ResourceNotFoundStatus$inboundSchema` instead. */
|
|
68
|
-
export const inboundSchema = ResourceNotFoundStatus$inboundSchema;
|
|
69
|
-
/** @deprecated use `ResourceNotFoundStatus$outboundSchema` instead. */
|
|
70
|
-
export const outboundSchema = ResourceNotFoundStatus$outboundSchema;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
47
|
/** @internal */
|
|
74
48
|
export const ResourceNotFoundCode$inboundSchema: z.ZodNativeEnum<
|
|
75
49
|
typeof ResourceNotFoundCode
|
|
76
50
|
> = z.nativeEnum(ResourceNotFoundCode);
|
|
77
51
|
|
|
78
|
-
/** @internal */
|
|
79
|
-
export const ResourceNotFoundCode$outboundSchema: z.ZodNativeEnum<
|
|
80
|
-
typeof ResourceNotFoundCode
|
|
81
|
-
> = ResourceNotFoundCode$inboundSchema;
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* @internal
|
|
85
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
86
|
-
*/
|
|
87
|
-
export namespace ResourceNotFoundCode$ {
|
|
88
|
-
/** @deprecated use `ResourceNotFoundCode$inboundSchema` instead. */
|
|
89
|
-
export const inboundSchema = ResourceNotFoundCode$inboundSchema;
|
|
90
|
-
/** @deprecated use `ResourceNotFoundCode$outboundSchema` instead. */
|
|
91
|
-
export const outboundSchema = ResourceNotFoundCode$outboundSchema;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
52
|
/** @internal */
|
|
95
53
|
export const ResourceNotFoundTitle$inboundSchema: z.ZodNativeEnum<
|
|
96
54
|
typeof ResourceNotFoundTitle
|
|
97
55
|
> = z.nativeEnum(ResourceNotFoundTitle);
|
|
98
56
|
|
|
99
|
-
/** @internal */
|
|
100
|
-
export const ResourceNotFoundTitle$outboundSchema: z.ZodNativeEnum<
|
|
101
|
-
typeof ResourceNotFoundTitle
|
|
102
|
-
> = ResourceNotFoundTitle$inboundSchema;
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* @internal
|
|
106
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
107
|
-
*/
|
|
108
|
-
export namespace ResourceNotFoundTitle$ {
|
|
109
|
-
/** @deprecated use `ResourceNotFoundTitle$inboundSchema` instead. */
|
|
110
|
-
export const inboundSchema = ResourceNotFoundTitle$inboundSchema;
|
|
111
|
-
/** @deprecated use `ResourceNotFoundTitle$outboundSchema` instead. */
|
|
112
|
-
export const outboundSchema = ResourceNotFoundTitle$outboundSchema;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
57
|
/** @internal */
|
|
116
58
|
export const ResourceNotFound$inboundSchema: z.ZodType<
|
|
117
59
|
ResourceNotFound,
|
|
@@ -128,55 +70,6 @@ export const ResourceNotFound$inboundSchema: z.ZodType<
|
|
|
128
70
|
meta: z.record(z.any()).optional(),
|
|
129
71
|
});
|
|
130
72
|
|
|
131
|
-
/** @internal */
|
|
132
|
-
export type ResourceNotFound$Outbound = {
|
|
133
|
-
id?: string | undefined;
|
|
134
|
-
links?: APIErrorLinks$Outbound | undefined;
|
|
135
|
-
status: string;
|
|
136
|
-
code: string;
|
|
137
|
-
title: string;
|
|
138
|
-
detail: string;
|
|
139
|
-
source?: ErrorSource$Outbound | undefined;
|
|
140
|
-
meta?: { [k: string]: any } | undefined;
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
/** @internal */
|
|
144
|
-
export const ResourceNotFound$outboundSchema: z.ZodType<
|
|
145
|
-
ResourceNotFound$Outbound,
|
|
146
|
-
z.ZodTypeDef,
|
|
147
|
-
ResourceNotFound
|
|
148
|
-
> = z.object({
|
|
149
|
-
id: z.string().optional(),
|
|
150
|
-
links: APIErrorLinks$outboundSchema.optional(),
|
|
151
|
-
status: ResourceNotFoundStatus$outboundSchema,
|
|
152
|
-
code: ResourceNotFoundCode$outboundSchema,
|
|
153
|
-
title: ResourceNotFoundTitle$outboundSchema,
|
|
154
|
-
detail: z.string(),
|
|
155
|
-
source: ErrorSource$outboundSchema.optional(),
|
|
156
|
-
meta: z.record(z.any()).optional(),
|
|
157
|
-
});
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* @internal
|
|
161
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
162
|
-
*/
|
|
163
|
-
export namespace ResourceNotFound$ {
|
|
164
|
-
/** @deprecated use `ResourceNotFound$inboundSchema` instead. */
|
|
165
|
-
export const inboundSchema = ResourceNotFound$inboundSchema;
|
|
166
|
-
/** @deprecated use `ResourceNotFound$outboundSchema` instead. */
|
|
167
|
-
export const outboundSchema = ResourceNotFound$outboundSchema;
|
|
168
|
-
/** @deprecated use `ResourceNotFound$Outbound` instead. */
|
|
169
|
-
export type Outbound = ResourceNotFound$Outbound;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
export function resourceNotFoundToJSON(
|
|
173
|
-
resourceNotFound: ResourceNotFound,
|
|
174
|
-
): string {
|
|
175
|
-
return JSON.stringify(
|
|
176
|
-
ResourceNotFound$outboundSchema.parse(resourceNotFound),
|
|
177
|
-
);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
73
|
export function resourceNotFoundFromJSON(
|
|
181
74
|
jsonString: string,
|
|
182
75
|
): SafeParseResult<ResourceNotFound, SDKValidationError> {
|
|
@@ -3,23 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
6
|
|
|
10
7
|
export type Security = {
|
|
11
8
|
clientCredentials?: string | undefined;
|
|
12
9
|
};
|
|
13
10
|
|
|
14
|
-
/** @internal */
|
|
15
|
-
export const Security$inboundSchema: z.ZodType<
|
|
16
|
-
Security,
|
|
17
|
-
z.ZodTypeDef,
|
|
18
|
-
unknown
|
|
19
|
-
> = z.object({
|
|
20
|
-
clientCredentials: z.string().optional(),
|
|
21
|
-
});
|
|
22
|
-
|
|
23
11
|
/** @internal */
|
|
24
12
|
export type Security$Outbound = {
|
|
25
13
|
clientCredentials?: string | undefined;
|
|
@@ -34,29 +22,6 @@ export const Security$outboundSchema: z.ZodType<
|
|
|
34
22
|
clientCredentials: z.string().optional(),
|
|
35
23
|
});
|
|
36
24
|
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
40
|
-
*/
|
|
41
|
-
export namespace Security$ {
|
|
42
|
-
/** @deprecated use `Security$inboundSchema` instead. */
|
|
43
|
-
export const inboundSchema = Security$inboundSchema;
|
|
44
|
-
/** @deprecated use `Security$outboundSchema` instead. */
|
|
45
|
-
export const outboundSchema = Security$outboundSchema;
|
|
46
|
-
/** @deprecated use `Security$Outbound` instead. */
|
|
47
|
-
export type Outbound = Security$Outbound;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
25
|
export function securityToJSON(security: Security): string {
|
|
51
26
|
return JSON.stringify(Security$outboundSchema.parse(security));
|
|
52
27
|
}
|
|
53
|
-
|
|
54
|
-
export function securityFromJSON(
|
|
55
|
-
jsonString: string,
|
|
56
|
-
): SafeParseResult<Security, SDKValidationError> {
|
|
57
|
-
return safeParse(
|
|
58
|
-
jsonString,
|
|
59
|
-
(x) => Security$inboundSchema.parse(JSON.parse(x)),
|
|
60
|
-
`Failed to parse 'Security' from JSON`,
|
|
61
|
-
);
|
|
62
|
-
}
|
|
@@ -6,11 +6,7 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
import {
|
|
10
|
-
DocumentType,
|
|
11
|
-
DocumentType$inboundSchema,
|
|
12
|
-
DocumentType$outboundSchema,
|
|
13
|
-
} from "./documenttype.js";
|
|
9
|
+
import { DocumentType, DocumentType$inboundSchema } from "./documenttype.js";
|
|
14
10
|
|
|
15
11
|
export type SupportingDocumentAttributes = {
|
|
16
12
|
id?: string | undefined;
|
|
@@ -35,47 +31,6 @@ export const SupportingDocumentAttributes$inboundSchema: z.ZodType<
|
|
|
35
31
|
documentType: DocumentType$inboundSchema,
|
|
36
32
|
});
|
|
37
33
|
|
|
38
|
-
/** @internal */
|
|
39
|
-
export type SupportingDocumentAttributes$Outbound = {
|
|
40
|
-
id?: string | undefined;
|
|
41
|
-
filename: string;
|
|
42
|
-
documentType: string;
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
/** @internal */
|
|
46
|
-
export const SupportingDocumentAttributes$outboundSchema: z.ZodType<
|
|
47
|
-
SupportingDocumentAttributes$Outbound,
|
|
48
|
-
z.ZodTypeDef,
|
|
49
|
-
SupportingDocumentAttributes
|
|
50
|
-
> = z.object({
|
|
51
|
-
id: z.string().optional(),
|
|
52
|
-
filename: z.string(),
|
|
53
|
-
documentType: DocumentType$outboundSchema,
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
59
|
-
*/
|
|
60
|
-
export namespace SupportingDocumentAttributes$ {
|
|
61
|
-
/** @deprecated use `SupportingDocumentAttributes$inboundSchema` instead. */
|
|
62
|
-
export const inboundSchema = SupportingDocumentAttributes$inboundSchema;
|
|
63
|
-
/** @deprecated use `SupportingDocumentAttributes$outboundSchema` instead. */
|
|
64
|
-
export const outboundSchema = SupportingDocumentAttributes$outboundSchema;
|
|
65
|
-
/** @deprecated use `SupportingDocumentAttributes$Outbound` instead. */
|
|
66
|
-
export type Outbound = SupportingDocumentAttributes$Outbound;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export function supportingDocumentAttributesToJSON(
|
|
70
|
-
supportingDocumentAttributes: SupportingDocumentAttributes,
|
|
71
|
-
): string {
|
|
72
|
-
return JSON.stringify(
|
|
73
|
-
SupportingDocumentAttributes$outboundSchema.parse(
|
|
74
|
-
supportingDocumentAttributes,
|
|
75
|
-
),
|
|
76
|
-
);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
34
|
export function supportingDocumentAttributesFromJSON(
|
|
80
35
|
jsonString: string,
|
|
81
36
|
): SafeParseResult<SupportingDocumentAttributes, SDKValidationError> {
|
|
@@ -3,14 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
-
import {
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
import {
|
|
10
|
-
DocumentType,
|
|
11
|
-
DocumentType$inboundSchema,
|
|
12
|
-
DocumentType$outboundSchema,
|
|
13
|
-
} from "./documenttype.js";
|
|
6
|
+
import { DocumentType, DocumentType$outboundSchema } from "./documenttype.js";
|
|
14
7
|
|
|
15
8
|
export type SupportingDocumentAttributesInput = {
|
|
16
9
|
/**
|
|
@@ -23,16 +16,6 @@ export type SupportingDocumentAttributesInput = {
|
|
|
23
16
|
documentType: DocumentType;
|
|
24
17
|
};
|
|
25
18
|
|
|
26
|
-
/** @internal */
|
|
27
|
-
export const SupportingDocumentAttributesInput$inboundSchema: z.ZodType<
|
|
28
|
-
SupportingDocumentAttributesInput,
|
|
29
|
-
z.ZodTypeDef,
|
|
30
|
-
unknown
|
|
31
|
-
> = z.object({
|
|
32
|
-
filename: z.string(),
|
|
33
|
-
documentType: DocumentType$inboundSchema,
|
|
34
|
-
});
|
|
35
|
-
|
|
36
19
|
/** @internal */
|
|
37
20
|
export type SupportingDocumentAttributesInput$Outbound = {
|
|
38
21
|
filename: string;
|
|
@@ -49,20 +32,6 @@ export const SupportingDocumentAttributesInput$outboundSchema: z.ZodType<
|
|
|
49
32
|
documentType: DocumentType$outboundSchema,
|
|
50
33
|
});
|
|
51
34
|
|
|
52
|
-
/**
|
|
53
|
-
* @internal
|
|
54
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
55
|
-
*/
|
|
56
|
-
export namespace SupportingDocumentAttributesInput$ {
|
|
57
|
-
/** @deprecated use `SupportingDocumentAttributesInput$inboundSchema` instead. */
|
|
58
|
-
export const inboundSchema = SupportingDocumentAttributesInput$inboundSchema;
|
|
59
|
-
/** @deprecated use `SupportingDocumentAttributesInput$outboundSchema` instead. */
|
|
60
|
-
export const outboundSchema =
|
|
61
|
-
SupportingDocumentAttributesInput$outboundSchema;
|
|
62
|
-
/** @deprecated use `SupportingDocumentAttributesInput$Outbound` instead. */
|
|
63
|
-
export type Outbound = SupportingDocumentAttributesInput$Outbound;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
35
|
export function supportingDocumentAttributesInputToJSON(
|
|
67
36
|
supportingDocumentAttributesInput: SupportingDocumentAttributesInput,
|
|
68
37
|
): string {
|
|
@@ -72,13 +41,3 @@ export function supportingDocumentAttributesInputToJSON(
|
|
|
72
41
|
),
|
|
73
42
|
);
|
|
74
43
|
}
|
|
75
|
-
|
|
76
|
-
export function supportingDocumentAttributesInputFromJSON(
|
|
77
|
-
jsonString: string,
|
|
78
|
-
): SafeParseResult<SupportingDocumentAttributesInput, SDKValidationError> {
|
|
79
|
-
return safeParse(
|
|
80
|
-
jsonString,
|
|
81
|
-
(x) => SupportingDocumentAttributesInput$inboundSchema.parse(JSON.parse(x)),
|
|
82
|
-
`Failed to parse 'SupportingDocumentAttributesInput' from JSON`,
|
|
83
|
-
);
|
|
84
|
-
}
|