@polar-sh/sdk 0.35.0 → 0.35.1

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 (288) hide show
  1. package/bin/mcp-server.js +673 -475
  2. package/bin/mcp-server.js.map +19 -15
  3. package/dist/commonjs/lib/config.d.ts +2 -2
  4. package/dist/commonjs/lib/config.js +2 -2
  5. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  6. package/dist/commonjs/mcp-server/server.js +1 -1
  7. package/dist/commonjs/models/components/address.d.ts +687 -687
  8. package/dist/commonjs/models/components/address.js +222 -222
  9. package/dist/commonjs/models/components/addressinput.d.ts +683 -683
  10. package/dist/commonjs/models/components/addressinput.js +217 -217
  11. package/dist/commonjs/models/components/checkout.d.ts +31 -5
  12. package/dist/commonjs/models/components/checkout.d.ts.map +1 -1
  13. package/dist/commonjs/models/components/checkout.js +23 -2
  14. package/dist/commonjs/models/components/checkout.js.map +1 -1
  15. package/dist/commonjs/models/components/checkoutcreate.d.ts +11 -0
  16. package/dist/commonjs/models/components/checkoutcreate.d.ts.map +1 -1
  17. package/dist/commonjs/models/components/checkoutcreate.js +9 -0
  18. package/dist/commonjs/models/components/checkoutcreate.js.map +1 -1
  19. package/dist/commonjs/models/components/checkoutlink.d.ts +14 -3
  20. package/dist/commonjs/models/components/checkoutlink.d.ts.map +1 -1
  21. package/dist/commonjs/models/components/checkoutlink.js +11 -2
  22. package/dist/commonjs/models/components/checkoutlink.js.map +1 -1
  23. package/dist/commonjs/models/components/checkoutlinkcreateproduct.d.ts +11 -0
  24. package/dist/commonjs/models/components/checkoutlinkcreateproduct.d.ts.map +1 -1
  25. package/dist/commonjs/models/components/checkoutlinkcreateproduct.js +9 -0
  26. package/dist/commonjs/models/components/checkoutlinkcreateproduct.js.map +1 -1
  27. package/dist/commonjs/models/components/checkoutlinkcreateproductprice.d.ts +11 -0
  28. package/dist/commonjs/models/components/checkoutlinkcreateproductprice.d.ts.map +1 -1
  29. package/dist/commonjs/models/components/checkoutlinkcreateproductprice.js +9 -0
  30. package/dist/commonjs/models/components/checkoutlinkcreateproductprice.js.map +1 -1
  31. package/dist/commonjs/models/components/checkoutlinkcreateproducts.d.ts +11 -0
  32. package/dist/commonjs/models/components/checkoutlinkcreateproducts.d.ts.map +1 -1
  33. package/dist/commonjs/models/components/checkoutlinkcreateproducts.js +9 -0
  34. package/dist/commonjs/models/components/checkoutlinkcreateproducts.js.map +1 -1
  35. package/dist/commonjs/models/components/checkoutlinkproduct.d.ts +14 -3
  36. package/dist/commonjs/models/components/checkoutlinkproduct.d.ts.map +1 -1
  37. package/dist/commonjs/models/components/checkoutlinkproduct.js +11 -2
  38. package/dist/commonjs/models/components/checkoutlinkproduct.js.map +1 -1
  39. package/dist/commonjs/models/components/checkoutlinkupdate.d.ts +11 -0
  40. package/dist/commonjs/models/components/checkoutlinkupdate.d.ts.map +1 -1
  41. package/dist/commonjs/models/components/checkoutlinkupdate.js +9 -0
  42. package/dist/commonjs/models/components/checkoutlinkupdate.js.map +1 -1
  43. package/dist/commonjs/models/components/checkoutproduct.d.ts +14 -3
  44. package/dist/commonjs/models/components/checkoutproduct.d.ts.map +1 -1
  45. package/dist/commonjs/models/components/checkoutproduct.js +11 -2
  46. package/dist/commonjs/models/components/checkoutproduct.js.map +1 -1
  47. package/dist/commonjs/models/components/checkoutpublic.d.ts +21 -5
  48. package/dist/commonjs/models/components/checkoutpublic.d.ts.map +1 -1
  49. package/dist/commonjs/models/components/checkoutpublic.js +15 -2
  50. package/dist/commonjs/models/components/checkoutpublic.js.map +1 -1
  51. package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts +21 -5
  52. package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
  53. package/dist/commonjs/models/components/checkoutpublicconfirmed.js +15 -2
  54. package/dist/commonjs/models/components/checkoutpublicconfirmed.js.map +1 -1
  55. package/dist/commonjs/models/components/checkoutupdate.d.ts +11 -0
  56. package/dist/commonjs/models/components/checkoutupdate.d.ts.map +1 -1
  57. package/dist/commonjs/models/components/checkoutupdate.js +9 -0
  58. package/dist/commonjs/models/components/checkoutupdate.js.map +1 -1
  59. package/dist/commonjs/models/components/customerorderproduct.d.ts +14 -3
  60. package/dist/commonjs/models/components/customerorderproduct.d.ts.map +1 -1
  61. package/dist/commonjs/models/components/customerorderproduct.js +11 -2
  62. package/dist/commonjs/models/components/customerorderproduct.js.map +1 -1
  63. package/dist/commonjs/models/components/customerordersubscription.d.ts +10 -0
  64. package/dist/commonjs/models/components/customerordersubscription.d.ts.map +1 -1
  65. package/dist/commonjs/models/components/customerordersubscription.js +8 -0
  66. package/dist/commonjs/models/components/customerordersubscription.js.map +1 -1
  67. package/dist/commonjs/models/components/customerproduct.d.ts +14 -3
  68. package/dist/commonjs/models/components/customerproduct.d.ts.map +1 -1
  69. package/dist/commonjs/models/components/customerproduct.js +11 -2
  70. package/dist/commonjs/models/components/customerproduct.js.map +1 -1
  71. package/dist/commonjs/models/components/customersubscription.d.ts +10 -0
  72. package/dist/commonjs/models/components/customersubscription.d.ts.map +1 -1
  73. package/dist/commonjs/models/components/customersubscription.js +8 -0
  74. package/dist/commonjs/models/components/customersubscription.js.map +1 -1
  75. package/dist/commonjs/models/components/customersubscriptionproduct.d.ts +14 -3
  76. package/dist/commonjs/models/components/customersubscriptionproduct.d.ts.map +1 -1
  77. package/dist/commonjs/models/components/customersubscriptionproduct.js +11 -2
  78. package/dist/commonjs/models/components/customersubscriptionproduct.js.map +1 -1
  79. package/dist/commonjs/models/components/discountproduct.d.ts +14 -3
  80. package/dist/commonjs/models/components/discountproduct.d.ts.map +1 -1
  81. package/dist/commonjs/models/components/discountproduct.js +11 -2
  82. package/dist/commonjs/models/components/discountproduct.js.map +1 -1
  83. package/dist/commonjs/models/components/orderproduct.d.ts +14 -3
  84. package/dist/commonjs/models/components/orderproduct.d.ts.map +1 -1
  85. package/dist/commonjs/models/components/orderproduct.js +11 -2
  86. package/dist/commonjs/models/components/orderproduct.js.map +1 -1
  87. package/dist/commonjs/models/components/ordersubscription.d.ts +10 -0
  88. package/dist/commonjs/models/components/ordersubscription.d.ts.map +1 -1
  89. package/dist/commonjs/models/components/ordersubscription.js +8 -0
  90. package/dist/commonjs/models/components/ordersubscription.js.map +1 -1
  91. package/dist/commonjs/models/components/product.d.ts +14 -3
  92. package/dist/commonjs/models/components/product.d.ts.map +1 -1
  93. package/dist/commonjs/models/components/product.js +11 -2
  94. package/dist/commonjs/models/components/product.js.map +1 -1
  95. package/dist/commonjs/models/components/productcreate.d.ts +4 -111
  96. package/dist/commonjs/models/components/productcreate.d.ts.map +1 -1
  97. package/dist/commonjs/models/components/productcreate.js +9 -106
  98. package/dist/commonjs/models/components/productcreate.js.map +1 -1
  99. package/dist/commonjs/models/components/productcreateonetime.d.ts +130 -0
  100. package/dist/commonjs/models/components/productcreateonetime.d.ts.map +1 -0
  101. package/dist/commonjs/models/components/productcreateonetime.js +169 -0
  102. package/dist/commonjs/models/components/productcreateonetime.js.map +1 -0
  103. package/dist/commonjs/models/components/productcreaterecurring.d.ts +139 -0
  104. package/dist/commonjs/models/components/productcreaterecurring.d.ts.map +1 -0
  105. package/dist/commonjs/models/components/productcreaterecurring.js +179 -0
  106. package/dist/commonjs/models/components/productcreaterecurring.js.map +1 -0
  107. package/dist/commonjs/models/components/productupdate.d.ts +11 -0
  108. package/dist/commonjs/models/components/productupdate.d.ts.map +1 -1
  109. package/dist/commonjs/models/components/productupdate.js +9 -0
  110. package/dist/commonjs/models/components/productupdate.js.map +1 -1
  111. package/dist/commonjs/models/components/subscription.d.ts +10 -0
  112. package/dist/commonjs/models/components/subscription.d.ts.map +1 -1
  113. package/dist/commonjs/models/components/subscription.js +8 -0
  114. package/dist/commonjs/models/components/subscription.js.map +1 -1
  115. package/dist/commonjs/models/components/subscriptionupdate.d.ts +3 -2
  116. package/dist/commonjs/models/components/subscriptionupdate.d.ts.map +1 -1
  117. package/dist/commonjs/models/components/subscriptionupdate.js +3 -0
  118. package/dist/commonjs/models/components/subscriptionupdate.js.map +1 -1
  119. package/dist/commonjs/models/components/subscriptionupdatetrial.d.ts +32 -0
  120. package/dist/commonjs/models/components/subscriptionupdatetrial.d.ts.map +1 -0
  121. package/dist/commonjs/models/components/subscriptionupdatetrial.js +78 -0
  122. package/dist/commonjs/models/components/subscriptionupdatetrial.js.map +1 -0
  123. package/dist/commonjs/models/components/trialinterval.d.ts +34 -0
  124. package/dist/commonjs/models/components/trialinterval.d.ts.map +1 -0
  125. package/dist/commonjs/models/components/trialinterval.js +62 -0
  126. package/dist/commonjs/models/components/trialinterval.js.map +1 -0
  127. package/dist/esm/lib/config.d.ts +2 -2
  128. package/dist/esm/lib/config.js +2 -2
  129. package/dist/esm/mcp-server/mcp-server.js +1 -1
  130. package/dist/esm/mcp-server/server.js +1 -1
  131. package/dist/esm/models/components/address.d.ts +687 -687
  132. package/dist/esm/models/components/address.js +222 -222
  133. package/dist/esm/models/components/addressinput.d.ts +683 -683
  134. package/dist/esm/models/components/addressinput.js +217 -217
  135. package/dist/esm/models/components/checkout.d.ts +31 -5
  136. package/dist/esm/models/components/checkout.d.ts.map +1 -1
  137. package/dist/esm/models/components/checkout.js +23 -2
  138. package/dist/esm/models/components/checkout.js.map +1 -1
  139. package/dist/esm/models/components/checkoutcreate.d.ts +11 -0
  140. package/dist/esm/models/components/checkoutcreate.d.ts.map +1 -1
  141. package/dist/esm/models/components/checkoutcreate.js +9 -0
  142. package/dist/esm/models/components/checkoutcreate.js.map +1 -1
  143. package/dist/esm/models/components/checkoutlink.d.ts +14 -3
  144. package/dist/esm/models/components/checkoutlink.d.ts.map +1 -1
  145. package/dist/esm/models/components/checkoutlink.js +11 -2
  146. package/dist/esm/models/components/checkoutlink.js.map +1 -1
  147. package/dist/esm/models/components/checkoutlinkcreateproduct.d.ts +11 -0
  148. package/dist/esm/models/components/checkoutlinkcreateproduct.d.ts.map +1 -1
  149. package/dist/esm/models/components/checkoutlinkcreateproduct.js +9 -0
  150. package/dist/esm/models/components/checkoutlinkcreateproduct.js.map +1 -1
  151. package/dist/esm/models/components/checkoutlinkcreateproductprice.d.ts +11 -0
  152. package/dist/esm/models/components/checkoutlinkcreateproductprice.d.ts.map +1 -1
  153. package/dist/esm/models/components/checkoutlinkcreateproductprice.js +9 -0
  154. package/dist/esm/models/components/checkoutlinkcreateproductprice.js.map +1 -1
  155. package/dist/esm/models/components/checkoutlinkcreateproducts.d.ts +11 -0
  156. package/dist/esm/models/components/checkoutlinkcreateproducts.d.ts.map +1 -1
  157. package/dist/esm/models/components/checkoutlinkcreateproducts.js +9 -0
  158. package/dist/esm/models/components/checkoutlinkcreateproducts.js.map +1 -1
  159. package/dist/esm/models/components/checkoutlinkproduct.d.ts +14 -3
  160. package/dist/esm/models/components/checkoutlinkproduct.d.ts.map +1 -1
  161. package/dist/esm/models/components/checkoutlinkproduct.js +11 -2
  162. package/dist/esm/models/components/checkoutlinkproduct.js.map +1 -1
  163. package/dist/esm/models/components/checkoutlinkupdate.d.ts +11 -0
  164. package/dist/esm/models/components/checkoutlinkupdate.d.ts.map +1 -1
  165. package/dist/esm/models/components/checkoutlinkupdate.js +9 -0
  166. package/dist/esm/models/components/checkoutlinkupdate.js.map +1 -1
  167. package/dist/esm/models/components/checkoutproduct.d.ts +14 -3
  168. package/dist/esm/models/components/checkoutproduct.d.ts.map +1 -1
  169. package/dist/esm/models/components/checkoutproduct.js +11 -2
  170. package/dist/esm/models/components/checkoutproduct.js.map +1 -1
  171. package/dist/esm/models/components/checkoutpublic.d.ts +21 -5
  172. package/dist/esm/models/components/checkoutpublic.d.ts.map +1 -1
  173. package/dist/esm/models/components/checkoutpublic.js +15 -2
  174. package/dist/esm/models/components/checkoutpublic.js.map +1 -1
  175. package/dist/esm/models/components/checkoutpublicconfirmed.d.ts +21 -5
  176. package/dist/esm/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
  177. package/dist/esm/models/components/checkoutpublicconfirmed.js +15 -2
  178. package/dist/esm/models/components/checkoutpublicconfirmed.js.map +1 -1
  179. package/dist/esm/models/components/checkoutupdate.d.ts +11 -0
  180. package/dist/esm/models/components/checkoutupdate.d.ts.map +1 -1
  181. package/dist/esm/models/components/checkoutupdate.js +9 -0
  182. package/dist/esm/models/components/checkoutupdate.js.map +1 -1
  183. package/dist/esm/models/components/customerorderproduct.d.ts +14 -3
  184. package/dist/esm/models/components/customerorderproduct.d.ts.map +1 -1
  185. package/dist/esm/models/components/customerorderproduct.js +11 -2
  186. package/dist/esm/models/components/customerorderproduct.js.map +1 -1
  187. package/dist/esm/models/components/customerordersubscription.d.ts +10 -0
  188. package/dist/esm/models/components/customerordersubscription.d.ts.map +1 -1
  189. package/dist/esm/models/components/customerordersubscription.js +8 -0
  190. package/dist/esm/models/components/customerordersubscription.js.map +1 -1
  191. package/dist/esm/models/components/customerproduct.d.ts +14 -3
  192. package/dist/esm/models/components/customerproduct.d.ts.map +1 -1
  193. package/dist/esm/models/components/customerproduct.js +11 -2
  194. package/dist/esm/models/components/customerproduct.js.map +1 -1
  195. package/dist/esm/models/components/customersubscription.d.ts +10 -0
  196. package/dist/esm/models/components/customersubscription.d.ts.map +1 -1
  197. package/dist/esm/models/components/customersubscription.js +8 -0
  198. package/dist/esm/models/components/customersubscription.js.map +1 -1
  199. package/dist/esm/models/components/customersubscriptionproduct.d.ts +14 -3
  200. package/dist/esm/models/components/customersubscriptionproduct.d.ts.map +1 -1
  201. package/dist/esm/models/components/customersubscriptionproduct.js +11 -2
  202. package/dist/esm/models/components/customersubscriptionproduct.js.map +1 -1
  203. package/dist/esm/models/components/discountproduct.d.ts +14 -3
  204. package/dist/esm/models/components/discountproduct.d.ts.map +1 -1
  205. package/dist/esm/models/components/discountproduct.js +11 -2
  206. package/dist/esm/models/components/discountproduct.js.map +1 -1
  207. package/dist/esm/models/components/orderproduct.d.ts +14 -3
  208. package/dist/esm/models/components/orderproduct.d.ts.map +1 -1
  209. package/dist/esm/models/components/orderproduct.js +11 -2
  210. package/dist/esm/models/components/orderproduct.js.map +1 -1
  211. package/dist/esm/models/components/ordersubscription.d.ts +10 -0
  212. package/dist/esm/models/components/ordersubscription.d.ts.map +1 -1
  213. package/dist/esm/models/components/ordersubscription.js +8 -0
  214. package/dist/esm/models/components/ordersubscription.js.map +1 -1
  215. package/dist/esm/models/components/product.d.ts +14 -3
  216. package/dist/esm/models/components/product.d.ts.map +1 -1
  217. package/dist/esm/models/components/product.js +11 -2
  218. package/dist/esm/models/components/product.js.map +1 -1
  219. package/dist/esm/models/components/productcreate.d.ts +4 -111
  220. package/dist/esm/models/components/productcreate.d.ts.map +1 -1
  221. package/dist/esm/models/components/productcreate.js +8 -101
  222. package/dist/esm/models/components/productcreate.js.map +1 -1
  223. package/dist/esm/models/components/productcreateonetime.d.ts +130 -0
  224. package/dist/esm/models/components/productcreateonetime.d.ts.map +1 -0
  225. package/dist/esm/models/components/productcreateonetime.js +127 -0
  226. package/dist/esm/models/components/productcreateonetime.js.map +1 -0
  227. package/dist/esm/models/components/productcreaterecurring.d.ts +139 -0
  228. package/dist/esm/models/components/productcreaterecurring.d.ts.map +1 -0
  229. package/dist/esm/models/components/productcreaterecurring.js +137 -0
  230. package/dist/esm/models/components/productcreaterecurring.js.map +1 -0
  231. package/dist/esm/models/components/productupdate.d.ts +11 -0
  232. package/dist/esm/models/components/productupdate.d.ts.map +1 -1
  233. package/dist/esm/models/components/productupdate.js +9 -0
  234. package/dist/esm/models/components/productupdate.js.map +1 -1
  235. package/dist/esm/models/components/subscription.d.ts +10 -0
  236. package/dist/esm/models/components/subscription.d.ts.map +1 -1
  237. package/dist/esm/models/components/subscription.js +8 -0
  238. package/dist/esm/models/components/subscription.js.map +1 -1
  239. package/dist/esm/models/components/subscriptionupdate.d.ts +3 -2
  240. package/dist/esm/models/components/subscriptionupdate.d.ts.map +1 -1
  241. package/dist/esm/models/components/subscriptionupdate.js +3 -0
  242. package/dist/esm/models/components/subscriptionupdate.js.map +1 -1
  243. package/dist/esm/models/components/subscriptionupdatetrial.d.ts +32 -0
  244. package/dist/esm/models/components/subscriptionupdatetrial.d.ts.map +1 -0
  245. package/dist/esm/models/components/subscriptionupdatetrial.js +40 -0
  246. package/dist/esm/models/components/subscriptionupdatetrial.js.map +1 -0
  247. package/dist/esm/models/components/trialinterval.d.ts +34 -0
  248. package/dist/esm/models/components/trialinterval.d.ts.map +1 -0
  249. package/dist/esm/models/components/trialinterval.js +26 -0
  250. package/dist/esm/models/components/trialinterval.js.map +1 -0
  251. package/docs/sdks/products/README.md +2 -2
  252. package/examples/package-lock.json +1 -1
  253. package/jsr.json +1 -1
  254. package/package.json +1 -1
  255. package/src/lib/config.ts +2 -2
  256. package/src/mcp-server/mcp-server.ts +1 -1
  257. package/src/mcp-server/server.ts +1 -1
  258. package/src/models/components/address.ts +222 -222
  259. package/src/models/components/addressinput.ts +217 -217
  260. package/src/models/components/checkout.ts +59 -7
  261. package/src/models/components/checkoutcreate.ts +23 -0
  262. package/src/models/components/checkoutlink.ts +28 -5
  263. package/src/models/components/checkoutlinkcreateproduct.ts +23 -0
  264. package/src/models/components/checkoutlinkcreateproductprice.ts +23 -0
  265. package/src/models/components/checkoutlinkcreateproducts.ts +23 -0
  266. package/src/models/components/checkoutlinkproduct.ts +28 -5
  267. package/src/models/components/checkoutlinkupdate.ts +23 -0
  268. package/src/models/components/checkoutproduct.ts +28 -5
  269. package/src/models/components/checkoutpublic.ts +41 -7
  270. package/src/models/components/checkoutpublicconfirmed.ts +41 -7
  271. package/src/models/components/checkoutupdate.ts +23 -0
  272. package/src/models/components/customerorderproduct.ts +28 -5
  273. package/src/models/components/customerordersubscription.ts +22 -0
  274. package/src/models/components/customerproduct.ts +28 -5
  275. package/src/models/components/customersubscription.ts +22 -0
  276. package/src/models/components/customersubscriptionproduct.ts +28 -5
  277. package/src/models/components/discountproduct.ts +28 -5
  278. package/src/models/components/orderproduct.ts +28 -5
  279. package/src/models/components/ordersubscription.ts +22 -0
  280. package/src/models/components/product.ts +28 -5
  281. package/src/models/components/productcreate.ts +22 -275
  282. package/src/models/components/productcreateonetime.ts +329 -0
  283. package/src/models/components/productcreaterecurring.ts +356 -0
  284. package/src/models/components/productupdate.ts +23 -0
  285. package/src/models/components/subscription.ts +22 -0
  286. package/src/models/components/subscriptionupdate.ts +10 -0
  287. package/src/models/components/subscriptionupdatetrial.ts +78 -0
  288. package/src/models/components/trialinterval.ts +35 -0
