@peable.to/contracts 0.3.0 → 1.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 (316) hide show
  1. package/dist/cjs/common/address.js +81 -0
  2. package/dist/cjs/common/envelopes.js +101 -0
  3. package/dist/cjs/common/objects.js +85 -0
  4. package/dist/cjs/common/params.js +211 -0
  5. package/dist/cjs/common/primitives.js +39 -0
  6. package/dist/cjs/contributions.js +22 -0
  7. package/dist/cjs/index.js +40 -97
  8. package/dist/cjs/openapi/document.js +297 -0
  9. package/dist/cjs/openapi/index.js +7 -0
  10. package/dist/cjs/openapi/webhooks.js +17 -0
  11. package/dist/cjs/resources/billingEngine/billingPortal.js +237 -0
  12. package/dist/cjs/resources/billingEngine/creditNotes.js +189 -0
  13. package/dist/cjs/resources/billingEngine/customerBalanceTransactions.js +90 -0
  14. package/dist/cjs/resources/billingEngine/index.js +43 -0
  15. package/dist/cjs/resources/billingEngine/invoiceItems.js +155 -0
  16. package/dist/cjs/resources/billingEngine/invoices.js +509 -0
  17. package/dist/cjs/resources/billingEngine/params.js +43 -0
  18. package/dist/cjs/resources/billingEngine/public.js +326 -0
  19. package/dist/cjs/resources/billingEngine/subscriptions.js +476 -0
  20. package/dist/cjs/resources/catalog/billing.js +755 -0
  21. package/dist/cjs/resources/catalog/billingSettings.js +131 -0
  22. package/dist/cjs/resources/catalog/coupons.js +222 -0
  23. package/dist/cjs/resources/catalog/entitlements.js +257 -0
  24. package/dist/cjs/resources/catalog/index.js +58 -0
  25. package/dist/cjs/resources/catalog/meters.js +279 -0
  26. package/dist/cjs/resources/catalog/prices.js +423 -0
  27. package/dist/cjs/resources/catalog/products.js +228 -0
  28. package/dist/cjs/resources/catalog/promotionCodes.js +174 -0
  29. package/dist/cjs/resources/catalog/shared.js +75 -0
  30. package/dist/cjs/resources/catalog/testClocks.js +127 -0
  31. package/dist/cjs/resources/checkout/checkoutSessions.js +582 -0
  32. package/dist/cjs/resources/checkout/contributions.js +172 -0
  33. package/dist/cjs/resources/checkout/files.js +133 -0
  34. package/dist/cjs/resources/checkout/index.js +57 -0
  35. package/dist/cjs/resources/checkout/merchants.js +290 -0
  36. package/dist/cjs/resources/checkout/paymentLinks.js +330 -0
  37. package/dist/cjs/resources/checkout/paymentMethodConfigurations.js +262 -0
  38. package/dist/cjs/resources/checkout/shared.js +368 -0
  39. package/dist/cjs/resources/connect/account.js +332 -0
  40. package/dist/cjs/resources/connect/applicationFees.js +113 -0
  41. package/dist/cjs/resources/connect/balance.js +212 -0
  42. package/dist/cjs/resources/connect/connectedAccounts.js +260 -0
  43. package/dist/cjs/resources/connect/index.js +51 -0
  44. package/dist/cjs/resources/connect/onboarding.js +82 -0
  45. package/dist/cjs/resources/connect/payouts.js +196 -0
  46. package/dist/cjs/resources/connect/reporting.js +235 -0
  47. package/dist/cjs/resources/connect/requestLogs.js +110 -0
  48. package/dist/cjs/resources/connect/transfers.js +227 -0
  49. package/dist/cjs/resources/core/customers.js +194 -0
  50. package/dist/cjs/resources/core/index.js +23 -0
  51. package/dist/cjs/resources/core/paymentMethods.js +134 -0
  52. package/dist/cjs/resources/events/events.js +357 -0
  53. package/dist/cjs/resources/events/index.js +29 -0
  54. package/dist/cjs/resources/events/webhookDeliveries.js +93 -0
  55. package/dist/cjs/resources/events/webhookEndpoints.js +215 -0
  56. package/dist/cjs/resources/payments/charges.js +157 -0
  57. package/dist/cjs/resources/payments/disputes.js +204 -0
  58. package/dist/cjs/resources/payments/index.js +41 -0
  59. package/dist/cjs/resources/payments/paymentIntents.js +529 -0
  60. package/dist/cjs/resources/payments/refunds.js +245 -0
  61. package/dist/cjs/resources/payments/setupIntents.js +158 -0
  62. package/dist/cjs/resources/payments/social.js +182 -0
  63. package/dist/cjs/resources/payments/testHelpers.js +39 -0
  64. package/dist/cjs/resources/tax/assessments.js +217 -0
  65. package/dist/cjs/resources/tax/businessProfile.js +99 -0
  66. package/dist/cjs/resources/tax/calculations.js +176 -0
  67. package/dist/cjs/resources/tax/capabilities.js +42 -0
  68. package/dist/cjs/resources/tax/codes.js +37 -0
  69. package/dist/cjs/resources/tax/complianceActions.js +56 -0
  70. package/dist/cjs/resources/tax/deadlines.js +59 -0
  71. package/dist/cjs/resources/tax/documents.js +128 -0
  72. package/dist/cjs/resources/tax/index.js +80 -0
  73. package/dist/cjs/resources/tax/locationEvidence.js +131 -0
  74. package/dist/cjs/resources/tax/operatingLocations.js +98 -0
  75. package/dist/cjs/resources/tax/products.js +67 -0
  76. package/dist/cjs/resources/tax/registrationDeclarations.js +124 -0
  77. package/dist/cjs/resources/tax/registrations.js +82 -0
  78. package/dist/cjs/resources/tax/reports.js +92 -0
  79. package/dist/cjs/resources/tax/reviewItems.js +116 -0
  80. package/dist/cjs/resources/tax/ruleSet.js +68 -0
  81. package/dist/cjs/resources/tax/salesDestinations.js +94 -0
  82. package/dist/cjs/resources/tax/settings.js +104 -0
  83. package/dist/cjs/resources/tax/shared.js +62 -0
  84. package/dist/cjs/resources/tax/transactions.js +102 -0
  85. package/dist/cjs/route.js +22 -0
  86. package/dist/cjs/routes.js +31 -0
  87. package/dist/cjs/vocabulary/billingPortal.js +15 -0
  88. package/dist/cjs/vocabulary/catalog.js +110 -0
  89. package/dist/cjs/vocabulary/checkout.js +53 -0
  90. package/dist/cjs/vocabulary/connect.js +95 -0
  91. package/dist/cjs/vocabulary/errors.js +174 -0
  92. package/dist/cjs/vocabulary/events.js +176 -0
  93. package/dist/cjs/vocabulary/files.js +44 -0
  94. package/dist/cjs/vocabulary/index.js +37 -0
  95. package/dist/cjs/vocabulary/invoices.js +52 -0
  96. package/dist/cjs/vocabulary/lists.js +22 -0
  97. package/dist/cjs/vocabulary/merchants.js +23 -0
  98. package/dist/cjs/vocabulary/money.js +104 -0
  99. package/dist/cjs/vocabulary/paymentMethodConfigurations.js +36 -0
  100. package/dist/cjs/vocabulary/payments.js +195 -0
  101. package/dist/cjs/vocabulary/reporting.js +27 -0
  102. package/dist/cjs/vocabulary/subscriptions.js +60 -0
  103. package/dist/cjs/vocabulary/tax.js +237 -0
  104. package/dist/cjs/vocabulary/version.js +12 -0
  105. package/dist/esm/common/address.js +76 -0
  106. package/dist/esm/common/envelopes.js +95 -0
  107. package/dist/esm/common/objects.js +74 -0
  108. package/dist/esm/common/params.js +203 -0
  109. package/dist/esm/common/primitives.js +35 -0
  110. package/dist/esm/contributions.js +5 -0
  111. package/dist/esm/index.js +26 -94
  112. package/dist/esm/openapi/document.js +294 -0
  113. package/dist/esm/openapi/index.js +2 -0
  114. package/dist/esm/openapi/webhooks.js +14 -0
  115. package/dist/esm/resources/billingEngine/billingPortal.js +234 -0
  116. package/dist/esm/resources/billingEngine/creditNotes.js +186 -0
  117. package/dist/esm/resources/billingEngine/customerBalanceTransactions.js +87 -0
  118. package/dist/esm/resources/billingEngine/index.js +26 -0
  119. package/dist/esm/resources/billingEngine/invoiceItems.js +152 -0
  120. package/dist/esm/resources/billingEngine/invoices.js +506 -0
  121. package/dist/esm/resources/billingEngine/params.js +39 -0
  122. package/dist/esm/resources/billingEngine/public.js +323 -0
  123. package/dist/esm/resources/billingEngine/subscriptions.js +473 -0
  124. package/dist/esm/resources/catalog/billing.js +752 -0
  125. package/dist/esm/resources/catalog/billingSettings.js +128 -0
  126. package/dist/esm/resources/catalog/coupons.js +219 -0
  127. package/dist/esm/resources/catalog/entitlements.js +254 -0
  128. package/dist/esm/resources/catalog/index.js +38 -0
  129. package/dist/esm/resources/catalog/meters.js +276 -0
  130. package/dist/esm/resources/catalog/prices.js +419 -0
  131. package/dist/esm/resources/catalog/products.js +225 -0
  132. package/dist/esm/resources/catalog/promotionCodes.js +171 -0
  133. package/dist/esm/resources/catalog/shared.js +67 -0
  134. package/dist/esm/resources/catalog/testClocks.js +124 -0
  135. package/dist/esm/resources/checkout/checkoutSessions.js +579 -0
  136. package/dist/esm/resources/checkout/contributions.js +167 -0
  137. package/dist/esm/resources/checkout/files.js +130 -0
  138. package/dist/esm/resources/checkout/index.js +25 -0
  139. package/dist/esm/resources/checkout/merchants.js +287 -0
  140. package/dist/esm/resources/checkout/paymentLinks.js +327 -0
  141. package/dist/esm/resources/checkout/paymentMethodConfigurations.js +259 -0
  142. package/dist/esm/resources/checkout/shared.js +363 -0
  143. package/dist/esm/resources/connect/account.js +329 -0
  144. package/dist/esm/resources/connect/applicationFees.js +110 -0
  145. package/dist/esm/resources/connect/balance.js +209 -0
  146. package/dist/esm/resources/connect/connectedAccounts.js +257 -0
  147. package/dist/esm/resources/connect/index.js +34 -0
  148. package/dist/esm/resources/connect/onboarding.js +79 -0
  149. package/dist/esm/resources/connect/payouts.js +193 -0
  150. package/dist/esm/resources/connect/reporting.js +232 -0
  151. package/dist/esm/resources/connect/requestLogs.js +107 -0
  152. package/dist/esm/resources/connect/transfers.js +224 -0
  153. package/dist/esm/resources/core/customers.js +191 -0
  154. package/dist/esm/resources/core/index.js +6 -0
  155. package/dist/esm/resources/core/paymentMethods.js +131 -0
  156. package/dist/esm/resources/events/events.js +353 -0
  157. package/dist/esm/resources/events/index.js +12 -0
  158. package/dist/esm/resources/events/webhookDeliveries.js +90 -0
  159. package/dist/esm/resources/events/webhookEndpoints.js +212 -0
  160. package/dist/esm/resources/payments/charges.js +154 -0
  161. package/dist/esm/resources/payments/disputes.js +201 -0
  162. package/dist/esm/resources/payments/index.js +24 -0
  163. package/dist/esm/resources/payments/paymentIntents.js +526 -0
  164. package/dist/esm/resources/payments/refunds.js +242 -0
  165. package/dist/esm/resources/payments/setupIntents.js +155 -0
  166. package/dist/esm/resources/payments/social.js +179 -0
  167. package/dist/esm/resources/payments/testHelpers.js +36 -0
  168. package/dist/esm/resources/tax/assessments.js +214 -0
  169. package/dist/esm/resources/tax/businessProfile.js +96 -0
  170. package/dist/esm/resources/tax/calculations.js +173 -0
  171. package/dist/esm/resources/tax/capabilities.js +39 -0
  172. package/dist/esm/resources/tax/codes.js +34 -0
  173. package/dist/esm/resources/tax/complianceActions.js +53 -0
  174. package/dist/esm/resources/tax/deadlines.js +56 -0
  175. package/dist/esm/resources/tax/documents.js +125 -0
  176. package/dist/esm/resources/tax/index.js +63 -0
  177. package/dist/esm/resources/tax/locationEvidence.js +128 -0
  178. package/dist/esm/resources/tax/operatingLocations.js +95 -0
  179. package/dist/esm/resources/tax/products.js +64 -0
  180. package/dist/esm/resources/tax/registrationDeclarations.js +121 -0
  181. package/dist/esm/resources/tax/registrations.js +79 -0
  182. package/dist/esm/resources/tax/reports.js +89 -0
  183. package/dist/esm/resources/tax/reviewItems.js +113 -0
  184. package/dist/esm/resources/tax/ruleSet.js +65 -0
  185. package/dist/esm/resources/tax/salesDestinations.js +91 -0
  186. package/dist/esm/resources/tax/settings.js +101 -0
  187. package/dist/esm/resources/tax/shared.js +58 -0
  188. package/dist/esm/resources/tax/transactions.js +99 -0
  189. package/dist/esm/route.js +16 -0
  190. package/dist/esm/routes.js +27 -0
  191. package/dist/esm/vocabulary/billingPortal.js +12 -0
  192. package/dist/esm/vocabulary/catalog.js +106 -0
  193. package/dist/esm/vocabulary/checkout.js +50 -0
  194. package/dist/esm/vocabulary/connect.js +92 -0
  195. package/dist/esm/vocabulary/errors.js +169 -0
  196. package/dist/esm/vocabulary/events.js +173 -0
  197. package/dist/esm/vocabulary/files.js +41 -0
  198. package/dist/esm/vocabulary/index.js +21 -0
  199. package/dist/esm/vocabulary/invoices.js +49 -0
  200. package/dist/esm/vocabulary/lists.js +19 -0
  201. package/dist/esm/vocabulary/merchants.js +20 -0
  202. package/dist/esm/vocabulary/money.js +98 -0
  203. package/dist/esm/vocabulary/paymentMethodConfigurations.js +33 -0
  204. package/dist/esm/vocabulary/payments.js +192 -0
  205. package/dist/esm/vocabulary/reporting.js +24 -0
  206. package/dist/esm/vocabulary/subscriptions.js +57 -0
  207. package/dist/esm/vocabulary/tax.js +233 -0
  208. package/dist/esm/vocabulary/version.js +9 -0
  209. package/dist/types/common/address.d.ts +62 -0
  210. package/dist/types/common/envelopes.d.ts +88 -0
  211. package/dist/types/common/objects.d.ts +107 -0
  212. package/dist/types/common/params.d.ts +156 -0
  213. package/dist/types/common/primitives.d.ts +56 -0
  214. package/dist/types/contributions.d.ts +1 -0
  215. package/dist/types/index.d.ts +16 -134
  216. package/dist/types/openapi/document.d.ts +16 -0
  217. package/dist/types/openapi/index.d.ts +2 -0
  218. package/dist/types/openapi/webhooks.d.ts +15 -0
  219. package/dist/types/resources/billingEngine/billingPortal.d.ts +742 -0
  220. package/dist/types/resources/billingEngine/creditNotes.d.ts +655 -0
  221. package/dist/types/resources/billingEngine/customerBalanceTransactions.d.ts +282 -0
  222. package/dist/types/resources/billingEngine/index.d.ts +6071 -0
  223. package/dist/types/resources/billingEngine/invoiceItems.d.ts +502 -0
  224. package/dist/types/resources/billingEngine/invoices.d.ts +2547 -0
  225. package/dist/types/resources/billingEngine/params.d.ts +51 -0
  226. package/dist/types/resources/billingEngine/public.d.ts +1860 -0
  227. package/dist/types/resources/billingEngine/subscriptions.d.ts +1519 -0
  228. package/dist/types/resources/catalog/billing.d.ts +1723 -0
  229. package/dist/types/resources/catalog/billingSettings.d.ts +160 -0
  230. package/dist/types/resources/catalog/coupons.d.ts +403 -0
  231. package/dist/types/resources/catalog/entitlements.d.ts +422 -0
  232. package/dist/types/resources/catalog/index.d.ts +3155 -0
  233. package/dist/types/resources/catalog/meters.d.ts +474 -0
  234. package/dist/types/resources/catalog/prices.d.ts +1091 -0
  235. package/dist/types/resources/catalog/products.d.ts +430 -0
  236. package/dist/types/resources/catalog/promotionCodes.d.ts +369 -0
  237. package/dist/types/resources/catalog/shared.d.ts +34 -0
  238. package/dist/types/resources/catalog/testClocks.d.ts +220 -0
  239. package/dist/types/resources/checkout/checkoutSessions.d.ts +3207 -0
  240. package/dist/types/resources/checkout/contributions.d.ts +375 -0
  241. package/dist/types/resources/checkout/files.d.ts +280 -0
  242. package/dist/types/resources/checkout/index.d.ts +5678 -0
  243. package/dist/types/resources/checkout/merchants.d.ts +395 -0
  244. package/dist/types/resources/checkout/paymentLinks.d.ts +1728 -0
  245. package/dist/types/resources/checkout/paymentMethodConfigurations.d.ts +2104 -0
  246. package/dist/types/resources/checkout/shared.d.ts +419 -0
  247. package/dist/types/resources/connect/account.d.ts +483 -0
  248. package/dist/types/resources/connect/applicationFees.d.ts +198 -0
  249. package/dist/types/resources/connect/balance.d.ts +399 -0
  250. package/dist/types/resources/connect/connectedAccounts.d.ts +494 -0
  251. package/dist/types/resources/connect/index.d.ts +2094 -0
  252. package/dist/types/resources/connect/onboarding.d.ts +95 -0
  253. package/dist/types/resources/connect/payouts.d.ts +527 -0
  254. package/dist/types/resources/connect/reporting.d.ts +506 -0
  255. package/dist/types/resources/connect/requestLogs.d.ts +236 -0
  256. package/dist/types/resources/connect/transfers.d.ts +436 -0
  257. package/dist/types/resources/core/customers.d.ts +619 -0
  258. package/dist/types/resources/core/index.d.ts +679 -0
  259. package/dist/types/resources/core/paymentMethods.d.ts +336 -0
  260. package/dist/types/resources/events/events.d.ts +731 -0
  261. package/dist/types/resources/events/index.d.ts +1727 -0
  262. package/dist/types/resources/events/webhookDeliveries.d.ts +436 -0
  263. package/dist/types/resources/events/webhookEndpoints.d.ts +1502 -0
  264. package/dist/types/resources/payments/charges.d.ts +390 -0
  265. package/dist/types/resources/payments/disputes.d.ts +822 -0
  266. package/dist/types/resources/payments/index.d.ts +3517 -0
  267. package/dist/types/resources/payments/paymentIntents.d.ts +2080 -0
  268. package/dist/types/resources/payments/refunds.d.ts +684 -0
  269. package/dist/types/resources/payments/setupIntents.d.ts +391 -0
  270. package/dist/types/resources/payments/social.d.ts +266 -0
  271. package/dist/types/resources/payments/testHelpers.d.ts +178 -0
  272. package/dist/types/resources/tax/assessments.d.ts +787 -0
  273. package/dist/types/resources/tax/businessProfile.d.ts +134 -0
  274. package/dist/types/resources/tax/calculations.d.ts +261 -0
  275. package/dist/types/resources/tax/capabilities.d.ts +81 -0
  276. package/dist/types/resources/tax/codes.d.ts +29 -0
  277. package/dist/types/resources/tax/complianceActions.d.ts +97 -0
  278. package/dist/types/resources/tax/deadlines.d.ts +133 -0
  279. package/dist/types/resources/tax/documents.d.ts +257 -0
  280. package/dist/types/resources/tax/index.d.ts +1946 -0
  281. package/dist/types/resources/tax/locationEvidence.d.ts +246 -0
  282. package/dist/types/resources/tax/operatingLocations.d.ts +170 -0
  283. package/dist/types/resources/tax/products.d.ts +68 -0
  284. package/dist/types/resources/tax/registrationDeclarations.d.ts +270 -0
  285. package/dist/types/resources/tax/registrations.d.ts +103 -0
  286. package/dist/types/resources/tax/reports.d.ts +129 -0
  287. package/dist/types/resources/tax/reviewItems.d.ts +226 -0
  288. package/dist/types/resources/tax/ruleSet.d.ts +219 -0
  289. package/dist/types/resources/tax/salesDestinations.d.ts +158 -0
  290. package/dist/types/resources/tax/settings.d.ts +122 -0
  291. package/dist/types/resources/tax/shared.d.ts +43 -0
  292. package/dist/types/resources/tax/transactions.d.ts +404 -0
  293. package/dist/types/route.d.ts +86 -0
  294. package/dist/types/routes.d.ts +23 -0
  295. package/dist/types/vocabulary/billingPortal.d.ts +15 -0
  296. package/dist/types/vocabulary/catalog.d.ts +97 -0
  297. package/dist/types/vocabulary/checkout.d.ts +49 -0
  298. package/dist/types/vocabulary/connect.d.ts +62 -0
  299. package/dist/types/vocabulary/errors.d.ts +145 -0
  300. package/dist/types/vocabulary/events.d.ts +171 -0
  301. package/dist/types/vocabulary/files.d.ts +30 -0
  302. package/dist/types/vocabulary/index.d.ts +17 -0
  303. package/dist/types/vocabulary/invoices.d.ts +39 -0
  304. package/dist/types/vocabulary/lists.d.ts +9 -0
  305. package/dist/types/vocabulary/merchants.d.ts +9 -0
  306. package/dist/types/vocabulary/money.d.ts +59 -0
  307. package/dist/types/vocabulary/paymentMethodConfigurations.d.ts +22 -0
  308. package/dist/types/vocabulary/payments.d.ts +117 -0
  309. package/dist/types/vocabulary/reporting.d.ts +18 -0
  310. package/dist/types/vocabulary/subscriptions.d.ts +45 -0
  311. package/dist/types/vocabulary/tax.d.ts +163 -0
  312. package/dist/types/vocabulary/version.d.ts +10 -0
  313. package/package.json +51 -11
  314. package/dist/cjs/openapi.js +0 -138
  315. package/dist/esm/openapi.js +0 -134
  316. package/dist/types/openapi.d.ts +0 -145
