@financeable/aggregation 0.14.0 → 0.15.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.
Files changed (58) hide show
  1. package/README.md +3 -3
  2. package/examples/package-lock.json +1 -1
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +3 -3
  5. package/lib/config.js +3 -3
  6. package/lib/config.js.map +1 -1
  7. package/models/components/businessapplicationresource.d.ts +39 -0
  8. package/models/components/businessapplicationresource.d.ts.map +1 -1
  9. package/models/components/businessapplicationresource.js +33 -1
  10. package/models/components/businessapplicationresource.js.map +1 -1
  11. package/models/components/businessloanpurpose.d.ts +14 -0
  12. package/models/components/businessloanpurpose.d.ts.map +1 -0
  13. package/models/components/businessloanpurpose.js +51 -0
  14. package/models/components/businessloanpurpose.js.map +1 -0
  15. package/models/components/commercialsecuredapplicationresource.d.ts +39 -0
  16. package/models/components/commercialsecuredapplicationresource.d.ts.map +1 -1
  17. package/models/components/commercialsecuredapplicationresource.js +34 -1
  18. package/models/components/commercialsecuredapplicationresource.js.map +1 -1
  19. package/models/components/commercialsecuredloanassettype.d.ts +32 -16
  20. package/models/components/commercialsecuredloanassettype.d.ts.map +1 -1
  21. package/models/components/commercialsecuredloanassettype.js +32 -16
  22. package/models/components/commercialsecuredloanassettype.js.map +1 -1
  23. package/models/components/consumersecuredapplicationresource.d.ts +39 -0
  24. package/models/components/consumersecuredapplicationresource.d.ts.map +1 -1
  25. package/models/components/consumersecuredapplicationresource.js +34 -1
  26. package/models/components/consumersecuredapplicationresource.js.map +1 -1
  27. package/models/components/consumersecuredloanassettype.d.ts +15 -3
  28. package/models/components/consumersecuredloanassettype.d.ts.map +1 -1
  29. package/models/components/consumersecuredloanassettype.js +15 -3
  30. package/models/components/consumersecuredloanassettype.js.map +1 -1
  31. package/models/components/index.d.ts +2 -0
  32. package/models/components/index.d.ts.map +1 -1
  33. package/models/components/index.js +2 -0
  34. package/models/components/index.js.map +1 -1
  35. package/models/components/loandetailsattributes.d.ts +20 -6
  36. package/models/components/loandetailsattributes.d.ts.map +1 -1
  37. package/models/components/loandetailsattributes.js +33 -3
  38. package/models/components/loandetailsattributes.js.map +1 -1
  39. package/models/components/personalapplicationresource.d.ts +39 -0
  40. package/models/components/personalapplicationresource.d.ts.map +1 -1
  41. package/models/components/personalapplicationresource.js +33 -1
  42. package/models/components/personalapplicationresource.js.map +1 -1
  43. package/models/components/personalloanpurpose.d.ts +20 -0
  44. package/models/components/personalloanpurpose.d.ts.map +1 -0
  45. package/models/components/personalloanpurpose.js +57 -0
  46. package/models/components/personalloanpurpose.js.map +1 -0
  47. package/package.json +1 -1
  48. package/src/lib/config.ts +3 -3
  49. package/src/models/components/businessapplicationresource.ts +46 -0
  50. package/src/models/components/businessloanpurpose.ts +23 -0
  51. package/src/models/components/commercialsecuredapplicationresource.ts +46 -0
  52. package/src/models/components/commercialsecuredloanassettype.ts +35 -19
  53. package/src/models/components/consumersecuredapplicationresource.ts +43 -0
  54. package/src/models/components/consumersecuredloanassettype.ts +15 -3
  55. package/src/models/components/index.ts +2 -0
  56. package/src/models/components/loandetailsattributes.ts +65 -8
  57. package/src/models/components/personalapplicationresource.ts +46 -0
  58. package/src/models/components/personalloanpurpose.ts +29 -0
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.PersonalApplicationResource$inboundSchema = exports.PersonalApplicationResourceAttributes$inboundSchema = exports.PersonalApplicationResourceApplicationType$inboundSchema = exports.PersonalApplicationResourceApplicationType = void 0;
39
+ exports.PersonalApplicationResource$inboundSchema = exports.PersonalApplicationResourceAttributes$inboundSchema = exports.PersonalApplicationResourceLender$inboundSchema = exports.PersonalApplicationResourceApplicationType$inboundSchema = exports.PersonalApplicationResourceLender = exports.PersonalApplicationResourceApplicationType = void 0;
40
40
  exports.personalApplicationResourceAttributesFromJSON = personalApplicationResourceAttributesFromJSON;
