@financeable/aggregation 0.10.0 → 0.10.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.
- package/examples/applicationsCreate.example.ts +1 -1
- package/examples/package-lock.json +3 -3
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/encodings.d.ts.map +1 -1
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js.map +1 -1
- package/models/components/addressattributes.d.ts +18 -18
- package/models/components/addressattributes.d.ts.map +1 -1
- package/models/components/addressattributes.js.map +1 -1
- package/models/components/badrequesterror.d.ts +15 -15
- package/models/components/badrequesterror.d.ts.map +1 -1
- package/models/components/badrequesterror.js.map +1 -1
- package/models/components/commercialapplicationjsonapirelationships.d.ts +84 -84
- package/models/components/commercialapplicationjsonapirelationships.d.ts.map +1 -1
- package/models/components/commercialapplicationjsonapirelationships.js +47 -47
- package/models/components/commercialapplicationjsonapirelationships.js.map +1 -1
- package/models/components/commercialsecuredapplicationpayload.d.ts +27 -27
- package/models/components/commercialsecuredapplicationpayload.d.ts.map +1 -1
- package/models/components/commercialsecuredapplicationpayload.js.map +1 -1
- package/models/components/commercialsecuredapplicationresource.d.ts +36 -36
- package/models/components/commercialsecuredapplicationresource.d.ts.map +1 -1
- package/models/components/commercialsecuredapplicationresource.js.map +1 -1
- package/models/components/commercialsecuredloanassetattributes.d.ts +58 -58
- package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -1
- package/models/components/commercialsecuredloanassetattributes.js +16 -16
- package/models/components/commercialsecuredloanassetattributes.js.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +150 -150
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js +92 -92
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -1
- package/models/components/consumerapplicationjsonapirelationships.d.ts +62 -62
- package/models/components/consumerapplicationjsonapirelationships.d.ts.map +1 -1
- package/models/components/consumerapplicationjsonapirelationships.js +32 -32
- package/models/components/consumerapplicationjsonapirelationships.js.map +1 -1
- package/models/components/consumersecuredapplicationpayload.d.ts +27 -27
- package/models/components/consumersecuredapplicationpayload.d.ts.map +1 -1
- package/models/components/consumersecuredapplicationpayload.js.map +1 -1
- package/models/components/consumersecuredapplicationresource.d.ts +36 -36
- package/models/components/consumersecuredapplicationresource.d.ts.map +1 -1
- package/models/components/consumersecuredapplicationresource.js.map +1 -1
- package/models/components/consumersecuredloanassetattributes.d.ts +58 -58
- package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -1
- package/models/components/consumersecuredloanassetattributes.js +16 -16
- package/models/components/consumersecuredloanassetattributes.js.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +172 -172
- package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -1
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js +107 -107
- package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -1
- package/models/components/createsupportingdocumentsresponse.d.ts +16 -16
- package/models/components/createsupportingdocumentsresponse.d.ts.map +1 -1
- package/models/components/createsupportingdocumentsresponse.js.map +1 -1
- package/models/components/forbiddenerror.d.ts +15 -15
- package/models/components/forbiddenerror.d.ts.map +1 -1
- package/models/components/forbiddenerror.js.map +1 -1
- package/models/components/loandetailsattributes.d.ts +27 -3
- package/models/components/loandetailsattributes.d.ts.map +1 -1
- package/models/components/loandetailsattributes.js +26 -3
- package/models/components/loandetailsattributes.js.map +1 -1
- package/models/components/monetaryquantity.d.ts +11 -11
- package/models/components/monetaryquantity.d.ts.map +1 -1
- package/models/components/monetaryquantity.js.map +1 -1
- package/models/components/percentagequantity.d.ts +7 -7
- package/models/components/percentagequantity.d.ts.map +1 -1
- package/models/components/percentagequantity.js.map +1 -1
- package/models/components/relationshipresourcenotfound.d.ts +12 -12
- package/models/components/relationshipresourcenotfound.d.ts.map +1 -1
- package/models/components/relationshipresourcenotfound.js.map +1 -1
- package/models/components/resourcenotfound.d.ts +15 -15
- package/models/components/resourcenotfound.d.ts.map +1 -1
- package/models/components/resourcenotfound.js.map +1 -1
- package/models/components/supportingdocumentrelationships.d.ts +106 -106
- package/models/components/supportingdocumentrelationships.d.ts.map +1 -1
- package/models/components/supportingdocumentrelationships.js +63 -63
- package/models/components/supportingdocumentrelationships.js.map +1 -1
- package/models/components/supportingdocumentresource.d.ts +11 -11
- package/models/components/supportingdocumentresource.d.ts.map +1 -1
- package/models/components/supportingdocumentresource.js.map +1 -1
- package/models/components/tokenrequest.d.ts +18 -18
- package/models/components/tokenrequest.d.ts.map +1 -1
- package/models/components/tokenrequest.js.map +1 -1
- package/models/operations/createapplication.d.ts +154 -154
- package/models/operations/createapplication.d.ts.map +1 -1
- package/models/operations/createapplication.js +109 -109
- package/models/operations/createapplication.js.map +1 -1
- package/package.json +3 -3
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +4 -1
- package/src/models/components/addressattributes.ts +19 -19
- package/src/models/components/badrequesterror.ts +14 -14
- package/src/models/components/commercialapplicationjsonapirelationships.ts +117 -117
- package/src/models/components/commercialsecuredapplicationpayload.ts +27 -27
- package/src/models/components/commercialsecuredapplicationresource.ts +46 -46
- package/src/models/components/commercialsecuredloanassetattributes.ts +45 -45
- package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +243 -243
- package/src/models/components/consumerapplicationjsonapirelationships.ts +83 -83
- package/src/models/components/consumersecuredapplicationpayload.ts +27 -27
- package/src/models/components/consumersecuredapplicationresource.ts +47 -47
- package/src/models/components/consumersecuredloanassetattributes.ts +53 -53
- package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +279 -279
- package/src/models/components/createsupportingdocumentsresponse.ts +16 -16
- package/src/models/components/forbiddenerror.ts +14 -14
- package/src/models/components/loandetailsattributes.ts +54 -5
- package/src/models/components/monetaryquantity.ts +12 -12
- package/src/models/components/percentagequantity.ts +8 -8
- package/src/models/components/relationshipresourcenotfound.ts +11 -11
- package/src/models/components/resourcenotfound.ts +14 -14
- package/src/models/components/supportingdocumentrelationships.ts +129 -129
- package/src/models/components/supportingdocumentresource.ts +8 -8
- package/src/models/components/tokenrequest.ts +19 -19
- package/src/models/operations/createapplication.ts +204 -204
|
@@ -21,89 +21,6 @@ export type ConsumerApplicationJsonApiRelationshipsType = ClosedEnum<
|
|
|
21
21
|
typeof ConsumerApplicationJsonApiRelationshipsType
|
|
22
22
|
>;
|
|
23
23
|
|
|
24
|
-
export const ConsumerApplicationJsonApiRelationshipsCustomersType = {
|
|
25
|
-
Customers: "customers",
|
|
26
|
-
} as const;
|
|
27
|
-
export type ConsumerApplicationJsonApiRelationshipsCustomersType = ClosedEnum<
|
|
28
|
-
typeof ConsumerApplicationJsonApiRelationshipsCustomersType
|
|
29
|
-
>;
|
|
30
|
-
|
|
31
|
-
export const ConsumerApplicationJsonApiRelationshipsAssetType = {
|
|
32
|
-
Assets: "assets",
|
|
33
|
-
} as const;
|
|
34
|
-
export type ConsumerApplicationJsonApiRelationshipsAssetType = ClosedEnum<
|
|
35
|
-
typeof ConsumerApplicationJsonApiRelationshipsAssetType
|
|
36
|
-
>;
|
|
37
|
-
|
|
38
|
-
/** @internal */
|
|
39
|
-
export const ConsumerApplicationJsonApiRelationshipsType$inboundSchema:
|
|
40
|
-
z.ZodNativeEnum<typeof ConsumerApplicationJsonApiRelationshipsType> = z
|
|
41
|
-
.nativeEnum(ConsumerApplicationJsonApiRelationshipsType);
|
|
42
|
-
|
|
43
|
-
/** @internal */
|
|
44
|
-
export const ConsumerApplicationJsonApiRelationshipsType$outboundSchema:
|
|
45
|
-
z.ZodNativeEnum<typeof ConsumerApplicationJsonApiRelationshipsType> =
|
|
46
|
-
ConsumerApplicationJsonApiRelationshipsType$inboundSchema;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
51
|
-
*/
|
|
52
|
-
export namespace ConsumerApplicationJsonApiRelationshipsType$ {
|
|
53
|
-
/** @deprecated use `ConsumerApplicationJsonApiRelationshipsType$inboundSchema` instead. */
|
|
54
|
-
export const inboundSchema =
|
|
55
|
-
ConsumerApplicationJsonApiRelationshipsType$inboundSchema;
|
|
56
|
-
/** @deprecated use `ConsumerApplicationJsonApiRelationshipsType$outboundSchema` instead. */
|
|
57
|
-
export const outboundSchema =
|
|
58
|
-
ConsumerApplicationJsonApiRelationshipsType$outboundSchema;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/** @internal */
|
|
62
|
-
export const ConsumerApplicationJsonApiRelationshipsCustomersType$inboundSchema:
|
|
63
|
-
z.ZodNativeEnum<typeof ConsumerApplicationJsonApiRelationshipsCustomersType> =
|
|
64
|
-
z.nativeEnum(ConsumerApplicationJsonApiRelationshipsCustomersType);
|
|
65
|
-
|
|
66
|
-
/** @internal */
|
|
67
|
-
export const ConsumerApplicationJsonApiRelationshipsCustomersType$outboundSchema:
|
|
68
|
-
z.ZodNativeEnum<typeof ConsumerApplicationJsonApiRelationshipsCustomersType> =
|
|
69
|
-
ConsumerApplicationJsonApiRelationshipsCustomersType$inboundSchema;
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @internal
|
|
73
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
74
|
-
*/
|
|
75
|
-
export namespace ConsumerApplicationJsonApiRelationshipsCustomersType$ {
|
|
76
|
-
/** @deprecated use `ConsumerApplicationJsonApiRelationshipsCustomersType$inboundSchema` instead. */
|
|
77
|
-
export const inboundSchema =
|
|
78
|
-
ConsumerApplicationJsonApiRelationshipsCustomersType$inboundSchema;
|
|
79
|
-
/** @deprecated use `ConsumerApplicationJsonApiRelationshipsCustomersType$outboundSchema` instead. */
|
|
80
|
-
export const outboundSchema =
|
|
81
|
-
ConsumerApplicationJsonApiRelationshipsCustomersType$outboundSchema;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/** @internal */
|
|
85
|
-
export const ConsumerApplicationJsonApiRelationshipsAssetType$inboundSchema:
|
|
86
|
-
z.ZodNativeEnum<typeof ConsumerApplicationJsonApiRelationshipsAssetType> = z
|
|
87
|
-
.nativeEnum(ConsumerApplicationJsonApiRelationshipsAssetType);
|
|
88
|
-
|
|
89
|
-
/** @internal */
|
|
90
|
-
export const ConsumerApplicationJsonApiRelationshipsAssetType$outboundSchema:
|
|
91
|
-
z.ZodNativeEnum<typeof ConsumerApplicationJsonApiRelationshipsAssetType> =
|
|
92
|
-
ConsumerApplicationJsonApiRelationshipsAssetType$inboundSchema;
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* @internal
|
|
96
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
97
|
-
*/
|
|
98
|
-
export namespace ConsumerApplicationJsonApiRelationshipsAssetType$ {
|
|
99
|
-
/** @deprecated use `ConsumerApplicationJsonApiRelationshipsAssetType$inboundSchema` instead. */
|
|
100
|
-
export const inboundSchema =
|
|
101
|
-
ConsumerApplicationJsonApiRelationshipsAssetType$inboundSchema;
|
|
102
|
-
/** @deprecated use `ConsumerApplicationJsonApiRelationshipsAssetType$outboundSchema` instead. */
|
|
103
|
-
export const outboundSchema =
|
|
104
|
-
ConsumerApplicationJsonApiRelationshipsAssetType$outboundSchema;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
24
|
export type ConsumerApplicationJsonApiRelationshipsData = {
|
|
108
25
|
type: ConsumerApplicationJsonApiRelationshipsType;
|
|
109
26
|
id: string;
|
|
@@ -115,6 +32,13 @@ export type ConsumerApplicationJsonApiRelationshipsLoanDetails = {
|
|
|
115
32
|
meta?: { [k: string]: any } | undefined;
|
|
116
33
|
};
|
|
117
34
|
|
|
35
|
+
export const ConsumerApplicationJsonApiRelationshipsCustomersType = {
|
|
36
|
+
Customers: "customers",
|
|
37
|
+
} as const;
|
|
38
|
+
export type ConsumerApplicationJsonApiRelationshipsCustomersType = ClosedEnum<
|
|
39
|
+
typeof ConsumerApplicationJsonApiRelationshipsCustomersType
|
|
40
|
+
>;
|
|
41
|
+
|
|
118
42
|
export type ConsumerApplicationJsonApiRelationshipsCustomersData = {
|
|
119
43
|
type: ConsumerApplicationJsonApiRelationshipsCustomersType;
|
|
120
44
|
id: string;
|
|
@@ -126,6 +50,13 @@ export type ConsumerApplicationJsonApiRelationshipsCustomers = {
|
|
|
126
50
|
meta?: { [k: string]: any } | undefined;
|
|
127
51
|
};
|
|
128
52
|
|
|
53
|
+
export const ConsumerApplicationJsonApiRelationshipsAssetType = {
|
|
54
|
+
Assets: "assets",
|
|
55
|
+
} as const;
|
|
56
|
+
export type ConsumerApplicationJsonApiRelationshipsAssetType = ClosedEnum<
|
|
57
|
+
typeof ConsumerApplicationJsonApiRelationshipsAssetType
|
|
58
|
+
>;
|
|
59
|
+
|
|
129
60
|
export type ConsumerApplicationJsonApiRelationshipsAssetData = {
|
|
130
61
|
type: ConsumerApplicationJsonApiRelationshipsAssetType;
|
|
131
62
|
id: string;
|
|
@@ -146,6 +77,29 @@ export type ConsumerApplicationJsonApiRelationships = {
|
|
|
146
77
|
asset?: ConsumerApplicationJsonApiRelationshipsAsset | undefined;
|
|
147
78
|
};
|
|
148
79
|
|
|
80
|
+
/** @internal */
|
|
81
|
+
export const ConsumerApplicationJsonApiRelationshipsType$inboundSchema:
|
|
82
|
+
z.ZodNativeEnum<typeof ConsumerApplicationJsonApiRelationshipsType> = z
|
|
83
|
+
.nativeEnum(ConsumerApplicationJsonApiRelationshipsType);
|
|
84
|
+
|
|
85
|
+
/** @internal */
|
|
86
|
+
export const ConsumerApplicationJsonApiRelationshipsType$outboundSchema:
|
|
87
|
+
z.ZodNativeEnum<typeof ConsumerApplicationJsonApiRelationshipsType> =
|
|
88
|
+
ConsumerApplicationJsonApiRelationshipsType$inboundSchema;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
93
|
+
*/
|
|
94
|
+
export namespace ConsumerApplicationJsonApiRelationshipsType$ {
|
|
95
|
+
/** @deprecated use `ConsumerApplicationJsonApiRelationshipsType$inboundSchema` instead. */
|
|
96
|
+
export const inboundSchema =
|
|
97
|
+
ConsumerApplicationJsonApiRelationshipsType$inboundSchema;
|
|
98
|
+
/** @deprecated use `ConsumerApplicationJsonApiRelationshipsType$outboundSchema` instead. */
|
|
99
|
+
export const outboundSchema =
|
|
100
|
+
ConsumerApplicationJsonApiRelationshipsType$outboundSchema;
|
|
101
|
+
}
|
|
102
|
+
|
|
149
103
|
/** @internal */
|
|
150
104
|
export const ConsumerApplicationJsonApiRelationshipsData$inboundSchema:
|
|
151
105
|
z.ZodType<
|
|
@@ -294,6 +248,29 @@ export function consumerApplicationJsonApiRelationshipsLoanDetailsFromJSON(
|
|
|
294
248
|
);
|
|
295
249
|
}
|
|
296
250
|
|
|
251
|
+
/** @internal */
|
|
252
|
+
export const ConsumerApplicationJsonApiRelationshipsCustomersType$inboundSchema:
|
|
253
|
+
z.ZodNativeEnum<typeof ConsumerApplicationJsonApiRelationshipsCustomersType> =
|
|
254
|
+
z.nativeEnum(ConsumerApplicationJsonApiRelationshipsCustomersType);
|
|
255
|
+
|
|
256
|
+
/** @internal */
|
|
257
|
+
export const ConsumerApplicationJsonApiRelationshipsCustomersType$outboundSchema:
|
|
258
|
+
z.ZodNativeEnum<typeof ConsumerApplicationJsonApiRelationshipsCustomersType> =
|
|
259
|
+
ConsumerApplicationJsonApiRelationshipsCustomersType$inboundSchema;
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* @internal
|
|
263
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
264
|
+
*/
|
|
265
|
+
export namespace ConsumerApplicationJsonApiRelationshipsCustomersType$ {
|
|
266
|
+
/** @deprecated use `ConsumerApplicationJsonApiRelationshipsCustomersType$inboundSchema` instead. */
|
|
267
|
+
export const inboundSchema =
|
|
268
|
+
ConsumerApplicationJsonApiRelationshipsCustomersType$inboundSchema;
|
|
269
|
+
/** @deprecated use `ConsumerApplicationJsonApiRelationshipsCustomersType$outboundSchema` instead. */
|
|
270
|
+
export const outboundSchema =
|
|
271
|
+
ConsumerApplicationJsonApiRelationshipsCustomersType$outboundSchema;
|
|
272
|
+
}
|
|
273
|
+
|
|
297
274
|
/** @internal */
|
|
298
275
|
export const ConsumerApplicationJsonApiRelationshipsCustomersData$inboundSchema:
|
|
299
276
|
z.ZodType<
|
|
@@ -447,6 +424,29 @@ export function consumerApplicationJsonApiRelationshipsCustomersFromJSON(
|
|
|
447
424
|
);
|
|
448
425
|
}
|
|
449
426
|
|
|
427
|
+
/** @internal */
|
|
428
|
+
export const ConsumerApplicationJsonApiRelationshipsAssetType$inboundSchema:
|
|
429
|
+
z.ZodNativeEnum<typeof ConsumerApplicationJsonApiRelationshipsAssetType> = z
|
|
430
|
+
.nativeEnum(ConsumerApplicationJsonApiRelationshipsAssetType);
|
|
431
|
+
|
|
432
|
+
/** @internal */
|
|
433
|
+
export const ConsumerApplicationJsonApiRelationshipsAssetType$outboundSchema:
|
|
434
|
+
z.ZodNativeEnum<typeof ConsumerApplicationJsonApiRelationshipsAssetType> =
|
|
435
|
+
ConsumerApplicationJsonApiRelationshipsAssetType$inboundSchema;
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* @internal
|
|
439
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
440
|
+
*/
|
|
441
|
+
export namespace ConsumerApplicationJsonApiRelationshipsAssetType$ {
|
|
442
|
+
/** @deprecated use `ConsumerApplicationJsonApiRelationshipsAssetType$inboundSchema` instead. */
|
|
443
|
+
export const inboundSchema =
|
|
444
|
+
ConsumerApplicationJsonApiRelationshipsAssetType$inboundSchema;
|
|
445
|
+
/** @deprecated use `ConsumerApplicationJsonApiRelationshipsAssetType$outboundSchema` instead. */
|
|
446
|
+
export const outboundSchema =
|
|
447
|
+
ConsumerApplicationJsonApiRelationshipsAssetType$outboundSchema;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
450
|
/** @internal */
|
|
451
451
|
export const ConsumerApplicationJsonApiRelationshipsAssetData$inboundSchema:
|
|
452
452
|
z.ZodType<
|
|
@@ -53,6 +53,33 @@ export type ConsumerSecuredApplicationPayloadApplicationType = ClosedEnum<
|
|
|
53
53
|
typeof ConsumerSecuredApplicationPayloadApplicationType
|
|
54
54
|
>;
|
|
55
55
|
|
|
56
|
+
/**
|
|
57
|
+
* Application resource attributes
|
|
58
|
+
*/
|
|
59
|
+
export type ConsumerSecuredApplicationPayloadAttributes = {
|
|
60
|
+
/**
|
|
61
|
+
* Type of the loan application
|
|
62
|
+
*/
|
|
63
|
+
applicationType: ConsumerSecuredApplicationPayloadApplicationType;
|
|
64
|
+
/**
|
|
65
|
+
* Email address of the broker to be associated with this application.
|
|
66
|
+
*/
|
|
67
|
+
associatedBrokerEmail: string;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export type ConsumerSecuredApplicationPayload = {
|
|
71
|
+
type: ConsumerSecuredApplicationPayloadType;
|
|
72
|
+
/**
|
|
73
|
+
* Application resource attributes
|
|
74
|
+
*/
|
|
75
|
+
attributes: ConsumerSecuredApplicationPayloadAttributes;
|
|
76
|
+
relationships?:
|
|
77
|
+
| ConsumerSecuredLoanConsumerApplicationRelationships
|
|
78
|
+
| undefined;
|
|
79
|
+
links?: { [k: string]: LinkObject } | undefined;
|
|
80
|
+
meta?: { [k: string]: any } | undefined;
|
|
81
|
+
};
|
|
82
|
+
|
|
56
83
|
/** @internal */
|
|
57
84
|
export const ConsumerSecuredApplicationPayloadType$inboundSchema:
|
|
58
85
|
z.ZodNativeEnum<typeof ConsumerSecuredApplicationPayloadType> = z.nativeEnum(
|
|
@@ -100,33 +127,6 @@ export namespace ConsumerSecuredApplicationPayloadApplicationType$ {
|
|
|
100
127
|
ConsumerSecuredApplicationPayloadApplicationType$outboundSchema;
|
|
101
128
|
}
|
|
102
129
|
|
|
103
|
-
/**
|
|
104
|
-
* Application resource attributes
|
|
105
|
-
*/
|
|
106
|
-
export type ConsumerSecuredApplicationPayloadAttributes = {
|
|
107
|
-
/**
|
|
108
|
-
* Type of the loan application
|
|
109
|
-
*/
|
|
110
|
-
applicationType: ConsumerSecuredApplicationPayloadApplicationType;
|
|
111
|
-
/**
|
|
112
|
-
* Email address of the broker to be associated with this application.
|
|
113
|
-
*/
|
|
114
|
-
associatedBrokerEmail: string;
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
export type ConsumerSecuredApplicationPayload = {
|
|
118
|
-
type: ConsumerSecuredApplicationPayloadType;
|
|
119
|
-
/**
|
|
120
|
-
* Application resource attributes
|
|
121
|
-
*/
|
|
122
|
-
attributes: ConsumerSecuredApplicationPayloadAttributes;
|
|
123
|
-
relationships?:
|
|
124
|
-
| ConsumerSecuredLoanConsumerApplicationRelationships
|
|
125
|
-
| undefined;
|
|
126
|
-
links?: { [k: string]: LinkObject } | undefined;
|
|
127
|
-
meta?: { [k: string]: any } | undefined;
|
|
128
|
-
};
|
|
129
|
-
|
|
130
130
|
/** @internal */
|
|
131
131
|
export const ConsumerSecuredApplicationPayloadAttributes$inboundSchema:
|
|
132
132
|
z.ZodType<
|
|
@@ -45,53 +45,6 @@ export type ConsumerSecuredApplicationResourceApplicationType = ClosedEnum<
|
|
|
45
45
|
typeof ConsumerSecuredApplicationResourceApplicationType
|
|
46
46
|
>;
|
|
47
47
|
|
|
48
|
-
/** @internal */
|
|
49
|
-
export const ConsumerSecuredApplicationResourceType$inboundSchema:
|
|
50
|
-
z.ZodNativeEnum<typeof ConsumerSecuredApplicationResourceType> = z.nativeEnum(
|
|
51
|
-
ConsumerSecuredApplicationResourceType,
|
|
52
|
-
);
|
|
53
|
-
|
|
54
|
-
/** @internal */
|
|
55
|
-
export const ConsumerSecuredApplicationResourceType$outboundSchema:
|
|
56
|
-
z.ZodNativeEnum<typeof ConsumerSecuredApplicationResourceType> =
|
|
57
|
-
ConsumerSecuredApplicationResourceType$inboundSchema;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
62
|
-
*/
|
|
63
|
-
export namespace ConsumerSecuredApplicationResourceType$ {
|
|
64
|
-
/** @deprecated use `ConsumerSecuredApplicationResourceType$inboundSchema` instead. */
|
|
65
|
-
export const inboundSchema =
|
|
66
|
-
ConsumerSecuredApplicationResourceType$inboundSchema;
|
|
67
|
-
/** @deprecated use `ConsumerSecuredApplicationResourceType$outboundSchema` instead. */
|
|
68
|
-
export const outboundSchema =
|
|
69
|
-
ConsumerSecuredApplicationResourceType$outboundSchema;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/** @internal */
|
|
73
|
-
export const ConsumerSecuredApplicationResourceApplicationType$inboundSchema:
|
|
74
|
-
z.ZodNativeEnum<typeof ConsumerSecuredApplicationResourceApplicationType> = z
|
|
75
|
-
.nativeEnum(ConsumerSecuredApplicationResourceApplicationType);
|
|
76
|
-
|
|
77
|
-
/** @internal */
|
|
78
|
-
export const ConsumerSecuredApplicationResourceApplicationType$outboundSchema:
|
|
79
|
-
z.ZodNativeEnum<typeof ConsumerSecuredApplicationResourceApplicationType> =
|
|
80
|
-
ConsumerSecuredApplicationResourceApplicationType$inboundSchema;
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
85
|
-
*/
|
|
86
|
-
export namespace ConsumerSecuredApplicationResourceApplicationType$ {
|
|
87
|
-
/** @deprecated use `ConsumerSecuredApplicationResourceApplicationType$inboundSchema` instead. */
|
|
88
|
-
export const inboundSchema =
|
|
89
|
-
ConsumerSecuredApplicationResourceApplicationType$inboundSchema;
|
|
90
|
-
/** @deprecated use `ConsumerSecuredApplicationResourceApplicationType$outboundSchema` instead. */
|
|
91
|
-
export const outboundSchema =
|
|
92
|
-
ConsumerSecuredApplicationResourceApplicationType$outboundSchema;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
48
|
/**
|
|
96
49
|
* Application resource attributes
|
|
97
50
|
*/
|
|
@@ -140,6 +93,53 @@ export type ConsumerSecuredApplicationResource = {
|
|
|
140
93
|
meta?: { [k: string]: any } | undefined;
|
|
141
94
|
};
|
|
142
95
|
|
|
96
|
+
/** @internal */
|
|
97
|
+
export const ConsumerSecuredApplicationResourceType$inboundSchema:
|
|
98
|
+
z.ZodNativeEnum<typeof ConsumerSecuredApplicationResourceType> = z.nativeEnum(
|
|
99
|
+
ConsumerSecuredApplicationResourceType,
|
|
100
|
+
);
|
|
101
|
+
|
|
102
|
+
/** @internal */
|
|
103
|
+
export const ConsumerSecuredApplicationResourceType$outboundSchema:
|
|
104
|
+
z.ZodNativeEnum<typeof ConsumerSecuredApplicationResourceType> =
|
|
105
|
+
ConsumerSecuredApplicationResourceType$inboundSchema;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @internal
|
|
109
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
110
|
+
*/
|
|
111
|
+
export namespace ConsumerSecuredApplicationResourceType$ {
|
|
112
|
+
/** @deprecated use `ConsumerSecuredApplicationResourceType$inboundSchema` instead. */
|
|
113
|
+
export const inboundSchema =
|
|
114
|
+
ConsumerSecuredApplicationResourceType$inboundSchema;
|
|
115
|
+
/** @deprecated use `ConsumerSecuredApplicationResourceType$outboundSchema` instead. */
|
|
116
|
+
export const outboundSchema =
|
|
117
|
+
ConsumerSecuredApplicationResourceType$outboundSchema;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/** @internal */
|
|
121
|
+
export const ConsumerSecuredApplicationResourceApplicationType$inboundSchema:
|
|
122
|
+
z.ZodNativeEnum<typeof ConsumerSecuredApplicationResourceApplicationType> = z
|
|
123
|
+
.nativeEnum(ConsumerSecuredApplicationResourceApplicationType);
|
|
124
|
+
|
|
125
|
+
/** @internal */
|
|
126
|
+
export const ConsumerSecuredApplicationResourceApplicationType$outboundSchema:
|
|
127
|
+
z.ZodNativeEnum<typeof ConsumerSecuredApplicationResourceApplicationType> =
|
|
128
|
+
ConsumerSecuredApplicationResourceApplicationType$inboundSchema;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* @internal
|
|
132
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
133
|
+
*/
|
|
134
|
+
export namespace ConsumerSecuredApplicationResourceApplicationType$ {
|
|
135
|
+
/** @deprecated use `ConsumerSecuredApplicationResourceApplicationType$inboundSchema` instead. */
|
|
136
|
+
export const inboundSchema =
|
|
137
|
+
ConsumerSecuredApplicationResourceApplicationType$inboundSchema;
|
|
138
|
+
/** @deprecated use `ConsumerSecuredApplicationResourceApplicationType$outboundSchema` instead. */
|
|
139
|
+
export const outboundSchema =
|
|
140
|
+
ConsumerSecuredApplicationResourceApplicationType$outboundSchema;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
143
|
/** @internal */
|
|
144
144
|
export const ConsumerSecuredApplicationResourceAttributes$inboundSchema:
|
|
145
145
|
z.ZodType<
|
|
@@ -39,6 +39,13 @@ export type ConsumerSecuredLoanAssetAttributesCondition = ClosedEnum<
|
|
|
39
39
|
typeof ConsumerSecuredLoanAssetAttributesCondition
|
|
40
40
|
>;
|
|
41
41
|
|
|
42
|
+
/**
|
|
43
|
+
* Value of asset as either MonetaryQuantity model (preferred) or floating point AUD dollars as string. The latter will be deprecated.
|
|
44
|
+
*/
|
|
45
|
+
export type ConsumerSecuredLoanAssetAttributesAssetValue =
|
|
46
|
+
| MonetaryQuantity
|
|
47
|
+
| string;
|
|
48
|
+
|
|
42
49
|
/**
|
|
43
50
|
* Registration state (or territory) of asset
|
|
44
51
|
*/
|
|
@@ -59,59 +66,6 @@ export type ConsumerSecuredLoanAssetAttributesRegistrationState = ClosedEnum<
|
|
|
59
66
|
typeof ConsumerSecuredLoanAssetAttributesRegistrationState
|
|
60
67
|
>;
|
|
61
68
|
|
|
62
|
-
/** @internal */
|
|
63
|
-
export const ConsumerSecuredLoanAssetAttributesCondition$inboundSchema:
|
|
64
|
-
z.ZodNativeEnum<typeof ConsumerSecuredLoanAssetAttributesCondition> = z
|
|
65
|
-
.nativeEnum(ConsumerSecuredLoanAssetAttributesCondition);
|
|
66
|
-
|
|
67
|
-
/** @internal */
|
|
68
|
-
export const ConsumerSecuredLoanAssetAttributesCondition$outboundSchema:
|
|
69
|
-
z.ZodNativeEnum<typeof ConsumerSecuredLoanAssetAttributesCondition> =
|
|
70
|
-
ConsumerSecuredLoanAssetAttributesCondition$inboundSchema;
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
75
|
-
*/
|
|
76
|
-
export namespace ConsumerSecuredLoanAssetAttributesCondition$ {
|
|
77
|
-
/** @deprecated use `ConsumerSecuredLoanAssetAttributesCondition$inboundSchema` instead. */
|
|
78
|
-
export const inboundSchema =
|
|
79
|
-
ConsumerSecuredLoanAssetAttributesCondition$inboundSchema;
|
|
80
|
-
/** @deprecated use `ConsumerSecuredLoanAssetAttributesCondition$outboundSchema` instead. */
|
|
81
|
-
export const outboundSchema =
|
|
82
|
-
ConsumerSecuredLoanAssetAttributesCondition$outboundSchema;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/** @internal */
|
|
86
|
-
export const ConsumerSecuredLoanAssetAttributesRegistrationState$inboundSchema:
|
|
87
|
-
z.ZodNativeEnum<typeof ConsumerSecuredLoanAssetAttributesRegistrationState> =
|
|
88
|
-
z.nativeEnum(ConsumerSecuredLoanAssetAttributesRegistrationState);
|
|
89
|
-
|
|
90
|
-
/** @internal */
|
|
91
|
-
export const ConsumerSecuredLoanAssetAttributesRegistrationState$outboundSchema:
|
|
92
|
-
z.ZodNativeEnum<typeof ConsumerSecuredLoanAssetAttributesRegistrationState> =
|
|
93
|
-
ConsumerSecuredLoanAssetAttributesRegistrationState$inboundSchema;
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
98
|
-
*/
|
|
99
|
-
export namespace ConsumerSecuredLoanAssetAttributesRegistrationState$ {
|
|
100
|
-
/** @deprecated use `ConsumerSecuredLoanAssetAttributesRegistrationState$inboundSchema` instead. */
|
|
101
|
-
export const inboundSchema =
|
|
102
|
-
ConsumerSecuredLoanAssetAttributesRegistrationState$inboundSchema;
|
|
103
|
-
/** @deprecated use `ConsumerSecuredLoanAssetAttributesRegistrationState$outboundSchema` instead. */
|
|
104
|
-
export const outboundSchema =
|
|
105
|
-
ConsumerSecuredLoanAssetAttributesRegistrationState$outboundSchema;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Value of asset as either MonetaryQuantity model (preferred) or floating point AUD dollars as string. The latter will be deprecated.
|
|
110
|
-
*/
|
|
111
|
-
export type ConsumerSecuredLoanAssetAttributesAssetValue =
|
|
112
|
-
| MonetaryQuantity
|
|
113
|
-
| string;
|
|
114
|
-
|
|
115
69
|
/**
|
|
116
70
|
* Type of sale. Must be a member of ConsumerSecuredLoan.TypeOfSale, but will not throw for invalid string values (backwards-compatibility).
|
|
117
71
|
*/
|
|
@@ -252,6 +206,29 @@ export type ConsumerSecuredLoanAssetAttributes = {
|
|
|
252
206
|
additionalTaxes?: MonetaryQuantity | string | undefined;
|
|
253
207
|
};
|
|
254
208
|
|
|
209
|
+
/** @internal */
|
|
210
|
+
export const ConsumerSecuredLoanAssetAttributesCondition$inboundSchema:
|
|
211
|
+
z.ZodNativeEnum<typeof ConsumerSecuredLoanAssetAttributesCondition> = z
|
|
212
|
+
.nativeEnum(ConsumerSecuredLoanAssetAttributesCondition);
|
|
213
|
+
|
|
214
|
+
/** @internal */
|
|
215
|
+
export const ConsumerSecuredLoanAssetAttributesCondition$outboundSchema:
|
|
216
|
+
z.ZodNativeEnum<typeof ConsumerSecuredLoanAssetAttributesCondition> =
|
|
217
|
+
ConsumerSecuredLoanAssetAttributesCondition$inboundSchema;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* @internal
|
|
221
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
222
|
+
*/
|
|
223
|
+
export namespace ConsumerSecuredLoanAssetAttributesCondition$ {
|
|
224
|
+
/** @deprecated use `ConsumerSecuredLoanAssetAttributesCondition$inboundSchema` instead. */
|
|
225
|
+
export const inboundSchema =
|
|
226
|
+
ConsumerSecuredLoanAssetAttributesCondition$inboundSchema;
|
|
227
|
+
/** @deprecated use `ConsumerSecuredLoanAssetAttributesCondition$outboundSchema` instead. */
|
|
228
|
+
export const outboundSchema =
|
|
229
|
+
ConsumerSecuredLoanAssetAttributesCondition$outboundSchema;
|
|
230
|
+
}
|
|
231
|
+
|
|
255
232
|
/** @internal */
|
|
256
233
|
export const ConsumerSecuredLoanAssetAttributesAssetValue$inboundSchema:
|
|
257
234
|
z.ZodType<
|
|
@@ -315,6 +292,29 @@ export function consumerSecuredLoanAssetAttributesAssetValueFromJSON(
|
|
|
315
292
|
);
|
|
316
293
|
}
|
|
317
294
|
|
|
295
|
+
/** @internal */
|
|
296
|
+
export const ConsumerSecuredLoanAssetAttributesRegistrationState$inboundSchema:
|
|
297
|
+
z.ZodNativeEnum<typeof ConsumerSecuredLoanAssetAttributesRegistrationState> =
|
|
298
|
+
z.nativeEnum(ConsumerSecuredLoanAssetAttributesRegistrationState);
|
|
299
|
+
|
|
300
|
+
/** @internal */
|
|
301
|
+
export const ConsumerSecuredLoanAssetAttributesRegistrationState$outboundSchema:
|
|
302
|
+
z.ZodNativeEnum<typeof ConsumerSecuredLoanAssetAttributesRegistrationState> =
|
|
303
|
+
ConsumerSecuredLoanAssetAttributesRegistrationState$inboundSchema;
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* @internal
|
|
307
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
308
|
+
*/
|
|
309
|
+
export namespace ConsumerSecuredLoanAssetAttributesRegistrationState$ {
|
|
310
|
+
/** @deprecated use `ConsumerSecuredLoanAssetAttributesRegistrationState$inboundSchema` instead. */
|
|
311
|
+
export const inboundSchema =
|
|
312
|
+
ConsumerSecuredLoanAssetAttributesRegistrationState$inboundSchema;
|
|
313
|
+
/** @deprecated use `ConsumerSecuredLoanAssetAttributesRegistrationState$outboundSchema` instead. */
|
|
314
|
+
export const outboundSchema =
|
|
315
|
+
ConsumerSecuredLoanAssetAttributesRegistrationState$outboundSchema;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
318
|
/** @internal */
|
|
319
319
|
export const ConsumerSecuredLoanAssetAttributesTypeOfSale$inboundSchema:
|
|
320
320
|
z.ZodType<
|