@polar-sh/sdk 0.25.0 → 0.26.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 (1705) hide show
  1. package/README.md +300 -19
  2. package/dist/commonjs/funcs/advertisementsGet.d.ts +2 -1
  3. package/dist/commonjs/funcs/advertisementsGet.d.ts.map +1 -1
  4. package/dist/commonjs/funcs/advertisementsGet.js +11 -6
  5. package/dist/commonjs/funcs/advertisementsGet.js.map +1 -1
  6. package/dist/commonjs/funcs/advertisementsList.d.ts +2 -1
  7. package/dist/commonjs/funcs/advertisementsList.d.ts.map +1 -1
  8. package/dist/commonjs/funcs/advertisementsList.js +19 -6
  9. package/dist/commonjs/funcs/advertisementsList.js.map +1 -1
  10. package/dist/commonjs/funcs/benefitsCreate.d.ts +2 -1
  11. package/dist/commonjs/funcs/benefitsCreate.d.ts.map +1 -1
  12. package/dist/commonjs/funcs/benefitsCreate.js +11 -6
  13. package/dist/commonjs/funcs/benefitsCreate.js.map +1 -1
  14. package/dist/commonjs/funcs/benefitsDelete.d.ts +2 -1
  15. package/dist/commonjs/funcs/benefitsDelete.d.ts.map +1 -1
  16. package/dist/commonjs/funcs/benefitsDelete.js +11 -6
  17. package/dist/commonjs/funcs/benefitsDelete.js.map +1 -1
  18. package/dist/commonjs/funcs/benefitsGet.d.ts +2 -1
  19. package/dist/commonjs/funcs/benefitsGet.d.ts.map +1 -1
  20. package/dist/commonjs/funcs/benefitsGet.js +11 -6
  21. package/dist/commonjs/funcs/benefitsGet.js.map +1 -1
  22. package/dist/commonjs/funcs/benefitsGrants.d.ts +2 -1
  23. package/dist/commonjs/funcs/benefitsGrants.d.ts.map +1 -1
  24. package/dist/commonjs/funcs/benefitsGrants.js +19 -6
  25. package/dist/commonjs/funcs/benefitsGrants.js.map +1 -1
  26. package/dist/commonjs/funcs/benefitsList.d.ts +2 -1
  27. package/dist/commonjs/funcs/benefitsList.d.ts.map +1 -1
  28. package/dist/commonjs/funcs/benefitsList.js +19 -6
  29. package/dist/commonjs/funcs/benefitsList.js.map +1 -1
  30. package/dist/commonjs/funcs/benefitsUpdate.d.ts +2 -1
  31. package/dist/commonjs/funcs/benefitsUpdate.d.ts.map +1 -1
  32. package/dist/commonjs/funcs/benefitsUpdate.js +11 -6
  33. package/dist/commonjs/funcs/benefitsUpdate.js.map +1 -1
  34. package/dist/commonjs/funcs/checkoutLinksCreate.d.ts +3 -2
  35. package/dist/commonjs/funcs/checkoutLinksCreate.d.ts.map +1 -1
  36. package/dist/commonjs/funcs/checkoutLinksCreate.js +13 -8
  37. package/dist/commonjs/funcs/checkoutLinksCreate.js.map +1 -1
  38. package/dist/commonjs/funcs/checkoutLinksDelete.d.ts +2 -1
  39. package/dist/commonjs/funcs/checkoutLinksDelete.d.ts.map +1 -1
  40. package/dist/commonjs/funcs/checkoutLinksDelete.js +11 -6
  41. package/dist/commonjs/funcs/checkoutLinksDelete.js.map +1 -1
  42. package/dist/commonjs/funcs/checkoutLinksGet.d.ts +2 -1
  43. package/dist/commonjs/funcs/checkoutLinksGet.d.ts.map +1 -1
  44. package/dist/commonjs/funcs/checkoutLinksGet.js +11 -6
  45. package/dist/commonjs/funcs/checkoutLinksGet.js.map +1 -1
  46. package/dist/commonjs/funcs/checkoutLinksList.d.ts +2 -1
  47. package/dist/commonjs/funcs/checkoutLinksList.d.ts.map +1 -1
  48. package/dist/commonjs/funcs/checkoutLinksList.js +19 -6
  49. package/dist/commonjs/funcs/checkoutLinksList.js.map +1 -1
  50. package/dist/commonjs/funcs/checkoutLinksUpdate.d.ts +2 -1
  51. package/dist/commonjs/funcs/checkoutLinksUpdate.d.ts.map +1 -1
  52. package/dist/commonjs/funcs/checkoutLinksUpdate.js +11 -6
  53. package/dist/commonjs/funcs/checkoutLinksUpdate.js.map +1 -1
  54. package/dist/commonjs/funcs/checkoutsClientConfirm.d.ts +2 -1
  55. package/dist/commonjs/funcs/checkoutsClientConfirm.d.ts.map +1 -1
  56. package/dist/commonjs/funcs/checkoutsClientConfirm.js +11 -6
  57. package/dist/commonjs/funcs/checkoutsClientConfirm.js.map +1 -1
  58. package/dist/commonjs/funcs/checkoutsClientGet.d.ts +2 -1
  59. package/dist/commonjs/funcs/checkoutsClientGet.d.ts.map +1 -1
  60. package/dist/commonjs/funcs/checkoutsClientGet.js +11 -6
  61. package/dist/commonjs/funcs/checkoutsClientGet.js.map +1 -1
  62. package/dist/commonjs/funcs/checkoutsClientUpdate.d.ts +2 -1
  63. package/dist/commonjs/funcs/checkoutsClientUpdate.d.ts.map +1 -1
  64. package/dist/commonjs/funcs/checkoutsClientUpdate.js +11 -6
  65. package/dist/commonjs/funcs/checkoutsClientUpdate.js.map +1 -1
  66. package/dist/commonjs/funcs/checkoutsCreate.d.ts +2 -1
  67. package/dist/commonjs/funcs/checkoutsCreate.d.ts.map +1 -1
  68. package/dist/commonjs/funcs/checkoutsCreate.js +11 -6
  69. package/dist/commonjs/funcs/checkoutsCreate.js.map +1 -1
  70. package/dist/commonjs/funcs/checkoutsGet.d.ts +2 -1
  71. package/dist/commonjs/funcs/checkoutsGet.d.ts.map +1 -1
  72. package/dist/commonjs/funcs/checkoutsGet.js +11 -6
  73. package/dist/commonjs/funcs/checkoutsGet.js.map +1 -1
  74. package/dist/commonjs/funcs/checkoutsList.d.ts +2 -1
  75. package/dist/commonjs/funcs/checkoutsList.d.ts.map +1 -1
  76. package/dist/commonjs/funcs/checkoutsList.js +19 -6
  77. package/dist/commonjs/funcs/checkoutsList.js.map +1 -1
  78. package/dist/commonjs/funcs/checkoutsUpdate.d.ts +2 -1
  79. package/dist/commonjs/funcs/checkoutsUpdate.d.ts.map +1 -1
  80. package/dist/commonjs/funcs/checkoutsUpdate.js +11 -6
  81. package/dist/commonjs/funcs/checkoutsUpdate.js.map +1 -1
  82. package/dist/commonjs/funcs/customFieldsCreate.d.ts +2 -1
  83. package/dist/commonjs/funcs/customFieldsCreate.d.ts.map +1 -1
  84. package/dist/commonjs/funcs/customFieldsCreate.js +11 -6
  85. package/dist/commonjs/funcs/customFieldsCreate.js.map +1 -1
  86. package/dist/commonjs/funcs/customFieldsDelete.d.ts +2 -1
  87. package/dist/commonjs/funcs/customFieldsDelete.d.ts.map +1 -1
  88. package/dist/commonjs/funcs/customFieldsDelete.js +11 -6
  89. package/dist/commonjs/funcs/customFieldsDelete.js.map +1 -1
  90. package/dist/commonjs/funcs/customFieldsGet.d.ts +2 -1
  91. package/dist/commonjs/funcs/customFieldsGet.d.ts.map +1 -1
  92. package/dist/commonjs/funcs/customFieldsGet.js +11 -6
  93. package/dist/commonjs/funcs/customFieldsGet.js.map +1 -1
  94. package/dist/commonjs/funcs/customFieldsList.d.ts +2 -1
  95. package/dist/commonjs/funcs/customFieldsList.d.ts.map +1 -1
  96. package/dist/commonjs/funcs/customFieldsList.js +19 -6
  97. package/dist/commonjs/funcs/customFieldsList.js.map +1 -1
  98. package/dist/commonjs/funcs/customFieldsUpdate.d.ts +2 -1
  99. package/dist/commonjs/funcs/customFieldsUpdate.d.ts.map +1 -1
  100. package/dist/commonjs/funcs/customFieldsUpdate.js +11 -6
  101. package/dist/commonjs/funcs/customFieldsUpdate.js.map +1 -1
  102. package/dist/commonjs/funcs/customerPortalBenefitGrantsGet.d.ts +2 -1
  103. package/dist/commonjs/funcs/customerPortalBenefitGrantsGet.d.ts.map +1 -1
  104. package/dist/commonjs/funcs/customerPortalBenefitGrantsGet.js +11 -6
  105. package/dist/commonjs/funcs/customerPortalBenefitGrantsGet.js.map +1 -1
  106. package/dist/commonjs/funcs/customerPortalBenefitGrantsList.d.ts +2 -1
  107. package/dist/commonjs/funcs/customerPortalBenefitGrantsList.d.ts.map +1 -1
  108. package/dist/commonjs/funcs/customerPortalBenefitGrantsList.js +19 -6
  109. package/dist/commonjs/funcs/customerPortalBenefitGrantsList.js.map +1 -1
  110. package/dist/commonjs/funcs/customerPortalBenefitGrantsUpdate.d.ts +2 -1
  111. package/dist/commonjs/funcs/customerPortalBenefitGrantsUpdate.d.ts.map +1 -1
  112. package/dist/commonjs/funcs/customerPortalBenefitGrantsUpdate.js +11 -6
  113. package/dist/commonjs/funcs/customerPortalBenefitGrantsUpdate.js.map +1 -1
  114. package/dist/commonjs/funcs/customerPortalCustomersGet.d.ts +2 -1
  115. package/dist/commonjs/funcs/customerPortalCustomersGet.d.ts.map +1 -1
  116. package/dist/commonjs/funcs/customerPortalCustomersGet.js +11 -6
  117. package/dist/commonjs/funcs/customerPortalCustomersGet.js.map +1 -1
  118. package/dist/commonjs/funcs/customerPortalDownloadablesGet.d.ts +2 -1
  119. package/dist/commonjs/funcs/customerPortalDownloadablesGet.d.ts.map +1 -1
  120. package/dist/commonjs/funcs/customerPortalDownloadablesGet.js +11 -6
  121. package/dist/commonjs/funcs/customerPortalDownloadablesGet.js.map +1 -1
  122. package/dist/commonjs/funcs/customerPortalDownloadablesList.d.ts +2 -1
  123. package/dist/commonjs/funcs/customerPortalDownloadablesList.d.ts.map +1 -1
  124. package/dist/commonjs/funcs/customerPortalDownloadablesList.js +19 -6
  125. package/dist/commonjs/funcs/customerPortalDownloadablesList.js.map +1 -1
  126. package/dist/commonjs/funcs/customerPortalLicenseKeysActivate.d.ts +2 -1
  127. package/dist/commonjs/funcs/customerPortalLicenseKeysActivate.d.ts.map +1 -1
  128. package/dist/commonjs/funcs/customerPortalLicenseKeysActivate.js +11 -6
  129. package/dist/commonjs/funcs/customerPortalLicenseKeysActivate.js.map +1 -1
  130. package/dist/commonjs/funcs/customerPortalLicenseKeysDeactivate.d.ts +2 -1
  131. package/dist/commonjs/funcs/customerPortalLicenseKeysDeactivate.d.ts.map +1 -1
  132. package/dist/commonjs/funcs/customerPortalLicenseKeysDeactivate.js +11 -6
  133. package/dist/commonjs/funcs/customerPortalLicenseKeysDeactivate.js.map +1 -1
  134. package/dist/commonjs/funcs/customerPortalLicenseKeysGet.d.ts +2 -1
  135. package/dist/commonjs/funcs/customerPortalLicenseKeysGet.d.ts.map +1 -1
  136. package/dist/commonjs/funcs/customerPortalLicenseKeysGet.js +11 -6
  137. package/dist/commonjs/funcs/customerPortalLicenseKeysGet.js.map +1 -1
  138. package/dist/commonjs/funcs/customerPortalLicenseKeysList.d.ts +2 -1
  139. package/dist/commonjs/funcs/customerPortalLicenseKeysList.d.ts.map +1 -1
  140. package/dist/commonjs/funcs/customerPortalLicenseKeysList.js +19 -6
  141. package/dist/commonjs/funcs/customerPortalLicenseKeysList.js.map +1 -1
  142. package/dist/commonjs/funcs/customerPortalLicenseKeysValidate.d.ts +2 -1
  143. package/dist/commonjs/funcs/customerPortalLicenseKeysValidate.d.ts.map +1 -1
  144. package/dist/commonjs/funcs/customerPortalLicenseKeysValidate.js +11 -6
  145. package/dist/commonjs/funcs/customerPortalLicenseKeysValidate.js.map +1 -1
  146. package/dist/commonjs/funcs/customerPortalOrdersGet.d.ts +2 -1
  147. package/dist/commonjs/funcs/customerPortalOrdersGet.d.ts.map +1 -1
  148. package/dist/commonjs/funcs/customerPortalOrdersGet.js +11 -6
  149. package/dist/commonjs/funcs/customerPortalOrdersGet.js.map +1 -1
  150. package/dist/commonjs/funcs/customerPortalOrdersInvoice.d.ts +2 -1
  151. package/dist/commonjs/funcs/customerPortalOrdersInvoice.d.ts.map +1 -1
  152. package/dist/commonjs/funcs/customerPortalOrdersInvoice.js +11 -6
  153. package/dist/commonjs/funcs/customerPortalOrdersInvoice.js.map +1 -1
  154. package/dist/commonjs/funcs/customerPortalOrdersList.d.ts +2 -1
  155. package/dist/commonjs/funcs/customerPortalOrdersList.d.ts.map +1 -1
  156. package/dist/commonjs/funcs/customerPortalOrdersList.js +19 -6
  157. package/dist/commonjs/funcs/customerPortalOrdersList.js.map +1 -1
  158. package/dist/commonjs/funcs/customerPortalOrganizationsGet.d.ts +3 -2
  159. package/dist/commonjs/funcs/customerPortalOrganizationsGet.d.ts.map +1 -1
  160. package/dist/commonjs/funcs/customerPortalOrganizationsGet.js +13 -8
  161. package/dist/commonjs/funcs/customerPortalOrganizationsGet.js.map +1 -1
  162. package/dist/commonjs/funcs/customerPortalSubscriptionsCancel.d.ts +2 -1
  163. package/dist/commonjs/funcs/customerPortalSubscriptionsCancel.d.ts.map +1 -1
  164. package/dist/commonjs/funcs/customerPortalSubscriptionsCancel.js +11 -6
  165. package/dist/commonjs/funcs/customerPortalSubscriptionsCancel.js.map +1 -1
  166. package/dist/commonjs/funcs/customerPortalSubscriptionsGet.d.ts +2 -1
  167. package/dist/commonjs/funcs/customerPortalSubscriptionsGet.d.ts.map +1 -1
  168. package/dist/commonjs/funcs/customerPortalSubscriptionsGet.js +11 -6
  169. package/dist/commonjs/funcs/customerPortalSubscriptionsGet.js.map +1 -1
  170. package/dist/commonjs/funcs/customerPortalSubscriptionsList.d.ts +2 -1
  171. package/dist/commonjs/funcs/customerPortalSubscriptionsList.d.ts.map +1 -1
  172. package/dist/commonjs/funcs/customerPortalSubscriptionsList.js +19 -6
  173. package/dist/commonjs/funcs/customerPortalSubscriptionsList.js.map +1 -1
  174. package/dist/commonjs/funcs/customerPortalSubscriptionsUpdate.d.ts +2 -1
  175. package/dist/commonjs/funcs/customerPortalSubscriptionsUpdate.d.ts.map +1 -1
  176. package/dist/commonjs/funcs/customerPortalSubscriptionsUpdate.js +11 -6
  177. package/dist/commonjs/funcs/customerPortalSubscriptionsUpdate.js.map +1 -1
  178. package/dist/commonjs/funcs/customerSessionsCreate.d.ts +2 -1
  179. package/dist/commonjs/funcs/customerSessionsCreate.d.ts.map +1 -1
  180. package/dist/commonjs/funcs/customerSessionsCreate.js +11 -6
  181. package/dist/commonjs/funcs/customerSessionsCreate.js.map +1 -1
  182. package/dist/commonjs/funcs/customersCreate.d.ts +2 -1
  183. package/dist/commonjs/funcs/customersCreate.d.ts.map +1 -1
  184. package/dist/commonjs/funcs/customersCreate.js +11 -6
  185. package/dist/commonjs/funcs/customersCreate.js.map +1 -1
  186. package/dist/commonjs/funcs/customersDelete.d.ts +2 -1
  187. package/dist/commonjs/funcs/customersDelete.d.ts.map +1 -1
  188. package/dist/commonjs/funcs/customersDelete.js +11 -6
  189. package/dist/commonjs/funcs/customersDelete.js.map +1 -1
  190. package/dist/commonjs/funcs/customersGet.d.ts +2 -1
  191. package/dist/commonjs/funcs/customersGet.d.ts.map +1 -1
  192. package/dist/commonjs/funcs/customersGet.js +11 -6
  193. package/dist/commonjs/funcs/customersGet.js.map +1 -1
  194. package/dist/commonjs/funcs/customersList.d.ts +2 -1
  195. package/dist/commonjs/funcs/customersList.d.ts.map +1 -1
  196. package/dist/commonjs/funcs/customersList.js +19 -6
  197. package/dist/commonjs/funcs/customersList.js.map +1 -1
  198. package/dist/commonjs/funcs/customersUpdate.d.ts +2 -1
  199. package/dist/commonjs/funcs/customersUpdate.d.ts.map +1 -1
  200. package/dist/commonjs/funcs/customersUpdate.js +11 -6
  201. package/dist/commonjs/funcs/customersUpdate.js.map +1 -1
  202. package/dist/commonjs/funcs/discountsCreate.d.ts +2 -1
  203. package/dist/commonjs/funcs/discountsCreate.d.ts.map +1 -1
  204. package/dist/commonjs/funcs/discountsCreate.js +11 -6
  205. package/dist/commonjs/funcs/discountsCreate.js.map +1 -1
  206. package/dist/commonjs/funcs/discountsDelete.d.ts +2 -1
  207. package/dist/commonjs/funcs/discountsDelete.d.ts.map +1 -1
  208. package/dist/commonjs/funcs/discountsDelete.js +11 -6
  209. package/dist/commonjs/funcs/discountsDelete.js.map +1 -1
  210. package/dist/commonjs/funcs/discountsGet.d.ts +2 -1
  211. package/dist/commonjs/funcs/discountsGet.d.ts.map +1 -1
  212. package/dist/commonjs/funcs/discountsGet.js +11 -6
  213. package/dist/commonjs/funcs/discountsGet.js.map +1 -1
  214. package/dist/commonjs/funcs/discountsList.d.ts +2 -1
  215. package/dist/commonjs/funcs/discountsList.d.ts.map +1 -1
  216. package/dist/commonjs/funcs/discountsList.js +19 -6
  217. package/dist/commonjs/funcs/discountsList.js.map +1 -1
  218. package/dist/commonjs/funcs/discountsUpdate.d.ts +2 -1
  219. package/dist/commonjs/funcs/discountsUpdate.d.ts.map +1 -1
  220. package/dist/commonjs/funcs/discountsUpdate.js +11 -6
  221. package/dist/commonjs/funcs/discountsUpdate.js.map +1 -1
  222. package/dist/commonjs/funcs/eventsGet.d.ts +2 -1
  223. package/dist/commonjs/funcs/eventsGet.d.ts.map +1 -1
  224. package/dist/commonjs/funcs/eventsGet.js +11 -6
  225. package/dist/commonjs/funcs/eventsGet.js.map +1 -1
  226. package/dist/commonjs/funcs/eventsIngest.d.ts +2 -1
  227. package/dist/commonjs/funcs/eventsIngest.d.ts.map +1 -1
  228. package/dist/commonjs/funcs/eventsIngest.js +11 -6
  229. package/dist/commonjs/funcs/eventsIngest.js.map +1 -1
  230. package/dist/commonjs/funcs/eventsList.d.ts +2 -1
  231. package/dist/commonjs/funcs/eventsList.d.ts.map +1 -1
  232. package/dist/commonjs/funcs/eventsList.js +19 -6
  233. package/dist/commonjs/funcs/eventsList.js.map +1 -1
  234. package/dist/commonjs/funcs/externalOrganizationsList.d.ts +2 -1
  235. package/dist/commonjs/funcs/externalOrganizationsList.d.ts.map +1 -1
  236. package/dist/commonjs/funcs/externalOrganizationsList.js +19 -6
  237. package/dist/commonjs/funcs/externalOrganizationsList.js.map +1 -1
  238. package/dist/commonjs/funcs/filesCreate.d.ts +2 -1
  239. package/dist/commonjs/funcs/filesCreate.d.ts.map +1 -1
  240. package/dist/commonjs/funcs/filesCreate.js +11 -6
  241. package/dist/commonjs/funcs/filesCreate.js.map +1 -1
  242. package/dist/commonjs/funcs/filesDelete.d.ts +2 -1
  243. package/dist/commonjs/funcs/filesDelete.d.ts.map +1 -1
  244. package/dist/commonjs/funcs/filesDelete.js +11 -6
  245. package/dist/commonjs/funcs/filesDelete.js.map +1 -1
  246. package/dist/commonjs/funcs/filesList.d.ts +2 -1
  247. package/dist/commonjs/funcs/filesList.d.ts.map +1 -1
  248. package/dist/commonjs/funcs/filesList.js +19 -6
  249. package/dist/commonjs/funcs/filesList.js.map +1 -1
  250. package/dist/commonjs/funcs/filesUpdate.d.ts +2 -1
  251. package/dist/commonjs/funcs/filesUpdate.d.ts.map +1 -1
  252. package/dist/commonjs/funcs/filesUpdate.js +11 -6
  253. package/dist/commonjs/funcs/filesUpdate.js.map +1 -1
  254. package/dist/commonjs/funcs/filesUploaded.d.ts +2 -1
  255. package/dist/commonjs/funcs/filesUploaded.d.ts.map +1 -1
  256. package/dist/commonjs/funcs/filesUploaded.js +11 -6
  257. package/dist/commonjs/funcs/filesUploaded.js.map +1 -1
  258. package/dist/commonjs/funcs/licenseKeysGet.d.ts +2 -1
  259. package/dist/commonjs/funcs/licenseKeysGet.d.ts.map +1 -1
  260. package/dist/commonjs/funcs/licenseKeysGet.js +11 -6
  261. package/dist/commonjs/funcs/licenseKeysGet.js.map +1 -1
  262. package/dist/commonjs/funcs/licenseKeysGetActivation.d.ts +2 -1
  263. package/dist/commonjs/funcs/licenseKeysGetActivation.d.ts.map +1 -1
  264. package/dist/commonjs/funcs/licenseKeysGetActivation.js +11 -6
  265. package/dist/commonjs/funcs/licenseKeysGetActivation.js.map +1 -1
  266. package/dist/commonjs/funcs/licenseKeysList.d.ts +2 -1
  267. package/dist/commonjs/funcs/licenseKeysList.d.ts.map +1 -1
  268. package/dist/commonjs/funcs/licenseKeysList.js +19 -6
  269. package/dist/commonjs/funcs/licenseKeysList.js.map +1 -1
  270. package/dist/commonjs/funcs/licenseKeysUpdate.d.ts +2 -1
  271. package/dist/commonjs/funcs/licenseKeysUpdate.d.ts.map +1 -1
  272. package/dist/commonjs/funcs/licenseKeysUpdate.js +11 -6
  273. package/dist/commonjs/funcs/licenseKeysUpdate.js.map +1 -1
  274. package/dist/commonjs/funcs/metersCreate.d.ts +2 -1
  275. package/dist/commonjs/funcs/metersCreate.d.ts.map +1 -1
  276. package/dist/commonjs/funcs/metersCreate.js +11 -6
  277. package/dist/commonjs/funcs/metersCreate.js.map +1 -1
  278. package/dist/commonjs/funcs/metersEvents.d.ts +2 -1
  279. package/dist/commonjs/funcs/metersEvents.d.ts.map +1 -1
  280. package/dist/commonjs/funcs/metersEvents.js +19 -6
  281. package/dist/commonjs/funcs/metersEvents.js.map +1 -1
  282. package/dist/commonjs/funcs/metersGet.d.ts +2 -1
  283. package/dist/commonjs/funcs/metersGet.d.ts.map +1 -1
  284. package/dist/commonjs/funcs/metersGet.js +11 -6
  285. package/dist/commonjs/funcs/metersGet.js.map +1 -1
  286. package/dist/commonjs/funcs/metersList.d.ts +2 -1
  287. package/dist/commonjs/funcs/metersList.d.ts.map +1 -1
  288. package/dist/commonjs/funcs/metersList.js +19 -6
  289. package/dist/commonjs/funcs/metersList.js.map +1 -1
  290. package/dist/commonjs/funcs/metersQuantities.d.ts +2 -1
  291. package/dist/commonjs/funcs/metersQuantities.d.ts.map +1 -1
  292. package/dist/commonjs/funcs/metersQuantities.js +11 -6
  293. package/dist/commonjs/funcs/metersQuantities.js.map +1 -1
  294. package/dist/commonjs/funcs/metersUpdate.d.ts +2 -1
  295. package/dist/commonjs/funcs/metersUpdate.d.ts.map +1 -1
  296. package/dist/commonjs/funcs/metersUpdate.js +11 -6
  297. package/dist/commonjs/funcs/metersUpdate.js.map +1 -1
  298. package/dist/commonjs/funcs/metricsGet.d.ts +2 -1
  299. package/dist/commonjs/funcs/metricsGet.d.ts.map +1 -1
  300. package/dist/commonjs/funcs/metricsGet.js +12 -7
  301. package/dist/commonjs/funcs/metricsGet.js.map +1 -1
  302. package/dist/commonjs/funcs/metricsLimits.d.ts +2 -1
  303. package/dist/commonjs/funcs/metricsLimits.d.ts.map +1 -1
  304. package/dist/commonjs/funcs/metricsLimits.js +10 -5
  305. package/dist/commonjs/funcs/metricsLimits.js.map +1 -1
  306. package/dist/commonjs/funcs/oauth2Authorize.d.ts +2 -1
  307. package/dist/commonjs/funcs/oauth2Authorize.d.ts.map +1 -1
  308. package/dist/commonjs/funcs/oauth2Authorize.js +10 -5
  309. package/dist/commonjs/funcs/oauth2Authorize.js.map +1 -1
  310. package/dist/commonjs/funcs/oauth2ClientsCreate.d.ts +2 -1
  311. package/dist/commonjs/funcs/oauth2ClientsCreate.d.ts.map +1 -1
  312. package/dist/commonjs/funcs/oauth2ClientsCreate.js +11 -6
  313. package/dist/commonjs/funcs/oauth2ClientsCreate.js.map +1 -1
  314. package/dist/commonjs/funcs/oauth2ClientsDelete.d.ts +2 -1
  315. package/dist/commonjs/funcs/oauth2ClientsDelete.d.ts.map +1 -1
  316. package/dist/commonjs/funcs/oauth2ClientsDelete.js +11 -6
  317. package/dist/commonjs/funcs/oauth2ClientsDelete.js.map +1 -1
  318. package/dist/commonjs/funcs/oauth2ClientsGet.d.ts +2 -1
  319. package/dist/commonjs/funcs/oauth2ClientsGet.d.ts.map +1 -1
  320. package/dist/commonjs/funcs/oauth2ClientsGet.js +11 -6
  321. package/dist/commonjs/funcs/oauth2ClientsGet.js.map +1 -1
  322. package/dist/commonjs/funcs/oauth2ClientsList.d.ts +2 -1
  323. package/dist/commonjs/funcs/oauth2ClientsList.d.ts.map +1 -1
  324. package/dist/commonjs/funcs/oauth2ClientsList.js +19 -6
  325. package/dist/commonjs/funcs/oauth2ClientsList.js.map +1 -1
  326. package/dist/commonjs/funcs/oauth2ClientsUpdate.d.ts +2 -1
  327. package/dist/commonjs/funcs/oauth2ClientsUpdate.d.ts.map +1 -1
  328. package/dist/commonjs/funcs/oauth2ClientsUpdate.js +11 -6
  329. package/dist/commonjs/funcs/oauth2ClientsUpdate.js.map +1 -1
  330. package/dist/commonjs/funcs/oauth2Introspect.d.ts +3 -2
  331. package/dist/commonjs/funcs/oauth2Introspect.d.ts.map +1 -1
  332. package/dist/commonjs/funcs/oauth2Introspect.js +13 -8
  333. package/dist/commonjs/funcs/oauth2Introspect.js.map +1 -1
  334. package/dist/commonjs/funcs/oauth2Revoke.d.ts +3 -2
  335. package/dist/commonjs/funcs/oauth2Revoke.d.ts.map +1 -1
  336. package/dist/commonjs/funcs/oauth2Revoke.js +13 -8
  337. package/dist/commonjs/funcs/oauth2Revoke.js.map +1 -1
  338. package/dist/commonjs/funcs/oauth2Token.d.ts +2 -1
  339. package/dist/commonjs/funcs/oauth2Token.d.ts.map +1 -1
  340. package/dist/commonjs/funcs/oauth2Token.js +11 -6
  341. package/dist/commonjs/funcs/oauth2Token.js.map +1 -1
  342. package/dist/commonjs/funcs/oauth2Userinfo.d.ts +2 -1
  343. package/dist/commonjs/funcs/oauth2Userinfo.d.ts.map +1 -1
  344. package/dist/commonjs/funcs/oauth2Userinfo.js +10 -5
  345. package/dist/commonjs/funcs/oauth2Userinfo.js.map +1 -1
  346. package/dist/commonjs/funcs/ordersGet.d.ts +2 -1
  347. package/dist/commonjs/funcs/ordersGet.d.ts.map +1 -1
  348. package/dist/commonjs/funcs/ordersGet.js +11 -6
  349. package/dist/commonjs/funcs/ordersGet.js.map +1 -1
  350. package/dist/commonjs/funcs/ordersInvoice.d.ts +2 -1
  351. package/dist/commonjs/funcs/ordersInvoice.d.ts.map +1 -1
  352. package/dist/commonjs/funcs/ordersInvoice.js +11 -6
  353. package/dist/commonjs/funcs/ordersInvoice.js.map +1 -1
  354. package/dist/commonjs/funcs/ordersList.d.ts +2 -1
  355. package/dist/commonjs/funcs/ordersList.d.ts.map +1 -1
  356. package/dist/commonjs/funcs/ordersList.js +19 -6
  357. package/dist/commonjs/funcs/ordersList.js.map +1 -1
  358. package/dist/commonjs/funcs/organizationsCreate.d.ts +2 -1
  359. package/dist/commonjs/funcs/organizationsCreate.d.ts.map +1 -1
  360. package/dist/commonjs/funcs/organizationsCreate.js +11 -6
  361. package/dist/commonjs/funcs/organizationsCreate.js.map +1 -1
  362. package/dist/commonjs/funcs/organizationsGet.d.ts +2 -1
  363. package/dist/commonjs/funcs/organizationsGet.d.ts.map +1 -1
  364. package/dist/commonjs/funcs/organizationsGet.js +11 -6
  365. package/dist/commonjs/funcs/organizationsGet.js.map +1 -1
  366. package/dist/commonjs/funcs/organizationsList.d.ts +2 -1
  367. package/dist/commonjs/funcs/organizationsList.d.ts.map +1 -1
  368. package/dist/commonjs/funcs/organizationsList.js +19 -6
  369. package/dist/commonjs/funcs/organizationsList.js.map +1 -1
  370. package/dist/commonjs/funcs/organizationsUpdate.d.ts +2 -1
  371. package/dist/commonjs/funcs/organizationsUpdate.d.ts.map +1 -1
  372. package/dist/commonjs/funcs/organizationsUpdate.js +11 -6
  373. package/dist/commonjs/funcs/organizationsUpdate.js.map +1 -1
  374. package/dist/commonjs/funcs/productsCreate.d.ts +2 -1
  375. package/dist/commonjs/funcs/productsCreate.d.ts.map +1 -1
  376. package/dist/commonjs/funcs/productsCreate.js +11 -6
  377. package/dist/commonjs/funcs/productsCreate.js.map +1 -1
  378. package/dist/commonjs/funcs/productsGet.d.ts +2 -1
  379. package/dist/commonjs/funcs/productsGet.d.ts.map +1 -1
  380. package/dist/commonjs/funcs/productsGet.js +11 -6
  381. package/dist/commonjs/funcs/productsGet.js.map +1 -1
  382. package/dist/commonjs/funcs/productsList.d.ts +2 -1
  383. package/dist/commonjs/funcs/productsList.d.ts.map +1 -1
  384. package/dist/commonjs/funcs/productsList.js +19 -6
  385. package/dist/commonjs/funcs/productsList.js.map +1 -1
  386. package/dist/commonjs/funcs/productsUpdate.d.ts +2 -1
  387. package/dist/commonjs/funcs/productsUpdate.d.ts.map +1 -1
  388. package/dist/commonjs/funcs/productsUpdate.js +11 -6
  389. package/dist/commonjs/funcs/productsUpdate.js.map +1 -1
  390. package/dist/commonjs/funcs/productsUpdateBenefits.d.ts +2 -1
  391. package/dist/commonjs/funcs/productsUpdateBenefits.d.ts.map +1 -1
  392. package/dist/commonjs/funcs/productsUpdateBenefits.js +11 -6
  393. package/dist/commonjs/funcs/productsUpdateBenefits.js.map +1 -1
  394. package/dist/commonjs/funcs/refundsCreate.d.ts +2 -1
  395. package/dist/commonjs/funcs/refundsCreate.d.ts.map +1 -1
  396. package/dist/commonjs/funcs/refundsCreate.js +11 -6
  397. package/dist/commonjs/funcs/refundsCreate.js.map +1 -1
  398. package/dist/commonjs/funcs/refundsList.d.ts +2 -1
  399. package/dist/commonjs/funcs/refundsList.d.ts.map +1 -1
  400. package/dist/commonjs/funcs/refundsList.js +19 -6
  401. package/dist/commonjs/funcs/refundsList.js.map +1 -1
  402. package/dist/commonjs/funcs/repositoriesGet.d.ts +2 -1
  403. package/dist/commonjs/funcs/repositoriesGet.d.ts.map +1 -1
  404. package/dist/commonjs/funcs/repositoriesGet.js +11 -6
  405. package/dist/commonjs/funcs/repositoriesGet.js.map +1 -1
  406. package/dist/commonjs/funcs/repositoriesList.d.ts +2 -1
  407. package/dist/commonjs/funcs/repositoriesList.d.ts.map +1 -1
  408. package/dist/commonjs/funcs/repositoriesList.js +19 -6
  409. package/dist/commonjs/funcs/repositoriesList.js.map +1 -1
  410. package/dist/commonjs/funcs/repositoriesUpdate.d.ts +2 -1
  411. package/dist/commonjs/funcs/repositoriesUpdate.d.ts.map +1 -1
  412. package/dist/commonjs/funcs/repositoriesUpdate.js +11 -6
  413. package/dist/commonjs/funcs/repositoriesUpdate.js.map +1 -1
  414. package/dist/commonjs/funcs/subscriptionsExport.d.ts +2 -1
  415. package/dist/commonjs/funcs/subscriptionsExport.d.ts.map +1 -1
  416. package/dist/commonjs/funcs/subscriptionsExport.js +11 -6
  417. package/dist/commonjs/funcs/subscriptionsExport.js.map +1 -1
  418. package/dist/commonjs/funcs/subscriptionsGet.d.ts +2 -1
  419. package/dist/commonjs/funcs/subscriptionsGet.d.ts.map +1 -1
  420. package/dist/commonjs/funcs/subscriptionsGet.js +11 -6
  421. package/dist/commonjs/funcs/subscriptionsGet.js.map +1 -1
  422. package/dist/commonjs/funcs/subscriptionsList.d.ts +2 -1
  423. package/dist/commonjs/funcs/subscriptionsList.d.ts.map +1 -1
  424. package/dist/commonjs/funcs/subscriptionsList.js +19 -6
  425. package/dist/commonjs/funcs/subscriptionsList.js.map +1 -1
  426. package/dist/commonjs/funcs/subscriptionsRevoke.d.ts +2 -1
  427. package/dist/commonjs/funcs/subscriptionsRevoke.d.ts.map +1 -1
  428. package/dist/commonjs/funcs/subscriptionsRevoke.js +11 -6
  429. package/dist/commonjs/funcs/subscriptionsRevoke.js.map +1 -1
  430. package/dist/commonjs/funcs/subscriptionsUpdate.d.ts +2 -1
  431. package/dist/commonjs/funcs/subscriptionsUpdate.d.ts.map +1 -1
  432. package/dist/commonjs/funcs/subscriptionsUpdate.js +11 -6
  433. package/dist/commonjs/funcs/subscriptionsUpdate.js.map +1 -1
  434. package/dist/commonjs/hooks/types.d.ts +1 -0
  435. package/dist/commonjs/hooks/types.d.ts.map +1 -1
  436. package/dist/commonjs/lib/config.d.ts +3 -3
  437. package/dist/commonjs/lib/config.js +3 -3
  438. package/dist/commonjs/lib/security.d.ts.map +1 -1
  439. package/dist/commonjs/lib/security.js.map +1 -1
  440. package/dist/commonjs/models/components/authorizationcodetokenrequest.d.ts +37 -0
  441. package/dist/commonjs/models/components/authorizationcodetokenrequest.d.ts.map +1 -0
  442. package/dist/commonjs/models/components/authorizationcodetokenrequest.js +82 -0
  443. package/dist/commonjs/models/components/authorizationcodetokenrequest.js.map +1 -0
  444. package/dist/commonjs/models/components/checkout.d.ts +35 -2
  445. package/dist/commonjs/models/components/checkout.d.ts.map +1 -1
  446. package/dist/commonjs/models/components/checkout.js +41 -3
  447. package/dist/commonjs/models/components/checkout.js.map +1 -1
  448. package/dist/commonjs/models/components/checkoutconfirmstripe.d.ts +10 -3
  449. package/dist/commonjs/models/components/checkoutconfirmstripe.d.ts.map +1 -1
  450. package/dist/commonjs/models/components/checkoutconfirmstripe.js +8 -4
  451. package/dist/commonjs/models/components/checkoutconfirmstripe.js.map +1 -1
  452. package/dist/commonjs/models/components/checkoutcreate.d.ts +3 -2
  453. package/dist/commonjs/models/components/checkoutcreate.d.ts.map +1 -1
  454. package/dist/commonjs/models/components/checkoutcreate.js +3 -0
  455. package/dist/commonjs/models/components/checkoutcreate.js.map +1 -1
  456. package/dist/commonjs/models/components/checkoutlink.d.ts +47 -12
  457. package/dist/commonjs/models/components/checkoutlink.d.ts.map +1 -1
  458. package/dist/commonjs/models/components/checkoutlink.js +53 -11
  459. package/dist/commonjs/models/components/checkoutlink.js.map +1 -1
  460. package/dist/{esm/models/components/checkoutlinkproductcreate.d.ts → commonjs/models/components/checkoutlinkcreateproduct.d.ts} +34 -30
  461. package/dist/commonjs/models/components/checkoutlinkcreateproduct.d.ts.map +1 -0
  462. package/dist/commonjs/models/components/{checkoutlinkproductcreate.js → checkoutlinkcreateproduct.js} +32 -32
  463. package/dist/commonjs/models/components/{checkoutlinkproductcreate.js.map → checkoutlinkcreateproduct.js.map} +1 -1
  464. package/dist/commonjs/models/components/checkoutlinkcreateproductprice.d.ts +102 -0
  465. package/dist/commonjs/models/components/checkoutlinkcreateproductprice.d.ts.map +1 -0
  466. package/dist/commonjs/models/components/{checkoutlinkpricecreate.js → checkoutlinkcreateproductprice.js} +32 -32
  467. package/dist/commonjs/models/components/checkoutlinkcreateproductprice.js.map +1 -0
  468. package/dist/commonjs/models/components/checkoutlinkcreateproducts.d.ts +101 -0
  469. package/dist/commonjs/models/components/checkoutlinkcreateproducts.d.ts.map +1 -0
  470. package/dist/commonjs/models/components/checkoutlinkcreateproducts.js +111 -0
  471. package/dist/commonjs/models/components/checkoutlinkcreateproducts.js.map +1 -0
  472. package/dist/commonjs/models/components/checkoutlinkproduct.d.ts +31 -3
  473. package/dist/commonjs/models/components/checkoutlinkproduct.d.ts.map +1 -1
  474. package/dist/commonjs/models/components/checkoutlinkproduct.js +44 -3
  475. package/dist/commonjs/models/components/checkoutlinkproduct.js.map +1 -1
  476. package/dist/commonjs/models/components/checkoutlinksortproperty.d.ts +18 -0
  477. package/dist/commonjs/models/components/checkoutlinksortproperty.d.ts.map +1 -1
  478. package/dist/commonjs/models/components/checkoutlinksortproperty.js +6 -0
  479. package/dist/commonjs/models/components/checkoutlinksortproperty.js.map +1 -1
  480. package/dist/commonjs/models/components/checkoutlinkupdate.d.ts +5 -2
  481. package/dist/commonjs/models/components/checkoutlinkupdate.d.ts.map +1 -1
  482. package/dist/commonjs/models/components/checkoutlinkupdate.js +2 -4
  483. package/dist/commonjs/models/components/checkoutlinkupdate.js.map +1 -1
  484. package/dist/commonjs/models/components/checkoutpricecreate.d.ts +2 -0
  485. package/dist/commonjs/models/components/checkoutpricecreate.d.ts.map +1 -1
  486. package/dist/commonjs/models/components/checkoutpricecreate.js.map +1 -1
  487. package/dist/commonjs/models/components/checkoutproduct.d.ts +31 -3
  488. package/dist/commonjs/models/components/checkoutproduct.d.ts.map +1 -1
  489. package/dist/commonjs/models/components/checkoutproduct.js +44 -3
  490. package/dist/commonjs/models/components/checkoutproduct.js.map +1 -1
  491. package/dist/commonjs/models/components/checkoutproductcreate.d.ts +2 -0
  492. package/dist/commonjs/models/components/checkoutproductcreate.d.ts.map +1 -1
  493. package/dist/commonjs/models/components/checkoutproductcreate.js.map +1 -1
  494. package/dist/commonjs/models/components/checkoutproductscreate.d.ts +196 -0
  495. package/dist/commonjs/models/components/checkoutproductscreate.d.ts.map +1 -0
  496. package/dist/commonjs/models/components/checkoutproductscreate.js +214 -0
  497. package/dist/commonjs/models/components/checkoutproductscreate.js.map +1 -0
  498. package/dist/commonjs/models/components/checkoutpublic.d.ts +35 -2
  499. package/dist/commonjs/models/components/checkoutpublic.d.ts.map +1 -1
  500. package/dist/commonjs/models/components/checkoutpublic.js +41 -3
  501. package/dist/commonjs/models/components/checkoutpublic.js.map +1 -1
  502. package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts +35 -2
  503. package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
  504. package/dist/commonjs/models/components/checkoutpublicconfirmed.js +41 -3
  505. package/dist/commonjs/models/components/checkoutpublicconfirmed.js.map +1 -1
  506. package/dist/commonjs/models/components/checkoutupdate.d.ts +8 -1
  507. package/dist/commonjs/models/components/checkoutupdate.d.ts.map +1 -1
  508. package/dist/commonjs/models/components/checkoutupdate.js +4 -0
  509. package/dist/commonjs/models/components/checkoutupdate.js.map +1 -1
  510. package/dist/commonjs/models/components/checkoutupdatepublic.d.ts +8 -1
  511. package/dist/commonjs/models/components/checkoutupdatepublic.d.ts.map +1 -1
  512. package/dist/commonjs/models/components/checkoutupdatepublic.js +4 -0
  513. package/dist/commonjs/models/components/checkoutupdatepublic.js.map +1 -1
  514. package/dist/commonjs/models/components/customerorder.d.ts +24 -2
  515. package/dist/commonjs/models/components/customerorder.d.ts.map +1 -1
  516. package/dist/commonjs/models/components/customerorder.js +39 -3
  517. package/dist/commonjs/models/components/customerorder.js.map +1 -1
  518. package/dist/commonjs/models/components/customerorderproduct.d.ts +31 -3
  519. package/dist/commonjs/models/components/customerorderproduct.d.ts.map +1 -1
  520. package/dist/commonjs/models/components/customerorderproduct.js +44 -3
  521. package/dist/commonjs/models/components/customerorderproduct.js.map +1 -1
  522. package/dist/commonjs/models/components/customerorganization.d.ts +36 -0
  523. package/dist/commonjs/models/components/customerorganization.d.ts.map +1 -0
  524. package/dist/commonjs/models/components/customerorganization.js +63 -0
  525. package/dist/commonjs/models/components/customerorganization.js.map +1 -0
  526. package/dist/commonjs/models/components/customerproduct.d.ts +116 -0
  527. package/dist/commonjs/models/components/customerproduct.d.ts.map +1 -0
  528. package/dist/commonjs/models/components/customerproduct.js +140 -0
  529. package/dist/commonjs/models/components/customerproduct.js.map +1 -0
  530. package/dist/commonjs/models/components/customersubscription.d.ts +24 -2
  531. package/dist/commonjs/models/components/customersubscription.d.ts.map +1 -1
  532. package/dist/commonjs/models/components/customersubscription.js +39 -3
  533. package/dist/commonjs/models/components/customersubscription.js.map +1 -1
  534. package/dist/commonjs/models/components/customersubscriptionproduct.d.ts +31 -3
  535. package/dist/commonjs/models/components/customersubscriptionproduct.d.ts.map +1 -1
  536. package/dist/commonjs/models/components/customersubscriptionproduct.js +44 -3
  537. package/dist/commonjs/models/components/customersubscriptionproduct.js.map +1 -1
  538. package/dist/commonjs/models/components/customersubscriptionupdate.d.ts +3 -3
  539. package/dist/commonjs/models/components/customersubscriptionupdate.d.ts.map +1 -1
  540. package/dist/commonjs/models/components/customersubscriptionupdate.js +3 -3
  541. package/dist/commonjs/models/components/customersubscriptionupdate.js.map +1 -1
  542. package/dist/commonjs/models/components/customersubscriptionupdateproduct.d.ts +32 -0
  543. package/dist/commonjs/models/components/customersubscriptionupdateproduct.d.ts.map +1 -0
  544. package/dist/commonjs/models/components/{customersubscriptionupdateprice.js → customersubscriptionupdateproduct.js} +21 -21
  545. package/dist/commonjs/models/components/customersubscriptionupdateproduct.js.map +1 -0
  546. package/dist/commonjs/models/components/discountproduct.d.ts +7 -1
  547. package/dist/commonjs/models/components/discountproduct.d.ts.map +1 -1
  548. package/dist/commonjs/models/components/discountproduct.js +5 -0
  549. package/dist/commonjs/models/components/discountproduct.js.map +1 -1
  550. package/dist/commonjs/models/components/event.d.ts +6 -0
  551. package/dist/commonjs/models/components/event.d.ts.map +1 -1
  552. package/dist/commonjs/models/components/event.js +3 -0
  553. package/dist/commonjs/models/components/event.js.map +1 -1
  554. package/dist/commonjs/models/components/introspecttokenrequest.d.ts +61 -0
  555. package/dist/commonjs/models/components/introspecttokenrequest.d.ts.map +1 -0
  556. package/dist/commonjs/models/components/introspecttokenrequest.js +99 -0
  557. package/dist/commonjs/models/components/introspecttokenrequest.js.map +1 -0
  558. package/dist/commonjs/models/components/legacyrecurringproductprice.d.ts +40 -0
  559. package/dist/commonjs/models/components/legacyrecurringproductprice.d.ts.map +1 -0
  560. package/dist/commonjs/models/components/legacyrecurringproductprice.js +78 -0
  561. package/dist/commonjs/models/components/legacyrecurringproductprice.js.map +1 -0
  562. package/dist/commonjs/models/components/{productpricerecurringcustom.d.ts → legacyrecurringproductpricecustom.d.ts} +27 -21
  563. package/dist/commonjs/models/components/legacyrecurringproductpricecustom.d.ts.map +1 -0
  564. package/dist/commonjs/models/components/{productpricerecurringcustom.js → legacyrecurringproductpricecustom.js} +25 -23
  565. package/dist/commonjs/models/components/legacyrecurringproductpricecustom.js.map +1 -0
  566. package/dist/commonjs/models/components/legacyrecurringproductpricefixed.d.ts +81 -0
  567. package/dist/commonjs/models/components/legacyrecurringproductpricefixed.d.ts.map +1 -0
  568. package/dist/commonjs/models/components/{productpricerecurringfixed.js → legacyrecurringproductpricefixed.js} +25 -23
  569. package/dist/commonjs/models/components/legacyrecurringproductpricefixed.js.map +1 -0
  570. package/dist/commonjs/models/components/legacyrecurringproductpricefree.d.ts +71 -0
  571. package/dist/commonjs/models/components/legacyrecurringproductpricefree.d.ts.map +1 -0
  572. package/dist/commonjs/models/components/{productpricerecurringfree.js → legacyrecurringproductpricefree.js} +19 -17
  573. package/dist/commonjs/models/components/legacyrecurringproductpricefree.js.map +1 -0
  574. package/dist/commonjs/models/components/order.d.ts +24 -2
  575. package/dist/commonjs/models/components/order.d.ts.map +1 -1
  576. package/dist/commonjs/models/components/order.js +39 -3
  577. package/dist/commonjs/models/components/order.js.map +1 -1
  578. package/dist/commonjs/models/components/orderproduct.d.ts +7 -1
  579. package/dist/commonjs/models/components/orderproduct.d.ts.map +1 -1
  580. package/dist/commonjs/models/components/orderproduct.js +5 -0
  581. package/dist/commonjs/models/components/orderproduct.js.map +1 -1
  582. package/dist/commonjs/models/components/product.d.ts +31 -3
  583. package/dist/commonjs/models/components/product.d.ts.map +1 -1
  584. package/dist/commonjs/models/components/product.js +45 -3
  585. package/dist/commonjs/models/components/product.js.map +1 -1
  586. package/dist/commonjs/models/components/productbillingtype.d.ts +28 -0
  587. package/dist/commonjs/models/components/productbillingtype.d.ts.map +1 -0
  588. package/dist/commonjs/models/components/productbillingtype.js +50 -0
  589. package/dist/commonjs/models/components/productbillingtype.js.map +1 -0
  590. package/dist/commonjs/models/components/productcreate.d.ts +109 -4
  591. package/dist/commonjs/models/components/productcreate.d.ts.map +1 -1
  592. package/dist/commonjs/models/components/productcreate.js +103 -9
  593. package/dist/commonjs/models/components/productcreate.js.map +1 -1
  594. package/dist/commonjs/models/components/productprice.d.ts +5 -4
  595. package/dist/commonjs/models/components/productprice.d.ts.map +1 -1
  596. package/dist/commonjs/models/components/productprice.js +9 -6
  597. package/dist/commonjs/models/components/productprice.js.map +1 -1
  598. package/dist/commonjs/models/components/productpricecustom.d.ts +86 -0
  599. package/dist/commonjs/models/components/productpricecustom.d.ts.map +1 -0
  600. package/dist/commonjs/models/components/{productpriceonetimecustom.js → productpricecustom.js} +25 -19
  601. package/dist/commonjs/models/components/productpricecustom.js.map +1 -0
  602. package/dist/commonjs/models/components/productpricecustomcreate.d.ts +52 -0
  603. package/dist/commonjs/models/components/productpricecustomcreate.d.ts.map +1 -0
  604. package/dist/commonjs/models/components/{productpriceonetimecustomcreate.js → productpricecustomcreate.js} +17 -19
  605. package/dist/commonjs/models/components/productpricecustomcreate.js.map +1 -0
  606. package/dist/commonjs/models/components/productpricefixed.d.ts +76 -0
  607. package/dist/commonjs/models/components/productpricefixed.d.ts.map +1 -0
  608. package/dist/commonjs/models/components/{productpriceonetimefixed.js → productpricefixed.js} +25 -19
  609. package/dist/commonjs/models/components/productpricefixed.js.map +1 -0
  610. package/dist/commonjs/models/components/productpricefixedcreate.d.ts +42 -0
  611. package/dist/commonjs/models/components/productpricefixedcreate.d.ts.map +1 -0
  612. package/dist/commonjs/models/components/{productpriceonetimefixedcreate.js → productpricefixedcreate.js} +17 -19
  613. package/dist/commonjs/models/components/productpricefixedcreate.js.map +1 -0
  614. package/dist/commonjs/models/components/productpricefree.d.ts +66 -0
  615. package/dist/commonjs/models/components/productpricefree.d.ts.map +1 -0
  616. package/dist/commonjs/models/components/{productpriceonetimefree.js → productpricefree.js} +25 -19
  617. package/dist/commonjs/models/components/productpricefree.js.map +1 -0
  618. package/dist/commonjs/models/components/productpricefreecreate.d.ts +32 -0
  619. package/dist/commonjs/models/components/productpricefreecreate.d.ts.map +1 -0
  620. package/dist/commonjs/models/components/{productpriceonetimefreecreate.js → productpricefreecreate.js} +17 -19
  621. package/dist/commonjs/models/components/productpricefreecreate.js.map +1 -0
  622. package/dist/commonjs/models/components/productsortproperty.d.ts +0 -6
  623. package/dist/commonjs/models/components/productsortproperty.d.ts.map +1 -1
  624. package/dist/commonjs/models/components/productsortproperty.js +0 -2
  625. package/dist/commonjs/models/components/productsortproperty.js.map +1 -1
  626. package/dist/commonjs/models/components/productupdate.d.ts +13 -9
  627. package/dist/commonjs/models/components/productupdate.d.ts.map +1 -1
  628. package/dist/commonjs/models/components/productupdate.js +22 -25
  629. package/dist/commonjs/models/components/productupdate.js.map +1 -1
  630. package/dist/commonjs/models/components/refreshtokenrequest.d.ts +35 -0
  631. package/dist/commonjs/models/components/refreshtokenrequest.d.ts.map +1 -0
  632. package/dist/commonjs/models/components/{onev11oauth21tokenpostxcomponentsrefreshtokenrequest.js → refreshtokenrequest.js} +17 -17
  633. package/dist/commonjs/models/components/refreshtokenrequest.js.map +1 -0
  634. package/dist/commonjs/models/{operations/oauth2revoketoken.d.ts → components/revoketokenrequest.d.ts} +14 -14
  635. package/dist/commonjs/models/components/revoketokenrequest.d.ts.map +1 -0
  636. package/dist/commonjs/models/{operations/oauth2revoketoken.js → components/revoketokenrequest.js} +17 -17
  637. package/dist/commonjs/models/components/revoketokenrequest.js.map +1 -0
  638. package/dist/commonjs/models/components/subscription.d.ts +25 -3
  639. package/dist/commonjs/models/components/subscription.d.ts.map +1 -1
  640. package/dist/commonjs/models/components/subscription.js +41 -4
  641. package/dist/commonjs/models/components/subscription.js.map +1 -1
  642. package/dist/commonjs/models/components/subscriptionupdate.d.ts +3 -3
  643. package/dist/commonjs/models/components/subscriptionupdate.d.ts.map +1 -1
  644. package/dist/commonjs/models/components/subscriptionupdate.js +3 -3
  645. package/dist/commonjs/models/components/subscriptionupdate.js.map +1 -1
  646. package/dist/commonjs/models/components/subscriptionupdateproduct.d.ts +38 -0
  647. package/dist/commonjs/models/components/subscriptionupdateproduct.d.ts.map +1 -0
  648. package/dist/commonjs/models/components/{subscriptionupdateprice.js → subscriptionupdateproduct.js} +21 -21
  649. package/dist/commonjs/models/components/subscriptionupdateproduct.js.map +1 -0
  650. package/dist/commonjs/models/operations/checkoutlinkscreate.d.ts +28 -0
  651. package/dist/commonjs/models/operations/checkoutlinkscreate.d.ts.map +1 -0
  652. package/dist/commonjs/models/operations/checkoutlinkscreate.js +66 -0
  653. package/dist/commonjs/models/operations/checkoutlinkscreate.js.map +1 -0
  654. package/dist/commonjs/models/operations/customerportalorderslist.d.ts +13 -13
  655. package/dist/commonjs/models/operations/customerportalorderslist.d.ts.map +1 -1
  656. package/dist/commonjs/models/operations/customerportalorderslist.js +16 -18
  657. package/dist/commonjs/models/operations/customerportalorderslist.js.map +1 -1
  658. package/dist/commonjs/models/operations/metricsget.d.ts +18 -18
  659. package/dist/commonjs/models/operations/metricsget.d.ts.map +1 -1
  660. package/dist/commonjs/models/operations/metricsget.js +29 -29
  661. package/dist/commonjs/models/operations/metricsget.js.map +1 -1
  662. package/dist/commonjs/models/operations/oauth2requesttoken.d.ts +4 -12
  663. package/dist/commonjs/models/operations/oauth2requesttoken.d.ts.map +1 -1
  664. package/dist/commonjs/models/operations/oauth2requesttoken.js +6 -12
  665. package/dist/commonjs/models/operations/oauth2requesttoken.js.map +1 -1
  666. package/dist/commonjs/sdk/checkoutlinks.d.ts +2 -2
  667. package/dist/commonjs/sdk/checkoutlinks.d.ts.map +1 -1
  668. package/dist/commonjs/sdk/checkoutlinks.js.map +1 -1
  669. package/dist/commonjs/sdk/oauth2.d.ts +4 -4
  670. package/dist/commonjs/sdk/oauth2.d.ts.map +1 -1
  671. package/dist/commonjs/sdk/oauth2.js.map +1 -1
  672. package/dist/commonjs/sdk/polarorganizations.d.ts +2 -2
  673. package/dist/commonjs/sdk/polarorganizations.d.ts.map +1 -1
  674. package/dist/commonjs/types/async.d.ts +23 -0
  675. package/dist/commonjs/types/async.d.ts.map +1 -0
  676. package/dist/commonjs/types/async.js +44 -0
  677. package/dist/commonjs/types/async.js.map +1 -0
  678. package/dist/esm/funcs/advertisementsGet.d.ts +2 -1
  679. package/dist/esm/funcs/advertisementsGet.d.ts.map +1 -1
  680. package/dist/esm/funcs/advertisementsGet.js +11 -6
  681. package/dist/esm/funcs/advertisementsGet.js.map +1 -1
  682. package/dist/esm/funcs/advertisementsList.d.ts +2 -1
  683. package/dist/esm/funcs/advertisementsList.d.ts.map +1 -1
  684. package/dist/esm/funcs/advertisementsList.js +19 -6
  685. package/dist/esm/funcs/advertisementsList.js.map +1 -1
  686. package/dist/esm/funcs/benefitsCreate.d.ts +2 -1
  687. package/dist/esm/funcs/benefitsCreate.d.ts.map +1 -1
  688. package/dist/esm/funcs/benefitsCreate.js +11 -6
  689. package/dist/esm/funcs/benefitsCreate.js.map +1 -1
  690. package/dist/esm/funcs/benefitsDelete.d.ts +2 -1
  691. package/dist/esm/funcs/benefitsDelete.d.ts.map +1 -1
  692. package/dist/esm/funcs/benefitsDelete.js +11 -6
  693. package/dist/esm/funcs/benefitsDelete.js.map +1 -1
  694. package/dist/esm/funcs/benefitsGet.d.ts +2 -1
  695. package/dist/esm/funcs/benefitsGet.d.ts.map +1 -1
  696. package/dist/esm/funcs/benefitsGet.js +11 -6
  697. package/dist/esm/funcs/benefitsGet.js.map +1 -1
  698. package/dist/esm/funcs/benefitsGrants.d.ts +2 -1
  699. package/dist/esm/funcs/benefitsGrants.d.ts.map +1 -1
  700. package/dist/esm/funcs/benefitsGrants.js +19 -6
  701. package/dist/esm/funcs/benefitsGrants.js.map +1 -1
  702. package/dist/esm/funcs/benefitsList.d.ts +2 -1
  703. package/dist/esm/funcs/benefitsList.d.ts.map +1 -1
  704. package/dist/esm/funcs/benefitsList.js +19 -6
  705. package/dist/esm/funcs/benefitsList.js.map +1 -1
  706. package/dist/esm/funcs/benefitsUpdate.d.ts +2 -1
  707. package/dist/esm/funcs/benefitsUpdate.d.ts.map +1 -1
  708. package/dist/esm/funcs/benefitsUpdate.js +11 -6
  709. package/dist/esm/funcs/benefitsUpdate.js.map +1 -1
  710. package/dist/esm/funcs/checkoutLinksCreate.d.ts +3 -2
  711. package/dist/esm/funcs/checkoutLinksCreate.d.ts.map +1 -1
  712. package/dist/esm/funcs/checkoutLinksCreate.js +13 -8
  713. package/dist/esm/funcs/checkoutLinksCreate.js.map +1 -1
  714. package/dist/esm/funcs/checkoutLinksDelete.d.ts +2 -1
  715. package/dist/esm/funcs/checkoutLinksDelete.d.ts.map +1 -1
  716. package/dist/esm/funcs/checkoutLinksDelete.js +11 -6
  717. package/dist/esm/funcs/checkoutLinksDelete.js.map +1 -1
  718. package/dist/esm/funcs/checkoutLinksGet.d.ts +2 -1
  719. package/dist/esm/funcs/checkoutLinksGet.d.ts.map +1 -1
  720. package/dist/esm/funcs/checkoutLinksGet.js +11 -6
  721. package/dist/esm/funcs/checkoutLinksGet.js.map +1 -1
  722. package/dist/esm/funcs/checkoutLinksList.d.ts +2 -1
  723. package/dist/esm/funcs/checkoutLinksList.d.ts.map +1 -1
  724. package/dist/esm/funcs/checkoutLinksList.js +19 -6
  725. package/dist/esm/funcs/checkoutLinksList.js.map +1 -1
  726. package/dist/esm/funcs/checkoutLinksUpdate.d.ts +2 -1
  727. package/dist/esm/funcs/checkoutLinksUpdate.d.ts.map +1 -1
  728. package/dist/esm/funcs/checkoutLinksUpdate.js +11 -6
  729. package/dist/esm/funcs/checkoutLinksUpdate.js.map +1 -1
  730. package/dist/esm/funcs/checkoutsClientConfirm.d.ts +2 -1
  731. package/dist/esm/funcs/checkoutsClientConfirm.d.ts.map +1 -1
  732. package/dist/esm/funcs/checkoutsClientConfirm.js +11 -6
  733. package/dist/esm/funcs/checkoutsClientConfirm.js.map +1 -1
  734. package/dist/esm/funcs/checkoutsClientGet.d.ts +2 -1
  735. package/dist/esm/funcs/checkoutsClientGet.d.ts.map +1 -1
  736. package/dist/esm/funcs/checkoutsClientGet.js +11 -6
  737. package/dist/esm/funcs/checkoutsClientGet.js.map +1 -1
  738. package/dist/esm/funcs/checkoutsClientUpdate.d.ts +2 -1
  739. package/dist/esm/funcs/checkoutsClientUpdate.d.ts.map +1 -1
  740. package/dist/esm/funcs/checkoutsClientUpdate.js +11 -6
  741. package/dist/esm/funcs/checkoutsClientUpdate.js.map +1 -1
  742. package/dist/esm/funcs/checkoutsCreate.d.ts +2 -1
  743. package/dist/esm/funcs/checkoutsCreate.d.ts.map +1 -1
  744. package/dist/esm/funcs/checkoutsCreate.js +11 -6
  745. package/dist/esm/funcs/checkoutsCreate.js.map +1 -1
  746. package/dist/esm/funcs/checkoutsGet.d.ts +2 -1
  747. package/dist/esm/funcs/checkoutsGet.d.ts.map +1 -1
  748. package/dist/esm/funcs/checkoutsGet.js +11 -6
  749. package/dist/esm/funcs/checkoutsGet.js.map +1 -1
  750. package/dist/esm/funcs/checkoutsList.d.ts +2 -1
  751. package/dist/esm/funcs/checkoutsList.d.ts.map +1 -1
  752. package/dist/esm/funcs/checkoutsList.js +19 -6
  753. package/dist/esm/funcs/checkoutsList.js.map +1 -1
  754. package/dist/esm/funcs/checkoutsUpdate.d.ts +2 -1
  755. package/dist/esm/funcs/checkoutsUpdate.d.ts.map +1 -1
  756. package/dist/esm/funcs/checkoutsUpdate.js +11 -6
  757. package/dist/esm/funcs/checkoutsUpdate.js.map +1 -1
  758. package/dist/esm/funcs/customFieldsCreate.d.ts +2 -1
  759. package/dist/esm/funcs/customFieldsCreate.d.ts.map +1 -1
  760. package/dist/esm/funcs/customFieldsCreate.js +11 -6
  761. package/dist/esm/funcs/customFieldsCreate.js.map +1 -1
  762. package/dist/esm/funcs/customFieldsDelete.d.ts +2 -1
  763. package/dist/esm/funcs/customFieldsDelete.d.ts.map +1 -1
  764. package/dist/esm/funcs/customFieldsDelete.js +11 -6
  765. package/dist/esm/funcs/customFieldsDelete.js.map +1 -1
  766. package/dist/esm/funcs/customFieldsGet.d.ts +2 -1
  767. package/dist/esm/funcs/customFieldsGet.d.ts.map +1 -1
  768. package/dist/esm/funcs/customFieldsGet.js +11 -6
  769. package/dist/esm/funcs/customFieldsGet.js.map +1 -1
  770. package/dist/esm/funcs/customFieldsList.d.ts +2 -1
  771. package/dist/esm/funcs/customFieldsList.d.ts.map +1 -1
  772. package/dist/esm/funcs/customFieldsList.js +19 -6
  773. package/dist/esm/funcs/customFieldsList.js.map +1 -1
  774. package/dist/esm/funcs/customFieldsUpdate.d.ts +2 -1
  775. package/dist/esm/funcs/customFieldsUpdate.d.ts.map +1 -1
  776. package/dist/esm/funcs/customFieldsUpdate.js +11 -6
  777. package/dist/esm/funcs/customFieldsUpdate.js.map +1 -1
  778. package/dist/esm/funcs/customerPortalBenefitGrantsGet.d.ts +2 -1
  779. package/dist/esm/funcs/customerPortalBenefitGrantsGet.d.ts.map +1 -1
  780. package/dist/esm/funcs/customerPortalBenefitGrantsGet.js +11 -6
  781. package/dist/esm/funcs/customerPortalBenefitGrantsGet.js.map +1 -1
  782. package/dist/esm/funcs/customerPortalBenefitGrantsList.d.ts +2 -1
  783. package/dist/esm/funcs/customerPortalBenefitGrantsList.d.ts.map +1 -1
  784. package/dist/esm/funcs/customerPortalBenefitGrantsList.js +19 -6
  785. package/dist/esm/funcs/customerPortalBenefitGrantsList.js.map +1 -1
  786. package/dist/esm/funcs/customerPortalBenefitGrantsUpdate.d.ts +2 -1
  787. package/dist/esm/funcs/customerPortalBenefitGrantsUpdate.d.ts.map +1 -1
  788. package/dist/esm/funcs/customerPortalBenefitGrantsUpdate.js +11 -6
  789. package/dist/esm/funcs/customerPortalBenefitGrantsUpdate.js.map +1 -1
  790. package/dist/esm/funcs/customerPortalCustomersGet.d.ts +2 -1
  791. package/dist/esm/funcs/customerPortalCustomersGet.d.ts.map +1 -1
  792. package/dist/esm/funcs/customerPortalCustomersGet.js +11 -6
  793. package/dist/esm/funcs/customerPortalCustomersGet.js.map +1 -1
  794. package/dist/esm/funcs/customerPortalDownloadablesGet.d.ts +2 -1
  795. package/dist/esm/funcs/customerPortalDownloadablesGet.d.ts.map +1 -1
  796. package/dist/esm/funcs/customerPortalDownloadablesGet.js +11 -6
  797. package/dist/esm/funcs/customerPortalDownloadablesGet.js.map +1 -1
  798. package/dist/esm/funcs/customerPortalDownloadablesList.d.ts +2 -1
  799. package/dist/esm/funcs/customerPortalDownloadablesList.d.ts.map +1 -1
  800. package/dist/esm/funcs/customerPortalDownloadablesList.js +19 -6
  801. package/dist/esm/funcs/customerPortalDownloadablesList.js.map +1 -1
  802. package/dist/esm/funcs/customerPortalLicenseKeysActivate.d.ts +2 -1
  803. package/dist/esm/funcs/customerPortalLicenseKeysActivate.d.ts.map +1 -1
  804. package/dist/esm/funcs/customerPortalLicenseKeysActivate.js +11 -6
  805. package/dist/esm/funcs/customerPortalLicenseKeysActivate.js.map +1 -1
  806. package/dist/esm/funcs/customerPortalLicenseKeysDeactivate.d.ts +2 -1
  807. package/dist/esm/funcs/customerPortalLicenseKeysDeactivate.d.ts.map +1 -1
  808. package/dist/esm/funcs/customerPortalLicenseKeysDeactivate.js +11 -6
  809. package/dist/esm/funcs/customerPortalLicenseKeysDeactivate.js.map +1 -1
  810. package/dist/esm/funcs/customerPortalLicenseKeysGet.d.ts +2 -1
  811. package/dist/esm/funcs/customerPortalLicenseKeysGet.d.ts.map +1 -1
  812. package/dist/esm/funcs/customerPortalLicenseKeysGet.js +11 -6
  813. package/dist/esm/funcs/customerPortalLicenseKeysGet.js.map +1 -1
  814. package/dist/esm/funcs/customerPortalLicenseKeysList.d.ts +2 -1
  815. package/dist/esm/funcs/customerPortalLicenseKeysList.d.ts.map +1 -1
  816. package/dist/esm/funcs/customerPortalLicenseKeysList.js +19 -6
  817. package/dist/esm/funcs/customerPortalLicenseKeysList.js.map +1 -1
  818. package/dist/esm/funcs/customerPortalLicenseKeysValidate.d.ts +2 -1
  819. package/dist/esm/funcs/customerPortalLicenseKeysValidate.d.ts.map +1 -1
  820. package/dist/esm/funcs/customerPortalLicenseKeysValidate.js +11 -6
  821. package/dist/esm/funcs/customerPortalLicenseKeysValidate.js.map +1 -1
  822. package/dist/esm/funcs/customerPortalOrdersGet.d.ts +2 -1
  823. package/dist/esm/funcs/customerPortalOrdersGet.d.ts.map +1 -1
  824. package/dist/esm/funcs/customerPortalOrdersGet.js +11 -6
  825. package/dist/esm/funcs/customerPortalOrdersGet.js.map +1 -1
  826. package/dist/esm/funcs/customerPortalOrdersInvoice.d.ts +2 -1
  827. package/dist/esm/funcs/customerPortalOrdersInvoice.d.ts.map +1 -1
  828. package/dist/esm/funcs/customerPortalOrdersInvoice.js +11 -6
  829. package/dist/esm/funcs/customerPortalOrdersInvoice.js.map +1 -1
  830. package/dist/esm/funcs/customerPortalOrdersList.d.ts +2 -1
  831. package/dist/esm/funcs/customerPortalOrdersList.d.ts.map +1 -1
  832. package/dist/esm/funcs/customerPortalOrdersList.js +19 -6
  833. package/dist/esm/funcs/customerPortalOrdersList.js.map +1 -1
  834. package/dist/esm/funcs/customerPortalOrganizationsGet.d.ts +3 -2
  835. package/dist/esm/funcs/customerPortalOrganizationsGet.d.ts.map +1 -1
  836. package/dist/esm/funcs/customerPortalOrganizationsGet.js +13 -8
  837. package/dist/esm/funcs/customerPortalOrganizationsGet.js.map +1 -1
  838. package/dist/esm/funcs/customerPortalSubscriptionsCancel.d.ts +2 -1
  839. package/dist/esm/funcs/customerPortalSubscriptionsCancel.d.ts.map +1 -1
  840. package/dist/esm/funcs/customerPortalSubscriptionsCancel.js +11 -6
  841. package/dist/esm/funcs/customerPortalSubscriptionsCancel.js.map +1 -1
  842. package/dist/esm/funcs/customerPortalSubscriptionsGet.d.ts +2 -1
  843. package/dist/esm/funcs/customerPortalSubscriptionsGet.d.ts.map +1 -1
  844. package/dist/esm/funcs/customerPortalSubscriptionsGet.js +11 -6
  845. package/dist/esm/funcs/customerPortalSubscriptionsGet.js.map +1 -1
  846. package/dist/esm/funcs/customerPortalSubscriptionsList.d.ts +2 -1
  847. package/dist/esm/funcs/customerPortalSubscriptionsList.d.ts.map +1 -1
  848. package/dist/esm/funcs/customerPortalSubscriptionsList.js +19 -6
  849. package/dist/esm/funcs/customerPortalSubscriptionsList.js.map +1 -1
  850. package/dist/esm/funcs/customerPortalSubscriptionsUpdate.d.ts +2 -1
  851. package/dist/esm/funcs/customerPortalSubscriptionsUpdate.d.ts.map +1 -1
  852. package/dist/esm/funcs/customerPortalSubscriptionsUpdate.js +11 -6
  853. package/dist/esm/funcs/customerPortalSubscriptionsUpdate.js.map +1 -1
  854. package/dist/esm/funcs/customerSessionsCreate.d.ts +2 -1
  855. package/dist/esm/funcs/customerSessionsCreate.d.ts.map +1 -1
  856. package/dist/esm/funcs/customerSessionsCreate.js +11 -6
  857. package/dist/esm/funcs/customerSessionsCreate.js.map +1 -1
  858. package/dist/esm/funcs/customersCreate.d.ts +2 -1
  859. package/dist/esm/funcs/customersCreate.d.ts.map +1 -1
  860. package/dist/esm/funcs/customersCreate.js +11 -6
  861. package/dist/esm/funcs/customersCreate.js.map +1 -1
  862. package/dist/esm/funcs/customersDelete.d.ts +2 -1
  863. package/dist/esm/funcs/customersDelete.d.ts.map +1 -1
  864. package/dist/esm/funcs/customersDelete.js +11 -6
  865. package/dist/esm/funcs/customersDelete.js.map +1 -1
  866. package/dist/esm/funcs/customersGet.d.ts +2 -1
  867. package/dist/esm/funcs/customersGet.d.ts.map +1 -1
  868. package/dist/esm/funcs/customersGet.js +11 -6
  869. package/dist/esm/funcs/customersGet.js.map +1 -1
  870. package/dist/esm/funcs/customersList.d.ts +2 -1
  871. package/dist/esm/funcs/customersList.d.ts.map +1 -1
  872. package/dist/esm/funcs/customersList.js +19 -6
  873. package/dist/esm/funcs/customersList.js.map +1 -1
  874. package/dist/esm/funcs/customersUpdate.d.ts +2 -1
  875. package/dist/esm/funcs/customersUpdate.d.ts.map +1 -1
  876. package/dist/esm/funcs/customersUpdate.js +11 -6
  877. package/dist/esm/funcs/customersUpdate.js.map +1 -1
  878. package/dist/esm/funcs/discountsCreate.d.ts +2 -1
  879. package/dist/esm/funcs/discountsCreate.d.ts.map +1 -1
  880. package/dist/esm/funcs/discountsCreate.js +11 -6
  881. package/dist/esm/funcs/discountsCreate.js.map +1 -1
  882. package/dist/esm/funcs/discountsDelete.d.ts +2 -1
  883. package/dist/esm/funcs/discountsDelete.d.ts.map +1 -1
  884. package/dist/esm/funcs/discountsDelete.js +11 -6
  885. package/dist/esm/funcs/discountsDelete.js.map +1 -1
  886. package/dist/esm/funcs/discountsGet.d.ts +2 -1
  887. package/dist/esm/funcs/discountsGet.d.ts.map +1 -1
  888. package/dist/esm/funcs/discountsGet.js +11 -6
  889. package/dist/esm/funcs/discountsGet.js.map +1 -1
  890. package/dist/esm/funcs/discountsList.d.ts +2 -1
  891. package/dist/esm/funcs/discountsList.d.ts.map +1 -1
  892. package/dist/esm/funcs/discountsList.js +19 -6
  893. package/dist/esm/funcs/discountsList.js.map +1 -1
  894. package/dist/esm/funcs/discountsUpdate.d.ts +2 -1
  895. package/dist/esm/funcs/discountsUpdate.d.ts.map +1 -1
  896. package/dist/esm/funcs/discountsUpdate.js +11 -6
  897. package/dist/esm/funcs/discountsUpdate.js.map +1 -1
  898. package/dist/esm/funcs/eventsGet.d.ts +2 -1
  899. package/dist/esm/funcs/eventsGet.d.ts.map +1 -1
  900. package/dist/esm/funcs/eventsGet.js +11 -6
  901. package/dist/esm/funcs/eventsGet.js.map +1 -1
  902. package/dist/esm/funcs/eventsIngest.d.ts +2 -1
  903. package/dist/esm/funcs/eventsIngest.d.ts.map +1 -1
  904. package/dist/esm/funcs/eventsIngest.js +11 -6
  905. package/dist/esm/funcs/eventsIngest.js.map +1 -1
  906. package/dist/esm/funcs/eventsList.d.ts +2 -1
  907. package/dist/esm/funcs/eventsList.d.ts.map +1 -1
  908. package/dist/esm/funcs/eventsList.js +19 -6
  909. package/dist/esm/funcs/eventsList.js.map +1 -1
  910. package/dist/esm/funcs/externalOrganizationsList.d.ts +2 -1
  911. package/dist/esm/funcs/externalOrganizationsList.d.ts.map +1 -1
  912. package/dist/esm/funcs/externalOrganizationsList.js +19 -6
  913. package/dist/esm/funcs/externalOrganizationsList.js.map +1 -1
  914. package/dist/esm/funcs/filesCreate.d.ts +2 -1
  915. package/dist/esm/funcs/filesCreate.d.ts.map +1 -1
  916. package/dist/esm/funcs/filesCreate.js +11 -6
  917. package/dist/esm/funcs/filesCreate.js.map +1 -1
  918. package/dist/esm/funcs/filesDelete.d.ts +2 -1
  919. package/dist/esm/funcs/filesDelete.d.ts.map +1 -1
  920. package/dist/esm/funcs/filesDelete.js +11 -6
  921. package/dist/esm/funcs/filesDelete.js.map +1 -1
  922. package/dist/esm/funcs/filesList.d.ts +2 -1
  923. package/dist/esm/funcs/filesList.d.ts.map +1 -1
  924. package/dist/esm/funcs/filesList.js +19 -6
  925. package/dist/esm/funcs/filesList.js.map +1 -1
  926. package/dist/esm/funcs/filesUpdate.d.ts +2 -1
  927. package/dist/esm/funcs/filesUpdate.d.ts.map +1 -1
  928. package/dist/esm/funcs/filesUpdate.js +11 -6
  929. package/dist/esm/funcs/filesUpdate.js.map +1 -1
  930. package/dist/esm/funcs/filesUploaded.d.ts +2 -1
  931. package/dist/esm/funcs/filesUploaded.d.ts.map +1 -1
  932. package/dist/esm/funcs/filesUploaded.js +11 -6
  933. package/dist/esm/funcs/filesUploaded.js.map +1 -1
  934. package/dist/esm/funcs/licenseKeysGet.d.ts +2 -1
  935. package/dist/esm/funcs/licenseKeysGet.d.ts.map +1 -1
  936. package/dist/esm/funcs/licenseKeysGet.js +11 -6
  937. package/dist/esm/funcs/licenseKeysGet.js.map +1 -1
  938. package/dist/esm/funcs/licenseKeysGetActivation.d.ts +2 -1
  939. package/dist/esm/funcs/licenseKeysGetActivation.d.ts.map +1 -1
  940. package/dist/esm/funcs/licenseKeysGetActivation.js +11 -6
  941. package/dist/esm/funcs/licenseKeysGetActivation.js.map +1 -1
  942. package/dist/esm/funcs/licenseKeysList.d.ts +2 -1
  943. package/dist/esm/funcs/licenseKeysList.d.ts.map +1 -1
  944. package/dist/esm/funcs/licenseKeysList.js +19 -6
  945. package/dist/esm/funcs/licenseKeysList.js.map +1 -1
  946. package/dist/esm/funcs/licenseKeysUpdate.d.ts +2 -1
  947. package/dist/esm/funcs/licenseKeysUpdate.d.ts.map +1 -1
  948. package/dist/esm/funcs/licenseKeysUpdate.js +11 -6
  949. package/dist/esm/funcs/licenseKeysUpdate.js.map +1 -1
  950. package/dist/esm/funcs/metersCreate.d.ts +2 -1
  951. package/dist/esm/funcs/metersCreate.d.ts.map +1 -1
  952. package/dist/esm/funcs/metersCreate.js +11 -6
  953. package/dist/esm/funcs/metersCreate.js.map +1 -1
  954. package/dist/esm/funcs/metersEvents.d.ts +2 -1
  955. package/dist/esm/funcs/metersEvents.d.ts.map +1 -1
  956. package/dist/esm/funcs/metersEvents.js +19 -6
  957. package/dist/esm/funcs/metersEvents.js.map +1 -1
  958. package/dist/esm/funcs/metersGet.d.ts +2 -1
  959. package/dist/esm/funcs/metersGet.d.ts.map +1 -1
  960. package/dist/esm/funcs/metersGet.js +11 -6
  961. package/dist/esm/funcs/metersGet.js.map +1 -1
  962. package/dist/esm/funcs/metersList.d.ts +2 -1
  963. package/dist/esm/funcs/metersList.d.ts.map +1 -1
  964. package/dist/esm/funcs/metersList.js +19 -6
  965. package/dist/esm/funcs/metersList.js.map +1 -1
  966. package/dist/esm/funcs/metersQuantities.d.ts +2 -1
  967. package/dist/esm/funcs/metersQuantities.d.ts.map +1 -1
  968. package/dist/esm/funcs/metersQuantities.js +11 -6
  969. package/dist/esm/funcs/metersQuantities.js.map +1 -1
  970. package/dist/esm/funcs/metersUpdate.d.ts +2 -1
  971. package/dist/esm/funcs/metersUpdate.d.ts.map +1 -1
  972. package/dist/esm/funcs/metersUpdate.js +11 -6
  973. package/dist/esm/funcs/metersUpdate.js.map +1 -1
  974. package/dist/esm/funcs/metricsGet.d.ts +2 -1
  975. package/dist/esm/funcs/metricsGet.d.ts.map +1 -1
  976. package/dist/esm/funcs/metricsGet.js +12 -7
  977. package/dist/esm/funcs/metricsGet.js.map +1 -1
  978. package/dist/esm/funcs/metricsLimits.d.ts +2 -1
  979. package/dist/esm/funcs/metricsLimits.d.ts.map +1 -1
  980. package/dist/esm/funcs/metricsLimits.js +10 -5
  981. package/dist/esm/funcs/metricsLimits.js.map +1 -1
  982. package/dist/esm/funcs/oauth2Authorize.d.ts +2 -1
  983. package/dist/esm/funcs/oauth2Authorize.d.ts.map +1 -1
  984. package/dist/esm/funcs/oauth2Authorize.js +10 -5
  985. package/dist/esm/funcs/oauth2Authorize.js.map +1 -1
  986. package/dist/esm/funcs/oauth2ClientsCreate.d.ts +2 -1
  987. package/dist/esm/funcs/oauth2ClientsCreate.d.ts.map +1 -1
  988. package/dist/esm/funcs/oauth2ClientsCreate.js +11 -6
  989. package/dist/esm/funcs/oauth2ClientsCreate.js.map +1 -1
  990. package/dist/esm/funcs/oauth2ClientsDelete.d.ts +2 -1
  991. package/dist/esm/funcs/oauth2ClientsDelete.d.ts.map +1 -1
  992. package/dist/esm/funcs/oauth2ClientsDelete.js +11 -6
  993. package/dist/esm/funcs/oauth2ClientsDelete.js.map +1 -1
  994. package/dist/esm/funcs/oauth2ClientsGet.d.ts +2 -1
  995. package/dist/esm/funcs/oauth2ClientsGet.d.ts.map +1 -1
  996. package/dist/esm/funcs/oauth2ClientsGet.js +11 -6
  997. package/dist/esm/funcs/oauth2ClientsGet.js.map +1 -1
  998. package/dist/esm/funcs/oauth2ClientsList.d.ts +2 -1
  999. package/dist/esm/funcs/oauth2ClientsList.d.ts.map +1 -1
  1000. package/dist/esm/funcs/oauth2ClientsList.js +19 -6
  1001. package/dist/esm/funcs/oauth2ClientsList.js.map +1 -1
  1002. package/dist/esm/funcs/oauth2ClientsUpdate.d.ts +2 -1
  1003. package/dist/esm/funcs/oauth2ClientsUpdate.d.ts.map +1 -1
  1004. package/dist/esm/funcs/oauth2ClientsUpdate.js +11 -6
  1005. package/dist/esm/funcs/oauth2ClientsUpdate.js.map +1 -1
  1006. package/dist/esm/funcs/oauth2Introspect.d.ts +3 -2
  1007. package/dist/esm/funcs/oauth2Introspect.d.ts.map +1 -1
  1008. package/dist/esm/funcs/oauth2Introspect.js +13 -8
  1009. package/dist/esm/funcs/oauth2Introspect.js.map +1 -1
  1010. package/dist/esm/funcs/oauth2Revoke.d.ts +3 -2
  1011. package/dist/esm/funcs/oauth2Revoke.d.ts.map +1 -1
  1012. package/dist/esm/funcs/oauth2Revoke.js +13 -8
  1013. package/dist/esm/funcs/oauth2Revoke.js.map +1 -1
  1014. package/dist/esm/funcs/oauth2Token.d.ts +2 -1
  1015. package/dist/esm/funcs/oauth2Token.d.ts.map +1 -1
  1016. package/dist/esm/funcs/oauth2Token.js +11 -6
  1017. package/dist/esm/funcs/oauth2Token.js.map +1 -1
  1018. package/dist/esm/funcs/oauth2Userinfo.d.ts +2 -1
  1019. package/dist/esm/funcs/oauth2Userinfo.d.ts.map +1 -1
  1020. package/dist/esm/funcs/oauth2Userinfo.js +10 -5
  1021. package/dist/esm/funcs/oauth2Userinfo.js.map +1 -1
  1022. package/dist/esm/funcs/ordersGet.d.ts +2 -1
  1023. package/dist/esm/funcs/ordersGet.d.ts.map +1 -1
  1024. package/dist/esm/funcs/ordersGet.js +11 -6
  1025. package/dist/esm/funcs/ordersGet.js.map +1 -1
  1026. package/dist/esm/funcs/ordersInvoice.d.ts +2 -1
  1027. package/dist/esm/funcs/ordersInvoice.d.ts.map +1 -1
  1028. package/dist/esm/funcs/ordersInvoice.js +11 -6
  1029. package/dist/esm/funcs/ordersInvoice.js.map +1 -1
  1030. package/dist/esm/funcs/ordersList.d.ts +2 -1
  1031. package/dist/esm/funcs/ordersList.d.ts.map +1 -1
  1032. package/dist/esm/funcs/ordersList.js +19 -6
  1033. package/dist/esm/funcs/ordersList.js.map +1 -1
  1034. package/dist/esm/funcs/organizationsCreate.d.ts +2 -1
  1035. package/dist/esm/funcs/organizationsCreate.d.ts.map +1 -1
  1036. package/dist/esm/funcs/organizationsCreate.js +11 -6
  1037. package/dist/esm/funcs/organizationsCreate.js.map +1 -1
  1038. package/dist/esm/funcs/organizationsGet.d.ts +2 -1
  1039. package/dist/esm/funcs/organizationsGet.d.ts.map +1 -1
  1040. package/dist/esm/funcs/organizationsGet.js +11 -6
  1041. package/dist/esm/funcs/organizationsGet.js.map +1 -1
  1042. package/dist/esm/funcs/organizationsList.d.ts +2 -1
  1043. package/dist/esm/funcs/organizationsList.d.ts.map +1 -1
  1044. package/dist/esm/funcs/organizationsList.js +19 -6
  1045. package/dist/esm/funcs/organizationsList.js.map +1 -1
  1046. package/dist/esm/funcs/organizationsUpdate.d.ts +2 -1
  1047. package/dist/esm/funcs/organizationsUpdate.d.ts.map +1 -1
  1048. package/dist/esm/funcs/organizationsUpdate.js +11 -6
  1049. package/dist/esm/funcs/organizationsUpdate.js.map +1 -1
  1050. package/dist/esm/funcs/productsCreate.d.ts +2 -1
  1051. package/dist/esm/funcs/productsCreate.d.ts.map +1 -1
  1052. package/dist/esm/funcs/productsCreate.js +11 -6
  1053. package/dist/esm/funcs/productsCreate.js.map +1 -1
  1054. package/dist/esm/funcs/productsGet.d.ts +2 -1
  1055. package/dist/esm/funcs/productsGet.d.ts.map +1 -1
  1056. package/dist/esm/funcs/productsGet.js +11 -6
  1057. package/dist/esm/funcs/productsGet.js.map +1 -1
  1058. package/dist/esm/funcs/productsList.d.ts +2 -1
  1059. package/dist/esm/funcs/productsList.d.ts.map +1 -1
  1060. package/dist/esm/funcs/productsList.js +19 -6
  1061. package/dist/esm/funcs/productsList.js.map +1 -1
  1062. package/dist/esm/funcs/productsUpdate.d.ts +2 -1
  1063. package/dist/esm/funcs/productsUpdate.d.ts.map +1 -1
  1064. package/dist/esm/funcs/productsUpdate.js +11 -6
  1065. package/dist/esm/funcs/productsUpdate.js.map +1 -1
  1066. package/dist/esm/funcs/productsUpdateBenefits.d.ts +2 -1
  1067. package/dist/esm/funcs/productsUpdateBenefits.d.ts.map +1 -1
  1068. package/dist/esm/funcs/productsUpdateBenefits.js +11 -6
  1069. package/dist/esm/funcs/productsUpdateBenefits.js.map +1 -1
  1070. package/dist/esm/funcs/refundsCreate.d.ts +2 -1
  1071. package/dist/esm/funcs/refundsCreate.d.ts.map +1 -1
  1072. package/dist/esm/funcs/refundsCreate.js +11 -6
  1073. package/dist/esm/funcs/refundsCreate.js.map +1 -1
  1074. package/dist/esm/funcs/refundsList.d.ts +2 -1
  1075. package/dist/esm/funcs/refundsList.d.ts.map +1 -1
  1076. package/dist/esm/funcs/refundsList.js +19 -6
  1077. package/dist/esm/funcs/refundsList.js.map +1 -1
  1078. package/dist/esm/funcs/repositoriesGet.d.ts +2 -1
  1079. package/dist/esm/funcs/repositoriesGet.d.ts.map +1 -1
  1080. package/dist/esm/funcs/repositoriesGet.js +11 -6
  1081. package/dist/esm/funcs/repositoriesGet.js.map +1 -1
  1082. package/dist/esm/funcs/repositoriesList.d.ts +2 -1
  1083. package/dist/esm/funcs/repositoriesList.d.ts.map +1 -1
  1084. package/dist/esm/funcs/repositoriesList.js +19 -6
  1085. package/dist/esm/funcs/repositoriesList.js.map +1 -1
  1086. package/dist/esm/funcs/repositoriesUpdate.d.ts +2 -1
  1087. package/dist/esm/funcs/repositoriesUpdate.d.ts.map +1 -1
  1088. package/dist/esm/funcs/repositoriesUpdate.js +11 -6
  1089. package/dist/esm/funcs/repositoriesUpdate.js.map +1 -1
  1090. package/dist/esm/funcs/subscriptionsExport.d.ts +2 -1
  1091. package/dist/esm/funcs/subscriptionsExport.d.ts.map +1 -1
  1092. package/dist/esm/funcs/subscriptionsExport.js +11 -6
  1093. package/dist/esm/funcs/subscriptionsExport.js.map +1 -1
  1094. package/dist/esm/funcs/subscriptionsGet.d.ts +2 -1
  1095. package/dist/esm/funcs/subscriptionsGet.d.ts.map +1 -1
  1096. package/dist/esm/funcs/subscriptionsGet.js +11 -6
  1097. package/dist/esm/funcs/subscriptionsGet.js.map +1 -1
  1098. package/dist/esm/funcs/subscriptionsList.d.ts +2 -1
  1099. package/dist/esm/funcs/subscriptionsList.d.ts.map +1 -1
  1100. package/dist/esm/funcs/subscriptionsList.js +19 -6
  1101. package/dist/esm/funcs/subscriptionsList.js.map +1 -1
  1102. package/dist/esm/funcs/subscriptionsRevoke.d.ts +2 -1
  1103. package/dist/esm/funcs/subscriptionsRevoke.d.ts.map +1 -1
  1104. package/dist/esm/funcs/subscriptionsRevoke.js +11 -6
  1105. package/dist/esm/funcs/subscriptionsRevoke.js.map +1 -1
  1106. package/dist/esm/funcs/subscriptionsUpdate.d.ts +2 -1
  1107. package/dist/esm/funcs/subscriptionsUpdate.d.ts.map +1 -1
  1108. package/dist/esm/funcs/subscriptionsUpdate.js +11 -6
  1109. package/dist/esm/funcs/subscriptionsUpdate.js.map +1 -1
  1110. package/dist/esm/hooks/types.d.ts +1 -0
  1111. package/dist/esm/hooks/types.d.ts.map +1 -1
  1112. package/dist/esm/lib/config.d.ts +3 -3
  1113. package/dist/esm/lib/config.js +3 -3
  1114. package/dist/esm/lib/security.d.ts.map +1 -1
  1115. package/dist/esm/lib/security.js.map +1 -1
  1116. package/dist/esm/models/components/authorizationcodetokenrequest.d.ts +37 -0
  1117. package/dist/esm/models/components/authorizationcodetokenrequest.d.ts.map +1 -0
  1118. package/dist/esm/models/components/authorizationcodetokenrequest.js +54 -0
  1119. package/dist/esm/models/components/authorizationcodetokenrequest.js.map +1 -0
  1120. package/dist/esm/models/components/checkout.d.ts +35 -2
  1121. package/dist/esm/models/components/checkout.d.ts.map +1 -1
  1122. package/dist/esm/models/components/checkout.js +38 -2
  1123. package/dist/esm/models/components/checkout.js.map +1 -1
  1124. package/dist/esm/models/components/checkoutconfirmstripe.d.ts +10 -3
  1125. package/dist/esm/models/components/checkoutconfirmstripe.d.ts.map +1 -1
  1126. package/dist/esm/models/components/checkoutconfirmstripe.js +8 -4
  1127. package/dist/esm/models/components/checkoutconfirmstripe.js.map +1 -1
  1128. package/dist/esm/models/components/checkoutcreate.d.ts +3 -2
  1129. package/dist/esm/models/components/checkoutcreate.d.ts.map +1 -1
  1130. package/dist/esm/models/components/checkoutcreate.js +3 -0
  1131. package/dist/esm/models/components/checkoutcreate.js.map +1 -1
  1132. package/dist/esm/models/components/checkoutlink.d.ts +47 -12
  1133. package/dist/esm/models/components/checkoutlink.d.ts.map +1 -1
  1134. package/dist/esm/models/components/checkoutlink.js +50 -10
  1135. package/dist/esm/models/components/checkoutlink.js.map +1 -1
  1136. package/dist/{commonjs/models/components/checkoutlinkproductcreate.d.ts → esm/models/components/checkoutlinkcreateproduct.d.ts} +34 -30
  1137. package/dist/esm/models/components/checkoutlinkcreateproduct.d.ts.map +1 -0
  1138. package/dist/esm/models/components/checkoutlinkcreateproduct.js +83 -0
  1139. package/dist/esm/models/components/{checkoutlinkproductcreate.js.map → checkoutlinkcreateproduct.js.map} +1 -1
  1140. package/dist/esm/models/components/checkoutlinkcreateproductprice.d.ts +102 -0
  1141. package/dist/esm/models/components/checkoutlinkcreateproductprice.d.ts.map +1 -0
  1142. package/dist/esm/models/components/checkoutlinkcreateproductprice.js +83 -0
  1143. package/dist/esm/models/components/checkoutlinkcreateproductprice.js.map +1 -0
  1144. package/dist/esm/models/components/checkoutlinkcreateproducts.d.ts +101 -0
  1145. package/dist/esm/models/components/checkoutlinkcreateproducts.d.ts.map +1 -0
  1146. package/dist/esm/models/components/checkoutlinkcreateproducts.js +81 -0
  1147. package/dist/esm/models/components/checkoutlinkcreateproducts.js.map +1 -0
  1148. package/dist/esm/models/components/checkoutlinkproduct.d.ts +31 -3
  1149. package/dist/esm/models/components/checkoutlinkproduct.d.ts.map +1 -1
  1150. package/dist/esm/models/components/checkoutlinkproduct.js +41 -2
  1151. package/dist/esm/models/components/checkoutlinkproduct.js.map +1 -1
  1152. package/dist/esm/models/components/checkoutlinksortproperty.d.ts +18 -0
  1153. package/dist/esm/models/components/checkoutlinksortproperty.d.ts.map +1 -1
  1154. package/dist/esm/models/components/checkoutlinksortproperty.js +6 -0
  1155. package/dist/esm/models/components/checkoutlinksortproperty.js.map +1 -1
  1156. package/dist/esm/models/components/checkoutlinkupdate.d.ts +5 -2
  1157. package/dist/esm/models/components/checkoutlinkupdate.d.ts.map +1 -1
  1158. package/dist/esm/models/components/checkoutlinkupdate.js +2 -4
  1159. package/dist/esm/models/components/checkoutlinkupdate.js.map +1 -1
  1160. package/dist/esm/models/components/checkoutpricecreate.d.ts +2 -0
  1161. package/dist/esm/models/components/checkoutpricecreate.d.ts.map +1 -1
  1162. package/dist/esm/models/components/checkoutpricecreate.js.map +1 -1
  1163. package/dist/esm/models/components/checkoutproduct.d.ts +31 -3
  1164. package/dist/esm/models/components/checkoutproduct.d.ts.map +1 -1
  1165. package/dist/esm/models/components/checkoutproduct.js +41 -2
  1166. package/dist/esm/models/components/checkoutproduct.js.map +1 -1
  1167. package/dist/esm/models/components/checkoutproductcreate.d.ts +2 -0
  1168. package/dist/esm/models/components/checkoutproductcreate.d.ts.map +1 -1
  1169. package/dist/esm/models/components/checkoutproductcreate.js.map +1 -1
  1170. package/dist/esm/models/components/checkoutproductscreate.d.ts +196 -0
  1171. package/dist/esm/models/components/checkoutproductscreate.d.ts.map +1 -0
  1172. package/dist/esm/models/components/checkoutproductscreate.js +180 -0
  1173. package/dist/esm/models/components/checkoutproductscreate.js.map +1 -0
  1174. package/dist/esm/models/components/checkoutpublic.d.ts +35 -2
  1175. package/dist/esm/models/components/checkoutpublic.d.ts.map +1 -1
  1176. package/dist/esm/models/components/checkoutpublic.js +38 -2
  1177. package/dist/esm/models/components/checkoutpublic.js.map +1 -1
  1178. package/dist/esm/models/components/checkoutpublicconfirmed.d.ts +35 -2
  1179. package/dist/esm/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
  1180. package/dist/esm/models/components/checkoutpublicconfirmed.js +38 -2
  1181. package/dist/esm/models/components/checkoutpublicconfirmed.js.map +1 -1
  1182. package/dist/esm/models/components/checkoutupdate.d.ts +8 -1
  1183. package/dist/esm/models/components/checkoutupdate.d.ts.map +1 -1
  1184. package/dist/esm/models/components/checkoutupdate.js +4 -0
  1185. package/dist/esm/models/components/checkoutupdate.js.map +1 -1
  1186. package/dist/esm/models/components/checkoutupdatepublic.d.ts +8 -1
  1187. package/dist/esm/models/components/checkoutupdatepublic.d.ts.map +1 -1
  1188. package/dist/esm/models/components/checkoutupdatepublic.js +4 -0
  1189. package/dist/esm/models/components/checkoutupdatepublic.js.map +1 -1
  1190. package/dist/esm/models/components/customerorder.d.ts +24 -2
  1191. package/dist/esm/models/components/customerorder.d.ts.map +1 -1
  1192. package/dist/esm/models/components/customerorder.js +36 -2
  1193. package/dist/esm/models/components/customerorder.js.map +1 -1
  1194. package/dist/esm/models/components/customerorderproduct.d.ts +31 -3
  1195. package/dist/esm/models/components/customerorderproduct.d.ts.map +1 -1
  1196. package/dist/esm/models/components/customerorderproduct.js +41 -2
  1197. package/dist/esm/models/components/customerorderproduct.js.map +1 -1
  1198. package/dist/esm/models/components/customerorganization.d.ts +36 -0
  1199. package/dist/esm/models/components/customerorganization.d.ts.map +1 -0
  1200. package/dist/esm/models/components/customerorganization.js +35 -0
  1201. package/dist/esm/models/components/customerorganization.js.map +1 -0
  1202. package/dist/esm/models/components/customerproduct.d.ts +116 -0
  1203. package/dist/esm/models/components/customerproduct.d.ts.map +1 -0
  1204. package/dist/esm/models/components/customerproduct.js +110 -0
  1205. package/dist/esm/models/components/customerproduct.js.map +1 -0
  1206. package/dist/esm/models/components/customersubscription.d.ts +24 -2
  1207. package/dist/esm/models/components/customersubscription.d.ts.map +1 -1
  1208. package/dist/esm/models/components/customersubscription.js +36 -2
  1209. package/dist/esm/models/components/customersubscription.js.map +1 -1
  1210. package/dist/esm/models/components/customersubscriptionproduct.d.ts +31 -3
  1211. package/dist/esm/models/components/customersubscriptionproduct.d.ts.map +1 -1
  1212. package/dist/esm/models/components/customersubscriptionproduct.js +41 -2
  1213. package/dist/esm/models/components/customersubscriptionproduct.js.map +1 -1
  1214. package/dist/esm/models/components/customersubscriptionupdate.d.ts +3 -3
  1215. package/dist/esm/models/components/customersubscriptionupdate.d.ts.map +1 -1
  1216. package/dist/esm/models/components/customersubscriptionupdate.js +3 -3
  1217. package/dist/esm/models/components/customersubscriptionupdate.js.map +1 -1
  1218. package/dist/esm/models/components/customersubscriptionupdateproduct.d.ts +32 -0
  1219. package/dist/esm/models/components/customersubscriptionupdateproduct.d.ts.map +1 -0
  1220. package/dist/esm/models/components/customersubscriptionupdateproduct.js +40 -0
  1221. package/dist/esm/models/components/customersubscriptionupdateproduct.js.map +1 -0
  1222. package/dist/esm/models/components/discountproduct.d.ts +7 -1
  1223. package/dist/esm/models/components/discountproduct.d.ts.map +1 -1
  1224. package/dist/esm/models/components/discountproduct.js +5 -0
  1225. package/dist/esm/models/components/discountproduct.js.map +1 -1
  1226. package/dist/esm/models/components/event.d.ts +6 -0
  1227. package/dist/esm/models/components/event.d.ts.map +1 -1
  1228. package/dist/esm/models/components/event.js +3 -0
  1229. package/dist/esm/models/components/event.js.map +1 -1
  1230. package/dist/esm/models/components/introspecttokenrequest.d.ts +61 -0
  1231. package/dist/esm/models/components/introspecttokenrequest.d.ts.map +1 -0
  1232. package/dist/esm/models/components/introspecttokenrequest.js +71 -0
  1233. package/dist/esm/models/components/introspecttokenrequest.js.map +1 -0
  1234. package/dist/esm/models/components/legacyrecurringproductprice.d.ts +40 -0
  1235. package/dist/esm/models/components/legacyrecurringproductprice.d.ts.map +1 -0
  1236. package/dist/esm/models/components/legacyrecurringproductprice.js +50 -0
  1237. package/dist/esm/models/components/legacyrecurringproductprice.js.map +1 -0
  1238. package/dist/esm/models/components/{productpricerecurringcustom.d.ts → legacyrecurringproductpricecustom.d.ts} +27 -21
  1239. package/dist/esm/models/components/legacyrecurringproductpricecustom.d.ts.map +1 -0
  1240. package/dist/esm/models/components/{productpricerecurringcustom.js → legacyrecurringproductpricecustom.js} +22 -20
  1241. package/dist/esm/models/components/legacyrecurringproductpricecustom.js.map +1 -0
  1242. package/dist/esm/models/components/legacyrecurringproductpricefixed.d.ts +81 -0
  1243. package/dist/esm/models/components/legacyrecurringproductpricefixed.d.ts.map +1 -0
  1244. package/dist/esm/models/components/{productpricerecurringfixed.js → legacyrecurringproductpricefixed.js} +22 -20
  1245. package/dist/esm/models/components/legacyrecurringproductpricefixed.js.map +1 -0
  1246. package/dist/esm/models/components/legacyrecurringproductpricefree.d.ts +71 -0
  1247. package/dist/esm/models/components/legacyrecurringproductpricefree.d.ts.map +1 -0
  1248. package/dist/esm/models/components/{productpricerecurringfree.js → legacyrecurringproductpricefree.js} +16 -14
  1249. package/dist/esm/models/components/legacyrecurringproductpricefree.js.map +1 -0
  1250. package/dist/esm/models/components/order.d.ts +24 -2
  1251. package/dist/esm/models/components/order.d.ts.map +1 -1
  1252. package/dist/esm/models/components/order.js +36 -2
  1253. package/dist/esm/models/components/order.js.map +1 -1
  1254. package/dist/esm/models/components/orderproduct.d.ts +7 -1
  1255. package/dist/esm/models/components/orderproduct.d.ts.map +1 -1
  1256. package/dist/esm/models/components/orderproduct.js +5 -0
  1257. package/dist/esm/models/components/orderproduct.js.map +1 -1
  1258. package/dist/esm/models/components/product.d.ts +31 -3
  1259. package/dist/esm/models/components/product.d.ts.map +1 -1
  1260. package/dist/esm/models/components/product.js +42 -2
  1261. package/dist/esm/models/components/product.js.map +1 -1
  1262. package/dist/esm/models/components/productbillingtype.d.ts +28 -0
  1263. package/dist/esm/models/components/productbillingtype.d.ts.map +1 -0
  1264. package/dist/esm/models/components/productbillingtype.js +24 -0
  1265. package/dist/esm/models/components/productbillingtype.js.map +1 -0
  1266. package/dist/esm/models/components/productcreate.d.ts +109 -4
  1267. package/dist/esm/models/components/productcreate.d.ts.map +1 -1
  1268. package/dist/esm/models/components/productcreate.js +98 -8
  1269. package/dist/esm/models/components/productcreate.js.map +1 -1
  1270. package/dist/esm/models/components/productprice.d.ts +5 -4
  1271. package/dist/esm/models/components/productprice.d.ts.map +1 -1
  1272. package/dist/esm/models/components/productprice.js +9 -6
  1273. package/dist/esm/models/components/productprice.js.map +1 -1
  1274. package/dist/esm/models/components/productpricecustom.d.ts +86 -0
  1275. package/dist/esm/models/components/productpricecustom.d.ts.map +1 -0
  1276. package/dist/esm/models/components/{productpriceonetimecustom.js → productpricecustom.js} +22 -16
  1277. package/dist/esm/models/components/productpricecustom.js.map +1 -0
  1278. package/dist/esm/models/components/productpricecustomcreate.d.ts +52 -0
  1279. package/dist/esm/models/components/productpricecustomcreate.d.ts.map +1 -0
  1280. package/dist/esm/models/components/{productpriceonetimecustomcreate.js → productpricecustomcreate.js} +14 -16
  1281. package/dist/esm/models/components/productpricecustomcreate.js.map +1 -0
  1282. package/dist/esm/models/components/productpricefixed.d.ts +76 -0
  1283. package/dist/esm/models/components/productpricefixed.d.ts.map +1 -0
  1284. package/dist/esm/models/components/{productpriceonetimefixed.js → productpricefixed.js} +22 -16
  1285. package/dist/esm/models/components/productpricefixed.js.map +1 -0
  1286. package/dist/esm/models/components/productpricefixedcreate.d.ts +42 -0
  1287. package/dist/esm/models/components/productpricefixedcreate.d.ts.map +1 -0
  1288. package/dist/esm/models/components/productpricefixedcreate.js +48 -0
  1289. package/dist/esm/models/components/productpricefixedcreate.js.map +1 -0
  1290. package/dist/esm/models/components/productpricefree.d.ts +66 -0
  1291. package/dist/esm/models/components/productpricefree.d.ts.map +1 -0
  1292. package/dist/esm/models/components/productpricefree.js +66 -0
  1293. package/dist/esm/models/components/productpricefree.js.map +1 -0
  1294. package/dist/esm/models/components/productpricefreecreate.d.ts +32 -0
  1295. package/dist/esm/models/components/productpricefreecreate.d.ts.map +1 -0
  1296. package/dist/esm/models/components/productpricefreecreate.js +40 -0
  1297. package/dist/esm/models/components/productpricefreecreate.js.map +1 -0
  1298. package/dist/esm/models/components/productsortproperty.d.ts +0 -6
  1299. package/dist/esm/models/components/productsortproperty.d.ts.map +1 -1
  1300. package/dist/esm/models/components/productsortproperty.js +0 -2
  1301. package/dist/esm/models/components/productsortproperty.js.map +1 -1
  1302. package/dist/esm/models/components/productupdate.d.ts +13 -9
  1303. package/dist/esm/models/components/productupdate.d.ts.map +1 -1
  1304. package/dist/esm/models/components/productupdate.js +22 -25
  1305. package/dist/esm/models/components/productupdate.js.map +1 -1
  1306. package/dist/esm/models/components/refreshtokenrequest.d.ts +35 -0
  1307. package/dist/esm/models/components/refreshtokenrequest.d.ts.map +1 -0
  1308. package/dist/esm/models/components/refreshtokenrequest.js +52 -0
  1309. package/dist/esm/models/components/refreshtokenrequest.js.map +1 -0
  1310. package/dist/esm/models/{operations/oauth2revoketoken.d.ts → components/revoketokenrequest.d.ts} +14 -14
  1311. package/dist/esm/models/components/revoketokenrequest.d.ts.map +1 -0
  1312. package/dist/esm/models/{operations/oauth2revoketoken.js → components/revoketokenrequest.js} +14 -14
  1313. package/dist/esm/models/components/revoketokenrequest.js.map +1 -0
  1314. package/dist/esm/models/components/subscription.d.ts +25 -3
  1315. package/dist/esm/models/components/subscription.d.ts.map +1 -1
  1316. package/dist/esm/models/components/subscription.js +38 -3
  1317. package/dist/esm/models/components/subscription.js.map +1 -1
  1318. package/dist/esm/models/components/subscriptionupdate.d.ts +3 -3
  1319. package/dist/esm/models/components/subscriptionupdate.d.ts.map +1 -1
  1320. package/dist/esm/models/components/subscriptionupdate.js +3 -3
  1321. package/dist/esm/models/components/subscriptionupdate.js.map +1 -1
  1322. package/dist/esm/models/components/subscriptionupdateproduct.d.ts +38 -0
  1323. package/dist/esm/models/components/subscriptionupdateproduct.d.ts.map +1 -0
  1324. package/dist/esm/models/components/subscriptionupdateproduct.js +47 -0
  1325. package/dist/esm/models/components/subscriptionupdateproduct.js.map +1 -0
  1326. package/dist/esm/models/operations/checkoutlinkscreate.d.ts +28 -0
  1327. package/dist/esm/models/operations/checkoutlinkscreate.d.ts.map +1 -0
  1328. package/dist/esm/models/operations/checkoutlinkscreate.js +38 -0
  1329. package/dist/esm/models/operations/checkoutlinkscreate.js.map +1 -0
  1330. package/dist/esm/models/operations/customerportalorderslist.d.ts +13 -13
  1331. package/dist/esm/models/operations/customerportalorderslist.d.ts.map +1 -1
  1332. package/dist/esm/models/operations/customerportalorderslist.js +13 -15
  1333. package/dist/esm/models/operations/customerportalorderslist.js.map +1 -1
  1334. package/dist/esm/models/operations/metricsget.d.ts +18 -18
  1335. package/dist/esm/models/operations/metricsget.d.ts.map +1 -1
  1336. package/dist/esm/models/operations/metricsget.js +26 -26
  1337. package/dist/esm/models/operations/metricsget.js.map +1 -1
  1338. package/dist/esm/models/operations/oauth2requesttoken.d.ts +4 -12
  1339. package/dist/esm/models/operations/oauth2requesttoken.d.ts.map +1 -1
  1340. package/dist/esm/models/operations/oauth2requesttoken.js +6 -12
  1341. package/dist/esm/models/operations/oauth2requesttoken.js.map +1 -1
  1342. package/dist/esm/sdk/checkoutlinks.d.ts +2 -2
  1343. package/dist/esm/sdk/checkoutlinks.d.ts.map +1 -1
  1344. package/dist/esm/sdk/checkoutlinks.js.map +1 -1
  1345. package/dist/esm/sdk/oauth2.d.ts +4 -4
  1346. package/dist/esm/sdk/oauth2.d.ts.map +1 -1
  1347. package/dist/esm/sdk/oauth2.js.map +1 -1
  1348. package/dist/esm/sdk/polarorganizations.d.ts +2 -2
  1349. package/dist/esm/sdk/polarorganizations.d.ts.map +1 -1
  1350. package/dist/esm/types/async.d.ts +23 -0
  1351. package/dist/esm/types/async.d.ts.map +1 -0
  1352. package/dist/esm/types/async.js +40 -0
  1353. package/dist/esm/types/async.js.map +1 -0
  1354. package/docs/sdks/checkoutlinks/README.md +1 -1
  1355. package/docs/sdks/oauth2/README.md +2 -2
  1356. package/docs/sdks/polarorganizations/README.md +1 -1
  1357. package/docs/sdks/products/README.md +3 -3
  1358. package/jsr.json +1 -1
  1359. package/package.json +1 -1
  1360. package/src/funcs/advertisementsGet.ts +37 -7
  1361. package/src/funcs/advertisementsList.ts +47 -7
  1362. package/src/funcs/benefitsCreate.ts +36 -7
  1363. package/src/funcs/benefitsDelete.ts +38 -7
  1364. package/src/funcs/benefitsGet.ts +37 -7
  1365. package/src/funcs/benefitsGrants.ts +48 -7
  1366. package/src/funcs/benefitsList.ts +47 -7
  1367. package/src/funcs/benefitsUpdate.ts +38 -7
  1368. package/src/funcs/checkoutLinksCreate.ts +43 -13
  1369. package/src/funcs/checkoutLinksDelete.ts +37 -7
  1370. package/src/funcs/checkoutLinksGet.ts +37 -7
  1371. package/src/funcs/checkoutLinksList.ts +47 -7
  1372. package/src/funcs/checkoutLinksUpdate.ts +37 -7
  1373. package/src/funcs/checkoutsClientConfirm.ts +39 -7
  1374. package/src/funcs/checkoutsClientGet.ts +37 -7
  1375. package/src/funcs/checkoutsClientUpdate.ts +38 -7
  1376. package/src/funcs/checkoutsCreate.ts +36 -7
  1377. package/src/funcs/checkoutsGet.ts +37 -7
  1378. package/src/funcs/checkoutsList.ts +47 -7
  1379. package/src/funcs/checkoutsUpdate.ts +38 -7
  1380. package/src/funcs/customFieldsCreate.ts +36 -7
  1381. package/src/funcs/customFieldsDelete.ts +37 -7
  1382. package/src/funcs/customFieldsGet.ts +37 -7
  1383. package/src/funcs/customFieldsList.ts +47 -7
  1384. package/src/funcs/customFieldsUpdate.ts +37 -7
  1385. package/src/funcs/customerPortalBenefitGrantsGet.ts +37 -7
  1386. package/src/funcs/customerPortalBenefitGrantsList.ts +47 -7
  1387. package/src/funcs/customerPortalBenefitGrantsUpdate.ts +38 -7
  1388. package/src/funcs/customerPortalCustomersGet.ts +37 -7
  1389. package/src/funcs/customerPortalDownloadablesGet.ts +36 -7
  1390. package/src/funcs/customerPortalDownloadablesList.ts +47 -7
  1391. package/src/funcs/customerPortalLicenseKeysActivate.ts +38 -7
  1392. package/src/funcs/customerPortalLicenseKeysDeactivate.ts +37 -7
  1393. package/src/funcs/customerPortalLicenseKeysGet.ts +37 -7
  1394. package/src/funcs/customerPortalLicenseKeysList.ts +49 -7
  1395. package/src/funcs/customerPortalLicenseKeysValidate.ts +37 -7
  1396. package/src/funcs/customerPortalOrdersGet.ts +37 -7
  1397. package/src/funcs/customerPortalOrdersInvoice.ts +37 -7
  1398. package/src/funcs/customerPortalOrdersList.ts +47 -7
  1399. package/src/funcs/customerPortalOrganizationsGet.ts +43 -13
  1400. package/src/funcs/customerPortalSubscriptionsCancel.ts +38 -7
  1401. package/src/funcs/customerPortalSubscriptionsGet.ts +37 -7
  1402. package/src/funcs/customerPortalSubscriptionsList.ts +47 -7
  1403. package/src/funcs/customerPortalSubscriptionsUpdate.ts +38 -7
  1404. package/src/funcs/customerSessionsCreate.ts +36 -7
  1405. package/src/funcs/customersCreate.ts +36 -7
  1406. package/src/funcs/customersDelete.ts +37 -7
  1407. package/src/funcs/customersGet.ts +37 -7
  1408. package/src/funcs/customersList.ts +47 -7
  1409. package/src/funcs/customersUpdate.ts +37 -7
  1410. package/src/funcs/discountsCreate.ts +36 -7
  1411. package/src/funcs/discountsDelete.ts +37 -7
  1412. package/src/funcs/discountsGet.ts +37 -7
  1413. package/src/funcs/discountsList.ts +47 -7
  1414. package/src/funcs/discountsUpdate.ts +37 -7
  1415. package/src/funcs/eventsGet.ts +37 -7
  1416. package/src/funcs/eventsIngest.ts +36 -7
  1417. package/src/funcs/eventsList.ts +47 -7
  1418. package/src/funcs/externalOrganizationsList.ts +47 -7
  1419. package/src/funcs/filesCreate.ts +36 -7
  1420. package/src/funcs/filesDelete.ts +38 -7
  1421. package/src/funcs/filesList.ts +47 -7
  1422. package/src/funcs/filesUpdate.ts +38 -7
  1423. package/src/funcs/filesUploaded.ts +38 -7
  1424. package/src/funcs/licenseKeysGet.ts +38 -7
  1425. package/src/funcs/licenseKeysGetActivation.ts +38 -7
  1426. package/src/funcs/licenseKeysList.ts +49 -7
  1427. package/src/funcs/licenseKeysUpdate.ts +38 -7
  1428. package/src/funcs/metersCreate.ts +36 -7
  1429. package/src/funcs/metersEvents.ts +48 -7
  1430. package/src/funcs/metersGet.ts +37 -7
  1431. package/src/funcs/metersList.ts +47 -7
  1432. package/src/funcs/metersQuantities.ts +37 -7
  1433. package/src/funcs/metersUpdate.ts +37 -7
  1434. package/src/funcs/metricsGet.ts +37 -8
  1435. package/src/funcs/metricsLimits.ts +32 -6
  1436. package/src/funcs/oauth2Authorize.ts +32 -6
  1437. package/src/funcs/oauth2ClientsCreate.ts +36 -7
  1438. package/src/funcs/oauth2ClientsDelete.ts +36 -7
  1439. package/src/funcs/oauth2ClientsGet.ts +36 -7
  1440. package/src/funcs/oauth2ClientsList.ts +47 -7
  1441. package/src/funcs/oauth2ClientsUpdate.ts +36 -7
  1442. package/src/funcs/oauth2Introspect.ts +41 -14
  1443. package/src/funcs/oauth2Revoke.ts +41 -13
  1444. package/src/funcs/oauth2Token.ts +35 -7
  1445. package/src/funcs/oauth2Userinfo.ts +32 -6
  1446. package/src/funcs/ordersGet.ts +37 -7
  1447. package/src/funcs/ordersInvoice.ts +37 -7
  1448. package/src/funcs/ordersList.ts +47 -7
  1449. package/src/funcs/organizationsCreate.ts +36 -7
  1450. package/src/funcs/organizationsGet.ts +37 -7
  1451. package/src/funcs/organizationsList.ts +47 -7
  1452. package/src/funcs/organizationsUpdate.ts +38 -7
  1453. package/src/funcs/productsCreate.ts +36 -7
  1454. package/src/funcs/productsGet.ts +37 -7
  1455. package/src/funcs/productsList.ts +47 -7
  1456. package/src/funcs/productsUpdate.ts +38 -7
  1457. package/src/funcs/productsUpdateBenefits.ts +38 -7
  1458. package/src/funcs/refundsCreate.ts +38 -7
  1459. package/src/funcs/refundsList.ts +47 -7
  1460. package/src/funcs/repositoriesGet.ts +37 -7
  1461. package/src/funcs/repositoriesList.ts +47 -7
  1462. package/src/funcs/repositoriesUpdate.ts +38 -7
  1463. package/src/funcs/subscriptionsExport.ts +36 -7
  1464. package/src/funcs/subscriptionsGet.ts +37 -7
  1465. package/src/funcs/subscriptionsList.ts +47 -7
  1466. package/src/funcs/subscriptionsRevoke.ts +38 -7
  1467. package/src/funcs/subscriptionsUpdate.ts +38 -7
  1468. package/src/hooks/types.ts +1 -0
  1469. package/src/lib/config.ts +3 -3
  1470. package/src/lib/security.ts +0 -1
  1471. package/src/models/components/authorizationcodetokenrequest.ts +101 -0
  1472. package/src/models/components/checkout.ts +87 -4
  1473. package/src/models/components/checkoutconfirmstripe.ts +26 -21
  1474. package/src/models/components/checkoutcreate.ts +13 -1
  1475. package/src/models/components/checkoutlink.ts +116 -25
  1476. package/src/models/components/{checkoutlinkproductcreate.ts → checkoutlinkcreateproduct.ts} +50 -46
  1477. package/src/models/components/{checkoutlinkpricecreate.ts → checkoutlinkcreateproductprice.ts} +56 -46
  1478. package/src/models/components/checkoutlinkcreateproducts.ts +199 -0
  1479. package/src/models/components/checkoutlinkproduct.ts +95 -5
  1480. package/src/models/components/checkoutlinksortproperty.ts +6 -0
  1481. package/src/models/components/checkoutlinkupdate.ts +7 -6
  1482. package/src/models/components/checkoutpricecreate.ts +2 -0
  1483. package/src/models/components/checkoutproduct.ts +93 -5
  1484. package/src/models/components/checkoutproductcreate.ts +2 -0
  1485. package/src/models/components/checkoutproductscreate.ts +434 -0
  1486. package/src/models/components/checkoutpublic.ts +89 -4
  1487. package/src/models/components/checkoutpublicconfirmed.ts +94 -4
  1488. package/src/models/components/checkoutupdate.ts +12 -1
  1489. package/src/models/components/checkoutupdatepublic.ts +12 -1
  1490. package/src/models/components/customerorder.ts +76 -4
  1491. package/src/models/components/customerorderproduct.ts +95 -5
  1492. package/src/models/components/customerorganization.ts +85 -0
  1493. package/src/models/components/customerproduct.ts +265 -0
  1494. package/src/models/components/customersubscription.ts +76 -4
  1495. package/src/models/components/customersubscriptionproduct.ts +98 -5
  1496. package/src/models/components/customersubscriptionupdate.ts +9 -9
  1497. package/src/models/components/customersubscriptionupdateproduct.ts +81 -0
  1498. package/src/models/components/discountproduct.ts +15 -1
  1499. package/src/models/components/event.ts +13 -0
  1500. package/src/models/components/introspecttokenrequest.ts +125 -0
  1501. package/src/models/components/legacyrecurringproductprice.ts +116 -0
  1502. package/src/models/components/{productpricerecurringcustom.ts → legacyrecurringproductpricecustom.ts} +44 -35
  1503. package/src/models/components/{productpricerecurringfixed.ts → legacyrecurringproductpricefixed.ts} +44 -34
  1504. package/src/models/components/{productpricerecurringfree.ts → legacyrecurringproductpricefree.ts} +31 -21
  1505. package/src/models/components/order.ts +74 -4
  1506. package/src/models/components/orderproduct.ts +15 -1
  1507. package/src/models/components/product.ts +86 -5
  1508. package/src/models/components/productbillingtype.ts +33 -0
  1509. package/src/models/components/productcreate.ts +256 -22
  1510. package/src/models/components/productprice.ts +29 -17
  1511. package/src/models/components/{productpriceonetimecustom.ts → productpricecustom.ts} +45 -29
  1512. package/src/models/components/{productpriceonetimecustomcreate.ts → productpricecustomcreate.ts} +22 -28
  1513. package/src/models/components/{productpriceonetimefixed.ts → productpricefixed.ts} +45 -29
  1514. package/src/models/components/{productpriceonetimefixedcreate.ts → productpricefixedcreate.ts} +22 -28
  1515. package/src/models/components/{productpriceonetimefree.ts → productpricefree.ts} +43 -27
  1516. package/src/models/components/productpricefreecreate.ts +78 -0
  1517. package/src/models/components/productsortproperty.ts +0 -2
  1518. package/src/models/components/productupdate.ts +54 -66
  1519. package/src/models/components/refreshtokenrequest.ts +93 -0
  1520. package/src/models/{operations/oauth2revoketoken.ts → components/revoketokenrequest.ts} +21 -26
  1521. package/src/models/components/subscription.ts +72 -9
  1522. package/src/models/components/subscriptionupdate.ts +9 -9
  1523. package/src/models/components/{subscriptionupdateprice.ts → subscriptionupdateproduct.ts} +28 -28
  1524. package/src/models/operations/checkoutlinkscreate.ts +95 -0
  1525. package/src/models/operations/customerportalorderslist.ts +34 -46
  1526. package/src/models/operations/metricsget.ts +45 -47
  1527. package/src/models/operations/oauth2requesttoken.ts +18 -44
  1528. package/src/sdk/checkoutlinks.ts +2 -2
  1529. package/src/sdk/oauth2.ts +4 -4
  1530. package/src/sdk/polarorganizations.ts +2 -2
  1531. package/src/types/async.ts +68 -0
  1532. package/dist/commonjs/models/components/checkoutlinkcreate.d.ts +0 -27
  1533. package/dist/commonjs/models/components/checkoutlinkcreate.d.ts.map +0 -1
  1534. package/dist/commonjs/models/components/checkoutlinkcreate.js +0 -63
  1535. package/dist/commonjs/models/components/checkoutlinkcreate.js.map +0 -1
  1536. package/dist/commonjs/models/components/checkoutlinkpricecreate.d.ts +0 -98
  1537. package/dist/commonjs/models/components/checkoutlinkpricecreate.d.ts.map +0 -1
  1538. package/dist/commonjs/models/components/checkoutlinkpricecreate.js.map +0 -1
  1539. package/dist/commonjs/models/components/checkoutlinkproductcreate.d.ts.map +0 -1
  1540. package/dist/commonjs/models/components/customersubscriptionupdateprice.d.ts +0 -32
  1541. package/dist/commonjs/models/components/customersubscriptionupdateprice.d.ts.map +0 -1
  1542. package/dist/commonjs/models/components/customersubscriptionupdateprice.js.map +0 -1
  1543. package/dist/commonjs/models/components/onev11oauth21tokenpostxcomponentsauthorizationcodetokenrequest.d.ts +0 -37
  1544. package/dist/commonjs/models/components/onev11oauth21tokenpostxcomponentsauthorizationcodetokenrequest.d.ts.map +0 -1
  1545. package/dist/commonjs/models/components/onev11oauth21tokenpostxcomponentsauthorizationcodetokenrequest.js +0 -84
  1546. package/dist/commonjs/models/components/onev11oauth21tokenpostxcomponentsauthorizationcodetokenrequest.js.map +0 -1
  1547. package/dist/commonjs/models/components/onev11oauth21tokenpostxcomponentsrefreshtokenrequest.d.ts +0 -35
  1548. package/dist/commonjs/models/components/onev11oauth21tokenpostxcomponentsrefreshtokenrequest.d.ts.map +0 -1
  1549. package/dist/commonjs/models/components/onev11oauth21tokenpostxcomponentsrefreshtokenrequest.js.map +0 -1
  1550. package/dist/commonjs/models/components/productonetimecreate.d.ts +0 -126
  1551. package/dist/commonjs/models/components/productonetimecreate.d.ts.map +0 -1
  1552. package/dist/commonjs/models/components/productonetimecreate.js +0 -153
  1553. package/dist/commonjs/models/components/productonetimecreate.js.map +0 -1
  1554. package/dist/commonjs/models/components/productpriceonetime.d.ts +0 -28
  1555. package/dist/commonjs/models/components/productpriceonetime.d.ts.map +0 -1
  1556. package/dist/commonjs/models/components/productpriceonetime.js +0 -66
  1557. package/dist/commonjs/models/components/productpriceonetime.js.map +0 -1
  1558. package/dist/commonjs/models/components/productpriceonetimecustom.d.ts +0 -82
  1559. package/dist/commonjs/models/components/productpriceonetimecustom.d.ts.map +0 -1
  1560. package/dist/commonjs/models/components/productpriceonetimecustom.js.map +0 -1
  1561. package/dist/commonjs/models/components/productpriceonetimecustomcreate.d.ts +0 -54
  1562. package/dist/commonjs/models/components/productpriceonetimecustomcreate.d.ts.map +0 -1
  1563. package/dist/commonjs/models/components/productpriceonetimecustomcreate.js.map +0 -1
  1564. package/dist/commonjs/models/components/productpriceonetimefixed.d.ts +0 -72
  1565. package/dist/commonjs/models/components/productpriceonetimefixed.d.ts.map +0 -1
  1566. package/dist/commonjs/models/components/productpriceonetimefixed.js.map +0 -1
  1567. package/dist/commonjs/models/components/productpriceonetimefixedcreate.d.ts +0 -44
  1568. package/dist/commonjs/models/components/productpriceonetimefixedcreate.d.ts.map +0 -1
  1569. package/dist/commonjs/models/components/productpriceonetimefixedcreate.js.map +0 -1
  1570. package/dist/commonjs/models/components/productpriceonetimefree.d.ts +0 -62
  1571. package/dist/commonjs/models/components/productpriceonetimefree.d.ts.map +0 -1
  1572. package/dist/commonjs/models/components/productpriceonetimefree.js.map +0 -1
  1573. package/dist/commonjs/models/components/productpriceonetimefreecreate.d.ts +0 -34
  1574. package/dist/commonjs/models/components/productpriceonetimefreecreate.d.ts.map +0 -1
  1575. package/dist/commonjs/models/components/productpriceonetimefreecreate.js.map +0 -1
  1576. package/dist/commonjs/models/components/productpricerecurring.d.ts +0 -28
  1577. package/dist/commonjs/models/components/productpricerecurring.d.ts.map +0 -1
  1578. package/dist/commonjs/models/components/productpricerecurring.js +0 -66
  1579. package/dist/commonjs/models/components/productpricerecurring.js.map +0 -1
  1580. package/dist/commonjs/models/components/productpricerecurringcustom.d.ts.map +0 -1
  1581. package/dist/commonjs/models/components/productpricerecurringcustom.js.map +0 -1
  1582. package/dist/commonjs/models/components/productpricerecurringfixed.d.ts +0 -75
  1583. package/dist/commonjs/models/components/productpricerecurringfixed.d.ts.map +0 -1
  1584. package/dist/commonjs/models/components/productpricerecurringfixed.js.map +0 -1
  1585. package/dist/commonjs/models/components/productpricerecurringfixedcreate.d.ts +0 -47
  1586. package/dist/commonjs/models/components/productpricerecurringfixedcreate.d.ts.map +0 -1
  1587. package/dist/commonjs/models/components/productpricerecurringfixedcreate.js +0 -83
  1588. package/dist/commonjs/models/components/productpricerecurringfixedcreate.js.map +0 -1
  1589. package/dist/commonjs/models/components/productpricerecurringfree.d.ts +0 -65
  1590. package/dist/commonjs/models/components/productpricerecurringfree.d.ts.map +0 -1
  1591. package/dist/commonjs/models/components/productpricerecurringfree.js.map +0 -1
  1592. package/dist/commonjs/models/components/productpricerecurringfreecreate.d.ts +0 -37
  1593. package/dist/commonjs/models/components/productpricerecurringfreecreate.d.ts.map +0 -1
  1594. package/dist/commonjs/models/components/productpricerecurringfreecreate.js +0 -75
  1595. package/dist/commonjs/models/components/productpricerecurringfreecreate.js.map +0 -1
  1596. package/dist/commonjs/models/components/productrecurringcreate.d.ts +0 -128
  1597. package/dist/commonjs/models/components/productrecurringcreate.d.ts.map +0 -1
  1598. package/dist/commonjs/models/components/productrecurringcreate.js +0 -147
  1599. package/dist/commonjs/models/components/productrecurringcreate.js.map +0 -1
  1600. package/dist/commonjs/models/components/subscriptionupdateprice.d.ts +0 -38
  1601. package/dist/commonjs/models/components/subscriptionupdateprice.d.ts.map +0 -1
  1602. package/dist/commonjs/models/components/subscriptionupdateprice.js.map +0 -1
  1603. package/dist/commonjs/models/operations/oauth2introspecttoken.d.ts +0 -61
  1604. package/dist/commonjs/models/operations/oauth2introspecttoken.d.ts.map +0 -1
  1605. package/dist/commonjs/models/operations/oauth2introspecttoken.js +0 -98
  1606. package/dist/commonjs/models/operations/oauth2introspecttoken.js.map +0 -1
  1607. package/dist/commonjs/models/operations/oauth2revoketoken.d.ts.map +0 -1
  1608. package/dist/commonjs/models/operations/oauth2revoketoken.js.map +0 -1
  1609. package/dist/esm/models/components/checkoutlinkcreate.d.ts +0 -27
  1610. package/dist/esm/models/components/checkoutlinkcreate.d.ts.map +0 -1
  1611. package/dist/esm/models/components/checkoutlinkcreate.js +0 -35
  1612. package/dist/esm/models/components/checkoutlinkcreate.js.map +0 -1
  1613. package/dist/esm/models/components/checkoutlinkpricecreate.d.ts +0 -98
  1614. package/dist/esm/models/components/checkoutlinkpricecreate.d.ts.map +0 -1
  1615. package/dist/esm/models/components/checkoutlinkpricecreate.js +0 -83
  1616. package/dist/esm/models/components/checkoutlinkpricecreate.js.map +0 -1
  1617. package/dist/esm/models/components/checkoutlinkproductcreate.d.ts.map +0 -1
  1618. package/dist/esm/models/components/checkoutlinkproductcreate.js +0 -83
  1619. package/dist/esm/models/components/customersubscriptionupdateprice.d.ts +0 -32
  1620. package/dist/esm/models/components/customersubscriptionupdateprice.d.ts.map +0 -1
  1621. package/dist/esm/models/components/customersubscriptionupdateprice.js +0 -40
  1622. package/dist/esm/models/components/customersubscriptionupdateprice.js.map +0 -1
  1623. package/dist/esm/models/components/onev11oauth21tokenpostxcomponentsauthorizationcodetokenrequest.d.ts +0 -37
  1624. package/dist/esm/models/components/onev11oauth21tokenpostxcomponentsauthorizationcodetokenrequest.d.ts.map +0 -1
  1625. package/dist/esm/models/components/onev11oauth21tokenpostxcomponentsauthorizationcodetokenrequest.js +0 -56
  1626. package/dist/esm/models/components/onev11oauth21tokenpostxcomponentsauthorizationcodetokenrequest.js.map +0 -1
  1627. package/dist/esm/models/components/onev11oauth21tokenpostxcomponentsrefreshtokenrequest.d.ts +0 -35
  1628. package/dist/esm/models/components/onev11oauth21tokenpostxcomponentsrefreshtokenrequest.d.ts.map +0 -1
  1629. package/dist/esm/models/components/onev11oauth21tokenpostxcomponentsrefreshtokenrequest.js +0 -52
  1630. package/dist/esm/models/components/onev11oauth21tokenpostxcomponentsrefreshtokenrequest.js.map +0 -1
  1631. package/dist/esm/models/components/productonetimecreate.d.ts +0 -126
  1632. package/dist/esm/models/components/productonetimecreate.d.ts.map +0 -1
  1633. package/dist/esm/models/components/productonetimecreate.js +0 -121
  1634. package/dist/esm/models/components/productonetimecreate.js.map +0 -1
  1635. package/dist/esm/models/components/productpriceonetime.d.ts +0 -28
  1636. package/dist/esm/models/components/productpriceonetime.d.ts.map +0 -1
  1637. package/dist/esm/models/components/productpriceonetime.js +0 -38
  1638. package/dist/esm/models/components/productpriceonetime.js.map +0 -1
  1639. package/dist/esm/models/components/productpriceonetimecustom.d.ts +0 -82
  1640. package/dist/esm/models/components/productpriceonetimecustom.d.ts.map +0 -1
  1641. package/dist/esm/models/components/productpriceonetimecustom.js.map +0 -1
  1642. package/dist/esm/models/components/productpriceonetimecustomcreate.d.ts +0 -54
  1643. package/dist/esm/models/components/productpriceonetimecustomcreate.d.ts.map +0 -1
  1644. package/dist/esm/models/components/productpriceonetimecustomcreate.js.map +0 -1
  1645. package/dist/esm/models/components/productpriceonetimefixed.d.ts +0 -72
  1646. package/dist/esm/models/components/productpriceonetimefixed.d.ts.map +0 -1
  1647. package/dist/esm/models/components/productpriceonetimefixed.js.map +0 -1
  1648. package/dist/esm/models/components/productpriceonetimefixedcreate.d.ts +0 -44
  1649. package/dist/esm/models/components/productpriceonetimefixedcreate.d.ts.map +0 -1
  1650. package/dist/esm/models/components/productpriceonetimefixedcreate.js +0 -50
  1651. package/dist/esm/models/components/productpriceonetimefixedcreate.js.map +0 -1
  1652. package/dist/esm/models/components/productpriceonetimefree.d.ts +0 -62
  1653. package/dist/esm/models/components/productpriceonetimefree.d.ts.map +0 -1
  1654. package/dist/esm/models/components/productpriceonetimefree.js +0 -60
  1655. package/dist/esm/models/components/productpriceonetimefree.js.map +0 -1
  1656. package/dist/esm/models/components/productpriceonetimefreecreate.d.ts +0 -34
  1657. package/dist/esm/models/components/productpriceonetimefreecreate.d.ts.map +0 -1
  1658. package/dist/esm/models/components/productpriceonetimefreecreate.js +0 -42
  1659. package/dist/esm/models/components/productpriceonetimefreecreate.js.map +0 -1
  1660. package/dist/esm/models/components/productpricerecurring.d.ts +0 -28
  1661. package/dist/esm/models/components/productpricerecurring.d.ts.map +0 -1
  1662. package/dist/esm/models/components/productpricerecurring.js +0 -38
  1663. package/dist/esm/models/components/productpricerecurring.js.map +0 -1
  1664. package/dist/esm/models/components/productpricerecurringcustom.d.ts.map +0 -1
  1665. package/dist/esm/models/components/productpricerecurringcustom.js.map +0 -1
  1666. package/dist/esm/models/components/productpricerecurringfixed.d.ts +0 -75
  1667. package/dist/esm/models/components/productpricerecurringfixed.d.ts.map +0 -1
  1668. package/dist/esm/models/components/productpricerecurringfixed.js.map +0 -1
  1669. package/dist/esm/models/components/productpricerecurringfixedcreate.d.ts +0 -47
  1670. package/dist/esm/models/components/productpricerecurringfixedcreate.d.ts.map +0 -1
  1671. package/dist/esm/models/components/productpricerecurringfixedcreate.js +0 -55
  1672. package/dist/esm/models/components/productpricerecurringfixedcreate.js.map +0 -1
  1673. package/dist/esm/models/components/productpricerecurringfree.d.ts +0 -65
  1674. package/dist/esm/models/components/productpricerecurringfree.d.ts.map +0 -1
  1675. package/dist/esm/models/components/productpricerecurringfree.js.map +0 -1
  1676. package/dist/esm/models/components/productpricerecurringfreecreate.d.ts +0 -37
  1677. package/dist/esm/models/components/productpricerecurringfreecreate.d.ts.map +0 -1
  1678. package/dist/esm/models/components/productpricerecurringfreecreate.js +0 -47
  1679. package/dist/esm/models/components/productpricerecurringfreecreate.js.map +0 -1
  1680. package/dist/esm/models/components/productrecurringcreate.d.ts +0 -128
  1681. package/dist/esm/models/components/productrecurringcreate.d.ts.map +0 -1
  1682. package/dist/esm/models/components/productrecurringcreate.js +0 -115
  1683. package/dist/esm/models/components/productrecurringcreate.js.map +0 -1
  1684. package/dist/esm/models/components/subscriptionupdateprice.d.ts +0 -38
  1685. package/dist/esm/models/components/subscriptionupdateprice.d.ts.map +0 -1
  1686. package/dist/esm/models/components/subscriptionupdateprice.js +0 -47
  1687. package/dist/esm/models/components/subscriptionupdateprice.js.map +0 -1
  1688. package/dist/esm/models/operations/oauth2introspecttoken.d.ts +0 -61
  1689. package/dist/esm/models/operations/oauth2introspecttoken.d.ts.map +0 -1
  1690. package/dist/esm/models/operations/oauth2introspecttoken.js +0 -70
  1691. package/dist/esm/models/operations/oauth2introspecttoken.js.map +0 -1
  1692. package/dist/esm/models/operations/oauth2revoketoken.d.ts.map +0 -1
  1693. package/dist/esm/models/operations/oauth2revoketoken.js.map +0 -1
  1694. package/src/models/components/checkoutlinkcreate.ts +0 -80
  1695. package/src/models/components/customersubscriptionupdateprice.ts +0 -80
  1696. package/src/models/components/onev11oauth21tokenpostxcomponentsauthorizationcodetokenrequest.ts +0 -112
  1697. package/src/models/components/onev11oauth21tokenpostxcomponentsrefreshtokenrequest.ts +0 -107
  1698. package/src/models/components/productonetimecreate.ts +0 -295
  1699. package/src/models/components/productpriceonetime.ts +0 -90
  1700. package/src/models/components/productpriceonetimefreecreate.ts +0 -84
  1701. package/src/models/components/productpricerecurring.ts +0 -90
  1702. package/src/models/components/productpricerecurringfixedcreate.ts +0 -113
  1703. package/src/models/components/productpricerecurringfreecreate.ts +0 -95
  1704. package/src/models/components/productrecurringcreate.ts +0 -287
  1705. package/src/models/operations/oauth2introspecttoken.ts +0 -138
