@polar-sh/sdk 0.43.1 → 0.45.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 (751) hide show
  1. package/README.md +2 -2
  2. package/dist/commonjs/funcs/customerPortalMembersListMembers.d.ts +6 -2
  3. package/dist/commonjs/funcs/customerPortalMembersListMembers.d.ts.map +1 -1
  4. package/dist/commonjs/funcs/customerPortalMembersListMembers.js +65 -10
  5. package/dist/commonjs/funcs/customerPortalMembersListMembers.js.map +1 -1
  6. package/dist/commonjs/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts +6 -3
  7. package/dist/commonjs/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts.map +1 -1
  8. package/dist/commonjs/funcs/customerPortalSeatsListClaimedSubscriptions.js +63 -10
  9. package/dist/commonjs/funcs/customerPortalSeatsListClaimedSubscriptions.js.map +1 -1
  10. package/dist/commonjs/funcs/customersExport.d.ts +8 -2
  11. package/dist/commonjs/funcs/customersExport.d.ts.map +1 -1
  12. package/dist/commonjs/funcs/customersExport.js +9 -2
  13. package/dist/commonjs/funcs/customersExport.js.map +1 -1
  14. package/dist/commonjs/funcs/ordersExport.d.ts +9 -3
  15. package/dist/commonjs/funcs/ordersExport.d.ts.map +1 -1
  16. package/dist/commonjs/funcs/ordersExport.js +10 -3
  17. package/dist/commonjs/funcs/ordersExport.js.map +1 -1
  18. package/dist/commonjs/funcs/subscriptionsExport.d.ts +8 -2
  19. package/dist/commonjs/funcs/subscriptionsExport.d.ts.map +1 -1
  20. package/dist/commonjs/funcs/subscriptionsExport.js +11 -2
  21. package/dist/commonjs/funcs/subscriptionsExport.js.map +1 -1
  22. package/dist/commonjs/lib/config.d.ts +3 -3
  23. package/dist/commonjs/lib/config.js +3 -3
  24. package/dist/commonjs/models/components/address.d.ts +4 -4
  25. package/dist/commonjs/models/components/address.d.ts.map +1 -1
  26. package/dist/commonjs/models/components/address.js +3 -2
  27. package/dist/commonjs/models/components/address.js.map +1 -1
  28. package/dist/commonjs/models/components/benefitgithubrepositoryproperties.d.ts +4 -4
  29. package/dist/commonjs/models/components/benefitgithubrepositoryproperties.d.ts.map +1 -1
  30. package/dist/commonjs/models/components/benefitgithubrepositoryproperties.js +3 -3
  31. package/dist/commonjs/models/components/benefitgithubrepositoryproperties.js.map +1 -1
  32. package/dist/commonjs/models/components/benefitgrantgithubrepositoryproperties.d.ts +4 -4
  33. package/dist/commonjs/models/components/benefitgrantgithubrepositoryproperties.d.ts.map +1 -1
  34. package/dist/commonjs/models/components/benefitgrantgithubrepositoryproperties.js +3 -3
  35. package/dist/commonjs/models/components/benefitgrantgithubrepositoryproperties.js.map +1 -1
  36. package/dist/commonjs/models/components/benefitlicensekeyexpirationproperties.d.ts +4 -4
  37. package/dist/commonjs/models/components/benefitlicensekeyexpirationproperties.d.ts.map +1 -1
  38. package/dist/commonjs/models/components/benefitlicensekeyexpirationproperties.js +3 -2
  39. package/dist/commonjs/models/components/benefitlicensekeyexpirationproperties.js.map +1 -1
  40. package/dist/commonjs/models/components/benefittype.d.ts +4 -4
  41. package/dist/commonjs/models/components/benefittype.d.ts.map +1 -1
  42. package/dist/commonjs/models/components/benefittype.js +3 -4
  43. package/dist/commonjs/models/components/benefittype.js.map +1 -1
  44. package/dist/commonjs/models/components/billingaddressfieldmode.d.ts +4 -4
  45. package/dist/commonjs/models/components/billingaddressfieldmode.d.ts.map +1 -1
  46. package/dist/commonjs/models/components/billingaddressfieldmode.js +3 -3
  47. package/dist/commonjs/models/components/billingaddressfieldmode.js.map +1 -1
  48. package/dist/commonjs/models/components/checkout.d.ts +0 -28
  49. package/dist/commonjs/models/components/checkout.d.ts.map +1 -1
  50. package/dist/commonjs/models/components/checkout.js +1 -37
  51. package/dist/commonjs/models/components/checkout.js.map +1 -1
  52. package/dist/commonjs/models/components/checkoutconfirmstripe.d.ts +0 -7
  53. package/dist/commonjs/models/components/checkoutconfirmstripe.d.ts.map +1 -1
  54. package/dist/commonjs/models/components/checkoutconfirmstripe.js +0 -2
  55. package/dist/commonjs/models/components/checkoutconfirmstripe.js.map +1 -1
  56. package/dist/commonjs/models/components/checkoutlink.d.ts +4 -0
  57. package/dist/commonjs/models/components/checkoutlink.d.ts.map +1 -1
  58. package/dist/commonjs/models/components/checkoutlink.js +2 -0
  59. package/dist/commonjs/models/components/checkoutlink.js.map +1 -1
  60. package/dist/commonjs/models/components/checkoutlinkcreateproduct.d.ts +5 -0
  61. package/dist/commonjs/models/components/checkoutlinkcreateproduct.d.ts.map +1 -1
  62. package/dist/commonjs/models/components/checkoutlinkcreateproduct.js +2 -0
  63. package/dist/commonjs/models/components/checkoutlinkcreateproduct.js.map +1 -1
  64. package/dist/commonjs/models/components/checkoutlinkcreateproductprice.d.ts +5 -0
  65. package/dist/commonjs/models/components/checkoutlinkcreateproductprice.d.ts.map +1 -1
  66. package/dist/commonjs/models/components/checkoutlinkcreateproductprice.js +2 -0
  67. package/dist/commonjs/models/components/checkoutlinkcreateproductprice.js.map +1 -1
  68. package/dist/commonjs/models/components/checkoutlinkcreateproducts.d.ts +5 -0
  69. package/dist/commonjs/models/components/checkoutlinkcreateproducts.d.ts.map +1 -1
  70. package/dist/commonjs/models/components/checkoutlinkcreateproducts.js +2 -0
  71. package/dist/commonjs/models/components/checkoutlinkcreateproducts.js.map +1 -1
  72. package/dist/commonjs/models/components/checkoutlinkupdate.d.ts +5 -0
  73. package/dist/commonjs/models/components/checkoutlinkupdate.d.ts.map +1 -1
  74. package/dist/commonjs/models/components/checkoutlinkupdate.js +2 -0
  75. package/dist/commonjs/models/components/checkoutlinkupdate.js.map +1 -1
  76. package/dist/commonjs/models/components/checkoutpublic.d.ts +0 -16
  77. package/dist/commonjs/models/components/checkoutpublic.d.ts.map +1 -1
  78. package/dist/commonjs/models/components/checkoutpublic.js +1 -17
  79. package/dist/commonjs/models/components/checkoutpublic.js.map +1 -1
  80. package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts +0 -16
  81. package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
  82. package/dist/commonjs/models/components/checkoutpublicconfirmed.js +1 -17
  83. package/dist/commonjs/models/components/checkoutpublicconfirmed.js.map +1 -1
  84. package/dist/commonjs/models/components/checkoutstatus.d.ts +4 -4
  85. package/dist/commonjs/models/components/checkoutstatus.d.ts.map +1 -1
  86. package/dist/commonjs/models/components/checkoutstatus.js +3 -3
  87. package/dist/commonjs/models/components/checkoutstatus.js.map +1 -1
  88. package/dist/commonjs/models/components/checkoutupdate.d.ts +0 -7
  89. package/dist/commonjs/models/components/checkoutupdate.d.ts.map +1 -1
  90. package/dist/commonjs/models/components/checkoutupdate.js +0 -2
  91. package/dist/commonjs/models/components/checkoutupdate.js.map +1 -1
  92. package/dist/commonjs/models/components/checkoutupdatepublic.d.ts +0 -7
  93. package/dist/commonjs/models/components/checkoutupdatepublic.d.ts.map +1 -1
  94. package/dist/commonjs/models/components/checkoutupdatepublic.js +0 -2
  95. package/dist/commonjs/models/components/checkoutupdatepublic.js.map +1 -1
  96. package/dist/commonjs/models/components/customercancellationreason.d.ts +4 -4
  97. package/dist/commonjs/models/components/customercancellationreason.d.ts.map +1 -1
  98. package/dist/commonjs/models/components/customercancellationreason.js +3 -3
  99. package/dist/commonjs/models/components/customercancellationreason.js.map +1 -1
  100. package/dist/commonjs/models/components/customerorder.d.ts +0 -4
  101. package/dist/commonjs/models/components/customerorder.d.ts.map +1 -1
  102. package/dist/commonjs/models/components/customerorder.js +0 -2
  103. package/dist/commonjs/models/components/customerorder.js.map +1 -1
  104. package/dist/commonjs/models/components/customerstatesubscription.d.ts +4 -4
  105. package/dist/commonjs/models/components/customerstatesubscription.d.ts.map +1 -1
  106. package/dist/commonjs/models/components/customerstatesubscription.js +5 -2
  107. package/dist/commonjs/models/components/customerstatesubscription.js.map +1 -1
  108. package/dist/commonjs/models/components/customertype.d.ts +4 -4
  109. package/dist/commonjs/models/components/customertype.d.ts.map +1 -1
  110. package/dist/commonjs/models/components/customertype.js +3 -4
  111. package/dist/commonjs/models/components/customertype.js.map +1 -1
  112. package/dist/commonjs/models/components/discountduration.d.ts +4 -4
  113. package/dist/commonjs/models/components/discountduration.d.ts.map +1 -1
  114. package/dist/commonjs/models/components/discountduration.js +3 -3
  115. package/dist/commonjs/models/components/discountduration.js.map +1 -1
  116. package/dist/commonjs/models/components/discountfixedonceforeverdurationcreate.d.ts +3 -5
  117. package/dist/commonjs/models/components/discountfixedonceforeverdurationcreate.d.ts.map +1 -1
  118. package/dist/commonjs/models/components/discountfixedonceforeverdurationcreate.js +2 -1
  119. package/dist/commonjs/models/components/discountfixedonceforeverdurationcreate.js.map +1 -1
  120. package/dist/commonjs/models/components/discountfixedrepeatdurationcreate.d.ts +3 -5
  121. package/dist/commonjs/models/components/discountfixedrepeatdurationcreate.d.ts.map +1 -1
  122. package/dist/commonjs/models/components/discountfixedrepeatdurationcreate.js +2 -1
  123. package/dist/commonjs/models/components/discountfixedrepeatdurationcreate.js.map +1 -1
  124. package/dist/commonjs/models/components/discounttype.d.ts +4 -4
  125. package/dist/commonjs/models/components/discounttype.d.ts.map +1 -1
  126. package/dist/commonjs/models/components/discounttype.js +3 -4
  127. package/dist/commonjs/models/components/discounttype.js.map +1 -1
  128. package/dist/commonjs/models/components/discountupdate.d.ts +2 -1
  129. package/dist/commonjs/models/components/discountupdate.d.ts.map +1 -1
  130. package/dist/commonjs/models/components/discountupdate.js +2 -1
  131. package/dist/commonjs/models/components/discountupdate.js.map +1 -1
  132. package/dist/commonjs/models/components/disputestatus.d.ts +4 -4
  133. package/dist/commonjs/models/components/disputestatus.d.ts.map +1 -1
  134. package/dist/commonjs/models/components/disputestatus.js +3 -3
  135. package/dist/commonjs/models/components/disputestatus.js.map +1 -1
  136. package/dist/commonjs/models/components/eventsource.d.ts +4 -4
  137. package/dist/commonjs/models/components/eventsource.d.ts.map +1 -1
  138. package/dist/commonjs/models/components/eventsource.js +3 -4
  139. package/dist/commonjs/models/components/eventsource.js.map +1 -1
  140. package/dist/commonjs/models/components/fileservicetypes.d.ts +3 -3
  141. package/dist/commonjs/models/components/fileservicetypes.d.ts.map +1 -1
  142. package/dist/commonjs/models/components/fileservicetypes.js +2 -2
  143. package/dist/commonjs/models/components/fileservicetypes.js.map +1 -1
  144. package/dist/commonjs/models/components/filterconjunction.d.ts +4 -4
  145. package/dist/commonjs/models/components/filterconjunction.d.ts.map +1 -1
  146. package/dist/commonjs/models/components/filterconjunction.js +3 -3
  147. package/dist/commonjs/models/components/filterconjunction.js.map +1 -1
  148. package/dist/commonjs/models/components/filteroperator.d.ts +4 -4
  149. package/dist/commonjs/models/components/filteroperator.d.ts.map +1 -1
  150. package/dist/commonjs/models/components/filteroperator.js +3 -3
  151. package/dist/commonjs/models/components/filteroperator.js.map +1 -1
  152. package/dist/commonjs/models/components/introspecttokenresponse.d.ts +3 -3
  153. package/dist/commonjs/models/components/introspecttokenresponse.d.ts.map +1 -1
  154. package/dist/commonjs/models/components/introspecttokenresponse.js +2 -1
  155. package/dist/commonjs/models/components/introspecttokenresponse.js.map +1 -1
  156. package/dist/commonjs/models/components/licensekeystatus.d.ts +4 -4
  157. package/dist/commonjs/models/components/licensekeystatus.d.ts.map +1 -1
  158. package/dist/commonjs/models/components/licensekeystatus.js +3 -3
  159. package/dist/commonjs/models/components/licensekeystatus.js.map +1 -1
  160. package/dist/commonjs/models/components/listresourcecustomerportalmember.d.ts +13 -0
  161. package/dist/commonjs/models/components/listresourcecustomerportalmember.d.ts.map +1 -0
  162. package/dist/commonjs/models/components/{productpricetype.js → listresourcecustomerportalmember.js} +13 -9
  163. package/dist/commonjs/models/components/listresourcecustomerportalmember.js.map +1 -0
  164. package/dist/commonjs/models/components/memberrole.d.ts +4 -4
  165. package/dist/commonjs/models/components/memberrole.d.ts.map +1 -1
  166. package/dist/commonjs/models/components/memberrole.js +3 -4
  167. package/dist/commonjs/models/components/memberrole.js.map +1 -1
  168. package/dist/commonjs/models/components/metrictype.d.ts +3 -3
  169. package/dist/commonjs/models/components/metrictype.d.ts.map +1 -1
  170. package/dist/commonjs/models/components/metrictype.js +2 -3
  171. package/dist/commonjs/models/components/metrictype.js.map +1 -1
  172. package/dist/commonjs/models/components/order.d.ts +0 -5
  173. package/dist/commonjs/models/components/order.d.ts.map +1 -1
  174. package/dist/commonjs/models/components/order.js +0 -4
  175. package/dist/commonjs/models/components/order.js.map +1 -1
  176. package/dist/commonjs/models/components/orderbillingreason.d.ts +4 -4
  177. package/dist/commonjs/models/components/orderbillingreason.d.ts.map +1 -1
  178. package/dist/commonjs/models/components/orderbillingreason.js +3 -3
  179. package/dist/commonjs/models/components/orderbillingreason.js.map +1 -1
  180. package/dist/commonjs/models/components/orderstatus.d.ts +5 -4
  181. package/dist/commonjs/models/components/orderstatus.d.ts.map +1 -1
  182. package/dist/commonjs/models/components/orderstatus.js +4 -4
  183. package/dist/commonjs/models/components/orderstatus.js.map +1 -1
  184. package/dist/commonjs/models/components/organizationcustomeremailsettings.d.ts +2 -0
  185. package/dist/commonjs/models/components/organizationcustomeremailsettings.d.ts.map +1 -1
  186. package/dist/commonjs/models/components/organizationcustomeremailsettings.js +4 -0
  187. package/dist/commonjs/models/components/organizationcustomeremailsettings.js.map +1 -1
  188. package/dist/commonjs/models/components/organizationsocialplatforms.d.ts +4 -4
  189. package/dist/commonjs/models/components/organizationsocialplatforms.d.ts.map +1 -1
  190. package/dist/commonjs/models/components/organizationsocialplatforms.js +3 -3
  191. package/dist/commonjs/models/components/organizationsocialplatforms.js.map +1 -1
  192. package/dist/commonjs/models/components/organizationstatus.d.ts +4 -4
  193. package/dist/commonjs/models/components/organizationstatus.d.ts.map +1 -1
  194. package/dist/commonjs/models/components/organizationstatus.js +3 -3
  195. package/dist/commonjs/models/components/organizationstatus.js.map +1 -1
  196. package/dist/commonjs/models/components/paymentstatus.d.ts +4 -4
  197. package/dist/commonjs/models/components/paymentstatus.d.ts.map +1 -1
  198. package/dist/commonjs/models/components/paymentstatus.js +3 -3
  199. package/dist/commonjs/models/components/paymentstatus.js.map +1 -1
  200. package/dist/commonjs/models/components/productpricecustom.d.ts +0 -9
  201. package/dist/commonjs/models/components/productpricecustom.d.ts.map +1 -1
  202. package/dist/commonjs/models/components/productpricecustom.js +0 -8
  203. package/dist/commonjs/models/components/productpricecustom.js.map +1 -1
  204. package/dist/commonjs/models/components/productpricefixed.d.ts +0 -9
  205. package/dist/commonjs/models/components/productpricefixed.d.ts.map +1 -1
  206. package/dist/commonjs/models/components/productpricefixed.js +0 -8
  207. package/dist/commonjs/models/components/productpricefixed.js.map +1 -1
  208. package/dist/commonjs/models/components/productpricefree.d.ts +0 -9
  209. package/dist/commonjs/models/components/productpricefree.d.ts.map +1 -1
  210. package/dist/commonjs/models/components/productpricefree.js +0 -8
  211. package/dist/commonjs/models/components/productpricefree.js.map +1 -1
  212. package/dist/commonjs/models/components/productpricemeteredunit.d.ts +0 -9
  213. package/dist/commonjs/models/components/productpricemeteredunit.d.ts.map +1 -1
  214. package/dist/commonjs/models/components/productpricemeteredunit.js +0 -8
  215. package/dist/commonjs/models/components/productpricemeteredunit.js.map +1 -1
  216. package/dist/commonjs/models/components/productpriceseatbased.d.ts +0 -9
  217. package/dist/commonjs/models/components/productpriceseatbased.d.ts.map +1 -1
  218. package/dist/commonjs/models/components/productpriceseatbased.js +0 -8
  219. package/dist/commonjs/models/components/productpriceseatbased.js.map +1 -1
  220. package/dist/commonjs/models/components/productpricesource.d.ts +4 -4
  221. package/dist/commonjs/models/components/productpricesource.d.ts.map +1 -1
  222. package/dist/commonjs/models/components/productpricesource.js +3 -3
  223. package/dist/commonjs/models/components/productpricesource.js.map +1 -1
  224. package/dist/commonjs/models/components/productvisibility.d.ts +4 -4
  225. package/dist/commonjs/models/components/productvisibility.d.ts.map +1 -1
  226. package/dist/commonjs/models/components/productvisibility.js +3 -3
  227. package/dist/commonjs/models/components/productvisibility.js.map +1 -1
  228. package/dist/commonjs/models/components/propertyaggregation.d.ts +4 -4
  229. package/dist/commonjs/models/components/propertyaggregation.d.ts.map +1 -1
  230. package/dist/commonjs/models/components/propertyaggregation.js +5 -2
  231. package/dist/commonjs/models/components/propertyaggregation.js.map +1 -1
  232. package/dist/commonjs/models/components/refundreason.d.ts +4 -4
  233. package/dist/commonjs/models/components/refundreason.d.ts.map +1 -1
  234. package/dist/commonjs/models/components/refundreason.js +3 -4
  235. package/dist/commonjs/models/components/refundreason.js.map +1 -1
  236. package/dist/commonjs/models/components/refundstatus.d.ts +4 -4
  237. package/dist/commonjs/models/components/refundstatus.d.ts.map +1 -1
  238. package/dist/commonjs/models/components/refundstatus.js +3 -4
  239. package/dist/commonjs/models/components/refundstatus.js.map +1 -1
  240. package/dist/commonjs/models/components/scope.d.ts +3 -3
  241. package/dist/commonjs/models/components/scope.d.ts.map +1 -1
  242. package/dist/commonjs/models/components/scope.js +3 -2
  243. package/dist/commonjs/models/components/scope.js.map +1 -1
  244. package/dist/commonjs/models/components/seatstatus.d.ts +4 -4
  245. package/dist/commonjs/models/components/seatstatus.d.ts.map +1 -1
  246. package/dist/commonjs/models/components/seatstatus.js +3 -4
  247. package/dist/commonjs/models/components/seatstatus.js.map +1 -1
  248. package/dist/commonjs/models/components/subscriptionprorationbehavior.d.ts +4 -4
  249. package/dist/commonjs/models/components/subscriptionprorationbehavior.d.ts.map +1 -1
  250. package/dist/commonjs/models/components/subscriptionprorationbehavior.js +3 -3
  251. package/dist/commonjs/models/components/subscriptionprorationbehavior.js.map +1 -1
  252. package/dist/commonjs/models/components/subscriptionrecurringinterval.d.ts +4 -4
  253. package/dist/commonjs/models/components/subscriptionrecurringinterval.d.ts.map +1 -1
  254. package/dist/commonjs/models/components/subscriptionrecurringinterval.js +3 -3
  255. package/dist/commonjs/models/components/subscriptionrecurringinterval.js.map +1 -1
  256. package/dist/commonjs/models/components/subscriptionstatus.d.ts +4 -4
  257. package/dist/commonjs/models/components/subscriptionstatus.d.ts.map +1 -1
  258. package/dist/commonjs/models/components/subscriptionstatus.js +3 -3
  259. package/dist/commonjs/models/components/subscriptionstatus.js.map +1 -1
  260. package/dist/commonjs/models/components/subtype.d.ts +4 -4
  261. package/dist/commonjs/models/components/subtype.d.ts.map +1 -1
  262. package/dist/commonjs/models/components/subtype.js +5 -3
  263. package/dist/commonjs/models/components/subtype.js.map +1 -1
  264. package/dist/commonjs/models/components/taxidformat.d.ts +4 -4
  265. package/dist/commonjs/models/components/taxidformat.d.ts.map +1 -1
  266. package/dist/commonjs/models/components/taxidformat.js +3 -4
  267. package/dist/commonjs/models/components/taxidformat.js.map +1 -1
  268. package/dist/commonjs/models/components/trialinterval.d.ts +4 -4
  269. package/dist/commonjs/models/components/trialinterval.d.ts.map +1 -1
  270. package/dist/commonjs/models/components/trialinterval.js +3 -3
  271. package/dist/commonjs/models/components/trialinterval.js.map +1 -1
  272. package/dist/commonjs/models/components/webhookendpointcreate.d.ts +0 -5
  273. package/dist/commonjs/models/components/webhookendpointcreate.d.ts.map +1 -1
  274. package/dist/commonjs/models/components/webhookendpointcreate.js +0 -1
  275. package/dist/commonjs/models/components/webhookendpointcreate.js.map +1 -1
  276. package/dist/commonjs/models/components/webhookendpointupdate.d.ts +0 -5
  277. package/dist/commonjs/models/components/webhookendpointupdate.d.ts.map +1 -1
  278. package/dist/commonjs/models/components/webhookendpointupdate.js +0 -1
  279. package/dist/commonjs/models/components/webhookendpointupdate.js.map +1 -1
  280. package/dist/commonjs/models/components/webhookeventtype.d.ts +4 -4
  281. package/dist/commonjs/models/components/webhookeventtype.d.ts.map +1 -1
  282. package/dist/commonjs/models/components/webhookeventtype.js +3 -3
  283. package/dist/commonjs/models/components/webhookeventtype.js.map +1 -1
  284. package/dist/commonjs/models/components/webhookformat.d.ts +4 -4
  285. package/dist/commonjs/models/components/webhookformat.d.ts.map +1 -1
  286. package/dist/commonjs/models/components/webhookformat.js +3 -3
  287. package/dist/commonjs/models/components/webhookformat.js.map +1 -1
  288. package/dist/commonjs/models/operations/customerportalmemberslistmembers.d.ts +29 -0
  289. package/dist/commonjs/models/operations/customerportalmemberslistmembers.d.ts.map +1 -0
  290. package/dist/commonjs/models/operations/customerportalmemberslistmembers.js +65 -0
  291. package/dist/commonjs/models/operations/customerportalmemberslistmembers.js.map +1 -0
  292. package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.d.ts +27 -0
  293. package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.d.ts.map +1 -1
  294. package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.js +24 -1
  295. package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.js.map +1 -1
  296. package/dist/commonjs/models/operations/customersexport.d.ts +6 -0
  297. package/dist/commonjs/models/operations/customersexport.d.ts.map +1 -1
  298. package/dist/commonjs/models/operations/customersexport.js +8 -1
  299. package/dist/commonjs/models/operations/customersexport.js.map +1 -1
  300. package/dist/commonjs/models/operations/ordersexport.d.ts +6 -0
  301. package/dist/commonjs/models/operations/ordersexport.d.ts.map +1 -1
  302. package/dist/commonjs/models/operations/ordersexport.js +8 -1
  303. package/dist/commonjs/models/operations/ordersexport.js.map +1 -1
  304. package/dist/commonjs/models/operations/subscriptionsexport.d.ts +6 -0
  305. package/dist/commonjs/models/operations/subscriptionsexport.d.ts.map +1 -1
  306. package/dist/commonjs/models/operations/subscriptionsexport.js +8 -1
  307. package/dist/commonjs/models/operations/subscriptionsexport.js.map +1 -1
  308. package/dist/commonjs/sdk/customers.d.ts +6 -2
  309. package/dist/commonjs/sdk/customers.d.ts.map +1 -1
  310. package/dist/commonjs/sdk/customers.js +3 -1
  311. package/dist/commonjs/sdk/customers.js.map +1 -1
  312. package/dist/commonjs/sdk/orders.d.ts +7 -3
  313. package/dist/commonjs/sdk/orders.d.ts.map +1 -1
  314. package/dist/commonjs/sdk/orders.js +4 -2
  315. package/dist/commonjs/sdk/orders.js.map +1 -1
  316. package/dist/commonjs/sdk/polarmembers.d.ts +5 -1
  317. package/dist/commonjs/sdk/polarmembers.d.ts.map +1 -1
  318. package/dist/commonjs/sdk/polarmembers.js +3 -2
  319. package/dist/commonjs/sdk/polarmembers.js.map +1 -1
  320. package/dist/commonjs/sdk/seats.d.ts +5 -3
  321. package/dist/commonjs/sdk/seats.d.ts.map +1 -1
  322. package/dist/commonjs/sdk/seats.js +3 -2
  323. package/dist/commonjs/sdk/seats.js.map +1 -1
  324. package/dist/commonjs/sdk/subscriptions.d.ts +6 -2
  325. package/dist/commonjs/sdk/subscriptions.d.ts.map +1 -1
  326. package/dist/commonjs/sdk/subscriptions.js +3 -1
  327. package/dist/commonjs/sdk/subscriptions.js.map +1 -1
  328. package/dist/esm/funcs/customerPortalMembersListMembers.d.ts +6 -2
  329. package/dist/esm/funcs/customerPortalMembersListMembers.d.ts.map +1 -1
  330. package/dist/esm/funcs/customerPortalMembersListMembers.js +65 -10
  331. package/dist/esm/funcs/customerPortalMembersListMembers.js.map +1 -1
  332. package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts +6 -3
  333. package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts.map +1 -1
  334. package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.js +63 -10
  335. package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.js.map +1 -1
  336. package/dist/esm/funcs/customersExport.d.ts +8 -2
  337. package/dist/esm/funcs/customersExport.d.ts.map +1 -1
  338. package/dist/esm/funcs/customersExport.js +9 -3
  339. package/dist/esm/funcs/customersExport.js.map +1 -1
  340. package/dist/esm/funcs/ordersExport.d.ts +9 -3
  341. package/dist/esm/funcs/ordersExport.d.ts.map +1 -1
  342. package/dist/esm/funcs/ordersExport.js +10 -4
  343. package/dist/esm/funcs/ordersExport.js.map +1 -1
  344. package/dist/esm/funcs/subscriptionsExport.d.ts +8 -2
  345. package/dist/esm/funcs/subscriptionsExport.d.ts.map +1 -1
  346. package/dist/esm/funcs/subscriptionsExport.js +11 -3
  347. package/dist/esm/funcs/subscriptionsExport.js.map +1 -1
  348. package/dist/esm/lib/config.d.ts +3 -3
  349. package/dist/esm/lib/config.js +3 -3
  350. package/dist/esm/models/components/address.d.ts +4 -4
  351. package/dist/esm/models/components/address.d.ts.map +1 -1
  352. package/dist/esm/models/components/address.js +3 -2
  353. package/dist/esm/models/components/address.js.map +1 -1
  354. package/dist/esm/models/components/benefitgithubrepositoryproperties.d.ts +4 -4
  355. package/dist/esm/models/components/benefitgithubrepositoryproperties.d.ts.map +1 -1
  356. package/dist/esm/models/components/benefitgithubrepositoryproperties.js +3 -3
  357. package/dist/esm/models/components/benefitgithubrepositoryproperties.js.map +1 -1
  358. package/dist/esm/models/components/benefitgrantgithubrepositoryproperties.d.ts +4 -4
  359. package/dist/esm/models/components/benefitgrantgithubrepositoryproperties.d.ts.map +1 -1
  360. package/dist/esm/models/components/benefitgrantgithubrepositoryproperties.js +3 -3
  361. package/dist/esm/models/components/benefitgrantgithubrepositoryproperties.js.map +1 -1
  362. package/dist/esm/models/components/benefitlicensekeyexpirationproperties.d.ts +4 -4
  363. package/dist/esm/models/components/benefitlicensekeyexpirationproperties.d.ts.map +1 -1
  364. package/dist/esm/models/components/benefitlicensekeyexpirationproperties.js +3 -2
  365. package/dist/esm/models/components/benefitlicensekeyexpirationproperties.js.map +1 -1
  366. package/dist/esm/models/components/benefittype.d.ts +4 -4
  367. package/dist/esm/models/components/benefittype.d.ts.map +1 -1
  368. package/dist/esm/models/components/benefittype.js +3 -4
  369. package/dist/esm/models/components/benefittype.js.map +1 -1
  370. package/dist/esm/models/components/billingaddressfieldmode.d.ts +4 -4
  371. package/dist/esm/models/components/billingaddressfieldmode.d.ts.map +1 -1
  372. package/dist/esm/models/components/billingaddressfieldmode.js +3 -3
  373. package/dist/esm/models/components/billingaddressfieldmode.js.map +1 -1
  374. package/dist/esm/models/components/checkout.d.ts +0 -28
  375. package/dist/esm/models/components/checkout.d.ts.map +1 -1
  376. package/dist/esm/models/components/checkout.js +0 -34
  377. package/dist/esm/models/components/checkout.js.map +1 -1
  378. package/dist/esm/models/components/checkoutconfirmstripe.d.ts +0 -7
  379. package/dist/esm/models/components/checkoutconfirmstripe.d.ts.map +1 -1
  380. package/dist/esm/models/components/checkoutconfirmstripe.js +0 -2
  381. package/dist/esm/models/components/checkoutconfirmstripe.js.map +1 -1
  382. package/dist/esm/models/components/checkoutlink.d.ts +4 -0
  383. package/dist/esm/models/components/checkoutlink.d.ts.map +1 -1
  384. package/dist/esm/models/components/checkoutlink.js +2 -0
  385. package/dist/esm/models/components/checkoutlink.js.map +1 -1
  386. package/dist/esm/models/components/checkoutlinkcreateproduct.d.ts +5 -0
  387. package/dist/esm/models/components/checkoutlinkcreateproduct.d.ts.map +1 -1
  388. package/dist/esm/models/components/checkoutlinkcreateproduct.js +2 -0
  389. package/dist/esm/models/components/checkoutlinkcreateproduct.js.map +1 -1
  390. package/dist/esm/models/components/checkoutlinkcreateproductprice.d.ts +5 -0
  391. package/dist/esm/models/components/checkoutlinkcreateproductprice.d.ts.map +1 -1
  392. package/dist/esm/models/components/checkoutlinkcreateproductprice.js +2 -0
  393. package/dist/esm/models/components/checkoutlinkcreateproductprice.js.map +1 -1
  394. package/dist/esm/models/components/checkoutlinkcreateproducts.d.ts +5 -0
  395. package/dist/esm/models/components/checkoutlinkcreateproducts.d.ts.map +1 -1
  396. package/dist/esm/models/components/checkoutlinkcreateproducts.js +2 -0
  397. package/dist/esm/models/components/checkoutlinkcreateproducts.js.map +1 -1
  398. package/dist/esm/models/components/checkoutlinkupdate.d.ts +5 -0
  399. package/dist/esm/models/components/checkoutlinkupdate.d.ts.map +1 -1
  400. package/dist/esm/models/components/checkoutlinkupdate.js +2 -0
  401. package/dist/esm/models/components/checkoutlinkupdate.js.map +1 -1
  402. package/dist/esm/models/components/checkoutpublic.d.ts +0 -16
  403. package/dist/esm/models/components/checkoutpublic.d.ts.map +1 -1
  404. package/dist/esm/models/components/checkoutpublic.js +0 -15
  405. package/dist/esm/models/components/checkoutpublic.js.map +1 -1
  406. package/dist/esm/models/components/checkoutpublicconfirmed.d.ts +0 -16
  407. package/dist/esm/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
  408. package/dist/esm/models/components/checkoutpublicconfirmed.js +0 -15
  409. package/dist/esm/models/components/checkoutpublicconfirmed.js.map +1 -1
  410. package/dist/esm/models/components/checkoutstatus.d.ts +4 -4
  411. package/dist/esm/models/components/checkoutstatus.d.ts.map +1 -1
  412. package/dist/esm/models/components/checkoutstatus.js +3 -3
  413. package/dist/esm/models/components/checkoutstatus.js.map +1 -1
  414. package/dist/esm/models/components/checkoutupdate.d.ts +0 -7
  415. package/dist/esm/models/components/checkoutupdate.d.ts.map +1 -1
  416. package/dist/esm/models/components/checkoutupdate.js +0 -2
  417. package/dist/esm/models/components/checkoutupdate.js.map +1 -1
  418. package/dist/esm/models/components/checkoutupdatepublic.d.ts +0 -7
  419. package/dist/esm/models/components/checkoutupdatepublic.d.ts.map +1 -1
  420. package/dist/esm/models/components/checkoutupdatepublic.js +0 -2
  421. package/dist/esm/models/components/checkoutupdatepublic.js.map +1 -1
  422. package/dist/esm/models/components/customercancellationreason.d.ts +4 -4
  423. package/dist/esm/models/components/customercancellationreason.d.ts.map +1 -1
  424. package/dist/esm/models/components/customercancellationreason.js +3 -3
  425. package/dist/esm/models/components/customercancellationreason.js.map +1 -1
  426. package/dist/esm/models/components/customerorder.d.ts +0 -4
  427. package/dist/esm/models/components/customerorder.d.ts.map +1 -1
  428. package/dist/esm/models/components/customerorder.js +0 -2
  429. package/dist/esm/models/components/customerorder.js.map +1 -1
  430. package/dist/esm/models/components/customerstatesubscription.d.ts +4 -4
  431. package/dist/esm/models/components/customerstatesubscription.d.ts.map +1 -1
  432. package/dist/esm/models/components/customerstatesubscription.js +5 -2
  433. package/dist/esm/models/components/customerstatesubscription.js.map +1 -1
  434. package/dist/esm/models/components/customertype.d.ts +4 -4
  435. package/dist/esm/models/components/customertype.d.ts.map +1 -1
  436. package/dist/esm/models/components/customertype.js +3 -4
  437. package/dist/esm/models/components/customertype.js.map +1 -1
  438. package/dist/esm/models/components/discountduration.d.ts +4 -4
  439. package/dist/esm/models/components/discountduration.d.ts.map +1 -1
  440. package/dist/esm/models/components/discountduration.js +3 -3
  441. package/dist/esm/models/components/discountduration.js.map +1 -1
  442. package/dist/esm/models/components/discountfixedonceforeverdurationcreate.d.ts +3 -5
  443. package/dist/esm/models/components/discountfixedonceforeverdurationcreate.d.ts.map +1 -1
  444. package/dist/esm/models/components/discountfixedonceforeverdurationcreate.js +2 -1
  445. package/dist/esm/models/components/discountfixedonceforeverdurationcreate.js.map +1 -1
  446. package/dist/esm/models/components/discountfixedrepeatdurationcreate.d.ts +3 -5
  447. package/dist/esm/models/components/discountfixedrepeatdurationcreate.d.ts.map +1 -1
  448. package/dist/esm/models/components/discountfixedrepeatdurationcreate.js +2 -1
  449. package/dist/esm/models/components/discountfixedrepeatdurationcreate.js.map +1 -1
  450. package/dist/esm/models/components/discounttype.d.ts +4 -4
  451. package/dist/esm/models/components/discounttype.d.ts.map +1 -1
  452. package/dist/esm/models/components/discounttype.js +3 -4
  453. package/dist/esm/models/components/discounttype.js.map +1 -1
  454. package/dist/esm/models/components/discountupdate.d.ts +2 -1
  455. package/dist/esm/models/components/discountupdate.d.ts.map +1 -1
  456. package/dist/esm/models/components/discountupdate.js +2 -1
  457. package/dist/esm/models/components/discountupdate.js.map +1 -1
  458. package/dist/esm/models/components/disputestatus.d.ts +4 -4
  459. package/dist/esm/models/components/disputestatus.d.ts.map +1 -1
  460. package/dist/esm/models/components/disputestatus.js +3 -3
  461. package/dist/esm/models/components/disputestatus.js.map +1 -1
  462. package/dist/esm/models/components/eventsource.d.ts +4 -4
  463. package/dist/esm/models/components/eventsource.d.ts.map +1 -1
  464. package/dist/esm/models/components/eventsource.js +3 -4
  465. package/dist/esm/models/components/eventsource.js.map +1 -1
  466. package/dist/esm/models/components/fileservicetypes.d.ts +3 -3
  467. package/dist/esm/models/components/fileservicetypes.d.ts.map +1 -1
  468. package/dist/esm/models/components/fileservicetypes.js +2 -2
  469. package/dist/esm/models/components/fileservicetypes.js.map +1 -1
  470. package/dist/esm/models/components/filterconjunction.d.ts +4 -4
  471. package/dist/esm/models/components/filterconjunction.d.ts.map +1 -1
  472. package/dist/esm/models/components/filterconjunction.js +3 -3
  473. package/dist/esm/models/components/filterconjunction.js.map +1 -1
  474. package/dist/esm/models/components/filteroperator.d.ts +4 -4
  475. package/dist/esm/models/components/filteroperator.d.ts.map +1 -1
  476. package/dist/esm/models/components/filteroperator.js +3 -3
  477. package/dist/esm/models/components/filteroperator.js.map +1 -1
  478. package/dist/esm/models/components/introspecttokenresponse.d.ts +3 -3
  479. package/dist/esm/models/components/introspecttokenresponse.d.ts.map +1 -1
  480. package/dist/esm/models/components/introspecttokenresponse.js +2 -1
  481. package/dist/esm/models/components/introspecttokenresponse.js.map +1 -1
  482. package/dist/esm/models/components/licensekeystatus.d.ts +4 -4
  483. package/dist/esm/models/components/licensekeystatus.d.ts.map +1 -1
  484. package/dist/esm/models/components/licensekeystatus.js +3 -3
  485. package/dist/esm/models/components/licensekeystatus.js.map +1 -1
  486. package/dist/esm/models/components/listresourcecustomerportalmember.d.ts +13 -0
  487. package/dist/esm/models/components/listresourcecustomerportalmember.d.ts.map +1 -0
  488. package/dist/esm/models/components/listresourcecustomerportalmember.js +16 -0
  489. package/dist/esm/models/components/listresourcecustomerportalmember.js.map +1 -0
  490. package/dist/esm/models/components/memberrole.d.ts +4 -4
  491. package/dist/esm/models/components/memberrole.d.ts.map +1 -1
  492. package/dist/esm/models/components/memberrole.js +3 -4
  493. package/dist/esm/models/components/memberrole.js.map +1 -1
  494. package/dist/esm/models/components/metrictype.d.ts +3 -3
  495. package/dist/esm/models/components/metrictype.d.ts.map +1 -1
  496. package/dist/esm/models/components/metrictype.js +2 -3
  497. package/dist/esm/models/components/metrictype.js.map +1 -1
  498. package/dist/esm/models/components/order.d.ts +0 -5
  499. package/dist/esm/models/components/order.d.ts.map +1 -1
  500. package/dist/esm/models/components/order.js +0 -4
  501. package/dist/esm/models/components/order.js.map +1 -1
  502. package/dist/esm/models/components/orderbillingreason.d.ts +4 -4
  503. package/dist/esm/models/components/orderbillingreason.d.ts.map +1 -1
  504. package/dist/esm/models/components/orderbillingreason.js +3 -3
  505. package/dist/esm/models/components/orderbillingreason.js.map +1 -1
  506. package/dist/esm/models/components/orderstatus.d.ts +5 -4
  507. package/dist/esm/models/components/orderstatus.d.ts.map +1 -1
  508. package/dist/esm/models/components/orderstatus.js +4 -4
  509. package/dist/esm/models/components/orderstatus.js.map +1 -1
  510. package/dist/esm/models/components/organizationcustomeremailsettings.d.ts +2 -0
  511. package/dist/esm/models/components/organizationcustomeremailsettings.d.ts.map +1 -1
  512. package/dist/esm/models/components/organizationcustomeremailsettings.js +4 -0
  513. package/dist/esm/models/components/organizationcustomeremailsettings.js.map +1 -1
  514. package/dist/esm/models/components/organizationsocialplatforms.d.ts +4 -4
  515. package/dist/esm/models/components/organizationsocialplatforms.d.ts.map +1 -1
  516. package/dist/esm/models/components/organizationsocialplatforms.js +3 -3
  517. package/dist/esm/models/components/organizationsocialplatforms.js.map +1 -1
  518. package/dist/esm/models/components/organizationstatus.d.ts +4 -4
  519. package/dist/esm/models/components/organizationstatus.d.ts.map +1 -1
  520. package/dist/esm/models/components/organizationstatus.js +3 -3
  521. package/dist/esm/models/components/organizationstatus.js.map +1 -1
  522. package/dist/esm/models/components/paymentstatus.d.ts +4 -4
  523. package/dist/esm/models/components/paymentstatus.d.ts.map +1 -1
  524. package/dist/esm/models/components/paymentstatus.js +3 -3
  525. package/dist/esm/models/components/paymentstatus.js.map +1 -1
  526. package/dist/esm/models/components/productpricecustom.d.ts +0 -9
  527. package/dist/esm/models/components/productpricecustom.d.ts.map +1 -1
  528. package/dist/esm/models/components/productpricecustom.js +0 -8
  529. package/dist/esm/models/components/productpricecustom.js.map +1 -1
  530. package/dist/esm/models/components/productpricefixed.d.ts +0 -9
  531. package/dist/esm/models/components/productpricefixed.d.ts.map +1 -1
  532. package/dist/esm/models/components/productpricefixed.js +0 -8
  533. package/dist/esm/models/components/productpricefixed.js.map +1 -1
  534. package/dist/esm/models/components/productpricefree.d.ts +0 -9
  535. package/dist/esm/models/components/productpricefree.d.ts.map +1 -1
  536. package/dist/esm/models/components/productpricefree.js +0 -8
  537. package/dist/esm/models/components/productpricefree.js.map +1 -1
  538. package/dist/esm/models/components/productpricemeteredunit.d.ts +0 -9
  539. package/dist/esm/models/components/productpricemeteredunit.d.ts.map +1 -1
  540. package/dist/esm/models/components/productpricemeteredunit.js +0 -8
  541. package/dist/esm/models/components/productpricemeteredunit.js.map +1 -1
  542. package/dist/esm/models/components/productpriceseatbased.d.ts +0 -9
  543. package/dist/esm/models/components/productpriceseatbased.d.ts.map +1 -1
  544. package/dist/esm/models/components/productpriceseatbased.js +0 -8
  545. package/dist/esm/models/components/productpriceseatbased.js.map +1 -1
  546. package/dist/esm/models/components/productpricesource.d.ts +4 -4
  547. package/dist/esm/models/components/productpricesource.d.ts.map +1 -1
  548. package/dist/esm/models/components/productpricesource.js +3 -3
  549. package/dist/esm/models/components/productpricesource.js.map +1 -1
  550. package/dist/esm/models/components/productvisibility.d.ts +4 -4
  551. package/dist/esm/models/components/productvisibility.d.ts.map +1 -1
  552. package/dist/esm/models/components/productvisibility.js +3 -3
  553. package/dist/esm/models/components/productvisibility.js.map +1 -1
  554. package/dist/esm/models/components/propertyaggregation.d.ts +4 -4
  555. package/dist/esm/models/components/propertyaggregation.d.ts.map +1 -1
  556. package/dist/esm/models/components/propertyaggregation.js +5 -2
  557. package/dist/esm/models/components/propertyaggregation.js.map +1 -1
  558. package/dist/esm/models/components/refundreason.d.ts +4 -4
  559. package/dist/esm/models/components/refundreason.d.ts.map +1 -1
  560. package/dist/esm/models/components/refundreason.js +3 -4
  561. package/dist/esm/models/components/refundreason.js.map +1 -1
  562. package/dist/esm/models/components/refundstatus.d.ts +4 -4
  563. package/dist/esm/models/components/refundstatus.d.ts.map +1 -1
  564. package/dist/esm/models/components/refundstatus.js +3 -4
  565. package/dist/esm/models/components/refundstatus.js.map +1 -1
  566. package/dist/esm/models/components/scope.d.ts +3 -3
  567. package/dist/esm/models/components/scope.d.ts.map +1 -1
  568. package/dist/esm/models/components/scope.js +3 -2
  569. package/dist/esm/models/components/scope.js.map +1 -1
  570. package/dist/esm/models/components/seatstatus.d.ts +4 -4
  571. package/dist/esm/models/components/seatstatus.d.ts.map +1 -1
  572. package/dist/esm/models/components/seatstatus.js +3 -4
  573. package/dist/esm/models/components/seatstatus.js.map +1 -1
  574. package/dist/esm/models/components/subscriptionprorationbehavior.d.ts +4 -4
  575. package/dist/esm/models/components/subscriptionprorationbehavior.d.ts.map +1 -1
  576. package/dist/esm/models/components/subscriptionprorationbehavior.js +3 -3
  577. package/dist/esm/models/components/subscriptionprorationbehavior.js.map +1 -1
  578. package/dist/esm/models/components/subscriptionrecurringinterval.d.ts +4 -4
  579. package/dist/esm/models/components/subscriptionrecurringinterval.d.ts.map +1 -1
  580. package/dist/esm/models/components/subscriptionrecurringinterval.js +3 -3
  581. package/dist/esm/models/components/subscriptionrecurringinterval.js.map +1 -1
  582. package/dist/esm/models/components/subscriptionstatus.d.ts +4 -4
  583. package/dist/esm/models/components/subscriptionstatus.d.ts.map +1 -1
  584. package/dist/esm/models/components/subscriptionstatus.js +3 -3
  585. package/dist/esm/models/components/subscriptionstatus.js.map +1 -1
  586. package/dist/esm/models/components/subtype.d.ts +4 -4
  587. package/dist/esm/models/components/subtype.d.ts.map +1 -1
  588. package/dist/esm/models/components/subtype.js +5 -3
  589. package/dist/esm/models/components/subtype.js.map +1 -1
  590. package/dist/esm/models/components/taxidformat.d.ts +4 -4
  591. package/dist/esm/models/components/taxidformat.d.ts.map +1 -1
  592. package/dist/esm/models/components/taxidformat.js +3 -4
  593. package/dist/esm/models/components/taxidformat.js.map +1 -1
  594. package/dist/esm/models/components/trialinterval.d.ts +4 -4
  595. package/dist/esm/models/components/trialinterval.d.ts.map +1 -1
  596. package/dist/esm/models/components/trialinterval.js +3 -3
  597. package/dist/esm/models/components/trialinterval.js.map +1 -1
  598. package/dist/esm/models/components/webhookendpointcreate.d.ts +0 -5
  599. package/dist/esm/models/components/webhookendpointcreate.d.ts.map +1 -1
  600. package/dist/esm/models/components/webhookendpointcreate.js +0 -1
  601. package/dist/esm/models/components/webhookendpointcreate.js.map +1 -1
  602. package/dist/esm/models/components/webhookendpointupdate.d.ts +0 -5
  603. package/dist/esm/models/components/webhookendpointupdate.d.ts.map +1 -1
  604. package/dist/esm/models/components/webhookendpointupdate.js +0 -1
  605. package/dist/esm/models/components/webhookendpointupdate.js.map +1 -1
  606. package/dist/esm/models/components/webhookeventtype.d.ts +4 -4
  607. package/dist/esm/models/components/webhookeventtype.d.ts.map +1 -1
  608. package/dist/esm/models/components/webhookeventtype.js +3 -3
  609. package/dist/esm/models/components/webhookeventtype.js.map +1 -1
  610. package/dist/esm/models/components/webhookformat.d.ts +4 -4
  611. package/dist/esm/models/components/webhookformat.d.ts.map +1 -1
  612. package/dist/esm/models/components/webhookformat.js +3 -3
  613. package/dist/esm/models/components/webhookformat.js.map +1 -1
  614. package/dist/esm/models/operations/customerportalmemberslistmembers.d.ts +29 -0
  615. package/dist/esm/models/operations/customerportalmemberslistmembers.d.ts.map +1 -0
  616. package/dist/esm/models/operations/customerportalmemberslistmembers.js +27 -0
  617. package/dist/esm/models/operations/customerportalmemberslistmembers.js.map +1 -0
  618. package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.d.ts +27 -0
  619. package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.d.ts.map +1 -1
  620. package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.js +21 -0
  621. package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.js.map +1 -1
  622. package/dist/esm/models/operations/customersexport.d.ts +6 -0
  623. package/dist/esm/models/operations/customersexport.d.ts.map +1 -1
  624. package/dist/esm/models/operations/customersexport.js +6 -0
  625. package/dist/esm/models/operations/customersexport.js.map +1 -1
  626. package/dist/esm/models/operations/ordersexport.d.ts +6 -0
  627. package/dist/esm/models/operations/ordersexport.d.ts.map +1 -1
  628. package/dist/esm/models/operations/ordersexport.js +6 -0
  629. package/dist/esm/models/operations/ordersexport.js.map +1 -1
  630. package/dist/esm/models/operations/subscriptionsexport.d.ts +6 -0
  631. package/dist/esm/models/operations/subscriptionsexport.d.ts.map +1 -1
  632. package/dist/esm/models/operations/subscriptionsexport.js +6 -0
  633. package/dist/esm/models/operations/subscriptionsexport.js.map +1 -1
  634. package/dist/esm/sdk/customers.d.ts +6 -2
  635. package/dist/esm/sdk/customers.d.ts.map +1 -1
  636. package/dist/esm/sdk/customers.js +1 -0
  637. package/dist/esm/sdk/customers.js.map +1 -1
  638. package/dist/esm/sdk/orders.d.ts +7 -3
  639. package/dist/esm/sdk/orders.d.ts.map +1 -1
  640. package/dist/esm/sdk/orders.js +2 -1
  641. package/dist/esm/sdk/orders.js.map +1 -1
  642. package/dist/esm/sdk/polarmembers.d.ts +5 -1
  643. package/dist/esm/sdk/polarmembers.d.ts.map +1 -1
  644. package/dist/esm/sdk/polarmembers.js +3 -2
  645. package/dist/esm/sdk/polarmembers.js.map +1 -1
  646. package/dist/esm/sdk/seats.d.ts +5 -3
  647. package/dist/esm/sdk/seats.d.ts.map +1 -1
  648. package/dist/esm/sdk/seats.js +3 -2
  649. package/dist/esm/sdk/seats.js.map +1 -1
  650. package/dist/esm/sdk/subscriptions.d.ts +6 -2
  651. package/dist/esm/sdk/subscriptions.d.ts.map +1 -1
  652. package/dist/esm/sdk/subscriptions.js +2 -1
  653. package/dist/esm/sdk/subscriptions.js.map +1 -1
  654. package/jsr.json +1 -1
  655. package/package.json +1 -1
  656. package/src/funcs/customerPortalMembersListMembers.ts +146 -33
  657. package/src/funcs/customerPortalSeatsListClaimedSubscriptions.ts +153 -34
  658. package/src/funcs/customersExport.ts +16 -7
  659. package/src/funcs/ordersExport.ts +17 -8
  660. package/src/funcs/subscriptionsExport.ts +18 -7
  661. package/src/lib/config.ts +3 -3
  662. package/src/models/components/address.ts +11 -6
  663. package/src/models/components/benefitgithubrepositoryproperties.ts +7 -6
  664. package/src/models/components/benefitgrantgithubrepositoryproperties.ts +7 -6
  665. package/src/models/components/benefitlicensekeyexpirationproperties.ts +7 -7
  666. package/src/models/components/benefittype.ts +7 -6
  667. package/src/models/components/billingaddressfieldmode.ts +11 -10
  668. package/src/models/components/checkout.ts +0 -85
  669. package/src/models/components/checkoutconfirmstripe.ts +0 -9
  670. package/src/models/components/checkoutlink.ts +6 -0
  671. package/src/models/components/checkoutlinkcreateproduct.ts +7 -0
  672. package/src/models/components/checkoutlinkcreateproductprice.ts +7 -0
  673. package/src/models/components/checkoutlinkcreateproducts.ts +7 -0
  674. package/src/models/components/checkoutlinkupdate.ts +7 -0
  675. package/src/models/components/checkoutpublic.ts +0 -44
  676. package/src/models/components/checkoutpublicconfirmed.ts +0 -45
  677. package/src/models/components/checkoutstatus.ts +11 -8
  678. package/src/models/components/checkoutupdate.ts +0 -9
  679. package/src/models/components/checkoutupdatepublic.ts +0 -9
  680. package/src/models/components/customercancellationreason.ts +11 -8
  681. package/src/models/components/customerorder.ts +0 -6
  682. package/src/models/components/customerstatesubscription.ts +7 -7
  683. package/src/models/components/customertype.ts +7 -6
  684. package/src/models/components/discountduration.ts +11 -8
  685. package/src/models/components/discountfixedonceforeverdurationcreate.ts +7 -6
  686. package/src/models/components/discountfixedrepeatdurationcreate.ts +7 -6
  687. package/src/models/components/discounttype.ts +7 -6
  688. package/src/models/components/discountupdate.ts +6 -2
  689. package/src/models/components/disputestatus.ts +11 -6
  690. package/src/models/components/eventsource.ts +7 -6
  691. package/src/models/components/fileservicetypes.ts +7 -5
  692. package/src/models/components/filterconjunction.ts +11 -8
  693. package/src/models/components/filteroperator.ts +11 -8
  694. package/src/models/components/introspecttokenresponse.ts +5 -5
  695. package/src/models/components/licensekeystatus.ts +11 -8
  696. package/src/models/components/listresourcecustomerportalmember.ts +37 -0
  697. package/src/models/components/memberrole.ts +7 -6
  698. package/src/models/components/metrictype.ts +5 -4
  699. package/src/models/components/order.ts +0 -9
  700. package/src/models/components/orderbillingreason.ts +11 -8
  701. package/src/models/components/orderstatus.ts +8 -6
  702. package/src/models/components/organizationcustomeremailsettings.ts +6 -0
  703. package/src/models/components/organizationsocialplatforms.ts +11 -8
  704. package/src/models/components/organizationstatus.ts +11 -8
  705. package/src/models/components/paymentstatus.ts +11 -6
  706. package/src/models/components/productpricecustom.ts +0 -23
  707. package/src/models/components/productpricefixed.ts +0 -23
  708. package/src/models/components/productpricefree.ts +0 -23
  709. package/src/models/components/productpricemeteredunit.ts +0 -23
  710. package/src/models/components/productpriceseatbased.ts +0 -23
  711. package/src/models/components/productpricesource.ts +11 -8
  712. package/src/models/components/productvisibility.ts +11 -8
  713. package/src/models/components/propertyaggregation.ts +7 -5
  714. package/src/models/components/refundreason.ts +7 -6
  715. package/src/models/components/refundstatus.ts +7 -6
  716. package/src/models/components/scope.ts +5 -3
  717. package/src/models/components/seatstatus.ts +7 -6
  718. package/src/models/components/subscriptionprorationbehavior.ts +11 -8
  719. package/src/models/components/subscriptionrecurringinterval.ts +11 -8
  720. package/src/models/components/subscriptionstatus.ts +11 -8
  721. package/src/models/components/subtype.ts +7 -7
  722. package/src/models/components/taxidformat.ts +7 -6
  723. package/src/models/components/trialinterval.ts +11 -6
  724. package/src/models/components/webhookendpointcreate.ts +0 -6
  725. package/src/models/components/webhookendpointupdate.ts +0 -6
  726. package/src/models/components/webhookeventtype.ts +11 -8
  727. package/src/models/components/webhookformat.ts +11 -6
  728. package/src/models/operations/customerportalmemberslistmembers.ts +84 -0
  729. package/src/models/operations/customerportalseatslistclaimedsubscriptions.ts +79 -0
  730. package/src/models/operations/customersexport.ts +21 -0
  731. package/src/models/operations/ordersexport.ts +21 -0
  732. package/src/models/operations/subscriptionsexport.ts +21 -0
  733. package/src/sdk/customers.ts +9 -4
  734. package/src/sdk/orders.ts +10 -5
  735. package/src/sdk/polarmembers.ts +11 -2
  736. package/src/sdk/seats.ts +15 -4
  737. package/src/sdk/subscriptions.ts +12 -4
  738. package/.devcontainer/devcontainer.json +0 -45
  739. package/_speakeasy/.github/action-inputs-config.json +0 -53
  740. package/_speakeasy/.github/action-security-config.json +0 -88
  741. package/dist/commonjs/models/components/productpricetype.d.ts +0 -12
  742. package/dist/commonjs/models/components/productpricetype.d.ts.map +0 -1
  743. package/dist/commonjs/models/components/productpricetype.js.map +0 -1
  744. package/dist/esm/models/components/productpricetype.d.ts +0 -12
  745. package/dist/esm/models/components/productpricetype.d.ts.map +0 -1
  746. package/dist/esm/models/components/productpricetype.js +0 -13
  747. package/dist/esm/models/components/productpricetype.js.map +0 -1
  748. package/examples/package-lock.json +0 -616
  749. package/examples/package.json +0 -18
  750. package/src/models/components/productpricetype.ts +0 -21
  751. package/tsconfig.json +0 -40
