@financeable/aggregation 0.8.3 → 0.9.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 (156) hide show
  1. package/FUNCTIONS.md +153 -36
  2. package/README.md +475 -94
  3. package/docs/sdks/applications/README.md +9 -15
  4. package/docs/sdks/oauthtoken/README.md +5 -9
  5. package/docs/sdks/supportingdocuments/README.md +9 -16
  6. package/funcs/applicationsCreate.d.ts +3 -3
  7. package/funcs/applicationsCreate.d.ts.map +1 -1
  8. package/funcs/applicationsCreate.js +4 -6
  9. package/funcs/applicationsCreate.js.map +1 -1
  10. package/funcs/oauthTokenGet.d.ts +3 -2
  11. package/funcs/oauthTokenGet.d.ts.map +1 -1
  12. package/funcs/oauthTokenGet.js +4 -2
  13. package/funcs/oauthTokenGet.js.map +1 -1
  14. package/funcs/supportingDocumentsCreate.d.ts +3 -3
  15. package/funcs/supportingDocumentsCreate.d.ts.map +1 -1
  16. package/funcs/supportingDocumentsCreate.js +5 -8
  17. package/funcs/supportingDocumentsCreate.js.map +1 -1
  18. package/hooks/types.d.ts +2 -0
  19. package/hooks/types.d.ts.map +1 -1
  20. package/index.d.ts +2 -0
  21. package/index.d.ts.map +1 -1
  22. package/index.js +3 -1
  23. package/index.js.map +1 -1
  24. package/jsr.json +1 -1
  25. package/lib/config.d.ts +7 -3
  26. package/lib/config.d.ts.map +1 -1
  27. package/lib/config.js +3 -3
  28. package/lib/config.js.map +1 -1
  29. package/lib/files.d.ts +5 -0
  30. package/lib/files.d.ts.map +1 -1
  31. package/lib/files.js +41 -0
  32. package/lib/files.js.map +1 -1
  33. package/lib/matchers.d.ts +3 -10
  34. package/lib/matchers.d.ts.map +1 -1
  35. package/lib/matchers.js +33 -31
  36. package/lib/matchers.js.map +1 -1
  37. package/lib/sdks.d.ts +1 -0
  38. package/lib/sdks.d.ts.map +1 -1
  39. package/lib/sdks.js +3 -3
  40. package/lib/sdks.js.map +1 -1
  41. package/lib/security.d.ts +2 -2
  42. package/lib/security.d.ts.map +1 -1
  43. package/models/components/addressattributes.d.ts +8 -8
  44. package/models/components/addressattributes.d.ts.map +1 -1
  45. package/models/components/addressattributes.js +14 -13
  46. package/models/components/addressattributes.js.map +1 -1
  47. package/models/components/badrequesterror.d.ts +24 -24
  48. package/models/components/badrequesterror.d.ts.map +1 -1
  49. package/models/components/badrequesterror.js +37 -38
  50. package/models/components/badrequesterror.js.map +1 -1
  51. package/models/components/commercialsecuredapplicationpayload.d.ts +8 -8
  52. package/models/components/commercialsecuredapplicationpayload.d.ts.map +1 -1
  53. package/models/components/commercialsecuredapplicationpayload.js +13 -14
  54. package/models/components/commercialsecuredapplicationpayload.js.map +1 -1
  55. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +90 -90
  56. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
  57. package/models/components/commercialsecuredloancommercialapplicationrelationships.js +116 -118
  58. package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -1
  59. package/models/components/customerattributes.d.ts +12 -1
  60. package/models/components/customerattributes.d.ts.map +1 -1
  61. package/models/components/customerattributes.js +5 -0
  62. package/models/components/customerattributes.js.map +1 -1
  63. package/models/components/forbiddenerror.d.ts +16 -16
  64. package/models/components/forbiddenerror.d.ts.map +1 -1
  65. package/models/components/forbiddenerror.js +25 -25
  66. package/models/components/forbiddenerror.js.map +1 -1
  67. package/models/components/loandetailsattributes.d.ts +8 -8
  68. package/models/components/loandetailsattributes.d.ts.map +1 -1
  69. package/models/components/loandetailsattributes.js +8 -8
  70. package/models/components/loandetailsattributes.js.map +1 -1
  71. package/models/components/supportingdocumentrelationships.d.ts +45 -45
  72. package/models/components/supportingdocumentrelationships.d.ts.map +1 -1
  73. package/models/components/supportingdocumentrelationships.js +54 -54
  74. package/models/components/supportingdocumentrelationships.js.map +1 -1
  75. package/models/components/supportingdocumentresource.d.ts +8 -8
  76. package/models/components/supportingdocumentresource.d.ts.map +1 -1
  77. package/models/components/supportingdocumentresource.js +13 -13
  78. package/models/components/supportingdocumentresource.js.map +1 -1
  79. package/models/errors/apierror.d.ts +8 -6
  80. package/models/errors/apierror.d.ts.map +1 -1
  81. package/models/errors/apierror.js +23 -10
  82. package/models/errors/apierror.js.map +1 -1
  83. package/models/errors/financeableerror.d.ts +19 -0
  84. package/models/errors/financeableerror.d.ts.map +1 -0
  85. package/models/errors/financeableerror.js +20 -0
  86. package/models/errors/financeableerror.js.map +1 -0
  87. package/models/errors/index.d.ts +1 -2
  88. package/models/errors/index.d.ts.map +1 -1
  89. package/models/errors/index.js +1 -2
  90. package/models/errors/index.js.map +1 -1
  91. package/models/errors/responsevalidationerror.d.ts +26 -0
  92. package/models/errors/responsevalidationerror.d.ts.map +1 -0
  93. package/models/errors/responsevalidationerror.js +66 -0
  94. package/models/errors/responsevalidationerror.js.map +1 -0
  95. package/models/errors/sdkvalidationerror.d.ts +1 -0
  96. package/models/errors/sdkvalidationerror.d.ts.map +1 -1
  97. package/models/errors/sdkvalidationerror.js +14 -0
  98. package/models/errors/sdkvalidationerror.js.map +1 -1
  99. package/models/operations/createapplication.d.ts +107 -30
  100. package/models/operations/createapplication.d.ts.map +1 -1
  101. package/models/operations/createapplication.js +125 -44
  102. package/models/operations/createapplication.js.map +1 -1
  103. package/models/operations/supportingdocumentscreate.d.ts +144 -0
  104. package/models/operations/supportingdocumentscreate.d.ts.map +1 -1
  105. package/models/operations/supportingdocumentscreate.js +186 -1
  106. package/models/operations/supportingdocumentscreate.js.map +1 -1
  107. package/package.json +1 -1
  108. package/sdk/applications.d.ts +1 -1
  109. package/sdk/applications.d.ts.map +1 -1
  110. package/sdk/sdk.d.ts +2 -2
  111. package/sdk/sdk.d.ts.map +1 -1
  112. package/sdk/sdk.js +3 -3
  113. package/sdk/sdk.js.map +1 -1
  114. package/sdk/supportingdocuments.d.ts +1 -1
  115. package/sdk/supportingdocuments.d.ts.map +1 -1
  116. package/src/funcs/applicationsCreate.ts +30 -40
  117. package/src/funcs/oauthTokenGet.ts +24 -20
  118. package/src/funcs/supportingDocumentsCreate.ts +31 -42
  119. package/src/hooks/types.ts +2 -0
  120. package/src/index.ts +2 -0
  121. package/src/lib/config.ts +7 -3
  122. package/src/lib/files.ts +42 -0
  123. package/src/lib/matchers.ts +44 -41
  124. package/src/lib/sdks.ts +10 -4
  125. package/src/lib/security.ts +2 -2
  126. package/src/models/components/addressattributes.ts +14 -18
  127. package/src/models/components/badrequesterror.ts +48 -44
  128. package/src/models/components/commercialsecuredapplicationpayload.ts +15 -20
  129. package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +178 -238
  130. package/src/models/components/customerattributes.ts +20 -1
  131. package/src/models/components/forbiddenerror.ts +30 -32
  132. package/src/models/components/loandetailsattributes.ts +16 -16
  133. package/src/models/components/supportingdocumentrelationships.ts +117 -82
  134. package/src/models/components/supportingdocumentresource.ts +18 -15
  135. package/src/models/errors/apierror.ts +29 -16
  136. package/src/models/errors/financeableerror.ts +35 -0
  137. package/src/models/errors/index.ts +1 -2
  138. package/src/models/errors/responsevalidationerror.ts +50 -0
  139. package/src/models/errors/sdkvalidationerror.ts +12 -0
  140. package/src/models/operations/createapplication.ts +299 -64
  141. package/src/models/operations/supportingdocumentscreate.ts +386 -0
  142. package/src/sdk/applications.ts +1 -1
  143. package/src/sdk/sdk.ts +7 -7
  144. package/src/sdk/supportingdocuments.ts +1 -1
  145. package/src/types/constdatetime.ts +1 -1
  146. package/types/constdatetime.js +1 -1
  147. package/models/errors/createapplication.d.ts +0 -73
  148. package/models/errors/createapplication.d.ts.map +0 -1
  149. package/models/errors/createapplication.js +0 -120
  150. package/models/errors/createapplication.js.map +0 -1
  151. package/models/errors/supportingdocumentscreate.d.ts +0 -143
  152. package/models/errors/supportingdocumentscreate.d.ts.map +0 -1
  153. package/models/errors/supportingdocumentscreate.js +0 -225
  154. package/models/errors/supportingdocumentscreate.js.map +0 -1
  155. package/src/models/errors/createapplication.ts +0 -149
  156. package/src/models/errors/supportingdocumentscreate.ts +0 -342
