@financeable/aggregation 0.10.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/examples/applicationsCreate.example.ts +1 -1
  2. package/examples/package-lock.json +3 -3
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +3 -3
  5. package/lib/config.js +3 -3
  6. package/lib/config.js.map +1 -1
  7. package/lib/encodings.d.ts.map +1 -1
  8. package/lib/security.d.ts.map +1 -1
  9. package/lib/security.js.map +1 -1
  10. package/models/components/addressattributes.d.ts +18 -18
  11. package/models/components/addressattributes.d.ts.map +1 -1
  12. package/models/components/addressattributes.js.map +1 -1
  13. package/models/components/badrequesterror.d.ts +15 -15
  14. package/models/components/badrequesterror.d.ts.map +1 -1
  15. package/models/components/badrequesterror.js.map +1 -1
  16. package/models/components/commercialapplicationjsonapirelationships.d.ts +84 -84
  17. package/models/components/commercialapplicationjsonapirelationships.d.ts.map +1 -1
  18. package/models/components/commercialapplicationjsonapirelationships.js +47 -47
  19. package/models/components/commercialapplicationjsonapirelationships.js.map +1 -1
  20. package/models/components/commercialsecuredapplicationpayload.d.ts +27 -27
  21. package/models/components/commercialsecuredapplicationpayload.d.ts.map +1 -1
  22. package/models/components/commercialsecuredapplicationpayload.js.map +1 -1
  23. package/models/components/commercialsecuredapplicationresource.d.ts +36 -36
  24. package/models/components/commercialsecuredapplicationresource.d.ts.map +1 -1
  25. package/models/components/commercialsecuredapplicationresource.js.map +1 -1
  26. package/models/components/commercialsecuredloanassetattributes.d.ts +58 -58
  27. package/models/components/commercialsecuredloanassetattributes.d.ts.map +1 -1
  28. package/models/components/commercialsecuredloanassetattributes.js +16 -16
  29. package/models/components/commercialsecuredloanassetattributes.js.map +1 -1
  30. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +150 -150
  31. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
  32. package/models/components/commercialsecuredloancommercialapplicationrelationships.js +92 -92
  33. package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -1
  34. package/models/components/consumerapplicationjsonapirelationships.d.ts +62 -62
  35. package/models/components/consumerapplicationjsonapirelationships.d.ts.map +1 -1
  36. package/models/components/consumerapplicationjsonapirelationships.js +32 -32
  37. package/models/components/consumerapplicationjsonapirelationships.js.map +1 -1
  38. package/models/components/consumersecuredapplicationpayload.d.ts +27 -27
  39. package/models/components/consumersecuredapplicationpayload.d.ts.map +1 -1
  40. package/models/components/consumersecuredapplicationpayload.js.map +1 -1
  41. package/models/components/consumersecuredapplicationresource.d.ts +36 -36
  42. package/models/components/consumersecuredapplicationresource.d.ts.map +1 -1
  43. package/models/components/consumersecuredapplicationresource.js.map +1 -1
  44. package/models/components/consumersecuredloanassetattributes.d.ts +58 -58
  45. package/models/components/consumersecuredloanassetattributes.d.ts.map +1 -1
  46. package/models/components/consumersecuredloanassetattributes.js +16 -16
  47. package/models/components/consumersecuredloanassetattributes.js.map +1 -1
  48. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +172 -172
  49. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -1
  50. package/models/components/consumersecuredloanconsumerapplicationrelationships.js +107 -107
  51. package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -1
  52. package/models/components/createsupportingdocumentsresponse.d.ts +16 -16
  53. package/models/components/createsupportingdocumentsresponse.d.ts.map +1 -1
  54. package/models/components/createsupportingdocumentsresponse.js.map +1 -1
  55. package/models/components/forbiddenerror.d.ts +15 -15
  56. package/models/components/forbiddenerror.d.ts.map +1 -1
  57. package/models/components/forbiddenerror.js.map +1 -1
  58. package/models/components/loandetailsattributes.d.ts +27 -3
  59. package/models/components/loandetailsattributes.d.ts.map +1 -1
  60. package/models/components/loandetailsattributes.js +26 -3
  61. package/models/components/loandetailsattributes.js.map +1 -1
  62. package/models/components/monetaryquantity.d.ts +11 -11
  63. package/models/components/monetaryquantity.d.ts.map +1 -1
  64. package/models/components/monetaryquantity.js.map +1 -1
  65. package/models/components/percentagequantity.d.ts +7 -7
  66. package/models/components/percentagequantity.d.ts.map +1 -1
  67. package/models/components/percentagequantity.js.map +1 -1
  68. package/models/components/relationshipresourcenotfound.d.ts +12 -12
  69. package/models/components/relationshipresourcenotfound.d.ts.map +1 -1
  70. package/models/components/relationshipresourcenotfound.js.map +1 -1
  71. package/models/components/resourcenotfound.d.ts +15 -15
  72. package/models/components/resourcenotfound.d.ts.map +1 -1
  73. package/models/components/resourcenotfound.js.map +1 -1
  74. package/models/components/supportingdocumentrelationships.d.ts +106 -106
  75. package/models/components/supportingdocumentrelationships.d.ts.map +1 -1
  76. package/models/components/supportingdocumentrelationships.js +63 -63
  77. package/models/components/supportingdocumentrelationships.js.map +1 -1
  78. package/models/components/supportingdocumentresource.d.ts +11 -11
  79. package/models/components/supportingdocumentresource.d.ts.map +1 -1
  80. package/models/components/supportingdocumentresource.js.map +1 -1
  81. package/models/components/tokenrequest.d.ts +18 -18
  82. package/models/components/tokenrequest.d.ts.map +1 -1
  83. package/models/components/tokenrequest.js.map +1 -1
  84. package/models/operations/createapplication.d.ts +154 -154
  85. package/models/operations/createapplication.d.ts.map +1 -1
  86. package/models/operations/createapplication.js +109 -109
  87. package/models/operations/createapplication.js.map +1 -1
  88. package/package.json +3 -3
  89. package/src/lib/config.ts +3 -3
  90. package/src/lib/security.ts +4 -1
  91. package/src/models/components/addressattributes.ts +19 -19
  92. package/src/models/components/badrequesterror.ts +14 -14
  93. package/src/models/components/commercialapplicationjsonapirelationships.ts +117 -117
  94. package/src/models/components/commercialsecuredapplicationpayload.ts +27 -27
  95. package/src/models/components/commercialsecuredapplicationresource.ts +46 -46
  96. package/src/models/components/commercialsecuredloanassetattributes.ts +45 -45
  97. package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +243 -243
  98. package/src/models/components/consumerapplicationjsonapirelationships.ts +83 -83
  99. package/src/models/components/consumersecuredapplicationpayload.ts +27 -27
  100. package/src/models/components/consumersecuredapplicationresource.ts +47 -47
  101. package/src/models/components/consumersecuredloanassetattributes.ts +53 -53
  102. package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +279 -279
  103. package/src/models/components/createsupportingdocumentsresponse.ts +16 -16
  104. package/src/models/components/forbiddenerror.ts +14 -14
  105. package/src/models/components/loandetailsattributes.ts +54 -5
  106. package/src/models/components/monetaryquantity.ts +12 -12
  107. package/src/models/components/percentagequantity.ts +8 -8
  108. package/src/models/components/relationshipresourcenotfound.ts +11 -11
  109. package/src/models/components/resourcenotfound.ts +14 -14
  110. package/src/models/components/supportingdocumentrelationships.ts +129 -129
  111. package/src/models/components/supportingdocumentresource.ts +8 -8
  112. package/src/models/components/tokenrequest.ts +19 -19
  113. package/src/models/operations/createapplication.ts +204 -204