@@ -78,6 +78,10 @@ export type CheckoutLink = {
78
78
  * URL where the customer will be redirected after a successful payment.
79
79
  */
80
80
  successUrl: string | null;
81
+ /**
82
+ * When set, a back button will be shown in the checkout to return to this URL.
83
+ */
84
+ returnUrl: string | null;
81
85
  /**
82
86
  * Optional label to distinguish links internally
83
87
  */
@@ -147,6 +151,7 @@ export const CheckoutLink$inboundSchema: z.ZodMiniType<CheckoutLink, unknown> =
147
151
  payment_processor: PaymentProcessor$inboundSchema,
148
152
  client_secret: z.string(),
149
153
  success_url: z.nullable(z.string()),
154
+ return_url: z.nullable(z.string()),
150
155
  label: z.nullable(z.string()),
151
156
  allow_discount_codes: z.boolean(),
152
157
  require_billing_address: z.boolean(),
@@ -172,6 +177,7 @@ export const CheckoutLink$inboundSchema: z.ZodMiniType<CheckoutLink, unknown> =
172
177
  "payment_processor": "paymentProcessor",
173
178
  "client_secret": "clientSecret",
174
179
  "success_url": "successUrl",
180
+ "return_url": "returnUrl",
175
181
  "allow_discount_codes": "allowDiscountCodes",
176
182
  "require_billing_address": "requireBillingAddress",
177
183
  "discount_id": "discountId",
@@ -72,6 +72,10 @@ export type CheckoutLinkCreateProduct = {
72
72
  * URL where the customer will be redirected after a successful payment.You can add the `checkout_id={CHECKOUT_ID}` query parameter to retrieve the checkout session id.
73
73
  */
74
74
  successUrl?: string | null | undefined;
75
+ /**
76
+ * When set, a back button will be shown in the checkout to return to this URL.
77
+ */
78
+ returnUrl?: string | null | undefined;
75
79
  productId: string;
76
80
  };
77
81
 
@@ -109,6 +113,7 @@ export type CheckoutLinkCreateProduct$Outbound = {
109
113
  require_billing_address: boolean;
110
114
  discount_id?: string | null | undefined;
111
115
  success_url?: string | null | undefined;
116
+ return_url?: string | null | undefined;
112
117
  product_id: string;
113
118
  };
114
119
 
@@ -132,6 +137,7 @@ export const CheckoutLinkCreateProduct$outboundSchema: z.ZodMiniType<
132
137
  requireBillingAddress: z._default(z.boolean(), false),
133
138
  discountId: z.optional(z.nullable(z.string())),
134
139
  successUrl: z.optional(z.nullable(z.string())),
140
+ returnUrl: z.optional(z.nullable(z.string())),
135
141
  productId: z.string(),
136
142
  }),
