@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
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
# SupportingDocuments
|
|
2
|
-
(*supportingDocuments*)
|
|
3
|
-
|
|
4
|
-
## Overview
|
|
5
|
-
|
|
6
|
-
### Available Operations
|
|
7
|
-
|
|
8
|
-
* [create](#create) - Create a supporting document record in Financeable, and returns a pre-signed URL to upload this document with.
|
|
9
|
-
|
|
10
|
-
## create
|
|
11
|
-
|
|
12
|
-
Create a supporting document record in Financeable, and returns a pre-signed URL to upload this document with.
|
|
13
|
-
|
|
14
|
-
### Example Usage
|
|
15
|
-
|
|
16
|
-
<!-- UsageSnippet language="typescript" operationID="SupportingDocuments_create" method="post" path="/supporting-documents" -->
|
|
17
|
-
```typescript
|
|
18
|
-
import { Financeable } from "@financeable/aggregation";
|
|
19
|
-
|
|
20
|
-
const financeable = new Financeable({
|
|
21
|
-
clientCredentials: process.env["FINANCEABLE_CLIENT_CREDENTIALS"] ?? "",
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
async function run() {
|
|
25
|
-
const result = await financeable.supportingDocuments.create({
|
|
26
|
-
mimeType: "text/csv",
|
|
27
|
-
requestBody: {
|
|
28
|
-
data: {
|
|
29
|
-
type: "supporting-documents",
|
|
30
|
-
attributes: {
|
|
31
|
-
filename: "example.file",
|
|
32
|
-
documentType: "BANK STATEMENT",
|
|
33
|
-
},
|
|
34
|
-
relationships: {
|
|
35
|
-
application: {
|
|
36
|
-
data: {
|
|
37
|
-
type: "consumer-secured-applications",
|
|
38
|
-
id: "<id>",
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
console.log(result);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
run();
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
### Standalone function
|
|
53
|
-
|
|
54
|
-
The standalone function version of this method:
|
|
55
|
-
|
|
56
|
-
```typescript
|
|
57
|
-
import { FinanceableCore } from "@financeable/aggregation/core.js";
|
|
58
|
-
import { supportingDocumentsCreate } from "@financeable/aggregation/funcs/supportingDocumentsCreate.js";
|
|
59
|
-
|
|
60
|
-
// Use `FinanceableCore` for best tree-shaking performance.
|
|
61
|
-
// You can create one instance of it to use across an application.
|
|
62
|
-
const financeable = new FinanceableCore({
|
|
63
|
-
clientCredentials: process.env["FINANCEABLE_CLIENT_CREDENTIALS"] ?? "",
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
async function run() {
|
|
67
|
-
const res = await supportingDocumentsCreate(financeable, {
|
|
68
|
-
mimeType: "text/csv",
|
|
69
|
-
requestBody: {
|
|
70
|
-
data: {
|
|
71
|
-
type: "supporting-documents",
|
|
72
|
-
attributes: {
|
|
73
|
-
filename: "example.file",
|
|
74
|
-
documentType: "BANK STATEMENT",
|
|
75
|
-
},
|
|
76
|
-
relationships: {
|
|
77
|
-
application: {
|
|
78
|
-
data: {
|
|
79
|
-
type: "consumer-secured-applications",
|
|
80
|
-
id: "<id>",
|
|
81
|
-
},
|
|
82
|
-
},
|
|
83
|
-
},
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
});
|
|
87
|
-
if (res.ok) {
|
|
88
|
-
const { value: result } = res;
|
|
89
|
-
console.log(result);
|
|
90
|
-
} else {
|
|
91
|
-
console.log("supportingDocumentsCreate failed:", res.error);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
run();
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
### Parameters
|
|
99
|
-
|
|
100
|
-
| Parameter | Type | Required | Description |
|
|
101
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
102
|
-
| `request` | [operations.SupportingDocumentsCreateRequest](../../models/operations/supportingdocumentscreaterequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
103
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
104
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
105
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
106
|
-
|
|
107
|
-
### Response
|
|
108
|
-
|
|
109
|
-
**Promise\<[operations.SupportingDocumentsCreateResponse](../../models/operations/supportingdocumentscreateresponse.md)\>**
|
|
110
|
-
|
|
111
|
-
### Errors
|
|
112
|
-
|
|
113
|
-
| Error Type | Status Code | Content Type |
|
|
114
|
-
| --------------- | --------------- | --------------- |
|
|
115
|
-
| errors.APIError | 4XX, 5XX | \*/\* |
|
package/examples/README.md
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# @financeable/aggregation Examples
|
|
2
|
-
|
|
3
|
-
This directory contains example scripts demonstrating how to use the @financeable/aggregation SDK.
|
|
4
|
-
|
|
5
|
-
## Prerequisites
|
|
6
|
-
|
|
7
|
-
- Node.js (v18 or higher)
|
|
8
|
-
- npm
|
|
9
|
-
|
|
10
|
-
## Setup
|
|
11
|
-
|
|
12
|
-
1. Copy `.env.template` to `.env`:
|
|
13
|
-
```bash
|
|
14
|
-
cp .env.template .env
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
2. Edit `.env` and add your actual credentials (API keys, tokens, etc.)
|
|
18
|
-
|
|
19
|
-
## Running the Examples
|
|
20
|
-
|
|
21
|
-
To run an example file from the examples directory:
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
npm run build && npx tsx example.ts
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Creating new examples
|
|
28
|
-
|
|
29
|
-
Duplicate an existing example file, they won't be overwritten by the generation process.
|
|
30
|
-
|
|
31
|
-
|
package/hooks/hooks.js
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.SDKHooks = void 0;
|
|
7
|
-
class SDKHooks {
|
|
8
|
-
constructor() {
|
|
9
|
-
this.sdkInitHooks = [];
|
|
10
|
-
this.beforeCreateRequestHooks = [];
|
|
11
|
-
this.beforeRequestHooks = [];
|
|
12
|
-
this.afterSuccessHooks = [];
|
|
13
|
-
this.afterErrorHooks = [];
|
|
14
|
-
const presetHooks = [];
|
|
15
|
-
for (const hook of presetHooks) {
|
|
16
|
-
if ("sdkInit" in hook) {
|
|
17
|
-
this.registerSDKInitHook(hook);
|
|
18
|
-
}
|
|
19
|
-
if ("beforeCreateRequest" in hook) {
|
|
20
|
-
this.registerBeforeCreateRequestHook(hook);
|
|
21
|
-
}
|
|
22
|
-
if ("beforeRequest" in hook) {
|
|
23
|
-
this.registerBeforeRequestHook(hook);
|
|
24
|
-
}
|
|
25
|
-
if ("afterSuccess" in hook) {
|
|
26
|
-
this.registerAfterSuccessHook(hook);
|
|
27
|
-
}
|
|
28
|
-
if ("afterError" in hook) {
|
|
29
|
-
this.registerAfterErrorHook(hook);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
registerSDKInitHook(hook) {
|
|
34
|
-
this.sdkInitHooks.push(hook);
|
|
35
|
-
}
|
|
36
|
-
registerBeforeCreateRequestHook(hook) {
|
|
37
|
-
this.beforeCreateRequestHooks.push(hook);
|
|
38
|
-
}
|
|
39
|
-
registerBeforeRequestHook(hook) {
|
|
40
|
-
this.beforeRequestHooks.push(hook);
|
|
41
|
-
}
|
|
42
|
-
registerAfterSuccessHook(hook) {
|
|
43
|
-
this.afterSuccessHooks.push(hook);
|
|
44
|
-
}
|
|
45
|
-
registerAfterErrorHook(hook) {
|
|
46
|
-
this.afterErrorHooks.push(hook);
|
|
47
|
-
}
|
|
48
|
-
sdkInit(opts) {
|
|
49
|
-
return this.sdkInitHooks.reduce((opts, hook) => hook.sdkInit(opts), opts);
|
|
50
|
-
}
|
|
51
|
-
beforeCreateRequest(hookCtx, input) {
|
|
52
|
-
let inp = input;
|
|
53
|
-
for (const hook of this.beforeCreateRequestHooks) {
|
|
54
|
-
inp = hook.beforeCreateRequest(hookCtx, inp);
|
|
55
|
-
}
|
|
56
|
-
return inp;
|
|
57
|
-
}
|
|
58
|
-
async beforeRequest(hookCtx, request) {
|
|
59
|
-
let req = request;
|
|
60
|
-
for (const hook of this.beforeRequestHooks) {
|
|
61
|
-
req = await hook.beforeRequest(hookCtx, req);
|
|
62
|
-
}
|
|
63
|
-
return req;
|
|
64
|
-
}
|
|
65
|
-
async afterSuccess(hookCtx, response) {
|
|
66
|
-
let res = response;
|
|
67
|
-
for (const hook of this.afterSuccessHooks) {
|
|
68
|
-
res = await hook.afterSuccess(hookCtx, res);
|
|
69
|
-
}
|
|
70
|
-
return res;
|
|
71
|
-
}
|
|
72
|
-
async afterError(hookCtx, response, error) {
|
|
73
|
-
let res = response;
|
|
74
|
-
let err = error;
|
|
75
|
-
for (const hook of this.afterErrorHooks) {
|
|
76
|
-
const result = await hook.afterError(hookCtx, res, err);
|
|
77
|
-
res = result.response;
|
|
78
|
-
err = result.error;
|
|
79
|
-
}
|
|
80
|
-
return { response: res, error: err };
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
exports.SDKHooks = SDKHooks;
|
|
84
|
-
//# sourceMappingURL=hooks.js.map
|
package/hooks/hooks.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../src/hooks/hooks.ts"],"names":[],"mappings":"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"}
|
package/hooks/index.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
17
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
18
|
-
};
|
|
19
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
__exportStar(require("./hooks.js"), exports);
|
|
21
|
-
__exportStar(require("./types.js"), exports);
|
|
22
|
-
//# sourceMappingURL=index.js.map
|
package/hooks/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/hooks/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,6CAA2B;AAC3B,6CAA2B"}
|
package/hooks/types.js
DELETED
package/hooks/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/hooks/types.ts"],"names":[],"mappings":";AAAA;;GAEG"}
|
package/index.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
22
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
23
|
-
};
|
|
24
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
25
|
-
var ownKeys = function(o) {
|
|
26
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
27
|
-
var ar = [];
|
|
28
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
29
|
-
return ar;
|
|
30
|
-
};
|
|
31
|
-
return ownKeys(o);
|
|
32
|
-
};
|
|
33
|
-
return function (mod) {
|
|
34
|
-
if (mod && mod.__esModule) return mod;
|
|
35
|
-
var result = {};
|
|
36
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
37
|
-
__setModuleDefault(result, mod);
|
|
38
|
-
return result;
|
|
39
|
-
};
|
|
40
|
-
})();
|
|
41
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
|
-
exports.HTTPClient = exports.files = void 0;
|
|
43
|
-
__exportStar(require("./lib/config.js"), exports);
|
|
44
|
-
exports.files = __importStar(require("./lib/files.js"));
|
|
45
|
-
var http_js_1 = require("./lib/http.js");
|
|
46
|
-
Object.defineProperty(exports, "HTTPClient", { enumerable: true, get: function () { return http_js_1.HTTPClient; } });
|
|
47
|
-
__exportStar(require("./sdk/sdk.js"), exports);
|
|
48
|
-
//# sourceMappingURL=index.js.map
|
package/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,kDAAgC;AAChC,wDAAwC;AACxC,yCAA2C;AAAlC,qGAAA,UAAU,OAAA;AAEnB,+CAA6B"}
|
package/lib/base64.js
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.zodInbound = exports.zodOutbound = void 0;
|
|
40
|
-
exports.bytesToBase64 = bytesToBase64;
|
|
41
|
-
exports.bytesFromBase64 = bytesFromBase64;
|
|
42
|
-
exports.stringToBytes = stringToBytes;
|
|
43
|
-
exports.stringFromBytes = stringFromBytes;
|
|
44
|
-
exports.stringToBase64 = stringToBase64;
|
|
45
|
-
exports.stringFromBase64 = stringFromBase64;
|
|
46
|
-
const z = __importStar(require("zod/v3"));
|
|
47
|
-
function bytesToBase64(u8arr) {
|
|
48
|
-
return btoa(String.fromCodePoint(...u8arr));
|
|
49
|
-
}
|
|
50
|
-
function bytesFromBase64(encoded) {
|
|
51
|
-
return Uint8Array.from(atob(encoded), (c) => c.charCodeAt(0));
|
|
52
|
-
}
|
|
53
|
-
function stringToBytes(str) {
|
|
54
|
-
return new TextEncoder().encode(str);
|
|
55
|
-
}
|
|
56
|
-
function stringFromBytes(u8arr) {
|
|
57
|
-
return new TextDecoder().decode(u8arr);
|
|
58
|
-
}
|
|
59
|
-
function stringToBase64(str) {
|
|
60
|
-
return bytesToBase64(stringToBytes(str));
|
|
61
|
-
}
|
|
62
|
-
function stringFromBase64(b64str) {
|
|
63
|
-
return stringFromBytes(bytesFromBase64(b64str));
|
|
64
|
-
}
|
|
65
|
-
exports.zodOutbound = z
|
|
66
|
-
.instanceof(Uint8Array)
|
|
67
|
-
.or(z.string().transform(stringToBytes));
|
|
68
|
-
exports.zodInbound = z
|
|
69
|
-
.instanceof(Uint8Array)
|
|
70
|
-
.or(z.string().transform(bytesFromBase64));
|
|
71
|
-
//# sourceMappingURL=base64.js.map
|
package/lib/base64.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base64.js","sourceRoot":"","sources":["../src/lib/base64.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIH,sCAEC;AAED,0CAEC;AAED,sCAEC;AAED,0CAEC;AAED,wCAEC;AAED,4CAEC;AAxBD,0CAA4B;AAE5B,SAAgB,aAAa,CAAC,KAAiB;IAC7C,OAAO,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC;AAC9C,CAAC;AAED,SAAgB,eAAe,CAAC,OAAe;IAC7C,OAAO,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;AAChE,CAAC;AAED,SAAgB,aAAa,CAAC,GAAW;IACvC,OAAO,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AACvC,CAAC;AAED,SAAgB,eAAe,CAAC,KAAiB;IAC/C,OAAO,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AACzC,CAAC;AAED,SAAgB,cAAc,CAAC,GAAW;IACxC,OAAO,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC;AAC3C,CAAC;AAED,SAAgB,gBAAgB,CAAC,MAAc;IAC7C,OAAO,eAAe,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;AAClD,CAAC;AAEY,QAAA,WAAW,GAAG,CAAC;KACzB,UAAU,CAAC,UAAU,CAAC;KACtB,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC;AAE9B,QAAA,UAAU,GAAG,CAAC;KACxB,UAAU,CAAC,UAAU,CAAC;KACtB,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC,CAAC"}
|
package/lib/config.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { HTTPClient } from "./http.js";
|
|
2
|
-
import { Logger } from "./logger.js";
|
|
3
|
-
import { RetryConfig } from "./retries.js";
|
|
4
|
-
/**
|
|
5
|
-
* Contains the list of servers available to the SDK
|
|
6
|
-
*/
|
|
7
|
-
export declare const ServerList: readonly ["https://server.api.financeable.com.au"];
|
|
8
|
-
export type SDKOptions = {
|
|
9
|
-
clientCredentials?: string | (() => Promise<string>) | undefined;
|
|
10
|
-
httpClient?: HTTPClient;
|
|
11
|
-
/**
|
|
12
|
-
* Allows overriding the default server used by the SDK
|
|
13
|
-
*/
|
|
14
|
-
serverIdx?: number | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* Allows overriding the default server URL used by the SDK
|
|
17
|
-
*/
|
|
18
|
-
serverURL?: string | undefined;
|
|
19
|
-
/**
|
|
20
|
-
* Allows overriding the default user agent used by the SDK
|
|
21
|
-
*/
|
|
22
|
-
userAgent?: string | undefined;
|
|
23
|
-
/**
|
|
24
|
-
* Allows overriding the default retry config used by the SDK
|
|
25
|
-
*/
|
|
26
|
-
retryConfig?: RetryConfig;
|
|
27
|
-
timeoutMs?: number;
|
|
28
|
-
debugLogger?: Logger;
|
|
29
|
-
};
|
|
30
|
-
export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
31
|
-
export declare const SDK_METADATA: {
|
|
32
|
-
readonly language: "typescript";
|
|
33
|
-
readonly openapiDocVersion: "0.4.0";
|
|
34
|
-
readonly sdkVersion: "0.12.0";
|
|
35
|
-
readonly genVersion: "2.735.1";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.12.0 2.735.1 0.4.0 @financeable/aggregation";
|
|
37
|
-
};
|
|
38
|
-
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAG3C;;GAEG;AACH,eAAO,MAAM,UAAU,oDAEb,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG;IACvB,iBAAiB,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;IAEjE,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,UAAU,GAAG,GAAG,GAAG,IAAI,CAepE;AAED,eAAO,MAAM,YAAY;;;;;;CAOf,CAAC"}
|
package/lib/config.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.SDK_METADATA = exports.ServerList = void 0;
|
|
7
|
-
exports.serverURLFromOptions = serverURLFromOptions;
|
|
8
|
-
const url_js_1 = require("./url.js");
|
|
9
|
-
/**
|
|
10
|
-
* Contains the list of servers available to the SDK
|
|
11
|
-
*/
|
|
12
|
-
exports.ServerList = [
|
|
13
|
-
"https://server.api.financeable.com.au",
|
|
14
|
-
];
|
|
15
|
-
function serverURLFromOptions(options) {
|
|
16
|
-
let serverURL = options.serverURL;
|
|
17
|
-
const params = {};
|
|
18
|
-
if (!serverURL) {
|
|
19
|
-
const serverIdx = options.serverIdx ?? 0;
|
|
20
|
-
if (serverIdx < 0 || serverIdx >= exports.ServerList.length) {
|
|
21
|
-
throw new Error(`Invalid server index ${serverIdx}`);
|
|
22
|
-
}
|
|
23
|
-
serverURL = exports.ServerList[serverIdx] || "";
|
|
24
|
-
}
|
|
25
|
-
const u = (0, url_js_1.pathToFunc)(serverURL)(params);
|
|
26
|
-
return new URL(u);
|
|
27
|
-
}
|
|
28
|
-
exports.SDK_METADATA = {
|
|
29
|
-
language: "typescript",
|
|
30
|
-
openapiDocVersion: "0.4.0",
|
|
31
|
-
sdkVersion: "0.12.0",
|
|
32
|
-
genVersion: "2.735.1",
|
|
33
|
-
userAgent: "speakeasy-sdk/typescript 0.12.0 2.735.1 0.4.0 @financeable/aggregation",
|
|
34
|
-
};
|
|
35
|
-
//# sourceMappingURL=config.js.map
|
package/lib/config.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAsCH,oDAeC;AAhDD,qCAA8C;AAE9C;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,uCAAuC;CAC/B,CAAC;AA0BX,SAAgB,oBAAoB,CAAC,OAAmB;IACtD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,MAAM,GAAW,EAAE,CAAC;IAE1B,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,CAAC,CAAC;QACzC,IAAI,SAAS,GAAG,CAAC,IAAI,SAAS,IAAI,kBAAU,CAAC,MAAM,EAAE,CAAC;YACpD,MAAM,IAAI,KAAK,CAAC,wBAAwB,SAAS,EAAE,CAAC,CAAC;QACvD,CAAC;QACD,SAAS,GAAG,kBAAU,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAC1C,CAAC;IAED,MAAM,CAAC,GAAG,IAAA,mBAAU,EAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAEY,QAAA,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,OAAO;IAC1B,UAAU,EAAE,QAAQ;IACpB,UAAU,EAAE,SAAS;IACrB,SAAS,EACP,wEAAwE;CAClE,CAAC"}
|
package/lib/dlv.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @param obj The object to walk
|
|
3
|
-
* @param key The key path to walk the object with
|
|
4
|
-
* @param def A default value to return if the result is undefined
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* dlv(obj, "a.b.c.d")
|
|
8
|
-
* @example
|
|
9
|
-
* dlv(object, ["a", "b", "c", "d"])
|
|
10
|
-
* @example
|
|
11
|
-
* dlv(object, "foo.bar.baz", "Hello, default value!")
|
|
12
|
-
*/
|
|
13
|
-
export declare function dlv<T = any>(obj: any, key: string | string[], def?: T, p?: number, undef?: never): T | undefined;
|
|
14
|
-
//# sourceMappingURL=dlv.d.ts.map
|
package/lib/dlv.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dlv.d.ts","sourceRoot":"","sources":["../src/lib/dlv.ts"],"names":[],"mappings":"AA2BA;;;;;;;;;;;GAWG;AACH,wBAAgB,GAAG,CAAC,CAAC,GAAG,GAAG,EACzB,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,EACtB,GAAG,CAAC,EAAE,CAAC,EACP,CAAC,CAAC,EAAE,MAAM,EACV,KAAK,CAAC,EAAE,KAAK,GACZ,CAAC,GAAG,SAAS,CAOf"}
|
package/lib/dlv.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.dlv = dlv;
|
|
7
|
-
/*
|
|
8
|
-
MIT License
|
|
9
|
-
|
|
10
|
-
Copyright (c) 2024 Jason Miller <jason@developit.ca> (http://jasonformat.com)
|
|
11
|
-
|
|
12
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
13
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
14
|
-
the Software without restriction, including without limitation the rights to
|
|
15
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
16
|
-
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
17
|
-
subject to the following conditions:
|
|
18
|
-
|
|
19
|
-
The above copyright notice and this permission notice shall be included in all
|
|
20
|
-
copies or substantial portions of the Software.
|
|
21
|
-
|
|
22
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
24
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
25
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
26
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
27
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
28
|
-
*/
|
|
29
|
-
/**
|
|
30
|
-
* @param obj The object to walk
|
|
31
|
-
* @param key The key path to walk the object with
|
|
32
|
-
* @param def A default value to return if the result is undefined
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* dlv(obj, "a.b.c.d")
|
|
36
|
-
* @example
|
|
37
|
-
* dlv(object, ["a", "b", "c", "d"])
|
|
38
|
-
* @example
|
|
39
|
-
* dlv(object, "foo.bar.baz", "Hello, default value!")
|
|
40
|
-
*/
|
|
41
|
-
function dlv(obj, key, def, p, undef) {
|
|
42
|
-
key = Array.isArray(key) ? key : key.split(".");
|
|
43
|
-
for (p = 0; p < key.length; p++) {
|
|
44
|
-
const k = key[p];
|
|
45
|
-
obj = k != null && obj ? obj[k] : undef;
|
|
46
|
-
}
|
|
47
|
-
return obj === undef ? def : obj;
|
|
48
|
-
}
|
|
49
|
-
//# sourceMappingURL=dlv.js.map
|
package/lib/dlv.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dlv.js","sourceRoot":"","sources":["../src/lib/dlv.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAqCH,kBAaC;AAhDD;;;;;;;;;;;;;;;;;;;;;EAqBE;AAEF;;;;;;;;;;;GAWG;AACH,SAAgB,GAAG,CACjB,GAAQ,EACR,GAAsB,EACtB,GAAO,EACP,CAAU,EACV,KAAa;IAEb,GAAG,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAChD,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QAChC,MAAM,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;QACjB,GAAG,GAAG,CAAC,IAAI,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IAC1C,CAAC;IACD,OAAO,GAAG,KAAK,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;AACnC,CAAC"}
|