@polar-sh/sdk 0.25.1 → 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 (1603) 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 +10 -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 +18 -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 +10 -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 +10 -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 +10 -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 +18 -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 +18 -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 +10 -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 +12 -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 +10 -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 +10 -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 +18 -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 +10 -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 +10 -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 +10 -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 +10 -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 +10 -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 +10 -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 +18 -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 +10 -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 +10 -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 +10 -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 +10 -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 +18 -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 +10 -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 +10 -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 +18 -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 +10 -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 +10 -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 +10 -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 +18 -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 +10 -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 +10 -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 +10 -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 +18 -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 +10 -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 +10 -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 +10 -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 +18 -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 +12 -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 +10 -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 +10 -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 +18 -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 +10 -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 +10 -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 +10 -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 +10 -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 +10 -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 +18 -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 +10 -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 +10 -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 +10 -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 +10 -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 +18 -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 +10 -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 +10 -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 +10 -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 +18 -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 +18 -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 +10 -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 +10 -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 +18 -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 +10 -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 +10 -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 +10 -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 +10 -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 +18 -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 +10 -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 +10 -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 +18 -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 +10 -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 +18 -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 +10 -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 +10 -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 +11 -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 +9 -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 +9 -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 +10 -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 +10 -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 +10 -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 +18 -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 +10 -6
  329. package/dist/commonjs/funcs/oauth2ClientsUpdate.js.map +1 -1
  330. package/dist/commonjs/funcs/oauth2Introspect.d.ts +2 -1
  331. package/dist/commonjs/funcs/oauth2Introspect.d.ts.map +1 -1
  332. package/dist/commonjs/funcs/oauth2Introspect.js +10 -6
  333. package/dist/commonjs/funcs/oauth2Introspect.js.map +1 -1
  334. package/dist/commonjs/funcs/oauth2Revoke.d.ts +2 -1
  335. package/dist/commonjs/funcs/oauth2Revoke.d.ts.map +1 -1
  336. package/dist/commonjs/funcs/oauth2Revoke.js +10 -6
  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 +10 -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 +9 -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 +10 -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 +10 -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 +18 -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 +10 -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 +10 -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 +18 -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 +10 -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 +10 -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 +10 -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 +18 -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 +10 -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 +10 -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 +10 -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 +18 -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 +10 -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 +18 -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 +10 -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 +10 -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 +10 -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 +18 -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 +10 -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 +10 -6
  433. package/dist/commonjs/funcs/subscriptionsUpdate.js.map +1 -1
  434. package/dist/commonjs/lib/config.d.ts +3 -3
  435. package/dist/commonjs/lib/config.js +3 -3
  436. package/dist/commonjs/models/components/checkout.d.ts +35 -2
  437. package/dist/commonjs/models/components/checkout.d.ts.map +1 -1
  438. package/dist/commonjs/models/components/checkout.js +41 -3
  439. package/dist/commonjs/models/components/checkout.js.map +1 -1
  440. package/dist/commonjs/models/components/checkoutconfirmstripe.d.ts +8 -1
  441. package/dist/commonjs/models/components/checkoutconfirmstripe.d.ts.map +1 -1
  442. package/dist/commonjs/models/components/checkoutconfirmstripe.js +4 -0
  443. package/dist/commonjs/models/components/checkoutconfirmstripe.js.map +1 -1
  444. package/dist/commonjs/models/components/checkoutcreate.d.ts +3 -2
  445. package/dist/commonjs/models/components/checkoutcreate.d.ts.map +1 -1
  446. package/dist/commonjs/models/components/checkoutcreate.js +3 -0
  447. package/dist/commonjs/models/components/checkoutcreate.js.map +1 -1
  448. package/dist/commonjs/models/components/checkoutlink.d.ts +47 -12
  449. package/dist/commonjs/models/components/checkoutlink.d.ts.map +1 -1
  450. package/dist/commonjs/models/components/checkoutlink.js +53 -11
  451. package/dist/commonjs/models/components/checkoutlink.js.map +1 -1
  452. package/dist/{esm/models/components/checkoutlinkproductcreate.d.ts → commonjs/models/components/checkoutlinkcreateproduct.d.ts} +34 -30
  453. package/dist/commonjs/models/components/checkoutlinkcreateproduct.d.ts.map +1 -0
  454. package/dist/commonjs/models/components/{checkoutlinkproductcreate.js → checkoutlinkcreateproduct.js} +32 -32
  455. package/dist/commonjs/models/components/{checkoutlinkproductcreate.js.map → checkoutlinkcreateproduct.js.map} +1 -1
  456. package/dist/commonjs/models/components/checkoutlinkcreateproductprice.d.ts +102 -0
  457. package/dist/commonjs/models/components/checkoutlinkcreateproductprice.d.ts.map +1 -0
  458. package/dist/commonjs/models/components/{checkoutlinkpricecreate.js → checkoutlinkcreateproductprice.js} +32 -32
  459. package/dist/commonjs/models/components/checkoutlinkcreateproductprice.js.map +1 -0
  460. package/dist/commonjs/models/components/checkoutlinkcreateproducts.d.ts +101 -0
  461. package/dist/commonjs/models/components/checkoutlinkcreateproducts.d.ts.map +1 -0
  462. package/dist/commonjs/models/components/checkoutlinkcreateproducts.js +111 -0
  463. package/dist/commonjs/models/components/checkoutlinkcreateproducts.js.map +1 -0
  464. package/dist/commonjs/models/components/checkoutlinkproduct.d.ts +31 -3
  465. package/dist/commonjs/models/components/checkoutlinkproduct.d.ts.map +1 -1
  466. package/dist/commonjs/models/components/checkoutlinkproduct.js +44 -3
  467. package/dist/commonjs/models/components/checkoutlinkproduct.js.map +1 -1
  468. package/dist/commonjs/models/components/checkoutlinksortproperty.d.ts +18 -0
  469. package/dist/commonjs/models/components/checkoutlinksortproperty.d.ts.map +1 -1
  470. package/dist/commonjs/models/components/checkoutlinksortproperty.js +6 -0
  471. package/dist/commonjs/models/components/checkoutlinksortproperty.js.map +1 -1
  472. package/dist/commonjs/models/components/checkoutlinkupdate.d.ts +5 -2
  473. package/dist/commonjs/models/components/checkoutlinkupdate.d.ts.map +1 -1
  474. package/dist/commonjs/models/components/checkoutlinkupdate.js +2 -4
  475. package/dist/commonjs/models/components/checkoutlinkupdate.js.map +1 -1
  476. package/dist/commonjs/models/components/checkoutpricecreate.d.ts +2 -0
  477. package/dist/commonjs/models/components/checkoutpricecreate.d.ts.map +1 -1
  478. package/dist/commonjs/models/components/checkoutpricecreate.js.map +1 -1
  479. package/dist/commonjs/models/components/checkoutproduct.d.ts +31 -3
  480. package/dist/commonjs/models/components/checkoutproduct.d.ts.map +1 -1
  481. package/dist/commonjs/models/components/checkoutproduct.js +44 -3
  482. package/dist/commonjs/models/components/checkoutproduct.js.map +1 -1
  483. package/dist/commonjs/models/components/checkoutproductcreate.d.ts +2 -0
  484. package/dist/commonjs/models/components/checkoutproductcreate.d.ts.map +1 -1
  485. package/dist/commonjs/models/components/checkoutproductcreate.js.map +1 -1
  486. package/dist/commonjs/models/components/checkoutproductscreate.d.ts +196 -0
  487. package/dist/commonjs/models/components/checkoutproductscreate.d.ts.map +1 -0
  488. package/dist/commonjs/models/components/checkoutproductscreate.js +214 -0
  489. package/dist/commonjs/models/components/checkoutproductscreate.js.map +1 -0
  490. package/dist/commonjs/models/components/checkoutpublic.d.ts +35 -2
  491. package/dist/commonjs/models/components/checkoutpublic.d.ts.map +1 -1
  492. package/dist/commonjs/models/components/checkoutpublic.js +41 -3
  493. package/dist/commonjs/models/components/checkoutpublic.js.map +1 -1
  494. package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts +35 -2
  495. package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
  496. package/dist/commonjs/models/components/checkoutpublicconfirmed.js +41 -3
  497. package/dist/commonjs/models/components/checkoutpublicconfirmed.js.map +1 -1
  498. package/dist/commonjs/models/components/checkoutupdate.d.ts +8 -1
  499. package/dist/commonjs/models/components/checkoutupdate.d.ts.map +1 -1
  500. package/dist/commonjs/models/components/checkoutupdate.js +4 -0
  501. package/dist/commonjs/models/components/checkoutupdate.js.map +1 -1
  502. package/dist/commonjs/models/components/checkoutupdatepublic.d.ts +8 -1
  503. package/dist/commonjs/models/components/checkoutupdatepublic.d.ts.map +1 -1
  504. package/dist/commonjs/models/components/checkoutupdatepublic.js +4 -0
  505. package/dist/commonjs/models/components/checkoutupdatepublic.js.map +1 -1
  506. package/dist/commonjs/models/components/customerorder.d.ts +24 -2
  507. package/dist/commonjs/models/components/customerorder.d.ts.map +1 -1
  508. package/dist/commonjs/models/components/customerorder.js +39 -3
  509. package/dist/commonjs/models/components/customerorder.js.map +1 -1
  510. package/dist/commonjs/models/components/customerorderproduct.d.ts +31 -3
  511. package/dist/commonjs/models/components/customerorderproduct.d.ts.map +1 -1
  512. package/dist/commonjs/models/components/customerorderproduct.js +44 -3
  513. package/dist/commonjs/models/components/customerorderproduct.js.map +1 -1
  514. package/dist/commonjs/models/components/customerorganization.d.ts +36 -0
  515. package/dist/commonjs/models/components/customerorganization.d.ts.map +1 -0
  516. package/dist/commonjs/models/components/customerorganization.js +63 -0
  517. package/dist/commonjs/models/components/customerorganization.js.map +1 -0
  518. package/dist/commonjs/models/components/customerproduct.d.ts +116 -0
  519. package/dist/commonjs/models/components/customerproduct.d.ts.map +1 -0
  520. package/dist/commonjs/models/components/customerproduct.js +140 -0
  521. package/dist/commonjs/models/components/customerproduct.js.map +1 -0
  522. package/dist/commonjs/models/components/customersubscription.d.ts +24 -2
  523. package/dist/commonjs/models/components/customersubscription.d.ts.map +1 -1
  524. package/dist/commonjs/models/components/customersubscription.js +39 -3
  525. package/dist/commonjs/models/components/customersubscription.js.map +1 -1
  526. package/dist/commonjs/models/components/customersubscriptionproduct.d.ts +31 -3
  527. package/dist/commonjs/models/components/customersubscriptionproduct.d.ts.map +1 -1
  528. package/dist/commonjs/models/components/customersubscriptionproduct.js +44 -3
  529. package/dist/commonjs/models/components/customersubscriptionproduct.js.map +1 -1
  530. package/dist/commonjs/models/components/customersubscriptionupdate.d.ts +3 -3
  531. package/dist/commonjs/models/components/customersubscriptionupdate.d.ts.map +1 -1
  532. package/dist/commonjs/models/components/customersubscriptionupdate.js +3 -3
  533. package/dist/commonjs/models/components/customersubscriptionupdate.js.map +1 -1
  534. package/dist/commonjs/models/components/customersubscriptionupdateproduct.d.ts +32 -0
  535. package/dist/commonjs/models/components/customersubscriptionupdateproduct.d.ts.map +1 -0
  536. package/dist/commonjs/models/components/{customersubscriptionupdateprice.js → customersubscriptionupdateproduct.js} +21 -21
  537. package/dist/commonjs/models/components/customersubscriptionupdateproduct.js.map +1 -0
  538. package/dist/commonjs/models/components/discountproduct.d.ts +7 -1
  539. package/dist/commonjs/models/components/discountproduct.d.ts.map +1 -1
  540. package/dist/commonjs/models/components/discountproduct.js +5 -0
  541. package/dist/commonjs/models/components/discountproduct.js.map +1 -1
  542. package/dist/commonjs/models/components/legacyrecurringproductprice.d.ts +40 -0
  543. package/dist/commonjs/models/components/legacyrecurringproductprice.d.ts.map +1 -0
  544. package/dist/commonjs/models/components/legacyrecurringproductprice.js +78 -0
  545. package/dist/commonjs/models/components/legacyrecurringproductprice.js.map +1 -0
  546. package/dist/commonjs/models/components/{productpricerecurringcustom.d.ts → legacyrecurringproductpricecustom.d.ts} +27 -21
  547. package/dist/commonjs/models/components/legacyrecurringproductpricecustom.d.ts.map +1 -0
  548. package/dist/commonjs/models/components/{productpricerecurringcustom.js → legacyrecurringproductpricecustom.js} +25 -23
  549. package/dist/commonjs/models/components/legacyrecurringproductpricecustom.js.map +1 -0
  550. package/dist/commonjs/models/components/legacyrecurringproductpricefixed.d.ts +81 -0
  551. package/dist/commonjs/models/components/legacyrecurringproductpricefixed.d.ts.map +1 -0
  552. package/dist/commonjs/models/components/{productpricerecurringfixed.js → legacyrecurringproductpricefixed.js} +25 -23
  553. package/dist/commonjs/models/components/legacyrecurringproductpricefixed.js.map +1 -0
  554. package/dist/commonjs/models/components/legacyrecurringproductpricefree.d.ts +71 -0
  555. package/dist/commonjs/models/components/legacyrecurringproductpricefree.d.ts.map +1 -0
  556. package/dist/commonjs/models/components/{productpricerecurringfree.js → legacyrecurringproductpricefree.js} +19 -17
  557. package/dist/commonjs/models/components/legacyrecurringproductpricefree.js.map +1 -0
  558. package/dist/commonjs/models/components/order.d.ts +24 -2
  559. package/dist/commonjs/models/components/order.d.ts.map +1 -1
  560. package/dist/commonjs/models/components/order.js +39 -3
  561. package/dist/commonjs/models/components/order.js.map +1 -1
  562. package/dist/commonjs/models/components/orderproduct.d.ts +7 -1
  563. package/dist/commonjs/models/components/orderproduct.d.ts.map +1 -1
  564. package/dist/commonjs/models/components/orderproduct.js +5 -0
  565. package/dist/commonjs/models/components/orderproduct.js.map +1 -1
  566. package/dist/commonjs/models/components/product.d.ts +31 -3
  567. package/dist/commonjs/models/components/product.d.ts.map +1 -1
  568. package/dist/commonjs/models/components/product.js +45 -3
  569. package/dist/commonjs/models/components/product.js.map +1 -1
  570. package/dist/commonjs/models/components/productbillingtype.d.ts +28 -0
  571. package/dist/commonjs/models/components/productbillingtype.d.ts.map +1 -0
  572. package/dist/commonjs/models/components/productbillingtype.js +50 -0
  573. package/dist/commonjs/models/components/productbillingtype.js.map +1 -0
  574. package/dist/commonjs/models/components/productcreate.d.ts +109 -4
  575. package/dist/commonjs/models/components/productcreate.d.ts.map +1 -1
  576. package/dist/commonjs/models/components/productcreate.js +103 -9
  577. package/dist/commonjs/models/components/productcreate.js.map +1 -1
  578. package/dist/commonjs/models/components/productprice.d.ts +5 -4
  579. package/dist/commonjs/models/components/productprice.d.ts.map +1 -1
  580. package/dist/commonjs/models/components/productprice.js +9 -6
  581. package/dist/commonjs/models/components/productprice.js.map +1 -1
  582. package/dist/commonjs/models/components/productpricecustom.d.ts +86 -0
  583. package/dist/commonjs/models/components/productpricecustom.d.ts.map +1 -0
  584. package/dist/commonjs/models/components/{productpriceonetimecustom.js → productpricecustom.js} +25 -19
  585. package/dist/commonjs/models/components/productpricecustom.js.map +1 -0
  586. package/dist/commonjs/models/components/productpricecustomcreate.d.ts +52 -0
  587. package/dist/commonjs/models/components/productpricecustomcreate.d.ts.map +1 -0
  588. package/dist/commonjs/models/components/{productpriceonetimecustomcreate.js → productpricecustomcreate.js} +17 -19
  589. package/dist/commonjs/models/components/productpricecustomcreate.js.map +1 -0
  590. package/dist/commonjs/models/components/productpricefixed.d.ts +76 -0
  591. package/dist/commonjs/models/components/productpricefixed.d.ts.map +1 -0
  592. package/dist/commonjs/models/components/{productpriceonetimefixed.js → productpricefixed.js} +25 -19
  593. package/dist/commonjs/models/components/productpricefixed.js.map +1 -0
  594. package/dist/commonjs/models/components/productpricefixedcreate.d.ts +42 -0
  595. package/dist/commonjs/models/components/productpricefixedcreate.d.ts.map +1 -0
  596. package/dist/commonjs/models/components/{productpriceonetimefixedcreate.js → productpricefixedcreate.js} +17 -19
  597. package/dist/commonjs/models/components/productpricefixedcreate.js.map +1 -0
  598. package/dist/commonjs/models/components/productpricefree.d.ts +66 -0
  599. package/dist/commonjs/models/components/productpricefree.d.ts.map +1 -0
  600. package/dist/commonjs/models/components/{productpriceonetimefree.js → productpricefree.js} +25 -19
  601. package/dist/commonjs/models/components/productpricefree.js.map +1 -0
  602. package/dist/commonjs/models/components/productpricefreecreate.d.ts +32 -0
  603. package/dist/commonjs/models/components/productpricefreecreate.d.ts.map +1 -0
  604. package/dist/commonjs/models/components/{productpriceonetimefreecreate.js → productpricefreecreate.js} +17 -19
  605. package/dist/commonjs/models/components/productpricefreecreate.js.map +1 -0
  606. package/dist/commonjs/models/components/productsortproperty.d.ts +0 -6
  607. package/dist/commonjs/models/components/productsortproperty.d.ts.map +1 -1
  608. package/dist/commonjs/models/components/productsortproperty.js +0 -2
  609. package/dist/commonjs/models/components/productsortproperty.js.map +1 -1
  610. package/dist/commonjs/models/components/productupdate.d.ts +13 -9
  611. package/dist/commonjs/models/components/productupdate.d.ts.map +1 -1
  612. package/dist/commonjs/models/components/productupdate.js +22 -25
  613. package/dist/commonjs/models/components/productupdate.js.map +1 -1
  614. package/dist/commonjs/models/components/subscription.d.ts +25 -3
  615. package/dist/commonjs/models/components/subscription.d.ts.map +1 -1
  616. package/dist/commonjs/models/components/subscription.js +41 -4
  617. package/dist/commonjs/models/components/subscription.js.map +1 -1
  618. package/dist/commonjs/models/components/subscriptionupdate.d.ts +3 -3
  619. package/dist/commonjs/models/components/subscriptionupdate.d.ts.map +1 -1
  620. package/dist/commonjs/models/components/subscriptionupdate.js +3 -3
  621. package/dist/commonjs/models/components/subscriptionupdate.js.map +1 -1
  622. package/dist/commonjs/models/components/subscriptionupdateproduct.d.ts +38 -0
  623. package/dist/commonjs/models/components/subscriptionupdateproduct.d.ts.map +1 -0
  624. package/dist/commonjs/models/components/{subscriptionupdateprice.js → subscriptionupdateproduct.js} +21 -21
  625. package/dist/commonjs/models/components/subscriptionupdateproduct.js.map +1 -0
  626. package/dist/commonjs/models/operations/checkoutlinkscreate.d.ts +28 -0
  627. package/dist/commonjs/models/operations/checkoutlinkscreate.d.ts.map +1 -0
  628. package/dist/commonjs/models/operations/checkoutlinkscreate.js +66 -0
  629. package/dist/commonjs/models/operations/checkoutlinkscreate.js.map +1 -0
  630. package/dist/commonjs/models/operations/customerportalorderslist.d.ts +13 -13
  631. package/dist/commonjs/models/operations/customerportalorderslist.d.ts.map +1 -1
  632. package/dist/commonjs/models/operations/customerportalorderslist.js +16 -18
  633. package/dist/commonjs/models/operations/customerportalorderslist.js.map +1 -1
  634. package/dist/commonjs/models/operations/metricsget.d.ts +18 -18
  635. package/dist/commonjs/models/operations/metricsget.d.ts.map +1 -1
  636. package/dist/commonjs/models/operations/metricsget.js +29 -29
  637. package/dist/commonjs/models/operations/metricsget.js.map +1 -1
  638. package/dist/commonjs/sdk/checkoutlinks.d.ts +2 -2
  639. package/dist/commonjs/sdk/checkoutlinks.d.ts.map +1 -1
  640. package/dist/commonjs/sdk/checkoutlinks.js.map +1 -1
  641. package/dist/commonjs/sdk/polarorganizations.d.ts +2 -2
  642. package/dist/commonjs/sdk/polarorganizations.d.ts.map +1 -1
  643. package/dist/commonjs/types/async.d.ts +23 -0
  644. package/dist/commonjs/types/async.d.ts.map +1 -0
  645. package/dist/commonjs/types/async.js +44 -0
  646. package/dist/commonjs/types/async.js.map +1 -0
  647. package/dist/esm/funcs/advertisementsGet.d.ts +2 -1
  648. package/dist/esm/funcs/advertisementsGet.d.ts.map +1 -1
  649. package/dist/esm/funcs/advertisementsGet.js +10 -6
  650. package/dist/esm/funcs/advertisementsGet.js.map +1 -1
  651. package/dist/esm/funcs/advertisementsList.d.ts +2 -1
  652. package/dist/esm/funcs/advertisementsList.d.ts.map +1 -1
  653. package/dist/esm/funcs/advertisementsList.js +18 -6
  654. package/dist/esm/funcs/advertisementsList.js.map +1 -1
  655. package/dist/esm/funcs/benefitsCreate.d.ts +2 -1
  656. package/dist/esm/funcs/benefitsCreate.d.ts.map +1 -1
  657. package/dist/esm/funcs/benefitsCreate.js +10 -6
  658. package/dist/esm/funcs/benefitsCreate.js.map +1 -1
  659. package/dist/esm/funcs/benefitsDelete.d.ts +2 -1
  660. package/dist/esm/funcs/benefitsDelete.d.ts.map +1 -1
  661. package/dist/esm/funcs/benefitsDelete.js +10 -6
  662. package/dist/esm/funcs/benefitsDelete.js.map +1 -1
  663. package/dist/esm/funcs/benefitsGet.d.ts +2 -1
  664. package/dist/esm/funcs/benefitsGet.d.ts.map +1 -1
  665. package/dist/esm/funcs/benefitsGet.js +10 -6
  666. package/dist/esm/funcs/benefitsGet.js.map +1 -1
  667. package/dist/esm/funcs/benefitsGrants.d.ts +2 -1
  668. package/dist/esm/funcs/benefitsGrants.d.ts.map +1 -1
  669. package/dist/esm/funcs/benefitsGrants.js +18 -6
  670. package/dist/esm/funcs/benefitsGrants.js.map +1 -1
  671. package/dist/esm/funcs/benefitsList.d.ts +2 -1
  672. package/dist/esm/funcs/benefitsList.d.ts.map +1 -1
  673. package/dist/esm/funcs/benefitsList.js +18 -6
  674. package/dist/esm/funcs/benefitsList.js.map +1 -1
  675. package/dist/esm/funcs/benefitsUpdate.d.ts +2 -1
  676. package/dist/esm/funcs/benefitsUpdate.d.ts.map +1 -1
  677. package/dist/esm/funcs/benefitsUpdate.js +10 -6
  678. package/dist/esm/funcs/benefitsUpdate.js.map +1 -1
  679. package/dist/esm/funcs/checkoutLinksCreate.d.ts +3 -2
  680. package/dist/esm/funcs/checkoutLinksCreate.d.ts.map +1 -1
  681. package/dist/esm/funcs/checkoutLinksCreate.js +12 -8
  682. package/dist/esm/funcs/checkoutLinksCreate.js.map +1 -1
  683. package/dist/esm/funcs/checkoutLinksDelete.d.ts +2 -1
  684. package/dist/esm/funcs/checkoutLinksDelete.d.ts.map +1 -1
  685. package/dist/esm/funcs/checkoutLinksDelete.js +10 -6
  686. package/dist/esm/funcs/checkoutLinksDelete.js.map +1 -1
  687. package/dist/esm/funcs/checkoutLinksGet.d.ts +2 -1
  688. package/dist/esm/funcs/checkoutLinksGet.d.ts.map +1 -1
  689. package/dist/esm/funcs/checkoutLinksGet.js +10 -6
  690. package/dist/esm/funcs/checkoutLinksGet.js.map +1 -1
  691. package/dist/esm/funcs/checkoutLinksList.d.ts +2 -1
  692. package/dist/esm/funcs/checkoutLinksList.d.ts.map +1 -1
  693. package/dist/esm/funcs/checkoutLinksList.js +18 -6
  694. package/dist/esm/funcs/checkoutLinksList.js.map +1 -1
  695. package/dist/esm/funcs/checkoutLinksUpdate.d.ts +2 -1
  696. package/dist/esm/funcs/checkoutLinksUpdate.d.ts.map +1 -1
  697. package/dist/esm/funcs/checkoutLinksUpdate.js +10 -6
  698. package/dist/esm/funcs/checkoutLinksUpdate.js.map +1 -1
  699. package/dist/esm/funcs/checkoutsClientConfirm.d.ts +2 -1
  700. package/dist/esm/funcs/checkoutsClientConfirm.d.ts.map +1 -1
  701. package/dist/esm/funcs/checkoutsClientConfirm.js +10 -6
  702. package/dist/esm/funcs/checkoutsClientConfirm.js.map +1 -1
  703. package/dist/esm/funcs/checkoutsClientGet.d.ts +2 -1
  704. package/dist/esm/funcs/checkoutsClientGet.d.ts.map +1 -1
  705. package/dist/esm/funcs/checkoutsClientGet.js +10 -6
  706. package/dist/esm/funcs/checkoutsClientGet.js.map +1 -1
  707. package/dist/esm/funcs/checkoutsClientUpdate.d.ts +2 -1
  708. package/dist/esm/funcs/checkoutsClientUpdate.d.ts.map +1 -1
  709. package/dist/esm/funcs/checkoutsClientUpdate.js +10 -6
  710. package/dist/esm/funcs/checkoutsClientUpdate.js.map +1 -1
  711. package/dist/esm/funcs/checkoutsCreate.d.ts +2 -1
  712. package/dist/esm/funcs/checkoutsCreate.d.ts.map +1 -1
  713. package/dist/esm/funcs/checkoutsCreate.js +10 -6
  714. package/dist/esm/funcs/checkoutsCreate.js.map +1 -1
  715. package/dist/esm/funcs/checkoutsGet.d.ts +2 -1
  716. package/dist/esm/funcs/checkoutsGet.d.ts.map +1 -1
  717. package/dist/esm/funcs/checkoutsGet.js +10 -6
  718. package/dist/esm/funcs/checkoutsGet.js.map +1 -1
  719. package/dist/esm/funcs/checkoutsList.d.ts +2 -1
  720. package/dist/esm/funcs/checkoutsList.d.ts.map +1 -1
  721. package/dist/esm/funcs/checkoutsList.js +18 -6
  722. package/dist/esm/funcs/checkoutsList.js.map +1 -1
  723. package/dist/esm/funcs/checkoutsUpdate.d.ts +2 -1
  724. package/dist/esm/funcs/checkoutsUpdate.d.ts.map +1 -1
  725. package/dist/esm/funcs/checkoutsUpdate.js +10 -6
  726. package/dist/esm/funcs/checkoutsUpdate.js.map +1 -1
  727. package/dist/esm/funcs/customFieldsCreate.d.ts +2 -1
  728. package/dist/esm/funcs/customFieldsCreate.d.ts.map +1 -1
  729. package/dist/esm/funcs/customFieldsCreate.js +10 -6
  730. package/dist/esm/funcs/customFieldsCreate.js.map +1 -1
  731. package/dist/esm/funcs/customFieldsDelete.d.ts +2 -1
  732. package/dist/esm/funcs/customFieldsDelete.d.ts.map +1 -1
  733. package/dist/esm/funcs/customFieldsDelete.js +10 -6
  734. package/dist/esm/funcs/customFieldsDelete.js.map +1 -1
  735. package/dist/esm/funcs/customFieldsGet.d.ts +2 -1
  736. package/dist/esm/funcs/customFieldsGet.d.ts.map +1 -1
  737. package/dist/esm/funcs/customFieldsGet.js +10 -6
  738. package/dist/esm/funcs/customFieldsGet.js.map +1 -1
  739. package/dist/esm/funcs/customFieldsList.d.ts +2 -1
  740. package/dist/esm/funcs/customFieldsList.d.ts.map +1 -1
  741. package/dist/esm/funcs/customFieldsList.js +18 -6
  742. package/dist/esm/funcs/customFieldsList.js.map +1 -1
  743. package/dist/esm/funcs/customFieldsUpdate.d.ts +2 -1
  744. package/dist/esm/funcs/customFieldsUpdate.d.ts.map +1 -1
  745. package/dist/esm/funcs/customFieldsUpdate.js +10 -6
  746. package/dist/esm/funcs/customFieldsUpdate.js.map +1 -1
  747. package/dist/esm/funcs/customerPortalBenefitGrantsGet.d.ts +2 -1
  748. package/dist/esm/funcs/customerPortalBenefitGrantsGet.d.ts.map +1 -1
  749. package/dist/esm/funcs/customerPortalBenefitGrantsGet.js +10 -6
  750. package/dist/esm/funcs/customerPortalBenefitGrantsGet.js.map +1 -1
  751. package/dist/esm/funcs/customerPortalBenefitGrantsList.d.ts +2 -1
  752. package/dist/esm/funcs/customerPortalBenefitGrantsList.d.ts.map +1 -1
  753. package/dist/esm/funcs/customerPortalBenefitGrantsList.js +18 -6
  754. package/dist/esm/funcs/customerPortalBenefitGrantsList.js.map +1 -1
  755. package/dist/esm/funcs/customerPortalBenefitGrantsUpdate.d.ts +2 -1
  756. package/dist/esm/funcs/customerPortalBenefitGrantsUpdate.d.ts.map +1 -1
  757. package/dist/esm/funcs/customerPortalBenefitGrantsUpdate.js +10 -6
  758. package/dist/esm/funcs/customerPortalBenefitGrantsUpdate.js.map +1 -1
  759. package/dist/esm/funcs/customerPortalCustomersGet.d.ts +2 -1
  760. package/dist/esm/funcs/customerPortalCustomersGet.d.ts.map +1 -1
  761. package/dist/esm/funcs/customerPortalCustomersGet.js +10 -6
  762. package/dist/esm/funcs/customerPortalCustomersGet.js.map +1 -1
  763. package/dist/esm/funcs/customerPortalDownloadablesGet.d.ts +2 -1
  764. package/dist/esm/funcs/customerPortalDownloadablesGet.d.ts.map +1 -1
  765. package/dist/esm/funcs/customerPortalDownloadablesGet.js +10 -6
  766. package/dist/esm/funcs/customerPortalDownloadablesGet.js.map +1 -1
  767. package/dist/esm/funcs/customerPortalDownloadablesList.d.ts +2 -1
  768. package/dist/esm/funcs/customerPortalDownloadablesList.d.ts.map +1 -1
  769. package/dist/esm/funcs/customerPortalDownloadablesList.js +18 -6
  770. package/dist/esm/funcs/customerPortalDownloadablesList.js.map +1 -1
  771. package/dist/esm/funcs/customerPortalLicenseKeysActivate.d.ts +2 -1
  772. package/dist/esm/funcs/customerPortalLicenseKeysActivate.d.ts.map +1 -1
  773. package/dist/esm/funcs/customerPortalLicenseKeysActivate.js +10 -6
  774. package/dist/esm/funcs/customerPortalLicenseKeysActivate.js.map +1 -1
  775. package/dist/esm/funcs/customerPortalLicenseKeysDeactivate.d.ts +2 -1
  776. package/dist/esm/funcs/customerPortalLicenseKeysDeactivate.d.ts.map +1 -1
  777. package/dist/esm/funcs/customerPortalLicenseKeysDeactivate.js +10 -6
  778. package/dist/esm/funcs/customerPortalLicenseKeysDeactivate.js.map +1 -1
  779. package/dist/esm/funcs/customerPortalLicenseKeysGet.d.ts +2 -1
  780. package/dist/esm/funcs/customerPortalLicenseKeysGet.d.ts.map +1 -1
  781. package/dist/esm/funcs/customerPortalLicenseKeysGet.js +10 -6
  782. package/dist/esm/funcs/customerPortalLicenseKeysGet.js.map +1 -1
  783. package/dist/esm/funcs/customerPortalLicenseKeysList.d.ts +2 -1
  784. package/dist/esm/funcs/customerPortalLicenseKeysList.d.ts.map +1 -1
  785. package/dist/esm/funcs/customerPortalLicenseKeysList.js +18 -6
  786. package/dist/esm/funcs/customerPortalLicenseKeysList.js.map +1 -1
  787. package/dist/esm/funcs/customerPortalLicenseKeysValidate.d.ts +2 -1
  788. package/dist/esm/funcs/customerPortalLicenseKeysValidate.d.ts.map +1 -1
  789. package/dist/esm/funcs/customerPortalLicenseKeysValidate.js +10 -6
  790. package/dist/esm/funcs/customerPortalLicenseKeysValidate.js.map +1 -1
  791. package/dist/esm/funcs/customerPortalOrdersGet.d.ts +2 -1
  792. package/dist/esm/funcs/customerPortalOrdersGet.d.ts.map +1 -1
  793. package/dist/esm/funcs/customerPortalOrdersGet.js +10 -6
  794. package/dist/esm/funcs/customerPortalOrdersGet.js.map +1 -1
  795. package/dist/esm/funcs/customerPortalOrdersInvoice.d.ts +2 -1
  796. package/dist/esm/funcs/customerPortalOrdersInvoice.d.ts.map +1 -1
  797. package/dist/esm/funcs/customerPortalOrdersInvoice.js +10 -6
  798. package/dist/esm/funcs/customerPortalOrdersInvoice.js.map +1 -1
  799. package/dist/esm/funcs/customerPortalOrdersList.d.ts +2 -1
  800. package/dist/esm/funcs/customerPortalOrdersList.d.ts.map +1 -1
  801. package/dist/esm/funcs/customerPortalOrdersList.js +18 -6
  802. package/dist/esm/funcs/customerPortalOrdersList.js.map +1 -1
  803. package/dist/esm/funcs/customerPortalOrganizationsGet.d.ts +3 -2
  804. package/dist/esm/funcs/customerPortalOrganizationsGet.d.ts.map +1 -1
  805. package/dist/esm/funcs/customerPortalOrganizationsGet.js +12 -8
  806. package/dist/esm/funcs/customerPortalOrganizationsGet.js.map +1 -1
  807. package/dist/esm/funcs/customerPortalSubscriptionsCancel.d.ts +2 -1
  808. package/dist/esm/funcs/customerPortalSubscriptionsCancel.d.ts.map +1 -1
  809. package/dist/esm/funcs/customerPortalSubscriptionsCancel.js +10 -6
  810. package/dist/esm/funcs/customerPortalSubscriptionsCancel.js.map +1 -1
  811. package/dist/esm/funcs/customerPortalSubscriptionsGet.d.ts +2 -1
  812. package/dist/esm/funcs/customerPortalSubscriptionsGet.d.ts.map +1 -1
  813. package/dist/esm/funcs/customerPortalSubscriptionsGet.js +10 -6
  814. package/dist/esm/funcs/customerPortalSubscriptionsGet.js.map +1 -1
  815. package/dist/esm/funcs/customerPortalSubscriptionsList.d.ts +2 -1
  816. package/dist/esm/funcs/customerPortalSubscriptionsList.d.ts.map +1 -1
  817. package/dist/esm/funcs/customerPortalSubscriptionsList.js +18 -6
  818. package/dist/esm/funcs/customerPortalSubscriptionsList.js.map +1 -1
  819. package/dist/esm/funcs/customerPortalSubscriptionsUpdate.d.ts +2 -1
  820. package/dist/esm/funcs/customerPortalSubscriptionsUpdate.d.ts.map +1 -1
  821. package/dist/esm/funcs/customerPortalSubscriptionsUpdate.js +10 -6
  822. package/dist/esm/funcs/customerPortalSubscriptionsUpdate.js.map +1 -1
  823. package/dist/esm/funcs/customerSessionsCreate.d.ts +2 -1
  824. package/dist/esm/funcs/customerSessionsCreate.d.ts.map +1 -1
  825. package/dist/esm/funcs/customerSessionsCreate.js +10 -6
  826. package/dist/esm/funcs/customerSessionsCreate.js.map +1 -1
  827. package/dist/esm/funcs/customersCreate.d.ts +2 -1
  828. package/dist/esm/funcs/customersCreate.d.ts.map +1 -1
  829. package/dist/esm/funcs/customersCreate.js +10 -6
  830. package/dist/esm/funcs/customersCreate.js.map +1 -1
  831. package/dist/esm/funcs/customersDelete.d.ts +2 -1
  832. package/dist/esm/funcs/customersDelete.d.ts.map +1 -1
  833. package/dist/esm/funcs/customersDelete.js +10 -6
  834. package/dist/esm/funcs/customersDelete.js.map +1 -1
  835. package/dist/esm/funcs/customersGet.d.ts +2 -1
  836. package/dist/esm/funcs/customersGet.d.ts.map +1 -1
  837. package/dist/esm/funcs/customersGet.js +10 -6
  838. package/dist/esm/funcs/customersGet.js.map +1 -1
  839. package/dist/esm/funcs/customersList.d.ts +2 -1
  840. package/dist/esm/funcs/customersList.d.ts.map +1 -1
  841. package/dist/esm/funcs/customersList.js +18 -6
  842. package/dist/esm/funcs/customersList.js.map +1 -1
  843. package/dist/esm/funcs/customersUpdate.d.ts +2 -1
  844. package/dist/esm/funcs/customersUpdate.d.ts.map +1 -1
  845. package/dist/esm/funcs/customersUpdate.js +10 -6
  846. package/dist/esm/funcs/customersUpdate.js.map +1 -1
  847. package/dist/esm/funcs/discountsCreate.d.ts +2 -1
  848. package/dist/esm/funcs/discountsCreate.d.ts.map +1 -1
  849. package/dist/esm/funcs/discountsCreate.js +10 -6
  850. package/dist/esm/funcs/discountsCreate.js.map +1 -1
  851. package/dist/esm/funcs/discountsDelete.d.ts +2 -1
  852. package/dist/esm/funcs/discountsDelete.d.ts.map +1 -1
  853. package/dist/esm/funcs/discountsDelete.js +10 -6
  854. package/dist/esm/funcs/discountsDelete.js.map +1 -1
  855. package/dist/esm/funcs/discountsGet.d.ts +2 -1
  856. package/dist/esm/funcs/discountsGet.d.ts.map +1 -1
  857. package/dist/esm/funcs/discountsGet.js +10 -6
  858. package/dist/esm/funcs/discountsGet.js.map +1 -1
  859. package/dist/esm/funcs/discountsList.d.ts +2 -1
  860. package/dist/esm/funcs/discountsList.d.ts.map +1 -1
  861. package/dist/esm/funcs/discountsList.js +18 -6
  862. package/dist/esm/funcs/discountsList.js.map +1 -1
  863. package/dist/esm/funcs/discountsUpdate.d.ts +2 -1
  864. package/dist/esm/funcs/discountsUpdate.d.ts.map +1 -1
  865. package/dist/esm/funcs/discountsUpdate.js +10 -6
  866. package/dist/esm/funcs/discountsUpdate.js.map +1 -1
  867. package/dist/esm/funcs/eventsGet.d.ts +2 -1
  868. package/dist/esm/funcs/eventsGet.d.ts.map +1 -1
  869. package/dist/esm/funcs/eventsGet.js +10 -6
  870. package/dist/esm/funcs/eventsGet.js.map +1 -1
  871. package/dist/esm/funcs/eventsIngest.d.ts +2 -1
  872. package/dist/esm/funcs/eventsIngest.d.ts.map +1 -1
  873. package/dist/esm/funcs/eventsIngest.js +10 -6
  874. package/dist/esm/funcs/eventsIngest.js.map +1 -1
  875. package/dist/esm/funcs/eventsList.d.ts +2 -1
  876. package/dist/esm/funcs/eventsList.d.ts.map +1 -1
  877. package/dist/esm/funcs/eventsList.js +18 -6
  878. package/dist/esm/funcs/eventsList.js.map +1 -1
  879. package/dist/esm/funcs/externalOrganizationsList.d.ts +2 -1
  880. package/dist/esm/funcs/externalOrganizationsList.d.ts.map +1 -1
  881. package/dist/esm/funcs/externalOrganizationsList.js +18 -6
  882. package/dist/esm/funcs/externalOrganizationsList.js.map +1 -1
  883. package/dist/esm/funcs/filesCreate.d.ts +2 -1
  884. package/dist/esm/funcs/filesCreate.d.ts.map +1 -1
  885. package/dist/esm/funcs/filesCreate.js +10 -6
  886. package/dist/esm/funcs/filesCreate.js.map +1 -1
  887. package/dist/esm/funcs/filesDelete.d.ts +2 -1
  888. package/dist/esm/funcs/filesDelete.d.ts.map +1 -1
  889. package/dist/esm/funcs/filesDelete.js +10 -6
  890. package/dist/esm/funcs/filesDelete.js.map +1 -1
  891. package/dist/esm/funcs/filesList.d.ts +2 -1
  892. package/dist/esm/funcs/filesList.d.ts.map +1 -1
  893. package/dist/esm/funcs/filesList.js +18 -6
  894. package/dist/esm/funcs/filesList.js.map +1 -1
  895. package/dist/esm/funcs/filesUpdate.d.ts +2 -1
  896. package/dist/esm/funcs/filesUpdate.d.ts.map +1 -1
  897. package/dist/esm/funcs/filesUpdate.js +10 -6
  898. package/dist/esm/funcs/filesUpdate.js.map +1 -1
  899. package/dist/esm/funcs/filesUploaded.d.ts +2 -1
  900. package/dist/esm/funcs/filesUploaded.d.ts.map +1 -1
  901. package/dist/esm/funcs/filesUploaded.js +10 -6
  902. package/dist/esm/funcs/filesUploaded.js.map +1 -1
  903. package/dist/esm/funcs/licenseKeysGet.d.ts +2 -1
  904. package/dist/esm/funcs/licenseKeysGet.d.ts.map +1 -1
  905. package/dist/esm/funcs/licenseKeysGet.js +10 -6
  906. package/dist/esm/funcs/licenseKeysGet.js.map +1 -1
  907. package/dist/esm/funcs/licenseKeysGetActivation.d.ts +2 -1
  908. package/dist/esm/funcs/licenseKeysGetActivation.d.ts.map +1 -1
  909. package/dist/esm/funcs/licenseKeysGetActivation.js +10 -6
  910. package/dist/esm/funcs/licenseKeysGetActivation.js.map +1 -1
  911. package/dist/esm/funcs/licenseKeysList.d.ts +2 -1
  912. package/dist/esm/funcs/licenseKeysList.d.ts.map +1 -1
  913. package/dist/esm/funcs/licenseKeysList.js +18 -6
  914. package/dist/esm/funcs/licenseKeysList.js.map +1 -1
  915. package/dist/esm/funcs/licenseKeysUpdate.d.ts +2 -1
  916. package/dist/esm/funcs/licenseKeysUpdate.d.ts.map +1 -1
  917. package/dist/esm/funcs/licenseKeysUpdate.js +10 -6
  918. package/dist/esm/funcs/licenseKeysUpdate.js.map +1 -1
  919. package/dist/esm/funcs/metersCreate.d.ts +2 -1
  920. package/dist/esm/funcs/metersCreate.d.ts.map +1 -1
  921. package/dist/esm/funcs/metersCreate.js +10 -6
  922. package/dist/esm/funcs/metersCreate.js.map +1 -1
  923. package/dist/esm/funcs/metersEvents.d.ts +2 -1
  924. package/dist/esm/funcs/metersEvents.d.ts.map +1 -1
  925. package/dist/esm/funcs/metersEvents.js +18 -6
  926. package/dist/esm/funcs/metersEvents.js.map +1 -1
  927. package/dist/esm/funcs/metersGet.d.ts +2 -1
  928. package/dist/esm/funcs/metersGet.d.ts.map +1 -1
  929. package/dist/esm/funcs/metersGet.js +10 -6
  930. package/dist/esm/funcs/metersGet.js.map +1 -1
  931. package/dist/esm/funcs/metersList.d.ts +2 -1
  932. package/dist/esm/funcs/metersList.d.ts.map +1 -1
  933. package/dist/esm/funcs/metersList.js +18 -6
  934. package/dist/esm/funcs/metersList.js.map +1 -1
  935. package/dist/esm/funcs/metersQuantities.d.ts +2 -1
  936. package/dist/esm/funcs/metersQuantities.d.ts.map +1 -1
  937. package/dist/esm/funcs/metersQuantities.js +10 -6
  938. package/dist/esm/funcs/metersQuantities.js.map +1 -1
  939. package/dist/esm/funcs/metersUpdate.d.ts +2 -1
  940. package/dist/esm/funcs/metersUpdate.d.ts.map +1 -1
  941. package/dist/esm/funcs/metersUpdate.js +10 -6
  942. package/dist/esm/funcs/metersUpdate.js.map +1 -1
  943. package/dist/esm/funcs/metricsGet.d.ts +2 -1
  944. package/dist/esm/funcs/metricsGet.d.ts.map +1 -1
  945. package/dist/esm/funcs/metricsGet.js +11 -7
  946. package/dist/esm/funcs/metricsGet.js.map +1 -1
  947. package/dist/esm/funcs/metricsLimits.d.ts +2 -1
  948. package/dist/esm/funcs/metricsLimits.d.ts.map +1 -1
  949. package/dist/esm/funcs/metricsLimits.js +9 -5
  950. package/dist/esm/funcs/metricsLimits.js.map +1 -1
  951. package/dist/esm/funcs/oauth2Authorize.d.ts +2 -1
  952. package/dist/esm/funcs/oauth2Authorize.d.ts.map +1 -1
  953. package/dist/esm/funcs/oauth2Authorize.js +9 -5
  954. package/dist/esm/funcs/oauth2Authorize.js.map +1 -1
  955. package/dist/esm/funcs/oauth2ClientsCreate.d.ts +2 -1
  956. package/dist/esm/funcs/oauth2ClientsCreate.d.ts.map +1 -1
  957. package/dist/esm/funcs/oauth2ClientsCreate.js +10 -6
  958. package/dist/esm/funcs/oauth2ClientsCreate.js.map +1 -1
  959. package/dist/esm/funcs/oauth2ClientsDelete.d.ts +2 -1
  960. package/dist/esm/funcs/oauth2ClientsDelete.d.ts.map +1 -1
  961. package/dist/esm/funcs/oauth2ClientsDelete.js +10 -6
  962. package/dist/esm/funcs/oauth2ClientsDelete.js.map +1 -1
  963. package/dist/esm/funcs/oauth2ClientsGet.d.ts +2 -1
  964. package/dist/esm/funcs/oauth2ClientsGet.d.ts.map +1 -1
  965. package/dist/esm/funcs/oauth2ClientsGet.js +10 -6
  966. package/dist/esm/funcs/oauth2ClientsGet.js.map +1 -1
  967. package/dist/esm/funcs/oauth2ClientsList.d.ts +2 -1
  968. package/dist/esm/funcs/oauth2ClientsList.d.ts.map +1 -1
  969. package/dist/esm/funcs/oauth2ClientsList.js +18 -6
  970. package/dist/esm/funcs/oauth2ClientsList.js.map +1 -1
  971. package/dist/esm/funcs/oauth2ClientsUpdate.d.ts +2 -1
  972. package/dist/esm/funcs/oauth2ClientsUpdate.d.ts.map +1 -1
  973. package/dist/esm/funcs/oauth2ClientsUpdate.js +10 -6
  974. package/dist/esm/funcs/oauth2ClientsUpdate.js.map +1 -1
  975. package/dist/esm/funcs/oauth2Introspect.d.ts +2 -1
  976. package/dist/esm/funcs/oauth2Introspect.d.ts.map +1 -1
  977. package/dist/esm/funcs/oauth2Introspect.js +10 -6
  978. package/dist/esm/funcs/oauth2Introspect.js.map +1 -1
  979. package/dist/esm/funcs/oauth2Revoke.d.ts +2 -1
  980. package/dist/esm/funcs/oauth2Revoke.d.ts.map +1 -1
  981. package/dist/esm/funcs/oauth2Revoke.js +10 -6
  982. package/dist/esm/funcs/oauth2Revoke.js.map +1 -1
  983. package/dist/esm/funcs/oauth2Token.d.ts +2 -1
  984. package/dist/esm/funcs/oauth2Token.d.ts.map +1 -1
  985. package/dist/esm/funcs/oauth2Token.js +10 -6
  986. package/dist/esm/funcs/oauth2Token.js.map +1 -1
  987. package/dist/esm/funcs/oauth2Userinfo.d.ts +2 -1
  988. package/dist/esm/funcs/oauth2Userinfo.d.ts.map +1 -1
  989. package/dist/esm/funcs/oauth2Userinfo.js +9 -5
  990. package/dist/esm/funcs/oauth2Userinfo.js.map +1 -1
  991. package/dist/esm/funcs/ordersGet.d.ts +2 -1
  992. package/dist/esm/funcs/ordersGet.d.ts.map +1 -1
  993. package/dist/esm/funcs/ordersGet.js +10 -6
  994. package/dist/esm/funcs/ordersGet.js.map +1 -1
  995. package/dist/esm/funcs/ordersInvoice.d.ts +2 -1
  996. package/dist/esm/funcs/ordersInvoice.d.ts.map +1 -1
  997. package/dist/esm/funcs/ordersInvoice.js +10 -6
  998. package/dist/esm/funcs/ordersInvoice.js.map +1 -1
  999. package/dist/esm/funcs/ordersList.d.ts +2 -1
  1000. package/dist/esm/funcs/ordersList.d.ts.map +1 -1
  1001. package/dist/esm/funcs/ordersList.js +18 -6
  1002. package/dist/esm/funcs/ordersList.js.map +1 -1
  1003. package/dist/esm/funcs/organizationsCreate.d.ts +2 -1
  1004. package/dist/esm/funcs/organizationsCreate.d.ts.map +1 -1
  1005. package/dist/esm/funcs/organizationsCreate.js +10 -6
  1006. package/dist/esm/funcs/organizationsCreate.js.map +1 -1
  1007. package/dist/esm/funcs/organizationsGet.d.ts +2 -1
  1008. package/dist/esm/funcs/organizationsGet.d.ts.map +1 -1
  1009. package/dist/esm/funcs/organizationsGet.js +10 -6
  1010. package/dist/esm/funcs/organizationsGet.js.map +1 -1
  1011. package/dist/esm/funcs/organizationsList.d.ts +2 -1
  1012. package/dist/esm/funcs/organizationsList.d.ts.map +1 -1
  1013. package/dist/esm/funcs/organizationsList.js +18 -6
  1014. package/dist/esm/funcs/organizationsList.js.map +1 -1
  1015. package/dist/esm/funcs/organizationsUpdate.d.ts +2 -1
  1016. package/dist/esm/funcs/organizationsUpdate.d.ts.map +1 -1
  1017. package/dist/esm/funcs/organizationsUpdate.js +10 -6
  1018. package/dist/esm/funcs/organizationsUpdate.js.map +1 -1
  1019. package/dist/esm/funcs/productsCreate.d.ts +2 -1
  1020. package/dist/esm/funcs/productsCreate.d.ts.map +1 -1
  1021. package/dist/esm/funcs/productsCreate.js +10 -6
  1022. package/dist/esm/funcs/productsCreate.js.map +1 -1
  1023. package/dist/esm/funcs/productsGet.d.ts +2 -1
  1024. package/dist/esm/funcs/productsGet.d.ts.map +1 -1
  1025. package/dist/esm/funcs/productsGet.js +10 -6
  1026. package/dist/esm/funcs/productsGet.js.map +1 -1
  1027. package/dist/esm/funcs/productsList.d.ts +2 -1
  1028. package/dist/esm/funcs/productsList.d.ts.map +1 -1
  1029. package/dist/esm/funcs/productsList.js +18 -6
  1030. package/dist/esm/funcs/productsList.js.map +1 -1
  1031. package/dist/esm/funcs/productsUpdate.d.ts +2 -1
  1032. package/dist/esm/funcs/productsUpdate.d.ts.map +1 -1
  1033. package/dist/esm/funcs/productsUpdate.js +10 -6
  1034. package/dist/esm/funcs/productsUpdate.js.map +1 -1
  1035. package/dist/esm/funcs/productsUpdateBenefits.d.ts +2 -1
  1036. package/dist/esm/funcs/productsUpdateBenefits.d.ts.map +1 -1
  1037. package/dist/esm/funcs/productsUpdateBenefits.js +10 -6
  1038. package/dist/esm/funcs/productsUpdateBenefits.js.map +1 -1
  1039. package/dist/esm/funcs/refundsCreate.d.ts +2 -1
  1040. package/dist/esm/funcs/refundsCreate.d.ts.map +1 -1
  1041. package/dist/esm/funcs/refundsCreate.js +10 -6
  1042. package/dist/esm/funcs/refundsCreate.js.map +1 -1
  1043. package/dist/esm/funcs/refundsList.d.ts +2 -1
  1044. package/dist/esm/funcs/refundsList.d.ts.map +1 -1
  1045. package/dist/esm/funcs/refundsList.js +18 -6
  1046. package/dist/esm/funcs/refundsList.js.map +1 -1
  1047. package/dist/esm/funcs/repositoriesGet.d.ts +2 -1
  1048. package/dist/esm/funcs/repositoriesGet.d.ts.map +1 -1
  1049. package/dist/esm/funcs/repositoriesGet.js +10 -6
  1050. package/dist/esm/funcs/repositoriesGet.js.map +1 -1
  1051. package/dist/esm/funcs/repositoriesList.d.ts +2 -1
  1052. package/dist/esm/funcs/repositoriesList.d.ts.map +1 -1
  1053. package/dist/esm/funcs/repositoriesList.js +18 -6
  1054. package/dist/esm/funcs/repositoriesList.js.map +1 -1
  1055. package/dist/esm/funcs/repositoriesUpdate.d.ts +2 -1
  1056. package/dist/esm/funcs/repositoriesUpdate.d.ts.map +1 -1
  1057. package/dist/esm/funcs/repositoriesUpdate.js +10 -6
  1058. package/dist/esm/funcs/repositoriesUpdate.js.map +1 -1
  1059. package/dist/esm/funcs/subscriptionsExport.d.ts +2 -1
  1060. package/dist/esm/funcs/subscriptionsExport.d.ts.map +1 -1
  1061. package/dist/esm/funcs/subscriptionsExport.js +10 -6
  1062. package/dist/esm/funcs/subscriptionsExport.js.map +1 -1
  1063. package/dist/esm/funcs/subscriptionsGet.d.ts +2 -1
  1064. package/dist/esm/funcs/subscriptionsGet.d.ts.map +1 -1
  1065. package/dist/esm/funcs/subscriptionsGet.js +10 -6
  1066. package/dist/esm/funcs/subscriptionsGet.js.map +1 -1
  1067. package/dist/esm/funcs/subscriptionsList.d.ts +2 -1
  1068. package/dist/esm/funcs/subscriptionsList.d.ts.map +1 -1
  1069. package/dist/esm/funcs/subscriptionsList.js +18 -6
  1070. package/dist/esm/funcs/subscriptionsList.js.map +1 -1
  1071. package/dist/esm/funcs/subscriptionsRevoke.d.ts +2 -1
  1072. package/dist/esm/funcs/subscriptionsRevoke.d.ts.map +1 -1
  1073. package/dist/esm/funcs/subscriptionsRevoke.js +10 -6
  1074. package/dist/esm/funcs/subscriptionsRevoke.js.map +1 -1
  1075. package/dist/esm/funcs/subscriptionsUpdate.d.ts +2 -1
  1076. package/dist/esm/funcs/subscriptionsUpdate.d.ts.map +1 -1
  1077. package/dist/esm/funcs/subscriptionsUpdate.js +10 -6
  1078. package/dist/esm/funcs/subscriptionsUpdate.js.map +1 -1
  1079. package/dist/esm/lib/config.d.ts +3 -3
  1080. package/dist/esm/lib/config.js +3 -3
  1081. package/dist/esm/models/components/checkout.d.ts +35 -2
  1082. package/dist/esm/models/components/checkout.d.ts.map +1 -1
  1083. package/dist/esm/models/components/checkout.js +38 -2
  1084. package/dist/esm/models/components/checkout.js.map +1 -1
  1085. package/dist/esm/models/components/checkoutconfirmstripe.d.ts +8 -1
  1086. package/dist/esm/models/components/checkoutconfirmstripe.d.ts.map +1 -1
  1087. package/dist/esm/models/components/checkoutconfirmstripe.js +4 -0
  1088. package/dist/esm/models/components/checkoutconfirmstripe.js.map +1 -1
  1089. package/dist/esm/models/components/checkoutcreate.d.ts +3 -2
  1090. package/dist/esm/models/components/checkoutcreate.d.ts.map +1 -1
  1091. package/dist/esm/models/components/checkoutcreate.js +3 -0
  1092. package/dist/esm/models/components/checkoutcreate.js.map +1 -1
  1093. package/dist/esm/models/components/checkoutlink.d.ts +47 -12
  1094. package/dist/esm/models/components/checkoutlink.d.ts.map +1 -1
  1095. package/dist/esm/models/components/checkoutlink.js +50 -10
  1096. package/dist/esm/models/components/checkoutlink.js.map +1 -1
  1097. package/dist/{commonjs/models/components/checkoutlinkproductcreate.d.ts → esm/models/components/checkoutlinkcreateproduct.d.ts} +34 -30
  1098. package/dist/esm/models/components/checkoutlinkcreateproduct.d.ts.map +1 -0
  1099. package/dist/esm/models/components/checkoutlinkcreateproduct.js +83 -0
  1100. package/dist/esm/models/components/{checkoutlinkproductcreate.js.map → checkoutlinkcreateproduct.js.map} +1 -1
  1101. package/dist/esm/models/components/checkoutlinkcreateproductprice.d.ts +102 -0
  1102. package/dist/esm/models/components/checkoutlinkcreateproductprice.d.ts.map +1 -0
  1103. package/dist/esm/models/components/checkoutlinkcreateproductprice.js +83 -0
  1104. package/dist/esm/models/components/checkoutlinkcreateproductprice.js.map +1 -0
  1105. package/dist/esm/models/components/checkoutlinkcreateproducts.d.ts +101 -0
  1106. package/dist/esm/models/components/checkoutlinkcreateproducts.d.ts.map +1 -0
  1107. package/dist/esm/models/components/checkoutlinkcreateproducts.js +81 -0
  1108. package/dist/esm/models/components/checkoutlinkcreateproducts.js.map +1 -0
  1109. package/dist/esm/models/components/checkoutlinkproduct.d.ts +31 -3
  1110. package/dist/esm/models/components/checkoutlinkproduct.d.ts.map +1 -1
  1111. package/dist/esm/models/components/checkoutlinkproduct.js +41 -2
  1112. package/dist/esm/models/components/checkoutlinkproduct.js.map +1 -1
  1113. package/dist/esm/models/components/checkoutlinksortproperty.d.ts +18 -0
  1114. package/dist/esm/models/components/checkoutlinksortproperty.d.ts.map +1 -1
  1115. package/dist/esm/models/components/checkoutlinksortproperty.js +6 -0
  1116. package/dist/esm/models/components/checkoutlinksortproperty.js.map +1 -1
  1117. package/dist/esm/models/components/checkoutlinkupdate.d.ts +5 -2
  1118. package/dist/esm/models/components/checkoutlinkupdate.d.ts.map +1 -1
  1119. package/dist/esm/models/components/checkoutlinkupdate.js +2 -4
  1120. package/dist/esm/models/components/checkoutlinkupdate.js.map +1 -1
  1121. package/dist/esm/models/components/checkoutpricecreate.d.ts +2 -0
  1122. package/dist/esm/models/components/checkoutpricecreate.d.ts.map +1 -1
  1123. package/dist/esm/models/components/checkoutpricecreate.js.map +1 -1
  1124. package/dist/esm/models/components/checkoutproduct.d.ts +31 -3
  1125. package/dist/esm/models/components/checkoutproduct.d.ts.map +1 -1
  1126. package/dist/esm/models/components/checkoutproduct.js +41 -2
  1127. package/dist/esm/models/components/checkoutproduct.js.map +1 -1
  1128. package/dist/esm/models/components/checkoutproductcreate.d.ts +2 -0
  1129. package/dist/esm/models/components/checkoutproductcreate.d.ts.map +1 -1
  1130. package/dist/esm/models/components/checkoutproductcreate.js.map +1 -1
  1131. package/dist/esm/models/components/checkoutproductscreate.d.ts +196 -0
  1132. package/dist/esm/models/components/checkoutproductscreate.d.ts.map +1 -0
  1133. package/dist/esm/models/components/checkoutproductscreate.js +180 -0
  1134. package/dist/esm/models/components/checkoutproductscreate.js.map +1 -0
  1135. package/dist/esm/models/components/checkoutpublic.d.ts +35 -2
  1136. package/dist/esm/models/components/checkoutpublic.d.ts.map +1 -1
  1137. package/dist/esm/models/components/checkoutpublic.js +38 -2
  1138. package/dist/esm/models/components/checkoutpublic.js.map +1 -1
  1139. package/dist/esm/models/components/checkoutpublicconfirmed.d.ts +35 -2
  1140. package/dist/esm/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
  1141. package/dist/esm/models/components/checkoutpublicconfirmed.js +38 -2
  1142. package/dist/esm/models/components/checkoutpublicconfirmed.js.map +1 -1
  1143. package/dist/esm/models/components/checkoutupdate.d.ts +8 -1
  1144. package/dist/esm/models/components/checkoutupdate.d.ts.map +1 -1
  1145. package/dist/esm/models/components/checkoutupdate.js +4 -0
  1146. package/dist/esm/models/components/checkoutupdate.js.map +1 -1
  1147. package/dist/esm/models/components/checkoutupdatepublic.d.ts +8 -1
  1148. package/dist/esm/models/components/checkoutupdatepublic.d.ts.map +1 -1
  1149. package/dist/esm/models/components/checkoutupdatepublic.js +4 -0
  1150. package/dist/esm/models/components/checkoutupdatepublic.js.map +1 -1
  1151. package/dist/esm/models/components/customerorder.d.ts +24 -2
  1152. package/dist/esm/models/components/customerorder.d.ts.map +1 -1
  1153. package/dist/esm/models/components/customerorder.js +36 -2
  1154. package/dist/esm/models/components/customerorder.js.map +1 -1
  1155. package/dist/esm/models/components/customerorderproduct.d.ts +31 -3
  1156. package/dist/esm/models/components/customerorderproduct.d.ts.map +1 -1
  1157. package/dist/esm/models/components/customerorderproduct.js +41 -2
  1158. package/dist/esm/models/components/customerorderproduct.js.map +1 -1
  1159. package/dist/esm/models/components/customerorganization.d.ts +36 -0
  1160. package/dist/esm/models/components/customerorganization.d.ts.map +1 -0
  1161. package/dist/esm/models/components/customerorganization.js +35 -0
  1162. package/dist/esm/models/components/customerorganization.js.map +1 -0
  1163. package/dist/esm/models/components/customerproduct.d.ts +116 -0
  1164. package/dist/esm/models/components/customerproduct.d.ts.map +1 -0
  1165. package/dist/esm/models/components/customerproduct.js +110 -0
  1166. package/dist/esm/models/components/customerproduct.js.map +1 -0
  1167. package/dist/esm/models/components/customersubscription.d.ts +24 -2
  1168. package/dist/esm/models/components/customersubscription.d.ts.map +1 -1
  1169. package/dist/esm/models/components/customersubscription.js +36 -2
  1170. package/dist/esm/models/components/customersubscription.js.map +1 -1
  1171. package/dist/esm/models/components/customersubscriptionproduct.d.ts +31 -3
  1172. package/dist/esm/models/components/customersubscriptionproduct.d.ts.map +1 -1
  1173. package/dist/esm/models/components/customersubscriptionproduct.js +41 -2
  1174. package/dist/esm/models/components/customersubscriptionproduct.js.map +1 -1
  1175. package/dist/esm/models/components/customersubscriptionupdate.d.ts +3 -3
  1176. package/dist/esm/models/components/customersubscriptionupdate.d.ts.map +1 -1
  1177. package/dist/esm/models/components/customersubscriptionupdate.js +3 -3
  1178. package/dist/esm/models/components/customersubscriptionupdate.js.map +1 -1
  1179. package/dist/esm/models/components/customersubscriptionupdateproduct.d.ts +32 -0
  1180. package/dist/esm/models/components/customersubscriptionupdateproduct.d.ts.map +1 -0
  1181. package/dist/esm/models/components/customersubscriptionupdateproduct.js +40 -0
  1182. package/dist/esm/models/components/customersubscriptionupdateproduct.js.map +1 -0
  1183. package/dist/esm/models/components/discountproduct.d.ts +7 -1
  1184. package/dist/esm/models/components/discountproduct.d.ts.map +1 -1
  1185. package/dist/esm/models/components/discountproduct.js +5 -0
  1186. package/dist/esm/models/components/discountproduct.js.map +1 -1
  1187. package/dist/esm/models/components/legacyrecurringproductprice.d.ts +40 -0
  1188. package/dist/esm/models/components/legacyrecurringproductprice.d.ts.map +1 -0
  1189. package/dist/esm/models/components/legacyrecurringproductprice.js +50 -0
  1190. package/dist/esm/models/components/legacyrecurringproductprice.js.map +1 -0
  1191. package/dist/esm/models/components/{productpricerecurringcustom.d.ts → legacyrecurringproductpricecustom.d.ts} +27 -21
  1192. package/dist/esm/models/components/legacyrecurringproductpricecustom.d.ts.map +1 -0
  1193. package/dist/esm/models/components/{productpricerecurringcustom.js → legacyrecurringproductpricecustom.js} +22 -20
  1194. package/dist/esm/models/components/legacyrecurringproductpricecustom.js.map +1 -0
  1195. package/dist/esm/models/components/legacyrecurringproductpricefixed.d.ts +81 -0
  1196. package/dist/esm/models/components/legacyrecurringproductpricefixed.d.ts.map +1 -0
  1197. package/dist/esm/models/components/{productpricerecurringfixed.js → legacyrecurringproductpricefixed.js} +22 -20
  1198. package/dist/esm/models/components/legacyrecurringproductpricefixed.js.map +1 -0
  1199. package/dist/esm/models/components/legacyrecurringproductpricefree.d.ts +71 -0
  1200. package/dist/esm/models/components/legacyrecurringproductpricefree.d.ts.map +1 -0
  1201. package/dist/esm/models/components/{productpricerecurringfree.js → legacyrecurringproductpricefree.js} +16 -14
  1202. package/dist/esm/models/components/legacyrecurringproductpricefree.js.map +1 -0
  1203. package/dist/esm/models/components/order.d.ts +24 -2
  1204. package/dist/esm/models/components/order.d.ts.map +1 -1
  1205. package/dist/esm/models/components/order.js +36 -2
  1206. package/dist/esm/models/components/order.js.map +1 -1
  1207. package/dist/esm/models/components/orderproduct.d.ts +7 -1
  1208. package/dist/esm/models/components/orderproduct.d.ts.map +1 -1
  1209. package/dist/esm/models/components/orderproduct.js +5 -0
  1210. package/dist/esm/models/components/orderproduct.js.map +1 -1
  1211. package/dist/esm/models/components/product.d.ts +31 -3
  1212. package/dist/esm/models/components/product.d.ts.map +1 -1
  1213. package/dist/esm/models/components/product.js +42 -2
  1214. package/dist/esm/models/components/product.js.map +1 -1
  1215. package/dist/esm/models/components/productbillingtype.d.ts +28 -0
  1216. package/dist/esm/models/components/productbillingtype.d.ts.map +1 -0
  1217. package/dist/esm/models/components/productbillingtype.js +24 -0
  1218. package/dist/esm/models/components/productbillingtype.js.map +1 -0
  1219. package/dist/esm/models/components/productcreate.d.ts +109 -4
  1220. package/dist/esm/models/components/productcreate.d.ts.map +1 -1
  1221. package/dist/esm/models/components/productcreate.js +98 -8
  1222. package/dist/esm/models/components/productcreate.js.map +1 -1
  1223. package/dist/esm/models/components/productprice.d.ts +5 -4
  1224. package/dist/esm/models/components/productprice.d.ts.map +1 -1
  1225. package/dist/esm/models/components/productprice.js +9 -6
  1226. package/dist/esm/models/components/productprice.js.map +1 -1
  1227. package/dist/esm/models/components/productpricecustom.d.ts +86 -0
  1228. package/dist/esm/models/components/productpricecustom.d.ts.map +1 -0
  1229. package/dist/esm/models/components/{productpriceonetimecustom.js → productpricecustom.js} +22 -16
  1230. package/dist/esm/models/components/productpricecustom.js.map +1 -0
  1231. package/dist/esm/models/components/productpricecustomcreate.d.ts +52 -0
  1232. package/dist/esm/models/components/productpricecustomcreate.d.ts.map +1 -0
  1233. package/dist/esm/models/components/{productpriceonetimecustomcreate.js → productpricecustomcreate.js} +14 -16
  1234. package/dist/esm/models/components/productpricecustomcreate.js.map +1 -0
  1235. package/dist/esm/models/components/productpricefixed.d.ts +76 -0
  1236. package/dist/esm/models/components/productpricefixed.d.ts.map +1 -0
  1237. package/dist/esm/models/components/{productpriceonetimefixed.js → productpricefixed.js} +22 -16
  1238. package/dist/esm/models/components/productpricefixed.js.map +1 -0
  1239. package/dist/esm/models/components/productpricefixedcreate.d.ts +42 -0
  1240. package/dist/esm/models/components/productpricefixedcreate.d.ts.map +1 -0
  1241. package/dist/esm/models/components/productpricefixedcreate.js +48 -0
  1242. package/dist/esm/models/components/productpricefixedcreate.js.map +1 -0
  1243. package/dist/esm/models/components/productpricefree.d.ts +66 -0
  1244. package/dist/esm/models/components/productpricefree.d.ts.map +1 -0
  1245. package/dist/esm/models/components/productpricefree.js +66 -0
  1246. package/dist/esm/models/components/productpricefree.js.map +1 -0
  1247. package/dist/esm/models/components/productpricefreecreate.d.ts +32 -0
  1248. package/dist/esm/models/components/productpricefreecreate.d.ts.map +1 -0
  1249. package/dist/esm/models/components/productpricefreecreate.js +40 -0
  1250. package/dist/esm/models/components/productpricefreecreate.js.map +1 -0
  1251. package/dist/esm/models/components/productsortproperty.d.ts +0 -6
  1252. package/dist/esm/models/components/productsortproperty.d.ts.map +1 -1
  1253. package/dist/esm/models/components/productsortproperty.js +0 -2
  1254. package/dist/esm/models/components/productsortproperty.js.map +1 -1
  1255. package/dist/esm/models/components/productupdate.d.ts +13 -9
  1256. package/dist/esm/models/components/productupdate.d.ts.map +1 -1
  1257. package/dist/esm/models/components/productupdate.js +22 -25
  1258. package/dist/esm/models/components/productupdate.js.map +1 -1
  1259. package/dist/esm/models/components/subscription.d.ts +25 -3
  1260. package/dist/esm/models/components/subscription.d.ts.map +1 -1
  1261. package/dist/esm/models/components/subscription.js +38 -3
  1262. package/dist/esm/models/components/subscription.js.map +1 -1
  1263. package/dist/esm/models/components/subscriptionupdate.d.ts +3 -3
  1264. package/dist/esm/models/components/subscriptionupdate.d.ts.map +1 -1
  1265. package/dist/esm/models/components/subscriptionupdate.js +3 -3
  1266. package/dist/esm/models/components/subscriptionupdate.js.map +1 -1
  1267. package/dist/esm/models/components/subscriptionupdateproduct.d.ts +38 -0
  1268. package/dist/esm/models/components/subscriptionupdateproduct.d.ts.map +1 -0
  1269. package/dist/esm/models/components/subscriptionupdateproduct.js +47 -0
  1270. package/dist/esm/models/components/subscriptionupdateproduct.js.map +1 -0
  1271. package/dist/esm/models/operations/checkoutlinkscreate.d.ts +28 -0
  1272. package/dist/esm/models/operations/checkoutlinkscreate.d.ts.map +1 -0
  1273. package/dist/esm/models/operations/checkoutlinkscreate.js +38 -0
  1274. package/dist/esm/models/operations/checkoutlinkscreate.js.map +1 -0
  1275. package/dist/esm/models/operations/customerportalorderslist.d.ts +13 -13
  1276. package/dist/esm/models/operations/customerportalorderslist.d.ts.map +1 -1
  1277. package/dist/esm/models/operations/customerportalorderslist.js +13 -15
  1278. package/dist/esm/models/operations/customerportalorderslist.js.map +1 -1
  1279. package/dist/esm/models/operations/metricsget.d.ts +18 -18
  1280. package/dist/esm/models/operations/metricsget.d.ts.map +1 -1
  1281. package/dist/esm/models/operations/metricsget.js +26 -26
  1282. package/dist/esm/models/operations/metricsget.js.map +1 -1
  1283. package/dist/esm/sdk/checkoutlinks.d.ts +2 -2
  1284. package/dist/esm/sdk/checkoutlinks.d.ts.map +1 -1
  1285. package/dist/esm/sdk/checkoutlinks.js.map +1 -1
  1286. package/dist/esm/sdk/polarorganizations.d.ts +2 -2
  1287. package/dist/esm/sdk/polarorganizations.d.ts.map +1 -1
  1288. package/dist/esm/types/async.d.ts +23 -0
  1289. package/dist/esm/types/async.d.ts.map +1 -0
  1290. package/dist/esm/types/async.js +40 -0
  1291. package/dist/esm/types/async.js.map +1 -0
  1292. package/docs/sdks/checkoutlinks/README.md +1 -1
  1293. package/docs/sdks/polarorganizations/README.md +1 -1
  1294. package/docs/sdks/products/README.md +3 -3
  1295. package/jsr.json +1 -1
  1296. package/package.json +1 -1
  1297. package/src/funcs/advertisementsGet.ts +36 -7
  1298. package/src/funcs/advertisementsList.ts +46 -7
  1299. package/src/funcs/benefitsCreate.ts +35 -7
  1300. package/src/funcs/benefitsDelete.ts +37 -7
  1301. package/src/funcs/benefitsGet.ts +36 -7
  1302. package/src/funcs/benefitsGrants.ts +47 -7
  1303. package/src/funcs/benefitsList.ts +46 -7
  1304. package/src/funcs/benefitsUpdate.ts +37 -7
  1305. package/src/funcs/checkoutLinksCreate.ts +42 -13
  1306. package/src/funcs/checkoutLinksDelete.ts +36 -7
  1307. package/src/funcs/checkoutLinksGet.ts +36 -7
  1308. package/src/funcs/checkoutLinksList.ts +46 -7
  1309. package/src/funcs/checkoutLinksUpdate.ts +36 -7
  1310. package/src/funcs/checkoutsClientConfirm.ts +38 -7
  1311. package/src/funcs/checkoutsClientGet.ts +36 -7
  1312. package/src/funcs/checkoutsClientUpdate.ts +37 -7
  1313. package/src/funcs/checkoutsCreate.ts +35 -7
  1314. package/src/funcs/checkoutsGet.ts +36 -7
  1315. package/src/funcs/checkoutsList.ts +46 -7
  1316. package/src/funcs/checkoutsUpdate.ts +37 -7
  1317. package/src/funcs/customFieldsCreate.ts +35 -7
  1318. package/src/funcs/customFieldsDelete.ts +36 -7
  1319. package/src/funcs/customFieldsGet.ts +36 -7
  1320. package/src/funcs/customFieldsList.ts +46 -7
  1321. package/src/funcs/customFieldsUpdate.ts +36 -7
  1322. package/src/funcs/customerPortalBenefitGrantsGet.ts +36 -7
  1323. package/src/funcs/customerPortalBenefitGrantsList.ts +46 -7
  1324. package/src/funcs/customerPortalBenefitGrantsUpdate.ts +37 -7
  1325. package/src/funcs/customerPortalCustomersGet.ts +36 -7
  1326. package/src/funcs/customerPortalDownloadablesGet.ts +35 -7
  1327. package/src/funcs/customerPortalDownloadablesList.ts +46 -7
  1328. package/src/funcs/customerPortalLicenseKeysActivate.ts +37 -7
  1329. package/src/funcs/customerPortalLicenseKeysDeactivate.ts +36 -7
  1330. package/src/funcs/customerPortalLicenseKeysGet.ts +36 -7
  1331. package/src/funcs/customerPortalLicenseKeysList.ts +48 -7
  1332. package/src/funcs/customerPortalLicenseKeysValidate.ts +36 -7
  1333. package/src/funcs/customerPortalOrdersGet.ts +36 -7
  1334. package/src/funcs/customerPortalOrdersInvoice.ts +36 -7
  1335. package/src/funcs/customerPortalOrdersList.ts +46 -7
  1336. package/src/funcs/customerPortalOrganizationsGet.ts +42 -13
  1337. package/src/funcs/customerPortalSubscriptionsCancel.ts +37 -7
  1338. package/src/funcs/customerPortalSubscriptionsGet.ts +36 -7
  1339. package/src/funcs/customerPortalSubscriptionsList.ts +46 -7
  1340. package/src/funcs/customerPortalSubscriptionsUpdate.ts +37 -7
  1341. package/src/funcs/customerSessionsCreate.ts +35 -7
  1342. package/src/funcs/customersCreate.ts +35 -7
  1343. package/src/funcs/customersDelete.ts +36 -7
  1344. package/src/funcs/customersGet.ts +36 -7
  1345. package/src/funcs/customersList.ts +46 -7
  1346. package/src/funcs/customersUpdate.ts +36 -7
  1347. package/src/funcs/discountsCreate.ts +35 -7
  1348. package/src/funcs/discountsDelete.ts +36 -7
  1349. package/src/funcs/discountsGet.ts +36 -7
  1350. package/src/funcs/discountsList.ts +46 -7
  1351. package/src/funcs/discountsUpdate.ts +36 -7
  1352. package/src/funcs/eventsGet.ts +36 -7
  1353. package/src/funcs/eventsIngest.ts +35 -7
  1354. package/src/funcs/eventsList.ts +46 -7
  1355. package/src/funcs/externalOrganizationsList.ts +46 -7
  1356. package/src/funcs/filesCreate.ts +35 -7
  1357. package/src/funcs/filesDelete.ts +37 -7
  1358. package/src/funcs/filesList.ts +46 -7
  1359. package/src/funcs/filesUpdate.ts +37 -7
  1360. package/src/funcs/filesUploaded.ts +37 -7
  1361. package/src/funcs/licenseKeysGet.ts +37 -7
  1362. package/src/funcs/licenseKeysGetActivation.ts +37 -7
  1363. package/src/funcs/licenseKeysList.ts +48 -7
  1364. package/src/funcs/licenseKeysUpdate.ts +37 -7
  1365. package/src/funcs/metersCreate.ts +35 -7
  1366. package/src/funcs/metersEvents.ts +47 -7
  1367. package/src/funcs/metersGet.ts +36 -7
  1368. package/src/funcs/metersList.ts +46 -7
  1369. package/src/funcs/metersQuantities.ts +36 -7
  1370. package/src/funcs/metersUpdate.ts +36 -7
  1371. package/src/funcs/metricsGet.ts +36 -8
  1372. package/src/funcs/metricsLimits.ts +31 -6
  1373. package/src/funcs/oauth2Authorize.ts +31 -6
  1374. package/src/funcs/oauth2ClientsCreate.ts +35 -7
  1375. package/src/funcs/oauth2ClientsDelete.ts +35 -7
  1376. package/src/funcs/oauth2ClientsGet.ts +35 -7
  1377. package/src/funcs/oauth2ClientsList.ts +46 -7
  1378. package/src/funcs/oauth2ClientsUpdate.ts +35 -7
  1379. package/src/funcs/oauth2Introspect.ts +34 -7
  1380. package/src/funcs/oauth2Revoke.ts +34 -7
  1381. package/src/funcs/oauth2Token.ts +34 -7
  1382. package/src/funcs/oauth2Userinfo.ts +31 -6
  1383. package/src/funcs/ordersGet.ts +36 -7
  1384. package/src/funcs/ordersInvoice.ts +36 -7
  1385. package/src/funcs/ordersList.ts +46 -7
  1386. package/src/funcs/organizationsCreate.ts +35 -7
  1387. package/src/funcs/organizationsGet.ts +36 -7
  1388. package/src/funcs/organizationsList.ts +46 -7
  1389. package/src/funcs/organizationsUpdate.ts +37 -7
  1390. package/src/funcs/productsCreate.ts +35 -7
  1391. package/src/funcs/productsGet.ts +36 -7
  1392. package/src/funcs/productsList.ts +46 -7
  1393. package/src/funcs/productsUpdate.ts +37 -7
  1394. package/src/funcs/productsUpdateBenefits.ts +37 -7
  1395. package/src/funcs/refundsCreate.ts +37 -7
  1396. package/src/funcs/refundsList.ts +46 -7
  1397. package/src/funcs/repositoriesGet.ts +36 -7
  1398. package/src/funcs/repositoriesList.ts +46 -7
  1399. package/src/funcs/repositoriesUpdate.ts +37 -7
  1400. package/src/funcs/subscriptionsExport.ts +35 -7
  1401. package/src/funcs/subscriptionsGet.ts +36 -7
  1402. package/src/funcs/subscriptionsList.ts +46 -7
  1403. package/src/funcs/subscriptionsRevoke.ts +37 -7
  1404. package/src/funcs/subscriptionsUpdate.ts +37 -7
  1405. package/src/lib/config.ts +3 -3
  1406. package/src/models/components/checkout.ts +87 -4
  1407. package/src/models/components/checkoutconfirmstripe.ts +12 -1
  1408. package/src/models/components/checkoutcreate.ts +13 -1
  1409. package/src/models/components/checkoutlink.ts +116 -25
  1410. package/src/models/components/{checkoutlinkproductcreate.ts → checkoutlinkcreateproduct.ts} +50 -46
  1411. package/src/models/components/{checkoutlinkpricecreate.ts → checkoutlinkcreateproductprice.ts} +56 -46
  1412. package/src/models/components/checkoutlinkcreateproducts.ts +199 -0
  1413. package/src/models/components/checkoutlinkproduct.ts +95 -5
  1414. package/src/models/components/checkoutlinksortproperty.ts +6 -0
  1415. package/src/models/components/checkoutlinkupdate.ts +7 -6
  1416. package/src/models/components/checkoutpricecreate.ts +2 -0
  1417. package/src/models/components/checkoutproduct.ts +93 -5
  1418. package/src/models/components/checkoutproductcreate.ts +2 -0
  1419. package/src/models/components/checkoutproductscreate.ts +434 -0
  1420. package/src/models/components/checkoutpublic.ts +89 -4
  1421. package/src/models/components/checkoutpublicconfirmed.ts +94 -4
  1422. package/src/models/components/checkoutupdate.ts +12 -1
  1423. package/src/models/components/checkoutupdatepublic.ts +12 -1
  1424. package/src/models/components/customerorder.ts +76 -4
  1425. package/src/models/components/customerorderproduct.ts +95 -5
  1426. package/src/models/components/customerorganization.ts +85 -0
  1427. package/src/models/components/customerproduct.ts +265 -0
  1428. package/src/models/components/customersubscription.ts +76 -4
  1429. package/src/models/components/customersubscriptionproduct.ts +98 -5
  1430. package/src/models/components/customersubscriptionupdate.ts +9 -9
  1431. package/src/models/components/customersubscriptionupdateproduct.ts +81 -0
  1432. package/src/models/components/discountproduct.ts +15 -1
  1433. package/src/models/components/legacyrecurringproductprice.ts +116 -0
  1434. package/src/models/components/{productpricerecurringcustom.ts → legacyrecurringproductpricecustom.ts} +44 -35
  1435. package/src/models/components/{productpricerecurringfixed.ts → legacyrecurringproductpricefixed.ts} +44 -34
  1436. package/src/models/components/{productpricerecurringfree.ts → legacyrecurringproductpricefree.ts} +31 -21
  1437. package/src/models/components/order.ts +74 -4
  1438. package/src/models/components/orderproduct.ts +15 -1
  1439. package/src/models/components/product.ts +86 -5
  1440. package/src/models/components/productbillingtype.ts +33 -0
  1441. package/src/models/components/productcreate.ts +256 -22
  1442. package/src/models/components/productprice.ts +29 -17
  1443. package/src/models/components/{productpriceonetimecustom.ts → productpricecustom.ts} +45 -29
  1444. package/src/models/components/{productpriceonetimecustomcreate.ts → productpricecustomcreate.ts} +22 -28
  1445. package/src/models/components/{productpriceonetimefixed.ts → productpricefixed.ts} +45 -29
  1446. package/src/models/components/{productpriceonetimefixedcreate.ts → productpricefixedcreate.ts} +22 -28
  1447. package/src/models/components/{productpriceonetimefree.ts → productpricefree.ts} +43 -27
  1448. package/src/models/components/productpricefreecreate.ts +78 -0
  1449. package/src/models/components/productsortproperty.ts +0 -2
  1450. package/src/models/components/productupdate.ts +54 -66
  1451. package/src/models/components/subscription.ts +72 -9
  1452. package/src/models/components/subscriptionupdate.ts +9 -9
  1453. package/src/models/components/{subscriptionupdateprice.ts → subscriptionupdateproduct.ts} +28 -28
  1454. package/src/models/operations/checkoutlinkscreate.ts +95 -0
  1455. package/src/models/operations/customerportalorderslist.ts +34 -46
  1456. package/src/models/operations/metricsget.ts +45 -47
  1457. package/src/sdk/checkoutlinks.ts +2 -2
  1458. package/src/sdk/polarorganizations.ts +2 -2
  1459. package/src/types/async.ts +68 -0
  1460. package/dist/commonjs/models/components/checkoutlinkcreate.d.ts +0 -27
  1461. package/dist/commonjs/models/components/checkoutlinkcreate.d.ts.map +0 -1
  1462. package/dist/commonjs/models/components/checkoutlinkcreate.js +0 -63
  1463. package/dist/commonjs/models/components/checkoutlinkcreate.js.map +0 -1
  1464. package/dist/commonjs/models/components/checkoutlinkpricecreate.d.ts +0 -98
  1465. package/dist/commonjs/models/components/checkoutlinkpricecreate.d.ts.map +0 -1
  1466. package/dist/commonjs/models/components/checkoutlinkpricecreate.js.map +0 -1
  1467. package/dist/commonjs/models/components/checkoutlinkproductcreate.d.ts.map +0 -1
  1468. package/dist/commonjs/models/components/customersubscriptionupdateprice.d.ts +0 -32
  1469. package/dist/commonjs/models/components/customersubscriptionupdateprice.d.ts.map +0 -1
  1470. package/dist/commonjs/models/components/customersubscriptionupdateprice.js.map +0 -1
  1471. package/dist/commonjs/models/components/productonetimecreate.d.ts +0 -126
  1472. package/dist/commonjs/models/components/productonetimecreate.d.ts.map +0 -1
  1473. package/dist/commonjs/models/components/productonetimecreate.js +0 -153
  1474. package/dist/commonjs/models/components/productonetimecreate.js.map +0 -1
  1475. package/dist/commonjs/models/components/productpriceonetime.d.ts +0 -28
  1476. package/dist/commonjs/models/components/productpriceonetime.d.ts.map +0 -1
  1477. package/dist/commonjs/models/components/productpriceonetime.js +0 -66
  1478. package/dist/commonjs/models/components/productpriceonetime.js.map +0 -1
  1479. package/dist/commonjs/models/components/productpriceonetimecustom.d.ts +0 -82
  1480. package/dist/commonjs/models/components/productpriceonetimecustom.d.ts.map +0 -1
  1481. package/dist/commonjs/models/components/productpriceonetimecustom.js.map +0 -1
  1482. package/dist/commonjs/models/components/productpriceonetimecustomcreate.d.ts +0 -54
  1483. package/dist/commonjs/models/components/productpriceonetimecustomcreate.d.ts.map +0 -1
  1484. package/dist/commonjs/models/components/productpriceonetimecustomcreate.js.map +0 -1
  1485. package/dist/commonjs/models/components/productpriceonetimefixed.d.ts +0 -72
  1486. package/dist/commonjs/models/components/productpriceonetimefixed.d.ts.map +0 -1
  1487. package/dist/commonjs/models/components/productpriceonetimefixed.js.map +0 -1
  1488. package/dist/commonjs/models/components/productpriceonetimefixedcreate.d.ts +0 -44
  1489. package/dist/commonjs/models/components/productpriceonetimefixedcreate.d.ts.map +0 -1
  1490. package/dist/commonjs/models/components/productpriceonetimefixedcreate.js.map +0 -1
  1491. package/dist/commonjs/models/components/productpriceonetimefree.d.ts +0 -62
  1492. package/dist/commonjs/models/components/productpriceonetimefree.d.ts.map +0 -1
  1493. package/dist/commonjs/models/components/productpriceonetimefree.js.map +0 -1
  1494. package/dist/commonjs/models/components/productpriceonetimefreecreate.d.ts +0 -34
  1495. package/dist/commonjs/models/components/productpriceonetimefreecreate.d.ts.map +0 -1
  1496. package/dist/commonjs/models/components/productpriceonetimefreecreate.js.map +0 -1
  1497. package/dist/commonjs/models/components/productpricerecurring.d.ts +0 -28
  1498. package/dist/commonjs/models/components/productpricerecurring.d.ts.map +0 -1
  1499. package/dist/commonjs/models/components/productpricerecurring.js +0 -66
  1500. package/dist/commonjs/models/components/productpricerecurring.js.map +0 -1
  1501. package/dist/commonjs/models/components/productpricerecurringcustom.d.ts.map +0 -1
  1502. package/dist/commonjs/models/components/productpricerecurringcustom.js.map +0 -1
  1503. package/dist/commonjs/models/components/productpricerecurringfixed.d.ts +0 -75
  1504. package/dist/commonjs/models/components/productpricerecurringfixed.d.ts.map +0 -1
  1505. package/dist/commonjs/models/components/productpricerecurringfixed.js.map +0 -1
  1506. package/dist/commonjs/models/components/productpricerecurringfixedcreate.d.ts +0 -47
  1507. package/dist/commonjs/models/components/productpricerecurringfixedcreate.d.ts.map +0 -1
  1508. package/dist/commonjs/models/components/productpricerecurringfixedcreate.js +0 -83
  1509. package/dist/commonjs/models/components/productpricerecurringfixedcreate.js.map +0 -1
  1510. package/dist/commonjs/models/components/productpricerecurringfree.d.ts +0 -65
  1511. package/dist/commonjs/models/components/productpricerecurringfree.d.ts.map +0 -1
  1512. package/dist/commonjs/models/components/productpricerecurringfree.js.map +0 -1
  1513. package/dist/commonjs/models/components/productpricerecurringfreecreate.d.ts +0 -37
  1514. package/dist/commonjs/models/components/productpricerecurringfreecreate.d.ts.map +0 -1
  1515. package/dist/commonjs/models/components/productpricerecurringfreecreate.js +0 -75
  1516. package/dist/commonjs/models/components/productpricerecurringfreecreate.js.map +0 -1
  1517. package/dist/commonjs/models/components/productrecurringcreate.d.ts +0 -128
  1518. package/dist/commonjs/models/components/productrecurringcreate.d.ts.map +0 -1
  1519. package/dist/commonjs/models/components/productrecurringcreate.js +0 -147
  1520. package/dist/commonjs/models/components/productrecurringcreate.js.map +0 -1
  1521. package/dist/commonjs/models/components/subscriptionupdateprice.d.ts +0 -38
  1522. package/dist/commonjs/models/components/subscriptionupdateprice.d.ts.map +0 -1
  1523. package/dist/commonjs/models/components/subscriptionupdateprice.js.map +0 -1
  1524. package/dist/esm/models/components/checkoutlinkcreate.d.ts +0 -27
  1525. package/dist/esm/models/components/checkoutlinkcreate.d.ts.map +0 -1
  1526. package/dist/esm/models/components/checkoutlinkcreate.js +0 -35
  1527. package/dist/esm/models/components/checkoutlinkcreate.js.map +0 -1
  1528. package/dist/esm/models/components/checkoutlinkpricecreate.d.ts +0 -98
  1529. package/dist/esm/models/components/checkoutlinkpricecreate.d.ts.map +0 -1
  1530. package/dist/esm/models/components/checkoutlinkpricecreate.js +0 -83
  1531. package/dist/esm/models/components/checkoutlinkpricecreate.js.map +0 -1
  1532. package/dist/esm/models/components/checkoutlinkproductcreate.d.ts.map +0 -1
  1533. package/dist/esm/models/components/checkoutlinkproductcreate.js +0 -83
  1534. package/dist/esm/models/components/customersubscriptionupdateprice.d.ts +0 -32
  1535. package/dist/esm/models/components/customersubscriptionupdateprice.d.ts.map +0 -1
  1536. package/dist/esm/models/components/customersubscriptionupdateprice.js +0 -40
  1537. package/dist/esm/models/components/customersubscriptionupdateprice.js.map +0 -1
  1538. package/dist/esm/models/components/productonetimecreate.d.ts +0 -126
  1539. package/dist/esm/models/components/productonetimecreate.d.ts.map +0 -1
  1540. package/dist/esm/models/components/productonetimecreate.js +0 -121
  1541. package/dist/esm/models/components/productonetimecreate.js.map +0 -1
  1542. package/dist/esm/models/components/productpriceonetime.d.ts +0 -28
  1543. package/dist/esm/models/components/productpriceonetime.d.ts.map +0 -1
  1544. package/dist/esm/models/components/productpriceonetime.js +0 -38
  1545. package/dist/esm/models/components/productpriceonetime.js.map +0 -1
  1546. package/dist/esm/models/components/productpriceonetimecustom.d.ts +0 -82
  1547. package/dist/esm/models/components/productpriceonetimecustom.d.ts.map +0 -1
  1548. package/dist/esm/models/components/productpriceonetimecustom.js.map +0 -1
  1549. package/dist/esm/models/components/productpriceonetimecustomcreate.d.ts +0 -54
  1550. package/dist/esm/models/components/productpriceonetimecustomcreate.d.ts.map +0 -1
  1551. package/dist/esm/models/components/productpriceonetimecustomcreate.js.map +0 -1
  1552. package/dist/esm/models/components/productpriceonetimefixed.d.ts +0 -72
  1553. package/dist/esm/models/components/productpriceonetimefixed.d.ts.map +0 -1
  1554. package/dist/esm/models/components/productpriceonetimefixed.js.map +0 -1
  1555. package/dist/esm/models/components/productpriceonetimefixedcreate.d.ts +0 -44
  1556. package/dist/esm/models/components/productpriceonetimefixedcreate.d.ts.map +0 -1
  1557. package/dist/esm/models/components/productpriceonetimefixedcreate.js +0 -50
  1558. package/dist/esm/models/components/productpriceonetimefixedcreate.js.map +0 -1
  1559. package/dist/esm/models/components/productpriceonetimefree.d.ts +0 -62
  1560. package/dist/esm/models/components/productpriceonetimefree.d.ts.map +0 -1
  1561. package/dist/esm/models/components/productpriceonetimefree.js +0 -60
  1562. package/dist/esm/models/components/productpriceonetimefree.js.map +0 -1
  1563. package/dist/esm/models/components/productpriceonetimefreecreate.d.ts +0 -34
  1564. package/dist/esm/models/components/productpriceonetimefreecreate.d.ts.map +0 -1
  1565. package/dist/esm/models/components/productpriceonetimefreecreate.js +0 -42
  1566. package/dist/esm/models/components/productpriceonetimefreecreate.js.map +0 -1
  1567. package/dist/esm/models/components/productpricerecurring.d.ts +0 -28
  1568. package/dist/esm/models/components/productpricerecurring.d.ts.map +0 -1
  1569. package/dist/esm/models/components/productpricerecurring.js +0 -38
  1570. package/dist/esm/models/components/productpricerecurring.js.map +0 -1
  1571. package/dist/esm/models/components/productpricerecurringcustom.d.ts.map +0 -1
  1572. package/dist/esm/models/components/productpricerecurringcustom.js.map +0 -1
  1573. package/dist/esm/models/components/productpricerecurringfixed.d.ts +0 -75
  1574. package/dist/esm/models/components/productpricerecurringfixed.d.ts.map +0 -1
  1575. package/dist/esm/models/components/productpricerecurringfixed.js.map +0 -1
  1576. package/dist/esm/models/components/productpricerecurringfixedcreate.d.ts +0 -47
  1577. package/dist/esm/models/components/productpricerecurringfixedcreate.d.ts.map +0 -1
  1578. package/dist/esm/models/components/productpricerecurringfixedcreate.js +0 -55
  1579. package/dist/esm/models/components/productpricerecurringfixedcreate.js.map +0 -1
  1580. package/dist/esm/models/components/productpricerecurringfree.d.ts +0 -65
  1581. package/dist/esm/models/components/productpricerecurringfree.d.ts.map +0 -1
  1582. package/dist/esm/models/components/productpricerecurringfree.js.map +0 -1
  1583. package/dist/esm/models/components/productpricerecurringfreecreate.d.ts +0 -37
  1584. package/dist/esm/models/components/productpricerecurringfreecreate.d.ts.map +0 -1
  1585. package/dist/esm/models/components/productpricerecurringfreecreate.js +0 -47
  1586. package/dist/esm/models/components/productpricerecurringfreecreate.js.map +0 -1
  1587. package/dist/esm/models/components/productrecurringcreate.d.ts +0 -128
  1588. package/dist/esm/models/components/productrecurringcreate.d.ts.map +0 -1
  1589. package/dist/esm/models/components/productrecurringcreate.js +0 -115
  1590. package/dist/esm/models/components/productrecurringcreate.js.map +0 -1
  1591. package/dist/esm/models/components/subscriptionupdateprice.d.ts +0 -38
  1592. package/dist/esm/models/components/subscriptionupdateprice.d.ts.map +0 -1
  1593. package/dist/esm/models/components/subscriptionupdateprice.js +0 -47
  1594. package/dist/esm/models/components/subscriptionupdateprice.js.map +0 -1
  1595. package/src/models/components/checkoutlinkcreate.ts +0 -80
  1596. package/src/models/components/customersubscriptionupdateprice.ts +0 -80
  1597. package/src/models/components/productonetimecreate.ts +0 -295
  1598. package/src/models/components/productpriceonetime.ts +0 -90
  1599. package/src/models/components/productpriceonetimefreecreate.ts +0 -84
  1600. package/src/models/components/productpricerecurring.ts +0 -90
  1601. package/src/models/components/productpricerecurringfixedcreate.ts +0 -113
  1602. package/src/models/components/productpricerecurringfreecreate.ts +0 -95
  1603. package/src/models/components/productrecurringcreate.ts +0 -287