137
143
  z.transform((v) => {
@@ -143,6 +149,7 @@ export const CheckoutLinkCreateProduct$outboundSchema: z.ZodMiniType<
143
149
  requireBillingAddress: "require_billing_address",
144
150
  discountId: "discount_id",
145
151
  successUrl: "success_url",
152
+ returnUrl: "return_url",
146
153
  productId: "product_id",
147
154
  });
148
155
  }),
@@ -72,6 +72,10 @@ export type CheckoutLinkCreateProductPrice = {
72
72
  * URL where the customer will be redirected after a successful payment.You can add the `checkout_id={CHECKOUT_ID}` query parameter to retrieve the checkout session id.
73
73
  */
74
74
  successUrl?: string | null | undefined;
75
+ /**
76
+ * When set, a back button will be shown in the checkout to return to this URL.
77
+ */
78
+ returnUrl?: string | null | undefined;
75
79
  productPriceId: string;
76
80
  };
77
81
 
@@ -111,6 +115,7 @@ export type CheckoutLinkCreateProductPrice$Outbound = {
111
115
  require_billing_address: boolean;
112
116
  discount_id?: string | null | undefined;
113
117
  success_url?: string | null | undefined;
118
+ return_url?: string | null | undefined;
114
119
  product_price_id: string;
115
120
  };