package/bin/mcp-server.js CHANGED
@@ -4037,9 +4037,9 @@ var init_config = __esm(() => {
4037
4037
  SDK_METADATA = {
4038
4038
  language: "typescript",
4039
4039
  openapiDocVersion: "0.1.0",
4040
- sdkVersion: "0.35.0",
4040
+ sdkVersion: "0.35.1",
4041
4041
  genVersion: "2.709.0",
4042
- userAgent: "speakeasy-sdk/typescript 0.35.0 2.709.0 0.1.0 @polar-sh/sdk"
4042
+ userAgent: "speakeasy-sdk/typescript 0.35.1 2.709.0 0.1.0 @polar-sh/sdk"
4043
4043
  };
4044
4044
  });
4045
4045
 
@@ -35612,255 +35612,255 @@ var init_address = __esm(() => {
35612
35612
  init_zod();
35613
35613
  init_primitives();
35614
35614
  CountryAlpha2 = {
35615
- Bh: "BH",
35616
- Ci: "CI",
35617
- Cw: "CW",
35618
- Bs: "BS",
35619
- Re: "RE",
35620
- Gd: "GD",
35621
- Tn: "TN",
35622
- Nc: "NC",
35623
- Cc: "CC",
35624
- Mg: "MG",
35625
- Ve: "VE",
35626
- Gy: "GY",
35627
- Dj: "DJ",
35628
- Sj: "SJ",
35629
- Tm: "TM",
35630
- Sg: "SG",
35631
- Ao: "AO",
35632
- Id: "ID",
35633
- Jm: "JM",
35634
- Jo: "JO",
35635
- Gg: "GG",
35636
- Fm: "FM",
35637
- Bo: "BO",
35638
- Nu: "NU",
35639
- Si: "SI",
35615
+ Am: "AM",
35616
+ Na: "NA",
35617
+ Sx: "SX",
35618
+ Gp: "GP",
35619
+ Mq: "MQ",
35620
+ Pk: "PK",
35621
+ Ne: "NE",
35622
+ Tj: "TJ",
35623
+ Ws: "WS",
35624
+ Al: "AL",
35625
+ Gs: "GS",
35626
+ Sr: "SR",
35627
+ Hu: "HU",
35640
35628
  Bv: "BV",
35641
- Cm: "CM",
35629
+ Il: "IL",
35630
+ Vc: "VC",
35642
35631
  La: "LA",
35643
- Kg: "KG",
35632
+ Cl: "CL",
35633
+ Ee: "EE",
35634
+ Fi: "FI",
35635
+ Pt: "PT",
35644
35636
  Lc: "LC",
35645
- Mv: "MV",
35637
+ By: "BY",
35638
+ Co: "CO",
35646
35639
  Tt: "TT",
35647
- To: "TO",
35648
- Gb: "GB",
35640
+ Mf: "MF",
35641
+ De: "DE",
35642
+ Iq: "IQ",
35643
+ At: "AT",
35644
+ Km: "KM",
35645
+ Ni: "NI",
35646
+ Sc: "SC",
35647
+ Sd: "SD",
35648
+ Cn: "CN",
35649
+ Ng: "NG",
35650
+ Br: "BR",
35651
+ Ph: "PH",
35652
+ Tm: "TM",
35653
+ Va: "VA",
35654
+ Ga: "GA",
35655
+ Bb: "BB",
35656
+ Gt: "GT",
35657
+ Ps: "PS",
35658
+ Gd: "GD",
35659
+ Tn: "TN",
35660
+ Zw: "ZW",
35661
+ Ca: "CA",
35662
+ Tz: "TZ",
35663
+ Eh: "EH",
35664
+ Pn: "PN",
35665
+ Cw: "CW",
35666
+ Lu: "LU",
35649
35667
  Ug: "UG",
35650
- Tr: "TR",
35651
- Ai: "AI",
35652
- Sh: "SH",
35653
- Bf: "BF",
35654
- Ru: "RU",
35655
- It: "IT",
35656
- Kw: "KW",
35657
- Tw: "TW",
35668
+ In: "IN",
35669
+ Pa: "PA",
35658
35670
  Hk: "HK",
35659
- Aw: "AW",
35660
- Lb: "LB",
35661
- Ly: "LY",
35671
+ Pr: "PR",
35672
+ Ki: "KI",
35673
+ Aq: "AQ",
35674
+ Bz: "BZ",
35675
+ Fr: "FR",
35676
+ Yt: "YT",
35677
+ Ie: "IE",
35678
+ Um: "UM",
35679
+ Gu: "GU",
35680
+ Jo: "JO",
35681
+ Cc: "CC",
35662
35682
  Vi: "VI",
35663
- Cd: "CD",
35664
- Es: "ES",
35665
- Pa: "PA",
35666
- Mn: "MN",
35667
- Ms: "MS",
35668
- Vg: "VG",
35683
+ Nc: "NC",
35684
+ Do: "DO",
35685
+ Cr: "CR",
35686
+ Ar: "AR",
35687
+ Ai: "AI",
35688
+ Bf: "BF",
35689
+ Ec: "EC",
35690
+ Im: "IM",
35691
+ Za: "ZA",
35692
+ Tf: "TF",
35693
+ Bd: "BD",
35694
+ Mx: "MX",
35695
+ Cy: "CY",
35696
+ Vu: "VU",
35697
+ Mp: "MP",
35698
+ Mz: "MZ",
35699
+ Mu: "MU",
35700
+ Lk: "LK",
35701
+ Bo: "BO",
35669
35702
  Sa: "SA",
35670
- Bt: "BT",
35671
- Er: "ER",
35672
- Ua: "UA",
35673
- Hn: "HN",
35674
- Ag: "AG",
35675
- Vn: "VN",
35703
+ Bn: "BN",
35704
+ Sl: "SL",
35705
+ Lr: "LR",
35706
+ Cz: "CZ",
35707
+ Et: "ET",
35708
+ Re: "RE",
35709
+ Tk: "TK",
35710
+ Io: "IO",
35711
+ Sm: "SM",
35712
+ Pw: "PW",
35713
+ Kn: "KN",
35714
+ Cv: "CV",
35715
+ To: "TO",
35716
+ Tw: "TW",
35717
+ Nr: "NR",
35676
35718
  Ma: "MA",
35677
- Pg: "PG",
35678
- Th: "TH",
35679
- Kp: "KP",
35680
- Ee: "EE",
35681
- Mu: "MU",
35682
- Cr: "CR",
35683
- Ge: "GE",
35684
35719
  Gr: "GR",
35685
- Mr: "MR",
35686
- Zw: "ZW",
35687
- Tc: "TC",
35688
- Ck: "CK",
35720
+ Bh: "BH",
35721
+ Kp: "KP",
35722
+ Th: "TH",
35723
+ Jm: "JM",
35724
+ Vn: "VN",
35725
+ Ch: "CH",
35726
+ Pl: "PL",
35727
+ Me: "ME",
35728
+ Fo: "FO",
35729
+ Fj: "FJ",
35730
+ Ve: "VE",
35689
35731
  Gw: "GW",
35690
- Hr: "HR",
35691
- Lt: "LT",
35692
- Qa: "QA",
35693
- Mo: "MO",
35694
- Ad: "AD",
35695
- Fr: "FR",
35696
- Km: "KM",
35697
- Gs: "GS",
35698
- Bg: "BG",
35699
- Ng: "NG",
35700
- As: "AS",
35701
- Za: "ZA",
35702
- Pt: "PT",
35703
- Np: "NP",
35732
+ Ck: "CK",
35733
+ Dm: "DM",
35734
+ Gy: "GY",
35735
+ Dk: "DK",
35736
+ Pf: "PF",
35737
+ Sk: "SK",
35704
35738
  Rw: "RW",
35705
- Gl: "GL",
35706
- Rs: "RS",
35707
- Mq: "MQ",
35708
- Cv: "CV",
35709
- Gq: "GQ",
35710
- Mf: "MF",
35711
- Mh: "MH",
35712
- Gp: "GP",
35713
- Kn: "KN",
35714
- Wf: "WF",
35715
- Fj: "FJ",
35739
+ Bt: "BT",
35740
+ Ye: "YE",
35741
+ Ss: "SS",
35742
+ Lb: "LB",
35716
35743
  Fk: "FK",
35717
- Me: "ME",
35718
- Ne: "NE",
35719
- Gm: "GM",
35720
- Gh: "GH",
35721
- Sv: "SV",
35722
- Hm: "HM",
35723
- Bn: "BN",
35724
- Ga: "GA",
35725
- Py: "PY",
35726
- Bl: "BL",
35744
+ Gn: "GN",
35745
+ Zm: "ZM",
35746
+ Mm: "MM",
35727
35747
  Eg: "EG",
35728
- Se: "SE",
35729
- Fo: "FO",
35730
- Va: "VA",
35731
- Tk: "TK",
35732
- Ye: "YE",
35733
- Dm: "DM",
35748
+ Je: "JE",
35749
+ Hm: "HM",
35750
+ Be: "BE",
35751
+ Ax: "AX",
35752
+ Sh: "SH",
35753
+ Cu: "CU",
35754
+ Tg: "TG",
35755
+ Mn: "MN",
35756
+ Bg: "BG",
35757
+ It: "IT",
35758
+ Gh: "GH",
35759
+ Gl: "GL",
35760
+ Nu: "NU",
35761
+ Om: "OM",
35762
+ Ua: "UA",
35763
+ Gi: "GI",
35764
+ Ke: "KE",
35734
35765
  Nl: "NL",
35735
- Mk: "MK",
35736
- Uz: "UZ",
35737
- In: "IN",
35738
- Tl: "TL",
35739
- Iq: "IQ",
35740
- Bz: "BZ",
35766
+ Fm: "FM",
35767
+ Bm: "BM",
35768
+ Gb: "GB",
35769
+ Rs: "RS",
35770
+ Tr: "TR",
35741
35771
  Mc: "MC",
35742
- Bj: "BJ",
35743
- Ae: "AE",
35744
- Pn: "PN",
35745
- Ke: "KE",
35772
+ Ci: "CI",
35773
+ Tv: "TV",
35774
+ Kh: "KH",
35775
+ Vg: "VG",
35776
+ Mw: "MW",
35777
+ Id: "ID",
35778
+ Np: "NP",
35779
+ Ru: "RU",
35780
+ Lv: "LV",
35781
+ Si: "SI",
35746
35782
  Cx: "CX",
35747
- Aq: "AQ",
35748
- Eh: "EH",
35749
- Ir: "IR",
35750
- St: "ST",
35751
- Mz: "MZ",
35752
- Sc: "SC",
35753
- Sm: "SM",
35754
- Im: "IM",
35755
- Tj: "TJ",
35756
- Ps: "PS",
35757
- Mt: "MT",
35758
- Sk: "SK",
35759
- By: "BY",
35760
- Il: "IL",
35761
- Cy: "CY",
35762
- Bm: "BM",
35763
- Sr: "SR",
35764
- Am: "AM",
35765
- Pe: "PE",
35766
- Ws: "WS",
35767
- Fi: "FI",
35783
+ Ls: "LS",
35784
+ Ad: "AD",
35785
+ Ms: "MS",
35786
+ Bs: "BS",
35787
+ Hn: "HN",
35768
35788
  Li: "LI",
35769
- No: "NO",
35770
- Gf: "GF",
35771
- Nr: "NR",
35772
- Bi: "BI",
35773
- Sd: "SD",
35774
- Mp: "MP",
35775
- Je: "JE",
35776
- Ca: "CA",
35777
- Ec: "EC",
35778
- Hu: "HU",
35779
- So: "SO",
35780
- Tz: "TZ",
35781
- Cn: "CN",
35782
- Vc: "VC",
35783
- Sz: "SZ",
35784
- Ml: "ML",
35785
- Bd: "BD",
35786
- Gn: "GN",
35787
- Ki: "KI",
35788
- Do: "DO",
35789
- Sx: "SX",
35790
- Um: "UM",
35791
- Cf: "CF",
35792
- Pw: "PW",
35793
- Zm: "ZM",
35794
- Tf: "TF",
35795
- Tg: "TG",
35796
- Is: "IS",
35797
- Yt: "YT",
35798
- De: "DE",
35799
- Dz: "DZ",
35789
+ Sv: "SV",
35790
+ Bw: "BW",
35791
+ Aw: "AW",
35792
+ Bq: "BQ",
35800
35793
  Uy: "UY",
35801
- Af: "AF",
35802
- Be: "BE",
35803
- Kz: "KZ",
35804
- Nz: "NZ",
35805
- Pl: "PL",
35806
- Pf: "PF",
35807
- At: "AT",
35808
35794
  Az: "AZ",
35809
- Br: "BR",
35810
- Gi: "GI",
35811
- Td: "TD",
35812
- Co: "CO",
35813
- Et: "ET",
35814
- Md: "MD",
35815
- Mw: "MW",
35816
- Om: "OM",
35817
- Ph: "PH",
35818
- Ie: "IE",
35819
- Kr: "KR",
35820
- Pk: "PK",
35821
- Au: "AU",
35822
- Ni: "NI",
35823
- Ro: "RO",
35824
- Sy: "SY",
35825
- Cu: "CU",
35826
- Lu: "LU",
35827
- Mx: "MX",
35828
- Ar: "AR",
35829
- Na: "NA",
35830
- Dk: "DK",
35831
- Mm: "MM",
35832
- Ax: "AX",
35833
- Ch: "CH",
35795
+ Ba: "BA",
35796
+ Ly: "LY",
35797
+ Ml: "ML",
35834
35798
  Nf: "NF",
35835
- Lr: "LR",
35836
35799
  Sn: "SN",
35837
- Gu: "GU",
35838
- Cl: "CL",
35839
- Pm: "PM",
35800
+ Mh: "MH",
35840
35801
  Us: "US",
35841
- Gt: "GT",
35842
- Al: "AL",
35843
- Vu: "VU",
35844
- Pr: "PR",
35845
- Sb: "SB",
35846
- Ss: "SS",
35802
+ Pe: "PE",
35803
+ Uz: "UZ",
35804
+ Kw: "KW",
35805
+ Td: "TD",
35806
+ Kz: "KZ",
35807
+ Py: "PY",
35808
+ Sy: "SY",
35809
+ Dz: "DZ",
35810
+ Hr: "HR",
35811
+ Kr: "KR",
35812
+ Au: "AU",
35813
+ Tc: "TC",
35814
+ Mv: "MV",
35815
+ Mt: "MT",
35816
+ Nz: "NZ",
35847
35817
  Jp: "JP",
35848
- Kh: "KH",
35849
- Ls: "LS",
35850
- Sl: "SL",
35818
+ Lt: "LT",
35819
+ Cm: "CM",
35820
+ Ag: "AG",
35821
+ Ro: "RO",
35822
+ As: "AS",
35823
+ Md: "MD",
35824
+ Mg: "MG",
35825
+ Se: "SE",
35826
+ Cg: "CG",
35827
+ Ir: "IR",
35828
+ Cd: "CD",
35829
+ Pg: "PG",
35830
+ Wf: "WF",
35831
+ Gq: "GQ",
35832
+ Bj: "BJ",
35833
+ Gg: "GG",
35834
+ Mr: "MR",
35835
+ Is: "IS",
35836
+ Bi: "BI",
35837
+ Gm: "GM",
35838
+ Er: "ER",
35851
35839
  Ky: "KY",
35852
- Io: "IO",
35853
- Bb: "BB",
35840
+ Gf: "GF",
35841
+ Ge: "GE",
35842
+ Sj: "SJ",
35843
+ Ao: "AO",
35844
+ Mk: "MK",
35845
+ St: "ST",
35846
+ Mo: "MO",
35847
+ So: "SO",
35848
+ Sz: "SZ",
35849
+ Pm: "PM",
35850
+ Es: "ES",
35851
+ Tl: "TL",
35852
+ Bl: "BL",
35853
+ Ae: "AE",
35854
+ Cf: "CF",
35855
+ Dj: "DJ",
35856
+ Kg: "KG",
35857
+ Qa: "QA",
35854
35858
  Ht: "HT",
35855
- Cz: "CZ",
35856
- Lv: "LV",
35857
- Ba: "BA",
35858
- My: "MY",
35859
- Bw: "BW",
35860
- Tv: "TV",
35861
- Bq: "BQ",
35862
- Lk: "LK",
35863
- Cg: "CG"
35859
+ No: "NO",
35860
+ Sg: "SG",
35861
+ Sb: "SB",
35862
+ Af: "AF",
35863
+ My: "MY"
35864
35864
  };
35865
35865
  CountryAlpha2$inboundSchema = nativeEnumType(CountryAlpha2);
35866
35866
  CountryAlpha2$outboundSchema = CountryAlpha2$inboundSchema;
@@ -37002,250 +37002,250 @@ var init_addressinput = __esm(() => {
37002
37002
  init_zod();
37003
37003
  init_primitives();
37004
37004
  CountryAlpha2Input = {
37005
- Bh: "BH",
37006
- Ci: "CI",
37007
- Cw: "CW",
37008
- Bs: "BS",
37009
- Re: "RE",
37010
- Gd: "GD",
37011
- Tn: "TN",
37012
- Nc: "NC",
37013
- Cc: "CC",
37014
- Mg: "MG",
37015
- Ve: "VE",
37016
- Gy: "GY",
37017
- Dj: "DJ",
37018
- Sj: "SJ",
37019
- Tm: "TM",
37020
- Sg: "SG",
37021
- Ao: "AO",
37022
- Id: "ID",
37023
- Jm: "JM",
37024
- Jo: "JO",
37025
- Gg: "GG",
37026
- Fm: "FM",
37027
- Bo: "BO",
37028
- Nu: "NU",
37029
- Si: "SI",
37005
+ Am: "AM",
37006
+ Na: "NA",
37007
+ Sx: "SX",
37008
+ Gp: "GP",
37009
+ Mq: "MQ",
37010
+ Pk: "PK",
37011
+ Ne: "NE",
37012
+ Tj: "TJ",
37013
+ Ws: "WS",
37014
+ Al: "AL",
37015
+ Gs: "GS",
37016
+ Sr: "SR",
37017
+ Hu: "HU",
37030
37018
  Bv: "BV",
37031
- Cm: "CM",
37019
+ Il: "IL",
37020
+ Vc: "VC",
37032
37021
  La: "LA",
37033
- Kg: "KG",
37022
+ Cl: "CL",
37023
+ Ee: "EE",
37024
+ Fi: "FI",
37025
+ Pt: "PT",
37034
37026
  Lc: "LC",
37035
- Mv: "MV",
37027
+ By: "BY",
37028
+ Co: "CO",
37036
37029
  Tt: "TT",
37037
- To: "TO",
37038
- Gb: "GB",
37030
+ Mf: "MF",
37031
+ De: "DE",
37032
+ Iq: "IQ",
37033
+ At: "AT",
37034
+ Km: "KM",
37035
+ Ni: "NI",
37036
+ Sc: "SC",
37037
+ Sd: "SD",
37038
+ Cn: "CN",
37039
+ Ng: "NG",
37040
+ Br: "BR",
37041
+ Ph: "PH",
37042
+ Tm: "TM",
37043
+ Va: "VA",
37044
+ Ga: "GA",
37045
+ Bb: "BB",
37046
+ Gt: "GT",
37047
+ Ps: "PS",
37048
+ Gd: "GD",
37049
+ Tn: "TN",
37050
+ Zw: "ZW",
37051
+ Ca: "CA",
37052
+ Tz: "TZ",
37053
+ Eh: "EH",
37054
+ Pn: "PN",
37055
+ Cw: "CW",
37056
+ Lu: "LU",
37039
37057
  Ug: "UG",
37040
- Tr: "TR",
37041
- Ai: "AI",
37042
- Sh: "SH",
37043
- Bf: "BF",
37044
- It: "IT",
37045
- Kw: "KW",
37046
- Tw: "TW",
37058
+ In: "IN",
37059
+ Pa: "PA",
37047
37060
  Hk: "HK",
37048
- Aw: "AW",
37049
- Lb: "LB",
37050
- Ly: "LY",
37061
+ Pr: "PR",
37062
+ Ki: "KI",
37063
+ Aq: "AQ",
37064
+ Bz: "BZ",
37065
+ Fr: "FR",
37066
+ Yt: "YT",
37067
+ Ie: "IE",
37068
+ Um: "UM",
37069
+ Gu: "GU",
37070
+ Jo: "JO",
37071
+ Cc: "CC",
37051
37072
  Vi: "VI",
37052
- Cd: "CD",
37053
- Es: "ES",
37054
- Pa: "PA",
37055
- Mn: "MN",
37056
- Ms: "MS",
37057
- Vg: "VG",
37073
+ Nc: "NC",
37074
+ Do: "DO",
37075
+ Cr: "CR",
37076
+ Ar: "AR",
37077
+ Ai: "AI",
37078
+ Bf: "BF",
37079
+ Ec: "EC",
37080
+ Im: "IM",
37081
+ Za: "ZA",
37082
+ Tf: "TF",
37083
+ Bd: "BD",
37084
+ Mx: "MX",
37085
+ Cy: "CY",
37086
+ Vu: "VU",
37087
+ Mp: "MP",
37088
+ Mz: "MZ",
37089
+ Mu: "MU",
37090
+ Lk: "LK",
37091
+ Bo: "BO",
37058
37092
  Sa: "SA",
37059
- Bt: "BT",
37060
- Er: "ER",
37061
- Ua: "UA",
37062
- Hn: "HN",
37063
- Ag: "AG",
37064
- Vn: "VN",
37093
+ Bn: "BN",
37094
+ Sl: "SL",
37095
+ Lr: "LR",
37096
+ Cz: "CZ",
37097
+ Et: "ET",
37098
+ Re: "RE",
37099
+ Tk: "TK",
37100
+ Io: "IO",
37101
+ Sm: "SM",
37102
+ Pw: "PW",
37103
+ Kn: "KN",
37104
+ Cv: "CV",
37105
+ To: "TO",
37106
+ Tw: "TW",
37107
+ Nr: "NR",
37065
37108
  Ma: "MA",
37066
- Pg: "PG",
37067
- Th: "TH",
37068
- Ee: "EE",
37069
- Mu: "MU",
37070
- Cr: "CR",
37071
- Ge: "GE",
37072
37109
  Gr: "GR",
37073
- Mr: "MR",
37074
- Zw: "ZW",
37075
- Tc: "TC",
37076
- Ck: "CK",
37110
+ Bh: "BH",
37111
+ Th: "TH",
37112
+ Jm: "JM",
37113
+ Vn: "VN",
37114
+ Ch: "CH",
37115
+ Pl: "PL",
37116
+ Me: "ME",
37117
+ Fo: "FO",
37118
+ Fj: "FJ",
37119
+ Ve: "VE",
37077
37120
  Gw: "GW",
37078
- Hr: "HR",
37079
- Lt: "LT",
37080
- Qa: "QA",
37081
- Mo: "MO",
37082
- Ad: "AD",
37083
- Fr: "FR",
37084
- Km: "KM",
37085
- Gs: "GS",
37086
- Bg: "BG",
37087
- Ng: "NG",
37088
- As: "AS",
37089
- Za: "ZA",
37090
- Pt: "PT",
37091
- Np: "NP",
37121
+ Ck: "CK",
37122
+ Dm: "DM",
37123
+ Gy: "GY",
37124
+ Dk: "DK",
37125
+ Pf: "PF",
37126
+ Sk: "SK",
37092
37127
  Rw: "RW",
37093
- Gl: "GL",
37094
- Rs: "RS",
37095
- Mq: "MQ",
37096
- Cv: "CV",
37097
- Gq: "GQ",
37098
- Mf: "MF",
37099
- Mh: "MH",
37100
- Gp: "GP",
37101
- Kn: "KN",
37102
- Wf: "WF",
37103
- Fj: "FJ",
37128
+ Bt: "BT",
37129
+ Ye: "YE",
37130
+ Ss: "SS",
37131
+ Lb: "LB",
37104
37132
  Fk: "FK",
37105
- Me: "ME",
37106
- Ne: "NE",
37107
- Gm: "GM",
37108
- Gh: "GH",
37109
- Sv: "SV",
37110
- Hm: "HM",
37111
- Bn: "BN",
37112
- Ga: "GA",
37113
- Py: "PY",
37114
- Bl: "BL",
37133
+ Gn: "GN",
37134
+ Zm: "ZM",
37135
+ Mm: "MM",
37115
37136
  Eg: "EG",
37116
- Se: "SE",
37117
- Fo: "FO",
37118
- Va: "VA",
37119
- Tk: "TK",
37120
- Ye: "YE",
37121
- Dm: "DM",
37137
+ Je: "JE",
37138
+ Hm: "HM",
37139
+ Be: "BE",
37140
+ Ax: "AX",
37141
+ Sh: "SH",
37142
+ Tg: "TG",
37143
+ Mn: "MN",
37144
+ Bg: "BG",
37145
+ It: "IT",
37146
+ Gh: "GH",
37147
+ Gl: "GL",
37148
+ Nu: "NU",
37149
+ Om: "OM",
37150
+ Ua: "UA",
37151
+ Gi: "GI",
37152
+ Ke: "KE",
37122
37153
  Nl: "NL",
37123
- Mk: "MK",
37124
- Uz: "UZ",
37125
- In: "IN",
37126
- Tl: "TL",
37127
- Iq: "IQ",
37128
- Bz: "BZ",
37154
+ Fm: "FM",
37155
+ Bm: "BM",
37156
+ Gb: "GB",
37157
+ Rs: "RS",
37158
+ Tr: "TR",
37129
37159
  Mc: "MC",
37130
- Bj: "BJ",
37131
- Ae: "AE",
37132
- Pn: "PN",
37133
- Ke: "KE",
37160
+ Ci: "CI",
37161
+ Tv: "TV",
37162
+ Kh: "KH",
37163
+ Vg: "VG",
37164
+ Mw: "MW",
37165
+ Id: "ID",
37166
+ Np: "NP",
37167
+ Lv: "LV",
37168
+ Si: "SI",
37134
37169
  Cx: "CX",
37135
- Aq: "AQ",
37136
- Eh: "EH",
37137
- St: "ST",
37138
- Mz: "MZ",
37139
- Sc: "SC",
37140
- Sm: "SM",
37141
- Im: "IM",
37142
- Tj: "TJ",
37143
- Ps: "PS",
37144
- Mt: "MT",
37145
- Sk: "SK",
37146
- By: "BY",
37147
- Il: "IL",
37148
- Cy: "CY",
37149
- Bm: "BM",
37150
- Sr: "SR",
37151
- Am: "AM",
37152
- Pe: "PE",
37153
- Ws: "WS",
37154
- Fi: "FI",
37170
+ Ls: "LS",
37171
+ Ad: "AD",
37172
+ Ms: "MS",
37173
+ Bs: "BS",
37174
+ Hn: "HN",
37155
37175
  Li: "LI",
37156
- No: "NO",
37157
- Gf: "GF",
37158
- Nr: "NR",
37159
- Bi: "BI",
37160
- Sd: "SD",
37161
- Mp: "MP",
37162
- Je: "JE",
37163
- Ca: "CA",
37164
- Ec: "EC",
37165
- Hu: "HU",
37166
- So: "SO",
37167
- Tz: "TZ",
37168
- Cn: "CN",
37169
- Vc: "VC",
37170
- Sz: "SZ",
37171
- Ml: "ML",
37172
- Bd: "BD",
37173
- Gn: "GN",
37174
- Ki: "KI",
37175
- Do: "DO",
37176
- Sx: "SX",
37177
- Um: "UM",
37178
- Cf: "CF",
37179
- Pw: "PW",
37180
- Zm: "ZM",
37181
- Tf: "TF",
37182
- Tg: "TG",
37183
- Is: "IS",
37184
- Yt: "YT",
37185
- De: "DE",
37186
- Dz: "DZ",
37176
+ Sv: "SV",
37177
+ Bw: "BW",
37178
+ Aw: "AW",
37179
+ Bq: "BQ",
37187
37180
  Uy: "UY",
37188
- Af: "AF",
37189
- Be: "BE",
37190
- Kz: "KZ",
37191
- Nz: "NZ",
37192
- Pl: "PL",
37193
- Pf: "PF",
37194
- At: "AT",
37195
37181
  Az: "AZ",
37196
- Br: "BR",
37197
- Gi: "GI",
37198
- Td: "TD",
37199
- Co: "CO",
37200
- Et: "ET",
37201
- Md: "MD",
37202
- Mw: "MW",
37203
- Om: "OM",
37204
- Ph: "PH",
37205
- Ie: "IE",
37206
- Kr: "KR",
37207
- Pk: "PK",
37208
- Au: "AU",
37209
- Ni: "NI",
37210
- Ro: "RO",
37211
- Lu: "LU",
37212
- Mx: "MX",
37213
- Ar: "AR",
37214
- Na: "NA",
37215
- Dk: "DK",
37216
- Mm: "MM",
37217
- Ax: "AX",
37218
- Ch: "CH",
37182
+ Ba: "BA",
37183
+ Ly: "LY",
37184
+ Ml: "ML",
37219
37185
  Nf: "NF",
37220
- Lr: "LR",
37221
37186
  Sn: "SN",
37222
- Gu: "GU",
37223
- Cl: "CL",
37224
- Pm: "PM",
37187
+ Mh: "MH",
37225
37188
  Us: "US",
37226
- Gt: "GT",
37227
- Al: "AL",
37228
- Vu: "VU",
37229
- Pr: "PR",
37230
- Sb: "SB",
37231
- Ss: "SS",
37189
+ Pe: "PE",
37190
+ Uz: "UZ",
37191
+ Kw: "KW",
37192
+ Td: "TD",
37193
+ Kz: "KZ",
37194
+ Py: "PY",
37195
+ Dz: "DZ",
37196
+ Hr: "HR",
37197
+ Kr: "KR",
37198
+ Au: "AU",
37199
+ Tc: "TC",
37200
+ Mv: "MV",
37201
+ Mt: "MT",
37202
+ Nz: "NZ",
37232
37203
  Jp: "JP",
37233
- Kh: "KH",
37234
- Ls: "LS",
37235
- Sl: "SL",
37204
+ Lt: "LT",
37205
+ Cm: "CM",
37206
+ Ag: "AG",
37207
+ Ro: "RO",
37208
+ As: "AS",
37209
+ Md: "MD",
37210
+ Mg: "MG",
37211
+ Se: "SE",
37212
+ Cg: "CG",
37213
+ Cd: "CD",
37214
+ Pg: "PG",
37215
+ Wf: "WF",
37216
+ Gq: "GQ",
37217
+ Bj: "BJ",
37218
+ Gg: "GG",
37219
+ Mr: "MR",
37220
+ Is: "IS",
37221
+ Bi: "BI",
37222
+ Gm: "GM",
37223
+ Er: "ER",
37236
37224
  Ky: "KY",
37237
- Io: "IO",
37238
- Bb: "BB",
37225
+ Gf: "GF",
37226
+ Ge: "GE",
37227
+ Sj: "SJ",
37228
+ Ao: "AO",
37229
+ Mk: "MK",
37230
+ St: "ST",
37231
+ Mo: "MO",
37232
+ So: "SO",
37233
+ Sz: "SZ",
37234
+ Pm: "PM",
37235
+ Es: "ES",
37236
+ Tl: "TL",
37237
+ Bl: "BL",
37238
+ Ae: "AE",
37239
+ Cf: "CF",
37240
+ Dj: "DJ",
37241
+ Kg: "KG",
37242
+ Qa: "QA",
37239
37243
  Ht: "HT",
37240
- Cz: "CZ",
37241
- Lv: "LV",
37242
- Ba: "BA",
37243
- My: "MY",
37244
- Bw: "BW",
37245
- Tv: "TV",
37246
- Bq: "BQ",
37247
- Lk: "LK",
37248
- Cg: "CG"
37244
+ No: "NO",
37245
+ Sg: "SG",
37246
+ Sb: "SB",
37247
+ Af: "AF",
37248
+ My: "MY"
37249
37249
  };
37250
37250
  CountryAlpha2Input$inboundSchema = nativeEnumType(CountryAlpha2Input);
37251
37251
  CountryAlpha2Input$outboundSchema = CountryAlpha2Input$inboundSchema;
@@ -41723,12 +41723,31 @@ var init_orderitemschema = __esm(() => {
41723
41723
  })(OrderItemSchema$ ||= {});
41724
41724
  });
41725
41725
 
41726
+ // src/models/components/trialinterval.ts
41727
+ var TrialInterval, TrialInterval$inboundSchema, TrialInterval$outboundSchema, TrialInterval$;
41728
+ var init_trialinterval = __esm(() => {
41729
+ init_zod();
41730
+ TrialInterval = {
41731
+ Day: "day",
41732
+ Week: "week",
41733
+ Month: "month",
41734
+ Year: "year"
41735
+ };
41736
+ TrialInterval$inboundSchema = nativeEnumType(TrialInterval);
41737
+ TrialInterval$outboundSchema = TrialInterval$inboundSchema;
41738
+ ((TrialInterval$) => {
41739
+ TrialInterval$.inboundSchema = TrialInterval$inboundSchema;
41740
+ TrialInterval$.outboundSchema = TrialInterval$outboundSchema;
41741
+ })(TrialInterval$ ||= {});
41742
+ });
41743
+
41726
41744
  // src/models/components/orderproduct.ts
41727
41745
  var OrderProductMetadata$inboundSchema, OrderProductMetadata$outboundSchema, OrderProductMetadata$, OrderProduct$inboundSchema, OrderProduct$outboundSchema, OrderProduct$;
41728
41746
  var init_orderproduct = __esm(() => {
41729
41747
  init_zod();
41730
41748
  init_primitives();
41731
41749
  init_subscriptionrecurringinterval();
41750
+ init_trialinterval();
41732
41751
  OrderProductMetadata$inboundSchema = unionType([stringType(), numberType().int(), numberType(), booleanType()]);
41733
41752
  OrderProductMetadata$outboundSchema = unionType([stringType(), numberType().int(), numberType(), booleanType()]);
41734
41753
  ((OrderProductMetadata$) => {
@@ -41737,9 +41756,11 @@ var init_orderproduct = __esm(() => {
41737
41756
  })(OrderProductMetadata$ ||= {});
41738
41757
  OrderProduct$inboundSchema = objectType({
41739
41758
  metadata: recordType(unionType([stringType(), numberType().int(), numberType(), booleanType()])),
41759
+ id: stringType(),
41740
41760
  created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
41741
41761
  modified_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
41742
- id: stringType(),
41762
+ trial_interval: nullableType(TrialInterval$inboundSchema),
41763
+ trial_interval_count: nullableType(numberType().int()),
41743
41764
  name: stringType(),
41744
41765
  description: nullableType(stringType()),
41745
41766
  recurring_interval: nullableType(SubscriptionRecurringInterval$inboundSchema),
@@ -41750,6 +41771,8 @@ var init_orderproduct = __esm(() => {
41750
41771
  return remap(v2, {
41751
41772
  created_at: "createdAt",
41752
41773
  modified_at: "modifiedAt",
41774
+ trial_interval: "trialInterval",
41775
+ trial_interval_count: "trialIntervalCount",
41753
41776
  recurring_interval: "recurringInterval",
41754
41777
  is_recurring: "isRecurring",
41755
41778
  is_archived: "isArchived",
@@ -41758,9 +41781,11 @@ var init_orderproduct = __esm(() => {
41758
41781
  });
41759
41782
  OrderProduct$outboundSchema = objectType({
41760
41783
  metadata: recordType(unionType([stringType(), numberType().int(), numberType(), booleanType()])),
41784
+ id: stringType(),
41761
41785
  createdAt: dateType().transform((v2) => v2.toISOString()),
41762
41786
  modifiedAt: nullableType(dateType().transform((v2) => v2.toISOString())),
41763
- id: stringType(),
41787
+ trialInterval: nullableType(TrialInterval$outboundSchema),
41788
+ trialIntervalCount: nullableType(numberType().int()),
41764
41789
  name: stringType(),
41765
41790
  description: nullableType(stringType()),
41766
41791
  recurringInterval: nullableType(SubscriptionRecurringInterval$outboundSchema),
@@ -41771,6 +41796,8 @@ var init_orderproduct = __esm(() => {
41771
41796
  return remap(v2, {
41772
41797
  createdAt: "created_at",
41773
41798
  modifiedAt: "modified_at",
41799
+ trialInterval: "trial_interval",
41800
+ trialIntervalCount: "trial_interval_count",
41774
41801
  recurringInterval: "recurring_interval",
41775
41802
  isRecurring: "is_recurring",
41776
41803
  isArchived: "is_archived",
@@ -41869,6 +41896,8 @@ var init_ordersubscription = __esm(() => {
41869
41896
  status: SubscriptionStatus$inboundSchema,
41870
41897
  current_period_start: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
41871
41898
  current_period_end: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
41899
+ trial_start: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
41900
+ trial_end: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
41872
41901
  cancel_at_period_end: booleanType(),
41873
41902
  canceled_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
41874
41903
  started_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
@@ -41887,6 +41916,8 @@ var init_ordersubscription = __esm(() => {
41887
41916
  recurring_interval: "recurringInterval",
41888
41917
  current_period_start: "currentPeriodStart",
41889
41918
  current_period_end: "currentPeriodEnd",
41919
+ trial_start: "trialStart",
41920
+ trial_end: "trialEnd",
41890
41921
  cancel_at_period_end: "cancelAtPeriodEnd",
41891
41922
  canceled_at: "canceledAt",
41892
41923
  started_at: "startedAt",
@@ -41911,6 +41942,8 @@ var init_ordersubscription = __esm(() => {
41911
41942
  status: SubscriptionStatus$outboundSchema,
41912
41943
  currentPeriodStart: dateType().transform((v2) => v2.toISOString()),
41913
41944
  currentPeriodEnd: nullableType(dateType().transform((v2) => v2.toISOString())),
41945
+ trialStart: nullableType(dateType().transform((v2) => v2.toISOString())),
41946
+ trialEnd: nullableType(dateType().transform((v2) => v2.toISOString())),
41914
41947
  cancelAtPeriodEnd: booleanType(),
41915
41948
  canceledAt: nullableType(dateType().transform((v2) => v2.toISOString())),
41916
41949
  startedAt: nullableType(dateType().transform((v2) => v2.toISOString())),
@@ -41929,6 +41962,8 @@ var init_ordersubscription = __esm(() => {
41929
41962
  recurringInterval: "recurring_interval",
41930
41963
  currentPeriodStart: "current_period_start",
41931
41964
  currentPeriodEnd: "current_period_end",
41965
+ trialStart: "trial_start",
41966
+ trialEnd: "trial_end",
41932
41967
  cancelAtPeriodEnd: "cancel_at_period_end",
41933
41968
  canceledAt: "canceled_at",
41934
41969
  startedAt: "started_at",
@@ -45311,6 +45346,7 @@ var init_product = __esm(() => {
45311
45346
  init_productmediafileread();
45312
45347
  init_productprice();
45313
45348
  init_subscriptionrecurringinterval();
45349
+ init_trialinterval();
45314
45350
  ProductMetadata$inboundSchema = unionType([stringType(), numberType().int(), numberType(), booleanType()]);
45315
45351
  ProductMetadata$outboundSchema = unionType([stringType(), numberType().int(), numberType(), booleanType()]);
45316
45352
  ((ProductMetadata$) => {
@@ -45330,9 +45366,11 @@ var init_product = __esm(() => {
45330
45366
  Prices$.outboundSchema = Prices$outboundSchema;
45331
45367
  })(Prices$ ||= {});
45332
45368
  Product$inboundSchema = objectType({
45369
+ id: stringType(),
45333
45370
  created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
45334
45371
  modified_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
45335
- id: stringType(),
45372
+ trial_interval: nullableType(TrialInterval$inboundSchema),
45373
+ trial_interval_count: nullableType(numberType().int()),
45336
45374
  name: stringType(),
45337
45375
  description: nullableType(stringType()),
45338
45376
  recurring_interval: nullableType(SubscriptionRecurringInterval$inboundSchema),
@@ -45351,6 +45389,8 @@ var init_product = __esm(() => {
45351
45389
  return remap(v2, {
45352
45390
  created_at: "createdAt",
45353
45391
  modified_at: "modifiedAt",
45392
+ trial_interval: "trialInterval",
45393
+ trial_interval_count: "trialIntervalCount",
45354
45394
  recurring_interval: "recurringInterval",
45355
45395
  is_recurring: "isRecurring",
45356
45396
  is_archived: "isArchived",
@@ -45359,9 +45399,11 @@ var init_product = __esm(() => {
45359
45399
  });
45360
45400
  });
45361
45401
  Product$outboundSchema = objectType({
45402
+ id: stringType(),
45362
45403
  createdAt: dateType().transform((v2) => v2.toISOString()),
45363
45404
  modifiedAt: nullableType(dateType().transform((v2) => v2.toISOString())),
45364
- id: stringType(),
45405
+ trialInterval: nullableType(TrialInterval$outboundSchema),
45406
+ trialIntervalCount: nullableType(numberType().int()),
45365
45407
  name: stringType(),
45366
45408
  description: nullableType(stringType()),
45367
45409
  recurringInterval: nullableType(SubscriptionRecurringInterval$outboundSchema),
@@ -45380,6 +45422,8 @@ var init_product = __esm(() => {
45380
45422
  return remap(v2, {
45381
45423
  createdAt: "created_at",
45382
45424
  modifiedAt: "modified_at",
45425
+ trialInterval: "trial_interval",
45426
+ trialIntervalCount: "trial_interval_count",
45383
45427
  recurringInterval: "recurring_interval",
45384
45428
  isRecurring: "is_recurring",
45385
45429
  isArchived: "is_archived",
@@ -45566,9 +45610,89 @@ var init_productpricemeteredunitcreate = __esm(() => {
45566
45610
  })(ProductPriceMeteredUnitCreate$ ||= {});
45567
45611
  });
45568
45612
 
45569
- // src/models/components/productcreate.ts
45570
- var ProductCreateMetadata$inboundSchema, ProductCreateMetadata$outboundSchema, ProductCreateMetadata$, ProductCreatePrices$inboundSchema, ProductCreatePrices$outboundSchema, ProductCreatePrices$, ProductCreate$inboundSchema, ProductCreate$outboundSchema, ProductCreate$;
45571
- var init_productcreate = __esm(() => {
45613
+ // src/models/components/productcreateonetime.ts
45614
+ var ProductCreateOneTimeMetadata$inboundSchema, ProductCreateOneTimeMetadata$outboundSchema, ProductCreateOneTimeMetadata$, ProductCreateOneTimePrices$inboundSchema, ProductCreateOneTimePrices$outboundSchema, ProductCreateOneTimePrices$, ProductCreateOneTime$inboundSchema, ProductCreateOneTime$outboundSchema, ProductCreateOneTime$;
45615
+ var init_productcreateonetime = __esm(() => {
45616
+ init_zod();
45617
+ init_primitives();
45618
+ init_attachedcustomfieldcreate();
45619
+ init_productpricecustomcreate();
45620
+ init_productpricefixedcreate();
45621
+ init_productpricefreecreate();
45622
+ init_productpricemeteredunitcreate();
45623
+ ProductCreateOneTimeMetadata$inboundSchema = unionType([stringType(), numberType().int(), numberType(), booleanType()]);
45624
+ ProductCreateOneTimeMetadata$outboundSchema = unionType([stringType(), numberType().int(), numberType(), booleanType()]);
45625
+ ((ProductCreateOneTimeMetadata$) => {
45626
+ ProductCreateOneTimeMetadata$.inboundSchema = ProductCreateOneTimeMetadata$inboundSchema;
45627
+ ProductCreateOneTimeMetadata$.outboundSchema = ProductCreateOneTimeMetadata$outboundSchema;
45628
+ })(ProductCreateOneTimeMetadata$ ||= {});
45629
+ ProductCreateOneTimePrices$inboundSchema = unionType([
45630
+ ProductPriceMeteredUnitCreate$inboundSchema,
45631
+ ProductPriceFixedCreate$inboundSchema,
45632
+ ProductPriceCustomCreate$inboundSchema,
45633
+ ProductPriceFreeCreate$inboundSchema
45634
+ ]);
45635
+ ProductCreateOneTimePrices$outboundSchema = unionType([
45636
+ ProductPriceMeteredUnitCreate$outboundSchema,
45637
+ ProductPriceFixedCreate$outboundSchema,
45638
+ ProductPriceCustomCreate$outboundSchema,
45639
+ ProductPriceFreeCreate$outboundSchema
45640
+ ]);
45641
+ ((ProductCreateOneTimePrices$) => {
45642
+ ProductCreateOneTimePrices$.inboundSchema = ProductCreateOneTimePrices$inboundSchema;
45643
+ ProductCreateOneTimePrices$.outboundSchema = ProductCreateOneTimePrices$outboundSchema;
45644
+ })(ProductCreateOneTimePrices$ ||= {});
45645
+ ProductCreateOneTime$inboundSchema = objectType({
45646
+ metadata: recordType(unionType([stringType(), numberType().int(), numberType(), booleanType()])).optional(),
45647
+ name: stringType(),
45648
+ description: nullableType(stringType()).optional(),
45649
+ prices: arrayType(unionType([
45650
+ ProductPriceMeteredUnitCreate$inboundSchema,
45651
+ ProductPriceFixedCreate$inboundSchema,
45652
+ ProductPriceCustomCreate$inboundSchema,
45653
+ ProductPriceFreeCreate$inboundSchema
45654
+ ])),
45655
+ medias: nullableType(arrayType(stringType())).optional(),
45656
+ attached_custom_fields: arrayType(AttachedCustomFieldCreate$inboundSchema).optional(),
45657
+ organization_id: nullableType(stringType()).optional(),
45658
+ recurring_interval: nullableType(anyType()).optional()
45659
+ }).transform((v2) => {
45660
+ return remap(v2, {
45661
+ attached_custom_fields: "attachedCustomFields",
45662
+ organization_id: "organizationId",
45663
+ recurring_interval: "recurringInterval"
45664
+ });
45665
+ });
45666
+ ProductCreateOneTime$outboundSchema = objectType({
45667
+ metadata: recordType(unionType([stringType(), numberType().int(), numberType(), booleanType()])).optional(),
45668
+ name: stringType(),
45669
+ description: nullableType(stringType()).optional(),
45670
+ prices: arrayType(unionType([
45671
+ ProductPriceMeteredUnitCreate$outboundSchema,
45672
+ ProductPriceFixedCreate$outboundSchema,
45673
+ ProductPriceCustomCreate$outboundSchema,
45674
+ ProductPriceFreeCreate$outboundSchema
45675
+ ])),
45676
+ medias: nullableType(arrayType(stringType())).optional(),
45677
+ attachedCustomFields: arrayType(AttachedCustomFieldCreate$outboundSchema).optional(),
45678
+ organizationId: nullableType(stringType()).optional(),
45679
+ recurringInterval: nullableType(anyType()).optional()
45680
+ }).transform((v2) => {
45681
+ return remap(v2, {
45682
+ attachedCustomFields: "attached_custom_fields",
45683
+ organizationId: "organization_id",
45684
+ recurringInterval: "recurring_interval"
45685
+ });
45686
+ });
45687
+ ((ProductCreateOneTime$) => {
45688
+ ProductCreateOneTime$.inboundSchema = ProductCreateOneTime$inboundSchema;
45689
+ ProductCreateOneTime$.outboundSchema = ProductCreateOneTime$outboundSchema;
45690
+ })(ProductCreateOneTime$ ||= {});
45691
+ });
45692
+
45693
+ // src/models/components/productcreaterecurring.ts
45694
+ var ProductCreateRecurringMetadata$inboundSchema, ProductCreateRecurringMetadata$outboundSchema, ProductCreateRecurringMetadata$, ProductCreateRecurringPrices$inboundSchema, ProductCreateRecurringPrices$outboundSchema, ProductCreateRecurringPrices$, ProductCreateRecurring$inboundSchema, ProductCreateRecurring$outboundSchema, ProductCreateRecurring$;
45695
+ var init_productcreaterecurring = __esm(() => {
45572
45696
  init_zod();
45573
45697
  init_primitives();
45574
45698
  init_attachedcustomfieldcreate();
@@ -45577,33 +45701,33 @@ var init_productcreate = __esm(() => {
45577
45701
  init_productpricefreecreate();
45578
45702
  init_productpricemeteredunitcreate();
45579
45703
  init_subscriptionrecurringinterval();
45580
- ProductCreateMetadata$inboundSchema = unionType([stringType(), numberType().int(), numberType(), booleanType()]);
45581
- ProductCreateMetadata$outboundSchema = unionType([stringType(), numberType().int(), numberType(), booleanType()]);
45582
- ((ProductCreateMetadata$) => {
45583
- ProductCreateMetadata$.inboundSchema = ProductCreateMetadata$inboundSchema;
45584
- ProductCreateMetadata$.outboundSchema = ProductCreateMetadata$outboundSchema;
45585
- })(ProductCreateMetadata$ ||= {});
45586
- ProductCreatePrices$inboundSchema = unionType([
45704
+ init_trialinterval();
45705
+ ProductCreateRecurringMetadata$inboundSchema = unionType([stringType(), numberType().int(), numberType(), booleanType()]);
45706
+ ProductCreateRecurringMetadata$outboundSchema = unionType([stringType(), numberType().int(), numberType(), booleanType()]);
45707
+ ((ProductCreateRecurringMetadata$) => {
45708
+ ProductCreateRecurringMetadata$.inboundSchema = ProductCreateRecurringMetadata$inboundSchema;
45709
+ ProductCreateRecurringMetadata$.outboundSchema = ProductCreateRecurringMetadata$outboundSchema;
45710
+ })(ProductCreateRecurringMetadata$ ||= {});
45711
+ ProductCreateRecurringPrices$inboundSchema = unionType([
45587
45712
  ProductPriceMeteredUnitCreate$inboundSchema,
45588
45713
  ProductPriceFixedCreate$inboundSchema,
45589
45714
  ProductPriceCustomCreate$inboundSchema,
45590
45715
  ProductPriceFreeCreate$inboundSchema
45591
45716
  ]);
45592
- ProductCreatePrices$outboundSchema = unionType([
45717
+ ProductCreateRecurringPrices$outboundSchema = unionType([
45593
45718
  ProductPriceMeteredUnitCreate$outboundSchema,
45594
45719
  ProductPriceFixedCreate$outboundSchema,
45595
45720
  ProductPriceCustomCreate$outboundSchema,
45596
45721
  ProductPriceFreeCreate$outboundSchema
45597
45722
  ]);
45598
- ((ProductCreatePrices$) => {
45599
- ProductCreatePrices$.inboundSchema = ProductCreatePrices$inboundSchema;
45600
- ProductCreatePrices$.outboundSchema = ProductCreatePrices$outboundSchema;
45601
- })(ProductCreatePrices$ ||= {});
45602
- ProductCreate$inboundSchema = objectType({
45723
+ ((ProductCreateRecurringPrices$) => {
45724
+ ProductCreateRecurringPrices$.inboundSchema = ProductCreateRecurringPrices$inboundSchema;
45725
+ ProductCreateRecurringPrices$.outboundSchema = ProductCreateRecurringPrices$outboundSchema;
45726
+ })(ProductCreateRecurringPrices$ ||= {});
45727
+ ProductCreateRecurring$inboundSchema = objectType({
45603
45728
  metadata: recordType(unionType([stringType(), numberType().int(), numberType(), booleanType()])).optional(),
45604
45729
  name: stringType(),
45605
45730
  description: nullableType(stringType()).optional(),
45606
- recurring_interval: nullableType(SubscriptionRecurringInterval$inboundSchema),
45607
45731
  prices: arrayType(unionType([
45608
45732
  ProductPriceMeteredUnitCreate$inboundSchema,
45609
45733
  ProductPriceFixedCreate$inboundSchema,
@@ -45612,19 +45736,23 @@ var init_productcreate = __esm(() => {
45612
45736
  ])),
45613
45737
  medias: nullableType(arrayType(stringType())).optional(),
45614
45738
  attached_custom_fields: arrayType(AttachedCustomFieldCreate$inboundSchema).optional(),
45615
- organization_id: nullableType(stringType()).optional()
45739
+ organization_id: nullableType(stringType()).optional(),
45740
+ trial_interval: nullableType(TrialInterval$inboundSchema).optional(),
45741
+ trial_interval_count: nullableType(numberType().int()).optional(),
45742
+ recurring_interval: SubscriptionRecurringInterval$inboundSchema
45616
45743
  }).transform((v2) => {
45617
45744
  return remap(v2, {
45618
- recurring_interval: "recurringInterval",
45619
45745
  attached_custom_fields: "attachedCustomFields",
45620
- organization_id: "organizationId"
45746
+ organization_id: "organizationId",
45747
+ trial_interval: "trialInterval",
45748
+ trial_interval_count: "trialIntervalCount",
45749
+ recurring_interval: "recurringInterval"
45621
45750
  });
45622
45751
  });
45623
- ProductCreate$outboundSchema = objectType({
45752
+ ProductCreateRecurring$outboundSchema = objectType({
45624
45753
  metadata: recordType(unionType([stringType(), numberType().int(), numberType(), booleanType()])).optional(),
45625
45754
  name: stringType(),
45626
45755
  description: nullableType(stringType()).optional(),
45627
- recurringInterval: nullableType(SubscriptionRecurringInterval$outboundSchema),
45628
45756
  prices: arrayType(unionType([
45629
45757
  ProductPriceMeteredUnitCreate$outboundSchema,
45630
45758
  ProductPriceFixedCreate$outboundSchema,
@@ -45633,14 +45761,39 @@ var init_productcreate = __esm(() => {
45633
45761
  ])),
45634
45762
  medias: nullableType(arrayType(stringType())).optional(),
45635
45763
  attachedCustomFields: arrayType(AttachedCustomFieldCreate$outboundSchema).optional(),
45636
- organizationId: nullableType(stringType()).optional()
45764
+ organizationId: nullableType(stringType()).optional(),
45765
+ trialInterval: nullableType(TrialInterval$outboundSchema).optional(),
45766
+ trialIntervalCount: nullableType(numberType().int()).optional(),
45767
+ recurringInterval: SubscriptionRecurringInterval$outboundSchema
45637
45768
  }).transform((v2) => {
45638
45769
  return remap(v2, {
45639
- recurringInterval: "recurring_interval",
45640
45770
  attachedCustomFields: "attached_custom_fields",
45641
- organizationId: "organization_id"
45771
+ organizationId: "organization_id",
45772
+ trialInterval: "trial_interval",
45773
+ trialIntervalCount: "trial_interval_count",
45774
+ recurringInterval: "recurring_interval"
45642
45775
  });
45643
45776
  });
45777
+ ((ProductCreateRecurring$) => {
45778
+ ProductCreateRecurring$.inboundSchema = ProductCreateRecurring$inboundSchema;
45779
+ ProductCreateRecurring$.outboundSchema = ProductCreateRecurring$outboundSchema;
45780
+ })(ProductCreateRecurring$ ||= {});
45781
+ });
45782
+
45783
+ // src/models/components/productcreate.ts
45784
+ var ProductCreate$inboundSchema, ProductCreate$outboundSchema, ProductCreate$;
45785
+ var init_productcreate = __esm(() => {
45786
+ init_zod();
45787
+ init_productcreateonetime();
45788
+ init_productcreaterecurring();
45789
+ ProductCreate$inboundSchema = unionType([
45790
+ ProductCreateRecurring$inboundSchema,
45791
+ ProductCreateOneTime$inboundSchema
45792
+ ]);
45793
+ ProductCreate$outboundSchema = unionType([
45794
+ ProductCreateRecurring$outboundSchema,
45795
+ ProductCreateOneTime$outboundSchema
45796
+ ]);
45644
45797
  ((ProductCreate$) => {
45645
45798
  ProductCreate$.inboundSchema = ProductCreate$inboundSchema;
45646
45799
  ProductCreate$.outboundSchema = ProductCreate$outboundSchema;
@@ -46235,6 +46388,7 @@ var init_productupdate = __esm(() => {
46235
46388
  init_productpricefreecreate();
46236
46389
  init_productpricemeteredunitcreate();
46237
46390
  init_subscriptionrecurringinterval();
46391
+ init_trialinterval();
46238
46392
  ProductUpdateMetadata$inboundSchema = unionType([stringType(), numberType().int(), numberType(), booleanType()]);
46239
46393
  ProductUpdateMetadata$outboundSchema = unionType([stringType(), numberType().int(), numberType(), booleanType()]);
46240
46394
  ((ProductUpdateMetadata$) => {
@@ -46261,6 +46415,8 @@ var init_productupdate = __esm(() => {
46261
46415
  })(ProductUpdatePrices$ ||= {});
46262
46416
  ProductUpdate$inboundSchema = objectType({
46263
46417
  metadata: recordType(unionType([stringType(), numberType().int(), numberType(), booleanType()])).optional(),
46418
+ trial_interval: nullableType(TrialInterval$inboundSchema).optional(),
46419
+ trial_interval_count: nullableType(numberType().int()).optional(),
46264
46420
  name: nullableType(stringType()).optional(),
46265
46421
  description: nullableType(stringType()).optional(),
46266
46422
  recurring_interval: nullableType(SubscriptionRecurringInterval$inboundSchema).optional(),
@@ -46276,6 +46432,8 @@ var init_productupdate = __esm(() => {
46276
46432
  attached_custom_fields: nullableType(arrayType(AttachedCustomFieldCreate$inboundSchema)).optional()
46277
46433
  }).transform((v2) => {
46278
46434
  return remap(v2, {
46435
+ trial_interval: "trialInterval",
46436
+ trial_interval_count: "trialIntervalCount",
46279
46437
  recurring_interval: "recurringInterval",
46280
46438
  is_archived: "isArchived",
46281
46439
  attached_custom_fields: "attachedCustomFields"
@@ -46283,6 +46441,8 @@ var init_productupdate = __esm(() => {
46283
46441
  });
46284
46442
  ProductUpdate$outboundSchema = objectType({
46285
46443
  metadata: recordType(unionType([stringType(), numberType().int(), numberType(), booleanType()])).optional(),
46444
+ trialInterval: nullableType(TrialInterval$outboundSchema).optional(),
46445
+ trialIntervalCount: nullableType(numberType().int()).optional(),
46286
46446
  name: nullableType(stringType()).optional(),
46287
46447
  description: nullableType(stringType()).optional(),
46288
46448
  recurringInterval: nullableType(SubscriptionRecurringInterval$outboundSchema).optional(),
@@ -46298,6 +46458,8 @@ var init_productupdate = __esm(() => {
46298
46458
  attachedCustomFields: nullableType(arrayType(AttachedCustomFieldCreate$outboundSchema)).optional()
46299
46459
  }).transform((v2) => {
46300
46460
  return remap(v2, {
46461
+ trialInterval: "trial_interval",
46462
+ trialIntervalCount: "trial_interval_count",
46301
46463
  recurringInterval: "recurring_interval",
46302
46464
  isArchived: "is_archived",
46303
46465
  attachedCustomFields: "attached_custom_fields"
@@ -46958,6 +47120,8 @@ var init_subscription = __esm(() => {
46958
47120
  status: SubscriptionStatus$inboundSchema,
46959
47121
  current_period_start: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
46960
47122
  current_period_end: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
47123
+ trial_start: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
47124
+ trial_end: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
46961
47125
  cancel_at_period_end: booleanType(),
46962
47126
  canceled_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
46963
47127
  started_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
@@ -46996,6 +47160,8 @@ var init_subscription = __esm(() => {
46996
47160
  recurring_interval: "recurringInterval",
46997
47161
  current_period_start: "currentPeriodStart",
46998
47162
  current_period_end: "currentPeriodEnd",
47163
+ trial_start: "trialStart",
47164
+ trial_end: "trialEnd",
46999
47165
  cancel_at_period_end: "cancelAtPeriodEnd",
47000
47166
  canceled_at: "canceledAt",
47001
47167
  started_at: "startedAt",
@@ -47020,6 +47186,8 @@ var init_subscription = __esm(() => {
47020
47186
  status: SubscriptionStatus$outboundSchema,
47021
47187
  currentPeriodStart: dateType().transform((v2) => v2.toISOString()),
47022
47188
  currentPeriodEnd: nullableType(dateType().transform((v2) => v2.toISOString())),
47189
+ trialStart: nullableType(dateType().transform((v2) => v2.toISOString())),
47190
+ trialEnd: nullableType(dateType().transform((v2) => v2.toISOString())),
47023
47191
  cancelAtPeriodEnd: booleanType(),
47024
47192
  canceledAt: nullableType(dateType().transform((v2) => v2.toISOString())),
47025
47193
  startedAt: nullableType(dateType().transform((v2) => v2.toISOString())),
@@ -47058,6 +47226,8 @@ var init_subscription = __esm(() => {
47058
47226
  recurringInterval: "recurring_interval",
47059
47227
  currentPeriodStart: "current_period_start",
47060
47228
  currentPeriodEnd: "current_period_end",
47229
+ trialStart: "trial_start",
47230
+ trialEnd: "trial_end",
47061
47231
  cancelAtPeriodEnd: "cancel_at_period_end",
47062
47232
  canceledAt: "canceled_at",
47063
47233
  startedAt: "started_at",
@@ -47860,6 +48030,31 @@ var init_subscriptionupdateproduct = __esm(() => {
47860
48030
  })(SubscriptionUpdateProduct$ ||= {});
47861
48031
  });
47862
48032
 
48033
+ // src/models/components/subscriptionupdatetrial.ts
48034
+ var SubscriptionUpdateTrial$inboundSchema, SubscriptionUpdateTrial$outboundSchema, SubscriptionUpdateTrial$;
48035
+ var init_subscriptionupdatetrial = __esm(() => {
48036
+ init_zod();
48037
+ init_primitives();
48038
+ SubscriptionUpdateTrial$inboundSchema = objectType({
48039
+ trial_end: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
48040
+ }).transform((v2) => {
48041
+ return remap(v2, {
48042
+ trial_end: "trialEnd"
48043
+ });
48044
+ });
48045
+ SubscriptionUpdateTrial$outboundSchema = objectType({
48046
+ trialEnd: dateType().transform((v2) => v2.toISOString())
48047
+ }).transform((v2) => {
48048
+ return remap(v2, {
48049
+ trialEnd: "trial_end"
48050
+ });
48051
+ });
48052
+ ((SubscriptionUpdateTrial$) => {
48053
+ SubscriptionUpdateTrial$.inboundSchema = SubscriptionUpdateTrial$inboundSchema;
48054
+ SubscriptionUpdateTrial$.outboundSchema = SubscriptionUpdateTrial$outboundSchema;
48055
+ })(SubscriptionUpdateTrial$ ||= {});
48056
+ });
48057
+
47863
48058
  // src/models/components/subscriptionupdate.ts
47864
48059
  var SubscriptionUpdate$inboundSchema, SubscriptionUpdate$outboundSchema, SubscriptionUpdate$;
47865
48060
  var init_subscriptionupdate = __esm(() => {
@@ -47868,15 +48063,18 @@ var init_subscriptionupdate = __esm(() => {
47868
48063
  init_subscriptionrevoke();
47869
48064
  init_subscriptionupdatediscount();
47870
48065
  init_subscriptionupdateproduct();
48066
+ init_subscriptionupdatetrial();
47871
48067
  SubscriptionUpdate$inboundSchema = unionType([
47872
48068
  SubscriptionUpdateProduct$inboundSchema,
47873
48069
  SubscriptionUpdateDiscount$inboundSchema,
48070
+ SubscriptionUpdateTrial$inboundSchema,
47874
48071
  SubscriptionCancel$inboundSchema,
47875
48072
  SubscriptionRevoke$inboundSchema
47876
48073
  ]);
47877
48074
  SubscriptionUpdate$outboundSchema = unionType([
47878
48075
  SubscriptionUpdateProduct$outboundSchema,
47879
48076
  SubscriptionUpdateDiscount$outboundSchema,
48077
+ SubscriptionUpdateTrial$outboundSchema,
47880
48078
  SubscriptionCancel$outboundSchema,
47881
48079
  SubscriptionRevoke$outboundSchema
47882
48080
  ]);
@@ -48036,7 +48234,7 @@ Update a subscription.
48036
48234
  function createMCPServer(deps) {
48037
48235
  const server = new McpServer({
48038
48236
  name: "Polar",
48039
- version: "0.35.0"
48237
+ version: "0.35.1"
48040
48238
  });
48041
48239
  const client = new PolarCore({
48042
48240
  accessToken: deps.accessToken,
@@ -49323,7 +49521,7 @@ var routes = rn({
49323
49521
  var app = Ve(routes, {
49324
49522
  name: "mcp",
49325
49523
  versionInfo: {
49326
- currentVersion: "0.35.0"
49524
+ currentVersion: "0.35.1"
49327
49525
  }
49328
49526
  });
49329
49527
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -49331,5 +49529,5 @@ export {
49331
49529
  app
49332
49530
  };
49333
49531
 
49334
- //# debugId=7509FED1982E75C164756E2164756E21
49532
+ //# debugId=19B2A6B3DB19C60364756E2164756E21
49335
49533
  //# sourceMappingURL=mcp-server.js.map