@polar-sh/sdk 0.43.0 → 0.44.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 (770) hide show
  1. package/README.md +13 -9
  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/refundsCreate.d.ts +1 -1
  19. package/dist/commonjs/funcs/refundsCreate.d.ts.map +1 -1
  20. package/dist/commonjs/funcs/refundsCreate.js +1 -1
  21. package/dist/commonjs/funcs/refundsCreate.js.map +1 -1
  22. package/dist/commonjs/funcs/subscriptionsExport.d.ts +8 -2
  23. package/dist/commonjs/funcs/subscriptionsExport.d.ts.map +1 -1
  24. package/dist/commonjs/funcs/subscriptionsExport.js +11 -2
  25. package/dist/commonjs/funcs/subscriptionsExport.js.map +1 -1
  26. package/dist/commonjs/lib/config.d.ts +3 -3
  27. package/dist/commonjs/lib/config.js +3 -3
  28. package/dist/commonjs/models/components/address.d.ts +4 -4
  29. package/dist/commonjs/models/components/address.d.ts.map +1 -1
  30. package/dist/commonjs/models/components/address.js +3 -2
  31. package/dist/commonjs/models/components/address.js.map +1 -1
  32. package/dist/commonjs/models/components/balancedisputemetadata.d.ts +1 -0
  33. package/dist/commonjs/models/components/balancedisputemetadata.d.ts.map +1 -1
  34. package/dist/commonjs/models/components/balancedisputemetadata.js +2 -0
  35. package/dist/commonjs/models/components/balancedisputemetadata.js.map +1 -1
  36. package/dist/commonjs/models/components/balanceordermetadata.d.ts +1 -0
  37. package/dist/commonjs/models/components/balanceordermetadata.d.ts.map +1 -1
  38. package/dist/commonjs/models/components/balanceordermetadata.js +2 -0
  39. package/dist/commonjs/models/components/balanceordermetadata.js.map +1 -1
  40. package/dist/commonjs/models/components/balancerefundmetadata.d.ts +1 -0
  41. package/dist/commonjs/models/components/balancerefundmetadata.d.ts.map +1 -1
  42. package/dist/commonjs/models/components/balancerefundmetadata.js +2 -0
  43. package/dist/commonjs/models/components/balancerefundmetadata.js.map +1 -1
  44. package/dist/commonjs/models/components/benefit.d.ts +2 -2
  45. package/dist/commonjs/models/components/benefit.d.ts.map +1 -1
  46. package/dist/commonjs/models/components/benefit.js +2 -2
  47. package/dist/commonjs/models/components/benefit.js.map +1 -1
  48. package/dist/commonjs/models/components/benefitgithubrepositoryproperties.d.ts +4 -4
  49. package/dist/commonjs/models/components/benefitgithubrepositoryproperties.d.ts.map +1 -1
  50. package/dist/commonjs/models/components/benefitgithubrepositoryproperties.js +3 -3
  51. package/dist/commonjs/models/components/benefitgithubrepositoryproperties.js.map +1 -1
  52. package/dist/commonjs/models/components/benefitgrantgithubrepositoryproperties.d.ts +4 -4
  53. package/dist/commonjs/models/components/benefitgrantgithubrepositoryproperties.d.ts.map +1 -1
  54. package/dist/commonjs/models/components/benefitgrantgithubrepositoryproperties.js +3 -3
  55. package/dist/commonjs/models/components/benefitgrantgithubrepositoryproperties.js.map +1 -1
  56. package/dist/commonjs/models/components/benefitlicensekeyexpirationproperties.d.ts +4 -4
  57. package/dist/commonjs/models/components/benefitlicensekeyexpirationproperties.d.ts.map +1 -1
  58. package/dist/commonjs/models/components/benefitlicensekeyexpirationproperties.js +3 -2
  59. package/dist/commonjs/models/components/benefitlicensekeyexpirationproperties.js.map +1 -1
  60. package/dist/commonjs/models/components/benefittype.d.ts +4 -4
  61. package/dist/commonjs/models/components/benefittype.d.ts.map +1 -1
  62. package/dist/commonjs/models/components/benefittype.js +3 -4
  63. package/dist/commonjs/models/components/benefittype.js.map +1 -1
  64. package/dist/commonjs/models/components/billingaddressfieldmode.d.ts +4 -4
  65. package/dist/commonjs/models/components/billingaddressfieldmode.d.ts.map +1 -1
  66. package/dist/commonjs/models/components/billingaddressfieldmode.js +3 -3
  67. package/dist/commonjs/models/components/billingaddressfieldmode.js.map +1 -1
  68. package/dist/commonjs/models/components/checkoutlink.d.ts +4 -0
  69. package/dist/commonjs/models/components/checkoutlink.d.ts.map +1 -1
  70. package/dist/commonjs/models/components/checkoutlink.js +2 -0
  71. package/dist/commonjs/models/components/checkoutlink.js.map +1 -1
  72. package/dist/commonjs/models/components/checkoutlinkcreateproduct.d.ts +5 -0
  73. package/dist/commonjs/models/components/checkoutlinkcreateproduct.d.ts.map +1 -1
  74. package/dist/commonjs/models/components/checkoutlinkcreateproduct.js +2 -0
  75. package/dist/commonjs/models/components/checkoutlinkcreateproduct.js.map +1 -1
  76. package/dist/commonjs/models/components/checkoutlinkcreateproductprice.d.ts +5 -0
  77. package/dist/commonjs/models/components/checkoutlinkcreateproductprice.d.ts.map +1 -1
  78. package/dist/commonjs/models/components/checkoutlinkcreateproductprice.js +2 -0
  79. package/dist/commonjs/models/components/checkoutlinkcreateproductprice.js.map +1 -1
  80. package/dist/commonjs/models/components/checkoutlinkcreateproducts.d.ts +5 -0
  81. package/dist/commonjs/models/components/checkoutlinkcreateproducts.d.ts.map +1 -1
  82. package/dist/commonjs/models/components/checkoutlinkcreateproducts.js +2 -0
  83. package/dist/commonjs/models/components/checkoutlinkcreateproducts.js.map +1 -1
  84. package/dist/commonjs/models/components/checkoutlinkupdate.d.ts +5 -0
  85. package/dist/commonjs/models/components/checkoutlinkupdate.d.ts.map +1 -1
  86. package/dist/commonjs/models/components/checkoutlinkupdate.js +2 -0
  87. package/dist/commonjs/models/components/checkoutlinkupdate.js.map +1 -1
  88. package/dist/commonjs/models/components/checkoutstatus.d.ts +4 -4
  89. package/dist/commonjs/models/components/checkoutstatus.d.ts.map +1 -1
  90. package/dist/commonjs/models/components/checkoutstatus.js +3 -3
  91. package/dist/commonjs/models/components/checkoutstatus.js.map +1 -1
  92. package/dist/commonjs/models/components/customercancellationreason.d.ts +4 -4
  93. package/dist/commonjs/models/components/customercancellationreason.d.ts.map +1 -1
  94. package/dist/commonjs/models/components/customercancellationreason.js +3 -3
  95. package/dist/commonjs/models/components/customercancellationreason.js.map +1 -1
  96. package/dist/commonjs/models/components/customerstatesubscription.d.ts +4 -4
  97. package/dist/commonjs/models/components/customerstatesubscription.d.ts.map +1 -1
  98. package/dist/commonjs/models/components/customerstatesubscription.js +5 -2
  99. package/dist/commonjs/models/components/customerstatesubscription.js.map +1 -1
  100. package/dist/commonjs/models/components/customertype.d.ts +4 -4
  101. package/dist/commonjs/models/components/customertype.d.ts.map +1 -1
  102. package/dist/commonjs/models/components/customertype.js +3 -4
  103. package/dist/commonjs/models/components/customertype.js.map +1 -1
  104. package/dist/commonjs/models/components/discountduration.d.ts +4 -4
  105. package/dist/commonjs/models/components/discountduration.d.ts.map +1 -1
  106. package/dist/commonjs/models/components/discountduration.js +3 -3
  107. package/dist/commonjs/models/components/discountduration.js.map +1 -1
  108. package/dist/commonjs/models/components/discountfixedonceforeverdurationcreate.d.ts +3 -5
  109. package/dist/commonjs/models/components/discountfixedonceforeverdurationcreate.d.ts.map +1 -1
  110. package/dist/commonjs/models/components/discountfixedonceforeverdurationcreate.js +2 -1
  111. package/dist/commonjs/models/components/discountfixedonceforeverdurationcreate.js.map +1 -1
  112. package/dist/commonjs/models/components/discountfixedrepeatdurationcreate.d.ts +3 -5
  113. package/dist/commonjs/models/components/discountfixedrepeatdurationcreate.d.ts.map +1 -1
  114. package/dist/commonjs/models/components/discountfixedrepeatdurationcreate.js +2 -1
  115. package/dist/commonjs/models/components/discountfixedrepeatdurationcreate.js.map +1 -1
  116. package/dist/commonjs/models/components/discounttype.d.ts +4 -4
  117. package/dist/commonjs/models/components/discounttype.d.ts.map +1 -1
  118. package/dist/commonjs/models/components/discounttype.js +3 -4
  119. package/dist/commonjs/models/components/discounttype.js.map +1 -1
  120. package/dist/commonjs/models/components/discountupdate.d.ts +2 -1
  121. package/dist/commonjs/models/components/discountupdate.d.ts.map +1 -1
  122. package/dist/commonjs/models/components/discountupdate.js +2 -1
  123. package/dist/commonjs/models/components/discountupdate.js.map +1 -1
  124. package/dist/commonjs/models/components/disputestatus.d.ts +4 -4
  125. package/dist/commonjs/models/components/disputestatus.d.ts.map +1 -1
  126. package/dist/commonjs/models/components/disputestatus.js +3 -3
  127. package/dist/commonjs/models/components/disputestatus.js.map +1 -1
  128. package/dist/commonjs/models/components/eventsource.d.ts +4 -4
  129. package/dist/commonjs/models/components/eventsource.d.ts.map +1 -1
  130. package/dist/commonjs/models/components/eventsource.js +3 -4
  131. package/dist/commonjs/models/components/eventsource.js.map +1 -1
  132. package/dist/commonjs/models/components/fileservicetypes.d.ts +3 -3
  133. package/dist/commonjs/models/components/fileservicetypes.d.ts.map +1 -1
  134. package/dist/commonjs/models/components/fileservicetypes.js +2 -2
  135. package/dist/commonjs/models/components/fileservicetypes.js.map +1 -1
  136. package/dist/commonjs/models/components/filterconjunction.d.ts +4 -4
  137. package/dist/commonjs/models/components/filterconjunction.d.ts.map +1 -1
  138. package/dist/commonjs/models/components/filterconjunction.js +3 -3
  139. package/dist/commonjs/models/components/filterconjunction.js.map +1 -1
  140. package/dist/commonjs/models/components/filteroperator.d.ts +4 -4
  141. package/dist/commonjs/models/components/filteroperator.d.ts.map +1 -1
  142. package/dist/commonjs/models/components/filteroperator.js +3 -3
  143. package/dist/commonjs/models/components/filteroperator.js.map +1 -1
  144. package/dist/commonjs/models/components/introspecttokenresponse.d.ts +3 -3
  145. package/dist/commonjs/models/components/introspecttokenresponse.d.ts.map +1 -1
  146. package/dist/commonjs/models/components/introspecttokenresponse.js +2 -1
  147. package/dist/commonjs/models/components/introspecttokenresponse.js.map +1 -1
  148. package/dist/commonjs/models/components/legacyrecurringproductpricecustom.d.ts +4 -2
  149. package/dist/commonjs/models/components/legacyrecurringproductpricecustom.d.ts.map +1 -1
  150. package/dist/commonjs/models/components/legacyrecurringproductpricecustom.js +2 -3
  151. package/dist/commonjs/models/components/legacyrecurringproductpricecustom.js.map +1 -1
  152. package/dist/commonjs/models/components/legacyrecurringproductpricefixed.d.ts +4 -2
  153. package/dist/commonjs/models/components/legacyrecurringproductpricefixed.d.ts.map +1 -1
  154. package/dist/commonjs/models/components/legacyrecurringproductpricefixed.js +2 -3
  155. package/dist/commonjs/models/components/legacyrecurringproductpricefixed.js.map +1 -1
  156. package/dist/commonjs/models/components/legacyrecurringproductpricefree.d.ts +4 -2
  157. package/dist/commonjs/models/components/legacyrecurringproductpricefree.d.ts.map +1 -1
  158. package/dist/commonjs/models/components/legacyrecurringproductpricefree.js +2 -3
  159. package/dist/commonjs/models/components/legacyrecurringproductpricefree.js.map +1 -1
  160. package/dist/commonjs/models/components/licensekeystatus.d.ts +4 -4
  161. package/dist/commonjs/models/components/licensekeystatus.d.ts.map +1 -1
  162. package/dist/commonjs/models/components/licensekeystatus.js +3 -3
  163. package/dist/commonjs/models/components/licensekeystatus.js.map +1 -1
  164. package/dist/commonjs/models/components/listresourcecustomerportalmember.d.ts +13 -0
  165. package/dist/commonjs/models/components/listresourcecustomerportalmember.d.ts.map +1 -0
  166. package/dist/commonjs/models/components/listresourcecustomerportalmember.js +53 -0
  167. package/dist/commonjs/models/components/listresourcecustomerportalmember.js.map +1 -0
  168. package/dist/commonjs/models/components/memberrole.d.ts +4 -4
  169. package/dist/commonjs/models/components/memberrole.d.ts.map +1 -1
  170. package/dist/commonjs/models/components/memberrole.js +3 -4
  171. package/dist/commonjs/models/components/memberrole.js.map +1 -1
  172. package/dist/commonjs/models/components/metrictype.d.ts +3 -3
  173. package/dist/commonjs/models/components/metrictype.d.ts.map +1 -1
  174. package/dist/commonjs/models/components/metrictype.js +2 -3
  175. package/dist/commonjs/models/components/metrictype.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 +4 -4
  181. package/dist/commonjs/models/components/orderstatus.d.ts.map +1 -1
  182. package/dist/commonjs/models/components/orderstatus.js +3 -4
  183. package/dist/commonjs/models/components/orderstatus.js.map +1 -1
  184. package/dist/commonjs/models/components/organization.d.ts +4 -2
  185. package/dist/commonjs/models/components/organization.d.ts.map +1 -1
  186. package/dist/commonjs/models/components/organization.js +2 -3
  187. package/dist/commonjs/models/components/organization.js.map +1 -1
  188. package/dist/commonjs/models/components/organizationcustomeremailsettings.d.ts +2 -0
  189. package/dist/commonjs/models/components/organizationcustomeremailsettings.d.ts.map +1 -1
  190. package/dist/commonjs/models/components/organizationcustomeremailsettings.js +4 -0
  191. package/dist/commonjs/models/components/organizationcustomeremailsettings.js.map +1 -1
  192. package/dist/commonjs/models/components/organizationfeaturesettings.d.ts +5 -0
  193. package/dist/commonjs/models/components/organizationfeaturesettings.d.ts.map +1 -1
  194. package/dist/commonjs/models/components/organizationfeaturesettings.js +4 -0
  195. package/dist/commonjs/models/components/organizationfeaturesettings.js.map +1 -1
  196. package/dist/commonjs/models/components/organizationsocialplatforms.d.ts +4 -4
  197. package/dist/commonjs/models/components/organizationsocialplatforms.d.ts.map +1 -1
  198. package/dist/commonjs/models/components/organizationsocialplatforms.js +3 -3
  199. package/dist/commonjs/models/components/organizationsocialplatforms.js.map +1 -1
  200. package/dist/commonjs/models/components/organizationstatus.d.ts +4 -4
  201. package/dist/commonjs/models/components/organizationstatus.d.ts.map +1 -1
  202. package/dist/commonjs/models/components/organizationstatus.js +3 -3
  203. package/dist/commonjs/models/components/organizationstatus.js.map +1 -1
  204. package/dist/commonjs/models/components/paymentstatus.d.ts +4 -4
  205. package/dist/commonjs/models/components/paymentstatus.d.ts.map +1 -1
  206. package/dist/commonjs/models/components/paymentstatus.js +3 -3
  207. package/dist/commonjs/models/components/paymentstatus.js.map +1 -1
  208. package/dist/commonjs/models/components/presentmentcurrency.d.ts +9 -2
  209. package/dist/commonjs/models/components/presentmentcurrency.d.ts.map +1 -1
  210. package/dist/commonjs/models/components/presentmentcurrency.js +11 -4
  211. package/dist/commonjs/models/components/presentmentcurrency.js.map +1 -1
  212. package/dist/commonjs/models/components/productpricecustom.d.ts +4 -2
  213. package/dist/commonjs/models/components/productpricecustom.d.ts.map +1 -1
  214. package/dist/commonjs/models/components/productpricecustom.js +2 -3
  215. package/dist/commonjs/models/components/productpricecustom.js.map +1 -1
  216. package/dist/commonjs/models/components/productpricefixed.d.ts +4 -2
  217. package/dist/commonjs/models/components/productpricefixed.d.ts.map +1 -1
  218. package/dist/commonjs/models/components/productpricefixed.js +2 -3
  219. package/dist/commonjs/models/components/productpricefixed.js.map +1 -1
  220. package/dist/commonjs/models/components/productpricefree.d.ts +4 -2
  221. package/dist/commonjs/models/components/productpricefree.d.ts.map +1 -1
  222. package/dist/commonjs/models/components/productpricefree.js +2 -3
  223. package/dist/commonjs/models/components/productpricefree.js.map +1 -1
  224. package/dist/commonjs/models/components/productpricemeteredunit.d.ts +4 -2
  225. package/dist/commonjs/models/components/productpricemeteredunit.d.ts.map +1 -1
  226. package/dist/commonjs/models/components/productpricemeteredunit.js +2 -3
  227. package/dist/commonjs/models/components/productpricemeteredunit.js.map +1 -1
  228. package/dist/commonjs/models/components/productpriceseatbased.d.ts +4 -2
  229. package/dist/commonjs/models/components/productpriceseatbased.d.ts.map +1 -1
  230. package/dist/commonjs/models/components/productpriceseatbased.js +2 -3
  231. package/dist/commonjs/models/components/productpriceseatbased.js.map +1 -1
  232. package/dist/commonjs/models/components/productpricesource.d.ts +4 -4
  233. package/dist/commonjs/models/components/productpricesource.d.ts.map +1 -1
  234. package/dist/commonjs/models/components/productpricesource.js +3 -3
  235. package/dist/commonjs/models/components/productpricesource.js.map +1 -1
  236. package/dist/commonjs/models/components/productpricetype.d.ts +4 -4
  237. package/dist/commonjs/models/components/productpricetype.d.ts.map +1 -1
  238. package/dist/commonjs/models/components/productpricetype.js +3 -3
  239. package/dist/commonjs/models/components/productpricetype.js.map +1 -1
  240. package/dist/commonjs/models/components/productvisibility.d.ts +4 -4
  241. package/dist/commonjs/models/components/productvisibility.d.ts.map +1 -1
  242. package/dist/commonjs/models/components/productvisibility.js +3 -3
  243. package/dist/commonjs/models/components/productvisibility.js.map +1 -1
  244. package/dist/commonjs/models/components/propertyaggregation.d.ts +4 -4
  245. package/dist/commonjs/models/components/propertyaggregation.d.ts.map +1 -1
  246. package/dist/commonjs/models/components/propertyaggregation.js +5 -2
  247. package/dist/commonjs/models/components/propertyaggregation.js.map +1 -1
  248. package/dist/commonjs/models/components/refundreason.d.ts +4 -4
  249. package/dist/commonjs/models/components/refundreason.d.ts.map +1 -1
  250. package/dist/commonjs/models/components/refundreason.js +3 -4
  251. package/dist/commonjs/models/components/refundreason.js.map +1 -1
  252. package/dist/commonjs/models/components/refundstatus.d.ts +4 -4
  253. package/dist/commonjs/models/components/refundstatus.d.ts.map +1 -1
  254. package/dist/commonjs/models/components/refundstatus.js +3 -4
  255. package/dist/commonjs/models/components/refundstatus.js.map +1 -1
  256. package/dist/commonjs/models/components/scope.d.ts +3 -3
  257. package/dist/commonjs/models/components/scope.d.ts.map +1 -1
  258. package/dist/commonjs/models/components/scope.js +3 -2
  259. package/dist/commonjs/models/components/scope.js.map +1 -1
  260. package/dist/commonjs/models/components/seatstatus.d.ts +4 -4
  261. package/dist/commonjs/models/components/seatstatus.d.ts.map +1 -1
  262. package/dist/commonjs/models/components/seatstatus.js +3 -4
  263. package/dist/commonjs/models/components/seatstatus.js.map +1 -1
  264. package/dist/commonjs/models/components/subscriptionprorationbehavior.d.ts +4 -4
  265. package/dist/commonjs/models/components/subscriptionprorationbehavior.d.ts.map +1 -1
  266. package/dist/commonjs/models/components/subscriptionprorationbehavior.js +3 -3
  267. package/dist/commonjs/models/components/subscriptionprorationbehavior.js.map +1 -1
  268. package/dist/commonjs/models/components/subscriptionrecurringinterval.d.ts +4 -4
  269. package/dist/commonjs/models/components/subscriptionrecurringinterval.d.ts.map +1 -1
  270. package/dist/commonjs/models/components/subscriptionrecurringinterval.js +3 -3
  271. package/dist/commonjs/models/components/subscriptionrecurringinterval.js.map +1 -1
  272. package/dist/commonjs/models/components/subscriptionstatus.d.ts +4 -4
  273. package/dist/commonjs/models/components/subscriptionstatus.d.ts.map +1 -1
  274. package/dist/commonjs/models/components/subscriptionstatus.js +3 -3
  275. package/dist/commonjs/models/components/subscriptionstatus.js.map +1 -1
  276. package/dist/commonjs/models/components/subtype.d.ts +4 -4
  277. package/dist/commonjs/models/components/subtype.d.ts.map +1 -1
  278. package/dist/commonjs/models/components/subtype.js +5 -3
  279. package/dist/commonjs/models/components/subtype.js.map +1 -1
  280. package/dist/commonjs/models/components/taxidformat.d.ts +4 -4
  281. package/dist/commonjs/models/components/taxidformat.d.ts.map +1 -1
  282. package/dist/commonjs/models/components/taxidformat.js +3 -4
  283. package/dist/commonjs/models/components/taxidformat.js.map +1 -1
  284. package/dist/commonjs/models/components/trialinterval.d.ts +4 -4
  285. package/dist/commonjs/models/components/trialinterval.d.ts.map +1 -1
  286. package/dist/commonjs/models/components/trialinterval.js +3 -3
  287. package/dist/commonjs/models/components/trialinterval.js.map +1 -1
  288. package/dist/commonjs/models/components/validationerror.d.ts +13 -0
  289. package/dist/commonjs/models/components/validationerror.d.ts.map +1 -1
  290. package/dist/commonjs/models/components/validationerror.js +17 -1
  291. package/dist/commonjs/models/components/validationerror.js.map +1 -1
  292. package/dist/commonjs/models/components/webhookeventtype.d.ts +4 -4
  293. package/dist/commonjs/models/components/webhookeventtype.d.ts.map +1 -1
  294. package/dist/commonjs/models/components/webhookeventtype.js +3 -3
  295. package/dist/commonjs/models/components/webhookeventtype.js.map +1 -1
  296. package/dist/commonjs/models/components/webhookformat.d.ts +4 -4
  297. package/dist/commonjs/models/components/webhookformat.d.ts.map +1 -1
  298. package/dist/commonjs/models/components/webhookformat.js +3 -3
  299. package/dist/commonjs/models/components/webhookformat.js.map +1 -1
  300. package/dist/commonjs/models/operations/customerportalmemberslistmembers.d.ts +29 -0
  301. package/dist/commonjs/models/operations/customerportalmemberslistmembers.d.ts.map +1 -0
  302. package/dist/commonjs/models/operations/customerportalmemberslistmembers.js +65 -0
  303. package/dist/commonjs/models/operations/customerportalmemberslistmembers.js.map +1 -0
  304. package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.d.ts +27 -0
  305. package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.d.ts.map +1 -1
  306. package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.js +24 -1
  307. package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.js.map +1 -1
  308. package/dist/commonjs/models/operations/customersexport.d.ts +6 -0
  309. package/dist/commonjs/models/operations/customersexport.d.ts.map +1 -1
  310. package/dist/commonjs/models/operations/customersexport.js +8 -1
  311. package/dist/commonjs/models/operations/customersexport.js.map +1 -1
  312. package/dist/commonjs/models/operations/ordersexport.d.ts +6 -0
  313. package/dist/commonjs/models/operations/ordersexport.d.ts.map +1 -1
  314. package/dist/commonjs/models/operations/ordersexport.js +8 -1
  315. package/dist/commonjs/models/operations/ordersexport.js.map +1 -1
  316. package/dist/commonjs/models/operations/subscriptionsexport.d.ts +6 -0
  317. package/dist/commonjs/models/operations/subscriptionsexport.d.ts.map +1 -1
  318. package/dist/commonjs/models/operations/subscriptionsexport.js +8 -1
  319. package/dist/commonjs/models/operations/subscriptionsexport.js.map +1 -1
  320. package/dist/commonjs/sdk/customers.d.ts +6 -2
  321. package/dist/commonjs/sdk/customers.d.ts.map +1 -1
  322. package/dist/commonjs/sdk/customers.js +3 -1
  323. package/dist/commonjs/sdk/customers.js.map +1 -1
  324. package/dist/commonjs/sdk/orders.d.ts +7 -3
  325. package/dist/commonjs/sdk/orders.d.ts.map +1 -1
  326. package/dist/commonjs/sdk/orders.js +4 -2
  327. package/dist/commonjs/sdk/orders.js.map +1 -1
  328. package/dist/commonjs/sdk/polarmembers.d.ts +5 -1
  329. package/dist/commonjs/sdk/polarmembers.d.ts.map +1 -1
  330. package/dist/commonjs/sdk/polarmembers.js +3 -2
  331. package/dist/commonjs/sdk/polarmembers.js.map +1 -1
  332. package/dist/commonjs/sdk/refunds.d.ts +1 -1
  333. package/dist/commonjs/sdk/refunds.d.ts.map +1 -1
  334. package/dist/commonjs/sdk/seats.d.ts +5 -3
  335. package/dist/commonjs/sdk/seats.d.ts.map +1 -1
  336. package/dist/commonjs/sdk/seats.js +3 -2
  337. package/dist/commonjs/sdk/seats.js.map +1 -1
  338. package/dist/commonjs/sdk/subscriptions.d.ts +6 -2
  339. package/dist/commonjs/sdk/subscriptions.d.ts.map +1 -1
  340. package/dist/commonjs/sdk/subscriptions.js +3 -1
  341. package/dist/commonjs/sdk/subscriptions.js.map +1 -1
  342. package/dist/esm/funcs/customerPortalMembersListMembers.d.ts +6 -2
  343. package/dist/esm/funcs/customerPortalMembersListMembers.d.ts.map +1 -1
  344. package/dist/esm/funcs/customerPortalMembersListMembers.js +65 -10
  345. package/dist/esm/funcs/customerPortalMembersListMembers.js.map +1 -1
  346. package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts +6 -3
  347. package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts.map +1 -1
  348. package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.js +63 -10
  349. package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.js.map +1 -1
  350. package/dist/esm/funcs/customersExport.d.ts +8 -2
  351. package/dist/esm/funcs/customersExport.d.ts.map +1 -1
  352. package/dist/esm/funcs/customersExport.js +9 -3
  353. package/dist/esm/funcs/customersExport.js.map +1 -1
  354. package/dist/esm/funcs/ordersExport.d.ts +9 -3
  355. package/dist/esm/funcs/ordersExport.d.ts.map +1 -1
  356. package/dist/esm/funcs/ordersExport.js +10 -4
  357. package/dist/esm/funcs/ordersExport.js.map +1 -1
  358. package/dist/esm/funcs/refundsCreate.d.ts +1 -1
  359. package/dist/esm/funcs/refundsCreate.d.ts.map +1 -1
  360. package/dist/esm/funcs/refundsCreate.js +1 -1
  361. package/dist/esm/funcs/refundsCreate.js.map +1 -1
  362. package/dist/esm/funcs/subscriptionsExport.d.ts +8 -2
  363. package/dist/esm/funcs/subscriptionsExport.d.ts.map +1 -1
  364. package/dist/esm/funcs/subscriptionsExport.js +11 -3
  365. package/dist/esm/funcs/subscriptionsExport.js.map +1 -1
  366. package/dist/esm/lib/config.d.ts +3 -3
  367. package/dist/esm/lib/config.js +3 -3
  368. package/dist/esm/models/components/address.d.ts +4 -4
  369. package/dist/esm/models/components/address.d.ts.map +1 -1
  370. package/dist/esm/models/components/address.js +3 -2
  371. package/dist/esm/models/components/address.js.map +1 -1
  372. package/dist/esm/models/components/balancedisputemetadata.d.ts +1 -0
  373. package/dist/esm/models/components/balancedisputemetadata.d.ts.map +1 -1
  374. package/dist/esm/models/components/balancedisputemetadata.js +2 -0
  375. package/dist/esm/models/components/balancedisputemetadata.js.map +1 -1
  376. package/dist/esm/models/components/balanceordermetadata.d.ts +1 -0
  377. package/dist/esm/models/components/balanceordermetadata.d.ts.map +1 -1
  378. package/dist/esm/models/components/balanceordermetadata.js +2 -0
  379. package/dist/esm/models/components/balanceordermetadata.js.map +1 -1
  380. package/dist/esm/models/components/balancerefundmetadata.d.ts +1 -0
  381. package/dist/esm/models/components/balancerefundmetadata.d.ts.map +1 -1
  382. package/dist/esm/models/components/balancerefundmetadata.js +2 -0
  383. package/dist/esm/models/components/balancerefundmetadata.js.map +1 -1
  384. package/dist/esm/models/components/benefit.d.ts +2 -2
  385. package/dist/esm/models/components/benefit.d.ts.map +1 -1
  386. package/dist/esm/models/components/benefit.js +2 -2
  387. package/dist/esm/models/components/benefit.js.map +1 -1
  388. package/dist/esm/models/components/benefitgithubrepositoryproperties.d.ts +4 -4
  389. package/dist/esm/models/components/benefitgithubrepositoryproperties.d.ts.map +1 -1
  390. package/dist/esm/models/components/benefitgithubrepositoryproperties.js +3 -3
  391. package/dist/esm/models/components/benefitgithubrepositoryproperties.js.map +1 -1
  392. package/dist/esm/models/components/benefitgrantgithubrepositoryproperties.d.ts +4 -4
  393. package/dist/esm/models/components/benefitgrantgithubrepositoryproperties.d.ts.map +1 -1
  394. package/dist/esm/models/components/benefitgrantgithubrepositoryproperties.js +3 -3
  395. package/dist/esm/models/components/benefitgrantgithubrepositoryproperties.js.map +1 -1
  396. package/dist/esm/models/components/benefitlicensekeyexpirationproperties.d.ts +4 -4
  397. package/dist/esm/models/components/benefitlicensekeyexpirationproperties.d.ts.map +1 -1
  398. package/dist/esm/models/components/benefitlicensekeyexpirationproperties.js +3 -2
  399. package/dist/esm/models/components/benefitlicensekeyexpirationproperties.js.map +1 -1
  400. package/dist/esm/models/components/benefittype.d.ts +4 -4
  401. package/dist/esm/models/components/benefittype.d.ts.map +1 -1
  402. package/dist/esm/models/components/benefittype.js +3 -4
  403. package/dist/esm/models/components/benefittype.js.map +1 -1
  404. package/dist/esm/models/components/billingaddressfieldmode.d.ts +4 -4
  405. package/dist/esm/models/components/billingaddressfieldmode.d.ts.map +1 -1
  406. package/dist/esm/models/components/billingaddressfieldmode.js +3 -3
  407. package/dist/esm/models/components/billingaddressfieldmode.js.map +1 -1
  408. package/dist/esm/models/components/checkoutlink.d.ts +4 -0
  409. package/dist/esm/models/components/checkoutlink.d.ts.map +1 -1
  410. package/dist/esm/models/components/checkoutlink.js +2 -0
  411. package/dist/esm/models/components/checkoutlink.js.map +1 -1
  412. package/dist/esm/models/components/checkoutlinkcreateproduct.d.ts +5 -0
  413. package/dist/esm/models/components/checkoutlinkcreateproduct.d.ts.map +1 -1
  414. package/dist/esm/models/components/checkoutlinkcreateproduct.js +2 -0
  415. package/dist/esm/models/components/checkoutlinkcreateproduct.js.map +1 -1
  416. package/dist/esm/models/components/checkoutlinkcreateproductprice.d.ts +5 -0
  417. package/dist/esm/models/components/checkoutlinkcreateproductprice.d.ts.map +1 -1
  418. package/dist/esm/models/components/checkoutlinkcreateproductprice.js +2 -0
  419. package/dist/esm/models/components/checkoutlinkcreateproductprice.js.map +1 -1
  420. package/dist/esm/models/components/checkoutlinkcreateproducts.d.ts +5 -0
  421. package/dist/esm/models/components/checkoutlinkcreateproducts.d.ts.map +1 -1
  422. package/dist/esm/models/components/checkoutlinkcreateproducts.js +2 -0
  423. package/dist/esm/models/components/checkoutlinkcreateproducts.js.map +1 -1
  424. package/dist/esm/models/components/checkoutlinkupdate.d.ts +5 -0
  425. package/dist/esm/models/components/checkoutlinkupdate.d.ts.map +1 -1
  426. package/dist/esm/models/components/checkoutlinkupdate.js +2 -0
  427. package/dist/esm/models/components/checkoutlinkupdate.js.map +1 -1
  428. package/dist/esm/models/components/checkoutstatus.d.ts +4 -4
  429. package/dist/esm/models/components/checkoutstatus.d.ts.map +1 -1
  430. package/dist/esm/models/components/checkoutstatus.js +3 -3
  431. package/dist/esm/models/components/checkoutstatus.js.map +1 -1
  432. package/dist/esm/models/components/customercancellationreason.d.ts +4 -4
  433. package/dist/esm/models/components/customercancellationreason.d.ts.map +1 -1
  434. package/dist/esm/models/components/customercancellationreason.js +3 -3
  435. package/dist/esm/models/components/customercancellationreason.js.map +1 -1
  436. package/dist/esm/models/components/customerstatesubscription.d.ts +4 -4
  437. package/dist/esm/models/components/customerstatesubscription.d.ts.map +1 -1
  438. package/dist/esm/models/components/customerstatesubscription.js +5 -2
  439. package/dist/esm/models/components/customerstatesubscription.js.map +1 -1
  440. package/dist/esm/models/components/customertype.d.ts +4 -4
  441. package/dist/esm/models/components/customertype.d.ts.map +1 -1
  442. package/dist/esm/models/components/customertype.js +3 -4
  443. package/dist/esm/models/components/customertype.js.map +1 -1
  444. package/dist/esm/models/components/discountduration.d.ts +4 -4
  445. package/dist/esm/models/components/discountduration.d.ts.map +1 -1
  446. package/dist/esm/models/components/discountduration.js +3 -3
  447. package/dist/esm/models/components/discountduration.js.map +1 -1
  448. package/dist/esm/models/components/discountfixedonceforeverdurationcreate.d.ts +3 -5
  449. package/dist/esm/models/components/discountfixedonceforeverdurationcreate.d.ts.map +1 -1
  450. package/dist/esm/models/components/discountfixedonceforeverdurationcreate.js +2 -1
  451. package/dist/esm/models/components/discountfixedonceforeverdurationcreate.js.map +1 -1
  452. package/dist/esm/models/components/discountfixedrepeatdurationcreate.d.ts +3 -5
  453. package/dist/esm/models/components/discountfixedrepeatdurationcreate.d.ts.map +1 -1
  454. package/dist/esm/models/components/discountfixedrepeatdurationcreate.js +2 -1
  455. package/dist/esm/models/components/discountfixedrepeatdurationcreate.js.map +1 -1
  456. package/dist/esm/models/components/discounttype.d.ts +4 -4
  457. package/dist/esm/models/components/discounttype.d.ts.map +1 -1
  458. package/dist/esm/models/components/discounttype.js +3 -4
  459. package/dist/esm/models/components/discounttype.js.map +1 -1
  460. package/dist/esm/models/components/discountupdate.d.ts +2 -1
  461. package/dist/esm/models/components/discountupdate.d.ts.map +1 -1
  462. package/dist/esm/models/components/discountupdate.js +2 -1
  463. package/dist/esm/models/components/discountupdate.js.map +1 -1
  464. package/dist/esm/models/components/disputestatus.d.ts +4 -4
  465. package/dist/esm/models/components/disputestatus.d.ts.map +1 -1
  466. package/dist/esm/models/components/disputestatus.js +3 -3
  467. package/dist/esm/models/components/disputestatus.js.map +1 -1
  468. package/dist/esm/models/components/eventsource.d.ts +4 -4
  469. package/dist/esm/models/components/eventsource.d.ts.map +1 -1
  470. package/dist/esm/models/components/eventsource.js +3 -4
  471. package/dist/esm/models/components/eventsource.js.map +1 -1
  472. package/dist/esm/models/components/fileservicetypes.d.ts +3 -3
  473. package/dist/esm/models/components/fileservicetypes.d.ts.map +1 -1
  474. package/dist/esm/models/components/fileservicetypes.js +2 -2
  475. package/dist/esm/models/components/fileservicetypes.js.map +1 -1
  476. package/dist/esm/models/components/filterconjunction.d.ts +4 -4
  477. package/dist/esm/models/components/filterconjunction.d.ts.map +1 -1
  478. package/dist/esm/models/components/filterconjunction.js +3 -3
  479. package/dist/esm/models/components/filterconjunction.js.map +1 -1
  480. package/dist/esm/models/components/filteroperator.d.ts +4 -4
  481. package/dist/esm/models/components/filteroperator.d.ts.map +1 -1
  482. package/dist/esm/models/components/filteroperator.js +3 -3
  483. package/dist/esm/models/components/filteroperator.js.map +1 -1
  484. package/dist/esm/models/components/introspecttokenresponse.d.ts +3 -3
  485. package/dist/esm/models/components/introspecttokenresponse.d.ts.map +1 -1
  486. package/dist/esm/models/components/introspecttokenresponse.js +2 -1
  487. package/dist/esm/models/components/introspecttokenresponse.js.map +1 -1
  488. package/dist/esm/models/components/legacyrecurringproductpricecustom.d.ts +4 -2
  489. package/dist/esm/models/components/legacyrecurringproductpricecustom.d.ts.map +1 -1
  490. package/dist/esm/models/components/legacyrecurringproductpricecustom.js +2 -3
  491. package/dist/esm/models/components/legacyrecurringproductpricecustom.js.map +1 -1
  492. package/dist/esm/models/components/legacyrecurringproductpricefixed.d.ts +4 -2
  493. package/dist/esm/models/components/legacyrecurringproductpricefixed.d.ts.map +1 -1
  494. package/dist/esm/models/components/legacyrecurringproductpricefixed.js +2 -3
  495. package/dist/esm/models/components/legacyrecurringproductpricefixed.js.map +1 -1
  496. package/dist/esm/models/components/legacyrecurringproductpricefree.d.ts +4 -2
  497. package/dist/esm/models/components/legacyrecurringproductpricefree.d.ts.map +1 -1
  498. package/dist/esm/models/components/legacyrecurringproductpricefree.js +2 -3
  499. package/dist/esm/models/components/legacyrecurringproductpricefree.js.map +1 -1
  500. package/dist/esm/models/components/licensekeystatus.d.ts +4 -4
  501. package/dist/esm/models/components/licensekeystatus.d.ts.map +1 -1
  502. package/dist/esm/models/components/licensekeystatus.js +3 -3
  503. package/dist/esm/models/components/licensekeystatus.js.map +1 -1
  504. package/dist/esm/models/components/listresourcecustomerportalmember.d.ts +13 -0
  505. package/dist/esm/models/components/listresourcecustomerportalmember.d.ts.map +1 -0
  506. package/dist/esm/models/components/listresourcecustomerportalmember.js +16 -0
  507. package/dist/esm/models/components/listresourcecustomerportalmember.js.map +1 -0
  508. package/dist/esm/models/components/memberrole.d.ts +4 -4
  509. package/dist/esm/models/components/memberrole.d.ts.map +1 -1
  510. package/dist/esm/models/components/memberrole.js +3 -4
  511. package/dist/esm/models/components/memberrole.js.map +1 -1
  512. package/dist/esm/models/components/metrictype.d.ts +3 -3
  513. package/dist/esm/models/components/metrictype.d.ts.map +1 -1
  514. package/dist/esm/models/components/metrictype.js +2 -3
  515. package/dist/esm/models/components/metrictype.js.map +1 -1
  516. package/dist/esm/models/components/orderbillingreason.d.ts +4 -4
  517. package/dist/esm/models/components/orderbillingreason.d.ts.map +1 -1
  518. package/dist/esm/models/components/orderbillingreason.js +3 -3
  519. package/dist/esm/models/components/orderbillingreason.js.map +1 -1
  520. package/dist/esm/models/components/orderstatus.d.ts +4 -4
  521. package/dist/esm/models/components/orderstatus.d.ts.map +1 -1
  522. package/dist/esm/models/components/orderstatus.js +3 -4
  523. package/dist/esm/models/components/orderstatus.js.map +1 -1
  524. package/dist/esm/models/components/organization.d.ts +4 -2
  525. package/dist/esm/models/components/organization.d.ts.map +1 -1
  526. package/dist/esm/models/components/organization.js +2 -3
  527. package/dist/esm/models/components/organization.js.map +1 -1
  528. package/dist/esm/models/components/organizationcustomeremailsettings.d.ts +2 -0
  529. package/dist/esm/models/components/organizationcustomeremailsettings.d.ts.map +1 -1
  530. package/dist/esm/models/components/organizationcustomeremailsettings.js +4 -0
  531. package/dist/esm/models/components/organizationcustomeremailsettings.js.map +1 -1
  532. package/dist/esm/models/components/organizationfeaturesettings.d.ts +5 -0
  533. package/dist/esm/models/components/organizationfeaturesettings.d.ts.map +1 -1
  534. package/dist/esm/models/components/organizationfeaturesettings.js +4 -0
  535. package/dist/esm/models/components/organizationfeaturesettings.js.map +1 -1
  536. package/dist/esm/models/components/organizationsocialplatforms.d.ts +4 -4
  537. package/dist/esm/models/components/organizationsocialplatforms.d.ts.map +1 -1
  538. package/dist/esm/models/components/organizationsocialplatforms.js +3 -3
  539. package/dist/esm/models/components/organizationsocialplatforms.js.map +1 -1
  540. package/dist/esm/models/components/organizationstatus.d.ts +4 -4
  541. package/dist/esm/models/components/organizationstatus.d.ts.map +1 -1
  542. package/dist/esm/models/components/organizationstatus.js +3 -3
  543. package/dist/esm/models/components/organizationstatus.js.map +1 -1
  544. package/dist/esm/models/components/paymentstatus.d.ts +4 -4
  545. package/dist/esm/models/components/paymentstatus.d.ts.map +1 -1
  546. package/dist/esm/models/components/paymentstatus.js +3 -3
  547. package/dist/esm/models/components/paymentstatus.js.map +1 -1
  548. package/dist/esm/models/components/presentmentcurrency.d.ts +9 -2
  549. package/dist/esm/models/components/presentmentcurrency.d.ts.map +1 -1
  550. package/dist/esm/models/components/presentmentcurrency.js +10 -3
  551. package/dist/esm/models/components/presentmentcurrency.js.map +1 -1
  552. package/dist/esm/models/components/productpricecustom.d.ts +4 -2
  553. package/dist/esm/models/components/productpricecustom.d.ts.map +1 -1
  554. package/dist/esm/models/components/productpricecustom.js +2 -3
  555. package/dist/esm/models/components/productpricecustom.js.map +1 -1
  556. package/dist/esm/models/components/productpricefixed.d.ts +4 -2
  557. package/dist/esm/models/components/productpricefixed.d.ts.map +1 -1
  558. package/dist/esm/models/components/productpricefixed.js +2 -3
  559. package/dist/esm/models/components/productpricefixed.js.map +1 -1
  560. package/dist/esm/models/components/productpricefree.d.ts +4 -2
  561. package/dist/esm/models/components/productpricefree.d.ts.map +1 -1
  562. package/dist/esm/models/components/productpricefree.js +2 -3
  563. package/dist/esm/models/components/productpricefree.js.map +1 -1
  564. package/dist/esm/models/components/productpricemeteredunit.d.ts +4 -2
  565. package/dist/esm/models/components/productpricemeteredunit.d.ts.map +1 -1
  566. package/dist/esm/models/components/productpricemeteredunit.js +2 -3
  567. package/dist/esm/models/components/productpricemeteredunit.js.map +1 -1
  568. package/dist/esm/models/components/productpriceseatbased.d.ts +4 -2
  569. package/dist/esm/models/components/productpriceseatbased.d.ts.map +1 -1
  570. package/dist/esm/models/components/productpriceseatbased.js +2 -3
  571. package/dist/esm/models/components/productpriceseatbased.js.map +1 -1
  572. package/dist/esm/models/components/productpricesource.d.ts +4 -4
  573. package/dist/esm/models/components/productpricesource.d.ts.map +1 -1
  574. package/dist/esm/models/components/productpricesource.js +3 -3
  575. package/dist/esm/models/components/productpricesource.js.map +1 -1
  576. package/dist/esm/models/components/productpricetype.d.ts +4 -4
  577. package/dist/esm/models/components/productpricetype.d.ts.map +1 -1
  578. package/dist/esm/models/components/productpricetype.js +3 -3
  579. package/dist/esm/models/components/productpricetype.js.map +1 -1
  580. package/dist/esm/models/components/productvisibility.d.ts +4 -4
  581. package/dist/esm/models/components/productvisibility.d.ts.map +1 -1
  582. package/dist/esm/models/components/productvisibility.js +3 -3
  583. package/dist/esm/models/components/productvisibility.js.map +1 -1
  584. package/dist/esm/models/components/propertyaggregation.d.ts +4 -4
  585. package/dist/esm/models/components/propertyaggregation.d.ts.map +1 -1
  586. package/dist/esm/models/components/propertyaggregation.js +5 -2
  587. package/dist/esm/models/components/propertyaggregation.js.map +1 -1
  588. package/dist/esm/models/components/refundreason.d.ts +4 -4
  589. package/dist/esm/models/components/refundreason.d.ts.map +1 -1
  590. package/dist/esm/models/components/refundreason.js +3 -4
  591. package/dist/esm/models/components/refundreason.js.map +1 -1
  592. package/dist/esm/models/components/refundstatus.d.ts +4 -4
  593. package/dist/esm/models/components/refundstatus.d.ts.map +1 -1
  594. package/dist/esm/models/components/refundstatus.js +3 -4
  595. package/dist/esm/models/components/refundstatus.js.map +1 -1
  596. package/dist/esm/models/components/scope.d.ts +3 -3
  597. package/dist/esm/models/components/scope.d.ts.map +1 -1
  598. package/dist/esm/models/components/scope.js +3 -2
  599. package/dist/esm/models/components/scope.js.map +1 -1
  600. package/dist/esm/models/components/seatstatus.d.ts +4 -4
  601. package/dist/esm/models/components/seatstatus.d.ts.map +1 -1
  602. package/dist/esm/models/components/seatstatus.js +3 -4
  603. package/dist/esm/models/components/seatstatus.js.map +1 -1
  604. package/dist/esm/models/components/subscriptionprorationbehavior.d.ts +4 -4
  605. package/dist/esm/models/components/subscriptionprorationbehavior.d.ts.map +1 -1
  606. package/dist/esm/models/components/subscriptionprorationbehavior.js +3 -3
  607. package/dist/esm/models/components/subscriptionprorationbehavior.js.map +1 -1
  608. package/dist/esm/models/components/subscriptionrecurringinterval.d.ts +4 -4
  609. package/dist/esm/models/components/subscriptionrecurringinterval.d.ts.map +1 -1
  610. package/dist/esm/models/components/subscriptionrecurringinterval.js +3 -3
  611. package/dist/esm/models/components/subscriptionrecurringinterval.js.map +1 -1
  612. package/dist/esm/models/components/subscriptionstatus.d.ts +4 -4
  613. package/dist/esm/models/components/subscriptionstatus.d.ts.map +1 -1
  614. package/dist/esm/models/components/subscriptionstatus.js +3 -3
  615. package/dist/esm/models/components/subscriptionstatus.js.map +1 -1
  616. package/dist/esm/models/components/subtype.d.ts +4 -4
  617. package/dist/esm/models/components/subtype.d.ts.map +1 -1
  618. package/dist/esm/models/components/subtype.js +5 -3
  619. package/dist/esm/models/components/subtype.js.map +1 -1
  620. package/dist/esm/models/components/taxidformat.d.ts +4 -4
  621. package/dist/esm/models/components/taxidformat.d.ts.map +1 -1
  622. package/dist/esm/models/components/taxidformat.js +3 -4
  623. package/dist/esm/models/components/taxidformat.js.map +1 -1
  624. package/dist/esm/models/components/trialinterval.d.ts +4 -4
  625. package/dist/esm/models/components/trialinterval.d.ts.map +1 -1
  626. package/dist/esm/models/components/trialinterval.js +3 -3
  627. package/dist/esm/models/components/trialinterval.js.map +1 -1
  628. package/dist/esm/models/components/validationerror.d.ts +13 -0
  629. package/dist/esm/models/components/validationerror.d.ts.map +1 -1
  630. package/dist/esm/models/components/validationerror.js +14 -0
  631. package/dist/esm/models/components/validationerror.js.map +1 -1
  632. package/dist/esm/models/components/webhookeventtype.d.ts +4 -4
  633. package/dist/esm/models/components/webhookeventtype.d.ts.map +1 -1
  634. package/dist/esm/models/components/webhookeventtype.js +3 -3
  635. package/dist/esm/models/components/webhookeventtype.js.map +1 -1
  636. package/dist/esm/models/components/webhookformat.d.ts +4 -4
  637. package/dist/esm/models/components/webhookformat.d.ts.map +1 -1
  638. package/dist/esm/models/components/webhookformat.js +3 -3
  639. package/dist/esm/models/components/webhookformat.js.map +1 -1
  640. package/dist/esm/models/operations/customerportalmemberslistmembers.d.ts +29 -0
  641. package/dist/esm/models/operations/customerportalmemberslistmembers.d.ts.map +1 -0
  642. package/dist/esm/models/operations/customerportalmemberslistmembers.js +27 -0
  643. package/dist/esm/models/operations/customerportalmemberslistmembers.js.map +1 -0
  644. package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.d.ts +27 -0
  645. package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.d.ts.map +1 -1
  646. package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.js +21 -0
  647. package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.js.map +1 -1
  648. package/dist/esm/models/operations/customersexport.d.ts +6 -0
  649. package/dist/esm/models/operations/customersexport.d.ts.map +1 -1
  650. package/dist/esm/models/operations/customersexport.js +6 -0
  651. package/dist/esm/models/operations/customersexport.js.map +1 -1
  652. package/dist/esm/models/operations/ordersexport.d.ts +6 -0
  653. package/dist/esm/models/operations/ordersexport.d.ts.map +1 -1
  654. package/dist/esm/models/operations/ordersexport.js +6 -0
  655. package/dist/esm/models/operations/ordersexport.js.map +1 -1
  656. package/dist/esm/models/operations/subscriptionsexport.d.ts +6 -0
  657. package/dist/esm/models/operations/subscriptionsexport.d.ts.map +1 -1
  658. package/dist/esm/models/operations/subscriptionsexport.js +6 -0
  659. package/dist/esm/models/operations/subscriptionsexport.js.map +1 -1
  660. package/dist/esm/sdk/customers.d.ts +6 -2
  661. package/dist/esm/sdk/customers.d.ts.map +1 -1
  662. package/dist/esm/sdk/customers.js +1 -0
  663. package/dist/esm/sdk/customers.js.map +1 -1
  664. package/dist/esm/sdk/orders.d.ts +7 -3
  665. package/dist/esm/sdk/orders.d.ts.map +1 -1
  666. package/dist/esm/sdk/orders.js +2 -1
  667. package/dist/esm/sdk/orders.js.map +1 -1
  668. package/dist/esm/sdk/polarmembers.d.ts +5 -1
  669. package/dist/esm/sdk/polarmembers.d.ts.map +1 -1
  670. package/dist/esm/sdk/polarmembers.js +3 -2
  671. package/dist/esm/sdk/polarmembers.js.map +1 -1
  672. package/dist/esm/sdk/refunds.d.ts +1 -1
  673. package/dist/esm/sdk/refunds.d.ts.map +1 -1
  674. package/dist/esm/sdk/seats.d.ts +5 -3
  675. package/dist/esm/sdk/seats.d.ts.map +1 -1
  676. package/dist/esm/sdk/seats.js +3 -2
  677. package/dist/esm/sdk/seats.js.map +1 -1
  678. package/dist/esm/sdk/subscriptions.d.ts +6 -2
  679. package/dist/esm/sdk/subscriptions.d.ts.map +1 -1
  680. package/dist/esm/sdk/subscriptions.js +2 -1
  681. package/dist/esm/sdk/subscriptions.js.map +1 -1
  682. package/examples/package-lock.json +1 -1
  683. package/jsr.json +1 -1
  684. package/package.json +1 -1
  685. package/src/funcs/customerPortalMembersListMembers.ts +146 -33
  686. package/src/funcs/customerPortalSeatsListClaimedSubscriptions.ts +153 -34
  687. package/src/funcs/customersExport.ts +16 -7
  688. package/src/funcs/ordersExport.ts +17 -8
  689. package/src/funcs/refundsCreate.ts +4 -5
  690. package/src/funcs/subscriptionsExport.ts +18 -7
  691. package/src/lib/config.ts +3 -3
  692. package/src/models/components/address.ts +11 -6
  693. package/src/models/components/balancedisputemetadata.ts +3 -0
  694. package/src/models/components/balanceordermetadata.ts +3 -0
  695. package/src/models/components/balancerefundmetadata.ts +3 -0
  696. package/src/models/components/benefit.ts +4 -4
  697. package/src/models/components/benefitgithubrepositoryproperties.ts +7 -6
  698. package/src/models/components/benefitgrantgithubrepositoryproperties.ts +7 -6
  699. package/src/models/components/benefitlicensekeyexpirationproperties.ts +7 -7
  700. package/src/models/components/benefittype.ts +7 -6
  701. package/src/models/components/billingaddressfieldmode.ts +11 -10
  702. package/src/models/components/checkoutlink.ts +6 -0
  703. package/src/models/components/checkoutlinkcreateproduct.ts +7 -0
  704. package/src/models/components/checkoutlinkcreateproductprice.ts +7 -0
  705. package/src/models/components/checkoutlinkcreateproducts.ts +7 -0
  706. package/src/models/components/checkoutlinkupdate.ts +7 -0
  707. package/src/models/components/checkoutstatus.ts +11 -8
  708. package/src/models/components/customercancellationreason.ts +11 -8
  709. package/src/models/components/customerstatesubscription.ts +7 -7
  710. package/src/models/components/customertype.ts +7 -6
  711. package/src/models/components/discountduration.ts +11 -8
  712. package/src/models/components/discountfixedonceforeverdurationcreate.ts +7 -6
  713. package/src/models/components/discountfixedrepeatdurationcreate.ts +7 -6
  714. package/src/models/components/discounttype.ts +7 -6
  715. package/src/models/components/discountupdate.ts +6 -2
  716. package/src/models/components/disputestatus.ts +11 -6
  717. package/src/models/components/eventsource.ts +7 -6
  718. package/src/models/components/fileservicetypes.ts +7 -5
  719. package/src/models/components/filterconjunction.ts +11 -8
  720. package/src/models/components/filteroperator.ts +11 -8
  721. package/src/models/components/introspecttokenresponse.ts +5 -5
  722. package/src/models/components/legacyrecurringproductpricecustom.ts +6 -8
  723. package/src/models/components/legacyrecurringproductpricefixed.ts +6 -8
  724. package/src/models/components/legacyrecurringproductpricefree.ts +6 -8
  725. package/src/models/components/licensekeystatus.ts +11 -8
  726. package/src/models/components/listresourcecustomerportalmember.ts +37 -0
  727. package/src/models/components/memberrole.ts +7 -6
  728. package/src/models/components/metrictype.ts +5 -4
  729. package/src/models/components/orderbillingreason.ts +11 -8
  730. package/src/models/components/orderstatus.ts +7 -6
  731. package/src/models/components/organization.ts +6 -8
  732. package/src/models/components/organizationcustomeremailsettings.ts +6 -0
  733. package/src/models/components/organizationfeaturesettings.ts +9 -0
  734. package/src/models/components/organizationsocialplatforms.ts +11 -8
  735. package/src/models/components/organizationstatus.ts +11 -8
  736. package/src/models/components/paymentstatus.ts +11 -6
  737. package/src/models/components/presentmentcurrency.ts +10 -5
  738. package/src/models/components/productpricecustom.ts +6 -8
  739. package/src/models/components/productpricefixed.ts +6 -8
  740. package/src/models/components/productpricefree.ts +6 -8
  741. package/src/models/components/productpricemeteredunit.ts +6 -8
  742. package/src/models/components/productpriceseatbased.ts +6 -8
  743. package/src/models/components/productpricesource.ts +11 -8
  744. package/src/models/components/productpricetype.ts +11 -8
  745. package/src/models/components/productvisibility.ts +11 -8
  746. package/src/models/components/propertyaggregation.ts +7 -5
  747. package/src/models/components/refundreason.ts +7 -6
  748. package/src/models/components/refundstatus.ts +7 -6
  749. package/src/models/components/scope.ts +5 -3
  750. package/src/models/components/seatstatus.ts +7 -6
  751. package/src/models/components/subscriptionprorationbehavior.ts +11 -8
  752. package/src/models/components/subscriptionrecurringinterval.ts +11 -8
  753. package/src/models/components/subscriptionstatus.ts +11 -8
  754. package/src/models/components/subtype.ts +7 -7
  755. package/src/models/components/taxidformat.ts +7 -6
  756. package/src/models/components/trialinterval.ts +11 -6
  757. package/src/models/components/validationerror.ts +34 -0
  758. package/src/models/components/webhookeventtype.ts +11 -8
  759. package/src/models/components/webhookformat.ts +11 -6
  760. package/src/models/operations/customerportalmemberslistmembers.ts +84 -0
  761. package/src/models/operations/customerportalseatslistclaimedsubscriptions.ts +79 -0
  762. package/src/models/operations/customersexport.ts +21 -0
  763. package/src/models/operations/ordersexport.ts +21 -0
  764. package/src/models/operations/subscriptionsexport.ts +21 -0
  765. package/src/sdk/customers.ts +9 -4
  766. package/src/sdk/orders.ts +10 -5
  767. package/src/sdk/polarmembers.ts +11 -2
  768. package/src/sdk/refunds.ts +1 -1
  769. package/src/sdk/seats.ts +15 -4
  770. package/src/sdk/subscriptions.ts +12 -4
