@peable.to/contracts 6.0.0 → 6.2.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/billingEngine/index.js +4 -1
- package/dist/cjs/resources/billingEngine/quotes.js +342 -0
- package/dist/cjs/resources/checkout/checkoutSessions.js +8 -0
- package/dist/cjs/resources/events/events.js +4 -0
- package/dist/cjs/vocabulary/checkout.js +3 -1
- package/dist/cjs/vocabulary/errors.js +3 -0
- package/dist/cjs/vocabulary/events.js +4 -0
- package/dist/cjs/vocabulary/index.js +1 -0
- package/dist/cjs/vocabulary/invoices.js +3 -0
- package/dist/cjs/vocabulary/quotes.js +31 -0
- package/dist/esm/resources/billingEngine/index.js +4 -1
- package/dist/esm/resources/billingEngine/quotes.js +339 -0
- package/dist/esm/resources/checkout/checkoutSessions.js +9 -1
- package/dist/esm/resources/events/events.js +4 -0
- package/dist/esm/vocabulary/checkout.js +2 -0
- package/dist/esm/vocabulary/errors.js +3 -0
- package/dist/esm/vocabulary/events.js +4 -0
- package/dist/esm/vocabulary/index.js +1 -0
- package/dist/esm/vocabulary/invoices.js +3 -0
- package/dist/esm/vocabulary/quotes.js +28 -0
- package/dist/types/resources/billingEngine/index.d.ts +839 -1
- package/dist/types/resources/billingEngine/invoices.d.ts +12 -0
- package/dist/types/resources/billingEngine/quotes.d.ts +1032 -0
- package/dist/types/resources/checkout/checkoutSessions.d.ts +52 -0
- package/dist/types/resources/checkout/index.d.ts +40 -0
- package/dist/types/resources/events/events.d.ts +16 -0
- package/dist/types/resources/events/index.d.ts +54 -2
- package/dist/types/resources/events/webhookDeliveries.d.ts +12 -0
- package/dist/types/resources/events/webhookEndpoints.d.ts +52 -4
- package/dist/types/resources/payments/disputes.d.ts +10 -10
- package/dist/types/resources/payments/index.d.ts +6 -6
- package/dist/types/vocabulary/checkout.d.ts +3 -0
- package/dist/types/vocabulary/errors.d.ts +3 -0
- package/dist/types/vocabulary/events.d.ts +4 -0
- package/dist/types/vocabulary/index.d.ts +1 -0
- package/dist/types/vocabulary/invoices.d.ts +1 -1
- package/dist/types/vocabulary/quotes.d.ts +27 -0
- package/package.json +1 -1
|
@@ -113,6 +113,10 @@ export declare const checkoutSessionSchema: z.ZodObject<{
|
|
|
113
113
|
}, z.core.$strict>>;
|
|
114
114
|
id: z.ZodString;
|
|
115
115
|
object: z.ZodLiteral<"checkout_session">;
|
|
116
|
+
contact_collection: z.ZodOptional<z.ZodEnum<{
|
|
117
|
+
email: "email";
|
|
118
|
+
merchant_account: "merchant_account";
|
|
119
|
+
}>>;
|
|
116
120
|
livemode: z.ZodBoolean;
|
|
117
121
|
mode: z.ZodEnum<{
|
|
118
122
|
subscription: "subscription";
|
|
@@ -398,6 +402,10 @@ export declare const checkoutSessionPublicSchema: z.ZodObject<{
|
|
|
398
402
|
}, z.core.$strict>>;
|
|
399
403
|
id: z.ZodString;
|
|
400
404
|
object: z.ZodLiteral<"checkout_session">;
|
|
405
|
+
contact_collection: z.ZodOptional<z.ZodEnum<{
|
|
406
|
+
email: "email";
|
|
407
|
+
merchant_account: "merchant_account";
|
|
408
|
+
}>>;
|
|
401
409
|
livemode: z.ZodBoolean;
|
|
402
410
|
mode: z.ZodEnum<{
|
|
403
411
|
subscription: "subscription";
|
|
@@ -753,6 +761,10 @@ export declare const createCheckoutSessionParams: z.ZodObject<{
|
|
|
753
761
|
allow_promotion_codes: z.ZodOptional<z.ZodBoolean>;
|
|
754
762
|
customer: z.ZodOptional<z.ZodString>;
|
|
755
763
|
customer_email: z.ZodOptional<z.ZodString>;
|
|
764
|
+
contact_collection: z.ZodOptional<z.ZodEnum<{
|
|
765
|
+
email: "email";
|
|
766
|
+
merchant_account: "merchant_account";
|
|
767
|
+
}>>;
|
|
756
768
|
customer_creation: z.ZodOptional<z.ZodEnum<{
|
|
757
769
|
always: "always";
|
|
758
770
|
if_required: "if_required";
|
|
@@ -1072,6 +1084,10 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
1072
1084
|
allow_promotion_codes: z.ZodOptional<z.ZodBoolean>;
|
|
1073
1085
|
customer: z.ZodOptional<z.ZodString>;
|
|
1074
1086
|
customer_email: z.ZodOptional<z.ZodString>;
|
|
1087
|
+
contact_collection: z.ZodOptional<z.ZodEnum<{
|
|
1088
|
+
email: "email";
|
|
1089
|
+
merchant_account: "merchant_account";
|
|
1090
|
+
}>>;
|
|
1075
1091
|
customer_creation: z.ZodOptional<z.ZodEnum<{
|
|
1076
1092
|
always: "always";
|
|
1077
1093
|
if_required: "if_required";
|
|
@@ -1189,6 +1205,10 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
1189
1205
|
}, z.core.$strict>>;
|
|
1190
1206
|
id: z.ZodString;
|
|
1191
1207
|
object: z.ZodLiteral<"checkout_session">;
|
|
1208
|
+
contact_collection: z.ZodOptional<z.ZodEnum<{
|
|
1209
|
+
email: "email";
|
|
1210
|
+
merchant_account: "merchant_account";
|
|
1211
|
+
}>>;
|
|
1192
1212
|
livemode: z.ZodBoolean;
|
|
1193
1213
|
mode: z.ZodEnum<{
|
|
1194
1214
|
subscription: "subscription";
|
|
@@ -1426,6 +1446,10 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
1426
1446
|
}, z.core.$strict>>;
|
|
1427
1447
|
id: z.ZodString;
|
|
1428
1448
|
object: z.ZodLiteral<"checkout_session">;
|
|
1449
|
+
contact_collection: z.ZodOptional<z.ZodEnum<{
|
|
1450
|
+
email: "email";
|
|
1451
|
+
merchant_account: "merchant_account";
|
|
1452
|
+
}>>;
|
|
1429
1453
|
livemode: z.ZodBoolean;
|
|
1430
1454
|
mode: z.ZodEnum<{
|
|
1431
1455
|
subscription: "subscription";
|
|
@@ -1644,6 +1668,10 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
1644
1668
|
}, z.core.$strict>>;
|
|
1645
1669
|
id: z.ZodString;
|
|
1646
1670
|
object: z.ZodLiteral<"checkout_session">;
|
|
1671
|
+
contact_collection: z.ZodOptional<z.ZodEnum<{
|
|
1672
|
+
email: "email";
|
|
1673
|
+
merchant_account: "merchant_account";
|
|
1674
|
+
}>>;
|
|
1647
1675
|
livemode: z.ZodBoolean;
|
|
1648
1676
|
mode: z.ZodEnum<{
|
|
1649
1677
|
subscription: "subscription";
|
|
@@ -1862,6 +1890,10 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
1862
1890
|
}, z.core.$strict>>;
|
|
1863
1891
|
id: z.ZodString;
|
|
1864
1892
|
object: z.ZodLiteral<"checkout_session">;
|
|
1893
|
+
contact_collection: z.ZodOptional<z.ZodEnum<{
|
|
1894
|
+
email: "email";
|
|
1895
|
+
merchant_account: "merchant_account";
|
|
1896
|
+
}>>;
|
|
1865
1897
|
livemode: z.ZodBoolean;
|
|
1866
1898
|
mode: z.ZodEnum<{
|
|
1867
1899
|
subscription: "subscription";
|
|
@@ -2079,6 +2111,10 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
2079
2111
|
}, z.core.$strict>>;
|
|
2080
2112
|
id: z.ZodString;
|
|
2081
2113
|
object: z.ZodLiteral<"checkout_session">;
|
|
2114
|
+
contact_collection: z.ZodOptional<z.ZodEnum<{
|
|
2115
|
+
email: "email";
|
|
2116
|
+
merchant_account: "merchant_account";
|
|
2117
|
+
}>>;
|
|
2082
2118
|
livemode: z.ZodBoolean;
|
|
2083
2119
|
mode: z.ZodEnum<{
|
|
2084
2120
|
subscription: "subscription";
|
|
@@ -2436,6 +2472,10 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
2436
2472
|
}, z.core.$strict>>;
|
|
2437
2473
|
id: z.ZodString;
|
|
2438
2474
|
object: z.ZodLiteral<"checkout_session">;
|
|
2475
|
+
contact_collection: z.ZodOptional<z.ZodEnum<{
|
|
2476
|
+
email: "email";
|
|
2477
|
+
merchant_account: "merchant_account";
|
|
2478
|
+
}>>;
|
|
2439
2479
|
livemode: z.ZodBoolean;
|
|
2440
2480
|
mode: z.ZodEnum<{
|
|
2441
2481
|
subscription: "subscription";
|
|
@@ -2770,6 +2810,10 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
2770
2810
|
}, z.core.$strict>>;
|
|
2771
2811
|
id: z.ZodString;
|
|
2772
2812
|
object: z.ZodLiteral<"checkout_session">;
|
|
2813
|
+
contact_collection: z.ZodOptional<z.ZodEnum<{
|
|
2814
|
+
email: "email";
|
|
2815
|
+
merchant_account: "merchant_account";
|
|
2816
|
+
}>>;
|
|
2773
2817
|
livemode: z.ZodBoolean;
|
|
2774
2818
|
mode: z.ZodEnum<{
|
|
2775
2819
|
subscription: "subscription";
|
|
@@ -3078,6 +3122,10 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
3078
3122
|
}, z.core.$strict>>;
|
|
3079
3123
|
id: z.ZodString;
|
|
3080
3124
|
object: z.ZodLiteral<"checkout_session">;
|
|
3125
|
+
contact_collection: z.ZodOptional<z.ZodEnum<{
|
|
3126
|
+
email: "email";
|
|
3127
|
+
merchant_account: "merchant_account";
|
|
3128
|
+
}>>;
|
|
3081
3129
|
livemode: z.ZodBoolean;
|
|
3082
3130
|
mode: z.ZodEnum<{
|
|
3083
3131
|
subscription: "subscription";
|
|
@@ -3292,6 +3340,10 @@ export declare const checkoutSessionRoutes: readonly [{
|
|
|
3292
3340
|
}, z.core.$strict>>;
|
|
3293
3341
|
id: z.ZodString;
|
|
3294
3342
|
object: z.ZodLiteral<"checkout_session">;
|
|
3343
|
+
contact_collection: z.ZodOptional<z.ZodEnum<{
|
|
3344
|
+
email: "email";
|
|
3345
|
+
merchant_account: "merchant_account";
|
|
3346
|
+
}>>;
|
|
3295
3347
|
livemode: z.ZodBoolean;
|
|
3296
3348
|
mode: z.ZodEnum<{
|
|
3297
3349
|
subscription: "subscription";
|
|
@@ -184,6 +184,10 @@ export declare const checkoutRoutes: readonly [{
|
|
|
184
184
|
allow_promotion_codes: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
185
185
|
customer: import("zod").ZodOptional<import("zod").ZodString>;
|
|
186
186
|
customer_email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
187
|
+
contact_collection: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
188
|
+
email: "email";
|
|
189
|
+
merchant_account: "merchant_account";
|
|
190
|
+
}>>;
|
|
187
191
|
customer_creation: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
188
192
|
always: "always";
|
|
189
193
|
if_required: "if_required";
|
|
@@ -301,6 +305,10 @@ export declare const checkoutRoutes: readonly [{
|
|
|
301
305
|
}, import("zod/v4/core").$strict>>;
|
|
302
306
|
id: import("zod").ZodString;
|
|
303
307
|
object: import("zod").ZodLiteral<"checkout_session">;
|
|
308
|
+
contact_collection: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
309
|
+
email: "email";
|
|
310
|
+
merchant_account: "merchant_account";
|
|
311
|
+
}>>;
|
|
304
312
|
livemode: import("zod").ZodBoolean;
|
|
305
313
|
mode: import("zod").ZodEnum<{
|
|
306
314
|
subscription: "subscription";
|
|
@@ -538,6 +546,10 @@ export declare const checkoutRoutes: readonly [{
|
|
|
538
546
|
}, import("zod/v4/core").$strict>>;
|
|
539
547
|
id: import("zod").ZodString;
|
|
540
548
|
object: import("zod").ZodLiteral<"checkout_session">;
|
|
549
|
+
contact_collection: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
550
|
+
email: "email";
|
|
551
|
+
merchant_account: "merchant_account";
|
|
552
|
+
}>>;
|
|
541
553
|
livemode: import("zod").ZodBoolean;
|
|
542
554
|
mode: import("zod").ZodEnum<{
|
|
543
555
|
subscription: "subscription";
|
|
@@ -756,6 +768,10 @@ export declare const checkoutRoutes: readonly [{
|
|
|
756
768
|
}, import("zod/v4/core").$strict>>;
|
|
757
769
|
id: import("zod").ZodString;
|
|
758
770
|
object: import("zod").ZodLiteral<"checkout_session">;
|
|
771
|
+
contact_collection: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
772
|
+
email: "email";
|
|
773
|
+
merchant_account: "merchant_account";
|
|
774
|
+
}>>;
|
|
759
775
|
livemode: import("zod").ZodBoolean;
|
|
760
776
|
mode: import("zod").ZodEnum<{
|
|
761
777
|
subscription: "subscription";
|
|
@@ -974,6 +990,10 @@ export declare const checkoutRoutes: readonly [{
|
|
|
974
990
|
}, import("zod/v4/core").$strict>>;
|
|
975
991
|
id: import("zod").ZodString;
|
|
976
992
|
object: import("zod").ZodLiteral<"checkout_session">;
|
|
993
|
+
contact_collection: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
994
|
+
email: "email";
|
|
995
|
+
merchant_account: "merchant_account";
|
|
996
|
+
}>>;
|
|
977
997
|
livemode: import("zod").ZodBoolean;
|
|
978
998
|
mode: import("zod").ZodEnum<{
|
|
979
999
|
subscription: "subscription";
|
|
@@ -1191,6 +1211,10 @@ export declare const checkoutRoutes: readonly [{
|
|
|
1191
1211
|
}, import("zod/v4/core").$strict>>;
|
|
1192
1212
|
id: import("zod").ZodString;
|
|
1193
1213
|
object: import("zod").ZodLiteral<"checkout_session">;
|
|
1214
|
+
contact_collection: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1215
|
+
email: "email";
|
|
1216
|
+
merchant_account: "merchant_account";
|
|
1217
|
+
}>>;
|
|
1194
1218
|
livemode: import("zod").ZodBoolean;
|
|
1195
1219
|
mode: import("zod").ZodEnum<{
|
|
1196
1220
|
subscription: "subscription";
|
|
@@ -1548,6 +1572,10 @@ export declare const checkoutRoutes: readonly [{
|
|
|
1548
1572
|
}, import("zod/v4/core").$strict>>;
|
|
1549
1573
|
id: import("zod").ZodString;
|
|
1550
1574
|
object: import("zod").ZodLiteral<"checkout_session">;
|
|
1575
|
+
contact_collection: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1576
|
+
email: "email";
|
|
1577
|
+
merchant_account: "merchant_account";
|
|
1578
|
+
}>>;
|
|
1551
1579
|
livemode: import("zod").ZodBoolean;
|
|
1552
1580
|
mode: import("zod").ZodEnum<{
|
|
1553
1581
|
subscription: "subscription";
|
|
@@ -1882,6 +1910,10 @@ export declare const checkoutRoutes: readonly [{
|
|
|
1882
1910
|
}, import("zod/v4/core").$strict>>;
|
|
1883
1911
|
id: import("zod").ZodString;
|
|
1884
1912
|
object: import("zod").ZodLiteral<"checkout_session">;
|
|
1913
|
+
contact_collection: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1914
|
+
email: "email";
|
|
1915
|
+
merchant_account: "merchant_account";
|
|
1916
|
+
}>>;
|
|
1885
1917
|
livemode: import("zod").ZodBoolean;
|
|
1886
1918
|
mode: import("zod").ZodEnum<{
|
|
1887
1919
|
subscription: "subscription";
|
|
@@ -2190,6 +2222,10 @@ export declare const checkoutRoutes: readonly [{
|
|
|
2190
2222
|
}, import("zod/v4/core").$strict>>;
|
|
2191
2223
|
id: import("zod").ZodString;
|
|
2192
2224
|
object: import("zod").ZodLiteral<"checkout_session">;
|
|
2225
|
+
contact_collection: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2226
|
+
email: "email";
|
|
2227
|
+
merchant_account: "merchant_account";
|
|
2228
|
+
}>>;
|
|
2193
2229
|
livemode: import("zod").ZodBoolean;
|
|
2194
2230
|
mode: import("zod").ZodEnum<{
|
|
2195
2231
|
subscription: "subscription";
|
|
@@ -2404,6 +2440,10 @@ export declare const checkoutRoutes: readonly [{
|
|
|
2404
2440
|
}, import("zod/v4/core").$strict>>;
|
|
2405
2441
|
id: import("zod").ZodString;
|
|
2406
2442
|
object: import("zod").ZodLiteral<"checkout_session">;
|
|
2443
|
+
contact_collection: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2444
|
+
email: "email";
|
|
2445
|
+
merchant_account: "merchant_account";
|
|
2446
|
+
}>>;
|
|
2407
2447
|
livemode: import("zod").ZodBoolean;
|
|
2408
2448
|
mode: import("zod").ZodEnum<{
|
|
2409
2449
|
subscription: "subscription";
|
|
@@ -145,6 +145,10 @@ export declare const eventSchema: z.ZodObject<{
|
|
|
145
145
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
146
146
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
147
147
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
148
|
+
"quote.created": "quote.created";
|
|
149
|
+
"quote.finalized": "quote.finalized";
|
|
150
|
+
"quote.accepted": "quote.accepted";
|
|
151
|
+
"quote.canceled": "quote.canceled";
|
|
148
152
|
"tax.assessment.created": "tax.assessment.created";
|
|
149
153
|
"tax.review_item.created": "tax.review_item.created";
|
|
150
154
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -430,6 +434,10 @@ export declare const eventRoutes: readonly [{
|
|
|
430
434
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
431
435
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
432
436
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
437
|
+
"quote.created": "quote.created";
|
|
438
|
+
"quote.finalized": "quote.finalized";
|
|
439
|
+
"quote.accepted": "quote.accepted";
|
|
440
|
+
"quote.canceled": "quote.canceled";
|
|
433
441
|
"tax.assessment.created": "tax.assessment.created";
|
|
434
442
|
"tax.review_item.created": "tax.review_item.created";
|
|
435
443
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -567,6 +575,10 @@ export declare const eventRoutes: readonly [{
|
|
|
567
575
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
568
576
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
569
577
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
578
|
+
"quote.created": "quote.created";
|
|
579
|
+
"quote.finalized": "quote.finalized";
|
|
580
|
+
"quote.accepted": "quote.accepted";
|
|
581
|
+
"quote.canceled": "quote.canceled";
|
|
570
582
|
"tax.assessment.created": "tax.assessment.created";
|
|
571
583
|
"tax.review_item.created": "tax.review_item.created";
|
|
572
584
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -695,6 +707,10 @@ export declare const eventRoutes: readonly [{
|
|
|
695
707
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
696
708
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
697
709
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
710
|
+
"quote.created": "quote.created";
|
|
711
|
+
"quote.finalized": "quote.finalized";
|
|
712
|
+
"quote.accepted": "quote.accepted";
|
|
713
|
+
"quote.canceled": "quote.canceled";
|
|
698
714
|
"tax.assessment.created": "tax.assessment.created";
|
|
699
715
|
"tax.review_item.created": "tax.review_item.created";
|
|
700
716
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -145,6 +145,10 @@ export declare const eventsRoutes: readonly [{
|
|
|
145
145
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
146
146
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
147
147
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
148
|
+
"quote.created": "quote.created";
|
|
149
|
+
"quote.finalized": "quote.finalized";
|
|
150
|
+
"quote.accepted": "quote.accepted";
|
|
151
|
+
"quote.canceled": "quote.canceled";
|
|
148
152
|
"tax.assessment.created": "tax.assessment.created";
|
|
149
153
|
"tax.review_item.created": "tax.review_item.created";
|
|
150
154
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -282,6 +286,10 @@ export declare const eventsRoutes: readonly [{
|
|
|
282
286
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
283
287
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
284
288
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
289
|
+
"quote.created": "quote.created";
|
|
290
|
+
"quote.finalized": "quote.finalized";
|
|
291
|
+
"quote.accepted": "quote.accepted";
|
|
292
|
+
"quote.canceled": "quote.canceled";
|
|
285
293
|
"tax.assessment.created": "tax.assessment.created";
|
|
286
294
|
"tax.review_item.created": "tax.review_item.created";
|
|
287
295
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -410,6 +418,10 @@ export declare const eventsRoutes: readonly [{
|
|
|
410
418
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
411
419
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
412
420
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
421
|
+
"quote.created": "quote.created";
|
|
422
|
+
"quote.finalized": "quote.finalized";
|
|
423
|
+
"quote.accepted": "quote.accepted";
|
|
424
|
+
"quote.canceled": "quote.canceled";
|
|
413
425
|
"tax.assessment.created": "tax.assessment.created";
|
|
414
426
|
"tax.review_item.created": "tax.review_item.created";
|
|
415
427
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -522,11 +534,15 @@ export declare const eventsRoutes: readonly [{
|
|
|
522
534
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
523
535
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
524
536
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
537
|
+
"quote.created": "quote.created";
|
|
538
|
+
"quote.finalized": "quote.finalized";
|
|
539
|
+
"quote.accepted": "quote.accepted";
|
|
540
|
+
"quote.canceled": "quote.canceled";
|
|
525
541
|
"tax.assessment.created": "tax.assessment.created";
|
|
526
542
|
"tax.review_item.created": "tax.review_item.created";
|
|
527
543
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
528
544
|
"*": "*";
|
|
529
|
-
}>>, import("zod").ZodTransform<import("../..").WebhookEnabledEvent[], ("payment_intent.created" | "payment_intent.requires_action" | "payment_intent.processing" | "payment_intent.amount_capturable_updated" | "payment_intent.succeeded" | "payment_intent.payment_failed" | "payment_intent.canceled" | "charge.refunded" | "charge.dispute.created" | "charge.dispute.updated" | "charge.dispute.closed" | "charge.dispute.funds_withdrawn" | "charge.dispute.funds_reinstated" | "refund.created" | "refund.updated" | "refund.failed" | "customer.created" | "customer.updated" | "customer.deleted" | "payment_method.attached" | "payment_method.detached" | "payment_method.updated" | "setup_intent.created" | "setup_intent.requires_action" | "setup_intent.succeeded" | "setup_intent.setup_failed" | "setup_intent.canceled" | "connected_account.updated" | "product.created" | "product.updated" | "product.deleted" | "price.created" | "price.updated" | "coupon.created" | "coupon.updated" | "coupon.deleted" | "promotion_code.created" | "promotion_code.updated" | "account.updated" | "application_fee.created" | "application_fee.refunded" | "payout.created" | "payout.updated" | "payout.paid" | "payout.failed" | "payout.canceled" | "balance.available" | "checkout.session.completed" | "checkout.session.expired" | "checkout.session.async_payment_succeeded" | "checkout.session.async_payment_failed" | "payment_link.created" | "payment_link.updated" | "reporting.report_run.succeeded" | "reporting.report_run.failed" | "customer.subscription.created" | "customer.subscription.updated" | "customer.subscription.deleted" | "customer.subscription.trial_will_end" | "customer.subscription.paused" | "customer.subscription.resumed" | "invoice.created" | "invoice.updated" | "invoice.deleted" | "invoice.finalized" | "invoice.paid" | "invoice.payment_failed" | "invoice.payment_action_required" | "invoice.voided" | "invoice.marked_uncollectible" | "invoice.upcoming" | "invoice.sent" | "invoiceitem.created" | "invoiceitem.deleted" | "credit_note.created" | "credit_note.updated" | "credit_note.voided" | "test_helpers.test_clock.created" | "test_helpers.test_clock.advancing" | "test_helpers.test_clock.ready" | "test_helpers.test_clock.deleted" | "billing.meter.created" | "billing.meter.updated" | "billing.meter.deactivated" | "billing.meter.reactivated" | "entitlements.active_entitlement_summary.updated" | "billing_portal.configuration.created" | "billing_portal.configuration.updated" | "billing_portal.session.created" | "tax.assessment.created" | "tax.review_item.created" | "tax.review_item.updated" | "*")[]>>;
|
|
545
|
+
}>>, import("zod").ZodTransform<import("../..").WebhookEnabledEvent[], ("payment_intent.created" | "payment_intent.requires_action" | "payment_intent.processing" | "payment_intent.amount_capturable_updated" | "payment_intent.succeeded" | "payment_intent.payment_failed" | "payment_intent.canceled" | "charge.refunded" | "charge.dispute.created" | "charge.dispute.updated" | "charge.dispute.closed" | "charge.dispute.funds_withdrawn" | "charge.dispute.funds_reinstated" | "refund.created" | "refund.updated" | "refund.failed" | "customer.created" | "customer.updated" | "customer.deleted" | "payment_method.attached" | "payment_method.detached" | "payment_method.updated" | "setup_intent.created" | "setup_intent.requires_action" | "setup_intent.succeeded" | "setup_intent.setup_failed" | "setup_intent.canceled" | "connected_account.updated" | "product.created" | "product.updated" | "product.deleted" | "price.created" | "price.updated" | "coupon.created" | "coupon.updated" | "coupon.deleted" | "promotion_code.created" | "promotion_code.updated" | "account.updated" | "application_fee.created" | "application_fee.refunded" | "payout.created" | "payout.updated" | "payout.paid" | "payout.failed" | "payout.canceled" | "balance.available" | "checkout.session.completed" | "checkout.session.expired" | "checkout.session.async_payment_succeeded" | "checkout.session.async_payment_failed" | "payment_link.created" | "payment_link.updated" | "reporting.report_run.succeeded" | "reporting.report_run.failed" | "customer.subscription.created" | "customer.subscription.updated" | "customer.subscription.deleted" | "customer.subscription.trial_will_end" | "customer.subscription.paused" | "customer.subscription.resumed" | "invoice.created" | "invoice.updated" | "invoice.deleted" | "invoice.finalized" | "invoice.paid" | "invoice.payment_failed" | "invoice.payment_action_required" | "invoice.voided" | "invoice.marked_uncollectible" | "invoice.upcoming" | "invoice.sent" | "invoiceitem.created" | "invoiceitem.deleted" | "credit_note.created" | "credit_note.updated" | "credit_note.voided" | "test_helpers.test_clock.created" | "test_helpers.test_clock.advancing" | "test_helpers.test_clock.ready" | "test_helpers.test_clock.deleted" | "billing.meter.created" | "billing.meter.updated" | "billing.meter.deactivated" | "billing.meter.reactivated" | "entitlements.active_entitlement_summary.updated" | "billing_portal.configuration.created" | "billing_portal.configuration.updated" | "billing_portal.session.created" | "quote.created" | "quote.finalized" | "quote.accepted" | "quote.canceled" | "tax.assessment.created" | "tax.review_item.created" | "tax.review_item.updated" | "*")[]>>;
|
|
530
546
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
531
547
|
metadata: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>, import("zod").ZodTransform<Record<string, string>, Record<string, string>>>>;
|
|
532
548
|
}, import("zod/v4/core").$strict>;
|
|
@@ -627,6 +643,10 @@ export declare const eventsRoutes: readonly [{
|
|
|
627
643
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
628
644
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
629
645
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
646
|
+
"quote.created": "quote.created";
|
|
647
|
+
"quote.finalized": "quote.finalized";
|
|
648
|
+
"quote.accepted": "quote.accepted";
|
|
649
|
+
"quote.canceled": "quote.canceled";
|
|
630
650
|
"tax.assessment.created": "tax.assessment.created";
|
|
631
651
|
"tax.review_item.created": "tax.review_item.created";
|
|
632
652
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -771,6 +791,10 @@ export declare const eventsRoutes: readonly [{
|
|
|
771
791
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
772
792
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
773
793
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
794
|
+
"quote.created": "quote.created";
|
|
795
|
+
"quote.finalized": "quote.finalized";
|
|
796
|
+
"quote.accepted": "quote.accepted";
|
|
797
|
+
"quote.canceled": "quote.canceled";
|
|
774
798
|
"tax.assessment.created": "tax.assessment.created";
|
|
775
799
|
"tax.review_item.created": "tax.review_item.created";
|
|
776
800
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -906,6 +930,10 @@ export declare const eventsRoutes: readonly [{
|
|
|
906
930
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
907
931
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
908
932
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
933
|
+
"quote.created": "quote.created";
|
|
934
|
+
"quote.finalized": "quote.finalized";
|
|
935
|
+
"quote.accepted": "quote.accepted";
|
|
936
|
+
"quote.canceled": "quote.canceled";
|
|
909
937
|
"tax.assessment.created": "tax.assessment.created";
|
|
910
938
|
"tax.review_item.created": "tax.review_item.created";
|
|
911
939
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -1032,11 +1060,15 @@ export declare const eventsRoutes: readonly [{
|
|
|
1032
1060
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
1033
1061
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
1034
1062
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
1063
|
+
"quote.created": "quote.created";
|
|
1064
|
+
"quote.finalized": "quote.finalized";
|
|
1065
|
+
"quote.accepted": "quote.accepted";
|
|
1066
|
+
"quote.canceled": "quote.canceled";
|
|
1035
1067
|
"tax.assessment.created": "tax.assessment.created";
|
|
1036
1068
|
"tax.review_item.created": "tax.review_item.created";
|
|
1037
1069
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
1038
1070
|
"*": "*";
|
|
1039
|
-
}>>, import("zod").ZodTransform<import("../..").WebhookEnabledEvent[], ("payment_intent.created" | "payment_intent.requires_action" | "payment_intent.processing" | "payment_intent.amount_capturable_updated" | "payment_intent.succeeded" | "payment_intent.payment_failed" | "payment_intent.canceled" | "charge.refunded" | "charge.dispute.created" | "charge.dispute.updated" | "charge.dispute.closed" | "charge.dispute.funds_withdrawn" | "charge.dispute.funds_reinstated" | "refund.created" | "refund.updated" | "refund.failed" | "customer.created" | "customer.updated" | "customer.deleted" | "payment_method.attached" | "payment_method.detached" | "payment_method.updated" | "setup_intent.created" | "setup_intent.requires_action" | "setup_intent.succeeded" | "setup_intent.setup_failed" | "setup_intent.canceled" | "connected_account.updated" | "product.created" | "product.updated" | "product.deleted" | "price.created" | "price.updated" | "coupon.created" | "coupon.updated" | "coupon.deleted" | "promotion_code.created" | "promotion_code.updated" | "account.updated" | "application_fee.created" | "application_fee.refunded" | "payout.created" | "payout.updated" | "payout.paid" | "payout.failed" | "payout.canceled" | "balance.available" | "checkout.session.completed" | "checkout.session.expired" | "checkout.session.async_payment_succeeded" | "checkout.session.async_payment_failed" | "payment_link.created" | "payment_link.updated" | "reporting.report_run.succeeded" | "reporting.report_run.failed" | "customer.subscription.created" | "customer.subscription.updated" | "customer.subscription.deleted" | "customer.subscription.trial_will_end" | "customer.subscription.paused" | "customer.subscription.resumed" | "invoice.created" | "invoice.updated" | "invoice.deleted" | "invoice.finalized" | "invoice.paid" | "invoice.payment_failed" | "invoice.payment_action_required" | "invoice.voided" | "invoice.marked_uncollectible" | "invoice.upcoming" | "invoice.sent" | "invoiceitem.created" | "invoiceitem.deleted" | "credit_note.created" | "credit_note.updated" | "credit_note.voided" | "test_helpers.test_clock.created" | "test_helpers.test_clock.advancing" | "test_helpers.test_clock.ready" | "test_helpers.test_clock.deleted" | "billing.meter.created" | "billing.meter.updated" | "billing.meter.deactivated" | "billing.meter.reactivated" | "entitlements.active_entitlement_summary.updated" | "billing_portal.configuration.created" | "billing_portal.configuration.updated" | "billing_portal.session.created" | "tax.assessment.created" | "tax.review_item.created" | "tax.review_item.updated" | "*")[]>>>;
|
|
1071
|
+
}>>, import("zod").ZodTransform<import("../..").WebhookEnabledEvent[], ("payment_intent.created" | "payment_intent.requires_action" | "payment_intent.processing" | "payment_intent.amount_capturable_updated" | "payment_intent.succeeded" | "payment_intent.payment_failed" | "payment_intent.canceled" | "charge.refunded" | "charge.dispute.created" | "charge.dispute.updated" | "charge.dispute.closed" | "charge.dispute.funds_withdrawn" | "charge.dispute.funds_reinstated" | "refund.created" | "refund.updated" | "refund.failed" | "customer.created" | "customer.updated" | "customer.deleted" | "payment_method.attached" | "payment_method.detached" | "payment_method.updated" | "setup_intent.created" | "setup_intent.requires_action" | "setup_intent.succeeded" | "setup_intent.setup_failed" | "setup_intent.canceled" | "connected_account.updated" | "product.created" | "product.updated" | "product.deleted" | "price.created" | "price.updated" | "coupon.created" | "coupon.updated" | "coupon.deleted" | "promotion_code.created" | "promotion_code.updated" | "account.updated" | "application_fee.created" | "application_fee.refunded" | "payout.created" | "payout.updated" | "payout.paid" | "payout.failed" | "payout.canceled" | "balance.available" | "checkout.session.completed" | "checkout.session.expired" | "checkout.session.async_payment_succeeded" | "checkout.session.async_payment_failed" | "payment_link.created" | "payment_link.updated" | "reporting.report_run.succeeded" | "reporting.report_run.failed" | "customer.subscription.created" | "customer.subscription.updated" | "customer.subscription.deleted" | "customer.subscription.trial_will_end" | "customer.subscription.paused" | "customer.subscription.resumed" | "invoice.created" | "invoice.updated" | "invoice.deleted" | "invoice.finalized" | "invoice.paid" | "invoice.payment_failed" | "invoice.payment_action_required" | "invoice.voided" | "invoice.marked_uncollectible" | "invoice.upcoming" | "invoice.sent" | "invoiceitem.created" | "invoiceitem.deleted" | "credit_note.created" | "credit_note.updated" | "credit_note.voided" | "test_helpers.test_clock.created" | "test_helpers.test_clock.advancing" | "test_helpers.test_clock.ready" | "test_helpers.test_clock.deleted" | "billing.meter.created" | "billing.meter.updated" | "billing.meter.deactivated" | "billing.meter.reactivated" | "entitlements.active_entitlement_summary.updated" | "billing_portal.configuration.created" | "billing_portal.configuration.updated" | "billing_portal.session.created" | "quote.created" | "quote.finalized" | "quote.accepted" | "quote.canceled" | "tax.assessment.created" | "tax.review_item.created" | "tax.review_item.updated" | "*")[]>>>;
|
|
1040
1072
|
disabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1041
1073
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1042
1074
|
metadata: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>, import("zod").ZodTransform<import("../..").MetadataPatch, Record<string, string>>>>;
|
|
@@ -1137,6 +1169,10 @@ export declare const eventsRoutes: readonly [{
|
|
|
1137
1169
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
1138
1170
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
1139
1171
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
1172
|
+
"quote.created": "quote.created";
|
|
1173
|
+
"quote.finalized": "quote.finalized";
|
|
1174
|
+
"quote.accepted": "quote.accepted";
|
|
1175
|
+
"quote.canceled": "quote.canceled";
|
|
1140
1176
|
"tax.assessment.created": "tax.assessment.created";
|
|
1141
1177
|
"tax.review_item.created": "tax.review_item.created";
|
|
1142
1178
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -1288,6 +1324,10 @@ export declare const eventsRoutes: readonly [{
|
|
|
1288
1324
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
1289
1325
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
1290
1326
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
1327
|
+
"quote.created": "quote.created";
|
|
1328
|
+
"quote.finalized": "quote.finalized";
|
|
1329
|
+
"quote.accepted": "quote.accepted";
|
|
1330
|
+
"quote.canceled": "quote.canceled";
|
|
1291
1331
|
"tax.assessment.created": "tax.assessment.created";
|
|
1292
1332
|
"tax.review_item.created": "tax.review_item.created";
|
|
1293
1333
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -1416,6 +1456,10 @@ export declare const eventsRoutes: readonly [{
|
|
|
1416
1456
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
1417
1457
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
1418
1458
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
1459
|
+
"quote.created": "quote.created";
|
|
1460
|
+
"quote.finalized": "quote.finalized";
|
|
1461
|
+
"quote.accepted": "quote.accepted";
|
|
1462
|
+
"quote.canceled": "quote.canceled";
|
|
1419
1463
|
"tax.assessment.created": "tax.assessment.created";
|
|
1420
1464
|
"tax.review_item.created": "tax.review_item.created";
|
|
1421
1465
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -1562,6 +1606,10 @@ export declare const eventsRoutes: readonly [{
|
|
|
1562
1606
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
1563
1607
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
1564
1608
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
1609
|
+
"quote.created": "quote.created";
|
|
1610
|
+
"quote.finalized": "quote.finalized";
|
|
1611
|
+
"quote.accepted": "quote.accepted";
|
|
1612
|
+
"quote.canceled": "quote.canceled";
|
|
1565
1613
|
"tax.assessment.created": "tax.assessment.created";
|
|
1566
1614
|
"tax.review_item.created": "tax.review_item.created";
|
|
1567
1615
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -1695,6 +1743,10 @@ export declare const eventsRoutes: readonly [{
|
|
|
1695
1743
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
1696
1744
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
1697
1745
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
1746
|
+
"quote.created": "quote.created";
|
|
1747
|
+
"quote.finalized": "quote.finalized";
|
|
1748
|
+
"quote.accepted": "quote.accepted";
|
|
1749
|
+
"quote.canceled": "quote.canceled";
|
|
1698
1750
|
"tax.assessment.created": "tax.assessment.created";
|
|
1699
1751
|
"tax.review_item.created": "tax.review_item.created";
|
|
1700
1752
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -100,6 +100,10 @@ export declare const webhookDeliverySchema: z.ZodObject<{
|
|
|
100
100
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
101
101
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
102
102
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
103
|
+
"quote.created": "quote.created";
|
|
104
|
+
"quote.finalized": "quote.finalized";
|
|
105
|
+
"quote.accepted": "quote.accepted";
|
|
106
|
+
"quote.canceled": "quote.canceled";
|
|
103
107
|
"tax.assessment.created": "tax.assessment.created";
|
|
104
108
|
"tax.review_item.created": "tax.review_item.created";
|
|
105
109
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -276,6 +280,10 @@ export declare const webhookDeliveryRoutes: readonly [{
|
|
|
276
280
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
277
281
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
278
282
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
283
|
+
"quote.created": "quote.created";
|
|
284
|
+
"quote.finalized": "quote.finalized";
|
|
285
|
+
"quote.accepted": "quote.accepted";
|
|
286
|
+
"quote.canceled": "quote.canceled";
|
|
279
287
|
"tax.assessment.created": "tax.assessment.created";
|
|
280
288
|
"tax.review_item.created": "tax.review_item.created";
|
|
281
289
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -409,6 +417,10 @@ export declare const webhookDeliveryRoutes: readonly [{
|
|
|
409
417
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
410
418
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
411
419
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
420
|
+
"quote.created": "quote.created";
|
|
421
|
+
"quote.finalized": "quote.finalized";
|
|
422
|
+
"quote.accepted": "quote.accepted";
|
|
423
|
+
"quote.canceled": "quote.canceled";
|
|
412
424
|
"tax.assessment.created": "tax.assessment.created";
|
|
413
425
|
"tax.review_item.created": "tax.review_item.created";
|
|
414
426
|
"tax.review_item.updated": "tax.review_item.updated";
|