@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,270 @@
1
+ import { z } from 'zod';
2
+ import { type Expand } from '../../common/objects';
3
+ /** No authority integration confirms anything yet: every declaration is `unverified`. */
4
+ export declare const taxDeclarationVerificationSchema: z.ZodObject<{
5
+ status: z.ZodLiteral<"unverified">;
6
+ reason: z.ZodLiteral<"no_authority_integration">;
7
+ }, z.core.$strict>;
8
+ /**
9
+ * A declared registration status (`taxrd_…`): where the business stands with a
10
+ * tax authority, IN ITS OWN WORDS. Storing one is NOT registration with a
11
+ * government, and it never makes Peable collect: collection needs a Peable Tax
12
+ * registration (`taxreg_…`) the owner approved.
13
+ */
14
+ export declare const taxRegistrationDeclarationSchema: z.ZodObject<{
15
+ object: z.ZodLiteral<"tax.registration_declaration">;
16
+ id: z.ZodString;
17
+ livemode: z.ZodBoolean;
18
+ country: z.ZodString;
19
+ state: z.ZodNullable<z.ZodString>;
20
+ scheme: z.ZodNullable<z.ZodEnum<{
21
+ standard: "standard";
22
+ simplified: "simplified";
23
+ eu_oss_union: "eu_oss_union";
24
+ eu_oss_non_union: "eu_oss_non_union";
25
+ us_state_sales_tax: "us_state_sales_tax";
26
+ ca_provincial: "ca_provincial";
27
+ }>>;
28
+ status: z.ZodEnum<{
29
+ unknown: "unknown";
30
+ ended: "ended";
31
+ not_registered: "not_registered";
32
+ application_pending: "application_pending";
33
+ registered: "registered";
34
+ rejected: "rejected";
35
+ }>;
36
+ effective_from: z.ZodNullable<z.ZodNumber>;
37
+ effective_to: z.ZodNullable<z.ZodNumber>;
38
+ filing_frequency: z.ZodEnum<{
39
+ unknown: "unknown";
40
+ monthly: "monthly";
41
+ quarterly: "quarterly";
42
+ annual: "annual";
43
+ }>;
44
+ collection_registration: z.ZodNullable<z.ZodString>;
45
+ verification: z.ZodObject<{
46
+ status: z.ZodLiteral<"unverified">;
47
+ reason: z.ZodLiteral<"no_authority_integration">;
48
+ }, z.core.$strict>;
49
+ note: z.ZodNullable<z.ZodString>;
50
+ metadata: z.ZodRecord<z.ZodString, z.ZodString>;
51
+ created: z.ZodNumber;
52
+ updated: z.ZodNumber;
53
+ }, z.core.$strict>;
54
+ export type TaxRegistrationDeclaration = Expand<z.output<typeof taxRegistrationDeclarationSchema>>;
55
+ declare module '../../common/objects' {
56
+ interface ObjectMap {
57
+ 'tax.registration_declaration': TaxRegistrationDeclaration;
58
+ }
59
+ }
60
+ /** Orbit's new declaration (the owner's). */
61
+ export declare const createTaxRegistrationDeclarationParams: z.ZodObject<{
62
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodString>, z.ZodTransform<Record<string, string>, Record<string, string>>>>;
63
+ scheme: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
64
+ standard: "standard";
65
+ simplified: "simplified";
66
+ eu_oss_union: "eu_oss_union";
67
+ eu_oss_non_union: "eu_oss_non_union";
68
+ us_state_sales_tax: "us_state_sales_tax";
69
+ ca_provincial: "ca_provincial";
70
+ }>>>;
71
+ status: z.ZodEnum<{
72
+ unknown: "unknown";
73
+ ended: "ended";
74
+ not_registered: "not_registered";
75
+ application_pending: "application_pending";
76
+ registered: "registered";
77
+ rejected: "rejected";
78
+ }>;
79
+ effective_from: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
80
+ effective_to: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
81
+ filing_frequency: z.ZodOptional<z.ZodEnum<{
82
+ unknown: "unknown";
83
+ monthly: "monthly";
84
+ quarterly: "quarterly";
85
+ annual: "annual";
86
+ }>>;
87
+ collection_registration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
88
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
89
+ country: z.ZodString;
90
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
+ }, z.core.$strict>;
92
+ export type CreateTaxRegistrationDeclarationParams = z.input<typeof createTaxRegistrationDeclarationParams>;
93
+ /** Orbit's update (the owner's): the place is fixed; `metadata` is a patch. */
94
+ export declare const updateTaxRegistrationDeclarationParams: z.ZodObject<{
95
+ status: z.ZodOptional<z.ZodEnum<{
96
+ unknown: "unknown";
97
+ ended: "ended";
98
+ not_registered: "not_registered";
99
+ application_pending: "application_pending";
100
+ registered: "registered";
101
+ rejected: "rejected";
102
+ }>>;
103
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodString>, z.ZodTransform<import("../..").MetadataPatch, Record<string, string>>>>;
104
+ scheme: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
105
+ standard: "standard";
106
+ simplified: "simplified";
107
+ eu_oss_union: "eu_oss_union";
108
+ eu_oss_non_union: "eu_oss_non_union";
109
+ us_state_sales_tax: "us_state_sales_tax";
110
+ ca_provincial: "ca_provincial";
111
+ }>>>;
112
+ effective_from: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
113
+ effective_to: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
114
+ filing_frequency: z.ZodOptional<z.ZodEnum<{
115
+ unknown: "unknown";
116
+ monthly: "monthly";
117
+ quarterly: "quarterly";
118
+ annual: "annual";
119
+ }>>;
120
+ collection_registration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
121
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
122
+ }, z.core.$strict>;
123
+ export type UpdateTaxRegistrationDeclarationParams = z.input<typeof updateTaxRegistrationDeclarationParams>;
124
+ export declare const listTaxRegistrationDeclarationsQuery: z.ZodObject<{
125
+ 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>>;
126
+ starting_after: z.ZodOptional<z.ZodString>;
127
+ ending_before: z.ZodOptional<z.ZodString>;
128
+ 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<{
129
+ gt: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>;
130
+ gte: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>;
131
+ lt: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>;
132
+ lte: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>;
133
+ }, z.core.$strict>, z.ZodTransform<import("../..").RangeFilter, {
134
+ gt?: number | undefined;
135
+ gte?: number | undefined;
136
+ lt?: number | undefined;
137
+ lte?: number | undefined;
138
+ }>>]>>;
139
+ 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>>>;
140
+ }, z.core.$strict>;
141
+ export type ListTaxRegistrationDeclarationsParams = z.input<typeof listTaxRegistrationDeclarationsQuery>;
142
+ export declare const taxRegistrationDeclarationRoutes: readonly [{
143
+ readonly operationId: "listTaxRegistrationDeclarations";
144
+ readonly method: "get";
145
+ readonly path: "/v1/tax/registration_declarations";
146
+ readonly tag: "Tax compliance";
147
+ readonly summary: "List registration declarations";
148
+ readonly auth: "service";
149
+ readonly scope: "payments:read";
150
+ readonly query: z.ZodObject<{
151
+ 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>>;
152
+ starting_after: z.ZodOptional<z.ZodString>;
153
+ ending_before: z.ZodOptional<z.ZodString>;
154
+ 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<{
155
+ gt: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>;
156
+ gte: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>;
157
+ lt: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>;
158
+ lte: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>;
159
+ }, z.core.$strict>, z.ZodTransform<import("../..").RangeFilter, {
160
+ gt?: number | undefined;
161
+ gte?: number | undefined;
162
+ lt?: number | undefined;
163
+ lte?: number | undefined;
164
+ }>>]>>;
165
+ 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>>>;
166
+ }, z.core.$strict>;
167
+ readonly response: z.ZodObject<{
168
+ object: z.ZodLiteral<"list">;
169
+ data: z.ZodArray<z.ZodObject<{
170
+ object: z.ZodLiteral<"tax.registration_declaration">;
171
+ id: z.ZodString;
172
+ livemode: z.ZodBoolean;
173
+ country: z.ZodString;
174
+ state: z.ZodNullable<z.ZodString>;
175
+ scheme: z.ZodNullable<z.ZodEnum<{
176
+ standard: "standard";
177
+ simplified: "simplified";
178
+ eu_oss_union: "eu_oss_union";
179
+ eu_oss_non_union: "eu_oss_non_union";
180
+ us_state_sales_tax: "us_state_sales_tax";
181
+ ca_provincial: "ca_provincial";
182
+ }>>;
183
+ status: z.ZodEnum<{
184
+ unknown: "unknown";
185
+ ended: "ended";
186
+ not_registered: "not_registered";
187
+ application_pending: "application_pending";
188
+ registered: "registered";
189
+ rejected: "rejected";
190
+ }>;
191
+ effective_from: z.ZodNullable<z.ZodNumber>;
192
+ effective_to: z.ZodNullable<z.ZodNumber>;
193
+ filing_frequency: z.ZodEnum<{
194
+ unknown: "unknown";
195
+ monthly: "monthly";
196
+ quarterly: "quarterly";
197
+ annual: "annual";
198
+ }>;
199
+ collection_registration: z.ZodNullable<z.ZodString>;
200
+ verification: z.ZodObject<{
201
+ status: z.ZodLiteral<"unverified">;
202
+ reason: z.ZodLiteral<"no_authority_integration">;
203
+ }, z.core.$strict>;
204
+ note: z.ZodNullable<z.ZodString>;
205
+ metadata: z.ZodRecord<z.ZodString, z.ZodString>;
206
+ created: z.ZodNumber;
207
+ updated: z.ZodNumber;
208
+ }, z.core.$strict>>;
209
+ has_more: z.ZodBoolean;
210
+ url: z.ZodString;
211
+ }, z.core.$strict>;
212
+ readonly sdk: "tax.compliance.listRegistrationDeclarations";
213
+ readonly expandable: "tax.registration_declaration";
214
+ }, {
215
+ readonly operationId: "retrieveTaxRegistrationDeclaration";
216
+ readonly method: "get";
217
+ readonly path: "/v1/tax/registration_declarations/{id}";
218
+ readonly tag: "Tax compliance";
219
+ readonly summary: "Retrieve a registration declaration";
220
+ readonly auth: "service";
221
+ readonly scope: "payments:read";
222
+ readonly params: {
223
+ readonly id: "The declaration (`taxrd_…`).";
224
+ };
225
+ readonly query: z.ZodObject<{
226
+ 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>>>;
227
+ }, z.core.$strict>;
228
+ readonly response: z.ZodObject<{
229
+ object: z.ZodLiteral<"tax.registration_declaration">;
230
+ id: z.ZodString;
231
+ livemode: z.ZodBoolean;
232
+ country: z.ZodString;
233
+ state: z.ZodNullable<z.ZodString>;
234
+ scheme: z.ZodNullable<z.ZodEnum<{
235
+ standard: "standard";
236
+ simplified: "simplified";
237
+ eu_oss_union: "eu_oss_union";
238
+ eu_oss_non_union: "eu_oss_non_union";
239
+ us_state_sales_tax: "us_state_sales_tax";
240
+ ca_provincial: "ca_provincial";
241
+ }>>;
242
+ status: z.ZodEnum<{
243
+ unknown: "unknown";
244
+ ended: "ended";
245
+ not_registered: "not_registered";
246
+ application_pending: "application_pending";
247
+ registered: "registered";
248
+ rejected: "rejected";
249
+ }>;
250
+ effective_from: z.ZodNullable<z.ZodNumber>;
251
+ effective_to: z.ZodNullable<z.ZodNumber>;
252
+ filing_frequency: z.ZodEnum<{
253
+ unknown: "unknown";
254
+ monthly: "monthly";
255
+ quarterly: "quarterly";
256
+ annual: "annual";
257
+ }>;
258
+ collection_registration: z.ZodNullable<z.ZodString>;
259
+ verification: z.ZodObject<{
260
+ status: z.ZodLiteral<"unverified">;
261
+ reason: z.ZodLiteral<"no_authority_integration">;
262
+ }, z.core.$strict>;
263
+ note: z.ZodNullable<z.ZodString>;
264
+ metadata: z.ZodRecord<z.ZodString, z.ZodString>;
265
+ created: z.ZodNumber;
266
+ updated: z.ZodNumber;
267
+ }, z.core.$strict>;
268
+ readonly sdk: "tax.compliance.retrieveRegistrationDeclaration";
269
+ readonly expandable: "tax.registration_declaration";
270
+ }];
@@ -0,0 +1,103 @@
1
+ import { z } from 'zod';
2
+ import { type Expand } from '../../common/objects';
3
+ /**
4
+ * A Peable Tax registration (`taxreg_…`, ADR 0011): where the seller says it
5
+ * is registered to collect. Only registrations the owner approved make Peable
6
+ * collect. Registering with a government is the seller's job, never Peable's.
7
+ */
8
+ export declare const taxRegistrationSchema: z.ZodObject<{
9
+ object: z.ZodLiteral<"tax.registration">;
10
+ id: z.ZodString;
11
+ country: z.ZodString;
12
+ state: z.ZodNullable<z.ZodString>;
13
+ scheme: z.ZodEnum<{
14
+ standard: "standard";
15
+ simplified: "simplified";
16
+ eu_oss_union: "eu_oss_union";
17
+ eu_oss_non_union: "eu_oss_non_union";
18
+ us_state_sales_tax: "us_state_sales_tax";
19
+ ca_provincial: "ca_provincial";
20
+ }>;
21
+ registration_number: z.ZodNullable<z.ZodString>;
22
+ active_from: z.ZodNumber;
23
+ expires_at: z.ZodNullable<z.ZodNumber>;
24
+ status: z.ZodEnum<{
25
+ active: "active";
26
+ expired: "expired";
27
+ pending_approval: "pending_approval";
28
+ scheduled: "scheduled";
29
+ }>;
30
+ approved_at: z.ZodNullable<z.ZodNumber>;
31
+ provider_registration_ref: z.ZodNullable<z.ZodString>;
32
+ created: z.ZodNumber;
33
+ }, z.core.$strict>;
34
+ export type TaxRegistration = Expand<z.output<typeof taxRegistrationSchema>>;
35
+ declare module '../../common/objects' {
36
+ interface ObjectMap {
37
+ 'tax.registration': TaxRegistration;
38
+ }
39
+ }
40
+ /** Orbit's new registration (the owner's): pending until the owner approves. */
41
+ export declare const createTaxRegistrationParams: z.ZodObject<{
42
+ country: z.ZodString;
43
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ scheme: z.ZodEnum<{
45
+ standard: "standard";
46
+ simplified: "simplified";
47
+ eu_oss_union: "eu_oss_union";
48
+ eu_oss_non_union: "eu_oss_non_union";
49
+ us_state_sales_tax: "us_state_sales_tax";
50
+ ca_provincial: "ca_provincial";
51
+ }>;
52
+ registration_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ active_from: z.ZodOptional<z.ZodNumber>;
54
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
55
+ }, z.core.$strict>;
56
+ export type CreateTaxRegistrationParams = z.input<typeof createTaxRegistrationParams>;
57
+ /** Orbit's end of a registration at `expires_at`. */
58
+ export declare const endTaxRegistrationParams: z.ZodObject<{
59
+ expires_at: z.ZodNumber;
60
+ }, z.core.$strict>;
61
+ export type EndTaxRegistrationParams = z.input<typeof endTaxRegistrationParams>;
62
+ export declare const taxRegistrationRoutes: readonly [{
63
+ readonly operationId: "listTaxRegistrations";
64
+ readonly method: "get";
65
+ readonly path: "/v1/tax/registrations";
66
+ readonly tag: "Tax";
67
+ readonly summary: "List tax registrations";
68
+ readonly description: "Every registration of the merchant, oldest first: a complete list, `has_more` is `false`. Registrations are added and approved by the owner in Orbit.";
69
+ readonly auth: "service";
70
+ readonly scope: "payments:read";
71
+ readonly response: z.ZodObject<{
72
+ object: z.ZodLiteral<"list">;
73
+ data: z.ZodArray<z.ZodObject<{
74
+ object: z.ZodLiteral<"tax.registration">;
75
+ id: z.ZodString;
76
+ country: z.ZodString;
77
+ state: z.ZodNullable<z.ZodString>;
78
+ scheme: z.ZodEnum<{
79
+ standard: "standard";
80
+ simplified: "simplified";
81
+ eu_oss_union: "eu_oss_union";
82
+ eu_oss_non_union: "eu_oss_non_union";
83
+ us_state_sales_tax: "us_state_sales_tax";
84
+ ca_provincial: "ca_provincial";
85
+ }>;
86
+ registration_number: z.ZodNullable<z.ZodString>;
87
+ active_from: z.ZodNumber;
88
+ expires_at: z.ZodNullable<z.ZodNumber>;
89
+ status: z.ZodEnum<{
90
+ active: "active";
91
+ expired: "expired";
92
+ pending_approval: "pending_approval";
93
+ scheduled: "scheduled";
94
+ }>;
95
+ approved_at: z.ZodNullable<z.ZodNumber>;
96
+ provider_registration_ref: z.ZodNullable<z.ZodString>;
97
+ created: z.ZodNumber;
98
+ }, z.core.$strict>>;
99
+ has_more: z.ZodBoolean;
100
+ url: z.ZodString;
101
+ }, z.core.$strict>;
102
+ readonly sdk: "tax.listRegistrations";
103
+ }];
@@ -0,0 +1,129 @@
1
+ import { z } from 'zod';
2
+ import { type Expand } from '../../common/objects';
3
+ /**
4
+ * The Peable Tax summary report: totals per jurisdiction, registration, tax
5
+ * type and rate — the lines a return (an OSS return, a state filing) is
6
+ * prepared from. A report is not a filed return.
7
+ */
8
+ /** One filing line. Reversals are netted in: `taxable_amount` and `tax_amount` are net. */
9
+ export declare const taxReportRowSchema: z.ZodObject<{
10
+ country: z.ZodString;
11
+ state: z.ZodNullable<z.ZodString>;
12
+ registration_id: z.ZodNullable<z.ZodString>;
13
+ scheme: z.ZodNullable<z.ZodEnum<{
14
+ standard: "standard";
15
+ simplified: "simplified";
16
+ eu_oss_union: "eu_oss_union";
17
+ eu_oss_non_union: "eu_oss_non_union";
18
+ us_state_sales_tax: "us_state_sales_tax";
19
+ ca_provincial: "ca_provincial";
20
+ }>>;
21
+ collection: z.ZodEnum<{
22
+ collect: "collect";
23
+ not_registered: "not_registered";
24
+ nontaxable: "nontaxable";
25
+ }>;
26
+ tax_type: z.ZodNullable<z.ZodString>;
27
+ rate_percentage: z.ZodNullable<z.ZodString>;
28
+ currency: z.ZodString;
29
+ transactions: z.ZodNumber;
30
+ reversals: z.ZodNumber;
31
+ taxable_amount: z.ZodNumber;
32
+ tax_amount: z.ZodNumber;
33
+ }, z.core.$strict>;
34
+ export type TaxReportRow = z.output<typeof taxReportRowSchema>;
35
+ export declare const taxReportSchema: z.ZodObject<{
36
+ object: z.ZodLiteral<"tax.report">;
37
+ from: z.ZodNumber;
38
+ to: z.ZodNumber;
39
+ rows: z.ZodArray<z.ZodObject<{
40
+ country: z.ZodString;
41
+ state: z.ZodNullable<z.ZodString>;
42
+ registration_id: z.ZodNullable<z.ZodString>;
43
+ scheme: z.ZodNullable<z.ZodEnum<{
44
+ standard: "standard";
45
+ simplified: "simplified";
46
+ eu_oss_union: "eu_oss_union";
47
+ eu_oss_non_union: "eu_oss_non_union";
48
+ us_state_sales_tax: "us_state_sales_tax";
49
+ ca_provincial: "ca_provincial";
50
+ }>>;
51
+ collection: z.ZodEnum<{
52
+ collect: "collect";
53
+ not_registered: "not_registered";
54
+ nontaxable: "nontaxable";
55
+ }>;
56
+ tax_type: z.ZodNullable<z.ZodString>;
57
+ rate_percentage: z.ZodNullable<z.ZodString>;
58
+ currency: z.ZodString;
59
+ transactions: z.ZodNumber;
60
+ reversals: z.ZodNumber;
61
+ taxable_amount: z.ZodNumber;
62
+ tax_amount: z.ZodNumber;
63
+ }, z.core.$strict>>;
64
+ }, z.core.$strict>;
65
+ export type TaxReport = Expand<z.output<typeof taxReportSchema>>;
66
+ declare module '../../common/objects' {
67
+ interface ObjectMap {
68
+ 'tax.report': TaxReport;
69
+ }
70
+ }
71
+ /** The filing window: `from` inclusive, `to` exclusive, Unix seconds. */
72
+ export declare const taxReportQuery: z.ZodObject<{
73
+ from: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>;
74
+ to: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>;
75
+ format: z.ZodOptional<z.ZodEnum<{
76
+ json: "json";
77
+ csv: "csv";
78
+ }>>;
79
+ }, z.core.$strict>;
80
+ export type TaxReportParams = z.input<typeof taxReportQuery>;
81
+ export declare const taxReportRoutes: readonly [{
82
+ readonly operationId: "retrieveTaxReportSummary";
83
+ readonly method: "get";
84
+ readonly path: "/v1/tax/reports/summary";
85
+ readonly tag: "Tax";
86
+ readonly summary: "Summarize collected tax";
87
+ readonly description: "Totals per jurisdiction, registration, tax type and rate over `[from, to)` (Unix seconds, `from` inclusive, `to` exclusive, on `committed_at`), reversals netted in. With `format=csv`, the same rows as a `text/csv` attachment.";
88
+ readonly auth: "service";
89
+ readonly scope: "payments:read";
90
+ readonly query: z.ZodObject<{
91
+ from: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>;
92
+ to: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>, z.ZodNumber>;
93
+ format: z.ZodOptional<z.ZodEnum<{
94
+ json: "json";
95
+ csv: "csv";
96
+ }>>;
97
+ }, z.core.$strict>;
98
+ readonly response: z.ZodObject<{
99
+ object: z.ZodLiteral<"tax.report">;
100
+ from: z.ZodNumber;
101
+ to: z.ZodNumber;
102
+ rows: z.ZodArray<z.ZodObject<{
103
+ country: z.ZodString;
104
+ state: z.ZodNullable<z.ZodString>;
105
+ registration_id: z.ZodNullable<z.ZodString>;
106
+ scheme: z.ZodNullable<z.ZodEnum<{
107
+ standard: "standard";
108
+ simplified: "simplified";
109
+ eu_oss_union: "eu_oss_union";
110
+ eu_oss_non_union: "eu_oss_non_union";
111
+ us_state_sales_tax: "us_state_sales_tax";
112
+ ca_provincial: "ca_provincial";
113
+ }>>;
114
+ collection: z.ZodEnum<{
115
+ collect: "collect";
116
+ not_registered: "not_registered";
117
+ nontaxable: "nontaxable";
118
+ }>;
119
+ tax_type: z.ZodNullable<z.ZodString>;
120
+ rate_percentage: z.ZodNullable<z.ZodString>;
121
+ currency: z.ZodString;
122
+ transactions: z.ZodNumber;
123
+ reversals: z.ZodNumber;
124
+ taxable_amount: z.ZodNumber;
125
+ tax_amount: z.ZodNumber;
126
+ }, z.core.$strict>>;
127
+ }, z.core.$strict>;
128
+ readonly sdk: "tax.reports.summary";
129
+ }];