116
121
 
@@ -134,6 +139,7 @@ export const CheckoutLinkCreateProductPrice$outboundSchema: z.ZodMiniType<
134
139
  requireBillingAddress: z._default(z.boolean(), false),
135
140
  discountId: z.optional(z.nullable(z.string())),
136
141
  successUrl: z.optional(z.nullable(z.string())),
142
+ returnUrl: z.optional(z.nullable(z.string())),
137
143
  productPriceId: z.string(),
138
144
  }),
139
145
  z.transform((v) => {
@@ -145,6 +151,7 @@ export const CheckoutLinkCreateProductPrice$outboundSchema: z.ZodMiniType<
145
151
  requireBillingAddress: "require_billing_address",
146
152
  discountId: "discount_id",
147
153
  successUrl: "success_url",
154
+ returnUrl: "return_url",
148
155
  productPriceId: "product_price_id",
149
156
  });
150
157
  }),
@@ -68,6 +68,10 @@ export type CheckoutLinkCreateProducts = {
68
68
  * URL where the customer will be redirected after a successful payment.You can add the `checkout_id={CHECKOUT_ID}` query parameter to retrieve the checkout session id.
69
69
  */
70
70
  successUrl?: string | null | undefined;
71
+ /**
72
+ * When set, a back button will be shown in the checkout to return to this URL.
73
+ */
74
+ returnUrl?: string | null | undefined;
71
75
  /**
72
76
  * List of products that will be available to select at checkout.
73
77
  */
@@ -108,6 +112,7 @@ export type CheckoutLinkCreateProducts$Outbound = {
108
112
  require_billing_address: boolean;
109
113
  discount_id?: string | null | undefined;
110
114
  success_url?: string | null | undefined;
115
+ return_url?: string | null | undefined;
111
116
  products: Array<string>;
112
117
  };
113
118
 
@@ -131,6 +136,7 @@ export const CheckoutLinkCreateProducts$outboundSchema: z.ZodMiniType<
131
136
  requireBillingAddress: z._default(z.boolean(), false),
132
137
  discountId: z.optional(z.nullable(z.string())),
133
138
  successUrl: z.optional(z.nullable(z.string())),
139
+ returnUrl: z.optional(z.nullable(z.string())),
134
140
  products: z.array(z.string()),
135
141
  }),
