@amos.com/node 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +174 -1
- package/dist/index.d.ts +174 -1
- package/openapi/schema.ts +174 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1134,7 +1134,9 @@ interface components {
|
|
|
1134
1134
|
[key: string]: string | null;
|
|
1135
1135
|
};
|
|
1136
1136
|
Error: {
|
|
1137
|
-
errors
|
|
1137
|
+
errors: {
|
|
1138
|
+
[key: string]: string[];
|
|
1139
|
+
};
|
|
1138
1140
|
};
|
|
1139
1141
|
/** @description Decoded JWT payload for embed token responses. */
|
|
1140
1142
|
EmbedTokenJwt: {
|
|
@@ -2445,6 +2447,15 @@ interface operations {
|
|
|
2445
2447
|
"application/json": components["schemas"]["Customer"];
|
|
2446
2448
|
};
|
|
2447
2449
|
};
|
|
2450
|
+
/** @description Unprocessable entity */
|
|
2451
|
+
422: {
|
|
2452
|
+
headers: {
|
|
2453
|
+
[name: string]: unknown;
|
|
2454
|
+
};
|
|
2455
|
+
content: {
|
|
2456
|
+
"application/json": components["schemas"]["Error"];
|
|
2457
|
+
};
|
|
2458
|
+
};
|
|
2448
2459
|
};
|
|
2449
2460
|
};
|
|
2450
2461
|
GetCustomer: {
|
|
@@ -2555,6 +2566,15 @@ interface operations {
|
|
|
2555
2566
|
"application/json": components["schemas"]["ExternalAccount"];
|
|
2556
2567
|
};
|
|
2557
2568
|
};
|
|
2569
|
+
/** @description Unprocessable entity */
|
|
2570
|
+
422: {
|
|
2571
|
+
headers: {
|
|
2572
|
+
[name: string]: unknown;
|
|
2573
|
+
};
|
|
2574
|
+
content: {
|
|
2575
|
+
"application/json": components["schemas"]["Error"];
|
|
2576
|
+
};
|
|
2577
|
+
};
|
|
2558
2578
|
};
|
|
2559
2579
|
};
|
|
2560
2580
|
GetExternalAccount: {
|
|
@@ -2606,6 +2626,15 @@ interface operations {
|
|
|
2606
2626
|
"application/json": components["schemas"]["FileUpload"];
|
|
2607
2627
|
};
|
|
2608
2628
|
};
|
|
2629
|
+
/** @description Unprocessable entity */
|
|
2630
|
+
422: {
|
|
2631
|
+
headers: {
|
|
2632
|
+
[name: string]: unknown;
|
|
2633
|
+
};
|
|
2634
|
+
content: {
|
|
2635
|
+
"application/json": components["schemas"]["Error"];
|
|
2636
|
+
};
|
|
2637
|
+
};
|
|
2609
2638
|
};
|
|
2610
2639
|
};
|
|
2611
2640
|
GetFileUpload: {
|
|
@@ -2654,6 +2683,15 @@ interface operations {
|
|
|
2654
2683
|
"application/json": components["schemas"]["FileDownload"];
|
|
2655
2684
|
};
|
|
2656
2685
|
};
|
|
2686
|
+
/** @description Unprocessable entity */
|
|
2687
|
+
422: {
|
|
2688
|
+
headers: {
|
|
2689
|
+
[name: string]: unknown;
|
|
2690
|
+
};
|
|
2691
|
+
content: {
|
|
2692
|
+
"application/json": components["schemas"]["Error"];
|
|
2693
|
+
};
|
|
2694
|
+
};
|
|
2657
2695
|
};
|
|
2658
2696
|
};
|
|
2659
2697
|
ListLegalEntityApplicationDocuments: {
|
|
@@ -2801,6 +2839,15 @@ interface operations {
|
|
|
2801
2839
|
"application/json": components["schemas"]["LegalEntityApplication"];
|
|
2802
2840
|
};
|
|
2803
2841
|
};
|
|
2842
|
+
/** @description Unprocessable entity */
|
|
2843
|
+
422: {
|
|
2844
|
+
headers: {
|
|
2845
|
+
[name: string]: unknown;
|
|
2846
|
+
};
|
|
2847
|
+
content: {
|
|
2848
|
+
"application/json": components["schemas"]["Error"];
|
|
2849
|
+
};
|
|
2850
|
+
};
|
|
2804
2851
|
};
|
|
2805
2852
|
};
|
|
2806
2853
|
GetLegalEntityApplication: {
|
|
@@ -3191,6 +3238,15 @@ interface operations {
|
|
|
3191
3238
|
"application/json": components["schemas"]["Origin"];
|
|
3192
3239
|
};
|
|
3193
3240
|
};
|
|
3241
|
+
/** @description Unprocessable entity */
|
|
3242
|
+
422: {
|
|
3243
|
+
headers: {
|
|
3244
|
+
[name: string]: unknown;
|
|
3245
|
+
};
|
|
3246
|
+
content: {
|
|
3247
|
+
"application/json": components["schemas"]["Error"];
|
|
3248
|
+
};
|
|
3249
|
+
};
|
|
3194
3250
|
};
|
|
3195
3251
|
};
|
|
3196
3252
|
GetEmbedPaymentIntent: {
|
|
@@ -3247,6 +3303,15 @@ interface operations {
|
|
|
3247
3303
|
"application/json": components["schemas"]["PaymentIntent"];
|
|
3248
3304
|
};
|
|
3249
3305
|
};
|
|
3306
|
+
/** @description Unprocessable entity */
|
|
3307
|
+
422: {
|
|
3308
|
+
headers: {
|
|
3309
|
+
[name: string]: unknown;
|
|
3310
|
+
};
|
|
3311
|
+
content: {
|
|
3312
|
+
"application/json": components["schemas"]["Error"];
|
|
3313
|
+
};
|
|
3314
|
+
};
|
|
3250
3315
|
};
|
|
3251
3316
|
};
|
|
3252
3317
|
ListPaymentIntents: {
|
|
@@ -3305,6 +3370,15 @@ interface operations {
|
|
|
3305
3370
|
"application/json": components["schemas"]["EmbedToken"];
|
|
3306
3371
|
};
|
|
3307
3372
|
};
|
|
3373
|
+
/** @description Unprocessable entity */
|
|
3374
|
+
422: {
|
|
3375
|
+
headers: {
|
|
3376
|
+
[name: string]: unknown;
|
|
3377
|
+
};
|
|
3378
|
+
content: {
|
|
3379
|
+
"application/json": components["schemas"]["Error"];
|
|
3380
|
+
};
|
|
3381
|
+
};
|
|
3308
3382
|
};
|
|
3309
3383
|
};
|
|
3310
3384
|
ListPaymentLinks: {
|
|
@@ -3363,6 +3437,15 @@ interface operations {
|
|
|
3363
3437
|
"application/json": components["schemas"]["PaymentLink"];
|
|
3364
3438
|
};
|
|
3365
3439
|
};
|
|
3440
|
+
/** @description Unprocessable entity */
|
|
3441
|
+
422: {
|
|
3442
|
+
headers: {
|
|
3443
|
+
[name: string]: unknown;
|
|
3444
|
+
};
|
|
3445
|
+
content: {
|
|
3446
|
+
"application/json": components["schemas"]["Error"];
|
|
3447
|
+
};
|
|
3448
|
+
};
|
|
3366
3449
|
};
|
|
3367
3450
|
};
|
|
3368
3451
|
GetPaymentIntent: {
|
|
@@ -3415,6 +3498,15 @@ interface operations {
|
|
|
3415
3498
|
"application/json": components["schemas"]["PaymentIntent"];
|
|
3416
3499
|
};
|
|
3417
3500
|
};
|
|
3501
|
+
/** @description Unprocessable entity */
|
|
3502
|
+
422: {
|
|
3503
|
+
headers: {
|
|
3504
|
+
[name: string]: unknown;
|
|
3505
|
+
};
|
|
3506
|
+
content: {
|
|
3507
|
+
"application/json": components["schemas"]["Error"];
|
|
3508
|
+
};
|
|
3509
|
+
};
|
|
3418
3510
|
};
|
|
3419
3511
|
};
|
|
3420
3512
|
CapturePaymentIntent: {
|
|
@@ -3441,6 +3533,15 @@ interface operations {
|
|
|
3441
3533
|
"application/json": components["schemas"]["PaymentIntent"];
|
|
3442
3534
|
};
|
|
3443
3535
|
};
|
|
3536
|
+
/** @description Unprocessable entity */
|
|
3537
|
+
422: {
|
|
3538
|
+
headers: {
|
|
3539
|
+
[name: string]: unknown;
|
|
3540
|
+
};
|
|
3541
|
+
content: {
|
|
3542
|
+
"application/json": components["schemas"]["Error"];
|
|
3543
|
+
};
|
|
3544
|
+
};
|
|
3444
3545
|
};
|
|
3445
3546
|
};
|
|
3446
3547
|
ListPaymentMethods: {
|
|
@@ -3995,6 +4096,15 @@ interface operations {
|
|
|
3995
4096
|
"application/json": components["schemas"]["RenderTemplate"];
|
|
3996
4097
|
};
|
|
3997
4098
|
};
|
|
4099
|
+
/** @description Unprocessable entity */
|
|
4100
|
+
422: {
|
|
4101
|
+
headers: {
|
|
4102
|
+
[name: string]: unknown;
|
|
4103
|
+
};
|
|
4104
|
+
content: {
|
|
4105
|
+
"application/json": components["schemas"]["Error"];
|
|
4106
|
+
};
|
|
4107
|
+
};
|
|
3998
4108
|
};
|
|
3999
4109
|
};
|
|
4000
4110
|
GetRenderTemplate: {
|
|
@@ -4043,6 +4153,15 @@ interface operations {
|
|
|
4043
4153
|
"application/json": components["schemas"]["RenderToken"];
|
|
4044
4154
|
};
|
|
4045
4155
|
};
|
|
4156
|
+
/** @description Unprocessable entity */
|
|
4157
|
+
422: {
|
|
4158
|
+
headers: {
|
|
4159
|
+
[name: string]: unknown;
|
|
4160
|
+
};
|
|
4161
|
+
content: {
|
|
4162
|
+
"application/json": components["schemas"]["Error"];
|
|
4163
|
+
};
|
|
4164
|
+
};
|
|
4046
4165
|
};
|
|
4047
4166
|
};
|
|
4048
4167
|
GetSetupIntent: {
|
|
@@ -4099,6 +4218,15 @@ interface operations {
|
|
|
4099
4218
|
"application/json": components["schemas"]["SetupIntent"];
|
|
4100
4219
|
};
|
|
4101
4220
|
};
|
|
4221
|
+
/** @description Unprocessable entity */
|
|
4222
|
+
422: {
|
|
4223
|
+
headers: {
|
|
4224
|
+
[name: string]: unknown;
|
|
4225
|
+
};
|
|
4226
|
+
content: {
|
|
4227
|
+
"application/json": components["schemas"]["Error"];
|
|
4228
|
+
};
|
|
4229
|
+
};
|
|
4102
4230
|
};
|
|
4103
4231
|
};
|
|
4104
4232
|
CreateSetupIntent: {
|
|
@@ -4126,6 +4254,15 @@ interface operations {
|
|
|
4126
4254
|
"application/json": components["schemas"]["EmbedToken"];
|
|
4127
4255
|
};
|
|
4128
4256
|
};
|
|
4257
|
+
/** @description Unprocessable entity */
|
|
4258
|
+
422: {
|
|
4259
|
+
headers: {
|
|
4260
|
+
[name: string]: unknown;
|
|
4261
|
+
};
|
|
4262
|
+
content: {
|
|
4263
|
+
"application/json": components["schemas"]["Error"];
|
|
4264
|
+
};
|
|
4265
|
+
};
|
|
4129
4266
|
};
|
|
4130
4267
|
};
|
|
4131
4268
|
ListSubscriptionPlans: {
|
|
@@ -4184,6 +4321,15 @@ interface operations {
|
|
|
4184
4321
|
"application/json": components["schemas"]["SubscriptionPlan"];
|
|
4185
4322
|
};
|
|
4186
4323
|
};
|
|
4324
|
+
/** @description Unprocessable entity */
|
|
4325
|
+
422: {
|
|
4326
|
+
headers: {
|
|
4327
|
+
[name: string]: unknown;
|
|
4328
|
+
};
|
|
4329
|
+
content: {
|
|
4330
|
+
"application/json": components["schemas"]["Error"];
|
|
4331
|
+
};
|
|
4332
|
+
};
|
|
4187
4333
|
};
|
|
4188
4334
|
};
|
|
4189
4335
|
GetSubscriptionPlan: {
|
|
@@ -4268,6 +4414,15 @@ interface operations {
|
|
|
4268
4414
|
"application/json": components["schemas"]["Subscription"];
|
|
4269
4415
|
};
|
|
4270
4416
|
};
|
|
4417
|
+
/** @description Unprocessable entity */
|
|
4418
|
+
422: {
|
|
4419
|
+
headers: {
|
|
4420
|
+
[name: string]: unknown;
|
|
4421
|
+
};
|
|
4422
|
+
content: {
|
|
4423
|
+
"application/json": components["schemas"]["Error"];
|
|
4424
|
+
};
|
|
4425
|
+
};
|
|
4271
4426
|
};
|
|
4272
4427
|
};
|
|
4273
4428
|
GetSubscription: {
|
|
@@ -4536,6 +4691,15 @@ interface operations {
|
|
|
4536
4691
|
"application/json": components["schemas"]["WebhookEndpoint"];
|
|
4537
4692
|
};
|
|
4538
4693
|
};
|
|
4694
|
+
/** @description Unprocessable entity */
|
|
4695
|
+
422: {
|
|
4696
|
+
headers: {
|
|
4697
|
+
[name: string]: unknown;
|
|
4698
|
+
};
|
|
4699
|
+
content: {
|
|
4700
|
+
"application/json": components["schemas"]["Error"];
|
|
4701
|
+
};
|
|
4702
|
+
};
|
|
4539
4703
|
};
|
|
4540
4704
|
};
|
|
4541
4705
|
GetWebhookEndpoint: {
|
|
@@ -4663,6 +4827,15 @@ interface operations {
|
|
|
4663
4827
|
};
|
|
4664
4828
|
content?: never;
|
|
4665
4829
|
};
|
|
4830
|
+
/** @description Unprocessable entity */
|
|
4831
|
+
422: {
|
|
4832
|
+
headers: {
|
|
4833
|
+
[name: string]: unknown;
|
|
4834
|
+
};
|
|
4835
|
+
content: {
|
|
4836
|
+
"application/json": components["schemas"]["Error"];
|
|
4837
|
+
};
|
|
4838
|
+
};
|
|
4666
4839
|
};
|
|
4667
4840
|
};
|
|
4668
4841
|
RetrieveWebhookRequest: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1134,7 +1134,9 @@ interface components {
|
|
|
1134
1134
|
[key: string]: string | null;
|
|
1135
1135
|
};
|
|
1136
1136
|
Error: {
|
|
1137
|
-
errors
|
|
1137
|
+
errors: {
|
|
1138
|
+
[key: string]: string[];
|
|
1139
|
+
};
|
|
1138
1140
|
};
|
|
1139
1141
|
/** @description Decoded JWT payload for embed token responses. */
|
|
1140
1142
|
EmbedTokenJwt: {
|
|
@@ -2445,6 +2447,15 @@ interface operations {
|
|
|
2445
2447
|
"application/json": components["schemas"]["Customer"];
|
|
2446
2448
|
};
|
|
2447
2449
|
};
|
|
2450
|
+
/** @description Unprocessable entity */
|
|
2451
|
+
422: {
|
|
2452
|
+
headers: {
|
|
2453
|
+
[name: string]: unknown;
|
|
2454
|
+
};
|
|
2455
|
+
content: {
|
|
2456
|
+
"application/json": components["schemas"]["Error"];
|
|
2457
|
+
};
|
|
2458
|
+
};
|
|
2448
2459
|
};
|
|
2449
2460
|
};
|
|
2450
2461
|
GetCustomer: {
|
|
@@ -2555,6 +2566,15 @@ interface operations {
|
|
|
2555
2566
|
"application/json": components["schemas"]["ExternalAccount"];
|
|
2556
2567
|
};
|
|
2557
2568
|
};
|
|
2569
|
+
/** @description Unprocessable entity */
|
|
2570
|
+
422: {
|
|
2571
|
+
headers: {
|
|
2572
|
+
[name: string]: unknown;
|
|
2573
|
+
};
|
|
2574
|
+
content: {
|
|
2575
|
+
"application/json": components["schemas"]["Error"];
|
|
2576
|
+
};
|
|
2577
|
+
};
|
|
2558
2578
|
};
|
|
2559
2579
|
};
|
|
2560
2580
|
GetExternalAccount: {
|
|
@@ -2606,6 +2626,15 @@ interface operations {
|
|
|
2606
2626
|
"application/json": components["schemas"]["FileUpload"];
|
|
2607
2627
|
};
|
|
2608
2628
|
};
|
|
2629
|
+
/** @description Unprocessable entity */
|
|
2630
|
+
422: {
|
|
2631
|
+
headers: {
|
|
2632
|
+
[name: string]: unknown;
|
|
2633
|
+
};
|
|
2634
|
+
content: {
|
|
2635
|
+
"application/json": components["schemas"]["Error"];
|
|
2636
|
+
};
|
|
2637
|
+
};
|
|
2609
2638
|
};
|
|
2610
2639
|
};
|
|
2611
2640
|
GetFileUpload: {
|
|
@@ -2654,6 +2683,15 @@ interface operations {
|
|
|
2654
2683
|
"application/json": components["schemas"]["FileDownload"];
|
|
2655
2684
|
};
|
|
2656
2685
|
};
|
|
2686
|
+
/** @description Unprocessable entity */
|
|
2687
|
+
422: {
|
|
2688
|
+
headers: {
|
|
2689
|
+
[name: string]: unknown;
|
|
2690
|
+
};
|
|
2691
|
+
content: {
|
|
2692
|
+
"application/json": components["schemas"]["Error"];
|
|
2693
|
+
};
|
|
2694
|
+
};
|
|
2657
2695
|
};
|
|
2658
2696
|
};
|
|
2659
2697
|
ListLegalEntityApplicationDocuments: {
|
|
@@ -2801,6 +2839,15 @@ interface operations {
|
|
|
2801
2839
|
"application/json": components["schemas"]["LegalEntityApplication"];
|
|
2802
2840
|
};
|
|
2803
2841
|
};
|
|
2842
|
+
/** @description Unprocessable entity */
|
|
2843
|
+
422: {
|
|
2844
|
+
headers: {
|
|
2845
|
+
[name: string]: unknown;
|
|
2846
|
+
};
|
|
2847
|
+
content: {
|
|
2848
|
+
"application/json": components["schemas"]["Error"];
|
|
2849
|
+
};
|
|
2850
|
+
};
|
|
2804
2851
|
};
|
|
2805
2852
|
};
|
|
2806
2853
|
GetLegalEntityApplication: {
|
|
@@ -3191,6 +3238,15 @@ interface operations {
|
|
|
3191
3238
|
"application/json": components["schemas"]["Origin"];
|
|
3192
3239
|
};
|
|
3193
3240
|
};
|
|
3241
|
+
/** @description Unprocessable entity */
|
|
3242
|
+
422: {
|
|
3243
|
+
headers: {
|
|
3244
|
+
[name: string]: unknown;
|
|
3245
|
+
};
|
|
3246
|
+
content: {
|
|
3247
|
+
"application/json": components["schemas"]["Error"];
|
|
3248
|
+
};
|
|
3249
|
+
};
|
|
3194
3250
|
};
|
|
3195
3251
|
};
|
|
3196
3252
|
GetEmbedPaymentIntent: {
|
|
@@ -3247,6 +3303,15 @@ interface operations {
|
|
|
3247
3303
|
"application/json": components["schemas"]["PaymentIntent"];
|
|
3248
3304
|
};
|
|
3249
3305
|
};
|
|
3306
|
+
/** @description Unprocessable entity */
|
|
3307
|
+
422: {
|
|
3308
|
+
headers: {
|
|
3309
|
+
[name: string]: unknown;
|
|
3310
|
+
};
|
|
3311
|
+
content: {
|
|
3312
|
+
"application/json": components["schemas"]["Error"];
|
|
3313
|
+
};
|
|
3314
|
+
};
|
|
3250
3315
|
};
|
|
3251
3316
|
};
|
|
3252
3317
|
ListPaymentIntents: {
|
|
@@ -3305,6 +3370,15 @@ interface operations {
|
|
|
3305
3370
|
"application/json": components["schemas"]["EmbedToken"];
|
|
3306
3371
|
};
|
|
3307
3372
|
};
|
|
3373
|
+
/** @description Unprocessable entity */
|
|
3374
|
+
422: {
|
|
3375
|
+
headers: {
|
|
3376
|
+
[name: string]: unknown;
|
|
3377
|
+
};
|
|
3378
|
+
content: {
|
|
3379
|
+
"application/json": components["schemas"]["Error"];
|
|
3380
|
+
};
|
|
3381
|
+
};
|
|
3308
3382
|
};
|
|
3309
3383
|
};
|
|
3310
3384
|
ListPaymentLinks: {
|
|
@@ -3363,6 +3437,15 @@ interface operations {
|
|
|
3363
3437
|
"application/json": components["schemas"]["PaymentLink"];
|
|
3364
3438
|
};
|
|
3365
3439
|
};
|
|
3440
|
+
/** @description Unprocessable entity */
|
|
3441
|
+
422: {
|
|
3442
|
+
headers: {
|
|
3443
|
+
[name: string]: unknown;
|
|
3444
|
+
};
|
|
3445
|
+
content: {
|
|
3446
|
+
"application/json": components["schemas"]["Error"];
|
|
3447
|
+
};
|
|
3448
|
+
};
|
|
3366
3449
|
};
|
|
3367
3450
|
};
|
|
3368
3451
|
GetPaymentIntent: {
|
|
@@ -3415,6 +3498,15 @@ interface operations {
|
|
|
3415
3498
|
"application/json": components["schemas"]["PaymentIntent"];
|
|
3416
3499
|
};
|
|
3417
3500
|
};
|
|
3501
|
+
/** @description Unprocessable entity */
|
|
3502
|
+
422: {
|
|
3503
|
+
headers: {
|
|
3504
|
+
[name: string]: unknown;
|
|
3505
|
+
};
|
|
3506
|
+
content: {
|
|
3507
|
+
"application/json": components["schemas"]["Error"];
|
|
3508
|
+
};
|
|
3509
|
+
};
|
|
3418
3510
|
};
|
|
3419
3511
|
};
|
|
3420
3512
|
CapturePaymentIntent: {
|
|
@@ -3441,6 +3533,15 @@ interface operations {
|
|
|
3441
3533
|
"application/json": components["schemas"]["PaymentIntent"];
|
|
3442
3534
|
};
|
|
3443
3535
|
};
|
|
3536
|
+
/** @description Unprocessable entity */
|
|
3537
|
+
422: {
|
|
3538
|
+
headers: {
|
|
3539
|
+
[name: string]: unknown;
|
|
3540
|
+
};
|
|
3541
|
+
content: {
|
|
3542
|
+
"application/json": components["schemas"]["Error"];
|
|
3543
|
+
};
|
|
3544
|
+
};
|
|
3444
3545
|
};
|
|
3445
3546
|
};
|
|
3446
3547
|
ListPaymentMethods: {
|
|
@@ -3995,6 +4096,15 @@ interface operations {
|
|
|
3995
4096
|
"application/json": components["schemas"]["RenderTemplate"];
|
|
3996
4097
|
};
|
|
3997
4098
|
};
|
|
4099
|
+
/** @description Unprocessable entity */
|
|
4100
|
+
422: {
|
|
4101
|
+
headers: {
|
|
4102
|
+
[name: string]: unknown;
|
|
4103
|
+
};
|
|
4104
|
+
content: {
|
|
4105
|
+
"application/json": components["schemas"]["Error"];
|
|
4106
|
+
};
|
|
4107
|
+
};
|
|
3998
4108
|
};
|
|
3999
4109
|
};
|
|
4000
4110
|
GetRenderTemplate: {
|
|
@@ -4043,6 +4153,15 @@ interface operations {
|
|
|
4043
4153
|
"application/json": components["schemas"]["RenderToken"];
|
|
4044
4154
|
};
|
|
4045
4155
|
};
|
|
4156
|
+
/** @description Unprocessable entity */
|
|
4157
|
+
422: {
|
|
4158
|
+
headers: {
|
|
4159
|
+
[name: string]: unknown;
|
|
4160
|
+
};
|
|
4161
|
+
content: {
|
|
4162
|
+
"application/json": components["schemas"]["Error"];
|
|
4163
|
+
};
|
|
4164
|
+
};
|
|
4046
4165
|
};
|
|
4047
4166
|
};
|
|
4048
4167
|
GetSetupIntent: {
|
|
@@ -4099,6 +4218,15 @@ interface operations {
|
|
|
4099
4218
|
"application/json": components["schemas"]["SetupIntent"];
|
|
4100
4219
|
};
|
|
4101
4220
|
};
|
|
4221
|
+
/** @description Unprocessable entity */
|
|
4222
|
+
422: {
|
|
4223
|
+
headers: {
|
|
4224
|
+
[name: string]: unknown;
|
|
4225
|
+
};
|
|
4226
|
+
content: {
|
|
4227
|
+
"application/json": components["schemas"]["Error"];
|
|
4228
|
+
};
|
|
4229
|
+
};
|
|
4102
4230
|
};
|
|
4103
4231
|
};
|
|
4104
4232
|
CreateSetupIntent: {
|
|
@@ -4126,6 +4254,15 @@ interface operations {
|
|
|
4126
4254
|
"application/json": components["schemas"]["EmbedToken"];
|
|
4127
4255
|
};
|
|
4128
4256
|
};
|
|
4257
|
+
/** @description Unprocessable entity */
|
|
4258
|
+
422: {
|
|
4259
|
+
headers: {
|
|
4260
|
+
[name: string]: unknown;
|
|
4261
|
+
};
|
|
4262
|
+
content: {
|
|
4263
|
+
"application/json": components["schemas"]["Error"];
|
|
4264
|
+
};
|
|
4265
|
+
};
|
|
4129
4266
|
};
|
|
4130
4267
|
};
|
|
4131
4268
|
ListSubscriptionPlans: {
|
|
@@ -4184,6 +4321,15 @@ interface operations {
|
|
|
4184
4321
|
"application/json": components["schemas"]["SubscriptionPlan"];
|
|
4185
4322
|
};
|
|
4186
4323
|
};
|
|
4324
|
+
/** @description Unprocessable entity */
|
|
4325
|
+
422: {
|
|
4326
|
+
headers: {
|
|
4327
|
+
[name: string]: unknown;
|
|
4328
|
+
};
|
|
4329
|
+
content: {
|
|
4330
|
+
"application/json": components["schemas"]["Error"];
|
|
4331
|
+
};
|
|
4332
|
+
};
|
|
4187
4333
|
};
|
|
4188
4334
|
};
|
|
4189
4335
|
GetSubscriptionPlan: {
|
|
@@ -4268,6 +4414,15 @@ interface operations {
|
|
|
4268
4414
|
"application/json": components["schemas"]["Subscription"];
|
|
4269
4415
|
};
|
|
4270
4416
|
};
|
|
4417
|
+
/** @description Unprocessable entity */
|
|
4418
|
+
422: {
|
|
4419
|
+
headers: {
|
|
4420
|
+
[name: string]: unknown;
|
|
4421
|
+
};
|
|
4422
|
+
content: {
|
|
4423
|
+
"application/json": components["schemas"]["Error"];
|
|
4424
|
+
};
|
|
4425
|
+
};
|
|
4271
4426
|
};
|
|
4272
4427
|
};
|
|
4273
4428
|
GetSubscription: {
|
|
@@ -4536,6 +4691,15 @@ interface operations {
|
|
|
4536
4691
|
"application/json": components["schemas"]["WebhookEndpoint"];
|
|
4537
4692
|
};
|
|
4538
4693
|
};
|
|
4694
|
+
/** @description Unprocessable entity */
|
|
4695
|
+
422: {
|
|
4696
|
+
headers: {
|
|
4697
|
+
[name: string]: unknown;
|
|
4698
|
+
};
|
|
4699
|
+
content: {
|
|
4700
|
+
"application/json": components["schemas"]["Error"];
|
|
4701
|
+
};
|
|
4702
|
+
};
|
|
4539
4703
|
};
|
|
4540
4704
|
};
|
|
4541
4705
|
GetWebhookEndpoint: {
|
|
@@ -4663,6 +4827,15 @@ interface operations {
|
|
|
4663
4827
|
};
|
|
4664
4828
|
content?: never;
|
|
4665
4829
|
};
|
|
4830
|
+
/** @description Unprocessable entity */
|
|
4831
|
+
422: {
|
|
4832
|
+
headers: {
|
|
4833
|
+
[name: string]: unknown;
|
|
4834
|
+
};
|
|
4835
|
+
content: {
|
|
4836
|
+
"application/json": components["schemas"]["Error"];
|
|
4837
|
+
};
|
|
4838
|
+
};
|
|
4666
4839
|
};
|
|
4667
4840
|
};
|
|
4668
4841
|
RetrieveWebhookRequest: {
|
package/openapi/schema.ts
CHANGED
|
@@ -1131,7 +1131,9 @@ export interface components {
|
|
|
1131
1131
|
[key: string]: string | null;
|
|
1132
1132
|
};
|
|
1133
1133
|
Error: {
|
|
1134
|
-
errors
|
|
1134
|
+
errors: {
|
|
1135
|
+
[key: string]: string[];
|
|
1136
|
+
};
|
|
1135
1137
|
};
|
|
1136
1138
|
/** @description Decoded JWT payload for embed token responses. */
|
|
1137
1139
|
EmbedTokenJwt: {
|
|
@@ -2442,6 +2444,15 @@ export interface operations {
|
|
|
2442
2444
|
"application/json": components["schemas"]["Customer"];
|
|
2443
2445
|
};
|
|
2444
2446
|
};
|
|
2447
|
+
/** @description Unprocessable entity */
|
|
2448
|
+
422: {
|
|
2449
|
+
headers: {
|
|
2450
|
+
[name: string]: unknown;
|
|
2451
|
+
};
|
|
2452
|
+
content: {
|
|
2453
|
+
"application/json": components["schemas"]["Error"];
|
|
2454
|
+
};
|
|
2455
|
+
};
|
|
2445
2456
|
};
|
|
2446
2457
|
};
|
|
2447
2458
|
GetCustomer: {
|
|
@@ -2552,6 +2563,15 @@ export interface operations {
|
|
|
2552
2563
|
"application/json": components["schemas"]["ExternalAccount"];
|
|
2553
2564
|
};
|
|
2554
2565
|
};
|
|
2566
|
+
/** @description Unprocessable entity */
|
|
2567
|
+
422: {
|
|
2568
|
+
headers: {
|
|
2569
|
+
[name: string]: unknown;
|
|
2570
|
+
};
|
|
2571
|
+
content: {
|
|
2572
|
+
"application/json": components["schemas"]["Error"];
|
|
2573
|
+
};
|
|
2574
|
+
};
|
|
2555
2575
|
};
|
|
2556
2576
|
};
|
|
2557
2577
|
GetExternalAccount: {
|
|
@@ -2603,6 +2623,15 @@ export interface operations {
|
|
|
2603
2623
|
"application/json": components["schemas"]["FileUpload"];
|
|
2604
2624
|
};
|
|
2605
2625
|
};
|
|
2626
|
+
/** @description Unprocessable entity */
|
|
2627
|
+
422: {
|
|
2628
|
+
headers: {
|
|
2629
|
+
[name: string]: unknown;
|
|
2630
|
+
};
|
|
2631
|
+
content: {
|
|
2632
|
+
"application/json": components["schemas"]["Error"];
|
|
2633
|
+
};
|
|
2634
|
+
};
|
|
2606
2635
|
};
|
|
2607
2636
|
};
|
|
2608
2637
|
GetFileUpload: {
|
|
@@ -2651,6 +2680,15 @@ export interface operations {
|
|
|
2651
2680
|
"application/json": components["schemas"]["FileDownload"];
|
|
2652
2681
|
};
|
|
2653
2682
|
};
|
|
2683
|
+
/** @description Unprocessable entity */
|
|
2684
|
+
422: {
|
|
2685
|
+
headers: {
|
|
2686
|
+
[name: string]: unknown;
|
|
2687
|
+
};
|
|
2688
|
+
content: {
|
|
2689
|
+
"application/json": components["schemas"]["Error"];
|
|
2690
|
+
};
|
|
2691
|
+
};
|
|
2654
2692
|
};
|
|
2655
2693
|
};
|
|
2656
2694
|
ListLegalEntityApplicationDocuments: {
|
|
@@ -2798,6 +2836,15 @@ export interface operations {
|
|
|
2798
2836
|
"application/json": components["schemas"]["LegalEntityApplication"];
|
|
2799
2837
|
};
|
|
2800
2838
|
};
|
|
2839
|
+
/** @description Unprocessable entity */
|
|
2840
|
+
422: {
|
|
2841
|
+
headers: {
|
|
2842
|
+
[name: string]: unknown;
|
|
2843
|
+
};
|
|
2844
|
+
content: {
|
|
2845
|
+
"application/json": components["schemas"]["Error"];
|
|
2846
|
+
};
|
|
2847
|
+
};
|
|
2801
2848
|
};
|
|
2802
2849
|
};
|
|
2803
2850
|
GetLegalEntityApplication: {
|
|
@@ -3188,6 +3235,15 @@ export interface operations {
|
|
|
3188
3235
|
"application/json": components["schemas"]["Origin"];
|
|
3189
3236
|
};
|
|
3190
3237
|
};
|
|
3238
|
+
/** @description Unprocessable entity */
|
|
3239
|
+
422: {
|
|
3240
|
+
headers: {
|
|
3241
|
+
[name: string]: unknown;
|
|
3242
|
+
};
|
|
3243
|
+
content: {
|
|
3244
|
+
"application/json": components["schemas"]["Error"];
|
|
3245
|
+
};
|
|
3246
|
+
};
|
|
3191
3247
|
};
|
|
3192
3248
|
};
|
|
3193
3249
|
GetEmbedPaymentIntent: {
|
|
@@ -3244,6 +3300,15 @@ export interface operations {
|
|
|
3244
3300
|
"application/json": components["schemas"]["PaymentIntent"];
|
|
3245
3301
|
};
|
|
3246
3302
|
};
|
|
3303
|
+
/** @description Unprocessable entity */
|
|
3304
|
+
422: {
|
|
3305
|
+
headers: {
|
|
3306
|
+
[name: string]: unknown;
|
|
3307
|
+
};
|
|
3308
|
+
content: {
|
|
3309
|
+
"application/json": components["schemas"]["Error"];
|
|
3310
|
+
};
|
|
3311
|
+
};
|
|
3247
3312
|
};
|
|
3248
3313
|
};
|
|
3249
3314
|
ListPaymentIntents: {
|
|
@@ -3302,6 +3367,15 @@ export interface operations {
|
|
|
3302
3367
|
"application/json": components["schemas"]["EmbedToken"];
|
|
3303
3368
|
};
|
|
3304
3369
|
};
|
|
3370
|
+
/** @description Unprocessable entity */
|
|
3371
|
+
422: {
|
|
3372
|
+
headers: {
|
|
3373
|
+
[name: string]: unknown;
|
|
3374
|
+
};
|
|
3375
|
+
content: {
|
|
3376
|
+
"application/json": components["schemas"]["Error"];
|
|
3377
|
+
};
|
|
3378
|
+
};
|
|
3305
3379
|
};
|
|
3306
3380
|
};
|
|
3307
3381
|
ListPaymentLinks: {
|
|
@@ -3360,6 +3434,15 @@ export interface operations {
|
|
|
3360
3434
|
"application/json": components["schemas"]["PaymentLink"];
|
|
3361
3435
|
};
|
|
3362
3436
|
};
|
|
3437
|
+
/** @description Unprocessable entity */
|
|
3438
|
+
422: {
|
|
3439
|
+
headers: {
|
|
3440
|
+
[name: string]: unknown;
|
|
3441
|
+
};
|
|
3442
|
+
content: {
|
|
3443
|
+
"application/json": components["schemas"]["Error"];
|
|
3444
|
+
};
|
|
3445
|
+
};
|
|
3363
3446
|
};
|
|
3364
3447
|
};
|
|
3365
3448
|
GetPaymentIntent: {
|
|
@@ -3412,6 +3495,15 @@ export interface operations {
|
|
|
3412
3495
|
"application/json": components["schemas"]["PaymentIntent"];
|
|
3413
3496
|
};
|
|
3414
3497
|
};
|
|
3498
|
+
/** @description Unprocessable entity */
|
|
3499
|
+
422: {
|
|
3500
|
+
headers: {
|
|
3501
|
+
[name: string]: unknown;
|
|
3502
|
+
};
|
|
3503
|
+
content: {
|
|
3504
|
+
"application/json": components["schemas"]["Error"];
|
|
3505
|
+
};
|
|
3506
|
+
};
|
|
3415
3507
|
};
|
|
3416
3508
|
};
|
|
3417
3509
|
CapturePaymentIntent: {
|
|
@@ -3438,6 +3530,15 @@ export interface operations {
|
|
|
3438
3530
|
"application/json": components["schemas"]["PaymentIntent"];
|
|
3439
3531
|
};
|
|
3440
3532
|
};
|
|
3533
|
+
/** @description Unprocessable entity */
|
|
3534
|
+
422: {
|
|
3535
|
+
headers: {
|
|
3536
|
+
[name: string]: unknown;
|
|
3537
|
+
};
|
|
3538
|
+
content: {
|
|
3539
|
+
"application/json": components["schemas"]["Error"];
|
|
3540
|
+
};
|
|
3541
|
+
};
|
|
3441
3542
|
};
|
|
3442
3543
|
};
|
|
3443
3544
|
ListPaymentMethods: {
|
|
@@ -3992,6 +4093,15 @@ export interface operations {
|
|
|
3992
4093
|
"application/json": components["schemas"]["RenderTemplate"];
|
|
3993
4094
|
};
|
|
3994
4095
|
};
|
|
4096
|
+
/** @description Unprocessable entity */
|
|
4097
|
+
422: {
|
|
4098
|
+
headers: {
|
|
4099
|
+
[name: string]: unknown;
|
|
4100
|
+
};
|
|
4101
|
+
content: {
|
|
4102
|
+
"application/json": components["schemas"]["Error"];
|
|
4103
|
+
};
|
|
4104
|
+
};
|
|
3995
4105
|
};
|
|
3996
4106
|
};
|
|
3997
4107
|
GetRenderTemplate: {
|
|
@@ -4040,6 +4150,15 @@ export interface operations {
|
|
|
4040
4150
|
"application/json": components["schemas"]["RenderToken"];
|
|
4041
4151
|
};
|
|
4042
4152
|
};
|
|
4153
|
+
/** @description Unprocessable entity */
|
|
4154
|
+
422: {
|
|
4155
|
+
headers: {
|
|
4156
|
+
[name: string]: unknown;
|
|
4157
|
+
};
|
|
4158
|
+
content: {
|
|
4159
|
+
"application/json": components["schemas"]["Error"];
|
|
4160
|
+
};
|
|
4161
|
+
};
|
|
4043
4162
|
};
|
|
4044
4163
|
};
|
|
4045
4164
|
GetSetupIntent: {
|
|
@@ -4096,6 +4215,15 @@ export interface operations {
|
|
|
4096
4215
|
"application/json": components["schemas"]["SetupIntent"];
|
|
4097
4216
|
};
|
|
4098
4217
|
};
|
|
4218
|
+
/** @description Unprocessable entity */
|
|
4219
|
+
422: {
|
|
4220
|
+
headers: {
|
|
4221
|
+
[name: string]: unknown;
|
|
4222
|
+
};
|
|
4223
|
+
content: {
|
|
4224
|
+
"application/json": components["schemas"]["Error"];
|
|
4225
|
+
};
|
|
4226
|
+
};
|
|
4099
4227
|
};
|
|
4100
4228
|
};
|
|
4101
4229
|
CreateSetupIntent: {
|
|
@@ -4123,6 +4251,15 @@ export interface operations {
|
|
|
4123
4251
|
"application/json": components["schemas"]["EmbedToken"];
|
|
4124
4252
|
};
|
|
4125
4253
|
};
|
|
4254
|
+
/** @description Unprocessable entity */
|
|
4255
|
+
422: {
|
|
4256
|
+
headers: {
|
|
4257
|
+
[name: string]: unknown;
|
|
4258
|
+
};
|
|
4259
|
+
content: {
|
|
4260
|
+
"application/json": components["schemas"]["Error"];
|
|
4261
|
+
};
|
|
4262
|
+
};
|
|
4126
4263
|
};
|
|
4127
4264
|
};
|
|
4128
4265
|
ListSubscriptionPlans: {
|
|
@@ -4181,6 +4318,15 @@ export interface operations {
|
|
|
4181
4318
|
"application/json": components["schemas"]["SubscriptionPlan"];
|
|
4182
4319
|
};
|
|
4183
4320
|
};
|
|
4321
|
+
/** @description Unprocessable entity */
|
|
4322
|
+
422: {
|
|
4323
|
+
headers: {
|
|
4324
|
+
[name: string]: unknown;
|
|
4325
|
+
};
|
|
4326
|
+
content: {
|
|
4327
|
+
"application/json": components["schemas"]["Error"];
|
|
4328
|
+
};
|
|
4329
|
+
};
|
|
4184
4330
|
};
|
|
4185
4331
|
};
|
|
4186
4332
|
GetSubscriptionPlan: {
|
|
@@ -4265,6 +4411,15 @@ export interface operations {
|
|
|
4265
4411
|
"application/json": components["schemas"]["Subscription"];
|
|
4266
4412
|
};
|
|
4267
4413
|
};
|
|
4414
|
+
/** @description Unprocessable entity */
|
|
4415
|
+
422: {
|
|
4416
|
+
headers: {
|
|
4417
|
+
[name: string]: unknown;
|
|
4418
|
+
};
|
|
4419
|
+
content: {
|
|
4420
|
+
"application/json": components["schemas"]["Error"];
|
|
4421
|
+
};
|
|
4422
|
+
};
|
|
4268
4423
|
};
|
|
4269
4424
|
};
|
|
4270
4425
|
GetSubscription: {
|
|
@@ -4533,6 +4688,15 @@ export interface operations {
|
|
|
4533
4688
|
"application/json": components["schemas"]["WebhookEndpoint"];
|
|
4534
4689
|
};
|
|
4535
4690
|
};
|
|
4691
|
+
/** @description Unprocessable entity */
|
|
4692
|
+
422: {
|
|
4693
|
+
headers: {
|
|
4694
|
+
[name: string]: unknown;
|
|
4695
|
+
};
|
|
4696
|
+
content: {
|
|
4697
|
+
"application/json": components["schemas"]["Error"];
|
|
4698
|
+
};
|
|
4699
|
+
};
|
|
4536
4700
|
};
|
|
4537
4701
|
};
|
|
4538
4702
|
GetWebhookEndpoint: {
|
|
@@ -4660,6 +4824,15 @@ export interface operations {
|
|
|
4660
4824
|
};
|
|
4661
4825
|
content?: never;
|
|
4662
4826
|
};
|
|
4827
|
+
/** @description Unprocessable entity */
|
|
4828
|
+
422: {
|
|
4829
|
+
headers: {
|
|
4830
|
+
[name: string]: unknown;
|
|
4831
|
+
};
|
|
4832
|
+
content: {
|
|
4833
|
+
"application/json": components["schemas"]["Error"];
|
|
4834
|
+
};
|
|
4835
|
+
};
|
|
4663
4836
|
};
|
|
4664
4837
|
};
|
|
4665
4838
|
RetrieveWebhookRequest: {
|