@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
|
@@ -90,40 +90,10 @@ export const State$inboundSchema: z.ZodNativeEnum<typeof State> = z.nativeEnum(
|
|
|
90
90
|
State,
|
|
91
91
|
);
|
|
92
92
|
|
|
93
|
-
/** @internal */
|
|
94
|
-
export const State$outboundSchema: z.ZodNativeEnum<typeof State> =
|
|
95
|
-
State$inboundSchema;
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* @internal
|
|
99
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
100
|
-
*/
|
|
101
|
-
export namespace State$ {
|
|
102
|
-
/** @deprecated use `State$inboundSchema` instead. */
|
|
103
|
-
export const inboundSchema = State$inboundSchema;
|
|
104
|
-
/** @deprecated use `State$outboundSchema` instead. */
|
|
105
|
-
export const outboundSchema = State$outboundSchema;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
93
|
/** @internal */
|
|
109
94
|
export const AbnStatus$inboundSchema: z.ZodNativeEnum<typeof AbnStatus> = z
|
|
110
95
|
.nativeEnum(AbnStatus);
|
|
111
96
|
|
|
112
|
-
/** @internal */
|
|
113
|
-
export const AbnStatus$outboundSchema: z.ZodNativeEnum<typeof AbnStatus> =
|
|
114
|
-
AbnStatus$inboundSchema;
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* @internal
|
|
118
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
119
|
-
*/
|
|
120
|
-
export namespace AbnStatus$ {
|
|
121
|
-
/** @deprecated use `AbnStatus$inboundSchema` instead. */
|
|
122
|
-
export const inboundSchema = AbnStatus$inboundSchema;
|
|
123
|
-
/** @deprecated use `AbnStatus$outboundSchema` instead. */
|
|
124
|
-
export const outboundSchema = AbnStatus$outboundSchema;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
97
|
/** @internal */
|
|
128
98
|
export const EntityAttributes$inboundSchema: z.ZodType<
|
|
129
99
|
EntityAttributes,
|
|
@@ -148,71 +118,6 @@ export const EntityAttributes$inboundSchema: z.ZodType<
|
|
|
148
118
|
phoneNumbers: z.array(z.string()).optional(),
|
|
149
119
|
});
|
|
150
120
|
|
|
151
|
-
/** @internal */
|
|
152
|
-
export type EntityAttributes$Outbound = {
|
|
153
|
-
id?: string | undefined;
|
|
154
|
-
businessNames?: Array<string> | undefined;
|
|
155
|
-
entityName?: string | undefined;
|
|
156
|
-
abn?: string | undefined;
|
|
157
|
-
acn?: string | undefined;
|
|
158
|
-
state?: string | undefined;
|
|
159
|
-
entityType?: string | undefined;
|
|
160
|
-
gst?: string | undefined;
|
|
161
|
-
abnStatus?: string | undefined;
|
|
162
|
-
abnStatusEffectiveFrom?: string | undefined;
|
|
163
|
-
timeInBusiness?: number | undefined;
|
|
164
|
-
turnover?: number | undefined;
|
|
165
|
-
industryType?: string | undefined;
|
|
166
|
-
ppsr?: string | undefined;
|
|
167
|
-
emails?: Array<string> | undefined;
|
|
168
|
-
phoneNumbers?: Array<string> | undefined;
|
|
169
|
-
};
|
|
170
|
-
|
|
171
|
-
/** @internal */
|
|
172
|
-
export const EntityAttributes$outboundSchema: z.ZodType<
|
|
173
|
-
EntityAttributes$Outbound,
|
|
174
|
-
z.ZodTypeDef,
|
|
175
|
-
EntityAttributes
|
|
176
|
-
> = z.object({
|
|
177
|
-
id: z.string().optional(),
|
|
178
|
-
businessNames: z.array(z.string()).optional(),
|
|
179
|
-
entityName: z.string().optional(),
|
|
180
|
-
abn: z.string().optional(),
|
|
181
|
-
acn: z.string().optional(),
|
|
182
|
-
state: State$outboundSchema.optional(),
|
|
183
|
-
entityType: z.string().optional(),
|
|
184
|
-
gst: z.string().optional(),
|
|
185
|
-
abnStatus: AbnStatus$outboundSchema.optional(),
|
|
186
|
-
abnStatusEffectiveFrom: z.string().optional(),
|
|
187
|
-
timeInBusiness: z.number().int().optional(),
|
|
188
|
-
turnover: z.number().int().optional(),
|
|
189
|
-
industryType: z.string().optional(),
|
|
190
|
-
ppsr: z.string().optional(),
|
|
191
|
-
emails: z.array(z.string()).optional(),
|
|
192
|
-
phoneNumbers: z.array(z.string()).optional(),
|
|
193
|
-
});
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* @internal
|
|
197
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
198
|
-
*/
|
|
199
|
-
export namespace EntityAttributes$ {
|
|
200
|
-
/** @deprecated use `EntityAttributes$inboundSchema` instead. */
|
|
201
|
-
export const inboundSchema = EntityAttributes$inboundSchema;
|
|
202
|
-
/** @deprecated use `EntityAttributes$outboundSchema` instead. */
|
|
203
|
-
export const outboundSchema = EntityAttributes$outboundSchema;
|
|
204
|
-
/** @deprecated use `EntityAttributes$Outbound` instead. */
|
|
205
|
-
export type Outbound = EntityAttributes$Outbound;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
export function entityAttributesToJSON(
|
|
209
|
-
entityAttributes: EntityAttributes,
|
|
210
|
-
): string {
|
|
211
|
-
return JSON.stringify(
|
|
212
|
-
EntityAttributes$outboundSchema.parse(entityAttributes),
|
|
213
|
-
);
|
|
214
|
-
}
|
|
215
|
-
|
|
216
121
|
export function entityAttributesFromJSON(
|
|
217
122
|
jsonString: string,
|
|
218
123
|
): SafeParseResult<EntityAttributes, SDKValidationError> {
|
|
@@ -3,9 +3,6 @@
|
|
|
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 EntityAttributesInput = {
|
|
11
8
|
id?: string | undefined;
|
|
@@ -17,21 +14,6 @@ export type EntityAttributesInput = {
|
|
|
17
14
|
phoneNumbers?: Array<string> | undefined;
|
|
18
15
|
};
|
|
19
16
|
|
|
20
|
-
/** @internal */
|
|
21
|
-
export const EntityAttributesInput$inboundSchema: z.ZodType<
|
|
22
|
-
EntityAttributesInput,
|
|
23
|
-
z.ZodTypeDef,
|
|
24
|
-
unknown
|
|
25
|
-
> = z.object({
|
|
26
|
-
id: z.string().optional(),
|
|
27
|
-
entityName: z.string().optional(),
|
|
28
|
-
abn: z.string().optional(),
|
|
29
|
-
turnover: z.number().int().optional(),
|
|
30
|
-
industryType: z.string().optional(),
|
|
31
|
-
emails: z.array(z.string()).optional(),
|
|
32
|
-
phoneNumbers: z.array(z.string()).optional(),
|
|
33
|
-
});
|
|
34
|
-
|
|
35
17
|
/** @internal */
|
|
36
18
|
export type EntityAttributesInput$Outbound = {
|
|
37
19
|
id?: string | undefined;
|
|
@@ -58,19 +40,6 @@ export const EntityAttributesInput$outboundSchema: z.ZodType<
|
|
|
58
40
|
phoneNumbers: z.array(z.string()).optional(),
|
|
59
41
|
});
|
|
60
42
|
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
64
|
-
*/
|
|
65
|
-
export namespace EntityAttributesInput$ {
|
|
66
|
-
/** @deprecated use `EntityAttributesInput$inboundSchema` instead. */
|
|
67
|
-
export const inboundSchema = EntityAttributesInput$inboundSchema;
|
|
68
|
-
/** @deprecated use `EntityAttributesInput$outboundSchema` instead. */
|
|
69
|
-
export const outboundSchema = EntityAttributesInput$outboundSchema;
|
|
70
|
-
/** @deprecated use `EntityAttributesInput$Outbound` instead. */
|
|
71
|
-
export type Outbound = EntityAttributesInput$Outbound;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
43
|
export function entityAttributesInputToJSON(
|
|
75
44
|
entityAttributesInput: EntityAttributesInput,
|
|
76
45
|
): string {
|
|
@@ -78,13 +47,3 @@ export function entityAttributesInputToJSON(
|
|
|
78
47
|
EntityAttributesInput$outboundSchema.parse(entityAttributesInput),
|
|
79
48
|
);
|
|
80
49
|
}
|
|
81
|
-
|
|
82
|
-
export function entityAttributesInputFromJSON(
|
|
83
|
-
jsonString: string,
|
|
84
|
-
): SafeParseResult<EntityAttributesInput, SDKValidationError> {
|
|
85
|
-
return safeParse(
|
|
86
|
-
jsonString,
|
|
87
|
-
(x) => EntityAttributesInput$inboundSchema.parse(JSON.parse(x)),
|
|
88
|
-
`Failed to parse 'EntityAttributesInput' from JSON`,
|
|
89
|
-
);
|
|
90
|
-
}
|
|
@@ -33,41 +33,6 @@ export const ErrorSource$inboundSchema: z.ZodType<
|
|
|
33
33
|
header: z.string().optional(),
|
|
34
34
|
});
|
|
35
35
|
|
|
36
|
-
/** @internal */
|
|
37
|
-
export type ErrorSource$Outbound = {
|
|
38
|
-
pointer?: string | undefined;
|
|
39
|
-
parameter?: string | undefined;
|
|
40
|
-
header?: string | undefined;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
/** @internal */
|
|
44
|
-
export const ErrorSource$outboundSchema: z.ZodType<
|
|
45
|
-
ErrorSource$Outbound,
|
|
46
|
-
z.ZodTypeDef,
|
|
47
|
-
ErrorSource
|
|
48
|
-
> = z.object({
|
|
49
|
-
pointer: z.string().optional(),
|
|
50
|
-
parameter: z.string().optional(),
|
|
51
|
-
header: z.string().optional(),
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
57
|
-
*/
|
|
58
|
-
export namespace ErrorSource$ {
|
|
59
|
-
/** @deprecated use `ErrorSource$inboundSchema` instead. */
|
|
60
|
-
export const inboundSchema = ErrorSource$inboundSchema;
|
|
61
|
-
/** @deprecated use `ErrorSource$outboundSchema` instead. */
|
|
62
|
-
export const outboundSchema = ErrorSource$outboundSchema;
|
|
63
|
-
/** @deprecated use `ErrorSource$Outbound` instead. */
|
|
64
|
-
export type Outbound = ErrorSource$Outbound;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export function errorSourceToJSON(errorSource: ErrorSource): string {
|
|
68
|
-
return JSON.stringify(ErrorSource$outboundSchema.parse(errorSource));
|
|
69
|
-
}
|
|
70
|
-
|
|
71
36
|
export function errorSourceFromJSON(
|
|
72
37
|
jsonString: string,
|
|
73
38
|
): SafeParseResult<ErrorSource, SDKValidationError> {
|
|
@@ -3,22 +3,13 @@
|
|
|
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
|
import {
|
|
10
7
|
ExpenseFrequency,
|
|
11
|
-
ExpenseFrequency$inboundSchema,
|
|
12
8
|
ExpenseFrequency$outboundSchema,
|
|
13
9
|
} from "./expensefrequency.js";
|
|
14
|
-
import {
|
|
15
|
-
ExpenseType,
|
|
16
|
-
ExpenseType$inboundSchema,
|
|
17
|
-
ExpenseType$outboundSchema,
|
|
18
|
-
} from "./expensetype.js";
|
|
10
|
+
import { ExpenseType, ExpenseType$outboundSchema } from "./expensetype.js";
|
|
19
11
|
import {
|
|
20
12
|
MonetaryQuantity,
|
|
21
|
-
MonetaryQuantity$inboundSchema,
|
|
22
13
|
MonetaryQuantity$Outbound,
|
|
23
14
|
MonetaryQuantity$outboundSchema,
|
|
24
15
|
} from "./monetaryquantity.js";
|
|
@@ -30,18 +21,6 @@ export type ExpenseAttributes = {
|
|
|
30
21
|
amount?: MonetaryQuantity | undefined;
|
|
31
22
|
};
|
|
32
23
|
|
|
33
|
-
/** @internal */
|
|
34
|
-
export const ExpenseAttributes$inboundSchema: z.ZodType<
|
|
35
|
-
ExpenseAttributes,
|
|
36
|
-
z.ZodTypeDef,
|
|
37
|
-
unknown
|
|
38
|
-
> = z.object({
|
|
39
|
-
id: z.string().optional(),
|
|
40
|
-
expenseType: ExpenseType$inboundSchema.optional(),
|
|
41
|
-
frequency: ExpenseFrequency$inboundSchema.optional(),
|
|
42
|
-
amount: MonetaryQuantity$inboundSchema.optional(),
|
|
43
|
-
});
|
|
44
|
-
|
|
45
24
|
/** @internal */
|
|
46
25
|
export type ExpenseAttributes$Outbound = {
|
|
47
26
|
id?: string | undefined;
|
|
@@ -62,19 +41,6 @@ export const ExpenseAttributes$outboundSchema: z.ZodType<
|
|
|
62
41
|
amount: MonetaryQuantity$outboundSchema.optional(),
|
|
63
42
|
});
|
|
64
43
|
|
|
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 ExpenseAttributes$ {
|
|
70
|
-
/** @deprecated use `ExpenseAttributes$inboundSchema` instead. */
|
|
71
|
-
export const inboundSchema = ExpenseAttributes$inboundSchema;
|
|
72
|
-
/** @deprecated use `ExpenseAttributes$outboundSchema` instead. */
|
|
73
|
-
export const outboundSchema = ExpenseAttributes$outboundSchema;
|
|
74
|
-
/** @deprecated use `ExpenseAttributes$Outbound` instead. */
|
|
75
|
-
export type Outbound = ExpenseAttributes$Outbound;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
44
|
export function expenseAttributesToJSON(
|
|
79
45
|
expenseAttributes: ExpenseAttributes,
|
|
80
46
|
): string {
|
|
@@ -82,13 +48,3 @@ export function expenseAttributesToJSON(
|
|
|
82
48
|
ExpenseAttributes$outboundSchema.parse(expenseAttributes),
|
|
83
49
|
);
|
|
84
50
|
}
|
|
85
|
-
|
|
86
|
-
export function expenseAttributesFromJSON(
|
|
87
|
-
jsonString: string,
|
|
88
|
-
): SafeParseResult<ExpenseAttributes, SDKValidationError> {
|
|
89
|
-
return safeParse(
|
|
90
|
-
jsonString,
|
|
91
|
-
(x) => ExpenseAttributes$inboundSchema.parse(JSON.parse(x)),
|
|
92
|
-
`Failed to parse 'ExpenseAttributes' from JSON`,
|
|
93
|
-
);
|
|
94
|
-
}
|
|
@@ -12,23 +12,7 @@ export const ExpenseFrequency = {
|
|
|
12
12
|
} as const;
|
|
13
13
|
export type ExpenseFrequency = ClosedEnum<typeof ExpenseFrequency>;
|
|
14
14
|
|
|
15
|
-
/** @internal */
|
|
16
|
-
export const ExpenseFrequency$inboundSchema: z.ZodNativeEnum<
|
|
17
|
-
typeof ExpenseFrequency
|
|
18
|
-
> = z.nativeEnum(ExpenseFrequency);
|
|
19
|
-
|
|
20
15
|
/** @internal */
|
|
21
16
|
export const ExpenseFrequency$outboundSchema: z.ZodNativeEnum<
|
|
22
17
|
typeof ExpenseFrequency
|
|
23
|
-
> = ExpenseFrequency
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* @internal
|
|
27
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
28
|
-
*/
|
|
29
|
-
export namespace ExpenseFrequency$ {
|
|
30
|
-
/** @deprecated use `ExpenseFrequency$inboundSchema` instead. */
|
|
31
|
-
export const inboundSchema = ExpenseFrequency$inboundSchema;
|
|
32
|
-
/** @deprecated use `ExpenseFrequency$outboundSchema` instead. */
|
|
33
|
-
export const outboundSchema = ExpenseFrequency$outboundSchema;
|
|
34
|
-
}
|
|
18
|
+
> = z.nativeEnum(ExpenseFrequency);
|
|
@@ -29,20 +29,5 @@ export const ExpenseType = {
|
|
|
29
29
|
export type ExpenseType = ClosedEnum<typeof ExpenseType>;
|
|
30
30
|
|
|
31
31
|
/** @internal */
|
|
32
|
-
export const ExpenseType$
|
|
32
|
+
export const ExpenseType$outboundSchema: z.ZodNativeEnum<typeof ExpenseType> = z
|
|
33
33
|
.nativeEnum(ExpenseType);
|
|
34
|
-
|
|
35
|
-
/** @internal */
|
|
36
|
-
export const ExpenseType$outboundSchema: z.ZodNativeEnum<typeof ExpenseType> =
|
|
37
|
-
ExpenseType$inboundSchema;
|
|
38
|
-
|
|
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 namespace ExpenseType$ {
|
|
44
|
-
/** @deprecated use `ExpenseType$inboundSchema` instead. */
|
|
45
|
-
export const inboundSchema = ExpenseType$inboundSchema;
|
|
46
|
-
/** @deprecated use `ExpenseType$outboundSchema` instead. */
|
|
47
|
-
export const outboundSchema = ExpenseType$outboundSchema;
|
|
48
|
-
}
|
|
@@ -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 ForbiddenErrorStatus = {
|
|
24
14
|
FourHundredAndThree: "403",
|
|
@@ -54,62 +44,16 @@ export const ForbiddenErrorStatus$inboundSchema: z.ZodNativeEnum<
|
|
|
54
44
|
typeof ForbiddenErrorStatus
|
|
55
45
|
> = z.nativeEnum(ForbiddenErrorStatus);
|
|
56
46
|
|
|
57
|
-
/** @internal */
|
|
58
|
-
export const ForbiddenErrorStatus$outboundSchema: z.ZodNativeEnum<
|
|
59
|
-
typeof ForbiddenErrorStatus
|
|
60
|
-
> = ForbiddenErrorStatus$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 ForbiddenErrorStatus$ {
|
|
67
|
-
/** @deprecated use `ForbiddenErrorStatus$inboundSchema` instead. */
|
|
68
|
-
export const inboundSchema = ForbiddenErrorStatus$inboundSchema;
|
|
69
|
-
/** @deprecated use `ForbiddenErrorStatus$outboundSchema` instead. */
|
|
70
|
-
export const outboundSchema = ForbiddenErrorStatus$outboundSchema;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
47
|
/** @internal */
|
|
74
48
|
export const Code$inboundSchema: z.ZodNativeEnum<typeof Code> = z.nativeEnum(
|
|
75
49
|
Code,
|
|
76
50
|
);
|
|
77
51
|
|
|
78
|
-
/** @internal */
|
|
79
|
-
export const Code$outboundSchema: z.ZodNativeEnum<typeof Code> =
|
|
80
|
-
Code$inboundSchema;
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
85
|
-
*/
|
|
86
|
-
export namespace Code$ {
|
|
87
|
-
/** @deprecated use `Code$inboundSchema` instead. */
|
|
88
|
-
export const inboundSchema = Code$inboundSchema;
|
|
89
|
-
/** @deprecated use `Code$outboundSchema` instead. */
|
|
90
|
-
export const outboundSchema = Code$outboundSchema;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
52
|
/** @internal */
|
|
94
53
|
export const Title$inboundSchema: z.ZodNativeEnum<typeof Title> = z.nativeEnum(
|
|
95
54
|
Title,
|
|
96
55
|
);
|
|
97
56
|
|
|
98
|
-
/** @internal */
|
|
99
|
-
export const Title$outboundSchema: z.ZodNativeEnum<typeof Title> =
|
|
100
|
-
Title$inboundSchema;
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* @internal
|
|
104
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
105
|
-
*/
|
|
106
|
-
export namespace Title$ {
|
|
107
|
-
/** @deprecated use `Title$inboundSchema` instead. */
|
|
108
|
-
export const inboundSchema = Title$inboundSchema;
|
|
109
|
-
/** @deprecated use `Title$outboundSchema` instead. */
|
|
110
|
-
export const outboundSchema = Title$outboundSchema;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
57
|
/** @internal */
|
|
114
58
|
export const ForbiddenError$inboundSchema: z.ZodType<
|
|
115
59
|
ForbiddenError,
|
|
@@ -126,51 +70,6 @@ export const ForbiddenError$inboundSchema: z.ZodType<
|
|
|
126
70
|
meta: z.record(z.any()).optional(),
|
|
127
71
|
});
|
|
128
72
|
|
|
129
|
-
/** @internal */
|
|
130
|
-
export type ForbiddenError$Outbound = {
|
|
131
|
-
id?: string | undefined;
|
|
132
|
-
links?: APIErrorLinks$Outbound | undefined;
|
|
133
|
-
status: string;
|
|
134
|
-
code: string;
|
|
135
|
-
title: string;
|
|
136
|
-
detail: string;
|
|
137
|
-
source?: ErrorSource$Outbound | undefined;
|
|
138
|
-
meta?: { [k: string]: any } | undefined;
|
|
139
|
-
};
|
|
140
|
-
|
|
141
|
-
/** @internal */
|
|
142
|
-
export const ForbiddenError$outboundSchema: z.ZodType<
|
|
143
|
-
ForbiddenError$Outbound,
|
|
144
|
-
z.ZodTypeDef,
|
|
145
|
-
ForbiddenError
|
|
146
|
-
> = z.object({
|
|
147
|
-
id: z.string().optional(),
|
|
148
|
-
links: APIErrorLinks$outboundSchema.optional(),
|
|
149
|
-
status: ForbiddenErrorStatus$outboundSchema,
|
|
150
|
-
code: Code$outboundSchema,
|
|
151
|
-
title: Title$outboundSchema,
|
|
152
|
-
detail: z.string(),
|
|
153
|
-
source: ErrorSource$outboundSchema.optional(),
|
|
154
|
-
meta: z.record(z.any()).optional(),
|
|
155
|
-
});
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* @internal
|
|
159
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
160
|
-
*/
|
|
161
|
-
export namespace ForbiddenError$ {
|
|
162
|
-
/** @deprecated use `ForbiddenError$inboundSchema` instead. */
|
|
163
|
-
export const inboundSchema = ForbiddenError$inboundSchema;
|
|
164
|
-
/** @deprecated use `ForbiddenError$outboundSchema` instead. */
|
|
165
|
-
export const outboundSchema = ForbiddenError$outboundSchema;
|
|
166
|
-
/** @deprecated use `ForbiddenError$Outbound` instead. */
|
|
167
|
-
export type Outbound = ForbiddenError$Outbound;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
export function forbiddenErrorToJSON(forbiddenError: ForbiddenError): string {
|
|
171
|
-
return JSON.stringify(ForbiddenError$outboundSchema.parse(forbiddenError));
|
|
172
|
-
}
|
|
173
|
-
|
|
174
73
|
export function forbiddenErrorFromJSON(
|
|
175
74
|
jsonString: string,
|
|
176
75
|
): SafeParseResult<ForbiddenError, SDKValidationError> {
|
|
@@ -22,19 +22,7 @@ export type FrequencyType = ClosedEnum<typeof FrequencyType>;
|
|
|
22
22
|
export const FrequencyType$inboundSchema: z.ZodNativeEnum<
|
|
23
23
|
typeof FrequencyType
|
|
24
24
|
> = z.nativeEnum(FrequencyType);
|
|
25
|
-
|
|
26
25
|
/** @internal */
|
|
27
26
|
export const FrequencyType$outboundSchema: z.ZodNativeEnum<
|
|
28
27
|
typeof FrequencyType
|
|
29
28
|
> = FrequencyType$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 FrequencyType$ {
|
|
36
|
-
/** @deprecated use `FrequencyType$inboundSchema` instead. */
|
|
37
|
-
export const inboundSchema = FrequencyType$inboundSchema;
|
|
38
|
-
/** @deprecated use `FrequencyType$outboundSchema` instead. */
|
|
39
|
-
export const outboundSchema = FrequencyType$outboundSchema;
|
|
40
|
-
}
|
|
@@ -3,22 +3,13 @@
|
|
|
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
|
import {
|
|
10
7
|
IncomeFrequency,
|
|
11
|
-
IncomeFrequency$inboundSchema,
|
|
12
8
|
IncomeFrequency$outboundSchema,
|
|
13
9
|
} from "./incomefrequency.js";
|
|
14
|
-
import {
|
|
15
|
-
IncomeType,
|
|
16
|
-
IncomeType$inboundSchema,
|
|
17
|
-
IncomeType$outboundSchema,
|
|
18
|
-
} from "./incometype.js";
|
|
10
|
+
import { IncomeType, IncomeType$outboundSchema } from "./incometype.js";
|
|
19
11
|
import {
|
|
20
12
|
MonetaryQuantity,
|
|
21
|
-
MonetaryQuantity$inboundSchema,
|
|
22
13
|
MonetaryQuantity$Outbound,
|
|
23
14
|
MonetaryQuantity$outboundSchema,
|
|
24
15
|
} from "./monetaryquantity.js";
|
|
@@ -30,18 +21,6 @@ export type IncomeAttributes = {
|
|
|
30
21
|
amount?: MonetaryQuantity | undefined;
|
|
31
22
|
};
|
|
32
23
|
|
|
33
|
-
/** @internal */
|
|
34
|
-
export const IncomeAttributes$inboundSchema: z.ZodType<
|
|
35
|
-
IncomeAttributes,
|
|
36
|
-
z.ZodTypeDef,
|
|
37
|
-
unknown
|
|
38
|
-
> = z.object({
|
|
39
|
-
id: z.string().optional(),
|
|
40
|
-
incomeType: IncomeType$inboundSchema.optional(),
|
|
41
|
-
frequency: IncomeFrequency$inboundSchema.optional(),
|
|
42
|
-
amount: MonetaryQuantity$inboundSchema.optional(),
|
|
43
|
-
});
|
|
44
|
-
|
|
45
24
|
/** @internal */
|
|
46
25
|
export type IncomeAttributes$Outbound = {
|
|
47
26
|
id?: string | undefined;
|
|
@@ -62,19 +41,6 @@ export const IncomeAttributes$outboundSchema: z.ZodType<
|
|
|
62
41
|
amount: MonetaryQuantity$outboundSchema.optional(),
|
|
63
42
|
});
|
|
64
43
|
|
|
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 IncomeAttributes$ {
|
|
70
|
-
/** @deprecated use `IncomeAttributes$inboundSchema` instead. */
|
|
71
|
-
export const inboundSchema = IncomeAttributes$inboundSchema;
|
|
72
|
-
/** @deprecated use `IncomeAttributes$outboundSchema` instead. */
|
|
73
|
-
export const outboundSchema = IncomeAttributes$outboundSchema;
|
|
74
|
-
/** @deprecated use `IncomeAttributes$Outbound` instead. */
|
|
75
|
-
export type Outbound = IncomeAttributes$Outbound;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
44
|
export function incomeAttributesToJSON(
|
|
79
45
|
incomeAttributes: IncomeAttributes,
|
|
80
46
|
): string {
|
|
@@ -82,13 +48,3 @@ export function incomeAttributesToJSON(
|
|
|
82
48
|
IncomeAttributes$outboundSchema.parse(incomeAttributes),
|
|
83
49
|
);
|
|
84
50
|
}
|
|
85
|
-
|
|
86
|
-
export function incomeAttributesFromJSON(
|
|
87
|
-
jsonString: string,
|
|
88
|
-
): SafeParseResult<IncomeAttributes, SDKValidationError> {
|
|
89
|
-
return safeParse(
|
|
90
|
-
jsonString,
|
|
91
|
-
(x) => IncomeAttributes$inboundSchema.parse(JSON.parse(x)),
|
|
92
|
-
`Failed to parse 'IncomeAttributes' from JSON`,
|
|
93
|
-
);
|
|
94
|
-
}
|
|
@@ -13,23 +13,7 @@ export const IncomeFrequency = {
|
|
|
13
13
|
} as const;
|
|
14
14
|
export type IncomeFrequency = ClosedEnum<typeof IncomeFrequency>;
|
|
15
15
|
|
|
16
|
-
/** @internal */
|
|
17
|
-
export const IncomeFrequency$inboundSchema: z.ZodNativeEnum<
|
|
18
|
-
typeof IncomeFrequency
|
|
19
|
-
> = z.nativeEnum(IncomeFrequency);
|
|
20
|
-
|
|
21
16
|
/** @internal */
|
|
22
17
|
export const IncomeFrequency$outboundSchema: z.ZodNativeEnum<
|
|
23
18
|
typeof IncomeFrequency
|
|
24
|
-
> = IncomeFrequency
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @internal
|
|
28
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
29
|
-
*/
|
|
30
|
-
export namespace IncomeFrequency$ {
|
|
31
|
-
/** @deprecated use `IncomeFrequency$inboundSchema` instead. */
|
|
32
|
-
export const inboundSchema = IncomeFrequency$inboundSchema;
|
|
33
|
-
/** @deprecated use `IncomeFrequency$outboundSchema` instead. */
|
|
34
|
-
export const outboundSchema = IncomeFrequency$outboundSchema;
|
|
35
|
-
}
|
|
19
|
+
> = z.nativeEnum(IncomeFrequency);
|
|
@@ -19,20 +19,5 @@ export const IncomeType = {
|
|
|
19
19
|
export type IncomeType = ClosedEnum<typeof IncomeType>;
|
|
20
20
|
|
|
21
21
|
/** @internal */
|
|
22
|
-
export const IncomeType$
|
|
22
|
+
export const IncomeType$outboundSchema: z.ZodNativeEnum<typeof IncomeType> = z
|
|
23
23
|
.nativeEnum(IncomeType);
|
|
24
|
-
|
|
25
|
-
/** @internal */
|
|
26
|
-
export const IncomeType$outboundSchema: z.ZodNativeEnum<typeof IncomeType> =
|
|
27
|
-
IncomeType$inboundSchema;
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* @internal
|
|
31
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
32
|
-
*/
|
|
33
|
-
export namespace IncomeType$ {
|
|
34
|
-
/** @deprecated use `IncomeType$inboundSchema` instead. */
|
|
35
|
-
export const inboundSchema = IncomeType$inboundSchema;
|
|
36
|
-
/** @deprecated use `IncomeType$outboundSchema` instead. */
|
|
37
|
-
export const outboundSchema = IncomeType$outboundSchema;
|
|
38
|
-
}
|
|
@@ -33,7 +33,6 @@ export const LinkObject$inboundSchema: z.ZodType<
|
|
|
33
33
|
type: z.string().optional(),
|
|
34
34
|
meta: z.record(z.any()).optional(),
|
|
35
35
|
});
|
|
36
|
-
|
|
37
36
|
/** @internal */
|
|
38
37
|
export type LinkObject$Outbound = {
|
|
39
38
|
href: string;
|
|
@@ -56,23 +55,9 @@ export const LinkObject$outboundSchema: z.ZodType<
|
|
|
56
55
|
meta: z.record(z.any()).optional(),
|
|
57
56
|
});
|
|
58
57
|
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
62
|
-
*/
|
|
63
|
-
export namespace LinkObject$ {
|
|
64
|
-
/** @deprecated use `LinkObject$inboundSchema` instead. */
|
|
65
|
-
export const inboundSchema = LinkObject$inboundSchema;
|
|
66
|
-
/** @deprecated use `LinkObject$outboundSchema` instead. */
|
|
67
|
-
export const outboundSchema = LinkObject$outboundSchema;
|
|
68
|
-
/** @deprecated use `LinkObject$Outbound` instead. */
|
|
69
|
-
export type Outbound = LinkObject$Outbound;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
58
|
export function linkObjectToJSON(linkObject: LinkObject): string {
|
|
73
59
|
return JSON.stringify(LinkObject$outboundSchema.parse(linkObject));
|
|
74
60
|
}
|
|
75
|
-
|
|
76
61
|
export function linkObjectFromJSON(
|
|
77
62
|
jsonString: string,
|
|
78
63
|
): SafeParseResult<LinkObject, SDKValidationError> {
|
|
@@ -17,19 +17,7 @@ export type LivingArrangements = ClosedEnum<typeof LivingArrangements>;
|
|
|
17
17
|
export const LivingArrangements$inboundSchema: z.ZodNativeEnum<
|
|
18
18
|
typeof LivingArrangements
|
|
19
19
|
> = z.nativeEnum(LivingArrangements);
|
|
20
|
-
|
|
21
20
|
/** @internal */
|
|
22
21
|
export const LivingArrangements$outboundSchema: z.ZodNativeEnum<
|
|
23
22
|
typeof LivingArrangements
|
|
24
23
|
> = LivingArrangements$inboundSchema;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @internal
|
|
28
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
29
|
-
*/
|
|
30
|
-
export namespace LivingArrangements$ {
|
|
31
|
-
/** @deprecated use `LivingArrangements$inboundSchema` instead. */
|
|
32
|
-
export const inboundSchema = LivingArrangements$inboundSchema;
|
|
33
|
-
/** @deprecated use `LivingArrangements$outboundSchema` instead. */
|
|
34
|
-
export const outboundSchema = LivingArrangements$outboundSchema;
|
|
35
|
-
}
|