@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
|
@@ -28,114 +28,23 @@ export type ListApplicationsResponseBody = {
|
|
|
28
28
|
};
|
|
29
29
|
export type ListApplicationsResponse = ListApplicationsResponseBody | ListApplicationsApplicationsResponseBody | ListApplicationsApplicationsResponseResponseBody;
|
|
30
30
|
/** @internal */
|
|
31
|
-
export declare const ListApplicationsRequest$inboundSchema: z.ZodType<ListApplicationsRequest, z.ZodTypeDef, unknown>;
|
|
32
|
-
/** @internal */
|
|
33
31
|
export type ListApplicationsRequest$Outbound = {
|
|
34
32
|
"page[number]"?: number | undefined;
|
|
35
33
|
"page[size]"?: number | undefined;
|
|
36
34
|
};
|
|
37
35
|
/** @internal */
|
|
38
36
|
export declare const ListApplicationsRequest$outboundSchema: z.ZodType<ListApplicationsRequest$Outbound, z.ZodTypeDef, ListApplicationsRequest>;
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
42
|
-
*/
|
|
43
|
-
export declare namespace ListApplicationsRequest$ {
|
|
44
|
-
/** @deprecated use `ListApplicationsRequest$inboundSchema` instead. */
|
|
45
|
-
const inboundSchema: z.ZodType<ListApplicationsRequest, z.ZodTypeDef, unknown>;
|
|
46
|
-
/** @deprecated use `ListApplicationsRequest$outboundSchema` instead. */
|
|
47
|
-
const outboundSchema: z.ZodType<ListApplicationsRequest$Outbound, z.ZodTypeDef, ListApplicationsRequest>;
|
|
48
|
-
/** @deprecated use `ListApplicationsRequest$Outbound` instead. */
|
|
49
|
-
type Outbound = ListApplicationsRequest$Outbound;
|
|
50
|
-
}
|
|
51
37
|
export declare function listApplicationsRequestToJSON(listApplicationsRequest: ListApplicationsRequest): string;
|
|
52
|
-
export declare function listApplicationsRequestFromJSON(jsonString: string): SafeParseResult<ListApplicationsRequest, SDKValidationError>;
|
|
53
38
|
/** @internal */
|
|
54
39
|
export declare const ListApplicationsApplicationsResponseResponseBody$inboundSchema: z.ZodType<ListApplicationsApplicationsResponseResponseBody, z.ZodTypeDef, unknown>;
|
|
55
|
-
/** @internal */
|
|
56
|
-
export type ListApplicationsApplicationsResponseResponseBody$Outbound = {
|
|
57
|
-
errors: Array<components.ResourceNotFound$Outbound>;
|
|
58
|
-
};
|
|
59
|
-
/** @internal */
|
|
60
|
-
export declare const ListApplicationsApplicationsResponseResponseBody$outboundSchema: z.ZodType<ListApplicationsApplicationsResponseResponseBody$Outbound, z.ZodTypeDef, ListApplicationsApplicationsResponseResponseBody>;
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
64
|
-
*/
|
|
65
|
-
export declare namespace ListApplicationsApplicationsResponseResponseBody$ {
|
|
66
|
-
/** @deprecated use `ListApplicationsApplicationsResponseResponseBody$inboundSchema` instead. */
|
|
67
|
-
const inboundSchema: z.ZodType<ListApplicationsApplicationsResponseResponseBody, z.ZodTypeDef, unknown>;
|
|
68
|
-
/** @deprecated use `ListApplicationsApplicationsResponseResponseBody$outboundSchema` instead. */
|
|
69
|
-
const outboundSchema: z.ZodType<ListApplicationsApplicationsResponseResponseBody$Outbound, z.ZodTypeDef, ListApplicationsApplicationsResponseResponseBody>;
|
|
70
|
-
/** @deprecated use `ListApplicationsApplicationsResponseResponseBody$Outbound` instead. */
|
|
71
|
-
type Outbound = ListApplicationsApplicationsResponseResponseBody$Outbound;
|
|
72
|
-
}
|
|
73
|
-
export declare function listApplicationsApplicationsResponseResponseBodyToJSON(listApplicationsApplicationsResponseResponseBody: ListApplicationsApplicationsResponseResponseBody): string;
|
|
74
40
|
export declare function listApplicationsApplicationsResponseResponseBodyFromJSON(jsonString: string): SafeParseResult<ListApplicationsApplicationsResponseResponseBody, SDKValidationError>;
|
|
75
41
|
/** @internal */
|
|
76
42
|
export declare const ListApplicationsApplicationsResponseBody$inboundSchema: z.ZodType<ListApplicationsApplicationsResponseBody, z.ZodTypeDef, unknown>;
|
|
77
|
-
/** @internal */
|
|
78
|
-
export type ListApplicationsApplicationsResponseBody$Outbound = {
|
|
79
|
-
errors: Array<components.ForbiddenError$Outbound>;
|
|
80
|
-
};
|
|
81
|
-
/** @internal */
|
|
82
|
-
export declare const ListApplicationsApplicationsResponseBody$outboundSchema: z.ZodType<ListApplicationsApplicationsResponseBody$Outbound, z.ZodTypeDef, ListApplicationsApplicationsResponseBody>;
|
|
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 declare namespace ListApplicationsApplicationsResponseBody$ {
|
|
88
|
-
/** @deprecated use `ListApplicationsApplicationsResponseBody$inboundSchema` instead. */
|
|
89
|
-
const inboundSchema: z.ZodType<ListApplicationsApplicationsResponseBody, z.ZodTypeDef, unknown>;
|
|
90
|
-
/** @deprecated use `ListApplicationsApplicationsResponseBody$outboundSchema` instead. */
|
|
91
|
-
const outboundSchema: z.ZodType<ListApplicationsApplicationsResponseBody$Outbound, z.ZodTypeDef, ListApplicationsApplicationsResponseBody>;
|
|
92
|
-
/** @deprecated use `ListApplicationsApplicationsResponseBody$Outbound` instead. */
|
|
93
|
-
type Outbound = ListApplicationsApplicationsResponseBody$Outbound;
|
|
94
|
-
}
|
|
95
|
-
export declare function listApplicationsApplicationsResponseBodyToJSON(listApplicationsApplicationsResponseBody: ListApplicationsApplicationsResponseBody): string;
|
|
96
43
|
export declare function listApplicationsApplicationsResponseBodyFromJSON(jsonString: string): SafeParseResult<ListApplicationsApplicationsResponseBody, SDKValidationError>;
|
|
97
44
|
/** @internal */
|
|
98
45
|
export declare const ListApplicationsResponseBody$inboundSchema: z.ZodType<ListApplicationsResponseBody, z.ZodTypeDef, unknown>;
|
|
99
|
-
/** @internal */
|
|
100
|
-
export type ListApplicationsResponseBody$Outbound = {
|
|
101
|
-
data: Array<components.ApplicationResource$Outbound>;
|
|
102
|
-
links?: components.PaginationLinks$Outbound | undefined;
|
|
103
|
-
meta?: components.PaginationMeta$Outbound | undefined;
|
|
104
|
-
};
|
|
105
|
-
/** @internal */
|
|
106
|
-
export declare const ListApplicationsResponseBody$outboundSchema: z.ZodType<ListApplicationsResponseBody$Outbound, z.ZodTypeDef, ListApplicationsResponseBody>;
|
|
107
|
-
/**
|
|
108
|
-
* @internal
|
|
109
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
110
|
-
*/
|
|
111
|
-
export declare namespace ListApplicationsResponseBody$ {
|
|
112
|
-
/** @deprecated use `ListApplicationsResponseBody$inboundSchema` instead. */
|
|
113
|
-
const inboundSchema: z.ZodType<ListApplicationsResponseBody, z.ZodTypeDef, unknown>;
|
|
114
|
-
/** @deprecated use `ListApplicationsResponseBody$outboundSchema` instead. */
|
|
115
|
-
const outboundSchema: z.ZodType<ListApplicationsResponseBody$Outbound, z.ZodTypeDef, ListApplicationsResponseBody>;
|
|
116
|
-
/** @deprecated use `ListApplicationsResponseBody$Outbound` instead. */
|
|
117
|
-
type Outbound = ListApplicationsResponseBody$Outbound;
|
|
118
|
-
}
|
|
119
|
-
export declare function listApplicationsResponseBodyToJSON(listApplicationsResponseBody: ListApplicationsResponseBody): string;
|
|
120
46
|
export declare function listApplicationsResponseBodyFromJSON(jsonString: string): SafeParseResult<ListApplicationsResponseBody, SDKValidationError>;
|
|
121
47
|
/** @internal */
|
|
122
48
|
export declare const ListApplicationsResponse$inboundSchema: z.ZodType<ListApplicationsResponse, z.ZodTypeDef, unknown>;
|
|
123
|
-
/** @internal */
|
|
124
|
-
export type ListApplicationsResponse$Outbound = ListApplicationsResponseBody$Outbound | ListApplicationsApplicationsResponseBody$Outbound | ListApplicationsApplicationsResponseResponseBody$Outbound;
|
|
125
|
-
/** @internal */
|
|
126
|
-
export declare const ListApplicationsResponse$outboundSchema: z.ZodType<ListApplicationsResponse$Outbound, z.ZodTypeDef, ListApplicationsResponse>;
|
|
127
|
-
/**
|
|
128
|
-
* @internal
|
|
129
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
130
|
-
*/
|
|
131
|
-
export declare namespace ListApplicationsResponse$ {
|
|
132
|
-
/** @deprecated use `ListApplicationsResponse$inboundSchema` instead. */
|
|
133
|
-
const inboundSchema: z.ZodType<ListApplicationsResponse, z.ZodTypeDef, unknown>;
|
|
134
|
-
/** @deprecated use `ListApplicationsResponse$outboundSchema` instead. */
|
|
135
|
-
const outboundSchema: z.ZodType<ListApplicationsResponse$Outbound, z.ZodTypeDef, ListApplicationsResponse>;
|
|
136
|
-
/** @deprecated use `ListApplicationsResponse$Outbound` instead. */
|
|
137
|
-
type Outbound = ListApplicationsResponse$Outbound;
|
|
138
|
-
}
|
|
139
|
-
export declare function listApplicationsResponseToJSON(listApplicationsResponse: ListApplicationsResponse): string;
|
|
140
49
|
export declare function listApplicationsResponseFromJSON(jsonString: string): SafeParseResult<ListApplicationsResponse, SDKValidationError>;
|
|
141
50
|
//# sourceMappingURL=listapplications.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listapplications.d.ts","sourceRoot":"","sources":["../../src/models/operations/listapplications.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,uBAAuB,GAAG;IACpC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,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AAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAMnE;AAED,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
|
|
@@ -28,12 +28,16 @@ export type One = {
|
|
|
28
28
|
* The server cannot find the requested resource.
|
|
29
29
|
*/
|
|
30
30
|
export type SupportingDocumentsCreateSupportingDocumentsResponseResponseBody = One | Two;
|
|
31
|
-
export type Errors = components.
|
|
31
|
+
export type Errors = components.BadRequestError | (components.RelationshipResourceNotFound & {
|
|
32
|
+
status: "404";
|
|
33
|
+
});
|
|
32
34
|
/**
|
|
33
35
|
* The server could not understand the request due to invalid syntax.
|
|
34
36
|
*/
|
|
35
37
|
export type SupportingDocumentsCreateSupportingDocumentsResponseBody = {
|
|
36
|
-
errors: Array<components.
|
|
38
|
+
errors: Array<components.BadRequestError | (components.RelationshipResourceNotFound & {
|
|
39
|
+
status: "404";
|
|
40
|
+
})>;
|
|
37
41
|
};
|
|
38
42
|
/**
|
|
39
43
|
* The request has succeeded and a new resource has been created as a result.
|
|
@@ -43,29 +47,12 @@ export type SupportingDocumentsCreateResponseBody = {
|
|
|
43
47
|
};
|
|
44
48
|
export type SupportingDocumentsCreateResponse = SupportingDocumentsCreateResponseBody | SupportingDocumentsCreateSupportingDocumentsResponseBody | One | Two;
|
|
45
49
|
/** @internal */
|
|
46
|
-
export declare const SupportingDocumentsCreateRequestBody$inboundSchema: z.ZodType<SupportingDocumentsCreateRequestBody, z.ZodTypeDef, unknown>;
|
|
47
|
-
/** @internal */
|
|
48
50
|
export type SupportingDocumentsCreateRequestBody$Outbound = {
|
|
49
51
|
data: components.SupportingDocumentResource$Outbound;
|
|
50
52
|
};
|
|
51
53
|
/** @internal */
|
|
52
54
|
export declare const SupportingDocumentsCreateRequestBody$outboundSchema: z.ZodType<SupportingDocumentsCreateRequestBody$Outbound, z.ZodTypeDef, SupportingDocumentsCreateRequestBody>;
|
|
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 declare namespace SupportingDocumentsCreateRequestBody$ {
|
|
58
|
-
/** @deprecated use `SupportingDocumentsCreateRequestBody$inboundSchema` instead. */
|
|
59
|
-
const inboundSchema: z.ZodType<SupportingDocumentsCreateRequestBody, z.ZodTypeDef, unknown>;
|
|
60
|
-
/** @deprecated use `SupportingDocumentsCreateRequestBody$outboundSchema` instead. */
|
|
61
|
-
const outboundSchema: z.ZodType<SupportingDocumentsCreateRequestBody$Outbound, z.ZodTypeDef, SupportingDocumentsCreateRequestBody>;
|
|
62
|
-
/** @deprecated use `SupportingDocumentsCreateRequestBody$Outbound` instead. */
|
|
63
|
-
type Outbound = SupportingDocumentsCreateRequestBody$Outbound;
|
|
64
|
-
}
|
|
65
55
|
export declare function supportingDocumentsCreateRequestBodyToJSON(supportingDocumentsCreateRequestBody: SupportingDocumentsCreateRequestBody): string;
|
|
66
|
-
export declare function supportingDocumentsCreateRequestBodyFromJSON(jsonString: string): SafeParseResult<SupportingDocumentsCreateRequestBody, SDKValidationError>;
|
|
67
|
-
/** @internal */
|
|
68
|
-
export declare const SupportingDocumentsCreateRequest$inboundSchema: z.ZodType<SupportingDocumentsCreateRequest, z.ZodTypeDef, unknown>;
|
|
69
56
|
/** @internal */
|
|
70
57
|
export type SupportingDocumentsCreateRequest$Outbound = {
|
|
71
58
|
mimeType: string;
|
|
@@ -73,166 +60,26 @@ export type SupportingDocumentsCreateRequest$Outbound = {
|
|
|
73
60
|
};
|
|
74
61
|
/** @internal */
|
|
75
62
|
export declare const SupportingDocumentsCreateRequest$outboundSchema: z.ZodType<SupportingDocumentsCreateRequest$Outbound, z.ZodTypeDef, SupportingDocumentsCreateRequest>;
|
|
76
|
-
/**
|
|
77
|
-
* @internal
|
|
78
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
79
|
-
*/
|
|
80
|
-
export declare namespace SupportingDocumentsCreateRequest$ {
|
|
81
|
-
/** @deprecated use `SupportingDocumentsCreateRequest$inboundSchema` instead. */
|
|
82
|
-
const inboundSchema: z.ZodType<SupportingDocumentsCreateRequest, z.ZodTypeDef, unknown>;
|
|
83
|
-
/** @deprecated use `SupportingDocumentsCreateRequest$outboundSchema` instead. */
|
|
84
|
-
const outboundSchema: z.ZodType<SupportingDocumentsCreateRequest$Outbound, z.ZodTypeDef, SupportingDocumentsCreateRequest>;
|
|
85
|
-
/** @deprecated use `SupportingDocumentsCreateRequest$Outbound` instead. */
|
|
86
|
-
type Outbound = SupportingDocumentsCreateRequest$Outbound;
|
|
87
|
-
}
|
|
88
63
|
export declare function supportingDocumentsCreateRequestToJSON(supportingDocumentsCreateRequest: SupportingDocumentsCreateRequest): string;
|
|
89
|
-
export declare function supportingDocumentsCreateRequestFromJSON(jsonString: string): SafeParseResult<SupportingDocumentsCreateRequest, SDKValidationError>;
|
|
90
64
|
/** @internal */
|
|
91
65
|
export declare const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
|
|
92
|
-
/** @internal */
|
|
93
|
-
export type Two$Outbound = {
|
|
94
|
-
errors: Array<components.RelationshipResourceNotFound$Outbound>;
|
|
95
|
-
};
|
|
96
|
-
/** @internal */
|
|
97
|
-
export declare const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
|
|
98
|
-
/**
|
|
99
|
-
* @internal
|
|
100
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
101
|
-
*/
|
|
102
|
-
export declare namespace Two$ {
|
|
103
|
-
/** @deprecated use `Two$inboundSchema` instead. */
|
|
104
|
-
const inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
|
|
105
|
-
/** @deprecated use `Two$outboundSchema` instead. */
|
|
106
|
-
const outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
|
|
107
|
-
/** @deprecated use `Two$Outbound` instead. */
|
|
108
|
-
type Outbound = Two$Outbound;
|
|
109
|
-
}
|
|
110
|
-
export declare function twoToJSON(two: Two): string;
|
|
111
66
|
export declare function twoFromJSON(jsonString: string): SafeParseResult<Two, SDKValidationError>;
|
|
112
67
|
/** @internal */
|
|
113
68
|
export declare const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
|
|
114
|
-
/** @internal */
|
|
115
|
-
export type One$Outbound = {
|
|
116
|
-
errors: Array<components.ResourceNotFound$Outbound>;
|
|
117
|
-
};
|
|
118
|
-
/** @internal */
|
|
119
|
-
export declare const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
|
|
120
|
-
/**
|
|
121
|
-
* @internal
|
|
122
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
123
|
-
*/
|
|
124
|
-
export declare namespace One$ {
|
|
125
|
-
/** @deprecated use `One$inboundSchema` instead. */
|
|
126
|
-
const inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
|
|
127
|
-
/** @deprecated use `One$outboundSchema` instead. */
|
|
128
|
-
const outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
|
|
129
|
-
/** @deprecated use `One$Outbound` instead. */
|
|
130
|
-
type Outbound = One$Outbound;
|
|
131
|
-
}
|
|
132
|
-
export declare function oneToJSON(one: One): string;
|
|
133
69
|
export declare function oneFromJSON(jsonString: string): SafeParseResult<One, SDKValidationError>;
|
|
134
70
|
/** @internal */
|
|
135
71
|
export declare const SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$inboundSchema: z.ZodType<SupportingDocumentsCreateSupportingDocumentsResponseResponseBody, z.ZodTypeDef, unknown>;
|
|
136
|
-
/** @internal */
|
|
137
|
-
export type SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$Outbound = One$Outbound | Two$Outbound;
|
|
138
|
-
/** @internal */
|
|
139
|
-
export declare const SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$outboundSchema: z.ZodType<SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$Outbound, z.ZodTypeDef, SupportingDocumentsCreateSupportingDocumentsResponseResponseBody>;
|
|
140
|
-
/**
|
|
141
|
-
* @internal
|
|
142
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
143
|
-
*/
|
|
144
|
-
export declare namespace SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$ {
|
|
145
|
-
/** @deprecated use `SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$inboundSchema` instead. */
|
|
146
|
-
const inboundSchema: z.ZodType<SupportingDocumentsCreateSupportingDocumentsResponseResponseBody, z.ZodTypeDef, unknown>;
|
|
147
|
-
/** @deprecated use `SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$outboundSchema` instead. */
|
|
148
|
-
const outboundSchema: z.ZodType<SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$Outbound, z.ZodTypeDef, SupportingDocumentsCreateSupportingDocumentsResponseResponseBody>;
|
|
149
|
-
/** @deprecated use `SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$Outbound` instead. */
|
|
150
|
-
type Outbound = SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$Outbound;
|
|
151
|
-
}
|
|
152
|
-
export declare function supportingDocumentsCreateSupportingDocumentsResponseResponseBodyToJSON(supportingDocumentsCreateSupportingDocumentsResponseResponseBody: SupportingDocumentsCreateSupportingDocumentsResponseResponseBody): string;
|
|
153
72
|
export declare function supportingDocumentsCreateSupportingDocumentsResponseResponseBodyFromJSON(jsonString: string): SafeParseResult<SupportingDocumentsCreateSupportingDocumentsResponseResponseBody, SDKValidationError>;
|
|
154
73
|
/** @internal */
|
|
155
74
|
export declare const Errors$inboundSchema: z.ZodType<Errors, z.ZodTypeDef, unknown>;
|
|
156
|
-
/** @internal */
|
|
157
|
-
export type Errors$Outbound = components.RelationshipResourceNotFound$Outbound | components.BadRequestError$Outbound;
|
|
158
|
-
/** @internal */
|
|
159
|
-
export declare const Errors$outboundSchema: z.ZodType<Errors$Outbound, z.ZodTypeDef, Errors>;
|
|
160
|
-
/**
|
|
161
|
-
* @internal
|
|
162
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
163
|
-
*/
|
|
164
|
-
export declare namespace Errors$ {
|
|
165
|
-
/** @deprecated use `Errors$inboundSchema` instead. */
|
|
166
|
-
const inboundSchema: z.ZodType<Errors, z.ZodTypeDef, unknown>;
|
|
167
|
-
/** @deprecated use `Errors$outboundSchema` instead. */
|
|
168
|
-
const outboundSchema: z.ZodType<Errors$Outbound, z.ZodTypeDef, Errors>;
|
|
169
|
-
/** @deprecated use `Errors$Outbound` instead. */
|
|
170
|
-
type Outbound = Errors$Outbound;
|
|
171
|
-
}
|
|
172
|
-
export declare function errorsToJSON(errors: Errors): string;
|
|
173
75
|
export declare function errorsFromJSON(jsonString: string): SafeParseResult<Errors, SDKValidationError>;
|
|
174
76
|
/** @internal */
|
|
175
77
|
export declare const SupportingDocumentsCreateSupportingDocumentsResponseBody$inboundSchema: z.ZodType<SupportingDocumentsCreateSupportingDocumentsResponseBody, z.ZodTypeDef, unknown>;
|
|
176
|
-
/** @internal */
|
|
177
|
-
export type SupportingDocumentsCreateSupportingDocumentsResponseBody$Outbound = {
|
|
178
|
-
errors: Array<components.RelationshipResourceNotFound$Outbound | components.BadRequestError$Outbound>;
|
|
179
|
-
};
|
|
180
|
-
/** @internal */
|
|
181
|
-
export declare const SupportingDocumentsCreateSupportingDocumentsResponseBody$outboundSchema: z.ZodType<SupportingDocumentsCreateSupportingDocumentsResponseBody$Outbound, z.ZodTypeDef, SupportingDocumentsCreateSupportingDocumentsResponseBody>;
|
|
182
|
-
/**
|
|
183
|
-
* @internal
|
|
184
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
185
|
-
*/
|
|
186
|
-
export declare namespace SupportingDocumentsCreateSupportingDocumentsResponseBody$ {
|
|
187
|
-
/** @deprecated use `SupportingDocumentsCreateSupportingDocumentsResponseBody$inboundSchema` instead. */
|
|
188
|
-
const inboundSchema: z.ZodType<SupportingDocumentsCreateSupportingDocumentsResponseBody, z.ZodTypeDef, unknown>;
|
|
189
|
-
/** @deprecated use `SupportingDocumentsCreateSupportingDocumentsResponseBody$outboundSchema` instead. */
|
|
190
|
-
const outboundSchema: z.ZodType<SupportingDocumentsCreateSupportingDocumentsResponseBody$Outbound, z.ZodTypeDef, SupportingDocumentsCreateSupportingDocumentsResponseBody>;
|
|
191
|
-
/** @deprecated use `SupportingDocumentsCreateSupportingDocumentsResponseBody$Outbound` instead. */
|
|
192
|
-
type Outbound = SupportingDocumentsCreateSupportingDocumentsResponseBody$Outbound;
|
|
193
|
-
}
|
|
194
|
-
export declare function supportingDocumentsCreateSupportingDocumentsResponseBodyToJSON(supportingDocumentsCreateSupportingDocumentsResponseBody: SupportingDocumentsCreateSupportingDocumentsResponseBody): string;
|
|
195
78
|
export declare function supportingDocumentsCreateSupportingDocumentsResponseBodyFromJSON(jsonString: string): SafeParseResult<SupportingDocumentsCreateSupportingDocumentsResponseBody, SDKValidationError>;
|
|
196
79
|
/** @internal */
|
|
197
80
|
export declare const SupportingDocumentsCreateResponseBody$inboundSchema: z.ZodType<SupportingDocumentsCreateResponseBody, z.ZodTypeDef, unknown>;
|
|
198
|
-
/** @internal */
|
|
199
|
-
export type SupportingDocumentsCreateResponseBody$Outbound = {
|
|
200
|
-
data: components.CreateSupportingDocumentsResponse$Outbound;
|
|
201
|
-
};
|
|
202
|
-
/** @internal */
|
|
203
|
-
export declare const SupportingDocumentsCreateResponseBody$outboundSchema: z.ZodType<SupportingDocumentsCreateResponseBody$Outbound, z.ZodTypeDef, SupportingDocumentsCreateResponseBody>;
|
|
204
|
-
/**
|
|
205
|
-
* @internal
|
|
206
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
207
|
-
*/
|
|
208
|
-
export declare namespace SupportingDocumentsCreateResponseBody$ {
|
|
209
|
-
/** @deprecated use `SupportingDocumentsCreateResponseBody$inboundSchema` instead. */
|
|
210
|
-
const inboundSchema: z.ZodType<SupportingDocumentsCreateResponseBody, z.ZodTypeDef, unknown>;
|
|
211
|
-
/** @deprecated use `SupportingDocumentsCreateResponseBody$outboundSchema` instead. */
|
|
212
|
-
const outboundSchema: z.ZodType<SupportingDocumentsCreateResponseBody$Outbound, z.ZodTypeDef, SupportingDocumentsCreateResponseBody>;
|
|
213
|
-
/** @deprecated use `SupportingDocumentsCreateResponseBody$Outbound` instead. */
|
|
214
|
-
type Outbound = SupportingDocumentsCreateResponseBody$Outbound;
|
|
215
|
-
}
|
|
216
|
-
export declare function supportingDocumentsCreateResponseBodyToJSON(supportingDocumentsCreateResponseBody: SupportingDocumentsCreateResponseBody): string;
|
|
217
81
|
export declare function supportingDocumentsCreateResponseBodyFromJSON(jsonString: string): SafeParseResult<SupportingDocumentsCreateResponseBody, SDKValidationError>;
|
|
218
82
|
/** @internal */
|
|
219
83
|
export declare const SupportingDocumentsCreateResponse$inboundSchema: z.ZodType<SupportingDocumentsCreateResponse, z.ZodTypeDef, unknown>;
|
|
220
|
-
/** @internal */
|
|
221
|
-
export type SupportingDocumentsCreateResponse$Outbound = SupportingDocumentsCreateResponseBody$Outbound | SupportingDocumentsCreateSupportingDocumentsResponseBody$Outbound | One$Outbound | Two$Outbound;
|
|
222
|
-
/** @internal */
|
|
223
|
-
export declare const SupportingDocumentsCreateResponse$outboundSchema: z.ZodType<SupportingDocumentsCreateResponse$Outbound, z.ZodTypeDef, SupportingDocumentsCreateResponse>;
|
|
224
|
-
/**
|
|
225
|
-
* @internal
|
|
226
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
227
|
-
*/
|
|
228
|
-
export declare namespace SupportingDocumentsCreateResponse$ {
|
|
229
|
-
/** @deprecated use `SupportingDocumentsCreateResponse$inboundSchema` instead. */
|
|
230
|
-
const inboundSchema: z.ZodType<SupportingDocumentsCreateResponse, z.ZodTypeDef, unknown>;
|
|
231
|
-
/** @deprecated use `SupportingDocumentsCreateResponse$outboundSchema` instead. */
|
|
232
|
-
const outboundSchema: z.ZodType<SupportingDocumentsCreateResponse$Outbound, z.ZodTypeDef, SupportingDocumentsCreateResponse>;
|
|
233
|
-
/** @deprecated use `SupportingDocumentsCreateResponse$Outbound` instead. */
|
|
234
|
-
type Outbound = SupportingDocumentsCreateResponse$Outbound;
|
|
235
|
-
}
|
|
236
|
-
export declare function supportingDocumentsCreateResponseToJSON(supportingDocumentsCreateResponse: SupportingDocumentsCreateResponse): string;
|
|
237
84
|
export declare function supportingDocumentsCreateResponseFromJSON(jsonString: string): SafeParseResult<SupportingDocumentsCreateResponse, SDKValidationError>;
|
|
238
85
|
//# sourceMappingURL=supportingdocumentscreate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"supportingdocumentscreate.d.ts","sourceRoot":"","sources":["../../src/models/operations/supportingdocumentscreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,oCAAoC,GAAG;IACjD,IAAI,EAAE,UAAU,CAAC,0BAA0B,CAAC;CAC7C,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;OAEG;IACH,QAAQ,EAAE,UAAU,CAAC,cAAc,CAAC;IACpC;;OAEG;IACH,WAAW,EAAE,oCAAoC,CAAC;CACnD,CAAC;AAEF,MAAM,MAAM,GAAG,GAAG;IAChB,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAAC;CACxD,CAAC;AAEF,MAAM,MAAM,GAAG,GAAG;IAChB,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;CAC5C,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,gEAAgE,GACxE,GAAG,GACH,GAAG,CAAC;AAER,MAAM,MAAM,MAAM,GACd,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"supportingdocumentscreate.d.ts","sourceRoot":"","sources":["../../src/models/operations/supportingdocumentscreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,oCAAoC,GAAG;IACjD,IAAI,EAAE,UAAU,CAAC,0BAA0B,CAAC;CAC7C,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;OAEG;IACH,QAAQ,EAAE,UAAU,CAAC,cAAc,CAAC;IACpC;;OAEG;IACH,WAAW,EAAE,oCAAoC,CAAC;CACnD,CAAC;AAEF,MAAM,MAAM,GAAG,GAAG;IAChB,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAAC;CACxD,CAAC;AAEF,MAAM,MAAM,GAAG,GAAG;IAChB,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;CAC5C,CAAC;AAEF;;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AA6C,CAC3D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qCAAqC,EAAE,kBAAkB,CAAC,CAO5E;AAED,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,wBAAgB,yCAAyC,CACvD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iCAAiC,EAAE,kBAAkB,CAAC,CAMxE"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Available scopes for the OAuth 2.0 scheme (clientCredentials flow).
|
|
7
|
+
*/
|
|
8
|
+
export type ClientCredentialsOAuth2Scope =
|
|
9
|
+
/**
|
|
10
|
+
* Read access to applications
|
|
11
|
+
*/
|
|
12
|
+
| "applications:read"
|
|
13
|
+
/**
|
|
14
|
+
* Write access to applications
|
|
15
|
+
*/
|
|
16
|
+
| "applications:write";
|
package/src/lib/config.ts
CHANGED
|
@@ -58,8 +58,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
58
58
|
export const SDK_METADATA = {
|
|
59
59
|
language: "typescript",
|
|
60
60
|
openapiDocVersion: "0.4.0",
|
|
61
|
-
sdkVersion: "0.
|
|
62
|
-
genVersion: "2.
|
|
61
|
+
sdkVersion: "0.13.0",
|
|
62
|
+
genVersion: "2.768.0",
|
|
63
63
|
userAgent:
|
|
64
|
-
"speakeasy-sdk/typescript 0.
|
|
64
|
+
"speakeasy-sdk/typescript 0.13.0 2.768.0 0.4.0 @financeable/aggregation",
|
|
65
65
|
} as const;
|
package/src/lib/encodings.ts
CHANGED
|
@@ -102,8 +102,9 @@ export function encodeLabel(
|
|
|
102
102
|
});
|
|
103
103
|
encValue = mapped?.join("").slice(1);
|
|
104
104
|
} else {
|
|
105
|
-
const k =
|
|
106
|
-
|
|
105
|
+
const k = options?.explode && isPlainObject(value)
|
|
106
|
+
? `${encodeString(pk)}=`
|
|
107
|
+
: "";
|
|
107
108
|
encValue = `${k}${encodeValue(pv)}`;
|
|
108
109
|
}
|
|
109
110
|
|
|
@@ -426,6 +427,7 @@ export function queryJoin(...args: (string | undefined)[]): string {
|
|
|
426
427
|
type QueryEncoderOptions = {
|
|
427
428
|
explode?: boolean;
|
|
428
429
|
charEncoding?: "percent" | "none";
|
|
430
|
+
allowEmptyValue?: string[];
|
|
429
431
|
};
|
|
430
432
|
|
|
431
433
|
type QueryEncoder = (
|
|
@@ -440,7 +442,7 @@ type BulkQueryEncoder = (
|
|
|
440
442
|
) => string;
|
|
441
443
|
|
|
442
444
|
export function queryEncoder(f: QueryEncoder): BulkQueryEncoder {
|
|
443
|
-
const bulkEncode = function
|
|
445
|
+
const bulkEncode = function(
|
|
444
446
|
values: Record<string, unknown>,
|
|
445
447
|
options?: QueryEncoderOptions,
|
|
446
448
|
): string {
|
|
@@ -450,7 +452,19 @@ export function queryEncoder(f: QueryEncoder): BulkQueryEncoder {
|
|
|
450
452
|
charEncoding: options?.charEncoding ?? "percent",
|
|
451
453
|
};
|
|
452
454
|
|
|
455
|
+
const allowEmptySet = new Set(options?.allowEmptyValue ?? []);
|
|
456
|
+
|
|
453
457
|
const encoded = Object.entries(values).map(([key, value]) => {
|
|
458
|
+
if (allowEmptySet.has(key)) {
|
|
459
|
+
if (
|
|
460
|
+
value === undefined
|
|
461
|
+
|| value === null
|
|
462
|
+
|| value === ""
|
|
463
|
+
|| (Array.isArray(value) && value.length === 0)
|
|
464
|
+
) {
|
|
465
|
+
return `${encodeURIComponent(key)}=`;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
454
468
|
return f(key, value, opts);
|
|
455
469
|
});
|
|
456
470
|
return queryJoin(...encoded);
|
|
@@ -41,22 +41,10 @@ export type AddressAttributes = {
|
|
|
41
41
|
/** @internal */
|
|
42
42
|
export const Status$inboundSchema: z.ZodNativeEnum<typeof Status> = z
|
|
43
43
|
.nativeEnum(Status);
|
|
44
|
-
|
|
45
44
|
/** @internal */
|
|
46
45
|
export const Status$outboundSchema: z.ZodNativeEnum<typeof Status> =
|
|
47
46
|
Status$inboundSchema;
|
|
48
47
|
|
|
49
|
-
/**
|
|
50
|
-
* @internal
|
|
51
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
52
|
-
*/
|
|
53
|
-
export namespace Status$ {
|
|
54
|
-
/** @deprecated use `Status$inboundSchema` instead. */
|
|
55
|
-
export const inboundSchema = Status$inboundSchema;
|
|
56
|
-
/** @deprecated use `Status$outboundSchema` instead. */
|
|
57
|
-
export const outboundSchema = Status$outboundSchema;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
48
|
/** @internal */
|
|
61
49
|
export const AddressAttributes$inboundSchema: z.ZodType<
|
|
62
50
|
AddressAttributes,
|
|
@@ -80,7 +68,6 @@ export const AddressAttributes$inboundSchema: z.ZodType<
|
|
|
80
68
|
monthsAt: z.number().int().optional(),
|
|
81
69
|
yearsAt: z.number().int().optional(),
|
|
82
70
|
});
|
|
83
|
-
|
|
84
71
|
/** @internal */
|
|
85
72
|
export type AddressAttributes$Outbound = {
|
|
86
73
|
id?: string | undefined;
|
|
@@ -125,19 +112,6 @@ export const AddressAttributes$outboundSchema: z.ZodType<
|
|
|
125
112
|
yearsAt: z.number().int().optional(),
|
|
126
113
|
});
|
|
127
114
|
|
|
128
|
-
/**
|
|
129
|
-
* @internal
|
|
130
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
131
|
-
*/
|
|
132
|
-
export namespace AddressAttributes$ {
|
|
133
|
-
/** @deprecated use `AddressAttributes$inboundSchema` instead. */
|
|
134
|
-
export const inboundSchema = AddressAttributes$inboundSchema;
|
|
135
|
-
/** @deprecated use `AddressAttributes$outboundSchema` instead. */
|
|
136
|
-
export const outboundSchema = AddressAttributes$outboundSchema;
|
|
137
|
-
/** @deprecated use `AddressAttributes$Outbound` instead. */
|
|
138
|
-
export type Outbound = AddressAttributes$Outbound;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
115
|
export function addressAttributesToJSON(
|
|
142
116
|
addressAttributes: AddressAttributes,
|
|
143
117
|
): string {
|
|
@@ -145,7 +119,6 @@ export function addressAttributesToJSON(
|
|
|
145
119
|
AddressAttributes$outboundSchema.parse(addressAttributes),
|
|
146
120
|
);
|
|
147
121
|
}
|
|
148
|
-
|
|
149
122
|
export function addressAttributesFromJSON(
|
|
150
123
|
jsonString: string,
|
|
151
124
|
): SafeParseResult<AddressAttributes, SDKValidationError> {
|
|
@@ -23,37 +23,6 @@ export const APIErrorLinks$inboundSchema: z.ZodType<
|
|
|
23
23
|
about: z.string().optional(),
|
|
24
24
|
});
|
|
25
25
|
|
|
26
|
-
/** @internal */
|
|
27
|
-
export type APIErrorLinks$Outbound = {
|
|
28
|
-
about?: string | undefined;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
/** @internal */
|
|
32
|
-
export const APIErrorLinks$outboundSchema: z.ZodType<
|
|
33
|
-
APIErrorLinks$Outbound,
|
|
34
|
-
z.ZodTypeDef,
|
|
35
|
-
APIErrorLinks
|
|
36
|
-
> = z.object({
|
|
37
|
-
about: z.string().optional(),
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
43
|
-
*/
|
|
44
|
-
export namespace APIErrorLinks$ {
|
|
45
|
-
/** @deprecated use `APIErrorLinks$inboundSchema` instead. */
|
|
46
|
-
export const inboundSchema = APIErrorLinks$inboundSchema;
|
|
47
|
-
/** @deprecated use `APIErrorLinks$outboundSchema` instead. */
|
|
48
|
-
export const outboundSchema = APIErrorLinks$outboundSchema;
|
|
49
|
-
/** @deprecated use `APIErrorLinks$Outbound` instead. */
|
|
50
|
-
export type Outbound = APIErrorLinks$Outbound;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export function apiErrorLinksToJSON(apiErrorLinks: APIErrorLinks): string {
|
|
54
|
-
return JSON.stringify(APIErrorLinks$outboundSchema.parse(apiErrorLinks));
|
|
55
|
-
}
|
|
56
|
-
|
|
57
26
|
export function apiErrorLinksFromJSON(
|
|
58
27
|
jsonString: string,
|
|
59
28
|
): SafeParseResult<APIErrorLinks, SDKValidationError> {
|
|
@@ -9,26 +9,18 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
9
9
|
import {
|
|
10
10
|
BusinessApplicationResource,
|
|
11
11
|
BusinessApplicationResource$inboundSchema,
|
|
12
|
-
BusinessApplicationResource$Outbound,
|
|
13
|
-
BusinessApplicationResource$outboundSchema,
|
|
14
12
|
} from "./businessapplicationresource.js";
|
|
15
13
|
import {
|
|
16
14
|
CommercialSecuredApplicationResource,
|
|
17
15
|
CommercialSecuredApplicationResource$inboundSchema,
|
|
18
|
-
CommercialSecuredApplicationResource$Outbound,
|
|
19
|
-
CommercialSecuredApplicationResource$outboundSchema,
|
|
20
16
|
} from "./commercialsecuredapplicationresource.js";
|
|
21
17
|
import {
|
|
22
18
|
ConsumerSecuredApplicationResource,
|
|
23
19
|
ConsumerSecuredApplicationResource$inboundSchema,
|
|
24
|
-
ConsumerSecuredApplicationResource$Outbound,
|
|
25
|
-
ConsumerSecuredApplicationResource$outboundSchema,
|
|
26
20
|
} from "./consumersecuredapplicationresource.js";
|
|
27
21
|
import {
|
|
28
22
|
PersonalApplicationResource,
|
|
29
23
|
PersonalApplicationResource$inboundSchema,
|
|
30
|
-
PersonalApplicationResource$Outbound,
|
|
31
|
-
PersonalApplicationResource$outboundSchema,
|
|
32
24
|
} from "./personalapplicationresource.js";
|
|
33
25
|
|
|
34
26
|
/**
|
|
@@ -52,46 +44,6 @@ export const ApplicationResource$inboundSchema: z.ZodType<
|
|
|
52
44
|
BusinessApplicationResource$inboundSchema,
|
|
53
45
|
]);
|
|
54
46
|
|
|
55
|
-
/** @internal */
|
|
56
|
-
export type ApplicationResource$Outbound =
|
|
57
|
-
| ConsumerSecuredApplicationResource$Outbound
|
|
58
|
-
| CommercialSecuredApplicationResource$Outbound
|
|
59
|
-
| PersonalApplicationResource$Outbound
|
|
60
|
-
| BusinessApplicationResource$Outbound;
|
|
61
|
-
|
|
62
|
-
/** @internal */
|
|
63
|
-
export const ApplicationResource$outboundSchema: z.ZodType<
|
|
64
|
-
ApplicationResource$Outbound,
|
|
65
|
-
z.ZodTypeDef,
|
|
66
|
-
ApplicationResource
|
|
67
|
-
> = z.union([
|
|
68
|
-
ConsumerSecuredApplicationResource$outboundSchema,
|
|
69
|
-
CommercialSecuredApplicationResource$outboundSchema,
|
|
70
|
-
PersonalApplicationResource$outboundSchema,
|
|
71
|
-
BusinessApplicationResource$outboundSchema,
|
|
72
|
-
]);
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
77
|
-
*/
|
|
78
|
-
export namespace ApplicationResource$ {
|
|
79
|
-
/** @deprecated use `ApplicationResource$inboundSchema` instead. */
|
|
80
|
-
export const inboundSchema = ApplicationResource$inboundSchema;
|
|
81
|
-
/** @deprecated use `ApplicationResource$outboundSchema` instead. */
|
|
82
|
-
export const outboundSchema = ApplicationResource$outboundSchema;
|
|
83
|
-
/** @deprecated use `ApplicationResource$Outbound` instead. */
|
|
84
|
-
export type Outbound = ApplicationResource$Outbound;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export function applicationResourceToJSON(
|
|
88
|
-
applicationResource: ApplicationResource,
|
|
89
|
-
): string {
|
|
90
|
-
return JSON.stringify(
|
|
91
|
-
ApplicationResource$outboundSchema.parse(applicationResource),
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
47
|
export function applicationResourceFromJSON(
|
|
96
48
|
jsonString: string,
|
|
97
49
|
): SafeParseResult<ApplicationResource, SDKValidationError> {
|