@peable.to/contracts 2.0.0 → 3.0.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.
Files changed (31) hide show
  1. package/dist/cjs/resources/catalog/index.js +1 -5
  2. package/dist/cjs/resources/checkout/checkoutSessions.js +0 -4
  3. package/dist/cjs/resources/events/events.js +1 -32
  4. package/dist/cjs/vocabulary/catalog.js +1 -17
  5. package/dist/cjs/vocabulary/errors.js +0 -13
  6. package/dist/cjs/vocabulary/events.js +0 -1
  7. package/dist/esm/resources/catalog/index.js +1 -5
  8. package/dist/esm/resources/checkout/checkoutSessions.js +0 -4
  9. package/dist/esm/resources/events/events.js +0 -31
  10. package/dist/esm/vocabulary/catalog.js +0 -16
  11. package/dist/esm/vocabulary/errors.js +0 -13
  12. package/dist/esm/vocabulary/events.js +0 -1
  13. package/dist/types/resources/catalog/index.d.ts +1 -851
  14. package/dist/types/resources/checkout/checkoutSessions.d.ts +13 -61
  15. package/dist/types/resources/checkout/index.d.ts +10 -46
  16. package/dist/types/resources/events/events.d.ts +0 -22
  17. package/dist/types/resources/events/index.d.ts +2 -15
  18. package/dist/types/resources/events/webhookDeliveries.d.ts +0 -3
  19. package/dist/types/resources/events/webhookEndpoints.d.ts +4 -16
  20. package/dist/types/resources/payments/index.d.ts +10 -10
  21. package/dist/types/resources/payments/paymentIntents.d.ts +10 -10
  22. package/dist/types/resources/payments/testHelpers.d.ts +1 -1
  23. package/dist/types/resources/tax/index.d.ts +1 -1
  24. package/dist/types/resources/tax/registrations.d.ts +2 -2
  25. package/dist/types/vocabulary/catalog.d.ts +0 -9
  26. package/dist/types/vocabulary/errors.d.ts +0 -13
  27. package/dist/types/vocabulary/events.d.ts +0 -1
  28. package/package.json +1 -1
  29. package/dist/cjs/resources/catalog/billing.js +0 -753
  30. package/dist/esm/resources/catalog/billing.js +0 -750
  31. package/dist/types/resources/catalog/billing.d.ts +0 -1723
@@ -134,8 +134,8 @@ export declare const checkoutSessionSchema: z.ZodObject<{
134
134
  no_payment_required: "no_payment_required";
135
135
  }>;
136
136
  ui_mode: z.ZodEnum<{
137
- embedded: "embedded";
138
137
  hosted: "hosted";
138
+ embedded: "embedded";
139
139
  }>;
140
140
  locale: z.ZodNullable<z.ZodEnum<{
141
141
  en: "en";
@@ -314,18 +314,6 @@ export declare const checkoutSessionPublicSchema: z.ZodObject<{
314
314
  }>;
315
315
  }, z.core.$strict>;
316
316
  publishable_key: z.ZodNullable<z.ZodString>;
