@peable.to/contracts 6.1.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/events/events.js +4 -0
- 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/events/events.js +4 -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/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/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
|
@@ -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";
|
|
@@ -98,6 +98,10 @@ export declare const webhookEndpointSchema: z.ZodObject<{
|
|
|
98
98
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
99
99
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
100
100
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
101
|
+
"quote.created": "quote.created";
|
|
102
|
+
"quote.finalized": "quote.finalized";
|
|
103
|
+
"quote.accepted": "quote.accepted";
|
|
104
|
+
"quote.canceled": "quote.canceled";
|
|
101
105
|
"tax.assessment.created": "tax.assessment.created";
|
|
102
106
|
"tax.review_item.created": "tax.review_item.created";
|
|
103
107
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -220,6 +224,10 @@ export declare const webhookEndpointWithSecretSchema: z.ZodObject<{
|
|
|
220
224
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
221
225
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
222
226
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
227
|
+
"quote.created": "quote.created";
|
|
228
|
+
"quote.finalized": "quote.finalized";
|
|
229
|
+
"quote.accepted": "quote.accepted";
|
|
230
|
+
"quote.canceled": "quote.canceled";
|
|
223
231
|
"tax.assessment.created": "tax.assessment.created";
|
|
224
232
|
"tax.review_item.created": "tax.review_item.created";
|
|
225
233
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -344,11 +352,15 @@ export declare const createWebhookEndpointParams: z.ZodObject<{
|
|
|
344
352
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
345
353
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
346
354
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
355
|
+
"quote.created": "quote.created";
|
|
356
|
+
"quote.finalized": "quote.finalized";
|
|
357
|
+
"quote.accepted": "quote.accepted";
|
|
358
|
+
"quote.canceled": "quote.canceled";
|
|
347
359
|
"tax.assessment.created": "tax.assessment.created";
|
|
348
360
|
"tax.review_item.created": "tax.review_item.created";
|
|
349
361
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
350
362
|
"*": "*";
|
|
351
|
-
}>>, z.ZodTransform<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" | "*")[]>>;
|
|
363
|
+
}>>, z.ZodTransform<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" | "*")[]>>;
|
|
352
364
|
description: z.ZodOptional<z.ZodString>;
|
|
353
365
|
metadata: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodString>, z.ZodTransform<Record<string, string>, Record<string, string>>>>;
|
|
354
366
|
}, z.core.$strict>;
|
|
@@ -445,11 +457,15 @@ export declare const updateWebhookEndpointParams: z.ZodObject<{
|
|
|
445
457
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
446
458
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
447
459
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
460
|
+
"quote.created": "quote.created";
|
|
461
|
+
"quote.finalized": "quote.finalized";
|
|
462
|
+
"quote.accepted": "quote.accepted";
|
|
463
|
+
"quote.canceled": "quote.canceled";
|
|
448
464
|
"tax.assessment.created": "tax.assessment.created";
|
|
449
465
|
"tax.review_item.created": "tax.review_item.created";
|
|
450
466
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
451
467
|
"*": "*";
|
|
452
|
-
}>>, z.ZodTransform<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" | "*")[]>>>;
|
|
468
|
+
}>>, z.ZodTransform<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" | "*")[]>>>;
|
|
453
469
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
454
470
|
description: z.ZodOptional<z.ZodString>;
|
|
455
471
|
metadata: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodString>, z.ZodTransform<import("../..").MetadataPatch, Record<string, string>>>>;
|
|
@@ -579,11 +595,15 @@ export declare const webhookEndpointRoutes: readonly [{
|
|
|
579
595
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
580
596
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
581
597
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
598
|
+
"quote.created": "quote.created";
|
|
599
|
+
"quote.finalized": "quote.finalized";
|
|
600
|
+
"quote.accepted": "quote.accepted";
|
|
601
|
+
"quote.canceled": "quote.canceled";
|
|
582
602
|
"tax.assessment.created": "tax.assessment.created";
|
|
583
603
|
"tax.review_item.created": "tax.review_item.created";
|
|
584
604
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
585
605
|
"*": "*";
|
|
586
|
-
}>>, z.ZodTransform<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" | "*")[]>>;
|
|
606
|
+
}>>, z.ZodTransform<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" | "*")[]>>;
|
|
587
607
|
description: z.ZodOptional<z.ZodString>;
|
|
588
608
|
metadata: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodString>, z.ZodTransform<Record<string, string>, Record<string, string>>>>;
|
|
589
609
|
}, z.core.$strict>;
|
|
@@ -684,6 +704,10 @@ export declare const webhookEndpointRoutes: readonly [{
|
|
|
684
704
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
685
705
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
686
706
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
707
|
+
"quote.created": "quote.created";
|
|
708
|
+
"quote.finalized": "quote.finalized";
|
|
709
|
+
"quote.accepted": "quote.accepted";
|
|
710
|
+
"quote.canceled": "quote.canceled";
|
|
687
711
|
"tax.assessment.created": "tax.assessment.created";
|
|
688
712
|
"tax.review_item.created": "tax.review_item.created";
|
|
689
713
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -828,6 +852,10 @@ export declare const webhookEndpointRoutes: readonly [{
|
|
|
828
852
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
829
853
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
830
854
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
855
|
+
"quote.created": "quote.created";
|
|
856
|
+
"quote.finalized": "quote.finalized";
|
|
857
|
+
"quote.accepted": "quote.accepted";
|
|
858
|
+
"quote.canceled": "quote.canceled";
|
|
831
859
|
"tax.assessment.created": "tax.assessment.created";
|
|
832
860
|
"tax.review_item.created": "tax.review_item.created";
|
|
833
861
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -963,6 +991,10 @@ export declare const webhookEndpointRoutes: readonly [{
|
|
|
963
991
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
964
992
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
965
993
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
994
|
+
"quote.created": "quote.created";
|
|
995
|
+
"quote.finalized": "quote.finalized";
|
|
996
|
+
"quote.accepted": "quote.accepted";
|
|
997
|
+
"quote.canceled": "quote.canceled";
|
|
966
998
|
"tax.assessment.created": "tax.assessment.created";
|
|
967
999
|
"tax.review_item.created": "tax.review_item.created";
|
|
968
1000
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -1089,11 +1121,15 @@ export declare const webhookEndpointRoutes: readonly [{
|
|
|
1089
1121
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
1090
1122
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
1091
1123
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
1124
|
+
"quote.created": "quote.created";
|
|
1125
|
+
"quote.finalized": "quote.finalized";
|
|
1126
|
+
"quote.accepted": "quote.accepted";
|
|
1127
|
+
"quote.canceled": "quote.canceled";
|
|
1092
1128
|
"tax.assessment.created": "tax.assessment.created";
|
|
1093
1129
|
"tax.review_item.created": "tax.review_item.created";
|
|
1094
1130
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
1095
1131
|
"*": "*";
|
|
1096
|
-
}>>, z.ZodTransform<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" | "*")[]>>>;
|
|
1132
|
+
}>>, z.ZodTransform<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" | "*")[]>>>;
|
|
1097
1133
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1098
1134
|
description: z.ZodOptional<z.ZodString>;
|
|
1099
1135
|
metadata: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodString>, z.ZodTransform<import("../..").MetadataPatch, Record<string, string>>>>;
|
|
@@ -1194,6 +1230,10 @@ export declare const webhookEndpointRoutes: readonly [{
|
|
|
1194
1230
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
1195
1231
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
1196
1232
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
1233
|
+
"quote.created": "quote.created";
|
|
1234
|
+
"quote.finalized": "quote.finalized";
|
|
1235
|
+
"quote.accepted": "quote.accepted";
|
|
1236
|
+
"quote.canceled": "quote.canceled";
|
|
1197
1237
|
"tax.assessment.created": "tax.assessment.created";
|
|
1198
1238
|
"tax.review_item.created": "tax.review_item.created";
|
|
1199
1239
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -1345,6 +1385,10 @@ export declare const webhookEndpointRoutes: readonly [{
|
|
|
1345
1385
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
1346
1386
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
1347
1387
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
1388
|
+
"quote.created": "quote.created";
|
|
1389
|
+
"quote.finalized": "quote.finalized";
|
|
1390
|
+
"quote.accepted": "quote.accepted";
|
|
1391
|
+
"quote.canceled": "quote.canceled";
|
|
1348
1392
|
"tax.assessment.created": "tax.assessment.created";
|
|
1349
1393
|
"tax.review_item.created": "tax.review_item.created";
|
|
1350
1394
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -1473,6 +1517,10 @@ export declare const webhookEndpointRoutes: readonly [{
|
|
|
1473
1517
|
"billing_portal.configuration.created": "billing_portal.configuration.created";
|
|
1474
1518
|
"billing_portal.configuration.updated": "billing_portal.configuration.updated";
|
|
1475
1519
|
"billing_portal.session.created": "billing_portal.session.created";
|
|
1520
|
+
"quote.created": "quote.created";
|
|
1521
|
+
"quote.finalized": "quote.finalized";
|
|
1522
|
+
"quote.accepted": "quote.accepted";
|
|
1523
|
+
"quote.canceled": "quote.canceled";
|
|
1476
1524
|
"tax.assessment.created": "tax.assessment.created";
|
|
1477
1525
|
"tax.review_item.created": "tax.review_item.created";
|
|
1478
1526
|
"tax.review_item.updated": "tax.review_item.updated";
|
|
@@ -9,8 +9,8 @@ import { type Expand } from '../../common/objects';
|
|
|
9
9
|
*/
|
|
10
10
|
export declare const disputeEvidenceSchema: z.ZodObject<{
|
|
11
11
|
customer_name: z.ZodNullable<z.ZodString>;
|
|
12
|
-
billing_address: z.ZodNullable<z.ZodString>;
|
|
13
12
|
access_activity_log: z.ZodNullable<z.ZodString>;
|
|
13
|
+
billing_address: z.ZodNullable<z.ZodString>;
|
|
14
14
|
cancellation_policy_disclosure: z.ZodNullable<z.ZodString>;
|
|
15
15
|
cancellation_rebuttal: z.ZodNullable<z.ZodString>;
|
|
16
16
|
customer_email_address: z.ZodNullable<z.ZodString>;
|
|
@@ -99,8 +99,8 @@ export declare const disputeSchema: z.ZodObject<{
|
|
|
99
99
|
}, z.core.$strict>;
|
|
100
100
|
evidence: z.ZodOptional<z.ZodObject<{
|
|
101
101
|
customer_name: z.ZodNullable<z.ZodString>;
|
|
102
|
-
billing_address: z.ZodNullable<z.ZodString>;
|
|
103
102
|
access_activity_log: z.ZodNullable<z.ZodString>;
|
|
103
|
+
billing_address: z.ZodNullable<z.ZodString>;
|
|
104
104
|
cancellation_policy_disclosure: z.ZodNullable<z.ZodString>;
|
|
105
105
|
cancellation_rebuttal: z.ZodNullable<z.ZodString>;
|
|
106
106
|
customer_email_address: z.ZodNullable<z.ZodString>;
|
|
@@ -152,8 +152,8 @@ export declare const disputeEvidenceParams: z.ZodObject<{
|
|
|
152
152
|
shipping_documentation: z.ZodOptional<z.ZodString>;
|
|
153
153
|
uncategorized_file: z.ZodOptional<z.ZodString>;
|
|
154
154
|
customer_name: z.ZodOptional<z.ZodString>;
|
|
155
|
-
billing_address: z.ZodOptional<z.ZodString>;
|
|
156
155
|
access_activity_log: z.ZodOptional<z.ZodString>;
|
|
156
|
+
billing_address: z.ZodOptional<z.ZodString>;
|
|
157
157
|
cancellation_policy_disclosure: z.ZodOptional<z.ZodString>;
|
|
158
158
|
cancellation_rebuttal: z.ZodOptional<z.ZodString>;
|
|
159
159
|
customer_email_address: z.ZodOptional<z.ZodString>;
|
|
@@ -187,8 +187,8 @@ export declare const updateDisputeParams: z.ZodObject<{
|
|
|
187
187
|
shipping_documentation: z.ZodOptional<z.ZodString>;
|
|
188
188
|
uncategorized_file: z.ZodOptional<z.ZodString>;
|
|
189
189
|
customer_name: z.ZodOptional<z.ZodString>;
|
|
190
|
-
billing_address: z.ZodOptional<z.ZodString>;
|
|
191
190
|
access_activity_log: z.ZodOptional<z.ZodString>;
|
|
191
|
+
billing_address: z.ZodOptional<z.ZodString>;
|
|
192
192
|
cancellation_policy_disclosure: z.ZodOptional<z.ZodString>;
|
|
193
193
|
cancellation_rebuttal: z.ZodOptional<z.ZodString>;
|
|
194
194
|
customer_email_address: z.ZodOptional<z.ZodString>;
|
|
@@ -332,8 +332,8 @@ export declare const disputeRoutes: readonly [{
|
|
|
332
332
|
}, z.core.$strict>;
|
|
333
333
|
evidence: z.ZodOptional<z.ZodObject<{
|
|
334
334
|
customer_name: z.ZodNullable<z.ZodString>;
|
|
335
|
-
billing_address: z.ZodNullable<z.ZodString>;
|
|
336
335
|
access_activity_log: z.ZodNullable<z.ZodString>;
|
|
336
|
+
billing_address: z.ZodNullable<z.ZodString>;
|
|
337
337
|
cancellation_policy_disclosure: z.ZodNullable<z.ZodString>;
|
|
338
338
|
cancellation_rebuttal: z.ZodNullable<z.ZodString>;
|
|
339
339
|
customer_email_address: z.ZodNullable<z.ZodString>;
|
|
@@ -451,8 +451,8 @@ export declare const disputeRoutes: readonly [{
|
|
|
451
451
|
}, z.core.$strict>;
|
|
452
452
|
evidence: z.ZodOptional<z.ZodObject<{
|
|
453
453
|
customer_name: z.ZodNullable<z.ZodString>;
|
|
454
|
-
billing_address: z.ZodNullable<z.ZodString>;
|
|
455
454
|
access_activity_log: z.ZodNullable<z.ZodString>;
|
|
455
|
+
billing_address: z.ZodNullable<z.ZodString>;
|
|
456
456
|
cancellation_policy_disclosure: z.ZodNullable<z.ZodString>;
|
|
457
457
|
cancellation_rebuttal: z.ZodNullable<z.ZodString>;
|
|
458
458
|
customer_email_address: z.ZodNullable<z.ZodString>;
|
|
@@ -556,8 +556,8 @@ export declare const disputeRoutes: readonly [{
|
|
|
556
556
|
}, z.core.$strict>;
|
|
557
557
|
evidence: z.ZodOptional<z.ZodObject<{
|
|
558
558
|
customer_name: z.ZodNullable<z.ZodString>;
|
|
559
|
-
billing_address: z.ZodNullable<z.ZodString>;
|
|
560
559
|
access_activity_log: z.ZodNullable<z.ZodString>;
|
|
560
|
+
billing_address: z.ZodNullable<z.ZodString>;
|
|
561
561
|
cancellation_policy_disclosure: z.ZodNullable<z.ZodString>;
|
|
562
562
|
cancellation_rebuttal: z.ZodNullable<z.ZodString>;
|
|
563
563
|
customer_email_address: z.ZodNullable<z.ZodString>;
|
|
@@ -613,8 +613,8 @@ export declare const disputeRoutes: readonly [{
|
|
|
613
613
|
shipping_documentation: z.ZodOptional<z.ZodString>;
|
|
614
614
|
uncategorized_file: z.ZodOptional<z.ZodString>;
|
|
615
615
|
customer_name: z.ZodOptional<z.ZodString>;
|
|
616
|
-
billing_address: z.ZodOptional<z.ZodString>;
|
|
617
616
|
access_activity_log: z.ZodOptional<z.ZodString>;
|
|
617
|
+
billing_address: z.ZodOptional<z.ZodString>;
|
|
618
618
|
cancellation_policy_disclosure: z.ZodOptional<z.ZodString>;
|
|
619
619
|
cancellation_rebuttal: z.ZodOptional<z.ZodString>;
|
|
620
620
|
customer_email_address: z.ZodOptional<z.ZodString>;
|
|
@@ -688,8 +688,8 @@ export declare const disputeRoutes: readonly [{
|
|
|
688
688
|
}, z.core.$strict>;
|
|
689
689
|
evidence: z.ZodOptional<z.ZodObject<{
|
|
690
690
|
customer_name: z.ZodNullable<z.ZodString>;
|
|
691
|
-
billing_address: z.ZodNullable<z.ZodString>;
|
|
692
691
|
access_activity_log: z.ZodNullable<z.ZodString>;
|
|
692
|
+
billing_address: z.ZodNullable<z.ZodString>;
|
|
693
693
|
cancellation_policy_disclosure: z.ZodNullable<z.ZodString>;
|
|
694
694
|
cancellation_rebuttal: z.ZodNullable<z.ZodString>;
|
|
695
695
|
customer_email_address: z.ZodNullable<z.ZodString>;
|
|
@@ -788,8 +788,8 @@ export declare const disputeRoutes: readonly [{
|
|
|
788
788
|
}, z.core.$strict>;
|
|
789
789
|
evidence: z.ZodOptional<z.ZodObject<{
|
|
790
790
|
customer_name: z.ZodNullable<z.ZodString>;
|
|
791
|
-
billing_address: z.ZodNullable<z.ZodString>;
|
|
792
791
|
access_activity_log: z.ZodNullable<z.ZodString>;
|
|
792
|
+
billing_address: z.ZodNullable<z.ZodString>;
|
|
793
793
|
cancellation_policy_disclosure: z.ZodNullable<z.ZodString>;
|
|
794
794
|
cancellation_rebuttal: z.ZodNullable<z.ZodString>;
|
|
795
795
|
customer_email_address: z.ZodNullable<z.ZodString>;
|