@@ -20,45 +20,36 @@ import {
20
20
  ExistingProductPrice$outboundSchema,
21
21
  } from "./existingproductprice.js";
22
22
  import {
23
- ProductPriceOneTimeCustomCreate,
24
- ProductPriceOneTimeCustomCreate$inboundSchema,
25
- ProductPriceOneTimeCustomCreate$Outbound,
26
- ProductPriceOneTimeCustomCreate$outboundSchema,
27
- } from "./productpriceonetimecustomcreate.js";
23
+ ProductPriceCustomCreate,
24
+ ProductPriceCustomCreate$inboundSchema,
25
+ ProductPriceCustomCreate$Outbound,
26
+ ProductPriceCustomCreate$outboundSchema,
27
+ } from "./productpricecustomcreate.js";
28
28
  import {
29
- ProductPriceOneTimeFixedCreate,
30
- ProductPriceOneTimeFixedCreate$inboundSchema,
31
- ProductPriceOneTimeFixedCreate$Outbound,
32
- ProductPriceOneTimeFixedCreate$outboundSchema,
33
- } from "./productpriceonetimefixedcreate.js";
29
+ ProductPriceFixedCreate,
30
+ ProductPriceFixedCreate$inboundSchema,
31
+ ProductPriceFixedCreate$Outbound,
32
+ ProductPriceFixedCreate$outboundSchema,
33
+ } from "./productpricefixedcreate.js";
34
34
  import {
35
- ProductPriceOneTimeFreeCreate,
36
- ProductPriceOneTimeFreeCreate$inboundSchema,
37
- ProductPriceOneTimeFreeCreate$Outbound,
38
- ProductPriceOneTimeFreeCreate$outboundSchema,
39
- } from "./productpriceonetimefreecreate.js";
35
+ ProductPriceFreeCreate,
36
+ ProductPriceFreeCreate$inboundSchema,
37
+ ProductPriceFreeCreate$Outbound,
38
+ ProductPriceFreeCreate$outboundSchema,
39
+ } from "./productpricefreecreate.js";
40
40
  import {
41
- ProductPriceRecurringFixedCreate,
42
- ProductPriceRecurringFixedCreate$inboundSchema,
43
- ProductPriceRecurringFixedCreate$Outbound,
44
- ProductPriceRecurringFixedCreate$outboundSchema,
45
- } from "./productpricerecurringfixedcreate.js";
46
- import {
47
- ProductPriceRecurringFreeCreate,
48
- ProductPriceRecurringFreeCreate$inboundSchema,
49
- ProductPriceRecurringFreeCreate$Outbound,
50
- ProductPriceRecurringFreeCreate$outboundSchema,
51
- } from "./productpricerecurringfreecreate.js";
41
+ SubscriptionRecurringInterval,
42
+ SubscriptionRecurringInterval$inboundSchema,
43
+ SubscriptionRecurringInterval$outboundSchema,
44
+ } from "./subscriptionrecurringinterval.js";
52
45
 