@@ -27,6 +27,34 @@ export type SupportingDocumentsCreateRequest = {
27
27
  requestBody: SupportingDocumentsCreateRequestBody;
28
28
  };
29
29
 
30
+ export type Two = {
31
+ errors: Array<components.RelationshipResourceNotFound>;
32
+ };
33
+
34
+ export type One = {
35
+ errors: Array<components.ResourceNotFound>;
36
+ };
37
+
38
+ /**
39
+ * The server cannot find the requested resource.
40
+ */
41
+ export type SupportingDocumentsCreateSupportingDocumentsResponseResponseBody =
42
+ | One
43
+ | Two;
44
+
45
+ export type Errors =
46
+ | components.RelationshipResourceNotFound
47
+ | components.BadRequestError;
48
+
49
+ /**
50
+ * The server could not understand the request due to invalid syntax.
51
+ */
52
+ export type SupportingDocumentsCreateSupportingDocumentsResponseBody = {
53
+ errors: Array<
54
+ components.RelationshipResourceNotFound | components.BadRequestError
55
+ >;
56
+ };
57
+
30
58
  /**
31
59
  * The request has succeeded and a new resource has been created as a result.
32
60
  */
@@ -34,6 +62,12 @@ export type SupportingDocumentsCreateResponseBody = {
34
62
  data: components.CreateSupportingDocumentsResponse;
35
63
  };