317
- billing_quote: z.ZodOptional<z.ZodObject<{
318
- id: z.ZodString;
319
- currency: z.ZodLiteral<"USD">;
320
- gross_minor_units: z.ZodString;
321
- amount_base_units: z.ZodString;
322
- usd_per_fair: z.ZodString;
323
- source: z.ZodString;
324
- observed_at: z.ZodNumber;
325
- quoted_at: z.ZodNumber;
326
- expires_at: z.ZodNumber;
327
- rounding: z.ZodLiteral<"ceil_to_base_unit">;
328
- }, z.core.$strict>>;
329
317
  shipping_details: z.ZodNullable<z.ZodObject<{
330
318
  name: z.ZodString;
331
319
  address: z.ZodObject<{
@@ -409,8 +397,8 @@ export declare const checkoutSessionPublicSchema: z.ZodObject<{
409
397
  no_payment_required: "no_payment_required";
410
398
  }>;
411
399
  ui_mode: z.ZodEnum<{
412
- embedded: "embedded";
413
400
  hosted: "hosted";
401
+ embedded: "embedded";
414
402
  }>;
415
403
  locale: z.ZodNullable<z.ZodEnum<{
416
404
  en: "en";
@@ -582,8 +570,8 @@ export declare const createCheckoutSessionParams: z.ZodObject<{
582
570
  auto: "auto";
583
571
  }>, z.ZodTransform<"en" | "es" | "fr" | "de" | "it" | "pt" | null, "en" | "es" | "fr" | "de" | "it" | "pt" | "auto">>>;
584
572
  ui_mode: z.ZodOptional<z.ZodEnum<{
585
- embedded: "embedded";
586
573
  hosted: "hosted";
574
+ embedded: "embedded";
587
575
  }>>;
588
576
  success_url: z.ZodOptional<z.ZodString>;
589
577
  cancel_url: z.ZodOptional<z.ZodString>;
@@ -863,8 +851,8 @@ export declare const checkoutSessionRoutes: readonly [{
863
851
  auto: "auto";
864
852
  }>, z.ZodTransform<"en" | "es" | "fr" | "de" | "it" | "pt" | null, "en" | "es" | "fr" | "de" | "it" | "pt" | "auto">>>;
865
853
  ui_mode: z.ZodOptional<z.ZodEnum<{
866
- embedded: "embedded";
867
854
  hosted: "hosted";
855
+ embedded: "embedded";
868
856
  }>>;
869
857
  success_url: z.ZodOptional<z.ZodString>;
870
858
  cancel_url: z.ZodOptional<z.ZodString>;
@@ -1139,8 +1127,8 @@ export declare const checkoutSessionRoutes: readonly [{
1139
1127
  no_payment_required: "no_payment_required";
1140
1128
  }>;
1141
1129
  ui_mode: z.ZodEnum<{
1142
- embedded: "embedded";
1143
1130
  hosted: "hosted";
1131
+ embedded: "embedded";
1144
1132
  }>;
1145
1133
  locale: z.ZodNullable<z.ZodEnum<{
1146
1134
  en: "en";
@@ -1367,8 +1355,8 @@ export declare const checkoutSessionRoutes: readonly [{
1367
1355
  no_payment_required: "no_payment_required";
1368
1356
  }>;
1369
1357
  ui_mode: z.ZodEnum<{
1370
- embedded: "embedded";
1371
1358
  hosted: "hosted";
1359
+ embedded: "embedded";
1372
1360
  }>;
1373
1361
  locale: z.ZodNullable<z.ZodEnum<{
1374
1362
  en: "en";
@@ -1576,8 +1564,8 @@ export declare const checkoutSessionRoutes: readonly [{
1576
1564
  no_payment_required: "no_payment_required";
1577
1565
  }>;
1578
1566
  ui_mode: z.ZodEnum<{
1579
- embedded: "embedded";
1580
1567
  hosted: "hosted";
1568
+ embedded: "embedded";
1581
1569
  }>;
1582
1570
  locale: z.ZodNullable<z.ZodEnum<{
1583
1571
  en: "en";
@@ -1785,8 +1773,8 @@ export declare const checkoutSessionRoutes: readonly [{
1785
1773
  no_payment_required: "no_payment_required";
1786
1774
  }>;
1787
1775
  ui_mode: z.ZodEnum<{
1788
- embedded: "embedded";
1789
1776
  hosted: "hosted";
1777
+ embedded: "embedded";
1790
1778
  }>;
1791
1779
  locale: z.ZodNullable<z.ZodEnum<{
1792
1780
  en: "en";
@@ -1993,8 +1981,8 @@ export declare const checkoutSessionRoutes: readonly [{
1993
1981
  no_payment_required: "no_payment_required";
1994
1982
  }>;
1995
1983
  ui_mode: z.ZodEnum<{
1996
- embedded: "embedded";
1997
1984
  hosted: "hosted";
1985
+ embedded: "embedded";
1998
1986
  }>;
1999
1987
  locale: z.ZodNullable<z.ZodEnum<{
2000
1988
  en: "en";
@@ -2245,18 +2233,6 @@ export declare const checkoutSessionRoutes: readonly [{
2245
2233
  }>;
2246
2234
  }, z.core.$strict>;
2247
2235
  publishable_key: z.ZodNullable<z.ZodString>;
2248
- billing_quote: z.ZodOptional<z.ZodObject<{
2249
- id: z.ZodString;
2250
- currency: z.ZodLiteral<"USD">;
2251
- gross_minor_units: z.ZodString;
2252
- amount_base_units: z.ZodString;
2253
- usd_per_fair: z.ZodString;
2254
- source: z.ZodString;
2255
- observed_at: z.ZodNumber;
2256
- quoted_at: z.ZodNumber;
2257
- expires_at: z.ZodNumber;
2258
- rounding: z.ZodLiteral<"ceil_to_base_unit">;
2259
- }, z.core.$strict>>;
2260
2236
  shipping_details: z.ZodNullable<z.ZodObject<{
2261
2237
  name: z.ZodString;
2262
2238
  address: z.ZodObject<{
@@ -2340,8 +2316,8 @@ export declare const checkoutSessionRoutes: readonly [{
2340
2316
  no_payment_required: "no_payment_required";
2341
2317
  }>;
2342
2318
  ui_mode: z.ZodEnum<{
2343
- embedded: "embedded";
2344
2319
  hosted: "hosted";
2320
+ embedded: "embedded";
2345
2321
  }>;
2346
2322
  locale: z.ZodNullable<z.ZodEnum<{
2347
2323
  en: "en";
@@ -2569,18 +2545,6 @@ export declare const checkoutSessionRoutes: readonly [{
2569
2545
  }>;
2570
2546
  }, z.core.$strict>;
2571
2547
  publishable_key: z.ZodNullable<z.ZodString>;
2572
- billing_quote: z.ZodOptional<z.ZodObject<{
2573
- id: z.ZodString;
2574
- currency: z.ZodLiteral<"USD">;
2575
- gross_minor_units: z.ZodString;
2576
- amount_base_units: z.ZodString;
2577
- usd_per_fair: z.ZodString;
2578
- source: z.ZodString;
2579
- observed_at: z.ZodNumber;
2580
- quoted_at: z.ZodNumber;
2581
- expires_at: z.ZodNumber;
2582
- rounding: z.ZodLiteral<"ceil_to_base_unit">;
2583
- }, z.core.$strict>>;
2584
2548
  shipping_details: z.ZodNullable<z.ZodObject<{
2585
2549
  name: z.ZodString;
2586
2550
  address: z.ZodObject<{
@@ -2664,8 +2628,8 @@ export declare const checkoutSessionRoutes: readonly [{
2664
2628
  no_payment_required: "no_payment_required";
2665
2629
  }>;
2666
2630
  ui_mode: z.ZodEnum<{
2667
- embedded: "embedded";
2668
2631
  hosted: "hosted";
2632
+ embedded: "embedded";
2669
2633
  }>;
2670
2634
  locale: z.ZodNullable<z.ZodEnum<{
2671
2635
  en: "en";
@@ -2845,18 +2809,6 @@ export declare const checkoutSessionRoutes: readonly [{
2845
2809
  }>;
2846
2810
  }, z.core.$strict>;
2847
2811
  publishable_key: z.ZodNullable<z.ZodString>;
2848
- billing_quote: z.ZodOptional<z.ZodObject<{
2849
- id: z.ZodString;
2850
- currency: z.ZodLiteral<"USD">;
2851
- gross_minor_units: z.ZodString;
2852
- amount_base_units: z.ZodString;
2853
- usd_per_fair: z.ZodString;
2854
- source: z.ZodString;
2855
- observed_at: z.ZodNumber;
2856
- quoted_at: z.ZodNumber;
2857
- expires_at: z.ZodNumber;
2858
- rounding: z.ZodLiteral<"ceil_to_base_unit">;
2859
- }, z.core.$strict>>;
2860
2812
  shipping_details: z.ZodNullable<z.ZodObject<{
2861
2813
  name: z.ZodString;
2862
2814
  address: z.ZodObject<{
@@ -2940,8 +2892,8 @@ export declare const checkoutSessionRoutes: readonly [{
2940
2892
  no_payment_required: "no_payment_required";
2941
2893
  }>;
2942
2894
  ui_mode: z.ZodEnum<{
2943
- embedded: "embedded";
2944
2895
  hosted: "hosted";
2896
+ embedded: "embedded";
2945
2897
  }>;
2946
2898
  locale: z.ZodNullable<z.ZodEnum<{
2947
2899
  en: "en";
@@ -3145,8 +3097,8 @@ export declare const checkoutSessionRoutes: readonly [{
3145
3097
  no_payment_required: "no_payment_required";
3146
3098
  }>;
3147
3099
  ui_mode: z.ZodEnum<{
3148
- embedded: "embedded";
3149
3100
  hosted: "hosted";
3101
+ embedded: "embedded";
3150
3102
  }>;
3151
3103
  locale: z.ZodNullable<z.ZodEnum<{
3152
3104
  en: "en";
@@ -33,8 +33,8 @@ export declare const checkoutRoutes: readonly [{
33
33
  auto: "auto";
34
34
  }>, import("zod").ZodTransform<"en" | "es" | "fr" | "de" | "it" | "pt" | null, "en" | "es" | "fr" | "de" | "it" | "pt" | "auto">>>;
35
35
  ui_mode: import("zod").ZodOptional<import("zod").ZodEnum<{
36
- embedded: "embedded";
37
36
  hosted: "hosted";
37
+ embedded: "embedded";
38
38
  }>>;
39
39
  success_url: import("zod").ZodOptional<import("zod").ZodString>;
40
40
  cancel_url: import("zod").ZodOptional<import("zod").ZodString>;
@@ -309,8 +309,8 @@ export declare const checkoutRoutes: readonly [{
309
309
  no_payment_required: "no_payment_required";
310
310
  }>;
311
311
  ui_mode: import("zod").ZodEnum<{
312
- embedded: "embedded";
313
312
  hosted: "hosted";
313
+ embedded: "embedded";
314
314
  }>;
315
315
  locale: import("zod").ZodNullable<import("zod").ZodEnum<{
316
316
  en: "en";
@@ -537,8 +537,8 @@ export declare const checkoutRoutes: readonly [{
537
537
  no_payment_required: "no_payment_required";
538
538
  }>;
539
539
  ui_mode: import("zod").ZodEnum<{
540
- embedded: "embedded";
541
540
  hosted: "hosted";
541
+ embedded: "embedded";
542
542
  }>;
543
543
  locale: import("zod").ZodNullable<import("zod").ZodEnum<{
544
544
  en: "en";
@@ -746,8 +746,8 @@ export declare const checkoutRoutes: readonly [{
746
746
  no_payment_required: "no_payment_required";
747
747
  }>;
748
748
  ui_mode: import("zod").ZodEnum<{
749
- embedded: "embedded";
750
749
  hosted: "hosted";
750
+ embedded: "embedded";
751
751
  }>;
752
752
  locale: import("zod").ZodNullable<import("zod").ZodEnum<{
753
753
  en: "en";
@@ -955,8 +955,8 @@ export declare const checkoutRoutes: readonly [{
955
955
  no_payment_required: "no_payment_required";
956
956
  }>;
957
957
  ui_mode: import("zod").ZodEnum<{
958
- embedded: "embedded";
959
958
  hosted: "hosted";
959
+ embedded: "embedded";
960
960
  }>;
961
961
  locale: import("zod").ZodNullable<import("zod").ZodEnum<{
962
962
  en: "en";
@@ -1163,8 +1163,8 @@ export declare const checkoutRoutes: readonly [{
1163
1163
  no_payment_required: "no_payment_required";
1164
1164
  }>;
1165
1165
  ui_mode: import("zod").ZodEnum<{
1166
- embedded: "embedded";
1167
1166
  hosted: "hosted";
1167
+ embedded: "embedded";
1168
1168
  }>;
1169
1169
  locale: import("zod").ZodNullable<import("zod").ZodEnum<{
1170
1170
  en: "en";
@@ -1415,18 +1415,6 @@ export declare const checkoutRoutes: readonly [{
1415
1415
  }>;
1416
1416
  }, import("zod/v4/core").$strict>;
1417
1417
  publishable_key: import("zod").ZodNullable<import("zod").ZodString>;
1418
- billing_quote: import("zod").ZodOptional<import("zod").ZodObject<{
1419
- id: import("zod").ZodString;
1420
- currency: import("zod").ZodLiteral<"USD">;
1421
- gross_minor_units: import("zod").ZodString;
1422
- amount_base_units: import("zod").ZodString;
1423
- usd_per_fair: import("zod").ZodString;
1424
- source: import("zod").ZodString;
1425
- observed_at: import("zod").ZodNumber;
1426
- quoted_at: import("zod").ZodNumber;
1427
- expires_at: import("zod").ZodNumber;
1428
- rounding: import("zod").ZodLiteral<"ceil_to_base_unit">;
1429
- }, import("zod/v4/core").$strict>>;
1430
1418
  shipping_details: import("zod").ZodNullable<import("zod").ZodObject<{
1431
1419
  name: import("zod").ZodString;
1432
1420
  address: import("zod").ZodObject<{
@@ -1510,8 +1498,8 @@ export declare const checkoutRoutes: readonly [{
1510
1498
  no_payment_required: "no_payment_required";
1511
1499
  }>;
1512
1500
  ui_mode: import("zod").ZodEnum<{
1513
- embedded: "embedded";
1514
1501
  hosted: "hosted";
1502
+ embedded: "embedded";
1515
1503
  }>;
1516
1504
  locale: import("zod").ZodNullable<import("zod").ZodEnum<{
1517
1505
  en: "en";
@@ -1739,18 +1727,6 @@ export declare const checkoutRoutes: readonly [{
1739
1727
  }>;
1740
1728
  }, import("zod/v4/core").$strict>;
1741
1729
  publishable_key: import("zod").ZodNullable<import("zod").ZodString>;
1742
- billing_quote: import("zod").ZodOptional<import("zod").ZodObject<{
1743
- id: import("zod").ZodString;
1744
- currency: import("zod").ZodLiteral<"USD">;
1745
- gross_minor_units: import("zod").ZodString;
1746
- amount_base_units: import("zod").ZodString;
1747
- usd_per_fair: import("zod").ZodString;
1748
- source: import("zod").ZodString;
1749
- observed_at: import("zod").ZodNumber;
1750
- quoted_at: import("zod").ZodNumber;
1751
- expires_at: import("zod").ZodNumber;
1752
- rounding: import("zod").ZodLiteral<"ceil_to_base_unit">;
1753
- }, import("zod/v4/core").$strict>>;
1754
1730
  shipping_details: import("zod").ZodNullable<import("zod").ZodObject<{
1755
1731
  name: import("zod").ZodString;
1756
1732
  address: import("zod").ZodObject<{
@@ -1834,8 +1810,8 @@ export declare const checkoutRoutes: readonly [{
1834
1810
  no_payment_required: "no_payment_required";
1835
1811
  }>;
1836
1812
  ui_mode: import("zod").ZodEnum<{
1837
- embedded: "embedded";
1838
1813
  hosted: "hosted";
1814
+ embedded: "embedded";
1839
1815
  }>;
1840
1816
  locale: import("zod").ZodNullable<import("zod").ZodEnum<{
1841
1817
  en: "en";
@@ -2015,18 +1991,6 @@ export declare const checkoutRoutes: readonly [{
2015
1991
  }>;
2016
1992
  }, import("zod/v4/core").$strict>;
2017
1993
  publishable_key: import("zod").ZodNullable<import("zod").ZodString>;
2018
- billing_quote: import("zod").ZodOptional<import("zod").ZodObject<{
2019
- id: import("zod").ZodString;
2020
- currency: import("zod").ZodLiteral<"USD">;
2021
- gross_minor_units: import("zod").ZodString;
2022
- amount_base_units: import("zod").ZodString;
2023
- usd_per_fair: import("zod").ZodString;
2024
- source: import("zod").ZodString;
2025
- observed_at: import("zod").ZodNumber;
2026
- quoted_at: import("zod").ZodNumber;
2027
- expires_at: import("zod").ZodNumber;
2028
- rounding: import("zod").ZodLiteral<"ceil_to_base_unit">;
2029
- }, import("zod/v4/core").$strict>>;
2030
1994
  shipping_details: import("zod").ZodNullable<import("zod").ZodObject<{
2031
1995
  name: import("zod").ZodString;
2032
1996
  address: import("zod").ZodObject<{
@@ -2110,8 +2074,8 @@ export declare const checkoutRoutes: readonly [{
2110
2074
  no_payment_required: "no_payment_required";
2111
2075
  }>;
2112
2076
  ui_mode: import("zod").ZodEnum<{
2113
- embedded: "embedded";
2114
2077
  hosted: "hosted";
2078
+ embedded: "embedded";
2115
2079
  }>;
2116
2080
  locale: import("zod").ZodNullable<import("zod").ZodEnum<{
2117
2081
  en: "en";
@@ -2315,8 +2279,8 @@ export declare const checkoutRoutes: readonly [{
2315
2279
  no_payment_required: "no_payment_required";
2316
2280
  }>;
2317
2281
  ui_mode: import("zod").ZodEnum<{
2318
- embedded: "embedded";
2319
2282
  hosted: "hosted";
2283
+ embedded: "embedded";
2320
2284
  }>;
2321
2285
  locale: import("zod").ZodNullable<import("zod").ZodEnum<{
2322
2286
  en: "en";
@@ -8,23 +8,6 @@ import { type WebhookEventObjectType, type WebhookEventType } from '../../vocabu
8
8
  * every matching webhook endpoint: a delivery's body and `GET /v1/events/:id`
9
9
  * are byte for byte the same object.
10
10
  */
11
- /**
12
- * The payload of `billing.observation.updated`: a wake-up, never paid or grant
13
- * authority. Re-read the owner-bound resource it names.
14
- */
15
- export declare const billingObservationSchema: z.ZodObject<{
16
- object: z.ZodLiteral<"billing_observation">;
17
- livemode: z.ZodBoolean;
18
- resource_kind: z.ZodEnum<{
19
- subscription: "subscription";
20
- invoice: "invoice";
21
- }>;
22
- resource_id: z.ZodString;
23
- subscription_id: z.ZodOptional<z.ZodString>;
24
- revision: z.ZodNumber;
25
- observed_at: z.ZodNumber;
26
- }, z.core.$strict>;
27
- export type BillingObservation = z.output<typeof billingObservationSchema>;
28
11
  /**
29
12
  * What caused an event, when an API request did (Stripe's `event.request`).
30
13
  * Both `null` for an event caused by something else — the chain watcher, the
@@ -100,7 +83,6 @@ export declare const eventSchema: z.ZodObject<{
100
83
  "setup_intent.succeeded": "setup_intent.succeeded";
101
84
  "setup_intent.setup_failed": "setup_intent.setup_failed";
102
85
  "setup_intent.canceled": "setup_intent.canceled";
103
- "billing.observation.updated": "billing.observation.updated";
104
86
  "connected_account.updated": "connected_account.updated";
105
87
  "product.created": "product.created";
106
88
  "product.updated": "product.updated";
@@ -228,7 +210,6 @@ export type WebhookEvent<K extends WebhookEventType = WebhookEventType> = {
228
210
  }[K];
229
211
  declare module '../../common/objects' {
230
212
  interface ObjectMap {
231
- billing_observation: BillingObservation;
232
213
  event: WebhookEvent;
233
214
  }
234
215
  }
@@ -387,7 +368,6 @@ export declare const eventRoutes: readonly [{
387
368
  "setup_intent.succeeded": "setup_intent.succeeded";
388
369
  "setup_intent.setup_failed": "setup_intent.setup_failed";
389
370
  "setup_intent.canceled": "setup_intent.canceled";
390
- "billing.observation.updated": "billing.observation.updated";
391
371
  "connected_account.updated": "connected_account.updated";
392
372
  "product.created": "product.created";
393
373
  "product.updated": "product.updated";
@@ -525,7 +505,6 @@ export declare const eventRoutes: readonly [{
525
505
  "setup_intent.succeeded": "setup_intent.succeeded";
526
506
  "setup_intent.setup_failed": "setup_intent.setup_failed";
527
507
  "setup_intent.canceled": "setup_intent.canceled";
528
- "billing.observation.updated": "billing.observation.updated";
529
508
  "connected_account.updated": "connected_account.updated";
530
509
  "product.created": "product.created";
531
510
  "product.updated": "product.updated";
@@ -654,7 +633,6 @@ export declare const eventRoutes: readonly [{
654
633
  "setup_intent.succeeded": "setup_intent.succeeded";
655
634
  "setup_intent.setup_failed": "setup_intent.setup_failed";
656
635
  "setup_intent.canceled": "setup_intent.canceled";
657
- "billing.observation.updated": "billing.observation.updated";
658
636
  "connected_account.updated": "connected_account.updated";
659
637
  "product.created": "product.created";
660
638
  "product.updated": "product.updated";
@@ -83,7 +83,6 @@ export declare const eventsRoutes: readonly [{
83
83
  "setup_intent.succeeded": "setup_intent.succeeded";
84
84
  "setup_intent.setup_failed": "setup_intent.setup_failed";
85
85
  "setup_intent.canceled": "setup_intent.canceled";
86
- "billing.observation.updated": "billing.observation.updated";
87
86
  "connected_account.updated": "connected_account.updated";
88
87
  "product.created": "product.created";
89
88
  "product.updated": "product.updated";
@@ -221,7 +220,6 @@ export declare const eventsRoutes: readonly [{
221
220
  "setup_intent.succeeded": "setup_intent.succeeded";
222
221
  "setup_intent.setup_failed": "setup_intent.setup_failed";
223
222
  "setup_intent.canceled": "setup_intent.canceled";
224
- "billing.observation.updated": "billing.observation.updated";
225
223
  "connected_account.updated": "connected_account.updated";
226
224
  "product.created": "product.created";
227
225
  "product.updated": "product.updated";
@@ -350,7 +348,6 @@ export declare const eventsRoutes: readonly [{
350
348
  "setup_intent.succeeded": "setup_intent.succeeded";
351
349
  "setup_intent.setup_failed": "setup_intent.setup_failed";
352
350
  "setup_intent.canceled": "setup_intent.canceled";
353
- "billing.observation.updated": "billing.observation.updated";
354
351
  "connected_account.updated": "connected_account.updated";
355
352
  "product.created": "product.created";
356
353
  "product.updated": "product.updated";
@@ -463,7 +460,6 @@ export declare const eventsRoutes: readonly [{
463
460
  "setup_intent.succeeded": "setup_intent.succeeded";
464
461
  "setup_intent.setup_failed": "setup_intent.setup_failed";
465
462
  "setup_intent.canceled": "setup_intent.canceled";
466
- "billing.observation.updated": "billing.observation.updated";
467
463
  "connected_account.updated": "connected_account.updated";
468
464
  "product.created": "product.created";
469
465
  "product.updated": "product.updated";
@@ -530,7 +526,7 @@ export declare const eventsRoutes: readonly [{
530
526
  "tax.review_item.created": "tax.review_item.created";
531
527
  "tax.review_item.updated": "tax.review_item.updated";
532
528
  "*": "*";
533
- }>>, 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" | "billing.observation.updated" | "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" | "*")[]>>;
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" | "*")[]>>;
534
530
  description: import("zod").ZodOptional<import("zod").ZodString>;
535
531
  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>>>>;
536
532
  }, import("zod/v4/core").$strict>;
@@ -569,7 +565,6 @@ export declare const eventsRoutes: readonly [{
569
565
  "setup_intent.succeeded": "setup_intent.succeeded";
570
566
  "setup_intent.setup_failed": "setup_intent.setup_failed";
571
567
  "setup_intent.canceled": "setup_intent.canceled";
572
- "billing.observation.updated": "billing.observation.updated";
573
568
  "connected_account.updated": "connected_account.updated";
574
569
  "product.created": "product.created";
575
570
  "product.updated": "product.updated";
@@ -713,7 +708,6 @@ export declare const eventsRoutes: readonly [{
713
708
  "setup_intent.succeeded": "setup_intent.succeeded";
714
709
  "setup_intent.setup_failed": "setup_intent.setup_failed";
715
710
  "setup_intent.canceled": "setup_intent.canceled";
716
- "billing.observation.updated": "billing.observation.updated";
717
711
  "connected_account.updated": "connected_account.updated";
718
712
  "product.created": "product.created";
719
713
  "product.updated": "product.updated";
@@ -848,7 +842,6 @@ export declare const eventsRoutes: readonly [{
848
842
  "setup_intent.succeeded": "setup_intent.succeeded";
849
843
  "setup_intent.setup_failed": "setup_intent.setup_failed";
850
844
  "setup_intent.canceled": "setup_intent.canceled";
851
- "billing.observation.updated": "billing.observation.updated";
852
845
  "connected_account.updated": "connected_account.updated";
853
846
  "product.created": "product.created";
854
847
  "product.updated": "product.updated";
@@ -974,7 +967,6 @@ export declare const eventsRoutes: readonly [{
974
967
  "setup_intent.succeeded": "setup_intent.succeeded";
975
968
  "setup_intent.setup_failed": "setup_intent.setup_failed";
976
969
  "setup_intent.canceled": "setup_intent.canceled";
977
- "billing.observation.updated": "billing.observation.updated";
978
970
  "connected_account.updated": "connected_account.updated";
979
971
  "product.created": "product.created";
980
972
  "product.updated": "product.updated";
@@ -1041,7 +1033,7 @@ export declare const eventsRoutes: readonly [{
1041
1033
  "tax.review_item.created": "tax.review_item.created";
1042
1034
  "tax.review_item.updated": "tax.review_item.updated";
1043
1035
  "*": "*";
1044
- }>>, 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" | "billing.observation.updated" | "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" | "*")[]>>>;
1036
+ }>>, 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" | "*")[]>>>;
1045
1037
  disabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
1046
1038
  description: import("zod").ZodOptional<import("zod").ZodString>;
1047
1039
  metadata: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>, import("zod").ZodTransform<import("../..").MetadataPatch, Record<string, string>>>>;
@@ -1080,7 +1072,6 @@ export declare const eventsRoutes: readonly [{
1080
1072
  "setup_intent.succeeded": "setup_intent.succeeded";
1081
1073
  "setup_intent.setup_failed": "setup_intent.setup_failed";
1082
1074
  "setup_intent.canceled": "setup_intent.canceled";
1083
- "billing.observation.updated": "billing.observation.updated";
1084
1075
  "connected_account.updated": "connected_account.updated";
1085
1076
  "product.created": "product.created";
1086
1077
  "product.updated": "product.updated";
@@ -1231,7 +1222,6 @@ export declare const eventsRoutes: readonly [{
1231
1222
  "setup_intent.succeeded": "setup_intent.succeeded";
1232
1223
  "setup_intent.setup_failed": "setup_intent.setup_failed";
1233
1224
  "setup_intent.canceled": "setup_intent.canceled";
1234
- "billing.observation.updated": "billing.observation.updated";
1235
1225
  "connected_account.updated": "connected_account.updated";
1236
1226
  "product.created": "product.created";
1237
1227
  "product.updated": "product.updated";
@@ -1359,7 +1349,6 @@ export declare const eventsRoutes: readonly [{
1359
1349
  "setup_intent.succeeded": "setup_intent.succeeded";
1360
1350
  "setup_intent.setup_failed": "setup_intent.setup_failed";
1361
1351
  "setup_intent.canceled": "setup_intent.canceled";
1362
- "billing.observation.updated": "billing.observation.updated";
1363
1352
  "connected_account.updated": "connected_account.updated";
1364
1353
  "product.created": "product.created";
1365
1354
  "product.updated": "product.updated";
@@ -1506,7 +1495,6 @@ export declare const eventsRoutes: readonly [{
1506
1495
  "setup_intent.succeeded": "setup_intent.succeeded";
1507
1496
  "setup_intent.setup_failed": "setup_intent.setup_failed";
1508
1497
  "setup_intent.canceled": "setup_intent.canceled";
1509
- "billing.observation.updated": "billing.observation.updated";
1510
1498
  "connected_account.updated": "connected_account.updated";
1511
1499
  "product.created": "product.created";
1512
1500
  "product.updated": "product.updated";
@@ -1640,7 +1628,6 @@ export declare const eventsRoutes: readonly [{
1640
1628
  "setup_intent.succeeded": "setup_intent.succeeded";
1641
1629
  "setup_intent.setup_failed": "setup_intent.setup_failed";
1642
1630
  "setup_intent.canceled": "setup_intent.canceled";
1643
- "billing.observation.updated": "billing.observation.updated";
1644
1631
  "connected_account.updated": "connected_account.updated";
1645
1632
  "product.created": "product.created";
1646
1633
  "product.updated": "product.updated";
@@ -38,7 +38,6 @@ export declare const webhookDeliverySchema: z.ZodObject<{
38
38
  "setup_intent.succeeded": "setup_intent.succeeded";
39
39
  "setup_intent.setup_failed": "setup_intent.setup_failed";
40
40
  "setup_intent.canceled": "setup_intent.canceled";
41
- "billing.observation.updated": "billing.observation.updated";
42
41
  "connected_account.updated": "connected_account.updated";
43
42
  "product.created": "product.created";
44
43
  "product.updated": "product.updated";
@@ -215,7 +214,6 @@ export declare const webhookDeliveryRoutes: readonly [{
215
214
  "setup_intent.succeeded": "setup_intent.succeeded";
216
215
  "setup_intent.setup_failed": "setup_intent.setup_failed";
217
216
  "setup_intent.canceled": "setup_intent.canceled";
218
- "billing.observation.updated": "billing.observation.updated";
219
217
  "connected_account.updated": "connected_account.updated";
220
218
  "product.created": "product.created";
221
219
  "product.updated": "product.updated";
@@ -349,7 +347,6 @@ export declare const webhookDeliveryRoutes: readonly [{
349
347
  "setup_intent.succeeded": "setup_intent.succeeded";
350
348
  "setup_intent.setup_failed": "setup_intent.setup_failed";
351
349
  "setup_intent.canceled": "setup_intent.canceled";
352
- "billing.observation.updated": "billing.observation.updated";
353
350
  "connected_account.updated": "connected_account.updated";
354
351
  "product.created": "product.created";
355
352
  "product.updated": "product.updated";