@financeable/aggregation 0.8.0 → 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 (56) hide show
  1. package/README.md +1 -0
  2. package/jsr.json +1 -1
  3. package/lib/config.d.ts +2 -2
  4. package/lib/config.js +2 -2
  5. package/models/components/consumersecuredloanassetattributes.d.ts +136 -15
  6. package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -1
  7. package/models/components/consumersecuredloanassetattributes.js +131 -11
  8. package/models/components/consumersecuredloanassetattributes.js.map +1 -1
  9. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +199 -21
  10. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -1
  11. package/models/components/consumersecuredloanconsumerapplicationrelationships.js +192 -25
  12. package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -1
  13. package/models/components/customerattributes.d.ts +3 -0
  14. package/models/components/customerattributes.d.ts.map +1 -1
  15. package/models/components/customerattributes.js +3 -0
  16. package/models/components/customerattributes.js.map +1 -1
  17. package/models/components/expenseattributes.d.ts +38 -0
  18. package/models/components/expenseattributes.d.ts.map +1 -0
  19. package/models/components/expenseattributes.js +78 -0
  20. package/models/components/expenseattributes.js.map +1 -0
  21. package/models/components/expensefrequency.d.ts +31 -0
  22. package/models/components/expensefrequency.d.ts.map +1 -0
  23. package/models/components/expensefrequency.js +61 -0
  24. package/models/components/expensefrequency.js.map +1 -0
  25. package/models/components/expensetype.d.ts +79 -0
  26. package/models/components/expensetype.d.ts.map +1 -0
  27. package/models/components/expensetype.js +78 -0
  28. package/models/components/expensetype.js.map +1 -0
  29. package/models/components/incomeattributes.d.ts +38 -0
  30. package/models/components/incomeattributes.d.ts.map +1 -0
  31. package/models/components/incomeattributes.js +78 -0
  32. package/models/components/incomeattributes.js.map +1 -0
  33. package/models/components/incomefrequency.d.ts +34 -0
  34. package/models/components/incomefrequency.d.ts.map +1 -0
  35. package/models/components/incomefrequency.js +62 -0
  36. package/models/components/incomefrequency.js.map +1 -0
  37. package/models/components/incometype.d.ts +49 -0
  38. package/models/components/incometype.d.ts.map +1 -0
  39. package/models/components/incometype.js +68 -0
  40. package/models/components/incometype.js.map +1 -0
  41. package/models/components/index.d.ts +6 -0
  42. package/models/components/index.d.ts.map +1 -1
  43. package/models/components/index.js +6 -0
  44. package/models/components/index.js.map +1 -1
  45. package/package.json +1 -1
  46. package/src/lib/config.ts +2 -2
  47. package/src/models/components/consumersecuredloanassetattributes.ts +282 -25
  48. package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +436 -35
  49. package/src/models/components/customerattributes.ts +10 -0
  50. package/src/models/components/expenseattributes.ts +94 -0
  51. package/src/models/components/expensefrequency.ts +34 -0
  52. package/src/models/components/expensetype.ts +48 -0
  53. package/src/models/components/incomeattributes.ts +94 -0
  54. package/src/models/components/incomefrequency.ts +35 -0
  55. package/src/models/components/incometype.ts +38 -0
  56. package/src/models/components/index.ts +6 -0
