@financeable/aggregation 0.7.4 → 0.8.1

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.
Files changed (111) hide show
  1. package/README.md +1 -0
  2. package/jsr.json +1 -1
  3. package/lib/config.d.ts +3 -3
  4. package/lib/config.js +3 -3
  5. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +192 -14
  6. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
  7. package/models/components/commercialsecuredloancommercialapplicationrelationships.js +186 -19
  8. package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -1
  9. package/models/components/consumersecuredloanassetattributes.d.ts +136 -15
  10. package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -1
  11. package/models/components/consumersecuredloanassetattributes.js +131 -11
  12. package/models/components/consumersecuredloanassetattributes.js.map +1 -1
  13. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +370 -14
  14. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -1
  15. package/models/components/consumersecuredloanconsumerapplicationrelationships.js +358 -20
  16. package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -1
  17. package/models/components/currencycodeiso4217.d.ts +25 -0
  18. package/models/components/currencycodeiso4217.d.ts.map +1 -0
  19. package/models/components/currencycodeiso4217.js +59 -0
  20. package/models/components/currencycodeiso4217.js.map +1 -0
  21. package/models/components/customerassetattributes.d.ts +37 -0
  22. package/models/components/customerassetattributes.d.ts.map +1 -0
  23. package/models/components/customerassetattributes.js +77 -0
  24. package/models/components/customerassetattributes.js.map +1 -0
  25. package/models/components/customerassettype.d.ts +46 -0
  26. package/models/components/customerassettype.d.ts.map +1 -0
  27. package/models/components/customerassettype.js +66 -0
  28. package/models/components/customerassettype.js.map +1 -0
  29. package/models/components/customerattributes.d.ts +3 -0
  30. package/models/components/customerattributes.d.ts.map +1 -1
  31. package/models/components/customerattributes.js +3 -0
  32. package/models/components/customerattributes.js.map +1 -1
  33. package/models/components/customerliabilityattributes.d.ts +46 -0
  34. package/models/components/customerliabilityattributes.d.ts.map +1 -0
  35. package/models/components/customerliabilityattributes.js +88 -0
  36. package/models/components/customerliabilityattributes.js.map +1 -0
  37. package/models/components/customerliabilityrepaymentfrequency.d.ts +31 -0
  38. package/models/components/customerliabilityrepaymentfrequency.d.ts.map +1 -0
  39. package/models/components/customerliabilityrepaymentfrequency.js +61 -0
  40. package/models/components/customerliabilityrepaymentfrequency.js.map +1 -0
  41. package/models/components/customerliabilitytype.d.ts +40 -0
  42. package/models/components/customerliabilitytype.d.ts.map +1 -0
  43. package/models/components/customerliabilitytype.js +64 -0
  44. package/models/components/customerliabilitytype.js.map +1 -0
  45. package/models/components/expenseattributes.d.ts +38 -0
  46. package/models/components/expenseattributes.d.ts.map +1 -0
  47. package/models/components/expenseattributes.js +78 -0
  48. package/models/components/expenseattributes.js.map +1 -0
  49. package/models/components/expensefrequency.d.ts +31 -0
  50. package/models/components/expensefrequency.d.ts.map +1 -0
  51. package/models/components/expensefrequency.js +61 -0
  52. package/models/components/expensefrequency.js.map +1 -0
  53. package/models/components/expensetype.d.ts +79 -0
  54. package/models/components/expensetype.d.ts.map +1 -0
  55. package/models/components/expensetype.js +78 -0
  56. package/models/components/expensetype.js.map +1 -0
  57. package/models/components/incomeattributes.d.ts +38 -0
  58. package/models/components/incomeattributes.d.ts.map +1 -0
  59. package/models/components/incomeattributes.js +78 -0
  60. package/models/components/incomeattributes.js.map +1 -0
  61. package/models/components/incomefrequency.d.ts +34 -0
  62. package/models/components/incomefrequency.d.ts.map +1 -0
  63. package/models/components/incomefrequency.js +62 -0
  64. package/models/components/incomefrequency.js.map +1 -0
  65. package/models/components/incometype.d.ts +49 -0
  66. package/models/components/incometype.d.ts.map +1 -0
  67. package/models/components/incometype.js +68 -0
  68. package/models/components/incometype.js.map +1 -0
  69. package/models/components/index.d.ts +14 -0
  70. package/models/components/index.d.ts.map +1 -1
  71. package/models/components/index.js +14 -0
  72. package/models/components/index.js.map +1 -1
  73. package/models/components/loandetailsattributes.d.ts +252 -30
  74. package/models/components/loandetailsattributes.d.ts.map +1 -1
  75. package/models/components/loandetailsattributes.js +266 -19
  76. package/models/components/loandetailsattributes.js.map +1 -1
  77. package/models/components/monetaryquantity.d.ts +63 -0
  78. package/models/components/monetaryquantity.d.ts.map +1 -0
  79. package/models/components/monetaryquantity.js +93 -0
  80. package/models/components/monetaryquantity.js.map +1 -0
  81. package/models/components/percentagequantity.d.ts +57 -0
  82. package/models/components/percentagequantity.d.ts.map +1 -0
  83. package/models/components/percentagequantity.js +89 -0
  84. package/models/components/percentagequantity.js.map +1 -0
  85. package/models/operations/createapplication.d.ts +102 -4
  86. package/models/operations/createapplication.d.ts.map +1 -1
  87. package/models/operations/createapplication.js +107 -1
  88. package/models/operations/createapplication.js.map +1 -1
  89. package/package.json +2 -2
  90. package/src/lib/config.ts +3 -3
  91. package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +426 -25
  92. package/src/models/components/consumersecuredloanassetattributes.ts +282 -25
  93. package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +895 -40
  94. package/src/models/components/currencycodeiso4217.ts +32 -0
  95. package/src/models/components/customerassetattributes.ts +89 -0
  96. package/src/models/components/customerassettype.ts +39 -0
  97. package/src/models/components/customerattributes.ts +10 -0
  98. package/src/models/components/customerliabilityattributes.ts +114 -0
  99. package/src/models/components/customerliabilityrepaymentfrequency.ts +38 -0
  100. package/src/models/components/customerliabilitytype.ts +37 -0
  101. package/src/models/components/expenseattributes.ts +94 -0
  102. package/src/models/components/expensefrequency.ts +34 -0
  103. package/src/models/components/expensetype.ts +48 -0
  104. package/src/models/components/incomeattributes.ts +94 -0
  105. package/src/models/components/incomefrequency.ts +35 -0
  106. package/src/models/components/incometype.ts +38 -0
  107. package/src/models/components/index.ts +14 -0
  108. package/src/models/components/loandetailsattributes.ts +537 -48
  109. package/src/models/components/monetaryquantity.ts +110 -0
  110. package/src/models/components/percentagequantity.ts +102 -0
  111. package/src/models/operations/createapplication.ts +191 -3