136
142
  z.transform((v) => {
@@ -142,6 +148,7 @@ export const CheckoutLinkCreateProducts$outboundSchema: z.ZodMiniType<
142
148
  requireBillingAddress: "require_billing_address",
143
149
  discountId: "discount_id",
144
150
  successUrl: "success_url",
151
+ returnUrl: "return_url",
145
152
  });
146
153
  }),
147
154
  );
@@ -61,6 +61,10 @@ export type CheckoutLinkUpdate = {
61
61
  * URL where the customer will be redirected after a successful payment.You can add the `checkout_id={CHECKOUT_ID}` query parameter to retrieve the checkout session id.
62
62
  */
63
63
  successUrl?: string | null | undefined;
64
+ /**
65
+ * When set, a back button will be shown in the checkout to return to this URL.
66
+ */
67
+ returnUrl?: string | null | undefined;
64
68
  };
65
69
 
66
70
  /** @internal */
@@ -95,6 +99,7 @@ export type CheckoutLinkUpdate$Outbound = {
95
99
  require_billing_address?: boolean | null | undefined;
96
100
  discount_id?: string | null | undefined;
97
101
  success_url?: string | null | undefined;
102
+ return_url?: string | null | undefined;
98
103
  };
99
104
 
100
105
  /** @internal */
