@financeable/aggregation 0.11.0 → 0.12.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.
Files changed (102) hide show
  1. package/README.md +4 -0
  2. package/docs/sdks/applications/README.md +144 -0
  3. package/examples/package-lock.json +1 -1
  4. package/funcs/applicationsGet.d.ts +14 -0
  5. package/funcs/applicationsGet.d.ts.map +1 -0
  6. package/funcs/applicationsGet.js +122 -0
  7. package/funcs/applicationsGet.js.map +1 -0
  8. package/funcs/applicationsList.d.ts +14 -0
  9. package/funcs/applicationsList.d.ts.map +1 -0
  10. package/funcs/applicationsList.js +117 -0
  11. package/funcs/applicationsList.js.map +1 -0
  12. package/lib/config.d.ts +3 -3
  13. package/lib/config.js +3 -3
  14. package/models/components/businessloanbusinessapplicationrelationships.d.ts +21 -21
  15. package/models/components/businessloanbusinessapplicationrelationships.d.ts.map +1 -1
  16. package/models/components/businessloanbusinessapplicationrelationships.js +24 -26
  17. package/models/components/businessloanbusinessapplicationrelationships.js.map +1 -1
  18. package/models/components/commercialapplicationjsonapirelationships.d.ts +15 -15
  19. package/models/components/commercialapplicationjsonapirelationships.d.ts.map +1 -1
  20. package/models/components/commercialapplicationjsonapirelationships.js +18 -18
  21. package/models/components/commercialapplicationjsonapirelationships.js.map +1 -1
  22. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +36 -36
  23. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
  24. package/models/components/commercialsecuredloancommercialapplicationrelationships.js +46 -44
  25. package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -1
  26. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts +3 -3
  27. package/models/components/consumersecuredloanconsumerapplicationrelationships.d.ts.map +1 -1
  28. package/models/components/consumersecuredloanconsumerapplicationrelationships.js +3 -3
  29. package/models/components/consumersecuredloanconsumerapplicationrelationships.js.map +1 -1
  30. package/models/components/customerattributes.d.ts +0 -22
  31. package/models/components/customerattributes.d.ts.map +1 -1
  32. package/models/components/customerattributes.js +0 -10
  33. package/models/components/customerattributes.js.map +1 -1
  34. package/models/components/customerattributescreateitem.d.ts +112 -0
  35. package/models/components/customerattributescreateitem.d.ts.map +1 -0
  36. package/models/components/customerattributescreateitem.js +110 -0
  37. package/models/components/customerattributescreateitem.js.map +1 -0
  38. package/models/components/entityattributes.d.ts +129 -0
  39. package/models/components/entityattributes.d.ts.map +1 -1
  40. package/models/components/entityattributes.js +71 -1
  41. package/models/components/entityattributes.js.map +1 -1
  42. package/models/components/entityattributesinput.d.ts +41 -0
  43. package/models/components/entityattributesinput.d.ts.map +1 -0
  44. package/models/components/entityattributesinput.js +81 -0
  45. package/models/components/entityattributesinput.js.map +1 -0
  46. package/models/components/index.d.ts +4 -0
  47. package/models/components/index.d.ts.map +1 -1
  48. package/models/components/index.js +4 -0
  49. package/models/components/index.js.map +1 -1
  50. package/models/components/paginationlinks.d.ts +47 -0
  51. package/models/components/paginationlinks.d.ts.map +1 -0
  52. package/models/components/paginationlinks.js +75 -0
  53. package/models/components/paginationlinks.js.map +1 -0
  54. package/models/components/paginationmeta.d.ts +47 -0
  55. package/models/components/paginationmeta.d.ts.map +1 -0
  56. package/models/components/paginationmeta.js +88 -0
  57. package/models/components/paginationmeta.js.map +1 -0
  58. package/models/components/personalloanpersonalapplicationrelationships.d.ts +3 -3
  59. package/models/components/personalloanpersonalapplicationrelationships.d.ts.map +1 -1
  60. package/models/components/personalloanpersonalapplicationrelationships.js +3 -3
  61. package/models/components/personalloanpersonalapplicationrelationships.js.map +1 -1
  62. package/models/operations/createapplication.d.ts +218 -45
  63. package/models/operations/createapplication.d.ts.map +1 -1
  64. package/models/operations/createapplication.js +145 -45
  65. package/models/operations/createapplication.js.map +1 -1
  66. package/models/operations/getapplication.d.ts +703 -0
  67. package/models/operations/getapplication.d.ts.map +1 -0
  68. package/models/operations/getapplication.js +697 -0
  69. package/models/operations/getapplication.js.map +1 -0
  70. package/models/operations/index.d.ts +2 -0
  71. package/models/operations/index.d.ts.map +1 -1
  72. package/models/operations/index.js +2 -0
  73. package/models/operations/index.js.map +1 -1
  74. package/models/operations/listapplications.d.ts +141 -0
  75. package/models/operations/listapplications.d.ts.map +1 -0
  76. package/models/operations/listapplications.js +199 -0
  77. package/models/operations/listapplications.js.map +1 -0
  78. package/package.json +1 -1
  79. package/sdk/applications.d.ts +8 -0
  80. package/sdk/applications.d.ts.map +1 -1
  81. package/sdk/applications.js +14 -0
  82. package/sdk/applications.js.map +1 -1
  83. package/src/funcs/applicationsGet.ts +170 -0
  84. package/src/funcs/applicationsList.ts +164 -0
  85. package/src/lib/config.ts +3 -3
  86. package/src/models/components/businessloanbusinessapplicationrelationships.ts +52 -53
  87. package/src/models/components/commercialapplicationjsonapirelationships.ts +43 -67
  88. package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +114 -94
  89. package/src/models/components/consumersecuredloanconsumerapplicationrelationships.ts +9 -9
  90. package/src/models/components/customerattributes.ts +0 -38
  91. package/src/models/components/customerattributescreateitem.ts +214 -0
  92. package/src/models/components/entityattributes.ts +134 -0
  93. package/src/models/components/entityattributesinput.ts +90 -0
  94. package/src/models/components/index.ts +4 -0
  95. package/src/models/components/paginationlinks.ts +88 -0
  96. package/src/models/components/paginationmeta.ts +99 -0
  97. package/src/models/components/personalloanpersonalapplicationrelationships.ts +9 -9
  98. package/src/models/operations/createapplication.ts +289 -62
  99. package/src/models/operations/getapplication.ts +1378 -0
  100. package/src/models/operations/index.ts +2 -0
  101. package/src/models/operations/listapplications.ts +364 -0
  102. package/src/sdk/applications.ts +30 -0