36
64
 
65
+ export type SupportingDocumentsCreateResponse =
66
+ | SupportingDocumentsCreateResponseBody
67
+ | SupportingDocumentsCreateSupportingDocumentsResponseBody
68
+ | One
69
+ | Two;
70
+
37
71
  /** @internal */
38
72
  export const SupportingDocumentsCreateRequestBody$inboundSchema: z.ZodType<
39
73
  SupportingDocumentsCreateRequestBody,
@@ -162,6 +196,291 @@ export function supportingDocumentsCreateRequestFromJSON(
162
196
  );
163
197
  }
164
198
 
199
+ /** @internal */
200
+ export const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown> = z
201
+ .object({
202
+ errors: z.array(components.RelationshipResourceNotFound$inboundSchema),
203
+ });
204
+
205
+ /** @internal */
206
+ export type Two$Outbound = {
207
+ errors: Array<components.RelationshipResourceNotFound$Outbound>;
208
+ };
209
+
210
+ /** @internal */
211
+ export const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two> = z
212
+ .object({
213
+ errors: z.array(components.RelationshipResourceNotFound$outboundSchema),
214
+ });
215
+
216
+ /**
217
+ * @internal
218
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
219
+ */
220
+ export namespace Two$ {
221
+ /** @deprecated use `Two$inboundSchema` instead. */
222
+ export const inboundSchema = Two$inboundSchema;
223
+ /** @deprecated use `Two$outboundSchema` instead. */
224
+ export const outboundSchema = Two$outboundSchema;
225
+ /** @deprecated use `Two$Outbound` instead. */
226
+ export type Outbound = Two$Outbound;
227
+ }
228
+
229
+ export function twoToJSON(two: Two): string {
230
+ return JSON.stringify(Two$outboundSchema.parse(two));
231
+ }
232
+
233
+ export function twoFromJSON(
234
+ jsonString: string,
235
+ ): SafeParseResult<Two, SDKValidationError> {
236
+ return safeParse(
237
+ jsonString,
238
+ (x) => Two$inboundSchema.parse(JSON.parse(x)),
239
+ `Failed to parse 'Two' from JSON`,
240
+ );
241
+ }
242
+
243
+ /** @internal */
244
+ export const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown> = z
245
+ .object({
246
+ errors: z.array(components.ResourceNotFound$inboundSchema),
247
+ });
248
+
249
+ /** @internal */
250
+ export type One$Outbound = {
251
+ errors: Array<components.ResourceNotFound$Outbound>;
252
+ };
253
+
254
+ /** @internal */
255
+ export const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One> = z
256
+ .object({
257
+ errors: z.array(components.ResourceNotFound$outboundSchema),
258
+ });
259
+
260
+ /**
261
+ * @internal
262
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
263
+ */
264
+ export namespace One$ {
265
+ /** @deprecated use `One$inboundSchema` instead. */
266
+ export const inboundSchema = One$inboundSchema;
267
+ /** @deprecated use `One$outboundSchema` instead. */
268
+ export const outboundSchema = One$outboundSchema;
269
+ /** @deprecated use `One$Outbound` instead. */
270
+ export type Outbound = One$Outbound;
271
+ }
272
+
273
+ export function oneToJSON(one: One): string {
274
+ return JSON.stringify(One$outboundSchema.parse(one));
275
+ }
276
+
277
+ export function oneFromJSON(
278
+ jsonString: string,
279
+ ): SafeParseResult<One, SDKValidationError> {
280
+ return safeParse(
281
+ jsonString,
282
+ (x) => One$inboundSchema.parse(JSON.parse(x)),
283
+ `Failed to parse 'One' from JSON`,
284
+ );
285
+ }
286
+
287
+ /** @internal */
288
+ export const SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$inboundSchema:
289
+ z.ZodType<
290
+ SupportingDocumentsCreateSupportingDocumentsResponseResponseBody,
291
+ z.ZodTypeDef,
292
+ unknown
293
+ > = z.union([
294
+ z.lazy(() => One$inboundSchema),
295
+ z.lazy(() => Two$inboundSchema),
296
+ ]);
297
+
298
+ /** @internal */
299
+ export type SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$Outbound =
300
+ | One$Outbound
301
+ | Two$Outbound;
302
+
303
+ /** @internal */
304
+ export const SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$outboundSchema:
305
+ z.ZodType<
306
+ SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$Outbound,
307
+ z.ZodTypeDef,
308
+ SupportingDocumentsCreateSupportingDocumentsResponseResponseBody
309
+ > = z.union([
310
+ z.lazy(() => One$outboundSchema),
311
+ z.lazy(() => Two$outboundSchema),
312
+ ]);
313
+
314
+ /**
315
+ * @internal
316
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
317
+ */
318
+ export namespace SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$ {
319
+ /** @deprecated use `SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$inboundSchema` instead. */
320
+ export const inboundSchema =
321
+ SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$inboundSchema;
322
+ /** @deprecated use `SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$outboundSchema` instead. */
323
+ export const outboundSchema =
324
+ SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$outboundSchema;
325
+ /** @deprecated use `SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$Outbound` instead. */
326
+ export type Outbound =
327
+ SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$Outbound;
328
+ }
329
+
330
+ export function supportingDocumentsCreateSupportingDocumentsResponseResponseBodyToJSON(
331
+ supportingDocumentsCreateSupportingDocumentsResponseResponseBody:
332
+ SupportingDocumentsCreateSupportingDocumentsResponseResponseBody,
333
+ ): string {
334
+ return JSON.stringify(
335
+ SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$outboundSchema
336
+ .parse(supportingDocumentsCreateSupportingDocumentsResponseResponseBody),
337
+ );
338
+ }
339
+
340
+ export function supportingDocumentsCreateSupportingDocumentsResponseResponseBodyFromJSON(
341
+ jsonString: string,
342
+ ): SafeParseResult<
343
+ SupportingDocumentsCreateSupportingDocumentsResponseResponseBody,
344
+ SDKValidationError
345
+ > {
346
+ return safeParse(
347
+ jsonString,
348
+ (x) =>
349
+ SupportingDocumentsCreateSupportingDocumentsResponseResponseBody$inboundSchema
350
+ .parse(JSON.parse(x)),
351
+ `Failed to parse 'SupportingDocumentsCreateSupportingDocumentsResponseResponseBody' from JSON`,
352
+ );
353
+ }
354
+
355
+ /** @internal */
356
+ export const Errors$inboundSchema: z.ZodType<Errors, z.ZodTypeDef, unknown> = z
357
+ .union([
358
+ components.RelationshipResourceNotFound$inboundSchema,
359
+ components.BadRequestError$inboundSchema,
360
+ ]);
361
+
362
+ /** @internal */
363
+ export type Errors$Outbound =
364
+ | components.RelationshipResourceNotFound$Outbound
365
+ | components.BadRequestError$Outbound;
366
+
367
+ /** @internal */
368
+ export const Errors$outboundSchema: z.ZodType<
369
+ Errors$Outbound,
370
+ z.ZodTypeDef,
371
+ Errors
372
+ > = z.union([
373
+ components.RelationshipResourceNotFound$outboundSchema,
374
+ components.BadRequestError$outboundSchema,
375
+ ]);
376
+
377
+ /**
378
+ * @internal
379
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
380
+ */
381
+ export namespace Errors$ {
382
+ /** @deprecated use `Errors$inboundSchema` instead. */
383
+ export const inboundSchema = Errors$inboundSchema;
384
+ /** @deprecated use `Errors$outboundSchema` instead. */
385
+ export const outboundSchema = Errors$outboundSchema;
386
+ /** @deprecated use `Errors$Outbound` instead. */
387
+ export type Outbound = Errors$Outbound;
388
+ }
389
+
390
+ export function errorsToJSON(errors: Errors): string {
391
+ return JSON.stringify(Errors$outboundSchema.parse(errors));
392
+ }
393
+
394
+ export function errorsFromJSON(
395
+ jsonString: string,
396
+ ): SafeParseResult<Errors, SDKValidationError> {
397
+ return safeParse(
398
+ jsonString,
399
+ (x) => Errors$inboundSchema.parse(JSON.parse(x)),
400
+ `Failed to parse 'Errors' from JSON`,
401
+ );
402
+ }
403
+
404
+ /** @internal */
405
+ export const SupportingDocumentsCreateSupportingDocumentsResponseBody$inboundSchema:
406
+ z.ZodType<
407
+ SupportingDocumentsCreateSupportingDocumentsResponseBody,
408
+ z.ZodTypeDef,
409
+ unknown
410
+ > = z.object({
411
+ errors: z.array(
412
+ z.union([
413
+ components.RelationshipResourceNotFound$inboundSchema,
414
+ components.BadRequestError$inboundSchema,
415
+ ]),
416
+ ),
417
+ });
418
+
419
+ /** @internal */
420
+ export type SupportingDocumentsCreateSupportingDocumentsResponseBody$Outbound =
421
+ {
422
+ errors: Array<
423
+ | components.RelationshipResourceNotFound$Outbound
424
+ | components.BadRequestError$Outbound
425
+ >;
426
+ };
427
+
428
+ /** @internal */
429
+ export const SupportingDocumentsCreateSupportingDocumentsResponseBody$outboundSchema:
430
+ z.ZodType<
431
+ SupportingDocumentsCreateSupportingDocumentsResponseBody$Outbound,
432
+ z.ZodTypeDef,
433
+ SupportingDocumentsCreateSupportingDocumentsResponseBody
434
+ > = z.object({
435
+ errors: z.array(
436
+ z.union([
437
+ components.RelationshipResourceNotFound$outboundSchema,
438
+ components.BadRequestError$outboundSchema,
439
+ ]),
440
+ ),
441
+ });
442
+
443
+ /**
444
+ * @internal
445
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
446
+ */
447
+ export namespace SupportingDocumentsCreateSupportingDocumentsResponseBody$ {
448
+ /** @deprecated use `SupportingDocumentsCreateSupportingDocumentsResponseBody$inboundSchema` instead. */
449
+ export const inboundSchema =
450
+ SupportingDocumentsCreateSupportingDocumentsResponseBody$inboundSchema;
451
+ /** @deprecated use `SupportingDocumentsCreateSupportingDocumentsResponseBody$outboundSchema` instead. */
452
+ export const outboundSchema =
453
+ SupportingDocumentsCreateSupportingDocumentsResponseBody$outboundSchema;
454
+ /** @deprecated use `SupportingDocumentsCreateSupportingDocumentsResponseBody$Outbound` instead. */
455
+ export type Outbound =
456
+ SupportingDocumentsCreateSupportingDocumentsResponseBody$Outbound;
457
+ }
458
+
459
+ export function supportingDocumentsCreateSupportingDocumentsResponseBodyToJSON(
460
+ supportingDocumentsCreateSupportingDocumentsResponseBody:
461
+ SupportingDocumentsCreateSupportingDocumentsResponseBody,
462
+ ): string {
463
+ return JSON.stringify(
464
+ SupportingDocumentsCreateSupportingDocumentsResponseBody$outboundSchema
465
+ .parse(supportingDocumentsCreateSupportingDocumentsResponseBody),
466
+ );
467
+ }
468
+
469
+ export function supportingDocumentsCreateSupportingDocumentsResponseBodyFromJSON(
470
+ jsonString: string,
471
+ ): SafeParseResult<
472
+ SupportingDocumentsCreateSupportingDocumentsResponseBody,
473
+ SDKValidationError
474
+ > {
475
+ return safeParse(
476
+ jsonString,
477
+ (x) =>
478
+ SupportingDocumentsCreateSupportingDocumentsResponseBody$inboundSchema
479
+ .parse(JSON.parse(x)),
480
+ `Failed to parse 'SupportingDocumentsCreateSupportingDocumentsResponseBody' from JSON`,
481
+ );
482
+ }
483
+
165
484
  /** @internal */