@@ -117,6 +122,7 @@ export const CheckoutLinkUpdate$outboundSchema: z.ZodMiniType<
117
122
  requireBillingAddress: z.optional(z.nullable(z.boolean())),
118
123
  discountId: z.optional(z.nullable(z.string())),
119
124
  successUrl: z.optional(z.nullable(z.string())),
125
+ returnUrl: z.optional(z.nullable(z.string())),
120
126
  }),
121
127
  z.transform((v) => {
122
128
  return remap$(v, {
@@ -126,6 +132,7 @@ export const CheckoutLinkUpdate$outboundSchema: z.ZodMiniType<
126
132
  requireBillingAddress: "require_billing_address",
127
133
  discountId: "discount_id",
128
134
  successUrl: "success_url",
135
+ returnUrl: "return_url",
129
136
  });
130
137
  }),
131
138
  );
@@ -58,10 +58,6 @@ import { TrialInterval, TrialInterval$inboundSchema } from "./trialinterval.js";
58
58
 
59
59
  export type CheckoutPublicCustomFieldData = string | number | boolean | Date;
60
60
 
61
- export type CheckoutPublicProductPrice =
62
- | LegacyRecurringProductPrice
63
- | ProductPrice;
64
-
65
61
  export type CheckoutPublicPrices = LegacyRecurringProductPrice | ProductPrice;