@@ -13,11 +13,11 @@ import {
13
13
  SubscriptionProrationBehavior$outboundSchema,
14
14
  } from "./subscriptionprorationbehavior.js";
15
15
 
16
- export type SubscriptionUpdatePrice = {
16
+ export type SubscriptionUpdateProduct = {
17
17
  /**
18
- * Update subscription to another price.
18
+ * Update subscription to another product.
19
19
  */
20
- productPriceId: string;
20
+ productId: string;
21
21
  /**
22
22
  * Determine how to handle the proration billing. If not provided, will use the default organization setting.
23
23
  */
@@ -25,39 +25,39 @@ export type SubscriptionUpdatePrice = {
25
25
  };
26
26
 
27
27
  /** @internal */
28
- export const SubscriptionUpdatePrice$inboundSchema: z.ZodType<
29
- SubscriptionUpdatePrice,
28
+ export const SubscriptionUpdateProduct$inboundSchema: z.ZodType<
29
+ SubscriptionUpdateProduct,
30
30
  z.ZodTypeDef,
31
31
  unknown
32
32
  > = z.object({
33
- product_price_id: z.string(),
33
+ product_id: z.string(),
34
34
  proration_behavior: z.nullable(SubscriptionProrationBehavior$inboundSchema)
35
35
  .optional(),
36
36
  }).transform((v) => {
37
37
  return remap$(v, {
38
- "product_price_id": "productPriceId",
38
+ "product_id": "productId",
39
39
  "proration_behavior": "prorationBehavior",
40
40
  });
41
41
  });
42
42
 
43
43
  /** @internal */
44
- export type SubscriptionUpdatePrice$Outbound = {
45
- product_price_id: string;
44
+ export type SubscriptionUpdateProduct$Outbound = {
45
+ product_id: string;
46
46
  proration_behavior?: string | null | undefined;
47
47
  };
48
48
 
49
49
  /** @internal */
50
- export const SubscriptionUpdatePrice$outboundSchema: z.ZodType<
51
- SubscriptionUpdatePrice$Outbound,
50
+ export const SubscriptionUpdateProduct$outboundSchema: z.ZodType<
51
+ SubscriptionUpdateProduct$Outbound,
52
52
  z.ZodTypeDef,
53
- SubscriptionUpdatePrice
53
+ SubscriptionUpdateProduct
54
54
  > = z.object({
55
- productPriceId: z.string(),
55
+ productId: z.string(),
56
56
  prorationBehavior: z.nullable(SubscriptionProrationBehavior$outboundSchema)
57
57
  .optional(),
58
58
  }).transform((v) => {
59
59
  return remap$(v, {
60
- productPriceId: "product_price_id",
60
+ productId: "product_id",
61
61
  prorationBehavior: "proration_behavior",
62
62
  });
63
63
  });
@@ -66,29 +66,29 @@ export const SubscriptionUpdatePrice$outboundSchema: z.ZodType<
66
66
  * @internal
67
67
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
68
68
  */
69
- export namespace SubscriptionUpdatePrice$ {
70
- /** @deprecated use `SubscriptionUpdatePrice$inboundSchema` instead. */
71
- export const inboundSchema = SubscriptionUpdatePrice$inboundSchema;
72
- /** @deprecated use `SubscriptionUpdatePrice$outboundSchema` instead. */
73
- export const outboundSchema = SubscriptionUpdatePrice$outboundSchema;
74
- /** @deprecated use `SubscriptionUpdatePrice$Outbound` instead. */
75
- export type Outbound = SubscriptionUpdatePrice$Outbound;
69
+ export namespace SubscriptionUpdateProduct$ {
70
+ /** @deprecated use `SubscriptionUpdateProduct$inboundSchema` instead. */
71
+ export const inboundSchema = SubscriptionUpdateProduct$inboundSchema;
72
+ /** @deprecated use `SubscriptionUpdateProduct$outboundSchema` instead. */
73
+ export const outboundSchema = SubscriptionUpdateProduct$outboundSchema;
74
+ /** @deprecated use `SubscriptionUpdateProduct$Outbound` instead. */
75
+ export type Outbound = SubscriptionUpdateProduct$Outbound;
76
76
  }
77
77
 
78
- export function subscriptionUpdatePriceToJSON(
79
- subscriptionUpdatePrice: SubscriptionUpdatePrice,
78
+ export function subscriptionUpdateProductToJSON(
79
+ subscriptionUpdateProduct: SubscriptionUpdateProduct,
80
80
  ): string {
81
81
  return JSON.stringify(
82
- SubscriptionUpdatePrice$outboundSchema.parse(subscriptionUpdatePrice),
82
+ SubscriptionUpdateProduct$outboundSchema.parse(subscriptionUpdateProduct),
83
83
  );
84
84
  }
85
85
 
86
- export function subscriptionUpdatePriceFromJSON(
86
+ export function subscriptionUpdateProductFromJSON(
87
87
  jsonString: string,
88
- ): SafeParseResult<SubscriptionUpdatePrice, SDKValidationError> {
88
+ ): SafeParseResult<SubscriptionUpdateProduct, SDKValidationError> {
89
89
  return safeParse(
90
90
  jsonString,
91
- (x) => SubscriptionUpdatePrice$inboundSchema.parse(JSON.parse(x)),
92
- `Failed to parse 'SubscriptionUpdatePrice' from JSON`,
91
+ (x) => SubscriptionUpdateProduct$inboundSchema.parse(JSON.parse(x)),
92
+ `Failed to parse 'SubscriptionUpdateProduct' from JSON`,
93
93
  );
94
94
  }
@@ -0,0 +1,95 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import {
9
+ CheckoutLinkCreateProduct,
10
+ CheckoutLinkCreateProduct$inboundSchema,
11
+ CheckoutLinkCreateProduct$Outbound,
12
+ CheckoutLinkCreateProduct$outboundSchema,
13
+ } from "../components/checkoutlinkcreateproduct.js";
14
+ import {
15
+ CheckoutLinkCreateProductPrice,
16
+ CheckoutLinkCreateProductPrice$inboundSchema,
17
+ CheckoutLinkCreateProductPrice$Outbound,
18
+ CheckoutLinkCreateProductPrice$outboundSchema,
19
+ } from "../components/checkoutlinkcreateproductprice.js";
20
+ import {
21
+ CheckoutLinkCreateProducts,
22
+ CheckoutLinkCreateProducts$inboundSchema,
23
+ CheckoutLinkCreateProducts$Outbound,
24
+ CheckoutLinkCreateProducts$outboundSchema,
25
+ } from "../components/checkoutlinkcreateproducts.js";
26
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
27
+
28
+ export type CheckoutLinksCreateCheckoutLinkCreate =
29
+ | CheckoutLinkCreateProductPrice
30
+ | CheckoutLinkCreateProduct
31
+ | CheckoutLinkCreateProducts;
32
+
33
+ /** @internal */
34
+ export const CheckoutLinksCreateCheckoutLinkCreate$inboundSchema: z.ZodType<
35
+ CheckoutLinksCreateCheckoutLinkCreate,
36
+ z.ZodTypeDef,
37
+ unknown
38
+ > = z.union([
39
+ CheckoutLinkCreateProductPrice$inboundSchema,
40
+ CheckoutLinkCreateProduct$inboundSchema,
41
+ CheckoutLinkCreateProducts$inboundSchema,
42
+ ]);
43
+
44
+ /** @internal */
45
+ export type CheckoutLinksCreateCheckoutLinkCreate$Outbound =
46
+ | CheckoutLinkCreateProductPrice$Outbound
47
+ | CheckoutLinkCreateProduct$Outbound
48
+ | CheckoutLinkCreateProducts$Outbound;
49
+
50
+ /** @internal */
51
+ export const CheckoutLinksCreateCheckoutLinkCreate$outboundSchema: z.ZodType<
52
+ CheckoutLinksCreateCheckoutLinkCreate$Outbound,
53
+ z.ZodTypeDef,
54
+ CheckoutLinksCreateCheckoutLinkCreate
55
+ > = z.union([
56
+ CheckoutLinkCreateProductPrice$outboundSchema,
57
+ CheckoutLinkCreateProduct$outboundSchema,
58
+ CheckoutLinkCreateProducts$outboundSchema,
59
+ ]);
60
+
61
+ /**
62
+ * @internal
63
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
64
+ */
65
+ export namespace CheckoutLinksCreateCheckoutLinkCreate$ {
66
+ /** @deprecated use `CheckoutLinksCreateCheckoutLinkCreate$inboundSchema` instead. */
67
+ export const inboundSchema =
68
+ CheckoutLinksCreateCheckoutLinkCreate$inboundSchema;
69
+ /** @deprecated use `CheckoutLinksCreateCheckoutLinkCreate$outboundSchema` instead. */
70
+ export const outboundSchema =
71
+ CheckoutLinksCreateCheckoutLinkCreate$outboundSchema;
72
+ /** @deprecated use `CheckoutLinksCreateCheckoutLinkCreate$Outbound` instead. */
73
+ export type Outbound = CheckoutLinksCreateCheckoutLinkCreate$Outbound;
74
+ }
75
+
76
+ export function checkoutLinksCreateCheckoutLinkCreateToJSON(
77
+ checkoutLinksCreateCheckoutLinkCreate: CheckoutLinksCreateCheckoutLinkCreate,
78
+ ): string {
79
+ return JSON.stringify(
80
+ CheckoutLinksCreateCheckoutLinkCreate$outboundSchema.parse(
81
+ checkoutLinksCreateCheckoutLinkCreate,
82
+ ),
83
+ );
84
+ }
85
+
86
+ export function checkoutLinksCreateCheckoutLinkCreateFromJSON(
87
+ jsonString: string,
88
+ ): SafeParseResult<CheckoutLinksCreateCheckoutLinkCreate, SDKValidationError> {
89
+ return safeParse(
90
+ jsonString,
91
+ (x) =>
92
+ CheckoutLinksCreateCheckoutLinkCreate$inboundSchema.parse(JSON.parse(x)),
93
+ `Failed to parse 'CheckoutLinksCreateCheckoutLinkCreate' from JSON`,
94
+ );
95
+ }
@@ -41,7 +41,7 @@ export type CustomerPortalOrdersListQueryParamProductIDFilter =
41
41
  /**
42
42
  * Filter by product price type. `recurring` will return orders corresponding to subscriptions creations or renewals. `one_time` will return orders corresponding to one-time purchases.
43
43
  */
44
- export type CustomerPortalOrdersListQueryParamProductPriceTypeFilter =
44
+ export type QueryParamProductPriceTypeFilter =
45
45
  | ProductPriceType
46
46
  | Array<ProductPriceType>;
47
47
 
@@ -223,70 +223,58 @@ export function customerPortalOrdersListQueryParamProductIDFilterFromJSON(
223
223
  }
224
224
 
225
225
  /** @internal */
226
- export const CustomerPortalOrdersListQueryParamProductPriceTypeFilter$inboundSchema:
227
- z.ZodType<
228
- CustomerPortalOrdersListQueryParamProductPriceTypeFilter,
229
- z.ZodTypeDef,
230
- unknown
231
- > = z.union([
232
- ProductPriceType$inboundSchema,
233
- z.array(ProductPriceType$inboundSchema),
234
- ]);
226
+ export const QueryParamProductPriceTypeFilter$inboundSchema: z.ZodType<
227
+ QueryParamProductPriceTypeFilter,
228
+ z.ZodTypeDef,
229
+ unknown
230
+ > = z.union([
231
+ ProductPriceType$inboundSchema,
232
+ z.array(ProductPriceType$inboundSchema),
233
+ ]);
235
234
 
236
235
  /** @internal */
237
- export type CustomerPortalOrdersListQueryParamProductPriceTypeFilter$Outbound =
238
- | string
239
- | Array<string>;
236
+ export type QueryParamProductPriceTypeFilter$Outbound = string | Array<string>;
240
237
 
241
238
  /** @internal */
242
- export const CustomerPortalOrdersListQueryParamProductPriceTypeFilter$outboundSchema:
243
- z.ZodType<
244
- CustomerPortalOrdersListQueryParamProductPriceTypeFilter$Outbound,
245
- z.ZodTypeDef,
246
- CustomerPortalOrdersListQueryParamProductPriceTypeFilter
247
- > = z.union([
248
- ProductPriceType$outboundSchema,
249
- z.array(ProductPriceType$outboundSchema),
250
- ]);
239
+ export const QueryParamProductPriceTypeFilter$outboundSchema: z.ZodType<
240
+ QueryParamProductPriceTypeFilter$Outbound,
241
+ z.ZodTypeDef,
242
+ QueryParamProductPriceTypeFilter
243
+ > = z.union([
244
+ ProductPriceType$outboundSchema,
245
+ z.array(ProductPriceType$outboundSchema),
246
+ ]);
251
247
 
252
248
  /**
253
249
  * @internal
254
250
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
255
251
  */
256
- export namespace CustomerPortalOrdersListQueryParamProductPriceTypeFilter$ {
257
- /** @deprecated use `CustomerPortalOrdersListQueryParamProductPriceTypeFilter$inboundSchema` instead. */
258
- export const inboundSchema =
259
- CustomerPortalOrdersListQueryParamProductPriceTypeFilter$inboundSchema;
260
- /** @deprecated use `CustomerPortalOrdersListQueryParamProductPriceTypeFilter$outboundSchema` instead. */
261
- export const outboundSchema =
262
- CustomerPortalOrdersListQueryParamProductPriceTypeFilter$outboundSchema;
263
- /** @deprecated use `CustomerPortalOrdersListQueryParamProductPriceTypeFilter$Outbound` instead. */
264
- export type Outbound =
265
- CustomerPortalOrdersListQueryParamProductPriceTypeFilter$Outbound;
252
+ export namespace QueryParamProductPriceTypeFilter$ {
253
+ /** @deprecated use `QueryParamProductPriceTypeFilter$inboundSchema` instead. */
254
+ export const inboundSchema = QueryParamProductPriceTypeFilter$inboundSchema;
255
+ /** @deprecated use `QueryParamProductPriceTypeFilter$outboundSchema` instead. */
256
+ export const outboundSchema = QueryParamProductPriceTypeFilter$outboundSchema;
257
+ /** @deprecated use `QueryParamProductPriceTypeFilter$Outbound` instead. */
258
+ export type Outbound = QueryParamProductPriceTypeFilter$Outbound;
266
259
  }
267
260
 
268
- export function customerPortalOrdersListQueryParamProductPriceTypeFilterToJSON(
269
- customerPortalOrdersListQueryParamProductPriceTypeFilter:
270
- CustomerPortalOrdersListQueryParamProductPriceTypeFilter,
261
+ export function queryParamProductPriceTypeFilterToJSON(
262
+ queryParamProductPriceTypeFilter: QueryParamProductPriceTypeFilter,
271
263
  ): string {
272
264
  return JSON.stringify(
273
- CustomerPortalOrdersListQueryParamProductPriceTypeFilter$outboundSchema
274
- .parse(customerPortalOrdersListQueryParamProductPriceTypeFilter),
265
+ QueryParamProductPriceTypeFilter$outboundSchema.parse(
266
+ queryParamProductPriceTypeFilter,
267
+ ),
275
268
  );
276
269
  }
277
270
 
278
- export function customerPortalOrdersListQueryParamProductPriceTypeFilterFromJSON(
271
+ export function queryParamProductPriceTypeFilterFromJSON(
279
272
  jsonString: string,
280
- ): SafeParseResult<
281
- CustomerPortalOrdersListQueryParamProductPriceTypeFilter,
282
- SDKValidationError
283
- > {
273
+ ): SafeParseResult<QueryParamProductPriceTypeFilter, SDKValidationError> {
284
274
  return safeParse(
285
275
  jsonString,
286
- (x) =>
287
- CustomerPortalOrdersListQueryParamProductPriceTypeFilter$inboundSchema
288
- .parse(JSON.parse(x)),
289
- `Failed to parse 'CustomerPortalOrdersListQueryParamProductPriceTypeFilter' from JSON`,
276
+ (x) => QueryParamProductPriceTypeFilter$inboundSchema.parse(JSON.parse(x)),
277
+ `Failed to parse 'QueryParamProductPriceTypeFilter' from JSON`,
290
278
  );
291
279
  }
292
280
 
@@ -8,10 +8,10 @@ import { safeParse } from "../../lib/schemas.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { RFCDate } from "../../types/rfcdate.js";
10
10
  import {
11
- ProductPriceType,
12
- ProductPriceType$inboundSchema,
13
- ProductPriceType$outboundSchema,
14
- } from "../components/productpricetype.js";
11
+ ProductBillingType,
12
+ ProductBillingType$inboundSchema,
13
+ ProductBillingType$outboundSchema,
14
+ } from "../components/productbillingtype.js";
15
15
  import {
16
16
  TimeInterval,
17
17
  TimeInterval$inboundSchema,
@@ -30,11 +30,11 @@ export type MetricsGetQueryParamOrganizationIDFilter = string | Array<string>;
30
30
  export type MetricsGetQueryParamProductIDFilter = string | Array<string>;
31
31
 
32
32
  /**
33
- * Filter by product price type. `recurring` will filter data corresponding to subscriptions creations or renewals. `one_time` will filter data corresponding to one-time purchases.
33
+ * Filter by billing type. `recurring` will filter data corresponding to subscriptions creations or renewals. `one_time` will filter data corresponding to one-time purchases.
34
34
  */
35
- export type QueryParamProductPriceTypeFilter =
36
- | ProductPriceType
37
- | Array<ProductPriceType>;
35
+ export type ProductBillingTypeFilter =
36
+ | ProductBillingType
37
+ | Array<ProductBillingType>;
38
38
 
39
39
  /**
40
40
  * Filter by customer ID.
@@ -63,11 +63,11 @@ export type MetricsGetRequest = {
63
63
  */
64
64
  productId?: string | Array<string> | null | undefined;
65
65
  /**
66
- * Filter by product price type. `recurring` will filter data corresponding to subscriptions creations or renewals. `one_time` will filter data corresponding to one-time purchases.
66
+ * Filter by billing type. `recurring` will filter data corresponding to subscriptions creations or renewals. `one_time` will filter data corresponding to one-time purchases.
67
67
  */
68
- productPriceType?:
69
- | ProductPriceType
70
- | Array<ProductPriceType>
68
+ billingType?:
69
+ | ProductBillingType
70
+ | Array<ProductBillingType>
71
71
  | null
72
72
  | undefined;
73
73
  /**
@@ -193,58 +193,56 @@ export function metricsGetQueryParamProductIDFilterFromJSON(
193
193
  }
194
194
 
195
195
  /** @internal */
196
- export const QueryParamProductPriceTypeFilter$inboundSchema: z.ZodType<
197
- QueryParamProductPriceTypeFilter,
196
+ export const ProductBillingTypeFilter$inboundSchema: z.ZodType<
197
+ ProductBillingTypeFilter,
198
198
  z.ZodTypeDef,
199
199
  unknown
200
200
  > = z.union([
201
- ProductPriceType$inboundSchema,
202
- z.array(ProductPriceType$inboundSchema),
201
+ ProductBillingType$inboundSchema,
202
+ z.array(ProductBillingType$inboundSchema),
203
203
  ]);
204
204
 
205
205
  /** @internal */
206
- export type QueryParamProductPriceTypeFilter$Outbound = string | Array<string>;
206
+ export type ProductBillingTypeFilter$Outbound = string | Array<string>;
207
207
 
208
208
  /** @internal */
209
- export const QueryParamProductPriceTypeFilter$outboundSchema: z.ZodType<
210
- QueryParamProductPriceTypeFilter$Outbound,
209
+ export const ProductBillingTypeFilter$outboundSchema: z.ZodType<
210
+ ProductBillingTypeFilter$Outbound,
211
211
  z.ZodTypeDef,
212
- QueryParamProductPriceTypeFilter
212
+ ProductBillingTypeFilter
213
213
  > = z.union([
214
- ProductPriceType$outboundSchema,
215
- z.array(ProductPriceType$outboundSchema),
214
+ ProductBillingType$outboundSchema,
215
+ z.array(ProductBillingType$outboundSchema),
216
216
  ]);
217
217
 
218
218
  /**
219
219
  * @internal
220
220
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
221
221
  */
222
- export namespace QueryParamProductPriceTypeFilter$ {
223
- /** @deprecated use `QueryParamProductPriceTypeFilter$inboundSchema` instead. */
224
- export const inboundSchema = QueryParamProductPriceTypeFilter$inboundSchema;
225
- /** @deprecated use `QueryParamProductPriceTypeFilter$outboundSchema` instead. */
226
- export const outboundSchema = QueryParamProductPriceTypeFilter$outboundSchema;
227
- /** @deprecated use `QueryParamProductPriceTypeFilter$Outbound` instead. */
228
- export type Outbound = QueryParamProductPriceTypeFilter$Outbound;
222
+ export namespace ProductBillingTypeFilter$ {
223
+ /** @deprecated use `ProductBillingTypeFilter$inboundSchema` instead. */
224
+ export const inboundSchema = ProductBillingTypeFilter$inboundSchema;
225
+ /** @deprecated use `ProductBillingTypeFilter$outboundSchema` instead. */
226
+ export const outboundSchema = ProductBillingTypeFilter$outboundSchema;
227
+ /** @deprecated use `ProductBillingTypeFilter$Outbound` instead. */
228
+ export type Outbound = ProductBillingTypeFilter$Outbound;
229
229
  }
230
230
 
231
- export function queryParamProductPriceTypeFilterToJSON(
232
- queryParamProductPriceTypeFilter: QueryParamProductPriceTypeFilter,
231
+ export function productBillingTypeFilterToJSON(
232
+ productBillingTypeFilter: ProductBillingTypeFilter,
233
233
  ): string {
234
234
  return JSON.stringify(
235
- QueryParamProductPriceTypeFilter$outboundSchema.parse(
236
- queryParamProductPriceTypeFilter,
237
- ),
235
+ ProductBillingTypeFilter$outboundSchema.parse(productBillingTypeFilter),
238
236
  );
239
237
  }
240
238
 
241
- export function queryParamProductPriceTypeFilterFromJSON(
239
+ export function productBillingTypeFilterFromJSON(
242
240
  jsonString: string,
243
- ): SafeParseResult<QueryParamProductPriceTypeFilter, SDKValidationError> {
241
+ ): SafeParseResult<ProductBillingTypeFilter, SDKValidationError> {
244
242
  return safeParse(
245
243
  jsonString,
246
- (x) => QueryParamProductPriceTypeFilter$inboundSchema.parse(JSON.parse(x)),
247
- `Failed to parse 'QueryParamProductPriceTypeFilter' from JSON`,
244
+ (x) => ProductBillingTypeFilter$inboundSchema.parse(JSON.parse(x)),
245
+ `Failed to parse 'ProductBillingTypeFilter' from JSON`,
248
246
  );
249
247
  }
250
248
 
@@ -315,10 +313,10 @@ export const MetricsGetRequest$inboundSchema: z.ZodType<
315
313
  organization_id: z.nullable(z.union([z.string(), z.array(z.string())]))
316
314
  .optional(),
317
315
  product_id: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
318
- product_price_type: z.nullable(
316
+ billing_type: z.nullable(
319
317
  z.union([
320
- ProductPriceType$inboundSchema,
321
- z.array(ProductPriceType$inboundSchema),
318
+ ProductBillingType$inboundSchema,
319
+ z.array(ProductBillingType$inboundSchema),
322
320
  ]),
323
321
  ).optional(),
324
322
  customer_id: z.nullable(z.union([z.string(), z.array(z.string())]))
@@ -329,7 +327,7 @@ export const MetricsGetRequest$inboundSchema: z.ZodType<
329
327
  "end_date": "endDate",
330
328
  "organization_id": "organizationId",
331
329
  "product_id": "productId",
332
- "product_price_type": "productPriceType",
330
+ "billing_type": "billingType",
333
331
  "customer_id": "customerId",
334
332
  });
335
333
  });
@@ -341,7 +339,7 @@ export type MetricsGetRequest$Outbound = {
341
339
  interval: string;
342
340
  organization_id?: string | Array<string> | null | undefined;
343
341
  product_id?: string | Array<string> | null | undefined;
344
- product_price_type?: string | Array<string> | null | undefined;
342
+ billing_type?: string | Array<string> | null | undefined;
345
343
  customer_id?: string | Array<string> | null | undefined;
346
344
  };
347
345
 
@@ -357,10 +355,10 @@ export const MetricsGetRequest$outboundSchema: z.ZodType<
357
355
  organizationId: z.nullable(z.union([z.string(), z.array(z.string())]))
358
356
  .optional(),
359
357
  productId: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
360
- productPriceType: z.nullable(
358
+ billingType: z.nullable(
361
359
  z.union([
362
- ProductPriceType$outboundSchema,
363
- z.array(ProductPriceType$outboundSchema),
360
+ ProductBillingType$outboundSchema,
361
+ z.array(ProductBillingType$outboundSchema),
364
362
  ]),
365
363
  ).optional(),
366
364
  customerId: z.nullable(z.union([z.string(), z.array(z.string())])).optional(),
@@ -370,7 +368,7 @@ export const MetricsGetRequest$outboundSchema: z.ZodType<
370
368
  endDate: "end_date",
371
369
  organizationId: "organization_id",
372
370
  productId: "product_id",
373
- productPriceType: "product_price_type",
371
+ billingType: "billing_type",
374
372
  customerId: "customer_id",
375
373
  });
376
374
  });
@@ -9,7 +9,7 @@ import { checkoutLinksList } from "../funcs/checkoutLinksList.js";
9
9
  import { checkoutLinksUpdate } from "../funcs/checkoutLinksUpdate.js";
10
10
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
11
11
  import { CheckoutLink } from "../models/components/checkoutlink.js";
12
- import { CheckoutLinkCreate } from "../models/components/checkoutlinkcreate.js";
12
+ import { CheckoutLinksCreateCheckoutLinkCreate } from "../models/operations/checkoutlinkscreate.js";
13
13
  import { CheckoutLinksDeleteRequest } from "../models/operations/checkoutlinksdelete.js";
14
14
  import { CheckoutLinksGetRequest } from "../models/operations/checkoutlinksget.js";
15
15
  import {
@@ -45,7 +45,7 @@ export class CheckoutLinks extends ClientSDK {
45
45
  * Create a checkout link.
46
46
  */
47
47
  async create(
48
- request: CheckoutLinkCreate,
48
+ request: CheckoutLinksCreateCheckoutLinkCreate,
49
49
  options?: RequestOptions,
50
50
  ): Promise<CheckoutLink> {
51
51
  return unwrapAsync(checkoutLinksCreate(
@@ -4,7 +4,7 @@
4
4
 
5
5
  import { customerPortalOrganizationsGet } from "../funcs/customerPortalOrganizationsGet.js";
6
6
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
7
- import { Organization } from "../models/components/organization.js";
7
+ import { CustomerOrganization } from "../models/components/customerorganization.js";
8
8
  import { CustomerPortalOrganizationsGetRequest } from "../models/operations/customerportalorganizationsget.js";
9
9
  import { unwrapAsync } from "../types/fp.js";
10
10
 
@@ -18,7 +18,7 @@ export class PolarOrganizations extends ClientSDK {
18
18
  async get(
19
19
  request: CustomerPortalOrganizationsGetRequest,
20
20
  options?: RequestOptions,
21
- ): Promise<Organization> {
21
+ ): Promise<CustomerOrganization> {
22
22
  return unwrapAsync(customerPortalOrganizationsGet(
23
23
  this,
24
24
  request,
@@ -0,0 +1,68 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ export type APICall =
6
+ | {
7
+ status: "complete";
8
+ request: Request;
9
+ response: Response;
10
+ }
11
+ | {
12
+ status: "request-error";
13
+ request: Request;
14
+ response?: undefined;
15
+ }
16
+ | {
17
+ status: "invalid";
18
+ request?: undefined;
19
+ response?: undefined;
20
+ };
21
+
22
+ export class APIPromise<T> implements Promise<T> {
23
+ readonly #promise: Promise<[T, APICall]>;
24
+ readonly #unwrapped: Promise<T>;
25
+
26
+ readonly [Symbol.toStringTag] = "APIPromise";
27
+
28
+ constructor(p: [T, APICall] | Promise<[T, APICall]>) {
29
+ this.#promise = p instanceof Promise ? p : Promise.resolve(p);
30
+ this.#unwrapped =
31
+ p instanceof Promise
32
+ ? this.#promise.then(([value]) => value)
33
+ : Promise.resolve(p[0]);
34
+ }
35
+
36
+ then<TResult1 = T, TResult2 = never>(
37
+ onfulfilled?:
38
+ | ((value: T) => TResult1 | PromiseLike<TResult1>)
39
+ | null
40
+ | undefined,
41
+ onrejected?:
42
+ | ((reason: any) => TResult2 | PromiseLike<TResult2>)
43
+ | null
44
+ | undefined,
45
+ ): Promise<TResult1 | TResult2> {
46
+ return this.#promise.then(
47
+ onfulfilled ? ([value]) => onfulfilled(value) : void 0,
48
+ onrejected,
49
+ );
50
+ }
51
+
52
+ catch<TResult = never>(
53
+ onrejected?:
54
+ | ((reason: any) => TResult | PromiseLike<TResult>)
55
+ | null
56
+ | undefined,
57
+ ): Promise<T | TResult> {
58
+ return this.#unwrapped.catch(onrejected);
59
+ }
60
+
61
+ finally(onfinally?: (() => void) | null | undefined): Promise<T> {
62
+ return this.#unwrapped.finally(onfinally);
63
+ }
64
+
65
+ $inspect(): Promise<[T, APICall]> {
66
+ return this.#promise;
67
+ }
68
+ }
@@ -1,27 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- import { CheckoutLinkPriceCreate, CheckoutLinkPriceCreate$Outbound } from "./checkoutlinkpricecreate.js";
5
- import { CheckoutLinkProductCreate, CheckoutLinkProductCreate$Outbound } from "./checkoutlinkproductcreate.js";
6
- export type CheckoutLinkCreate = CheckoutLinkProductCreate | CheckoutLinkPriceCreate;
7
- /** @internal */
8
- export declare const CheckoutLinkCreate$inboundSchema: z.ZodType<CheckoutLinkCreate, z.ZodTypeDef, unknown>;
9
- /** @internal */
10
- export type CheckoutLinkCreate$Outbound = CheckoutLinkProductCreate$Outbound | CheckoutLinkPriceCreate$Outbound;
11
- /** @internal */
12
- export declare const CheckoutLinkCreate$outboundSchema: z.ZodType<CheckoutLinkCreate$Outbound, z.ZodTypeDef, CheckoutLinkCreate>;
13
- /**
14
- * @internal
15
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
16
- */
17
- export declare namespace CheckoutLinkCreate$ {
18
- /** @deprecated use `CheckoutLinkCreate$inboundSchema` instead. */
19
- const inboundSchema: z.ZodType<CheckoutLinkCreate, z.ZodTypeDef, unknown>;
20
- /** @deprecated use `CheckoutLinkCreate$outboundSchema` instead. */
21
- const outboundSchema: z.ZodType<CheckoutLinkCreate$Outbound, z.ZodTypeDef, CheckoutLinkCreate>;
22
- /** @deprecated use `CheckoutLinkCreate$Outbound` instead. */
23
- type Outbound = CheckoutLinkCreate$Outbound;
24
- }
25
- export declare function checkoutLinkCreateToJSON(checkoutLinkCreate: CheckoutLinkCreate): string;
26
- export declare function checkoutLinkCreateFromJSON(jsonString: string): SafeParseResult<CheckoutLinkCreate, SDKValidationError>;
27
- //# sourceMappingURL=checkoutlinkcreate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkoutlinkcreate.d.ts","sourceRoot":"","sources":["../../../../src/models/components/checkoutlinkcreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,uBAAuB,EAEvB,gCAAgC,EAEjC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AAExC,MAAM,MAAM,kBAAkB,GAC1B,yBAAyB,GACzB,uBAAuB,CAAC;AAE5B,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GACnC,kCAAkC,GAClC,gCAAgC,CAAC;AAErC,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CAIlB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,mBAAmB,CAAC;IACnC,kEAAkE;IAC3D,MAAM,aAAa,sDAAmC,CAAC;IAC9D,mEAAmE;IAC5D,MAAM,cAAc,0EAAoC,CAAC;IAChE,6DAA6D;IAC7D,KAAY,QAAQ,GAAG,2BAA2B,CAAC;CACpD;AAED,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AAED,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}