@@ -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);
@@ -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(),
@@ -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 DiscountFixedRepeatDurationCreateMetadata =
15
19
  | string
@@ -39,10 +43,7 @@ export type DiscountFixedRepeatDurationCreate = {
39
43
  * Fixed amount to discount from the invoice total.
40
44
  */
41
45
  amount: number;
42
- /**
43
- * The currency. Currently, only `usd` is supported.
44
- */
45
- currency?: string | undefined;
46
+ currency?: PresentmentCurrency | undefined;
46
47
  /**
47
48
  * Key-value object allowing you to store additional information.
48
49
  *
@@ -117,7 +118,7 @@ export type DiscountFixedRepeatDurationCreate$Outbound = {
117
118
  duration_in_months: number;
118
119
  type: string;
119
120
  amount: number;
120
- currency: string;
121
+ currency?: string | undefined;
121
122
  metadata?: { [k: string]: string | number | number | boolean } | undefined;
122
123
  name: string;
123
124
  code?: string | null | undefined;
@@ -138,7 +139,7 @@ export const DiscountFixedRepeatDurationCreate$outboundSchema: z.ZodMiniType<
138
139
  durationInMonths: z.int(),
139
140
  type: DiscountType$outboundSchema,
140
141
  amount: z.int(),
141
- currency: z._default(z.string(), "usd"),
142
+ currency: z.optional(PresentmentCurrency$outboundSchema),
142
143
  metadata: z.optional(
143
144
  z.record(
144
145
  z.string(),
@@ -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 DiscountType = {
9
10
  Fixed: "fixed",
10
11
  Percentage: "percentage",
11
12
  } as const;
12
- export type DiscountType = ClosedEnum<typeof DiscountType>;
13
+ export type DiscountType = OpenEnum<typeof DiscountType>;
13
14
 
14
15
  /** @internal */
15
- export const DiscountType$inboundSchema: z.ZodMiniEnum<typeof DiscountType> = z
16
- .enum(DiscountType);
16
+ export const DiscountType$inboundSchema: z.ZodMiniType<DiscountType, unknown> =
17
+ openEnums.inboundSchema(DiscountType);
17
18
  /** @internal */
18
- export const DiscountType$outboundSchema: z.ZodMiniEnum<typeof DiscountType> =
19
- DiscountType$inboundSchema;
19
+ export const DiscountType$outboundSchema: z.ZodMiniType<string, DiscountType> =
20
+ openEnums.outboundSchema(DiscountType);
@@ -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 DiscountUpdateMetadata = string | number | number | boolean;
15
19
 
@@ -54,7 +58,7 @@ export type DiscountUpdate = {
54
58
  durationInMonths?: number | null | undefined;
55
59
  type?: DiscountType | null | undefined;
56
60
  amount?: number | null | undefined;
57
- currency?: string | null | undefined;
61
+ currency?: PresentmentCurrency | null | undefined;
58
62
  basisPoints?: number | null | undefined;
59
63
  products?: Array<string> | null | undefined;
60
64
  };
@@ -122,7 +126,7 @@ export const DiscountUpdate$outboundSchema: z.ZodMiniType<
122
126
  durationInMonths: z.optional(z.nullable(z.int())),
123
127
  type: z.optional(z.nullable(DiscountType$outboundSchema)),
124
128
  amount: z.optional(z.nullable(z.int())),
125
- currency: z.optional(z.nullable(z.string())),
129
+ currency: z.optional(z.nullable(PresentmentCurrency$outboundSchema)),
126
130
  basisPoints: z.optional(z.nullable(z.int())),
127
131
  products: z.optional(z.nullable(z.array(z.string()))),
128
132
  }),