66
62
 
67
63
  export type CheckoutPublicDiscount =
@@ -174,12 +170,6 @@ export type CheckoutPublic = {
174
170
  * ID of the product to checkout.
175
171
  */
176
172
  productId: string | null;
177
- /**
178
- * ID of the product price to checkout.
179
- *
180
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
181
- */
182
- productPriceId: string | null;
183
173
  /**
184
174
  * ID of the discount applied to the checkout.
185
175
  */
@@ -240,12 +230,6 @@ export type CheckoutPublic = {
240
230
  * Product selected to checkout.
241
231
  */
242
232
  product: CheckoutProduct | null;
243
- /**
244
- * Price of the selected product.
245
- *
246
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
247
- */
248
- productPrice: LegacyRecurringProductPrice | ProductPrice | null;
249
233
  /**
250
234
  * Mapping of product IDs to their list of prices.
251
235
  */
@@ -283,25 +267,6 @@ export function checkoutPublicCustomFieldDataFromJSON(
283
267
  );
284
268
  }
285
269
 
286
- /** @internal */
287
- export const CheckoutPublicProductPrice$inboundSchema: z.ZodMiniType<
288
- CheckoutPublicProductPrice,
289
- unknown
290
- > = smartUnion([
291
- LegacyRecurringProductPrice$inboundSchema,
292
- ProductPrice$inboundSchema,
293
- ]);
294
-
295
- export function checkoutPublicProductPriceFromJSON(
296
- jsonString: string,
297
- ): SafeParseResult<CheckoutPublicProductPrice, SDKValidationError> {
298
- return safeParse(
299
- jsonString,
300
- (x) => CheckoutPublicProductPrice$inboundSchema.parse(JSON.parse(x)),
301
- `Failed to parse 'CheckoutPublicProductPrice' from JSON`,
302
- );
303
- }
304
-
305
270
  /** @internal */
306
271
  export const CheckoutPublicPrices$inboundSchema: z.ZodMiniType<
307
272
  CheckoutPublicPrices,
@@ -399,7 +364,6 @@ export const CheckoutPublic$inboundSchema: z.ZodMiniType<
399
364
  ),
400
365
  organization_id: z.string(),
401
366
  product_id: z.nullable(z.string()),
402
- product_price_id: z.nullable(z.string()),
403
367
  discount_id: z.nullable(z.string()),
404
368
  allow_discount_codes: z.boolean(),
405
369
  require_billing_address: z.boolean(),
@@ -421,12 +385,6 @@ export const CheckoutPublic$inboundSchema: z.ZodMiniType<
421
385
  billing_address_fields: CheckoutBillingAddressFields$inboundSchema,
422
386
  products: z.array(CheckoutProduct$inboundSchema),
423
387
  product: z.nullable(CheckoutProduct$inboundSchema),
424
- product_price: z.nullable(
425
- smartUnion([
426
- LegacyRecurringProductPrice$inboundSchema,
427
- ProductPrice$inboundSchema,
428
- ]),
429
- ),
430
388
  prices: z.nullable(
431
389
  z.record(
432
390
  z.string(),
@@ -473,7 +431,6 @@ export const CheckoutPublic$inboundSchema: z.ZodMiniType<
473
431
  "trial_end": "trialEnd",
474
432
  "organization_id": "organizationId",
475
433
  "product_id": "productId",
476
- "product_price_id": "productPriceId",
477
434
  "discount_id": "discountId",
478
435
  "allow_discount_codes": "allowDiscountCodes",
479
436
  "require_billing_address": "requireBillingAddress",
@@ -492,7 +449,6 @@ export const CheckoutPublic$inboundSchema: z.ZodMiniType<
492
449
  "customer_tax_id": "customerTaxId",
493
450
  "payment_processor_metadata": "paymentProcessorMetadata",
494
451
  "billing_address_fields": "billingAddressFields",
495
- "product_price": "productPrice",
496
452
  "attached_custom_fields": "attachedCustomFields",
497
453
  });
498
454
  }),
@@ -58,10 +58,6 @@ export type CheckoutPublicConfirmedCustomFieldData =
58
58
  | boolean
59
59
  | Date;
60
60
 
61
- export type CheckoutPublicConfirmedProductPrice =
62
- | LegacyRecurringProductPrice
63
- | ProductPrice;
64
-
65
61
  export type CheckoutPublicConfirmedPrices =
66
62
  | LegacyRecurringProductPrice
67
63
  | ProductPrice;
@@ -181,12 +177,6 @@ export type CheckoutPublicConfirmed = {
181
177
  * ID of the product to checkout.
182
178
  */
183
179
  productId: string | null;
184
- /**
185
- * ID of the product price to checkout.
186
- *
187
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
188
- */
189
- productPriceId: string | null;
190
180
  /**
191
181
  * ID of the discount applied to the checkout.
192
182
  */
@@ -247,12 +237,6 @@ export type CheckoutPublicConfirmed = {
247
237
  * Product selected to checkout.
248
238
  */
249
239
  product: CheckoutProduct | null;
250
- /**
251
- * Price of the selected product.
252
- *
253
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
254
- */
255
- productPrice: LegacyRecurringProductPrice | ProductPrice | null;
256
240
  /**
257
241
  * Mapping of product IDs to their list of prices.
258
242
  */
@@ -290,26 +274,6 @@ export function checkoutPublicConfirmedCustomFieldDataFromJSON(
290
274
  );
291
275
  }
292
276
 
293
- /** @internal */
294
- export const CheckoutPublicConfirmedProductPrice$inboundSchema: z.ZodMiniType<
295
- CheckoutPublicConfirmedProductPrice,
296
- unknown
297
- > = smartUnion([
298
- LegacyRecurringProductPrice$inboundSchema,
299
- ProductPrice$inboundSchema,
300
- ]);
301
-
302
- export function checkoutPublicConfirmedProductPriceFromJSON(
303
- jsonString: string,
304
- ): SafeParseResult<CheckoutPublicConfirmedProductPrice, SDKValidationError> {
305
- return safeParse(
306
- jsonString,
307
- (x) =>
308
- CheckoutPublicConfirmedProductPrice$inboundSchema.parse(JSON.parse(x)),
309
- `Failed to parse 'CheckoutPublicConfirmedProductPrice' from JSON`,
310
- );
311
- }
312
-
313
277
  /** @internal */
314
278
  export const CheckoutPublicConfirmedPrices$inboundSchema: z.ZodMiniType<
315
279
  CheckoutPublicConfirmedPrices,
@@ -407,7 +371,6 @@ export const CheckoutPublicConfirmed$inboundSchema: z.ZodMiniType<
407
371
  ),
408
372
  organization_id: z.string(),
409
373
  product_id: z.nullable(z.string()),
410
- product_price_id: z.nullable(z.string()),
411
374
  discount_id: z.nullable(z.string()),
412
375
  allow_discount_codes: z.boolean(),
413
376
  require_billing_address: z.boolean(),
@@ -429,12 +392,6 @@ export const CheckoutPublicConfirmed$inboundSchema: z.ZodMiniType<
429
392
  billing_address_fields: CheckoutBillingAddressFields$inboundSchema,
430
393
  products: z.array(CheckoutProduct$inboundSchema),
431
394
  product: z.nullable(CheckoutProduct$inboundSchema),
432
- product_price: z.nullable(
433
- smartUnion([
434
- LegacyRecurringProductPrice$inboundSchema,
435
- ProductPrice$inboundSchema,
436
- ]),
437
- ),
438
395
  prices: z.nullable(
439
396
  z.record(
440
397
  z.string(),
@@ -482,7 +439,6 @@ export const CheckoutPublicConfirmed$inboundSchema: z.ZodMiniType<
482
439
  "trial_end": "trialEnd",
483
440
  "organization_id": "organizationId",
484
441
  "product_id": "productId",
485
- "product_price_id": "productPriceId",
486
442
  "discount_id": "discountId",
487
443
  "allow_discount_codes": "allowDiscountCodes",
488
444
  "require_billing_address": "requireBillingAddress",
@@ -501,7 +457,6 @@ export const CheckoutPublicConfirmed$inboundSchema: z.ZodMiniType<
501
457
  "customer_tax_id": "customerTaxId",
502
458
  "payment_processor_metadata": "paymentProcessorMetadata",
503
459
  "billing_address_fields": "billingAddressFields",
504
- "product_price": "productPrice",
505
460
  "attached_custom_fields": "attachedCustomFields",
506
461
  "customer_session_token": "customerSessionToken",
507
462
  });
@@ -3,7 +3,8 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
- import { ClosedEnum } from "../../types/enums.js";
6
+ import * as openEnums from "../../types/enums.js";
7
+ import { OpenEnum } from "../../types/enums.js";
7
8
 
