@peable.to/contracts 0.4.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 -137
  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 -134
  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 -171
  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 -165
  315. package/dist/esm/openapi.js +0 -161
  316. package/dist/types/openapi.d.ts +0 -148
@@ -0,0 +1,679 @@
1
+ export * from './customers';
2
+ export * from './paymentMethods';
3
+ /** Customers and their saved payment methods. */
4
+ export declare const coreRoutes: readonly [{
5
+ readonly operationId: "createCustomer";
6
+ readonly method: "post";
7
+ readonly path: "/v1/customers";
8
+ readonly tag: "Customers";
9
+ readonly summary: "Create a customer";
10
+ readonly auth: "service";
11
+ readonly scope: "payments:write";
12
+ readonly idempotent: true;
13
+ readonly body: import("zod").ZodObject<{
14
+ email: import("zod").ZodOptional<import("zod").ZodEmail>;
15
+ name: import("zod").ZodOptional<import("zod").ZodString>;
16
+ phone: import("zod").ZodOptional<import("zod").ZodString>;
17
+ description: import("zod").ZodOptional<import("zod").ZodString>;
18
+ address: import("zod").ZodOptional<import("zod").ZodObject<{
19
+ line1: import("zod").ZodOptional<import("zod").ZodString>;
20
+ line2: import("zod").ZodOptional<import("zod").ZodString>;
21
+ city: import("zod").ZodOptional<import("zod").ZodString>;
22
+ state: import("zod").ZodOptional<import("zod").ZodString>;
23
+ postal_code: import("zod").ZodOptional<import("zod").ZodString>;
24
+ country: import("zod").ZodOptional<import("zod").ZodString>;
25
+ }, import("zod/v4/core").$strict>>;
26
+ shipping: import("zod").ZodOptional<import("zod").ZodObject<{
27
+ name: import("zod").ZodString;
28
+ phone: import("zod").ZodOptional<import("zod").ZodString>;
29
+ address: import("zod").ZodObject<{
30
+ line1: import("zod").ZodOptional<import("zod").ZodString>;
31
+ line2: import("zod").ZodOptional<import("zod").ZodString>;
32
+ city: import("zod").ZodOptional<import("zod").ZodString>;
33
+ state: import("zod").ZodOptional<import("zod").ZodString>;
34
+ postal_code: import("zod").ZodOptional<import("zod").ZodString>;
35
+ country: import("zod").ZodOptional<import("zod").ZodString>;
36
+ }, import("zod/v4/core").$strict>;
37
+ carrier: import("zod").ZodOptional<import("zod").ZodString>;
38
+ tracking_number: import("zod").ZodOptional<import("zod").ZodString>;
39
+ }, import("zod/v4/core").$strict>>;
40
+ invoice_settings: import("zod").ZodOptional<import("zod").ZodObject<{
41
+ default_payment_method: import("zod").ZodOptional<import("zod").ZodString>;
42
+ }, import("zod/v4/core").$strict>>;
43
+ 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>>>>;
44
+ test_clock: import("zod").ZodOptional<import("zod").ZodString>;
45
+ expand: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>]>, import("zod").ZodTransform<string[], string | string[]>>, import("zod").ZodArray<import("zod").ZodString>>>;
46
+ }, import("zod/v4/core").$strict>;
47
+ readonly response: import("zod").ZodObject<{
48
+ id: import("zod").ZodString;
49
+ object: import("zod").ZodLiteral<"customer">;
50
+ livemode: import("zod").ZodBoolean;
51
+ email: import("zod").ZodNullable<import("zod").ZodString>;
52
+ name: import("zod").ZodNullable<import("zod").ZodString>;
53
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
54
+ description: import("zod").ZodNullable<import("zod").ZodString>;
55
+ address: import("zod").ZodNullable<import("zod").ZodObject<{
56
+ line1: import("zod").ZodNullable<import("zod").ZodString>;
57
+ line2: import("zod").ZodNullable<import("zod").ZodString>;
58
+ city: import("zod").ZodNullable<import("zod").ZodString>;
59
+ state: import("zod").ZodNullable<import("zod").ZodString>;
60
+ postal_code: import("zod").ZodNullable<import("zod").ZodString>;
61
+ country: import("zod").ZodNullable<import("zod").ZodString>;
62
+ }, import("zod/v4/core").$strict>>;
63
+ shipping: import("zod").ZodNullable<import("zod").ZodObject<{
64
+ name: import("zod").ZodString;
65
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
66
+ address: import("zod").ZodObject<{
67
+ line1: import("zod").ZodNullable<import("zod").ZodString>;
68
+ line2: import("zod").ZodNullable<import("zod").ZodString>;
69
+ city: import("zod").ZodNullable<import("zod").ZodString>;
70
+ state: import("zod").ZodNullable<import("zod").ZodString>;
71
+ postal_code: import("zod").ZodNullable<import("zod").ZodString>;
72
+ country: import("zod").ZodNullable<import("zod").ZodString>;
73
+ }, import("zod/v4/core").$strict>;
74
+ carrier: import("zod").ZodNullable<import("zod").ZodString>;
75
+ tracking_number: import("zod").ZodNullable<import("zod").ZodString>;
76
+ }, import("zod/v4/core").$strict>>;
77
+ invoice_settings: import("zod").ZodObject<{
78
+ default_payment_method: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"payment_method">, string | import("../..").Ref<"payment_method">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"payment_method">, string | import("../..").Ref<"payment_method">>>>;
79
+ }, import("zod/v4/core").$strict>;
80
+ metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
81
+ balance: import("zod").ZodString;
82
+ currency: import("zod").ZodNullable<import("zod").ZodEnum<{
83
+ FAIR: "FAIR";
84
+ EUR: "EUR";
85
+ USD: "USD";
86
+ GBP: "GBP";
87
+ CHF: "CHF";
88
+ SEK: "SEK";
89
+ NOK: "NOK";
90
+ DKK: "DKK";
91
+ PLN: "PLN";
92
+ CZK: "CZK";
93
+ CAD: "CAD";
94
+ AUD: "AUD";
95
+ JPY: "JPY";
96
+ }>>;
97
+ test_clock: import("zod").ZodNullable<import("zod").ZodString>;
98
+ created: import("zod").ZodNumber;
99
+ }, import("zod/v4/core").$strict>;
100
+ readonly status: 201;
101
+ readonly sdk: "customers.create";
102
+ readonly expandable: "customer";
103
+ }, {
104
+ readonly operationId: "listCustomers";
105
+ readonly method: "get";
106
+ readonly path: "/v1/customers";
107
+ readonly tag: "Customers";
108
+ readonly summary: "List customers";
109
+ readonly description: "Your live customers, newest first. Deleted customers are not listed.";
110
+ readonly auth: "service";
111
+ readonly scope: "payments:read";
112
+ readonly query: import("zod").ZodObject<{
113
+ limit: import("zod").ZodPipe<import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>, import("zod").ZodTransform<number, number | undefined>>;
114
+ starting_after: import("zod").ZodOptional<import("zod").ZodString>;
115
+ ending_before: import("zod").ZodOptional<import("zod").ZodString>;
116
+ created: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>, import("zod").ZodTransform<import("../..").RangeFilter, number>>, import("zod").ZodPipe<import("zod").ZodObject<{
117
+ gt: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
118
+ gte: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
119
+ lt: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
120
+ lte: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
121
+ }, import("zod/v4/core").$strict>, import("zod").ZodTransform<import("../..").RangeFilter, {
122
+ gt?: number | undefined;
123
+ gte?: number | undefined;
124
+ lt?: number | undefined;
125
+ lte?: number | undefined;
126
+ }>>]>>;
127
+ expand: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>]>, import("zod").ZodTransform<string[], string | string[]>>, import("zod").ZodArray<import("zod").ZodString>>>;
128
+ email: import("zod").ZodOptional<import("zod").ZodString>;
129
+ }, import("zod/v4/core").$strict>;
130
+ readonly response: import("zod").ZodObject<{
131
+ object: import("zod").ZodLiteral<"list">;
132
+ data: import("zod").ZodArray<import("zod").ZodObject<{
133
+ id: import("zod").ZodString;
134
+ object: import("zod").ZodLiteral<"customer">;
135
+ livemode: import("zod").ZodBoolean;
136
+ email: import("zod").ZodNullable<import("zod").ZodString>;
137
+ name: import("zod").ZodNullable<import("zod").ZodString>;
138
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
139
+ description: import("zod").ZodNullable<import("zod").ZodString>;
140
+ address: import("zod").ZodNullable<import("zod").ZodObject<{
141
+ line1: import("zod").ZodNullable<import("zod").ZodString>;
142
+ line2: import("zod").ZodNullable<import("zod").ZodString>;
143
+ city: import("zod").ZodNullable<import("zod").ZodString>;
144
+ state: import("zod").ZodNullable<import("zod").ZodString>;
145
+ postal_code: import("zod").ZodNullable<import("zod").ZodString>;
146
+ country: import("zod").ZodNullable<import("zod").ZodString>;
147
+ }, import("zod/v4/core").$strict>>;
148
+ shipping: import("zod").ZodNullable<import("zod").ZodObject<{
149
+ name: import("zod").ZodString;
150
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
151
+ address: import("zod").ZodObject<{
152
+ line1: import("zod").ZodNullable<import("zod").ZodString>;
153
+ line2: import("zod").ZodNullable<import("zod").ZodString>;
154
+ city: import("zod").ZodNullable<import("zod").ZodString>;
155
+ state: import("zod").ZodNullable<import("zod").ZodString>;
156
+ postal_code: import("zod").ZodNullable<import("zod").ZodString>;
157
+ country: import("zod").ZodNullable<import("zod").ZodString>;
158
+ }, import("zod/v4/core").$strict>;
159
+ carrier: import("zod").ZodNullable<import("zod").ZodString>;
160
+ tracking_number: import("zod").ZodNullable<import("zod").ZodString>;
161
+ }, import("zod/v4/core").$strict>>;
162
+ invoice_settings: import("zod").ZodObject<{
163
+ default_payment_method: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"payment_method">, string | import("../..").Ref<"payment_method">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"payment_method">, string | import("../..").Ref<"payment_method">>>>;
164
+ }, import("zod/v4/core").$strict>;
165
+ metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
166
+ balance: import("zod").ZodString;
167
+ currency: import("zod").ZodNullable<import("zod").ZodEnum<{
168
+ FAIR: "FAIR";
169
+ EUR: "EUR";
170
+ USD: "USD";
171
+ GBP: "GBP";
172
+ CHF: "CHF";
173
+ SEK: "SEK";
174
+ NOK: "NOK";
175
+ DKK: "DKK";
176
+ PLN: "PLN";
177
+ CZK: "CZK";
178
+ CAD: "CAD";
179
+ AUD: "AUD";
180
+ JPY: "JPY";
181
+ }>>;
182
+ test_clock: import("zod").ZodNullable<import("zod").ZodString>;
183
+ created: import("zod").ZodNumber;
184
+ }, import("zod/v4/core").$strict>>;
185
+ has_more: import("zod").ZodBoolean;
186
+ url: import("zod").ZodString;
187
+ }, import("zod/v4/core").$strict>;
188
+ readonly sdk: "customers.list";
189
+ readonly expandable: "customer";
190
+ }, {
191
+ readonly operationId: "retrieveCustomer";
192
+ readonly method: "get";
193
+ readonly path: "/v1/customers/{id}";
194
+ readonly tag: "Customers";
195
+ readonly summary: "Retrieve a customer";
196
+ readonly description: "A deleted customer answers `{ id, object: \"customer\", deleted: true }`.";
197
+ readonly auth: "service";
198
+ readonly scope: "payments:read";
199
+ readonly params: {
200
+ readonly id: "The customer (`cus_…`).";
201
+ };
202
+ readonly query: import("zod").ZodObject<{
203
+ expand: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>]>, import("zod").ZodTransform<string[], string | string[]>>, import("zod").ZodArray<import("zod").ZodString>>>;
204
+ }, import("zod/v4/core").$strict>;
205
+ readonly response: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
206
+ id: import("zod").ZodString;
207
+ object: import("zod").ZodLiteral<"customer">;
208
+ livemode: import("zod").ZodBoolean;
209
+ email: import("zod").ZodNullable<import("zod").ZodString>;
210
+ name: import("zod").ZodNullable<import("zod").ZodString>;
211
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
212
+ description: import("zod").ZodNullable<import("zod").ZodString>;
213
+ address: import("zod").ZodNullable<import("zod").ZodObject<{
214
+ line1: import("zod").ZodNullable<import("zod").ZodString>;
215
+ line2: import("zod").ZodNullable<import("zod").ZodString>;
216
+ city: import("zod").ZodNullable<import("zod").ZodString>;
217
+ state: import("zod").ZodNullable<import("zod").ZodString>;
218
+ postal_code: import("zod").ZodNullable<import("zod").ZodString>;
219
+ country: import("zod").ZodNullable<import("zod").ZodString>;
220
+ }, import("zod/v4/core").$strict>>;
221
+ shipping: import("zod").ZodNullable<import("zod").ZodObject<{
222
+ name: import("zod").ZodString;
223
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
224
+ address: import("zod").ZodObject<{
225
+ line1: import("zod").ZodNullable<import("zod").ZodString>;
226
+ line2: import("zod").ZodNullable<import("zod").ZodString>;
227
+ city: import("zod").ZodNullable<import("zod").ZodString>;
228
+ state: import("zod").ZodNullable<import("zod").ZodString>;
229
+ postal_code: import("zod").ZodNullable<import("zod").ZodString>;
230
+ country: import("zod").ZodNullable<import("zod").ZodString>;
231
+ }, import("zod/v4/core").$strict>;
232
+ carrier: import("zod").ZodNullable<import("zod").ZodString>;
233
+ tracking_number: import("zod").ZodNullable<import("zod").ZodString>;
234
+ }, import("zod/v4/core").$strict>>;
235
+ invoice_settings: import("zod").ZodObject<{
236
+ default_payment_method: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"payment_method">, string | import("../..").Ref<"payment_method">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"payment_method">, string | import("../..").Ref<"payment_method">>>>;
237
+ }, import("zod/v4/core").$strict>;
238
+ metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
239
+ balance: import("zod").ZodString;
240
+ currency: import("zod").ZodNullable<import("zod").ZodEnum<{
241
+ FAIR: "FAIR";
242
+ EUR: "EUR";
243
+ USD: "USD";
244
+ GBP: "GBP";
245
+ CHF: "CHF";
246
+ SEK: "SEK";
247
+ NOK: "NOK";
248
+ DKK: "DKK";
249
+ PLN: "PLN";
250
+ CZK: "CZK";
251
+ CAD: "CAD";
252
+ AUD: "AUD";
253
+ JPY: "JPY";
254
+ }>>;
255
+ test_clock: import("zod").ZodNullable<import("zod").ZodString>;
256
+ created: import("zod").ZodNumber;
257
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
258
+ id: import("zod").ZodString;
259
+ object: import("zod").ZodLiteral<"customer">;
260
+ deleted: import("zod").ZodLiteral<true>;
261
+ }, import("zod/v4/core").$strict>]>;
262
+ readonly sdk: "customers.retrieve";
263
+ readonly expandable: "customer";
264
+ }, {
265
+ readonly operationId: "updateCustomer";
266
+ readonly method: "post";
267
+ readonly path: "/v1/customers/{id}";
268
+ readonly tag: "Customers";
269
+ readonly summary: "Update a customer";
270
+ readonly description: "A field sent as `\"\"` is cleared; `metadata` is a patch.";
271
+ readonly auth: "service";
272
+ readonly scope: "payments:write";
273
+ readonly idempotent: true;
274
+ readonly params: {
275
+ readonly id: "The customer (`cus_…`).";
276
+ };
277
+ readonly body: import("zod").ZodObject<{
278
+ email: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodEmail, import("zod").ZodLiteral<"">]>>;
279
+ name: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"">]>>;
280
+ phone: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"">]>>;
281
+ description: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"">]>>;
282
+ address: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
283
+ line1: import("zod").ZodOptional<import("zod").ZodString>;
284
+ line2: import("zod").ZodOptional<import("zod").ZodString>;
285
+ city: import("zod").ZodOptional<import("zod").ZodString>;
286
+ state: import("zod").ZodOptional<import("zod").ZodString>;
287
+ postal_code: import("zod").ZodOptional<import("zod").ZodString>;
288
+ country: import("zod").ZodOptional<import("zod").ZodString>;
289
+ }, import("zod/v4/core").$strict>, import("zod").ZodLiteral<"">]>>;
290
+ shipping: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
291
+ name: import("zod").ZodString;
292
+ phone: import("zod").ZodOptional<import("zod").ZodString>;
293
+ address: import("zod").ZodObject<{
294
+ line1: import("zod").ZodOptional<import("zod").ZodString>;
295
+ line2: import("zod").ZodOptional<import("zod").ZodString>;
296
+ city: import("zod").ZodOptional<import("zod").ZodString>;
297
+ state: import("zod").ZodOptional<import("zod").ZodString>;
298
+ postal_code: import("zod").ZodOptional<import("zod").ZodString>;
299
+ country: import("zod").ZodOptional<import("zod").ZodString>;
300
+ }, import("zod/v4/core").$strict>;
301
+ carrier: import("zod").ZodOptional<import("zod").ZodString>;
302
+ tracking_number: import("zod").ZodOptional<import("zod").ZodString>;
303
+ }, import("zod/v4/core").$strict>, import("zod").ZodLiteral<"">]>>;
304
+ invoice_settings: import("zod").ZodOptional<import("zod").ZodObject<{
305
+ default_payment_method: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"">]>>;
306
+ }, import("zod/v4/core").$strict>>;
307
+ metadata: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>, import("zod").ZodTransform<import("../..").MetadataPatch, Record<string, string>>>>;
308
+ expand: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>]>, import("zod").ZodTransform<string[], string | string[]>>, import("zod").ZodArray<import("zod").ZodString>>>;
309
+ }, import("zod/v4/core").$strict>;
310
+ readonly response: import("zod").ZodObject<{
311
+ id: import("zod").ZodString;
312
+ object: import("zod").ZodLiteral<"customer">;
313
+ livemode: import("zod").ZodBoolean;
314
+ email: import("zod").ZodNullable<import("zod").ZodString>;
315
+ name: import("zod").ZodNullable<import("zod").ZodString>;
316
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
317
+ description: import("zod").ZodNullable<import("zod").ZodString>;
318
+ address: import("zod").ZodNullable<import("zod").ZodObject<{
319
+ line1: import("zod").ZodNullable<import("zod").ZodString>;
320
+ line2: import("zod").ZodNullable<import("zod").ZodString>;
321
+ city: import("zod").ZodNullable<import("zod").ZodString>;
322
+ state: import("zod").ZodNullable<import("zod").ZodString>;
323
+ postal_code: import("zod").ZodNullable<import("zod").ZodString>;
324
+ country: import("zod").ZodNullable<import("zod").ZodString>;
325
+ }, import("zod/v4/core").$strict>>;
326
+ shipping: import("zod").ZodNullable<import("zod").ZodObject<{
327
+ name: import("zod").ZodString;
328
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
329
+ address: import("zod").ZodObject<{
330
+ line1: import("zod").ZodNullable<import("zod").ZodString>;
331
+ line2: import("zod").ZodNullable<import("zod").ZodString>;
332
+ city: import("zod").ZodNullable<import("zod").ZodString>;
333
+ state: import("zod").ZodNullable<import("zod").ZodString>;
334
+ postal_code: import("zod").ZodNullable<import("zod").ZodString>;
335
+ country: import("zod").ZodNullable<import("zod").ZodString>;
336
+ }, import("zod/v4/core").$strict>;
337
+ carrier: import("zod").ZodNullable<import("zod").ZodString>;
338
+ tracking_number: import("zod").ZodNullable<import("zod").ZodString>;
339
+ }, import("zod/v4/core").$strict>>;
340
+ invoice_settings: import("zod").ZodObject<{
341
+ default_payment_method: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"payment_method">, string | import("../..").Ref<"payment_method">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"payment_method">, string | import("../..").Ref<"payment_method">>>>;
342
+ }, import("zod/v4/core").$strict>;
343
+ metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
344
+ balance: import("zod").ZodString;
345
+ currency: import("zod").ZodNullable<import("zod").ZodEnum<{
346
+ FAIR: "FAIR";
347
+ EUR: "EUR";
348
+ USD: "USD";
349
+ GBP: "GBP";
350
+ CHF: "CHF";
351
+ SEK: "SEK";
352
+ NOK: "NOK";
353
+ DKK: "DKK";
354
+ PLN: "PLN";
355
+ CZK: "CZK";
356
+ CAD: "CAD";
357
+ AUD: "AUD";
358
+ JPY: "JPY";
359
+ }>>;
360
+ test_clock: import("zod").ZodNullable<import("zod").ZodString>;
361
+ created: import("zod").ZodNumber;
362
+ }, import("zod/v4/core").$strict>;
363
+ readonly sdk: "customers.update";
364
+ readonly expandable: "customer";
365
+ }, {
366
+ readonly operationId: "deleteCustomer";
367
+ readonly method: "delete";
368
+ readonly path: "/v1/customers/{id}";
369
+ readonly tag: "Customers";
370
+ readonly summary: "Delete a customer";
371
+ readonly description: "A tombstone, with every saved payment method of the customer detached. Deleting a deleted customer answers the tombstone again.";
372
+ readonly auth: "service";
373
+ readonly scope: "payments:write";
374
+ readonly params: {
375
+ readonly id: "The customer (`cus_…`).";
376
+ };
377
+ readonly response: import("zod").ZodObject<{
378
+ id: import("zod").ZodString;
379
+ object: import("zod").ZodLiteral<"customer">;
380
+ deleted: import("zod").ZodLiteral<true>;
381
+ }, import("zod/v4/core").$strict>;
382
+ readonly sdk: "customers.del";
383
+ }, {
384
+ readonly operationId: "searchCustomers";
385
+ readonly method: "get";
386
+ readonly path: "/v1/customers/search";
387
+ readonly tag: "Customers";
388
+ readonly summary: "Search customers";
389
+ readonly description: "Stripe's query language over `email`, `name`, `phone`, `created` and `metadata['key']`.";
390
+ readonly auth: "service";
391
+ readonly scope: "payments:read";
392
+ readonly query: import("zod").ZodObject<{
393
+ query: import("zod").ZodString;
394
+ limit: import("zod").ZodPipe<import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>, import("zod").ZodTransform<number, number | undefined>>;
395
+ page: import("zod").ZodOptional<import("zod").ZodString>;
396
+ expand: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>]>, import("zod").ZodTransform<string[], string | string[]>>, import("zod").ZodArray<import("zod").ZodString>>>;
397
+ }, import("zod/v4/core").$strict>;
398
+ readonly response: import("zod").ZodObject<{
399
+ object: import("zod").ZodLiteral<"search_result">;
400
+ data: import("zod").ZodArray<import("zod").ZodObject<{
401
+ id: import("zod").ZodString;
402
+ object: import("zod").ZodLiteral<"customer">;
403
+ livemode: import("zod").ZodBoolean;
404
+ email: import("zod").ZodNullable<import("zod").ZodString>;
405
+ name: import("zod").ZodNullable<import("zod").ZodString>;
406
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
407
+ description: import("zod").ZodNullable<import("zod").ZodString>;
408
+ address: import("zod").ZodNullable<import("zod").ZodObject<{
409
+ line1: import("zod").ZodNullable<import("zod").ZodString>;
410
+ line2: import("zod").ZodNullable<import("zod").ZodString>;
411
+ city: import("zod").ZodNullable<import("zod").ZodString>;
412
+ state: import("zod").ZodNullable<import("zod").ZodString>;
413
+ postal_code: import("zod").ZodNullable<import("zod").ZodString>;
414
+ country: import("zod").ZodNullable<import("zod").ZodString>;
415
+ }, import("zod/v4/core").$strict>>;
416
+ shipping: import("zod").ZodNullable<import("zod").ZodObject<{
417
+ name: import("zod").ZodString;
418
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
419
+ address: import("zod").ZodObject<{
420
+ line1: import("zod").ZodNullable<import("zod").ZodString>;
421
+ line2: import("zod").ZodNullable<import("zod").ZodString>;
422
+ city: import("zod").ZodNullable<import("zod").ZodString>;
423
+ state: import("zod").ZodNullable<import("zod").ZodString>;
424
+ postal_code: import("zod").ZodNullable<import("zod").ZodString>;
425
+ country: import("zod").ZodNullable<import("zod").ZodString>;
426
+ }, import("zod/v4/core").$strict>;
427
+ carrier: import("zod").ZodNullable<import("zod").ZodString>;
428
+ tracking_number: import("zod").ZodNullable<import("zod").ZodString>;
429
+ }, import("zod/v4/core").$strict>>;
430
+ invoice_settings: import("zod").ZodObject<{
431
+ default_payment_method: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"payment_method">, string | import("../..").Ref<"payment_method">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"payment_method">, string | import("../..").Ref<"payment_method">>>>;
432
+ }, import("zod/v4/core").$strict>;
433
+ metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
434
+ balance: import("zod").ZodString;
435
+ currency: import("zod").ZodNullable<import("zod").ZodEnum<{
436
+ FAIR: "FAIR";
437
+ EUR: "EUR";
438
+ USD: "USD";
439
+ GBP: "GBP";
440
+ CHF: "CHF";
441
+ SEK: "SEK";
442
+ NOK: "NOK";
443
+ DKK: "DKK";
444
+ PLN: "PLN";
445
+ CZK: "CZK";
446
+ CAD: "CAD";
447
+ AUD: "AUD";
448
+ JPY: "JPY";
449
+ }>>;
450
+ test_clock: import("zod").ZodNullable<import("zod").ZodString>;
451
+ created: import("zod").ZodNumber;
452
+ }, import("zod/v4/core").$strict>>;
453
+ has_more: import("zod").ZodBoolean;
454
+ next_page: import("zod").ZodNullable<import("zod").ZodString>;
455
+ url: import("zod").ZodString;
456
+ total_count: import("zod").ZodOptional<import("zod").ZodNumber>;
457
+ }, import("zod/v4/core").$strict>;
458
+ readonly sdk: "customers.search";
459
+ readonly expandable: "customer";
460
+ }, {
461
+ readonly operationId: "listPaymentMethods";
462
+ readonly method: "get";
463
+ readonly path: "/v1/payment_methods";
464
+ readonly tag: "Payment methods";
465
+ readonly summary: "List a customer's payment methods";
466
+ readonly auth: "service";
467
+ readonly scope: "payments:read";
468
+ readonly query: import("zod").ZodObject<{
469
+ limit: import("zod").ZodPipe<import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>, import("zod").ZodTransform<number, number | undefined>>;
470
+ starting_after: import("zod").ZodOptional<import("zod").ZodString>;
471
+ ending_before: import("zod").ZodOptional<import("zod").ZodString>;
472
+ created: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>, import("zod").ZodTransform<import("../..").RangeFilter, number>>, import("zod").ZodPipe<import("zod").ZodObject<{
473
+ gt: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
474
+ gte: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
475
+ lt: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
476
+ lte: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodString]>, import("zod").ZodTransform<number, string | number>>, import("zod").ZodNumber>>;
477
+ }, import("zod/v4/core").$strict>, import("zod").ZodTransform<import("../..").RangeFilter, {
478
+ gt?: number | undefined;
479
+ gte?: number | undefined;
480
+ lt?: number | undefined;
481
+ lte?: number | undefined;
482
+ }>>]>>;
483
+ expand: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>]>, import("zod").ZodTransform<string[], string | string[]>>, import("zod").ZodArray<import("zod").ZodString>>>;
484
+ customer: import("zod").ZodString;
485
+ type: import("zod").ZodOptional<import("zod").ZodLiteral<"card">>;
486
+ }, import("zod/v4/core").$strict>;
487
+ readonly response: import("zod").ZodObject<{
488
+ object: import("zod").ZodLiteral<"list">;
489
+ data: import("zod").ZodArray<import("zod").ZodObject<{
490
+ id: import("zod").ZodString;
491
+ object: import("zod").ZodLiteral<"payment_method">;
492
+ livemode: import("zod").ZodBoolean;
493
+ type: import("zod").ZodLiteral<"card">;
494
+ card: import("zod").ZodObject<{
495
+ brand: import("zod").ZodNullable<import("zod").ZodString>;
496
+ last4: import("zod").ZodNullable<import("zod").ZodString>;
497
+ exp_month: import("zod").ZodNullable<import("zod").ZodNumber>;
498
+ exp_year: import("zod").ZodNullable<import("zod").ZodNumber>;
499
+ country: import("zod").ZodNullable<import("zod").ZodString>;
500
+ funding: import("zod").ZodNullable<import("zod").ZodString>;
501
+ }, import("zod/v4/core").$strict>;
502
+ billing_details: import("zod").ZodObject<{
503
+ address: import("zod").ZodNullable<import("zod").ZodObject<{
504
+ line1: import("zod").ZodNullable<import("zod").ZodString>;
505
+ line2: import("zod").ZodNullable<import("zod").ZodString>;
506
+ city: import("zod").ZodNullable<import("zod").ZodString>;
507
+ state: import("zod").ZodNullable<import("zod").ZodString>;
508
+ postal_code: import("zod").ZodNullable<import("zod").ZodString>;
509
+ country: import("zod").ZodNullable<import("zod").ZodString>;
510
+ }, import("zod/v4/core").$strict>>;
511
+ email: import("zod").ZodNullable<import("zod").ZodString>;
512
+ name: import("zod").ZodNullable<import("zod").ZodString>;
513
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
514
+ }, import("zod/v4/core").$strict>;
515
+ customer: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">>>>;
516
+ metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
517
+ created: import("zod").ZodNumber;
518
+ }, import("zod/v4/core").$strict>>;
519
+ has_more: import("zod").ZodBoolean;
520
+ url: import("zod").ZodString;
521
+ }, import("zod/v4/core").$strict>;
522
+ readonly sdk: "paymentMethods.list";
523
+ readonly expandable: "payment_method";
524
+ }, {
525
+ readonly operationId: "retrievePaymentMethod";
526
+ readonly method: "get";
527
+ readonly path: "/v1/payment_methods/{id}";
528
+ readonly tag: "Payment methods";
529
+ readonly summary: "Retrieve a payment method";
530
+ readonly auth: "service";
531
+ readonly scope: "payments:read";
532
+ readonly params: {
533
+ readonly id: "The payment method (`pm_…`).";
534
+ };
535
+ readonly query: import("zod").ZodObject<{
536
+ expand: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>]>, import("zod").ZodTransform<string[], string | string[]>>, import("zod").ZodArray<import("zod").ZodString>>>;
537
+ }, import("zod/v4/core").$strict>;
538
+ readonly response: import("zod").ZodObject<{
539
+ id: import("zod").ZodString;
540
+ object: import("zod").ZodLiteral<"payment_method">;
541
+ livemode: import("zod").ZodBoolean;
542
+ type: import("zod").ZodLiteral<"card">;
543
+ card: import("zod").ZodObject<{
544
+ brand: import("zod").ZodNullable<import("zod").ZodString>;
545
+ last4: import("zod").ZodNullable<import("zod").ZodString>;
546
+ exp_month: import("zod").ZodNullable<import("zod").ZodNumber>;
547
+ exp_year: import("zod").ZodNullable<import("zod").ZodNumber>;
548
+ country: import("zod").ZodNullable<import("zod").ZodString>;
549
+ funding: import("zod").ZodNullable<import("zod").ZodString>;
550
+ }, import("zod/v4/core").$strict>;
551
+ billing_details: import("zod").ZodObject<{
552
+ address: import("zod").ZodNullable<import("zod").ZodObject<{
553
+ line1: import("zod").ZodNullable<import("zod").ZodString>;
554
+ line2: import("zod").ZodNullable<import("zod").ZodString>;
555
+ city: import("zod").ZodNullable<import("zod").ZodString>;
556
+ state: import("zod").ZodNullable<import("zod").ZodString>;
557
+ postal_code: import("zod").ZodNullable<import("zod").ZodString>;
558
+ country: import("zod").ZodNullable<import("zod").ZodString>;
559
+ }, import("zod/v4/core").$strict>>;
560
+ email: import("zod").ZodNullable<import("zod").ZodString>;
561
+ name: import("zod").ZodNullable<import("zod").ZodString>;
562
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
563
+ }, import("zod/v4/core").$strict>;
564
+ customer: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">>>>;
565
+ metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
566
+ created: import("zod").ZodNumber;
567
+ }, import("zod/v4/core").$strict>;
568
+ readonly sdk: "paymentMethods.retrieve";
569
+ readonly expandable: "payment_method";
570
+ }, {
571
+ readonly operationId: "updatePaymentMethod";
572
+ readonly method: "post";
573
+ readonly path: "/v1/payment_methods/{id}";
574
+ readonly tag: "Payment methods";
575
+ readonly summary: "Update a payment method";
576
+ readonly auth: "service";
577
+ readonly scope: "payments:write";
578
+ readonly idempotent: true;
579
+ readonly params: {
580
+ readonly id: "The payment method (`pm_…`).";
581
+ };
582
+ readonly body: import("zod").ZodObject<{
583
+ billing_details: import("zod").ZodOptional<import("zod").ZodObject<{
584
+ address: import("zod").ZodOptional<import("zod").ZodObject<{
585
+ line1: import("zod").ZodOptional<import("zod").ZodString>;
586
+ line2: import("zod").ZodOptional<import("zod").ZodString>;
587
+ city: import("zod").ZodOptional<import("zod").ZodString>;
588
+ state: import("zod").ZodOptional<import("zod").ZodString>;
589
+ postal_code: import("zod").ZodOptional<import("zod").ZodString>;
590
+ country: import("zod").ZodOptional<import("zod").ZodString>;
591
+ }, import("zod/v4/core").$strict>>;
592
+ email: import("zod").ZodOptional<import("zod").ZodEmail>;
593
+ name: import("zod").ZodOptional<import("zod").ZodString>;
594
+ phone: import("zod").ZodOptional<import("zod").ZodString>;
595
+ }, import("zod/v4/core").$strict>>;
596
+ metadata: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>, import("zod").ZodTransform<import("../..").MetadataPatch, Record<string, string>>>>;
597
+ expand: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>]>, import("zod").ZodTransform<string[], string | string[]>>, import("zod").ZodArray<import("zod").ZodString>>>;
598
+ }, import("zod/v4/core").$strict>;
599
+ readonly response: import("zod").ZodObject<{
600
+ id: import("zod").ZodString;
601
+ object: import("zod").ZodLiteral<"payment_method">;
602
+ livemode: import("zod").ZodBoolean;
603
+ type: import("zod").ZodLiteral<"card">;
604
+ card: import("zod").ZodObject<{
605
+ brand: import("zod").ZodNullable<import("zod").ZodString>;
606
+ last4: import("zod").ZodNullable<import("zod").ZodString>;
607
+ exp_month: import("zod").ZodNullable<import("zod").ZodNumber>;
608
+ exp_year: import("zod").ZodNullable<import("zod").ZodNumber>;
609
+ country: import("zod").ZodNullable<import("zod").ZodString>;
610
+ funding: import("zod").ZodNullable<import("zod").ZodString>;
611
+ }, import("zod/v4/core").$strict>;
612
+ billing_details: import("zod").ZodObject<{
613
+ address: import("zod").ZodNullable<import("zod").ZodObject<{
614
+ line1: import("zod").ZodNullable<import("zod").ZodString>;
615
+ line2: import("zod").ZodNullable<import("zod").ZodString>;
616
+ city: import("zod").ZodNullable<import("zod").ZodString>;
617
+ state: import("zod").ZodNullable<import("zod").ZodString>;
618
+ postal_code: import("zod").ZodNullable<import("zod").ZodString>;
619
+ country: import("zod").ZodNullable<import("zod").ZodString>;
620
+ }, import("zod/v4/core").$strict>>;
621
+ email: import("zod").ZodNullable<import("zod").ZodString>;
622
+ name: import("zod").ZodNullable<import("zod").ZodString>;
623
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
624
+ }, import("zod/v4/core").$strict>;
625
+ customer: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">>>>;
626
+ metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
627
+ created: import("zod").ZodNumber;
628
+ }, import("zod/v4/core").$strict>;
629
+ readonly sdk: "paymentMethods.update";
630
+ readonly expandable: "payment_method";
631
+ }, {
632
+ readonly operationId: "detachPaymentMethod";
633
+ readonly method: "post";
634
+ readonly path: "/v1/payment_methods/{id}/detach";
635
+ readonly tag: "Payment methods";
636
+ readonly summary: "Detach a payment method";
637
+ readonly description: "Permanently. A second detach answers the detached method.";
638
+ readonly auth: "service";
639
+ readonly scope: "payments:write";
640
+ readonly idempotent: true;
641
+ readonly params: {
642
+ readonly id: "The payment method (`pm_…`).";
643
+ };
644
+ readonly body: import("zod").ZodObject<{
645
+ expand: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>]>, import("zod").ZodTransform<string[], string | string[]>>, import("zod").ZodArray<import("zod").ZodString>>>;
646
+ }, import("zod/v4/core").$strict>;
647
+ readonly response: import("zod").ZodObject<{
648
+ id: import("zod").ZodString;
649
+ object: import("zod").ZodLiteral<"payment_method">;
650
+ livemode: import("zod").ZodBoolean;
651
+ type: import("zod").ZodLiteral<"card">;
652
+ card: import("zod").ZodObject<{
653
+ brand: import("zod").ZodNullable<import("zod").ZodString>;
654
+ last4: import("zod").ZodNullable<import("zod").ZodString>;
655
+ exp_month: import("zod").ZodNullable<import("zod").ZodNumber>;
656
+ exp_year: import("zod").ZodNullable<import("zod").ZodNumber>;
657
+ country: import("zod").ZodNullable<import("zod").ZodString>;
658
+ funding: import("zod").ZodNullable<import("zod").ZodString>;
659
+ }, import("zod/v4/core").$strict>;
660
+ billing_details: import("zod").ZodObject<{
661
+ address: import("zod").ZodNullable<import("zod").ZodObject<{
662
+ line1: import("zod").ZodNullable<import("zod").ZodString>;
663
+ line2: import("zod").ZodNullable<import("zod").ZodString>;
664
+ city: import("zod").ZodNullable<import("zod").ZodString>;
665
+ state: import("zod").ZodNullable<import("zod").ZodString>;
666
+ postal_code: import("zod").ZodNullable<import("zod").ZodString>;
667
+ country: import("zod").ZodNullable<import("zod").ZodString>;
668
+ }, import("zod/v4/core").$strict>>;
669
+ email: import("zod").ZodNullable<import("zod").ZodString>;
670
+ name: import("zod").ZodNullable<import("zod").ZodString>;
671
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
672
+ }, import("zod/v4/core").$strict>;
673
+ customer: import("zod").ZodNullable<import("zod").ZodType<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">, import("zod/v4/core").$ZodTypeInternals<string | import("../..").Ref<"customer">, string | import("../..").Ref<"customer">>>>;
674
+ metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
675
+ created: import("zod").ZodNumber;
676
+ }, import("zod/v4/core").$strict>;
677
+ readonly sdk: "paymentMethods.detach";
678
+ readonly expandable: "payment_method";
679
+ }];