@amos.com/node 0.1.1 → 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 +461 -4
- package/dist/index.d.ts +461 -4
- package/openapi/schema.ts +461 -4
- package/package.json +1 -1
package/openapi/schema.ts
CHANGED
|
@@ -65,7 +65,8 @@ export interface paths {
|
|
|
65
65
|
};
|
|
66
66
|
/** Retrieve a charge */
|
|
67
67
|
get: operations["GetCharge"];
|
|
68
|
-
|
|
68
|
+
/** Update a charge */
|
|
69
|
+
put: operations["UpdateCharge"];
|
|
69
70
|
post?: never;
|
|
70
71
|
delete?: never;
|
|
71
72
|
options?: never;
|
|
@@ -521,6 +522,24 @@ export interface paths {
|
|
|
521
522
|
patch?: never;
|
|
522
523
|
trace?: never;
|
|
523
524
|
};
|
|
525
|
+
"/payment_links": {
|
|
526
|
+
parameters: {
|
|
527
|
+
query?: never;
|
|
528
|
+
header?: never;
|
|
529
|
+
path?: never;
|
|
530
|
+
cookie?: never;
|
|
531
|
+
};
|
|
532
|
+
/** List payment links */
|
|
533
|
+
get: operations["ListPaymentLinks"];
|
|
534
|
+
put?: never;
|
|
535
|
+
/** Create a new payment link */
|
|
536
|
+
post: operations["CreatePaymentLink"];
|
|
537
|
+
delete?: never;
|
|
538
|
+
options?: never;
|
|
539
|
+
head?: never;
|
|
540
|
+
patch?: never;
|
|
541
|
+
trace?: never;
|
|
542
|
+
};
|
|
524
543
|
"/payment_intents/{id}": {
|
|
525
544
|
parameters: {
|
|
526
545
|
query?: never;
|
|
@@ -737,7 +756,8 @@ export interface paths {
|
|
|
737
756
|
};
|
|
738
757
|
/** Retrieve a refund by ID */
|
|
739
758
|
get: operations["GetRefund"];
|
|
740
|
-
|
|
759
|
+
/** Update a refund */
|
|
760
|
+
put: operations["UpdateRefund"];
|
|
741
761
|
post?: never;
|
|
742
762
|
delete?: never;
|
|
743
763
|
options?: never;
|
|
@@ -979,7 +999,8 @@ export interface paths {
|
|
|
979
999
|
};
|
|
980
1000
|
/** Retrieve a void by ID */
|
|
981
1001
|
get: operations["GetVoid"];
|
|
982
|
-
|
|
1002
|
+
/** Update a void */
|
|
1003
|
+
put: operations["UpdateVoid"];
|
|
983
1004
|
post?: never;
|
|
984
1005
|
delete?: never;
|
|
985
1006
|
options?: never;
|
|
@@ -1075,6 +1096,23 @@ export interface paths {
|
|
|
1075
1096
|
patch?: never;
|
|
1076
1097
|
trace?: never;
|
|
1077
1098
|
};
|
|
1099
|
+
"/webhook_requests/{id}": {
|
|
1100
|
+
parameters: {
|
|
1101
|
+
query?: never;
|
|
1102
|
+
header?: never;
|
|
1103
|
+
path?: never;
|
|
1104
|
+
cookie?: never;
|
|
1105
|
+
};
|
|
1106
|
+
/** Get webhook request by ID */
|
|
1107
|
+
get: operations["RetrieveWebhookRequest"];
|
|
1108
|
+
put?: never;
|
|
1109
|
+
post?: never;
|
|
1110
|
+
delete?: never;
|
|
1111
|
+
options?: never;
|
|
1112
|
+
head?: never;
|
|
1113
|
+
patch?: never;
|
|
1114
|
+
trace?: never;
|
|
1115
|
+
};
|
|
1078
1116
|
}
|
|
1079
1117
|
export type webhooks = Record<string, never>;
|
|
1080
1118
|
export interface components {
|
|
@@ -1093,7 +1131,9 @@ export interface components {
|
|
|
1093
1131
|
[key: string]: string | null;
|
|
1094
1132
|
};
|
|
1095
1133
|
Error: {
|
|
1096
|
-
errors
|
|
1134
|
+
errors: {
|
|
1135
|
+
[key: string]: string[];
|
|
1136
|
+
};
|
|
1097
1137
|
};
|
|
1098
1138
|
/** @description Decoded JWT payload for embed token responses. */
|
|
1099
1139
|
EmbedTokenJwt: {
|
|
@@ -1667,6 +1707,59 @@ export interface components {
|
|
|
1667
1707
|
/** Format: date-time */
|
|
1668
1708
|
updated_at?: string;
|
|
1669
1709
|
};
|
|
1710
|
+
CreatePaymentLinkInput: {
|
|
1711
|
+
slug?: string;
|
|
1712
|
+
active?: boolean;
|
|
1713
|
+
/** @enum {string} */
|
|
1714
|
+
amount_type?: "fixed" | "open";
|
|
1715
|
+
amount?: number;
|
|
1716
|
+
/** Format: uri */
|
|
1717
|
+
image_url?: string;
|
|
1718
|
+
minimum_amount?: number;
|
|
1719
|
+
maximum_amount?: number;
|
|
1720
|
+
suggested_amounts?: number[];
|
|
1721
|
+
currency?: string;
|
|
1722
|
+
description?: string | null;
|
|
1723
|
+
statement_descriptor?: string;
|
|
1724
|
+
/** Format: uri */
|
|
1725
|
+
success_url?: string;
|
|
1726
|
+
title?: string;
|
|
1727
|
+
/** Format: uri */
|
|
1728
|
+
cancel_url?: string;
|
|
1729
|
+
allowed_payment_method_types?: string[];
|
|
1730
|
+
metadata?: components["schemas"]["Metadata"];
|
|
1731
|
+
};
|
|
1732
|
+
CreatePaymentLinkRequest: {
|
|
1733
|
+
payment_link: components["schemas"]["CreatePaymentLinkInput"];
|
|
1734
|
+
};
|
|
1735
|
+
PaymentLink: {
|
|
1736
|
+
/** Format: uuid */
|
|
1737
|
+
id?: string;
|
|
1738
|
+
/** Format: uuid */
|
|
1739
|
+
organization_id?: string;
|
|
1740
|
+
/** Format: uuid */
|
|
1741
|
+
account_id?: string;
|
|
1742
|
+
slug?: string;
|
|
1743
|
+
active?: boolean;
|
|
1744
|
+
/** @enum {string} */
|
|
1745
|
+
amount_type?: "fixed" | "open";
|
|
1746
|
+
amount?: number;
|
|
1747
|
+
/** Format: uri */
|
|
1748
|
+
image_url?: string;
|
|
1749
|
+
minimum_amount?: number;
|
|
1750
|
+
maximum_amount?: number;
|
|
1751
|
+
suggested_amounts?: number[];
|
|
1752
|
+
currency?: string;
|
|
1753
|
+
description?: string | null;
|
|
1754
|
+
statement_descriptor?: string;
|
|
1755
|
+
/** Format: uri */
|
|
1756
|
+
success_url?: string;
|
|
1757
|
+
title?: string;
|
|
1758
|
+
/** Format: uri */
|
|
1759
|
+
cancel_url?: string;
|
|
1760
|
+
allowed_payment_method_types?: string[];
|
|
1761
|
+
metadata?: components["schemas"]["Metadata"];
|
|
1762
|
+
};
|
|
1670
1763
|
PaymentMethod: {
|
|
1671
1764
|
/** Format: uuid */
|
|
1672
1765
|
id?: string;
|
|
@@ -1793,6 +1886,13 @@ export interface components {
|
|
|
1793
1886
|
CreateRefundRequest: {
|
|
1794
1887
|
refund: components["schemas"]["CreateRefundInput"];
|
|
1795
1888
|
};
|
|
1889
|
+
UpdateRefundInput: {
|
|
1890
|
+
description?: string;
|
|
1891
|
+
metadata?: components["schemas"]["Metadata"];
|
|
1892
|
+
};
|
|
1893
|
+
UpdateRefundRequest: {
|
|
1894
|
+
refund: components["schemas"]["UpdateRefundInput"];
|
|
1895
|
+
};
|
|
1796
1896
|
Refund: {
|
|
1797
1897
|
/** Format: uuid */
|
|
1798
1898
|
id?: string;
|
|
@@ -1949,6 +2049,13 @@ export interface components {
|
|
|
1949
2049
|
CreateSubscriptionPlanRequest: {
|
|
1950
2050
|
subscription_plan: components["schemas"]["CreateSubscriptionPlanInput"];
|
|
1951
2051
|
};
|
|
2052
|
+
UpdateChargeInput: {
|
|
2053
|
+
description?: string;
|
|
2054
|
+
metadata?: components["schemas"]["Metadata"];
|
|
2055
|
+
};
|
|
2056
|
+
UpdateChargeRequest: {
|
|
2057
|
+
charge: components["schemas"]["UpdateChargeInput"];
|
|
2058
|
+
};
|
|
1952
2059
|
SubscriptionPlan: {
|
|
1953
2060
|
/** Format: uuid */
|
|
1954
2061
|
id?: string;
|
|
@@ -1984,6 +2091,13 @@ export interface components {
|
|
|
1984
2091
|
CreateVoidRequest: {
|
|
1985
2092
|
void: components["schemas"]["CreateVoidInput"];
|
|
1986
2093
|
};
|
|
2094
|
+
UpdateVoidInput: {
|
|
2095
|
+
description?: string;
|
|
2096
|
+
metadata?: components["schemas"]["Metadata"];
|
|
2097
|
+
};
|
|
2098
|
+
UpdateVoidRequest: {
|
|
2099
|
+
void: components["schemas"]["UpdateVoidInput"];
|
|
2100
|
+
};
|
|
1987
2101
|
Void: {
|
|
1988
2102
|
/** Format: uuid */
|
|
1989
2103
|
id?: string;
|
|
@@ -2242,6 +2356,35 @@ export interface operations {
|
|
|
2242
2356
|
};
|
|
2243
2357
|
};
|
|
2244
2358
|
};
|
|
2359
|
+
UpdateCharge: {
|
|
2360
|
+
parameters: {
|
|
2361
|
+
query?: never;
|
|
2362
|
+
header: {
|
|
2363
|
+
"X-Api-Version": components["parameters"]["XApiVersionHeader"];
|
|
2364
|
+
"X-Account-Id": components["parameters"]["XAccountIdHeader"];
|
|
2365
|
+
};
|
|
2366
|
+
path: {
|
|
2367
|
+
id: string;
|
|
2368
|
+
};
|
|
2369
|
+
cookie?: never;
|
|
2370
|
+
};
|
|
2371
|
+
requestBody: {
|
|
2372
|
+
content: {
|
|
2373
|
+
"application/json": components["schemas"]["UpdateChargeRequest"];
|
|
2374
|
+
};
|
|
2375
|
+
};
|
|
2376
|
+
responses: {
|
|
2377
|
+
/** @description Charge updated successfully */
|
|
2378
|
+
200: {
|
|
2379
|
+
headers: {
|
|
2380
|
+
[name: string]: unknown;
|
|
2381
|
+
};
|
|
2382
|
+
content: {
|
|
2383
|
+
"application/json": components["schemas"]["Charge"];
|
|
2384
|
+
};
|
|
2385
|
+
};
|
|
2386
|
+
};
|
|
2387
|
+
};
|
|
2245
2388
|
ListCustomers: {
|
|
2246
2389
|
parameters: {
|
|
2247
2390
|
query?: {
|
|
@@ -2301,6 +2444,15 @@ export interface operations {
|
|
|
2301
2444
|
"application/json": components["schemas"]["Customer"];
|
|
2302
2445
|
};
|
|
2303
2446
|
};
|
|
2447
|
+
/** @description Unprocessable entity */
|
|
2448
|
+
422: {
|
|
2449
|
+
headers: {
|
|
2450
|
+
[name: string]: unknown;
|
|
2451
|
+
};
|
|
2452
|
+
content: {
|
|
2453
|
+
"application/json": components["schemas"]["Error"];
|
|
2454
|
+
};
|
|
2455
|
+
};
|
|
2304
2456
|
};
|
|
2305
2457
|
};
|
|
2306
2458
|
GetCustomer: {
|
|
@@ -2411,6 +2563,15 @@ export interface operations {
|
|
|
2411
2563
|
"application/json": components["schemas"]["ExternalAccount"];
|
|
2412
2564
|
};
|
|
2413
2565
|
};
|
|
2566
|
+
/** @description Unprocessable entity */
|
|
2567
|
+
422: {
|
|
2568
|
+
headers: {
|
|
2569
|
+
[name: string]: unknown;
|
|
2570
|
+
};
|
|
2571
|
+
content: {
|
|
2572
|
+
"application/json": components["schemas"]["Error"];
|
|
2573
|
+
};
|
|
2574
|
+
};
|
|
2414
2575
|
};
|
|
2415
2576
|
};
|
|
2416
2577
|
GetExternalAccount: {
|
|
@@ -2462,6 +2623,15 @@ export interface operations {
|
|
|
2462
2623
|
"application/json": components["schemas"]["FileUpload"];
|
|
2463
2624
|
};
|
|
2464
2625
|
};
|
|
2626
|
+
/** @description Unprocessable entity */
|
|
2627
|
+
422: {
|
|
2628
|
+
headers: {
|
|
2629
|
+
[name: string]: unknown;
|
|
2630
|
+
};
|
|
2631
|
+
content: {
|
|
2632
|
+
"application/json": components["schemas"]["Error"];
|
|
2633
|
+
};
|
|
2634
|
+
};
|
|
2465
2635
|
};
|
|
2466
2636
|
};
|
|
2467
2637
|
GetFileUpload: {
|
|
@@ -2510,6 +2680,15 @@ export interface operations {
|
|
|
2510
2680
|
"application/json": components["schemas"]["FileDownload"];
|
|
2511
2681
|
};
|
|
2512
2682
|
};
|
|
2683
|
+
/** @description Unprocessable entity */
|
|
2684
|
+
422: {
|
|
2685
|
+
headers: {
|
|
2686
|
+
[name: string]: unknown;
|
|
2687
|
+
};
|
|
2688
|
+
content: {
|
|
2689
|
+
"application/json": components["schemas"]["Error"];
|
|
2690
|
+
};
|
|
2691
|
+
};
|
|
2513
2692
|
};
|
|
2514
2693
|
};
|
|
2515
2694
|
ListLegalEntityApplicationDocuments: {
|
|
@@ -2657,6 +2836,15 @@ export interface operations {
|
|
|
2657
2836
|
"application/json": components["schemas"]["LegalEntityApplication"];
|
|
2658
2837
|
};
|
|
2659
2838
|
};
|
|
2839
|
+
/** @description Unprocessable entity */
|
|
2840
|
+
422: {
|
|
2841
|
+
headers: {
|
|
2842
|
+
[name: string]: unknown;
|
|
2843
|
+
};
|
|
2844
|
+
content: {
|
|
2845
|
+
"application/json": components["schemas"]["Error"];
|
|
2846
|
+
};
|
|
2847
|
+
};
|
|
2660
2848
|
};
|
|
2661
2849
|
};
|
|
2662
2850
|
GetLegalEntityApplication: {
|
|
@@ -3047,6 +3235,15 @@ export interface operations {
|
|
|
3047
3235
|
"application/json": components["schemas"]["Origin"];
|
|
3048
3236
|
};
|
|
3049
3237
|
};
|
|
3238
|
+
/** @description Unprocessable entity */
|
|
3239
|
+
422: {
|
|
3240
|
+
headers: {
|
|
3241
|
+
[name: string]: unknown;
|
|
3242
|
+
};
|
|
3243
|
+
content: {
|
|
3244
|
+
"application/json": components["schemas"]["Error"];
|
|
3245
|
+
};
|
|
3246
|
+
};
|
|
3050
3247
|
};
|
|
3051
3248
|
};
|
|
3052
3249
|
GetEmbedPaymentIntent: {
|
|
@@ -3103,6 +3300,15 @@ export interface operations {
|
|
|
3103
3300
|
"application/json": components["schemas"]["PaymentIntent"];
|
|
3104
3301
|
};
|
|
3105
3302
|
};
|
|
3303
|
+
/** @description Unprocessable entity */
|
|
3304
|
+
422: {
|
|
3305
|
+
headers: {
|
|
3306
|
+
[name: string]: unknown;
|
|
3307
|
+
};
|
|
3308
|
+
content: {
|
|
3309
|
+
"application/json": components["schemas"]["Error"];
|
|
3310
|
+
};
|
|
3311
|
+
};
|
|
3106
3312
|
};
|
|
3107
3313
|
};
|
|
3108
3314
|
ListPaymentIntents: {
|
|
@@ -3161,6 +3367,82 @@ export interface operations {
|
|
|
3161
3367
|
"application/json": components["schemas"]["EmbedToken"];
|
|
3162
3368
|
};
|
|
3163
3369
|
};
|
|
3370
|
+
/** @description Unprocessable entity */
|
|
3371
|
+
422: {
|
|
3372
|
+
headers: {
|
|
3373
|
+
[name: string]: unknown;
|
|
3374
|
+
};
|
|
3375
|
+
content: {
|
|
3376
|
+
"application/json": components["schemas"]["Error"];
|
|
3377
|
+
};
|
|
3378
|
+
};
|
|
3379
|
+
};
|
|
3380
|
+
};
|
|
3381
|
+
ListPaymentLinks: {
|
|
3382
|
+
parameters: {
|
|
3383
|
+
query?: {
|
|
3384
|
+
/** @description The page of results to retrieve. */
|
|
3385
|
+
page?: components["parameters"]["PageQuery"];
|
|
3386
|
+
/** @description Number of results per page. */
|
|
3387
|
+
per_page?: components["parameters"]["PerPageQuery"];
|
|
3388
|
+
};
|
|
3389
|
+
header: {
|
|
3390
|
+
"X-Api-Version": components["parameters"]["XApiVersionHeader"];
|
|
3391
|
+
"X-Account-Id": components["parameters"]["XAccountIdHeader"];
|
|
3392
|
+
};
|
|
3393
|
+
path?: never;
|
|
3394
|
+
cookie?: never;
|
|
3395
|
+
};
|
|
3396
|
+
requestBody?: never;
|
|
3397
|
+
responses: {
|
|
3398
|
+
/** @description A list of payment links */
|
|
3399
|
+
200: {
|
|
3400
|
+
headers: {
|
|
3401
|
+
[name: string]: unknown;
|
|
3402
|
+
};
|
|
3403
|
+
content: {
|
|
3404
|
+
"application/json": {
|
|
3405
|
+
data?: components["schemas"]["PaymentLink"][];
|
|
3406
|
+
meta?: components["schemas"]["Meta"];
|
|
3407
|
+
};
|
|
3408
|
+
};
|
|
3409
|
+
};
|
|
3410
|
+
};
|
|
3411
|
+
};
|
|
3412
|
+
CreatePaymentLink: {
|
|
3413
|
+
parameters: {
|
|
3414
|
+
query?: never;
|
|
3415
|
+
header: {
|
|
3416
|
+
"X-Api-Version": components["parameters"]["XApiVersionHeader"];
|
|
3417
|
+
"X-Account-Id": components["parameters"]["XAccountIdHeader"];
|
|
3418
|
+
};
|
|
3419
|
+
path?: never;
|
|
3420
|
+
cookie?: never;
|
|
3421
|
+
};
|
|
3422
|
+
requestBody: {
|
|
3423
|
+
content: {
|
|
3424
|
+
"application/json": components["schemas"]["CreatePaymentLinkRequest"];
|
|
3425
|
+
};
|
|
3426
|
+
};
|
|
3427
|
+
responses: {
|
|
3428
|
+
/** @description Payment link created successfully */
|
|
3429
|
+
201: {
|
|
3430
|
+
headers: {
|
|
3431
|
+
[name: string]: unknown;
|
|
3432
|
+
};
|
|
3433
|
+
content: {
|
|
3434
|
+
"application/json": components["schemas"]["PaymentLink"];
|
|
3435
|
+
};
|
|
3436
|
+
};
|
|
3437
|
+
/** @description Unprocessable entity */
|
|
3438
|
+
422: {
|
|
3439
|
+
headers: {
|
|
3440
|
+
[name: string]: unknown;
|
|
3441
|
+
};
|
|
3442
|
+
content: {
|
|
3443
|
+
"application/json": components["schemas"]["Error"];
|
|
3444
|
+
};
|
|
3445
|
+
};
|
|
3164
3446
|
};
|
|
3165
3447
|
};
|
|
3166
3448
|
GetPaymentIntent: {
|
|
@@ -3213,6 +3495,15 @@ export interface operations {
|
|
|
3213
3495
|
"application/json": components["schemas"]["PaymentIntent"];
|
|
3214
3496
|
};
|
|
3215
3497
|
};
|
|
3498
|
+
/** @description Unprocessable entity */
|
|
3499
|
+
422: {
|
|
3500
|
+
headers: {
|
|
3501
|
+
[name: string]: unknown;
|
|
3502
|
+
};
|
|
3503
|
+
content: {
|
|
3504
|
+
"application/json": components["schemas"]["Error"];
|
|
3505
|
+
};
|
|
3506
|
+
};
|
|
3216
3507
|
};
|
|
3217
3508
|
};
|
|
3218
3509
|
CapturePaymentIntent: {
|
|
@@ -3239,6 +3530,15 @@ export interface operations {
|
|
|
3239
3530
|
"application/json": components["schemas"]["PaymentIntent"];
|
|
3240
3531
|
};
|
|
3241
3532
|
};
|
|
3533
|
+
/** @description Unprocessable entity */
|
|
3534
|
+
422: {
|
|
3535
|
+
headers: {
|
|
3536
|
+
[name: string]: unknown;
|
|
3537
|
+
};
|
|
3538
|
+
content: {
|
|
3539
|
+
"application/json": components["schemas"]["Error"];
|
|
3540
|
+
};
|
|
3541
|
+
};
|
|
3242
3542
|
};
|
|
3243
3543
|
};
|
|
3244
3544
|
ListPaymentMethods: {
|
|
@@ -3682,6 +3982,36 @@ export interface operations {
|
|
|
3682
3982
|
};
|
|
3683
3983
|
};
|
|
3684
3984
|
};
|
|
3985
|
+
UpdateRefund: {
|
|
3986
|
+
parameters: {
|
|
3987
|
+
query?: never;
|
|
3988
|
+
header: {
|
|
3989
|
+
"X-Api-Version": components["parameters"]["XApiVersionHeader"];
|
|
3990
|
+
"X-Account-Id": components["parameters"]["XAccountIdHeader"];
|
|
3991
|
+
};
|
|
3992
|
+
path: {
|
|
3993
|
+
/** @description The ID of the refund to update */
|
|
3994
|
+
id: string;
|
|
3995
|
+
};
|
|
3996
|
+
cookie?: never;
|
|
3997
|
+
};
|
|
3998
|
+
requestBody: {
|
|
3999
|
+
content: {
|
|
4000
|
+
"application/json": components["schemas"]["UpdateRefundRequest"];
|
|
4001
|
+
};
|
|
4002
|
+
};
|
|
4003
|
+
responses: {
|
|
4004
|
+
/** @description Refund updated successfully */
|
|
4005
|
+
200: {
|
|
4006
|
+
headers: {
|
|
4007
|
+
[name: string]: unknown;
|
|
4008
|
+
};
|
|
4009
|
+
content: {
|
|
4010
|
+
"application/json": components["schemas"]["Refund"];
|
|
4011
|
+
};
|
|
4012
|
+
};
|
|
4013
|
+
};
|
|
4014
|
+
};
|
|
3685
4015
|
CancelRefund: {
|
|
3686
4016
|
parameters: {
|
|
3687
4017
|
query?: never;
|
|
@@ -3763,6 +4093,15 @@ export interface operations {
|
|
|
3763
4093
|
"application/json": components["schemas"]["RenderTemplate"];
|
|
3764
4094
|
};
|
|
3765
4095
|
};
|
|
4096
|
+
/** @description Unprocessable entity */
|
|
4097
|
+
422: {
|
|
4098
|
+
headers: {
|
|
4099
|
+
[name: string]: unknown;
|
|
4100
|
+
};
|
|
4101
|
+
content: {
|
|
4102
|
+
"application/json": components["schemas"]["Error"];
|
|
4103
|
+
};
|
|
4104
|
+
};
|
|
3766
4105
|
};
|
|
3767
4106
|
};
|
|
3768
4107
|
GetRenderTemplate: {
|
|
@@ -3811,6 +4150,15 @@ export interface operations {
|
|
|
3811
4150
|
"application/json": components["schemas"]["RenderToken"];
|
|
3812
4151
|
};
|
|
3813
4152
|
};
|
|
4153
|
+
/** @description Unprocessable entity */
|
|
4154
|
+
422: {
|
|
4155
|
+
headers: {
|
|
4156
|
+
[name: string]: unknown;
|
|
4157
|
+
};
|
|
4158
|
+
content: {
|
|
4159
|
+
"application/json": components["schemas"]["Error"];
|
|
4160
|
+
};
|
|
4161
|
+
};
|
|
3814
4162
|
};
|
|
3815
4163
|
};
|
|
3816
4164
|
GetSetupIntent: {
|
|
@@ -3867,6 +4215,15 @@ export interface operations {
|
|
|
3867
4215
|
"application/json": components["schemas"]["SetupIntent"];
|
|
3868
4216
|
};
|
|
3869
4217
|
};
|
|
4218
|
+
/** @description Unprocessable entity */
|
|
4219
|
+
422: {
|
|
4220
|
+
headers: {
|
|
4221
|
+
[name: string]: unknown;
|
|
4222
|
+
};
|
|
4223
|
+
content: {
|
|
4224
|
+
"application/json": components["schemas"]["Error"];
|
|
4225
|
+
};
|
|
4226
|
+
};
|
|
3870
4227
|
};
|
|
3871
4228
|
};
|
|
3872
4229
|
CreateSetupIntent: {
|
|
@@ -3894,6 +4251,15 @@ export interface operations {
|
|
|
3894
4251
|
"application/json": components["schemas"]["EmbedToken"];
|
|
3895
4252
|
};
|
|
3896
4253
|
};
|
|
4254
|
+
/** @description Unprocessable entity */
|
|
4255
|
+
422: {
|
|
4256
|
+
headers: {
|
|
4257
|
+
[name: string]: unknown;
|
|
4258
|
+
};
|
|
4259
|
+
content: {
|
|
4260
|
+
"application/json": components["schemas"]["Error"];
|
|
4261
|
+
};
|
|
4262
|
+
};
|
|
3897
4263
|
};
|
|
3898
4264
|
};
|
|
3899
4265
|
ListSubscriptionPlans: {
|
|
@@ -3952,6 +4318,15 @@ export interface operations {
|
|
|
3952
4318
|
"application/json": components["schemas"]["SubscriptionPlan"];
|
|
3953
4319
|
};
|
|
3954
4320
|
};
|
|
4321
|
+
/** @description Unprocessable entity */
|
|
4322
|
+
422: {
|
|
4323
|
+
headers: {
|
|
4324
|
+
[name: string]: unknown;
|
|
4325
|
+
};
|
|
4326
|
+
content: {
|
|
4327
|
+
"application/json": components["schemas"]["Error"];
|
|
4328
|
+
};
|
|
4329
|
+
};
|
|
3955
4330
|
};
|
|
3956
4331
|
};
|
|
3957
4332
|
GetSubscriptionPlan: {
|
|
@@ -4036,6 +4411,15 @@ export interface operations {
|
|
|
4036
4411
|
"application/json": components["schemas"]["Subscription"];
|
|
4037
4412
|
};
|
|
4038
4413
|
};
|
|
4414
|
+
/** @description Unprocessable entity */
|
|
4415
|
+
422: {
|
|
4416
|
+
headers: {
|
|
4417
|
+
[name: string]: unknown;
|
|
4418
|
+
};
|
|
4419
|
+
content: {
|
|
4420
|
+
"application/json": components["schemas"]["Error"];
|
|
4421
|
+
};
|
|
4422
|
+
};
|
|
4039
4423
|
};
|
|
4040
4424
|
};
|
|
4041
4425
|
GetSubscription: {
|
|
@@ -4188,6 +4572,36 @@ export interface operations {
|
|
|
4188
4572
|
};
|
|
4189
4573
|
};
|
|
4190
4574
|
};
|
|
4575
|
+
UpdateVoid: {
|
|
4576
|
+
parameters: {
|
|
4577
|
+
query?: never;
|
|
4578
|
+
header: {
|
|
4579
|
+
"X-Api-Version": components["parameters"]["XApiVersionHeader"];
|
|
4580
|
+
"X-Account-Id": components["parameters"]["XAccountIdHeader"];
|
|
4581
|
+
};
|
|
4582
|
+
path: {
|
|
4583
|
+
/** @description The ID of the void to update */
|
|
4584
|
+
id: string;
|
|
4585
|
+
};
|
|
4586
|
+
cookie?: never;
|
|
4587
|
+
};
|
|
4588
|
+
requestBody: {
|
|
4589
|
+
content: {
|
|
4590
|
+
"application/json": components["schemas"]["UpdateVoidRequest"];
|
|
4591
|
+
};
|
|
4592
|
+
};
|
|
4593
|
+
responses: {
|
|
4594
|
+
/** @description Void updated successfully */
|
|
4595
|
+
200: {
|
|
4596
|
+
headers: {
|
|
4597
|
+
[name: string]: unknown;
|
|
4598
|
+
};
|
|
4599
|
+
content: {
|
|
4600
|
+
"application/json": components["schemas"]["Void"];
|
|
4601
|
+
};
|
|
4602
|
+
};
|
|
4603
|
+
};
|
|
4604
|
+
};
|
|
4191
4605
|
ListWebhookAttempts: {
|
|
4192
4606
|
parameters: {
|
|
4193
4607
|
query: {
|
|
@@ -4274,6 +4688,15 @@ export interface operations {
|
|
|
4274
4688
|
"application/json": components["schemas"]["WebhookEndpoint"];
|
|
4275
4689
|
};
|
|
4276
4690
|
};
|
|
4691
|
+
/** @description Unprocessable entity */
|
|
4692
|
+
422: {
|
|
4693
|
+
headers: {
|
|
4694
|
+
[name: string]: unknown;
|
|
4695
|
+
};
|
|
4696
|
+
content: {
|
|
4697
|
+
"application/json": components["schemas"]["Error"];
|
|
4698
|
+
};
|
|
4699
|
+
};
|
|
4277
4700
|
};
|
|
4278
4701
|
};
|
|
4279
4702
|
GetWebhookEndpoint: {
|
|
@@ -4401,6 +4824,40 @@ export interface operations {
|
|
|
4401
4824
|
};
|
|
4402
4825
|
content?: never;
|
|
4403
4826
|
};
|
|
4827
|
+
/** @description Unprocessable entity */
|
|
4828
|
+
422: {
|
|
4829
|
+
headers: {
|
|
4830
|
+
[name: string]: unknown;
|
|
4831
|
+
};
|
|
4832
|
+
content: {
|
|
4833
|
+
"application/json": components["schemas"]["Error"];
|
|
4834
|
+
};
|
|
4835
|
+
};
|
|
4836
|
+
};
|
|
4837
|
+
};
|
|
4838
|
+
RetrieveWebhookRequest: {
|
|
4839
|
+
parameters: {
|
|
4840
|
+
query?: never;
|
|
4841
|
+
header: {
|
|
4842
|
+
"X-Api-Version": components["parameters"]["XApiVersionHeader"];
|
|
4843
|
+
};
|
|
4844
|
+
path: {
|
|
4845
|
+
/** @description The ID of the webhook request to retrieve */
|
|
4846
|
+
id: string;
|
|
4847
|
+
};
|
|
4848
|
+
cookie?: never;
|
|
4849
|
+
};
|
|
4850
|
+
requestBody?: never;
|
|
4851
|
+
responses: {
|
|
4852
|
+
/** @description Webhook request retrieved successfully */
|
|
4853
|
+
200: {
|
|
4854
|
+
headers: {
|
|
4855
|
+
[name: string]: unknown;
|
|
4856
|
+
};
|
|
4857
|
+
content: {
|
|
4858
|
+
"application/json": components["schemas"]["WebhookRequest"];
|
|
4859
|
+
};
|
|
4860
|
+
};
|
|
4404
4861
|
};
|
|
4405
4862
|
};
|
|
4406
4863
|
}
|