8
9
  export const CheckoutStatus = {
9
10
  Open: "open",
@@ -12,13 +13,15 @@ export const CheckoutStatus = {
12
13
  Succeeded: "succeeded",
13
14
  Failed: "failed",
14
15
  } as const;
15
- export type CheckoutStatus = ClosedEnum<typeof CheckoutStatus>;
16
+ export type CheckoutStatus = OpenEnum<typeof CheckoutStatus>;
16
17
 
17
18
  /** @internal */
18
- export const CheckoutStatus$inboundSchema: z.ZodMiniEnum<
19
- typeof CheckoutStatus
20
- > = z.enum(CheckoutStatus);
19
+ export const CheckoutStatus$inboundSchema: z.ZodMiniType<
20
+ CheckoutStatus,
21
+ unknown
22
+ > = openEnums.inboundSchema(CheckoutStatus);
21
23
  /** @internal */
22
- export const CheckoutStatus$outboundSchema: z.ZodMiniEnum<
23
- typeof CheckoutStatus
24
- > = CheckoutStatus$inboundSchema;
24
+ export const CheckoutStatus$outboundSchema: z.ZodMiniType<
25
+ string,
26
+ CheckoutStatus
27
+ > = openEnums.outboundSchema(CheckoutStatus);
@@ -39,12 +39,6 @@ export type CheckoutUpdate = {
39
39
  * ID of the product to checkout. Must be present in the checkout's product list.
40
40
  */
41
41
  productId?: string | null | undefined;
42
- /**
43
- * ID of the product price to checkout. Must correspond to a price present in the checkout's product list.
44
- *
45
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
46
- */
47
- productPriceId?: string | null | undefined;
48
42
  amount?: number | null | undefined;
49
43
  /**
50
44
  * Number of seats for seat-based pricing.
@@ -210,7 +204,6 @@ export type CheckoutUpdate$Outbound = {
210
204
  | { [k: string]: string | number | boolean | string | null }
211
205
  | undefined;
212
206
  product_id?: string | null | undefined;
213
- product_price_id?: string | null | undefined;
214
207
  amount?: number | null | undefined;
215
208
  seats?: number | null | undefined;
216
209
  is_business_customer?: boolean | null | undefined;
@@ -258,7 +251,6 @@ export const CheckoutUpdate$outboundSchema: z.ZodMiniType<
258
251
  ),
259
252
  ),
260
253
  productId: z.optional(z.nullable(z.string())),
261
- productPriceId: z.optional(z.nullable(z.string())),
262
254
  amount: z.optional(z.nullable(z.int())),
263
255
  seats: z.optional(z.nullable(z.int())),
264
256
  isBusinessCustomer: z.optional(z.nullable(z.boolean())),
@@ -298,7 +290,6 @@ export const CheckoutUpdate$outboundSchema: z.ZodMiniType<
298
290
  return remap$(v, {
299
291
  customFieldData: "custom_field_data",
300
292
  productId: "product_id",
301
- productPriceId: "product_price_id",
302
293
  isBusinessCustomer: "is_business_customer",
303
294
  customerName: "customer_name",
304
295
  customerEmail: "customer_email",
@@ -31,12 +31,6 @@ export type CheckoutUpdatePublic = {
31
31
  * ID of the product to checkout. Must be present in the checkout's product list.
32
32
  */
33
33
  productId?: string | null | undefined;
34
- /**
35
- * ID of the product price to checkout. Must correspond to a price present in the checkout's product list.
36
- *
37
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
38
- */
39
- productPriceId?: string | null | undefined;
40
34
  amount?: number | null | undefined;
41
35
  /**
42
36
  * Number of seats for seat-based pricing.
@@ -93,7 +87,6 @@ export type CheckoutUpdatePublic$Outbound = {
93
87
  | { [k: string]: string | number | boolean | string | null }
94
88
  | undefined;
95
89
  product_id?: string | null | undefined;
96
- product_price_id?: string | null | undefined;
97
90
  amount?: number | null | undefined;
98
91
  seats?: number | null | undefined;
99
92
  is_business_customer?: boolean | null | undefined;
@@ -127,7 +120,6 @@ export const CheckoutUpdatePublic$outboundSchema: z.ZodMiniType<
127
120
  ),
128
121
  ),
129
122
  productId: z.optional(z.nullable(z.string())),
130
- productPriceId: z.optional(z.nullable(z.string())),
131
123
  amount: z.optional(z.nullable(z.int())),
132
124
  seats: z.optional(z.nullable(z.int())),
133
125
  isBusinessCustomer: z.optional(z.nullable(z.boolean())),
@@ -144,7 +136,6 @@ export const CheckoutUpdatePublic$outboundSchema: z.ZodMiniType<
144
136
  return remap$(v, {
145
137
  customFieldData: "custom_field_data",
146
138
  productId: "product_id",
147
- productPriceId: "product_price_id",
148
139
  isBusinessCustomer: "is_business_customer",
149
140
  customerName: "customer_name",
150
141
  customerEmail: "customer_email",
@@ -3,7 +3,8 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
- import { ClosedEnum } from "../../types/enums.js";
6
+ import * as openEnums from "../../types/enums.js";
7
+ import { OpenEnum } from "../../types/enums.js";
7
8
 
8
9
  export const CustomerCancellationReason = {
9
10
  CustomerService: "customer_service",
@@ -15,15 +16,17 @@ export const CustomerCancellationReason = {
15
16
  Unused: "unused",
16
17
  Other: "other",
17
18
  } as const;
18
- export type CustomerCancellationReason = ClosedEnum<
19
+ export type CustomerCancellationReason = OpenEnum<
19
20
  typeof CustomerCancellationReason
20
21
  >;
21
22
 
22
23
  /** @internal */
23
- export const CustomerCancellationReason$inboundSchema: z.ZodMiniEnum<
24
- typeof CustomerCancellationReason
25
- > = z.enum(CustomerCancellationReason);
24
+ export const CustomerCancellationReason$inboundSchema: z.ZodMiniType<
25
+ CustomerCancellationReason,
26
+ unknown
27
+ > = openEnums.inboundSchema(CustomerCancellationReason);
26
28
  /** @internal */
27
- export const CustomerCancellationReason$outboundSchema: z.ZodMiniEnum<
28
- typeof CustomerCancellationReason
29
- > = CustomerCancellationReason$inboundSchema;
29
+ export const CustomerCancellationReason$outboundSchema: z.ZodMiniType<
30
+ string,
31
+ CustomerCancellationReason
32
+ > = openEnums.outboundSchema(CustomerCancellationReason);
@@ -104,10 +104,6 @@ export type CustomerOrder = {
104
104
  discountId: string | null;
105
105
  subscriptionId: string | null;
106
106
  checkoutId: string | null;
107
- /**
108
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
109
- */
110
- userId: string;
111
107
  product: CustomerOrderProduct | null;
112
108
  subscription: CustomerOrderSubscription | null;
113
109
  /**
@@ -161,7 +157,6 @@ export const CustomerOrder$inboundSchema: z.ZodMiniType<
161
157
  discount_id: z.nullable(z.string()),
162
158
  subscription_id: z.nullable(z.string()),
163
159
  checkout_id: z.nullable(z.string()),
164
- user_id: z.string(),
165
160
  product: z.nullable(CustomerOrderProduct$inboundSchema),
166
161
  subscription: z.nullable(CustomerOrderSubscription$inboundSchema),
167
162
  items: z.array(OrderItemSchema$inboundSchema),
@@ -196,7 +191,6 @@ export const CustomerOrder$inboundSchema: z.ZodMiniType<
196
191
  "discount_id": "discountId",
197
192
  "subscription_id": "subscriptionId",
198
193
  "checkout_id": "checkoutId",
199
- "user_id": "userId",
200
194
  "next_payment_attempt_at": "nextPaymentAttemptAt",
201
195
  });
202
196
  }),
@@ -5,7 +5,8 @@
5
5
  import * as z from "zod/v4-mini";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { safeParse } from "../../lib/schemas.js";
8
- import { ClosedEnum } from "../../types/enums.js";
8
+ import * as openEnums from "../../types/enums.js";
9
+ import { OpenEnum } from "../../types/enums.js";
9
10
  import { Result as SafeParseResult } from "../../types/fp.js";
10
11
  import { smartUnion } from "../../types/smartUnion.js";
11
12
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
@@ -37,7 +38,7 @@ export const Status = {
37
38
  Active: "active",
38
39
  Trialing: "trialing",
39
40
  } as const;
40
- export type Status = ClosedEnum<typeof Status>;
41
+ export type Status = OpenEnum<typeof Status>;
41
42
 
42
43
  /**
43
44
  * An active customer subscription.
@@ -174,12 +175,11 @@ export function customerStateSubscriptionCustomFieldDataFromJSON(
174
175
  }
175
176
 
176
177
  /** @internal */
177
- export const Status$inboundSchema: z.ZodMiniEnum<typeof Status> = z.enum(
178
- Status,
179
- );
178
+ export const Status$inboundSchema: z.ZodMiniType<Status, unknown> = openEnums
179
+ .inboundSchema(Status);
180
180
  /** @internal */
181
- export const Status$outboundSchema: z.ZodMiniEnum<typeof Status> =
182
- Status$inboundSchema;
181
+ export const Status$outboundSchema: z.ZodMiniType<string, Status> = openEnums
182
+ .outboundSchema(Status);
183
183
 
184
184
  /** @internal */
185
185
  export const CustomerStateSubscription$inboundSchema: z.ZodMiniType<
@@ -3,17 +3,18 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
- import { ClosedEnum } from "../../types/enums.js";
6
+ import * as openEnums from "../../types/enums.js";
7
+ import { OpenEnum } from "../../types/enums.js";
7
8
 
8
9
  export const CustomerType = {
9
10
  Individual: "individual",
10
11
  Team: "team",
11
12
  } as const;
12
- export type CustomerType = ClosedEnum<typeof CustomerType>;
13
+ export type CustomerType = OpenEnum<typeof CustomerType>;
13
14
 
14
15
  /** @internal */
15
- export const CustomerType$inboundSchema: z.ZodMiniEnum<typeof CustomerType> = z
16
- .enum(CustomerType);
16
+ export const CustomerType$inboundSchema: z.ZodMiniType<CustomerType, unknown> =
17
+ openEnums.inboundSchema(CustomerType);
17
18
  /** @internal */
18
- export const CustomerType$outboundSchema: z.ZodMiniEnum<typeof CustomerType> =
19
- CustomerType$inboundSchema;
19
+ export const CustomerType$outboundSchema: z.ZodMiniType<string, CustomerType> =
20
+ openEnums.outboundSchema(CustomerType);
@@ -3,20 +3,23 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v4-mini";
6
- import { ClosedEnum } from "../../types/enums.js";
6
+ import * as openEnums from "../../types/enums.js";
7
+ import { OpenEnum } from "../../types/enums.js";
7
8
 
8
9
  export const DiscountDuration = {
9
10
  Once: "once",
10
11
  Forever: "forever",
11
12
  Repeating: "repeating",
12
13
  } as const;
13
- export type DiscountDuration = ClosedEnum<typeof DiscountDuration>;
14
+ export type DiscountDuration = OpenEnum<typeof DiscountDuration>;
14
15
 
15
16
  /** @internal */
16
- export const DiscountDuration$inboundSchema: z.ZodMiniEnum<
17
- typeof DiscountDuration
18
- > = z.enum(DiscountDuration);
17
+ export const DiscountDuration$inboundSchema: z.ZodMiniType<
18
+ DiscountDuration,
19
+ unknown
20
+ > = openEnums.inboundSchema(DiscountDuration);
19
21
  /** @internal */
20
- export const DiscountDuration$outboundSchema: z.ZodMiniEnum<
21
- typeof DiscountDuration
22
- > = DiscountDuration$inboundSchema;
22
+ export const DiscountDuration$outboundSchema: z.ZodMiniType<
23
+ string,
24
+ DiscountDuration
25
+ > = openEnums.outboundSchema(DiscountDuration);
@@ -10,6 +10,10 @@ import {
10
10
  DiscountDuration$outboundSchema,
11
11
  } from "./discountduration.js";
12
12
  import { DiscountType, DiscountType$outboundSchema } from "./discounttype.js";
13
+ import {
14
+ PresentmentCurrency,
15
+ PresentmentCurrency$outboundSchema,
16
+ } from "./presentmentcurrency.js";
13
17
 
14
18
  export type DiscountFixedOnceForeverDurationCreateMetadata =
15
19
  | string
@@ -27,10 +31,7 @@ export type DiscountFixedOnceForeverDurationCreate = {
27
31
  * Fixed amount to discount from the invoice total.
28
32
  */
29
33
  amount: number;
30
- /**
31
- * The currency. Currently, only `usd` is supported.
32
- */
33
- currency?: string | undefined;
34
+ currency?: PresentmentCurrency | undefined;
34
35
  /**
35
36
  * Key-value object allowing you to store additional information.
36
37
  *
@@ -104,7 +105,7 @@ export type DiscountFixedOnceForeverDurationCreate$Outbound = {
104
105
  duration: string;
105
106
  type: string;
106
107
  amount: number;
107
- currency: string;
108
+ currency?: string | undefined;
108
109
  metadata?: { [k: string]: string | number | number | boolean } | undefined;
109
110
  name: string;
110
111
  code?: string | null | undefined;
@@ -125,7 +126,7 @@ export const DiscountFixedOnceForeverDurationCreate$outboundSchema:
125
126
  duration: DiscountDuration$outboundSchema,
126
127
  type: DiscountType$outboundSchema,
127
128
  amount: z.int(),
128
- currency: z._default(z.string(), "usd"),
129
+ currency: z.optional(PresentmentCurrency$outboundSchema),
129
130
  metadata: z.optional(
130
131
  z.record(
131
132
  z.string(),