@peable.to/contracts 2.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/resources/catalog/index.js +1 -5
- package/dist/cjs/resources/checkout/checkoutSessions.js +0 -4
- package/dist/cjs/resources/events/events.js +1 -32
- package/dist/cjs/resources/events/webhookDeliveries.js +1 -1
- package/dist/cjs/resources/events/webhookEndpoints.js +1 -1
- package/dist/cjs/resources/payments/disputes.js +16 -0
- package/dist/cjs/resources/payments/refunds.js +46 -11
- package/dist/cjs/vocabulary/catalog.js +1 -17
- package/dist/cjs/vocabulary/errors.js +0 -13
- package/dist/cjs/vocabulary/events.js +5 -1
- package/dist/esm/resources/catalog/index.js +1 -5
- package/dist/esm/resources/checkout/checkoutSessions.js +0 -4
- package/dist/esm/resources/events/events.js +0 -31
- package/dist/esm/resources/events/webhookDeliveries.js +1 -1
- package/dist/esm/resources/events/webhookEndpoints.js +1 -1
- package/dist/esm/resources/payments/disputes.js +16 -0
- package/dist/esm/resources/payments/refunds.js +46 -11
- package/dist/esm/vocabulary/catalog.js +0 -16
- package/dist/esm/vocabulary/errors.js +0 -13
- package/dist/esm/vocabulary/events.js +5 -1
- package/dist/types/resources/catalog/index.d.ts +1 -851
- package/dist/types/resources/checkout/checkoutSessions.d.ts +13 -61
- package/dist/types/resources/checkout/index.d.ts +10 -46
- package/dist/types/resources/connect/balance.d.ts +5 -5
- package/dist/types/resources/connect/index.d.ts +4 -4
- package/dist/types/resources/connect/payouts.d.ts +2 -2
- package/dist/types/resources/events/events.d.ts +0 -22
- package/dist/types/resources/events/index.d.ts +7 -15
- package/dist/types/resources/events/webhookDeliveries.d.ts +0 -3
- package/dist/types/resources/events/webhookEndpoints.d.ts +11 -16
- package/dist/types/resources/payments/disputes.d.ts +35 -0
- package/dist/types/resources/payments/index.d.ts +82 -10
- package/dist/types/resources/payments/paymentIntents.d.ts +10 -10
- package/dist/types/resources/payments/refunds.d.ts +56 -5
- package/dist/types/resources/payments/testHelpers.d.ts +1 -1
- package/dist/types/resources/tax/index.d.ts +1 -1
- package/dist/types/resources/tax/registrations.d.ts +2 -2
- package/dist/types/vocabulary/catalog.d.ts +0 -9
- package/dist/types/vocabulary/errors.d.ts +0 -13
- package/dist/types/vocabulary/events.d.ts +5 -2
- package/package.json +1 -1
- package/dist/cjs/resources/catalog/billing.js +0 -753
- package/dist/esm/resources/catalog/billing.js +0 -750
- package/dist/types/resources/catalog/billing.d.ts +0 -1723
|
@@ -134,8 +134,8 @@ export declare const checkoutSessionSchema: z.ZodObject<{
|
|
|
134
134
|
no_payment_required: "no_payment_required";
|
|
135
135
|
}>;
|
|
136
136
|
ui_mode: z.ZodEnum<{
|
|
137
|
-
embedded: "embedded";
|
|
138
137
|
hosted: "hosted";
|
|
138
|
+
embedded: "embedded";
|
|
139
139
|
}>;
|
|
140
140
|
locale: z.ZodNullable<z.ZodEnum<{
|
|
141
141
|
en: "en";
|
|
@@ -314,18 +314,6 @@ export declare const checkoutSessionPublicSchema: z.ZodObject<{
|
|
|
314
314
|
}>;
|
|
315
315
|
}, z.core.$strict>;
|
|
316
316
|
publishable_key: z.ZodNullable<z.ZodString>;
|
|
317
|
-
billing_quote: z.ZodOptional<z.ZodObject<{
|
|
318
|
-
id: z.ZodString;
|
|
319
|
-
currency: z.ZodLiteral<"USD">;
|
|
320
|
-
gross_minor_units: z.ZodString;
|
|
321
|
-
amount_base_units: z.ZodString;
|
|
322
|
-
usd_per_fair: z.ZodString;
|
|
323
|
-
source: z.ZodString;
|
|
324
|
-
observed_at: z.ZodNumber;
|
|
325
|
-
quoted_at: z.ZodNumber;
|
|
326
|
-
expires_at: z.ZodNumber;
|
|
327
|
-
rounding: z.ZodLiteral<"ceil_to_base_unit">;
|
|
328
|
-
}, z.core.$strict>>;
|
|
329
317
|
shipping_details: z.ZodNullable<z.ZodObject<{
|
|
330
318
|
name: z.ZodString;
|
|
331
319
|
address: z.ZodObject<{
|
|
@@ -409,8 +397,8 @@ export declare const checkoutSessionPublicSchema: z.ZodObject<{
|
|
|
409
397
|
no_payment_required: "no_payment_required";
|
|
410
398
|
}>;
|
|
411
399
|
ui_mode: z.ZodEnum<{
|
|
412
|
-
embedded: "embedded";
|
|
413
400
|
hosted: "hosted";
|
|
401
|
+
embedded: "embedded";
|
|
414
402
|
}>;
|
|
415
403
|
locale: z.ZodNullable<z.ZodEnum<{
|
|
416
404
|
en: "en";
|
|
@@ -582,8 +570,8 @@ export declare const createCheckoutSessionParams: z.ZodObject<{
|
|
|
582
570
|
auto: "auto";
|
|
583
571
|
}>, z.ZodTransform<"en" | "es" | "fr" | "de" | "it" | "pt" | null, "en" | "es" | "fr" | "de" | "it" | "pt" | "auto">>>;
|
|
584
572
|
ui_mode: z.ZodOptional<z.ZodEnum<{
|
|
585
|
-
embedded: "embedded";
|
|
586
573
|
hosted: "hosted";
|
|
574
|
+
embedded: "embedded";
|
|
587
575
|
}>>;
|
|
588
576
|
success_url: z.ZodOptional<z.ZodString>;
|
|
589
577
|
cancel_url: z.ZodOptional<z.ZodString>;
|
|
@@ -863,8 +851,8 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
863
851
|
auto: "auto";
|
|
864
852
|
}>, z.ZodTransform<"en" | "es" | "fr" | "de" | "it" | "pt" | null, "en" | "es" | "fr" | "de" | "it" | "pt" | "auto">>>;
|
|
865
853
|
ui_mode: z.ZodOptional<z.ZodEnum<{
|
|
866
|
-
embedded: "embedded";
|
|
867
854
|
hosted: "hosted";
|
|
855
|
+
embedded: "embedded";
|
|
868
856
|
}>>;
|
|
869
857
|
success_url: z.ZodOptional<z.ZodString>;
|
|
870
858
|
cancel_url: z.ZodOptional<z.ZodString>;
|
|
@@ -1139,8 +1127,8 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
1139
1127
|
no_payment_required: "no_payment_required";
|
|
1140
1128
|
}>;
|
|
1141
1129
|
ui_mode: z.ZodEnum<{
|
|
1142
|
-
embedded: "embedded";
|
|
1143
1130
|
hosted: "hosted";
|
|
1131
|
+
embedded: "embedded";
|
|
1144
1132
|
}>;
|
|
1145
1133
|
locale: z.ZodNullable<z.ZodEnum<{
|
|
1146
1134
|
en: "en";
|
|
@@ -1367,8 +1355,8 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
1367
1355
|
no_payment_required: "no_payment_required";
|
|
1368
1356
|
}>;
|
|
1369
1357
|
ui_mode: z.ZodEnum<{
|
|
1370
|
-
embedded: "embedded";
|
|
1371
1358
|
hosted: "hosted";
|
|
1359
|
+
embedded: "embedded";
|
|
1372
1360
|
}>;
|
|
1373
1361
|
locale: z.ZodNullable<z.ZodEnum<{
|
|
1374
1362
|
en: "en";
|
|
@@ -1576,8 +1564,8 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
1576
1564
|
no_payment_required: "no_payment_required";
|
|
1577
1565
|
}>;
|
|
1578
1566
|
ui_mode: z.ZodEnum<{
|
|
1579
|
-
embedded: "embedded";
|
|
1580
1567
|
hosted: "hosted";
|
|
1568
|
+
embedded: "embedded";
|
|
1581
1569
|
}>;
|
|
1582
1570
|
locale: z.ZodNullable<z.ZodEnum<{
|
|
1583
1571
|
en: "en";
|
|
@@ -1785,8 +1773,8 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
1785
1773
|
no_payment_required: "no_payment_required";
|
|
1786
1774
|
}>;
|
|
1787
1775
|
ui_mode: z.ZodEnum<{
|
|
1788
|
-
embedded: "embedded";
|
|
1789
1776
|
hosted: "hosted";
|
|
1777
|
+
embedded: "embedded";
|
|
1790
1778
|
}>;
|
|
1791
1779
|
locale: z.ZodNullable<z.ZodEnum<{
|
|
1792
1780
|
en: "en";
|
|
@@ -1993,8 +1981,8 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
1993
1981
|
no_payment_required: "no_payment_required";
|
|
1994
1982
|
}>;
|
|
1995
1983
|
ui_mode: z.ZodEnum<{
|
|
1996
|
-
embedded: "embedded";
|
|
1997
1984
|
hosted: "hosted";
|
|
1985
|
+
embedded: "embedded";
|
|
1998
1986
|
}>;
|
|
1999
1987
|
locale: z.ZodNullable<z.ZodEnum<{
|
|
2000
1988
|
en: "en";
|
|
@@ -2245,18 +2233,6 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
2245
2233
|
}>;
|
|
2246
2234
|
}, z.core.$strict>;
|
|
2247
2235
|
publishable_key: z.ZodNullable<z.ZodString>;
|
|
2248
|
-
billing_quote: z.ZodOptional<z.ZodObject<{
|
|
2249
|
-
id: z.ZodString;
|
|
2250
|
-
currency: z.ZodLiteral<"USD">;
|
|
2251
|
-
gross_minor_units: z.ZodString;
|
|
2252
|
-
amount_base_units: z.ZodString;
|
|
2253
|
-
usd_per_fair: z.ZodString;
|
|
2254
|
-
source: z.ZodString;
|
|
2255
|
-
observed_at: z.ZodNumber;
|
|
2256
|
-
quoted_at: z.ZodNumber;
|
|
2257
|
-
expires_at: z.ZodNumber;
|
|
2258
|
-
rounding: z.ZodLiteral<"ceil_to_base_unit">;
|
|
2259
|
-
}, z.core.$strict>>;
|
|
2260
2236
|
shipping_details: z.ZodNullable<z.ZodObject<{
|
|
2261
2237
|
name: z.ZodString;
|
|
2262
2238
|
address: z.ZodObject<{
|
|
@@ -2340,8 +2316,8 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
2340
2316
|
no_payment_required: "no_payment_required";
|
|
2341
2317
|
}>;
|
|
2342
2318
|
ui_mode: z.ZodEnum<{
|
|
2343
|
-
embedded: "embedded";
|
|
2344
2319
|
hosted: "hosted";
|
|
2320
|
+
embedded: "embedded";
|
|
2345
2321
|
}>;
|
|
2346
2322
|
locale: z.ZodNullable<z.ZodEnum<{
|
|
2347
2323
|
en: "en";
|
|
@@ -2569,18 +2545,6 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
2569
2545
|
}>;
|
|
2570
2546
|
}, z.core.$strict>;
|
|
2571
2547
|
publishable_key: z.ZodNullable<z.ZodString>;
|
|
2572
|
-
billing_quote: z.ZodOptional<z.ZodObject<{
|
|
2573
|
-
id: z.ZodString;
|
|
2574
|
-
currency: z.ZodLiteral<"USD">;
|
|
2575
|
-
gross_minor_units: z.ZodString;
|
|
2576
|
-
amount_base_units: z.ZodString;
|
|
2577
|
-
usd_per_fair: z.ZodString;
|
|
2578
|
-
source: z.ZodString;
|
|
2579
|
-
observed_at: z.ZodNumber;
|
|
2580
|
-
quoted_at: z.ZodNumber;
|
|
2581
|
-
expires_at: z.ZodNumber;
|
|
2582
|
-
rounding: z.ZodLiteral<"ceil_to_base_unit">;
|
|
2583
|
-
}, z.core.$strict>>;
|
|
2584
2548
|
shipping_details: z.ZodNullable<z.ZodObject<{
|
|
2585
2549
|
name: z.ZodString;
|
|
2586
2550
|
address: z.ZodObject<{
|
|
@@ -2664,8 +2628,8 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
2664
2628
|
no_payment_required: "no_payment_required";
|
|
2665
2629
|
}>;
|
|
2666
2630
|
ui_mode: z.ZodEnum<{
|
|
2667
|
-
embedded: "embedded";
|
|
2668
2631
|
hosted: "hosted";
|
|
2632
|
+
embedded: "embedded";
|
|
2669
2633
|
}>;
|
|
2670
2634
|
locale: z.ZodNullable<z.ZodEnum<{
|
|
2671
2635
|
en: "en";
|
|
@@ -2845,18 +2809,6 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
2845
2809
|
}>;
|
|
2846
2810
|
}, z.core.$strict>;
|
|
2847
2811
|
publishable_key: z.ZodNullable<z.ZodString>;
|
|
2848
|
-
billing_quote: z.ZodOptional<z.ZodObject<{
|
|
2849
|
-
id: z.ZodString;
|
|
2850
|
-
currency: z.ZodLiteral<"USD">;
|
|
2851
|
-
gross_minor_units: z.ZodString;
|
|
2852
|
-
amount_base_units: z.ZodString;
|
|
2853
|
-
usd_per_fair: z.ZodString;
|
|
2854
|
-
source: z.ZodString;
|
|
2855
|
-
observed_at: z.ZodNumber;
|
|
2856
|
-
quoted_at: z.ZodNumber;
|
|
2857
|
-
expires_at: z.ZodNumber;
|
|
2858
|
-
rounding: z.ZodLiteral<"ceil_to_base_unit">;
|
|
2859
|
-
}, z.core.$strict>>;
|
|
2860
2812
|
shipping_details: z.ZodNullable<z.ZodObject<{
|
|
2861
2813
|
name: z.ZodString;
|
|
2862
2814
|
address: z.ZodObject<{
|
|
@@ -2940,8 +2892,8 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
2940
2892
|
no_payment_required: "no_payment_required";
|
|
2941
2893
|
}>;
|
|
2942
2894
|
ui_mode: z.ZodEnum<{
|
|
2943
|
-
embedded: "embedded";
|
|
2944
2895
|
hosted: "hosted";
|
|
2896
|
+
embedded: "embedded";
|
|
2945
2897
|
}>;
|
|
2946
2898
|
locale: z.ZodNullable<z.ZodEnum<{
|
|
2947
2899
|
en: "en";
|
|
@@ -3145,8 +3097,8 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
3145
3097
|
no_payment_required: "no_payment_required";
|
|
3146
3098
|
}>;
|
|
3147
3099
|
ui_mode: z.ZodEnum<{
|
|
3148
|
-
embedded: "embedded";
|
|
3149
3100
|
hosted: "hosted";
|
|
3101
|
+
embedded: "embedded";
|
|
3150
3102
|
}>;
|
|
3151
3103
|
locale: z.ZodNullable<z.ZodEnum<{
|
|
3152
3104
|
en: "en";
|
|
@@ -33,8 +33,8 @@ export declare const checkoutRoutes: readonly [{
|
|
|
33
33
|
auto: "auto";
|
|
34
34
|
}>, import("zod").ZodTransform<"en" | "es" | "fr" | "de" | "it" | "pt" | null, "en" | "es" | "fr" | "de" | "it" | "pt" | "auto">>>;
|
|
35
35
|
ui_mode: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
36
|
-
embedded: "embedded";
|
|
37
36
|
hosted: "hosted";
|
|
37
|
+
embedded: "embedded";
|
|
38
38
|
}>>;
|
|
39
39
|
success_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
40
40
|
cancel_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -309,8 +309,8 @@ export declare const checkoutRoutes: readonly [{
|
|
|
309
309
|
no_payment_required: "no_payment_required";
|
|
310
310
|
}>;
|
|
311
311
|
ui_mode: import("zod").ZodEnum<{
|
|
312
|
-
embedded: "embedded";
|
|
313
312
|
hosted: "hosted";
|
|
313
|
+
embedded: "embedded";
|
|
314
314
|
}>;
|
|
315
315
|
locale: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
316
316
|
en: "en";
|
|
@@ -537,8 +537,8 @@ export declare const checkoutRoutes: readonly [{
|
|
|
537
537
|
no_payment_required: "no_payment_required";
|
|
538
538
|
}>;
|
|
539
539
|
ui_mode: import("zod").ZodEnum<{
|
|
540
|
-
embedded: "embedded";
|
|
541
540
|
hosted: "hosted";
|
|
541
|
+
embedded: "embedded";
|
|
542
542
|
}>;
|
|
543
543
|
locale: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
544
544
|
en: "en";
|
|
@@ -746,8 +746,8 @@ export declare const checkoutRoutes: readonly [{
|
|
|
746
746
|
no_payment_required: "no_payment_required";
|
|
747
747
|
}>;
|
|
748
748
|
ui_mode: import("zod").ZodEnum<{
|
|
749
|
-
embedded: "embedded";
|
|
750
749
|
hosted: "hosted";
|
|
750
|
+
embedded: "embedded";
|
|
751
751
|
}>;
|
|
752
752
|
locale: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
753
753
|
en: "en";
|
|
@@ -955,8 +955,8 @@ export declare const checkoutRoutes: readonly [{
|
|
|
955
955
|
no_payment_required: "no_payment_required";
|
|
956
956
|
}>;
|
|
957
957
|
ui_mode: import("zod").ZodEnum<{
|
|
958
|
-
embedded: "embedded";
|
|
959
958
|
hosted: "hosted";
|
|
959
|
+
embedded: "embedded";
|
|
960
960
|
}>;
|
|
961
961
|
locale: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
962
962
|
en: "en";
|
|
@@ -1163,8 +1163,8 @@ export declare const checkoutRoutes: readonly [{
|
|
|
1163
1163
|
no_payment_required: "no_payment_required";
|
|
1164
1164
|
}>;
|
|
1165
1165
|
ui_mode: import("zod").ZodEnum<{
|
|
1166
|
-
embedded: "embedded";
|
|
1167
1166
|
hosted: "hosted";
|
|
1167
|
+
embedded: "embedded";
|
|
1168
1168
|
}>;
|
|
1169
1169
|
locale: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
1170
1170
|
en: "en";
|
|
@@ -1415,18 +1415,6 @@ export declare const checkoutRoutes: readonly [{
|
|
|
1415
1415
|
}>;
|
|
1416
1416
|
}, import("zod/v4/core").$strict>;
|
|
1417
1417
|
publishable_key: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1418
|
-
billing_quote: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1419
|
-
id: import("zod").ZodString;
|
|
1420
|
-
currency: import("zod").ZodLiteral<"USD">;
|
|
1421
|
-
gross_minor_units: import("zod").ZodString;
|
|
1422
|
-
amount_base_units: import("zod").ZodString;
|
|
1423
|
-
usd_per_fair: import("zod").ZodString;
|
|
1424
|
-
source: import("zod").ZodString;
|
|
1425
|
-
observed_at: import("zod").ZodNumber;
|
|
1426
|
-
quoted_at: import("zod").ZodNumber;
|
|
1427
|
-
expires_at: import("zod").ZodNumber;
|
|
1428
|
-
rounding: import("zod").ZodLiteral<"ceil_to_base_unit">;
|
|
1429
|
-
}, import("zod/v4/core").$strict>>;
|
|
1430
1418
|
shipping_details: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1431
1419
|
name: import("zod").ZodString;
|
|
1432
1420
|
address: import("zod").ZodObject<{
|
|
@@ -1510,8 +1498,8 @@ export declare const checkoutRoutes: readonly [{
|
|
|
1510
1498
|
no_payment_required: "no_payment_required";
|
|
1511
1499
|
}>;
|
|
1512
1500
|
ui_mode: import("zod").ZodEnum<{
|
|
1513
|
-
embedded: "embedded";
|
|
1514
1501
|
hosted: "hosted";
|
|
1502
|
+
embedded: "embedded";
|
|
1515
1503
|
}>;
|
|
1516
1504
|
locale: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
1517
1505
|
en: "en";
|
|
@@ -1739,18 +1727,6 @@ export declare const checkoutRoutes: readonly [{
|
|
|
1739
1727
|
}>;
|
|
1740
1728
|
}, import("zod/v4/core").$strict>;
|
|
1741
1729
|
publishable_key: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1742
|
-
billing_quote: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1743
|
-
id: import("zod").ZodString;
|
|
1744
|
-
currency: import("zod").ZodLiteral<"USD">;
|
|
1745
|
-
gross_minor_units: import("zod").ZodString;
|
|
1746
|
-
amount_base_units: import("zod").ZodString;
|
|
1747
|
-
usd_per_fair: import("zod").ZodString;
|
|
1748
|
-
source: import("zod").ZodString;
|
|
1749
|
-
observed_at: import("zod").ZodNumber;
|
|
1750
|
-
quoted_at: import("zod").ZodNumber;
|
|
1751
|
-
expires_at: import("zod").ZodNumber;
|
|
1752
|
-
rounding: import("zod").ZodLiteral<"ceil_to_base_unit">;
|
|
1753
|
-
}, import("zod/v4/core").$strict>>;
|
|
1754
1730
|
shipping_details: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1755
1731
|
name: import("zod").ZodString;
|
|
1756
1732
|
address: import("zod").ZodObject<{
|
|
@@ -1834,8 +1810,8 @@ export declare const checkoutRoutes: readonly [{
|
|
|
1834
1810
|
no_payment_required: "no_payment_required";
|
|
1835
1811
|
}>;
|
|
1836
1812
|
ui_mode: import("zod").ZodEnum<{
|
|
1837
|
-
embedded: "embedded";
|
|
1838
1813
|
hosted: "hosted";
|
|
1814
|
+
embedded: "embedded";
|
|
1839
1815
|
}>;
|
|
1840
1816
|
locale: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
1841
1817
|
en: "en";
|
|
@@ -2015,18 +1991,6 @@ export declare const checkoutRoutes: readonly [{
|
|
|
2015
1991
|
}>;
|
|
2016
1992
|
}, import("zod/v4/core").$strict>;
|
|
2017
1993
|
publishable_key: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2018
|
-
billing_quote: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2019
|
-
id: import("zod").ZodString;
|
|
2020
|
-
currency: import("zod").ZodLiteral<"USD">;
|
|
2021
|
-
gross_minor_units: import("zod").ZodString;
|
|
2022
|
-
amount_base_units: import("zod").ZodString;
|
|
2023
|
-
usd_per_fair: import("zod").ZodString;
|
|
2024
|
-
source: import("zod").ZodString;
|
|
2025
|
-
observed_at: import("zod").ZodNumber;
|
|
2026
|
-
quoted_at: import("zod").ZodNumber;
|
|
2027
|
-
expires_at: import("zod").ZodNumber;
|
|
2028
|
-
rounding: import("zod").ZodLiteral<"ceil_to_base_unit">;
|
|
2029
|
-
}, import("zod/v4/core").$strict>>;
|
|
2030
1994
|
shipping_details: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
2031
1995
|
name: import("zod").ZodString;
|
|
2032
1996
|
address: import("zod").ZodObject<{
|
|
@@ -2110,8 +2074,8 @@ export declare const checkoutRoutes: readonly [{
|
|
|
2110
2074
|
no_payment_required: "no_payment_required";
|
|
2111
2075
|
}>;
|
|
2112
2076
|
ui_mode: import("zod").ZodEnum<{
|
|
2113
|
-
embedded: "embedded";
|
|
2114
2077
|
hosted: "hosted";
|
|
2078
|
+
embedded: "embedded";
|
|
2115
2079
|
}>;
|
|
2116
2080
|
locale: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
2117
2081
|
en: "en";
|
|
@@ -2315,8 +2279,8 @@ export declare const checkoutRoutes: readonly [{
|
|
|
2315
2279
|
no_payment_required: "no_payment_required";
|
|
2316
2280
|
}>;
|
|
2317
2281
|
ui_mode: import("zod").ZodEnum<{
|
|
2318
|
-
embedded: "embedded";
|
|
2319
2282
|
hosted: "hosted";
|
|
2283
|
+
embedded: "embedded";
|
|
2320
2284
|
}>;
|
|
2321
2285
|
locale: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
2322
2286
|
en: "en";
|
|
@@ -54,8 +54,8 @@ export declare const balanceTransactionSchema: z.ZodObject<{
|
|
|
54
54
|
payout: "payout";
|
|
55
55
|
transfer: "transfer";
|
|
56
56
|
charge: "charge";
|
|
57
|
-
dispute: "dispute";
|
|
58
57
|
refund: "refund";
|
|
58
|
+
dispute: "dispute";
|
|
59
59
|
adjustment: "adjustment";
|
|
60
60
|
other: "other";
|
|
61
61
|
payment: "payment";
|
|
@@ -147,8 +147,8 @@ export declare const listBalanceTransactionsQuery: z.ZodObject<{
|
|
|
147
147
|
payout: "payout";
|
|
148
148
|
transfer: "transfer";
|
|
149
149
|
charge: "charge";
|
|
150
|
-
dispute: "dispute";
|
|
151
150
|
refund: "refund";
|
|
151
|
+
dispute: "dispute";
|
|
152
152
|
adjustment: "adjustment";
|
|
153
153
|
other: "other";
|
|
154
154
|
payment: "payment";
|
|
@@ -250,8 +250,8 @@ export declare const balanceRoutes: readonly [{
|
|
|
250
250
|
payout: "payout";
|
|
251
251
|
transfer: "transfer";
|
|
252
252
|
charge: "charge";
|
|
253
|
-
dispute: "dispute";
|
|
254
253
|
refund: "refund";
|
|
254
|
+
dispute: "dispute";
|
|
255
255
|
adjustment: "adjustment";
|
|
256
256
|
other: "other";
|
|
257
257
|
payment: "payment";
|
|
@@ -284,8 +284,8 @@ export declare const balanceRoutes: readonly [{
|
|
|
284
284
|
payout: "payout";
|
|
285
285
|
transfer: "transfer";
|
|
286
286
|
charge: "charge";
|
|
287
|
-
dispute: "dispute";
|
|
288
287
|
refund: "refund";
|
|
288
|
+
dispute: "dispute";
|
|
289
289
|
adjustment: "adjustment";
|
|
290
290
|
other: "other";
|
|
291
291
|
payment: "payment";
|
|
@@ -356,8 +356,8 @@ export declare const balanceRoutes: readonly [{
|
|
|
356
356
|
payout: "payout";
|
|
357
357
|
transfer: "transfer";
|
|
358
358
|
charge: "charge";
|
|
359
|
-
dispute: "dispute";
|
|
360
359
|
refund: "refund";
|
|
360
|
+
dispute: "dispute";
|
|
361
361
|
adjustment: "adjustment";
|
|
362
362
|
other: "other";
|
|
363
363
|
payment: "payment";
|
|
@@ -688,8 +688,8 @@ export declare const connectRoutes: readonly [{
|
|
|
688
688
|
payout: "payout";
|
|
689
689
|
transfer: "transfer";
|
|
690
690
|
charge: "charge";
|
|
691
|
-
dispute: "dispute";
|
|
692
691
|
refund: "refund";
|
|
692
|
+
dispute: "dispute";
|
|
693
693
|
adjustment: "adjustment";
|
|
694
694
|
other: "other";
|
|
695
695
|
payment: "payment";
|
|
@@ -722,8 +722,8 @@ export declare const connectRoutes: readonly [{
|
|
|
722
722
|
payout: "payout";
|
|
723
723
|
transfer: "transfer";
|
|
724
724
|
charge: "charge";
|
|
725
|
-
dispute: "dispute";
|
|
726
725
|
refund: "refund";
|
|
726
|
+
dispute: "dispute";
|
|
727
727
|
adjustment: "adjustment";
|
|
728
728
|
other: "other";
|
|
729
729
|
payment: "payment";
|
|
@@ -794,8 +794,8 @@ export declare const connectRoutes: readonly [{
|
|
|
794
794
|
payout: "payout";
|
|
795
795
|
transfer: "transfer";
|
|
796
796
|
charge: "charge";
|
|
797
|
-
dispute: "dispute";
|
|
798
797
|
refund: "refund";
|
|
798
|
+
dispute: "dispute";
|
|
799
799
|
adjustment: "adjustment";
|
|
800
800
|
other: "other";
|
|
801
801
|
payment: "payment";
|
|
@@ -1111,8 +1111,8 @@ export declare const connectRoutes: readonly [{
|
|
|
1111
1111
|
payout: "payout";
|
|
1112
1112
|
transfer: "transfer";
|
|
1113
1113
|
charge: "charge";
|
|
1114
|
-
dispute: "dispute";
|
|
1115
1114
|
refund: "refund";
|
|
1115
|
+
dispute: "dispute";
|
|
1116
1116
|
adjustment: "adjustment";
|
|
1117
1117
|
other: "other";
|
|
1118
1118
|
payment: "payment";
|
|
@@ -58,8 +58,8 @@ export declare const payoutReconciliationReportSchema: z.ZodObject<{
|
|
|
58
58
|
payout: "payout";
|
|
59
59
|
transfer: "transfer";
|
|
60
60
|
charge: "charge";
|
|
61
|
-
dispute: "dispute";
|
|
62
61
|
refund: "refund";
|
|
62
|
+
dispute: "dispute";
|
|
63
63
|
adjustment: "adjustment";
|
|
64
64
|
other: "other";
|
|
65
65
|
payment: "payment";
|
|
@@ -468,8 +468,8 @@ export declare const payoutRoutes: readonly [{
|
|
|
468
468
|
payout: "payout";
|
|
469
469
|
transfer: "transfer";
|
|
470
470
|
charge: "charge";
|
|
471
|
-
dispute: "dispute";
|
|
472
471
|
refund: "refund";
|
|
472
|
+
dispute: "dispute";
|
|
473
473
|
adjustment: "adjustment";
|
|
474
474
|
other: "other";
|
|
475
475
|
payment: "payment";
|
|
@@ -8,23 +8,6 @@ import { type WebhookEventObjectType, type WebhookEventType } from '../../vocabu
|
|
|
8
8
|
* every matching webhook endpoint: a delivery's body and `GET /v1/events/:id`
|
|
9
9
|
* are byte for byte the same object.
|
|
10
10
|
*/
|
|
11
|
-
/**
|
|
12
|
-
* The payload of `billing.observation.updated`: a wake-up, never paid or grant
|
|
13
|
-
* authority. Re-read the owner-bound resource it names.
|
|
14
|
-
*/
|
|
15
|
-
export declare const billingObservationSchema: z.ZodObject<{
|
|
16
|
-
object: z.ZodLiteral<"billing_observation">;
|
|
17
|
-
livemode: z.ZodBoolean;
|
|
18
|
-
resource_kind: z.ZodEnum<{
|
|
19
|
-
subscription: "subscription";
|
|
20
|
-
invoice: "invoice";
|
|
21
|
-
}>;
|
|
22
|
-
resource_id: z.ZodString;
|
|
23
|
-
subscription_id: z.ZodOptional<z.ZodString>;
|
|
24
|
-
revision: z.ZodNumber;
|
|
25
|
-
observed_at: z.ZodNumber;
|
|
26
|
-
}, z.core.$strict>;
|
|
27
|
-
export type BillingObservation = z.output<typeof billingObservationSchema>;
|
|
28
11
|
/**
|
|
29
12
|
* What caused an event, when an API request did (Stripe's `event.request`).
|
|
30
13
|
* Both `null` for an event caused by something else — the chain watcher, the
|
|
@@ -100,7 +83,6 @@ export declare const eventSchema: z.ZodObject<{
|
|
|
100
83
|
"setup_intent.succeeded": "setup_intent.succeeded";
|
|
101
84
|
"setup_intent.setup_failed": "setup_intent.setup_failed";
|
|
102
85
|
"setup_intent.canceled": "setup_intent.canceled";
|
|
103
|
-
"billing.observation.updated": "billing.observation.updated";
|
|
104
86
|
"connected_account.updated": "connected_account.updated";
|
|
105
87
|
"product.created": "product.created";
|
|
106
88
|
"product.updated": "product.updated";
|
|
@@ -228,7 +210,6 @@ export type WebhookEvent<K extends WebhookEventType = WebhookEventType> = {
|
|
|
228
210
|
}[K];
|
|
229
211
|
declare module '../../common/objects' {
|
|
230
212
|
interface ObjectMap {
|
|
231
|
-
billing_observation: BillingObservation;
|
|
232
213
|
event: WebhookEvent;
|
|
233
214
|
}
|
|
234
215
|
}
|
|
@@ -387,7 +368,6 @@ export declare const eventRoutes: readonly [{
|
|
|
387
368
|
"setup_intent.succeeded": "setup_intent.succeeded";
|
|
388
369
|
"setup_intent.setup_failed": "setup_intent.setup_failed";
|
|
389
370
|
"setup_intent.canceled": "setup_intent.canceled";
|
|
390
|
-
"billing.observation.updated": "billing.observation.updated";
|
|
391
371
|
"connected_account.updated": "connected_account.updated";
|
|
392
372
|
"product.created": "product.created";
|
|
393
373
|
"product.updated": "product.updated";
|
|
@@ -525,7 +505,6 @@ export declare const eventRoutes: readonly [{
|
|
|
525
505
|
"setup_intent.succeeded": "setup_intent.succeeded";
|
|
526
506
|
"setup_intent.setup_failed": "setup_intent.setup_failed";
|
|
527
507
|
"setup_intent.canceled": "setup_intent.canceled";
|
|
528
|
-
"billing.observation.updated": "billing.observation.updated";
|
|
529
508
|
"connected_account.updated": "connected_account.updated";
|
|
530
509
|
"product.created": "product.created";
|
|
531
510
|
"product.updated": "product.updated";
|
|
@@ -654,7 +633,6 @@ export declare const eventRoutes: readonly [{
|
|
|
654
633
|
"setup_intent.succeeded": "setup_intent.succeeded";
|
|
655
634
|
"setup_intent.setup_failed": "setup_intent.setup_failed";
|
|
656
635
|
"setup_intent.canceled": "setup_intent.canceled";
|
|
657
|
-
"billing.observation.updated": "billing.observation.updated";
|
|
658
636
|
"connected_account.updated": "connected_account.updated";
|
|
659
637
|
"product.created": "product.created";
|
|
660
638
|
"product.updated": "product.updated";
|