@@ -0,0 +1,703 @@
1
+ import * as z from "zod/v3";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import * as components from "../components/index.js";
5
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
6
+ export type GetApplicationRequest = {
7
+ id: string;
8
+ include?: string | undefined;
9
+ };
10
+ /**
11
+ * The server cannot find the requested resource.
12
+ */
13
+ export type GetApplicationApplicationsResponseResponseBody = {
14
+ errors: Array<components.ResourceNotFound>;
15
+ };
16
+ /**
17
+ * Access is forbidden.
18
+ */
19
+ export type GetApplicationApplicationsResponseBody = {
20
+ errors: Array<components.ForbiddenError>;
21
+ };
22
+ export declare const GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type: {
23
+ readonly CustomerAssets: "customer-assets";
24
+ };
25
+ export type GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type = ClosedEnum<typeof GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type>;
26
+ export type Included8 = {
27
+ type: GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type;
28
+ id: string;
29
+ attributes: components.CustomerAssetAttributes;
30
+ links?: {
31
+ [k: string]: components.LinkObject;
32
+ } | undefined;
33
+ meta?: {
34
+ [k: string]: any;
35
+ } | undefined;
36
+ };
37
+ export declare const GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type: {
38
+ readonly CustomerLiabilities: "customer-liabilities";
39
+ };
40
+ export type GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type = ClosedEnum<typeof GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type>;
41
+ export type Included7 = {
42
+ type: GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type;
43
+ id: string;
44
+ attributes: components.CustomerLiabilityAttributes;
45
+ links?: {
46
+ [k: string]: components.LinkObject;
47
+ } | undefined;
48
+ meta?: {
49
+ [k: string]: any;
50
+ } | undefined;
51
+ };
52
+ export declare const GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType: {
53
+ readonly Customers: "customers";
54
+ };
55
+ export type GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType>;
56
+ export type Included6 = {
57
+ type: GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType;
58
+ id: string;
59
+ /**
60
+ * A customer of the proposed financing
61
+ */
62
+ attributes: components.CustomerAttributes;
63
+ links?: {
64
+ [k: string]: components.LinkObject;
65
+ } | undefined;
66
+ meta?: {
67
+ [k: string]: any;
68
+ } | undefined;
69
+ };
70
+ export declare const GetApplicationIncludedApplicationsResponse200ApplicationJSONType: {
71
+ readonly LoanDetails: "loan-details";
72
+ };
73
+ export type GetApplicationIncludedApplicationsResponse200ApplicationJSONType = ClosedEnum<typeof GetApplicationIncludedApplicationsResponse200ApplicationJSONType>;
74
+ export type Included5 = {
75
+ type: GetApplicationIncludedApplicationsResponse200ApplicationJSONType;
76
+ id: string;
77
+ /**
78
+ * Loan details model
79
+ */
80
+ attributes: components.LoanDetailsAttributes;
81
+ links?: {
82
+ [k: string]: components.LinkObject;
83
+ } | undefined;
84
+ meta?: {
85
+ [k: string]: any;
86
+ } | undefined;
87
+ };
88
+ export declare const GetApplicationIncludedApplicationsResponse200Type: {
89
+ readonly Entities: "entities";
90
+ };
91
+ export type GetApplicationIncludedApplicationsResponse200Type = ClosedEnum<typeof GetApplicationIncludedApplicationsResponse200Type>;
92
+ export type Included4 = {
93
+ type: GetApplicationIncludedApplicationsResponse200Type;
94
+ id: string;
95
+ attributes: components.EntityAttributes;
96
+ links?: {
97
+ [k: string]: components.LinkObject;
98
+ } | undefined;
99
+ meta?: {
100
+ [k: string]: any;
101
+ } | undefined;
102
+ };
103
+ export declare const GetApplicationIncludedApplicationsResponseType: {
104
+ readonly Assets: "assets";
105
+ };
106
+ export type GetApplicationIncludedApplicationsResponseType = ClosedEnum<typeof GetApplicationIncludedApplicationsResponseType>;
107
+ export type Included3 = {
108
+ type: GetApplicationIncludedApplicationsResponseType;
109
+ id: string;
110
+ /**
111
+ * Type of asset for secured commercial loans
112
+ */
113
+ attributes: components.CommercialSecuredLoanAssetAttributes;
114
+ links?: {
115
+ [k: string]: components.LinkObject;
116
+ } | undefined;
117
+ meta?: {
118
+ [k: string]: any;
119
+ } | undefined;
120
+ };
121
+ export declare const GetApplicationIncludedApplicationsType: {
122
+ readonly Assets: "assets";
123
+ };
124
+ export type GetApplicationIncludedApplicationsType = ClosedEnum<typeof GetApplicationIncludedApplicationsType>;
125
+ export type Included2 = {
126
+ type: GetApplicationIncludedApplicationsType;
127
+ id: string;
128
+ /**
129
+ * The asset to be obtained by the customer, using the proposed loan financing.
130
+ */
131
+ attributes: components.ConsumerSecuredLoanAssetAttributes;
132
+ links?: {
133
+ [k: string]: components.LinkObject;
134
+ } | undefined;
135
+ meta?: {
136
+ [k: string]: any;
137
+ } | undefined;
138
+ };
139
+ export declare const GetApplicationIncludedType: {
140
+ readonly Addresses: "addresses";
141
+ };
142
+ export type GetApplicationIncludedType = ClosedEnum<typeof GetApplicationIncludedType>;
143
+ export type Included1 = {
144
+ type: GetApplicationIncludedType;
145
+ id: string;
146
+ attributes: components.AddressAttributes;
147
+ links?: {
148
+ [k: string]: components.LinkObject;
149
+ } | undefined;
150
+ meta?: {
151
+ [k: string]: any;
152
+ } | undefined;
153
+ };
154
+ export type GetApplicationIncluded = Included1 | Included2 | Included3 | Included4 | Included5 | Included6 | Included7 | Included8;
155
+ export type GetApplicationLinks = {};
156
+ /**
157
+ * The request has succeeded.
158
+ */
159
+ export type GetApplicationResponseBody = {
160
+ /**
161
+ * Represents either a Consumer or Commercial Application resource
162
+ */
163
+ data: components.ApplicationResource;
164
+ included?: Array<Included1 | Included2 | Included3 | Included4 | Included5 | Included6 | Included7 | Included8> | undefined;
165
+ links?: GetApplicationLinks | undefined;
166
+ };
167
+ export type GetApplicationResponse = GetApplicationResponseBody | GetApplicationApplicationsResponseBody | GetApplicationApplicationsResponseResponseBody;
168
+ /** @internal */
169
+ export declare const GetApplicationRequest$inboundSchema: z.ZodType<GetApplicationRequest, z.ZodTypeDef, unknown>;
170
+ /** @internal */
171
+ export type GetApplicationRequest$Outbound = {
172
+ id: string;
173
+ include?: string | undefined;
174
+ };
175
+ /** @internal */
176
+ export declare const GetApplicationRequest$outboundSchema: z.ZodType<GetApplicationRequest$Outbound, z.ZodTypeDef, GetApplicationRequest>;
177
+ /**
178
+ * @internal
179
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
180
+ */
181
+ export declare namespace GetApplicationRequest$ {
182
+ /** @deprecated use `GetApplicationRequest$inboundSchema` instead. */
183
+ const inboundSchema: z.ZodType<GetApplicationRequest, z.ZodTypeDef, unknown>;
184
+ /** @deprecated use `GetApplicationRequest$outboundSchema` instead. */
185
+ const outboundSchema: z.ZodType<GetApplicationRequest$Outbound, z.ZodTypeDef, GetApplicationRequest>;
186
+ /** @deprecated use `GetApplicationRequest$Outbound` instead. */
187
+ type Outbound = GetApplicationRequest$Outbound;
188
+ }
189
+ export declare function getApplicationRequestToJSON(getApplicationRequest: GetApplicationRequest): string;
190
+ export declare function getApplicationRequestFromJSON(jsonString: string): SafeParseResult<GetApplicationRequest, SDKValidationError>;
191
+ /** @internal */
192
+ export declare const GetApplicationApplicationsResponseResponseBody$inboundSchema: z.ZodType<GetApplicationApplicationsResponseResponseBody, z.ZodTypeDef, unknown>;
193
+ /** @internal */
194
+ export type GetApplicationApplicationsResponseResponseBody$Outbound = {
195
+ errors: Array<components.ResourceNotFound$Outbound>;
196
+ };
197
+ /** @internal */
198
+ export declare const GetApplicationApplicationsResponseResponseBody$outboundSchema: z.ZodType<GetApplicationApplicationsResponseResponseBody$Outbound, z.ZodTypeDef, GetApplicationApplicationsResponseResponseBody>;
199
+ /**
200
+ * @internal
201
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
202
+ */
203
+ export declare namespace GetApplicationApplicationsResponseResponseBody$ {
204
+ /** @deprecated use `GetApplicationApplicationsResponseResponseBody$inboundSchema` instead. */
205
+ const inboundSchema: z.ZodType<GetApplicationApplicationsResponseResponseBody, z.ZodTypeDef, unknown>;
206
+ /** @deprecated use `GetApplicationApplicationsResponseResponseBody$outboundSchema` instead. */
207
+ const outboundSchema: z.ZodType<GetApplicationApplicationsResponseResponseBody$Outbound, z.ZodTypeDef, GetApplicationApplicationsResponseResponseBody>;
208
+ /** @deprecated use `GetApplicationApplicationsResponseResponseBody$Outbound` instead. */
209
+ type Outbound = GetApplicationApplicationsResponseResponseBody$Outbound;
210
+ }
211
+ export declare function getApplicationApplicationsResponseResponseBodyToJSON(getApplicationApplicationsResponseResponseBody: GetApplicationApplicationsResponseResponseBody): string;
212
+ export declare function getApplicationApplicationsResponseResponseBodyFromJSON(jsonString: string): SafeParseResult<GetApplicationApplicationsResponseResponseBody, SDKValidationError>;
213
+ /** @internal */
214
+ export declare const GetApplicationApplicationsResponseBody$inboundSchema: z.ZodType<GetApplicationApplicationsResponseBody, z.ZodTypeDef, unknown>;
215
+ /** @internal */
216
+ export type GetApplicationApplicationsResponseBody$Outbound = {
217
+ errors: Array<components.ForbiddenError$Outbound>;
218
+ };
219
+ /** @internal */
220
+ export declare const GetApplicationApplicationsResponseBody$outboundSchema: z.ZodType<GetApplicationApplicationsResponseBody$Outbound, z.ZodTypeDef, GetApplicationApplicationsResponseBody>;
221
+ /**
222
+ * @internal
223
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
224
+ */
225
+ export declare namespace GetApplicationApplicationsResponseBody$ {
226
+ /** @deprecated use `GetApplicationApplicationsResponseBody$inboundSchema` instead. */
227
+ const inboundSchema: z.ZodType<GetApplicationApplicationsResponseBody, z.ZodTypeDef, unknown>;
228
+ /** @deprecated use `GetApplicationApplicationsResponseBody$outboundSchema` instead. */
229
+ const outboundSchema: z.ZodType<GetApplicationApplicationsResponseBody$Outbound, z.ZodTypeDef, GetApplicationApplicationsResponseBody>;
230
+ /** @deprecated use `GetApplicationApplicationsResponseBody$Outbound` instead. */
231
+ type Outbound = GetApplicationApplicationsResponseBody$Outbound;
232
+ }
233
+ export declare function getApplicationApplicationsResponseBodyToJSON(getApplicationApplicationsResponseBody: GetApplicationApplicationsResponseBody): string;
234
+ export declare function getApplicationApplicationsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetApplicationApplicationsResponseBody, SDKValidationError>;
235
+ /** @internal */
236
+ export declare const GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$inboundSchema: z.ZodNativeEnum<typeof GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type>;
237
+ /** @internal */
238
+ export declare const GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$outboundSchema: z.ZodNativeEnum<typeof GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type>;
239
+ /**
240
+ * @internal
241
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
242
+ */
243
+ export declare namespace GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$ {
244
+ /** @deprecated use `GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$inboundSchema` instead. */
245
+ const inboundSchema: z.ZodNativeEnum<{
246
+ readonly CustomerAssets: "customer-assets";
247
+ }>;
248
+ /** @deprecated use `GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody8Type$outboundSchema` instead. */
249
+ const outboundSchema: z.ZodNativeEnum<{
250
+ readonly CustomerAssets: "customer-assets";
251
+ }>;
252
+ }
253
+ /** @internal */
254
+ export declare const Included8$inboundSchema: z.ZodType<Included8, z.ZodTypeDef, unknown>;
255
+ /** @internal */
256
+ export type Included8$Outbound = {
257
+ type: string;
258
+ id: string;
259
+ attributes: components.CustomerAssetAttributes$Outbound;
260
+ links?: {
261
+ [k: string]: components.LinkObject$Outbound;
262
+ } | undefined;
263
+ meta?: {
264
+ [k: string]: any;
265
+ } | undefined;
266
+ };
267
+ /** @internal */
268
+ export declare const Included8$outboundSchema: z.ZodType<Included8$Outbound, z.ZodTypeDef, Included8>;
269
+ /**
270
+ * @internal
271
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
272
+ */
273
+ export declare namespace Included8$ {
274
+ /** @deprecated use `Included8$inboundSchema` instead. */
275
+ const inboundSchema: z.ZodType<Included8, z.ZodTypeDef, unknown>;
276
+ /** @deprecated use `Included8$outboundSchema` instead. */
277
+ const outboundSchema: z.ZodType<Included8$Outbound, z.ZodTypeDef, Included8>;
278
+ /** @deprecated use `Included8$Outbound` instead. */
279
+ type Outbound = Included8$Outbound;
280
+ }
281
+ export declare function included8ToJSON(included8: Included8): string;
282
+ export declare function included8FromJSON(jsonString: string): SafeParseResult<Included8, SDKValidationError>;
283
+ /** @internal */
284
+ export declare const GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$inboundSchema: z.ZodNativeEnum<typeof GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type>;
285
+ /** @internal */
286
+ export declare const GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$outboundSchema: z.ZodNativeEnum<typeof GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type>;
287
+ /**
288
+ * @internal
289
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
290
+ */
291
+ export declare namespace GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$ {
292
+ /** @deprecated use `GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$inboundSchema` instead. */
293
+ const inboundSchema: z.ZodNativeEnum<{
294
+ readonly CustomerLiabilities: "customer-liabilities";
295
+ }>;
296
+ /** @deprecated use `GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBody7Type$outboundSchema` instead. */
297
+ const outboundSchema: z.ZodNativeEnum<{
298
+ readonly CustomerLiabilities: "customer-liabilities";
299
+ }>;
300
+ }
301
+ /** @internal */
302
+ export declare const Included7$inboundSchema: z.ZodType<Included7, z.ZodTypeDef, unknown>;
303
+ /** @internal */
304
+ export type Included7$Outbound = {
305
+ type: string;
306
+ id: string;
307
+ attributes: components.CustomerLiabilityAttributes$Outbound;
308
+ links?: {
309
+ [k: string]: components.LinkObject$Outbound;
310
+ } | undefined;
311
+ meta?: {
312
+ [k: string]: any;
313
+ } | undefined;
314
+ };
315
+ /** @internal */
316
+ export declare const Included7$outboundSchema: z.ZodType<Included7$Outbound, z.ZodTypeDef, Included7>;
317
+ /**
318
+ * @internal
319
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
320
+ */
321
+ export declare namespace Included7$ {
322
+ /** @deprecated use `Included7$inboundSchema` instead. */
323
+ const inboundSchema: z.ZodType<Included7, z.ZodTypeDef, unknown>;
324
+ /** @deprecated use `Included7$outboundSchema` instead. */
325
+ const outboundSchema: z.ZodType<Included7$Outbound, z.ZodTypeDef, Included7>;
326
+ /** @deprecated use `Included7$Outbound` instead. */
327
+ type Outbound = Included7$Outbound;
328
+ }
329
+ export declare function included7ToJSON(included7: Included7): string;
330
+ export declare function included7FromJSON(jsonString: string): SafeParseResult<Included7, SDKValidationError>;
331
+ /** @internal */
332
+ export declare const GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType>;
333
+ /** @internal */
334
+ export declare const GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType>;
335
+ /**
336
+ * @internal
337
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
338
+ */
339
+ export declare namespace GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$ {
340
+ /** @deprecated use `GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
341
+ const inboundSchema: z.ZodNativeEnum<{
342
+ readonly Customers: "customers";
343
+ }>;
344
+ /** @deprecated use `GetApplicationIncludedApplicationsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
345
+ const outboundSchema: z.ZodNativeEnum<{
346
+ readonly Customers: "customers";
347
+ }>;
348
+ }
349
+ /** @internal */
350
+ export declare const Included6$inboundSchema: z.ZodType<Included6, z.ZodTypeDef, unknown>;
351
+ /** @internal */
352
+ export type Included6$Outbound = {
353
+ type: string;
354
+ id: string;
355
+ attributes: components.CustomerAttributes$Outbound;
356
+ links?: {
357
+ [k: string]: components.LinkObject$Outbound;
358
+ } | undefined;
359
+ meta?: {
360
+ [k: string]: any;
361
+ } | undefined;
362
+ };
363
+ /** @internal */
364
+ export declare const Included6$outboundSchema: z.ZodType<Included6$Outbound, z.ZodTypeDef, Included6>;
365
+ /**
366
+ * @internal
367
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
368
+ */
369
+ export declare namespace Included6$ {
370
+ /** @deprecated use `Included6$inboundSchema` instead. */
371
+ const inboundSchema: z.ZodType<Included6, z.ZodTypeDef, unknown>;
372
+ /** @deprecated use `Included6$outboundSchema` instead. */
373
+ const outboundSchema: z.ZodType<Included6$Outbound, z.ZodTypeDef, Included6>;
374
+ /** @deprecated use `Included6$Outbound` instead. */
375
+ type Outbound = Included6$Outbound;
376
+ }
377
+ export declare function included6ToJSON(included6: Included6): string;
378
+ export declare function included6FromJSON(jsonString: string): SafeParseResult<Included6, SDKValidationError>;
379
+ /** @internal */
380
+ export declare const GetApplicationIncludedApplicationsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof GetApplicationIncludedApplicationsResponse200ApplicationJSONType>;
381
+ /** @internal */
382
+ export declare const GetApplicationIncludedApplicationsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof GetApplicationIncludedApplicationsResponse200ApplicationJSONType>;
383
+ /**
384
+ * @internal
385
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
386
+ */
387
+ export declare namespace GetApplicationIncludedApplicationsResponse200ApplicationJSONType$ {
388
+ /** @deprecated use `GetApplicationIncludedApplicationsResponse200ApplicationJSONType$inboundSchema` instead. */
389
+ const inboundSchema: z.ZodNativeEnum<{
390
+ readonly LoanDetails: "loan-details";
391
+ }>;
392
+ /** @deprecated use `GetApplicationIncludedApplicationsResponse200ApplicationJSONType$outboundSchema` instead. */
393
+ const outboundSchema: z.ZodNativeEnum<{
394
+ readonly LoanDetails: "loan-details";
395
+ }>;
396
+ }
397
+ /** @internal */
398
+ export declare const Included5$inboundSchema: z.ZodType<Included5, z.ZodTypeDef, unknown>;
399
+ /** @internal */
400
+ export type Included5$Outbound = {
401
+ type: string;
402
+ id: string;
403
+ attributes: components.LoanDetailsAttributes$Outbound;
404
+ links?: {
405
+ [k: string]: components.LinkObject$Outbound;
406
+ } | undefined;
407
+ meta?: {
408
+ [k: string]: any;
409
+ } | undefined;
410
+ };
411
+ /** @internal */
412
+ export declare const Included5$outboundSchema: z.ZodType<Included5$Outbound, z.ZodTypeDef, Included5>;
413
+ /**
414
+ * @internal
415
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
416
+ */
417
+ export declare namespace Included5$ {
418
+ /** @deprecated use `Included5$inboundSchema` instead. */
419
+ const inboundSchema: z.ZodType<Included5, z.ZodTypeDef, unknown>;
420
+ /** @deprecated use `Included5$outboundSchema` instead. */
421
+ const outboundSchema: z.ZodType<Included5$Outbound, z.ZodTypeDef, Included5>;
422
+ /** @deprecated use `Included5$Outbound` instead. */
423
+ type Outbound = Included5$Outbound;
424
+ }
425
+ export declare function included5ToJSON(included5: Included5): string;
426
+ export declare function included5FromJSON(jsonString: string): SafeParseResult<Included5, SDKValidationError>;
427
+ /** @internal */
428
+ export declare const GetApplicationIncludedApplicationsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof GetApplicationIncludedApplicationsResponse200Type>;
429
+ /** @internal */
430
+ export declare const GetApplicationIncludedApplicationsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof GetApplicationIncludedApplicationsResponse200Type>;
431
+ /**
432
+ * @internal
433
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
434
+ */
435
+ export declare namespace GetApplicationIncludedApplicationsResponse200Type$ {
436
+ /** @deprecated use `GetApplicationIncludedApplicationsResponse200Type$inboundSchema` instead. */
437
+ const inboundSchema: z.ZodNativeEnum<{
438
+ readonly Entities: "entities";
439
+ }>;
440
+ /** @deprecated use `GetApplicationIncludedApplicationsResponse200Type$outboundSchema` instead. */
441
+ const outboundSchema: z.ZodNativeEnum<{
442
+ readonly Entities: "entities";
443
+ }>;
444
+ }
445
+ /** @internal */
446
+ export declare const Included4$inboundSchema: z.ZodType<Included4, z.ZodTypeDef, unknown>;
447
+ /** @internal */
448
+ export type Included4$Outbound = {
449
+ type: string;
450
+ id: string;
451
+ attributes: components.EntityAttributes$Outbound;
452
+ links?: {
453
+ [k: string]: components.LinkObject$Outbound;
454
+ } | undefined;
455
+ meta?: {
456
+ [k: string]: any;
457
+ } | undefined;
458
+ };
459
+ /** @internal */
460
+ export declare const Included4$outboundSchema: z.ZodType<Included4$Outbound, z.ZodTypeDef, Included4>;
461
+ /**
462
+ * @internal
463
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
464
+ */
465
+ export declare namespace Included4$ {
466
+ /** @deprecated use `Included4$inboundSchema` instead. */
467
+ const inboundSchema: z.ZodType<Included4, z.ZodTypeDef, unknown>;
468
+ /** @deprecated use `Included4$outboundSchema` instead. */
469
+ const outboundSchema: z.ZodType<Included4$Outbound, z.ZodTypeDef, Included4>;
470
+ /** @deprecated use `Included4$Outbound` instead. */
471
+ type Outbound = Included4$Outbound;
472
+ }
473
+ export declare function included4ToJSON(included4: Included4): string;
474
+ export declare function included4FromJSON(jsonString: string): SafeParseResult<Included4, SDKValidationError>;
475
+ /** @internal */
476
+ export declare const GetApplicationIncludedApplicationsResponseType$inboundSchema: z.ZodNativeEnum<typeof GetApplicationIncludedApplicationsResponseType>;
477
+ /** @internal */
478
+ export declare const GetApplicationIncludedApplicationsResponseType$outboundSchema: z.ZodNativeEnum<typeof GetApplicationIncludedApplicationsResponseType>;
479
+ /**
480
+ * @internal
481
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
482
+ */
483
+ export declare namespace GetApplicationIncludedApplicationsResponseType$ {
484
+ /** @deprecated use `GetApplicationIncludedApplicationsResponseType$inboundSchema` instead. */
485
+ const inboundSchema: z.ZodNativeEnum<{
486
+ readonly Assets: "assets";
487
+ }>;
488
+ /** @deprecated use `GetApplicationIncludedApplicationsResponseType$outboundSchema` instead. */
489
+ const outboundSchema: z.ZodNativeEnum<{
490
+ readonly Assets: "assets";
491
+ }>;
492
+ }
493
+ /** @internal */
494
+ export declare const Included3$inboundSchema: z.ZodType<Included3, z.ZodTypeDef, unknown>;
495
+ /** @internal */
496
+ export type Included3$Outbound = {
497
+ type: string;
498
+ id: string;
499
+ attributes: components.CommercialSecuredLoanAssetAttributes$Outbound;
500
+ links?: {
501
+ [k: string]: components.LinkObject$Outbound;
502
+ } | undefined;
503
+ meta?: {
504
+ [k: string]: any;
505
+ } | undefined;
506
+ };
507
+ /** @internal */
508
+ export declare const Included3$outboundSchema: z.ZodType<Included3$Outbound, z.ZodTypeDef, Included3>;
509
+ /**
510
+ * @internal
511
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
512
+ */
513
+ export declare namespace Included3$ {
514
+ /** @deprecated use `Included3$inboundSchema` instead. */
515
+ const inboundSchema: z.ZodType<Included3, z.ZodTypeDef, unknown>;
516
+ /** @deprecated use `Included3$outboundSchema` instead. */
517
+ const outboundSchema: z.ZodType<Included3$Outbound, z.ZodTypeDef, Included3>;
518
+ /** @deprecated use `Included3$Outbound` instead. */
519
+ type Outbound = Included3$Outbound;
520
+ }
521
+ export declare function included3ToJSON(included3: Included3): string;
522
+ export declare function included3FromJSON(jsonString: string): SafeParseResult<Included3, SDKValidationError>;
523
+ /** @internal */
524
+ export declare const GetApplicationIncludedApplicationsType$inboundSchema: z.ZodNativeEnum<typeof GetApplicationIncludedApplicationsType>;
525
+ /** @internal */
526
+ export declare const GetApplicationIncludedApplicationsType$outboundSchema: z.ZodNativeEnum<typeof GetApplicationIncludedApplicationsType>;
527
+ /**
528
+ * @internal
529
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
530
+ */
531
+ export declare namespace GetApplicationIncludedApplicationsType$ {
532
+ /** @deprecated use `GetApplicationIncludedApplicationsType$inboundSchema` instead. */
533
+ const inboundSchema: z.ZodNativeEnum<{
534
+ readonly Assets: "assets";
535
+ }>;
536
+ /** @deprecated use `GetApplicationIncludedApplicationsType$outboundSchema` instead. */
537
+ const outboundSchema: z.ZodNativeEnum<{
538
+ readonly Assets: "assets";
539
+ }>;
540
+ }
541
+ /** @internal */
542
+ export declare const Included2$inboundSchema: z.ZodType<Included2, z.ZodTypeDef, unknown>;
543
+ /** @internal */
544
+ export type Included2$Outbound = {
545
+ type: string;
546
+ id: string;
547
+ attributes: components.ConsumerSecuredLoanAssetAttributes$Outbound;
548
+ links?: {
549
+ [k: string]: components.LinkObject$Outbound;
550
+ } | undefined;
551
+ meta?: {
552
+ [k: string]: any;
553
+ } | undefined;
554
+ };
555
+ /** @internal */
556
+ export declare const Included2$outboundSchema: z.ZodType<Included2$Outbound, z.ZodTypeDef, Included2>;
557
+ /**
558
+ * @internal
559
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
560
+ */
561
+ export declare namespace Included2$ {
562
+ /** @deprecated use `Included2$inboundSchema` instead. */
563
+ const inboundSchema: z.ZodType<Included2, z.ZodTypeDef, unknown>;
564
+ /** @deprecated use `Included2$outboundSchema` instead. */
565
+ const outboundSchema: z.ZodType<Included2$Outbound, z.ZodTypeDef, Included2>;
566
+ /** @deprecated use `Included2$Outbound` instead. */
567
+ type Outbound = Included2$Outbound;
568
+ }
569
+ export declare function included2ToJSON(included2: Included2): string;
570
+ export declare function included2FromJSON(jsonString: string): SafeParseResult<Included2, SDKValidationError>;
571
+ /** @internal */
572
+ export declare const GetApplicationIncludedType$inboundSchema: z.ZodNativeEnum<typeof GetApplicationIncludedType>;
573
+ /** @internal */
574
+ export declare const GetApplicationIncludedType$outboundSchema: z.ZodNativeEnum<typeof GetApplicationIncludedType>;
575
+ /**
576
+ * @internal
577
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
578
+ */
579
+ export declare namespace GetApplicationIncludedType$ {
580
+ /** @deprecated use `GetApplicationIncludedType$inboundSchema` instead. */
581
+ const inboundSchema: z.ZodNativeEnum<{
582
+ readonly Addresses: "addresses";
583
+ }>;
584
+ /** @deprecated use `GetApplicationIncludedType$outboundSchema` instead. */
585
+ const outboundSchema: z.ZodNativeEnum<{
586
+ readonly Addresses: "addresses";
587
+ }>;
588
+ }
589
+ /** @internal */
590
+ export declare const Included1$inboundSchema: z.ZodType<Included1, z.ZodTypeDef, unknown>;
591
+ /** @internal */
592
+ export type Included1$Outbound = {
593
+ type: string;
594
+ id: string;
595
+ attributes: components.AddressAttributes$Outbound;
596
+ links?: {
597
+ [k: string]: components.LinkObject$Outbound;
598
+ } | undefined;
599
+ meta?: {
600
+ [k: string]: any;
601
+ } | undefined;
602
+ };
603
+ /** @internal */
604
+ export declare const Included1$outboundSchema: z.ZodType<Included1$Outbound, z.ZodTypeDef, Included1>;
605
+ /**
606
+ * @internal
607
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
608
+ */
609
+ export declare namespace Included1$ {
610
+ /** @deprecated use `Included1$inboundSchema` instead. */
611
+ const inboundSchema: z.ZodType<Included1, z.ZodTypeDef, unknown>;
612
+ /** @deprecated use `Included1$outboundSchema` instead. */
613
+ const outboundSchema: z.ZodType<Included1$Outbound, z.ZodTypeDef, Included1>;
614
+ /** @deprecated use `Included1$Outbound` instead. */
615
+ type Outbound = Included1$Outbound;
616
+ }
617
+ export declare function included1ToJSON(included1: Included1): string;
618
+ export declare function included1FromJSON(jsonString: string): SafeParseResult<Included1, SDKValidationError>;
619
+ /** @internal */
620
+ export declare const GetApplicationIncluded$inboundSchema: z.ZodType<GetApplicationIncluded, z.ZodTypeDef, unknown>;
621
+ /** @internal */
622
+ export type GetApplicationIncluded$Outbound = Included1$Outbound | Included2$Outbound | Included3$Outbound | Included4$Outbound | Included5$Outbound | Included6$Outbound | Included7$Outbound | Included8$Outbound;
623
+ /** @internal */
624
+ export declare const GetApplicationIncluded$outboundSchema: z.ZodType<GetApplicationIncluded$Outbound, z.ZodTypeDef, GetApplicationIncluded>;
625
+ /**
626
+ * @internal
627
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
628
+ */
629
+ export declare namespace GetApplicationIncluded$ {
630
+ /** @deprecated use `GetApplicationIncluded$inboundSchema` instead. */
631
+ const inboundSchema: z.ZodType<GetApplicationIncluded, z.ZodTypeDef, unknown>;
632
+ /** @deprecated use `GetApplicationIncluded$outboundSchema` instead. */
633
+ const outboundSchema: z.ZodType<GetApplicationIncluded$Outbound, z.ZodTypeDef, GetApplicationIncluded>;
634
+ /** @deprecated use `GetApplicationIncluded$Outbound` instead. */
635
+ type Outbound = GetApplicationIncluded$Outbound;
636
+ }
637
+ export declare function getApplicationIncludedToJSON(getApplicationIncluded: GetApplicationIncluded): string;
638
+ export declare function getApplicationIncludedFromJSON(jsonString: string): SafeParseResult<GetApplicationIncluded, SDKValidationError>;
639
+ /** @internal */
640
+ export declare const GetApplicationLinks$inboundSchema: z.ZodType<GetApplicationLinks, z.ZodTypeDef, unknown>;
641
+ /** @internal */
642
+ export type GetApplicationLinks$Outbound = {};
643
+ /** @internal */
644
+ export declare const GetApplicationLinks$outboundSchema: z.ZodType<GetApplicationLinks$Outbound, z.ZodTypeDef, GetApplicationLinks>;
645
+ /**
646
+ * @internal
647
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
648
+ */
649
+ export declare namespace GetApplicationLinks$ {
650
+ /** @deprecated use `GetApplicationLinks$inboundSchema` instead. */
651
+ const inboundSchema: z.ZodType<GetApplicationLinks, z.ZodTypeDef, unknown>;
652
+ /** @deprecated use `GetApplicationLinks$outboundSchema` instead. */
653
+ const outboundSchema: z.ZodType<GetApplicationLinks$Outbound, z.ZodTypeDef, GetApplicationLinks>;
654
+ /** @deprecated use `GetApplicationLinks$Outbound` instead. */
655
+ type Outbound = GetApplicationLinks$Outbound;
656
+ }
657
+ export declare function getApplicationLinksToJSON(getApplicationLinks: GetApplicationLinks): string;
658
+ export declare function getApplicationLinksFromJSON(jsonString: string): SafeParseResult<GetApplicationLinks, SDKValidationError>;
659
+ /** @internal */
660
+ export declare const GetApplicationResponseBody$inboundSchema: z.ZodType<GetApplicationResponseBody, z.ZodTypeDef, unknown>;
661
+ /** @internal */
662
+ export type GetApplicationResponseBody$Outbound = {
663
+ data: components.ApplicationResource$Outbound;
664
+ included?: Array<Included1$Outbound | Included2$Outbound | Included3$Outbound | Included4$Outbound | Included5$Outbound | Included6$Outbound | Included7$Outbound | Included8$Outbound> | undefined;
665
+ links?: GetApplicationLinks$Outbound | undefined;
666
+ };
667
+ /** @internal */
668
+ export declare const GetApplicationResponseBody$outboundSchema: z.ZodType<GetApplicationResponseBody$Outbound, z.ZodTypeDef, GetApplicationResponseBody>;
669
+ /**
670
+ * @internal
671
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
672
+ */
673
+ export declare namespace GetApplicationResponseBody$ {
674
+ /** @deprecated use `GetApplicationResponseBody$inboundSchema` instead. */
675
+ const inboundSchema: z.ZodType<GetApplicationResponseBody, z.ZodTypeDef, unknown>;
676
+ /** @deprecated use `GetApplicationResponseBody$outboundSchema` instead. */
677
+ const outboundSchema: z.ZodType<GetApplicationResponseBody$Outbound, z.ZodTypeDef, GetApplicationResponseBody>;
678
+ /** @deprecated use `GetApplicationResponseBody$Outbound` instead. */
679
+ type Outbound = GetApplicationResponseBody$Outbound;
680
+ }
681
+ export declare function getApplicationResponseBodyToJSON(getApplicationResponseBody: GetApplicationResponseBody): string;
682
+ export declare function getApplicationResponseBodyFromJSON(jsonString: string): SafeParseResult<GetApplicationResponseBody, SDKValidationError>;
683
+ /** @internal */
684
+ export declare const GetApplicationResponse$inboundSchema: z.ZodType<GetApplicationResponse, z.ZodTypeDef, unknown>;
685
+ /** @internal */
686
+ export type GetApplicationResponse$Outbound = GetApplicationResponseBody$Outbound | GetApplicationApplicationsResponseBody$Outbound | GetApplicationApplicationsResponseResponseBody$Outbound;
687
+ /** @internal */
688
+ export declare const GetApplicationResponse$outboundSchema: z.ZodType<GetApplicationResponse$Outbound, z.ZodTypeDef, GetApplicationResponse>;
689
+ /**
690
+ * @internal
691
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
692
+ */
693
+ export declare namespace GetApplicationResponse$ {
694
+ /** @deprecated use `GetApplicationResponse$inboundSchema` instead. */
695
+ const inboundSchema: z.ZodType<GetApplicationResponse, z.ZodTypeDef, unknown>;
696
+ /** @deprecated use `GetApplicationResponse$outboundSchema` instead. */
697
+ const outboundSchema: z.ZodType<GetApplicationResponse$Outbound, z.ZodTypeDef, GetApplicationResponse>;
698
+ /** @deprecated use `GetApplicationResponse$Outbound` instead. */
699
+ type Outbound = GetApplicationResponse$Outbound;
700
+ }
701
+ export declare function getApplicationResponseToJSON(getApplicationResponse: GetApplicationResponse): string;
702
+ export declare function getApplicationResponseFromJSON(jsonString: string): SafeParseResult<GetApplicationResponse, SDKValidationError>;
703
+ //# sourceMappingURL=getapplication.d.ts.map