@financeable/aggregation 0.8.1 → 0.9.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/FUNCTIONS.md +153 -36
- package/README.md +475 -94
- package/docs/sdks/applications/README.md +11 -17
- package/docs/sdks/oauthtoken/README.md +5 -9
- package/docs/sdks/supportingdocuments/README.md +9 -16
- package/funcs/applicationsCreate.d.ts +3 -3
- package/funcs/applicationsCreate.d.ts.map +1 -1
- package/funcs/applicationsCreate.js +4 -6
- package/funcs/applicationsCreate.js.map +1 -1
- package/funcs/oauthTokenGet.d.ts +3 -2
- package/funcs/oauthTokenGet.d.ts.map +1 -1
- package/funcs/oauthTokenGet.js +4 -2
- package/funcs/oauthTokenGet.js.map +1 -1
- package/funcs/supportingDocumentsCreate.d.ts +3 -3
- package/funcs/supportingDocumentsCreate.d.ts.map +1 -1
- package/funcs/supportingDocumentsCreate.js +5 -8
- package/funcs/supportingDocumentsCreate.js.map +1 -1
- package/hooks/types.d.ts +2 -0
- package/hooks/types.d.ts.map +1 -1
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +7 -3
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/files.d.ts +5 -0
- package/lib/files.d.ts.map +1 -1
- package/lib/files.js +41 -0
- package/lib/files.js.map +1 -1
- package/lib/matchers.d.ts +3 -10
- package/lib/matchers.d.ts.map +1 -1
- package/lib/matchers.js +33 -31
- package/lib/matchers.js.map +1 -1
- package/lib/sdks.d.ts +1 -0
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +3 -3
- package/lib/sdks.js.map +1 -1
- package/lib/security.d.ts +2 -2
- package/lib/security.d.ts.map +1 -1
- package/models/components/addressattributes.d.ts +8 -8
- package/models/components/addressattributes.d.ts.map +1 -1
- package/models/components/addressattributes.js +14 -13
- package/models/components/addressattributes.js.map +1 -1
- package/models/components/badrequesterror.d.ts +24 -24
- package/models/components/badrequesterror.d.ts.map +1 -1
- package/models/components/badrequesterror.js +37 -38
- package/models/components/badrequesterror.js.map +1 -1
- package/models/components/commercialsecuredapplicationpayload.d.ts +8 -8
- package/models/components/commercialsecuredapplicationpayload.d.ts.map +1 -1
- package/models/components/commercialsecuredapplicationpayload.js +13 -14
- package/models/components/commercialsecuredapplicationpayload.js.map +1 -1
- package/models/components/commercialsecuredloanassetattributes.d.ts +164 -18
- package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -1
- package/models/components/commercialsecuredloanassetattributes.js +163 -13
- package/models/components/commercialsecuredloanassetattributes.js.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +90 -90
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js +116 -118
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -1
- package/models/components/commercialsecuredloantypeofsale.d.ts +40 -0
- package/models/components/commercialsecuredloantypeofsale.d.ts.map +1 -0
- package/models/components/commercialsecuredloantypeofsale.js +64 -0
- package/models/components/commercialsecuredloantypeofsale.js.map +1 -0
- package/models/components/consumersecuredloanassetattributes.d.ts +93 -68
- package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -1
- package/models/components/consumersecuredloanassetattributes.js +108 -78
- package/models/components/consumersecuredloanassetattributes.js.map +1 -1
- package/models/components/consumersecuredloantypeofsale.d.ts +40 -0
- package/models/components/consumersecuredloantypeofsale.d.ts.map +1 -0
- package/models/components/consumersecuredloantypeofsale.js +64 -0
- package/models/components/consumersecuredloantypeofsale.js.map +1 -0
- package/models/components/customerattributes.d.ts +6 -0
- package/models/components/customerattributes.d.ts.map +1 -1
- package/models/components/customerattributes.js +3 -0
- package/models/components/customerattributes.js.map +1 -1
- package/models/components/forbiddenerror.d.ts +16 -16
- package/models/components/forbiddenerror.d.ts.map +1 -1
- package/models/components/forbiddenerror.js +25 -25
- package/models/components/forbiddenerror.js.map +1 -1
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/loandetailsattributes.d.ts +8 -8
- package/models/components/loandetailsattributes.d.ts.map +1 -1
- package/models/components/loandetailsattributes.js +8 -8
- package/models/components/loandetailsattributes.js.map +1 -1
- package/models/components/supportingdocumentrelationships.d.ts +45 -45
- package/models/components/supportingdocumentrelationships.d.ts.map +1 -1
- package/models/components/supportingdocumentrelationships.js +54 -54
- package/models/components/supportingdocumentrelationships.js.map +1 -1
- package/models/components/supportingdocumentresource.d.ts +8 -8
- package/models/components/supportingdocumentresource.d.ts.map +1 -1
- package/models/components/supportingdocumentresource.js +13 -13
- package/models/components/supportingdocumentresource.js.map +1 -1
- package/models/errors/apierror.d.ts +8 -6
- package/models/errors/apierror.d.ts.map +1 -1
- package/models/errors/apierror.js +23 -10
- package/models/errors/apierror.js.map +1 -1
- 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/index.d.ts +1 -2
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -2
- package/models/errors/index.js.map +1 -1
- package/models/errors/responsevalidationerror.d.ts +26 -0
- package/models/errors/responsevalidationerror.d.ts.map +1 -0
- package/models/errors/responsevalidationerror.js +66 -0
- package/models/errors/responsevalidationerror.js.map +1 -0
- package/models/errors/sdkvalidationerror.d.ts +1 -0
- package/models/errors/sdkvalidationerror.d.ts.map +1 -1
- package/models/errors/sdkvalidationerror.js +14 -0
- package/models/errors/sdkvalidationerror.js.map +1 -1
- package/models/operations/createapplication.d.ts +107 -30
- package/models/operations/createapplication.d.ts.map +1 -1
- package/models/operations/createapplication.js +125 -44
- package/models/operations/createapplication.js.map +1 -1
- package/models/operations/supportingdocumentscreate.d.ts +144 -0
- package/models/operations/supportingdocumentscreate.d.ts.map +1 -1
- package/models/operations/supportingdocumentscreate.js +186 -1
- package/models/operations/supportingdocumentscreate.js.map +1 -1
- package/package.json +1 -1
- package/sdk/applications.d.ts +1 -1
- package/sdk/applications.d.ts.map +1 -1
- package/sdk/sdk.d.ts +2 -2
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +3 -3
- package/sdk/sdk.js.map +1 -1
- package/sdk/supportingdocuments.d.ts +1 -1
- package/sdk/supportingdocuments.d.ts.map +1 -1
- package/src/funcs/applicationsCreate.ts +30 -40
- package/src/funcs/oauthTokenGet.ts +24 -20
- package/src/funcs/supportingDocumentsCreate.ts +31 -42
- package/src/hooks/types.ts +2 -0
- package/src/index.ts +2 -0
- package/src/lib/config.ts +7 -3
- package/src/lib/files.ts +42 -0
- package/src/lib/matchers.ts +44 -41
- package/src/lib/sdks.ts +10 -4
- package/src/lib/security.ts +2 -2
- package/src/models/components/addressattributes.ts +14 -18
- package/src/models/components/badrequesterror.ts +48 -44
- package/src/models/components/commercialsecuredapplicationpayload.ts +15 -20
- package/src/models/components/commercialsecuredloanassetattributes.ts +347 -30
- package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +178 -238
- package/src/models/components/commercialsecuredloantypeofsale.ts +39 -0
- package/src/models/components/consumersecuredloanassetattributes.ts +318 -131
- package/src/models/components/consumersecuredloantypeofsale.ts +39 -0
- package/src/models/components/customerattributes.ts +12 -0
- package/src/models/components/forbiddenerror.ts +30 -32
- package/src/models/components/index.ts +2 -0
- package/src/models/components/loandetailsattributes.ts +16 -16
- package/src/models/components/supportingdocumentrelationships.ts +117 -82
- package/src/models/components/supportingdocumentresource.ts +18 -15
- package/src/models/errors/apierror.ts +29 -16
- package/src/models/errors/financeableerror.ts +35 -0
- package/src/models/errors/index.ts +1 -2
- package/src/models/errors/responsevalidationerror.ts +50 -0
- package/src/models/errors/sdkvalidationerror.ts +12 -0
- package/src/models/operations/createapplication.ts +299 -64
- package/src/models/operations/supportingdocumentscreate.ts +386 -0
- package/src/sdk/applications.ts +1 -1
- package/src/sdk/sdk.ts +7 -7
- package/src/sdk/supportingdocuments.ts +1 -1
- package/src/types/constdatetime.ts +1 -1
- package/types/constdatetime.js +1 -1
- package/models/errors/createapplication.d.ts +0 -73
- package/models/errors/createapplication.d.ts.map +0 -1
- package/models/errors/createapplication.js +0 -120
- package/models/errors/createapplication.js.map +0 -1
- package/models/errors/supportingdocumentscreate.d.ts +0 -143
- package/models/errors/supportingdocumentscreate.d.ts.map +0 -1
- package/models/errors/supportingdocumentscreate.js +0 -225
- package/models/errors/supportingdocumentscreate.js.map +0 -1
- package/src/models/errors/createapplication.ts +0 -149
- package/src/models/errors/supportingdocumentscreate.ts +0 -342
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badrequesterror.d.ts","sourceRoot":"","sources":["../../src/models/components/badrequesterror.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,WAAW,EAEX,oBAAoB,EAErB,MAAM,kBAAkB,CAAC;AAE1B,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"badrequesterror.d.ts","sourceRoot":"","sources":["../../src/models/components/badrequesterror.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EA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AAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,eAAe,CAUf,CAAC;AAEH;;;GAGG;AACH,yBAAiB,gBAAgB,CAAC;IAChC,+DAA+D;IACxD,MAAM,aAAa,mDAAgC,CAAC;IAC3D,gEAAgE;IACzD,MAAM,cAAc,oEAAiC,CAAC;IAC7D,0DAA0D;IAC1D,KAAY,QAAQ,GAAG,wBAAwB,CAAC;CACjD;AAED,wBAAgB,qBAAqB,CACnC,eAAe,EAAE,eAAe,GAC/B,MAAM,CAER;AAED,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
|
|
@@ -36,75 +36,74 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.BadRequestError$ = exports.BadRequestError$outboundSchema = exports.BadRequestError$inboundSchema = exports.
|
|
39
|
+
exports.BadRequestError$ = exports.BadRequestError$outboundSchema = exports.BadRequestError$inboundSchema = exports.BadRequestErrorTitle$ = exports.BadRequestErrorTitle$outboundSchema = exports.BadRequestErrorTitle$inboundSchema = exports.BadRequestErrorCode$ = exports.BadRequestErrorCode$outboundSchema = exports.BadRequestErrorCode$inboundSchema = exports.BadRequestErrorStatus$ = exports.BadRequestErrorStatus$outboundSchema = exports.BadRequestErrorStatus$inboundSchema = exports.BadRequestErrorTitle = exports.BadRequestErrorCode = exports.BadRequestErrorStatus = void 0;
|
|
40
40
|
exports.badRequestErrorToJSON = badRequestErrorToJSON;
|
|
41
41
|
exports.badRequestErrorFromJSON = badRequestErrorFromJSON;
|
|
42
42
|
const z = __importStar(require("zod"));
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
44
|
const apierrorlinks_js_1 = require("./apierrorlinks.js");
|
|
45
45
|
const errorsource_js_1 = require("./errorsource.js");
|
|
46
|
-
exports.
|
|
46
|
+
exports.BadRequestErrorStatus = {
|
|
47
47
|
FourHundred: "400",
|
|
48
48
|
};
|
|
49
|
-
exports.
|
|
49
|
+
exports.BadRequestErrorCode = {
|
|
50
50
|
BadRequest: "BadRequest",
|
|
51
51
|
};
|
|
52
|
-
exports.
|
|
52
|
+
exports.BadRequestErrorTitle = {
|
|
53
53
|
BadRequest: "Bad Request",
|
|
54
54
|
};
|
|
55
55
|
/** @internal */
|
|
56
|
-
exports.
|
|
57
|
-
.nativeEnum(exports.Status);
|
|
56
|
+
exports.BadRequestErrorStatus$inboundSchema = z.nativeEnum(exports.BadRequestErrorStatus);
|
|
58
57
|
/** @internal */
|
|
59
|
-
exports.
|
|
58
|
+
exports.BadRequestErrorStatus$outboundSchema = exports.BadRequestErrorStatus$inboundSchema;
|
|
60
59
|
/**
|
|
61
60
|
* @internal
|
|
62
61
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
63
62
|
*/
|
|
64
|
-
var
|
|
65
|
-
(function (
|
|
66
|
-
/** @deprecated use `
|
|
67
|
-
|
|
68
|
-
/** @deprecated use `
|
|
69
|
-
|
|
70
|
-
})(
|
|
63
|
+
var BadRequestErrorStatus$;
|
|
64
|
+
(function (BadRequestErrorStatus$) {
|
|
65
|
+
/** @deprecated use `BadRequestErrorStatus$inboundSchema` instead. */
|
|
66
|
+
BadRequestErrorStatus$.inboundSchema = exports.BadRequestErrorStatus$inboundSchema;
|
|
67
|
+
/** @deprecated use `BadRequestErrorStatus$outboundSchema` instead. */
|
|
68
|
+
BadRequestErrorStatus$.outboundSchema = exports.BadRequestErrorStatus$outboundSchema;
|
|
69
|
+
})(BadRequestErrorStatus$ || (exports.BadRequestErrorStatus$ = BadRequestErrorStatus$ = {}));
|
|
71
70
|
/** @internal */
|
|
72
|
-
exports.
|
|
71
|
+
exports.BadRequestErrorCode$inboundSchema = z.nativeEnum(exports.BadRequestErrorCode);
|
|
73
72
|
/** @internal */
|
|
74
|
-
exports.
|
|
73
|
+
exports.BadRequestErrorCode$outboundSchema = exports.BadRequestErrorCode$inboundSchema;
|
|
75
74
|
/**
|
|
76
75
|
* @internal
|
|
77
76
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
78
77
|
*/
|
|
79
|
-
var
|
|
80
|
-
(function (
|
|
81
|
-
/** @deprecated use `
|
|
82
|
-
|
|
83
|
-
/** @deprecated use `
|
|
84
|
-
|
|
85
|
-
})(
|
|
78
|
+
var BadRequestErrorCode$;
|
|
79
|
+
(function (BadRequestErrorCode$) {
|
|
80
|
+
/** @deprecated use `BadRequestErrorCode$inboundSchema` instead. */
|
|
81
|
+
BadRequestErrorCode$.inboundSchema = exports.BadRequestErrorCode$inboundSchema;
|
|
82
|
+
/** @deprecated use `BadRequestErrorCode$outboundSchema` instead. */
|
|
83
|
+
BadRequestErrorCode$.outboundSchema = exports.BadRequestErrorCode$outboundSchema;
|
|
84
|
+
})(BadRequestErrorCode$ || (exports.BadRequestErrorCode$ = BadRequestErrorCode$ = {}));
|
|
86
85
|
/** @internal */
|
|
87
|
-
exports.
|
|
86
|
+
exports.BadRequestErrorTitle$inboundSchema = z.nativeEnum(exports.BadRequestErrorTitle);
|
|
88
87
|
/** @internal */
|
|
89
|
-
exports.
|
|
88
|
+
exports.BadRequestErrorTitle$outboundSchema = exports.BadRequestErrorTitle$inboundSchema;
|
|
90
89
|
/**
|
|
91
90
|
* @internal
|
|
92
91
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
93
92
|
*/
|
|
94
|
-
var
|
|
95
|
-
(function (
|
|
96
|
-
/** @deprecated use `
|
|
97
|
-
|
|
98
|
-
/** @deprecated use `
|
|
99
|
-
|
|
100
|
-
})(
|
|
93
|
+
var BadRequestErrorTitle$;
|
|
94
|
+
(function (BadRequestErrorTitle$) {
|
|
95
|
+
/** @deprecated use `BadRequestErrorTitle$inboundSchema` instead. */
|
|
96
|
+
BadRequestErrorTitle$.inboundSchema = exports.BadRequestErrorTitle$inboundSchema;
|
|
97
|
+
/** @deprecated use `BadRequestErrorTitle$outboundSchema` instead. */
|
|
98
|
+
BadRequestErrorTitle$.outboundSchema = exports.BadRequestErrorTitle$outboundSchema;
|
|
99
|
+
})(BadRequestErrorTitle$ || (exports.BadRequestErrorTitle$ = BadRequestErrorTitle$ = {}));
|
|
101
100
|
/** @internal */
|
|
102
101
|
exports.BadRequestError$inboundSchema = z.object({
|
|
103
102
|
id: z.string().optional(),
|
|
104
103
|
links: apierrorlinks_js_1.APIErrorLinks$inboundSchema.optional(),
|
|
105
|
-
status: exports.
|
|
106
|
-
code: exports.
|
|
107
|
-
title: exports.
|
|
104
|
+
status: exports.BadRequestErrorStatus$inboundSchema,
|
|
105
|
+
code: exports.BadRequestErrorCode$inboundSchema,
|
|
106
|
+
title: exports.BadRequestErrorTitle$inboundSchema,
|
|
108
107
|
detail: z.string(),
|
|
109
108
|
source: errorsource_js_1.ErrorSource$inboundSchema.optional(),
|
|
110
109
|
meta: z.record(z.any()).optional(),
|
|
@@ -113,9 +112,9 @@ exports.BadRequestError$inboundSchema = z.object({
|
|
|
113
112
|
exports.BadRequestError$outboundSchema = z.object({
|
|
114
113
|
id: z.string().optional(),
|
|
115
114
|
links: apierrorlinks_js_1.APIErrorLinks$outboundSchema.optional(),
|
|
116
|
-
status: exports.
|
|
117
|
-
code: exports.
|
|
118
|
-
title: exports.
|
|
115
|
+
status: exports.BadRequestErrorStatus$outboundSchema,
|
|
116
|
+
code: exports.BadRequestErrorCode$outboundSchema,
|
|
117
|
+
title: exports.BadRequestErrorTitle$outboundSchema,
|
|
119
118
|
detail: z.string(),
|
|
120
119
|
source: errorsource_js_1.ErrorSource$outboundSchema.optional(),
|
|
121
120
|
meta: z.record(z.any()).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badrequesterror.js","sourceRoot":"","sources":["../../src/models/components/badrequesterror.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"badrequesterror.js","sourceRoot":"","sources":["../../src/models/components/badrequesterror.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyKH,sDAIC;AAED,0DAQC;AArLD,uCAAyB;AACzB,qDAAiD;AAIjD,yDAK4B;AAC5B,qDAK0B;AAEb,QAAA,qBAAqB,GAAG;IACnC,WAAW,EAAE,KAAK;CACV,CAAC;AAGE,QAAA,mBAAmB,GAAG;IACjC,UAAU,EAAE,YAAY;CAChB,CAAC;AAGE,QAAA,oBAAoB,GAAG;IAClC,UAAU,EAAE,aAAa;CACjB,CAAC;AAiBX,gBAAgB;AACH,QAAA,mCAAmC,GAE5C,CAAC,CAAC,UAAU,CAAC,6BAAqB,CAAC,CAAC;AAExC,gBAAgB;AACH,QAAA,oCAAoC,GAE7C,2CAAmC,CAAC;AAExC;;;GAGG;AACH,IAAiB,sBAAsB,CAKtC;AALD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,2CAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,4CAAoC,CAAC;AACrE,CAAC,EALgB,sBAAsB,sCAAtB,sBAAsB,QAKtC;AAED,gBAAgB;AACH,QAAA,iCAAiC,GAE1C,CAAC,CAAC,UAAU,CAAC,2BAAmB,CAAC,CAAC;AAEtC,gBAAgB;AACH,QAAA,kCAAkC,GAE3C,yCAAiC,CAAC;AAEtC;;;GAGG;AACH,IAAiB,oBAAoB,CAKpC;AALD,WAAiB,oBAAoB;IACnC,mEAAmE;IACtD,kCAAa,GAAG,yCAAiC,CAAC;IAC/D,oEAAoE;IACvD,mCAAc,GAAG,0CAAkC,CAAC;AACnE,CAAC,EALgB,oBAAoB,oCAApB,oBAAoB,QAKpC;AAED,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C,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,gBAAgB,CAOhC;AAPD,WAAiB,gBAAgB;IAC/B,+DAA+D;IAClD,8BAAa,GAAG,qCAA6B,CAAC;IAC3D,gEAAgE;IACnD,+BAAc,GAAG,sCAA8B,CAAC;AAG/D,CAAC,EAPgB,gBAAgB,gCAAhB,gBAAgB,QAOhC;AAED,SAAgB,qBAAqB,CACnC,eAAgC;IAEhC,OAAO,IAAI,CAAC,SAAS,CAAC,sCAA8B,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC;AAC/E,CAAC;AAED,SAAgB,uBAAuB,CACrC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qCAA6B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzD,6CAA6C,CAC9C,CAAC;AACJ,CAAC"}
|
|
@@ -7,7 +7,7 @@ import { LinkObject, LinkObject$Outbound } from "./linkobject.js";
|
|
|
7
7
|
/**
|
|
8
8
|
* Resource types used in the API
|
|
9
9
|
*/
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const Type: {
|
|
11
11
|
readonly ConsumerSecuredApplications: "consumer-secured-applications";
|
|
12
12
|
readonly CommercialSecuredApplications: "commercial-secured-applications";
|
|
13
13
|
readonly SupportingDocuments: "supporting-documents";
|
|
@@ -20,7 +20,7 @@ export declare const CommercialSecuredApplicationPayloadType: {
|
|
|
20
20
|
/**
|
|
21
21
|
* Resource types used in the API
|
|
22
22
|
*/
|
|
23
|
-
export type
|
|
23
|
+
export type Type = ClosedEnum<typeof Type>;
|
|
24
24
|
/**
|
|
25
25
|
* Type of the loan application
|
|
26
26
|
*/
|
|
@@ -45,7 +45,7 @@ export type Attributes = {
|
|
|
45
45
|
associatedBrokerEmail: string;
|
|
46
46
|
};
|
|
47
47
|
export type CommercialSecuredApplicationPayload = {
|
|
48
|
-
type:
|
|
48
|
+
type: Type;
|
|
49
49
|
/**
|
|
50
50
|
* Application resource attributes
|
|
51
51
|
*/
|
|
@@ -59,15 +59,15 @@ export type CommercialSecuredApplicationPayload = {
|
|
|
59
59
|
} | undefined;
|
|
60
60
|
};
|
|
61
61
|
/** @internal */
|
|
62
|
-
export declare const
|
|
62
|
+
export declare const Type$inboundSchema: z.ZodNativeEnum<typeof Type>;
|
|
63
63
|
/** @internal */
|
|
64
|
-
export declare const
|
|
64
|
+
export declare const Type$outboundSchema: z.ZodNativeEnum<typeof Type>;
|
|
65
65
|
/**
|
|
66
66
|
* @internal
|
|
67
67
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
68
68
|
*/
|
|
69
|
-
export declare namespace
|
|
70
|
-
/** @deprecated use `
|
|
69
|
+
export declare namespace Type$ {
|
|
70
|
+
/** @deprecated use `Type$inboundSchema` instead. */
|
|
71
71
|
const inboundSchema: z.ZodNativeEnum<{
|
|
72
72
|
readonly ConsumerSecuredApplications: "consumer-secured-applications";
|
|
73
73
|
readonly CommercialSecuredApplications: "commercial-secured-applications";
|
|
@@ -78,7 +78,7 @@ export declare namespace CommercialSecuredApplicationPayloadType$ {
|
|
|
78
78
|
readonly LoanDetails: "loan-details";
|
|
79
79
|
readonly Addresses: "addresses";
|
|
80
80
|
}>;
|
|
81
|
-
/** @deprecated use `
|
|
81
|
+
/** @deprecated use `Type$outboundSchema` instead. */
|
|
82
82
|
const outboundSchema: z.ZodNativeEnum<{
|
|
83
83
|
readonly ConsumerSecuredApplications: "consumer-secured-applications";
|
|
84
84
|
readonly CommercialSecuredApplications: "commercial-secured-applications";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commercialsecuredapplicationpayload.d.ts","sourceRoot":"","sources":["../../src/models/components/commercialsecuredapplicationpayload.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,uDAAuD,EAEvD,gEAAgE,EAEjE,MAAM,8DAA8D,CAAC;AACtE,OAAO,EACL,UAAU,EAEV,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AAEzB;;GAEG;AACH,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"commercialsecuredapplicationpayload.d.ts","sourceRoot":"","sources":["../../src/models/components/commercialsecuredapplicationpayload.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,uDAAuD,EAEvD,gEAAgE,EAEjE,MAAM,8DAA8D,CAAC;AACtE,OAAO,EACL,UAAU,EAEV,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AAEzB;;GAEG;AACH,eAAO,MAAM,IAAI;;;;;;;;;CASP,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,eAAe;;CAElB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,eAAe,EAAE,eAAe,CAAC;IACjC;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG;IAChD,IAAI,EAAE,IAAI,CAAC;IACX;;OAEG;IACH,UAAU,EAAE,UA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AQ,GAAG,4CAA4C,CAAC;CACrE;AAED,wBAAgB,yCAAyC,CACvD,mCAAmC,EAAE,mCAAmC,GACvE,MAAM,CAMR;AAED,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E"}
|
|
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.CommercialSecuredApplicationPayload$ = exports.CommercialSecuredApplicationPayload$outboundSchema = exports.CommercialSecuredApplicationPayload$inboundSchema = exports.Attributes$ = exports.Attributes$outboundSchema = exports.Attributes$inboundSchema = exports.ApplicationType$ = exports.ApplicationType$outboundSchema = exports.ApplicationType$inboundSchema = exports.
|
|
39
|
+
exports.CommercialSecuredApplicationPayload$ = exports.CommercialSecuredApplicationPayload$outboundSchema = exports.CommercialSecuredApplicationPayload$inboundSchema = exports.Attributes$ = exports.Attributes$outboundSchema = exports.Attributes$inboundSchema = exports.ApplicationType$ = exports.ApplicationType$outboundSchema = exports.ApplicationType$inboundSchema = exports.Type$ = exports.Type$outboundSchema = exports.Type$inboundSchema = exports.ApplicationType = exports.Type = void 0;
|
|
40
40
|
exports.attributesToJSON = attributesToJSON;
|
|
41
41
|
exports.attributesFromJSON = attributesFromJSON;
|
|
42
42
|
exports.commercialSecuredApplicationPayloadToJSON = commercialSecuredApplicationPayloadToJSON;
|
|
@@ -48,7 +48,7 @@ const linkobject_js_1 = require("./linkobject.js");
|
|
|
48
48
|
/**
|
|
49
49
|
* Resource types used in the API
|
|
50
50
|
*/
|
|
51
|
-
exports.
|
|
51
|
+
exports.Type = {
|
|
52
52
|
ConsumerSecuredApplications: "consumer-secured-applications",
|
|
53
53
|
CommercialSecuredApplications: "commercial-secured-applications",
|
|
54
54
|
SupportingDocuments: "supporting-documents",
|
|
@@ -65,21 +65,20 @@ exports.ApplicationType = {
|
|
|
65
65
|
CommercialSecured: "commercialSecured",
|
|
66
66
|
};
|
|
67
67
|
/** @internal */
|
|
68
|
-
exports.
|
|
69
|
-
.nativeEnum(exports.CommercialSecuredApplicationPayloadType);
|
|
68
|
+
exports.Type$inboundSchema = z.nativeEnum(exports.Type);
|
|
70
69
|
/** @internal */
|
|
71
|
-
exports.
|
|
70
|
+
exports.Type$outboundSchema = exports.Type$inboundSchema;
|
|
72
71
|
/**
|
|
73
72
|
* @internal
|
|
74
73
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
75
74
|
*/
|
|
76
|
-
var
|
|
77
|
-
(function (
|
|
78
|
-
/** @deprecated use `
|
|
79
|
-
|
|
80
|
-
/** @deprecated use `
|
|
81
|
-
|
|
82
|
-
})(
|
|
75
|
+
var Type$;
|
|
76
|
+
(function (Type$) {
|
|
77
|
+
/** @deprecated use `Type$inboundSchema` instead. */
|
|
78
|
+
Type$.inboundSchema = exports.Type$inboundSchema;
|
|
79
|
+
/** @deprecated use `Type$outboundSchema` instead. */
|
|
80
|
+
Type$.outboundSchema = exports.Type$outboundSchema;
|
|
81
|
+
})(Type$ || (exports.Type$ = Type$ = {}));
|
|
83
82
|
/** @internal */
|
|
84
83
|
exports.ApplicationType$inboundSchema = z.nativeEnum(exports.ApplicationType);
|
|
85
84
|
/** @internal */
|
|
@@ -124,7 +123,7 @@ function attributesFromJSON(jsonString) {
|
|
|
124
123
|
}
|
|
125
124
|
/** @internal */
|
|
126
125
|
exports.CommercialSecuredApplicationPayload$inboundSchema = z.object({
|
|
127
|
-
type: exports.
|
|
126
|
+
type: exports.Type$inboundSchema,
|
|
128
127
|
attributes: z.lazy(() => exports.Attributes$inboundSchema),
|
|
129
128
|
relationships: commercialsecuredloancommercialapplicationrelationships_js_1.CommercialSecuredLoanCommercialApplicationRelationships$inboundSchema
|
|
130
129
|
.optional(),
|
|
@@ -133,7 +132,7 @@ exports.CommercialSecuredApplicationPayload$inboundSchema = z.object({
|
|
|
133
132
|
});
|
|
134
133
|
/** @internal */
|
|
135
134
|
exports.CommercialSecuredApplicationPayload$outboundSchema = z.object({
|
|
136
|
-
type: exports.
|
|
135
|
+
type: exports.Type$outboundSchema,
|
|
137
136
|
attributes: z.lazy(() => exports.Attributes$outboundSchema),
|
|
138
137
|
relationships: commercialsecuredloancommercialapplicationrelationships_js_1.CommercialSecuredLoanCommercialApplicationRelationships$outboundSchema
|
|
139
138
|
.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commercialsecuredapplicationpayload.js","sourceRoot":"","sources":["../../src/models/components/commercialsecuredapplicationpayload.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"commercialsecuredapplicationpayload.js","sourceRoot":"","sources":["../../src/models/components/commercialsecuredapplicationpayload.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4JH,4CAEC;AAED,gDAQC;AA0DD,8FAQC;AAED,kGASC;AAnPD,uCAAyB;AACzB,qDAAiD;AAIjD,6IAKsE;AACtE,mDAKyB;AAEzB;;GAEG;AACU,QAAA,IAAI,GAAG;IAClB,2BAA2B,EAAE,+BAA+B;IAC5D,6BAA6B,EAAE,iCAAiC;IAChE,mBAAmB,EAAE,sBAAsB;IAC3C,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,cAAc;IAC3B,SAAS,EAAE,WAAW;CACd,CAAC;AAMX;;GAEG;AACU,QAAA,eAAe,GAAG;IAC7B,iBAAiB,EAAE,mBAAmB;CAC9B,CAAC;AAiCX,gBAAgB;AACH,QAAA,kBAAkB,GAAiC,CAAC,CAAC,UAAU,CAC1E,YAAI,CACL,CAAC;AAEF,gBAAgB;AACH,QAAA,mBAAmB,GAC9B,0BAAkB,CAAC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,CACnB,0DAAkD,CAAC,KAAK,CACtD,mCAAmC,CACpC,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,2CAA2C,CACzD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,yDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AACJ,CAAC"}
|
|
@@ -3,6 +3,8 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
5
|
import { CommercialSecuredLoanAssetType } from "./commercialsecuredloanassettype.js";
|
|
6
|
+
import { CommercialSecuredLoanTypeOfSale } from "./commercialsecuredloantypeofsale.js";
|
|
7
|
+
import { MonetaryQuantity, MonetaryQuantity$Outbound } from "./monetaryquantity.js";
|
|
6
8
|
/**
|
|
7
9
|
* Condition of asset
|
|
8
10
|
*/
|
|
@@ -15,6 +17,10 @@ export declare const Condition: {
|
|
|
15
17
|
* Condition of asset
|
|
16
18
|
*/
|
|
17
19
|
export type Condition = ClosedEnum<typeof Condition>;
|
|
20
|
+
/**
|
|
21
|
+
* Value of asset as either MonetaryQuantity model (preferred) or floating point AUD dollars as string. The latter will be deprecated.
|
|
22
|
+
*/
|
|
23
|
+
export type AssetValue = MonetaryQuantity | string;
|
|
18
24
|
/**
|
|
19
25
|
* Registration state (or territory) of asset
|
|
20
26
|
*/
|
|
@@ -32,6 +38,26 @@ export declare const RegistrationState: {
|
|
|
32
38
|
* Registration state (or territory) of asset
|
|
33
39
|
*/
|
|
34
40
|
export type RegistrationState = ClosedEnum<typeof RegistrationState>;
|
|
41
|
+
/**
|
|
42
|
+
* Type of sale. Must be a member of CommercialSecuredLoan.TypeOfSale, but will not throw for invalid string values (backwards-compatibility).
|
|
43
|
+
*/
|
|
44
|
+
export type TypeOfSale = string | CommercialSecuredLoanTypeOfSale;
|
|
45
|
+
/**
|
|
46
|
+
* Net asset value of asset, provided as either MonetaryQuantity (preferred) or floating point dollar value as string (latter will be deprecated)
|
|
47
|
+
*/
|
|
48
|
+
export type NetAssetValue = MonetaryQuantity | string;
|
|
49
|
+
/**
|
|
50
|
+
* Luxury GST, provided as either MonetaryQuantity (preferred) or floating point dollar value as string (latter will be deprecated)
|
|
51
|
+
*/
|
|
52
|
+
export type LuxuryGst = MonetaryQuantity | string;
|
|
53
|
+
/**
|
|
54
|
+
* Additional fees concerning the asset, provided as either MonetaryQuantity (preferred) or floating point dollar value as string (latter will be deprecated)
|
|
55
|
+
*/
|
|
56
|
+
export type AdditionalFees = MonetaryQuantity | string;
|
|
57
|
+
/**
|
|
58
|
+
* Additional taxes concerning the asset, provided as either MonetaryQuantity (preferred) or floating point dollar value as string (latter will be deprecated)
|
|
59
|
+
*/
|
|
60
|
+
export type AdditionalTaxes = MonetaryQuantity | string;
|
|
35
61
|
/**
|
|
36
62
|
* Type of asset for secured commercial loans
|
|
37
63
|
*/
|
|
@@ -54,9 +80,9 @@ export type CommercialSecuredLoanAssetAttributes = {
|
|
|
54
80
|
*/
|
|
55
81
|
assetType: CommercialSecuredLoanAssetType;
|
|
56
82
|
/**
|
|
57
|
-
* Value of asset
|
|
83
|
+
* Value of asset as either MonetaryQuantity model (preferred) or floating point AUD dollars as string. The latter will be deprecated.
|
|
58
84
|
*/
|
|
59
|
-
assetValue
|
|
85
|
+
assetValue: MonetaryQuantity | string;
|
|
60
86
|
/**
|
|
61
87
|
* Make of asset
|
|
62
88
|
*/
|
|
@@ -106,33 +132,33 @@ export type CommercialSecuredLoanAssetAttributes = {
|
|
|
106
132
|
*/
|
|
107
133
|
privateSale?: boolean | undefined;
|
|
108
134
|
/**
|
|
109
|
-
* Type of sale
|
|
135
|
+
* Type of sale. Must be a member of CommercialSecuredLoan.TypeOfSale, but will not throw for invalid string values (backwards-compatibility).
|
|
110
136
|
*/
|
|
111
|
-
typeOfSale
|
|
137
|
+
typeOfSale: string | CommercialSecuredLoanTypeOfSale;
|
|
112
138
|
/**
|
|
113
139
|
* Description of asset
|
|
114
140
|
*/
|
|
115
141
|
description?: string | undefined;
|
|
116
142
|
/**
|
|
117
|
-
* Net asset value of asset, floating point value as string
|
|
143
|
+
* Net asset value of asset, provided as either MonetaryQuantity (preferred) or floating point dollar value as string (latter will be deprecated)
|
|
118
144
|
*/
|
|
119
|
-
netAssetValue
|
|
145
|
+
netAssetValue: MonetaryQuantity | string;
|
|
120
146
|
/**
|
|
121
147
|
* Is this asset a luxury asset?
|
|
122
148
|
*/
|
|
123
149
|
isLuxury?: boolean | undefined;
|
|
124
150
|
/**
|
|
125
|
-
* Luxury GST, floating point value as string
|
|
151
|
+
* Luxury GST, provided as either MonetaryQuantity (preferred) or floating point dollar value as string (latter will be deprecated)
|
|
126
152
|
*/
|
|
127
|
-
luxuryGst?: string | undefined;
|
|
153
|
+
luxuryGst?: MonetaryQuantity | string | undefined;
|
|
128
154
|
/**
|
|
129
|
-
* Additional fees concerning the asset, floating point value as string
|
|
155
|
+
* Additional fees concerning the asset, provided as either MonetaryQuantity (preferred) or floating point dollar value as string (latter will be deprecated)
|
|
130
156
|
*/
|
|
131
|
-
additionalFees?: string | undefined;
|
|
157
|
+
additionalFees?: MonetaryQuantity | string | undefined;
|
|
132
158
|
/**
|
|
133
|
-
* Additional taxes concerning the asset, floating point value as string
|
|
159
|
+
* Additional taxes concerning the asset, provided as either MonetaryQuantity (preferred) or floating point dollar value as string (latter will be deprecated)
|
|
134
160
|
*/
|
|
135
|
-
additionalTaxes?: string | undefined;
|
|
161
|
+
additionalTaxes?: MonetaryQuantity | string | undefined;
|
|
136
162
|
};
|
|
137
163
|
/** @internal */
|
|
138
164
|
export declare const Condition$inboundSchema: z.ZodNativeEnum<typeof Condition>;
|
|
@@ -157,6 +183,26 @@ export declare namespace Condition$ {
|
|
|
157
183
|
}>;
|
|
158
184
|
}
|
|
159
185
|
/** @internal */
|
|
186
|
+
export declare const AssetValue$inboundSchema: z.ZodType<AssetValue, z.ZodTypeDef, unknown>;
|
|
187
|
+
/** @internal */
|
|
188
|
+
export type AssetValue$Outbound = MonetaryQuantity$Outbound | string;
|
|
189
|
+
/** @internal */
|
|
190
|
+
export declare const AssetValue$outboundSchema: z.ZodType<AssetValue$Outbound, z.ZodTypeDef, AssetValue>;
|
|
191
|
+
/**
|
|
192
|
+
* @internal
|
|
193
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
194
|
+
*/
|
|
195
|
+
export declare namespace AssetValue$ {
|
|
196
|
+
/** @deprecated use `AssetValue$inboundSchema` instead. */
|
|
197
|
+
const inboundSchema: z.ZodType<AssetValue, z.ZodTypeDef, unknown>;
|
|
198
|
+
/** @deprecated use `AssetValue$outboundSchema` instead. */
|
|
199
|
+
const outboundSchema: z.ZodType<AssetValue$Outbound, z.ZodTypeDef, AssetValue>;
|
|
200
|
+
/** @deprecated use `AssetValue$Outbound` instead. */
|
|
201
|
+
type Outbound = AssetValue$Outbound;
|
|
202
|
+
}
|
|
203
|
+
export declare function assetValueToJSON(assetValue: AssetValue): string;
|
|
204
|
+
export declare function assetValueFromJSON(jsonString: string): SafeParseResult<AssetValue, SDKValidationError>;
|
|
205
|
+
/** @internal */
|
|
160
206
|
export declare const RegistrationState$inboundSchema: z.ZodNativeEnum<typeof RegistrationState>;
|
|
161
207
|
/** @internal */
|
|
162
208
|
export declare const RegistrationState$outboundSchema: z.ZodNativeEnum<typeof RegistrationState>;
|
|
@@ -189,6 +235,106 @@ export declare namespace RegistrationState$ {
|
|
|
189
235
|
}>;
|
|
190
236
|
}
|
|
191
237
|
/** @internal */
|
|
238
|
+
export declare const TypeOfSale$inboundSchema: z.ZodType<TypeOfSale, z.ZodTypeDef, unknown>;
|
|
239
|
+
/** @internal */
|
|
240
|
+
export type TypeOfSale$Outbound = string | string;
|
|
241
|
+
/** @internal */
|
|
242
|
+
export declare const TypeOfSale$outboundSchema: z.ZodType<TypeOfSale$Outbound, z.ZodTypeDef, TypeOfSale>;
|
|
243
|
+
/**
|
|
244
|
+
* @internal
|
|
245
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
246
|
+
*/
|
|
247
|
+
export declare namespace TypeOfSale$ {
|
|
248
|
+
/** @deprecated use `TypeOfSale$inboundSchema` instead. */
|
|
249
|
+
const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
|
|
250
|
+
/** @deprecated use `TypeOfSale$outboundSchema` instead. */
|
|
251
|
+
const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
|
|
252
|
+
/** @deprecated use `TypeOfSale$Outbound` instead. */
|
|
253
|
+
type Outbound = TypeOfSale$Outbound;
|
|
254
|
+
}
|
|
255
|
+
export declare function typeOfSaleToJSON(typeOfSale: TypeOfSale): string;
|
|
256
|
+
export declare function typeOfSaleFromJSON(jsonString: string): SafeParseResult<TypeOfSale, SDKValidationError>;
|
|
257
|
+
/** @internal */
|
|
258
|
+
export declare const NetAssetValue$inboundSchema: z.ZodType<NetAssetValue, z.ZodTypeDef, unknown>;
|
|
259
|
+
/** @internal */
|
|
260
|
+
export type NetAssetValue$Outbound = MonetaryQuantity$Outbound | string;
|
|
261
|
+
/** @internal */
|
|
262
|
+
export declare const NetAssetValue$outboundSchema: z.ZodType<NetAssetValue$Outbound, z.ZodTypeDef, NetAssetValue>;
|
|
263
|
+
/**
|
|
264
|
+
* @internal
|
|
265
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
266
|
+
*/
|
|
267
|
+
export declare namespace NetAssetValue$ {
|
|
268
|
+
/** @deprecated use `NetAssetValue$inboundSchema` instead. */
|
|
269
|
+
const inboundSchema: z.ZodType<NetAssetValue, z.ZodTypeDef, unknown>;
|
|
270
|
+
/** @deprecated use `NetAssetValue$outboundSchema` instead. */
|
|
271
|
+
const outboundSchema: z.ZodType<NetAssetValue$Outbound, z.ZodTypeDef, NetAssetValue>;
|
|
272
|
+
/** @deprecated use `NetAssetValue$Outbound` instead. */
|
|
273
|
+
type Outbound = NetAssetValue$Outbound;
|
|
274
|
+
}
|
|
275
|
+
export declare function netAssetValueToJSON(netAssetValue: NetAssetValue): string;
|
|
276
|
+
export declare function netAssetValueFromJSON(jsonString: string): SafeParseResult<NetAssetValue, SDKValidationError>;
|
|
277
|
+
/** @internal */
|
|
278
|
+
export declare const LuxuryGst$inboundSchema: z.ZodType<LuxuryGst, z.ZodTypeDef, unknown>;
|
|
279
|
+
/** @internal */
|
|
280
|
+
export type LuxuryGst$Outbound = MonetaryQuantity$Outbound | string;
|
|
281
|
+
/** @internal */
|
|
282
|
+
export declare const LuxuryGst$outboundSchema: z.ZodType<LuxuryGst$Outbound, z.ZodTypeDef, LuxuryGst>;
|
|
283
|
+
/**
|
|
284
|
+
* @internal
|
|
285
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
286
|
+
*/
|
|
287
|
+
export declare namespace LuxuryGst$ {
|
|
288
|
+
/** @deprecated use `LuxuryGst$inboundSchema` instead. */
|
|
289
|
+
const inboundSchema: z.ZodType<LuxuryGst, z.ZodTypeDef, unknown>;
|
|
290
|
+
/** @deprecated use `LuxuryGst$outboundSchema` instead. */
|
|
291
|
+
const outboundSchema: z.ZodType<LuxuryGst$Outbound, z.ZodTypeDef, LuxuryGst>;
|
|
292
|
+
/** @deprecated use `LuxuryGst$Outbound` instead. */
|
|
293
|
+
type Outbound = LuxuryGst$Outbound;
|
|
294
|
+
}
|
|
295
|
+
export declare function luxuryGstToJSON(luxuryGst: LuxuryGst): string;
|
|
296
|
+
export declare function luxuryGstFromJSON(jsonString: string): SafeParseResult<LuxuryGst, SDKValidationError>;
|
|
297
|
+
/** @internal */
|
|
298
|
+
export declare const AdditionalFees$inboundSchema: z.ZodType<AdditionalFees, z.ZodTypeDef, unknown>;
|
|
299
|
+
/** @internal */
|
|
300
|
+
export type AdditionalFees$Outbound = MonetaryQuantity$Outbound | string;
|
|
301
|
+
/** @internal */
|
|
302
|
+
export declare const AdditionalFees$outboundSchema: z.ZodType<AdditionalFees$Outbound, z.ZodTypeDef, AdditionalFees>;
|
|
303
|
+
/**
|
|
304
|
+
* @internal
|
|
305
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
306
|
+
*/
|
|
307
|
+
export declare namespace AdditionalFees$ {
|
|
308
|
+
/** @deprecated use `AdditionalFees$inboundSchema` instead. */
|
|
309
|
+
const inboundSchema: z.ZodType<AdditionalFees, z.ZodTypeDef, unknown>;
|
|
310
|
+
/** @deprecated use `AdditionalFees$outboundSchema` instead. */
|
|
311
|
+
const outboundSchema: z.ZodType<AdditionalFees$Outbound, z.ZodTypeDef, AdditionalFees>;
|
|
312
|
+
/** @deprecated use `AdditionalFees$Outbound` instead. */
|
|
313
|
+
type Outbound = AdditionalFees$Outbound;
|
|
314
|
+
}
|
|
315
|
+
export declare function additionalFeesToJSON(additionalFees: AdditionalFees): string;
|
|
316
|
+
export declare function additionalFeesFromJSON(jsonString: string): SafeParseResult<AdditionalFees, SDKValidationError>;
|
|
317
|
+
/** @internal */
|
|
318
|
+
export declare const AdditionalTaxes$inboundSchema: z.ZodType<AdditionalTaxes, z.ZodTypeDef, unknown>;
|
|
319
|
+
/** @internal */
|
|
320
|
+
export type AdditionalTaxes$Outbound = MonetaryQuantity$Outbound | string;
|
|
321
|
+
/** @internal */
|
|
322
|
+
export declare const AdditionalTaxes$outboundSchema: z.ZodType<AdditionalTaxes$Outbound, z.ZodTypeDef, AdditionalTaxes>;
|
|
323
|
+
/**
|
|
324
|
+
* @internal
|
|
325
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
326
|
+
*/
|
|
327
|
+
export declare namespace AdditionalTaxes$ {
|
|
328
|
+
/** @deprecated use `AdditionalTaxes$inboundSchema` instead. */
|
|
329
|
+
const inboundSchema: z.ZodType<AdditionalTaxes, z.ZodTypeDef, unknown>;
|
|
330
|
+
/** @deprecated use `AdditionalTaxes$outboundSchema` instead. */
|
|
331
|
+
const outboundSchema: z.ZodType<AdditionalTaxes$Outbound, z.ZodTypeDef, AdditionalTaxes>;
|
|
332
|
+
/** @deprecated use `AdditionalTaxes$Outbound` instead. */
|
|
333
|
+
type Outbound = AdditionalTaxes$Outbound;
|
|
334
|
+
}
|
|
335
|
+
export declare function additionalTaxesToJSON(additionalTaxes: AdditionalTaxes): string;
|
|
336
|
+
export declare function additionalTaxesFromJSON(jsonString: string): SafeParseResult<AdditionalTaxes, SDKValidationError>;
|
|
337
|
+
/** @internal */
|
|
192
338
|
export declare const CommercialSecuredLoanAssetAttributes$inboundSchema: z.ZodType<CommercialSecuredLoanAssetAttributes, z.ZodTypeDef, unknown>;
|
|
193
339
|
/** @internal */
|
|
194
340
|
export type CommercialSecuredLoanAssetAttributes$Outbound = {
|
|
@@ -197,7 +343,7 @@ export type CommercialSecuredLoanAssetAttributes$Outbound = {
|
|
|
197
343
|
ageOfAssetAtEnd?: number | undefined;
|
|
198
344
|
condition?: string | undefined;
|
|
199
345
|
assetType: string;
|
|
200
|
-
assetValue
|
|
346
|
+
assetValue: MonetaryQuantity$Outbound | string;
|
|
201
347
|
make?: string | undefined;
|
|
202
348
|
assetModel?: string | undefined;
|
|
203
349
|
registrationNumber?: string | undefined;
|
|
@@ -210,13 +356,13 @@ export type CommercialSecuredLoanAssetAttributes$Outbound = {
|
|
|
210
356
|
supplierContactName?: string | undefined;
|
|
211
357
|
supplierEmail?: string | undefined;
|
|
212
358
|
privateSale?: boolean | undefined;
|
|
213
|
-
typeOfSale
|
|
359
|
+
typeOfSale: string | string;
|
|
214
360
|
description?: string | undefined;
|
|
215
|
-
netAssetValue
|
|
361
|
+
netAssetValue: MonetaryQuantity$Outbound | string;
|
|
216
362
|
isLuxury?: boolean | undefined;
|
|
217
|
-
luxuryGst?: string | undefined;
|
|
218
|
-
additionalFees?: string | undefined;
|
|
219
|
-
additionalTaxes?: string | undefined;
|
|
363
|
+
luxuryGst?: MonetaryQuantity$Outbound | string | undefined;
|
|
364
|
+
additionalFees?: MonetaryQuantity$Outbound | string | undefined;
|
|
365
|
+
additionalTaxes?: MonetaryQuantity$Outbound | string | undefined;
|
|
220
366
|
};
|
|
221
367
|
/** @internal */
|
|
222
368
|
export declare const CommercialSecuredLoanAssetAttributes$outboundSchema: z.ZodType<CommercialSecuredLoanAssetAttributes$Outbound, z.ZodTypeDef, CommercialSecuredLoanAssetAttributes>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commercialsecuredloanassetattributes.d.ts","sourceRoot":"","sources":["../../src/models/components/commercialsecuredloanassetattributes.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,8BAA8B,EAG/B,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"commercialsecuredloanassetattributes.d.ts","sourceRoot":"","sources":["../../src/models/components/commercialsecuredloanassetattributes.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,8BAA8B,EAG/B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,+BAA+B,EAGhC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAE/B;;GAEG;AACH,eA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