41
41
  exports.personalApplicationResourceFromJSON = personalApplicationResourceFromJSON;
42
42
  const z = __importStar(require("zod/v3"));
@@ -50,10 +50,41 @@ const personalapplicationjsonapirelationships_js_1 = require("./personalapplicat
50
50
  exports.PersonalApplicationResourceApplicationType = {
51
51
  Personal: "personal",
52
52
  };
53
+ /**
54
+ * The lender with whom the application has settled
55
+ */
56
+ exports.PersonalApplicationResourceLender = {
57
+ Metro: "metro",
58
+ Pepper: "pepper",
59
+ Flexi: "flexi",
60
+ Angle: "angle",
61
+ Resimac: "resimac",
62
+ Scotpac: "scotpac",
63
+ Grow: "grow",
64
+ Macquarie: "macquarie",
65
+ Plenti: "plenti",
66
+ AzoraAssetFinance: "azora_asset_finance",
67
+ Moneyplace: "moneyplace",
68
+ Wisr: "wisr",
69
+ Money3: "money3",
70
+ FinanceOne: "finance_one",
71
+ Now: "now",
72
+ Afs: "afs",
73
+ Autopay: "autopay",
74
+ Ammf: "ammf",
75
+ Dynamoney: "dynamoney",
76
+ Firstmac: "firstmac",
77
+ Latitude: "latitude",
78
+ Branded: "branded",
79
+ Liberty: "liberty",
80
+ Westpac: "westpac",
81
+ };
53
82
  /** @internal */
54
83
  exports.PersonalApplicationResourceApplicationType$inboundSchema = z
55
84
  .nativeEnum(exports.PersonalApplicationResourceApplicationType);
56
85
  /** @internal */
86
+ exports.PersonalApplicationResourceLender$inboundSchema = z.nativeEnum(exports.PersonalApplicationResourceLender);
87
+ /** @internal */
57
88
  exports.PersonalApplicationResourceAttributes$inboundSchema = z.object({
58
89
  id: z.string().optional(),
59
90
  humanId: z.string(),
@@ -61,6 +92,7 @@ exports.PersonalApplicationResourceAttributes$inboundSchema = z.object({
61
92
  status: applicationstatus_js_1.ApplicationStatus$inboundSchema,
62
93
  settlementDate: z.string().optional(),
63
94
  lenderApplicationReference: z.string().optional(),
95
+ lender: exports.PersonalApplicationResourceLender$inboundSchema.optional(),
64
96
  createdAt: z.string().optional(),
65
97
  updatedAt: z.string().optional(),
66
98
  });
@@ -1 +1 @@
1
- {"version":3,"file":"personalapplicationresource.js","sourceRoot":"","sources":["../../src/models/components/personalapplicationresource.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2GH,sGASC;AAgBD,kFAQC;AA1ID,0CAA4B;AAC5B,qDAAiD;AAIjD,iEAGgC;AAChC,mDAAuE;AACvE,6GAGsD;AAEtD;;GAEG;AACU,QAAA,0CAA0C,GAAG;IACxD,QAAQ,EAAE,UAAU;CACZ,CAAC;AAgEX,gBAAgB;AACH,QAAA,wDAAwD,GACE,CAAC;KACnE,UAAU,CAAC,kDAA0C,CAAC,CAAC;AAE5D,gBAAgB;AACH,QAAA,mDAAmD,GAI5D,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,eAAe,EAAE,gEAAwD;IACzE,MAAM,EAAE,sDAA+B;IACvC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAEH,SAAgB,6CAA6C,CAC3D,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,2DAAmD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1E,mEAAmE,CACpE,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC;IACxC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,UAAU,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,2DAAmD,CAAC;IAC7E,aAAa,EAAE,kGAAqD;IACpE,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,wCAAwB,CAAC,CAAC,QAAQ,EAAE;IACpD,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAEH,SAAgB,mCAAmC,CACjD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iDAAyC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrE,yDAAyD,CAC1D,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"personalapplicationresource.js","sourceRoot":"","sources":["../../src/models/components/personalapplicationresource.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,20 @@
1
+ import * as z from "zod/v3";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ export declare const PersonalLoanPurpose: {
4
+ readonly Vehicle: "VEHICLE";
5
+ readonly DebtConsolidation: "DEBT_CONSOLIDATION";
6
+ readonly HomeImprovements: "HOME_IMPROVEMENTS";
7
+ readonly MedicalAndDental: "MEDICAL_AND_DENTAL";
8
+ readonly HouseholdFurnishings: "HOUSEHOLD_FURNISHINGS";
9
+ readonly Education: "EDUCATION";
10
+ readonly Travel: "TRAVEL";
11
+ readonly Wedding: "WEDDING";
12
+ readonly MortgageCostFunding: "MORTGAGE_COST_FUNDING";
13
+ readonly OtherPersonalUse: "OTHER_PERSONAL_USE";
14
+ };
15
+ export type PersonalLoanPurpose = ClosedEnum<typeof PersonalLoanPurpose>;
16
+ /** @internal */
17
+ export declare const PersonalLoanPurpose$inboundSchema: z.ZodNativeEnum<typeof PersonalLoanPurpose>;
18
+ /** @internal */
19
+ export declare const PersonalLoanPurpose$outboundSchema: z.ZodNativeEnum<typeof PersonalLoanPurpose>;
20
+ //# sourceMappingURL=personalloanpurpose.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"personalloanpurpose.d.ts","sourceRoot":"","sources":["../../src/models/components/personalloanpurpose.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,mBAAmB;;;;;;;;;;;CAWtB,CAAC;AACX,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEzE,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,aAAa,CAC7D,OAAO,mBAAmB,CACS,CAAC;AACtC,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,aAAa,CAC9D,OAAO,mBAAmB,CACS,CAAC"}
@@ -0,0 +1,57 @@
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.PersonalLoanPurpose$outboundSchema = exports.PersonalLoanPurpose$inboundSchema = exports.PersonalLoanPurpose = void 0;
40
+ const z = __importStar(require("zod/v3"));
41
+ exports.PersonalLoanPurpose = {
42
+ Vehicle: "VEHICLE",
43
+ DebtConsolidation: "DEBT_CONSOLIDATION",
44
+ HomeImprovements: "HOME_IMPROVEMENTS",
45
+ MedicalAndDental: "MEDICAL_AND_DENTAL",
46
+ HouseholdFurnishings: "HOUSEHOLD_FURNISHINGS",
47
+ Education: "EDUCATION",
48
+ Travel: "TRAVEL",
49
+ Wedding: "WEDDING",
50
+ MortgageCostFunding: "MORTGAGE_COST_FUNDING",
51
+ OtherPersonalUse: "OTHER_PERSONAL_USE",
52
+ };
53
+ /** @internal */
54
+ exports.PersonalLoanPurpose$inboundSchema = z.nativeEnum(exports.PersonalLoanPurpose);
55
+ /** @internal */
56
+ exports.PersonalLoanPurpose$outboundSchema = exports.PersonalLoanPurpose$inboundSchema;
57
+ //# sourceMappingURL=personalloanpurpose.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"personalloanpurpose.js","sourceRoot":"","sources":["../../src/models/components/personalloanpurpose.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAGf,QAAA,mBAAmB,GAAG;IACjC,OAAO,EAAE,SAAS;IAClB,iBAAiB,EAAE,oBAAoB;IACvC,gBAAgB,EAAE,mBAAmB;IACrC,gBAAgB,EAAE,oBAAoB;IACtC,oBAAoB,EAAE,uBAAuB;IAC7C,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,mBAAmB,EAAE,uBAAuB;IAC5C,gBAAgB,EAAE,oBAAoB;CAC9B,CAAC;AAGX,gBAAgB;AACH,QAAA,iCAAiC,GAE1C,CAAC,CAAC,UAAU,CAAC,2BAAmB,CAAC,CAAC;AACtC,gBAAgB;AACH,QAAA,kCAAkC,GAE3C,yCAAiC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@financeable/aggregation",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "author": "Financeable",
5
5
  "main": "./index.js",
6
6
  "sideEffects": false,
package/src/lib/config.ts CHANGED
@@ -58,8 +58,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
58
58
  export const SDK_METADATA = {
59
59
  language: "typescript",
60
60
  openapiDocVersion: "0.4.0",
61
- sdkVersion: "0.14.0",
62
- genVersion: "2.768.1",
61
+ sdkVersion: "0.15.0",
62
+ genVersion: "2.791.1",
63
63
  userAgent:
64
- "speakeasy-sdk/typescript 0.14.0 2.768.1 0.13.0 @financeable/aggregation",
64
+ "speakeasy-sdk/typescript 0.15.0 2.791.1 0.4.0 @financeable/aggregation",
65
65
  } as const;
@@ -30,6 +30,42 @@ export type BusinessApplicationResourceApplicationType = ClosedEnum<
30
30
  typeof BusinessApplicationResourceApplicationType
31
31
  >;
32
32
 
33
+ /**
34
+ * The lender with whom the application has settled
35
+ */
36
+ export const BusinessApplicationResourceLender = {
37
+ Metro: "metro",
38
+ Pepper: "pepper",
39
+ Flexi: "flexi",
40
+ Angle: "angle",
41
+ Resimac: "resimac",
42
+ Scotpac: "scotpac",
43
+ Grow: "grow",
44
+ Macquarie: "macquarie",
45
+ Plenti: "plenti",
46
+ AzoraAssetFinance: "azora_asset_finance",
47
+ Moneyplace: "moneyplace",
48
+ Wisr: "wisr",
49
+ Money3: "money3",
50
+ FinanceOne: "finance_one",
51
+ Now: "now",
52
+ Afs: "afs",
53
+ Autopay: "autopay",
54
+ Ammf: "ammf",
55
+ Dynamoney: "dynamoney",
56
+ Firstmac: "firstmac",
57
+ Latitude: "latitude",
58
+ Branded: "branded",
59
+ Liberty: "liberty",
60
+ Westpac: "westpac",
61
+ } as const;
62
+ /**
63
+ * The lender with whom the application has settled
64
+ */
65
+ export type BusinessApplicationResourceLender = ClosedEnum<
66
+ typeof BusinessApplicationResourceLender
67
+ >;
68
+
33
69
  /**
34
70
  * Application resource attributes
35
71
  */
@@ -58,6 +94,10 @@ export type BusinessApplicationResourceAttributes = {
58
94
  * If the application has settled with a lender, the lender's identifier of the application, distinct from Financeable's
59
95
  */
60
96
  lenderApplicationReference?: string | undefined;
97
+ /**
98
+ * The lender with whom the application has settled
99
+ */
100
+ lender?: BusinessApplicationResourceLender | undefined;
61
101
  /**
62
102
  * Creation timestamp
63
103
  */
@@ -91,6 +131,11 @@ export const BusinessApplicationResourceApplicationType$inboundSchema:
91
131
  z.ZodNativeEnum<typeof BusinessApplicationResourceApplicationType> = z
92
132
  .nativeEnum(BusinessApplicationResourceApplicationType);
93
133
 
134
+ /** @internal */
135
+ export const BusinessApplicationResourceLender$inboundSchema: z.ZodNativeEnum<
136
+ typeof BusinessApplicationResourceLender
137
+ > = z.nativeEnum(BusinessApplicationResourceLender);
138
+
94
139
  /** @internal */
95
140
  export const BusinessApplicationResourceAttributes$inboundSchema: z.ZodType<
96
141
  BusinessApplicationResourceAttributes,
@@ -103,6 +148,7 @@ export const BusinessApplicationResourceAttributes$inboundSchema: z.ZodType<
103
148
  status: ApplicationStatus$inboundSchema,
104
149
  settlementDate: z.string().optional(),
105
150
  lenderApplicationReference: z.string().optional(),
151
+ lender: BusinessApplicationResourceLender$inboundSchema.optional(),
106
152
  createdAt: z.string().optional(),
107
153
  updatedAt: z.string().optional(),
108
154
  });
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { ClosedEnum } from "../../types/enums.js";
7
+
8
+ export const BusinessLoanPurpose = {
9
+ BusinessExpansion: "BUSINESS_EXPANSION",
10
+ EquipmentUpgrade: "EQUIPMENT_UPGRADE",
11
+ Stock: "STOCK",
12
+ Other: "OTHER",
13
+ } as const;
14
+ export type BusinessLoanPurpose = ClosedEnum<typeof BusinessLoanPurpose>;
15
+
16
+ /** @internal */
17
+ export const BusinessLoanPurpose$inboundSchema: z.ZodNativeEnum<
18
+ typeof BusinessLoanPurpose
19
+ > = z.nativeEnum(BusinessLoanPurpose);
20
+ /** @internal */
21
+ export const BusinessLoanPurpose$outboundSchema: z.ZodNativeEnum<
22
+ typeof BusinessLoanPurpose
23
+ > = BusinessLoanPurpose$inboundSchema;
@@ -30,6 +30,42 @@ export type CommercialSecuredApplicationResourceApplicationType = ClosedEnum<
30
30
  typeof CommercialSecuredApplicationResourceApplicationType
31
31
  >;
32
32
 
33
+ /**
34
+ * The lender with whom the application has settled
35
+ */
36
+ export const CommercialSecuredApplicationResourceLender = {
37
+ Metro: "metro",
38
+ Pepper: "pepper",
39
+ Flexi: "flexi",
40
+ Angle: "angle",
41
+ Resimac: "resimac",
42
+ Scotpac: "scotpac",
43
+ Grow: "grow",
44
+ Macquarie: "macquarie",
45
+ Plenti: "plenti",
46
+ AzoraAssetFinance: "azora_asset_finance",
47
+ Moneyplace: "moneyplace",
48
+ Wisr: "wisr",
49
+ Money3: "money3",
50
+ FinanceOne: "finance_one",
51
+ Now: "now",
52
+ Afs: "afs",
53
+ Autopay: "autopay",
54
+ Ammf: "ammf",
55
+ Dynamoney: "dynamoney",
56
+ Firstmac: "firstmac",
57
+ Latitude: "latitude",
58
+ Branded: "branded",
59
+ Liberty: "liberty",
60
+ Westpac: "westpac",
61
+ } as const;
62
+ /**
63
+ * The lender with whom the application has settled
64
+ */
65
+ export type CommercialSecuredApplicationResourceLender = ClosedEnum<
66
+ typeof CommercialSecuredApplicationResourceLender
67
+ >;
68
+
33
69
  /**
34
70
  * Application resource attributes
35
71
  */
@@ -58,6 +94,10 @@ export type CommercialSecuredApplicationResourceAttributes = {
58
94
  * If the application has settled with a lender, the lender's identifier of the application, distinct from Financeable's
59
95
  */
60
96
  lenderApplicationReference?: string | undefined;
97
+ /**
98
+ * The lender with whom the application has settled
99
+ */
100
+ lender?: CommercialSecuredApplicationResourceLender | undefined;
61
101
  /**
62
102
  * Creation timestamp
63
103
  */
@@ -91,6 +131,11 @@ export const CommercialSecuredApplicationResourceApplicationType$inboundSchema:
91
131
  z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceApplicationType> =
92
132
  z.nativeEnum(CommercialSecuredApplicationResourceApplicationType);
93
133
 
134
+ /** @internal */
135
+ export const CommercialSecuredApplicationResourceLender$inboundSchema:
136
+ z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceLender> = z
137
+ .nativeEnum(CommercialSecuredApplicationResourceLender);
138
+
94
139
  /** @internal */
95
140
  export const CommercialSecuredApplicationResourceAttributes$inboundSchema:
96
141
  z.ZodType<
@@ -105,6 +150,7 @@ export const CommercialSecuredApplicationResourceAttributes$inboundSchema:
105
150
  status: ApplicationStatus$inboundSchema,
106
151
  settlementDate: z.string().optional(),
107
152
  lenderApplicationReference: z.string().optional(),
153
+ lender: CommercialSecuredApplicationResourceLender$inboundSchema.optional(),
108
154
  createdAt: z.string().optional(),
109
155
  updatedAt: z.string().optional(),
110
156
  });
@@ -6,37 +6,53 @@ import * as z from "zod/v3";
6
6
  import { ClosedEnum } from "../../types/enums.js";
7
7
 
8
8
  export const CommercialSecuredLoanAssetType = {
9
- MOTORVEHICLELessThan45TONNES: "MOTOR_VEHICLE_(<4.5_TONNES)",
10
- ELECTRICMOTORVEHICLELessThan45TONNES: "ELECTRIC_MOTOR_VEHICLE_(<4.5_TONNES)",
11
- COMMERCIALSMALLTOMEDIUMVEHICLESLessThan12TONNES:
12
- "COMMERCIAL_(SMALL_TO_MEDIUM)_VEHICLES_(<12_TONNES)",
9
+ AGRICULTURALAndLANDSCAPINGEQUIPMENTWHEELEDORTRACKED:
10
+ "AGRICULTURAL_&_LANDSCAPING_EQUIPMENT_(WHEELED_OR_TRACKED)",
11
+ AluminiumBoats: "ALUMINIUM_BOATS",
12
+ Atv: "ATV",
13
+ Caravan: "CARAVAN",
14
+ ClassicCar: "CLASSIC_CAR",
13
15
  COMMERCIALHEAVYVEHICLESGreaterThan12TONNES:
14
16
  "COMMERCIAL_(HEAVY)_VEHICLES_(>12_TONNES)",
15
- WarehouseEquipmentWheeledOrTracked:
16
- "WAREHOUSE_EQUIPMENT_(WHEELED_OR_TRACKED)",
17
+ COMMERCIALSMALLTOMEDIUMVEHICLESLessThan12TONNES:
18
+ "COMMERCIAL_(SMALL_TO_MEDIUM)_VEHICLES_(<12_TONNES)",
19
+ ControlBox: "CONTROL_BOX",
20
+ DieselEngine: "DIESEL_ENGINE",
17
21
  EARTHMOVINGAndCONSTRUCTIONWHEELEDORTRACKED:
18
22
  "EARTH_MOVING_&_CONSTRUCTION_(WHEELED_OR_TRACKED)",
19
- AGRICULTURALAndLANDSCAPINGEQUIPMENTWHEELEDORTRACKED:
20
- "AGRICULTURAL_&_LANDSCAPING_EQUIPMENT_(WHEELED_OR_TRACKED)",
21
- MINIBUSESAndROUTEBUSESLessThan25SEATS: "MINI_BUSES_&_ROUTE_BUSES_(<25_SEATS)",
22
- TrailersAndCaravans: "TRAILERS_AND_CARAVANS",
23
+ ElectricBicycle: "ELECTRIC_BICYCLE",
24
+ ELECTRICMOTORVEHICLELessThan45TONNES: "ELECTRIC_MOTOR_VEHICLE_(<4.5_TONNES)",
25
+ GolfCarts: "GOLF_CARTS",
26
+ HEALTHAndBEAUTYEQUIPMENT: "HEALTH_&_BEAUTY_EQUIPMENT",
27
+ InboardMotors: "INBOARD_MOTORS",
23
28
  INDUSTRIALPLANTAndPRINTING: "INDUSTRIAL_PLANT_&_PRINTING",
29
+ ITCOMPUTERAndAUDIOEQUIPMENT: "IT_COMPUTER_&_AUDIO_EQUIPMENT",
30
+ JetskiPwc: "JETSKI_PWC",
31
+ JetskiPwcWithTrailer: "JETSKI_PWC_WITH_TRAILER",
24
32
  ManufacturingEquipment: "MANUFACTURING_EQUIPMENT",
33
+ MarinePackage: "MARINE_PACKAGE",
34
+ MbkBicycle: "MBK_BICYCLE",
25
35
  MedicalEquipment: "MEDICAL_EQUIPMENT",
26
- ITCOMPUTERAndAUDIOEQUIPMENT: "IT_COMPUTER_&_AUDIO_EQUIPMENT",
27
- HEALTHAndBEAUTYEQUIPMENT: "HEALTH_&_BEAUTY_EQUIPMENT",
36
+ MINIBUSESAndROUTEBUSESLessThan25SEATS: "MINI_BUSES_&_ROUTE_BUSES_(<25_SEATS)",
37
+ Motorbike: "MOTORBIKE",
38
+ MotorbikeOffroad: "MOTORBIKE_OFFROAD",
39
+ MOTORVEHICLELessThan45TONNES: "MOTOR_VEHICLE_(<4.5_TONNES)",
28
40
  OfficeEquipment: "OFFICE_EQUIPMENT",
29
41
  OfficeFitout: "OFFICE_FITOUT",
30
- RESTAURANTAndCATERINGEQUIPMENT: "RESTAURANT_&_CATERING_EQUIPMENT",
31
42
  OfficeFurniture: "OFFICE_FURNITURE",
43
+ Other: "OTHER",
44
+ OutboardMotor: "OUTBOARD_MOTOR",
45
+ PrimeMover: "PRIME_MOVER",
46
+ RESTAURANTAndCATERINGEQUIPMENT: "RESTAURANT_&_CATERING_EQUIPMENT",
47
+ RideOnMowers: "RIDE_ON_MOWERS",
32
48
  Solar: "SOLAR",
33
- MotorbikesAtvs: "MOTORBIKES_ATVS",
34
- ClassicCar: "CLASSIC_CAR",
49
+ Ssv: "SSV",
50
+ SternDrive: "STERN_DRIVE",
35
51
  TraileredBoats: "TRAILERED_BOATS",
36
- Jetskis: "JETSKIS",
37
- RideOnMowers: "RIDE_ON_MOWERS",
38
- GolfCarts: "GOLF_CARTS",
39
- Other: "OTHER",
52
+ TrailersCar: "TRAILERS_CAR",
53
+ TrailersTruck: "TRAILERS_TRUCK",
54
+ WarehouseEquipmentWheeledOrTracked:
55
+ "WAREHOUSE_EQUIPMENT_(WHEELED_OR_TRACKED)",
40
56
  } as const;
41
57
  export type CommercialSecuredLoanAssetType = ClosedEnum<
42
58
  typeof CommercialSecuredLoanAssetType
@@ -30,6 +30,40 @@ export type ConsumerSecuredApplicationResourceApplicationType = ClosedEnum<
30
30
  typeof ConsumerSecuredApplicationResourceApplicationType
31
31
  >;
32
32
 
33
+ /**
34
+ * The lender with whom the application has settled
35
+ */
36
+ export const Lender = {
37
+ Metro: "metro",
38
+ Pepper: "pepper",
39
+ Flexi: "flexi",
40
+ Angle: "angle",
41
+ Resimac: "resimac",
42
+ Scotpac: "scotpac",
43
+ Grow: "grow",
44
+ Macquarie: "macquarie",
45
+ Plenti: "plenti",
46
+ AzoraAssetFinance: "azora_asset_finance",
47
+ Moneyplace: "moneyplace",
48
+ Wisr: "wisr",
49
+ Money3: "money3",
50
+ FinanceOne: "finance_one",
51
+ Now: "now",
52
+ Afs: "afs",
53
+ Autopay: "autopay",
54
+ Ammf: "ammf",
55
+ Dynamoney: "dynamoney",
56
+ Firstmac: "firstmac",
57
+ Latitude: "latitude",
58
+ Branded: "branded",
59
+ Liberty: "liberty",
60
+ Westpac: "westpac",
61
+ } as const;
62
+ /**
63
+ * The lender with whom the application has settled
64
+ */
65
+ export type Lender = ClosedEnum<typeof Lender>;
66
+
33
67
  /**
34
68
  * Application resource attributes
35
69
  */
@@ -58,6 +92,10 @@ export type ConsumerSecuredApplicationResourceAttributes = {
58
92
  * If the application has settled with a lender, the lender's identifier of the application, distinct from Financeable's
59
93
  */
60
94
  lenderApplicationReference?: string | undefined;
95
+ /**
96
+ * The lender with whom the application has settled
97
+ */
98
+ lender?: Lender | undefined;
61
99
  /**
62
100
  * Creation timestamp
63
101
  */
@@ -91,6 +129,10 @@ export const ConsumerSecuredApplicationResourceApplicationType$inboundSchema:
91
129
  z.ZodNativeEnum<typeof ConsumerSecuredApplicationResourceApplicationType> = z
92
130
  .nativeEnum(ConsumerSecuredApplicationResourceApplicationType);
93
131
 
132
+ /** @internal */
133
+ export const Lender$inboundSchema: z.ZodNativeEnum<typeof Lender> = z
134
+ .nativeEnum(Lender);
135
+
94
136
  /** @internal */
95
137
  export const ConsumerSecuredApplicationResourceAttributes$inboundSchema:
96
138
  z.ZodType<
@@ -105,6 +147,7 @@ export const ConsumerSecuredApplicationResourceAttributes$inboundSchema:
105
147
  status: ApplicationStatus$inboundSchema,
106
148
  settlementDate: z.string().optional(),
107
149
  lenderApplicationReference: z.string().optional(),
150
+ lender: Lender$inboundSchema.optional(),
108
151
  createdAt: z.string().optional(),
109
152
  updatedAt: z.string().optional(),
110
153
  });
@@ -10,16 +10,28 @@ export const ConsumerSecuredLoanAssetType = {
10
10
  ElectricMotorVehicle: "ELECTRIC_MOTOR_VEHICLE",
11
11
  LuxuryVehicle: "LUXURY_VEHICLE",
12
12
  Motorbike: "MOTORBIKE",
13
- AtvOffRoadBike: "ATV_OFF_ROAD_BIKE",
14
- Caravan: "CARAVAN",
13
+ MotorbikeOffroad: "MOTORBIKE_OFFROAD",
14
+ Atv: "ATV",
15
15
  Tractor: "TRACTOR",
16
16
  RideOnMower: "RIDE_ON_MOWER",
17
17
  HorseFloat: "HORSE_FLOAT",
18
18
  Trailer: "TRAILER",
19
+ Caravan: "CARAVAN",
19
20
  MotorHome: "MOTOR_HOME",
20
21
  TraileredBoat: "TRAILERED_BOAT",
21
22
  JetskiPwc: "JETSKI_PWC",
22
- GolfCart: "GOLF_CART",
23
+ JetskiPwcWithTrailer: "JETSKI_PWC_WITH_TRAILER",
24
+ GolfCarts: "GOLF_CARTS",
25
+ Ssv: "SSV",
26
+ OutboardMotor: "OUTBOARD_MOTOR",
27
+ ControlBox: "CONTROL_BOX",
28
+ DieselEngine: "DIESEL_ENGINE",
29
+ AluminiumBoats: "ALUMINIUM_BOATS",
30
+ SternDrive: "STERN_DRIVE",
31
+ ElectricBicycle: "ELECTRIC_BICYCLE",
32
+ MbkBicycle: "MBK_BICYCLE",
33
+ InboardMotors: "INBOARD_MOTORS",
34
+ MarinePackage: "MARINE_PACKAGE",
23
35
  } as const;
24
36
  export type ConsumerSecuredLoanAssetType = ClosedEnum<
25
37
  typeof ConsumerSecuredLoanAssetType
@@ -13,6 +13,7 @@ export * from "./businessapplicationjsonapirelationships.js";
13
13
  export * from "./businessapplicationpayload.js";
14
14
  export * from "./businessapplicationresource.js";
15
15
  export * from "./businessloanbusinessapplicationrelationships.js";
16
+ export * from "./businessloanpurpose.js";
16
17
  export * from "./commercialapplicationjsonapirelationships.js";
17
18
  export * from "./commercialsecuredapplicationpayload.js";
18
19
  export * from "./commercialsecuredapplicationresource.js";
@@ -68,6 +69,7 @@ export * from "./personalapplicationjsonapirelationships.js";
68
69
  export * from "./personalapplicationpayload.js";
69
70
  export * from "./personalapplicationresource.js";
70
71
  export * from "./personalloanpersonalapplicationrelationships.js";
72
+ export * from "./personalloanpurpose.js";
71
73
  export * from "./relationshipresourcenotfound.js";
72
74
  export * from "./repaymentstructure.js";
73
75
  export * from "./residencystatus.js";