@@ -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 DisputeStatus = {
9
10
  Prevented: "prevented",
@@ -13,11 +14,15 @@ export const DisputeStatus = {
13
14
  Lost: "lost",
14
15
  Won: "won",
15
16
  } as const;
16
- export type DisputeStatus = ClosedEnum<typeof DisputeStatus>;
17
+ export type DisputeStatus = OpenEnum<typeof DisputeStatus>;
17
18
 
18
19
  /** @internal */
19
- export const DisputeStatus$inboundSchema: z.ZodMiniEnum<typeof DisputeStatus> =
20
- z.enum(DisputeStatus);
20
+ export const DisputeStatus$inboundSchema: z.ZodMiniType<
21
+ DisputeStatus,
22
+ unknown
23
+ > = openEnums.inboundSchema(DisputeStatus);
21
24
  /** @internal */
22
- export const DisputeStatus$outboundSchema: z.ZodMiniEnum<typeof DisputeStatus> =
23
- DisputeStatus$inboundSchema;
25
+ export const DisputeStatus$outboundSchema: z.ZodMiniType<
26
+ string,
27
+ DisputeStatus
28
+ > = openEnums.outboundSchema(DisputeStatus);
@@ -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 EventSource = {
9
10
  System: "system",
10
11
  User: "user",
11
12
  } as const;
12
- export type EventSource = ClosedEnum<typeof EventSource>;
13
+ export type EventSource = OpenEnum<typeof EventSource>;
13
14
 
14
15
  /** @internal */
15
- export const EventSource$inboundSchema: z.ZodMiniEnum<typeof EventSource> = z
16
- .enum(EventSource);
16
+ export const EventSource$inboundSchema: z.ZodMiniType<EventSource, unknown> =
17
+ openEnums.inboundSchema(EventSource);
17
18
  /** @internal */
18
- export const EventSource$outboundSchema: z.ZodMiniEnum<typeof EventSource> =
19
- EventSource$inboundSchema;
19
+ export const EventSource$outboundSchema: z.ZodMiniType<string, EventSource> =
20
+ openEnums.outboundSchema(EventSource);
@@ -3,16 +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 FileServiceTypes = {
9
10
  Downloadable: "downloadable",
10
11
  ProductMedia: "product_media",
11
12
  OrganizationAvatar: "organization_avatar",
12
13
  } as const;
13
- export type FileServiceTypes = ClosedEnum<typeof FileServiceTypes>;
14
+ export type FileServiceTypes = OpenEnum<typeof FileServiceTypes>;
14
15
 
15
16
  /** @internal */
16
- export const FileServiceTypes$inboundSchema: z.ZodMiniEnum<
17
- typeof FileServiceTypes
18
- > = z.enum(FileServiceTypes);
17
+ export const FileServiceTypes$inboundSchema: z.ZodMiniType<
18
+ FileServiceTypes,
19
+ unknown
20
+ > = openEnums.inboundSchema(FileServiceTypes);
@@ -3,19 +3,22 @@
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 FilterConjunction = {
9
10
  And: "and",
10
11
  Or: "or",
11
12
  } as const;
12
- export type FilterConjunction = ClosedEnum<typeof FilterConjunction>;
13
+ export type FilterConjunction = OpenEnum<typeof FilterConjunction>;
13
14
 
14
15
  /** @internal */
15
- export const FilterConjunction$inboundSchema: z.ZodMiniEnum<
16
- typeof FilterConjunction
17
- > = z.enum(FilterConjunction);
16
+ export const FilterConjunction$inboundSchema: z.ZodMiniType<
17
+ FilterConjunction,
18
+ unknown
19
+ > = openEnums.inboundSchema(FilterConjunction);
18
20
  /** @internal */
19
- export const FilterConjunction$outboundSchema: z.ZodMiniEnum<
20
- typeof FilterConjunction
21
- > = FilterConjunction$inboundSchema;
21
+ export const FilterConjunction$outboundSchema: z.ZodMiniType<
22
+ string,
23
+ FilterConjunction
24
+ > = openEnums.outboundSchema(FilterConjunction);
@@ -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 FilterOperator = {
9
10
  Eq: "eq",
@@ -15,13 +16,15 @@ export const FilterOperator = {
15
16
  Like: "like",
16
17
  NotLike: "not_like",
17
18
  } as const;
18
- export type FilterOperator = ClosedEnum<typeof FilterOperator>;
19
+ export type FilterOperator = OpenEnum<typeof FilterOperator>;
19
20
 
20
21
  /** @internal */
21
- export const FilterOperator$inboundSchema: z.ZodMiniEnum<
22
- typeof FilterOperator
23
- > = z.enum(FilterOperator);
22
+ export const FilterOperator$inboundSchema: z.ZodMiniType<
23
+ FilterOperator,
24
+ unknown
25
+ > = openEnums.inboundSchema(FilterOperator);
24
26
  /** @internal */
25
- export const FilterOperator$outboundSchema: z.ZodMiniEnum<
26
- typeof FilterOperator
27
- > = FilterOperator$inboundSchema;
27
+ export const FilterOperator$outboundSchema: z.ZodMiniType<
28
+ string,
29
+ FilterOperator
30
+ > = openEnums.outboundSchema(FilterOperator);
@@ -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 { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
12
  import { SubType, SubType$inboundSchema } from "./subtype.js";
@@ -14,7 +15,7 @@ export const TokenType = {
14
15
  AccessToken: "access_token",
15
16
  RefreshToken: "refresh_token",
16
17
  } as const;
17
- export type TokenType = ClosedEnum<typeof TokenType>;
18
+ export type TokenType = OpenEnum<typeof TokenType>;
18
19
 
19
20
  export type IntrospectTokenResponse = {
20
21
  active: boolean;
@@ -30,9 +31,8 @@ export type IntrospectTokenResponse = {
30
31
  };
31
32
 
32
33
  /** @internal */
33
- export const TokenType$inboundSchema: z.ZodMiniEnum<typeof TokenType> = z.enum(
34
- TokenType,
35
- );
34
+ export const TokenType$inboundSchema: z.ZodMiniType<TokenType, unknown> =
35
+ openEnums.inboundSchema(TokenType);
36
36
 
37
37
  /** @internal */
38
38
  export const IntrospectTokenResponse$inboundSchema: z.ZodMiniType<
@@ -7,11 +7,6 @@ import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { safeParse } from "../../lib/schemas.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
- import {
11
- PresentmentCurrency,
12
- PresentmentCurrency$inboundSchema,
13
- PresentmentCurrency$outboundSchema,
14
- } from "./presentmentcurrency.js";
15
10
  import {
16
11
  ProductPriceSource,
17
12
  ProductPriceSource$inboundSchema,
@@ -45,7 +40,10 @@ export type LegacyRecurringProductPriceCustom = {
45
40
  id: string;
46
41
  source: ProductPriceSource;
47
42
  amountType: "custom";
48
- priceCurrency: PresentmentCurrency;
43
+ /**
44
+ * The currency in which the customer will be charged.
45
+ */
46
+ priceCurrency: string;
49
47
  /**
50
48
  * Whether the price is archived and no longer available.
51
49
  */
@@ -90,7 +88,7 @@ export const LegacyRecurringProductPriceCustom$inboundSchema: z.ZodMiniType<
90
88
  id: z.string(),
91
89
  source: ProductPriceSource$inboundSchema,
92
90
  amount_type: z.literal("custom"),
93
- price_currency: PresentmentCurrency$inboundSchema,
91
+ price_currency: z.string(),
94
92
  is_archived: z.boolean(),
95
93
  product_id: z.string(),
96
94
  type: z.literal("recurring"),
@@ -144,7 +142,7 @@ export const LegacyRecurringProductPriceCustom$outboundSchema: z.ZodMiniType<
144
142
  id: z.string(),
145
143
  source: ProductPriceSource$outboundSchema,
146
144
  amountType: z.literal("custom"),
147
- priceCurrency: PresentmentCurrency$outboundSchema,
145
+ priceCurrency: z.string(),
148
146
  isArchived: z.boolean(),
149
147
  productId: z.string(),
150
148
  type: z.literal("recurring"),
@@ -7,11 +7,6 @@ import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { safeParse } from "../../lib/schemas.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
- import {
11
- PresentmentCurrency,
12
- PresentmentCurrency$inboundSchema,
13
- PresentmentCurrency$outboundSchema,
14
- } from "./presentmentcurrency.js";
15
10
  import {
16
11
  ProductPriceSource,
17
12
  ProductPriceSource$inboundSchema,
@@ -45,7 +40,10 @@ export type LegacyRecurringProductPriceFixed = {
45
40
  id: string;
46
41
  source: ProductPriceSource;
47
42
  amountType: "fixed";
48
- priceCurrency: PresentmentCurrency;
43
+ /**
44
+ * The currency in which the customer will be charged.
45
+ */
46
+ priceCurrency: string;
49
47
  /**
50
48
  * Whether the price is archived and no longer available.
51
49
  */
@@ -82,7 +80,7 @@ export const LegacyRecurringProductPriceFixed$inboundSchema: z.ZodMiniType<
82
80
  id: z.string(),
83
81
  source: ProductPriceSource$inboundSchema,
84
82
  amount_type: z.literal("fixed"),
85
- price_currency: PresentmentCurrency$inboundSchema,
83
+ price_currency: z.string(),
86
84
  is_archived: z.boolean(),
87
85
  product_id: z.string(),
88
86
  type: z.literal("recurring"),
@@ -130,7 +128,7 @@ export const LegacyRecurringProductPriceFixed$outboundSchema: z.ZodMiniType<
130
128
  id: z.string(),
131
129
  source: ProductPriceSource$outboundSchema,
132
130
  amountType: z.literal("fixed"),
133
- priceCurrency: PresentmentCurrency$outboundSchema,
131
+ priceCurrency: z.string(),
134
132
  isArchived: z.boolean(),
135
133
  productId: z.string(),
136
134
  type: z.literal("recurring"),
@@ -7,11 +7,6 @@ import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { safeParse } from "../../lib/schemas.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
- import {
11
- PresentmentCurrency,
12
- PresentmentCurrency$inboundSchema,
13
- PresentmentCurrency$outboundSchema,
14
- } from "./presentmentcurrency.js";
15
10
  import {
16
11
  ProductPriceSource,
17
12
  ProductPriceSource$inboundSchema,
@@ -45,7 +40,10 @@ export type LegacyRecurringProductPriceFree = {
45
40
  id: string;
46
41
  source: ProductPriceSource;
47
42
  amountType: "free";
48
- priceCurrency: PresentmentCurrency;
43
+ /**
44
+ * The currency in which the customer will be charged.
45
+ */
46
+ priceCurrency: string;
49
47
  /**
50
48
  * Whether the price is archived and no longer available.
51
49
  */
@@ -78,7 +76,7 @@ export const LegacyRecurringProductPriceFree$inboundSchema: z.ZodMiniType<
78
76
  id: z.string(),
79
77
  source: ProductPriceSource$inboundSchema,
80
78
  amount_type: z.literal("free"),
81
- price_currency: PresentmentCurrency$inboundSchema,
79
+ price_currency: z.string(),
82
80
  is_archived: z.boolean(),
83
81
  product_id: z.string(),
84
82
  type: z.literal("recurring"),
@@ -123,7 +121,7 @@ export const LegacyRecurringProductPriceFree$outboundSchema: z.ZodMiniType<
123
121
  id: z.string(),
124
122
  source: ProductPriceSource$outboundSchema,
125
123
  amountType: z.literal("free"),
126
- priceCurrency: PresentmentCurrency$outboundSchema,
124
+ priceCurrency: z.string(),
127
125
  isArchived: z.boolean(),
128
126
  productId: z.string(),
129
127
  type: z.literal("recurring"),
@@ -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 LicenseKeyStatus = {
9
10
  Granted: "granted",
10
11
  Revoked: "revoked",
11
12
  Disabled: "disabled",
12
13
  } as const;
13
- export type LicenseKeyStatus = ClosedEnum<typeof LicenseKeyStatus>;
14
+ export type LicenseKeyStatus = OpenEnum<typeof LicenseKeyStatus>;
14
15
 
15
16
  /** @internal */
16
- export const LicenseKeyStatus$inboundSchema: z.ZodMiniEnum<
17
- typeof LicenseKeyStatus
18
- > = z.enum(LicenseKeyStatus);
17
+ export const LicenseKeyStatus$inboundSchema: z.ZodMiniType<
18
+ LicenseKeyStatus,
19
+ unknown
20
+ > = openEnums.inboundSchema(LicenseKeyStatus);
19
21
  /** @internal */
20
- export const LicenseKeyStatus$outboundSchema: z.ZodMiniEnum<
21
- typeof LicenseKeyStatus
22
- > = LicenseKeyStatus$inboundSchema;
22
+ export const LicenseKeyStatus$outboundSchema: z.ZodMiniType<
23
+ string,
24
+ LicenseKeyStatus
25
+ > = openEnums.outboundSchema(LicenseKeyStatus);
@@ -0,0 +1,37 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+ import {
10
+ CustomerPortalMember,
11
+ CustomerPortalMember$inboundSchema,
12
+ } from "./customerportalmember.js";
13
+ import { Pagination, Pagination$inboundSchema } from "./pagination.js";
14
+
15
+ export type ListResourceCustomerPortalMember = {
16
+ items: Array<CustomerPortalMember>;
17
+ pagination: Pagination;
18
+ };
19
+
20
+ /** @internal */
21
+ export const ListResourceCustomerPortalMember$inboundSchema: z.ZodMiniType<
22
+ ListResourceCustomerPortalMember,
23
+ unknown
24
+ > = z.object({
25
+ items: z.array(CustomerPortalMember$inboundSchema),
26
+ pagination: Pagination$inboundSchema,
27
+ });
28
+
29
+ export function listResourceCustomerPortalMemberFromJSON(
30
+ jsonString: string,
31
+ ): SafeParseResult<ListResourceCustomerPortalMember, SDKValidationError> {
32
+ return safeParse(
33
+ jsonString,
34
+ (x) => ListResourceCustomerPortalMember$inboundSchema.parse(JSON.parse(x)),
35
+ `Failed to parse 'ListResourceCustomerPortalMember' from JSON`,
36
+ );
37
+ }