166
485
  export const SupportingDocumentsCreateResponseBody$inboundSchema: z.ZodType<
167
486
  SupportingDocumentsCreateResponseBody,
@@ -220,3 +539,70 @@ export function supportingDocumentsCreateResponseBodyFromJSON(
220
539
  `Failed to parse 'SupportingDocumentsCreateResponseBody' from JSON`,
221
540
  );
222
541
  }
542
+
543
+ /** @internal */
544
+ export const SupportingDocumentsCreateResponse$inboundSchema: z.ZodType<
545
+ SupportingDocumentsCreateResponse,
546
+ z.ZodTypeDef,
547
+ unknown
548
+ > = z.union([
549
+ z.lazy(() => SupportingDocumentsCreateResponseBody$inboundSchema),
550
+ z.lazy(() =>
551
+ SupportingDocumentsCreateSupportingDocumentsResponseBody$inboundSchema
552
+ ),
553
+ z.union([z.lazy(() => One$inboundSchema), z.lazy(() => Two$inboundSchema)]),
554
+ ]);
555
+
556
+ /** @internal */
557
+ export type SupportingDocumentsCreateResponse$Outbound =
558
+ | SupportingDocumentsCreateResponseBody$Outbound
559
+ | SupportingDocumentsCreateSupportingDocumentsResponseBody$Outbound
560
+ | One$Outbound
561
+ | Two$Outbound;
562
+
563
+ /** @internal */
564
+ export const SupportingDocumentsCreateResponse$outboundSchema: z.ZodType<
565
+ SupportingDocumentsCreateResponse$Outbound,
566
+ z.ZodTypeDef,
567
+ SupportingDocumentsCreateResponse
568
+ > = z.union([
569
+ z.lazy(() => SupportingDocumentsCreateResponseBody$outboundSchema),
570
+ z.lazy(() =>
571
+ SupportingDocumentsCreateSupportingDocumentsResponseBody$outboundSchema
572
+ ),
573
+ z.union([z.lazy(() => One$outboundSchema), z.lazy(() => Two$outboundSchema)]),
574
+ ]);
575
+
576
+ /**
577
+ * @internal
578
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
579
+ */
580
+ export namespace SupportingDocumentsCreateResponse$ {
581
+ /** @deprecated use `SupportingDocumentsCreateResponse$inboundSchema` instead. */
582
+ export const inboundSchema = SupportingDocumentsCreateResponse$inboundSchema;
583
+ /** @deprecated use `SupportingDocumentsCreateResponse$outboundSchema` instead. */
584
+ export const outboundSchema =
585
+ SupportingDocumentsCreateResponse$outboundSchema;
586
+ /** @deprecated use `SupportingDocumentsCreateResponse$Outbound` instead. */
587
+ export type Outbound = SupportingDocumentsCreateResponse$Outbound;
588
+ }
589
+
590
+ export function supportingDocumentsCreateResponseToJSON(
591
+ supportingDocumentsCreateResponse: SupportingDocumentsCreateResponse,
592
+ ): string {
593
+ return JSON.stringify(
594
+ SupportingDocumentsCreateResponse$outboundSchema.parse(
595
+ supportingDocumentsCreateResponse,
596
+ ),
597
+ );
598
+ }
599
+
600
+ export function supportingDocumentsCreateResponseFromJSON(
601
+ jsonString: string,
602
+ ): SafeParseResult<SupportingDocumentsCreateResponse, SDKValidationError> {
603
+ return safeParse(
604
+ jsonString,
605
+ (x) => SupportingDocumentsCreateResponse$inboundSchema.parse(JSON.parse(x)),
606
+ `Failed to parse 'SupportingDocumentsCreateResponse' from JSON`,
607
+ );
608
+ }
@@ -14,7 +14,7 @@ export class Applications extends ClientSDK {
14
14
  async create(
15
15
  request: operations.CreateApplicationRequestBody,
16
16
  options?: RequestOptions,
17
- ): Promise<operations.CreateApplicationResponseBody> {
17
+ ): Promise<operations.CreateApplicationResponse> {
18
18
  return unwrapAsync(applicationsCreate(
19
19
  this,
20
20
  request,
package/src/sdk/sdk.ts CHANGED
@@ -8,13 +8,6 @@ import { OauthToken } from "./oauthtoken.js";
8
8
  import { SupportingDocuments } from "./supportingdocuments.js";
9
9
 
10
10
  export class Financeable extends ClientSDK {
11
- private _supportingDocuments?: SupportingDocuments;
12
- get supportingDocuments(): SupportingDocuments {
13
- return (this._supportingDocuments ??= new SupportingDocuments(
14
- this._options,
15
- ));
16
- }
17
-
18
11
  private _applications?: Applications;
19
12
  get applications(): Applications {
20
13
  return (this._applications ??= new Applications(this._options));
@@ -24,4 +17,11 @@ export class Financeable extends ClientSDK {
24
17
  get oauthToken(): OauthToken {
25
18
  return (this._oauthToken ??= new OauthToken(this._options));
26
19
  }
20
+
21
+ private _supportingDocuments?: SupportingDocuments;
22
+ get supportingDocuments(): SupportingDocuments {
23
+ return (this._supportingDocuments ??= new SupportingDocuments(
24
+ this._options,
25
+ ));
26
+ }
27
27
  }
@@ -14,7 +14,7 @@ export class SupportingDocuments extends ClientSDK {
14
14
  async create(
15
15
  request: operations.SupportingDocumentsCreateRequest,
16
16
  options?: RequestOptions,
17
- ): Promise<operations.SupportingDocumentsCreateResponseBody> {
17
+ ): Promise<operations.SupportingDocumentsCreateResponse> {
18
18
  return unwrapAsync(supportingDocumentsCreate(
19
19
  this,
20
20
  request,
@@ -11,5 +11,5 @@ export function constDateTime(
11
11
  return (
12
12
  typeof v === "string" && new Date(v).getTime() === new Date(val).getTime()
13
13
  );
14
- }, `Value must be equivelant to ${val}`);
14
+ }, `Value must be equivalent to ${val}`);
15
15
  }
@@ -41,6 +41,6 @@ const z = __importStar(require("zod"));
41
41
  function constDateTime(val) {
42
42
  return z.custom((v) => {
43
43
  return (typeof v === "string" && new Date(v).getTime() === new Date(val).getTime());
44
- }, `Value must be equivelant to ${val}`);
44
+ }, `Value must be equivalent to ${val}`);
45
45
  }
46
46
  //# sourceMappingURL=constdatetime.js.map
@@ -1,73 +0,0 @@
1
- import * as z from "zod";
2
- import * as components from "../components/index.js";
3
- /**
4
- * The server cannot find the requested resource.
5
- */
6
- export type CreateApplicationApplicationsResponseBodyData = {
7
- errors: Array<components.ResourceNotFound>;
8
- };
9
- /**
10
- * The server cannot find the requested resource.
11
- */
12
- export declare class CreateApplicationApplicationsResponseBody extends Error {
13
- errors: Array<components.ResourceNotFound>;
14
- /** The original data that was passed to this error instance. */
15
- data$: CreateApplicationApplicationsResponseBodyData;
16
- constructor(err: CreateApplicationApplicationsResponseBodyData);
17
- }
18
- /**
19
- * Access is forbidden.
20
- */
21
- export type CreateApplicationResponseBodyData = {
22
- errors: Array<components.ForbiddenError>;
23
- };
24
- /**
25
- * Access is forbidden.
26
- */
27
- export declare class CreateApplicationResponseBody extends Error {
28
- errors: Array<components.ForbiddenError>;
29
- /** The original data that was passed to this error instance. */
30
- data$: CreateApplicationResponseBodyData;
31
- constructor(err: CreateApplicationResponseBodyData);
32
- }
33
- /** @internal */
34
- export declare const CreateApplicationApplicationsResponseBody$inboundSchema: z.ZodType<CreateApplicationApplicationsResponseBody, z.ZodTypeDef, unknown>;
35
- /** @internal */
36
- export type CreateApplicationApplicationsResponseBody$Outbound = {
37
- errors: Array<components.ResourceNotFound$Outbound>;
38
- };
39
- /** @internal */
40
- export declare const CreateApplicationApplicationsResponseBody$outboundSchema: z.ZodType<CreateApplicationApplicationsResponseBody$Outbound, z.ZodTypeDef, CreateApplicationApplicationsResponseBody>;
41
- /**
42
- * @internal
43
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
44
- */
45
- export declare namespace CreateApplicationApplicationsResponseBody$ {
46
- /** @deprecated use `CreateApplicationApplicationsResponseBody$inboundSchema` instead. */
47
- const inboundSchema: z.ZodType<CreateApplicationApplicationsResponseBody, z.ZodTypeDef, unknown>;
48
- /** @deprecated use `CreateApplicationApplicationsResponseBody$outboundSchema` instead. */
49
- const outboundSchema: z.ZodType<CreateApplicationApplicationsResponseBody$Outbound, z.ZodTypeDef, CreateApplicationApplicationsResponseBody>;
50
- /** @deprecated use `CreateApplicationApplicationsResponseBody$Outbound` instead. */
51
- type Outbound = CreateApplicationApplicationsResponseBody$Outbound;
52
- }
53
- /** @internal */
54
- export declare const CreateApplicationResponseBody$inboundSchema: z.ZodType<CreateApplicationResponseBody, z.ZodTypeDef, unknown>;
55
- /** @internal */
56
- export type CreateApplicationResponseBody$Outbound = {
57
- errors: Array<components.ForbiddenError$Outbound>;
58
- };
59
- /** @internal */
60
- export declare const CreateApplicationResponseBody$outboundSchema: z.ZodType<CreateApplicationResponseBody$Outbound, z.ZodTypeDef, CreateApplicationResponseBody>;
61
- /**
62
- * @internal
63
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
64
- */
65
- export declare namespace CreateApplicationResponseBody$ {
66
- /** @deprecated use `CreateApplicationResponseBody$inboundSchema` instead. */
67
- const inboundSchema: z.ZodType<CreateApplicationResponseBody, z.ZodTypeDef, unknown>;
68
- /** @deprecated use `CreateApplicationResponseBody$outboundSchema` instead. */
69
- const outboundSchema: z.ZodType<CreateApplicationResponseBody$Outbound, z.ZodTypeDef, CreateApplicationResponseBody>;
70
- /** @deprecated use `CreateApplicationResponseBody$Outbound` instead. */
71
- type Outbound = CreateApplicationResponseBody$Outbound;
72
- }
73
- //# sourceMappingURL=createapplication.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createapplication.d.ts","sourceRoot":"","sources":["../../src/models/errors/createapplication.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,6CAA6C,GAAG;IAC1D,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;CAC5C,CAAC;AAEF;;GAEG;AACH,qBAAa,yCAA0C,SAAQ,KAAK;IAClE,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;IAE3C,gEAAgE;IAChE,KAAK,EAAE,6CAA6C,CAAC;gBAEzC,GAAG,EAAE,6CAA6C;CAW/D;AAED;;GAEG;AACH,MAAM,MAAM,iCAAiC,GAAG;IAC9C,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;CAC1C,CAAC;AAEF;;GAEG;AACH,qBAAa,6BAA8B,SAAQ,KAAK;IACtD,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;IAEzC,gEAAgE;IAChE,KAAK,EAAE,iCAAiC,CAAC;gBAE7B,GAAG,EAAE,iCAAiC;CAWnD;AAED,gBAAgB;AAChB,eAAO,MAAM,uDAAuD,EAAE,CAAC,CAAC,OAAO,CAC7E,yCAAyC,EACzC,CAAC,CAAC,UAAU,EACZ,OAAO,CAML,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,kDAAkD,GAAG;IAC/D,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,yBAAyB,CAAC,CAAC;CACrD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wDAAwD,EACnE,CAAC,CAAC,OAAO,CACP,kDAAkD,EAClD,CAAC,CAAC,UAAU,EACZ,yCAAyC,CAKtC,CAAC;AAER;;;GAGG;AACH,yBAAiB,0CAA0C,CAAC;IAC1D,yFAAyF;IAClF,MAAM,aAAa,6EAC+B,CAAC;IAC1D,0FAA0F;IACnF,MAAM,cAAc,wHAC+B,CAAC;IAC3D,oFAAoF;IACpF,KAAY,QAAQ,GAAG,kDAAkD,CAAC;CAC3E;AAED,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,OAAO,CAML,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,sCAAsC,GAAG;IACnD,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC;CACnD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,6BAA6B,CAK1B,CAAC;AAEN;;;GAGG;AACH,yBAAiB,8BAA8B,CAAC;IAC9C,6EAA6E;IACtE,MAAM,aAAa,iEAA8C,CAAC;IACzE,8EAA8E;IACvE,MAAM,cAAc,gGAA+C,CAAC;IAC3E,wEAAwE;IACxE,KAAY,QAAQ,GAAG,sCAAsC,CAAC;CAC/D"}
@@ -1,120 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.CreateApplicationResponseBody$ = exports.CreateApplicationResponseBody$outboundSchema = exports.CreateApplicationResponseBody$inboundSchema = exports.CreateApplicationApplicationsResponseBody$ = exports.CreateApplicationApplicationsResponseBody$outboundSchema = exports.CreateApplicationApplicationsResponseBody$inboundSchema = exports.CreateApplicationResponseBody = exports.CreateApplicationApplicationsResponseBody = void 0;
40
- const z = __importStar(require("zod"));
41
- const components = __importStar(require("../components/index.js"));
42
- /**
43
- * The server cannot find the requested resource.
44
- */
45
- class CreateApplicationApplicationsResponseBody extends Error {
46
- constructor(err) {
47
- const message = "message" in err && typeof err.message === "string"
48
- ? err.message
49
- : `API error occurred: ${JSON.stringify(err)}`;
50
- super(message);
51
- this.data$ = err;
52
- this.errors = err.errors;
53
- this.name = "CreateApplicationApplicationsResponseBody";
54
- }
55
- }
56
- exports.CreateApplicationApplicationsResponseBody = CreateApplicationApplicationsResponseBody;
57
- /**
58
- * Access is forbidden.
59
- */
60
- class CreateApplicationResponseBody extends Error {
61
- constructor(err) {
62
- const message = "message" in err && typeof err.message === "string"
63
- ? err.message
64
- : `API error occurred: ${JSON.stringify(err)}`;
65
- super(message);
66
- this.data$ = err;
67
- this.errors = err.errors;
68
- this.name = "CreateApplicationResponseBody";
69
- }
70
- }
71
- exports.CreateApplicationResponseBody = CreateApplicationResponseBody;
72
- /** @internal */
73
- exports.CreateApplicationApplicationsResponseBody$inboundSchema = z.object({
74
- errors: z.array(components.ResourceNotFound$inboundSchema),
75
- })
76
- .transform((v) => {
77
- return new CreateApplicationApplicationsResponseBody(v);
78
- });
79
- /** @internal */
80
- exports.CreateApplicationApplicationsResponseBody$outboundSchema = z.instanceof(CreateApplicationApplicationsResponseBody)
81
- .transform(v => v.data$)
82
- .pipe(z.object({
83
- errors: z.array(components.ResourceNotFound$outboundSchema),
84
- }));
85
- /**
86
- * @internal
87
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
88
- */
89
- var CreateApplicationApplicationsResponseBody$;
90
- (function (CreateApplicationApplicationsResponseBody$) {
91
- /** @deprecated use `CreateApplicationApplicationsResponseBody$inboundSchema` instead. */
92
- CreateApplicationApplicationsResponseBody$.inboundSchema = exports.CreateApplicationApplicationsResponseBody$inboundSchema;
93
- /** @deprecated use `CreateApplicationApplicationsResponseBody$outboundSchema` instead. */
94
- CreateApplicationApplicationsResponseBody$.outboundSchema = exports.CreateApplicationApplicationsResponseBody$outboundSchema;
95
- })(CreateApplicationApplicationsResponseBody$ || (exports.CreateApplicationApplicationsResponseBody$ = CreateApplicationApplicationsResponseBody$ = {}));
96
- /** @internal */
97
- exports.CreateApplicationResponseBody$inboundSchema = z.object({
98
- errors: z.array(components.ForbiddenError$inboundSchema),
99
- })
100
- .transform((v) => {
101
- return new CreateApplicationResponseBody(v);
102
- });
103
- /** @internal */
104
- exports.CreateApplicationResponseBody$outboundSchema = z.instanceof(CreateApplicationResponseBody)
105
- .transform(v => v.data$)
106
- .pipe(z.object({
107
- errors: z.array(components.ForbiddenError$outboundSchema),
108
- }));
109
- /**
110
- * @internal
111
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
112
- */
113
- var CreateApplicationResponseBody$;
114
- (function (CreateApplicationResponseBody$) {
115
- /** @deprecated use `CreateApplicationResponseBody$inboundSchema` instead. */
116
- CreateApplicationResponseBody$.inboundSchema = exports.CreateApplicationResponseBody$inboundSchema;
117
- /** @deprecated use `CreateApplicationResponseBody$outboundSchema` instead. */
118
- CreateApplicationResponseBody$.outboundSchema = exports.CreateApplicationResponseBody$outboundSchema;
119
- })(CreateApplicationResponseBody$ || (exports.CreateApplicationResponseBody$ = CreateApplicationResponseBody$ = {}));
120
- //# sourceMappingURL=createapplication.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createapplication.js","sourceRoot":"","sources":["../../src/models/errors/createapplication.ts"],"names":[],"mappings":"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"}