@financeable/aggregation 0.8.3 → 0.9.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/FUNCTIONS.md +153 -36
- package/README.md +475 -94
- package/docs/sdks/applications/README.md +9 -15
- package/docs/sdks/oauthtoken/README.md +5 -9
- package/docs/sdks/supportingdocuments/README.md +9 -16
- package/funcs/applicationsCreate.d.ts +3 -3
- package/funcs/applicationsCreate.d.ts.map +1 -1
- package/funcs/applicationsCreate.js +4 -6
- package/funcs/applicationsCreate.js.map +1 -1
- package/funcs/oauthTokenGet.d.ts +3 -2
- package/funcs/oauthTokenGet.d.ts.map +1 -1
- package/funcs/oauthTokenGet.js +4 -2
- package/funcs/oauthTokenGet.js.map +1 -1
- package/funcs/supportingDocumentsCreate.d.ts +3 -3
- package/funcs/supportingDocumentsCreate.d.ts.map +1 -1
- package/funcs/supportingDocumentsCreate.js +5 -8
- package/funcs/supportingDocumentsCreate.js.map +1 -1
- package/hooks/types.d.ts +2 -0
- package/hooks/types.d.ts.map +1 -1
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +7 -3
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/files.d.ts +5 -0
- package/lib/files.d.ts.map +1 -1
- package/lib/files.js +41 -0
- package/lib/files.js.map +1 -1
- package/lib/matchers.d.ts +3 -10
- package/lib/matchers.d.ts.map +1 -1
- package/lib/matchers.js +33 -31
- package/lib/matchers.js.map +1 -1
- package/lib/sdks.d.ts +1 -0
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +3 -3
- package/lib/sdks.js.map +1 -1
- package/lib/security.d.ts +2 -2
- package/lib/security.d.ts.map +1 -1
- package/models/components/addressattributes.d.ts +8 -8
- package/models/components/addressattributes.d.ts.map +1 -1
- package/models/components/addressattributes.js +14 -13
- package/models/components/addressattributes.js.map +1 -1
- package/models/components/badrequesterror.d.ts +24 -24
- package/models/components/badrequesterror.d.ts.map +1 -1
- package/models/components/badrequesterror.js +37 -38
- package/models/components/badrequesterror.js.map +1 -1
- package/models/components/commercialsecuredapplicationpayload.d.ts +8 -8
- package/models/components/commercialsecuredapplicationpayload.d.ts.map +1 -1
- package/models/components/commercialsecuredapplicationpayload.js +13 -14
- package/models/components/commercialsecuredapplicationpayload.js.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +90 -90
- package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js +116 -118
- package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -1
- package/models/components/customerattributes.d.ts +6 -0
- package/models/components/customerattributes.d.ts.map +1 -1
- package/models/components/customerattributes.js +3 -0
- package/models/components/customerattributes.js.map +1 -1
- package/models/components/forbiddenerror.d.ts +16 -16
- package/models/components/forbiddenerror.d.ts.map +1 -1
- package/models/components/forbiddenerror.js +25 -25
- package/models/components/forbiddenerror.js.map +1 -1
- package/models/components/loandetailsattributes.d.ts +8 -8
- package/models/components/loandetailsattributes.d.ts.map +1 -1
- package/models/components/loandetailsattributes.js +8 -8
- package/models/components/loandetailsattributes.js.map +1 -1
- package/models/components/supportingdocumentrelationships.d.ts +45 -45
- package/models/components/supportingdocumentrelationships.d.ts.map +1 -1
- package/models/components/supportingdocumentrelationships.js +54 -54
- package/models/components/supportingdocumentrelationships.js.map +1 -1
- package/models/components/supportingdocumentresource.d.ts +8 -8
- package/models/components/supportingdocumentresource.d.ts.map +1 -1
- package/models/components/supportingdocumentresource.js +13 -13
- package/models/components/supportingdocumentresource.js.map +1 -1
- package/models/errors/apierror.d.ts +8 -6
- package/models/errors/apierror.d.ts.map +1 -1
- package/models/errors/apierror.js +23 -10
- package/models/errors/apierror.js.map +1 -1
- package/models/errors/financeableerror.d.ts +19 -0
- package/models/errors/financeableerror.d.ts.map +1 -0
- package/models/errors/financeableerror.js +20 -0
- package/models/errors/financeableerror.js.map +1 -0
- package/models/errors/index.d.ts +1 -2
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -2
- package/models/errors/index.js.map +1 -1
- package/models/errors/responsevalidationerror.d.ts +26 -0
- package/models/errors/responsevalidationerror.d.ts.map +1 -0
- package/models/errors/responsevalidationerror.js +66 -0
- package/models/errors/responsevalidationerror.js.map +1 -0
- package/models/errors/sdkvalidationerror.d.ts +1 -0
- package/models/errors/sdkvalidationerror.d.ts.map +1 -1
- package/models/errors/sdkvalidationerror.js +14 -0
- package/models/errors/sdkvalidationerror.js.map +1 -1
- package/models/operations/createapplication.d.ts +107 -30
- package/models/operations/createapplication.d.ts.map +1 -1
- package/models/operations/createapplication.js +125 -44
- package/models/operations/createapplication.js.map +1 -1
- package/models/operations/supportingdocumentscreate.d.ts +144 -0
- package/models/operations/supportingdocumentscreate.d.ts.map +1 -1
- package/models/operations/supportingdocumentscreate.js +186 -1
- package/models/operations/supportingdocumentscreate.js.map +1 -1
- package/package.json +1 -1
- package/sdk/applications.d.ts +1 -1
- package/sdk/applications.d.ts.map +1 -1
- package/sdk/sdk.d.ts +2 -2
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +3 -3
- package/sdk/sdk.js.map +1 -1
- package/sdk/supportingdocuments.d.ts +1 -1
- package/sdk/supportingdocuments.d.ts.map +1 -1
- package/src/funcs/applicationsCreate.ts +30 -40
- package/src/funcs/oauthTokenGet.ts +24 -20
- package/src/funcs/supportingDocumentsCreate.ts +31 -42
- package/src/hooks/types.ts +2 -0
- package/src/index.ts +2 -0
- package/src/lib/config.ts +7 -3
- package/src/lib/files.ts +42 -0
- package/src/lib/matchers.ts +44 -41
- package/src/lib/sdks.ts +10 -4
- package/src/lib/security.ts +2 -2
- package/src/models/components/addressattributes.ts +14 -18
- package/src/models/components/badrequesterror.ts +48 -44
- package/src/models/components/commercialsecuredapplicationpayload.ts +15 -20
- package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +178 -238
- package/src/models/components/customerattributes.ts +12 -0
- package/src/models/components/forbiddenerror.ts +30 -32
- package/src/models/components/loandetailsattributes.ts +16 -16
- package/src/models/components/supportingdocumentrelationships.ts +117 -82
- package/src/models/components/supportingdocumentresource.ts +18 -15
- package/src/models/errors/apierror.ts +29 -16
- package/src/models/errors/financeableerror.ts +35 -0
- package/src/models/errors/index.ts +1 -2
- package/src/models/errors/responsevalidationerror.ts +50 -0
- package/src/models/errors/sdkvalidationerror.ts +12 -0
- package/src/models/operations/createapplication.ts +299 -64
- package/src/models/operations/supportingdocumentscreate.ts +386 -0
- package/src/sdk/applications.ts +1 -1
- package/src/sdk/sdk.ts +7 -7
- package/src/sdk/supportingdocuments.ts +1 -1
- package/src/types/constdatetime.ts +1 -1
- package/types/constdatetime.js +1 -1
- package/models/errors/createapplication.d.ts +0 -73
- package/models/errors/createapplication.d.ts.map +0 -1
- package/models/errors/createapplication.js +0 -120
- package/models/errors/createapplication.js.map +0 -1
- package/models/errors/supportingdocumentscreate.d.ts +0 -143
- package/models/errors/supportingdocumentscreate.d.ts.map +0 -1
- package/models/errors/supportingdocumentscreate.js +0 -225
- package/models/errors/supportingdocumentscreate.js.map +0 -1
- package/src/models/errors/createapplication.ts +0 -149
- package/src/models/errors/supportingdocumentscreate.ts +0 -342
|
@@ -64,7 +64,7 @@ export type CommercialSecuredLoanCommercialApplicationRelationshipsType =
|
|
|
64
64
|
typeof CommercialSecuredLoanCommercialApplicationRelationshipsType
|
|
65
65
|
>;
|
|
66
66
|
|
|
67
|
-
export type
|
|
67
|
+
export type Data = {
|
|
68
68
|
type: CommercialSecuredLoanCommercialApplicationRelationshipsType;
|
|
69
69
|
/**
|
|
70
70
|
* Loan details model
|
|
@@ -75,7 +75,7 @@ export type CommercialSecuredLoanCommercialApplicationRelationshipsData = {
|
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
export type LoanDetails = {
|
|
78
|
-
data:
|
|
78
|
+
data: Data;
|
|
79
79
|
};
|
|
80
80
|
|
|
81
81
|
export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType =
|
|
@@ -96,7 +96,7 @@ export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData
|
|
|
96
96
|
typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType
|
|
97
97
|
>;
|
|
98
98
|
|
|
99
|
-
export type
|
|
99
|
+
export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData =
|
|
100
100
|
{
|
|
101
101
|
type:
|
|
102
102
|
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType;
|
|
@@ -107,7 +107,7 @@ export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData
|
|
|
107
107
|
|
|
108
108
|
export type Addresses = {
|
|
109
109
|
data: Array<
|
|
110
|
-
|
|
110
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData
|
|
111
111
|
>;
|
|
112
112
|
};
|
|
113
113
|
|
|
@@ -120,7 +120,7 @@ export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData
|
|
|
120
120
|
typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType
|
|
121
121
|
>;
|
|
122
122
|
|
|
123
|
-
export type
|
|
123
|
+
export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData =
|
|
124
124
|
{
|
|
125
125
|
type:
|
|
126
126
|
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType;
|
|
@@ -131,7 +131,7 @@ export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData
|
|
|
131
131
|
|
|
132
132
|
export type Liabilities = {
|
|
133
133
|
data: Array<
|
|
134
|
-
|
|
134
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData
|
|
135
135
|
>;
|
|
136
136
|
};
|
|
137
137
|
|
|
@@ -144,7 +144,7 @@ export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData
|
|
|
144
144
|
typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType
|
|
145
145
|
>;
|
|
146
146
|
|
|
147
|
-
export type
|
|
147
|
+
export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData =
|
|
148
148
|
{
|
|
149
149
|
type:
|
|
150
150
|
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType;
|
|
@@ -155,7 +155,7 @@ export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData
|
|
|
155
155
|
|
|
156
156
|
export type Assets = {
|
|
157
157
|
data: Array<
|
|
158
|
-
|
|
158
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData
|
|
159
159
|
>;
|
|
160
160
|
};
|
|
161
161
|
|
|
@@ -165,22 +165,19 @@ export type Relationships = {
|
|
|
165
165
|
assets?: Assets | undefined;
|
|
166
166
|
};
|
|
167
167
|
|
|
168
|
-
export type
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
};
|
|
168
|
+
export type CommercialSecuredLoanCommercialApplicationRelationshipsData = {
|
|
169
|
+
type: CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType;
|
|
170
|
+
/**
|
|
171
|
+
* A customer of the proposed financing
|
|
172
|
+
*/
|
|
173
|
+
attributes: CustomerAttributes;
|
|
174
|
+
relationships?: Relationships | undefined;
|
|
175
|
+
links?: { [k: string]: LinkObject } | undefined;
|
|
176
|
+
meta?: { [k: string]: any } | undefined;
|
|
177
|
+
};
|
|
179
178
|
|
|
180
179
|
export type Customers = {
|
|
181
|
-
data: Array<
|
|
182
|
-
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData
|
|
183
|
-
>;
|
|
180
|
+
data: Array<CommercialSecuredLoanCommercialApplicationRelationshipsData>;
|
|
184
181
|
};
|
|
185
182
|
|
|
186
183
|
export const CommercialSecuredLoanCommercialApplicationRelationshipsAssetType =
|
|
@@ -202,7 +199,7 @@ export type CommercialSecuredLoanCommercialApplicationRelationshipsAssetData = {
|
|
|
202
199
|
meta?: { [k: string]: any } | undefined;
|
|
203
200
|
};
|
|
204
201
|
|
|
205
|
-
export type
|
|
202
|
+
export type Asset = {
|
|
206
203
|
data: CommercialSecuredLoanCommercialApplicationRelationshipsAssetData;
|
|
207
204
|
};
|
|
208
205
|
|
|
@@ -232,9 +229,7 @@ export type Entities = {
|
|
|
232
229
|
export type CommercialSecuredLoanCommercialApplicationRelationships = {
|
|
233
230
|
loanDetails?: LoanDetails | undefined;
|
|
234
231
|
customers?: Customers | undefined;
|
|
235
|
-
asset?:
|
|
236
|
-
| CommercialSecuredLoanCommercialApplicationRelationshipsAsset
|
|
237
|
-
| undefined;
|
|
232
|
+
asset?: Asset | undefined;
|
|
238
233
|
entities?: Entities | undefined;
|
|
239
234
|
};
|
|
240
235
|
|
|
@@ -264,12 +259,8 @@ export namespace CommercialSecuredLoanCommercialApplicationRelationshipsType$ {
|
|
|
264
259
|
}
|
|
265
260
|
|
|
266
261
|
/** @internal */
|
|
267
|
-
export const
|
|
268
|
-
|
|
269
|
-
CommercialSecuredLoanCommercialApplicationRelationshipsData,
|
|
270
|
-
z.ZodTypeDef,
|
|
271
|
-
unknown
|
|
272
|
-
> = z.object({
|
|
262
|
+
export const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown> = z
|
|
263
|
+
.object({
|
|
273
264
|
type:
|
|
274
265
|
CommercialSecuredLoanCommercialApplicationRelationshipsType$inboundSchema,
|
|
275
266
|
attributes: LoanDetailsAttributes$inboundSchema,
|
|
@@ -278,21 +269,16 @@ export const CommercialSecuredLoanCommercialApplicationRelationshipsData$inbound
|
|
|
278
269
|
});
|
|
279
270
|
|
|
280
271
|
/** @internal */
|
|
281
|
-
export type
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
};
|
|
272
|
+
export type Data$Outbound = {
|
|
273
|
+
type: string;
|
|
274
|
+
attributes: LoanDetailsAttributes$Outbound;
|
|
275
|
+
links?: { [k: string]: LinkObject$Outbound } | undefined;
|
|
276
|
+
meta?: { [k: string]: any } | undefined;
|
|
277
|
+
};
|
|
288
278
|
|
|
289
279
|
/** @internal */
|
|
290
|
-
export const
|
|
291
|
-
z.
|
|
292
|
-
CommercialSecuredLoanCommercialApplicationRelationshipsData$Outbound,
|
|
293
|
-
z.ZodTypeDef,
|
|
294
|
-
CommercialSecuredLoanCommercialApplicationRelationshipsData
|
|
295
|
-
> = z.object({
|
|
280
|
+
export const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data> =
|
|
281
|
+
z.object({
|
|
296
282
|
type:
|
|
297
283
|
CommercialSecuredLoanCommercialApplicationRelationshipsType$outboundSchema,
|
|
298
284
|
attributes: LoanDetailsAttributes$outboundSchema,
|
|
@@ -304,40 +290,26 @@ export const CommercialSecuredLoanCommercialApplicationRelationshipsData$outboun
|
|
|
304
290
|
* @internal
|
|
305
291
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
306
292
|
*/
|
|
307
|
-
export namespace
|
|
308
|
-
/** @deprecated use `
|
|
309
|
-
export const inboundSchema =
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
/** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsData$Outbound` instead. */
|
|
315
|
-
export type Outbound =
|
|
316
|
-
CommercialSecuredLoanCommercialApplicationRelationshipsData$Outbound;
|
|
293
|
+
export namespace Data$ {
|
|
294
|
+
/** @deprecated use `Data$inboundSchema` instead. */
|
|
295
|
+
export const inboundSchema = Data$inboundSchema;
|
|
296
|
+
/** @deprecated use `Data$outboundSchema` instead. */
|
|
297
|
+
export const outboundSchema = Data$outboundSchema;
|
|
298
|
+
/** @deprecated use `Data$Outbound` instead. */
|
|
299
|
+
export type Outbound = Data$Outbound;
|
|
317
300
|
}
|
|
318
301
|
|
|
319
|
-
export function
|
|
320
|
-
|
|
321
|
-
CommercialSecuredLoanCommercialApplicationRelationshipsData,
|
|
322
|
-
): string {
|
|
323
|
-
return JSON.stringify(
|
|
324
|
-
CommercialSecuredLoanCommercialApplicationRelationshipsData$outboundSchema
|
|
325
|
-
.parse(commercialSecuredLoanCommercialApplicationRelationshipsData),
|
|
326
|
-
);
|
|
302
|
+
export function dataToJSON(data: Data): string {
|
|
303
|
+
return JSON.stringify(Data$outboundSchema.parse(data));
|
|
327
304
|
}
|
|
328
305
|
|
|
329
|
-
export function
|
|
306
|
+
export function dataFromJSON(
|
|
330
307
|
jsonString: string,
|
|
331
|
-
): SafeParseResult<
|
|
332
|
-
CommercialSecuredLoanCommercialApplicationRelationshipsData,
|
|
333
|
-
SDKValidationError
|
|
334
|
-
> {
|
|
308
|
+
): SafeParseResult<Data, SDKValidationError> {
|
|
335
309
|
return safeParse(
|
|
336
310
|
jsonString,
|
|
337
|
-
(x) =>
|
|
338
|
-
|
|
339
|
-
.parse(JSON.parse(x)),
|
|
340
|
-
`Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationshipsData' from JSON`,
|
|
311
|
+
(x) => Data$inboundSchema.parse(JSON.parse(x)),
|
|
312
|
+
`Failed to parse 'Data' from JSON`,
|
|
341
313
|
);
|
|
342
314
|
}
|
|
343
315
|
|
|
@@ -347,14 +319,12 @@ export const LoanDetails$inboundSchema: z.ZodType<
|
|
|
347
319
|
z.ZodTypeDef,
|
|
348
320
|
unknown
|
|
349
321
|
> = z.object({
|
|
350
|
-
data: z.lazy(() =>
|
|
351
|
-
CommercialSecuredLoanCommercialApplicationRelationshipsData$inboundSchema
|
|
352
|
-
),
|
|
322
|
+
data: z.lazy(() => Data$inboundSchema),
|
|
353
323
|
});
|
|
354
324
|
|
|
355
325
|
/** @internal */
|
|
356
326
|
export type LoanDetails$Outbound = {
|
|
357
|
-
data:
|
|
327
|
+
data: Data$Outbound;
|
|
358
328
|
};
|
|
359
329
|
|
|
360
330
|
/** @internal */
|
|
@@ -363,9 +333,7 @@ export const LoanDetails$outboundSchema: z.ZodType<
|
|
|
363
333
|
z.ZodTypeDef,
|
|
364
334
|
LoanDetails
|
|
365
335
|
> = z.object({
|
|
366
|
-
data: z.lazy(() =>
|
|
367
|
-
CommercialSecuredLoanCommercialApplicationRelationshipsData$outboundSchema
|
|
368
|
-
),
|
|
336
|
+
data: z.lazy(() => Data$outboundSchema),
|
|
369
337
|
});
|
|
370
338
|
|
|
371
339
|
/**
|
|
@@ -452,9 +420,9 @@ export namespace CommercialSecuredLoanCommercialApplicationRelationshipsCustomer
|
|
|
452
420
|
}
|
|
453
421
|
|
|
454
422
|
/** @internal */
|
|
455
|
-
export const
|
|
423
|
+
export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema:
|
|
456
424
|
z.ZodType<
|
|
457
|
-
|
|
425
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData,
|
|
458
426
|
z.ZodTypeDef,
|
|
459
427
|
unknown
|
|
460
428
|
> = z.object({
|
|
@@ -466,7 +434,7 @@ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDat
|
|
|
466
434
|
});
|
|
467
435
|
|
|
468
436
|
/** @internal */
|
|
469
|
-
export type
|
|
437
|
+
export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$Outbound =
|
|
470
438
|
{
|
|
471
439
|
type: string;
|
|
472
440
|
attributes: AddressAttributes$Outbound;
|
|
@@ -475,11 +443,11 @@ export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData
|
|
|
475
443
|
};
|
|
476
444
|
|
|
477
445
|
/** @internal */
|
|
478
|
-
export const
|
|
446
|
+
export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema:
|
|
479
447
|
z.ZodType<
|
|
480
|
-
|
|
448
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$Outbound,
|
|
481
449
|
z.ZodTypeDef,
|
|
482
|
-
|
|
450
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData
|
|
483
451
|
> = z.object({
|
|
484
452
|
type:
|
|
485
453
|
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$outboundSchema,
|
|
@@ -492,42 +460,42 @@ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDat
|
|
|
492
460
|
* @internal
|
|
493
461
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
494
462
|
*/
|
|
495
|
-
export namespace
|
|
496
|
-
/** @deprecated use `
|
|
463
|
+
export namespace CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$ {
|
|
464
|
+
/** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema` instead. */
|
|
497
465
|
export const inboundSchema =
|
|
498
|
-
|
|
499
|
-
/** @deprecated use `
|
|
466
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema;
|
|
467
|
+
/** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema` instead. */
|
|
500
468
|
export const outboundSchema =
|
|
501
|
-
|
|
502
|
-
/** @deprecated use `
|
|
469
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema;
|
|
470
|
+
/** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$Outbound` instead. */
|
|
503
471
|
export type Outbound =
|
|
504
|
-
|
|
472
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$Outbound;
|
|
505
473
|
}
|
|
506
474
|
|
|
507
|
-
export function
|
|
508
|
-
|
|
509
|
-
|
|
475
|
+
export function commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsDataToJSON(
|
|
476
|
+
commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData:
|
|
477
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData,
|
|
510
478
|
): string {
|
|
511
479
|
return JSON.stringify(
|
|
512
|
-
|
|
480
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema
|
|
513
481
|
.parse(
|
|
514
|
-
|
|
482
|
+
commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData,
|
|
515
483
|
),
|
|
516
484
|
);
|
|
517
485
|
}
|
|
518
486
|
|
|
519
|
-
export function
|
|
487
|
+
export function commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsDataFromJSON(
|
|
520
488
|
jsonString: string,
|
|
521
489
|
): SafeParseResult<
|
|
522
|
-
|
|
490
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData,
|
|
523
491
|
SDKValidationError
|
|
524
492
|
> {
|
|
525
493
|
return safeParse(
|
|
526
494
|
jsonString,
|
|
527
495
|
(x) =>
|
|
528
|
-
|
|
496
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema
|
|
529
497
|
.parse(JSON.parse(x)),
|
|
530
|
-
`Failed to parse '
|
|
498
|
+
`Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData' from JSON`,
|
|
531
499
|
);
|
|
532
500
|
}
|
|
533
501
|
|
|
@@ -539,7 +507,7 @@ export const Addresses$inboundSchema: z.ZodType<
|
|
|
539
507
|
> = z.object({
|
|
540
508
|
data: z.array(
|
|
541
509
|
z.lazy(() =>
|
|
542
|
-
|
|
510
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema
|
|
543
511
|
),
|
|
544
512
|
),
|
|
545
513
|
});
|
|
@@ -547,7 +515,7 @@ export const Addresses$inboundSchema: z.ZodType<
|
|
|
547
515
|
/** @internal */
|
|
548
516
|
export type Addresses$Outbound = {
|
|
549
517
|
data: Array<
|
|
550
|
-
|
|
518
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$Outbound
|
|
551
519
|
>;
|
|
552
520
|
};
|
|
553
521
|
|
|
@@ -559,7 +527,7 @@ export const Addresses$outboundSchema: z.ZodType<
|
|
|
559
527
|
> = z.object({
|
|
560
528
|
data: z.array(
|
|
561
529
|
z.lazy(() =>
|
|
562
|
-
|
|
530
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$outboundSchema
|
|
563
531
|
),
|
|
564
532
|
),
|
|
565
533
|
});
|
|
@@ -620,9 +588,9 @@ export namespace CommercialSecuredLoanCommercialApplicationRelationshipsCustomer
|
|
|
620
588
|
}
|
|
621
589
|
|
|
622
590
|
/** @internal */
|
|
623
|
-
export const
|
|
591
|
+
export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$inboundSchema:
|
|
624
592
|
z.ZodType<
|
|
625
|
-
|
|
593
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData,
|
|
626
594
|
z.ZodTypeDef,
|
|
627
595
|
unknown
|
|
628
596
|
> = z.object({
|
|
@@ -634,7 +602,7 @@ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDat
|
|
|
634
602
|
});
|
|
635
603
|
|
|
636
604
|
/** @internal */
|
|
637
|
-
export type
|
|
605
|
+
export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$Outbound =
|
|
638
606
|
{
|
|
639
607
|
type: string;
|
|
640
608
|
attributes: CustomerLiabilityAttributes$Outbound;
|
|
@@ -643,11 +611,11 @@ export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData
|
|
|
643
611
|
};
|
|
644
612
|
|
|
645
613
|
/** @internal */
|
|
646
|
-
export const
|
|
614
|
+
export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$outboundSchema:
|
|
647
615
|
z.ZodType<
|
|
648
|
-
|
|
616
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$Outbound,
|
|
649
617
|
z.ZodTypeDef,
|
|
650
|
-
|
|
618
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData
|
|
651
619
|
> = z.object({
|
|
652
620
|
type:
|
|
653
621
|
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema,
|
|
@@ -660,42 +628,42 @@ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDat
|
|
|
660
628
|
* @internal
|
|
661
629
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
662
630
|
*/
|
|
663
|
-
export namespace
|
|
664
|
-
/** @deprecated use `
|
|
631
|
+
export namespace CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$ {
|
|
632
|
+
/** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$inboundSchema` instead. */
|
|
665
633
|
export const inboundSchema =
|
|
666
|
-
|
|
667
|
-
/** @deprecated use `
|
|
634
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$inboundSchema;
|
|
635
|
+
/** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$outboundSchema` instead. */
|
|
668
636
|
export const outboundSchema =
|
|
669
|
-
|
|
670
|
-
/** @deprecated use `
|
|
637
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$outboundSchema;
|
|
638
|
+
/** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$Outbound` instead. */
|
|
671
639
|
export type Outbound =
|
|
672
|
-
|
|
640
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$Outbound;
|
|
673
641
|
}
|
|
674
642
|
|
|
675
|
-
export function
|
|
676
|
-
|
|
677
|
-
|
|
643
|
+
export function commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataToJSON(
|
|
644
|
+
commercialSecuredLoanCommercialApplicationRelationshipsCustomersData:
|
|
645
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData,
|
|
678
646
|
): string {
|
|
679
647
|
return JSON.stringify(
|
|
680
|
-
|
|
648
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$outboundSchema
|
|
681
649
|
.parse(
|
|
682
|
-
|
|
650
|
+
commercialSecuredLoanCommercialApplicationRelationshipsCustomersData,
|
|
683
651
|
),
|
|
684
652
|
);
|
|
685
653
|
}
|
|
686
654
|
|
|
687
|
-
export function
|
|
655
|
+
export function commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataFromJSON(
|
|
688
656
|
jsonString: string,
|
|
689
657
|
): SafeParseResult<
|
|
690
|
-
|
|
658
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData,
|
|
691
659
|
SDKValidationError
|
|
692
660
|
> {
|
|
693
661
|
return safeParse(
|
|
694
662
|
jsonString,
|
|
695
663
|
(x) =>
|
|
696
|
-
|
|
664
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$inboundSchema
|
|
697
665
|
.parse(JSON.parse(x)),
|
|
698
|
-
`Failed to parse '
|
|
666
|
+
`Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData' from JSON`,
|
|
699
667
|
);
|
|
700
668
|
}
|
|
701
669
|
|
|
@@ -707,7 +675,7 @@ export const Liabilities$inboundSchema: z.ZodType<
|
|
|
707
675
|
> = z.object({
|
|
708
676
|
data: z.array(
|
|
709
677
|
z.lazy(() =>
|
|
710
|
-
|
|
678
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$inboundSchema
|
|
711
679
|
),
|
|
712
680
|
),
|
|
713
681
|
});
|
|
@@ -715,7 +683,7 @@ export const Liabilities$inboundSchema: z.ZodType<
|
|
|
715
683
|
/** @internal */
|
|
716
684
|
export type Liabilities$Outbound = {
|
|
717
685
|
data: Array<
|
|
718
|
-
|
|
686
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$Outbound
|
|
719
687
|
>;
|
|
720
688
|
};
|
|
721
689
|
|
|
@@ -727,7 +695,7 @@ export const Liabilities$outboundSchema: z.ZodType<
|
|
|
727
695
|
> = z.object({
|
|
728
696
|
data: z.array(
|
|
729
697
|
z.lazy(() =>
|
|
730
|
-
|
|
698
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$outboundSchema
|
|
731
699
|
),
|
|
732
700
|
),
|
|
733
701
|
});
|
|
@@ -788,9 +756,9 @@ export namespace CommercialSecuredLoanCommercialApplicationRelationshipsCustomer
|
|
|
788
756
|
}
|
|
789
757
|
|
|
790
758
|
/** @internal */
|
|
791
|
-
export const
|
|
759
|
+
export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$inboundSchema:
|
|
792
760
|
z.ZodType<
|
|
793
|
-
|
|
761
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData,
|
|
794
762
|
z.ZodTypeDef,
|
|
795
763
|
unknown
|
|
796
764
|
> = z.object({
|
|
@@ -802,7 +770,7 @@ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDat
|
|
|
802
770
|
});
|
|
803
771
|
|
|
804
772
|
/** @internal */
|
|
805
|
-
export type
|
|
773
|
+
export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$Outbound =
|
|
806
774
|
{
|
|
807
775
|
type: string;
|
|
808
776
|
attributes: CustomerAssetAttributes$Outbound;
|
|
@@ -811,11 +779,11 @@ export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData
|
|
|
811
779
|
};
|
|
812
780
|
|
|
813
781
|
/** @internal */
|
|
814
|
-
export const
|
|
782
|
+
export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$outboundSchema:
|
|
815
783
|
z.ZodType<
|
|
816
|
-
|
|
784
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$Outbound,
|
|
817
785
|
z.ZodTypeDef,
|
|
818
|
-
|
|
786
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData
|
|
819
787
|
> = z.object({
|
|
820
788
|
type:
|
|
821
789
|
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema,
|
|
@@ -828,42 +796,42 @@ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDat
|
|
|
828
796
|
* @internal
|
|
829
797
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
830
798
|
*/
|
|
831
|
-
export namespace
|
|
832
|
-
/** @deprecated use `
|
|
799
|
+
export namespace CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$ {
|
|
800
|
+
/** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$inboundSchema` instead. */
|
|
833
801
|
export const inboundSchema =
|
|
834
|
-
|
|
835
|
-
/** @deprecated use `
|
|
802
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$inboundSchema;
|
|
803
|
+
/** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$outboundSchema` instead. */
|
|
836
804
|
export const outboundSchema =
|
|
837
|
-
|
|
838
|
-
/** @deprecated use `
|
|
805
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$outboundSchema;
|
|
806
|
+
/** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$Outbound` instead. */
|
|
839
807
|
export type Outbound =
|
|
840
|
-
|
|
808
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$Outbound;
|
|
841
809
|
}
|
|
842
810
|
|
|
843
|
-
export function
|
|
844
|
-
|
|
845
|
-
|
|
811
|
+
export function commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataDataToJSON(
|
|
812
|
+
commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData:
|
|
813
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData,
|
|
846
814
|
): string {
|
|
847
815
|
return JSON.stringify(
|
|
848
|
-
|
|
816
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$outboundSchema
|
|
849
817
|
.parse(
|
|
850
|
-
|
|
818
|
+
commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData,
|
|
851
819
|
),
|
|
852
820
|
);
|
|
853
821
|
}
|
|
854
822
|
|
|
855
|
-
export function
|
|
823
|
+
export function commercialSecuredLoanCommercialApplicationRelationshipsCustomersDataDataFromJSON(
|
|
856
824
|
jsonString: string,
|
|
857
825
|
): SafeParseResult<
|
|
858
|
-
|
|
826
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData,
|
|
859
827
|
SDKValidationError
|
|
860
828
|
> {
|
|
861
829
|
return safeParse(
|
|
862
830
|
jsonString,
|
|
863
831
|
(x) =>
|
|
864
|
-
|
|
832
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$inboundSchema
|
|
865
833
|
.parse(JSON.parse(x)),
|
|
866
|
-
`Failed to parse '
|
|
834
|
+
`Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData' from JSON`,
|
|
867
835
|
);
|
|
868
836
|
}
|
|
869
837
|
|
|
@@ -872,7 +840,7 @@ export const Assets$inboundSchema: z.ZodType<Assets, z.ZodTypeDef, unknown> = z
|
|
|
872
840
|
.object({
|
|
873
841
|
data: z.array(
|
|
874
842
|
z.lazy(() =>
|
|
875
|
-
|
|
843
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$inboundSchema
|
|
876
844
|
),
|
|
877
845
|
),
|
|
878
846
|
});
|
|
@@ -880,7 +848,7 @@ export const Assets$inboundSchema: z.ZodType<Assets, z.ZodTypeDef, unknown> = z
|
|
|
880
848
|
/** @internal */
|
|
881
849
|
export type Assets$Outbound = {
|
|
882
850
|
data: Array<
|
|
883
|
-
|
|
851
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$Outbound
|
|
884
852
|
>;
|
|
885
853
|
};
|
|
886
854
|
|
|
@@ -892,7 +860,7 @@ export const Assets$outboundSchema: z.ZodType<
|
|
|
892
860
|
> = z.object({
|
|
893
861
|
data: z.array(
|
|
894
862
|
z.lazy(() =>
|
|
895
|
-
|
|
863
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$outboundSchema
|
|
896
864
|
),
|
|
897
865
|
),
|
|
898
866
|
});
|
|
@@ -981,9 +949,9 @@ export function relationshipsFromJSON(
|
|
|
981
949
|
}
|
|
982
950
|
|
|
983
951
|
/** @internal */
|
|
984
|
-
export const
|
|
952
|
+
export const CommercialSecuredLoanCommercialApplicationRelationshipsData$inboundSchema:
|
|
985
953
|
z.ZodType<
|
|
986
|
-
|
|
954
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsData,
|
|
987
955
|
z.ZodTypeDef,
|
|
988
956
|
unknown
|
|
989
957
|
> = z.object({
|
|
@@ -996,7 +964,7 @@ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDat
|
|
|
996
964
|
});
|
|
997
965
|
|
|
998
966
|
/** @internal */
|
|
999
|
-
export type
|
|
967
|
+
export type CommercialSecuredLoanCommercialApplicationRelationshipsData$Outbound =
|
|
1000
968
|
{
|
|
1001
969
|
type: string;
|
|
1002
970
|
attributes: CustomerAttributes$Outbound;
|
|
@@ -1006,11 +974,11 @@ export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData
|
|
|
1006
974
|
};
|
|
1007
975
|
|
|
1008
976
|
/** @internal */
|
|
1009
|
-
export const
|
|
977
|
+
export const CommercialSecuredLoanCommercialApplicationRelationshipsData$outboundSchema:
|
|
1010
978
|
z.ZodType<
|
|
1011
|
-
|
|
979
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsData$Outbound,
|
|
1012
980
|
z.ZodTypeDef,
|
|
1013
|
-
|
|
981
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsData
|
|
1014
982
|
> = z.object({
|
|
1015
983
|
type:
|
|
1016
984
|
CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$outboundSchema,
|
|
@@ -1024,42 +992,40 @@ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDat
|
|
|
1024
992
|
* @internal
|
|
1025
993
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1026
994
|
*/
|
|
1027
|
-
export namespace
|
|
1028
|
-
/** @deprecated use `
|
|
995
|
+
export namespace CommercialSecuredLoanCommercialApplicationRelationshipsData$ {
|
|
996
|
+
/** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsData$inboundSchema` instead. */
|
|
1029
997
|
export const inboundSchema =
|
|
1030
|
-
|
|
1031
|
-
/** @deprecated use `
|
|
998
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsData$inboundSchema;
|
|
999
|
+
/** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsData$outboundSchema` instead. */
|
|
1032
1000
|
export const outboundSchema =
|
|
1033
|
-
|
|
1034
|
-
/** @deprecated use `
|
|
1001
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsData$outboundSchema;
|
|
1002
|
+
/** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsData$Outbound` instead. */
|
|
1035
1003
|
export type Outbound =
|
|
1036
|
-
|
|
1004
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsData$Outbound;
|
|
1037
1005
|
}
|
|
1038
1006
|
|
|
1039
|
-
export function
|
|
1040
|
-
|
|
1041
|
-
|
|
1007
|
+
export function commercialSecuredLoanCommercialApplicationRelationshipsDataToJSON(
|
|
1008
|
+
commercialSecuredLoanCommercialApplicationRelationshipsData:
|
|
1009
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsData,
|
|
1042
1010
|
): string {
|
|
1043
1011
|
return JSON.stringify(
|
|
1044
|
-
|
|
1045
|
-
.parse(
|
|
1046
|
-
commercialSecuredLoanCommercialApplicationRelationshipsCustomersData,
|
|
1047
|
-
),
|
|
1012
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsData$outboundSchema
|
|
1013
|
+
.parse(commercialSecuredLoanCommercialApplicationRelationshipsData),
|
|
1048
1014
|
);
|
|
1049
1015
|
}
|
|
1050
1016
|
|
|
1051
|
-
export function
|
|
1017
|
+
export function commercialSecuredLoanCommercialApplicationRelationshipsDataFromJSON(
|
|
1052
1018
|
jsonString: string,
|
|
1053
1019
|
): SafeParseResult<
|
|
1054
|
-
|
|
1020
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsData,
|
|
1055
1021
|
SDKValidationError
|
|
1056
1022
|
> {
|
|
1057
1023
|
return safeParse(
|
|
1058
1024
|
jsonString,
|
|
1059
1025
|
(x) =>
|
|
1060
|
-
|
|
1026
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsData$inboundSchema
|
|
1061
1027
|
.parse(JSON.parse(x)),
|
|
1062
|
-
`Failed to parse '
|
|
1028
|
+
`Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationshipsData' from JSON`,
|
|
1063
1029
|
);
|
|
1064
1030
|
}
|
|
1065
1031
|
|
|
@@ -1071,7 +1037,7 @@ export const Customers$inboundSchema: z.ZodType<
|
|
|
1071
1037
|
> = z.object({
|
|
1072
1038
|
data: z.array(
|
|
1073
1039
|
z.lazy(() =>
|
|
1074
|
-
|
|
1040
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsData$inboundSchema
|
|
1075
1041
|
),
|
|
1076
1042
|
),
|
|
1077
1043
|
});
|
|
@@ -1079,7 +1045,7 @@ export const Customers$inboundSchema: z.ZodType<
|
|
|
1079
1045
|
/** @internal */
|
|
1080
1046
|
export type Customers$Outbound = {
|
|
1081
1047
|
data: Array<
|
|
1082
|
-
|
|
1048
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsData$Outbound
|
|
1083
1049
|
>;
|
|
1084
1050
|
};
|
|
1085
1051
|
|
|
@@ -1091,7 +1057,7 @@ export const Customers$outboundSchema: z.ZodType<
|
|
|
1091
1057
|
> = z.object({
|
|
1092
1058
|
data: z.array(
|
|
1093
1059
|
z.lazy(() =>
|
|
1094
|
-
|
|
1060
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsData$outboundSchema
|
|
1095
1061
|
),
|
|
1096
1062
|
),
|
|
1097
1063
|
});
|
|
@@ -1230,74 +1196,54 @@ export function commercialSecuredLoanCommercialApplicationRelationshipsAssetData
|
|
|
1230
1196
|
}
|
|
1231
1197
|
|
|
1232
1198
|
/** @internal */
|
|
1233
|
-
export const
|
|
1234
|
-
|
|
1235
|
-
CommercialSecuredLoanCommercialApplicationRelationshipsAsset,
|
|
1236
|
-
z.ZodTypeDef,
|
|
1237
|
-
unknown
|
|
1238
|
-
> = z.object({
|
|
1199
|
+
export const Asset$inboundSchema: z.ZodType<Asset, z.ZodTypeDef, unknown> = z
|
|
1200
|
+
.object({
|
|
1239
1201
|
data: z.lazy(() =>
|
|
1240
1202
|
CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$inboundSchema
|
|
1241
1203
|
),
|
|
1242
1204
|
});
|
|
1243
1205
|
|
|
1244
1206
|
/** @internal */
|
|
1245
|
-
export type
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
};
|
|
1207
|
+
export type Asset$Outbound = {
|
|
1208
|
+
data:
|
|
1209
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$Outbound;
|
|
1210
|
+
};
|
|
1250
1211
|
|
|
1251
1212
|
/** @internal */
|
|
1252
|
-
export const
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
});
|
|
1213
|
+
export const Asset$outboundSchema: z.ZodType<
|
|
1214
|
+
Asset$Outbound,
|
|
1215
|
+
z.ZodTypeDef,
|
|
1216
|
+
Asset
|
|
1217
|
+
> = z.object({
|
|
1218
|
+
data: z.lazy(() =>
|
|
1219
|
+
CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$outboundSchema
|
|
1220
|
+
),
|
|
1221
|
+
});
|
|
1262
1222
|
|
|
1263
1223
|
/**
|
|
1264
1224
|
* @internal
|
|
1265
1225
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1266
1226
|
*/
|
|
1267
|
-
export namespace
|
|
1268
|
-
/** @deprecated use `
|
|
1269
|
-
export const inboundSchema =
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
/** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsAsset$Outbound` instead. */
|
|
1275
|
-
export type Outbound =
|
|
1276
|
-
CommercialSecuredLoanCommercialApplicationRelationshipsAsset$Outbound;
|
|
1227
|
+
export namespace Asset$ {
|
|
1228
|
+
/** @deprecated use `Asset$inboundSchema` instead. */
|
|
1229
|
+
export const inboundSchema = Asset$inboundSchema;
|
|
1230
|
+
/** @deprecated use `Asset$outboundSchema` instead. */
|
|
1231
|
+
export const outboundSchema = Asset$outboundSchema;
|
|
1232
|
+
/** @deprecated use `Asset$Outbound` instead. */
|
|
1233
|
+
export type Outbound = Asset$Outbound;
|
|
1277
1234
|
}
|
|
1278
1235
|
|
|
1279
|
-
export function
|
|
1280
|
-
|
|
1281
|
-
CommercialSecuredLoanCommercialApplicationRelationshipsAsset,
|
|
1282
|
-
): string {
|
|
1283
|
-
return JSON.stringify(
|
|
1284
|
-
CommercialSecuredLoanCommercialApplicationRelationshipsAsset$outboundSchema
|
|
1285
|
-
.parse(commercialSecuredLoanCommercialApplicationRelationshipsAsset),
|
|
1286
|
-
);
|
|
1236
|
+
export function assetToJSON(asset: Asset): string {
|
|
1237
|
+
return JSON.stringify(Asset$outboundSchema.parse(asset));
|
|
1287
1238
|
}
|
|
1288
1239
|
|
|
1289
|
-
export function
|
|
1240
|
+
export function assetFromJSON(
|
|
1290
1241
|
jsonString: string,
|
|
1291
|
-
): SafeParseResult<
|
|
1292
|
-
CommercialSecuredLoanCommercialApplicationRelationshipsAsset,
|
|
1293
|
-
SDKValidationError
|
|
1294
|
-
> {
|
|
1242
|
+
): SafeParseResult<Asset, SDKValidationError> {
|
|
1295
1243
|
return safeParse(
|
|
1296
1244
|
jsonString,
|
|
1297
|
-
(x) =>
|
|
1298
|
-
|
|
1299
|
-
.parse(JSON.parse(x)),
|
|
1300
|
-
`Failed to parse 'CommercialSecuredLoanCommercialApplicationRelationshipsAsset' from JSON`,
|
|
1245
|
+
(x) => Asset$inboundSchema.parse(JSON.parse(x)),
|
|
1246
|
+
`Failed to parse 'Asset' from JSON`,
|
|
1301
1247
|
);
|
|
1302
1248
|
}
|
|
1303
1249
|
|
|
@@ -1478,9 +1424,7 @@ export const CommercialSecuredLoanCommercialApplicationRelationships$inboundSche
|
|
|
1478
1424
|
> = z.object({
|
|
1479
1425
|
loanDetails: z.lazy(() => LoanDetails$inboundSchema).optional(),
|
|
1480
1426
|
customers: z.lazy(() => Customers$inboundSchema).optional(),
|
|
1481
|
-
asset: z.lazy(() =>
|
|
1482
|
-
CommercialSecuredLoanCommercialApplicationRelationshipsAsset$inboundSchema
|
|
1483
|
-
).optional(),
|
|
1427
|
+
asset: z.lazy(() => Asset$inboundSchema).optional(),
|
|
1484
1428
|
entities: z.lazy(() => Entities$inboundSchema).optional(),
|
|
1485
1429
|
});
|
|
1486
1430
|
|
|
@@ -1488,9 +1432,7 @@ export const CommercialSecuredLoanCommercialApplicationRelationships$inboundSche
|
|
|
1488
1432
|
export type CommercialSecuredLoanCommercialApplicationRelationships$Outbound = {
|
|
1489
1433
|
loanDetails?: LoanDetails$Outbound | undefined;
|
|
1490
1434
|
customers?: Customers$Outbound | undefined;
|
|
1491
|
-
asset?:
|
|
1492
|
-
| CommercialSecuredLoanCommercialApplicationRelationshipsAsset$Outbound
|
|
1493
|
-
| undefined;
|
|
1435
|
+
asset?: Asset$Outbound | undefined;
|
|
1494
1436
|
entities?: Entities$Outbound | undefined;
|
|
1495
1437
|
};
|
|
1496
1438
|
|
|
@@ -1503,9 +1445,7 @@ export const CommercialSecuredLoanCommercialApplicationRelationships$outboundSch
|
|
|
1503
1445
|
> = z.object({
|
|
1504
1446
|
loanDetails: z.lazy(() => LoanDetails$outboundSchema).optional(),
|
|
1505
1447
|
customers: z.lazy(() => Customers$outboundSchema).optional(),
|
|
1506
|
-
asset: z.lazy(() =>
|
|
1507
|
-
CommercialSecuredLoanCommercialApplicationRelationshipsAsset$outboundSchema
|
|
1508
|
-
).optional(),
|
|
1448
|
+
asset: z.lazy(() => Asset$outboundSchema).optional(),
|
|
1509
1449
|
entities: z.lazy(() => Entities$outboundSchema).optional(),
|
|
1510
1450
|
});
|
|
1511
1451
|
|