@financeable/aggregation 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/encodings.d.ts +1 -0
- package/lib/encodings.d.ts.map +1 -1
- package/models/components/addressattributes.d.ts +0 -28
- package/models/components/addressattributes.d.ts.map +1 -1
- package/models/components/apierrorlinks.d.ts +0 -19
- package/models/components/apierrorlinks.d.ts.map +1 -1
- package/models/components/applicationresource.d.ts +4 -21
- package/models/components/applicationresource.d.ts.map +1 -1
- package/models/components/applicationstatus.d.ts +1 -31
- package/models/components/applicationstatus.d.ts.map +1 -1
- package/models/components/australianstatesandterritories.d.ts +0 -28
- package/models/components/australianstatesandterritories.d.ts.map +1 -1
- package/models/components/badrequesterror.d.ts +3 -85
- package/models/components/badrequesterror.d.ts.map +1 -1
- package/models/components/businessapplicationjsonapirelationships.d.ts +1 -205
- package/models/components/businessapplicationjsonapirelationships.d.ts.map +1 -1
- package/models/components/businessapplicationpayload.d.ts +0 -64
- package/models/components/businessapplicationpayload.d.ts.map +1 -1
- package/models/components/businessapplicationresource.d.ts +12 -94
- package/models/components/businessapplicationresource.d.ts.map +1 -1
- package/models/components/businessloanbusinessapplicationrelationships.d.ts +0 -308
- package/models/components/businessloanbusinessapplicationrelationships.d.ts.map +1 -1
- package/models/components/commercialapplicationjsonapirelationships.d.ts +1 -267
- package/models/components/commercialapplicationjsonapirelationships.d.ts.map +1 -1
- package/models/components/commercialsecuredapplicationpayload.d.ts +0 -78
- package/models/components/commercialsecuredapplicationpayload.d.ts.map +1 -1
- package/models/components/commercialsecuredapplicationresource.d.ts +12 -94
- package/models/components/commercialsecuredapplicationresource.d.ts.map +1 -1
- package/models/components/commercialsecuredloanassetattributes.d.ts +0 -130
- package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -1
- package/models/components/commercialsecuredloanassettype.d.ts +0 -64
- package/models/components/commercialsecuredloanassettype.d.ts.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +0 -354
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
- package/models/components/commercialsecuredloantypeofsale.d.ts +0 -24
- package/models/components/commercialsecuredloantypeofsale.d.ts.map +1 -1
- package/models/components/consumerapplicationjsonapirelationships.d.ts +1 -205
- package/models/components/consumerapplicationjsonapirelationships.d.ts.map +1 -1
- package/models/components/consumersecuredapplicationpayload.d.ts +0 -78
- package/models/components/consumersecuredapplicationpayload.d.ts.map +1 -1
- package/models/components/consumersecuredapplicationresource.d.ts +12 -94
- package/models/components/consumersecuredapplicationresource.d.ts.map +1 -1
- package/models/components/consumersecuredloanassetattributes.d.ts +0 -130
- package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -1
- package/models/components/consumersecuredloanassettype.d.ts +0 -40
- package/models/components/consumersecuredloanassettype.d.ts.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +0 -400
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -1
- package/models/components/consumersecuredloantypeofsale.d.ts +0 -24
- package/models/components/consumersecuredloantypeofsale.d.ts.map +1 -1
- package/models/components/createsupportingdocumentsresponse.d.ts +3 -78
- package/models/components/createsupportingdocumentsresponse.d.ts.map +1 -1
- package/models/components/currencycodeiso4217.d.ts +0 -14
- package/models/components/currencycodeiso4217.d.ts.map +1 -1
- package/models/components/customerassetattributes.d.ts +0 -12
- package/models/components/customerassetattributes.d.ts.map +1 -1
- package/models/components/customerassettype.d.ts +0 -28
- package/models/components/customerassettype.d.ts.map +1 -1
- package/models/components/customerattributes.d.ts +1 -33
- package/models/components/customerattributes.d.ts.map +1 -1
- package/models/components/customerattributescreateitem.d.ts +0 -17
- package/models/components/customerattributescreateitem.d.ts.map +1 -1
- package/models/components/customeridtype.d.ts +0 -18
- package/models/components/customeridtype.d.ts.map +1 -1
- package/models/components/customerliabilityattributes.d.ts +0 -12
- package/models/components/customerliabilityattributes.d.ts.map +1 -1
- package/models/components/customerliabilityrepaymentfrequency.d.ts +0 -18
- package/models/components/customerliabilityrepaymentfrequency.d.ts.map +1 -1
- package/models/components/customerliabilitytype.d.ts +0 -24
- package/models/components/customerliabilitytype.d.ts.map +1 -1
- package/models/components/customertitle.d.ts +0 -20
- package/models/components/customertitle.d.ts.map +1 -1
- package/models/components/documenttype.d.ts +0 -40
- package/models/components/documenttype.d.ts.map +1 -1
- package/models/components/entityattributes.d.ts +0 -84
- package/models/components/entityattributes.d.ts.map +1 -1
- package/models/components/entityattributesinput.d.ts +0 -17
- package/models/components/entityattributesinput.d.ts.map +1 -1
- package/models/components/errorsource.d.ts +0 -21
- package/models/components/errorsource.d.ts.map +1 -1
- package/models/components/expenseattributes.d.ts +0 -17
- package/models/components/expenseattributes.d.ts.map +1 -1
- package/models/components/expensefrequency.d.ts +0 -20
- package/models/components/expensefrequency.d.ts.map +1 -1
- package/models/components/expensetype.d.ts +0 -52
- package/models/components/expensetype.d.ts.map +1 -1
- package/models/components/forbiddenerror.d.ts +2 -78
- package/models/components/forbiddenerror.d.ts.map +1 -1
- package/models/components/frequencytype.d.ts +0 -18
- package/models/components/frequencytype.d.ts.map +1 -1
- package/models/components/incomeattributes.d.ts +0 -17
- package/models/components/incomeattributes.d.ts.map +1 -1
- package/models/components/incomefrequency.d.ts +0 -22
- package/models/components/incomefrequency.d.ts.map +1 -1
- package/models/components/incometype.d.ts +0 -32
- package/models/components/incometype.d.ts.map +1 -1
- package/models/components/linkobject.d.ts +0 -12
- package/models/components/linkobject.d.ts.map +1 -1
- package/models/components/livingarrangements.d.ts +0 -20
- package/models/components/livingarrangements.d.ts.map +1 -1
- package/models/components/loandetailsattributes.d.ts +5 -132
- package/models/components/loandetailsattributes.d.ts.map +1 -1
- package/models/components/maritalstatus.d.ts +0 -16
- package/models/components/maritalstatus.d.ts.map +1 -1
- package/models/components/monetaryquantity.d.ts +0 -26
- package/models/components/monetaryquantity.d.ts.map +1 -1
- package/models/components/paginationlinks.d.ts +0 -22
- package/models/components/paginationlinks.d.ts.map +1 -1
- package/models/components/paginationmeta.d.ts +0 -22
- package/models/components/paginationmeta.d.ts.map +1 -1
- package/models/components/percentagequantity.d.ts +0 -26
- package/models/components/percentagequantity.d.ts.map +1 -1
- package/models/components/personalapplicationjsonapirelationships.d.ts +1 -143
- package/models/components/personalapplicationjsonapirelationships.d.ts.map +1 -1
- package/models/components/personalapplicationpayload.d.ts +0 -64
- package/models/components/personalapplicationpayload.d.ts.map +1 -1
- package/models/components/personalapplicationresource.d.ts +12 -94
- package/models/components/personalapplicationresource.d.ts.map +1 -1
- package/models/components/personalloanpersonalapplicationrelationships.d.ts +0 -354
- package/models/components/personalloanpersonalapplicationrelationships.d.ts.map +1 -1
- package/models/components/relationshipresourcenotfound.d.ts +2 -78
- package/models/components/relationshipresourcenotfound.d.ts.map +1 -1
- package/models/components/repaymentstructure.d.ts +0 -18
- package/models/components/repaymentstructure.d.ts.map +1 -1
- package/models/components/residencystatus.d.ts +0 -22
- package/models/components/residencystatus.d.ts.map +1 -1
- package/models/components/resourcenotfound.d.ts +2 -78
- package/models/components/resourcenotfound.d.ts.map +1 -1
- package/models/components/security.d.ts +0 -17
- package/models/components/security.d.ts.map +1 -1
- package/models/components/supportingdocumentattributes.d.ts +0 -21
- package/models/components/supportingdocumentattributes.d.ts.map +1 -1
- package/models/components/supportingdocumentattributesinput.d.ts +0 -17
- package/models/components/supportingdocumentattributesinput.d.ts.map +1 -1
- package/models/components/supportingdocumentrelationships.d.ts +0 -190
- package/models/components/supportingdocumentrelationships.d.ts.map +1 -1
- package/models/components/supportingdocumentresource.d.ts +0 -33
- package/models/components/supportingdocumentresource.d.ts.map +1 -1
- package/models/components/tokenrequest.d.ts +0 -33
- package/models/components/tokenrequest.d.ts.map +1 -1
- package/models/components/tokenresponse.d.ts +0 -22
- package/models/components/tokenresponse.d.ts.map +1 -1
- package/models/components/uploadmimetype.d.ts +0 -28
- package/models/components/uploadmimetype.d.ts.map +1 -1
- package/models/operations/createapplication.d.ts +0 -484
- package/models/operations/createapplication.d.ts.map +1 -1
- package/models/operations/getapplication.d.ts +0 -469
- package/models/operations/getapplication.d.ts.map +1 -1
- package/models/operations/listapplications.d.ts +0 -91
- package/models/operations/listapplications.d.ts.map +1 -1
- package/models/operations/supportingdocumentscreate.d.ts +6 -159
- package/models/operations/supportingdocumentscreate.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/hooks/oauth2scopes.ts +16 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +17 -3
- package/src/models/components/addressattributes.ts +0 -27
- package/src/models/components/apierrorlinks.ts +0 -31
- package/src/models/components/applicationresource.ts +0 -48
- package/src/models/components/applicationstatus.ts +1 -17
- package/src/models/components/australianstatesandterritories.ts +0 -12
- package/src/models/components/badrequesterror.ts +4 -119
- package/src/models/components/businessapplicationjsonapirelationships.ts +1 -395
- package/src/models/components/businessapplicationpayload.ts +2 -114
- package/src/models/components/businessapplicationresource.ts +14 -156
- package/src/models/components/businessloanbusinessapplicationrelationships.ts +6 -776
- package/src/models/components/commercialapplicationjsonapirelationships.ts +1 -497
- package/src/models/components/commercialsecuredapplicationpayload.ts +2 -112
- package/src/models/components/commercialsecuredapplicationresource.ts +14 -164
- package/src/models/components/commercialsecuredloanassetattributes.ts +0 -131
- package/src/models/components/commercialsecuredloanassettype.ts +0 -12
- package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +7 -790
- package/src/models/components/commercialsecuredloantypeofsale.ts +0 -12
- package/src/models/components/consumerapplicationjsonapirelationships.ts +1 -390
- package/src/models/components/consumersecuredapplicationpayload.ts +2 -127
- package/src/models/components/consumersecuredapplicationresource.ts +14 -163
- package/src/models/components/consumersecuredloanassetattributes.ts +0 -149
- package/src/models/components/consumersecuredloanassettype.ts +0 -12
- package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +8 -977
- package/src/models/components/consumersecuredloantypeofsale.ts +0 -12
- package/src/models/components/createsupportingdocumentsresponse.ts +1 -107
- package/src/models/components/currencycodeiso4217.ts +0 -12
- package/src/models/components/customerassetattributes.ts +0 -15
- package/src/models/components/customerassettype.ts +0 -12
- package/src/models/components/customerattributes.ts +2 -75
- package/src/models/components/customerattributescreateitem.ts +0 -59
- package/src/models/components/customeridtype.ts +1 -17
- package/src/models/components/customerliabilityattributes.ts +0 -15
- package/src/models/components/customerliabilityrepaymentfrequency.ts +0 -14
- package/src/models/components/customerliabilitytype.ts +0 -12
- package/src/models/components/customertitle.ts +0 -12
- package/src/models/components/documenttype.ts +0 -12
- package/src/models/components/entityattributes.ts +0 -95
- package/src/models/components/entityattributesinput.ts +0 -41
- package/src/models/components/errorsource.ts +0 -35
- package/src/models/components/expenseattributes.ts +1 -45
- package/src/models/components/expensefrequency.ts +1 -17
- package/src/models/components/expensetype.ts +1 -16
- package/src/models/components/forbiddenerror.ts +2 -103
- package/src/models/components/frequencytype.ts +0 -12
- package/src/models/components/incomeattributes.ts +1 -45
- package/src/models/components/incomefrequency.ts +1 -17
- package/src/models/components/incometype.ts +1 -16
- package/src/models/components/linkobject.ts +0 -15
- package/src/models/components/livingarrangements.ts +0 -12
- package/src/models/components/loandetailsattributes.ts +7 -165
- package/src/models/components/maritalstatus.ts +0 -12
- package/src/models/components/monetaryquantity.ts +0 -27
- package/src/models/components/paginationlinks.ts +0 -39
- package/src/models/components/paginationmeta.ts +0 -43
- package/src/models/components/percentagequantity.ts +0 -27
- package/src/models/components/personalapplicationjsonapirelationships.ts +1 -277
- package/src/models/components/personalapplicationpayload.ts +2 -114
- package/src/models/components/personalapplicationresource.ts +14 -156
- package/src/models/components/personalloanpersonalapplicationrelationships.ts +7 -892
- package/src/models/components/relationshipresourcenotfound.ts +2 -113
- package/src/models/components/repaymentstructure.ts +0 -12
- package/src/models/components/residencystatus.ts +0 -12
- package/src/models/components/resourcenotfound.ts +2 -109
- package/src/models/components/security.ts +0 -35
- package/src/models/components/supportingdocumentattributes.ts +1 -46
- package/src/models/components/supportingdocumentattributesinput.ts +1 -42
- package/src/models/components/supportingdocumentrelationships.ts +0 -230
- package/src/models/components/supportingdocumentresource.ts +1 -59
- package/src/models/components/tokenrequest.ts +1 -60
- package/src/models/components/tokenresponse.ts +0 -43
- package/src/models/components/uploadmimetype.ts +1 -17
- package/src/models/operations/createapplication.ts +0 -779
- package/src/models/operations/getapplication.ts +0 -759
- package/src/models/operations/listapplications.ts +0 -199
- package/src/models/operations/supportingdocumentscreate.ts +10 -340
- package/src/types/enums.ts +38 -9
- package/src/types/index.ts +2 -2
- package/src/types/unrecognized.ts +35 -0
- package/tsconfig.json +0 -1
- package/types/enums.d.ts +8 -11
- package/types/enums.d.ts.map +1 -1
- package/types/index.d.ts +2 -2
- package/types/index.d.ts.map +1 -1
- package/.devcontainer/README.md +0 -35
- package/core.js +0 -17
- package/core.js.map +0 -1
- package/docs/sdks/applications/README.md +0 -527
- package/docs/sdks/oauthtoken/README.md +0 -87
- package/docs/sdks/supportingdocuments/README.md +0 -115
- package/examples/README.md +0 -31
- package/hooks/hooks.js +0 -84
- package/hooks/hooks.js.map +0 -1
- package/hooks/index.js +0 -22
- package/hooks/index.js.map +0 -1
- package/hooks/types.js +0 -6
- package/hooks/types.js.map +0 -1
- package/index.js +0 -48
- package/index.js.map +0 -1
- package/lib/base64.js +0 -71
- package/lib/base64.js.map +0 -1
- package/lib/config.d.ts +0 -38
- package/lib/config.d.ts.map +0 -1
- package/lib/config.js +0 -35
- package/lib/config.js.map +0 -1
- package/lib/dlv.d.ts +0 -14
- package/lib/dlv.d.ts.map +0 -1
- package/lib/dlv.js +0 -49
- package/lib/dlv.js.map +0 -1
- package/lib/encodings.js +0 -368
- package/lib/encodings.js.map +0 -1
- package/lib/env.js +0 -82
- package/lib/env.js.map +0 -1
- package/lib/files.d.ts +0 -13
- package/lib/files.d.ts.map +0 -1
- package/lib/files.js +0 -77
- package/lib/files.js.map +0 -1
- package/lib/http.d.ts +0 -67
- package/lib/http.d.ts.map +0 -1
- package/lib/http.js +0 -217
- package/lib/http.js.map +0 -1
- package/lib/is-plain-object.d.ts +0 -2
- package/lib/is-plain-object.d.ts.map +0 -1
- package/lib/is-plain-object.js +0 -41
- package/lib/is-plain-object.js.map +0 -1
- package/lib/logger.d.ts +0 -6
- package/lib/logger.d.ts.map +0 -1
- package/lib/logger.js +0 -6
- package/lib/logger.js.map +0 -1
- package/lib/matchers.js +0 -218
- package/lib/matchers.js.map +0 -1
- package/lib/primitives.d.ts +0 -26
- package/lib/primitives.d.ts.map +0 -1
- package/lib/primitives.js +0 -111
- package/lib/primitives.js.map +0 -1
- package/lib/retries.d.ts +0 -38
- package/lib/retries.d.ts.map +0 -1
- package/lib/retries.js +0 -153
- package/lib/retries.js.map +0 -1
- package/lib/schemas.js +0 -62
- package/lib/schemas.js.map +0 -1
- package/lib/sdks.js +0 -274
- package/lib/sdks.js.map +0 -1
- package/lib/security.js +0 -145
- package/lib/security.js.map +0 -1
- package/lib/url.d.ts +0 -5
- package/lib/url.d.ts.map +0 -1
- package/lib/url.js +0 -25
- package/lib/url.js.map +0 -1
- package/models/components/addressattributes.js +0 -120
- package/models/components/addressattributes.js.map +0 -1
- package/models/components/apierrorlinks.js +0 -69
- package/models/components/apierrorlinks.js.map +0 -1
- package/models/components/applicationresource.js +0 -79
- package/models/components/applicationresource.js.map +0 -1
- package/models/components/applicationstatus.js +0 -66
- package/models/components/applicationstatus.js.map +0 -1
- package/models/components/australianstatesandterritories.js +0 -66
- package/models/components/australianstatesandterritories.js.map +0 -1
- package/models/components/badrequesterror.js +0 -139
- package/models/components/badrequesterror.js.map +0 -1
- package/models/components/businessapplicationjsonapirelationships.js +0 -309
- package/models/components/businessapplicationjsonapirelationships.js.map +0 -1
- package/models/components/businessapplicationpayload.js +0 -150
- package/models/components/businessapplicationpayload.js.map +0 -1
- package/models/components/businessapplicationresource.js +0 -159
- package/models/components/businessapplicationresource.js.map +0 -1
- package/models/components/businessloanbusinessapplicationrelationships.js +0 -597
- package/models/components/businessloanbusinessapplicationrelationships.js.map +0 -1
- package/models/components/commercialapplicationjsonapirelationships.js +0 -391
- package/models/components/commercialapplicationjsonapirelationships.js.map +0 -1
- package/models/components/commercialsecuredapplicationpayload.js +0 -159
- package/models/components/commercialsecuredapplicationpayload.js.map +0 -1
- package/models/components/commercialsecuredapplicationresource.js +0 -159
- package/models/components/commercialsecuredapplicationresource.js.map +0 -1
- package/models/components/commercialsecuredloanassetattributes.js +0 -322
- package/models/components/commercialsecuredloanassetattributes.js.map +0 -1
- package/models/components/commercialsecuredloanassettype.js +0 -84
- package/models/components/commercialsecuredloanassettype.js.map +0 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js +0 -682
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +0 -1
- package/models/components/commercialsecuredloantypeofsale.js +0 -64
- package/models/components/commercialsecuredloantypeofsale.js.map +0 -1
- package/models/components/consumerapplicationjsonapirelationships.js +0 -310
- package/models/components/consumerapplicationjsonapirelationships.js.map +0 -1
- package/models/components/consumersecuredapplicationpayload.js +0 -160
- package/models/components/consumersecuredapplicationpayload.js.map +0 -1
- package/models/components/consumersecuredapplicationresource.js +0 -159
- package/models/components/consumersecuredapplicationresource.js.map +0 -1
- package/models/components/consumersecuredloanassetattributes.js +0 -324
- package/models/components/consumersecuredloanassetattributes.js.map +0 -1
- package/models/components/consumersecuredloanassettype.js +0 -72
- package/models/components/consumersecuredloanassettype.js.map +0 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js +0 -775
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +0 -1
- package/models/components/consumersecuredloantypeofsale.js +0 -64
- package/models/components/consumersecuredloantypeofsale.js.map +0 -1
- package/models/components/createsupportingdocumentsresponse.js +0 -138
- package/models/components/createsupportingdocumentsresponse.js.map +0 -1
- package/models/components/currencycodeiso4217.js +0 -59
- package/models/components/currencycodeiso4217.js.map +0 -1
- package/models/components/customerassetattributes.js +0 -77
- package/models/components/customerassetattributes.js.map +0 -1
- package/models/components/customerassettype.js +0 -66
- package/models/components/customerassettype.js.map +0 -1
- package/models/components/customerattributes.js +0 -100
- package/models/components/customerattributes.js.map +0 -1
- package/models/components/customerattributescreateitem.js +0 -110
- package/models/components/customerattributescreateitem.js.map +0 -1
- package/models/components/customeridtype.js +0 -60
- package/models/components/customeridtype.js.map +0 -1
- package/models/components/customerliabilityattributes.js +0 -88
- package/models/components/customerliabilityattributes.js.map +0 -1
- package/models/components/customerliabilityrepaymentfrequency.js +0 -61
- package/models/components/customerliabilityrepaymentfrequency.js.map +0 -1
- package/models/components/customerliabilitytype.js +0 -64
- package/models/components/customerliabilitytype.js.map +0 -1
- package/models/components/customertitle.js +0 -62
- package/models/components/customertitle.js.map +0 -1
- package/models/components/documenttype.js +0 -75
- package/models/components/documenttype.js.map +0 -1
- package/models/components/entityattributes.js +0 -151
- package/models/components/entityattributes.js.map +0 -1
- package/models/components/entityattributesinput.js +0 -81
- package/models/components/entityattributesinput.js.map +0 -1
- package/models/components/errorsource.js +0 -73
- package/models/components/errorsource.js.map +0 -1
- package/models/components/expenseattributes.js +0 -78
- package/models/components/expenseattributes.js.map +0 -1
- package/models/components/expensefrequency.js +0 -61
- package/models/components/expensefrequency.js.map +0 -1
- package/models/components/expensetype.js +0 -78
- package/models/components/expensetype.js.map +0 -1
- package/models/components/forbiddenerror.js +0 -139
- package/models/components/forbiddenerror.js.map +0 -1
- package/models/components/frequencytype.js +0 -64
- package/models/components/frequencytype.js.map +0 -1
- package/models/components/incomeattributes.js +0 -78
- package/models/components/incomeattributes.js.map +0 -1
- package/models/components/incomefrequency.js +0 -62
- package/models/components/incomefrequency.js.map +0 -1
- package/models/components/incometype.js +0 -68
- package/models/components/incometype.js.map +0 -1
- package/models/components/index.js +0 -91
- package/models/components/index.js.map +0 -1
- package/models/components/linkobject.js +0 -77
- package/models/components/linkobject.js.map +0 -1
- package/models/components/livingarrangements.js +0 -62
- package/models/components/livingarrangements.js.map +0 -1
- package/models/components/loandetailsattributes.js +0 -375
- package/models/components/loandetailsattributes.js.map +0 -1
- package/models/components/maritalstatus.js +0 -60
- package/models/components/maritalstatus.js.map +0 -1
- package/models/components/monetaryquantity.js +0 -93
- package/models/components/monetaryquantity.js.map +0 -1
- package/models/components/paginationlinks.js +0 -75
- package/models/components/paginationlinks.js.map +0 -1
- package/models/components/paginationmeta.js +0 -88
- package/models/components/paginationmeta.js.map +0 -1
- package/models/components/percentagequantity.js +0 -89
- package/models/components/percentagequantity.js.map +0 -1
- package/models/components/personalapplicationjsonapirelationships.js +0 -229
- package/models/components/personalapplicationjsonapirelationships.js.map +0 -1
- package/models/components/personalapplicationpayload.js +0 -150
- package/models/components/personalapplicationpayload.js.map +0 -1
- package/models/components/personalapplicationresource.js +0 -159
- package/models/components/personalapplicationresource.js.map +0 -1
- package/models/components/personalloanpersonalapplicationrelationships.js +0 -682
- package/models/components/personalloanpersonalapplicationrelationships.js.map +0 -1
- package/models/components/relationshipresourcenotfound.js +0 -139
- package/models/components/relationshipresourcenotfound.js.map +0 -1
- package/models/components/repaymentstructure.js +0 -64
- package/models/components/repaymentstructure.js.map +0 -1
- package/models/components/residencystatus.js +0 -63
- package/models/components/residencystatus.js.map +0 -1
- package/models/components/resourcenotfound.js +0 -139
- package/models/components/resourcenotfound.js.map +0 -1
- package/models/components/security.js +0 -69
- package/models/components/security.js.map +0 -1
- package/models/components/supportingdocumentattributes.js +0 -74
- package/models/components/supportingdocumentattributes.js.map +0 -1
- package/models/components/supportingdocumentattributesinput.js +0 -72
- package/models/components/supportingdocumentattributesinput.js.map +0 -1
- package/models/components/supportingdocumentrelationships.js +0 -434
- package/models/components/supportingdocumentrelationships.js.map +0 -1
- package/models/components/supportingdocumentresource.js +0 -98
- package/models/components/supportingdocumentresource.js.map +0 -1
- package/models/components/tokenrequest.js +0 -110
- package/models/components/tokenrequest.js.map +0 -1
- package/models/components/tokenresponse.js +0 -88
- package/models/components/tokenresponse.js.map +0 -1
- package/models/components/uploadmimetype.js +0 -68
- package/models/components/uploadmimetype.js.map +0 -1
- package/models/errors/apierror.d.ts +0 -10
- package/models/errors/apierror.d.ts.map +0 -1
- package/models/errors/apierror.js +0 -34
- package/models/errors/apierror.js.map +0 -1
- package/models/errors/financeableerror.d.ts +0 -19
- package/models/errors/financeableerror.d.ts.map +0 -1
- package/models/errors/financeableerror.js +0 -20
- package/models/errors/financeableerror.js.map +0 -1
- package/models/errors/httpclienterrors.d.ts +0 -44
- package/models/errors/httpclienterrors.d.ts.map +0 -1
- package/models/errors/httpclienterrors.js +0 -78
- package/models/errors/httpclienterrors.js.map +0 -1
- package/models/errors/index.js +0 -25
- package/models/errors/index.js.map +0 -1
- package/models/errors/responsevalidationerror.js +0 -66
- package/models/errors/responsevalidationerror.js.map +0 -1
- package/models/errors/sdkvalidationerror.js +0 -129
- package/models/errors/sdkvalidationerror.js.map +0 -1
- package/models/operations/createapplication.js +0 -747
- package/models/operations/createapplication.js.map +0 -1
- package/models/operations/getapplication.js +0 -697
- package/models/operations/getapplication.js.map +0 -1
- package/models/operations/index.js +0 -24
- package/models/operations/index.js.map +0 -1
- package/models/operations/listapplications.js +0 -199
- package/models/operations/listapplications.js.map +0 -1
- package/models/operations/supportingdocumentscreate.js +0 -320
- package/models/operations/supportingdocumentscreate.js.map +0 -1
- package/sdk/index.js +0 -21
- package/sdk/index.js.map +0 -1
- package/sdk/sdk.js +0 -23
- package/sdk/sdk.js.map +0 -1
- package/types/async.d.ts +0 -23
- package/types/async.d.ts.map +0 -1
- package/types/async.js +0 -44
- package/types/async.js.map +0 -1
- package/types/blobs.js +0 -62
- package/types/blobs.js.map +0 -1
- package/types/constdatetime.js +0 -46
- package/types/constdatetime.js.map +0 -1
- package/types/enums.js +0 -10
- package/types/enums.js.map +0 -1
- package/types/fp.d.ts +0 -31
- package/types/fp.d.ts.map +0 -1
- package/types/fp.js +0 -37
- package/types/fp.js.map +0 -1
- package/types/index.js +0 -16
- package/types/index.js.map +0 -1
- package/types/operations.d.ts +0 -27
- package/types/operations.d.ts.map +0 -1
- package/types/operations.js +0 -83
- package/types/operations.js.map +0 -1
- package/types/rfcdate.d.ts +0 -21
- package/types/rfcdate.d.ts.map +0 -1
- package/types/rfcdate.js +0 -46
- package/types/rfcdate.js.map +0 -1
- package/types/streams.d.ts +0 -2
- package/types/streams.d.ts.map +0 -1
- package/types/streams.js +0 -18
- package/types/streams.js.map +0 -1
|
@@ -3,19 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
6
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
7
|
import {
|
|
11
8
|
BusinessLoanBusinessApplicationRelationships,
|
|
12
|
-
BusinessLoanBusinessApplicationRelationships$inboundSchema,
|
|
13
9
|
BusinessLoanBusinessApplicationRelationships$Outbound,
|
|
14
10
|
BusinessLoanBusinessApplicationRelationships$outboundSchema,
|
|
15
11
|
} from "./businessloanbusinessapplicationrelationships.js";
|
|
16
12
|
import {
|
|
17
13
|
LinkObject,
|
|
18
|
-
LinkObject$inboundSchema,
|
|
19
14
|
LinkObject$Outbound,
|
|
20
15
|
LinkObject$outboundSchema,
|
|
21
16
|
} from "./linkobject.js";
|
|
@@ -65,60 +60,16 @@ export type BusinessApplicationPayload = {
|
|
|
65
60
|
meta?: { [k: string]: any } | undefined;
|
|
66
61
|
};
|
|
67
62
|
|
|
68
|
-
/** @internal */
|
|
69
|
-
export const BusinessApplicationPayloadType$inboundSchema: z.ZodNativeEnum<
|
|
70
|
-
typeof BusinessApplicationPayloadType
|
|
71
|
-
> = z.nativeEnum(BusinessApplicationPayloadType);
|
|
72
|
-
|
|
73
63
|
/** @internal */
|
|
74
64
|
export const BusinessApplicationPayloadType$outboundSchema: z.ZodNativeEnum<
|
|
75
65
|
typeof BusinessApplicationPayloadType
|
|
76
|
-
> = BusinessApplicationPayloadType
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* @internal
|
|
80
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
81
|
-
*/
|
|
82
|
-
export namespace BusinessApplicationPayloadType$ {
|
|
83
|
-
/** @deprecated use `BusinessApplicationPayloadType$inboundSchema` instead. */
|
|
84
|
-
export const inboundSchema = BusinessApplicationPayloadType$inboundSchema;
|
|
85
|
-
/** @deprecated use `BusinessApplicationPayloadType$outboundSchema` instead. */
|
|
86
|
-
export const outboundSchema = BusinessApplicationPayloadType$outboundSchema;
|
|
87
|
-
}
|
|
66
|
+
> = z.nativeEnum(BusinessApplicationPayloadType);
|
|
88
67
|
|
|
89
68
|
/** @internal */
|
|
90
|
-
export const BusinessApplicationPayloadApplicationType$
|
|
69
|
+
export const BusinessApplicationPayloadApplicationType$outboundSchema:
|
|
91
70
|
z.ZodNativeEnum<typeof BusinessApplicationPayloadApplicationType> = z
|
|
92
71
|
.nativeEnum(BusinessApplicationPayloadApplicationType);
|
|
93
72
|
|
|
94
|
-
/** @internal */
|
|
95
|
-
export const BusinessApplicationPayloadApplicationType$outboundSchema:
|
|
96
|
-
z.ZodNativeEnum<typeof BusinessApplicationPayloadApplicationType> =
|
|
97
|
-
BusinessApplicationPayloadApplicationType$inboundSchema;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
102
|
-
*/
|
|
103
|
-
export namespace BusinessApplicationPayloadApplicationType$ {
|
|
104
|
-
/** @deprecated use `BusinessApplicationPayloadApplicationType$inboundSchema` instead. */
|
|
105
|
-
export const inboundSchema =
|
|
106
|
-
BusinessApplicationPayloadApplicationType$inboundSchema;
|
|
107
|
-
/** @deprecated use `BusinessApplicationPayloadApplicationType$outboundSchema` instead. */
|
|
108
|
-
export const outboundSchema =
|
|
109
|
-
BusinessApplicationPayloadApplicationType$outboundSchema;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/** @internal */
|
|
113
|
-
export const BusinessApplicationPayloadAttributes$inboundSchema: z.ZodType<
|
|
114
|
-
BusinessApplicationPayloadAttributes,
|
|
115
|
-
z.ZodTypeDef,
|
|
116
|
-
unknown
|
|
117
|
-
> = z.object({
|
|
118
|
-
applicationType: BusinessApplicationPayloadApplicationType$inboundSchema,
|
|
119
|
-
associatedBrokerEmail: z.string(),
|
|
120
|
-
});
|
|
121
|
-
|
|
122
73
|
/** @internal */
|
|
123
74
|
export type BusinessApplicationPayloadAttributes$Outbound = {
|
|
124
75
|
applicationType: string;
|
|
@@ -135,21 +86,6 @@ export const BusinessApplicationPayloadAttributes$outboundSchema: z.ZodType<
|
|
|
135
86
|
associatedBrokerEmail: z.string(),
|
|
136
87
|
});
|
|
137
88
|
|
|
138
|
-
/**
|
|
139
|
-
* @internal
|
|
140
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
141
|
-
*/
|
|
142
|
-
export namespace BusinessApplicationPayloadAttributes$ {
|
|
143
|
-
/** @deprecated use `BusinessApplicationPayloadAttributes$inboundSchema` instead. */
|
|
144
|
-
export const inboundSchema =
|
|
145
|
-
BusinessApplicationPayloadAttributes$inboundSchema;
|
|
146
|
-
/** @deprecated use `BusinessApplicationPayloadAttributes$outboundSchema` instead. */
|
|
147
|
-
export const outboundSchema =
|
|
148
|
-
BusinessApplicationPayloadAttributes$outboundSchema;
|
|
149
|
-
/** @deprecated use `BusinessApplicationPayloadAttributes$Outbound` instead. */
|
|
150
|
-
export type Outbound = BusinessApplicationPayloadAttributes$Outbound;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
89
|
export function businessApplicationPayloadAttributesToJSON(
|
|
154
90
|
businessApplicationPayloadAttributes: BusinessApplicationPayloadAttributes,
|
|
155
91
|
): string {
|
|
@@ -160,31 +96,6 @@ export function businessApplicationPayloadAttributesToJSON(
|
|
|
160
96
|
);
|
|
161
97
|
}
|
|
162
98
|
|
|
163
|
-
export function businessApplicationPayloadAttributesFromJSON(
|
|
164
|
-
jsonString: string,
|
|
165
|
-
): SafeParseResult<BusinessApplicationPayloadAttributes, SDKValidationError> {
|
|
166
|
-
return safeParse(
|
|
167
|
-
jsonString,
|
|
168
|
-
(x) =>
|
|
169
|
-
BusinessApplicationPayloadAttributes$inboundSchema.parse(JSON.parse(x)),
|
|
170
|
-
`Failed to parse 'BusinessApplicationPayloadAttributes' from JSON`,
|
|
171
|
-
);
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/** @internal */
|
|
175
|
-
export const BusinessApplicationPayload$inboundSchema: z.ZodType<
|
|
176
|
-
BusinessApplicationPayload,
|
|
177
|
-
z.ZodTypeDef,
|
|
178
|
-
unknown
|
|
179
|
-
> = z.object({
|
|
180
|
-
type: BusinessApplicationPayloadType$inboundSchema,
|
|
181
|
-
attributes: z.lazy(() => BusinessApplicationPayloadAttributes$inboundSchema),
|
|
182
|
-
relationships: BusinessLoanBusinessApplicationRelationships$inboundSchema
|
|
183
|
-
.optional(),
|
|
184
|
-
links: z.record(LinkObject$inboundSchema).optional(),
|
|
185
|
-
meta: z.record(z.any()).optional(),
|
|
186
|
-
});
|
|
187
|
-
|
|
188
99
|
/** @internal */
|
|
189
100
|
export type BusinessApplicationPayload$Outbound = {
|
|
190
101
|
type: string;
|
|
@@ -210,19 +121,6 @@ export const BusinessApplicationPayload$outboundSchema: z.ZodType<
|
|
|
210
121
|
meta: z.record(z.any()).optional(),
|
|
211
122
|
});
|
|
212
123
|
|
|
213
|
-
/**
|
|
214
|
-
* @internal
|
|
215
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
216
|
-
*/
|
|
217
|
-
export namespace BusinessApplicationPayload$ {
|
|
218
|
-
/** @deprecated use `BusinessApplicationPayload$inboundSchema` instead. */
|
|
219
|
-
export const inboundSchema = BusinessApplicationPayload$inboundSchema;
|
|
220
|
-
/** @deprecated use `BusinessApplicationPayload$outboundSchema` instead. */
|
|
221
|
-
export const outboundSchema = BusinessApplicationPayload$outboundSchema;
|
|
222
|
-
/** @deprecated use `BusinessApplicationPayload$Outbound` instead. */
|
|
223
|
-
export type Outbound = BusinessApplicationPayload$Outbound;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
124
|
export function businessApplicationPayloadToJSON(
|
|
227
125
|
businessApplicationPayload: BusinessApplicationPayload,
|
|
228
126
|
): string {
|
|
@@ -230,13 +128,3 @@ export function businessApplicationPayloadToJSON(
|
|
|
230
128
|
BusinessApplicationPayload$outboundSchema.parse(businessApplicationPayload),
|
|
231
129
|
);
|
|
232
130
|
}
|
|
233
|
-
|
|
234
|
-
export function businessApplicationPayloadFromJSON(
|
|
235
|
-
jsonString: string,
|
|
236
|
-
): SafeParseResult<BusinessApplicationPayload, SDKValidationError> {
|
|
237
|
-
return safeParse(
|
|
238
|
-
jsonString,
|
|
239
|
-
(x) => BusinessApplicationPayload$inboundSchema.parse(JSON.parse(x)),
|
|
240
|
-
`Failed to parse 'BusinessApplicationPayload' from JSON`,
|
|
241
|
-
);
|
|
242
|
-
}
|
|
@@ -10,27 +10,12 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
10
10
|
import {
|
|
11
11
|
ApplicationStatus,
|
|
12
12
|
ApplicationStatus$inboundSchema,
|
|
13
|
-
ApplicationStatus$outboundSchema,
|
|
14
13
|
} from "./applicationstatus.js";
|
|
15
14
|
import {
|
|
16
15
|
BusinessApplicationJsonApiRelationships,
|
|
17
16
|
BusinessApplicationJsonApiRelationships$inboundSchema,
|
|
18
|
-
BusinessApplicationJsonApiRelationships$Outbound,
|
|
19
|
-
BusinessApplicationJsonApiRelationships$outboundSchema,
|
|
20
17
|
} from "./businessapplicationjsonapirelationships.js";
|
|
21
|
-
import {
|
|
22
|
-
LinkObject,
|
|
23
|
-
LinkObject$inboundSchema,
|
|
24
|
-
LinkObject$Outbound,
|
|
25
|
-
LinkObject$outboundSchema,
|
|
26
|
-
} from "./linkobject.js";
|
|
27
|
-
|
|
28
|
-
export const BusinessApplicationResourceType = {
|
|
29
|
-
BusinessApplications: "business-applications",
|
|
30
|
-
} as const;
|
|
31
|
-
export type BusinessApplicationResourceType = ClosedEnum<
|
|
32
|
-
typeof BusinessApplicationResourceType
|
|
33
|
-
>;
|
|
18
|
+
import { LinkObject, LinkObject$inboundSchema } from "./linkobject.js";
|
|
34
19
|
|
|
35
20
|
/**
|
|
36
21
|
* Type of the loan application
|
|
@@ -50,7 +35,7 @@ export type BusinessApplicationResourceApplicationType = ClosedEnum<
|
|
|
50
35
|
*/
|
|
51
36
|
export type BusinessApplicationResourceAttributes = {
|
|
52
37
|
/**
|
|
53
|
-
* Full identifier of the application. Not visible within the web application.
|
|
38
|
+
* Full identifier of the application. Not visible within the web application (except via URL).
|
|
54
39
|
*/
|
|
55
40
|
id?: string | undefined;
|
|
56
41
|
/**
|
|
@@ -65,6 +50,14 @@ export type BusinessApplicationResourceAttributes = {
|
|
|
65
50
|
* Current status, must be 'workshop' for new applications
|
|
66
51
|
*/
|
|
67
52
|
status: ApplicationStatus;
|
|
53
|
+
/**
|
|
54
|
+
* If the application has settled with a lender, the date of the settlement, in DD/MM/YYYY format
|
|
55
|
+
*/
|
|
56
|
+
settlementDate?: string | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* If the application has settled with a lender, the lender's identifier of the application, distinct from Financeable's
|
|
59
|
+
*/
|
|
60
|
+
lenderApplicationReference?: string | undefined;
|
|
68
61
|
/**
|
|
69
62
|
* Creation timestamp
|
|
70
63
|
*/
|
|
@@ -79,7 +72,7 @@ export type BusinessApplicationResourceAttributes = {
|
|
|
79
72
|
* A Business Application resource following JSON:API structure
|
|
80
73
|
*/
|
|
81
74
|
export type BusinessApplicationResource = {
|
|
82
|
-
type:
|
|
75
|
+
type: "business-applications";
|
|
83
76
|
id?: string | undefined;
|
|
84
77
|
/**
|
|
85
78
|
* Application resource attributes
|
|
@@ -93,50 +86,11 @@ export type BusinessApplicationResource = {
|
|
|
93
86
|
meta?: { [k: string]: any } | undefined;
|
|
94
87
|
};
|
|
95
88
|
|
|
96
|
-
/** @internal */
|
|
97
|
-
export const BusinessApplicationResourceType$inboundSchema: z.ZodNativeEnum<
|
|
98
|
-
typeof BusinessApplicationResourceType
|
|
99
|
-
> = z.nativeEnum(BusinessApplicationResourceType);
|
|
100
|
-
|
|
101
|
-
/** @internal */
|
|
102
|
-
export const BusinessApplicationResourceType$outboundSchema: z.ZodNativeEnum<
|
|
103
|
-
typeof BusinessApplicationResourceType
|
|
104
|
-
> = BusinessApplicationResourceType$inboundSchema;
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* @internal
|
|
108
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
109
|
-
*/
|
|
110
|
-
export namespace BusinessApplicationResourceType$ {
|
|
111
|
-
/** @deprecated use `BusinessApplicationResourceType$inboundSchema` instead. */
|
|
112
|
-
export const inboundSchema = BusinessApplicationResourceType$inboundSchema;
|
|
113
|
-
/** @deprecated use `BusinessApplicationResourceType$outboundSchema` instead. */
|
|
114
|
-
export const outboundSchema = BusinessApplicationResourceType$outboundSchema;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
89
|
/** @internal */
|
|
118
90
|
export const BusinessApplicationResourceApplicationType$inboundSchema:
|
|
119
91
|
z.ZodNativeEnum<typeof BusinessApplicationResourceApplicationType> = z
|
|
120
92
|
.nativeEnum(BusinessApplicationResourceApplicationType);
|
|
121
93
|
|
|
122
|
-
/** @internal */
|
|
123
|
-
export const BusinessApplicationResourceApplicationType$outboundSchema:
|
|
124
|
-
z.ZodNativeEnum<typeof BusinessApplicationResourceApplicationType> =
|
|
125
|
-
BusinessApplicationResourceApplicationType$inboundSchema;
|
|
126
|
-
|
|
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 namespace BusinessApplicationResourceApplicationType$ {
|
|
132
|
-
/** @deprecated use `BusinessApplicationResourceApplicationType$inboundSchema` instead. */
|
|
133
|
-
export const inboundSchema =
|
|
134
|
-
BusinessApplicationResourceApplicationType$inboundSchema;
|
|
135
|
-
/** @deprecated use `BusinessApplicationResourceApplicationType$outboundSchema` instead. */
|
|
136
|
-
export const outboundSchema =
|
|
137
|
-
BusinessApplicationResourceApplicationType$outboundSchema;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
94
|
/** @internal */
|
|
141
95
|
export const BusinessApplicationResourceAttributes$inboundSchema: z.ZodType<
|
|
142
96
|
BusinessApplicationResourceAttributes,
|
|
@@ -147,59 +101,12 @@ export const BusinessApplicationResourceAttributes$inboundSchema: z.ZodType<
|
|
|
147
101
|
humanId: z.string(),
|
|
148
102
|
applicationType: BusinessApplicationResourceApplicationType$inboundSchema,
|
|
149
103
|
status: ApplicationStatus$inboundSchema,
|
|
104
|
+
settlementDate: z.string().optional(),
|
|
105
|
+
lenderApplicationReference: z.string().optional(),
|
|
150
106
|
createdAt: z.string().optional(),
|
|
151
107
|
updatedAt: z.string().optional(),
|
|
152
108
|
});
|
|
153
109
|
|
|
154
|
-
/** @internal */
|
|
155
|
-
export type BusinessApplicationResourceAttributes$Outbound = {
|
|
156
|
-
id?: string | undefined;
|
|
157
|
-
humanId: string;
|
|
158
|
-
applicationType: string;
|
|
159
|
-
status: string;
|
|
160
|
-
createdAt?: string | undefined;
|
|
161
|
-
updatedAt?: string | undefined;
|
|
162
|
-
};
|
|
163
|
-
|
|
164
|
-
/** @internal */
|
|
165
|
-
export const BusinessApplicationResourceAttributes$outboundSchema: z.ZodType<
|
|
166
|
-
BusinessApplicationResourceAttributes$Outbound,
|
|
167
|
-
z.ZodTypeDef,
|
|
168
|
-
BusinessApplicationResourceAttributes
|
|
169
|
-
> = z.object({
|
|
170
|
-
id: z.string().optional(),
|
|
171
|
-
humanId: z.string(),
|
|
172
|
-
applicationType: BusinessApplicationResourceApplicationType$outboundSchema,
|
|
173
|
-
status: ApplicationStatus$outboundSchema,
|
|
174
|
-
createdAt: z.string().optional(),
|
|
175
|
-
updatedAt: z.string().optional(),
|
|
176
|
-
});
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* @internal
|
|
180
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
181
|
-
*/
|
|
182
|
-
export namespace BusinessApplicationResourceAttributes$ {
|
|
183
|
-
/** @deprecated use `BusinessApplicationResourceAttributes$inboundSchema` instead. */
|
|
184
|
-
export const inboundSchema =
|
|
185
|
-
BusinessApplicationResourceAttributes$inboundSchema;
|
|
186
|
-
/** @deprecated use `BusinessApplicationResourceAttributes$outboundSchema` instead. */
|
|
187
|
-
export const outboundSchema =
|
|
188
|
-
BusinessApplicationResourceAttributes$outboundSchema;
|
|
189
|
-
/** @deprecated use `BusinessApplicationResourceAttributes$Outbound` instead. */
|
|
190
|
-
export type Outbound = BusinessApplicationResourceAttributes$Outbound;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
export function businessApplicationResourceAttributesToJSON(
|
|
194
|
-
businessApplicationResourceAttributes: BusinessApplicationResourceAttributes,
|
|
195
|
-
): string {
|
|
196
|
-
return JSON.stringify(
|
|
197
|
-
BusinessApplicationResourceAttributes$outboundSchema.parse(
|
|
198
|
-
businessApplicationResourceAttributes,
|
|
199
|
-
),
|
|
200
|
-
);
|
|
201
|
-
}
|
|
202
|
-
|
|
203
110
|
export function businessApplicationResourceAttributesFromJSON(
|
|
204
111
|
jsonString: string,
|
|
205
112
|
): SafeParseResult<BusinessApplicationResourceAttributes, SDKValidationError> {
|
|
@@ -217,7 +124,7 @@ export const BusinessApplicationResource$inboundSchema: z.ZodType<
|
|
|
217
124
|
z.ZodTypeDef,
|
|
218
125
|
unknown
|
|
219
126
|
> = z.object({
|
|
220
|
-
type:
|
|
127
|
+
type: z.literal("business-applications"),
|
|
221
128
|
id: z.string().optional(),
|
|
222
129
|
attributes: z.lazy(() => BusinessApplicationResourceAttributes$inboundSchema),
|
|
223
130
|
relationships: BusinessApplicationJsonApiRelationships$inboundSchema,
|
|
@@ -225,55 +132,6 @@ export const BusinessApplicationResource$inboundSchema: z.ZodType<
|
|
|
225
132
|
meta: z.record(z.any()).optional(),
|
|
226
133
|
});
|
|
227
134
|
|
|
228
|
-
/** @internal */
|
|
229
|
-
export type BusinessApplicationResource$Outbound = {
|
|
230
|
-
type: string;
|
|
231
|
-
id?: string | undefined;
|
|
232
|
-
attributes: BusinessApplicationResourceAttributes$Outbound;
|
|
233
|
-
relationships: BusinessApplicationJsonApiRelationships$Outbound;
|
|
234
|
-
links?: { [k: string]: LinkObject$Outbound } | undefined;
|
|
235
|
-
meta?: { [k: string]: any } | undefined;
|
|
236
|
-
};
|
|
237
|
-
|
|
238
|
-
/** @internal */
|
|
239
|
-
export const BusinessApplicationResource$outboundSchema: z.ZodType<
|
|
240
|
-
BusinessApplicationResource$Outbound,
|
|
241
|
-
z.ZodTypeDef,
|
|
242
|
-
BusinessApplicationResource
|
|
243
|
-
> = z.object({
|
|
244
|
-
type: BusinessApplicationResourceType$outboundSchema,
|
|
245
|
-
id: z.string().optional(),
|
|
246
|
-
attributes: z.lazy(() =>
|
|
247
|
-
BusinessApplicationResourceAttributes$outboundSchema
|
|
248
|
-
),
|
|
249
|
-
relationships: BusinessApplicationJsonApiRelationships$outboundSchema,
|
|
250
|
-
links: z.record(LinkObject$outboundSchema).optional(),
|
|
251
|
-
meta: z.record(z.any()).optional(),
|
|
252
|
-
});
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* @internal
|
|
256
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
257
|
-
*/
|
|
258
|
-
export namespace BusinessApplicationResource$ {
|
|
259
|
-
/** @deprecated use `BusinessApplicationResource$inboundSchema` instead. */
|
|
260
|
-
export const inboundSchema = BusinessApplicationResource$inboundSchema;
|
|
261
|
-
/** @deprecated use `BusinessApplicationResource$outboundSchema` instead. */
|
|
262
|
-
export const outboundSchema = BusinessApplicationResource$outboundSchema;
|
|
263
|
-
/** @deprecated use `BusinessApplicationResource$Outbound` instead. */
|
|
264
|
-
export type Outbound = BusinessApplicationResource$Outbound;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
export function businessApplicationResourceToJSON(
|
|
268
|
-
businessApplicationResource: BusinessApplicationResource,
|
|
269
|
-
): string {
|
|
270
|
-
return JSON.stringify(
|
|
271
|
-
BusinessApplicationResource$outboundSchema.parse(
|
|
272
|
-
businessApplicationResource,
|
|
273
|
-
),
|
|
274
|
-
);
|
|
275
|
-
}
|
|
276
|
-
|
|
277
135
|
export function businessApplicationResourceFromJSON(
|
|
278
136
|
jsonString: string,
|
|
279
137
|
): SafeParseResult<BusinessApplicationResource, SDKValidationError> {
|