53
46
  export type ProductUpdateMetadata = string | number | boolean;
54
47
 
55
48
  export type ProductUpdatePrices =
56
49
  | ExistingProductPrice
57
- | ProductPriceOneTimeFreeCreate
58
- | ProductPriceRecurringFreeCreate
59
- | ProductPriceOneTimeFixedCreate
60
- | ProductPriceRecurringFixedCreate
61
- | ProductPriceOneTimeCustomCreate;
50
+ | ProductPriceFreeCreate
51
+ | ProductPriceFixedCreate
52
+ | ProductPriceCustomCreate;
62
53
 
63
54
  /**
64
55
  * Schema to update a product.
@@ -70,6 +61,10 @@ export type ProductUpdate = {
70
61
  * The description of the product.
71
62
  */
72
63
  description?: string | null | undefined;
64
+ /**
65
+ * The recurring interval of the product. If `None`, the product is a one-time purchase. **Can only be set on legacy recurring products. Once set, it can't be changed.**
66
+ */
67
+ recurringInterval?: SubscriptionRecurringInterval | null | undefined;
73
68
  /**
74
69
  * Whether the product is archived. If `true`, the product won't be available for purchase anymore. Existing customers will still have access to their benefits, and subscriptions will continue normally.
75
70
  */
@@ -80,11 +75,9 @@ export type ProductUpdate = {
80
75
  prices?:
81
76
  | Array<
82
77
  | ExistingProductPrice
83
- | ProductPriceOneTimeFreeCreate
84
- | ProductPriceRecurringFreeCreate
85
- | ProductPriceOneTimeFixedCreate
86
- | ProductPriceRecurringFixedCreate
87
- | ProductPriceOneTimeCustomCreate
78
+ | ProductPriceFreeCreate
79
+ | ProductPriceFixedCreate
80
+ | ProductPriceCustomCreate
88
81
  >
89
82
  | null
90
83
  | undefined;
@@ -150,21 +143,17 @@ export const ProductUpdatePrices$inboundSchema: z.ZodType<
150
143
  unknown
151
144
  > = z.union([
152
145
  ExistingProductPrice$inboundSchema,
153
- ProductPriceOneTimeFreeCreate$inboundSchema,
154
- ProductPriceRecurringFreeCreate$inboundSchema,
155
- ProductPriceOneTimeFixedCreate$inboundSchema,
156
- ProductPriceRecurringFixedCreate$inboundSchema,
157
- ProductPriceOneTimeCustomCreate$inboundSchema,
146
+ ProductPriceFreeCreate$inboundSchema,
147
+ ProductPriceFixedCreate$inboundSchema,
148
+ ProductPriceCustomCreate$inboundSchema,
158
149
  ]);
159
150
 
160
151
  /** @internal */
161
152
  export type ProductUpdatePrices$Outbound =
162
153
  | ExistingProductPrice$Outbound
163
- | ProductPriceOneTimeFreeCreate$Outbound
164
- | ProductPriceRecurringFreeCreate$Outbound
165
- | ProductPriceOneTimeFixedCreate$Outbound
166
- | ProductPriceRecurringFixedCreate$Outbound
167
- | ProductPriceOneTimeCustomCreate$Outbound;
154
+ | ProductPriceFreeCreate$Outbound
155
+ | ProductPriceFixedCreate$Outbound
156
+ | ProductPriceCustomCreate$Outbound;
168
157
 
169
158
  /** @internal */
170
159
  export const ProductUpdatePrices$outboundSchema: z.ZodType<
@@ -173,11 +162,9 @@ export const ProductUpdatePrices$outboundSchema: z.ZodType<
173
162
  ProductUpdatePrices
174
163
  > = z.union([
175
164
  ExistingProductPrice$outboundSchema,
176
- ProductPriceOneTimeFreeCreate$outboundSchema,
177
- ProductPriceRecurringFreeCreate$outboundSchema,
178
- ProductPriceOneTimeFixedCreate$outboundSchema,
179
- ProductPriceRecurringFixedCreate$outboundSchema,
180
- ProductPriceOneTimeCustomCreate$outboundSchema,
165
+ ProductPriceFreeCreate$outboundSchema,
166
+ ProductPriceFixedCreate$outboundSchema,
167
+ ProductPriceCustomCreate$outboundSchema,
181
168
  ]);
182
169
 
183
170
  /**
@@ -222,16 +209,16 @@ export const ProductUpdate$inboundSchema: z.ZodType<
222
209
  ).optional(),
223
210
  name: z.nullable(z.string()).optional(),
224
211
  description: z.nullable(z.string()).optional(),
212
+ recurring_interval: z.nullable(SubscriptionRecurringInterval$inboundSchema)
213
+ .optional(),
225
214
  is_archived: z.nullable(z.boolean()).optional(),
226
215
  prices: z.nullable(
227
216
  z.array(
228
217
  z.union([
229
218
  ExistingProductPrice$inboundSchema,
230
- ProductPriceOneTimeFreeCreate$inboundSchema,
231
- ProductPriceRecurringFreeCreate$inboundSchema,
232
- ProductPriceOneTimeFixedCreate$inboundSchema,
233
- ProductPriceRecurringFixedCreate$inboundSchema,
234
- ProductPriceOneTimeCustomCreate$inboundSchema,
219
+ ProductPriceFreeCreate$inboundSchema,
220
+ ProductPriceFixedCreate$inboundSchema,
221
+ ProductPriceCustomCreate$inboundSchema,
235
222
  ]),
236
223
  ),
237
224
  ).optional(),
@@ -241,6 +228,7 @@ export const ProductUpdate$inboundSchema: z.ZodType<
241
228
  ).optional(),
242
229
  }).transform((v) => {
243
230
  return remap$(v, {
231
+ "recurring_interval": "recurringInterval",
244
232
  "is_archived": "isArchived",
245
233
  "attached_custom_fields": "attachedCustomFields",
246
234
  });
@@ -251,15 +239,14 @@ export type ProductUpdate$Outbound = {
251
239
  metadata?: { [k: string]: string | number | boolean } | null | undefined;
252
240
  name?: string | null | undefined;
253
241
  description?: string | null | undefined;
242
+ recurring_interval?: string | null | undefined;
254
243
  is_archived?: boolean | null | undefined;
255
244
  prices?:
256
245
  | Array<
257
246
  | ExistingProductPrice$Outbound
258
- | ProductPriceOneTimeFreeCreate$Outbound
259
- | ProductPriceRecurringFreeCreate$Outbound
260
- | ProductPriceOneTimeFixedCreate$Outbound
261
- | ProductPriceRecurringFixedCreate$Outbound
262
- | ProductPriceOneTimeCustomCreate$Outbound
247
+ | ProductPriceFreeCreate$Outbound
248
+ | ProductPriceFixedCreate$Outbound
249
+ | ProductPriceCustomCreate$Outbound
263
250
  >
264
251
  | null
265
252
  | undefined;
@@ -281,16 +268,16 @@ export const ProductUpdate$outboundSchema: z.ZodType<
281
268
  ).optional(),
282
269
  name: z.nullable(z.string()).optional(),
283
270
  description: z.nullable(z.string()).optional(),
271
+ recurringInterval: z.nullable(SubscriptionRecurringInterval$outboundSchema)
272
+ .optional(),
284
273
  isArchived: z.nullable(z.boolean()).optional(),
285
274
  prices: z.nullable(
286
275
  z.array(
287
276
  z.union([
288
277
  ExistingProductPrice$outboundSchema,
289
- ProductPriceOneTimeFreeCreate$outboundSchema,
290
- ProductPriceRecurringFreeCreate$outboundSchema,
291
- ProductPriceOneTimeFixedCreate$outboundSchema,
292
- ProductPriceRecurringFixedCreate$outboundSchema,
293
- ProductPriceOneTimeCustomCreate$outboundSchema,
278
+ ProductPriceFreeCreate$outboundSchema,
279
+ ProductPriceFixedCreate$outboundSchema,
280
+ ProductPriceCustomCreate$outboundSchema,
294
281
  ]),
295
282
  ),
296
283
  ).optional(),
@@ -300,6 +287,7 @@ export const ProductUpdate$outboundSchema: z.ZodType<
300
287
  ).optional(),
301
288
  }).transform((v) => {
302
289
  return remap$(v, {
290
+ recurringInterval: "recurring_interval",
303
291
  isArchived: "is_archived",
304
292
  attachedCustomFields: "attached_custom_fields",
305
293
  });
@@ -0,0 +1,93 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type RefreshTokenRequest = {
12
+ grantType?: "refresh_token" | undefined;
13
+ clientId: string;
14
+ clientSecret: string;
15
+ refreshToken: string;
16
+ };
17
+
18
+ /** @internal */
19
+ export const RefreshTokenRequest$inboundSchema: z.ZodType<
20
+ RefreshTokenRequest,
21
+ z.ZodTypeDef,
22
+ unknown
23
+ > = z.object({
24
+ grant_type: z.literal("refresh_token").optional(),
25
+ client_id: z.string(),
26
+ client_secret: z.string(),
27
+ refresh_token: z.string(),
28
+ }).transform((v) => {
29
+ return remap$(v, {
30
+ "grant_type": "grantType",
31
+ "client_id": "clientId",
32
+ "client_secret": "clientSecret",
33
+ "refresh_token": "refreshToken",
34
+ });
35
+ });
36
+
37
+ /** @internal */
38
+ export type RefreshTokenRequest$Outbound = {
39
+ grant_type: "refresh_token";
40
+ client_id: string;
41
+ client_secret: string;
42
+ refresh_token: string;
43
+ };
44
+
45
+ /** @internal */
46
+ export const RefreshTokenRequest$outboundSchema: z.ZodType<
47
+ RefreshTokenRequest$Outbound,
48
+ z.ZodTypeDef,
49
+ RefreshTokenRequest
50
+ > = z.object({
51
+ grantType: z.literal("refresh_token").default("refresh_token" as const),
52
+ clientId: z.string(),
53
+ clientSecret: z.string(),
54
+ refreshToken: z.string(),
55
+ }).transform((v) => {
56
+ return remap$(v, {
57
+ grantType: "grant_type",
58
+ clientId: "client_id",
59
+ clientSecret: "client_secret",
60
+ refreshToken: "refresh_token",
61
+ });
62
+ });
63
+
64
+ /**
65
+ * @internal
66
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
67
+ */
68
+ export namespace RefreshTokenRequest$ {
69
+ /** @deprecated use `RefreshTokenRequest$inboundSchema` instead. */
70
+ export const inboundSchema = RefreshTokenRequest$inboundSchema;
71
+ /** @deprecated use `RefreshTokenRequest$outboundSchema` instead. */
72
+ export const outboundSchema = RefreshTokenRequest$outboundSchema;
73
+ /** @deprecated use `RefreshTokenRequest$Outbound` instead. */
74
+ export type Outbound = RefreshTokenRequest$Outbound;
75
+ }
76
+
77
+ export function refreshTokenRequestToJSON(
78
+ refreshTokenRequest: RefreshTokenRequest,
79
+ ): string {
80
+ return JSON.stringify(
81
+ RefreshTokenRequest$outboundSchema.parse(refreshTokenRequest),
82
+ );
83
+ }
84
+
85
+ export function refreshTokenRequestFromJSON(
86
+ jsonString: string,
87
+ ): SafeParseResult<RefreshTokenRequest, SDKValidationError> {
88
+ return safeParse(
89
+ jsonString,
90
+ (x) => RefreshTokenRequest$inboundSchema.parse(JSON.parse(x)),
91
+ `Failed to parse 'RefreshTokenRequest' from JSON`,
92
+ );
93
+ }
@@ -15,7 +15,7 @@ export const TokenTypeHint = {
15
15
  } as const;
16
16
  export type TokenTypeHint = ClosedEnum<typeof TokenTypeHint>;
17
17
 
18
- export type Oauth2RevokeTokenRevokeTokenRequest = {
18
+ export type RevokeTokenRequest = {
19
19
  token: string;
20
20
  tokenTypeHint?: TokenTypeHint | null | undefined;
21
21
  clientId: string;
@@ -44,8 +44,8 @@ export namespace TokenTypeHint$ {
44
44
  }
45
45
 
46
46
  /** @internal */
47
- export const Oauth2RevokeTokenRevokeTokenRequest$inboundSchema: z.ZodType<
48
- Oauth2RevokeTokenRevokeTokenRequest,
47
+ export const RevokeTokenRequest$inboundSchema: z.ZodType<
48
+ RevokeTokenRequest,
49
49
  z.ZodTypeDef,
50
50
  unknown
51
51
  > = z.object({
@@ -62,7 +62,7 @@ export const Oauth2RevokeTokenRevokeTokenRequest$inboundSchema: z.ZodType<
62
62
  });
63
63
 
64
64
  /** @internal */
65
- export type Oauth2RevokeTokenRevokeTokenRequest$Outbound = {
65
+ export type RevokeTokenRequest$Outbound = {
66
66
  token: string;
67
67
  token_type_hint?: string | null | undefined;
68
68
  client_id: string;
@@ -70,10 +70,10 @@ export type Oauth2RevokeTokenRevokeTokenRequest$Outbound = {
70
70
  };
71
71
 
72
72
  /** @internal */
73
- export const Oauth2RevokeTokenRevokeTokenRequest$outboundSchema: z.ZodType<
74
- Oauth2RevokeTokenRevokeTokenRequest$Outbound,
73
+ export const RevokeTokenRequest$outboundSchema: z.ZodType<
74
+ RevokeTokenRequest$Outbound,
75
75
  z.ZodTypeDef,
76
- Oauth2RevokeTokenRevokeTokenRequest
76
+ RevokeTokenRequest
77
77
  > = z.object({
78
78
  token: z.string(),
79
79
  tokenTypeHint: z.nullable(TokenTypeHint$outboundSchema).optional(),
@@ -91,34 +91,29 @@ export const Oauth2RevokeTokenRevokeTokenRequest$outboundSchema: z.ZodType<
91
91
  * @internal
92
92
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
93
93
  */
94
- export namespace Oauth2RevokeTokenRevokeTokenRequest$ {
95
- /** @deprecated use `Oauth2RevokeTokenRevokeTokenRequest$inboundSchema` instead. */
96
- export const inboundSchema =
97
- Oauth2RevokeTokenRevokeTokenRequest$inboundSchema;
98
- /** @deprecated use `Oauth2RevokeTokenRevokeTokenRequest$outboundSchema` instead. */
99
- export const outboundSchema =
100
- Oauth2RevokeTokenRevokeTokenRequest$outboundSchema;
101
- /** @deprecated use `Oauth2RevokeTokenRevokeTokenRequest$Outbound` instead. */
102
- export type Outbound = Oauth2RevokeTokenRevokeTokenRequest$Outbound;
94
+ export namespace RevokeTokenRequest$ {
95
+ /** @deprecated use `RevokeTokenRequest$inboundSchema` instead. */
96
+ export const inboundSchema = RevokeTokenRequest$inboundSchema;
97
+ /** @deprecated use `RevokeTokenRequest$outboundSchema` instead. */
98
+ export const outboundSchema = RevokeTokenRequest$outboundSchema;
99
+ /** @deprecated use `RevokeTokenRequest$Outbound` instead. */
100
+ export type Outbound = RevokeTokenRequest$Outbound;
103
101
  }
104
102
 
105
- export function oauth2RevokeTokenRevokeTokenRequestToJSON(
106
- oauth2RevokeTokenRevokeTokenRequest: Oauth2RevokeTokenRevokeTokenRequest,
103
+ export function revokeTokenRequestToJSON(
104
+ revokeTokenRequest: RevokeTokenRequest,
107
105
  ): string {
108
106
  return JSON.stringify(
109
- Oauth2RevokeTokenRevokeTokenRequest$outboundSchema.parse(
110
- oauth2RevokeTokenRevokeTokenRequest,
111
- ),
107
+ RevokeTokenRequest$outboundSchema.parse(revokeTokenRequest),
112
108
  );
113
109
  }
114
110
 
115
- export function oauth2RevokeTokenRevokeTokenRequestFromJSON(
111
+ export function revokeTokenRequestFromJSON(
116
112
  jsonString: string,
117
- ): SafeParseResult<Oauth2RevokeTokenRevokeTokenRequest, SDKValidationError> {
113
+ ): SafeParseResult<RevokeTokenRequest, SDKValidationError> {
118
114
  return safeParse(
119
115
  jsonString,
120
- (x) =>
121
- Oauth2RevokeTokenRevokeTokenRequest$inboundSchema.parse(JSON.parse(x)),
122
- `Failed to parse 'Oauth2RevokeTokenRevokeTokenRequest' from JSON`,
116
+ (x) => RevokeTokenRequest$inboundSchema.parse(JSON.parse(x)),
117
+ `Failed to parse 'RevokeTokenRequest' from JSON`,
123
118
  );
124
119
  }
@@ -36,6 +36,12 @@ import {
36
36
  DiscountPercentageRepeatDurationBase$Outbound,
37
37
  DiscountPercentageRepeatDurationBase$outboundSchema,
38
38
  } from "./discountpercentagerepeatdurationbase.js";
39
+ import {
40
+ LegacyRecurringProductPrice,
41
+ LegacyRecurringProductPrice$inboundSchema,
42
+ LegacyRecurringProductPrice$Outbound,
43
+ LegacyRecurringProductPrice$outboundSchema,
44
+ } from "./legacyrecurringproductprice.js";
39
45
  import {
40
46
  Product,
41
47
  Product$inboundSchema,
@@ -43,11 +49,11 @@ import {
43
49
  Product$outboundSchema,
44
50
  } from "./product.js";
45
51
  import {
46
- ProductPriceRecurring,
47
- ProductPriceRecurring$inboundSchema,
48
- ProductPriceRecurring$Outbound,
49
- ProductPriceRecurring$outboundSchema,
50
- } from "./productpricerecurring.js";
52
+ ProductPrice,
53
+ ProductPrice$inboundSchema,
54
+ ProductPrice$Outbound,
55
+ ProductPrice$outboundSchema,
56
+ } from "./productprice.js";
51
57
  import {
52
58
  SubscriptionCustomer,
53
59
  SubscriptionCustomer$inboundSchema,
@@ -75,6 +81,8 @@ export type Metadata = string | number | boolean;
75
81
 
76
82
  export type CustomFieldData = string | number | boolean | Date;
77
83
 
84
+ export type Price = LegacyRecurringProductPrice | ProductPrice;
85
+
78
86
  export type SubscriptionDiscount =
79
87
  | DiscountPercentageOnceForeverDurationBase
80
88
  | DiscountFixedOnceForeverDurationBase
@@ -129,7 +137,7 @@ export type Subscription = {
129
137
  * A product.
130
138
  */
131
139
  product: Product;
132
- price: ProductPriceRecurring;
140
+ price: LegacyRecurringProductPrice | ProductPrice;
133
141
  discount:
134
142
  | DiscountPercentageOnceForeverDurationBase
135
143
  | DiscountFixedOnceForeverDurationBase
@@ -238,6 +246,55 @@ export function customFieldDataFromJSON(
238
246
  );
239
247
  }
240
248
 
249
+ /** @internal */
250
+ export const Price$inboundSchema: z.ZodType<Price, z.ZodTypeDef, unknown> = z
251
+ .union([
252
+ LegacyRecurringProductPrice$inboundSchema,
253
+ ProductPrice$inboundSchema,
254
+ ]);
255
+
256
+ /** @internal */
257
+ export type Price$Outbound =
258
+ | LegacyRecurringProductPrice$Outbound
259
+ | ProductPrice$Outbound;
260
+
261
+ /** @internal */
262
+ export const Price$outboundSchema: z.ZodType<
263
+ Price$Outbound,
264
+ z.ZodTypeDef,
265
+ Price
266
+ > = z.union([
267
+ LegacyRecurringProductPrice$outboundSchema,
268
+ ProductPrice$outboundSchema,
269
+ ]);
270
+
271
+ /**
272
+ * @internal
273
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
274
+ */
275
+ export namespace Price$ {
276
+ /** @deprecated use `Price$inboundSchema` instead. */
277
+ export const inboundSchema = Price$inboundSchema;
278
+ /** @deprecated use `Price$outboundSchema` instead. */
279
+ export const outboundSchema = Price$outboundSchema;
280
+ /** @deprecated use `Price$Outbound` instead. */
281
+ export type Outbound = Price$Outbound;
282
+ }
283
+
284
+ export function priceToJSON(price: Price): string {
285
+ return JSON.stringify(Price$outboundSchema.parse(price));
286
+ }
287
+
288
+ export function priceFromJSON(
289
+ jsonString: string,
290
+ ): SafeParseResult<Price, SDKValidationError> {
291
+ return safeParse(
292
+ jsonString,
293
+ (x) => Price$inboundSchema.parse(JSON.parse(x)),
294
+ `Failed to parse 'Price' from JSON`,
295
+ );
296
+ }
297
+
241
298
  /** @internal */
242
299
  export const SubscriptionDiscount$inboundSchema: z.ZodType<
243
300
  SubscriptionDiscount,
@@ -356,7 +413,10 @@ export const Subscription$inboundSchema: z.ZodType<
356
413
  user_id: z.string(),
357
414
  user: SubscriptionUser$inboundSchema,
358
415
  product: Product$inboundSchema,
359
- price: ProductPriceRecurring$inboundSchema,
416
+ price: z.union([
417
+ LegacyRecurringProductPrice$inboundSchema,
418
+ ProductPrice$inboundSchema,
419
+ ]),
360
420
  discount: z.nullable(
361
421
  z.union([
362
422
  DiscountPercentageOnceForeverDurationBase$inboundSchema,
@@ -420,7 +480,7 @@ export type Subscription$Outbound = {
420
480
  user_id: string;
421
481
  user: SubscriptionUser$Outbound;
422
482
  product: Product$Outbound;
423
- price: ProductPriceRecurring$Outbound;
483
+ price: LegacyRecurringProductPrice$Outbound | ProductPrice$Outbound;
424
484
  discount:
425
485
  | DiscountPercentageOnceForeverDurationBase$Outbound
426
486
  | DiscountFixedOnceForeverDurationBase$Outbound
@@ -471,7 +531,10 @@ export const Subscription$outboundSchema: z.ZodType<
471
531
  userId: z.string(),
472
532
  user: SubscriptionUser$outboundSchema,
473
533
  product: Product$outboundSchema,
474
- price: ProductPriceRecurring$outboundSchema,
534
+ price: z.union([
535
+ LegacyRecurringProductPrice$outboundSchema,
536
+ ProductPrice$outboundSchema,
537
+ ]),
475
538
  discount: z.nullable(
476
539
  z.union([
477
540
  DiscountPercentageOnceForeverDurationBase$outboundSchema,
@@ -13,13 +13,13 @@ import {
13
13
  SubscriptionCancel$outboundSchema,
14
14
  } from "./subscriptioncancel.js";
15
15
  import {
16
- SubscriptionUpdatePrice,
17
- SubscriptionUpdatePrice$inboundSchema,
18
- SubscriptionUpdatePrice$Outbound,
19
- SubscriptionUpdatePrice$outboundSchema,
20
- } from "./subscriptionupdateprice.js";
16
+ SubscriptionUpdateProduct,
17
+ SubscriptionUpdateProduct$inboundSchema,
18
+ SubscriptionUpdateProduct$Outbound,
19
+ SubscriptionUpdateProduct$outboundSchema,
20
+ } from "./subscriptionupdateproduct.js";
21
21
 
22
- export type SubscriptionUpdate = SubscriptionUpdatePrice | SubscriptionCancel;
22
+ export type SubscriptionUpdate = SubscriptionUpdateProduct | SubscriptionCancel;
23
23
 
24
24
  /** @internal */
25
25
  export const SubscriptionUpdate$inboundSchema: z.ZodType<
@@ -27,13 +27,13 @@ export const SubscriptionUpdate$inboundSchema: z.ZodType<
27
27
  z.ZodTypeDef,
28
28
  unknown
29
29
  > = z.union([
30
- SubscriptionUpdatePrice$inboundSchema,
30
+ SubscriptionUpdateProduct$inboundSchema,
31
31
  SubscriptionCancel$inboundSchema,
32
32
  ]);
33
33
 
34
34
  /** @internal */
35
35
  export type SubscriptionUpdate$Outbound =
36
- | SubscriptionUpdatePrice$Outbound
36
+ | SubscriptionUpdateProduct$Outbound
37
37
  | SubscriptionCancel$Outbound;
38
38
 
39
39
  /** @internal */
@@ -42,7 +42,7 @@ export const SubscriptionUpdate$outboundSchema: z.ZodType<
42
42
  z.ZodTypeDef,
43
43
  SubscriptionUpdate
44
44
  > = z.union([
45
- SubscriptionUpdatePrice$outboundSchema,
45
+ SubscriptionUpdateProduct$outboundSchema,
46
46
  SubscriptionCancel$outboundSchema,
47
47
  ]);
48
48