@financeable/aggregation 0.4.2 → 0.5.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 +18 -0
- package/README.md +101 -711
- package/docs/sdks/applications/README.md +36 -0
- package/docs/sdks/oauthtoken/README.md +5 -5
- package/funcs/{oauthTokenOauthToken.d.ts → oauthTokenGet.d.ts} +2 -2
- package/funcs/oauthTokenGet.d.ts.map +1 -0
- package/funcs/{oauthTokenOauthToken.js → oauthTokenGet.js} +3 -3
- package/funcs/oauthTokenGet.js.map +1 -0
- package/hooks/types.d.ts +1 -1
- package/hooks/types.d.ts.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/security.d.ts +4 -3
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +6 -1
- package/lib/security.js.map +1 -1
- package/models/components/addressattributes.d.ts +2 -1
- package/models/components/addressattributes.d.ts.map +1 -1
- package/models/components/addressattributes.js +3 -2
- package/models/components/addressattributes.js.map +1 -1
- package/models/components/applicationresourcebulksubmission.d.ts +139 -56
- package/models/components/applicationresourcebulksubmission.d.ts.map +1 -1
- package/models/components/applicationresourcebulksubmission.js +147 -68
- package/models/components/applicationresourcebulksubmission.js.map +1 -1
- package/models/components/australianstatesandterritories.d.ts +46 -0
- package/models/components/australianstatesandterritories.d.ts.map +1 -0
- package/models/components/australianstatesandterritories.js +66 -0
- package/models/components/australianstatesandterritories.js.map +1 -0
- package/models/components/entityattributes.d.ts +61 -0
- package/models/components/entityattributes.d.ts.map +1 -0
- package/models/components/entityattributes.js +98 -0
- package/models/components/entityattributes.js.map +1 -0
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/tokenrequest.d.ts +2 -2
- package/models/operations/createapplication.d.ts +239 -82
- package/models/operations/createapplication.d.ts.map +1 -1
- package/models/operations/createapplication.js +273 -108
- package/models/operations/createapplication.js.map +1 -1
- package/models/operations/getapplication.d.ts +211 -54
- package/models/operations/getapplication.d.ts.map +1 -1
- package/models/operations/getapplication.js +241 -72
- package/models/operations/getapplication.js.map +1 -1
- package/models/operations/getapplications.d.ts +183 -26
- package/models/operations/getapplications.d.ts.map +1 -1
- package/models/operations/getapplications.js +199 -34
- package/models/operations/getapplications.js.map +1 -1
- package/package.json +1 -1
- package/sdk/oauthtoken.d.ts +1 -1
- package/sdk/oauthtoken.d.ts.map +1 -1
- package/sdk/oauthtoken.js +3 -3
- package/sdk/oauthtoken.js.map +1 -1
- package/src/funcs/{oauthTokenOauthToken.ts → oauthTokenGet.ts} +1 -1
- package/src/hooks/types.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +11 -3
- package/src/models/components/addressattributes.ts +8 -3
- package/src/models/components/applicationresourcebulksubmission.ts +316 -126
- package/src/models/components/australianstatesandterritories.ts +41 -0
- package/src/models/components/entityattributes.ts +130 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/tokenrequest.ts +2 -2
- package/src/models/operations/createapplication.ts +609 -208
- package/src/models/operations/getapplication.ts +558 -141
- package/src/models/operations/getapplications.ts +454 -53
- package/src/sdk/oauthtoken.ts +3 -3
- package/funcs/oauthTokenOauthToken.d.ts.map +0 -1
- package/funcs/oauthTokenOauthToken.js.map +0 -1
|
@@ -25,7 +25,7 @@ export type GetApplicationDataApplicationsType = ClosedEnum<
|
|
|
25
25
|
typeof GetApplicationDataApplicationsType
|
|
26
26
|
>;
|
|
27
27
|
|
|
28
|
-
export type
|
|
28
|
+
export type GetApplicationDataApplicationsResponse200ApplicationJson2 = {
|
|
29
29
|
type: GetApplicationDataApplicationsType;
|
|
30
30
|
id: string;
|
|
31
31
|
};
|
|
@@ -35,19 +35,19 @@ export const GetApplicationDataType = {
|
|
|
35
35
|
} as const;
|
|
36
36
|
export type GetApplicationDataType = ClosedEnum<typeof GetApplicationDataType>;
|
|
37
37
|
|
|
38
|
-
export type
|
|
38
|
+
export type GetApplicationDataApplicationsResponse200ApplicationJson1 = {
|
|
39
39
|
type: GetApplicationDataType;
|
|
40
40
|
id: string;
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
-
export type
|
|
44
|
-
|
|
|
45
|
-
| Array<
|
|
43
|
+
export type GetApplicationApplicationsResponse200ApplicationJSONData =
|
|
44
|
+
| GetApplicationDataApplicationsResponse200ApplicationJson1
|
|
45
|
+
| Array<GetApplicationDataApplicationsResponse200ApplicationJson2>;
|
|
46
46
|
|
|
47
47
|
export type GetApplicationLoanDetails = {
|
|
48
48
|
data:
|
|
49
|
-
|
|
|
50
|
-
| Array<
|
|
49
|
+
| GetApplicationDataApplicationsResponse200ApplicationJson1
|
|
50
|
+
| Array<GetApplicationDataApplicationsResponse200ApplicationJson2>
|
|
51
51
|
| null;
|
|
52
52
|
/**
|
|
53
53
|
* Standard link object
|
|
@@ -80,7 +80,7 @@ export type GetApplicationDataApplications1 = {
|
|
|
80
80
|
id: string;
|
|
81
81
|
};
|
|
82
82
|
|
|
83
|
-
export type
|
|
83
|
+
export type GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData =
|
|
84
84
|
| GetApplicationDataApplications1
|
|
85
85
|
| Array<GetApplicationDataApplications2>;
|
|
86
86
|
|
|
@@ -140,10 +140,57 @@ export type GetApplicationAsset = {
|
|
|
140
140
|
meta?: { [k: string]: any } | undefined;
|
|
141
141
|
};
|
|
142
142
|
|
|
143
|
+
export const GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType =
|
|
144
|
+
{
|
|
145
|
+
Entities: "entities",
|
|
146
|
+
} as const;
|
|
147
|
+
export type GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType =
|
|
148
|
+
ClosedEnum<
|
|
149
|
+
typeof GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType
|
|
150
|
+
>;
|
|
151
|
+
|
|
152
|
+
export type GetApplicationDataApplicationsResponse2002 = {
|
|
153
|
+
type:
|
|
154
|
+
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType;
|
|
155
|
+
id: string;
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
export const GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType =
|
|
159
|
+
{
|
|
160
|
+
Entities: "entities",
|
|
161
|
+
} as const;
|
|
162
|
+
export type GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType =
|
|
163
|
+
ClosedEnum<
|
|
164
|
+
typeof GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType
|
|
165
|
+
>;
|
|
166
|
+
|
|
167
|
+
export type GetApplicationDataApplicationsResponse2001 = {
|
|
168
|
+
type:
|
|
169
|
+
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType;
|
|
170
|
+
id: string;
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
export type GetApplicationApplicationsResponse200Data =
|
|
174
|
+
| GetApplicationDataApplicationsResponse2001
|
|
175
|
+
| Array<GetApplicationDataApplicationsResponse2002>;
|
|
176
|
+
|
|
177
|
+
export type GetApplicationEntities = {
|
|
178
|
+
data:
|
|
179
|
+
| GetApplicationDataApplicationsResponse2001
|
|
180
|
+
| Array<GetApplicationDataApplicationsResponse2002>
|
|
181
|
+
| null;
|
|
182
|
+
/**
|
|
183
|
+
* Standard link object
|
|
184
|
+
*/
|
|
185
|
+
links?: components.Links | undefined;
|
|
186
|
+
meta?: { [k: string]: any } | undefined;
|
|
187
|
+
};
|
|
188
|
+
|
|
143
189
|
export type GetApplicationRelationships = {
|
|
144
190
|
loanDetails?: GetApplicationLoanDetails | undefined;
|
|
145
191
|
customers?: GetApplicationCustomers | undefined;
|
|
146
192
|
asset?: GetApplicationAsset | undefined;
|
|
193
|
+
entities?: GetApplicationEntities | undefined;
|
|
147
194
|
};
|
|
148
195
|
|
|
149
196
|
export type GetApplicationData = {
|
|
@@ -310,25 +357,29 @@ export namespace GetApplicationDataApplicationsType$ {
|
|
|
310
357
|
}
|
|
311
358
|
|
|
312
359
|
/** @internal */
|
|
313
|
-
export const
|
|
314
|
-
z.ZodType<
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
360
|
+
export const GetApplicationDataApplicationsResponse200ApplicationJson2$inboundSchema:
|
|
361
|
+
z.ZodType<
|
|
362
|
+
GetApplicationDataApplicationsResponse200ApplicationJson2,
|
|
363
|
+
z.ZodTypeDef,
|
|
364
|
+
unknown
|
|
365
|
+
> = z.object({
|
|
366
|
+
type: GetApplicationDataApplicationsType$inboundSchema,
|
|
367
|
+
id: z.string(),
|
|
368
|
+
});
|
|
319
369
|
|
|
320
370
|
/** @internal */
|
|
321
|
-
export type
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
371
|
+
export type GetApplicationDataApplicationsResponse200ApplicationJson2$Outbound =
|
|
372
|
+
{
|
|
373
|
+
type: string;
|
|
374
|
+
id: string;
|
|
375
|
+
};
|
|
325
376
|
|
|
326
377
|
/** @internal */
|
|
327
|
-
export const
|
|
378
|
+
export const GetApplicationDataApplicationsResponse200ApplicationJson2$outboundSchema:
|
|
328
379
|
z.ZodType<
|
|
329
|
-
|
|
380
|
+
GetApplicationDataApplicationsResponse200ApplicationJson2$Outbound,
|
|
330
381
|
z.ZodTypeDef,
|
|
331
|
-
|
|
382
|
+
GetApplicationDataApplicationsResponse200ApplicationJson2
|
|
332
383
|
> = z.object({
|
|
333
384
|
type: GetApplicationDataApplicationsType$outboundSchema,
|
|
334
385
|
id: z.string(),
|
|
@@ -338,41 +389,40 @@ export const GetApplicationDataApplicationsResponse2002$outboundSchema:
|
|
|
338
389
|
* @internal
|
|
339
390
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
340
391
|
*/
|
|
341
|
-
export namespace
|
|
342
|
-
/** @deprecated use `
|
|
392
|
+
export namespace GetApplicationDataApplicationsResponse200ApplicationJson2$ {
|
|
393
|
+
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJson2$inboundSchema` instead. */
|
|
343
394
|
export const inboundSchema =
|
|
344
|
-
|
|
345
|
-
/** @deprecated use `
|
|
395
|
+
GetApplicationDataApplicationsResponse200ApplicationJson2$inboundSchema;
|
|
396
|
+
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJson2$outboundSchema` instead. */
|
|
346
397
|
export const outboundSchema =
|
|
347
|
-
|
|
348
|
-
/** @deprecated use `
|
|
349
|
-
export type Outbound =
|
|
398
|
+
GetApplicationDataApplicationsResponse200ApplicationJson2$outboundSchema;
|
|
399
|
+
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJson2$Outbound` instead. */
|
|
400
|
+
export type Outbound =
|
|
401
|
+
GetApplicationDataApplicationsResponse200ApplicationJson2$Outbound;
|
|
350
402
|
}
|
|
351
403
|
|
|
352
|
-
export function
|
|
353
|
-
|
|
354
|
-
|
|
404
|
+
export function getApplicationDataApplicationsResponse200ApplicationJSON2ToJSON(
|
|
405
|
+
getApplicationDataApplicationsResponse200ApplicationJson2:
|
|
406
|
+
GetApplicationDataApplicationsResponse200ApplicationJson2,
|
|
355
407
|
): string {
|
|
356
408
|
return JSON.stringify(
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
),
|
|
409
|
+
GetApplicationDataApplicationsResponse200ApplicationJson2$outboundSchema
|
|
410
|
+
.parse(getApplicationDataApplicationsResponse200ApplicationJson2),
|
|
360
411
|
);
|
|
361
412
|
}
|
|
362
413
|
|
|
363
|
-
export function
|
|
414
|
+
export function getApplicationDataApplicationsResponse200ApplicationJSON2FromJSON(
|
|
364
415
|
jsonString: string,
|
|
365
416
|
): SafeParseResult<
|
|
366
|
-
|
|
417
|
+
GetApplicationDataApplicationsResponse200ApplicationJson2,
|
|
367
418
|
SDKValidationError
|
|
368
419
|
> {
|
|
369
420
|
return safeParse(
|
|
370
421
|
jsonString,
|
|
371
422
|
(x) =>
|
|
372
|
-
|
|
373
|
-
JSON.parse(x),
|
|
374
|
-
|
|
375
|
-
`Failed to parse 'GetApplicationDataApplicationsResponse2002' from JSON`,
|
|
423
|
+
GetApplicationDataApplicationsResponse200ApplicationJson2$inboundSchema
|
|
424
|
+
.parse(JSON.parse(x)),
|
|
425
|
+
`Failed to parse 'GetApplicationDataApplicationsResponse200ApplicationJson2' from JSON`,
|
|
376
426
|
);
|
|
377
427
|
}
|
|
378
428
|
|
|
@@ -398,25 +448,29 @@ export namespace GetApplicationDataType$ {
|
|
|
398
448
|
}
|
|
399
449
|
|
|
400
450
|
/** @internal */
|
|
401
|
-
export const
|
|
402
|
-
z.ZodType<
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
451
|
+
export const GetApplicationDataApplicationsResponse200ApplicationJson1$inboundSchema:
|
|
452
|
+
z.ZodType<
|
|
453
|
+
GetApplicationDataApplicationsResponse200ApplicationJson1,
|
|
454
|
+
z.ZodTypeDef,
|
|
455
|
+
unknown
|
|
456
|
+
> = z.object({
|
|
457
|
+
type: GetApplicationDataType$inboundSchema,
|
|
458
|
+
id: z.string(),
|
|
459
|
+
});
|
|
407
460
|
|
|
408
461
|
/** @internal */
|
|
409
|
-
export type
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
462
|
+
export type GetApplicationDataApplicationsResponse200ApplicationJson1$Outbound =
|
|
463
|
+
{
|
|
464
|
+
type: string;
|
|
465
|
+
id: string;
|
|
466
|
+
};
|
|
413
467
|
|
|
414
468
|
/** @internal */
|
|
415
|
-
export const
|
|
469
|
+
export const GetApplicationDataApplicationsResponse200ApplicationJson1$outboundSchema:
|
|
416
470
|
z.ZodType<
|
|
417
|
-
|
|
471
|
+
GetApplicationDataApplicationsResponse200ApplicationJson1$Outbound,
|
|
418
472
|
z.ZodTypeDef,
|
|
419
|
-
|
|
473
|
+
GetApplicationDataApplicationsResponse200ApplicationJson1
|
|
420
474
|
> = z.object({
|
|
421
475
|
type: GetApplicationDataType$outboundSchema,
|
|
422
476
|
id: z.string(),
|
|
@@ -426,71 +480,79 @@ export const GetApplicationDataApplicationsResponse2001$outboundSchema:
|
|
|
426
480
|
* @internal
|
|
427
481
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
428
482
|
*/
|
|
429
|
-
export namespace
|
|
430
|
-
/** @deprecated use `
|
|
483
|
+
export namespace GetApplicationDataApplicationsResponse200ApplicationJson1$ {
|
|
484
|
+
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJson1$inboundSchema` instead. */
|
|
431
485
|
export const inboundSchema =
|
|
432
|
-
|
|
433
|
-
/** @deprecated use `
|
|
486
|
+
GetApplicationDataApplicationsResponse200ApplicationJson1$inboundSchema;
|
|
487
|
+
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJson1$outboundSchema` instead. */
|
|
434
488
|
export const outboundSchema =
|
|
435
|
-
|
|
436
|
-
/** @deprecated use `
|
|
437
|
-
export type Outbound =
|
|
489
|
+
GetApplicationDataApplicationsResponse200ApplicationJson1$outboundSchema;
|
|
490
|
+
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJson1$Outbound` instead. */
|
|
491
|
+
export type Outbound =
|
|
492
|
+
GetApplicationDataApplicationsResponse200ApplicationJson1$Outbound;
|
|
438
493
|
}
|
|
439
494
|
|
|
440
|
-
export function
|
|
441
|
-
|
|
442
|
-
|
|
495
|
+
export function getApplicationDataApplicationsResponse200ApplicationJSON1ToJSON(
|
|
496
|
+
getApplicationDataApplicationsResponse200ApplicationJson1:
|
|
497
|
+
GetApplicationDataApplicationsResponse200ApplicationJson1,
|
|
443
498
|
): string {
|
|
444
499
|
return JSON.stringify(
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
),
|
|
500
|
+
GetApplicationDataApplicationsResponse200ApplicationJson1$outboundSchema
|
|
501
|
+
.parse(getApplicationDataApplicationsResponse200ApplicationJson1),
|
|
448
502
|
);
|
|
449
503
|
}
|
|
450
504
|
|
|
451
|
-
export function
|
|
505
|
+
export function getApplicationDataApplicationsResponse200ApplicationJSON1FromJSON(
|
|
452
506
|
jsonString: string,
|
|
453
507
|
): SafeParseResult<
|
|
454
|
-
|
|
508
|
+
GetApplicationDataApplicationsResponse200ApplicationJson1,
|
|
455
509
|
SDKValidationError
|
|
456
510
|
> {
|
|
457
511
|
return safeParse(
|
|
458
512
|
jsonString,
|
|
459
513
|
(x) =>
|
|
460
|
-
|
|
461
|
-
JSON.parse(x),
|
|
462
|
-
|
|
463
|
-
`Failed to parse 'GetApplicationDataApplicationsResponse2001' from JSON`,
|
|
514
|
+
GetApplicationDataApplicationsResponse200ApplicationJson1$inboundSchema
|
|
515
|
+
.parse(JSON.parse(x)),
|
|
516
|
+
`Failed to parse 'GetApplicationDataApplicationsResponse200ApplicationJson1' from JSON`,
|
|
464
517
|
);
|
|
465
518
|
}
|
|
466
519
|
|
|
467
520
|
/** @internal */
|
|
468
|
-
export const
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
z.
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
521
|
+
export const GetApplicationApplicationsResponse200ApplicationJSONData$inboundSchema:
|
|
522
|
+
z.ZodType<
|
|
523
|
+
GetApplicationApplicationsResponse200ApplicationJSONData,
|
|
524
|
+
z.ZodTypeDef,
|
|
525
|
+
unknown
|
|
526
|
+
> = z.union([
|
|
527
|
+
z.lazy(() =>
|
|
528
|
+
GetApplicationDataApplicationsResponse200ApplicationJson1$inboundSchema
|
|
529
|
+
),
|
|
530
|
+
z.array(
|
|
531
|
+
z.lazy(() =>
|
|
532
|
+
GetApplicationDataApplicationsResponse200ApplicationJson2$inboundSchema
|
|
533
|
+
),
|
|
534
|
+
),
|
|
535
|
+
]);
|
|
478
536
|
|
|
479
537
|
/** @internal */
|
|
480
|
-
export type
|
|
481
|
-
|
|
|
482
|
-
| Array<
|
|
538
|
+
export type GetApplicationApplicationsResponse200ApplicationJSONData$Outbound =
|
|
539
|
+
| GetApplicationDataApplicationsResponse200ApplicationJson1$Outbound
|
|
540
|
+
| Array<GetApplicationDataApplicationsResponse200ApplicationJson2$Outbound>;
|
|
483
541
|
|
|
484
542
|
/** @internal */
|
|
485
|
-
export const
|
|
543
|
+
export const GetApplicationApplicationsResponse200ApplicationJSONData$outboundSchema:
|
|
486
544
|
z.ZodType<
|
|
487
|
-
|
|
545
|
+
GetApplicationApplicationsResponse200ApplicationJSONData$Outbound,
|
|
488
546
|
z.ZodTypeDef,
|
|
489
|
-
|
|
547
|
+
GetApplicationApplicationsResponse200ApplicationJSONData
|
|
490
548
|
> = z.union([
|
|
491
|
-
z.lazy(() =>
|
|
549
|
+
z.lazy(() =>
|
|
550
|
+
GetApplicationDataApplicationsResponse200ApplicationJson1$outboundSchema
|
|
551
|
+
),
|
|
492
552
|
z.array(
|
|
493
|
-
z.lazy(() =>
|
|
553
|
+
z.lazy(() =>
|
|
554
|
+
GetApplicationDataApplicationsResponse200ApplicationJson2$outboundSchema
|
|
555
|
+
),
|
|
494
556
|
),
|
|
495
557
|
]);
|
|
496
558
|
|
|
@@ -498,41 +560,40 @@ export const GetApplicationApplicationsResponse200Data$outboundSchema:
|
|
|
498
560
|
* @internal
|
|
499
561
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
500
562
|
*/
|
|
501
|
-
export namespace
|
|
502
|
-
/** @deprecated use `
|
|
563
|
+
export namespace GetApplicationApplicationsResponse200ApplicationJSONData$ {
|
|
564
|
+
/** @deprecated use `GetApplicationApplicationsResponse200ApplicationJSONData$inboundSchema` instead. */
|
|
503
565
|
export const inboundSchema =
|
|
504
|
-
|
|
505
|
-
/** @deprecated use `
|
|
566
|
+
GetApplicationApplicationsResponse200ApplicationJSONData$inboundSchema;
|
|
567
|
+
/** @deprecated use `GetApplicationApplicationsResponse200ApplicationJSONData$outboundSchema` instead. */
|
|
506
568
|
export const outboundSchema =
|
|
507
|
-
|
|
508
|
-
/** @deprecated use `
|
|
509
|
-
export type Outbound =
|
|
569
|
+
GetApplicationApplicationsResponse200ApplicationJSONData$outboundSchema;
|
|
570
|
+
/** @deprecated use `GetApplicationApplicationsResponse200ApplicationJSONData$Outbound` instead. */
|
|
571
|
+
export type Outbound =
|
|
572
|
+
GetApplicationApplicationsResponse200ApplicationJSONData$Outbound;
|
|
510
573
|
}
|
|
511
574
|
|
|
512
|
-
export function
|
|
513
|
-
|
|
514
|
-
|
|
575
|
+
export function getApplicationApplicationsResponse200ApplicationJSONDataToJSON(
|
|
576
|
+
getApplicationApplicationsResponse200ApplicationJSONData:
|
|
577
|
+
GetApplicationApplicationsResponse200ApplicationJSONData,
|
|
515
578
|
): string {
|
|
516
579
|
return JSON.stringify(
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
),
|
|
580
|
+
GetApplicationApplicationsResponse200ApplicationJSONData$outboundSchema
|
|
581
|
+
.parse(getApplicationApplicationsResponse200ApplicationJSONData),
|
|
520
582
|
);
|
|
521
583
|
}
|
|
522
584
|
|
|
523
|
-
export function
|
|
585
|
+
export function getApplicationApplicationsResponse200ApplicationJSONDataFromJSON(
|
|
524
586
|
jsonString: string,
|
|
525
587
|
): SafeParseResult<
|
|
526
|
-
|
|
588
|
+
GetApplicationApplicationsResponse200ApplicationJSONData,
|
|
527
589
|
SDKValidationError
|
|
528
590
|
> {
|
|
529
591
|
return safeParse(
|
|
530
592
|
jsonString,
|
|
531
593
|
(x) =>
|
|
532
|
-
|
|
533
|
-
JSON.parse(x),
|
|
534
|
-
|
|
535
|
-
`Failed to parse 'GetApplicationApplicationsResponse200Data' from JSON`,
|
|
594
|
+
GetApplicationApplicationsResponse200ApplicationJSONData$inboundSchema
|
|
595
|
+
.parse(JSON.parse(x)),
|
|
596
|
+
`Failed to parse 'GetApplicationApplicationsResponse200ApplicationJSONData' from JSON`,
|
|
536
597
|
);
|
|
537
598
|
}
|
|
538
599
|
|
|
@@ -544,10 +605,14 @@ export const GetApplicationLoanDetails$inboundSchema: z.ZodType<
|
|
|
544
605
|
> = z.object({
|
|
545
606
|
data: z.nullable(
|
|
546
607
|
z.union([
|
|
547
|
-
z.lazy(() =>
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
608
|
+
z.lazy(() =>
|
|
609
|
+
GetApplicationDataApplicationsResponse200ApplicationJson1$inboundSchema
|
|
610
|
+
),
|
|
611
|
+
z.array(
|
|
612
|
+
z.lazy(() =>
|
|
613
|
+
GetApplicationDataApplicationsResponse200ApplicationJson2$inboundSchema
|
|
614
|
+
),
|
|
615
|
+
),
|
|
551
616
|
]),
|
|
552
617
|
),
|
|
553
618
|
links: components.Links$inboundSchema.optional(),
|
|
@@ -557,8 +622,8 @@ export const GetApplicationLoanDetails$inboundSchema: z.ZodType<
|
|
|
557
622
|
/** @internal */
|
|
558
623
|
export type GetApplicationLoanDetails$Outbound = {
|
|
559
624
|
data:
|
|
560
|
-
|
|
|
561
|
-
| Array<
|
|
625
|
+
| GetApplicationDataApplicationsResponse200ApplicationJson1$Outbound
|
|
626
|
+
| Array<GetApplicationDataApplicationsResponse200ApplicationJson2$Outbound>
|
|
562
627
|
| null;
|
|
563
628
|
links?: components.Links$Outbound | undefined;
|
|
564
629
|
meta?: { [k: string]: any } | undefined;
|
|
@@ -572,10 +637,14 @@ export const GetApplicationLoanDetails$outboundSchema: z.ZodType<
|
|
|
572
637
|
> = z.object({
|
|
573
638
|
data: z.nullable(
|
|
574
639
|
z.union([
|
|
575
|
-
z.lazy(() =>
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
640
|
+
z.lazy(() =>
|
|
641
|
+
GetApplicationDataApplicationsResponse200ApplicationJson1$outboundSchema
|
|
642
|
+
),
|
|
643
|
+
z.array(
|
|
644
|
+
z.lazy(() =>
|
|
645
|
+
GetApplicationDataApplicationsResponse200ApplicationJson2$outboundSchema
|
|
646
|
+
),
|
|
647
|
+
),
|
|
579
648
|
]),
|
|
580
649
|
),
|
|
581
650
|
links: components.Links$outboundSchema.optional(),
|
|
@@ -778,9 +847,9 @@ export function getApplicationDataApplications1FromJSON(
|
|
|
778
847
|
}
|
|
779
848
|
|
|
780
849
|
/** @internal */
|
|
781
|
-
export const
|
|
850
|
+
export const GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$inboundSchema:
|
|
782
851
|
z.ZodType<
|
|
783
|
-
|
|
852
|
+
GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData,
|
|
784
853
|
z.ZodTypeDef,
|
|
785
854
|
unknown
|
|
786
855
|
> = z.union([
|
|
@@ -789,16 +858,16 @@ export const GetApplicationApplicationsResponse200ApplicationJSONData$inboundSch
|
|
|
789
858
|
]);
|
|
790
859
|
|
|
791
860
|
/** @internal */
|
|
792
|
-
export type
|
|
861
|
+
export type GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$Outbound =
|
|
793
862
|
| GetApplicationDataApplications1$Outbound
|
|
794
863
|
| Array<GetApplicationDataApplications2$Outbound>;
|
|
795
864
|
|
|
796
865
|
/** @internal */
|
|
797
|
-
export const
|
|
866
|
+
export const GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$outboundSchema:
|
|
798
867
|
z.ZodType<
|
|
799
|
-
|
|
868
|
+
GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$Outbound,
|
|
800
869
|
z.ZodTypeDef,
|
|
801
|
-
|
|
870
|
+
GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData
|
|
802
871
|
> = z.union([
|
|
803
872
|
z.lazy(() => GetApplicationDataApplications1$outboundSchema),
|
|
804
873
|
z.array(z.lazy(() => GetApplicationDataApplications2$outboundSchema)),
|
|
@@ -808,40 +877,42 @@ export const GetApplicationApplicationsResponse200ApplicationJSONData$outboundSc
|
|
|
808
877
|
* @internal
|
|
809
878
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
810
879
|
*/
|
|
811
|
-
export namespace
|
|
812
|
-
/** @deprecated use `
|
|
880
|
+
export namespace GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$ {
|
|
881
|
+
/** @deprecated use `GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$inboundSchema` instead. */
|
|
813
882
|
export const inboundSchema =
|
|
814
|
-
|
|
815
|
-
/** @deprecated use `
|
|
883
|
+
GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$inboundSchema;
|
|
884
|
+
/** @deprecated use `GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$outboundSchema` instead. */
|
|
816
885
|
export const outboundSchema =
|
|
817
|
-
|
|
818
|
-
/** @deprecated use `
|
|
886
|
+
GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$outboundSchema;
|
|
887
|
+
/** @deprecated use `GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$Outbound` instead. */
|
|
819
888
|
export type Outbound =
|
|
820
|
-
|
|
889
|
+
GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$Outbound;
|
|
821
890
|
}
|
|
822
891
|
|
|
823
|
-
export function
|
|
824
|
-
|
|
825
|
-
|
|
892
|
+
export function getApplicationApplicationsResponse200ApplicationJSONResponseBodyDataToJSON(
|
|
893
|
+
getApplicationApplicationsResponse200ApplicationJSONResponseBodyData:
|
|
894
|
+
GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData,
|
|
826
895
|
): string {
|
|
827
896
|
return JSON.stringify(
|
|
828
|
-
|
|
829
|
-
.parse(
|
|
897
|
+
GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$outboundSchema
|
|
898
|
+
.parse(
|
|
899
|
+
getApplicationApplicationsResponse200ApplicationJSONResponseBodyData,
|
|
900
|
+
),
|
|
830
901
|
);
|
|
831
902
|
}
|
|
832
903
|
|
|
833
|
-
export function
|
|
904
|
+
export function getApplicationApplicationsResponse200ApplicationJSONResponseBodyDataFromJSON(
|
|
834
905
|
jsonString: string,
|
|
835
906
|
): SafeParseResult<
|
|
836
|
-
|
|
907
|
+
GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData,
|
|
837
908
|
SDKValidationError
|
|
838
909
|
> {
|
|
839
910
|
return safeParse(
|
|
840
911
|
jsonString,
|
|
841
912
|
(x) =>
|
|
842
|
-
|
|
913
|
+
GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData$inboundSchema
|
|
843
914
|
.parse(JSON.parse(x)),
|
|
844
|
-
`Failed to parse '
|
|
915
|
+
`Failed to parse 'GetApplicationApplicationsResponse200ApplicationJSONResponseBodyData' from JSON`,
|
|
845
916
|
);
|
|
846
917
|
}
|
|
847
918
|
|
|
@@ -1253,6 +1324,349 @@ export function getApplicationAssetFromJSON(
|
|
|
1253
1324
|
);
|
|
1254
1325
|
}
|
|
1255
1326
|
|
|
1327
|
+
/** @internal */
|
|
1328
|
+
export const GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType$inboundSchema:
|
|
1329
|
+
z.ZodNativeEnum<
|
|
1330
|
+
typeof GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType
|
|
1331
|
+
> = z.nativeEnum(
|
|
1332
|
+
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType,
|
|
1333
|
+
);
|
|
1334
|
+
|
|
1335
|
+
/** @internal */
|
|
1336
|
+
export const GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType$outboundSchema:
|
|
1337
|
+
z.ZodNativeEnum<
|
|
1338
|
+
typeof GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType
|
|
1339
|
+
> =
|
|
1340
|
+
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType$inboundSchema;
|
|
1341
|
+
|
|
1342
|
+
/**
|
|
1343
|
+
* @internal
|
|
1344
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1345
|
+
*/
|
|
1346
|
+
export namespace GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType$ {
|
|
1347
|
+
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType$inboundSchema` instead. */
|
|
1348
|
+
export const inboundSchema =
|
|
1349
|
+
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType$inboundSchema;
|
|
1350
|
+
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType$outboundSchema` instead. */
|
|
1351
|
+
export const outboundSchema =
|
|
1352
|
+
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType$outboundSchema;
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
/** @internal */
|
|
1356
|
+
export const GetApplicationDataApplicationsResponse2002$inboundSchema:
|
|
1357
|
+
z.ZodType<GetApplicationDataApplicationsResponse2002, z.ZodTypeDef, unknown> =
|
|
1358
|
+
z.object({
|
|
1359
|
+
type:
|
|
1360
|
+
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType$inboundSchema,
|
|
1361
|
+
id: z.string(),
|
|
1362
|
+
});
|
|
1363
|
+
|
|
1364
|
+
/** @internal */
|
|
1365
|
+
export type GetApplicationDataApplicationsResponse2002$Outbound = {
|
|
1366
|
+
type: string;
|
|
1367
|
+
id: string;
|
|
1368
|
+
};
|
|
1369
|
+
|
|
1370
|
+
/** @internal */
|
|
1371
|
+
export const GetApplicationDataApplicationsResponse2002$outboundSchema:
|
|
1372
|
+
z.ZodType<
|
|
1373
|
+
GetApplicationDataApplicationsResponse2002$Outbound,
|
|
1374
|
+
z.ZodTypeDef,
|
|
1375
|
+
GetApplicationDataApplicationsResponse2002
|
|
1376
|
+
> = z.object({
|
|
1377
|
+
type:
|
|
1378
|
+
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataRelationshipsType$outboundSchema,
|
|
1379
|
+
id: z.string(),
|
|
1380
|
+
});
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* @internal
|
|
1384
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1385
|
+
*/
|
|
1386
|
+
export namespace GetApplicationDataApplicationsResponse2002$ {
|
|
1387
|
+
/** @deprecated use `GetApplicationDataApplicationsResponse2002$inboundSchema` instead. */
|
|
1388
|
+
export const inboundSchema =
|
|
1389
|
+
GetApplicationDataApplicationsResponse2002$inboundSchema;
|
|
1390
|
+
/** @deprecated use `GetApplicationDataApplicationsResponse2002$outboundSchema` instead. */
|
|
1391
|
+
export const outboundSchema =
|
|
1392
|
+
GetApplicationDataApplicationsResponse2002$outboundSchema;
|
|
1393
|
+
/** @deprecated use `GetApplicationDataApplicationsResponse2002$Outbound` instead. */
|
|
1394
|
+
export type Outbound = GetApplicationDataApplicationsResponse2002$Outbound;
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
export function getApplicationDataApplicationsResponse2002ToJSON(
|
|
1398
|
+
getApplicationDataApplicationsResponse2002:
|
|
1399
|
+
GetApplicationDataApplicationsResponse2002,
|
|
1400
|
+
): string {
|
|
1401
|
+
return JSON.stringify(
|
|
1402
|
+
GetApplicationDataApplicationsResponse2002$outboundSchema.parse(
|
|
1403
|
+
getApplicationDataApplicationsResponse2002,
|
|
1404
|
+
),
|
|
1405
|
+
);
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
export function getApplicationDataApplicationsResponse2002FromJSON(
|
|
1409
|
+
jsonString: string,
|
|
1410
|
+
): SafeParseResult<
|
|
1411
|
+
GetApplicationDataApplicationsResponse2002,
|
|
1412
|
+
SDKValidationError
|
|
1413
|
+
> {
|
|
1414
|
+
return safeParse(
|
|
1415
|
+
jsonString,
|
|
1416
|
+
(x) =>
|
|
1417
|
+
GetApplicationDataApplicationsResponse2002$inboundSchema.parse(
|
|
1418
|
+
JSON.parse(x),
|
|
1419
|
+
),
|
|
1420
|
+
`Failed to parse 'GetApplicationDataApplicationsResponse2002' from JSON`,
|
|
1421
|
+
);
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
/** @internal */
|
|
1425
|
+
export const GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType$inboundSchema:
|
|
1426
|
+
z.ZodNativeEnum<
|
|
1427
|
+
typeof GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType
|
|
1428
|
+
> = z.nativeEnum(
|
|
1429
|
+
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType,
|
|
1430
|
+
);
|
|
1431
|
+
|
|
1432
|
+
/** @internal */
|
|
1433
|
+
export const GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType$outboundSchema:
|
|
1434
|
+
z.ZodNativeEnum<
|
|
1435
|
+
typeof GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType
|
|
1436
|
+
> =
|
|
1437
|
+
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType$inboundSchema;
|
|
1438
|
+
|
|
1439
|
+
/**
|
|
1440
|
+
* @internal
|
|
1441
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1442
|
+
*/
|
|
1443
|
+
export namespace GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType$ {
|
|
1444
|
+
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType$inboundSchema` instead. */
|
|
1445
|
+
export const inboundSchema =
|
|
1446
|
+
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType$inboundSchema;
|
|
1447
|
+
/** @deprecated use `GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType$outboundSchema` instead. */
|
|
1448
|
+
export const outboundSchema =
|
|
1449
|
+
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType$outboundSchema;
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
/** @internal */
|
|
1453
|
+
export const GetApplicationDataApplicationsResponse2001$inboundSchema:
|
|
1454
|
+
z.ZodType<GetApplicationDataApplicationsResponse2001, z.ZodTypeDef, unknown> =
|
|
1455
|
+
z.object({
|
|
1456
|
+
type:
|
|
1457
|
+
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType$inboundSchema,
|
|
1458
|
+
id: z.string(),
|
|
1459
|
+
});
|
|
1460
|
+
|
|
1461
|
+
/** @internal */
|
|
1462
|
+
export type GetApplicationDataApplicationsResponse2001$Outbound = {
|
|
1463
|
+
type: string;
|
|
1464
|
+
id: string;
|
|
1465
|
+
};
|
|
1466
|
+
|
|
1467
|
+
/** @internal */
|
|
1468
|
+
export const GetApplicationDataApplicationsResponse2001$outboundSchema:
|
|
1469
|
+
z.ZodType<
|
|
1470
|
+
GetApplicationDataApplicationsResponse2001$Outbound,
|
|
1471
|
+
z.ZodTypeDef,
|
|
1472
|
+
GetApplicationDataApplicationsResponse2001
|
|
1473
|
+
> = z.object({
|
|
1474
|
+
type:
|
|
1475
|
+
GetApplicationDataApplicationsResponse200ApplicationJSONResponseBodyDataType$outboundSchema,
|
|
1476
|
+
id: z.string(),
|
|
1477
|
+
});
|
|
1478
|
+
|
|
1479
|
+
/**
|
|
1480
|
+
* @internal
|
|
1481
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1482
|
+
*/
|
|
1483
|
+
export namespace GetApplicationDataApplicationsResponse2001$ {
|
|
1484
|
+
/** @deprecated use `GetApplicationDataApplicationsResponse2001$inboundSchema` instead. */
|
|
1485
|
+
export const inboundSchema =
|
|
1486
|
+
GetApplicationDataApplicationsResponse2001$inboundSchema;
|
|
1487
|
+
/** @deprecated use `GetApplicationDataApplicationsResponse2001$outboundSchema` instead. */
|
|
1488
|
+
export const outboundSchema =
|
|
1489
|
+
GetApplicationDataApplicationsResponse2001$outboundSchema;
|
|
1490
|
+
/** @deprecated use `GetApplicationDataApplicationsResponse2001$Outbound` instead. */
|
|
1491
|
+
export type Outbound = GetApplicationDataApplicationsResponse2001$Outbound;
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1494
|
+
export function getApplicationDataApplicationsResponse2001ToJSON(
|
|
1495
|
+
getApplicationDataApplicationsResponse2001:
|
|
1496
|
+
GetApplicationDataApplicationsResponse2001,
|
|
1497
|
+
): string {
|
|
1498
|
+
return JSON.stringify(
|
|
1499
|
+
GetApplicationDataApplicationsResponse2001$outboundSchema.parse(
|
|
1500
|
+
getApplicationDataApplicationsResponse2001,
|
|
1501
|
+
),
|
|
1502
|
+
);
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
export function getApplicationDataApplicationsResponse2001FromJSON(
|
|
1506
|
+
jsonString: string,
|
|
1507
|
+
): SafeParseResult<
|
|
1508
|
+
GetApplicationDataApplicationsResponse2001,
|
|
1509
|
+
SDKValidationError
|
|
1510
|
+
> {
|
|
1511
|
+
return safeParse(
|
|
1512
|
+
jsonString,
|
|
1513
|
+
(x) =>
|
|
1514
|
+
GetApplicationDataApplicationsResponse2001$inboundSchema.parse(
|
|
1515
|
+
JSON.parse(x),
|
|
1516
|
+
),
|
|
1517
|
+
`Failed to parse 'GetApplicationDataApplicationsResponse2001' from JSON`,
|
|
1518
|
+
);
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
/** @internal */
|
|
1522
|
+
export const GetApplicationApplicationsResponse200Data$inboundSchema: z.ZodType<
|
|
1523
|
+
GetApplicationApplicationsResponse200Data,
|
|
1524
|
+
z.ZodTypeDef,
|
|
1525
|
+
unknown
|
|
1526
|
+
> = z.union([
|
|
1527
|
+
z.lazy(() => GetApplicationDataApplicationsResponse2001$inboundSchema),
|
|
1528
|
+
z.array(
|
|
1529
|
+
z.lazy(() => GetApplicationDataApplicationsResponse2002$inboundSchema),
|
|
1530
|
+
),
|
|
1531
|
+
]);
|
|
1532
|
+
|
|
1533
|
+
/** @internal */
|
|
1534
|
+
export type GetApplicationApplicationsResponse200Data$Outbound =
|
|
1535
|
+
| GetApplicationDataApplicationsResponse2001$Outbound
|
|
1536
|
+
| Array<GetApplicationDataApplicationsResponse2002$Outbound>;
|
|
1537
|
+
|
|
1538
|
+
/** @internal */
|
|
1539
|
+
export const GetApplicationApplicationsResponse200Data$outboundSchema:
|
|
1540
|
+
z.ZodType<
|
|
1541
|
+
GetApplicationApplicationsResponse200Data$Outbound,
|
|
1542
|
+
z.ZodTypeDef,
|
|
1543
|
+
GetApplicationApplicationsResponse200Data
|
|
1544
|
+
> = z.union([
|
|
1545
|
+
z.lazy(() => GetApplicationDataApplicationsResponse2001$outboundSchema),
|
|
1546
|
+
z.array(
|
|
1547
|
+
z.lazy(() => GetApplicationDataApplicationsResponse2002$outboundSchema),
|
|
1548
|
+
),
|
|
1549
|
+
]);
|
|
1550
|
+
|
|
1551
|
+
/**
|
|
1552
|
+
* @internal
|
|
1553
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1554
|
+
*/
|
|
1555
|
+
export namespace GetApplicationApplicationsResponse200Data$ {
|
|
1556
|
+
/** @deprecated use `GetApplicationApplicationsResponse200Data$inboundSchema` instead. */
|
|
1557
|
+
export const inboundSchema =
|
|
1558
|
+
GetApplicationApplicationsResponse200Data$inboundSchema;
|
|
1559
|
+
/** @deprecated use `GetApplicationApplicationsResponse200Data$outboundSchema` instead. */
|
|
1560
|
+
export const outboundSchema =
|
|
1561
|
+
GetApplicationApplicationsResponse200Data$outboundSchema;
|
|
1562
|
+
/** @deprecated use `GetApplicationApplicationsResponse200Data$Outbound` instead. */
|
|
1563
|
+
export type Outbound = GetApplicationApplicationsResponse200Data$Outbound;
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
export function getApplicationApplicationsResponse200DataToJSON(
|
|
1567
|
+
getApplicationApplicationsResponse200Data:
|
|
1568
|
+
GetApplicationApplicationsResponse200Data,
|
|
1569
|
+
): string {
|
|
1570
|
+
return JSON.stringify(
|
|
1571
|
+
GetApplicationApplicationsResponse200Data$outboundSchema.parse(
|
|
1572
|
+
getApplicationApplicationsResponse200Data,
|
|
1573
|
+
),
|
|
1574
|
+
);
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
export function getApplicationApplicationsResponse200DataFromJSON(
|
|
1578
|
+
jsonString: string,
|
|
1579
|
+
): SafeParseResult<
|
|
1580
|
+
GetApplicationApplicationsResponse200Data,
|
|
1581
|
+
SDKValidationError
|
|
1582
|
+
> {
|
|
1583
|
+
return safeParse(
|
|
1584
|
+
jsonString,
|
|
1585
|
+
(x) =>
|
|
1586
|
+
GetApplicationApplicationsResponse200Data$inboundSchema.parse(
|
|
1587
|
+
JSON.parse(x),
|
|
1588
|
+
),
|
|
1589
|
+
`Failed to parse 'GetApplicationApplicationsResponse200Data' from JSON`,
|
|
1590
|
+
);
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
/** @internal */
|
|
1594
|
+
export const GetApplicationEntities$inboundSchema: z.ZodType<
|
|
1595
|
+
GetApplicationEntities,
|
|
1596
|
+
z.ZodTypeDef,
|
|
1597
|
+
unknown
|
|
1598
|
+
> = z.object({
|
|
1599
|
+
data: z.nullable(
|
|
1600
|
+
z.union([
|
|
1601
|
+
z.lazy(() => GetApplicationDataApplicationsResponse2001$inboundSchema),
|
|
1602
|
+
z.array(z.lazy(() =>
|
|
1603
|
+
GetApplicationDataApplicationsResponse2002$inboundSchema
|
|
1604
|
+
)),
|
|
1605
|
+
]),
|
|
1606
|
+
),
|
|
1607
|
+
links: components.Links$inboundSchema.optional(),
|
|
1608
|
+
meta: z.record(z.any()).optional(),
|
|
1609
|
+
});
|
|
1610
|
+
|
|
1611
|
+
/** @internal */
|
|
1612
|
+
export type GetApplicationEntities$Outbound = {
|
|
1613
|
+
data:
|
|
1614
|
+
| GetApplicationDataApplicationsResponse2001$Outbound
|
|
1615
|
+
| Array<GetApplicationDataApplicationsResponse2002$Outbound>
|
|
1616
|
+
| null;
|
|
1617
|
+
links?: components.Links$Outbound | undefined;
|
|
1618
|
+
meta?: { [k: string]: any } | undefined;
|
|
1619
|
+
};
|
|
1620
|
+
|
|
1621
|
+
/** @internal */
|
|
1622
|
+
export const GetApplicationEntities$outboundSchema: z.ZodType<
|
|
1623
|
+
GetApplicationEntities$Outbound,
|
|
1624
|
+
z.ZodTypeDef,
|
|
1625
|
+
GetApplicationEntities
|
|
1626
|
+
> = z.object({
|
|
1627
|
+
data: z.nullable(
|
|
1628
|
+
z.union([
|
|
1629
|
+
z.lazy(() => GetApplicationDataApplicationsResponse2001$outboundSchema),
|
|
1630
|
+
z.array(z.lazy(() =>
|
|
1631
|
+
GetApplicationDataApplicationsResponse2002$outboundSchema
|
|
1632
|
+
)),
|
|
1633
|
+
]),
|
|
1634
|
+
),
|
|
1635
|
+
links: components.Links$outboundSchema.optional(),
|
|
1636
|
+
meta: z.record(z.any()).optional(),
|
|
1637
|
+
});
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* @internal
|
|
1641
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1642
|
+
*/
|
|
1643
|
+
export namespace GetApplicationEntities$ {
|
|
1644
|
+
/** @deprecated use `GetApplicationEntities$inboundSchema` instead. */
|
|
1645
|
+
export const inboundSchema = GetApplicationEntities$inboundSchema;
|
|
1646
|
+
/** @deprecated use `GetApplicationEntities$outboundSchema` instead. */
|
|
1647
|
+
export const outboundSchema = GetApplicationEntities$outboundSchema;
|
|
1648
|
+
/** @deprecated use `GetApplicationEntities$Outbound` instead. */
|
|
1649
|
+
export type Outbound = GetApplicationEntities$Outbound;
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
export function getApplicationEntitiesToJSON(
|
|
1653
|
+
getApplicationEntities: GetApplicationEntities,
|
|
1654
|
+
): string {
|
|
1655
|
+
return JSON.stringify(
|
|
1656
|
+
GetApplicationEntities$outboundSchema.parse(getApplicationEntities),
|
|
1657
|
+
);
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1660
|
+
export function getApplicationEntitiesFromJSON(
|
|
1661
|
+
jsonString: string,
|
|
1662
|
+
): SafeParseResult<GetApplicationEntities, SDKValidationError> {
|
|
1663
|
+
return safeParse(
|
|
1664
|
+
jsonString,
|
|
1665
|
+
(x) => GetApplicationEntities$inboundSchema.parse(JSON.parse(x)),
|
|
1666
|
+
`Failed to parse 'GetApplicationEntities' from JSON`,
|
|
1667
|
+
);
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1256
1670
|
/** @internal */
|
|
1257
1671
|
export const GetApplicationRelationships$inboundSchema: z.ZodType<
|
|
1258
1672
|
GetApplicationRelationships,
|
|
@@ -1262,6 +1676,7 @@ export const GetApplicationRelationships$inboundSchema: z.ZodType<
|
|
|
1262
1676
|
loanDetails: z.lazy(() => GetApplicationLoanDetails$inboundSchema).optional(),
|
|
1263
1677
|
customers: z.lazy(() => GetApplicationCustomers$inboundSchema).optional(),
|
|
1264
1678
|
asset: z.lazy(() => GetApplicationAsset$inboundSchema).optional(),
|
|
1679
|
+
entities: z.lazy(() => GetApplicationEntities$inboundSchema).optional(),
|
|
1265
1680
|
});
|
|
1266
1681
|
|
|
1267
1682
|
/** @internal */
|
|
@@ -1269,6 +1684,7 @@ export type GetApplicationRelationships$Outbound = {
|
|
|
1269
1684
|
loanDetails?: GetApplicationLoanDetails$Outbound | undefined;
|
|
1270
1685
|
customers?: GetApplicationCustomers$Outbound | undefined;
|
|
1271
1686
|
asset?: GetApplicationAsset$Outbound | undefined;
|
|
1687
|
+
entities?: GetApplicationEntities$Outbound | undefined;
|
|
1272
1688
|
};
|
|
1273
1689
|
|
|
1274
1690
|
/** @internal */
|
|
@@ -1281,6 +1697,7 @@ export const GetApplicationRelationships$outboundSchema: z.ZodType<
|
|
|
1281
1697
|
.optional(),
|
|
1282
1698
|
customers: z.lazy(() => GetApplicationCustomers$outboundSchema).optional(),
|
|
1283
1699
|
asset: z.lazy(() => GetApplicationAsset$outboundSchema).optional(),
|
|
1700
|
+
entities: z.lazy(() => GetApplicationEntities$outboundSchema).optional(),
|
|
1284
1701
|
});
|
|
1285
1702
|
|
|
1286
1703
|
/**
|