@@ -64,6 +64,20 @@ export type CommercialSecuredLoanCommercialApplicationRelationshipsType =
64
64
  typeof CommercialSecuredLoanCommercialApplicationRelationshipsType
65
65
  >;
66
66
 
67
+ export type Data = {
68
+ type: CommercialSecuredLoanCommercialApplicationRelationshipsType;
69
+ /**
70
+ * Loan details model
71
+ */
72
+ attributes: LoanDetailsAttributes;
73
+ links?: { [k: string]: LinkObject } | undefined;
74
+ meta?: { [k: string]: any } | undefined;
75
+ };
76
+
77
+ export type LoanDetails = {
78
+ data: Data;
79
+ };
80
+
67
81
  export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType =
68
82
  {
69
83
  Customers: "customers",
@@ -82,249 +96,6 @@ export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData
82
96
  typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType
83
97
  >;
84
98
 
85
- export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType =
86
- {
87
- CustomerLiabilities: "customer-liabilities",
88
- } as const;
89
- export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType =
90
- ClosedEnum<
91
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType
92
- >;
93
-
94
- export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType =
95
- {
96
- CustomerAssets: "customer-assets",
97
- } as const;
98
- export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType =
99
- ClosedEnum<
100
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType
101
- >;
102
-
103
- export const CommercialSecuredLoanCommercialApplicationRelationshipsAssetType =
104
- {
105
- Assets: "assets",
106
- } as const;
107
- export type CommercialSecuredLoanCommercialApplicationRelationshipsAssetType =
108
- ClosedEnum<
109
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsAssetType
110
- >;
111
-
112
- export const CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType =
113
- {
114
- Entities: "entities",
115
- } as const;
116
- export type CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType =
117
- ClosedEnum<
118
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType
119
- >;
120
-
121
- /** @internal */
122
- export const CommercialSecuredLoanCommercialApplicationRelationshipsType$inboundSchema:
123
- z.ZodNativeEnum<
124
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsType
125
- > = z.nativeEnum(CommercialSecuredLoanCommercialApplicationRelationshipsType);
126
-
127
- /** @internal */
128
- export const CommercialSecuredLoanCommercialApplicationRelationshipsType$outboundSchema:
129
- z.ZodNativeEnum<
130
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsType
131
- > = CommercialSecuredLoanCommercialApplicationRelationshipsType$inboundSchema;
132
-
133
- /**
134
- * @internal
135
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
136
- */
137
- export namespace CommercialSecuredLoanCommercialApplicationRelationshipsType$ {
138
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsType$inboundSchema` instead. */
139
- export const inboundSchema =
140
- CommercialSecuredLoanCommercialApplicationRelationshipsType$inboundSchema;
141
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsType$outboundSchema` instead. */
142
- export const outboundSchema =
143
- CommercialSecuredLoanCommercialApplicationRelationshipsType$outboundSchema;
144
- }
145
-
146
- /** @internal */
147
- export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$inboundSchema:
148
- z.ZodNativeEnum<
149
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType
150
- > = z.nativeEnum(
151
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType,
152
- );
153
-
154
- /** @internal */
155
- export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$outboundSchema:
156
- z.ZodNativeEnum<
157
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType
158
- > =
159
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$inboundSchema;
160
-
161
- /**
162
- * @internal
163
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
164
- */
165
- export namespace CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$ {
166
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$inboundSchema` instead. */
167
- export const inboundSchema =
168
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$inboundSchema;
169
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$outboundSchema` instead. */
170
- export const outboundSchema =
171
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$outboundSchema;
172
- }
173
-
174
- /** @internal */
175
- export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$inboundSchema:
176
- z.ZodNativeEnum<
177
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType
178
- > = z.nativeEnum(
179
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType,
180
- );
181
-
182
- /** @internal */
183
- export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$outboundSchema:
184
- z.ZodNativeEnum<
185
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType
186
- > =
187
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$inboundSchema;
188
-
189
- /**
190
- * @internal
191
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
192
- */
193
- export namespace CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$ {
194
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$inboundSchema` instead. */
195
- export const inboundSchema =
196
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$inboundSchema;
197
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$outboundSchema` instead. */
198
- export const outboundSchema =
199
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$outboundSchema;
200
- }
201
-
202
- /** @internal */
203
- export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema:
204
- z.ZodNativeEnum<
205
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType
206
- > = z.nativeEnum(
207
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType,
208
- );
209
-
210
- /** @internal */
211
- export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema:
212
- z.ZodNativeEnum<
213
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType
214
- > =
215
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema;
216
-
217
- /**
218
- * @internal
219
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
220
- */
221
- export namespace CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$ {
222
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema` instead. */
223
- export const inboundSchema =
224
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema;
225
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema` instead. */
226
- export const outboundSchema =
227
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema;
228
- }
229
-
230
- /** @internal */
231
- export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema:
232
- z.ZodNativeEnum<
233
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType
234
- > = z.nativeEnum(
235
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType,
236
- );
237
-
238
- /** @internal */
239
- export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema:
240
- z.ZodNativeEnum<
241
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType
242
- > =
243
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema;
244
-
245
- /**
246
- * @internal
247
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
248
- */
249
- export namespace CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$ {
250
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema` instead. */
251
- export const inboundSchema =
252
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema;
253
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema` instead. */
254
- export const outboundSchema =
255
- CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema;
256
- }
257
-
258
- /** @internal */
259
- export const CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$inboundSchema:
260
- z.ZodNativeEnum<
261
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsAssetType
262
- > = z.nativeEnum(
263
- CommercialSecuredLoanCommercialApplicationRelationshipsAssetType,
264
- );
265
-
266
- /** @internal */
267
- export const CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$outboundSchema:
268
- z.ZodNativeEnum<
269
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsAssetType
270
- > =
271
- CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$inboundSchema;
272
-
273
- /**
274
- * @internal
275
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
276
- */
277
- export namespace CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$ {
278
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$inboundSchema` instead. */
279
- export const inboundSchema =
280
- CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$inboundSchema;
281
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$outboundSchema` instead. */
282
- export const outboundSchema =
283
- CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$outboundSchema;
284
- }
285
-
286
- /** @internal */
287
- export const CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$inboundSchema:
288
- z.ZodNativeEnum<
289
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType
290
- > = z.nativeEnum(
291
- CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType,
292
- );
293
-
294
- /** @internal */
295
- export const CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$outboundSchema:
296
- z.ZodNativeEnum<
297
- typeof CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType
298
- > =
299
- CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$inboundSchema;
300
-
301
- /**
302
- * @internal
303
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
304
- */
305
- export namespace CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$ {
306
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$inboundSchema` instead. */
307
- export const inboundSchema =
308
- CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$inboundSchema;
309
- /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$outboundSchema` instead. */
310
- export const outboundSchema =
311
- CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$outboundSchema;
312
- }
313
-
314
- export type Data = {
315
- type: CommercialSecuredLoanCommercialApplicationRelationshipsType;
316
- /**
317
- * Loan details model
318
- */
319
- attributes: LoanDetailsAttributes;
320
- links?: { [k: string]: LinkObject } | undefined;
321
- meta?: { [k: string]: any } | undefined;
322
- };
323
-
324
- export type LoanDetails = {
325
- data: Data;
326
- };
327
-
328
99
  export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData =
329
100
  {
330
101
  type:
@@ -340,6 +111,15 @@ export type Addresses = {
340
111
  >;
341
112
  };
342
113
 
114
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType =
115
+ {
116
+ CustomerLiabilities: "customer-liabilities",
117
+ } as const;
118
+ export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType =
119
+ ClosedEnum<
120
+ typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType
121
+ >;
122
+
343
123
  export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData =
344
124
  {
345
125
  type:
@@ -355,6 +135,15 @@ export type Liabilities = {
355
135
  >;
356
136
  };
357
137
 
138
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType =
139
+ {
140
+ CustomerAssets: "customer-assets",
141
+ } as const;
142
+ export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType =
143
+ ClosedEnum<
144
+ typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType
145
+ >;
146
+
358
147
  export type CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData =
359
148
  {
360
149
  type:
@@ -391,6 +180,15 @@ export type Customers = {
391
180
  data: Array<CommercialSecuredLoanCommercialApplicationRelationshipsData>;
392
181
  };
393
182
 
183
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsAssetType =
184
+ {
185
+ Assets: "assets",
186
+ } as const;
187
+ export type CommercialSecuredLoanCommercialApplicationRelationshipsAssetType =
188
+ ClosedEnum<
189
+ typeof CommercialSecuredLoanCommercialApplicationRelationshipsAssetType
190
+ >;
191
+
394
192
  export type CommercialSecuredLoanCommercialApplicationRelationshipsAssetData = {
395
193
  type: CommercialSecuredLoanCommercialApplicationRelationshipsAssetType;
396
194
  /**
@@ -405,6 +203,15 @@ export type Asset = {
405
203
  data: CommercialSecuredLoanCommercialApplicationRelationshipsAssetData;
406
204
  };
407
205
 
206
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType =
207
+ {
208
+ Entities: "entities",
209
+ } as const;
210
+ export type CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType =
211
+ ClosedEnum<
212
+ typeof CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType
213
+ >;
214
+
408
215
  export type CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesData =
409
216
  {
410
217
  type: CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType;
@@ -426,6 +233,31 @@ export type CommercialSecuredLoanCommercialApplicationRelationships = {
426
233
  entities?: Entities | undefined;
427
234
  };
428
235
 
236
+ /** @internal */
237
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsType$inboundSchema:
238
+ z.ZodNativeEnum<
239
+ typeof CommercialSecuredLoanCommercialApplicationRelationshipsType
240
+ > = z.nativeEnum(CommercialSecuredLoanCommercialApplicationRelationshipsType);
241
+
242
+ /** @internal */
243
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsType$outboundSchema:
244
+ z.ZodNativeEnum<
245
+ typeof CommercialSecuredLoanCommercialApplicationRelationshipsType
246
+ > = CommercialSecuredLoanCommercialApplicationRelationshipsType$inboundSchema;
247
+
248
+ /**
249
+ * @internal
250
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
251
+ */
252
+ export namespace CommercialSecuredLoanCommercialApplicationRelationshipsType$ {
253
+ /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsType$inboundSchema` instead. */
254
+ export const inboundSchema =
255
+ CommercialSecuredLoanCommercialApplicationRelationshipsType$inboundSchema;
256
+ /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsType$outboundSchema` instead. */
257
+ export const outboundSchema =
258
+ CommercialSecuredLoanCommercialApplicationRelationshipsType$outboundSchema;
259
+ }
260
+
429
261
  /** @internal */
430
262
  export const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown> = z
431
263
  .object({
@@ -531,6 +363,62 @@ export function loanDetailsFromJSON(
531
363
  );
532
364
  }
533
365
 
366
+ /** @internal */
367
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$inboundSchema:
368
+ z.ZodNativeEnum<
369
+ typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType
370
+ > = z.nativeEnum(
371
+ CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType,
372
+ );
373
+
374
+ /** @internal */
375
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$outboundSchema:
376
+ z.ZodNativeEnum<
377
+ typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType
378
+ > =
379
+ CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$inboundSchema;
380
+
381
+ /**
382
+ * @internal
383
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
384
+ */
385
+ export namespace CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$ {
386
+ /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$inboundSchema` instead. */
387
+ export const inboundSchema =
388
+ CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$inboundSchema;
389
+ /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$outboundSchema` instead. */
390
+ export const outboundSchema =
391
+ CommercialSecuredLoanCommercialApplicationRelationshipsCustomersType$outboundSchema;
392
+ }
393
+
394
+ /** @internal */
395
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$inboundSchema:
396
+ z.ZodNativeEnum<
397
+ typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType
398
+ > = z.nativeEnum(
399
+ CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType,
400
+ );
401
+
402
+ /** @internal */
403
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$outboundSchema:
404
+ z.ZodNativeEnum<
405
+ typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType
406
+ > =
407
+ CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$inboundSchema;
408
+
409
+ /**
410
+ * @internal
411
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
412
+ */
413
+ export namespace CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$ {
414
+ /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$inboundSchema` instead. */
415
+ export const inboundSchema =
416
+ CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$inboundSchema;
417
+ /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$outboundSchema` instead. */
418
+ export const outboundSchema =
419
+ CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataType$outboundSchema;
420
+ }
421
+
534
422
  /** @internal */
535
423
  export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsData$inboundSchema:
536
424
  z.ZodType<
@@ -671,6 +559,34 @@ export function addressesFromJSON(
671
559
  );
672
560
  }
673
561
 
562
+ /** @internal */
563
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema:
564
+ z.ZodNativeEnum<
565
+ typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType
566
+ > = z.nativeEnum(
567
+ CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType,
568
+ );
569
+
570
+ /** @internal */
571
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema:
572
+ z.ZodNativeEnum<
573
+ typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType
574
+ > =
575
+ CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema;
576
+
577
+ /**
578
+ * @internal
579
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
580
+ */
581
+ export namespace CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$ {
582
+ /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema` instead. */
583
+ export const inboundSchema =
584
+ CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$inboundSchema;
585
+ /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema` instead. */
586
+ export const outboundSchema =
587
+ CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsType$outboundSchema;
588
+ }
589
+
674
590
  /** @internal */
675
591
  export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersData$inboundSchema:
676
592
  z.ZodType<
@@ -811,6 +727,34 @@ export function liabilitiesFromJSON(
811
727
  );
812
728
  }
813
729
 
730
+ /** @internal */
731
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema:
732
+ z.ZodNativeEnum<
733
+ typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType
734
+ > = z.nativeEnum(
735
+ CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType,
736
+ );
737
+
738
+ /** @internal */
739
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema:
740
+ z.ZodNativeEnum<
741
+ typeof CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType
742
+ > =
743
+ CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema;
744
+
745
+ /**
746
+ * @internal
747
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
748
+ */
749
+ export namespace CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$ {
750
+ /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema` instead. */
751
+ export const inboundSchema =
752
+ CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$inboundSchema;
753
+ /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema` instead. */
754
+ export const outboundSchema =
755
+ CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataRelationshipsAssetsType$outboundSchema;
756
+ }
757
+
814
758
  /** @internal */
815
759
  export const CommercialSecuredLoanCommercialApplicationRelationshipsCustomersDataData$inboundSchema:
816
760
  z.ZodType<
@@ -1145,6 +1089,34 @@ export function customersFromJSON(
1145
1089
  );
1146
1090
  }
1147
1091
 
1092
+ /** @internal */
1093
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$inboundSchema:
1094
+ z.ZodNativeEnum<
1095
+ typeof CommercialSecuredLoanCommercialApplicationRelationshipsAssetType
1096
+ > = z.nativeEnum(
1097
+ CommercialSecuredLoanCommercialApplicationRelationshipsAssetType,
1098
+ );
1099
+
1100
+ /** @internal */
1101
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$outboundSchema:
1102
+ z.ZodNativeEnum<
1103
+ typeof CommercialSecuredLoanCommercialApplicationRelationshipsAssetType
1104
+ > =
1105
+ CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$inboundSchema;
1106
+
1107
+ /**
1108
+ * @internal
1109
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1110
+ */
1111
+ export namespace CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$ {
1112
+ /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$inboundSchema` instead. */
1113
+ export const inboundSchema =
1114
+ CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$inboundSchema;
1115
+ /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$outboundSchema` instead. */
1116
+ export const outboundSchema =
1117
+ CommercialSecuredLoanCommercialApplicationRelationshipsAssetType$outboundSchema;
1118
+ }
1119
+
1148
1120
  /** @internal */
1149
1121
  export const CommercialSecuredLoanCommercialApplicationRelationshipsAssetData$inboundSchema:
1150
1122
  z.ZodType<
@@ -1275,6 +1247,34 @@ export function assetFromJSON(
1275
1247
  );
1276
1248
  }
1277
1249
 
1250
+ /** @internal */
1251
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$inboundSchema:
1252
+ z.ZodNativeEnum<
1253
+ typeof CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType
1254
+ > = z.nativeEnum(
1255
+ CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType,
1256
+ );
1257
+
1258
+ /** @internal */
1259
+ export const CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$outboundSchema:
1260
+ z.ZodNativeEnum<
1261
+ typeof CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType
1262
+ > =
1263
+ CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$inboundSchema;
1264
+
1265
+ /**
1266
+ * @internal
1267
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1268
+ */
1269
+ export namespace CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$ {
1270
+ /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$inboundSchema` instead. */
1271
+ export const inboundSchema =
1272
+ CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$inboundSchema;
1273
+ /** @deprecated use `CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$outboundSchema` instead. */
1274
+ export const outboundSchema =
1275
+ CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesType$outboundSchema;
1276
+ }
1277
+
1278
1278
  /** @internal */
1279
1279
  export const CommercialSecuredLoanCommercialApplicationRelationshipsEntitiesData$inboundSchema:
1280
1280
  z.ZodType<