@@ -0,0 +1,34 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ export declare const IncomeFrequency: {
4
+ readonly Weekly: "WEEKLY";
5
+ readonly Fortnightly: "FORTNIGHTLY";
6
+ readonly Monthly: "MONTHLY";
7
+ readonly Annually: "ANNUALLY";
8
+ };
9
+ export type IncomeFrequency = ClosedEnum<typeof IncomeFrequency>;
10
+ /** @internal */
11
+ export declare const IncomeFrequency$inboundSchema: z.ZodNativeEnum<typeof IncomeFrequency>;
12
+ /** @internal */
13
+ export declare const IncomeFrequency$outboundSchema: z.ZodNativeEnum<typeof IncomeFrequency>;
14
+ /**
15
+ * @internal
16
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
17
+ */
18
+ export declare namespace IncomeFrequency$ {
19
+ /** @deprecated use `IncomeFrequency$inboundSchema` instead. */
20
+ const inboundSchema: z.ZodNativeEnum<{
21
+ readonly Weekly: "WEEKLY";
22
+ readonly Fortnightly: "FORTNIGHTLY";
23
+ readonly Monthly: "MONTHLY";
24
+ readonly Annually: "ANNUALLY";
25
+ }>;
26
+ /** @deprecated use `IncomeFrequency$outboundSchema` instead. */
27
+ const outboundSchema: z.ZodNativeEnum<{
28
+ readonly Weekly: "WEEKLY";
29
+ readonly Fortnightly: "FORTNIGHTLY";
30
+ readonly Monthly: "MONTHLY";
31
+ readonly Annually: "ANNUALLY";
32
+ }>;
33
+ }
34
+ //# sourceMappingURL=incomefrequency.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"incomefrequency.d.ts","sourceRoot":"","sources":["../../src/models/components/incomefrequency.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,eAAe;;;;;CAKlB,CAAC;AACX,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAEjE,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,aAAa,CACzD,OAAO,eAAe,CACS,CAAC;AAElC,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,aAAa,CAC1D,OAAO,eAAe,CACS,CAAC;AAElC;;;GAGG;AACH,yBAAiB,gBAAgB,CAAC;IAChC,+DAA+D;IACxD,MAAM,aAAa;;;;;MAAgC,CAAC;IAC3D,gEAAgE;IACzD,MAAM,cAAc;;;;;MAAiC,CAAC;CAC9D"}
@@ -0,0 +1,62 @@
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.IncomeFrequency$ = exports.IncomeFrequency$outboundSchema = exports.IncomeFrequency$inboundSchema = exports.IncomeFrequency = void 0;
40
+ const z = __importStar(require("zod"));
41
+ exports.IncomeFrequency = {
42
+ Weekly: "WEEKLY",
43
+ Fortnightly: "FORTNIGHTLY",
44
+ Monthly: "MONTHLY",
45
+ Annually: "ANNUALLY",
46
+ };
47
+ /** @internal */
48
+ exports.IncomeFrequency$inboundSchema = z.nativeEnum(exports.IncomeFrequency);
49
+ /** @internal */
50
+ exports.IncomeFrequency$outboundSchema = exports.IncomeFrequency$inboundSchema;
51
+ /**
52
+ * @internal
53
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
54
+ */
55
+ var IncomeFrequency$;
56
+ (function (IncomeFrequency$) {
57
+ /** @deprecated use `IncomeFrequency$inboundSchema` instead. */
58
+ IncomeFrequency$.inboundSchema = exports.IncomeFrequency$inboundSchema;
59
+ /** @deprecated use `IncomeFrequency$outboundSchema` instead. */
60
+ IncomeFrequency$.outboundSchema = exports.IncomeFrequency$outboundSchema;
61
+ })(IncomeFrequency$ || (exports.IncomeFrequency$ = IncomeFrequency$ = {}));
62
+ //# sourceMappingURL=incomefrequency.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"incomefrequency.js","sourceRoot":"","sources":["../../src/models/components/incomefrequency.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGZ,QAAA,eAAe,GAAG;IAC7B,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAGX,gBAAgB;AACH,QAAA,6BAA6B,GAEtC,CAAC,CAAC,UAAU,CAAC,uBAAe,CAAC,CAAC;AAElC,gBAAgB;AACH,QAAA,8BAA8B,GAEvC,qCAA6B,CAAC;AAElC;;;GAGG;AACH,IAAiB,gBAAgB,CAKhC;AALD,WAAiB,gBAAgB;IAC/B,+DAA+D;IAClD,8BAAa,GAAG,qCAA6B,CAAC;IAC3D,gEAAgE;IACnD,+BAAc,GAAG,sCAA8B,CAAC;AAC/D,CAAC,EALgB,gBAAgB,gCAAhB,gBAAgB,QAKhC"}
@@ -0,0 +1,49 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ export declare const IncomeType: {
4
+ readonly Primary: "PRIMARY";
5
+ readonly Secondary: "SECONDARY";
6
+ readonly InvestmentProperty: "INVESTMENT_PROPERTY";
7
+ readonly Dividends: "DIVIDENDS";
8
+ readonly Superannuation: "SUPERANNUATION";
9
+ readonly Pension: "PENSION";
10
+ readonly Trust: "TRUST";
11
+ readonly Benefits: "BENEFITS";
12
+ readonly Other: "OTHER";
13
+ };
14
+ export type IncomeType = ClosedEnum<typeof IncomeType>;
15
+ /** @internal */
16
+ export declare const IncomeType$inboundSchema: z.ZodNativeEnum<typeof IncomeType>;
17
+ /** @internal */
18
+ export declare const IncomeType$outboundSchema: z.ZodNativeEnum<typeof IncomeType>;
19
+ /**
20
+ * @internal
21
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
22
+ */
23
+ export declare namespace IncomeType$ {
24
+ /** @deprecated use `IncomeType$inboundSchema` instead. */
25
+ const inboundSchema: z.ZodNativeEnum<{
26
+ readonly Primary: "PRIMARY";
27
+ readonly Secondary: "SECONDARY";
28
+ readonly InvestmentProperty: "INVESTMENT_PROPERTY";
29
+ readonly Dividends: "DIVIDENDS";
30
+ readonly Superannuation: "SUPERANNUATION";
31
+ readonly Pension: "PENSION";
32
+ readonly Trust: "TRUST";
33
+ readonly Benefits: "BENEFITS";
34
+ readonly Other: "OTHER";
35
+ }>;
36
+ /** @deprecated use `IncomeType$outboundSchema` instead. */
37
+ const outboundSchema: z.ZodNativeEnum<{
38
+ readonly Primary: "PRIMARY";
39
+ readonly Secondary: "SECONDARY";
40
+ readonly InvestmentProperty: "INVESTMENT_PROPERTY";
41
+ readonly Dividends: "DIVIDENDS";
42
+ readonly Superannuation: "SUPERANNUATION";
43
+ readonly Pension: "PENSION";
44
+ readonly Trust: "TRUST";
45
+ readonly Benefits: "BENEFITS";
46
+ readonly Other: "OTHER";
47
+ }>;
48
+ }
49
+ //# sourceMappingURL=incometype.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"incometype.d.ts","sourceRoot":"","sources":["../../src/models/components/incometype.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,UAAU;;;;;;;;;;CAUb,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAEvD,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,UAAU,CAC/C,CAAC;AAE1B,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,UAAU,CAC/C,CAAC;AAE3B;;;GAGG;AACH,yBAAiB,WAAW,CAAC;IAC3B,0DAA0D;IACnD,MAAM,aAAa;;;;;;;;;;MAA2B,CAAC;IACtD,2DAA2D;IACpD,MAAM,cAAc;;;;;;;;;;MAA4B,CAAC;CACzD"}
@@ -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.IncomeType$ = exports.IncomeType$outboundSchema = exports.IncomeType$inboundSchema = exports.IncomeType = void 0;
40
+ const z = __importStar(require("zod"));
41
+ exports.IncomeType = {
42
+ Primary: "PRIMARY",
43
+ Secondary: "SECONDARY",
44
+ InvestmentProperty: "INVESTMENT_PROPERTY",
45
+ Dividends: "DIVIDENDS",
46
+ Superannuation: "SUPERANNUATION",
47
+ Pension: "PENSION",
48
+ Trust: "TRUST",
49
+ Benefits: "BENEFITS",
50
+ Other: "OTHER",
51
+ };
52
+ /** @internal */
53
+ exports.IncomeType$inboundSchema = z
54
+ .nativeEnum(exports.IncomeType);
55
+ /** @internal */
56
+ exports.IncomeType$outboundSchema = exports.IncomeType$inboundSchema;
57
+ /**
58
+ * @internal
59
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
60
+ */
61
+ var IncomeType$;
62
+ (function (IncomeType$) {
63
+ /** @deprecated use `IncomeType$inboundSchema` instead. */
64
+ IncomeType$.inboundSchema = exports.IncomeType$inboundSchema;
65
+ /** @deprecated use `IncomeType$outboundSchema` instead. */
66
+ IncomeType$.outboundSchema = exports.IncomeType$outboundSchema;
67
+ })(IncomeType$ || (exports.IncomeType$ = IncomeType$ = {}));
68
+ //# sourceMappingURL=incometype.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"incometype.js","sourceRoot":"","sources":["../../src/models/components/incometype.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGZ,QAAA,UAAU,GAAG;IACxB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,kBAAkB,EAAE,qBAAqB;IACzC,SAAS,EAAE,WAAW;IACtB,cAAc,EAAE,gBAAgB;IAChC,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACN,CAAC;AAGX,gBAAgB;AACH,QAAA,wBAAwB,GAAuC,CAAC;KAC1E,UAAU,CAAC,kBAAU,CAAC,CAAC;AAE1B,gBAAgB;AACH,QAAA,yBAAyB,GACpC,gCAAwB,CAAC;AAE3B;;;GAGG;AACH,IAAiB,WAAW,CAK3B;AALD,WAAiB,WAAW;IAC1B,0DAA0D;IAC7C,yBAAa,GAAG,gCAAwB,CAAC;IACtD,2DAA2D;IAC9C,0BAAc,GAAG,iCAAyB,CAAC;AAC1D,CAAC,EALgB,WAAW,2BAAX,WAAW,QAK3B"}
@@ -17,18 +17,32 @@ export * from "./consumersecuredloanassetattributes.js";
17
17
  export * from "./consumersecuredloanassettype.js";
