@financeable/aggregation 0.10.1 → 0.11.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/README.md +2 -6
- package/RUNTIMES.md +6 -6
- package/examples/applicationsCreate.example.ts +1 -1
- package/examples/package-lock.json +2 -2
- package/funcs/applicationsCreate.js +1 -1
- package/funcs/applicationsCreate.js.map +1 -1
- package/funcs/oauthTokenGet.js +1 -1
- package/funcs/oauthTokenGet.js.map +1 -1
- package/funcs/supportingDocumentsCreate.js +1 -1
- package/funcs/supportingDocumentsCreate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/base64.d.ts +1 -1
- package/lib/base64.d.ts.map +1 -1
- package/lib/base64.js +1 -1
- package/lib/base64.js.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/env.d.ts +1 -1
- package/lib/env.d.ts.map +1 -1
- package/lib/env.js +19 -2
- package/lib/env.js.map +1 -1
- package/lib/schemas.d.ts +1 -1
- package/lib/schemas.d.ts.map +1 -1
- package/lib/schemas.js +2 -2
- package/lib/schemas.js.map +1 -1
- package/lib/url.js +1 -1
- package/lib/url.js.map +1 -1
- package/models/components/addressattributes.d.ts +1 -1
- package/models/components/addressattributes.d.ts.map +1 -1
- package/models/components/addressattributes.js +1 -1
- package/models/components/addressattributes.js.map +1 -1
- package/models/components/apierrorlinks.d.ts +1 -1
- package/models/components/apierrorlinks.d.ts.map +1 -1
- package/models/components/apierrorlinks.js +1 -1
- package/models/components/apierrorlinks.js.map +1 -1
- package/models/components/applicationresource.d.ts +5 -3
- package/models/components/applicationresource.d.ts.map +1 -1
- package/models/components/applicationresource.js +7 -1
- package/models/components/applicationresource.js.map +1 -1
- package/models/components/applicationstatus.d.ts +1 -1
- package/models/components/applicationstatus.d.ts.map +1 -1
- package/models/components/applicationstatus.js +1 -1
- package/models/components/applicationstatus.js.map +1 -1
- package/models/components/australianstatesandterritories.d.ts +1 -1
- package/models/components/australianstatesandterritories.d.ts.map +1 -1
- package/models/components/australianstatesandterritories.js +1 -1
- package/models/components/australianstatesandterritories.js.map +1 -1
- package/models/components/badrequesterror.d.ts +1 -1
- package/models/components/badrequesterror.d.ts.map +1 -1
- package/models/components/badrequesterror.js +1 -1
- package/models/components/badrequesterror.js.map +1 -1
- package/models/components/businessapplicationjsonapirelationships.d.ts +296 -0
- package/models/components/businessapplicationjsonapirelationships.d.ts.map +1 -0
- package/models/components/businessapplicationjsonapirelationships.js +309 -0
- package/models/components/businessapplicationjsonapirelationships.js.map +1 -0
- package/models/components/businessapplicationpayload.d.ts +137 -0
- package/models/components/businessapplicationpayload.d.ts.map +1 -0
- package/models/components/businessapplicationpayload.js +150 -0
- package/models/components/businessapplicationpayload.js.map +1 -0
- package/models/components/businessapplicationresource.d.ts +166 -0
- package/models/components/businessapplicationresource.d.ts.map +1 -0
- package/models/components/businessapplicationresource.js +159 -0
- package/models/components/businessapplicationresource.js.map +1 -0
- package/models/components/businessloanbusinessapplicationrelationships.d.ts +594 -0
- package/models/components/businessloanbusinessapplicationrelationships.d.ts.map +1 -0
- package/models/components/businessloanbusinessapplicationrelationships.js +599 -0
- package/models/components/businessloanbusinessapplicationrelationships.js.map +1 -0
- package/models/components/commercialapplicationjsonapirelationships.d.ts +1 -1
- package/models/components/commercialapplicationjsonapirelationships.d.ts.map +1 -1
- package/models/components/commercialapplicationjsonapirelationships.js +1 -1
- package/models/components/commercialapplicationjsonapirelationships.js.map +1 -1
- package/models/components/commercialsecuredapplicationpayload.d.ts +1 -1
- package/models/components/commercialsecuredapplicationpayload.d.ts.map +1 -1
- package/models/components/commercialsecuredapplicationpayload.js +1 -1
- package/models/components/commercialsecuredapplicationpayload.js.map +1 -1
- package/models/components/commercialsecuredapplicationresource.d.ts +1 -1
- package/models/components/commercialsecuredapplicationresource.d.ts.map +1 -1
- package/models/components/commercialsecuredapplicationresource.js +1 -1
- package/models/components/commercialsecuredapplicationresource.js.map +1 -1
- package/models/components/commercialsecuredloanassetattributes.d.ts +1 -1
- package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -1
- package/models/components/commercialsecuredloanassetattributes.js +1 -1
- package/models/components/commercialsecuredloanassetattributes.js.map +1 -1
- package/models/components/commercialsecuredloanassettype.d.ts +1 -1
- package/models/components/commercialsecuredloanassettype.d.ts.map +1 -1
- package/models/components/commercialsecuredloanassettype.js +1 -1
- package/models/components/commercialsecuredloanassettype.js.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -1
- package/models/components/commercialsecuredloantypeofsale.d.ts +1 -1
- package/models/components/commercialsecuredloantypeofsale.d.ts.map +1 -1
- package/models/components/commercialsecuredloantypeofsale.js +1 -1
- package/models/components/commercialsecuredloantypeofsale.js.map +1 -1
- package/models/components/consumerapplicationjsonapirelationships.d.ts +1 -1
- package/models/components/consumerapplicationjsonapirelationships.d.ts.map +1 -1
- package/models/components/consumerapplicationjsonapirelationships.js +1 -1
- package/models/components/consumerapplicationjsonapirelationships.js.map +1 -1
- package/models/components/consumersecuredapplicationpayload.d.ts +1 -1
- package/models/components/consumersecuredapplicationpayload.d.ts.map +1 -1
- package/models/components/consumersecuredapplicationpayload.js +1 -1
- package/models/components/consumersecuredapplicationpayload.js.map +1 -1
- package/models/components/consumersecuredapplicationresource.d.ts +1 -1
- package/models/components/consumersecuredapplicationresource.d.ts.map +1 -1
- package/models/components/consumersecuredapplicationresource.js +1 -1
- package/models/components/consumersecuredapplicationresource.js.map +1 -1
- package/models/components/consumersecuredloanassetattributes.d.ts +1 -1
- package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -1
- package/models/components/consumersecuredloanassetattributes.js +1 -1
- package/models/components/consumersecuredloanassetattributes.js.map +1 -1
- package/models/components/consumersecuredloanassettype.d.ts +1 -1
- package/models/components/consumersecuredloanassettype.d.ts.map +1 -1
- package/models/components/consumersecuredloanassettype.js +1 -1
- package/models/components/consumersecuredloanassettype.js.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -1
- package/models/components/consumersecuredloantypeofsale.d.ts +1 -1
- package/models/components/consumersecuredloantypeofsale.d.ts.map +1 -1
- package/models/components/consumersecuredloantypeofsale.js +1 -1
- package/models/components/consumersecuredloantypeofsale.js.map +1 -1
- package/models/components/createsupportingdocumentsresponse.d.ts +1 -1
- package/models/components/createsupportingdocumentsresponse.d.ts.map +1 -1
- package/models/components/createsupportingdocumentsresponse.js +1 -1
- package/models/components/createsupportingdocumentsresponse.js.map +1 -1
- package/models/components/currencycodeiso4217.d.ts +1 -1
- package/models/components/currencycodeiso4217.d.ts.map +1 -1
- package/models/components/currencycodeiso4217.js +1 -1
- package/models/components/currencycodeiso4217.js.map +1 -1
- package/models/components/customerassetattributes.d.ts +1 -1
- package/models/components/customerassetattributes.d.ts.map +1 -1
- package/models/components/customerassetattributes.js +1 -1
- package/models/components/customerassetattributes.js.map +1 -1
- package/models/components/customerassettype.d.ts +1 -1
- package/models/components/customerassettype.d.ts.map +1 -1
- package/models/components/customerassettype.js +1 -1
- package/models/components/customerassettype.js.map +1 -1
- package/models/components/customerattributes.d.ts +1 -1
- package/models/components/customerattributes.d.ts.map +1 -1
- package/models/components/customerattributes.js +1 -1
- package/models/components/customerattributes.js.map +1 -1
- package/models/components/customeridtype.d.ts +1 -1
- package/models/components/customeridtype.d.ts.map +1 -1
- package/models/components/customeridtype.js +1 -1
- package/models/components/customeridtype.js.map +1 -1
- package/models/components/customerliabilityattributes.d.ts +1 -1
- package/models/components/customerliabilityattributes.d.ts.map +1 -1
- package/models/components/customerliabilityattributes.js +1 -1
- package/models/components/customerliabilityattributes.js.map +1 -1
- package/models/components/customerliabilityrepaymentfrequency.d.ts +1 -1
- package/models/components/customerliabilityrepaymentfrequency.d.ts.map +1 -1
- package/models/components/customerliabilityrepaymentfrequency.js +1 -1
- package/models/components/customerliabilityrepaymentfrequency.js.map +1 -1
- package/models/components/customerliabilitytype.d.ts +1 -1
- package/models/components/customerliabilitytype.d.ts.map +1 -1
- package/models/components/customerliabilitytype.js +1 -1
- package/models/components/customerliabilitytype.js.map +1 -1
- package/models/components/customertitle.d.ts +1 -1
- package/models/components/customertitle.d.ts.map +1 -1
- package/models/components/customertitle.js +1 -1
- package/models/components/customertitle.js.map +1 -1
- package/models/components/documenttype.d.ts +1 -1
- package/models/components/documenttype.d.ts.map +1 -1
- package/models/components/documenttype.js +1 -1
- package/models/components/documenttype.js.map +1 -1
- package/models/components/entityattributes.d.ts +1 -1
- package/models/components/entityattributes.d.ts.map +1 -1
- package/models/components/entityattributes.js +1 -1
- package/models/components/entityattributes.js.map +1 -1
- package/models/components/errorsource.d.ts +1 -1
- package/models/components/errorsource.d.ts.map +1 -1
- package/models/components/errorsource.js +1 -1
- package/models/components/errorsource.js.map +1 -1
- package/models/components/expenseattributes.d.ts +1 -1
- package/models/components/expenseattributes.d.ts.map +1 -1
- package/models/components/expenseattributes.js +1 -1
- package/models/components/expenseattributes.js.map +1 -1
- package/models/components/expensefrequency.d.ts +1 -1
- package/models/components/expensefrequency.d.ts.map +1 -1
- package/models/components/expensefrequency.js +1 -1
- package/models/components/expensefrequency.js.map +1 -1
- package/models/components/expensetype.d.ts +1 -1
- package/models/components/expensetype.d.ts.map +1 -1
- package/models/components/expensetype.js +1 -1
- package/models/components/expensetype.js.map +1 -1
- package/models/components/forbiddenerror.d.ts +1 -1
- package/models/components/forbiddenerror.d.ts.map +1 -1
- package/models/components/forbiddenerror.js +1 -1
- package/models/components/forbiddenerror.js.map +1 -1
- package/models/components/frequencytype.d.ts +1 -1
- package/models/components/frequencytype.d.ts.map +1 -1
- package/models/components/frequencytype.js +1 -1
- package/models/components/frequencytype.js.map +1 -1
- package/models/components/incomeattributes.d.ts +1 -1
- package/models/components/incomeattributes.d.ts.map +1 -1
- package/models/components/incomeattributes.js +1 -1
- package/models/components/incomeattributes.js.map +1 -1
- package/models/components/incomefrequency.d.ts +1 -1
- package/models/components/incomefrequency.d.ts.map +1 -1
- package/models/components/incomefrequency.js +1 -1
- package/models/components/incomefrequency.js.map +1 -1
- package/models/components/incometype.d.ts +1 -1
- package/models/components/incometype.d.ts.map +1 -1
- package/models/components/incometype.js +1 -1
- package/models/components/incometype.js.map +1 -1
- package/models/components/index.d.ts +8 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +8 -0
- package/models/components/index.js.map +1 -1
- package/models/components/linkobject.d.ts +1 -1
- package/models/components/linkobject.d.ts.map +1 -1
- package/models/components/linkobject.js +1 -1
- package/models/components/linkobject.js.map +1 -1
- package/models/components/livingarrangements.d.ts +1 -1
- package/models/components/livingarrangements.d.ts.map +1 -1
- package/models/components/livingarrangements.js +1 -1
- package/models/components/livingarrangements.js.map +1 -1
- package/models/components/loandetailsattributes.d.ts +8 -3
- package/models/components/loandetailsattributes.d.ts.map +1 -1
- package/models/components/loandetailsattributes.js +3 -1
- package/models/components/loandetailsattributes.js.map +1 -1
- package/models/components/maritalstatus.d.ts +1 -1
- package/models/components/maritalstatus.d.ts.map +1 -1
- package/models/components/maritalstatus.js +1 -1
- package/models/components/maritalstatus.js.map +1 -1
- package/models/components/monetaryquantity.d.ts +1 -1
- package/models/components/monetaryquantity.d.ts.map +1 -1
- package/models/components/monetaryquantity.js +1 -1
- package/models/components/monetaryquantity.js.map +1 -1
- package/models/components/percentagequantity.d.ts +1 -1
- package/models/components/percentagequantity.d.ts.map +1 -1
- package/models/components/percentagequantity.js +1 -1
- package/models/components/percentagequantity.js.map +1 -1
- package/models/components/personalapplicationjsonapirelationships.d.ts +208 -0
- package/models/components/personalapplicationjsonapirelationships.d.ts.map +1 -0
- package/models/components/personalapplicationjsonapirelationships.js +229 -0
- package/models/components/personalapplicationjsonapirelationships.js.map +1 -0
- package/models/components/personalapplicationpayload.d.ts +137 -0
- package/models/components/personalapplicationpayload.d.ts.map +1 -0
- package/models/components/personalapplicationpayload.js +150 -0
- package/models/components/personalapplicationpayload.js.map +1 -0
- package/models/components/personalapplicationresource.d.ts +166 -0
- package/models/components/personalapplicationresource.d.ts.map +1 -0
- package/models/components/personalapplicationresource.js +159 -0
- package/models/components/personalapplicationresource.js.map +1 -0
- package/models/components/personalloanpersonalapplicationrelationships.d.ts +683 -0
- package/models/components/personalloanpersonalapplicationrelationships.d.ts.map +1 -0
- package/models/components/personalloanpersonalapplicationrelationships.js +682 -0
- package/models/components/personalloanpersonalapplicationrelationships.js.map +1 -0
- package/models/components/relationshipresourcenotfound.d.ts +1 -1
- package/models/components/relationshipresourcenotfound.d.ts.map +1 -1
- package/models/components/relationshipresourcenotfound.js +1 -1
- package/models/components/relationshipresourcenotfound.js.map +1 -1
- package/models/components/repaymentstructure.d.ts +1 -1
- package/models/components/repaymentstructure.d.ts.map +1 -1
- package/models/components/repaymentstructure.js +1 -1
- package/models/components/repaymentstructure.js.map +1 -1
- package/models/components/residencystatus.d.ts +1 -1
- package/models/components/residencystatus.d.ts.map +1 -1
- package/models/components/residencystatus.js +1 -1
- package/models/components/residencystatus.js.map +1 -1
- package/models/components/resourcenotfound.d.ts +1 -1
- package/models/components/resourcenotfound.d.ts.map +1 -1
- package/models/components/resourcenotfound.js +1 -1
- package/models/components/resourcenotfound.js.map +1 -1
- package/models/components/security.d.ts +1 -1
- package/models/components/security.d.ts.map +1 -1
- package/models/components/security.js +1 -1
- package/models/components/security.js.map +1 -1
- package/models/components/supportingdocumentattributes.d.ts +1 -1
- package/models/components/supportingdocumentattributes.d.ts.map +1 -1
- package/models/components/supportingdocumentattributes.js +1 -1
- package/models/components/supportingdocumentattributes.js.map +1 -1
- package/models/components/supportingdocumentattributesinput.d.ts +1 -1
- package/models/components/supportingdocumentattributesinput.d.ts.map +1 -1
- package/models/components/supportingdocumentattributesinput.js +1 -1
- package/models/components/supportingdocumentattributesinput.js.map +1 -1
- package/models/components/supportingdocumentrelationships.d.ts +1 -1
- package/models/components/supportingdocumentrelationships.d.ts.map +1 -1
- package/models/components/supportingdocumentrelationships.js +1 -1
- package/models/components/supportingdocumentrelationships.js.map +1 -1
- package/models/components/supportingdocumentresource.d.ts +1 -1
- package/models/components/supportingdocumentresource.d.ts.map +1 -1
- package/models/components/supportingdocumentresource.js +1 -1
- package/models/components/supportingdocumentresource.js.map +1 -1
- package/models/components/tokenrequest.d.ts +1 -1
- package/models/components/tokenrequest.d.ts.map +1 -1
- package/models/components/tokenrequest.js +1 -1
- package/models/components/tokenrequest.js.map +1 -1
- package/models/components/tokenresponse.d.ts +1 -1
- package/models/components/tokenresponse.d.ts.map +1 -1
- package/models/components/tokenresponse.js +1 -1
- package/models/components/tokenresponse.js.map +1 -1
- package/models/components/uploadmimetype.d.ts +1 -1
- package/models/components/uploadmimetype.d.ts.map +1 -1
- package/models/components/uploadmimetype.js +1 -1
- package/models/components/uploadmimetype.js.map +1 -1
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/responsevalidationerror.js +1 -1
- package/models/errors/responsevalidationerror.js.map +1 -1
- package/models/errors/sdkvalidationerror.d.ts +1 -1
- package/models/errors/sdkvalidationerror.d.ts.map +1 -1
- package/models/errors/sdkvalidationerror.js +1 -1
- package/models/errors/sdkvalidationerror.js.map +1 -1
- package/models/operations/createapplication.d.ts +5 -5
- package/models/operations/createapplication.d.ts.map +1 -1
- package/models/operations/createapplication.js +9 -1
- package/models/operations/createapplication.js.map +1 -1
- package/models/operations/supportingdocumentscreate.d.ts +1 -1
- package/models/operations/supportingdocumentscreate.d.ts.map +1 -1
- package/models/operations/supportingdocumentscreate.js +1 -1
- package/models/operations/supportingdocumentscreate.js.map +1 -1
- package/package.json +2 -2
- package/src/funcs/applicationsCreate.ts +1 -1
- package/src/funcs/oauthTokenGet.ts +1 -1
- package/src/funcs/supportingDocumentsCreate.ts +1 -1
- package/src/lib/base64.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/env.ts +21 -5
- package/src/lib/schemas.ts +1 -1
- package/src/lib/url.ts +1 -1
- package/src/models/components/addressattributes.ts +1 -1
- package/src/models/components/apierrorlinks.ts +1 -1
- package/src/models/components/applicationresource.ts +23 -3
- package/src/models/components/applicationstatus.ts +1 -1
- package/src/models/components/australianstatesandterritories.ts +1 -1
- package/src/models/components/badrequesterror.ts +1 -1
- package/src/models/components/businessapplicationjsonapirelationships.ts +690 -0
- package/src/models/components/businessapplicationpayload.ts +242 -0
- package/src/models/components/businessapplicationresource.ts +285 -0
- package/src/models/components/businessloanbusinessapplicationrelationships.ts +1472 -0
- package/src/models/components/commercialapplicationjsonapirelationships.ts +1 -1
- package/src/models/components/commercialsecuredapplicationpayload.ts +1 -1
- package/src/models/components/commercialsecuredapplicationresource.ts +1 -1
- package/src/models/components/commercialsecuredloanassetattributes.ts +1 -1
- package/src/models/components/commercialsecuredloanassettype.ts +1 -1
- package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +1 -1
- package/src/models/components/commercialsecuredloantypeofsale.ts +1 -1
- package/src/models/components/consumerapplicationjsonapirelationships.ts +1 -1
- package/src/models/components/consumersecuredapplicationpayload.ts +1 -1
- package/src/models/components/consumersecuredapplicationresource.ts +1 -1
- package/src/models/components/consumersecuredloanassetattributes.ts +1 -1
- package/src/models/components/consumersecuredloanassettype.ts +1 -1
- package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +1 -1
- package/src/models/components/consumersecuredloantypeofsale.ts +1 -1
- package/src/models/components/createsupportingdocumentsresponse.ts +1 -1
- package/src/models/components/currencycodeiso4217.ts +1 -1
- package/src/models/components/customerassetattributes.ts +1 -1
- package/src/models/components/customerassettype.ts +1 -1
- package/src/models/components/customerattributes.ts +1 -1
- package/src/models/components/customeridtype.ts +1 -1
- package/src/models/components/customerliabilityattributes.ts +1 -1
- package/src/models/components/customerliabilityrepaymentfrequency.ts +1 -1
- package/src/models/components/customerliabilitytype.ts +1 -1
- package/src/models/components/customertitle.ts +1 -1
- package/src/models/components/documenttype.ts +1 -1
- package/src/models/components/entityattributes.ts +1 -1
- package/src/models/components/errorsource.ts +1 -1
- package/src/models/components/expenseattributes.ts +1 -1
- package/src/models/components/expensefrequency.ts +1 -1
- package/src/models/components/expensetype.ts +1 -1
- package/src/models/components/forbiddenerror.ts +1 -1
- package/src/models/components/frequencytype.ts +1 -1
- package/src/models/components/incomeattributes.ts +1 -1
- package/src/models/components/incomefrequency.ts +1 -1
- package/src/models/components/incometype.ts +1 -1
- package/src/models/components/index.ts +8 -0
- package/src/models/components/linkobject.ts +1 -1
- package/src/models/components/livingarrangements.ts +1 -1
- package/src/models/components/loandetailsattributes.ts +10 -3
- package/src/models/components/maritalstatus.ts +1 -1
- package/src/models/components/monetaryquantity.ts +1 -1
- package/src/models/components/percentagequantity.ts +1 -1
- package/src/models/components/personalapplicationjsonapirelationships.ts +486 -0
- package/src/models/components/personalapplicationpayload.ts +242 -0
- package/src/models/components/personalapplicationresource.ts +285 -0
- package/src/models/components/personalloanpersonalapplicationrelationships.ts +1710 -0
- package/src/models/components/relationshipresourcenotfound.ts +1 -1
- package/src/models/components/repaymentstructure.ts +1 -1
- package/src/models/components/residencystatus.ts +1 -1
- package/src/models/components/resourcenotfound.ts +1 -1
- package/src/models/components/security.ts +1 -1
- package/src/models/components/supportingdocumentattributes.ts +1 -1
- package/src/models/components/supportingdocumentattributesinput.ts +1 -1
- package/src/models/components/supportingdocumentrelationships.ts +1 -1
- package/src/models/components/supportingdocumentresource.ts +1 -1
- package/src/models/components/tokenrequest.ts +1 -1
- package/src/models/components/tokenresponse.ts +1 -1
- package/src/models/components/uploadmimetype.ts +1 -1
- package/src/models/errors/index.ts +1 -0
- package/src/models/errors/responsevalidationerror.ts +1 -1
- package/src/models/errors/sdkvalidationerror.ts +1 -1
- package/src/models/operations/createapplication.ts +21 -5
- package/src/models/operations/supportingdocumentscreate.ts +1 -1
- package/src/types/blobs.ts +7 -6
- package/src/types/constdatetime.ts +1 -1
- package/types/blobs.d.ts +1 -1
- package/types/blobs.d.ts.map +1 -1
- package/types/blobs.js +1 -1
- package/types/blobs.js.map +1 -1
- package/types/constdatetime.d.ts +1 -1
- package/types/constdatetime.d.ts.map +1 -1
- package/types/constdatetime.js +1 -1
- package/types/constdatetime.js.map +1 -1
- package/docs/sdks/financeable/README.md +0 -5
|
@@ -0,0 +1,690 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
LinkObject,
|
|
12
|
+
LinkObject$inboundSchema,
|
|
13
|
+
LinkObject$Outbound,
|
|
14
|
+
LinkObject$outboundSchema,
|
|
15
|
+
} from "./linkobject.js";
|
|
16
|
+
|
|
17
|
+
export const BusinessApplicationJsonApiRelationshipsType = {
|
|
18
|
+
LoanDetails: "loan-details",
|
|
19
|
+
} as const;
|
|
20
|
+
export type BusinessApplicationJsonApiRelationshipsType = ClosedEnum<
|
|
21
|
+
typeof BusinessApplicationJsonApiRelationshipsType
|
|
22
|
+
>;
|
|
23
|
+
|
|
24
|
+
export type BusinessApplicationJsonApiRelationshipsData = {
|
|
25
|
+
type: BusinessApplicationJsonApiRelationshipsType;
|
|
26
|
+
id: string;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export type BusinessApplicationJsonApiRelationshipsLoanDetails = {
|
|
30
|
+
data: BusinessApplicationJsonApiRelationshipsData;
|
|
31
|
+
links?: { [k: string]: LinkObject } | undefined;
|
|
32
|
+
meta?: { [k: string]: any } | undefined;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export const BusinessApplicationJsonApiRelationshipsCustomersType = {
|
|
36
|
+
Customers: "customers",
|
|
37
|
+
} as const;
|
|
38
|
+
export type BusinessApplicationJsonApiRelationshipsCustomersType = ClosedEnum<
|
|
39
|
+
typeof BusinessApplicationJsonApiRelationshipsCustomersType
|
|
40
|
+
>;
|
|
41
|
+
|
|
42
|
+
export type BusinessApplicationJsonApiRelationshipsCustomersData = {
|
|
43
|
+
type: BusinessApplicationJsonApiRelationshipsCustomersType;
|
|
44
|
+
id: string;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export type BusinessApplicationJsonApiRelationshipsCustomers = {
|
|
48
|
+
data: Array<BusinessApplicationJsonApiRelationshipsCustomersData>;
|
|
49
|
+
links?: { [k: string]: LinkObject } | undefined;
|
|
50
|
+
meta?: { [k: string]: any } | undefined;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export const BusinessApplicationJsonApiRelationshipsEntitiesType = {
|
|
54
|
+
Entities: "entities",
|
|
55
|
+
} as const;
|
|
56
|
+
export type BusinessApplicationJsonApiRelationshipsEntitiesType = ClosedEnum<
|
|
57
|
+
typeof BusinessApplicationJsonApiRelationshipsEntitiesType
|
|
58
|
+
>;
|
|
59
|
+
|
|
60
|
+
export type BusinessApplicationJsonApiRelationshipsEntitiesData = {
|
|
61
|
+
type: BusinessApplicationJsonApiRelationshipsEntitiesType;
|
|
62
|
+
id: string;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
export type BusinessApplicationJsonApiRelationshipsEntities = {
|
|
66
|
+
data: Array<BusinessApplicationJsonApiRelationshipsEntitiesData>;
|
|
67
|
+
links?: { [k: string]: LinkObject } | undefined;
|
|
68
|
+
meta?: { [k: string]: any } | undefined;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Relationships for a Business Application Resource
|
|
73
|
+
*/
|
|
74
|
+
export type BusinessApplicationJsonApiRelationships = {
|
|
75
|
+
loanDetails?: BusinessApplicationJsonApiRelationshipsLoanDetails | undefined;
|
|
76
|
+
customers?: BusinessApplicationJsonApiRelationshipsCustomers | undefined;
|
|
77
|
+
entities?: BusinessApplicationJsonApiRelationshipsEntities | undefined;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
/** @internal */
|
|
81
|
+
export const BusinessApplicationJsonApiRelationshipsType$inboundSchema:
|
|
82
|
+
z.ZodNativeEnum<typeof BusinessApplicationJsonApiRelationshipsType> = z
|
|
83
|
+
.nativeEnum(BusinessApplicationJsonApiRelationshipsType);
|
|
84
|
+
|
|
85
|
+
/** @internal */
|
|
86
|
+
export const BusinessApplicationJsonApiRelationshipsType$outboundSchema:
|
|
87
|
+
z.ZodNativeEnum<typeof BusinessApplicationJsonApiRelationshipsType> =
|
|
88
|
+
BusinessApplicationJsonApiRelationshipsType$inboundSchema;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
93
|
+
*/
|
|
94
|
+
export namespace BusinessApplicationJsonApiRelationshipsType$ {
|
|
95
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsType$inboundSchema` instead. */
|
|
96
|
+
export const inboundSchema =
|
|
97
|
+
BusinessApplicationJsonApiRelationshipsType$inboundSchema;
|
|
98
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsType$outboundSchema` instead. */
|
|
99
|
+
export const outboundSchema =
|
|
100
|
+
BusinessApplicationJsonApiRelationshipsType$outboundSchema;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/** @internal */
|
|
104
|
+
export const BusinessApplicationJsonApiRelationshipsData$inboundSchema:
|
|
105
|
+
z.ZodType<
|
|
106
|
+
BusinessApplicationJsonApiRelationshipsData,
|
|
107
|
+
z.ZodTypeDef,
|
|
108
|
+
unknown
|
|
109
|
+
> = z.object({
|
|
110
|
+
type: BusinessApplicationJsonApiRelationshipsType$inboundSchema,
|
|
111
|
+
id: z.string(),
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
/** @internal */
|
|
115
|
+
export type BusinessApplicationJsonApiRelationshipsData$Outbound = {
|
|
116
|
+
type: string;
|
|
117
|
+
id: string;
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
/** @internal */
|
|
121
|
+
export const BusinessApplicationJsonApiRelationshipsData$outboundSchema:
|
|
122
|
+
z.ZodType<
|
|
123
|
+
BusinessApplicationJsonApiRelationshipsData$Outbound,
|
|
124
|
+
z.ZodTypeDef,
|
|
125
|
+
BusinessApplicationJsonApiRelationshipsData
|
|
126
|
+
> = z.object({
|
|
127
|
+
type: BusinessApplicationJsonApiRelationshipsType$outboundSchema,
|
|
128
|
+
id: z.string(),
|
|
129
|
+
});
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @internal
|
|
133
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
134
|
+
*/
|
|
135
|
+
export namespace BusinessApplicationJsonApiRelationshipsData$ {
|
|
136
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsData$inboundSchema` instead. */
|
|
137
|
+
export const inboundSchema =
|
|
138
|
+
BusinessApplicationJsonApiRelationshipsData$inboundSchema;
|
|
139
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsData$outboundSchema` instead. */
|
|
140
|
+
export const outboundSchema =
|
|
141
|
+
BusinessApplicationJsonApiRelationshipsData$outboundSchema;
|
|
142
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsData$Outbound` instead. */
|
|
143
|
+
export type Outbound = BusinessApplicationJsonApiRelationshipsData$Outbound;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export function businessApplicationJsonApiRelationshipsDataToJSON(
|
|
147
|
+
businessApplicationJsonApiRelationshipsData:
|
|
148
|
+
BusinessApplicationJsonApiRelationshipsData,
|
|
149
|
+
): string {
|
|
150
|
+
return JSON.stringify(
|
|
151
|
+
BusinessApplicationJsonApiRelationshipsData$outboundSchema.parse(
|
|
152
|
+
businessApplicationJsonApiRelationshipsData,
|
|
153
|
+
),
|
|
154
|
+
);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export function businessApplicationJsonApiRelationshipsDataFromJSON(
|
|
158
|
+
jsonString: string,
|
|
159
|
+
): SafeParseResult<
|
|
160
|
+
BusinessApplicationJsonApiRelationshipsData,
|
|
161
|
+
SDKValidationError
|
|
162
|
+
> {
|
|
163
|
+
return safeParse(
|
|
164
|
+
jsonString,
|
|
165
|
+
(x) =>
|
|
166
|
+
BusinessApplicationJsonApiRelationshipsData$inboundSchema.parse(
|
|
167
|
+
JSON.parse(x),
|
|
168
|
+
),
|
|
169
|
+
`Failed to parse 'BusinessApplicationJsonApiRelationshipsData' from JSON`,
|
|
170
|
+
);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/** @internal */
|
|
174
|
+
export const BusinessApplicationJsonApiRelationshipsLoanDetails$inboundSchema:
|
|
175
|
+
z.ZodType<
|
|
176
|
+
BusinessApplicationJsonApiRelationshipsLoanDetails,
|
|
177
|
+
z.ZodTypeDef,
|
|
178
|
+
unknown
|
|
179
|
+
> = z.object({
|
|
180
|
+
data: z.lazy(() =>
|
|
181
|
+
BusinessApplicationJsonApiRelationshipsData$inboundSchema
|
|
182
|
+
),
|
|
183
|
+
links: z.record(LinkObject$inboundSchema).optional(),
|
|
184
|
+
meta: z.record(z.any()).optional(),
|
|
185
|
+
});
|
|
186
|
+
|
|
187
|
+
/** @internal */
|
|
188
|
+
export type BusinessApplicationJsonApiRelationshipsLoanDetails$Outbound = {
|
|
189
|
+
data: BusinessApplicationJsonApiRelationshipsData$Outbound;
|
|
190
|
+
links?: { [k: string]: LinkObject$Outbound } | undefined;
|
|
191
|
+
meta?: { [k: string]: any } | undefined;
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
/** @internal */
|
|
195
|
+
export const BusinessApplicationJsonApiRelationshipsLoanDetails$outboundSchema:
|
|
196
|
+
z.ZodType<
|
|
197
|
+
BusinessApplicationJsonApiRelationshipsLoanDetails$Outbound,
|
|
198
|
+
z.ZodTypeDef,
|
|
199
|
+
BusinessApplicationJsonApiRelationshipsLoanDetails
|
|
200
|
+
> = z.object({
|
|
201
|
+
data: z.lazy(() =>
|
|
202
|
+
BusinessApplicationJsonApiRelationshipsData$outboundSchema
|
|
203
|
+
),
|
|
204
|
+
links: z.record(LinkObject$outboundSchema).optional(),
|
|
205
|
+
meta: z.record(z.any()).optional(),
|
|
206
|
+
});
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* @internal
|
|
210
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
211
|
+
*/
|
|
212
|
+
export namespace BusinessApplicationJsonApiRelationshipsLoanDetails$ {
|
|
213
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsLoanDetails$inboundSchema` instead. */
|
|
214
|
+
export const inboundSchema =
|
|
215
|
+
BusinessApplicationJsonApiRelationshipsLoanDetails$inboundSchema;
|
|
216
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsLoanDetails$outboundSchema` instead. */
|
|
217
|
+
export const outboundSchema =
|
|
218
|
+
BusinessApplicationJsonApiRelationshipsLoanDetails$outboundSchema;
|
|
219
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsLoanDetails$Outbound` instead. */
|
|
220
|
+
export type Outbound =
|
|
221
|
+
BusinessApplicationJsonApiRelationshipsLoanDetails$Outbound;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export function businessApplicationJsonApiRelationshipsLoanDetailsToJSON(
|
|
225
|
+
businessApplicationJsonApiRelationshipsLoanDetails:
|
|
226
|
+
BusinessApplicationJsonApiRelationshipsLoanDetails,
|
|
227
|
+
): string {
|
|
228
|
+
return JSON.stringify(
|
|
229
|
+
BusinessApplicationJsonApiRelationshipsLoanDetails$outboundSchema.parse(
|
|
230
|
+
businessApplicationJsonApiRelationshipsLoanDetails,
|
|
231
|
+
),
|
|
232
|
+
);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export function businessApplicationJsonApiRelationshipsLoanDetailsFromJSON(
|
|
236
|
+
jsonString: string,
|
|
237
|
+
): SafeParseResult<
|
|
238
|
+
BusinessApplicationJsonApiRelationshipsLoanDetails,
|
|
239
|
+
SDKValidationError
|
|
240
|
+
> {
|
|
241
|
+
return safeParse(
|
|
242
|
+
jsonString,
|
|
243
|
+
(x) =>
|
|
244
|
+
BusinessApplicationJsonApiRelationshipsLoanDetails$inboundSchema.parse(
|
|
245
|
+
JSON.parse(x),
|
|
246
|
+
),
|
|
247
|
+
`Failed to parse 'BusinessApplicationJsonApiRelationshipsLoanDetails' from JSON`,
|
|
248
|
+
);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
/** @internal */
|
|
252
|
+
export const BusinessApplicationJsonApiRelationshipsCustomersType$inboundSchema:
|
|
253
|
+
z.ZodNativeEnum<typeof BusinessApplicationJsonApiRelationshipsCustomersType> =
|
|
254
|
+
z.nativeEnum(BusinessApplicationJsonApiRelationshipsCustomersType);
|
|
255
|
+
|
|
256
|
+
/** @internal */
|
|
257
|
+
export const BusinessApplicationJsonApiRelationshipsCustomersType$outboundSchema:
|
|
258
|
+
z.ZodNativeEnum<typeof BusinessApplicationJsonApiRelationshipsCustomersType> =
|
|
259
|
+
BusinessApplicationJsonApiRelationshipsCustomersType$inboundSchema;
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* @internal
|
|
263
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
264
|
+
*/
|
|
265
|
+
export namespace BusinessApplicationJsonApiRelationshipsCustomersType$ {
|
|
266
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsCustomersType$inboundSchema` instead. */
|
|
267
|
+
export const inboundSchema =
|
|
268
|
+
BusinessApplicationJsonApiRelationshipsCustomersType$inboundSchema;
|
|
269
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsCustomersType$outboundSchema` instead. */
|
|
270
|
+
export const outboundSchema =
|
|
271
|
+
BusinessApplicationJsonApiRelationshipsCustomersType$outboundSchema;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/** @internal */
|
|
275
|
+
export const BusinessApplicationJsonApiRelationshipsCustomersData$inboundSchema:
|
|
276
|
+
z.ZodType<
|
|
277
|
+
BusinessApplicationJsonApiRelationshipsCustomersData,
|
|
278
|
+
z.ZodTypeDef,
|
|
279
|
+
unknown
|
|
280
|
+
> = z.object({
|
|
281
|
+
type: BusinessApplicationJsonApiRelationshipsCustomersType$inboundSchema,
|
|
282
|
+
id: z.string(),
|
|
283
|
+
});
|
|
284
|
+
|
|
285
|
+
/** @internal */
|
|
286
|
+
export type BusinessApplicationJsonApiRelationshipsCustomersData$Outbound = {
|
|
287
|
+
type: string;
|
|
288
|
+
id: string;
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
/** @internal */
|
|
292
|
+
export const BusinessApplicationJsonApiRelationshipsCustomersData$outboundSchema:
|
|
293
|
+
z.ZodType<
|
|
294
|
+
BusinessApplicationJsonApiRelationshipsCustomersData$Outbound,
|
|
295
|
+
z.ZodTypeDef,
|
|
296
|
+
BusinessApplicationJsonApiRelationshipsCustomersData
|
|
297
|
+
> = z.object({
|
|
298
|
+
type: BusinessApplicationJsonApiRelationshipsCustomersType$outboundSchema,
|
|
299
|
+
id: z.string(),
|
|
300
|
+
});
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* @internal
|
|
304
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
305
|
+
*/
|
|
306
|
+
export namespace BusinessApplicationJsonApiRelationshipsCustomersData$ {
|
|
307
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsCustomersData$inboundSchema` instead. */
|
|
308
|
+
export const inboundSchema =
|
|
309
|
+
BusinessApplicationJsonApiRelationshipsCustomersData$inboundSchema;
|
|
310
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsCustomersData$outboundSchema` instead. */
|
|
311
|
+
export const outboundSchema =
|
|
312
|
+
BusinessApplicationJsonApiRelationshipsCustomersData$outboundSchema;
|
|
313
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsCustomersData$Outbound` instead. */
|
|
314
|
+
export type Outbound =
|
|
315
|
+
BusinessApplicationJsonApiRelationshipsCustomersData$Outbound;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export function businessApplicationJsonApiRelationshipsCustomersDataToJSON(
|
|
319
|
+
businessApplicationJsonApiRelationshipsCustomersData:
|
|
320
|
+
BusinessApplicationJsonApiRelationshipsCustomersData,
|
|
321
|
+
): string {
|
|
322
|
+
return JSON.stringify(
|
|
323
|
+
BusinessApplicationJsonApiRelationshipsCustomersData$outboundSchema.parse(
|
|
324
|
+
businessApplicationJsonApiRelationshipsCustomersData,
|
|
325
|
+
),
|
|
326
|
+
);
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
export function businessApplicationJsonApiRelationshipsCustomersDataFromJSON(
|
|
330
|
+
jsonString: string,
|
|
331
|
+
): SafeParseResult<
|
|
332
|
+
BusinessApplicationJsonApiRelationshipsCustomersData,
|
|
333
|
+
SDKValidationError
|
|
334
|
+
> {
|
|
335
|
+
return safeParse(
|
|
336
|
+
jsonString,
|
|
337
|
+
(x) =>
|
|
338
|
+
BusinessApplicationJsonApiRelationshipsCustomersData$inboundSchema.parse(
|
|
339
|
+
JSON.parse(x),
|
|
340
|
+
),
|
|
341
|
+
`Failed to parse 'BusinessApplicationJsonApiRelationshipsCustomersData' from JSON`,
|
|
342
|
+
);
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/** @internal */
|
|
346
|
+
export const BusinessApplicationJsonApiRelationshipsCustomers$inboundSchema:
|
|
347
|
+
z.ZodType<
|
|
348
|
+
BusinessApplicationJsonApiRelationshipsCustomers,
|
|
349
|
+
z.ZodTypeDef,
|
|
350
|
+
unknown
|
|
351
|
+
> = z.object({
|
|
352
|
+
data: z.array(
|
|
353
|
+
z.lazy(() =>
|
|
354
|
+
BusinessApplicationJsonApiRelationshipsCustomersData$inboundSchema
|
|
355
|
+
),
|
|
356
|
+
),
|
|
357
|
+
links: z.record(LinkObject$inboundSchema).optional(),
|
|
358
|
+
meta: z.record(z.any()).optional(),
|
|
359
|
+
});
|
|
360
|
+
|
|
361
|
+
/** @internal */
|
|
362
|
+
export type BusinessApplicationJsonApiRelationshipsCustomers$Outbound = {
|
|
363
|
+
data: Array<BusinessApplicationJsonApiRelationshipsCustomersData$Outbound>;
|
|
364
|
+
links?: { [k: string]: LinkObject$Outbound } | undefined;
|
|
365
|
+
meta?: { [k: string]: any } | undefined;
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
/** @internal */
|
|
369
|
+
export const BusinessApplicationJsonApiRelationshipsCustomers$outboundSchema:
|
|
370
|
+
z.ZodType<
|
|
371
|
+
BusinessApplicationJsonApiRelationshipsCustomers$Outbound,
|
|
372
|
+
z.ZodTypeDef,
|
|
373
|
+
BusinessApplicationJsonApiRelationshipsCustomers
|
|
374
|
+
> = z.object({
|
|
375
|
+
data: z.array(
|
|
376
|
+
z.lazy(() =>
|
|
377
|
+
BusinessApplicationJsonApiRelationshipsCustomersData$outboundSchema
|
|
378
|
+
),
|
|
379
|
+
),
|
|
380
|
+
links: z.record(LinkObject$outboundSchema).optional(),
|
|
381
|
+
meta: z.record(z.any()).optional(),
|
|
382
|
+
});
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* @internal
|
|
386
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
387
|
+
*/
|
|
388
|
+
export namespace BusinessApplicationJsonApiRelationshipsCustomers$ {
|
|
389
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsCustomers$inboundSchema` instead. */
|
|
390
|
+
export const inboundSchema =
|
|
391
|
+
BusinessApplicationJsonApiRelationshipsCustomers$inboundSchema;
|
|
392
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsCustomers$outboundSchema` instead. */
|
|
393
|
+
export const outboundSchema =
|
|
394
|
+
BusinessApplicationJsonApiRelationshipsCustomers$outboundSchema;
|
|
395
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsCustomers$Outbound` instead. */
|
|
396
|
+
export type Outbound =
|
|
397
|
+
BusinessApplicationJsonApiRelationshipsCustomers$Outbound;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
export function businessApplicationJsonApiRelationshipsCustomersToJSON(
|
|
401
|
+
businessApplicationJsonApiRelationshipsCustomers:
|
|
402
|
+
BusinessApplicationJsonApiRelationshipsCustomers,
|
|
403
|
+
): string {
|
|
404
|
+
return JSON.stringify(
|
|
405
|
+
BusinessApplicationJsonApiRelationshipsCustomers$outboundSchema.parse(
|
|
406
|
+
businessApplicationJsonApiRelationshipsCustomers,
|
|
407
|
+
),
|
|
408
|
+
);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
export function businessApplicationJsonApiRelationshipsCustomersFromJSON(
|
|
412
|
+
jsonString: string,
|
|
413
|
+
): SafeParseResult<
|
|
414
|
+
BusinessApplicationJsonApiRelationshipsCustomers,
|
|
415
|
+
SDKValidationError
|
|
416
|
+
> {
|
|
417
|
+
return safeParse(
|
|
418
|
+
jsonString,
|
|
419
|
+
(x) =>
|
|
420
|
+
BusinessApplicationJsonApiRelationshipsCustomers$inboundSchema.parse(
|
|
421
|
+
JSON.parse(x),
|
|
422
|
+
),
|
|
423
|
+
`Failed to parse 'BusinessApplicationJsonApiRelationshipsCustomers' from JSON`,
|
|
424
|
+
);
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
/** @internal */
|
|
428
|
+
export const BusinessApplicationJsonApiRelationshipsEntitiesType$inboundSchema:
|
|
429
|
+
z.ZodNativeEnum<typeof BusinessApplicationJsonApiRelationshipsEntitiesType> =
|
|
430
|
+
z.nativeEnum(BusinessApplicationJsonApiRelationshipsEntitiesType);
|
|
431
|
+
|
|
432
|
+
/** @internal */
|
|
433
|
+
export const BusinessApplicationJsonApiRelationshipsEntitiesType$outboundSchema:
|
|
434
|
+
z.ZodNativeEnum<typeof BusinessApplicationJsonApiRelationshipsEntitiesType> =
|
|
435
|
+
BusinessApplicationJsonApiRelationshipsEntitiesType$inboundSchema;
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* @internal
|
|
439
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
440
|
+
*/
|
|
441
|
+
export namespace BusinessApplicationJsonApiRelationshipsEntitiesType$ {
|
|
442
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsEntitiesType$inboundSchema` instead. */
|
|
443
|
+
export const inboundSchema =
|
|
444
|
+
BusinessApplicationJsonApiRelationshipsEntitiesType$inboundSchema;
|
|
445
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsEntitiesType$outboundSchema` instead. */
|
|
446
|
+
export const outboundSchema =
|
|
447
|
+
BusinessApplicationJsonApiRelationshipsEntitiesType$outboundSchema;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/** @internal */
|
|
451
|
+
export const BusinessApplicationJsonApiRelationshipsEntitiesData$inboundSchema:
|
|
452
|
+
z.ZodType<
|
|
453
|
+
BusinessApplicationJsonApiRelationshipsEntitiesData,
|
|
454
|
+
z.ZodTypeDef,
|
|
455
|
+
unknown
|
|
456
|
+
> = z.object({
|
|
457
|
+
type: BusinessApplicationJsonApiRelationshipsEntitiesType$inboundSchema,
|
|
458
|
+
id: z.string(),
|
|
459
|
+
});
|
|
460
|
+
|
|
461
|
+
/** @internal */
|
|
462
|
+
export type BusinessApplicationJsonApiRelationshipsEntitiesData$Outbound = {
|
|
463
|
+
type: string;
|
|
464
|
+
id: string;
|
|
465
|
+
};
|
|
466
|
+
|
|
467
|
+
/** @internal */
|
|
468
|
+
export const BusinessApplicationJsonApiRelationshipsEntitiesData$outboundSchema:
|
|
469
|
+
z.ZodType<
|
|
470
|
+
BusinessApplicationJsonApiRelationshipsEntitiesData$Outbound,
|
|
471
|
+
z.ZodTypeDef,
|
|
472
|
+
BusinessApplicationJsonApiRelationshipsEntitiesData
|
|
473
|
+
> = z.object({
|
|
474
|
+
type: BusinessApplicationJsonApiRelationshipsEntitiesType$outboundSchema,
|
|
475
|
+
id: z.string(),
|
|
476
|
+
});
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* @internal
|
|
480
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
481
|
+
*/
|
|
482
|
+
export namespace BusinessApplicationJsonApiRelationshipsEntitiesData$ {
|
|
483
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsEntitiesData$inboundSchema` instead. */
|
|
484
|
+
export const inboundSchema =
|
|
485
|
+
BusinessApplicationJsonApiRelationshipsEntitiesData$inboundSchema;
|
|
486
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsEntitiesData$outboundSchema` instead. */
|
|
487
|
+
export const outboundSchema =
|
|
488
|
+
BusinessApplicationJsonApiRelationshipsEntitiesData$outboundSchema;
|
|
489
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsEntitiesData$Outbound` instead. */
|
|
490
|
+
export type Outbound =
|
|
491
|
+
BusinessApplicationJsonApiRelationshipsEntitiesData$Outbound;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export function businessApplicationJsonApiRelationshipsEntitiesDataToJSON(
|
|
495
|
+
businessApplicationJsonApiRelationshipsEntitiesData:
|
|
496
|
+
BusinessApplicationJsonApiRelationshipsEntitiesData,
|
|
497
|
+
): string {
|
|
498
|
+
return JSON.stringify(
|
|
499
|
+
BusinessApplicationJsonApiRelationshipsEntitiesData$outboundSchema.parse(
|
|
500
|
+
businessApplicationJsonApiRelationshipsEntitiesData,
|
|
501
|
+
),
|
|
502
|
+
);
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
export function businessApplicationJsonApiRelationshipsEntitiesDataFromJSON(
|
|
506
|
+
jsonString: string,
|
|
507
|
+
): SafeParseResult<
|
|
508
|
+
BusinessApplicationJsonApiRelationshipsEntitiesData,
|
|
509
|
+
SDKValidationError
|
|
510
|
+
> {
|
|
511
|
+
return safeParse(
|
|
512
|
+
jsonString,
|
|
513
|
+
(x) =>
|
|
514
|
+
BusinessApplicationJsonApiRelationshipsEntitiesData$inboundSchema.parse(
|
|
515
|
+
JSON.parse(x),
|
|
516
|
+
),
|
|
517
|
+
`Failed to parse 'BusinessApplicationJsonApiRelationshipsEntitiesData' from JSON`,
|
|
518
|
+
);
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
/** @internal */
|
|
522
|
+
export const BusinessApplicationJsonApiRelationshipsEntities$inboundSchema:
|
|
523
|
+
z.ZodType<
|
|
524
|
+
BusinessApplicationJsonApiRelationshipsEntities,
|
|
525
|
+
z.ZodTypeDef,
|
|
526
|
+
unknown
|
|
527
|
+
> = z.object({
|
|
528
|
+
data: z.array(
|
|
529
|
+
z.lazy(() =>
|
|
530
|
+
BusinessApplicationJsonApiRelationshipsEntitiesData$inboundSchema
|
|
531
|
+
),
|
|
532
|
+
),
|
|
533
|
+
links: z.record(LinkObject$inboundSchema).optional(),
|
|
534
|
+
meta: z.record(z.any()).optional(),
|
|
535
|
+
});
|
|
536
|
+
|
|
537
|
+
/** @internal */
|
|
538
|
+
export type BusinessApplicationJsonApiRelationshipsEntities$Outbound = {
|
|
539
|
+
data: Array<BusinessApplicationJsonApiRelationshipsEntitiesData$Outbound>;
|
|
540
|
+
links?: { [k: string]: LinkObject$Outbound } | undefined;
|
|
541
|
+
meta?: { [k: string]: any } | undefined;
|
|
542
|
+
};
|
|
543
|
+
|
|
544
|
+
/** @internal */
|
|
545
|
+
export const BusinessApplicationJsonApiRelationshipsEntities$outboundSchema:
|
|
546
|
+
z.ZodType<
|
|
547
|
+
BusinessApplicationJsonApiRelationshipsEntities$Outbound,
|
|
548
|
+
z.ZodTypeDef,
|
|
549
|
+
BusinessApplicationJsonApiRelationshipsEntities
|
|
550
|
+
> = z.object({
|
|
551
|
+
data: z.array(
|
|
552
|
+
z.lazy(() =>
|
|
553
|
+
BusinessApplicationJsonApiRelationshipsEntitiesData$outboundSchema
|
|
554
|
+
),
|
|
555
|
+
),
|
|
556
|
+
links: z.record(LinkObject$outboundSchema).optional(),
|
|
557
|
+
meta: z.record(z.any()).optional(),
|
|
558
|
+
});
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* @internal
|
|
562
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
563
|
+
*/
|
|
564
|
+
export namespace BusinessApplicationJsonApiRelationshipsEntities$ {
|
|
565
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsEntities$inboundSchema` instead. */
|
|
566
|
+
export const inboundSchema =
|
|
567
|
+
BusinessApplicationJsonApiRelationshipsEntities$inboundSchema;
|
|
568
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsEntities$outboundSchema` instead. */
|
|
569
|
+
export const outboundSchema =
|
|
570
|
+
BusinessApplicationJsonApiRelationshipsEntities$outboundSchema;
|
|
571
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationshipsEntities$Outbound` instead. */
|
|
572
|
+
export type Outbound =
|
|
573
|
+
BusinessApplicationJsonApiRelationshipsEntities$Outbound;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
export function businessApplicationJsonApiRelationshipsEntitiesToJSON(
|
|
577
|
+
businessApplicationJsonApiRelationshipsEntities:
|
|
578
|
+
BusinessApplicationJsonApiRelationshipsEntities,
|
|
579
|
+
): string {
|
|
580
|
+
return JSON.stringify(
|
|
581
|
+
BusinessApplicationJsonApiRelationshipsEntities$outboundSchema.parse(
|
|
582
|
+
businessApplicationJsonApiRelationshipsEntities,
|
|
583
|
+
),
|
|
584
|
+
);
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
export function businessApplicationJsonApiRelationshipsEntitiesFromJSON(
|
|
588
|
+
jsonString: string,
|
|
589
|
+
): SafeParseResult<
|
|
590
|
+
BusinessApplicationJsonApiRelationshipsEntities,
|
|
591
|
+
SDKValidationError
|
|
592
|
+
> {
|
|
593
|
+
return safeParse(
|
|
594
|
+
jsonString,
|
|
595
|
+
(x) =>
|
|
596
|
+
BusinessApplicationJsonApiRelationshipsEntities$inboundSchema.parse(
|
|
597
|
+
JSON.parse(x),
|
|
598
|
+
),
|
|
599
|
+
`Failed to parse 'BusinessApplicationJsonApiRelationshipsEntities' from JSON`,
|
|
600
|
+
);
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
/** @internal */
|
|
604
|
+
export const BusinessApplicationJsonApiRelationships$inboundSchema: z.ZodType<
|
|
605
|
+
BusinessApplicationJsonApiRelationships,
|
|
606
|
+
z.ZodTypeDef,
|
|
607
|
+
unknown
|
|
608
|
+
> = z.object({
|
|
609
|
+
loanDetails: z.lazy(() =>
|
|
610
|
+
BusinessApplicationJsonApiRelationshipsLoanDetails$inboundSchema
|
|
611
|
+
).optional(),
|
|
612
|
+
customers: z.lazy(() =>
|
|
613
|
+
BusinessApplicationJsonApiRelationshipsCustomers$inboundSchema
|
|
614
|
+
).optional(),
|
|
615
|
+
entities: z.lazy(() =>
|
|
616
|
+
BusinessApplicationJsonApiRelationshipsEntities$inboundSchema
|
|
617
|
+
).optional(),
|
|
618
|
+
});
|
|
619
|
+
|
|
620
|
+
/** @internal */
|
|
621
|
+
export type BusinessApplicationJsonApiRelationships$Outbound = {
|
|
622
|
+
loanDetails?:
|
|
623
|
+
| BusinessApplicationJsonApiRelationshipsLoanDetails$Outbound
|
|
624
|
+
| undefined;
|
|
625
|
+
customers?:
|
|
626
|
+
| BusinessApplicationJsonApiRelationshipsCustomers$Outbound
|
|
627
|
+
| undefined;
|
|
628
|
+
entities?:
|
|
629
|
+
| BusinessApplicationJsonApiRelationshipsEntities$Outbound
|
|
630
|
+
| undefined;
|
|
631
|
+
};
|
|
632
|
+
|
|
633
|
+
/** @internal */
|
|
634
|
+
export const BusinessApplicationJsonApiRelationships$outboundSchema: z.ZodType<
|
|
635
|
+
BusinessApplicationJsonApiRelationships$Outbound,
|
|
636
|
+
z.ZodTypeDef,
|
|
637
|
+
BusinessApplicationJsonApiRelationships
|
|
638
|
+
> = z.object({
|
|
639
|
+
loanDetails: z.lazy(() =>
|
|
640
|
+
BusinessApplicationJsonApiRelationshipsLoanDetails$outboundSchema
|
|
641
|
+
).optional(),
|
|
642
|
+
customers: z.lazy(() =>
|
|
643
|
+
BusinessApplicationJsonApiRelationshipsCustomers$outboundSchema
|
|
644
|
+
).optional(),
|
|
645
|
+
entities: z.lazy(() =>
|
|
646
|
+
BusinessApplicationJsonApiRelationshipsEntities$outboundSchema
|
|
647
|
+
).optional(),
|
|
648
|
+
});
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* @internal
|
|
652
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
653
|
+
*/
|
|
654
|
+
export namespace BusinessApplicationJsonApiRelationships$ {
|
|
655
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationships$inboundSchema` instead. */
|
|
656
|
+
export const inboundSchema =
|
|
657
|
+
BusinessApplicationJsonApiRelationships$inboundSchema;
|
|
658
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationships$outboundSchema` instead. */
|
|
659
|
+
export const outboundSchema =
|
|
660
|
+
BusinessApplicationJsonApiRelationships$outboundSchema;
|
|
661
|
+
/** @deprecated use `BusinessApplicationJsonApiRelationships$Outbound` instead. */
|
|
662
|
+
export type Outbound = BusinessApplicationJsonApiRelationships$Outbound;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
export function businessApplicationJsonApiRelationshipsToJSON(
|
|
666
|
+
businessApplicationJsonApiRelationships:
|
|
667
|
+
BusinessApplicationJsonApiRelationships,
|
|
668
|
+
): string {
|
|
669
|
+
return JSON.stringify(
|
|
670
|
+
BusinessApplicationJsonApiRelationships$outboundSchema.parse(
|
|
671
|
+
businessApplicationJsonApiRelationships,
|
|
672
|
+
),
|
|
673
|
+
);
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
export function businessApplicationJsonApiRelationshipsFromJSON(
|
|
677
|
+
jsonString: string,
|
|
678
|
+
): SafeParseResult<
|
|
679
|
+
BusinessApplicationJsonApiRelationships,
|
|
680
|
+
SDKValidationError
|
|
681
|
+
> {
|
|
682
|
+
return safeParse(
|
|
683
|
+
jsonString,
|
|
684
|
+
(x) =>
|
|
685
|
+
BusinessApplicationJsonApiRelationships$inboundSchema.parse(
|
|
686
|
+
JSON.parse(x),
|
|
687
|
+
),
|
|
688
|
+
`Failed to parse 'BusinessApplicationJsonApiRelationships' from JSON`,
|
|
689
|
+
);
|
|
690
|
+
}
|