@@ -0,0 +1,436 @@
1
+ import { z } from 'zod';
2
+ import { type Expand } from '../../common/objects';
3
+ /**
4
+ * Webhook deliveries (ADR 0014 D4) — one event sent to one webhook endpoint.
5
+ * An event that matches three endpoints is three deliveries, each with its own
6
+ * attempts, retried for about three days (ADR 0001 D7).
7
+ */
8
+ export declare const webhookDeliverySchema: z.ZodObject<{
9
+ id: z.ZodString;
10
+ object: z.ZodLiteral<"webhook_delivery">;
11
+ livemode: z.ZodBoolean;
12
+ event_id: z.ZodString;
13
+ event_type: z.ZodEnum<{
14
+ "payment_intent.created": "payment_intent.created";
15
+ "payment_intent.requires_action": "payment_intent.requires_action";
16
+ "payment_intent.processing": "payment_intent.processing";
17
+ "payment_intent.amount_capturable_updated": "payment_intent.amount_capturable_updated";
18
+ "payment_intent.succeeded": "payment_intent.succeeded";
19
+ "payment_intent.payment_failed": "payment_intent.payment_failed";
20
+ "payment_intent.canceled": "payment_intent.canceled";
21
+ "charge.refunded": "charge.refunded";
22
+ "charge.dispute.created": "charge.dispute.created";
23
+ "charge.dispute.updated": "charge.dispute.updated";
24
+ "charge.dispute.closed": "charge.dispute.closed";
25
+ "charge.dispute.funds_withdrawn": "charge.dispute.funds_withdrawn";
26
+ "charge.dispute.funds_reinstated": "charge.dispute.funds_reinstated";
27
+ "refund.created": "refund.created";
28
+ "refund.updated": "refund.updated";
29
+ "refund.failed": "refund.failed";
30
+ "customer.created": "customer.created";
31
+ "customer.updated": "customer.updated";
32
+ "customer.deleted": "customer.deleted";
33
+ "payment_method.attached": "payment_method.attached";
34
+ "payment_method.detached": "payment_method.detached";
35
+ "payment_method.updated": "payment_method.updated";
36
+ "setup_intent.created": "setup_intent.created";
37
+ "setup_intent.requires_action": "setup_intent.requires_action";
38
+ "setup_intent.succeeded": "setup_intent.succeeded";
39
+ "setup_intent.setup_failed": "setup_intent.setup_failed";
40
+ "setup_intent.canceled": "setup_intent.canceled";
41
+ "billing.observation.updated": "billing.observation.updated";
42
+ "connected_account.updated": "connected_account.updated";
43
+ "product.created": "product.created";
44
+ "product.updated": "product.updated";
45
+ "product.deleted": "product.deleted";
46
+ "price.created": "price.created";
47
+ "price.updated": "price.updated";
48
+ "coupon.created": "coupon.created";
49
+ "coupon.updated": "coupon.updated";
50
+ "coupon.deleted": "coupon.deleted";
51
+ "promotion_code.created": "promotion_code.created";
52
+ "promotion_code.updated": "promotion_code.updated";
53
+ "account.updated": "account.updated";
54
+ "application_fee.created": "application_fee.created";
55
+ "application_fee.refunded": "application_fee.refunded";
56
+ "payout.created": "payout.created";
57
+ "payout.updated": "payout.updated";
58
+ "payout.paid": "payout.paid";
59
+ "payout.failed": "payout.failed";
60
+ "payout.canceled": "payout.canceled";
61
+ "balance.available": "balance.available";
62
+ "checkout.session.completed": "checkout.session.completed";
63
+ "checkout.session.expired": "checkout.session.expired";
64
+ "checkout.session.async_payment_succeeded": "checkout.session.async_payment_succeeded";
65
+ "checkout.session.async_payment_failed": "checkout.session.async_payment_failed";
66
+ "payment_link.created": "payment_link.created";
67
+ "payment_link.updated": "payment_link.updated";
68
+ "reporting.report_run.succeeded": "reporting.report_run.succeeded";
69
+ "reporting.report_run.failed": "reporting.report_run.failed";
70
+ "customer.subscription.created": "customer.subscription.created";
71
+ "customer.subscription.updated": "customer.subscription.updated";
72
+ "customer.subscription.deleted": "customer.subscription.deleted";
73
+ "customer.subscription.trial_will_end": "customer.subscription.trial_will_end";
74
+ "customer.subscription.paused": "customer.subscription.paused";
75
+ "customer.subscription.resumed": "customer.subscription.resumed";
76
+ "invoice.created": "invoice.created";
77
+ "invoice.updated": "invoice.updated";
78
+ "invoice.deleted": "invoice.deleted";
79
+ "invoice.finalized": "invoice.finalized";
80
+ "invoice.paid": "invoice.paid";
81
+ "invoice.payment_failed": "invoice.payment_failed";
82
+ "invoice.payment_action_required": "invoice.payment_action_required";
83
+ "invoice.voided": "invoice.voided";
84
+ "invoice.marked_uncollectible": "invoice.marked_uncollectible";
85
+ "invoice.upcoming": "invoice.upcoming";
86
+ "invoice.sent": "invoice.sent";
87
+ "invoiceitem.created": "invoiceitem.created";
88
+ "invoiceitem.deleted": "invoiceitem.deleted";
89
+ "credit_note.created": "credit_note.created";
90
+ "credit_note.updated": "credit_note.updated";
91
+ "credit_note.voided": "credit_note.voided";
92
+ "test_helpers.test_clock.created": "test_helpers.test_clock.created";
93
+ "test_helpers.test_clock.advancing": "test_helpers.test_clock.advancing";
94
+ "test_helpers.test_clock.ready": "test_helpers.test_clock.ready";
95
+ "test_helpers.test_clock.deleted": "test_helpers.test_clock.deleted";
96
+ "billing.meter.created": "billing.meter.created";
97
+ "billing.meter.updated": "billing.meter.updated";
98
+ "billing.meter.deactivated": "billing.meter.deactivated";
99
+ "billing.meter.reactivated": "billing.meter.reactivated";
100
+ "entitlements.active_entitlement_summary.updated": "entitlements.active_entitlement_summary.updated";
101
+ "billing_portal.configuration.created": "billing_portal.configuration.created";
102
+ "billing_portal.configuration.updated": "billing_portal.configuration.updated";
103
+ "billing_portal.session.created": "billing_portal.session.created";
104
+ "tax.assessment.created": "tax.assessment.created";
105
+ "tax.review_item.created": "tax.review_item.created";
106
+ "tax.review_item.updated": "tax.review_item.updated";
107
+ "webhook_endpoint.test": "webhook_endpoint.test";
108
+ }>;
109
+ webhook_endpoint_id: z.ZodString;
110
+ url: z.ZodString;
111
+ attempts: z.ZodNumber;
112
+ delivered: z.ZodBoolean;
113
+ last_status: z.ZodEnum<{
114
+ pending: "pending";
115
+ failed: "failed";
116
+ delivered: "delivered";
117
+ dead: "dead";
118
+ }>;
119
+ last_error: z.ZodOptional<z.ZodString>;
120
+ next_attempt_at: z.ZodOptional<z.ZodNumber>;
121
+ created: z.ZodNumber;
122
+ updated_at: z.ZodNumber;
123
+ }, z.core.$strict>;
124
+ export type WebhookDelivery = Expand<z.output<typeof webhookDeliverySchema>>;
125
+ declare module '../../common/objects' {
126
+ interface ObjectMap {
127
+ webhook_delivery: WebhookDelivery;
128
+ }
129
+ }
130
+ /** The filters `GET /v1/webhook_deliveries` adds to the list parameters. */
131
+ export declare const listWebhookDeliveriesFilters: {
132
+ event: z.ZodOptional<z.ZodString>;
133
+ webhook_endpoint: z.ZodOptional<z.ZodString>;
134
+ };
135
+ export declare const listWebhookDeliveriesQuery: z.ZodObject<{
136
+ limit: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>, z.ZodTransform<number, number | undefined>>;
137
+ starting_after: z.ZodOptional<z.ZodString>;
138
+ ending_before: z.ZodOptional<z.ZodString>;
139
+ created: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>, z.ZodTransform<import("../..").RangeFilter, number>>, z.ZodPipe<z.ZodObject<{
140
+ gt: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>;
141
+ gte: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>;
142
+ lt: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>;
143
+ lte: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>;
144
+ }, z.core.$strict>, z.ZodTransform<import("../..").RangeFilter, {
145
+ gt?: number | undefined;
146
+ gte?: number | undefined;
147
+ lt?: number | undefined;
148
+ lte?: number | undefined;
149
+ }>>]>>;
150
+ expand: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>, z.ZodArray<z.ZodString>>>;
151
+ event: z.ZodOptional<z.ZodString>;
152
+ webhook_endpoint: z.ZodOptional<z.ZodString>;
153
+ }, z.core.$strict>;
154
+ export type ListWebhookDeliveriesParams = z.input<typeof listWebhookDeliveriesQuery>;
155
+ export declare const webhookDeliveryRoutes: readonly [{
156
+ readonly operationId: "listWebhookDeliveries";
157
+ readonly method: "get";
158
+ readonly path: "/v1/webhook_deliveries";
159
+ readonly tag: "Webhook deliveries";
160
+ readonly summary: "List webhook deliveries";
161
+ readonly description: "The delivery log, newest first: one event's deliveries, or one endpoint's. Both filters are public ids resolved inside your scope.";
162
+ readonly auth: "service";
163
+ readonly scope: "payments:read";
164
+ readonly query: z.ZodObject<{
165
+ limit: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>, z.ZodTransform<number, number | undefined>>;
166
+ starting_after: z.ZodOptional<z.ZodString>;
167
+ ending_before: z.ZodOptional<z.ZodString>;
168
+ created: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>, z.ZodTransform<import("../..").RangeFilter, number>>, z.ZodPipe<z.ZodObject<{
169
+ gt: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>;
170
+ gte: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>;
171
+ lt: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>;
172
+ lte: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>;
173
+ }, z.core.$strict>, z.ZodTransform<import("../..").RangeFilter, {
174
+ gt?: number | undefined;
175
+ gte?: number | undefined;
176
+ lt?: number | undefined;
177
+ lte?: number | undefined;
178
+ }>>]>>;
179
+ expand: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>, z.ZodArray<z.ZodString>>>;
180
+ event: z.ZodOptional<z.ZodString>;
181
+ webhook_endpoint: z.ZodOptional<z.ZodString>;
182
+ }, z.core.$strict>;
183
+ readonly response: z.ZodObject<{
184
+ object: z.ZodLiteral<"list">;
185
+ data: z.ZodArray<z.ZodObject<{
186
+ id: z.ZodString;
187
+ object: z.ZodLiteral<"webhook_delivery">;
188
+ livemode: z.ZodBoolean;
189
+ event_id: z.ZodString;
190
+ event_type: z.ZodEnum<{
191
+ "payment_intent.created": "payment_intent.created";
192
+ "payment_intent.requires_action": "payment_intent.requires_action";
193
+ "payment_intent.processing": "payment_intent.processing";
194
+ "payment_intent.amount_capturable_updated": "payment_intent.amount_capturable_updated";
195
+ "payment_intent.succeeded": "payment_intent.succeeded";
196
+ "payment_intent.payment_failed": "payment_intent.payment_failed";
197
+ "payment_intent.canceled": "payment_intent.canceled";
198
+ "charge.refunded": "charge.refunded";
199
+ "charge.dispute.created": "charge.dispute.created";
200
+ "charge.dispute.updated": "charge.dispute.updated";
201
+ "charge.dispute.closed": "charge.dispute.closed";
202
+ "charge.dispute.funds_withdrawn": "charge.dispute.funds_withdrawn";
203
+ "charge.dispute.funds_reinstated": "charge.dispute.funds_reinstated";
204
+ "refund.created": "refund.created";
205
+ "refund.updated": "refund.updated";
206
+ "refund.failed": "refund.failed";
207
+ "customer.created": "customer.created";
208
+ "customer.updated": "customer.updated";
209
+ "customer.deleted": "customer.deleted";
210
+ "payment_method.attached": "payment_method.attached";
211
+ "payment_method.detached": "payment_method.detached";
212
+ "payment_method.updated": "payment_method.updated";
213
+ "setup_intent.created": "setup_intent.created";
214
+ "setup_intent.requires_action": "setup_intent.requires_action";
215
+ "setup_intent.succeeded": "setup_intent.succeeded";
216
+ "setup_intent.setup_failed": "setup_intent.setup_failed";
217
+ "setup_intent.canceled": "setup_intent.canceled";
218
+ "billing.observation.updated": "billing.observation.updated";
219
+ "connected_account.updated": "connected_account.updated";
220
+ "product.created": "product.created";
221
+ "product.updated": "product.updated";
222
+ "product.deleted": "product.deleted";
223
+ "price.created": "price.created";
224
+ "price.updated": "price.updated";
225
+ "coupon.created": "coupon.created";
226
+ "coupon.updated": "coupon.updated";
227
+ "coupon.deleted": "coupon.deleted";
228
+ "promotion_code.created": "promotion_code.created";
229
+ "promotion_code.updated": "promotion_code.updated";
230
+ "account.updated": "account.updated";
231
+ "application_fee.created": "application_fee.created";
232
+ "application_fee.refunded": "application_fee.refunded";
233
+ "payout.created": "payout.created";
234
+ "payout.updated": "payout.updated";
235
+ "payout.paid": "payout.paid";
236
+ "payout.failed": "payout.failed";
237
+ "payout.canceled": "payout.canceled";
238
+ "balance.available": "balance.available";
239
+ "checkout.session.completed": "checkout.session.completed";
240
+ "checkout.session.expired": "checkout.session.expired";
241
+ "checkout.session.async_payment_succeeded": "checkout.session.async_payment_succeeded";
242
+ "checkout.session.async_payment_failed": "checkout.session.async_payment_failed";
243
+ "payment_link.created": "payment_link.created";
244
+ "payment_link.updated": "payment_link.updated";
245
+ "reporting.report_run.succeeded": "reporting.report_run.succeeded";
246
+ "reporting.report_run.failed": "reporting.report_run.failed";
247
+ "customer.subscription.created": "customer.subscription.created";
248
+ "customer.subscription.updated": "customer.subscription.updated";
249
+ "customer.subscription.deleted": "customer.subscription.deleted";
250
+ "customer.subscription.trial_will_end": "customer.subscription.trial_will_end";
251
+ "customer.subscription.paused": "customer.subscription.paused";
252
+ "customer.subscription.resumed": "customer.subscription.resumed";
253
+ "invoice.created": "invoice.created";
254
+ "invoice.updated": "invoice.updated";
255
+ "invoice.deleted": "invoice.deleted";
256
+ "invoice.finalized": "invoice.finalized";
257
+ "invoice.paid": "invoice.paid";
258
+ "invoice.payment_failed": "invoice.payment_failed";
259
+ "invoice.payment_action_required": "invoice.payment_action_required";
260
+ "invoice.voided": "invoice.voided";
261
+ "invoice.marked_uncollectible": "invoice.marked_uncollectible";
262
+ "invoice.upcoming": "invoice.upcoming";
263
+ "invoice.sent": "invoice.sent";
264
+ "invoiceitem.created": "invoiceitem.created";
265
+ "invoiceitem.deleted": "invoiceitem.deleted";
266
+ "credit_note.created": "credit_note.created";
267
+ "credit_note.updated": "credit_note.updated";
268
+ "credit_note.voided": "credit_note.voided";
269
+ "test_helpers.test_clock.created": "test_helpers.test_clock.created";
270
+ "test_helpers.test_clock.advancing": "test_helpers.test_clock.advancing";
271
+ "test_helpers.test_clock.ready": "test_helpers.test_clock.ready";
272
+ "test_helpers.test_clock.deleted": "test_helpers.test_clock.deleted";
273
+ "billing.meter.created": "billing.meter.created";
274
+ "billing.meter.updated": "billing.meter.updated";
275
+ "billing.meter.deactivated": "billing.meter.deactivated";
276
+ "billing.meter.reactivated": "billing.meter.reactivated";
277
+ "entitlements.active_entitlement_summary.updated": "entitlements.active_entitlement_summary.updated";
278
+ "billing_portal.configuration.created": "billing_portal.configuration.created";
279
+ "billing_portal.configuration.updated": "billing_portal.configuration.updated";
280
+ "billing_portal.session.created": "billing_portal.session.created";
281
+ "tax.assessment.created": "tax.assessment.created";
282
+ "tax.review_item.created": "tax.review_item.created";
283
+ "tax.review_item.updated": "tax.review_item.updated";
284
+ "webhook_endpoint.test": "webhook_endpoint.test";
285
+ }>;
286
+ webhook_endpoint_id: z.ZodString;
287
+ url: z.ZodString;
288
+ attempts: z.ZodNumber;
289
+ delivered: z.ZodBoolean;
290
+ last_status: z.ZodEnum<{
291
+ pending: "pending";
292
+ failed: "failed";
293
+ delivered: "delivered";
294
+ dead: "dead";
295
+ }>;
296
+ last_error: z.ZodOptional<z.ZodString>;
297
+ next_attempt_at: z.ZodOptional<z.ZodNumber>;
298
+ created: z.ZodNumber;
299
+ updated_at: z.ZodNumber;
300
+ }, z.core.$strict>>;
301
+ has_more: z.ZodBoolean;
302
+ url: z.ZodString;
303
+ }, z.core.$strict>;
304
+ readonly sdk: "webhookDeliveries.list";
305
+ readonly expandable: "webhook_delivery";
306
+ }, {
307
+ readonly operationId: "redeliverWebhookDelivery";
308
+ readonly method: "post";
309
+ readonly path: "/v1/webhook_deliveries/{id}/redeliver";
310
+ readonly tag: "Webhook deliveries";
311
+ readonly summary: "Redeliver a webhook delivery";
312
+ readonly description: "Send the delivery's event to its endpoint again — the SAME stored event, as a NEW delivery, attempted at once; answers that new delivery. Refused while the endpoint is disabled (`webhook_endpoint_disabled`).";
313
+ readonly auth: "service";
314
+ readonly scope: "payments:write";
315
+ readonly idempotent: true;
316
+ readonly params: {
317
+ readonly id: "The webhook delivery.";
318
+ };
319
+ readonly response: z.ZodObject<{
320
+ id: z.ZodString;
321
+ object: z.ZodLiteral<"webhook_delivery">;
322
+ livemode: z.ZodBoolean;
323
+ event_id: z.ZodString;
324
+ event_type: z.ZodEnum<{
325
+ "payment_intent.created": "payment_intent.created";
326
+ "payment_intent.requires_action": "payment_intent.requires_action";
327
+ "payment_intent.processing": "payment_intent.processing";
328
+ "payment_intent.amount_capturable_updated": "payment_intent.amount_capturable_updated";
329
+ "payment_intent.succeeded": "payment_intent.succeeded";
330
+ "payment_intent.payment_failed": "payment_intent.payment_failed";
331
+ "payment_intent.canceled": "payment_intent.canceled";
332
+ "charge.refunded": "charge.refunded";
333
+ "charge.dispute.created": "charge.dispute.created";
334
+ "charge.dispute.updated": "charge.dispute.updated";
335
+ "charge.dispute.closed": "charge.dispute.closed";
336
+ "charge.dispute.funds_withdrawn": "charge.dispute.funds_withdrawn";
337
+ "charge.dispute.funds_reinstated": "charge.dispute.funds_reinstated";
338
+ "refund.created": "refund.created";
339
+ "refund.updated": "refund.updated";
340
+ "refund.failed": "refund.failed";
341
+ "customer.created": "customer.created";
342
+ "customer.updated": "customer.updated";
343
+ "customer.deleted": "customer.deleted";
344
+ "payment_method.attached": "payment_method.attached";
345
+ "payment_method.detached": "payment_method.detached";
346
+ "payment_method.updated": "payment_method.updated";
347
+ "setup_intent.created": "setup_intent.created";
348
+ "setup_intent.requires_action": "setup_intent.requires_action";
349
+ "setup_intent.succeeded": "setup_intent.succeeded";
350
+ "setup_intent.setup_failed": "setup_intent.setup_failed";
351
+ "setup_intent.canceled": "setup_intent.canceled";
352
+ "billing.observation.updated": "billing.observation.updated";
353
+ "connected_account.updated": "connected_account.updated";
354
+ "product.created": "product.created";
355
+ "product.updated": "product.updated";
356
+ "product.deleted": "product.deleted";
357
+ "price.created": "price.created";
358
+ "price.updated": "price.updated";
359
+ "coupon.created": "coupon.created";
360
+ "coupon.updated": "coupon.updated";
361
+ "coupon.deleted": "coupon.deleted";
362
+ "promotion_code.created": "promotion_code.created";
363
+ "promotion_code.updated": "promotion_code.updated";
364
+ "account.updated": "account.updated";
365
+ "application_fee.created": "application_fee.created";
366
+ "application_fee.refunded": "application_fee.refunded";
367
+ "payout.created": "payout.created";
368
+ "payout.updated": "payout.updated";
369
+ "payout.paid": "payout.paid";
370
+ "payout.failed": "payout.failed";
371
+ "payout.canceled": "payout.canceled";
372
+ "balance.available": "balance.available";
373
+ "checkout.session.completed": "checkout.session.completed";
374
+ "checkout.session.expired": "checkout.session.expired";
375
+ "checkout.session.async_payment_succeeded": "checkout.session.async_payment_succeeded";
376
+ "checkout.session.async_payment_failed": "checkout.session.async_payment_failed";
377
+ "payment_link.created": "payment_link.created";
378
+ "payment_link.updated": "payment_link.updated";
379
+ "reporting.report_run.succeeded": "reporting.report_run.succeeded";
380
+ "reporting.report_run.failed": "reporting.report_run.failed";
381
+ "customer.subscription.created": "customer.subscription.created";
382
+ "customer.subscription.updated": "customer.subscription.updated";
383
+ "customer.subscription.deleted": "customer.subscription.deleted";
384
+ "customer.subscription.trial_will_end": "customer.subscription.trial_will_end";
385
+ "customer.subscription.paused": "customer.subscription.paused";
386
+ "customer.subscription.resumed": "customer.subscription.resumed";
387
+ "invoice.created": "invoice.created";
388
+ "invoice.updated": "invoice.updated";
389
+ "invoice.deleted": "invoice.deleted";
390
+ "invoice.finalized": "invoice.finalized";
391
+ "invoice.paid": "invoice.paid";
392
+ "invoice.payment_failed": "invoice.payment_failed";
393
+ "invoice.payment_action_required": "invoice.payment_action_required";
394
+ "invoice.voided": "invoice.voided";
395
+ "invoice.marked_uncollectible": "invoice.marked_uncollectible";
396
+ "invoice.upcoming": "invoice.upcoming";
397
+ "invoice.sent": "invoice.sent";
398
+ "invoiceitem.created": "invoiceitem.created";
399
+ "invoiceitem.deleted": "invoiceitem.deleted";
400
+ "credit_note.created": "credit_note.created";
401
+ "credit_note.updated": "credit_note.updated";
402
+ "credit_note.voided": "credit_note.voided";
403
+ "test_helpers.test_clock.created": "test_helpers.test_clock.created";
404
+ "test_helpers.test_clock.advancing": "test_helpers.test_clock.advancing";
405
+ "test_helpers.test_clock.ready": "test_helpers.test_clock.ready";
406
+ "test_helpers.test_clock.deleted": "test_helpers.test_clock.deleted";
407
+ "billing.meter.created": "billing.meter.created";
408
+ "billing.meter.updated": "billing.meter.updated";
409
+ "billing.meter.deactivated": "billing.meter.deactivated";
410
+ "billing.meter.reactivated": "billing.meter.reactivated";
411
+ "entitlements.active_entitlement_summary.updated": "entitlements.active_entitlement_summary.updated";
412
+ "billing_portal.configuration.created": "billing_portal.configuration.created";
413
+ "billing_portal.configuration.updated": "billing_portal.configuration.updated";
414
+ "billing_portal.session.created": "billing_portal.session.created";
415
+ "tax.assessment.created": "tax.assessment.created";
416
+ "tax.review_item.created": "tax.review_item.created";
417
+ "tax.review_item.updated": "tax.review_item.updated";
418
+ "webhook_endpoint.test": "webhook_endpoint.test";
419
+ }>;
420
+ webhook_endpoint_id: z.ZodString;
421
+ url: z.ZodString;
422
+ attempts: z.ZodNumber;
423
+ delivered: z.ZodBoolean;
424
+ last_status: z.ZodEnum<{
425
+ pending: "pending";
426
+ failed: "failed";
427
+ delivered: "delivered";
428
+ dead: "dead";
429
+ }>;
430
+ last_error: z.ZodOptional<z.ZodString>;
431
+ next_attempt_at: z.ZodOptional<z.ZodNumber>;
432
+ created: z.ZodNumber;
433
+ updated_at: z.ZodNumber;
434
+ }, z.core.$strict>;
435
+ readonly sdk: "webhookDeliveries.redeliver";
436
+ }];