18
18
  export * from "./consumersecuredloanconsumerapplicationrelationships.js";
19
19
  export * from "./createsupportingdocumentsresponse.js";
20
+ export * from "./currencycodeiso4217.js";
21
+ export * from "./customerassetattributes.js";
22
+ export * from "./customerassettype.js";
20
23
  export * from "./customerattributes.js";
21
24
  export * from "./customeridtype.js";
25
+ export * from "./customerliabilityattributes.js";
26
+ export * from "./customerliabilityrepaymentfrequency.js";
27
+ export * from "./customerliabilitytype.js";
22
28
  export * from "./customertitle.js";
23
29
  export * from "./documenttype.js";
24
30
  export * from "./entityattributes.js";
25
31
  export * from "./errorsource.js";
32
+ export * from "./expenseattributes.js";
33
+ export * from "./expensefrequency.js";
34
+ export * from "./expensetype.js";
26
35
  export * from "./forbiddenerror.js";
27
36
  export * from "./frequencytype.js";
37
+ export * from "./incomeattributes.js";
38
+ export * from "./incomefrequency.js";
39
+ export * from "./incometype.js";
28
40
  export * from "./linkobject.js";
29
41
  export * from "./livingarrangements.js";
30
42
  export * from "./loandetailsattributes.js";
