@financeable/aggregation 0.14.0 → 0.14.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 (28) hide show
  1. package/examples/package-lock.json +1 -1
  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/businessapplicationresource.d.ts +39 -0
  6. package/models/components/businessapplicationresource.d.ts.map +1 -1
  7. package/models/components/businessapplicationresource.js +33 -1
  8. package/models/components/businessapplicationresource.js.map +1 -1
  9. package/models/components/commercialsecuredapplicationresource.d.ts +39 -0
  10. package/models/components/commercialsecuredapplicationresource.d.ts.map +1 -1
  11. package/models/components/commercialsecuredapplicationresource.js +34 -1
  12. package/models/components/commercialsecuredapplicationresource.js.map +1 -1
  13. package/models/components/consumersecuredapplicationresource.d.ts +39 -0
  14. package/models/components/consumersecuredapplicationresource.d.ts.map +1 -1
  15. package/models/components/consumersecuredapplicationresource.js +34 -1
  16. package/models/components/consumersecuredapplicationresource.js.map +1 -1
  17. package/models/components/loandetailsattributes.d.ts +3 -3
  18. package/models/components/personalapplicationresource.d.ts +39 -0
  19. package/models/components/personalapplicationresource.d.ts.map +1 -1
  20. package/models/components/personalapplicationresource.js +33 -1
  21. package/models/components/personalapplicationresource.js.map +1 -1
  22. package/package.json +1 -1
  23. package/src/lib/config.ts +3 -3
  24. package/src/models/components/businessapplicationresource.ts +46 -0
  25. package/src/models/components/commercialsecuredapplicationresource.ts +46 -0
  26. package/src/models/components/consumersecuredapplicationresource.ts +43 -0
  27. package/src/models/components/loandetailsattributes.ts +3 -3
  28. package/src/models/components/personalapplicationresource.ts +46 -0
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "..": {
20
20
  "name": "@financeable/aggregation",
21
- "version": "0.14.0",
21
+ "version": "0.14.1",
22
22
  "dependencies": {
23
23
  "zod": "^3.25.0 || ^4.0.0"
24
24
  },
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@financeable/aggregation",
5
- "version": "0.14.0",
5
+ "version": "0.14.1",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/lib/config.d.ts CHANGED
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
31
31
  export declare const SDK_METADATA: {
32
32
  readonly language: "typescript";
33
33
  readonly openapiDocVersion: "0.4.0";
34
- readonly sdkVersion: "0.14.0";
35
- readonly genVersion: "2.768.1";
36
- readonly userAgent: "speakeasy-sdk/typescript 0.14.0 2.768.1 0.13.0 @financeable/aggregation";
34
+ readonly sdkVersion: "0.14.1";
35
+ readonly genVersion: "2.770.0";
36
+ readonly userAgent: "speakeasy-sdk/typescript 0.14.1 2.770.0 0.13.1 @financeable/aggregation";
37
37
  };
38
38
  //# sourceMappingURL=config.d.ts.map
package/lib/config.js CHANGED
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
28
28
  exports.SDK_METADATA = {
29
29
  language: "typescript",
30
30
  openapiDocVersion: "0.4.0",
31
- sdkVersion: "0.14.0",
32
- genVersion: "2.768.1",
33
- userAgent: "speakeasy-sdk/typescript 0.14.0 2.768.1 0.13.0 @financeable/aggregation",
31
+ sdkVersion: "0.14.1",
32
+ genVersion: "2.770.0",
33
+ userAgent: "speakeasy-sdk/typescript 0.14.1 2.770.0 0.13.1 @financeable/aggregation",
34
34
  };
35
35
  //# sourceMappingURL=config.js.map
@@ -15,6 +15,39 @@ export declare const BusinessApplicationResourceApplicationType: {
15
15
  * Type of the loan application
16
16
  */
17
17
  export type BusinessApplicationResourceApplicationType = ClosedEnum<typeof BusinessApplicationResourceApplicationType>;
18
+ /**
19
+ * The lender with whom the application has settled
20
+ */
21
+ export declare const BusinessApplicationResourceLender: {
22
+ readonly Metro: "metro";
23
+ readonly Pepper: "pepper";
24
+ readonly Flexi: "flexi";
25
+ readonly Angle: "angle";
26
+ readonly Resimac: "resimac";
27
+ readonly Scotpac: "scotpac";
28
+ readonly Grow: "grow";
29
+ readonly Macquarie: "macquarie";
30
+ readonly Plenti: "plenti";
31
+ readonly AzoraAssetFinance: "azora_asset_finance";
32
+ readonly Moneyplace: "moneyplace";
33
+ readonly Wisr: "wisr";
34
+ readonly Money3: "money3";
35
+ readonly FinanceOne: "finance_one";
36
+ readonly Now: "now";
37
+ readonly Afs: "afs";
38
+ readonly Autopay: "autopay";
39
+ readonly Ammf: "ammf";
40
+ readonly Dynamoney: "dynamoney";
41
+ readonly Firstmac: "firstmac";
42
+ readonly Latitude: "latitude";
43
+ readonly Branded: "branded";
44
+ readonly Liberty: "liberty";
45
+ readonly Westpac: "westpac";
46
+ };
47
+ /**
48
+ * The lender with whom the application has settled
49
+ */
50
+ export type BusinessApplicationResourceLender = ClosedEnum<typeof BusinessApplicationResourceLender>;
18
51
  /**
19
52
  * Application resource attributes
20
53
  */
@@ -43,6 +76,10 @@ export type BusinessApplicationResourceAttributes = {
43
76
  * If the application has settled with a lender, the lender's identifier of the application, distinct from Financeable's
44
77
  */
45
78
  lenderApplicationReference?: string | undefined;
79
+ /**
80
+ * The lender with whom the application has settled
81
+ */
82
+ lender?: BusinessApplicationResourceLender | undefined;
46
83
  /**
47
84
  * Creation timestamp
48
85
  */
@@ -76,6 +113,8 @@ export type BusinessApplicationResource = {
76
113
  /** @internal */
77
114
  export declare const BusinessApplicationResourceApplicationType$inboundSchema: z.ZodNativeEnum<typeof BusinessApplicationResourceApplicationType>;
78
115
  /** @internal */
116
+ export declare const BusinessApplicationResourceLender$inboundSchema: z.ZodNativeEnum<typeof BusinessApplicationResourceLender>;
117
+ /** @internal */
79
118
  export declare const BusinessApplicationResourceAttributes$inboundSchema: z.ZodType<BusinessApplicationResourceAttributes, z.ZodTypeDef, unknown>;
80
119
  export declare function businessApplicationResourceAttributesFromJSON(jsonString: string): SafeParseResult<BusinessApplicationResourceAttributes, SDKValidationError>;
81
120
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"businessapplicationresource.d.ts","sourceRoot":"","sources":["../../src/models/components/businessapplicationresource.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,uCAAuC,EAExC,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,UAAU,EAA4B,MAAM,iBAAiB,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,0CAA0C;;CAE7C,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,0CAA0C,GAAG,UAAU,CACjE,OAAO,0CAA0C,CAClD,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qCAAqC,GAAG;IAClD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,eAAe,EAAE,0CAA0C,CAAC;IAC5D;;OAEG;IACH,MAAM,EAAE,iBAAiB,CAAC;IAC1B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,uBAAuB,CAAC;IAC9B,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB;;OAEG;IACH,UAAU,EAAE,qCAAqC,CAAC;IAClD;;OAEG;IACH,aAAa,EAAE,uCAAuC,CAAC;IACvD,KAAK,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,UAAU,CAAA;KAAE,GAAG,SAAS,CAAC;IAChD,IAAI,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wDAAwD,EACnE,CAAC,CAAC,aAAa,CAAC,OAAO,0CAA0C,CACR,CAAC;AAE5D,gBAAgB;AAChB,eAAO,MAAM,mDAAmD,EAAE,CAAC,CAAC,OAAO,CACzE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,wBAAgB,6CAA6C,CAC3D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qCAAqC,EAAE,kBAAkB,CAAC,CAO5E;AAED,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AAEH,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE"}
1
+ {"version":3,"file":"businessapplicationresource.d.ts","sourceRoot":"","sources":["../../src/models/components/businessapplicationresource.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,uCAAuC,EAExC,MAAM,8CAA8C,CAAC;AACtD,OA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AE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wDAAwD,EACnE,CAAC,CAAC,aAAa,CAAC,OAAO,0CAA0C,CACR,CAAC;AAE5D,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,aAAa,CAC3E,OAAO,iCAAiC,CACS,CAAC;AAEpD,gBAAgB;AAChB,eAAO,MAAM,mDAAmD,EAAE,CAAC,CAAC,OAAO,CACzE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,OAAO,CAWP,CAAC;AAEH,wBAAgB,6CAA6C,CAC3D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qCAAqC,EAAE,kBAAkB,CAAC,CAO5E;AAED,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AAEH,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE"}
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.BusinessApplicationResource$inboundSchema = exports.BusinessApplicationResourceAttributes$inboundSchema = exports.BusinessApplicationResourceApplicationType$inboundSchema = exports.BusinessApplicationResourceApplicationType = void 0;
39
+ exports.BusinessApplicationResource$inboundSchema = exports.BusinessApplicationResourceAttributes$inboundSchema = exports.BusinessApplicationResourceLender$inboundSchema = exports.BusinessApplicationResourceApplicationType$inboundSchema = exports.BusinessApplicationResourceLender = exports.BusinessApplicationResourceApplicationType = void 0;
40
40
  exports.businessApplicationResourceAttributesFromJSON = businessApplicationResourceAttributesFromJSON;
41
41
  exports.businessApplicationResourceFromJSON = businessApplicationResourceFromJSON;
42
42
  const z = __importStar(require("zod/v3"));
@@ -50,10 +50,41 @@ const linkobject_js_1 = require("./linkobject.js");
50
50
  exports.BusinessApplicationResourceApplicationType = {
51
51
  Business: "business",
52
52
  };
53
+ /**
54
+ * The lender with whom the application has settled
55
+ */
56
+ exports.BusinessApplicationResourceLender = {
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.BusinessApplicationResourceApplicationType$inboundSchema = z
55
84
  .nativeEnum(exports.BusinessApplicationResourceApplicationType);
56
85
  /** @internal */
86
+ exports.BusinessApplicationResourceLender$inboundSchema = z.nativeEnum(exports.BusinessApplicationResourceLender);
87
+ /** @internal */
57
88
  exports.BusinessApplicationResourceAttributes$inboundSchema = z.object({
58
89
  id: z.string().optional(),
59
90
  humanId: z.string(),
@@ -61,6 +92,7 @@ exports.BusinessApplicationResourceAttributes$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.BusinessApplicationResourceLender$inboundSchema.optional(),
64
96
  createdAt: z.string().optional(),
65
97
  updatedAt: z.string().optional(),
66
98
  });
@@ -1 +1 @@
1
- {"version":3,"file":"businessapplicationresource.js","sourceRoot":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AC,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":"businessapplicationresource.js","sourceRoot":"","sources":["../../src/models/components/businessapplicationresource.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyJH,sGASC;AAgBD,kFAQC;AAxLD,0CAA4B;AAC5B,qDAAiD;AAIjD,iEAGgC;AAChC,6GAGsD;AACtD,mDAAuE;AAEvE;;GAEG;AACU,QAAA,0CAA0C,GAAG;IACxD,QAAQ,EAAE,UAAU;CACZ,CAAC;AAQX;;GAEG;AACU,QAAA,iCAAiC,GAAG;IAC/C,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,iBAAiB,EAAE,qBAAqB;IACxC,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,aAAa;IACzB,GAA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I,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"}
@@ -15,6 +15,39 @@ export declare const CommercialSecuredApplicationResourceApplicationType: {
15
15
  * Type of the loan application
16
16
  */
17
17
  export type CommercialSecuredApplicationResourceApplicationType = ClosedEnum<typeof CommercialSecuredApplicationResourceApplicationType>;
18
+ /**
19
+ * The lender with whom the application has settled
20
+ */
21
+ export declare const CommercialSecuredApplicationResourceLender: {
22
+ readonly Metro: "metro";
23
+ readonly Pepper: "pepper";
24
+ readonly Flexi: "flexi";
25
+ readonly Angle: "angle";
26
+ readonly Resimac: "resimac";
27
+ readonly Scotpac: "scotpac";
28
+ readonly Grow: "grow";
29
+ readonly Macquarie: "macquarie";
30
+ readonly Plenti: "plenti";
31
+ readonly AzoraAssetFinance: "azora_asset_finance";
32
+ readonly Moneyplace: "moneyplace";
33
+ readonly Wisr: "wisr";
34
+ readonly Money3: "money3";
35
+ readonly FinanceOne: "finance_one";
36
+ readonly Now: "now";
37
+ readonly Afs: "afs";
38
+ readonly Autopay: "autopay";
39
+ readonly Ammf: "ammf";
40
+ readonly Dynamoney: "dynamoney";
41
+ readonly Firstmac: "firstmac";
42
+ readonly Latitude: "latitude";
43
+ readonly Branded: "branded";
44
+ readonly Liberty: "liberty";
45
+ readonly Westpac: "westpac";
46
+ };
47
+ /**
48
+ * The lender with whom the application has settled
49
+ */
50
+ export type CommercialSecuredApplicationResourceLender = ClosedEnum<typeof CommercialSecuredApplicationResourceLender>;
18
51
  /**
19
52
  * Application resource attributes
20
53
  */
@@ -43,6 +76,10 @@ export type CommercialSecuredApplicationResourceAttributes = {
43
76
  * If the application has settled with a lender, the lender's identifier of the application, distinct from Financeable's
44
77
  */
45
78
  lenderApplicationReference?: string | undefined;
79
+ /**
80
+ * The lender with whom the application has settled
81
+ */
82
+ lender?: CommercialSecuredApplicationResourceLender | undefined;
46
83
  /**
47
84
  * Creation timestamp
48
85
  */
@@ -76,6 +113,8 @@ export type CommercialSecuredApplicationResource = {
76
113
  /** @internal */
77
114
  export declare const CommercialSecuredApplicationResourceApplicationType$inboundSchema: z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceApplicationType>;
78
115
  /** @internal */
116
+ export declare const CommercialSecuredApplicationResourceLender$inboundSchema: z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceLender>;
117
+ /** @internal */
79
118
  export declare const CommercialSecuredApplicationResourceAttributes$inboundSchema: z.ZodType<CommercialSecuredApplicationResourceAttributes, z.ZodTypeDef, unknown>;
80
119
  export declare function commercialSecuredApplicationResourceAttributesFromJSON(jsonString: string): SafeParseResult<CommercialSecuredApplicationResourceAttributes, SDKValidationError>;
81
120
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"commercialsecuredapplicationresource.d.ts","sourceRoot":"","sources":["../../src/models/components/commercialsecuredapplicationresource.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MA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,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iEAAiE,EAC5E,CAAC,CAAC,aAAa,CAAC,OAAO,mDAAmD,CACP,CAAC;AAEtE,gBAAgB;AAChB,eAAO,MAAM,4DAA4D,EACvE,CAAC,CAAC,OAAO,CACP,8CAA8C,EAC9C,CAAC,CAAC,UAAU,EACZ,OAAO,CAWP,CAAC;AAEL,wBAAgB,sDAAsD,CACpE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,8CAA8C,EAC9C,kBAAkB,CACnB,CASA;AAED,gBAAgB;AAChB,eAAO,MAAM,kDAAkD,EAAE,CAAC,CAAC,OAAO,CACxE,oCAAoC,EACpC,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,wBAAgB,4CAA4C,CAC1D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oCAAoC,EAAE,kBAAkB,CAAC,CAO3E"}
1
+ {"version":3,"file":"commercialsecuredapplicationresource.d.ts","sourceRoot":"","sources":["../../src/models/components/commercialsecuredapplicationresource.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,yCAAyC,EAE1C,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,UAAU,EAA4B,MAAM,iBAAiB,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,mDAAmD;;CAEtD,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,mDAAmD,GAAG,UAAU,CAC1E,OAAO,mDAAmD,CAC3D,CAAC;AAEF;;GAEG;AACH,e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B;AAChB,eAAO,MAAM,wDAAwD,EACnE,CAAC,CAAC,aAAa,CAAC,OAAO,0CAA0C,CACR,CAAC;AAE5D,gBAAgB;AAChB,eAAO,MAAM,4DAA4D,EACvE,CAAC,CAAC,OAAO,CACP,8CAA8C,EAC9C,CAAC,CAAC,UAAU,EACZ,OAAO,CAYP,CAAC;AAEL,wBAAgB,sDAAsD,CACpE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,8CAA8C,EAC9C,kBAAkB,CACnB,CASA;AAED,gBAAgB;AAChB,eAAO,MAAM,kDAAkD,EAAE,CAAC,CAAC,OAAO,CACxE,oCAAoC,EACpC,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,wBAAgB,4CAA4C,CAC1D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oCAAoC,EAAE,kBAAkB,CAAC,CAO3E"}
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.CommercialSecuredApplicationResource$inboundSchema = exports.CommercialSecuredApplicationResourceAttributes$inboundSchema = exports.CommercialSecuredApplicationResourceApplicationType$inboundSchema = exports.CommercialSecuredApplicationResourceApplicationType = void 0;
39
+ exports.CommercialSecuredApplicationResource$inboundSchema = exports.CommercialSecuredApplicationResourceAttributes$inboundSchema = exports.CommercialSecuredApplicationResourceLender$inboundSchema = exports.CommercialSecuredApplicationResourceApplicationType$inboundSchema = exports.CommercialSecuredApplicationResourceLender = exports.CommercialSecuredApplicationResourceApplicationType = void 0;
40
40
  exports.commercialSecuredApplicationResourceAttributesFromJSON = commercialSecuredApplicationResourceAttributesFromJSON;
41
41
  exports.commercialSecuredApplicationResourceFromJSON = commercialSecuredApplicationResourceFromJSON;
42
42
  const z = __importStar(require("zod/v3"));
@@ -50,9 +50,41 @@ const linkobject_js_1 = require("./linkobject.js");
50
50
  exports.CommercialSecuredApplicationResourceApplicationType = {
51
51
  CommercialSecured: "commercialSecured",
52
52
  };
53
+ /**
54
+ * The lender with whom the application has settled
55
+ */
56
+ exports.CommercialSecuredApplicationResourceLender = {
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.CommercialSecuredApplicationResourceApplicationType$inboundSchema = z.nativeEnum(exports.CommercialSecuredApplicationResourceApplicationType);
55
84
  /** @internal */
85
+ exports.CommercialSecuredApplicationResourceLender$inboundSchema = z
86
+ .nativeEnum(exports.CommercialSecuredApplicationResourceLender);
87
+ /** @internal */
56
88
  exports.CommercialSecuredApplicationResourceAttributes$inboundSchema = z.object({
57
89
  id: z.string().optional(),
58
90
  humanId: z.string(),
@@ -60,6 +92,7 @@ exports.CommercialSecuredApplicationResourceAttributes$inboundSchema = z.object(
60
92
  status: applicationstatus_js_1.ApplicationStatus$inboundSchema,
61
93
  settlementDate: z.string().optional(),
62
94
  lenderApplicationReference: z.string().optional(),
95
+ lender: exports.CommercialSecuredApplicationResourceLender$inboundSchema.optional(),
63
96
  createdAt: z.string().optional(),
64
97
  updatedAt: z.string().optional(),
65
98
  });
@@ -1 +1 @@
1
- {"version":3,"file":"commercialsecuredapplicationresource.js","sourceRoot":"","sources":["../../src/models/components/commercialsecuredapplicationresource.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;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AG,EAAE,CACtB,oEAA4D,CAC7D;IACD,aAAa,EAAE,sGAAuD;IACtE,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,4CAA4C,CAC1D,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,0DAAkD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,kEAAkE,CACnE,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"commercialsecuredapplicationresource.js","sourceRoot":"","sources":["../../src/models/components/commercialsecuredapplicationresource.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2JH,wHAcC;AAkBD,oGASC;AAlMD,0CAA4B;AAC5B,qDAAiD;AAIjD,iEAGgC;AAChC,iHAGwD;AACxD,mDAAuE;AAEvE;;GAEG;AACU,QAAA,mDAAmD,GAAG;IACjE,iBAAiB,EAAE,mBAAmB;CAC9B,CAAC;AAQX;;GAEG;AACU,QAAA,0CAA0C,GAAG;IACxD,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,iBAAiB,EAAE,qBAAqB;IACxC,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,aAAa;IACzB,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,OAAO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AClD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,UAAU,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACtB,oEAA4D,CAC7D;IACD,aAAa,EAAE,sGAAuD;IACtE,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,4CAA4C,CAC1D,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,0DAAkD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,kEAAkE,CACnE,CAAC;AACJ,CAAC"}
@@ -15,6 +15,39 @@ export declare const ConsumerSecuredApplicationResourceApplicationType: {
15
15
  * Type of the loan application
16
16
  */
17
17
  export type ConsumerSecuredApplicationResourceApplicationType = ClosedEnum<typeof ConsumerSecuredApplicationResourceApplicationType>;
18
+ /**
19
+ * The lender with whom the application has settled
20
+ */
21
+ export declare const Lender: {
22
+ readonly Metro: "metro";
23
+ readonly Pepper: "pepper";
24
+ readonly Flexi: "flexi";
25
+ readonly Angle: "angle";
26
+ readonly Resimac: "resimac";
27
+ readonly Scotpac: "scotpac";
28
+ readonly Grow: "grow";
29
+ readonly Macquarie: "macquarie";
30
+ readonly Plenti: "plenti";
31
+ readonly AzoraAssetFinance: "azora_asset_finance";
32
+ readonly Moneyplace: "moneyplace";
33
+ readonly Wisr: "wisr";
34
+ readonly Money3: "money3";
35
+ readonly FinanceOne: "finance_one";
36
+ readonly Now: "now";
37
+ readonly Afs: "afs";
38
+ readonly Autopay: "autopay";
39
+ readonly Ammf: "ammf";
40
+ readonly Dynamoney: "dynamoney";
41
+ readonly Firstmac: "firstmac";
42
+ readonly Latitude: "latitude";
43
+ readonly Branded: "branded";
44
+ readonly Liberty: "liberty";
45
+ readonly Westpac: "westpac";
46
+ };
47
+ /**
48
+ * The lender with whom the application has settled
49
+ */
50
+ export type Lender = ClosedEnum<typeof Lender>;
18
51
  /**
19
52
  * Application resource attributes
20
53
  */
@@ -43,6 +76,10 @@ export type ConsumerSecuredApplicationResourceAttributes = {
43
76
  * If the application has settled with a lender, the lender's identifier of the application, distinct from Financeable's
44
77
  */
45
78
  lenderApplicationReference?: string | undefined;
79
+ /**
80
+ * The lender with whom the application has settled
81
+ */
82
+ lender?: Lender | undefined;
46
83
  /**
47
84
  * Creation timestamp
48
85
  */
@@ -76,6 +113,8 @@ export type ConsumerSecuredApplicationResource = {
76
113
  /** @internal */
77
114
  export declare const ConsumerSecuredApplicationResourceApplicationType$inboundSchema: z.ZodNativeEnum<typeof ConsumerSecuredApplicationResourceApplicationType>;
78
115
  /** @internal */
116
+ export declare const Lender$inboundSchema: z.ZodNativeEnum<typeof Lender>;
117
+ /** @internal */
79
118
  export declare const ConsumerSecuredApplicationResourceAttributes$inboundSchema: z.ZodType<ConsumerSecuredApplicationResourceAttributes, z.ZodTypeDef, unknown>;
80
119
  export declare function consumerSecuredApplicationResourceAttributesFromJSON(jsonString: string): SafeParseResult<ConsumerSecuredApplicationResourceAttributes, SDKValidationError>;
81
120
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"consumersecuredapplicationresource.d.ts","sourceRoot":"","sources":["../../src/models/components/consumersecuredapplicationresource.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,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;AAEnE,gBAAgB;AAChB,eAAO,MAAM,0DAA0D,EACrE,CAAC,CAAC,OAAO,CACP,4CAA4C,EAC5C,CAAC,CAAC,UAAU,EACZ,OAAO,CAWP,CAAC;AAEL,wBAAgB,oDAAoD,CAClE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,4CAA4C,EAC5C,kBAAkB,CACnB,CASA;AAED,gBAAgB;AAChB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,wBAAgB,0CAA0C,CACxD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kCAAkC,EAAE,kBAAkB,CAAC,CAOzE"}
1
+ {"version":3,"file":"consumersecuredapplicationresource.d.ts","sourceRoot":"","sources":["../../src/models/components/consumersecuredapplicationresource.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,uCAAuC,EAExC,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,UAAU,EAA4B,MAAM,iBAAiB,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,iDAAiD;;CAEpD,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,iDAAiD,GAAG,UAAU,CACxE,OAAO,iDAAiD,CACzD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;CAyBT,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AAE/C;;GAEG;AAC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,EAC5C,CAAC,CAAC,UAAU,EACZ,OAAO,CAYP,CAAC;AAEL,wBAAgB,oDAAoD,CAClE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,4CAA4C,EAC5C,kBAAkB,CACnB,CASA;AAED,gBAAgB;AAChB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,wBAAgB,0CAA0C,CACxD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kCAAkC,EAAE,kBAAkB,CAAC,CAOzE"}
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ConsumerSecuredApplicationResource$inboundSchema = exports.ConsumerSecuredApplicationResourceAttributes$inboundSchema = exports.ConsumerSecuredApplicationResourceApplicationType$inboundSchema = exports.ConsumerSecuredApplicationResourceApplicationType = void 0;
39
+ exports.ConsumerSecuredApplicationResource$inboundSchema = exports.ConsumerSecuredApplicationResourceAttributes$inboundSchema = exports.Lender$inboundSchema = exports.ConsumerSecuredApplicationResourceApplicationType$inboundSchema = exports.Lender = exports.ConsumerSecuredApplicationResourceApplicationType = void 0;
40
40
  exports.consumerSecuredApplicationResourceAttributesFromJSON = consumerSecuredApplicationResourceAttributesFromJSON;
41
41
  exports.consumerSecuredApplicationResourceFromJSON = consumerSecuredApplicationResourceFromJSON;
42
42
  const z = __importStar(require("zod/v3"));
@@ -50,10 +50,42 @@ const linkobject_js_1 = require("./linkobject.js");
50
50
  exports.ConsumerSecuredApplicationResourceApplicationType = {
51
51
  ConsumerSecured: "consumerSecured",
52
52
  };
53
+ /**
54
+ * The lender with whom the application has settled
55
+ */
56
+ exports.Lender = {
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.ConsumerSecuredApplicationResourceApplicationType$inboundSchema = z
55
84
  .nativeEnum(exports.ConsumerSecuredApplicationResourceApplicationType);
56
85
  /** @internal */
86
+ exports.Lender$inboundSchema = z
87
+ .nativeEnum(exports.Lender);
88
+ /** @internal */
57
89
  exports.ConsumerSecuredApplicationResourceAttributes$inboundSchema = z.object({
58
90
  id: z.string().optional(),
59
91
  humanId: z.string(),
@@ -61,6 +93,7 @@ exports.ConsumerSecuredApplicationResourceAttributes$inboundSchema = z.object({
61
93
  status: applicationstatus_js_1.ApplicationStatus$inboundSchema,
62
94
  settlementDate: z.string().optional(),
63
95
  lenderApplicationReference: z.string().optional(),
96
+ lender: exports.Lender$inboundSchema.optional(),
64
97
  createdAt: z.string().optional(),
65
98
  updatedAt: z.string().optional(),
66
99
  });
@@ -1 +1 @@
1
- {"version":3,"file":"consumersecuredapplicationresource.js","sourceRoot":"","sources":["../../src/models/components/consumersecuredapplicationresource.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6GH,oHAcC;AAkBD,gGASC;AApJD,0CAA4B;AAC5B,qDAAiD;AAIjD,iEAGgC;AAChC,6GAGsD;AACtD,mDAAuE;AAEvE;;GAEG;AACU,QAAA,iDAAiD,GAAG;IAC/D,eAAe,EAAE,iBAAiB;CAC1B,CAAC;AAgEX,gBAAgB;AACH,QA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EH,SAAgB,0CAA0C,CACxD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,wDAAgD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,gEAAgE,CACjE,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"consumersecuredapplicationresource.js","sourceRoot":"","sources":["../../src/models/components/consumersecuredapplicationresource.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwJH,oHAcC;AAkBD,gGASC;AA/LD,0CAA4B;AAC5B,qDAAiD;AAIjD,iEAGgC;AAChC,6GAGsD;AACtD,mDAAuE;AAEvE;;GAEG;AACU,QAAA,iDAAiD,GAAG;IAC/D,eAAe,EAAE,iBAAiB;CAC1B,CAAC;AAQX;;GAEG;AACU,QAAA,MAAM,GAAG;IACpB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,iBAAiB,EAAE,qBAAqB;IACxC,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,aAAa;IACzB,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACV,CAAC;AAkEX,gBAAgB;AACH,QAAA,+DAA+D,GACE,CAAC;KAC1E,UAA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E,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAEH,SAAgB,0CAA0C,CACxD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,wDAAgD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,gEAAgE,CACjE,CAAC;AACJ,CAAC"}
@@ -14,7 +14,7 @@ export type Repayments = MonetaryQuantity | string;
14
14
  */
15
15
  export type LoanAmount = MonetaryQuantity | string;
16
16
  /**
17
- * Brokerage quantity as either BrokerageQuantity model (preferred) or floating point dollars as string. The latter will be deprecated. Only applicable to commercialSecured loans.
17
+ * Applicable for Commercial Secured Loans Only. Brokerage quantity as either MonetaryQuantity or PercentageQuantity model. For all other loan types, use 'commission' instead.
18
18
  */
19
19
  export type Brokerage = MonetaryQuantity | PercentageQuantity | string;
20
20
  /**
@@ -79,7 +79,7 @@ export type LoanDetailsAttributes = {
79
79
  */
80
80
  term?: number | undefined;
81
81
  /**
82
- * Brokerage quantity as either BrokerageQuantity model (preferred) or floating point dollars as string. The latter will be deprecated. Only applicable to commercialSecured loans.
82
+ * Applicable for Commercial Secured Loans Only. Brokerage quantity as either MonetaryQuantity or PercentageQuantity model. For all other loan types, use 'commission' instead.
83
83
  */
84
84
  brokerage?: MonetaryQuantity | PercentageQuantity | string | undefined;
85
85
  /**
@@ -111,7 +111,7 @@ export type LoanDetailsAttributes = {
111
111
  */
112
112
  originationFee?: MonetaryQuantity | number | undefined;
113
113
  /**
114
- * Commission amount as MonetaryQuantity.
114
+ * Applicable to Consumer Secured, Personal & Business loans. Commission amount (paid from lender to aggregator/broker) as MonetaryQuantity. See `brokerage` for Commercial Secured loans.
115
115
  */
116
116
  commission?: MonetaryQuantity | undefined;
117
117
  /**
@@ -15,6 +15,39 @@ export declare const PersonalApplicationResourceApplicationType: {
15
15
  * Type of the loan application
16
16
  */
17
17
  export type PersonalApplicationResourceApplicationType = ClosedEnum<typeof PersonalApplicationResourceApplicationType>;
18
+ /**
19
+ * The lender with whom the application has settled
20
+ */
21
+ export declare const PersonalApplicationResourceLender: {
22
+ readonly Metro: "metro";
23
+ readonly Pepper: "pepper";
24
+ readonly Flexi: "flexi";
25
+ readonly Angle: "angle";
26
+ readonly Resimac: "resimac";
27
+ readonly Scotpac: "scotpac";
28
+ readonly Grow: "grow";
29
+ readonly Macquarie: "macquarie";
30
+ readonly Plenti: "plenti";
31
+ readonly AzoraAssetFinance: "azora_asset_finance";
32
+ readonly Moneyplace: "moneyplace";
33
+ readonly Wisr: "wisr";
34
+ readonly Money3: "money3";
35
+ readonly FinanceOne: "finance_one";
36
+ readonly Now: "now";
37
+ readonly Afs: "afs";
38
+ readonly Autopay: "autopay";
39
+ readonly Ammf: "ammf";
40
+ readonly Dynamoney: "dynamoney";
41
+ readonly Firstmac: "firstmac";
42
+ readonly Latitude: "latitude";
43
+ readonly Branded: "branded";
44
+ readonly Liberty: "liberty";
45
+ readonly Westpac: "westpac";
46
+ };
47
+ /**
48
+ * The lender with whom the application has settled
49
+ */
50
+ export type PersonalApplicationResourceLender = ClosedEnum<typeof PersonalApplicationResourceLender>;
18
51
  /**
19
52
  * Application resource attributes
20
53
  */
@@ -43,6 +76,10 @@ export type PersonalApplicationResourceAttributes = {
43
76
  * If the application has settled with a lender, the lender's identifier of the application, distinct from Financeable's
44
77
  */
45
78
  lenderApplicationReference?: string | undefined;
79
+ /**
80
+ * The lender with whom the application has settled
81
+ */
82
+ lender?: PersonalApplicationResourceLender | undefined;
46
83
  /**
47
84
  * Creation timestamp
48
85
  */
@@ -76,6 +113,8 @@ export type PersonalApplicationResource = {
76
113
  /** @internal */
77
114
  export declare const PersonalApplicationResourceApplicationType$inboundSchema: z.ZodNativeEnum<typeof PersonalApplicationResourceApplicationType>;
78
115
  /** @internal */
116
+ export declare const PersonalApplicationResourceLender$inboundSchema: z.ZodNativeEnum<typeof PersonalApplicationResourceLender>;
117
+ /** @internal */
79
118
  export declare const PersonalApplicationResourceAttributes$inboundSchema: z.ZodType<PersonalApplicationResourceAttributes, z.ZodTypeDef, unknown>;
80
119
  export declare function personalApplicationResourceAttributesFromJSON(jsonString: string): SafeParseResult<PersonalApplicationResourceAttributes, SDKValidationError>;
81
120
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"personalapplicationresource.d.ts","sourceRoot":"","sources":["../../src/models/components/personalapplicationresource.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,UAAU,EAA4B,MAAM,iBAAiB,CAAC;AACvE,OAAO,EACL,uCAAuC,EAExC,MAAM,8CAA8C,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,0CAA0C;;CAE7C,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,0CAA0C,GAAG,UAAU,CACjE,OAAO,0CAA0C,CAClD,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qCAAqC,GAAG;IAClD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,eAAe,EAAE,0CAA0C,CAAC;IAC5D;;OAEG;IACH,MAAM,EAAE,iBAAiB,CAAC;IAC1B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,uBAAuB,CAAC;IAC9B,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB;;OAEG;IACH,UAAU,EAAE,qCAAqC,CAAC;IAClD;;OAEG;IACH,aAAa,EAAE,uCAAuC,CAAC;IACvD,KAAK,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,UAAU,CAAA;KAAE,GAAG,SAAS,CAAC;IAChD,IAAI,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wDAAwD,EACnE,CAAC,CAAC,aAAa,CAAC,OAAO,0CAA0C,CACR,CAAC;AAE5D,gBAAgB;AAChB,eAAO,MAAM,mDAAmD,EAAE,CAAC,CAAC,OAAO,CACzE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,wBAAgB,6CAA6C,CAC3D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qCAAqC,EAAE,kBAAkB,CAAC,CAO5E;AAED,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AAEH,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE"}
1
+ {"version":3,"file":"personalapplicationresource.d.ts","sourceRoot":"","sources":["../../src/models/components/personalapplicationresource.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAA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C;IAC9B,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB;;OAEG;IACH,UAAU,EAAE,qCAAqC,CAAC;IAClD;;OAEG;IACH,aAAa,EAAE,uCAAuC,CAAC;IACvD,KAAK,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,UAAU,CAAA;KAAE,GAAG,SAAS,CAAC;IAChD,IAAI,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wDAAwD,EACnE,CAAC,CAAC,aAAa,CAAC,OAAO,0CAA0C,CACR,CAAC;AAE5D,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,aAAa,CAC3E,OAAO,iCAAiC,CACS,CAAC;AAEpD,gBAAgB;AAChB,eAAO,MAAM,mDAAmD,EAAE,CAAC,CAAC,OAAO,CACzE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,OAAO,CAWP,CAAC;AAEH,wBAAgB,6CAA6C,CAC3D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qCAAqC,EAAE,kBAAkB,CAAC,CAO5E;AAED,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AAEH,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE"}
@@ -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":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyJH,sGASC;AAgBD,kFAQC;AAxLD,0CAA4B;AAC5B,qDAAiD;AAIjD,iEAGgC;AAChC,mDAAuE;AACvE,6GAGsD;AAEtD;;GAEG;AACU,QAAA,0CAA0C,GAAG;IACxD,QAAQ,EAAE,UAAU;CACZ,CAAC;AAQX;;GAEG;AACU,QAAA,iCAAiC,GAAG;IAC/C,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,KAA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A6C,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@financeable/aggregation",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
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.14.1",
62
+ genVersion: "2.770.0",
63
63
  userAgent:
64
- "speakeasy-sdk/typescript 0.14.0 2.768.1 0.13.0 @financeable/aggregation",
64
+ "speakeasy-sdk/typescript 0.14.1 2.770.0 0.13.1 @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
  });
@@ -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
  });
@@ -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
  });
@@ -40,7 +40,7 @@ export type Repayments = MonetaryQuantity | string;
40
40
  export type LoanAmount = MonetaryQuantity | string;
41
41
 
42
42
  /**
43
- * Brokerage quantity as either BrokerageQuantity model (preferred) or floating point dollars as string. The latter will be deprecated. Only applicable to commercialSecured loans.
43
+ * Applicable for Commercial Secured Loans Only. Brokerage quantity as either MonetaryQuantity or PercentageQuantity model. For all other loan types, use 'commission' instead.
44
44
  */
45
45
  export type Brokerage = MonetaryQuantity | PercentageQuantity | string;
46
46
 
@@ -113,7 +113,7 @@ export type LoanDetailsAttributes = {
113
113
  */
114
114
  term?: number | undefined;
115
115
  /**
116
- * Brokerage quantity as either BrokerageQuantity model (preferred) or floating point dollars as string. The latter will be deprecated. Only applicable to commercialSecured loans.
116
+ * Applicable for Commercial Secured Loans Only. Brokerage quantity as either MonetaryQuantity or PercentageQuantity model. For all other loan types, use 'commission' instead.
117
117
  */
118
118
  brokerage?: MonetaryQuantity | PercentageQuantity | string | undefined;
119
119
  /**
@@ -145,7 +145,7 @@ export type LoanDetailsAttributes = {
145
145
  */
146
146
  originationFee?: MonetaryQuantity | number | undefined;
147
147
  /**
148
- * Commission amount as MonetaryQuantity.
148
+ * Applicable to Consumer Secured, Personal & Business loans. Commission amount (paid from lender to aggregator/broker) as MonetaryQuantity. See `brokerage` for Commercial Secured loans.
149
149
  */
150
150
  commission?: MonetaryQuantity | undefined;
151
151
  /**
@@ -30,6 +30,42 @@ export type PersonalApplicationResourceApplicationType = ClosedEnum<
30
30
  typeof PersonalApplicationResourceApplicationType
31
31
  >;
32
32
 
33
+ /**
34
+ * The lender with whom the application has settled
35
+ */
36
+ export const PersonalApplicationResourceLender = {
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 PersonalApplicationResourceLender = ClosedEnum<
66
+ typeof PersonalApplicationResourceLender
67
+ >;
68
+
33
69
  /**
34
70
  * Application resource attributes
35
71
  */
@@ -58,6 +94,10 @@ export type PersonalApplicationResourceAttributes = {
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?: PersonalApplicationResourceLender | undefined;
61
101
  /**
62
102
  * Creation timestamp
63
103
  */
@@ -91,6 +131,11 @@ export const PersonalApplicationResourceApplicationType$inboundSchema:
91
131
  z.ZodNativeEnum<typeof PersonalApplicationResourceApplicationType> = z
92
132
  .nativeEnum(PersonalApplicationResourceApplicationType);
93
133
 
134
+ /** @internal */
135
+ export const PersonalApplicationResourceLender$inboundSchema: z.ZodNativeEnum<
136
+ typeof PersonalApplicationResourceLender
137
+ > = z.nativeEnum(PersonalApplicationResourceLender);
138
+
94
139
  /** @internal */
95
140
  export const PersonalApplicationResourceAttributes$inboundSchema: z.ZodType<
96
141
  PersonalApplicationResourceAttributes,
@@ -103,6 +148,7 @@ export const PersonalApplicationResourceAttributes$inboundSchema: z.ZodType<
103
148
  status: ApplicationStatus$inboundSchema,
104
149
  settlementDate: z.string().optional(),
105
150
  lenderApplicationReference: z.string().optional(),
151
+ lender: PersonalApplicationResourceLender$inboundSchema.optional(),
106
152
  createdAt: z.string().optional(),
107
153
  updatedAt: z.string().optional(),
108
154
  });