@financeable/aggregation 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/sdks/applications/README.md +1 -0
- package/docs/sdks/oauthtoken/README.md +1 -0
- package/docs/sdks/supportingdocuments/README.md +1 -0
- package/examples/README.md +31 -0
- package/examples/applicationsCreate.example.ts +179 -0
- package/examples/package-lock.json +610 -0
- package/examples/package.json +18 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/addressattributes.d.ts +30 -30
- package/models/components/addressattributes.d.ts.map +1 -1
- package/models/components/addressattributes.js +24 -24
- 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 +66 -66
- package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -1
- package/models/components/commercialsecuredloanassetattributes.js +26 -24
- 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 +78 -78
- package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -1
- package/models/components/consumersecuredloanassetattributes.js +41 -39
- 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/customerassetattributes.d.ts +2 -2
- package/models/components/customerassetattributes.d.ts.map +1 -1
- package/models/components/customerassetattributes.js +2 -2
- package/models/components/customerassetattributes.js.map +1 -1
- package/models/components/customerattributes.d.ts +16 -11
- package/models/components/customerattributes.d.ts.map +1 -1
- package/models/components/customerattributes.js +12 -10
- package/models/components/customerattributes.js.map +1 -1
- package/models/components/customerliabilityattributes.d.ts +2 -2
- package/models/components/customerliabilityattributes.d.ts.map +1 -1
- package/models/components/customerliabilityattributes.js +2 -2
- package/models/components/customerliabilityattributes.js.map +1 -1
- package/models/components/entityattributes.d.ts +4 -4
- package/models/components/entityattributes.d.ts.map +1 -1
- package/models/components/entityattributes.js +4 -4
- package/models/components/entityattributes.js.map +1 -1
- package/models/components/expenseattributes.d.ts +2 -2
- package/models/components/expenseattributes.d.ts.map +1 -1
- package/models/components/expenseattributes.js +2 -2
- package/models/components/expenseattributes.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/incomeattributes.d.ts +2 -2
- package/models/components/incomeattributes.d.ts.map +1 -1
- package/models/components/incomeattributes.js +2 -2
- package/models/components/incomeattributes.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 +4 -5
- package/src/lib/config.ts +3 -3
- package/src/models/components/addressattributes.ts +55 -55
- 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 +63 -61
- 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 +98 -96
- package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +279 -279
- package/src/models/components/createsupportingdocumentsresponse.ts +16 -16
- package/src/models/components/customerassetattributes.ts +4 -4
- package/src/models/components/customerattributes.ts +28 -21
- package/src/models/components/customerliabilityattributes.ts +4 -4
- package/src/models/components/entityattributes.ts +8 -8
- package/src/models/components/expenseattributes.ts +4 -4
- package/src/models/components/forbiddenerror.ts +14 -14
- package/src/models/components/incomeattributes.ts +4 -4
- 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,6 +21,123 @@ 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
|
+
|
|
24
141
|
export type CommercialApplicationJsonApiRelationshipsData = {
|
|
25
142
|
type: CommercialApplicationJsonApiRelationshipsType;
|
|
26
143
|
id: string;
|
|
@@ -32,13 +149,6 @@ export type CommercialApplicationJsonApiRelationshipsLoanDetails = {
|
|
|
32
149
|
meta?: { [k: string]: any } | undefined;
|
|
33
150
|
};
|
|
34
151
|
|
|
35
|
-
export const CommercialApplicationJsonApiRelationshipsCustomersType = {
|
|
36
|
-
Customers: "customers",
|
|
37
|
-
} as const;
|
|
38
|
-
export type CommercialApplicationJsonApiRelationshipsCustomersType = ClosedEnum<
|
|
39
|
-
typeof CommercialApplicationJsonApiRelationshipsCustomersType
|
|
40
|
-
>;
|
|
41
|
-
|
|
42
152
|
export type CommercialApplicationJsonApiRelationshipsCustomersData = {
|
|
43
153
|
type: CommercialApplicationJsonApiRelationshipsCustomersType;
|
|
44
154
|
id: string;
|
|
@@ -50,13 +160,6 @@ export type CommercialApplicationJsonApiRelationshipsCustomers = {
|
|
|
50
160
|
meta?: { [k: string]: any } | undefined;
|
|
51
161
|
};
|
|
52
162
|
|
|
53
|
-
export const CommercialApplicationJsonApiRelationshipsAssetType = {
|
|
54
|
-
Assets: "assets",
|
|
55
|
-
} as const;
|
|
56
|
-
export type CommercialApplicationJsonApiRelationshipsAssetType = ClosedEnum<
|
|
57
|
-
typeof CommercialApplicationJsonApiRelationshipsAssetType
|
|
58
|
-
>;
|
|
59
|
-
|
|
60
163
|
export type CommercialApplicationJsonApiRelationshipsAssetData = {
|
|
61
164
|
type: CommercialApplicationJsonApiRelationshipsAssetType;
|
|
62
165
|
id: string;
|
|
@@ -68,13 +171,6 @@ export type CommercialApplicationJsonApiRelationshipsAsset = {
|
|
|
68
171
|
meta?: { [k: string]: any } | undefined;
|
|
69
172
|
};
|
|
70
173
|
|
|
71
|
-
export const CommercialApplicationJsonApiRelationshipsEntitiesType = {
|
|
72
|
-
Entities: "entities",
|
|
73
|
-
} as const;
|
|
74
|
-
export type CommercialApplicationJsonApiRelationshipsEntitiesType = ClosedEnum<
|
|
75
|
-
typeof CommercialApplicationJsonApiRelationshipsEntitiesType
|
|
76
|
-
>;
|
|
77
|
-
|
|
78
174
|
export type CommercialApplicationJsonApiRelationshipsEntitiesData = {
|
|
79
175
|
type: CommercialApplicationJsonApiRelationshipsEntitiesType;
|
|
80
176
|
id: string;
|
|
@@ -98,29 +194,6 @@ export type CommercialApplicationJsonApiRelationships = {
|
|
|
98
194
|
entities?: CommercialApplicationJsonApiRelationshipsEntities | undefined;
|
|
99
195
|
};
|
|
100
196
|
|
|
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
|
-
|
|
124
197
|
/** @internal */
|
|
125
198
|
export const CommercialApplicationJsonApiRelationshipsData$inboundSchema:
|
|
126
199
|
z.ZodType<
|
|
@@ -269,31 +342,6 @@ export function commercialApplicationJsonApiRelationshipsLoanDetailsFromJSON(
|
|
|
269
342
|
);
|
|
270
343
|
}
|
|
271
344
|
|
|
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
|
-
|
|
297
345
|
/** @internal */
|
|
298
346
|
export const CommercialApplicationJsonApiRelationshipsCustomersData$inboundSchema:
|
|
299
347
|
z.ZodType<
|
|
@@ -446,29 +494,6 @@ export function commercialApplicationJsonApiRelationshipsCustomersFromJSON(
|
|
|
446
494
|
);
|
|
447
495
|
}
|
|
448
496
|
|
|
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
|
-
|
|
472
497
|
/** @internal */
|
|
473
498
|
export const CommercialApplicationJsonApiRelationshipsAssetData$inboundSchema:
|
|
474
499
|
z.ZodType<
|
|
@@ -618,31 +643,6 @@ export function commercialApplicationJsonApiRelationshipsAssetFromJSON(
|
|
|
618
643
|
);
|
|
619
644
|
}
|
|
620
645
|
|
|
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,33 +49,6 @@ 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
|
-
|
|
79
52
|
/** @internal */
|
|
80
53
|
export const Type$inboundSchema: z.ZodNativeEnum<typeof Type> = z.nativeEnum(
|
|
81
54
|
Type,
|
|
@@ -117,6 +90,33 @@ export namespace ApplicationType$ {
|
|
|
117
90
|
export const outboundSchema = ApplicationType$outboundSchema;
|
|
118
91
|
}
|
|
119
92
|
|
|
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,6 +45,52 @@ 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
|
+
|
|
48
94
|
/**
|
|
49
95
|
* Application resource attributes
|
|
50
96
|
*/
|
|
@@ -93,52 +139,6 @@ export type CommercialSecuredApplicationResource = {
|
|
|
93
139
|
meta?: { [k: string]: any } | undefined;
|
|
94
140
|
};
|
|
95
141
|
|
|
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,11 +37,6 @@ 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
|
-
|
|
45
40
|
/**
|
|
46
41
|
* Registration state (or territory) of asset
|
|
47
42
|
*/
|
|
@@ -60,6 +55,51 @@ export const RegistrationState = {
|
|
|
60
55
|
*/
|
|
61
56
|
export type RegistrationState = ClosedEnum<typeof RegistrationState>;
|
|
62
57
|
|
|
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
|
+
|
|
63
103
|
/**
|
|
64
104
|
* Type of sale. Must be a member of CommercialSecuredLoan.TypeOfSale, but will not throw for invalid string values (backwards-compatibility).
|
|
65
105
|
*/
|
|
@@ -105,11 +145,11 @@ export type CommercialSecuredLoanAssetAttributes = {
|
|
|
105
145
|
/**
|
|
106
146
|
* Type of asset for secured commercial loans
|
|
107
147
|
*/
|
|
108
|
-
assetType
|
|
148
|
+
assetType?: CommercialSecuredLoanAssetType | undefined;
|
|
109
149
|
/**
|
|
110
150
|
* Value of asset as either MonetaryQuantity model (preferred) or floating point AUD dollars as string. The latter will be deprecated.
|
|
111
151
|
*/
|
|
112
|
-
assetValue
|
|
152
|
+
assetValue?: MonetaryQuantity | string | undefined;
|
|
113
153
|
/**
|
|
114
154
|
* Make of asset
|
|
115
155
|
*/
|
|
@@ -161,7 +201,7 @@ export type CommercialSecuredLoanAssetAttributes = {
|
|
|
161
201
|
/**
|
|
162
202
|
* Type of sale. Must be a member of CommercialSecuredLoan.TypeOfSale, but will not throw for invalid string values (backwards-compatibility).
|
|
163
203
|
*/
|
|
164
|
-
typeOfSale
|
|
204
|
+
typeOfSale?: string | CommercialSecuredLoanTypeOfSale | undefined;
|
|
165
205
|
/**
|
|
166
206
|
* Description of asset
|
|
167
207
|
*/
|
|
@@ -169,7 +209,7 @@ export type CommercialSecuredLoanAssetAttributes = {
|
|
|
169
209
|
/**
|
|
170
210
|
* Net asset value of asset, provided as either MonetaryQuantity (preferred) or floating point dollar value as string (latter will be deprecated)
|
|
171
211
|
*/
|
|
172
|
-
netAssetValue
|
|
212
|
+
netAssetValue?: MonetaryQuantity | string | undefined;
|
|
173
213
|
/**
|
|
174
214
|
* Is this asset a luxury asset?
|
|
175
215
|
*/
|
|
@@ -188,25 +228,6 @@ export type CommercialSecuredLoanAssetAttributes = {
|
|
|
188
228
|
additionalTaxes?: MonetaryQuantity | string | undefined;
|
|
189
229
|
};
|
|
190
230
|
|
|
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
|
-
|
|
210
231
|
/** @internal */
|
|
211
232
|
export const AssetValue$inboundSchema: z.ZodType<
|
|
212
233
|
AssetValue,
|
|
@@ -251,27 +272,6 @@ export function assetValueFromJSON(
|
|
|
251
272
|
);
|
|
252
273
|
}
|
|
253
274
|
|
|
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,
|
|
@@ -504,8 +504,8 @@ export const CommercialSecuredLoanAssetAttributes$inboundSchema: z.ZodType<
|
|
|
504
504
|
ageOfAsset: z.number().int().optional(),
|
|
505
505
|
ageOfAssetAtEnd: z.number().int().optional(),
|
|
506
506
|
condition: Condition$inboundSchema.optional(),
|
|
507
|
-
assetType: CommercialSecuredLoanAssetType$inboundSchema,
|
|
508
|
-
assetValue: z.union([MonetaryQuantity$inboundSchema, z.string()]),
|
|
507
|
+
assetType: CommercialSecuredLoanAssetType$inboundSchema.optional(),
|
|
508
|
+
assetValue: z.union([MonetaryQuantity$inboundSchema, z.string()]).optional(),
|
|
509
509
|
make: z.string().optional(),
|
|
510
510
|
assetModel: z.string().optional(),
|
|
511
511
|
registrationNumber: z.string().optional(),
|
|
@@ -521,9 +521,10 @@ export const CommercialSecuredLoanAssetAttributes$inboundSchema: z.ZodType<
|
|
|
521
521
|
typeOfSale: z.union([
|
|
522
522
|
z.string(),
|
|
523
523
|
CommercialSecuredLoanTypeOfSale$inboundSchema,
|
|
524
|
-
]),
|
|
524
|
+
]).optional(),
|
|
525
525
|
description: z.string().optional(),
|
|
526
|
-
netAssetValue: z.union([MonetaryQuantity$inboundSchema, z.string()])
|
|
526
|
+
netAssetValue: z.union([MonetaryQuantity$inboundSchema, z.string()])
|
|
527
|
+
.optional(),
|
|
527
528
|
isLuxury: z.boolean().optional(),
|
|
528
529
|
luxuryGst: z.union([MonetaryQuantity$inboundSchema, z.string()]).optional(),
|
|
529
530
|
additionalFees: z.union([MonetaryQuantity$inboundSchema, z.string()])
|
|
@@ -538,8 +539,8 @@ export type CommercialSecuredLoanAssetAttributes$Outbound = {
|
|
|
538
539
|
ageOfAsset?: number | undefined;
|
|
539
540
|
ageOfAssetAtEnd?: number | undefined;
|
|
540
541
|
condition?: string | undefined;
|
|
541
|
-
assetType
|
|
542
|
-
assetValue
|
|
542
|
+
assetType?: string | undefined;
|
|
543
|
+
assetValue?: MonetaryQuantity$Outbound | string | undefined;
|
|
543
544
|
make?: string | undefined;
|
|
544
545
|
assetModel?: string | undefined;
|
|
545
546
|
registrationNumber?: string | undefined;
|
|
@@ -552,9 +553,9 @@ export type CommercialSecuredLoanAssetAttributes$Outbound = {
|
|
|
552
553
|
supplierContactName?: string | undefined;
|
|
553
554
|
supplierEmail?: string | undefined;
|
|
554
555
|
privateSale?: boolean | undefined;
|
|
555
|
-
typeOfSale
|
|
556
|
+
typeOfSale?: string | string | undefined;
|
|
556
557
|
description?: string | undefined;
|
|
557
|
-
netAssetValue
|
|
558
|
+
netAssetValue?: MonetaryQuantity$Outbound | string | undefined;
|
|
558
559
|
isLuxury?: boolean | undefined;
|
|
559
560
|
luxuryGst?: MonetaryQuantity$Outbound | string | undefined;
|
|
560
561
|
additionalFees?: MonetaryQuantity$Outbound | string | undefined;
|
|
@@ -571,8 +572,8 @@ export const CommercialSecuredLoanAssetAttributes$outboundSchema: z.ZodType<
|
|
|
571
572
|
ageOfAsset: z.number().int().optional(),
|
|
572
573
|
ageOfAssetAtEnd: z.number().int().optional(),
|
|
573
574
|
condition: Condition$outboundSchema.optional(),
|
|
574
|
-
assetType: CommercialSecuredLoanAssetType$outboundSchema,
|
|
575
|
-
assetValue: z.union([MonetaryQuantity$outboundSchema, z.string()]),
|
|
575
|
+
assetType: CommercialSecuredLoanAssetType$outboundSchema.optional(),
|
|
576
|
+
assetValue: z.union([MonetaryQuantity$outboundSchema, z.string()]).optional(),
|
|
576
577
|
make: z.string().optional(),
|
|
577
578
|
assetModel: z.string().optional(),
|
|
578
579
|
registrationNumber: z.string().optional(),
|
|
@@ -588,9 +589,10 @@ export const CommercialSecuredLoanAssetAttributes$outboundSchema: z.ZodType<
|
|
|
588
589
|
typeOfSale: z.union([
|
|
589
590
|
z.string(),
|
|
590
591
|
CommercialSecuredLoanTypeOfSale$outboundSchema,
|
|
591
|
-
]),
|
|
592
|
+
]).optional(),
|
|
592
593
|
description: z.string().optional(),
|
|
593
|
-
netAssetValue: z.union([MonetaryQuantity$outboundSchema, z.string()])
|
|
594
|
+
netAssetValue: z.union([MonetaryQuantity$outboundSchema, z.string()])
|
|
595
|
+
.optional(),
|
|
594
596
|
isLuxury: z.boolean().optional(),
|
|
595
597
|
luxuryGst: z.union([MonetaryQuantity$outboundSchema, z.string()]).optional(),
|
|
596
598
|
additionalFees: z.union([MonetaryQuantity$outboundSchema, z.string()])
|