31
43
  export * from "./maritalstatus.js";
44
+ export * from "./monetaryquantity.js";
45
+ export * from "./percentagequantity.js";
32
46
  export * from "./relationshipresourcenotfound.js";
33
47
  export * from "./repaymentstructure.js";
34
48
  export * from "./residencystatus.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qCAAqC,CAAC;AACpD,cAAc,sBAAsB,CAAC;AACrC,cAAc,gDAAgD,CAAC;AAC/D,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,8DAA8D,CAAC;AAC7E,cAAc,8CAA8C,CAAC;AAC7D,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,0DAA0D,CAAC;AACzE,cAAc,wCAAwC,CAAC;AACvD,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,mCAAmC,CAAC;AAClD,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC;AACrD,cAAc,iCAAiC,CAAC;AAChD,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qCAAqC,CAAC;AACpD,cAAc,sBAAsB,CAAC;AACrC,cAAc,gDAAgD,CAAC;AAC/D,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,8DAA8D,CAAC;AAC7E,cAAc,8CAA8C,CAAC;AAC7D,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,0DAA0D,CAAC;AACzE,cAAc,wCAAwC,CAAC;AACvD,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kCAAkC,CAAC;AACjD,cAAc,0CAA0C,CAAC;AACzD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC;AAClD,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC;AACrD,cAAc,iCAAiC,CAAC;AAChD,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC"}
@@ -36,18 +36,32 @@ __exportStar(require("./consumersecuredloanassetattributes.js"), exports);
36
36
  __exportStar(require("./consumersecuredloanassettype.js"), exports);
37
37
  __exportStar(require("./consumersecuredloanconsumerapplicationrelationships.js"), exports);
38
38
  __exportStar(require("./createsupportingdocumentsresponse.js"), exports);
39
+ __exportStar(require("./currencycodeiso4217.js"), exports);
40
+ __exportStar(require("./customerassetattributes.js"), exports);
41
+ __exportStar(require("./customerassettype.js"), exports);
39
42
  __exportStar(require("./customerattributes.js"), exports);
40
43
  __exportStar(require("./customeridtype.js"), exports);
44
+ __exportStar(require("./customerliabilityattributes.js"), exports);
45
+ __exportStar(require("./customerliabilityrepaymentfrequency.js"), exports);
46
+ __exportStar(require("./customerliabilitytype.js"), exports);
41
47
  __exportStar(require("./customertitle.js"), exports);
42
48
  __exportStar(require("./documenttype.js"), exports);
43
49
  __exportStar(require("./entityattributes.js"), exports);
44
50
  __exportStar(require("./errorsource.js"), exports);
51
+ __exportStar(require("./expenseattributes.js"), exports);
52
+ __exportStar(require("./expensefrequency.js"), exports);
53
+ __exportStar(require("./expensetype.js"), exports);
45
54
  __exportStar(require("./forbiddenerror.js"), exports);
46
55
  __exportStar(require("./frequencytype.js"), exports);
56
+ __exportStar(require("./incomeattributes.js"), exports);
57
+ __exportStar(require("./incomefrequency.js"), exports);
58
+ __exportStar(require("./incometype.js"), exports);
47
59
  __exportStar(require("./linkobject.js"), exports);
48
60
  __exportStar(require("./livingarrangements.js"), exports);
49
61
  __exportStar(require("./loandetailsattributes.js"), exports);
50
62
  __exportStar(require("./maritalstatus.js"), exports);
63
+ __exportStar(require("./monetaryquantity.js"), exports);
64
+ __exportStar(require("./percentagequantity.js"), exports);
51
65
  __exportStar(require("./relationshipresourcenotfound.js"), exports);
52
66
  __exportStar(require("./repaymentstructure.js"), exports);
