@financeable/aggregation 0.13.2 → 0.13.4
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/core.js +17 -0
- package/hooks/hooks.js +84 -0
- package/hooks/hooks.js.map +1 -0
- package/hooks/index.js +22 -0
- package/hooks/index.js.map +1 -0
- package/hooks/oauth2scopes.d.ts +13 -0
- package/hooks/oauth2scopes.d.ts.map +1 -0
- package/hooks/oauth2scopes.js +6 -0
- package/hooks/oauth2scopes.js.map +1 -0
- package/hooks/types.js +6 -0
- package/hooks/types.js.map +1 -0
- package/index.js +48 -0
- package/lib/base64.js +71 -0
- package/lib/base64.js.map +1 -0
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/lib/dlv.d.ts +14 -0
- package/lib/dlv.d.ts.map +1 -0
- package/lib/dlv.js +49 -0
- package/lib/dlv.js.map +1 -0
- package/lib/encodings.js +379 -0
- package/lib/encodings.js.map +1 -0
- package/lib/env.js +82 -0
- package/lib/env.js.map +1 -0
- package/lib/files.d.ts +13 -0
- package/lib/files.d.ts.map +1 -0
- package/lib/files.js +77 -0
- package/lib/files.js.map +1 -0
- package/lib/http.d.ts +67 -0
- package/lib/http.d.ts.map +1 -0
- package/lib/http.js +217 -0
- package/lib/http.js.map +1 -0
- package/lib/is-plain-object.d.ts +2 -0
- package/lib/is-plain-object.d.ts.map +1 -0
- package/lib/is-plain-object.js +41 -0
- package/lib/is-plain-object.js.map +1 -0
- package/lib/logger.d.ts +6 -0
- package/lib/logger.d.ts.map +1 -0
- package/lib/logger.js +6 -0
- package/lib/logger.js.map +1 -0
- package/lib/matchers.js +218 -0
- package/lib/matchers.js.map +1 -0
- package/lib/primitives.d.ts +26 -0
- package/lib/primitives.d.ts.map +1 -0
- package/lib/primitives.js +111 -0
- package/lib/primitives.js.map +1 -0
- package/lib/retries.d.ts +38 -0
- package/lib/retries.d.ts.map +1 -0
- package/lib/retries.js +153 -0
- package/lib/retries.js.map +1 -0
- package/lib/schemas.js +62 -0
- package/lib/schemas.js.map +1 -0
- package/lib/sdks.js +274 -0
- package/lib/sdks.js.map +1 -0
- package/lib/security.js +145 -0
- package/lib/security.js.map +1 -0
- package/lib/url.d.ts +5 -0
- package/lib/url.d.ts.map +1 -0
- package/lib/url.js +25 -0
- package/lib/url.js.map +1 -0
- package/models/components/addressattributes.js +98 -0
- package/models/components/addressattributes.js.map +1 -0
- package/models/components/apierrorlinks.js +50 -0
- package/models/components/apierrorlinks.js.map +1 -0
- package/models/components/applicationresource.js +57 -0
- package/models/components/applicationresource.js.map +1 -0
- package/models/components/applicationstatus.js +53 -0
- package/models/components/applicationstatus.js.map +1 -0
- package/models/components/australianstatesandterritories.js +55 -0
- package/models/components/australianstatesandterritories.js.map +1 -0
- package/models/components/badrequesterror.js +69 -0
- package/models/components/badrequesterror.js.map +1 -0
- package/models/components/businessapplicationjsonapirelationships.js +126 -0
- package/models/components/businessapplicationjsonapirelationships.js.map +1 -0
- package/models/components/businessapplicationpayload.js +79 -0
- package/models/components/businessapplicationpayload.js.map +1 -0
- package/models/components/businessapplicationresource.js +82 -0
- package/models/components/businessapplicationresource.js.map +1 -0
- package/models/components/businessloanbusinessapplicationrelationships.js +221 -0
- package/models/components/businessloanbusinessapplicationrelationships.js.map +1 -0
- package/models/components/commercialapplicationjsonapirelationships.js +153 -0
- package/models/components/commercialapplicationjsonapirelationships.js.map +1 -0
- package/models/components/commercialsecuredapplicationpayload.js +88 -0
- package/models/components/commercialsecuredapplicationpayload.js.map +1 -0
- package/models/components/commercialsecuredapplicationresource.js +81 -0
- package/models/components/commercialsecuredapplicationresource.js.map +1 -0
- package/models/components/commercialsecuredloanassetattributes.js +223 -0
- package/models/components/commercialsecuredloanassetattributes.js.map +1 -0
- package/models/components/commercialsecuredloanassettype.js +73 -0
- package/models/components/commercialsecuredloanassettype.js.map +1 -0
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js +247 -0
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -0
- package/models/components/commercialsecuredloantypeofsale.js +53 -0
- package/models/components/commercialsecuredloantypeofsale.js.map +1 -0
- package/models/components/consumerapplicationjsonapirelationships.js +127 -0
- package/models/components/consumerapplicationjsonapirelationships.js.map +1 -0
- package/models/components/consumersecuredapplicationpayload.js +89 -0
- package/models/components/consumersecuredapplicationpayload.js.map +1 -0
- package/models/components/consumersecuredapplicationresource.js +82 -0
- package/models/components/consumersecuredapplicationresource.js.map +1 -0
- package/models/components/consumersecuredloanassetattributes.js +225 -0
- package/models/components/consumersecuredloanassetattributes.js.map +1 -0
- package/models/components/consumersecuredloanassettype.js +61 -0
- package/models/components/consumersecuredloanassettype.js.map +1 -0
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js +280 -0
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -0
- package/models/components/consumersecuredloantypeofsale.js +53 -0
- package/models/components/consumersecuredloantypeofsale.js.map +1 -0
- package/models/components/createsupportingdocumentsresponse.js +82 -0
- package/models/components/createsupportingdocumentsresponse.js.map +1 -0
- package/models/components/currencycodeiso4217.js +48 -0
- package/models/components/currencycodeiso4217.js.map +1 -0
- package/models/components/customerassetattributes.js +66 -0
- package/models/components/customerassetattributes.js.map +1 -0
- package/models/components/customerassettype.js +55 -0
- package/models/components/customerassettype.js.map +1 -0
- package/models/components/customerattributes.js +68 -0
- package/models/components/customerattributes.js.map +1 -0
- package/models/components/customerattributescreateitem.js +73 -0
- package/models/components/customerattributescreateitem.js.map +1 -0
- package/models/components/customeridtype.js +47 -0
- package/models/components/customeridtype.js.map +1 -0
- package/models/components/customerliabilityattributes.js +77 -0
- package/models/components/customerliabilityattributes.js.map +1 -0
- package/models/components/customerliabilityrepaymentfrequency.js +50 -0
- package/models/components/customerliabilityrepaymentfrequency.js.map +1 -0
- package/models/components/customerliabilitytype.js +53 -0
- package/models/components/customerliabilitytype.js.map +1 -0
- package/models/components/customertitle.js +51 -0
- package/models/components/customertitle.js.map +1 -0
- package/models/components/documenttype.js +64 -0
- package/models/components/documenttype.js.map +1 -0
- package/models/components/entityattributes.js +91 -0
- package/models/components/entityattributes.js.map +1 -0
- package/models/components/entityattributesinput.js +55 -0
- package/models/components/entityattributesinput.js.map +1 -0
- package/models/components/errorsource.js +52 -0
- package/models/components/errorsource.js.map +1 -0
- package/models/components/expenseattributes.js +55 -0
- package/models/components/expenseattributes.js.map +1 -0
- package/models/components/expensefrequency.js +48 -0
- package/models/components/expensefrequency.js.map +1 -0
- package/models/components/expensetype.js +65 -0
- package/models/components/expensetype.js.map +1 -0
- package/models/components/forbiddenerror.js +74 -0
- package/models/components/forbiddenerror.js.map +1 -0
- package/models/components/frequencytype.js +53 -0
- package/models/components/frequencytype.js.map +1 -0
- package/models/components/incomeattributes.js +55 -0
- package/models/components/incomeattributes.js.map +1 -0
- package/models/components/incomefrequency.js +49 -0
- package/models/components/incomefrequency.js.map +1 -0
- package/models/components/incometype.js +55 -0
- package/models/components/incometype.js.map +1 -0
- package/models/components/index.js +91 -0
- package/models/components/index.js.map +1 -0
- package/models/components/linkobject.js +66 -0
- package/models/components/linkobject.js.map +1 -0
- package/models/components/livingarrangements.js +51 -0
- package/models/components/livingarrangements.js.map +1 -0
- package/models/components/loandetailsattributes.js +256 -0
- package/models/components/loandetailsattributes.js.map +1 -0
- package/models/components/maritalstatus.js +49 -0
- package/models/components/maritalstatus.js.map +1 -0
- package/models/components/monetaryquantity.js +71 -0
- package/models/components/monetaryquantity.js.map +1 -0
- package/models/components/paginationlinks.js +53 -0
- package/models/components/paginationlinks.js.map +1 -0
- package/models/components/paginationmeta.js +60 -0
- package/models/components/paginationmeta.js.map +1 -0
- package/models/components/percentagequantity.js +67 -0
- package/models/components/percentagequantity.js.map +1 -0
- package/models/components/personalapplicationjsonapirelationships.js +101 -0
- package/models/components/personalapplicationjsonapirelationships.js.map +1 -0
- package/models/components/personalapplicationpayload.js +79 -0
- package/models/components/personalapplicationpayload.js.map +1 -0
- package/models/components/personalapplicationresource.js +82 -0
- package/models/components/personalapplicationresource.js.map +1 -0
- package/models/components/personalloanpersonalapplicationrelationships.js +249 -0
- package/models/components/personalloanpersonalapplicationrelationships.js.map +1 -0
- package/models/components/relationshipresourcenotfound.js +74 -0
- package/models/components/relationshipresourcenotfound.js.map +1 -0
- package/models/components/repaymentstructure.js +53 -0
- package/models/components/repaymentstructure.js.map +1 -0
- package/models/components/residencystatus.js +52 -0
- package/models/components/residencystatus.js.map +1 -0
- package/models/components/resourcenotfound.js +74 -0
- package/models/components/resourcenotfound.js.map +1 -0
- package/models/components/security.js +49 -0
- package/models/components/security.js.map +1 -0
- package/models/components/supportingdocumentattributes.js +53 -0
- package/models/components/supportingdocumentattributes.js.map +1 -0
- package/models/components/supportingdocumentattributesinput.js +51 -0
- package/models/components/supportingdocumentattributesinput.js.map +1 -0
- package/models/components/supportingdocumentrelationships.js +269 -0
- package/models/components/supportingdocumentrelationships.js.map +1 -0
- package/models/components/supportingdocumentresource.js +61 -0
- package/models/components/supportingdocumentresource.js.map +1 -0
- package/models/components/tokenrequest.js +68 -0
- package/models/components/tokenrequest.js.map +1 -0
- package/models/components/tokenresponse.js +60 -0
- package/models/components/tokenresponse.js.map +1 -0
- package/models/components/uploadmimetype.js +55 -0
- package/models/components/uploadmimetype.js.map +1 -0
- package/models/errors/apierror.d.ts +10 -0
- package/models/errors/apierror.d.ts.map +1 -0
- package/models/errors/apierror.js +34 -0
- package/models/errors/apierror.js.map +1 -0
- package/models/errors/financeableerror.d.ts +19 -0
- package/models/errors/financeableerror.d.ts.map +1 -0
- package/models/errors/financeableerror.js +20 -0
- package/models/errors/financeableerror.js.map +1 -0
- package/models/errors/httpclienterrors.d.ts +44 -0
- package/models/errors/httpclienterrors.d.ts.map +1 -0
- package/models/errors/httpclienterrors.js +78 -0
- package/models/errors/httpclienterrors.js.map +1 -0
- package/models/errors/index.js +25 -0
- package/models/errors/index.js.map +1 -0
- package/models/errors/responsevalidationerror.js +66 -0
- package/models/errors/responsevalidationerror.js.map +1 -0
- package/models/errors/sdkvalidationerror.js +129 -0
- package/models/errors/sdkvalidationerror.js.map +1 -0
- package/models/operations/createapplication.js +278 -0
- package/models/operations/createapplication.js.map +1 -0
- package/models/operations/getapplication.js +256 -0
- package/models/operations/getapplication.js.map +1 -0
- package/models/operations/index.js +24 -0
- package/models/operations/index.js.map +1 -0
- package/models/operations/listapplications.js +94 -0
- package/models/operations/listapplications.js.map +1 -0
- package/models/operations/supportingdocumentscreate.js +133 -0
- package/models/operations/supportingdocumentscreate.js.map +1 -0
- package/package.json +2 -5
- package/sdk/index.js +21 -0
- package/sdk/index.js.map +1 -0
- package/sdk/sdk.js +23 -0
- package/sdk/sdk.js.map +1 -0
- package/src/lib/config.ts +2 -2
- package/types/async.d.ts +23 -0
- package/types/async.d.ts.map +1 -0
- package/types/async.js +44 -0
- package/types/async.js.map +1 -0
- package/types/blobs.js +62 -0
- package/types/blobs.js.map +1 -0
- package/types/constdatetime.js +46 -0
- package/types/constdatetime.js.map +1 -0
- package/types/enums.js +66 -0
- package/types/enums.js.map +1 -0
- package/types/fp.d.ts +31 -0
- package/types/fp.d.ts.map +1 -0
- package/types/fp.js +37 -0
- package/types/fp.js.map +1 -0
- package/types/index.js +29 -0
- package/types/index.js.map +1 -0
- package/types/operations.d.ts +27 -0
- package/types/operations.d.ts.map +1 -0
- package/types/operations.js +83 -0
- package/types/operations.js.map +1 -0
- package/types/rfcdate.d.ts +21 -0
- package/types/rfcdate.d.ts.map +1 -0
- package/types/rfcdate.js +46 -0
- package/types/rfcdate.js.map +1 -0
- package/types/streams.d.ts +2 -0
- package/types/streams.d.ts.map +1 -0
- package/types/streams.js +18 -0
- package/types/streams.js.map +1 -0
- package/types/unrecognized.d.ts +16 -0
- package/types/unrecognized.d.ts.map +1 -0
- package/types/unrecognized.js +34 -0
- package/types/unrecognized.js.map +1 -0
|
@@ -0,0 +1,68 @@
|
|
|
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.CustomerAttributes$inboundSchema = void 0;
|
|
40
|
+
exports.customerAttributesFromJSON = customerAttributesFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
+
const customertitle_js_1 = require("./customertitle.js");
|
|
44
|
+
const livingarrangements_js_1 = require("./livingarrangements.js");
|
|
45
|
+
const maritalstatus_js_1 = require("./maritalstatus.js");
|
|
46
|
+
const percentagequantity_js_1 = require("./percentagequantity.js");
|
|
47
|
+
const residencystatus_js_1 = require("./residencystatus.js");
|
|
48
|
+
/** @internal */
|
|
49
|
+
exports.CustomerAttributes$inboundSchema = z.object({
|
|
50
|
+
id: z.string().optional(),
|
|
51
|
+
title: customertitle_js_1.CustomerTitle$inboundSchema.optional(),
|
|
52
|
+
firstName: z.string().optional(),
|
|
53
|
+
middleNames: z.string().optional(),
|
|
54
|
+
lastName: z.string().optional(),
|
|
55
|
+
dateOfBirth: z.string().optional(),
|
|
56
|
+
cardNumber: z.string().optional(),
|
|
57
|
+
emailAddresses: z.array(z.string()).optional(),
|
|
58
|
+
phoneNumbers: z.array(z.string()).optional(),
|
|
59
|
+
numberOfDependents: z.number().int().optional(),
|
|
60
|
+
residencyStatus: residencystatus_js_1.ResidencyStatus$inboundSchema.optional(),
|
|
61
|
+
livingArrangements: livingarrangements_js_1.LivingArrangements$inboundSchema.optional(),
|
|
62
|
+
maritalStatus: maritalstatus_js_1.MaritalStatus$inboundSchema.optional(),
|
|
63
|
+
proportionOfSharedExpenses: percentagequantity_js_1.PercentageQuantity$inboundSchema.optional(),
|
|
64
|
+
});
|
|
65
|
+
function customerAttributesFromJSON(jsonString) {
|
|
66
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CustomerAttributes$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CustomerAttributes' from JSON`);
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=customerattributes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customerattributes.js","sourceRoot":"","sources":["../../src/models/components/customerattributes.ts"],"names":[],"mappings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AE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
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.CustomerAttributesCreateItem$outboundSchema = void 0;
|
|
40
|
+
exports.customerAttributesCreateItemToJSON = customerAttributesCreateItemToJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const australianstatesandterritories_js_1 = require("./australianstatesandterritories.js");
|
|
43
|
+
const customeridtype_js_1 = require("./customeridtype.js");
|
|
44
|
+
const customertitle_js_1 = require("./customertitle.js");
|
|
45
|
+
const livingarrangements_js_1 = require("./livingarrangements.js");
|
|
46
|
+
const maritalstatus_js_1 = require("./maritalstatus.js");
|
|
47
|
+
const percentagequantity_js_1 = require("./percentagequantity.js");
|
|
48
|
+
const residencystatus_js_1 = require("./residencystatus.js");
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.CustomerAttributesCreateItem$outboundSchema = z.object({
|
|
51
|
+
id: z.string().optional(),
|
|
52
|
+
title: customertitle_js_1.CustomerTitle$outboundSchema.optional(),
|
|
53
|
+
firstName: z.string().optional(),
|
|
54
|
+
middleNames: z.string().optional(),
|
|
55
|
+
lastName: z.string().optional(),
|
|
56
|
+
dateOfBirth: z.string().optional(),
|
|
57
|
+
idExpiryDate: z.string().optional(),
|
|
58
|
+
idType: customeridtype_js_1.CustomerIDType$outboundSchema.optional(),
|
|
59
|
+
idState: australianstatesandterritories_js_1.AustralianStatesAndTerritories$outboundSchema.optional(),
|
|
60
|
+
idNumber: z.string().optional(),
|
|
61
|
+
cardNumber: z.string().optional(),
|
|
62
|
+
emailAddresses: z.array(z.string()).optional(),
|
|
63
|
+
phoneNumbers: z.array(z.string()).optional(),
|
|
64
|
+
numberOfDependents: z.number().int().optional(),
|
|
65
|
+
residencyStatus: residencystatus_js_1.ResidencyStatus$outboundSchema.optional(),
|
|
66
|
+
livingArrangements: livingarrangements_js_1.LivingArrangements$outboundSchema.optional(),
|
|
67
|
+
maritalStatus: maritalstatus_js_1.MaritalStatus$outboundSchema.optional(),
|
|
68
|
+
proportionOfSharedExpenses: percentagequantity_js_1.PercentageQuantity$outboundSchema.optional(),
|
|
69
|
+
});
|
|
70
|
+
function customerAttributesCreateItemToJSON(customerAttributesCreateItem) {
|
|
71
|
+
return JSON.stringify(exports.CustomerAttributesCreateItem$outboundSchema.parse(customerAttributesCreateItem));
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=customerattributescreateitem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customerattributescreateitem.js","sourceRoot":"","sources":["../../src/models/components/customerattributescreateitem.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgJH,gFAQC;AAtJD,0CAA4B;AAC5B,2FAG6C;AAC7C,2DAG6B;AAC7B,yDAG4B;AAC5B,mEAGiC;AACjC,yDAG4B;AAC5B,mEAIiC;AACjC,6DAG8B;AAuF9B,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,KAAK,EAAE,+CAA4B,CAAC,QAAQ,EAAE;IAC9C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,MAAM,EAAE,iDAA6B,CAAC,QAAQ,EAAE;IAChD,OAAO,EAAE,iFAA6C,CAAC,QAAQ,EAAE;IACjE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC5C,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC/C,eAAe,EAAE,mDAA8B,CAAC,QAAQ,EAAE;IAC1D,kBAAkB,EAAE,yDAAiC,CAAC,QAAQ,EAAE;IAChE,aAAa,EAAE,+CAA4B,CAAC,QAAQ,EAAE;IACtD,0BAA0B,EAAE,yDAAiC,CAAC,QAAQ,EAAE;CACzE,CAAC,CAAC;AAEH,SAAgB,kCAAkC,CAChD,4BAA0D;IAE1D,OAAO,IAAI,CAAC,SAAS,CACnB,mDAA2C,CAAC,KAAK,CAC/C,4BAA4B,CAC7B,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.CustomerIDType$outboundSchema = exports.CustomerIDType = void 0;
|
|
40
|
+
const z = __importStar(require("zod/v3"));
|
|
41
|
+
exports.CustomerIDType = {
|
|
42
|
+
Passport: "passport",
|
|
43
|
+
Licence: "licence",
|
|
44
|
+
};
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.CustomerIDType$outboundSchema = z.nativeEnum(exports.CustomerIDType);
|
|
47
|
+
//# sourceMappingURL=customeridtype.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customeridtype.js","sourceRoot":"","sources":["../../src/models/components/customeridtype.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAGf,QAAA,cAAc,GAAG;IAC5B,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;CACV,CAAC;AAGX,gBAAgB;AACH,QAAA,6BAA6B,GAEtC,CAAC,CAAC,UAAU,CAAC,sBAAc,CAAC,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
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.CustomerLiabilityAttributes$outboundSchema = exports.CustomerLiabilityAttributes$inboundSchema = void 0;
|
|
40
|
+
exports.customerLiabilityAttributesToJSON = customerLiabilityAttributesToJSON;
|
|
41
|
+
exports.customerLiabilityAttributesFromJSON = customerLiabilityAttributesFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const customerliabilityrepaymentfrequency_js_1 = require("./customerliabilityrepaymentfrequency.js");
|
|
45
|
+
const customerliabilitytype_js_1 = require("./customerliabilitytype.js");
|
|
46
|
+
const monetaryquantity_js_1 = require("./monetaryquantity.js");
|
|
47
|
+
/** @internal */
|
|
48
|
+
exports.CustomerLiabilityAttributes$inboundSchema = z.object({
|
|
49
|
+
id: z.string().optional(),
|
|
50
|
+
liabilityType: customerliabilitytype_js_1.CustomerLiabilityType$inboundSchema.optional(),
|
|
51
|
+
outstandingAmount: monetaryquantity_js_1.MonetaryQuantity$inboundSchema.optional(),
|
|
52
|
+
limit: monetaryquantity_js_1.MonetaryQuantity$inboundSchema.optional(),
|
|
53
|
+
financier: z.string().optional(),
|
|
54
|
+
repaymentFrequency: customerliabilityrepaymentfrequency_js_1.CustomerLiabilityRepaymentFrequency$inboundSchema
|
|
55
|
+
.optional(),
|
|
56
|
+
repaymentAmount: monetaryquantity_js_1.MonetaryQuantity$inboundSchema.optional(),
|
|
57
|
+
description: z.string().optional(),
|
|
58
|
+
});
|
|
59
|
+
/** @internal */
|
|
60
|
+
exports.CustomerLiabilityAttributes$outboundSchema = z.object({
|
|
61
|
+
id: z.string().optional(),
|
|
62
|
+
liabilityType: customerliabilitytype_js_1.CustomerLiabilityType$outboundSchema.optional(),
|
|
63
|
+
outstandingAmount: monetaryquantity_js_1.MonetaryQuantity$outboundSchema.optional(),
|
|
64
|
+
limit: monetaryquantity_js_1.MonetaryQuantity$outboundSchema.optional(),
|
|
65
|
+
financier: z.string().optional(),
|
|
66
|
+
repaymentFrequency: customerliabilityrepaymentfrequency_js_1.CustomerLiabilityRepaymentFrequency$outboundSchema
|
|
67
|
+
.optional(),
|
|
68
|
+
repaymentAmount: monetaryquantity_js_1.MonetaryQuantity$outboundSchema.optional(),
|
|
69
|
+
description: z.string().optional(),
|
|
70
|
+
});
|
|
71
|
+
function customerLiabilityAttributesToJSON(customerLiabilityAttributes) {
|
|
72
|
+
return JSON.stringify(exports.CustomerLiabilityAttributes$outboundSchema.parse(customerLiabilityAttributes));
|
|
73
|
+
}
|
|
74
|
+
function customerLiabilityAttributesFromJSON(jsonString) {
|
|
75
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CustomerLiabilityAttributes$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CustomerLiabilityAttributes' from JSON`);
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=customerliabilityattributes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customerliabilityattributes.js","sourceRoot":"","sources":["../../src/models/components/customerliabilityattributes.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+EH,8EAQC;AACD,kFAQC;AA9FD,0CAA4B;AAC5B,qDAAiD;AAGjD,qGAIkD;AAClD,yEAIoC;AACpC,+DAK+B;AAa/B,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,aAAa,EAAE,8DAAmC,CAAC,QAAQ,EAAE;IAC7D,iBAAiB,EAAE,oDAA8B,CAAC,QAAQ,EAAE;IAC5D,KAAK,EAAE,oDAA8B,CAAC,QAA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|
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.CustomerLiabilityRepaymentFrequency$outboundSchema = exports.CustomerLiabilityRepaymentFrequency$inboundSchema = exports.CustomerLiabilityRepaymentFrequency = void 0;
|
|
40
|
+
const z = __importStar(require("zod/v3"));
|
|
41
|
+
exports.CustomerLiabilityRepaymentFrequency = {
|
|
42
|
+
Monthly: "MONTHLY",
|
|
43
|
+
Weekly: "WEEKLY",
|
|
44
|
+
Fortnightly: "FORTNIGHTLY",
|
|
45
|
+
};
|
|
46
|
+
/** @internal */
|
|
47
|
+
exports.CustomerLiabilityRepaymentFrequency$inboundSchema = z.nativeEnum(exports.CustomerLiabilityRepaymentFrequency);
|
|
48
|
+
/** @internal */
|
|
49
|
+
exports.CustomerLiabilityRepaymentFrequency$outboundSchema = exports.CustomerLiabilityRepaymentFrequency$inboundSchema;
|
|
50
|
+
//# sourceMappingURL=customerliabilityrepaymentfrequency.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customerliabilityrepaymentfrequency.js","sourceRoot":"","sources":["../../src/models/components/customerliabilityrepaymentfrequency.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAGf,QAAA,mCAAmC,GAAG;IACjD,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,aAAa;CAClB,CAAC;AAKX,gBAAgB;AACH,QAAA,iDAAiD,GAE1D,CAAC,CAAC,UAAU,CAAC,2CAAmC,CAAC,CAAC;AACtD,gBAAgB;AACH,QAAA,kDAAkD,GAE3D,yDAAiD,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.CustomerLiabilityType$outboundSchema = exports.CustomerLiabilityType$inboundSchema = exports.CustomerLiabilityType = void 0;
|
|
40
|
+
const z = __importStar(require("zod/v3"));
|
|
41
|
+
exports.CustomerLiabilityType = {
|
|
42
|
+
Mortgage: "MORTGAGE",
|
|
43
|
+
MotorVehicle: "MOTOR_VEHICLE",
|
|
44
|
+
CreditCard: "CREDIT_CARD",
|
|
45
|
+
PersonalLoan: "PERSONAL_LOAN",
|
|
46
|
+
PayLater: "PAY_LATER",
|
|
47
|
+
Other: "OTHER",
|
|
48
|
+
};
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.CustomerLiabilityType$inboundSchema = z.nativeEnum(exports.CustomerLiabilityType);
|
|
51
|
+
/** @internal */
|
|
52
|
+
exports.CustomerLiabilityType$outboundSchema = exports.CustomerLiabilityType$inboundSchema;
|
|
53
|
+
//# sourceMappingURL=customerliabilitytype.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customerliabilitytype.js","sourceRoot":"","sources":["../../src/models/components/customerliabilitytype.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAGf,QAAA,qBAAqB,GAAG;IACnC,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,eAAe;IAC7B,UAAU,EAAE,aAAa;IACzB,YAAY,EAAE,eAAe;IAC7B,QAAQ,EAAE,WAAW;IACrB,KAAK,EAAE,OAAO;CACN,CAAC;AAGX,gBAAgB;AACH,QAAA,mCAAmC,GAE5C,CAAC,CAAC,UAAU,CAAC,6BAAqB,CAAC,CAAC;AACxC,gBAAgB;AACH,QAAA,oCAAoC,GAE7C,2CAAmC,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.CustomerTitle$outboundSchema = exports.CustomerTitle$inboundSchema = exports.CustomerTitle = void 0;
|
|
40
|
+
const z = __importStar(require("zod/v3"));
|
|
41
|
+
exports.CustomerTitle = {
|
|
42
|
+
Mr: "Mr",
|
|
43
|
+
Ms: "Ms",
|
|
44
|
+
Mrs: "Mrs",
|
|
45
|
+
Miss: "Miss",
|
|
46
|
+
};
|
|
47
|
+
/** @internal */
|
|
48
|
+
exports.CustomerTitle$inboundSchema = z.nativeEnum(exports.CustomerTitle);
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.CustomerTitle$outboundSchema = exports.CustomerTitle$inboundSchema;
|
|
51
|
+
//# sourceMappingURL=customertitle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customertitle.js","sourceRoot":"","sources":["../../src/models/components/customertitle.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAGf,QAAA,aAAa,GAAG;IAC3B,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACJ,CAAC;AAGX,gBAAgB;AACH,QAAA,2BAA2B,GAEpC,CAAC,CAAC,UAAU,CAAC,qBAAa,CAAC,CAAC;AAChC,gBAAgB;AACH,QAAA,4BAA4B,GAErC,mCAA2B,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
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.DocumentType$outboundSchema = exports.DocumentType$inboundSchema = exports.DocumentType = void 0;
|
|
40
|
+
const z = __importStar(require("zod/v3"));
|
|
41
|
+
/**
|
|
42
|
+
* The type/purpose of the supporting document
|
|
43
|
+
*/
|
|
44
|
+
exports.DocumentType = {
|
|
45
|
+
PrivacyAgreement: "PRIVACY AGREEMENT",
|
|
46
|
+
PrivacyFile: "PRIVACY FILE",
|
|
47
|
+
DisclosureStatement: "DISCLOSURE STATEMENT",
|
|
48
|
+
PpsrCertificate: "PPSR CERTIFICATE",
|
|
49
|
+
BankStatement: "BANK STATEMENT",
|
|
50
|
+
CommercialCreditFile: "COMMERCIAL CREDIT FILE",
|
|
51
|
+
AsicFile: "ASIC FILE",
|
|
52
|
+
IdDocument: "ID DOCUMENT",
|
|
53
|
+
DriverLicenceFront: "DRIVER LICENCE FRONT",
|
|
54
|
+
DriverLicenceBack: "DRIVER LICENCE BACK",
|
|
55
|
+
CustomerPhoto: "CUSTOMER PHOTO",
|
|
56
|
+
VerificationCertificate: "VERIFICATION CERTIFICATE",
|
|
57
|
+
CreditFile: "CREDIT FILE",
|
|
58
|
+
CreditScore: "CREDIT SCORE",
|
|
59
|
+
};
|
|
60
|
+
/** @internal */
|
|
61
|
+
exports.DocumentType$inboundSchema = z.nativeEnum(exports.DocumentType);
|
|
62
|
+
/** @internal */
|
|
63
|
+
exports.DocumentType$outboundSchema = exports.DocumentType$inboundSchema;
|
|
64
|
+
//# sourceMappingURL=documenttype.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"documenttype.js","sourceRoot":"","sources":["../../src/models/components/documenttype.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAG5B;;GAEG;AACU,QAAA,YAAY,GAAG;IAC1B,gBAAgB,EAAE,mBAAmB;IACrC,WAAW,EAAE,cAAc;IAC3B,mBAAmB,EAAE,sBAAsB;IAC3C,eAAe,EAAE,kBAAkB;IACnC,aAAa,EAAE,gBAAgB;IAC/B,oBAAoB,EAAE,wBAAwB;IAC9C,QAAQ,EAAE,WAAW;IACrB,UAAU,EAAE,aAAa;IACzB,kBAAkB,EAAE,sBAAsB;IAC1C,iBAAiB,EAAE,qBAAqB;IACxC,aAAa,EAAE,gBAAgB;IAC/B,uBAAuB,EAAE,0BAA0B;IACnD,UAAU,EAAE,aAAa;IACzB,WAAW,EAAE,cAAc;CACnB,CAAC;AAMX,gBAAgB;AACH,QAAA,0BAA0B,GACrC,CAAC,CAAC,UAAU,CAAC,oBAAY,CAAC,CAAC;AAC7B,gBAAgB;AACH,QAAA,2BAA2B,GACtC,kCAA0B,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
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.EntityAttributes$inboundSchema = exports.AbnStatus$inboundSchema = exports.State$inboundSchema = exports.AbnStatus = exports.State = void 0;
|
|
40
|
+
exports.entityAttributesFromJSON = entityAttributesFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
+
/**
|
|
44
|
+
* Derived from ABR lookup.
|
|
45
|
+
*/
|
|
46
|
+
exports.State = {
|
|
47
|
+
Sa: "SA",
|
|
48
|
+
Nsw: "NSW",
|
|
49
|
+
Vic: "VIC",
|
|
50
|
+
Qld: "QLD",
|
|
51
|
+
Wa: "WA",
|
|
52
|
+
Tas: "TAS",
|
|
53
|
+
Act: "ACT",
|
|
54
|
+
Nt: "NT",
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Derived from ABR lookup.
|
|
58
|
+
*/
|
|
59
|
+
exports.AbnStatus = {
|
|
60
|
+
Active: "active",
|
|
61
|
+
Registered: "registered",
|
|
62
|
+
Cancelled: "cancelled",
|
|
63
|
+
};
|
|
64
|
+
/** @internal */
|
|
65
|
+
exports.State$inboundSchema = z.nativeEnum(exports.State);
|
|
66
|
+
/** @internal */
|
|
67
|
+
exports.AbnStatus$inboundSchema = z
|
|
68
|
+
.nativeEnum(exports.AbnStatus);
|
|
69
|
+
/** @internal */
|
|
70
|
+
exports.EntityAttributes$inboundSchema = z.object({
|
|
71
|
+
id: z.string().optional(),
|
|
72
|
+
businessNames: z.array(z.string()).optional(),
|
|
73
|
+
entityName: z.string().optional(),
|
|
74
|
+
abn: z.string().optional(),
|
|
75
|
+
acn: z.string().optional(),
|
|
76
|
+
state: exports.State$inboundSchema.optional(),
|
|
77
|
+
entityType: z.string().optional(),
|
|
78
|
+
gst: z.string().optional(),
|
|
79
|
+
abnStatus: exports.AbnStatus$inboundSchema.optional(),
|
|
80
|
+
abnStatusEffectiveFrom: z.string().optional(),
|
|
81
|
+
timeInBusiness: z.number().int().optional(),
|
|
82
|
+
turnover: z.number().int().optional(),
|
|
83
|
+
industryType: z.string().optional(),
|
|
84
|
+
ppsr: z.string().optional(),
|
|
85
|
+
emails: z.array(z.string()).optional(),
|
|
86
|
+
phoneNumbers: z.array(z.string()).optional(),
|
|
87
|
+
});
|
|
88
|
+
function entityAttributesFromJSON(jsonString) {
|
|
89
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EntityAttributes$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EntityAttributes' from JSON`);
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=entityattributes.js.map
|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