@@ -0,0 +1,78 @@
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.ExpenseAttributes$ = exports.ExpenseAttributes$outboundSchema = exports.ExpenseAttributes$inboundSchema = void 0;
40
+ exports.expenseAttributesToJSON = expenseAttributesToJSON;
41
+ exports.expenseAttributesFromJSON = expenseAttributesFromJSON;
42
+ const z = __importStar(require("zod"));
43
+ const schemas_js_1 = require("../../lib/schemas.js");
44
+ const expensefrequency_js_1 = require("./expensefrequency.js");
45
+ const expensetype_js_1 = require("./expensetype.js");
46
+ const monetaryquantity_js_1 = require("./monetaryquantity.js");
47
+ /** @internal */
48
+ exports.ExpenseAttributes$inboundSchema = z.object({
49
+ id: z.string().optional(),
50
+ expenseType: expensetype_js_1.ExpenseType$inboundSchema,
51
+ frequency: expensefrequency_js_1.ExpenseFrequency$inboundSchema.optional(),
52
+ amount: monetaryquantity_js_1.MonetaryQuantity$inboundSchema.optional(),
53
+ });
54
+ /** @internal */
55
+ exports.ExpenseAttributes$outboundSchema = z.object({
56
+ id: z.string().optional(),
57
+ expenseType: expensetype_js_1.ExpenseType$outboundSchema,
58
+ frequency: expensefrequency_js_1.ExpenseFrequency$outboundSchema.optional(),
59
+ amount: monetaryquantity_js_1.MonetaryQuantity$outboundSchema.optional(),
60
+ });
61
+ /**
62
+ * @internal
63
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
64
+ */
65
+ var ExpenseAttributes$;
66
+ (function (ExpenseAttributes$) {
67
+ /** @deprecated use `ExpenseAttributes$inboundSchema` instead. */
68
+ ExpenseAttributes$.inboundSchema = exports.ExpenseAttributes$inboundSchema;
69
+ /** @deprecated use `ExpenseAttributes$outboundSchema` instead. */
70
+ ExpenseAttributes$.outboundSchema = exports.ExpenseAttributes$outboundSchema;
71
+ })(ExpenseAttributes$ || (exports.ExpenseAttributes$ = ExpenseAttributes$ = {}));
72
+ function expenseAttributesToJSON(expenseAttributes) {
73
+ return JSON.stringify(exports.ExpenseAttributes$outboundSchema.parse(expenseAttributes));
74
+ }
75
+ function expenseAttributesFromJSON(jsonString) {
76
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ExpenseAttributes$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ExpenseAttributes' from JSON`);
77
+ }
78
+ //# sourceMappingURL=expenseattributes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expenseattributes.js","sourceRoot":"","sources":["../../src/models/components/expenseattributes.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2EH,0DAMC;AAED,8DAQC;AAzFD,uCAAyB;AACzB,qDAAiD;AAGjD,+DAI+B;AAC/B,qDAI0B;AAC1B,+DAK+B;AAS/B,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,WAAW,EAAE,0CAAyB;IACtC,SAAS,EAAE,oDAA8B,CAAC,QAAQ,EAAE;IACpD,MAAM,EAAE,oDAA8B,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,WAAW,EAAE,2CAA0B;IACvC,SAAS,EAAE,qDAA+B,CAAC,QAAQ,EAAE;IACrD,MAAM,EAAE,qDAA+B,CAAC,QAAQ,EAAE;CACnD,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,kBAAkB,CAOlC;AAPD,WAAiB,kBAAkB;IACjC,iEAAiE;IACpD,gCAAa,GAAG,uCAA+B,CAAC;IAC7D,kEAAkE;IACrD,iCAAc,GAAG,wCAAgC,CAAC;AAGjE,CAAC,EAPgB,kBAAkB,kCAAlB,kBAAkB,QAOlC;AAED,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC;AAED,SAAgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,31 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ export declare const ExpenseFrequency: {
4
+ readonly Weekly: "WEEKLY";
5
+ readonly Fortnightly: "FORTNIGHTLY";
6
+ readonly Monthly: "MONTHLY";
7
+ };
8
+ export type ExpenseFrequency = ClosedEnum<typeof ExpenseFrequency>;
9
+ /** @internal */
10
+ export declare const ExpenseFrequency$inboundSchema: z.ZodNativeEnum<typeof ExpenseFrequency>;
11
+ /** @internal */
12
+ export declare const ExpenseFrequency$outboundSchema: z.ZodNativeEnum<typeof ExpenseFrequency>;
13
+ /**
14
+ * @internal
15
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
16
+ */
17
+ export declare namespace ExpenseFrequency$ {
18
+ /** @deprecated use `ExpenseFrequency$inboundSchema` instead. */
19
+ const inboundSchema: z.ZodNativeEnum<{
20
+ readonly Weekly: "WEEKLY";
21
+ readonly Fortnightly: "FORTNIGHTLY";
22
+ readonly Monthly: "MONTHLY";
23
+ }>;
24
+ /** @deprecated use `ExpenseFrequency$outboundSchema` instead. */
25
+ const outboundSchema: z.ZodNativeEnum<{
26
+ readonly Weekly: "WEEKLY";
27
+ readonly Fortnightly: "FORTNIGHTLY";
28
+ readonly Monthly: "MONTHLY";
29
+ }>;
30
+ }
31
+ //# sourceMappingURL=expensefrequency.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expensefrequency.d.ts","sourceRoot":"","sources":["../../src/models/components/expensefrequency.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,gBAAgB;;;;CAInB,CAAC;AACX,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,aAAa,CAC1D,OAAO,gBAAgB,CACS,CAAC;AAEnC,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,aAAa,CAC3D,OAAO,gBAAgB,CACS,CAAC;AAEnC;;;GAGG;AACH,yBAAiB,iBAAiB,CAAC;IACjC,gEAAgE;IACzD,MAAM,aAAa;;;;MAAiC,CAAC;IAC5D,iEAAiE;IAC1D,MAAM,cAAc;;;;MAAkC,CAAC;CAC/D"}
@@ -0,0 +1,61 @@
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.ExpenseFrequency$ = exports.ExpenseFrequency$outboundSchema = exports.ExpenseFrequency$inboundSchema = exports.ExpenseFrequency = void 0;
40
+ const z = __importStar(require("zod"));
41
+ exports.ExpenseFrequency = {
42
+ Weekly: "WEEKLY",
43
+ Fortnightly: "FORTNIGHTLY",
44
+ Monthly: "MONTHLY",
45
+ };
46
+ /** @internal */
47
+ exports.ExpenseFrequency$inboundSchema = z.nativeEnum(exports.ExpenseFrequency);
48
+ /** @internal */
49
+ exports.ExpenseFrequency$outboundSchema = exports.ExpenseFrequency$inboundSchema;
50
+ /**
51
+ * @internal
52
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
53
+ */
54
+ var ExpenseFrequency$;
55
+ (function (ExpenseFrequency$) {
56
+ /** @deprecated use `ExpenseFrequency$inboundSchema` instead. */
57
+ ExpenseFrequency$.inboundSchema = exports.ExpenseFrequency$inboundSchema;
58
+ /** @deprecated use `ExpenseFrequency$outboundSchema` instead. */
59
+ ExpenseFrequency$.outboundSchema = exports.ExpenseFrequency$outboundSchema;
60
+ })(ExpenseFrequency$ || (exports.ExpenseFrequency$ = ExpenseFrequency$ = {}));
61
+ //# sourceMappingURL=expensefrequency.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expensefrequency.js","sourceRoot":"","sources":["../../src/models/components/expensefrequency.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGZ,QAAA,gBAAgB,GAAG;IAC9B,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,SAAS;CACV,CAAC;AAGX,gBAAgB;AACH,QAAA,8BAA8B,GAEvC,CAAC,CAAC,UAAU,CAAC,wBAAgB,CAAC,CAAC;AAEnC,gBAAgB;AACH,QAAA,+BAA+B,GAExC,sCAA8B,CAAC;AAEnC;;;GAGG;AACH,IAAiB,iBAAiB,CAKjC;AALD,WAAiB,iBAAiB;IAChC,gEAAgE;IACnD,+BAAa,GAAG,sCAA8B,CAAC;IAC5D,iEAAiE;IACpD,gCAAc,GAAG,uCAA+B,CAAC;AAChE,CAAC,EALgB,iBAAiB,iCAAjB,iBAAiB,QAKjC"}
@@ -0,0 +1,79 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ export declare const ExpenseType: {
4
+ readonly Rent: "RENT";
5
+ readonly Utilities: "UTILITIES";
6
+ readonly Groceries: "GROCERIES";
7
+ readonly DiningOut: "DINING_OUT";
8
+ readonly Insurance: "INSURANCE";
9
+ readonly Telecommunications: "TELECOMMUNICATIONS";
10
+ readonly SubscriptionTv: "SUBSCRIPTION_TV";
11
+ readonly EducationAndChildcare: "EDUCATION_AND_CHILDCARE";
12
+ readonly VehicleAndTransport: "VEHICLE_AND_TRANSPORT";
13
+ readonly PersonalCare: "PERSONAL_CARE";
14
+ readonly Health: "HEALTH";
15
+ readonly DepartmentStores: "DEPARTMENT_STORES";
16
+ readonly Retail: "RETAIL";
17
+ readonly HomeImprovement: "HOME_IMPROVEMENT";
18
+ readonly Entertainment: "ENTERTAINMENT";
19
+ readonly GymAndOtherMembership: "GYM_AND_OTHER_MEMBERSHIP";
20
+ readonly Travel: "TRAVEL";
21
+ readonly PetCare: "PET_CARE";
22
+ readonly UncategorizedDebts: "UNCATEGORIZED_DEBTS";
23
+ };
24
+ export type ExpenseType = ClosedEnum<typeof ExpenseType>;
25
+ /** @internal */
26
+ export declare const ExpenseType$inboundSchema: z.ZodNativeEnum<typeof ExpenseType>;
27
+ /** @internal */
28
+ export declare const ExpenseType$outboundSchema: z.ZodNativeEnum<typeof ExpenseType>;
29
+ /**
30
+ * @internal
31
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
32
+ */
33
+ export declare namespace ExpenseType$ {
34
+ /** @deprecated use `ExpenseType$inboundSchema` instead. */
35
+ const inboundSchema: z.ZodNativeEnum<{
36
+ readonly Rent: "RENT";
37
+ readonly Utilities: "UTILITIES";
38
+ readonly Groceries: "GROCERIES";
39
+ readonly DiningOut: "DINING_OUT";
40
+ readonly Insurance: "INSURANCE";
41
+ readonly Telecommunications: "TELECOMMUNICATIONS";
42
+ readonly SubscriptionTv: "SUBSCRIPTION_TV";
43
+ readonly EducationAndChildcare: "EDUCATION_AND_CHILDCARE";
44
+ readonly VehicleAndTransport: "VEHICLE_AND_TRANSPORT";
45
+ readonly PersonalCare: "PERSONAL_CARE";
46
+ readonly Health: "HEALTH";
47
+ readonly DepartmentStores: "DEPARTMENT_STORES";
48
+ readonly Retail: "RETAIL";
49
+ readonly HomeImprovement: "HOME_IMPROVEMENT";
50
+ readonly Entertainment: "ENTERTAINMENT";
51
+ readonly GymAndOtherMembership: "GYM_AND_OTHER_MEMBERSHIP";
52
+ readonly Travel: "TRAVEL";
53
+ readonly PetCare: "PET_CARE";
54
+ readonly UncategorizedDebts: "UNCATEGORIZED_DEBTS";
55
+ }>;
56
+ /** @deprecated use `ExpenseType$outboundSchema` instead. */
57
+ const outboundSchema: z.ZodNativeEnum<{
58
+ readonly Rent: "RENT";
59
+ readonly Utilities: "UTILITIES";
60
+ readonly Groceries: "GROCERIES";
61
+ readonly DiningOut: "DINING_OUT";
62
+ readonly Insurance: "INSURANCE";
63
+ readonly Telecommunications: "TELECOMMUNICATIONS";
64
+ readonly SubscriptionTv: "SUBSCRIPTION_TV";
65
+ readonly EducationAndChildcare: "EDUCATION_AND_CHILDCARE";
66
+ readonly VehicleAndTransport: "VEHICLE_AND_TRANSPORT";
67
+ readonly PersonalCare: "PERSONAL_CARE";
68
+ readonly Health: "HEALTH";
69
+ readonly DepartmentStores: "DEPARTMENT_STORES";
70
+ readonly Retail: "RETAIL";
71
+ readonly HomeImprovement: "HOME_IMPROVEMENT";
72
+ readonly Entertainment: "ENTERTAINMENT";
73
+ readonly GymAndOtherMembership: "GYM_AND_OTHER_MEMBERSHIP";
74
+ readonly Travel: "TRAVEL";
75
+ readonly PetCare: "PET_CARE";
76
+ readonly UncategorizedDebts: "UNCATEGORIZED_DEBTS";
77
+ }>;
78
+ }
79
+ //# sourceMappingURL=expensetype.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expensetype.d.ts","sourceRoot":"","sources":["../../src/models/components/expensetype.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;CAoBd,CAAC;AACX,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAEzD,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,WAAW,CAChD,CAAC;AAE3B,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,WAAW,CAChD,CAAC;AAE5B;;;GAGG;AACH,yBAAiB,YAAY,CAAC;IAC5B,2DAA2D;IACpD,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;MAA4B,CAAC;IACvD,4DAA4D;IACrD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;MAA6B,CAAC;CAC1D"}
@@ -0,0 +1,78 @@
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.ExpenseType$ = exports.ExpenseType$outboundSchema = exports.ExpenseType$inboundSchema = exports.ExpenseType = void 0;
40
+ const z = __importStar(require("zod"));
41
+ exports.ExpenseType = {
42
+ Rent: "RENT",
43
+ Utilities: "UTILITIES",
44
+ Groceries: "GROCERIES",
45
+ DiningOut: "DINING_OUT",
46
+ Insurance: "INSURANCE",
47
+ Telecommunications: "TELECOMMUNICATIONS",
48
+ SubscriptionTv: "SUBSCRIPTION_TV",
49
+ EducationAndChildcare: "EDUCATION_AND_CHILDCARE",
50
+ VehicleAndTransport: "VEHICLE_AND_TRANSPORT",
51
+ PersonalCare: "PERSONAL_CARE",
52
+ Health: "HEALTH",
53
+ DepartmentStores: "DEPARTMENT_STORES",
54
+ Retail: "RETAIL",
55
+ HomeImprovement: "HOME_IMPROVEMENT",
56
+ Entertainment: "ENTERTAINMENT",
57
+ GymAndOtherMembership: "GYM_AND_OTHER_MEMBERSHIP",
58
+ Travel: "TRAVEL",
59
+ PetCare: "PET_CARE",
60
+ UncategorizedDebts: "UNCATEGORIZED_DEBTS",
61
+ };
62
+ /** @internal */
63
+ exports.ExpenseType$inboundSchema = z
64
+ .nativeEnum(exports.ExpenseType);
65
+ /** @internal */
66
+ exports.ExpenseType$outboundSchema = exports.ExpenseType$inboundSchema;
67
+ /**
68
+ * @internal
69
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
70
+ */
71
+ var ExpenseType$;
72
+ (function (ExpenseType$) {
73
+ /** @deprecated use `ExpenseType$inboundSchema` instead. */
74
+ ExpenseType$.inboundSchema = exports.ExpenseType$inboundSchema;
75
+ /** @deprecated use `ExpenseType$outboundSchema` instead. */
76
+ ExpenseType$.outboundSchema = exports.ExpenseType$outboundSchema;
77
+ })(ExpenseType$ || (exports.ExpenseType$ = ExpenseType$ = {}));
78
+ //# sourceMappingURL=expensetype.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expensetype.js","sourceRoot":"","sources":["../../src/models/components/expensetype.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGZ,QAAA,WAAW,GAAG;IACzB,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,YAAY;IACvB,SAAS,EAAE,WAAW;IACtB,kBAAkB,EAAE,oBAAoB;IACxC,cAAc,EAAE,iBAAiB;IACjC,qBAAqB,EAAE,yBAAyB;IAChD,mBAAmB,EAAE,uBAAuB;IAC5C,YAAY,EAAE,eAAe;IAC7B,MAAM,EAAE,QAAQ;IAChB,gBAAgB,EAAE,mBAAmB;IACrC,MAAM,EAAE,QAAQ;IAChB,eAAe,EAAE,kBAAkB;IACnC,aAAa,EAAE,eAAe;IAC9B,qBAAqB,EAAE,0BAA0B;IACjD,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,UAAU;IACnB,kBAAkB,EAAE,qBAAqB;CACjC,CAAC;AAGX,gBAAgB;AACH,QAAA,yBAAyB,GAAwC,CAAC;KAC5E,UAAU,CAAC,mBAAW,CAAC,CAAC;AAE3B,gBAAgB;AACH,QAAA,0BAA0B,GACrC,iCAAyB,CAAC;AAE5B;;;GAGG;AACH,IAAiB,YAAY,CAK5B;AALD,WAAiB,YAAY;IAC3B,2DAA2D;IAC9C,0BAAa,GAAG,iCAAyB,CAAC;IACvD,4DAA4D;IAC/C,2BAAc,GAAG,kCAA0B,CAAC;AAC3D,CAAC,EALgB,YAAY,4BAAZ,YAAY,QAK5B"}
@@ -0,0 +1,38 @@
1
+ import * as z from "zod";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ import { IncomeFrequency } from "./incomefrequency.js";
5
+ import { IncomeType } from "./incometype.js";
6
+ import { MonetaryQuantity, MonetaryQuantity$Outbound } from "./monetaryquantity.js";
7
+ export type IncomeAttributes = {
8
+ id?: string | undefined;
9
+ incomeType: IncomeType;
10
+ frequency?: IncomeFrequency | undefined;
11
+ amount?: MonetaryQuantity | undefined;
12
+ };
13
+ /** @internal */
14
+ export declare const IncomeAttributes$inboundSchema: z.ZodType<IncomeAttributes, z.ZodTypeDef, unknown>;
15
+ /** @internal */
16
+ export type IncomeAttributes$Outbound = {
17
+ id?: string | undefined;
18
+ incomeType: string;
19
+ frequency?: string | undefined;
20
+ amount?: MonetaryQuantity$Outbound | undefined;
21
+ };
22
+ /** @internal */
23
+ export declare const IncomeAttributes$outboundSchema: z.ZodType<IncomeAttributes$Outbound, z.ZodTypeDef, IncomeAttributes>;
24
+ /**
25
+ * @internal
26
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
27
+ */
28
+ export declare namespace IncomeAttributes$ {
29
+ /** @deprecated use `IncomeAttributes$inboundSchema` instead. */
30
+ const inboundSchema: z.ZodType<IncomeAttributes, z.ZodTypeDef, unknown>;
31
+ /** @deprecated use `IncomeAttributes$outboundSchema` instead. */
32
+ const outboundSchema: z.ZodType<IncomeAttributes$Outbound, z.ZodTypeDef, IncomeAttributes>;
33
+ /** @deprecated use `IncomeAttributes$Outbound` instead. */
34
+ type Outbound = IncomeAttributes$Outbound;
35
+ }
36
+ export declare function incomeAttributesToJSON(incomeAttributes: IncomeAttributes): string;
37
+ export declare function incomeAttributesFromJSON(jsonString: string): SafeParseResult<IncomeAttributes, SDKValidationError>;
38
+ //# sourceMappingURL=incomeattributes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"incomeattributes.d.ts","sourceRoot":"","sources":["../../src/models/components/incomeattributes.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,eAAe,EAGhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,UAAU,EAGX,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAE/B,MAAM,MAAM,gBAAgB,GAAG;IAC7B,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IACxC,MAAM,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,yBAAyB,GAAG;IACtC,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,MAAM,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;CAChD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,gBAAgB,CAMhB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,iBAAiB,CAAC;IACjC,gEAAgE;IACzD,MAAM,aAAa,oDAAiC,CAAC;IAC5D,iEAAiE;IAC1D,MAAM,cAAc,sEAAkC,CAAC;IAC9D,2DAA2D;IAC3D,KAAY,QAAQ,GAAG,yBAAyB,CAAC;CAClD;AAED,wBAAgB,sBAAsB,CACpC,gBAAgB,EAAE,gBAAgB,GACjC,MAAM,CAIR;AAED,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD"}
@@ -0,0 +1,78 @@
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.IncomeAttributes$ = exports.IncomeAttributes$outboundSchema = exports.IncomeAttributes$inboundSchema = void 0;
40
+ exports.incomeAttributesToJSON = incomeAttributesToJSON;
41
+ exports.incomeAttributesFromJSON = incomeAttributesFromJSON;
42
+ const z = __importStar(require("zod"));
43
+ const schemas_js_1 = require("../../lib/schemas.js");
44
+ const incomefrequency_js_1 = require("./incomefrequency.js");
45
+ const incometype_js_1 = require("./incometype.js");
46
+ const monetaryquantity_js_1 = require("./monetaryquantity.js");
47
+ /** @internal */
48
+ exports.IncomeAttributes$inboundSchema = z.object({
49
+ id: z.string().optional(),
50
+ incomeType: incometype_js_1.IncomeType$inboundSchema,
51
+ frequency: incomefrequency_js_1.IncomeFrequency$inboundSchema.optional(),
52
+ amount: monetaryquantity_js_1.MonetaryQuantity$inboundSchema.optional(),
53
+ });
54
+ /** @internal */
55
+ exports.IncomeAttributes$outboundSchema = z.object({
56
+ id: z.string().optional(),
57
+ incomeType: incometype_js_1.IncomeType$outboundSchema,
58
+ frequency: incomefrequency_js_1.IncomeFrequency$outboundSchema.optional(),
59
+ amount: monetaryquantity_js_1.MonetaryQuantity$outboundSchema.optional(),
60
+ });
61
+ /**
62
+ * @internal
63
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
64
+ */
65
+ var IncomeAttributes$;
66
+ (function (IncomeAttributes$) {
67
+ /** @deprecated use `IncomeAttributes$inboundSchema` instead. */
68
+ IncomeAttributes$.inboundSchema = exports.IncomeAttributes$inboundSchema;
69
+ /** @deprecated use `IncomeAttributes$outboundSchema` instead. */
70
+ IncomeAttributes$.outboundSchema = exports.IncomeAttributes$outboundSchema;
71
+ })(IncomeAttributes$ || (exports.IncomeAttributes$ = IncomeAttributes$ = {}));
72
+ function incomeAttributesToJSON(incomeAttributes) {
73
+ return JSON.stringify(exports.IncomeAttributes$outboundSchema.parse(incomeAttributes));
74
+ }
75
+ function incomeAttributesFromJSON(jsonString) {
76
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.IncomeAttributes$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'IncomeAttributes' from JSON`);
77
+ }
78
+ //# sourceMappingURL=incomeattributes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"incomeattributes.js","sourceRoot":"","sources":["../../src/models/components/incomeattributes.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2EH,wDAMC;AAED,4DAQC;AAzFD,uCAAyB;AACzB,qDAAiD;AAGjD,6DAI8B;AAC9B,mDAIyB;AACzB,+DAK+B;AAS/B,gBAAgB;AACH,QAAA,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,UAAU,EAAE,wCAAwB;IACpC,SAAS,EAAE,kDAA6B,CAAC,QAAQ,EAAE;IACnD,MAAM,EAAE,oDAA8B,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,UAAU,EAAE,yCAAyB;IACrC,SAAS,EAAE,mDAA8B,CAAC,QAAQ,EAAE;IACpD,MAAM,EAAE,qDAA+B,CAAC,QAAQ,EAAE;CACnD,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,iBAAiB,CAOjC;AAPD,WAAiB,iBAAiB;IAChC,gEAAgE;IACnD,+BAAa,GAAG,sCAA8B,CAAC;IAC5D,iEAAiE;IACpD,gCAAc,GAAG,uCAA+B,CAAC;AAGhE,CAAC,EAPgB,iBAAiB,iCAAjB,iBAAiB,QAOjC;AAED,SAAgB,sBAAsB,CACpC,gBAAkC;IAElC,OAAO,IAAI,CAAC,SAAS,CACnB,uCAA+B,CAAC,KAAK,CAAC,gBAAgB,CAAC,CACxD,CAAC;AACJ,CAAC;AAED,SAAgB,wBAAwB,CACtC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sCAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AACJ,CAAC"}
@@ -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"}