53
67
  __exportStar(require("./residencystatus.js"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,yDAAuC;AACvC,qDAAmC;AACnC,2DAAyC;AACzC,yDAAuC;AACvC,sEAAoD;AACpD,uDAAqC;AACrC,iFAA+D;AAC/D,2EAAyD;AACzD,4EAA0D;AAC1D,4EAA0D;AAC1D,sEAAoD;AACpD,+FAA6E;AAC7E,+EAA6D;AAC7D,yEAAuD;AACvD,0EAAwD;AACxD,0EAAwD;AACxD,oEAAkD;AAClD,2FAAyE;AACzE,yEAAuD;AACvD,0DAAwC;AACxC,sDAAoC;AACpC,qDAAmC;AACnC,oDAAkC;AAClC,wDAAsC;AACtC,mDAAiC;AACjC,sDAAoC;AACpC,qDAAmC;AACnC,kDAAgC;AAChC,0DAAwC;AACxC,6DAA2C;AAC3C,qDAAmC;AACnC,oEAAkD;AAClD,0DAAwC;AACxC,uDAAqC;AACrC,wDAAsC;AACtC,gDAA8B;AAC9B,oEAAkD;AAClD,yEAAuD;AACvD,uEAAqD;AACrD,kEAAgD;AAChD,oDAAkC;AAClC,qDAAmC;AACnC,sDAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,yDAAuC;AACvC,qDAAmC;AACnC,2DAAyC;AACzC,yDAAuC;AACvC,sEAAoD;AACpD,uDAAqC;AACrC,iFAA+D;AAC/D,2EAAyD;AACzD,4EAA0D;AAC1D,4EAA0D;AAC1D,sEAAoD;AACpD,+FAA6E;AAC7E,+EAA6D;AAC7D,yEAAuD;AACvD,0EAAwD;AACxD,0EAAwD;AACxD,oEAAkD;AAClD,2FAAyE;AACzE,yEAAuD;AACvD,2DAAyC;AACzC,+DAA6C;AAC7C,yDAAuC;AACvC,0DAAwC;AACxC,sDAAoC;AACpC,mEAAiD;AACjD,2EAAyD;AACzD,6DAA2C;AAC3C,qDAAmC;AACnC,oDAAkC;AAClC,wDAAsC;AACtC,mDAAiC;AACjC,yDAAuC;AACvC,wDAAsC;AACtC,mDAAiC;AACjC,sDAAoC;AACpC,qDAAmC;AACnC,wDAAsC;AACtC,uDAAqC;AACrC,kDAAgC;AAChC,kDAAgC;AAChC,0DAAwC;AACxC,6DAA2C;AAC3C,qDAAmC;AACnC,wDAAsC;AACtC,0DAAwC;AACxC,oEAAkD;AAClD,0DAAwC;AACxC,uDAAqC;AACrC,wDAAsC;AACtC,gDAA8B;AAC9B,oEAAkD;AAClD,yEAAuD;AACvD,uEAAqD;AACrD,kEAAgD;AAChD,oDAAkC;AAClC,qDAAmC;AACnC,sDAAoC"}
@@ -2,7 +2,45 @@ import * as z from "zod";
2
2
  import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
4
  import { FrequencyType } from "./frequencytype.js";
5
+ import { MonetaryQuantity, MonetaryQuantity$Outbound } from "./monetaryquantity.js";
6
+ import { PercentageQuantity, PercentageQuantity$Outbound } from "./percentagequantity.js";
5
7
  import { RepaymentStructure } from "./repaymentstructure.js";
8
+ /**
9
+ * Total loan amount, either MonetaryQuantity model (preferred) or floating point dollars as string. The latter will be deprecated.
10
+ */
11
+ export type LoanAmount = MonetaryQuantity | string;
12
+ /**
13
+ * Brokerage quantity as either BrokerageQuantity model (preferred) or floating point dollars as string. The latter will be deprecated. Only applicable to commercialSecured loans.
14
+ */
15
+ export type Brokerage = PercentageQuantity | MonetaryQuantity | string;
16
+ /**
17
+ * Balloon quantity as either BalloonQuantity model (preferred) or dollar integer as int32 (the latter will be deprecated)
18
+ */
19
+ export type Balloon = PercentageQuantity | MonetaryQuantity | number;
20
+ /**
21
+ * Either MonetaryQuantity model (preferred) or floating point AUD dollars as string. The latter will be deprecated.
22
+ */
23
+ export type Deposit = MonetaryQuantity | string;
24
+ /**
25
+ * Trade in amount as MonetaryQuantity model (preferred),or floating point AUD dollars as string. The latter will be deprecated
26
+ */
27
+ export type TradeIn = MonetaryQuantity | string;
28
+ /**
29
+ * Origination fee as either MonetaryQuantity model (preferred) or integer AUD dollars. The latter will be deprecated.
30
+ */
31
+ export type OriginationFee = MonetaryQuantity | number;
32
+ /**
33
+ * Payout amount as either MonetaryQuantity model (preferred) or floating point AUD dollars as string. The latter will be deprecated.
34
+ */
35
+ export type Payout = MonetaryQuantity | string;
36
+ /**
37
+ * Interest rate as either PercentageQuantity model (preferred) or floating point percentage as string. The latter will be deprecated.
38
+ */
39
+ export type Rate = PercentageQuantity | string;
40
+ /**
41
+ * Rate adjustment as either PercentageQuantity model (preferred) or floating point percentage as string. The latter will be deprecated.
42
+ */
43
+ export type RateAdjustment = PercentageQuantity | string;
6
44
  /**
7
45
  * Loan details model
8
46
  */
@@ -21,59 +59,243 @@ export type LoanDetailsAttributes = {
21
59
  */
22
60
  repaymentStructure?: RepaymentStructure | undefined;
23
61
  /**
24
- * Total loan amount, floating point as string
62
+ * Total loan amount, either MonetaryQuantity model (preferred) or floating point dollars as string. The latter will be deprecated.
25
63
  */
26
- loanAmount?: string | undefined;
64
+ loanAmount?: MonetaryQuantity | string | undefined;
27
65
  /**
28
66
  * Loan purpose
29
67
  */
30
68
  purpose?: string | undefined;
31
69
  /**
32
- * Loan term in months
70
+ * Loan term in integer months
33
71
  */
34
72
  term?: number | undefined;
35
73
  /**
36
- * Brokerage percentage, floating point as string
74
+ * Brokerage quantity as either BrokerageQuantity model (preferred) or floating point dollars as string. The latter will be deprecated. Only applicable to commercialSecured loans.
37
75
  */
38
- brokerage?: string | undefined;
76
+ brokerage?: PercentageQuantity | MonetaryQuantity | string | undefined;
39
77
  /**
40
- * Brokerage amount, floating point as string
78
+ * Broker amount as floating point dollars string. Will be deprecated in the future, use brokerage instead. Only applicable to commercialSecured loans.
79
+ *
80
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
41
81
  */
42
82
  brokerageAmount?: string | undefined;
43
83
  /**
44
- * Balloon percentage as integer, e.g. provide 10 for 10%
84
+ * Balloon quantity as either BalloonQuantity model (preferred) or dollar integer as int32 (the latter will be deprecated)
45
85
  */
46
- balloon?: number | undefined;
86
+ balloon?: PercentageQuantity | MonetaryQuantity | number | undefined;
47
87
  /**
48
- * Balloon amount, floating point as string
88
+ * Balloon amount, floating point AUD dollars as string. Will be deprecated in the future, use balloon instead
89
+ *
90
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
49
91
  */
50
92
  balloonAmount?: string | undefined;
51
93
  /**
52
- * Deposit amount, floating point as string
94
+ * Either MonetaryQuantity model (preferred) or floating point AUD dollars as string. The latter will be deprecated.
53
95
  */
54
- deposit?: string | undefined;
96
+ deposit?: MonetaryQuantity | string | undefined;
55
97
  /**
56
- * Trade in amount, floating point as string
98
+ * Trade in amount as MonetaryQuantity model (preferred),or floating point AUD dollars as string. The latter will be deprecated
57
99
  */
58
- tradeIn?: string | undefined;
100
+ tradeIn?: MonetaryQuantity | string | undefined;
59
101
  /**
60
- * Origination fee, floating point as string
102
+ * Origination fee as either MonetaryQuantity model (preferred) or integer AUD dollars. The latter will be deprecated.
61
103
  */
62
- originationFee?: number | undefined;
104
+ originationFee?: MonetaryQuantity | number | undefined;
63
105
  /**
64
- * Payout amount, floating point as string
106
+ * Payout amount as either MonetaryQuantity model (preferred) or floating point AUD dollars as string. The latter will be deprecated.
65
107
  */
66
- payout?: string | undefined;
108
+ payout?: MonetaryQuantity | string | undefined;
67
109
  /**
68
- * Interest rate, floating point as string
110
+ * Interest rate as either PercentageQuantity model (preferred) or floating point percentage as string. The latter will be deprecated.
69
111
  */
70
- rate?: string | undefined;
112
+ rate?: PercentageQuantity | string | undefined;
71
113
  /**
72
- * Rate adjustment, floating point as string
114
+ * Rate adjustment as either PercentageQuantity model (preferred) or floating point percentage as string. The latter will be deprecated.
73
115
  */
74
- rateAdjustment?: string | undefined;
116
+ rateAdjustment?: PercentageQuantity | string | undefined;
75
117
  };
76
118
  /** @internal */
119
+ export declare const LoanAmount$inboundSchema: z.ZodType<LoanAmount, z.ZodTypeDef, unknown>;
120
+ /** @internal */
121
+ export type LoanAmount$Outbound = MonetaryQuantity$Outbound | string;
122
+ /** @internal */
123
+ export declare const LoanAmount$outboundSchema: z.ZodType<LoanAmount$Outbound, z.ZodTypeDef, LoanAmount>;
124
+ /**
125
+ * @internal
126
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
127
+ */
128
+ export declare namespace LoanAmount$ {
129
+ /** @deprecated use `LoanAmount$inboundSchema` instead. */
130
+ const inboundSchema: z.ZodType<LoanAmount, z.ZodTypeDef, unknown>;
131
+ /** @deprecated use `LoanAmount$outboundSchema` instead. */
132
+ const outboundSchema: z.ZodType<LoanAmount$Outbound, z.ZodTypeDef, LoanAmount>;
133
+ /** @deprecated use `LoanAmount$Outbound` instead. */
134
+ type Outbound = LoanAmount$Outbound;
135
+ }
136
+ export declare function loanAmountToJSON(loanAmount: LoanAmount): string;
137
+ export declare function loanAmountFromJSON(jsonString: string): SafeParseResult<LoanAmount, SDKValidationError>;
138
+ /** @internal */
139
+ export declare const Brokerage$inboundSchema: z.ZodType<Brokerage, z.ZodTypeDef, unknown>;
140
+ /** @internal */
141
+ export type Brokerage$Outbound = PercentageQuantity$Outbound | MonetaryQuantity$Outbound | string;
142
+ /** @internal */
143
+ export declare const Brokerage$outboundSchema: z.ZodType<Brokerage$Outbound, z.ZodTypeDef, Brokerage>;
144
+ /**
145
+ * @internal
146
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
147
+ */
148
+ export declare namespace Brokerage$ {
149
+ /** @deprecated use `Brokerage$inboundSchema` instead. */
150
+ const inboundSchema: z.ZodType<Brokerage, z.ZodTypeDef, unknown>;
151
+ /** @deprecated use `Brokerage$outboundSchema` instead. */
152
+ const outboundSchema: z.ZodType<Brokerage$Outbound, z.ZodTypeDef, Brokerage>;
153
+ /** @deprecated use `Brokerage$Outbound` instead. */
154
+ type Outbound = Brokerage$Outbound;
155
+ }
156
+ export declare function brokerageToJSON(brokerage: Brokerage): string;
157
+ export declare function brokerageFromJSON(jsonString: string): SafeParseResult<Brokerage, SDKValidationError>;
158
+ /** @internal */
159
+ export declare const Balloon$inboundSchema: z.ZodType<Balloon, z.ZodTypeDef, unknown>;
160
+ /** @internal */
161
+ export type Balloon$Outbound = PercentageQuantity$Outbound | MonetaryQuantity$Outbound | number;
162
+ /** @internal */
163
+ export declare const Balloon$outboundSchema: z.ZodType<Balloon$Outbound, z.ZodTypeDef, Balloon>;
164
+ /**
165
+ * @internal
166
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
167
+ */
168
+ export declare namespace Balloon$ {
169
+ /** @deprecated use `Balloon$inboundSchema` instead. */
170
+ const inboundSchema: z.ZodType<Balloon, z.ZodTypeDef, unknown>;
171
+ /** @deprecated use `Balloon$outboundSchema` instead. */
172
+ const outboundSchema: z.ZodType<Balloon$Outbound, z.ZodTypeDef, Balloon>;
173
+ /** @deprecated use `Balloon$Outbound` instead. */
174
+ type Outbound = Balloon$Outbound;
175
+ }
176
+ export declare function balloonToJSON(balloon: Balloon): string;
177
+ export declare function balloonFromJSON(jsonString: string): SafeParseResult<Balloon, SDKValidationError>;
178
+ /** @internal */
179
+ export declare const Deposit$inboundSchema: z.ZodType<Deposit, z.ZodTypeDef, unknown>;
180
+ /** @internal */
181
+ export type Deposit$Outbound = MonetaryQuantity$Outbound | string;
182
+ /** @internal */
183
+ export declare const Deposit$outboundSchema: z.ZodType<Deposit$Outbound, z.ZodTypeDef, Deposit>;
184
+ /**
185
+ * @internal
186
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
187
+ */
188
+ export declare namespace Deposit$ {
189
+ /** @deprecated use `Deposit$inboundSchema` instead. */
190
+ const inboundSchema: z.ZodType<Deposit, z.ZodTypeDef, unknown>;
191
+ /** @deprecated use `Deposit$outboundSchema` instead. */
192
+ const outboundSchema: z.ZodType<Deposit$Outbound, z.ZodTypeDef, Deposit>;
193
+ /** @deprecated use `Deposit$Outbound` instead. */
194
+ type Outbound = Deposit$Outbound;
195
+ }
196
+ export declare function depositToJSON(deposit: Deposit): string;
197
+ export declare function depositFromJSON(jsonString: string): SafeParseResult<Deposit, SDKValidationError>;
198
+ /** @internal */
199
+ export declare const TradeIn$inboundSchema: z.ZodType<TradeIn, z.ZodTypeDef, unknown>;
200
+ /** @internal */
201
+ export type TradeIn$Outbound = MonetaryQuantity$Outbound | string;
202
+ /** @internal */
203
+ export declare const TradeIn$outboundSchema: z.ZodType<TradeIn$Outbound, z.ZodTypeDef, TradeIn>;
204
+ /**
205
+ * @internal
206
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
207
+ */
208
+ export declare namespace TradeIn$ {
209
+ /** @deprecated use `TradeIn$inboundSchema` instead. */
210
+ const inboundSchema: z.ZodType<TradeIn, z.ZodTypeDef, unknown>;
211
+ /** @deprecated use `TradeIn$outboundSchema` instead. */
212
+ const outboundSchema: z.ZodType<TradeIn$Outbound, z.ZodTypeDef, TradeIn>;
213
+ /** @deprecated use `TradeIn$Outbound` instead. */
214
+ type Outbound = TradeIn$Outbound;
215
+ }
216
+ export declare function tradeInToJSON(tradeIn: TradeIn): string;
217
+ export declare function tradeInFromJSON(jsonString: string): SafeParseResult<TradeIn, SDKValidationError>;
218
+ /** @internal */
219
+ export declare const OriginationFee$inboundSchema: z.ZodType<OriginationFee, z.ZodTypeDef, unknown>;
220
+ /** @internal */
221
+ export type OriginationFee$Outbound = MonetaryQuantity$Outbound | number;
222
+ /** @internal */
223
+ export declare const OriginationFee$outboundSchema: z.ZodType<OriginationFee$Outbound, z.ZodTypeDef, OriginationFee>;
224
+ /**
225
+ * @internal
226
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
227
+ */
228
+ export declare namespace OriginationFee$ {
229
+ /** @deprecated use `OriginationFee$inboundSchema` instead. */
230
+ const inboundSchema: z.ZodType<OriginationFee, z.ZodTypeDef, unknown>;
231
+ /** @deprecated use `OriginationFee$outboundSchema` instead. */
232
+ const outboundSchema: z.ZodType<OriginationFee$Outbound, z.ZodTypeDef, OriginationFee>;
233
+ /** @deprecated use `OriginationFee$Outbound` instead. */
234
+ type Outbound = OriginationFee$Outbound;
235
+ }
236
+ export declare function originationFeeToJSON(originationFee: OriginationFee): string;
237
+ export declare function originationFeeFromJSON(jsonString: string): SafeParseResult<OriginationFee, SDKValidationError>;
238
+ /** @internal */
239
+ export declare const Payout$inboundSchema: z.ZodType<Payout, z.ZodTypeDef, unknown>;
240
+ /** @internal */
241
+ export type Payout$Outbound = MonetaryQuantity$Outbound | string;
242
+ /** @internal */
243
+ export declare const Payout$outboundSchema: z.ZodType<Payout$Outbound, z.ZodTypeDef, Payout>;
244
+ /**
245
+ * @internal
246
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
247
+ */
248
+ export declare namespace Payout$ {
249
+ /** @deprecated use `Payout$inboundSchema` instead. */
250
+ const inboundSchema: z.ZodType<Payout, z.ZodTypeDef, unknown>;
251
+ /** @deprecated use `Payout$outboundSchema` instead. */
252
+ const outboundSchema: z.ZodType<Payout$Outbound, z.ZodTypeDef, Payout>;
253
+ /** @deprecated use `Payout$Outbound` instead. */
254
+ type Outbound = Payout$Outbound;
255
+ }
256
+ export declare function payoutToJSON(payout: Payout): string;
257
+ export declare function payoutFromJSON(jsonString: string): SafeParseResult<Payout, SDKValidationError>;
258
+ /** @internal */
259
+ export declare const Rate$inboundSchema: z.ZodType<Rate, z.ZodTypeDef, unknown>;
260
+ /** @internal */
261
+ export type Rate$Outbound = PercentageQuantity$Outbound | string;
262
+ /** @internal */
263
+ export declare const Rate$outboundSchema: z.ZodType<Rate$Outbound, z.ZodTypeDef, Rate>;
264
+ /**
265
+ * @internal
266
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
267
+ */
268
+ export declare namespace Rate$ {
269
+ /** @deprecated use `Rate$inboundSchema` instead. */
270
+ const inboundSchema: z.ZodType<Rate, z.ZodTypeDef, unknown>;
271
+ /** @deprecated use `Rate$outboundSchema` instead. */
272
+ const outboundSchema: z.ZodType<Rate$Outbound, z.ZodTypeDef, Rate>;
273
+ /** @deprecated use `Rate$Outbound` instead. */
274
+ type Outbound = Rate$Outbound;
275
+ }
276
+ export declare function rateToJSON(rate: Rate): string;
277
+ export declare function rateFromJSON(jsonString: string): SafeParseResult<Rate, SDKValidationError>;
278
+ /** @internal */
279
+ export declare const RateAdjustment$inboundSchema: z.ZodType<RateAdjustment, z.ZodTypeDef, unknown>;
280
+ /** @internal */
281
+ export type RateAdjustment$Outbound = PercentageQuantity$Outbound | string;
282
+ /** @internal */
283
+ export declare const RateAdjustment$outboundSchema: z.ZodType<RateAdjustment$Outbound, z.ZodTypeDef, RateAdjustment>;
284
+ /**
285
+ * @internal
286
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
287
+ */
288
+ export declare namespace RateAdjustment$ {
289
+ /** @deprecated use `RateAdjustment$inboundSchema` instead. */
290
+ const inboundSchema: z.ZodType<RateAdjustment, z.ZodTypeDef, unknown>;
291
+ /** @deprecated use `RateAdjustment$outboundSchema` instead. */
292
+ const outboundSchema: z.ZodType<RateAdjustment$Outbound, z.ZodTypeDef, RateAdjustment>;
293
+ /** @deprecated use `RateAdjustment$Outbound` instead. */
294
+ type Outbound = RateAdjustment$Outbound;
295
+ }
296
+ export declare function rateAdjustmentToJSON(rateAdjustment: RateAdjustment): string;
297
+ export declare function rateAdjustmentFromJSON(jsonString: string): SafeParseResult<RateAdjustment, SDKValidationError>;
298
+ /** @internal */
77
299
  export declare const LoanDetailsAttributes$inboundSchema: z.ZodType<LoanDetailsAttributes, z.ZodTypeDef, unknown>;
78
300
  /** @internal */
79
301
  export type LoanDetailsAttributes$Outbound = {
@@ -81,19 +303,19 @@ export type LoanDetailsAttributes$Outbound = {
81
303
  repayments?: number | undefined;
82
304
  repaymentFrequency?: string | undefined;
83
305
  repaymentStructure?: string | undefined;
84
- loanAmount?: string | undefined;
306
+ loanAmount?: MonetaryQuantity$Outbound | string | undefined;
85
307
  purpose?: string | undefined;
86
308
  term?: number | undefined;
87
- brokerage?: string | undefined;
309
+ brokerage?: PercentageQuantity$Outbound | MonetaryQuantity$Outbound | string | undefined;
88
310
  brokerageAmount?: string | undefined;
89
- balloon?: number | undefined;
311
+ balloon?: PercentageQuantity$Outbound | MonetaryQuantity$Outbound | number | undefined;
90
312
  balloonAmount?: string | undefined;
91
- deposit?: string | undefined;
92
- tradeIn?: string | undefined;
93
- originationFee?: number | undefined;
94
- payout?: string | undefined;
95
- rate?: string | undefined;
96
- rateAdjustment?: string | undefined;
313
+ deposit?: MonetaryQuantity$Outbound | string | undefined;
314
+ tradeIn?: MonetaryQuantity$Outbound | string | undefined;
315
+ originationFee?: MonetaryQuantity$Outbound | number | undefined;
316
+ payout?: MonetaryQuantity$Outbound | string | undefined;
317
+ rate?: PercentageQuantity$Outbound | string | undefined;
318
+ rateAdjustment?: PercentageQuantity$Outbound | string | undefined;
97
319
  };
98
320
  /** @internal */
99
321
  export declare const LoanDetailsAttributes$outboundSchema: z.ZodType<LoanDetailsAttributes$Outbound, z.ZodTypeDef, LoanDetailsAttributes>;