@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,123 +21,6 @@ export type CommercialApplicationJsonApiRelationshipsType = ClosedEnum<
|
|
|
21
21
|
typeof CommercialApplicationJsonApiRelationshipsType
|
|
22
22
|
>;
|
|
23
23
|
|
|
24
|
-
export const CommercialApplicationJsonApiRelationshipsCustomersType = {
|
|
25
|
-
Customers: "customers",
|
|
26
|
-
} as const;
|
|
27
|
-
export type CommercialApplicationJsonApiRelationshipsCustomersType = ClosedEnum<
|
|
28
|
-
typeof CommercialApplicationJsonApiRelationshipsCustomersType
|
|
29
|
-
>;
|
|
30
|
-
|
|
31
|
-
export const CommercialApplicationJsonApiRelationshipsAssetType = {
|
|
32
|
-
Assets: "assets",
|
|
33
|
-
} as const;
|
|
34
|
-
export type CommercialApplicationJsonApiRelationshipsAssetType = ClosedEnum<
|
|
35
|
-
typeof CommercialApplicationJsonApiRelationshipsAssetType
|
|
36
|
-
>;
|
|
37
|
-
|
|
38
|
-
export const CommercialApplicationJsonApiRelationshipsEntitiesType = {
|
|
39
|
-
Entities: "entities",
|
|
40
|
-
} as const;
|
|
41
|
-
export type CommercialApplicationJsonApiRelationshipsEntitiesType = ClosedEnum<
|
|
42
|
-
typeof CommercialApplicationJsonApiRelationshipsEntitiesType
|
|
43
|
-
>;
|
|
44
|
-
|
|
45
|
-
/** @internal */
|
|
46
|
-
export const CommercialApplicationJsonApiRelationshipsType$inboundSchema:
|
|
47
|
-
z.ZodNativeEnum<typeof CommercialApplicationJsonApiRelationshipsType> = z
|
|
48
|
-
.nativeEnum(CommercialApplicationJsonApiRelationshipsType);
|
|
49
|
-
|
|
50
|
-
/** @internal */
|
|
51
|
-
export const CommercialApplicationJsonApiRelationshipsType$outboundSchema:
|
|
52
|
-
z.ZodNativeEnum<typeof CommercialApplicationJsonApiRelationshipsType> =
|
|
53
|
-
CommercialApplicationJsonApiRelationshipsType$inboundSchema;
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
58
|
-
*/
|
|
59
|
-
export namespace CommercialApplicationJsonApiRelationshipsType$ {
|
|
60
|
-
/** @deprecated use `CommercialApplicationJsonApiRelationshipsType$inboundSchema` instead. */
|
|
61
|
-
export const inboundSchema =
|
|
62
|
-
CommercialApplicationJsonApiRelationshipsType$inboundSchema;
|
|
63
|
-
/** @deprecated use `CommercialApplicationJsonApiRelationshipsType$outboundSchema` instead. */
|
|
64
|
-
export const outboundSchema =
|
|
65
|
-
CommercialApplicationJsonApiRelationshipsType$outboundSchema;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/** @internal */
|
|
69
|
-
export const CommercialApplicationJsonApiRelationshipsCustomersType$inboundSchema:
|
|
70
|
-
z.ZodNativeEnum<
|
|
71
|
-
typeof CommercialApplicationJsonApiRelationshipsCustomersType
|
|
72
|
-
> = z.nativeEnum(CommercialApplicationJsonApiRelationshipsCustomersType);
|
|
73
|
-
|
|
74
|
-
/** @internal */
|
|
75
|
-
export const CommercialApplicationJsonApiRelationshipsCustomersType$outboundSchema:
|
|
76
|
-
z.ZodNativeEnum<
|
|
77
|
-
typeof CommercialApplicationJsonApiRelationshipsCustomersType
|
|
78
|
-
> = CommercialApplicationJsonApiRelationshipsCustomersType$inboundSchema;
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* @internal
|
|
82
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
83
|
-
*/
|
|
84
|
-
export namespace CommercialApplicationJsonApiRelationshipsCustomersType$ {
|
|
85
|
-
/** @deprecated use `CommercialApplicationJsonApiRelationshipsCustomersType$inboundSchema` instead. */
|
|
86
|
-
export const inboundSchema =
|
|
87
|
-
CommercialApplicationJsonApiRelationshipsCustomersType$inboundSchema;
|
|
88
|
-
/** @deprecated use `CommercialApplicationJsonApiRelationshipsCustomersType$outboundSchema` instead. */
|
|
89
|
-
export const outboundSchema =
|
|
90
|
-
CommercialApplicationJsonApiRelationshipsCustomersType$outboundSchema;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/** @internal */
|
|
94
|
-
export const CommercialApplicationJsonApiRelationshipsAssetType$inboundSchema:
|
|
95
|
-
z.ZodNativeEnum<typeof CommercialApplicationJsonApiRelationshipsAssetType> = z
|
|
96
|
-
.nativeEnum(CommercialApplicationJsonApiRelationshipsAssetType);
|
|
97
|
-
|
|
98
|
-
/** @internal */
|
|
99
|
-
export const CommercialApplicationJsonApiRelationshipsAssetType$outboundSchema:
|
|
100
|
-
z.ZodNativeEnum<typeof CommercialApplicationJsonApiRelationshipsAssetType> =
|
|
101
|
-
CommercialApplicationJsonApiRelationshipsAssetType$inboundSchema;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* @internal
|
|
105
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
106
|
-
*/
|
|
107
|
-
export namespace CommercialApplicationJsonApiRelationshipsAssetType$ {
|
|
108
|
-
/** @deprecated use `CommercialApplicationJsonApiRelationshipsAssetType$inboundSchema` instead. */
|
|
109
|
-
export const inboundSchema =
|
|
110
|
-
CommercialApplicationJsonApiRelationshipsAssetType$inboundSchema;
|
|
111
|
-
/** @deprecated use `CommercialApplicationJsonApiRelationshipsAssetType$outboundSchema` instead. */
|
|
112
|
-
export const outboundSchema =
|
|
113
|
-
CommercialApplicationJsonApiRelationshipsAssetType$outboundSchema;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/** @internal */
|
|
117
|
-
export const CommercialApplicationJsonApiRelationshipsEntitiesType$inboundSchema:
|
|
118
|
-
z.ZodNativeEnum<
|
|
119
|
-
typeof CommercialApplicationJsonApiRelationshipsEntitiesType
|
|
120
|
-
> = z.nativeEnum(CommercialApplicationJsonApiRelationshipsEntitiesType);
|
|
121
|
-
|
|
122
|
-
/** @internal */
|
|
123
|
-
export const CommercialApplicationJsonApiRelationshipsEntitiesType$outboundSchema:
|
|
124
|
-
z.ZodNativeEnum<
|
|
125
|
-
typeof CommercialApplicationJsonApiRelationshipsEntitiesType
|
|
126
|
-
> = CommercialApplicationJsonApiRelationshipsEntitiesType$inboundSchema;
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* @internal
|
|
130
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
131
|
-
*/
|
|
132
|
-
export namespace CommercialApplicationJsonApiRelationshipsEntitiesType$ {
|
|
133
|
-
/** @deprecated use `CommercialApplicationJsonApiRelationshipsEntitiesType$inboundSchema` instead. */
|
|
134
|
-
export const inboundSchema =
|
|
135
|
-
CommercialApplicationJsonApiRelationshipsEntitiesType$inboundSchema;
|
|
136
|
-
/** @deprecated use `CommercialApplicationJsonApiRelationshipsEntitiesType$outboundSchema` instead. */
|
|
137
|
-
export const outboundSchema =
|
|
138
|
-
CommercialApplicationJsonApiRelationshipsEntitiesType$outboundSchema;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
24
|
export type CommercialApplicationJsonApiRelationshipsData = {
|
|
142
25
|
type: CommercialApplicationJsonApiRelationshipsType;
|
|
143
26
|
id: string;
|
|
@@ -149,6 +32,13 @@ export type CommercialApplicationJsonApiRelationshipsLoanDetails = {
|
|
|
149
32
|
meta?: { [k: string]: any } | undefined;
|
|
150
33
|
};
|
|
151
34
|
|
|
35
|
+
export const CommercialApplicationJsonApiRelationshipsCustomersType = {
|
|
36
|
+
Customers: "customers",
|
|
37
|
+
} as const;
|
|
38
|
+
export type CommercialApplicationJsonApiRelationshipsCustomersType = ClosedEnum<
|
|
39
|
+
typeof CommercialApplicationJsonApiRelationshipsCustomersType
|
|
40
|
+
>;
|
|
41
|
+
|
|
152
42
|
export type CommercialApplicationJsonApiRelationshipsCustomersData = {
|
|
153
43
|
type: CommercialApplicationJsonApiRelationshipsCustomersType;
|
|
154
44
|
id: string;
|
|
@@ -160,6 +50,13 @@ export type CommercialApplicationJsonApiRelationshipsCustomers = {
|
|
|
160
50
|
meta?: { [k: string]: any } | undefined;
|
|
161
51
|
};
|
|
162
52
|
|
|
53
|
+
export const CommercialApplicationJsonApiRelationshipsAssetType = {
|
|
54
|
+
Assets: "assets",
|
|
55
|
+
} as const;
|
|
56
|
+
export type CommercialApplicationJsonApiRelationshipsAssetType = ClosedEnum<
|
|
57
|
+
typeof CommercialApplicationJsonApiRelationshipsAssetType
|
|
58
|
+
>;
|
|
59
|
+
|
|
163
60
|
export type CommercialApplicationJsonApiRelationshipsAssetData = {
|
|
164
61
|
type: CommercialApplicationJsonApiRelationshipsAssetType;
|
|
165
62
|
id: string;
|
|
@@ -171,6 +68,13 @@ export type CommercialApplicationJsonApiRelationshipsAsset = {
|
|
|
171
68
|
meta?: { [k: string]: any } | undefined;
|
|
172
69
|
};
|
|
173
70
|
|
|
71
|
+
export const CommercialApplicationJsonApiRelationshipsEntitiesType = {
|
|
72
|
+
Entities: "entities",
|
|
73
|
+
} as const;
|
|
74
|
+
export type CommercialApplicationJsonApiRelationshipsEntitiesType = ClosedEnum<
|
|
75
|
+
typeof CommercialApplicationJsonApiRelationshipsEntitiesType
|
|
76
|
+
>;
|
|
77
|
+
|
|
174
78
|
export type CommercialApplicationJsonApiRelationshipsEntitiesData = {
|
|
175
79
|
type: CommercialApplicationJsonApiRelationshipsEntitiesType;
|
|
176
80
|
id: string;
|
|
@@ -194,6 +98,29 @@ export type CommercialApplicationJsonApiRelationships = {
|
|
|
194
98
|
entities?: CommercialApplicationJsonApiRelationshipsEntities | undefined;
|
|
195
99
|
};
|
|
196
100
|
|
|
101
|
+
/** @internal */
|
|
102
|
+
export const CommercialApplicationJsonApiRelationshipsType$inboundSchema:
|
|
103
|
+
z.ZodNativeEnum<typeof CommercialApplicationJsonApiRelationshipsType> = z
|
|
104
|
+
.nativeEnum(CommercialApplicationJsonApiRelationshipsType);
|
|
105
|
+
|
|
106
|
+
/** @internal */
|
|
107
|
+
export const CommercialApplicationJsonApiRelationshipsType$outboundSchema:
|
|
108
|
+
z.ZodNativeEnum<typeof CommercialApplicationJsonApiRelationshipsType> =
|
|
109
|
+
CommercialApplicationJsonApiRelationshipsType$inboundSchema;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* @internal
|
|
113
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
114
|
+
*/
|
|
115
|
+
export namespace CommercialApplicationJsonApiRelationshipsType$ {
|
|
116
|
+
/** @deprecated use `CommercialApplicationJsonApiRelationshipsType$inboundSchema` instead. */
|
|
117
|
+
export const inboundSchema =
|
|
118
|
+
CommercialApplicationJsonApiRelationshipsType$inboundSchema;
|
|
119
|
+
/** @deprecated use `CommercialApplicationJsonApiRelationshipsType$outboundSchema` instead. */
|
|
120
|
+
export const outboundSchema =
|
|
121
|
+
CommercialApplicationJsonApiRelationshipsType$outboundSchema;
|
|
122
|
+
}
|
|
123
|
+
|
|
197
124
|
/** @internal */
|
|
198
125
|
export const CommercialApplicationJsonApiRelationshipsData$inboundSchema:
|
|
199
126
|
z.ZodType<
|
|
@@ -342,6 +269,31 @@ export function commercialApplicationJsonApiRelationshipsLoanDetailsFromJSON(
|
|
|
342
269
|
);
|
|
343
270
|
}
|
|
344
271
|
|
|
272
|
+
/** @internal */
|
|
273
|
+
export const CommercialApplicationJsonApiRelationshipsCustomersType$inboundSchema:
|
|
274
|
+
z.ZodNativeEnum<
|
|
275
|
+
typeof CommercialApplicationJsonApiRelationshipsCustomersType
|
|
276
|
+
> = z.nativeEnum(CommercialApplicationJsonApiRelationshipsCustomersType);
|
|
277
|
+
|
|
278
|
+
/** @internal */
|
|
279
|
+
export const CommercialApplicationJsonApiRelationshipsCustomersType$outboundSchema:
|
|
280
|
+
z.ZodNativeEnum<
|
|
281
|
+
typeof CommercialApplicationJsonApiRelationshipsCustomersType
|
|
282
|
+
> = CommercialApplicationJsonApiRelationshipsCustomersType$inboundSchema;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* @internal
|
|
286
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
287
|
+
*/
|
|
288
|
+
export namespace CommercialApplicationJsonApiRelationshipsCustomersType$ {
|
|
289
|
+
/** @deprecated use `CommercialApplicationJsonApiRelationshipsCustomersType$inboundSchema` instead. */
|
|
290
|
+
export const inboundSchema =
|
|
291
|
+
CommercialApplicationJsonApiRelationshipsCustomersType$inboundSchema;
|
|
292
|
+
/** @deprecated use `CommercialApplicationJsonApiRelationshipsCustomersType$outboundSchema` instead. */
|
|
293
|
+
export const outboundSchema =
|
|
294
|
+
CommercialApplicationJsonApiRelationshipsCustomersType$outboundSchema;
|
|
295
|
+
}
|
|
296
|
+
|
|
345
297
|
/** @internal */
|
|
346
298
|
export const CommercialApplicationJsonApiRelationshipsCustomersData$inboundSchema:
|
|
347
299
|
z.ZodType<
|
|
@@ -494,6 +446,29 @@ export function commercialApplicationJsonApiRelationshipsCustomersFromJSON(
|
|
|
494
446
|
);
|
|
495
447
|
}
|
|
496
448
|
|
|
449
|
+
/** @internal */
|
|
450
|
+
export const CommercialApplicationJsonApiRelationshipsAssetType$inboundSchema:
|
|
451
|
+
z.ZodNativeEnum<typeof CommercialApplicationJsonApiRelationshipsAssetType> = z
|
|
452
|
+
.nativeEnum(CommercialApplicationJsonApiRelationshipsAssetType);
|
|
453
|
+
|
|
454
|
+
/** @internal */
|
|
455
|
+
export const CommercialApplicationJsonApiRelationshipsAssetType$outboundSchema:
|
|
456
|
+
z.ZodNativeEnum<typeof CommercialApplicationJsonApiRelationshipsAssetType> =
|
|
457
|
+
CommercialApplicationJsonApiRelationshipsAssetType$inboundSchema;
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* @internal
|
|
461
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
462
|
+
*/
|
|
463
|
+
export namespace CommercialApplicationJsonApiRelationshipsAssetType$ {
|
|
464
|
+
/** @deprecated use `CommercialApplicationJsonApiRelationshipsAssetType$inboundSchema` instead. */
|
|
465
|
+
export const inboundSchema =
|
|
466
|
+
CommercialApplicationJsonApiRelationshipsAssetType$inboundSchema;
|
|
467
|
+
/** @deprecated use `CommercialApplicationJsonApiRelationshipsAssetType$outboundSchema` instead. */
|
|
468
|
+
export const outboundSchema =
|
|
469
|
+
CommercialApplicationJsonApiRelationshipsAssetType$outboundSchema;
|
|
470
|
+
}
|
|
471
|
+
|
|
497
472
|
/** @internal */
|
|
498
473
|
export const CommercialApplicationJsonApiRelationshipsAssetData$inboundSchema:
|
|
499
474
|
z.ZodType<
|
|
@@ -643,6 +618,31 @@ export function commercialApplicationJsonApiRelationshipsAssetFromJSON(
|
|
|
643
618
|
);
|
|
644
619
|
}
|
|
645
620
|
|
|
621
|
+
/** @internal */
|
|
622
|
+
export const CommercialApplicationJsonApiRelationshipsEntitiesType$inboundSchema:
|
|
623
|
+
z.ZodNativeEnum<
|
|
624
|
+
typeof CommercialApplicationJsonApiRelationshipsEntitiesType
|
|
625
|
+
> = z.nativeEnum(CommercialApplicationJsonApiRelationshipsEntitiesType);
|
|
626
|
+
|
|
627
|
+
/** @internal */
|
|
628
|
+
export const CommercialApplicationJsonApiRelationshipsEntitiesType$outboundSchema:
|
|
629
|
+
z.ZodNativeEnum<
|
|
630
|
+
typeof CommercialApplicationJsonApiRelationshipsEntitiesType
|
|
631
|
+
> = CommercialApplicationJsonApiRelationshipsEntitiesType$inboundSchema;
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* @internal
|
|
635
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
636
|
+
*/
|
|
637
|
+
export namespace CommercialApplicationJsonApiRelationshipsEntitiesType$ {
|
|
638
|
+
/** @deprecated use `CommercialApplicationJsonApiRelationshipsEntitiesType$inboundSchema` instead. */
|
|
639
|
+
export const inboundSchema =
|
|
640
|
+
CommercialApplicationJsonApiRelationshipsEntitiesType$inboundSchema;
|
|
641
|
+
/** @deprecated use `CommercialApplicationJsonApiRelationshipsEntitiesType$outboundSchema` instead. */
|
|
642
|
+
export const outboundSchema =
|
|
643
|
+
CommercialApplicationJsonApiRelationshipsEntitiesType$outboundSchema;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
646
|
/** @internal */
|
|
647
647
|
export const CommercialApplicationJsonApiRelationshipsEntitiesData$inboundSchema:
|
|
648
648
|
z.ZodType<
|
|
@@ -49,6 +49,33 @@ export const ApplicationType = {
|
|
|
49
49
|
*/
|
|
50
50
|
export type ApplicationType = ClosedEnum<typeof ApplicationType>;
|
|
51
51
|
|
|
52
|
+
/**
|
|
53
|
+
* Application resource attributes
|
|
54
|
+
*/
|
|
55
|
+
export type Attributes = {
|
|
56
|
+
/**
|
|
57
|
+
* Type of the loan application
|
|
58
|
+
*/
|
|
59
|
+
applicationType: ApplicationType;
|
|
60
|
+
/**
|
|
61
|
+
* Email address of the broker to be associated with this application.
|
|
62
|
+
*/
|
|
63
|
+
associatedBrokerEmail: string;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export type CommercialSecuredApplicationPayload = {
|
|
67
|
+
type: Type;
|
|
68
|
+
/**
|
|
69
|
+
* Application resource attributes
|
|
70
|
+
*/
|
|
71
|
+
attributes: Attributes;
|
|
72
|
+
relationships?:
|
|
73
|
+
| CommercialSecuredLoanCommercialApplicationRelationships
|
|
74
|
+
| undefined;
|
|
75
|
+
links?: { [k: string]: LinkObject } | undefined;
|
|
76
|
+
meta?: { [k: string]: any } | undefined;
|
|
77
|
+
};
|
|
78
|
+
|
|
52
79
|
/** @internal */
|
|
53
80
|
export const Type$inboundSchema: z.ZodNativeEnum<typeof Type> = z.nativeEnum(
|
|
54
81
|
Type,
|
|
@@ -90,33 +117,6 @@ export namespace ApplicationType$ {
|
|
|
90
117
|
export const outboundSchema = ApplicationType$outboundSchema;
|
|
91
118
|
}
|
|
92
119
|
|
|
93
|
-
/**
|
|
94
|
-
* Application resource attributes
|
|
95
|
-
*/
|
|
96
|
-
export type Attributes = {
|
|
97
|
-
/**
|
|
98
|
-
* Type of the loan application
|
|
99
|
-
*/
|
|
100
|
-
applicationType: ApplicationType;
|
|
101
|
-
/**
|
|
102
|
-
* Email address of the broker to be associated with this application.
|
|
103
|
-
*/
|
|
104
|
-
associatedBrokerEmail: string;
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
export type CommercialSecuredApplicationPayload = {
|
|
108
|
-
type: Type;
|
|
109
|
-
/**
|
|
110
|
-
* Application resource attributes
|
|
111
|
-
*/
|
|
112
|
-
attributes: Attributes;
|
|
113
|
-
relationships?:
|
|
114
|
-
| CommercialSecuredLoanCommercialApplicationRelationships
|
|
115
|
-
| undefined;
|
|
116
|
-
links?: { [k: string]: LinkObject } | undefined;
|
|
117
|
-
meta?: { [k: string]: any } | undefined;
|
|
118
|
-
};
|
|
119
|
-
|
|
120
120
|
/** @internal */
|
|
121
121
|
export const Attributes$inboundSchema: z.ZodType<
|
|
122
122
|
Attributes,
|
|
@@ -45,52 +45,6 @@ export type CommercialSecuredApplicationResourceApplicationType = ClosedEnum<
|
|
|
45
45
|
typeof CommercialSecuredApplicationResourceApplicationType
|
|
46
46
|
>;
|
|
47
47
|
|
|
48
|
-
/** @internal */
|
|
49
|
-
export const CommercialSecuredApplicationResourceType$inboundSchema:
|
|
50
|
-
z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceType> = z
|
|
51
|
-
.nativeEnum(CommercialSecuredApplicationResourceType);
|
|
52
|
-
|
|
53
|
-
/** @internal */
|
|
54
|
-
export const CommercialSecuredApplicationResourceType$outboundSchema:
|
|
55
|
-
z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceType> =
|
|
56
|
-
CommercialSecuredApplicationResourceType$inboundSchema;
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
61
|
-
*/
|
|
62
|
-
export namespace CommercialSecuredApplicationResourceType$ {
|
|
63
|
-
/** @deprecated use `CommercialSecuredApplicationResourceType$inboundSchema` instead. */
|
|
64
|
-
export const inboundSchema =
|
|
65
|
-
CommercialSecuredApplicationResourceType$inboundSchema;
|
|
66
|
-
/** @deprecated use `CommercialSecuredApplicationResourceType$outboundSchema` instead. */
|
|
67
|
-
export const outboundSchema =
|
|
68
|
-
CommercialSecuredApplicationResourceType$outboundSchema;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/** @internal */
|
|
72
|
-
export const CommercialSecuredApplicationResourceApplicationType$inboundSchema:
|
|
73
|
-
z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceApplicationType> =
|
|
74
|
-
z.nativeEnum(CommercialSecuredApplicationResourceApplicationType);
|
|
75
|
-
|
|
76
|
-
/** @internal */
|
|
77
|
-
export const CommercialSecuredApplicationResourceApplicationType$outboundSchema:
|
|
78
|
-
z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceApplicationType> =
|
|
79
|
-
CommercialSecuredApplicationResourceApplicationType$inboundSchema;
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
84
|
-
*/
|
|
85
|
-
export namespace CommercialSecuredApplicationResourceApplicationType$ {
|
|
86
|
-
/** @deprecated use `CommercialSecuredApplicationResourceApplicationType$inboundSchema` instead. */
|
|
87
|
-
export const inboundSchema =
|
|
88
|
-
CommercialSecuredApplicationResourceApplicationType$inboundSchema;
|
|
89
|
-
/** @deprecated use `CommercialSecuredApplicationResourceApplicationType$outboundSchema` instead. */
|
|
90
|
-
export const outboundSchema =
|
|
91
|
-
CommercialSecuredApplicationResourceApplicationType$outboundSchema;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
48
|
/**
|
|
95
49
|
* Application resource attributes
|
|
96
50
|
*/
|
|
@@ -139,6 +93,52 @@ export type CommercialSecuredApplicationResource = {
|
|
|
139
93
|
meta?: { [k: string]: any } | undefined;
|
|
140
94
|
};
|
|
141
95
|
|
|
96
|
+
/** @internal */
|
|
97
|
+
export const CommercialSecuredApplicationResourceType$inboundSchema:
|
|
98
|
+
z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceType> = z
|
|
99
|
+
.nativeEnum(CommercialSecuredApplicationResourceType);
|
|
100
|
+
|
|
101
|
+
/** @internal */
|
|
102
|
+
export const CommercialSecuredApplicationResourceType$outboundSchema:
|
|
103
|
+
z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceType> =
|
|
104
|
+
CommercialSecuredApplicationResourceType$inboundSchema;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
109
|
+
*/
|
|
110
|
+
export namespace CommercialSecuredApplicationResourceType$ {
|
|
111
|
+
/** @deprecated use `CommercialSecuredApplicationResourceType$inboundSchema` instead. */
|
|
112
|
+
export const inboundSchema =
|
|
113
|
+
CommercialSecuredApplicationResourceType$inboundSchema;
|
|
114
|
+
/** @deprecated use `CommercialSecuredApplicationResourceType$outboundSchema` instead. */
|
|
115
|
+
export const outboundSchema =
|
|
116
|
+
CommercialSecuredApplicationResourceType$outboundSchema;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/** @internal */
|
|
120
|
+
export const CommercialSecuredApplicationResourceApplicationType$inboundSchema:
|
|
121
|
+
z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceApplicationType> =
|
|
122
|
+
z.nativeEnum(CommercialSecuredApplicationResourceApplicationType);
|
|
123
|
+
|
|
124
|
+
/** @internal */
|
|
125
|
+
export const CommercialSecuredApplicationResourceApplicationType$outboundSchema:
|
|
126
|
+
z.ZodNativeEnum<typeof CommercialSecuredApplicationResourceApplicationType> =
|
|
127
|
+
CommercialSecuredApplicationResourceApplicationType$inboundSchema;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* @internal
|
|
131
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
132
|
+
*/
|
|
133
|
+
export namespace CommercialSecuredApplicationResourceApplicationType$ {
|
|
134
|
+
/** @deprecated use `CommercialSecuredApplicationResourceApplicationType$inboundSchema` instead. */
|
|
135
|
+
export const inboundSchema =
|
|
136
|
+
CommercialSecuredApplicationResourceApplicationType$inboundSchema;
|
|
137
|
+
/** @deprecated use `CommercialSecuredApplicationResourceApplicationType$outboundSchema` instead. */
|
|
138
|
+
export const outboundSchema =
|
|
139
|
+
CommercialSecuredApplicationResourceApplicationType$outboundSchema;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
142
|
/** @internal */
|
|
143
143
|
export const CommercialSecuredApplicationResourceAttributes$inboundSchema:
|
|
144
144
|
z.ZodType<
|
|
@@ -37,6 +37,11 @@ export const Condition = {
|
|
|
37
37
|
*/
|
|
38
38
|
export type Condition = ClosedEnum<typeof Condition>;
|
|
39
39
|
|
|
40
|
+
/**
|
|
41
|
+
* Value of asset as either MonetaryQuantity model (preferred) or floating point AUD dollars as string. The latter will be deprecated.
|
|
42
|
+
*/
|
|
43
|
+
export type AssetValue = MonetaryQuantity | string;
|
|
44
|
+
|
|
40
45
|
/**
|
|
41
46
|
* Registration state (or territory) of asset
|
|
42
47
|
*/
|
|
@@ -55,51 +60,6 @@ export const RegistrationState = {
|
|
|
55
60
|
*/
|
|
56
61
|
export type RegistrationState = ClosedEnum<typeof RegistrationState>;
|
|
57
62
|
|
|
58
|
-
/** @internal */
|
|
59
|
-
export const Condition$inboundSchema: z.ZodNativeEnum<typeof Condition> = z
|
|
60
|
-
.nativeEnum(Condition);
|
|
61
|
-
|
|
62
|
-
/** @internal */
|
|
63
|
-
export const Condition$outboundSchema: z.ZodNativeEnum<typeof Condition> =
|
|
64
|
-
Condition$inboundSchema;
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* @internal
|
|
68
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
69
|
-
*/
|
|
70
|
-
export namespace Condition$ {
|
|
71
|
-
/** @deprecated use `Condition$inboundSchema` instead. */
|
|
72
|
-
export const inboundSchema = Condition$inboundSchema;
|
|
73
|
-
/** @deprecated use `Condition$outboundSchema` instead. */
|
|
74
|
-
export const outboundSchema = Condition$outboundSchema;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/** @internal */
|
|
78
|
-
export const RegistrationState$inboundSchema: z.ZodNativeEnum<
|
|
79
|
-
typeof RegistrationState
|
|
80
|
-
> = z.nativeEnum(RegistrationState);
|
|
81
|
-
|
|
82
|
-
/** @internal */
|
|
83
|
-
export const RegistrationState$outboundSchema: z.ZodNativeEnum<
|
|
84
|
-
typeof RegistrationState
|
|
85
|
-
> = RegistrationState$inboundSchema;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
90
|
-
*/
|
|
91
|
-
export namespace RegistrationState$ {
|
|
92
|
-
/** @deprecated use `RegistrationState$inboundSchema` instead. */
|
|
93
|
-
export const inboundSchema = RegistrationState$inboundSchema;
|
|
94
|
-
/** @deprecated use `RegistrationState$outboundSchema` instead. */
|
|
95
|
-
export const outboundSchema = RegistrationState$outboundSchema;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Value of asset as either MonetaryQuantity model (preferred) or floating point AUD dollars as string. The latter will be deprecated.
|
|
100
|
-
*/
|
|
101
|
-
export type AssetValue = MonetaryQuantity | string;
|
|
102
|
-
|
|
103
63
|
/**
|
|
104
64
|
* Type of sale. Must be a member of CommercialSecuredLoan.TypeOfSale, but will not throw for invalid string values (backwards-compatibility).
|
|
105
65
|
*/
|
|
@@ -228,6 +188,25 @@ export type CommercialSecuredLoanAssetAttributes = {
|
|
|
228
188
|
additionalTaxes?: MonetaryQuantity | string | undefined;
|
|
229
189
|
};
|
|
230
190
|
|
|
191
|
+
/** @internal */
|
|
192
|
+
export const Condition$inboundSchema: z.ZodNativeEnum<typeof Condition> = z
|
|
193
|
+
.nativeEnum(Condition);
|
|
194
|
+
|
|
195
|
+
/** @internal */
|
|
196
|
+
export const Condition$outboundSchema: z.ZodNativeEnum<typeof Condition> =
|
|
197
|
+
Condition$inboundSchema;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @internal
|
|
201
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
202
|
+
*/
|
|
203
|
+
export namespace Condition$ {
|
|
204
|
+
/** @deprecated use `Condition$inboundSchema` instead. */
|
|
205
|
+
export const inboundSchema = Condition$inboundSchema;
|
|
206
|
+
/** @deprecated use `Condition$outboundSchema` instead. */
|
|
207
|
+
export const outboundSchema = Condition$outboundSchema;
|
|
208
|
+
}
|
|
209
|
+
|
|
231
210
|
/** @internal */
|
|
232
211
|
export const AssetValue$inboundSchema: z.ZodType<
|
|
233
212
|
AssetValue,
|
|
@@ -272,6 +251,27 @@ export function assetValueFromJSON(
|
|
|
272
251
|
);
|
|
273
252
|
}
|
|
274
253
|
|
|
254
|
+
/** @internal */
|
|
255
|
+
export const RegistrationState$inboundSchema: z.ZodNativeEnum<
|
|
256
|
+
typeof RegistrationState
|
|
257
|
+
> = z.nativeEnum(RegistrationState);
|
|
258
|
+
|
|
259
|
+
/** @internal */
|
|
260
|
+
export const RegistrationState$outboundSchema: z.ZodNativeEnum<
|
|
261
|
+
typeof RegistrationState
|
|
262
|
+
> = RegistrationState$inboundSchema;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* @internal
|
|
266
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
267
|
+
*/
|
|
268
|
+
export namespace RegistrationState$ {
|
|
269
|
+
/** @deprecated use `RegistrationState$inboundSchema` instead. */
|
|
270
|
+
export const inboundSchema = RegistrationState$inboundSchema;
|
|
271
|
+
/** @deprecated use `RegistrationState$outboundSchema` instead. */
|
|
272
|
+
export const outboundSchema = RegistrationState$outboundSchema;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
275
|
/** @internal */
|
|
276
276
|
export const TypeOfSale$inboundSchema: z.ZodType<
|
|
277
277
|
TypeOfSale,
|