@polar-sh/sdk 0.35.4 → 0.36.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (890) hide show
  1. package/README.md +43 -23
  2. package/RUNTIMES.md +6 -6
  3. package/bin/mcp-server.js +107 -51
  4. package/bin/mcp-server.js.map +44 -42
  5. package/dist/commonjs/funcs/benefitGrantsList.js +1 -1
  6. package/dist/commonjs/funcs/benefitGrantsList.js.map +1 -1
  7. package/dist/commonjs/funcs/benefitsCreate.js +1 -1
  8. package/dist/commonjs/funcs/benefitsCreate.js.map +1 -1
  9. package/dist/commonjs/funcs/benefitsDelete.js +1 -1
  10. package/dist/commonjs/funcs/benefitsDelete.js.map +1 -1
  11. package/dist/commonjs/funcs/benefitsGet.js +1 -1
  12. package/dist/commonjs/funcs/benefitsGet.js.map +1 -1
  13. package/dist/commonjs/funcs/benefitsGrants.js +1 -1
  14. package/dist/commonjs/funcs/benefitsGrants.js.map +1 -1
  15. package/dist/commonjs/funcs/benefitsList.js +1 -1
  16. package/dist/commonjs/funcs/benefitsList.js.map +1 -1
  17. package/dist/commonjs/funcs/benefitsUpdate.js +1 -1
  18. package/dist/commonjs/funcs/benefitsUpdate.js.map +1 -1
  19. package/dist/commonjs/funcs/checkoutLinksCreate.js +1 -1
  20. package/dist/commonjs/funcs/checkoutLinksCreate.js.map +1 -1
  21. package/dist/commonjs/funcs/checkoutLinksDelete.js +1 -1
  22. package/dist/commonjs/funcs/checkoutLinksDelete.js.map +1 -1
  23. package/dist/commonjs/funcs/checkoutLinksGet.js +1 -1
  24. package/dist/commonjs/funcs/checkoutLinksGet.js.map +1 -1
  25. package/dist/commonjs/funcs/checkoutLinksList.js +1 -1
  26. package/dist/commonjs/funcs/checkoutLinksList.js.map +1 -1
  27. package/dist/commonjs/funcs/checkoutLinksUpdate.js +1 -1
  28. package/dist/commonjs/funcs/checkoutLinksUpdate.js.map +1 -1
  29. package/dist/commonjs/funcs/checkoutsClientConfirm.js +1 -1
  30. package/dist/commonjs/funcs/checkoutsClientConfirm.js.map +1 -1
  31. package/dist/commonjs/funcs/checkoutsClientGet.js +1 -1
  32. package/dist/commonjs/funcs/checkoutsClientGet.js.map +1 -1
  33. package/dist/commonjs/funcs/checkoutsClientUpdate.js +1 -1
  34. package/dist/commonjs/funcs/checkoutsClientUpdate.js.map +1 -1
  35. package/dist/commonjs/funcs/checkoutsCreate.js +1 -1
  36. package/dist/commonjs/funcs/checkoutsCreate.js.map +1 -1
  37. package/dist/commonjs/funcs/checkoutsGet.js +1 -1
  38. package/dist/commonjs/funcs/checkoutsGet.js.map +1 -1
  39. package/dist/commonjs/funcs/checkoutsList.js +1 -1
  40. package/dist/commonjs/funcs/checkoutsList.js.map +1 -1
  41. package/dist/commonjs/funcs/checkoutsUpdate.js +1 -1
  42. package/dist/commonjs/funcs/checkoutsUpdate.js.map +1 -1
  43. package/dist/commonjs/funcs/customFieldsCreate.js +1 -1
  44. package/dist/commonjs/funcs/customFieldsCreate.js.map +1 -1
  45. package/dist/commonjs/funcs/customFieldsDelete.js +1 -1
  46. package/dist/commonjs/funcs/customFieldsDelete.js.map +1 -1
  47. package/dist/commonjs/funcs/customFieldsGet.js +1 -1
  48. package/dist/commonjs/funcs/customFieldsGet.js.map +1 -1
  49. package/dist/commonjs/funcs/customFieldsList.js +1 -1
  50. package/dist/commonjs/funcs/customFieldsList.js.map +1 -1
  51. package/dist/commonjs/funcs/customFieldsUpdate.js +1 -1
  52. package/dist/commonjs/funcs/customFieldsUpdate.js.map +1 -1
  53. package/dist/commonjs/funcs/customerMetersGet.js +1 -1
  54. package/dist/commonjs/funcs/customerMetersGet.js.map +1 -1
  55. package/dist/commonjs/funcs/customerMetersList.js +1 -1
  56. package/dist/commonjs/funcs/customerMetersList.js.map +1 -1
  57. package/dist/commonjs/funcs/customerPortalLicenseKeysActivate.js +1 -1
  58. package/dist/commonjs/funcs/customerPortalLicenseKeysActivate.js.map +1 -1
  59. package/dist/commonjs/funcs/customerPortalLicenseKeysDeactivate.js +1 -1
  60. package/dist/commonjs/funcs/customerPortalLicenseKeysDeactivate.js.map +1 -1
  61. package/dist/commonjs/funcs/customerPortalLicenseKeysValidate.js +1 -1
  62. package/dist/commonjs/funcs/customerPortalLicenseKeysValidate.js.map +1 -1
  63. package/dist/commonjs/funcs/customerPortalOrganizationsGet.js +1 -1
  64. package/dist/commonjs/funcs/customerPortalOrganizationsGet.js.map +1 -1
  65. package/dist/commonjs/funcs/customerPortalSeatsAssignSeat.d.ts +20 -0
  66. package/dist/commonjs/funcs/customerPortalSeatsAssignSeat.d.ts.map +1 -0
  67. package/dist/commonjs/funcs/customerPortalSeatsAssignSeat.js +123 -0
  68. package/dist/commonjs/funcs/customerPortalSeatsAssignSeat.js.map +1 -0
  69. package/dist/commonjs/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts +20 -0
  70. package/dist/commonjs/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts.map +1 -0
  71. package/dist/commonjs/funcs/customerPortalSeatsListClaimedSubscriptions.js +111 -0
  72. package/dist/commonjs/funcs/customerPortalSeatsListClaimedSubscriptions.js.map +1 -0
  73. package/dist/commonjs/funcs/customerPortalSeatsListSeats.d.ts +19 -0
  74. package/dist/commonjs/funcs/customerPortalSeatsListSeats.d.ts.map +1 -0
  75. package/dist/commonjs/funcs/customerPortalSeatsListSeats.js +126 -0
  76. package/dist/commonjs/funcs/customerPortalSeatsListSeats.js.map +1 -0
  77. package/dist/commonjs/funcs/customerPortalSeatsResendInvitation.d.ts +19 -0
  78. package/dist/commonjs/funcs/customerPortalSeatsResendInvitation.d.ts.map +1 -0
  79. package/dist/commonjs/funcs/customerPortalSeatsResendInvitation.js +128 -0
  80. package/dist/commonjs/funcs/customerPortalSeatsResendInvitation.js.map +1 -0
  81. package/dist/commonjs/funcs/customerPortalSeatsRevokeSeat.d.ts +19 -0
  82. package/dist/commonjs/funcs/customerPortalSeatsRevokeSeat.d.ts.map +1 -0
  83. package/dist/commonjs/funcs/customerPortalSeatsRevokeSeat.js +128 -0
  84. package/dist/commonjs/funcs/customerPortalSeatsRevokeSeat.js.map +1 -0
  85. package/dist/commonjs/funcs/customerSessionsCreate.js +1 -1
  86. package/dist/commonjs/funcs/customerSessionsCreate.js.map +1 -1
  87. package/dist/commonjs/funcs/customersCreate.js +1 -1
  88. package/dist/commonjs/funcs/customersCreate.js.map +1 -1
  89. package/dist/commonjs/funcs/customersDelete.js +1 -1
  90. package/dist/commonjs/funcs/customersDelete.js.map +1 -1
  91. package/dist/commonjs/funcs/customersDeleteExternal.js +1 -1
  92. package/dist/commonjs/funcs/customersDeleteExternal.js.map +1 -1
  93. package/dist/commonjs/funcs/customersExport.js +1 -1
  94. package/dist/commonjs/funcs/customersExport.js.map +1 -1
  95. package/dist/commonjs/funcs/customersGet.js +1 -1
  96. package/dist/commonjs/funcs/customersGet.js.map +1 -1
  97. package/dist/commonjs/funcs/customersGetBalance.js +1 -1
  98. package/dist/commonjs/funcs/customersGetBalance.js.map +1 -1
  99. package/dist/commonjs/funcs/customersGetExternal.js +1 -1
  100. package/dist/commonjs/funcs/customersGetExternal.js.map +1 -1
  101. package/dist/commonjs/funcs/customersGetState.js +1 -1
  102. package/dist/commonjs/funcs/customersGetState.js.map +1 -1
  103. package/dist/commonjs/funcs/customersGetStateExternal.js +1 -1
  104. package/dist/commonjs/funcs/customersGetStateExternal.js.map +1 -1
  105. package/dist/commonjs/funcs/customersList.js +1 -1
  106. package/dist/commonjs/funcs/customersList.js.map +1 -1
  107. package/dist/commonjs/funcs/customersUpdate.js +1 -1
  108. package/dist/commonjs/funcs/customersUpdate.js.map +1 -1
  109. package/dist/commonjs/funcs/customersUpdateExternal.js +1 -1
  110. package/dist/commonjs/funcs/customersUpdateExternal.js.map +1 -1
  111. package/dist/commonjs/funcs/discountsCreate.js +1 -1
  112. package/dist/commonjs/funcs/discountsCreate.js.map +1 -1
  113. package/dist/commonjs/funcs/discountsDelete.js +1 -1
  114. package/dist/commonjs/funcs/discountsDelete.js.map +1 -1
  115. package/dist/commonjs/funcs/discountsGet.js +1 -1
  116. package/dist/commonjs/funcs/discountsGet.js.map +1 -1
  117. package/dist/commonjs/funcs/discountsList.js +1 -1
  118. package/dist/commonjs/funcs/discountsList.js.map +1 -1
  119. package/dist/commonjs/funcs/discountsUpdate.js +1 -1
  120. package/dist/commonjs/funcs/discountsUpdate.js.map +1 -1
  121. package/dist/commonjs/funcs/eventsGet.js +1 -1
  122. package/dist/commonjs/funcs/eventsGet.js.map +1 -1
  123. package/dist/commonjs/funcs/eventsIngest.js +1 -1
  124. package/dist/commonjs/funcs/eventsIngest.js.map +1 -1
  125. package/dist/commonjs/funcs/eventsList.js +1 -1
  126. package/dist/commonjs/funcs/eventsList.js.map +1 -1
  127. package/dist/commonjs/funcs/eventsListNames.js +1 -1
  128. package/dist/commonjs/funcs/eventsListNames.js.map +1 -1
  129. package/dist/commonjs/funcs/filesCreate.js +1 -1
  130. package/dist/commonjs/funcs/filesCreate.js.map +1 -1
  131. package/dist/commonjs/funcs/filesDelete.js +1 -1
  132. package/dist/commonjs/funcs/filesDelete.js.map +1 -1
  133. package/dist/commonjs/funcs/filesList.js +1 -1
  134. package/dist/commonjs/funcs/filesList.js.map +1 -1
  135. package/dist/commonjs/funcs/filesUpdate.js +1 -1
  136. package/dist/commonjs/funcs/filesUpdate.js.map +1 -1
  137. package/dist/commonjs/funcs/filesUploaded.js +1 -1
  138. package/dist/commonjs/funcs/filesUploaded.js.map +1 -1
  139. package/dist/commonjs/funcs/licenseKeysActivate.js +1 -1
  140. package/dist/commonjs/funcs/licenseKeysActivate.js.map +1 -1
  141. package/dist/commonjs/funcs/licenseKeysDeactivate.js +1 -1
  142. package/dist/commonjs/funcs/licenseKeysDeactivate.js.map +1 -1
  143. package/dist/commonjs/funcs/licenseKeysGet.js +1 -1
  144. package/dist/commonjs/funcs/licenseKeysGet.js.map +1 -1
  145. package/dist/commonjs/funcs/licenseKeysGetActivation.js +1 -1
  146. package/dist/commonjs/funcs/licenseKeysGetActivation.js.map +1 -1
  147. package/dist/commonjs/funcs/licenseKeysList.js +1 -1
  148. package/dist/commonjs/funcs/licenseKeysList.js.map +1 -1
  149. package/dist/commonjs/funcs/licenseKeysUpdate.js +1 -1
  150. package/dist/commonjs/funcs/licenseKeysUpdate.js.map +1 -1
  151. package/dist/commonjs/funcs/licenseKeysValidate.js +1 -1
  152. package/dist/commonjs/funcs/licenseKeysValidate.js.map +1 -1
  153. package/dist/commonjs/funcs/metersCreate.js +1 -1
  154. package/dist/commonjs/funcs/metersCreate.js.map +1 -1
  155. package/dist/commonjs/funcs/metersGet.js +1 -1
  156. package/dist/commonjs/funcs/metersGet.js.map +1 -1
  157. package/dist/commonjs/funcs/metersList.js +1 -1
  158. package/dist/commonjs/funcs/metersList.js.map +1 -1
  159. package/dist/commonjs/funcs/metersQuantities.js +1 -1
  160. package/dist/commonjs/funcs/metersQuantities.js.map +1 -1
  161. package/dist/commonjs/funcs/metersUpdate.js +1 -1
  162. package/dist/commonjs/funcs/metersUpdate.js.map +1 -1
  163. package/dist/commonjs/funcs/metricsGet.js +1 -1
  164. package/dist/commonjs/funcs/metricsGet.js.map +1 -1
  165. package/dist/commonjs/funcs/metricsLimits.js +1 -1
  166. package/dist/commonjs/funcs/metricsLimits.js.map +1 -1
  167. package/dist/commonjs/funcs/oauth2Authorize.js +1 -1
  168. package/dist/commonjs/funcs/oauth2Authorize.js.map +1 -1
  169. package/dist/commonjs/funcs/oauth2ClientsCreate.d.ts +18 -0
  170. package/dist/commonjs/funcs/oauth2ClientsCreate.d.ts.map +1 -0
  171. package/dist/commonjs/funcs/oauth2ClientsCreate.js +119 -0
  172. package/dist/commonjs/funcs/oauth2ClientsCreate.js.map +1 -0
  173. package/dist/commonjs/funcs/oauth2ClientsDelete.d.ts +18 -0
  174. package/dist/commonjs/funcs/oauth2ClientsDelete.d.ts.map +1 -0
  175. package/dist/commonjs/funcs/oauth2ClientsDelete.js +124 -0
  176. package/dist/commonjs/funcs/oauth2ClientsDelete.js.map +1 -0
  177. package/dist/commonjs/funcs/oauth2ClientsGet.d.ts +18 -0
  178. package/dist/commonjs/funcs/oauth2ClientsGet.d.ts.map +1 -0
  179. package/dist/commonjs/funcs/oauth2ClientsGet.js +124 -0
  180. package/dist/commonjs/funcs/oauth2ClientsGet.js.map +1 -0
  181. package/dist/commonjs/funcs/oauth2ClientsUpdate.d.ts +18 -0
  182. package/dist/commonjs/funcs/oauth2ClientsUpdate.d.ts.map +1 -0
  183. package/dist/commonjs/funcs/oauth2ClientsUpdate.js +127 -0
  184. package/dist/commonjs/funcs/oauth2ClientsUpdate.js.map +1 -0
  185. package/dist/commonjs/funcs/oauth2Introspect.js +1 -1
  186. package/dist/commonjs/funcs/oauth2Introspect.js.map +1 -1
  187. package/dist/commonjs/funcs/oauth2Revoke.js +1 -1
  188. package/dist/commonjs/funcs/oauth2Revoke.js.map +1 -1
  189. package/dist/commonjs/funcs/oauth2Token.js +1 -1
  190. package/dist/commonjs/funcs/oauth2Token.js.map +1 -1
  191. package/dist/commonjs/funcs/oauth2Userinfo.js +1 -1
  192. package/dist/commonjs/funcs/oauth2Userinfo.js.map +1 -1
  193. package/dist/commonjs/funcs/ordersGenerateInvoice.js +1 -1
  194. package/dist/commonjs/funcs/ordersGenerateInvoice.js.map +1 -1
  195. package/dist/commonjs/funcs/ordersGet.js +1 -1
  196. package/dist/commonjs/funcs/ordersGet.js.map +1 -1
  197. package/dist/commonjs/funcs/ordersInvoice.js +1 -1
  198. package/dist/commonjs/funcs/ordersInvoice.js.map +1 -1
  199. package/dist/commonjs/funcs/ordersList.js +1 -1
  200. package/dist/commonjs/funcs/ordersList.js.map +1 -1
  201. package/dist/commonjs/funcs/ordersUpdate.js +1 -1
  202. package/dist/commonjs/funcs/ordersUpdate.js.map +1 -1
  203. package/dist/commonjs/funcs/organizationsCreate.js +1 -1
  204. package/dist/commonjs/funcs/organizationsCreate.js.map +1 -1
  205. package/dist/commonjs/funcs/organizationsGet.js +1 -1
  206. package/dist/commonjs/funcs/organizationsGet.js.map +1 -1
  207. package/dist/commonjs/funcs/organizationsList.js +1 -1
  208. package/dist/commonjs/funcs/organizationsList.js.map +1 -1
  209. package/dist/commonjs/funcs/organizationsUpdate.js +1 -1
  210. package/dist/commonjs/funcs/organizationsUpdate.js.map +1 -1
  211. package/dist/commonjs/funcs/paymentsGet.js +1 -1
  212. package/dist/commonjs/funcs/paymentsGet.js.map +1 -1
  213. package/dist/commonjs/funcs/paymentsList.js +1 -1
  214. package/dist/commonjs/funcs/paymentsList.js.map +1 -1
  215. package/dist/commonjs/funcs/productsCreate.js +1 -1
  216. package/dist/commonjs/funcs/productsCreate.js.map +1 -1
  217. package/dist/commonjs/funcs/productsGet.js +1 -1
  218. package/dist/commonjs/funcs/productsGet.js.map +1 -1
  219. package/dist/commonjs/funcs/productsList.js +1 -1
  220. package/dist/commonjs/funcs/productsList.js.map +1 -1
  221. package/dist/commonjs/funcs/productsUpdate.js +1 -1
  222. package/dist/commonjs/funcs/productsUpdate.js.map +1 -1
  223. package/dist/commonjs/funcs/productsUpdateBenefits.js +1 -1
  224. package/dist/commonjs/funcs/productsUpdateBenefits.js.map +1 -1
  225. package/dist/commonjs/funcs/refundsCreate.js +1 -1
  226. package/dist/commonjs/funcs/refundsCreate.js.map +1 -1
  227. package/dist/commonjs/funcs/refundsList.js +1 -1
  228. package/dist/commonjs/funcs/refundsList.js.map +1 -1
  229. package/dist/commonjs/funcs/subscriptionsExport.js +1 -1
  230. package/dist/commonjs/funcs/subscriptionsExport.js.map +1 -1
  231. package/dist/commonjs/funcs/subscriptionsGet.js +1 -1
  232. package/dist/commonjs/funcs/subscriptionsGet.js.map +1 -1
  233. package/dist/commonjs/funcs/subscriptionsList.js +1 -1
  234. package/dist/commonjs/funcs/subscriptionsList.js.map +1 -1
  235. package/dist/commonjs/funcs/subscriptionsRevoke.js +1 -1
  236. package/dist/commonjs/funcs/subscriptionsRevoke.js.map +1 -1
  237. package/dist/commonjs/funcs/subscriptionsUpdate.js +1 -1
  238. package/dist/commonjs/funcs/subscriptionsUpdate.js.map +1 -1
  239. package/dist/commonjs/funcs/webhooksCreateWebhookEndpoint.js +1 -1
  240. package/dist/commonjs/funcs/webhooksCreateWebhookEndpoint.js.map +1 -1
  241. package/dist/commonjs/funcs/webhooksDeleteWebhookEndpoint.js +1 -1
  242. package/dist/commonjs/funcs/webhooksDeleteWebhookEndpoint.js.map +1 -1
  243. package/dist/commonjs/funcs/webhooksGetWebhookEndpoint.js +1 -1
  244. package/dist/commonjs/funcs/webhooksGetWebhookEndpoint.js.map +1 -1
  245. package/dist/commonjs/funcs/webhooksListWebhookDeliveries.js +1 -1
  246. package/dist/commonjs/funcs/webhooksListWebhookDeliveries.js.map +1 -1
  247. package/dist/commonjs/funcs/webhooksListWebhookEndpoints.js +1 -1
  248. package/dist/commonjs/funcs/webhooksListWebhookEndpoints.js.map +1 -1
  249. package/dist/commonjs/funcs/webhooksRedeliverWebhookEvent.js +1 -1
  250. package/dist/commonjs/funcs/webhooksRedeliverWebhookEvent.js.map +1 -1
  251. package/dist/commonjs/funcs/webhooksResetWebhookEndpointSecret.js +1 -1
  252. package/dist/commonjs/funcs/webhooksResetWebhookEndpointSecret.js.map +1 -1
  253. package/dist/commonjs/funcs/webhooksUpdateWebhookEndpoint.js +1 -1
  254. package/dist/commonjs/funcs/webhooksUpdateWebhookEndpoint.js.map +1 -1
  255. package/dist/commonjs/lib/config.d.ts +3 -3
  256. package/dist/commonjs/lib/config.js +3 -3
  257. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  258. package/dist/commonjs/mcp-server/server.js +1 -1
  259. package/dist/commonjs/models/components/checkout.d.ts +5 -0
  260. package/dist/commonjs/models/components/checkout.d.ts.map +1 -1
  261. package/dist/commonjs/models/components/checkout.js +4 -0
  262. package/dist/commonjs/models/components/checkout.js.map +1 -1
  263. package/dist/commonjs/models/components/checkoutpublic.d.ts +5 -0
  264. package/dist/commonjs/models/components/checkoutpublic.d.ts.map +1 -1
  265. package/dist/commonjs/models/components/checkoutpublic.js +4 -0
  266. package/dist/commonjs/models/components/checkoutpublic.js.map +1 -1
  267. package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts +5 -0
  268. package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
  269. package/dist/commonjs/models/components/checkoutpublicconfirmed.js +4 -0
  270. package/dist/commonjs/models/components/checkoutpublicconfirmed.js.map +1 -1
  271. package/dist/commonjs/models/components/customerorder.d.ts +8 -3
  272. package/dist/commonjs/models/components/customerorder.d.ts.map +1 -1
  273. package/dist/commonjs/models/components/customerorder.js +8 -4
  274. package/dist/commonjs/models/components/customerorder.js.map +1 -1
  275. package/dist/commonjs/models/components/customerseat.d.ts +84 -0
  276. package/dist/commonjs/models/components/customerseat.d.ts.map +1 -0
  277. package/dist/commonjs/models/components/customerseat.js +116 -0
  278. package/dist/commonjs/models/components/customerseat.js.map +1 -0
  279. package/dist/commonjs/models/components/discountupdate.d.ts +13 -1
  280. package/dist/commonjs/models/components/discountupdate.d.ts.map +1 -1
  281. package/dist/commonjs/models/components/discountupdate.js +2 -2
  282. package/dist/commonjs/models/components/discountupdate.js.map +1 -1
  283. package/dist/commonjs/models/components/oauth2clientconfiguration.d.ts +101 -0
  284. package/dist/commonjs/models/components/oauth2clientconfiguration.d.ts.map +1 -0
  285. package/dist/commonjs/models/components/oauth2clientconfiguration.js +152 -0
  286. package/dist/commonjs/models/components/oauth2clientconfiguration.js.map +1 -0
  287. package/dist/commonjs/models/components/oauth2clientconfigurationupdate.d.ts +103 -0
  288. package/dist/commonjs/models/components/oauth2clientconfigurationupdate.d.ts.map +1 -0
  289. package/dist/commonjs/models/components/oauth2clientconfigurationupdate.js +160 -0
  290. package/dist/commonjs/models/components/oauth2clientconfigurationupdate.js.map +1 -0
  291. package/dist/commonjs/models/components/order.d.ts +8 -3
  292. package/dist/commonjs/models/components/order.d.ts.map +1 -1
  293. package/dist/commonjs/models/components/order.js +8 -4
  294. package/dist/commonjs/models/components/order.js.map +1 -1
  295. package/dist/commonjs/models/components/productpriceseatbased.d.ts +4 -3
  296. package/dist/commonjs/models/components/productpriceseatbased.d.ts.map +1 -1
  297. package/dist/commonjs/models/components/productpriceseatbased.js +5 -4
  298. package/dist/commonjs/models/components/productpriceseatbased.js.map +1 -1
  299. package/dist/commonjs/models/components/productpriceseatbasedcreate.d.ts +5 -4
  300. package/dist/commonjs/models/components/productpriceseatbasedcreate.d.ts.map +1 -1
  301. package/dist/commonjs/models/components/productpriceseatbasedcreate.js +5 -4
  302. package/dist/commonjs/models/components/productpriceseatbasedcreate.js.map +1 -1
  303. package/dist/commonjs/models/components/productpriceseattier.d.ts +45 -0
  304. package/dist/commonjs/models/components/productpriceseattier.d.ts.map +1 -0
  305. package/dist/commonjs/models/components/productpriceseattier.js +86 -0
  306. package/dist/commonjs/models/components/productpriceseattier.js.map +1 -0
  307. package/dist/commonjs/models/components/productpriceseattiers.d.ts +36 -0
  308. package/dist/commonjs/models/components/productpriceseattiers.d.ts.map +1 -0
  309. package/dist/commonjs/models/components/productpriceseattiers.js +70 -0
  310. package/dist/commonjs/models/components/productpriceseattiers.js.map +1 -0
  311. package/dist/commonjs/models/components/seatassign.d.ts +61 -0
  312. package/dist/commonjs/models/components/seatassign.d.ts.map +1 -0
  313. package/dist/commonjs/models/components/seatassign.js +94 -0
  314. package/dist/commonjs/models/components/seatassign.js.map +1 -0
  315. package/dist/commonjs/models/components/seatslist.d.ts +43 -0
  316. package/dist/commonjs/models/components/seatslist.d.ts.map +1 -0
  317. package/dist/commonjs/models/components/seatslist.js +85 -0
  318. package/dist/commonjs/models/components/seatslist.js.map +1 -0
  319. package/dist/commonjs/models/components/seatstatus.d.ts +31 -0
  320. package/dist/commonjs/models/components/seatstatus.d.ts.map +1 -0
  321. package/dist/commonjs/models/components/seatstatus.js +62 -0
  322. package/dist/commonjs/models/components/seatstatus.js.map +1 -0
  323. package/dist/commonjs/models/operations/customerportalseatsassignseat.d.ts +29 -0
  324. package/dist/commonjs/models/operations/customerportalseatsassignseat.d.ts.map +1 -0
  325. package/dist/commonjs/models/operations/customerportalseatsassignseat.js +78 -0
  326. package/dist/commonjs/models/operations/customerportalseatsassignseat.js.map +1 -0
  327. package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.d.ts +29 -0
  328. package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.d.ts.map +1 -0
  329. package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.js +78 -0
  330. package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.js.map +1 -0
  331. package/dist/commonjs/models/operations/customerportalseatslistseats.d.ts +57 -0
  332. package/dist/commonjs/models/operations/customerportalseatslistseats.d.ts.map +1 -0
  333. package/dist/commonjs/models/operations/customerportalseatslistseats.js +113 -0
  334. package/dist/commonjs/models/operations/customerportalseatslistseats.js.map +1 -0
  335. package/dist/commonjs/models/operations/customerportalseatsresendinvitation.d.ts +54 -0
  336. package/dist/commonjs/models/operations/customerportalseatsresendinvitation.d.ts.map +1 -0
  337. package/dist/commonjs/models/operations/customerportalseatsresendinvitation.js +113 -0
  338. package/dist/commonjs/models/operations/customerportalseatsresendinvitation.js.map +1 -0
  339. package/dist/commonjs/models/operations/customerportalseatsrevokeseat.d.ts +54 -0
  340. package/dist/commonjs/models/operations/customerportalseatsrevokeseat.d.ts.map +1 -0
  341. package/dist/commonjs/models/operations/customerportalseatsrevokeseat.js +113 -0
  342. package/dist/commonjs/models/operations/customerportalseatsrevokeseat.js.map +1 -0
  343. package/dist/commonjs/models/operations/oauth2clientsoauth2deleteclient.d.ts +29 -0
  344. package/dist/commonjs/models/operations/oauth2clientsoauth2deleteclient.d.ts.map +1 -0
  345. package/dist/commonjs/models/operations/oauth2clientsoauth2deleteclient.js +78 -0
  346. package/dist/commonjs/models/operations/oauth2clientsoauth2deleteclient.js.map +1 -0
  347. package/dist/commonjs/models/operations/oauth2clientsoauth2getclient.d.ts +29 -0
  348. package/dist/commonjs/models/operations/oauth2clientsoauth2getclient.d.ts.map +1 -0
  349. package/dist/commonjs/models/operations/oauth2clientsoauth2getclient.js +78 -0
  350. package/dist/commonjs/models/operations/oauth2clientsoauth2getclient.js.map +1 -0
  351. package/dist/commonjs/models/operations/oauth2clientsoauth2updateclient.d.ts +32 -0
  352. package/dist/commonjs/models/operations/oauth2clientsoauth2updateclient.d.ts.map +1 -0
  353. package/dist/commonjs/models/operations/oauth2clientsoauth2updateclient.js +83 -0
  354. package/dist/commonjs/models/operations/oauth2clientsoauth2updateclient.js.map +1 -0
  355. package/dist/commonjs/sdk/clients.d.ts +36 -0
  356. package/dist/commonjs/sdk/clients.d.ts.map +1 -0
  357. package/dist/commonjs/sdk/clients.js +52 -0
  358. package/dist/commonjs/sdk/clients.js.map +1 -0
  359. package/dist/commonjs/sdk/customerportal.d.ts +3 -0
  360. package/dist/commonjs/sdk/customerportal.d.ts.map +1 -1
  361. package/dist/commonjs/sdk/customerportal.js +4 -0
  362. package/dist/commonjs/sdk/customerportal.js.map +1 -1
  363. package/dist/commonjs/sdk/oauth2.d.ts +3 -0
  364. package/dist/commonjs/sdk/oauth2.d.ts.map +1 -1
  365. package/dist/commonjs/sdk/oauth2.js +4 -0
  366. package/dist/commonjs/sdk/oauth2.js.map +1 -1
  367. package/dist/commonjs/sdk/seats.d.ts +50 -0
  368. package/dist/commonjs/sdk/seats.d.ts.map +1 -0
  369. package/dist/commonjs/sdk/seats.js +64 -0
  370. package/dist/commonjs/sdk/seats.js.map +1 -0
  371. package/dist/esm/funcs/benefitGrantsList.js +1 -1
  372. package/dist/esm/funcs/benefitGrantsList.js.map +1 -1
  373. package/dist/esm/funcs/benefitsCreate.js +1 -1
  374. package/dist/esm/funcs/benefitsCreate.js.map +1 -1
  375. package/dist/esm/funcs/benefitsDelete.js +1 -1
  376. package/dist/esm/funcs/benefitsDelete.js.map +1 -1
  377. package/dist/esm/funcs/benefitsGet.js +1 -1
  378. package/dist/esm/funcs/benefitsGet.js.map +1 -1
  379. package/dist/esm/funcs/benefitsGrants.js +1 -1
  380. package/dist/esm/funcs/benefitsGrants.js.map +1 -1
  381. package/dist/esm/funcs/benefitsList.js +1 -1
  382. package/dist/esm/funcs/benefitsList.js.map +1 -1
  383. package/dist/esm/funcs/benefitsUpdate.js +1 -1
  384. package/dist/esm/funcs/benefitsUpdate.js.map +1 -1
  385. package/dist/esm/funcs/checkoutLinksCreate.js +1 -1
  386. package/dist/esm/funcs/checkoutLinksCreate.js.map +1 -1
  387. package/dist/esm/funcs/checkoutLinksDelete.js +1 -1
  388. package/dist/esm/funcs/checkoutLinksDelete.js.map +1 -1
  389. package/dist/esm/funcs/checkoutLinksGet.js +1 -1
  390. package/dist/esm/funcs/checkoutLinksGet.js.map +1 -1
  391. package/dist/esm/funcs/checkoutLinksList.js +1 -1
  392. package/dist/esm/funcs/checkoutLinksList.js.map +1 -1
  393. package/dist/esm/funcs/checkoutLinksUpdate.js +1 -1
  394. package/dist/esm/funcs/checkoutLinksUpdate.js.map +1 -1
  395. package/dist/esm/funcs/checkoutsClientConfirm.js +1 -1
  396. package/dist/esm/funcs/checkoutsClientConfirm.js.map +1 -1
  397. package/dist/esm/funcs/checkoutsClientGet.js +1 -1
  398. package/dist/esm/funcs/checkoutsClientGet.js.map +1 -1
  399. package/dist/esm/funcs/checkoutsClientUpdate.js +1 -1
  400. package/dist/esm/funcs/checkoutsClientUpdate.js.map +1 -1
  401. package/dist/esm/funcs/checkoutsCreate.js +1 -1
  402. package/dist/esm/funcs/checkoutsCreate.js.map +1 -1
  403. package/dist/esm/funcs/checkoutsGet.js +1 -1
  404. package/dist/esm/funcs/checkoutsGet.js.map +1 -1
  405. package/dist/esm/funcs/checkoutsList.js +1 -1
  406. package/dist/esm/funcs/checkoutsList.js.map +1 -1
  407. package/dist/esm/funcs/checkoutsUpdate.js +1 -1
  408. package/dist/esm/funcs/checkoutsUpdate.js.map +1 -1
  409. package/dist/esm/funcs/customFieldsCreate.js +1 -1
  410. package/dist/esm/funcs/customFieldsCreate.js.map +1 -1
  411. package/dist/esm/funcs/customFieldsDelete.js +1 -1
  412. package/dist/esm/funcs/customFieldsDelete.js.map +1 -1
  413. package/dist/esm/funcs/customFieldsGet.js +1 -1
  414. package/dist/esm/funcs/customFieldsGet.js.map +1 -1
  415. package/dist/esm/funcs/customFieldsList.js +1 -1
  416. package/dist/esm/funcs/customFieldsList.js.map +1 -1
  417. package/dist/esm/funcs/customFieldsUpdate.js +1 -1
  418. package/dist/esm/funcs/customFieldsUpdate.js.map +1 -1
  419. package/dist/esm/funcs/customerMetersGet.js +1 -1
  420. package/dist/esm/funcs/customerMetersGet.js.map +1 -1
  421. package/dist/esm/funcs/customerMetersList.js +1 -1
  422. package/dist/esm/funcs/customerMetersList.js.map +1 -1
  423. package/dist/esm/funcs/customerPortalLicenseKeysActivate.js +1 -1
  424. package/dist/esm/funcs/customerPortalLicenseKeysActivate.js.map +1 -1
  425. package/dist/esm/funcs/customerPortalLicenseKeysDeactivate.js +1 -1
  426. package/dist/esm/funcs/customerPortalLicenseKeysDeactivate.js.map +1 -1
  427. package/dist/esm/funcs/customerPortalLicenseKeysValidate.js +1 -1
  428. package/dist/esm/funcs/customerPortalLicenseKeysValidate.js.map +1 -1
  429. package/dist/esm/funcs/customerPortalOrganizationsGet.js +1 -1
  430. package/dist/esm/funcs/customerPortalOrganizationsGet.js.map +1 -1
  431. package/dist/esm/funcs/customerPortalSeatsAssignSeat.d.ts +20 -0
  432. package/dist/esm/funcs/customerPortalSeatsAssignSeat.d.ts.map +1 -0
  433. package/dist/esm/funcs/customerPortalSeatsAssignSeat.js +87 -0
  434. package/dist/esm/funcs/customerPortalSeatsAssignSeat.js.map +1 -0
  435. package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts +20 -0
  436. package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts.map +1 -0
  437. package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.js +75 -0
  438. package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.js.map +1 -0
  439. package/dist/esm/funcs/customerPortalSeatsListSeats.d.ts +19 -0
  440. package/dist/esm/funcs/customerPortalSeatsListSeats.d.ts.map +1 -0
  441. package/dist/esm/funcs/customerPortalSeatsListSeats.js +90 -0
  442. package/dist/esm/funcs/customerPortalSeatsListSeats.js.map +1 -0
  443. package/dist/esm/funcs/customerPortalSeatsResendInvitation.d.ts +19 -0
  444. package/dist/esm/funcs/customerPortalSeatsResendInvitation.d.ts.map +1 -0
  445. package/dist/esm/funcs/customerPortalSeatsResendInvitation.js +92 -0
  446. package/dist/esm/funcs/customerPortalSeatsResendInvitation.js.map +1 -0
  447. package/dist/esm/funcs/customerPortalSeatsRevokeSeat.d.ts +19 -0
  448. package/dist/esm/funcs/customerPortalSeatsRevokeSeat.d.ts.map +1 -0
  449. package/dist/esm/funcs/customerPortalSeatsRevokeSeat.js +92 -0
  450. package/dist/esm/funcs/customerPortalSeatsRevokeSeat.js.map +1 -0
  451. package/dist/esm/funcs/customerSessionsCreate.js +1 -1
  452. package/dist/esm/funcs/customerSessionsCreate.js.map +1 -1
  453. package/dist/esm/funcs/customersCreate.js +1 -1
  454. package/dist/esm/funcs/customersCreate.js.map +1 -1
  455. package/dist/esm/funcs/customersDelete.js +1 -1
  456. package/dist/esm/funcs/customersDelete.js.map +1 -1
  457. package/dist/esm/funcs/customersDeleteExternal.js +1 -1
  458. package/dist/esm/funcs/customersDeleteExternal.js.map +1 -1
  459. package/dist/esm/funcs/customersExport.js +1 -1
  460. package/dist/esm/funcs/customersExport.js.map +1 -1
  461. package/dist/esm/funcs/customersGet.js +1 -1
  462. package/dist/esm/funcs/customersGet.js.map +1 -1
  463. package/dist/esm/funcs/customersGetBalance.js +1 -1
  464. package/dist/esm/funcs/customersGetBalance.js.map +1 -1
  465. package/dist/esm/funcs/customersGetExternal.js +1 -1
  466. package/dist/esm/funcs/customersGetExternal.js.map +1 -1
  467. package/dist/esm/funcs/customersGetState.js +1 -1
  468. package/dist/esm/funcs/customersGetState.js.map +1 -1
  469. package/dist/esm/funcs/customersGetStateExternal.js +1 -1
  470. package/dist/esm/funcs/customersGetStateExternal.js.map +1 -1
  471. package/dist/esm/funcs/customersList.js +1 -1
  472. package/dist/esm/funcs/customersList.js.map +1 -1
  473. package/dist/esm/funcs/customersUpdate.js +1 -1
  474. package/dist/esm/funcs/customersUpdate.js.map +1 -1
  475. package/dist/esm/funcs/customersUpdateExternal.js +1 -1
  476. package/dist/esm/funcs/customersUpdateExternal.js.map +1 -1
  477. package/dist/esm/funcs/discountsCreate.js +1 -1
  478. package/dist/esm/funcs/discountsCreate.js.map +1 -1
  479. package/dist/esm/funcs/discountsDelete.js +1 -1
  480. package/dist/esm/funcs/discountsDelete.js.map +1 -1
  481. package/dist/esm/funcs/discountsGet.js +1 -1
  482. package/dist/esm/funcs/discountsGet.js.map +1 -1
  483. package/dist/esm/funcs/discountsList.js +1 -1
  484. package/dist/esm/funcs/discountsList.js.map +1 -1
  485. package/dist/esm/funcs/discountsUpdate.js +1 -1
  486. package/dist/esm/funcs/discountsUpdate.js.map +1 -1
  487. package/dist/esm/funcs/eventsGet.js +1 -1
  488. package/dist/esm/funcs/eventsGet.js.map +1 -1
  489. package/dist/esm/funcs/eventsIngest.js +1 -1
  490. package/dist/esm/funcs/eventsIngest.js.map +1 -1
  491. package/dist/esm/funcs/eventsList.js +1 -1
  492. package/dist/esm/funcs/eventsList.js.map +1 -1
  493. package/dist/esm/funcs/eventsListNames.js +1 -1
  494. package/dist/esm/funcs/eventsListNames.js.map +1 -1
  495. package/dist/esm/funcs/filesCreate.js +1 -1
  496. package/dist/esm/funcs/filesCreate.js.map +1 -1
  497. package/dist/esm/funcs/filesDelete.js +1 -1
  498. package/dist/esm/funcs/filesDelete.js.map +1 -1
  499. package/dist/esm/funcs/filesList.js +1 -1
  500. package/dist/esm/funcs/filesList.js.map +1 -1
  501. package/dist/esm/funcs/filesUpdate.js +1 -1
  502. package/dist/esm/funcs/filesUpdate.js.map +1 -1
  503. package/dist/esm/funcs/filesUploaded.js +1 -1
  504. package/dist/esm/funcs/filesUploaded.js.map +1 -1
  505. package/dist/esm/funcs/licenseKeysActivate.js +1 -1
  506. package/dist/esm/funcs/licenseKeysActivate.js.map +1 -1
  507. package/dist/esm/funcs/licenseKeysDeactivate.js +1 -1
  508. package/dist/esm/funcs/licenseKeysDeactivate.js.map +1 -1
  509. package/dist/esm/funcs/licenseKeysGet.js +1 -1
  510. package/dist/esm/funcs/licenseKeysGet.js.map +1 -1
  511. package/dist/esm/funcs/licenseKeysGetActivation.js +1 -1
  512. package/dist/esm/funcs/licenseKeysGetActivation.js.map +1 -1
  513. package/dist/esm/funcs/licenseKeysList.js +1 -1
  514. package/dist/esm/funcs/licenseKeysList.js.map +1 -1
  515. package/dist/esm/funcs/licenseKeysUpdate.js +1 -1
  516. package/dist/esm/funcs/licenseKeysUpdate.js.map +1 -1
  517. package/dist/esm/funcs/licenseKeysValidate.js +1 -1
  518. package/dist/esm/funcs/licenseKeysValidate.js.map +1 -1
  519. package/dist/esm/funcs/metersCreate.js +1 -1
  520. package/dist/esm/funcs/metersCreate.js.map +1 -1
  521. package/dist/esm/funcs/metersGet.js +1 -1
  522. package/dist/esm/funcs/metersGet.js.map +1 -1
  523. package/dist/esm/funcs/metersList.js +1 -1
  524. package/dist/esm/funcs/metersList.js.map +1 -1
  525. package/dist/esm/funcs/metersQuantities.js +1 -1
  526. package/dist/esm/funcs/metersQuantities.js.map +1 -1
  527. package/dist/esm/funcs/metersUpdate.js +1 -1
  528. package/dist/esm/funcs/metersUpdate.js.map +1 -1
  529. package/dist/esm/funcs/metricsGet.js +1 -1
  530. package/dist/esm/funcs/metricsGet.js.map +1 -1
  531. package/dist/esm/funcs/metricsLimits.js +1 -1
  532. package/dist/esm/funcs/metricsLimits.js.map +1 -1
  533. package/dist/esm/funcs/oauth2Authorize.js +1 -1
  534. package/dist/esm/funcs/oauth2Authorize.js.map +1 -1
  535. package/dist/esm/funcs/oauth2ClientsCreate.d.ts +18 -0
  536. package/dist/esm/funcs/oauth2ClientsCreate.d.ts.map +1 -0
  537. package/dist/esm/funcs/oauth2ClientsCreate.js +83 -0
  538. package/dist/esm/funcs/oauth2ClientsCreate.js.map +1 -0
  539. package/dist/esm/funcs/oauth2ClientsDelete.d.ts +18 -0
  540. package/dist/esm/funcs/oauth2ClientsDelete.d.ts.map +1 -0
  541. package/dist/esm/funcs/oauth2ClientsDelete.js +88 -0
  542. package/dist/esm/funcs/oauth2ClientsDelete.js.map +1 -0
  543. package/dist/esm/funcs/oauth2ClientsGet.d.ts +18 -0
  544. package/dist/esm/funcs/oauth2ClientsGet.d.ts.map +1 -0
  545. package/dist/esm/funcs/oauth2ClientsGet.js +88 -0
  546. package/dist/esm/funcs/oauth2ClientsGet.js.map +1 -0
  547. package/dist/esm/funcs/oauth2ClientsUpdate.d.ts +18 -0
  548. package/dist/esm/funcs/oauth2ClientsUpdate.d.ts.map +1 -0
  549. package/dist/esm/funcs/oauth2ClientsUpdate.js +91 -0
  550. package/dist/esm/funcs/oauth2ClientsUpdate.js.map +1 -0
  551. package/dist/esm/funcs/oauth2Introspect.js +1 -1
  552. package/dist/esm/funcs/oauth2Introspect.js.map +1 -1
  553. package/dist/esm/funcs/oauth2Revoke.js +1 -1
  554. package/dist/esm/funcs/oauth2Revoke.js.map +1 -1
  555. package/dist/esm/funcs/oauth2Token.js +1 -1
  556. package/dist/esm/funcs/oauth2Token.js.map +1 -1
  557. package/dist/esm/funcs/oauth2Userinfo.js +1 -1
  558. package/dist/esm/funcs/oauth2Userinfo.js.map +1 -1
  559. package/dist/esm/funcs/ordersGenerateInvoice.js +1 -1
  560. package/dist/esm/funcs/ordersGenerateInvoice.js.map +1 -1
  561. package/dist/esm/funcs/ordersGet.js +1 -1
  562. package/dist/esm/funcs/ordersGet.js.map +1 -1
  563. package/dist/esm/funcs/ordersInvoice.js +1 -1
  564. package/dist/esm/funcs/ordersInvoice.js.map +1 -1
  565. package/dist/esm/funcs/ordersList.js +1 -1
  566. package/dist/esm/funcs/ordersList.js.map +1 -1
  567. package/dist/esm/funcs/ordersUpdate.js +1 -1
  568. package/dist/esm/funcs/ordersUpdate.js.map +1 -1
  569. package/dist/esm/funcs/organizationsCreate.js +1 -1
  570. package/dist/esm/funcs/organizationsCreate.js.map +1 -1
  571. package/dist/esm/funcs/organizationsGet.js +1 -1
  572. package/dist/esm/funcs/organizationsGet.js.map +1 -1
  573. package/dist/esm/funcs/organizationsList.js +1 -1
  574. package/dist/esm/funcs/organizationsList.js.map +1 -1
  575. package/dist/esm/funcs/organizationsUpdate.js +1 -1
  576. package/dist/esm/funcs/organizationsUpdate.js.map +1 -1
  577. package/dist/esm/funcs/paymentsGet.js +1 -1
  578. package/dist/esm/funcs/paymentsGet.js.map +1 -1
  579. package/dist/esm/funcs/paymentsList.js +1 -1
  580. package/dist/esm/funcs/paymentsList.js.map +1 -1
  581. package/dist/esm/funcs/productsCreate.js +1 -1
  582. package/dist/esm/funcs/productsCreate.js.map +1 -1
  583. package/dist/esm/funcs/productsGet.js +1 -1
  584. package/dist/esm/funcs/productsGet.js.map +1 -1
  585. package/dist/esm/funcs/productsList.js +1 -1
  586. package/dist/esm/funcs/productsList.js.map +1 -1
  587. package/dist/esm/funcs/productsUpdate.js +1 -1
  588. package/dist/esm/funcs/productsUpdate.js.map +1 -1
  589. package/dist/esm/funcs/productsUpdateBenefits.js +1 -1
  590. package/dist/esm/funcs/productsUpdateBenefits.js.map +1 -1
  591. package/dist/esm/funcs/refundsCreate.js +1 -1
  592. package/dist/esm/funcs/refundsCreate.js.map +1 -1
  593. package/dist/esm/funcs/refundsList.js +1 -1
  594. package/dist/esm/funcs/refundsList.js.map +1 -1
  595. package/dist/esm/funcs/subscriptionsExport.js +1 -1
  596. package/dist/esm/funcs/subscriptionsExport.js.map +1 -1
  597. package/dist/esm/funcs/subscriptionsGet.js +1 -1
  598. package/dist/esm/funcs/subscriptionsGet.js.map +1 -1
  599. package/dist/esm/funcs/subscriptionsList.js +1 -1
  600. package/dist/esm/funcs/subscriptionsList.js.map +1 -1
  601. package/dist/esm/funcs/subscriptionsRevoke.js +1 -1
  602. package/dist/esm/funcs/subscriptionsRevoke.js.map +1 -1
  603. package/dist/esm/funcs/subscriptionsUpdate.js +1 -1
  604. package/dist/esm/funcs/subscriptionsUpdate.js.map +1 -1
  605. package/dist/esm/funcs/webhooksCreateWebhookEndpoint.js +1 -1
  606. package/dist/esm/funcs/webhooksCreateWebhookEndpoint.js.map +1 -1
  607. package/dist/esm/funcs/webhooksDeleteWebhookEndpoint.js +1 -1
  608. package/dist/esm/funcs/webhooksDeleteWebhookEndpoint.js.map +1 -1
  609. package/dist/esm/funcs/webhooksGetWebhookEndpoint.js +1 -1
  610. package/dist/esm/funcs/webhooksGetWebhookEndpoint.js.map +1 -1
  611. package/dist/esm/funcs/webhooksListWebhookDeliveries.js +1 -1
  612. package/dist/esm/funcs/webhooksListWebhookDeliveries.js.map +1 -1
  613. package/dist/esm/funcs/webhooksListWebhookEndpoints.js +1 -1
  614. package/dist/esm/funcs/webhooksListWebhookEndpoints.js.map +1 -1
  615. package/dist/esm/funcs/webhooksRedeliverWebhookEvent.js +1 -1
  616. package/dist/esm/funcs/webhooksRedeliverWebhookEvent.js.map +1 -1
  617. package/dist/esm/funcs/webhooksResetWebhookEndpointSecret.js +1 -1
  618. package/dist/esm/funcs/webhooksResetWebhookEndpointSecret.js.map +1 -1
  619. package/dist/esm/funcs/webhooksUpdateWebhookEndpoint.js +1 -1
  620. package/dist/esm/funcs/webhooksUpdateWebhookEndpoint.js.map +1 -1
  621. package/dist/esm/lib/config.d.ts +3 -3
  622. package/dist/esm/lib/config.js +3 -3
  623. package/dist/esm/mcp-server/mcp-server.js +1 -1
  624. package/dist/esm/mcp-server/server.js +1 -1
  625. package/dist/esm/models/components/checkout.d.ts +5 -0
  626. package/dist/esm/models/components/checkout.d.ts.map +1 -1
  627. package/dist/esm/models/components/checkout.js +4 -0
  628. package/dist/esm/models/components/checkout.js.map +1 -1
  629. package/dist/esm/models/components/checkoutpublic.d.ts +5 -0
  630. package/dist/esm/models/components/checkoutpublic.d.ts.map +1 -1
  631. package/dist/esm/models/components/checkoutpublic.js +4 -0
  632. package/dist/esm/models/components/checkoutpublic.js.map +1 -1
  633. package/dist/esm/models/components/checkoutpublicconfirmed.d.ts +5 -0
  634. package/dist/esm/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
  635. package/dist/esm/models/components/checkoutpublicconfirmed.js +4 -0
  636. package/dist/esm/models/components/checkoutpublicconfirmed.js.map +1 -1
  637. package/dist/esm/models/components/customerorder.d.ts +8 -3
  638. package/dist/esm/models/components/customerorder.d.ts.map +1 -1
  639. package/dist/esm/models/components/customerorder.js +8 -4
  640. package/dist/esm/models/components/customerorder.js.map +1 -1
  641. package/dist/esm/models/components/customerseat.d.ts +84 -0
  642. package/dist/esm/models/components/customerseat.d.ts.map +1 -0
  643. package/dist/esm/models/components/customerseat.js +78 -0
  644. package/dist/esm/models/components/customerseat.js.map +1 -0
  645. package/dist/esm/models/components/discountupdate.d.ts +13 -1
  646. package/dist/esm/models/components/discountupdate.d.ts.map +1 -1
  647. package/dist/esm/models/components/discountupdate.js +2 -2
  648. package/dist/esm/models/components/discountupdate.js.map +1 -1
  649. package/dist/esm/models/components/oauth2clientconfiguration.d.ts +101 -0
  650. package/dist/esm/models/components/oauth2clientconfiguration.d.ts.map +1 -0
  651. package/dist/esm/models/components/oauth2clientconfiguration.js +114 -0
  652. package/dist/esm/models/components/oauth2clientconfiguration.js.map +1 -0
  653. package/dist/esm/models/components/oauth2clientconfigurationupdate.d.ts +103 -0
  654. package/dist/esm/models/components/oauth2clientconfigurationupdate.d.ts.map +1 -0
  655. package/dist/esm/models/components/oauth2clientconfigurationupdate.js +122 -0
  656. package/dist/esm/models/components/oauth2clientconfigurationupdate.js.map +1 -0
  657. package/dist/esm/models/components/order.d.ts +8 -3
  658. package/dist/esm/models/components/order.d.ts.map +1 -1
  659. package/dist/esm/models/components/order.js +8 -4
  660. package/dist/esm/models/components/order.js.map +1 -1
  661. package/dist/esm/models/components/productpriceseatbased.d.ts +4 -3
  662. package/dist/esm/models/components/productpriceseatbased.d.ts.map +1 -1
  663. package/dist/esm/models/components/productpriceseatbased.js +5 -4
  664. package/dist/esm/models/components/productpriceseatbased.js.map +1 -1
  665. package/dist/esm/models/components/productpriceseatbasedcreate.d.ts +5 -4
  666. package/dist/esm/models/components/productpriceseatbasedcreate.d.ts.map +1 -1
  667. package/dist/esm/models/components/productpriceseatbasedcreate.js +5 -4
  668. package/dist/esm/models/components/productpriceseatbasedcreate.js.map +1 -1
  669. package/dist/esm/models/components/productpriceseattier.d.ts +45 -0
  670. package/dist/esm/models/components/productpriceseattier.d.ts.map +1 -0
  671. package/dist/esm/models/components/productpriceseattier.js +48 -0
  672. package/dist/esm/models/components/productpriceseattier.js.map +1 -0
  673. package/dist/esm/models/components/productpriceseattiers.d.ts +36 -0
  674. package/dist/esm/models/components/productpriceseattiers.d.ts.map +1 -0
  675. package/dist/esm/models/components/productpriceseattiers.js +32 -0
  676. package/dist/esm/models/components/productpriceseattiers.js.map +1 -0
  677. package/dist/esm/models/components/seatassign.d.ts +61 -0
  678. package/dist/esm/models/components/seatassign.d.ts.map +1 -0
  679. package/dist/esm/models/components/seatassign.js +56 -0
  680. package/dist/esm/models/components/seatassign.js.map +1 -0
  681. package/dist/esm/models/components/seatslist.d.ts +43 -0
  682. package/dist/esm/models/components/seatslist.d.ts.map +1 -0
  683. package/dist/esm/models/components/seatslist.js +47 -0
  684. package/dist/esm/models/components/seatslist.js.map +1 -0
  685. package/dist/esm/models/components/seatstatus.d.ts +31 -0
  686. package/dist/esm/models/components/seatstatus.d.ts.map +1 -0
  687. package/dist/esm/models/components/seatstatus.js +26 -0
  688. package/dist/esm/models/components/seatstatus.js.map +1 -0
  689. package/dist/esm/models/operations/customerportalseatsassignseat.d.ts +29 -0
  690. package/dist/esm/models/operations/customerportalseatsassignseat.d.ts.map +1 -0
  691. package/dist/esm/models/operations/customerportalseatsassignseat.js +40 -0
  692. package/dist/esm/models/operations/customerportalseatsassignseat.js.map +1 -0
  693. package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.d.ts +29 -0
  694. package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.d.ts.map +1 -0
  695. package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.js +40 -0
  696. package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.js.map +1 -0
  697. package/dist/esm/models/operations/customerportalseatslistseats.d.ts +57 -0
  698. package/dist/esm/models/operations/customerportalseatslistseats.d.ts.map +1 -0
  699. package/dist/esm/models/operations/customerportalseatslistseats.js +73 -0
  700. package/dist/esm/models/operations/customerportalseatslistseats.js.map +1 -0
  701. package/dist/esm/models/operations/customerportalseatsresendinvitation.d.ts +54 -0
  702. package/dist/esm/models/operations/customerportalseatsresendinvitation.d.ts.map +1 -0
  703. package/dist/esm/models/operations/customerportalseatsresendinvitation.js +73 -0
  704. package/dist/esm/models/operations/customerportalseatsresendinvitation.js.map +1 -0
  705. package/dist/esm/models/operations/customerportalseatsrevokeseat.d.ts +54 -0
  706. package/dist/esm/models/operations/customerportalseatsrevokeseat.d.ts.map +1 -0
  707. package/dist/esm/models/operations/customerportalseatsrevokeseat.js +73 -0
  708. package/dist/esm/models/operations/customerportalseatsrevokeseat.js.map +1 -0
  709. package/dist/esm/models/operations/oauth2clientsoauth2deleteclient.d.ts +29 -0
  710. package/dist/esm/models/operations/oauth2clientsoauth2deleteclient.d.ts.map +1 -0
  711. package/dist/esm/models/operations/oauth2clientsoauth2deleteclient.js +40 -0
  712. package/dist/esm/models/operations/oauth2clientsoauth2deleteclient.js.map +1 -0
  713. package/dist/esm/models/operations/oauth2clientsoauth2getclient.d.ts +29 -0
  714. package/dist/esm/models/operations/oauth2clientsoauth2getclient.d.ts.map +1 -0
  715. package/dist/esm/models/operations/oauth2clientsoauth2getclient.js +40 -0
  716. package/dist/esm/models/operations/oauth2clientsoauth2getclient.js.map +1 -0
  717. package/dist/esm/models/operations/oauth2clientsoauth2updateclient.d.ts +32 -0
  718. package/dist/esm/models/operations/oauth2clientsoauth2updateclient.d.ts.map +1 -0
  719. package/dist/esm/models/operations/oauth2clientsoauth2updateclient.js +45 -0
  720. package/dist/esm/models/operations/oauth2clientsoauth2updateclient.js.map +1 -0
  721. package/dist/esm/sdk/clients.d.ts +36 -0
  722. package/dist/esm/sdk/clients.d.ts.map +1 -0
  723. package/dist/esm/sdk/clients.js +48 -0
  724. package/dist/esm/sdk/clients.js.map +1 -0
  725. package/dist/esm/sdk/customerportal.d.ts +3 -0
  726. package/dist/esm/sdk/customerportal.d.ts.map +1 -1
  727. package/dist/esm/sdk/customerportal.js +4 -0
  728. package/dist/esm/sdk/customerportal.js.map +1 -1
  729. package/dist/esm/sdk/oauth2.d.ts +3 -0
  730. package/dist/esm/sdk/oauth2.d.ts.map +1 -1
  731. package/dist/esm/sdk/oauth2.js +4 -0
  732. package/dist/esm/sdk/oauth2.js.map +1 -1
  733. package/dist/esm/sdk/seats.d.ts +50 -0
  734. package/dist/esm/sdk/seats.d.ts.map +1 -0
  735. package/dist/esm/sdk/seats.js +60 -0
  736. package/dist/esm/sdk/seats.js.map +1 -0
  737. package/docs/sdks/clients/README.md +331 -0
  738. package/docs/sdks/seats/README.md +379 -0
  739. package/examples/package-lock.json +1 -1
  740. package/jsr.json +1 -1
  741. package/package.json +1 -1
  742. package/src/funcs/benefitGrantsList.ts +1 -1
  743. package/src/funcs/benefitsCreate.ts +1 -1
  744. package/src/funcs/benefitsDelete.ts +1 -1
  745. package/src/funcs/benefitsGet.ts +1 -1
  746. package/src/funcs/benefitsGrants.ts +1 -1
  747. package/src/funcs/benefitsList.ts +1 -1
  748. package/src/funcs/benefitsUpdate.ts +1 -1
  749. package/src/funcs/checkoutLinksCreate.ts +1 -1
  750. package/src/funcs/checkoutLinksDelete.ts +1 -1
  751. package/src/funcs/checkoutLinksGet.ts +1 -1
  752. package/src/funcs/checkoutLinksList.ts +1 -1
  753. package/src/funcs/checkoutLinksUpdate.ts +1 -1
  754. package/src/funcs/checkoutsClientConfirm.ts +1 -1
  755. package/src/funcs/checkoutsClientGet.ts +1 -1
  756. package/src/funcs/checkoutsClientUpdate.ts +1 -1
  757. package/src/funcs/checkoutsCreate.ts +1 -1
  758. package/src/funcs/checkoutsGet.ts +1 -1
  759. package/src/funcs/checkoutsList.ts +1 -1
  760. package/src/funcs/checkoutsUpdate.ts +1 -1
  761. package/src/funcs/customFieldsCreate.ts +1 -1
  762. package/src/funcs/customFieldsDelete.ts +1 -1
  763. package/src/funcs/customFieldsGet.ts +1 -1
  764. package/src/funcs/customFieldsList.ts +1 -1
  765. package/src/funcs/customFieldsUpdate.ts +1 -1
  766. package/src/funcs/customerMetersGet.ts +1 -1
  767. package/src/funcs/customerMetersList.ts +1 -1
  768. package/src/funcs/customerPortalLicenseKeysActivate.ts +1 -1
  769. package/src/funcs/customerPortalLicenseKeysDeactivate.ts +1 -1
  770. package/src/funcs/customerPortalLicenseKeysValidate.ts +1 -1
  771. package/src/funcs/customerPortalOrganizationsGet.ts +1 -1
  772. package/src/funcs/customerPortalSeatsAssignSeat.ts +189 -0
  773. package/src/funcs/customerPortalSeatsListClaimedSubscriptions.ts +158 -0
  774. package/src/funcs/customerPortalSeatsListSeats.ts +193 -0
  775. package/src/funcs/customerPortalSeatsResendInvitation.ts +198 -0
  776. package/src/funcs/customerPortalSeatsRevokeSeat.ts +195 -0
  777. package/src/funcs/customerSessionsCreate.ts +1 -1
  778. package/src/funcs/customersCreate.ts +1 -1
  779. package/src/funcs/customersDelete.ts +1 -1
  780. package/src/funcs/customersDeleteExternal.ts +1 -1
  781. package/src/funcs/customersExport.ts +1 -1
  782. package/src/funcs/customersGet.ts +1 -1
  783. package/src/funcs/customersGetBalance.ts +1 -1
  784. package/src/funcs/customersGetExternal.ts +1 -1
  785. package/src/funcs/customersGetState.ts +1 -1
  786. package/src/funcs/customersGetStateExternal.ts +1 -1
  787. package/src/funcs/customersList.ts +1 -1
  788. package/src/funcs/customersUpdate.ts +1 -1
  789. package/src/funcs/customersUpdateExternal.ts +1 -1
  790. package/src/funcs/discountsCreate.ts +1 -1
  791. package/src/funcs/discountsDelete.ts +1 -1
  792. package/src/funcs/discountsGet.ts +1 -1
  793. package/src/funcs/discountsList.ts +1 -1
  794. package/src/funcs/discountsUpdate.ts +1 -1
  795. package/src/funcs/eventsGet.ts +1 -1
  796. package/src/funcs/eventsIngest.ts +1 -1
  797. package/src/funcs/eventsList.ts +1 -1
  798. package/src/funcs/eventsListNames.ts +1 -1
  799. package/src/funcs/filesCreate.ts +1 -1
  800. package/src/funcs/filesDelete.ts +1 -1
  801. package/src/funcs/filesList.ts +1 -1
  802. package/src/funcs/filesUpdate.ts +1 -1
  803. package/src/funcs/filesUploaded.ts +1 -1
  804. package/src/funcs/licenseKeysActivate.ts +1 -1
  805. package/src/funcs/licenseKeysDeactivate.ts +1 -1
  806. package/src/funcs/licenseKeysGet.ts +1 -1
  807. package/src/funcs/licenseKeysGetActivation.ts +1 -1
  808. package/src/funcs/licenseKeysList.ts +1 -1
  809. package/src/funcs/licenseKeysUpdate.ts +1 -1
  810. package/src/funcs/licenseKeysValidate.ts +1 -1
  811. package/src/funcs/metersCreate.ts +1 -1
  812. package/src/funcs/metersGet.ts +1 -1
  813. package/src/funcs/metersList.ts +1 -1
  814. package/src/funcs/metersQuantities.ts +1 -1
  815. package/src/funcs/metersUpdate.ts +1 -1
  816. package/src/funcs/metricsGet.ts +1 -1
  817. package/src/funcs/metricsLimits.ts +1 -1
  818. package/src/funcs/oauth2Authorize.ts +1 -1
  819. package/src/funcs/oauth2ClientsCreate.ts +176 -0
  820. package/src/funcs/oauth2ClientsDelete.ts +183 -0
  821. package/src/funcs/oauth2ClientsGet.ts +182 -0
  822. package/src/funcs/oauth2ClientsUpdate.ts +186 -0
  823. package/src/funcs/oauth2Introspect.ts +1 -1
  824. package/src/funcs/oauth2Revoke.ts +1 -1
  825. package/src/funcs/oauth2Token.ts +1 -1
  826. package/src/funcs/oauth2Userinfo.ts +1 -1
  827. package/src/funcs/ordersGenerateInvoice.ts +1 -1
  828. package/src/funcs/ordersGet.ts +1 -1
  829. package/src/funcs/ordersInvoice.ts +1 -1
  830. package/src/funcs/ordersList.ts +1 -1
  831. package/src/funcs/ordersUpdate.ts +1 -1
  832. package/src/funcs/organizationsCreate.ts +1 -1
  833. package/src/funcs/organizationsGet.ts +1 -1
  834. package/src/funcs/organizationsList.ts +1 -1
  835. package/src/funcs/organizationsUpdate.ts +1 -1
  836. package/src/funcs/paymentsGet.ts +1 -1
  837. package/src/funcs/paymentsList.ts +1 -1
  838. package/src/funcs/productsCreate.ts +1 -1
  839. package/src/funcs/productsGet.ts +1 -1
  840. package/src/funcs/productsList.ts +1 -1
  841. package/src/funcs/productsUpdate.ts +1 -1
  842. package/src/funcs/productsUpdateBenefits.ts +1 -1
  843. package/src/funcs/refundsCreate.ts +1 -1
  844. package/src/funcs/refundsList.ts +1 -1
  845. package/src/funcs/subscriptionsExport.ts +1 -1
  846. package/src/funcs/subscriptionsGet.ts +1 -1
  847. package/src/funcs/subscriptionsList.ts +1 -1
  848. package/src/funcs/subscriptionsRevoke.ts +1 -1
  849. package/src/funcs/subscriptionsUpdate.ts +1 -1
  850. package/src/funcs/webhooksCreateWebhookEndpoint.ts +1 -1
  851. package/src/funcs/webhooksDeleteWebhookEndpoint.ts +1 -1
  852. package/src/funcs/webhooksGetWebhookEndpoint.ts +1 -1
  853. package/src/funcs/webhooksListWebhookDeliveries.ts +1 -1
  854. package/src/funcs/webhooksListWebhookEndpoints.ts +1 -1
  855. package/src/funcs/webhooksRedeliverWebhookEvent.ts +1 -1
  856. package/src/funcs/webhooksResetWebhookEndpointSecret.ts +1 -1
  857. package/src/funcs/webhooksUpdateWebhookEndpoint.ts +1 -1
  858. package/src/lib/config.ts +3 -3
  859. package/src/mcp-server/mcp-server.ts +1 -1
  860. package/src/mcp-server/server.ts +1 -1
  861. package/src/models/components/checkout.ts +9 -0
  862. package/src/models/components/checkoutpublic.ts +9 -0
  863. package/src/models/components/checkoutpublicconfirmed.ts +9 -0
  864. package/src/models/components/customerorder.ts +16 -7
  865. package/src/models/components/customerseat.ts +171 -0
  866. package/src/models/components/discountupdate.ts +15 -3
  867. package/src/models/components/oauth2clientconfiguration.ts +191 -0
  868. package/src/models/components/oauth2clientconfigurationupdate.ts +213 -0
  869. package/src/models/components/order.ts +16 -7
  870. package/src/models/components/productpriceseatbased.ts +13 -7
  871. package/src/models/components/productpriceseatbasedcreate.ts +14 -8
  872. package/src/models/components/productpriceseattier.ts +99 -0
  873. package/src/models/components/productpriceseattiers.ts +78 -0
  874. package/src/models/components/seatassign.ts +115 -0
  875. package/src/models/components/seatslist.ts +96 -0
  876. package/src/models/components/seatstatus.ts +32 -0
  877. package/src/models/operations/customerportalseatsassignseat.ts +80 -0
  878. package/src/models/operations/customerportalseatslistclaimedsubscriptions.ts +89 -0
  879. package/src/models/operations/customerportalseatslistseats.ts +154 -0
  880. package/src/models/operations/customerportalseatsresendinvitation.ts +164 -0
  881. package/src/models/operations/customerportalseatsrevokeseat.ts +151 -0
  882. package/src/models/operations/oauth2clientsoauth2deleteclient.ts +81 -0
  883. package/src/models/operations/oauth2clientsoauth2getclient.ts +80 -0
  884. package/src/models/operations/oauth2clientsoauth2updateclient.ts +95 -0
  885. package/src/sdk/clients.ts +84 -0
  886. package/src/sdk/customerportal.ts +6 -0
  887. package/src/sdk/oauth2.ts +6 -0
  888. package/src/sdk/seats.ts +126 -0
  889. package/docs/sdks/customerportal/README.md +0 -6
  890. package/docs/sdks/polar/README.md +0 -7
@@ -0,0 +1,164 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type CustomerPortalSeatsResendInvitationSecurity = {
12
+ customerSession: string;
13
+ };
14
+
15
+ export type CustomerPortalSeatsResendInvitationRequest = {
16
+ seatId: string;
17
+ };
18
+
19
+ /** @internal */
20
+ export const CustomerPortalSeatsResendInvitationSecurity$inboundSchema:
21
+ z.ZodType<
22
+ CustomerPortalSeatsResendInvitationSecurity,
23
+ z.ZodTypeDef,
24
+ unknown
25
+ > = z.object({
26
+ customer_session: z.string(),
27
+ }).transform((v) => {
28
+ return remap$(v, {
29
+ "customer_session": "customerSession",
30
+ });
31
+ });
32
+
33
+ /** @internal */
34
+ export type CustomerPortalSeatsResendInvitationSecurity$Outbound = {
35
+ customer_session: string;
36
+ };
37
+
38
+ /** @internal */
39
+ export const CustomerPortalSeatsResendInvitationSecurity$outboundSchema:
40
+ z.ZodType<
41
+ CustomerPortalSeatsResendInvitationSecurity$Outbound,
42
+ z.ZodTypeDef,
43
+ CustomerPortalSeatsResendInvitationSecurity
44
+ > = z.object({
45
+ customerSession: z.string(),
46
+ }).transform((v) => {
47
+ return remap$(v, {
48
+ customerSession: "customer_session",
49
+ });
50
+ });
51
+
52
+ /**
53
+ * @internal
54
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
55
+ */
56
+ export namespace CustomerPortalSeatsResendInvitationSecurity$ {
57
+ /** @deprecated use `CustomerPortalSeatsResendInvitationSecurity$inboundSchema` instead. */
58
+ export const inboundSchema =
59
+ CustomerPortalSeatsResendInvitationSecurity$inboundSchema;
60
+ /** @deprecated use `CustomerPortalSeatsResendInvitationSecurity$outboundSchema` instead. */
61
+ export const outboundSchema =
62
+ CustomerPortalSeatsResendInvitationSecurity$outboundSchema;
63
+ /** @deprecated use `CustomerPortalSeatsResendInvitationSecurity$Outbound` instead. */
64
+ export type Outbound = CustomerPortalSeatsResendInvitationSecurity$Outbound;
65
+ }
66
+
67
+ export function customerPortalSeatsResendInvitationSecurityToJSON(
68
+ customerPortalSeatsResendInvitationSecurity:
69
+ CustomerPortalSeatsResendInvitationSecurity,
70
+ ): string {
71
+ return JSON.stringify(
72
+ CustomerPortalSeatsResendInvitationSecurity$outboundSchema.parse(
73
+ customerPortalSeatsResendInvitationSecurity,
74
+ ),
75
+ );
76
+ }
77
+
78
+ export function customerPortalSeatsResendInvitationSecurityFromJSON(
79
+ jsonString: string,
80
+ ): SafeParseResult<
81
+ CustomerPortalSeatsResendInvitationSecurity,
82
+ SDKValidationError
83
+ > {
84
+ return safeParse(
85
+ jsonString,
86
+ (x) =>
87
+ CustomerPortalSeatsResendInvitationSecurity$inboundSchema.parse(
88
+ JSON.parse(x),
89
+ ),
90
+ `Failed to parse 'CustomerPortalSeatsResendInvitationSecurity' from JSON`,
91
+ );
92
+ }
93
+
94
+ /** @internal */
95
+ export const CustomerPortalSeatsResendInvitationRequest$inboundSchema:
96
+ z.ZodType<CustomerPortalSeatsResendInvitationRequest, z.ZodTypeDef, unknown> =
97
+ z.object({
98
+ seat_id: z.string(),
99
+ }).transform((v) => {
100
+ return remap$(v, {
101
+ "seat_id": "seatId",
102
+ });
103
+ });
104
+
105
+ /** @internal */
106
+ export type CustomerPortalSeatsResendInvitationRequest$Outbound = {
107
+ seat_id: string;
108
+ };
109
+
110
+ /** @internal */
111
+ export const CustomerPortalSeatsResendInvitationRequest$outboundSchema:
112
+ z.ZodType<
113
+ CustomerPortalSeatsResendInvitationRequest$Outbound,
114
+ z.ZodTypeDef,
115
+ CustomerPortalSeatsResendInvitationRequest
116
+ > = z.object({
117
+ seatId: z.string(),
118
+ }).transform((v) => {
119
+ return remap$(v, {
120
+ seatId: "seat_id",
121
+ });
122
+ });
123
+
124
+ /**
125
+ * @internal
126
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
127
+ */
128
+ export namespace CustomerPortalSeatsResendInvitationRequest$ {
129
+ /** @deprecated use `CustomerPortalSeatsResendInvitationRequest$inboundSchema` instead. */
130
+ export const inboundSchema =
131
+ CustomerPortalSeatsResendInvitationRequest$inboundSchema;
132
+ /** @deprecated use `CustomerPortalSeatsResendInvitationRequest$outboundSchema` instead. */
133
+ export const outboundSchema =
134
+ CustomerPortalSeatsResendInvitationRequest$outboundSchema;
135
+ /** @deprecated use `CustomerPortalSeatsResendInvitationRequest$Outbound` instead. */
136
+ export type Outbound = CustomerPortalSeatsResendInvitationRequest$Outbound;
137
+ }
138
+
139
+ export function customerPortalSeatsResendInvitationRequestToJSON(
140
+ customerPortalSeatsResendInvitationRequest:
141
+ CustomerPortalSeatsResendInvitationRequest,
142
+ ): string {
143
+ return JSON.stringify(
144
+ CustomerPortalSeatsResendInvitationRequest$outboundSchema.parse(
145
+ customerPortalSeatsResendInvitationRequest,
146
+ ),
147
+ );
148
+ }
149
+
150
+ export function customerPortalSeatsResendInvitationRequestFromJSON(
151
+ jsonString: string,
152
+ ): SafeParseResult<
153
+ CustomerPortalSeatsResendInvitationRequest,
154
+ SDKValidationError
155
+ > {
156
+ return safeParse(
157
+ jsonString,
158
+ (x) =>
159
+ CustomerPortalSeatsResendInvitationRequest$inboundSchema.parse(
160
+ JSON.parse(x),
161
+ ),
162
+ `Failed to parse 'CustomerPortalSeatsResendInvitationRequest' from JSON`,
163
+ );
164
+ }
@@ -0,0 +1,151 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type CustomerPortalSeatsRevokeSeatSecurity = {
12
+ customerSession: string;
13
+ };
14
+
15
+ export type CustomerPortalSeatsRevokeSeatRequest = {
16
+ seatId: string;
17
+ };
18
+
19
+ /** @internal */
20
+ export const CustomerPortalSeatsRevokeSeatSecurity$inboundSchema: z.ZodType<
21
+ CustomerPortalSeatsRevokeSeatSecurity,
22
+ z.ZodTypeDef,
23
+ unknown
24
+ > = z.object({
25
+ customer_session: z.string(),
26
+ }).transform((v) => {
27
+ return remap$(v, {
28
+ "customer_session": "customerSession",
29
+ });
30
+ });
31
+
32
+ /** @internal */
33
+ export type CustomerPortalSeatsRevokeSeatSecurity$Outbound = {
34
+ customer_session: string;
35
+ };
36
+
37
+ /** @internal */
38
+ export const CustomerPortalSeatsRevokeSeatSecurity$outboundSchema: z.ZodType<
39
+ CustomerPortalSeatsRevokeSeatSecurity$Outbound,
40
+ z.ZodTypeDef,
41
+ CustomerPortalSeatsRevokeSeatSecurity
42
+ > = z.object({
43
+ customerSession: z.string(),
44
+ }).transform((v) => {
45
+ return remap$(v, {
46
+ customerSession: "customer_session",
47
+ });
48
+ });
49
+
50
+ /**
51
+ * @internal
52
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
53
+ */
54
+ export namespace CustomerPortalSeatsRevokeSeatSecurity$ {
55
+ /** @deprecated use `CustomerPortalSeatsRevokeSeatSecurity$inboundSchema` instead. */
56
+ export const inboundSchema =
57
+ CustomerPortalSeatsRevokeSeatSecurity$inboundSchema;
58
+ /** @deprecated use `CustomerPortalSeatsRevokeSeatSecurity$outboundSchema` instead. */
59
+ export const outboundSchema =
60
+ CustomerPortalSeatsRevokeSeatSecurity$outboundSchema;
61
+ /** @deprecated use `CustomerPortalSeatsRevokeSeatSecurity$Outbound` instead. */
62
+ export type Outbound = CustomerPortalSeatsRevokeSeatSecurity$Outbound;
63
+ }
64
+
65
+ export function customerPortalSeatsRevokeSeatSecurityToJSON(
66
+ customerPortalSeatsRevokeSeatSecurity: CustomerPortalSeatsRevokeSeatSecurity,
67
+ ): string {
68
+ return JSON.stringify(
69
+ CustomerPortalSeatsRevokeSeatSecurity$outboundSchema.parse(
70
+ customerPortalSeatsRevokeSeatSecurity,
71
+ ),
72
+ );
73
+ }
74
+
75
+ export function customerPortalSeatsRevokeSeatSecurityFromJSON(
76
+ jsonString: string,
77
+ ): SafeParseResult<CustomerPortalSeatsRevokeSeatSecurity, SDKValidationError> {
78
+ return safeParse(
79
+ jsonString,
80
+ (x) =>
81
+ CustomerPortalSeatsRevokeSeatSecurity$inboundSchema.parse(JSON.parse(x)),
82
+ `Failed to parse 'CustomerPortalSeatsRevokeSeatSecurity' from JSON`,
83
+ );
84
+ }
85
+
86
+ /** @internal */
87
+ export const CustomerPortalSeatsRevokeSeatRequest$inboundSchema: z.ZodType<
88
+ CustomerPortalSeatsRevokeSeatRequest,
89
+ z.ZodTypeDef,
90
+ unknown
91
+ > = z.object({
92
+ seat_id: z.string(),
93
+ }).transform((v) => {
94
+ return remap$(v, {
95
+ "seat_id": "seatId",
96
+ });
97
+ });
98
+
99
+ /** @internal */
100
+ export type CustomerPortalSeatsRevokeSeatRequest$Outbound = {
101
+ seat_id: string;
102
+ };
103
+
104
+ /** @internal */
105
+ export const CustomerPortalSeatsRevokeSeatRequest$outboundSchema: z.ZodType<
106
+ CustomerPortalSeatsRevokeSeatRequest$Outbound,
107
+ z.ZodTypeDef,
108
+ CustomerPortalSeatsRevokeSeatRequest
109
+ > = z.object({
110
+ seatId: z.string(),
111
+ }).transform((v) => {
112
+ return remap$(v, {
113
+ seatId: "seat_id",
114
+ });
115
+ });
116
+
117
+ /**
118
+ * @internal
119
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
120
+ */
121
+ export namespace CustomerPortalSeatsRevokeSeatRequest$ {
122
+ /** @deprecated use `CustomerPortalSeatsRevokeSeatRequest$inboundSchema` instead. */
123
+ export const inboundSchema =
124
+ CustomerPortalSeatsRevokeSeatRequest$inboundSchema;
125
+ /** @deprecated use `CustomerPortalSeatsRevokeSeatRequest$outboundSchema` instead. */
126
+ export const outboundSchema =
127
+ CustomerPortalSeatsRevokeSeatRequest$outboundSchema;
128
+ /** @deprecated use `CustomerPortalSeatsRevokeSeatRequest$Outbound` instead. */
129
+ export type Outbound = CustomerPortalSeatsRevokeSeatRequest$Outbound;
130
+ }
131
+
132
+ export function customerPortalSeatsRevokeSeatRequestToJSON(
133
+ customerPortalSeatsRevokeSeatRequest: CustomerPortalSeatsRevokeSeatRequest,
134
+ ): string {
135
+ return JSON.stringify(
136
+ CustomerPortalSeatsRevokeSeatRequest$outboundSchema.parse(
137
+ customerPortalSeatsRevokeSeatRequest,
138
+ ),
139
+ );
140
+ }
141
+
142
+ export function customerPortalSeatsRevokeSeatRequestFromJSON(
143
+ jsonString: string,
144
+ ): SafeParseResult<CustomerPortalSeatsRevokeSeatRequest, SDKValidationError> {
145
+ return safeParse(
146
+ jsonString,
147
+ (x) =>
148
+ CustomerPortalSeatsRevokeSeatRequest$inboundSchema.parse(JSON.parse(x)),
149
+ `Failed to parse 'CustomerPortalSeatsRevokeSeatRequest' from JSON`,
150
+ );
151
+ }
@@ -0,0 +1,81 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type Oauth2ClientsOauth2DeleteClientRequest = {
12
+ clientId: string;
13
+ };
14
+
15
+ /** @internal */
16
+ export const Oauth2ClientsOauth2DeleteClientRequest$inboundSchema: z.ZodType<
17
+ Oauth2ClientsOauth2DeleteClientRequest,
18
+ z.ZodTypeDef,
19
+ unknown
20
+ > = z.object({
21
+ client_id: z.string(),
22
+ }).transform((v) => {
23
+ return remap$(v, {
24
+ "client_id": "clientId",
25
+ });
26
+ });
27
+
28
+ /** @internal */
29
+ export type Oauth2ClientsOauth2DeleteClientRequest$Outbound = {
30
+ client_id: string;
31
+ };
32
+
33
+ /** @internal */
34
+ export const Oauth2ClientsOauth2DeleteClientRequest$outboundSchema: z.ZodType<
35
+ Oauth2ClientsOauth2DeleteClientRequest$Outbound,
36
+ z.ZodTypeDef,
37
+ Oauth2ClientsOauth2DeleteClientRequest
38
+ > = z.object({
39
+ clientId: z.string(),
40
+ }).transform((v) => {
41
+ return remap$(v, {
42
+ clientId: "client_id",
43
+ });
44
+ });
45
+
46
+ /**
47
+ * @internal
48
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
49
+ */
50
+ export namespace Oauth2ClientsOauth2DeleteClientRequest$ {
51
+ /** @deprecated use `Oauth2ClientsOauth2DeleteClientRequest$inboundSchema` instead. */
52
+ export const inboundSchema =
53
+ Oauth2ClientsOauth2DeleteClientRequest$inboundSchema;
54
+ /** @deprecated use `Oauth2ClientsOauth2DeleteClientRequest$outboundSchema` instead. */
55
+ export const outboundSchema =
56
+ Oauth2ClientsOauth2DeleteClientRequest$outboundSchema;
57
+ /** @deprecated use `Oauth2ClientsOauth2DeleteClientRequest$Outbound` instead. */
58
+ export type Outbound = Oauth2ClientsOauth2DeleteClientRequest$Outbound;
59
+ }
60
+
61
+ export function oauth2ClientsOauth2DeleteClientRequestToJSON(
62
+ oauth2ClientsOauth2DeleteClientRequest:
63
+ Oauth2ClientsOauth2DeleteClientRequest,
64
+ ): string {
65
+ return JSON.stringify(
66
+ Oauth2ClientsOauth2DeleteClientRequest$outboundSchema.parse(
67
+ oauth2ClientsOauth2DeleteClientRequest,
68
+ ),
69
+ );
70
+ }
71
+
72
+ export function oauth2ClientsOauth2DeleteClientRequestFromJSON(
73
+ jsonString: string,
74
+ ): SafeParseResult<Oauth2ClientsOauth2DeleteClientRequest, SDKValidationError> {
75
+ return safeParse(
76
+ jsonString,
77
+ (x) =>
78
+ Oauth2ClientsOauth2DeleteClientRequest$inboundSchema.parse(JSON.parse(x)),
79
+ `Failed to parse 'Oauth2ClientsOauth2DeleteClientRequest' from JSON`,
80
+ );
81
+ }
@@ -0,0 +1,80 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type Oauth2ClientsOauth2GetClientRequest = {
12
+ clientId: string;
13
+ };
14
+
15
+ /** @internal */
16
+ export const Oauth2ClientsOauth2GetClientRequest$inboundSchema: z.ZodType<
17
+ Oauth2ClientsOauth2GetClientRequest,
18
+ z.ZodTypeDef,
19
+ unknown
20
+ > = z.object({
21
+ client_id: z.string(),
22
+ }).transform((v) => {
23
+ return remap$(v, {
24
+ "client_id": "clientId",
25
+ });
26
+ });
27
+
28
+ /** @internal */
29
+ export type Oauth2ClientsOauth2GetClientRequest$Outbound = {
30
+ client_id: string;
31
+ };
32
+
33
+ /** @internal */
34
+ export const Oauth2ClientsOauth2GetClientRequest$outboundSchema: z.ZodType<
35
+ Oauth2ClientsOauth2GetClientRequest$Outbound,
36
+ z.ZodTypeDef,
37
+ Oauth2ClientsOauth2GetClientRequest
38
+ > = z.object({
39
+ clientId: z.string(),
40
+ }).transform((v) => {
41
+ return remap$(v, {
42
+ clientId: "client_id",
43
+ });
44
+ });
45
+
46
+ /**
47
+ * @internal
48
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
49
+ */
50
+ export namespace Oauth2ClientsOauth2GetClientRequest$ {
51
+ /** @deprecated use `Oauth2ClientsOauth2GetClientRequest$inboundSchema` instead. */
52
+ export const inboundSchema =
53
+ Oauth2ClientsOauth2GetClientRequest$inboundSchema;
54
+ /** @deprecated use `Oauth2ClientsOauth2GetClientRequest$outboundSchema` instead. */
55
+ export const outboundSchema =
56
+ Oauth2ClientsOauth2GetClientRequest$outboundSchema;
57
+ /** @deprecated use `Oauth2ClientsOauth2GetClientRequest$Outbound` instead. */
58
+ export type Outbound = Oauth2ClientsOauth2GetClientRequest$Outbound;
59
+ }
60
+
61
+ export function oauth2ClientsOauth2GetClientRequestToJSON(
62
+ oauth2ClientsOauth2GetClientRequest: Oauth2ClientsOauth2GetClientRequest,
63
+ ): string {
64
+ return JSON.stringify(
65
+ Oauth2ClientsOauth2GetClientRequest$outboundSchema.parse(
66
+ oauth2ClientsOauth2GetClientRequest,
67
+ ),
68
+ );
69
+ }
70
+
71
+ export function oauth2ClientsOauth2GetClientRequestFromJSON(
72
+ jsonString: string,
73
+ ): SafeParseResult<Oauth2ClientsOauth2GetClientRequest, SDKValidationError> {
74
+ return safeParse(
75
+ jsonString,
76
+ (x) =>
77
+ Oauth2ClientsOauth2GetClientRequest$inboundSchema.parse(JSON.parse(x)),
78
+ `Failed to parse 'Oauth2ClientsOauth2GetClientRequest' from JSON`,
79
+ );
80
+ }
@@ -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 { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import {
10
+ OAuth2ClientConfigurationUpdate,
11
+ OAuth2ClientConfigurationUpdate$inboundSchema,
12
+ OAuth2ClientConfigurationUpdate$Outbound,
13
+ OAuth2ClientConfigurationUpdate$outboundSchema,
14
+ } from "../components/oauth2clientconfigurationupdate.js";
15
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
16
+
17
+ export type Oauth2ClientsOauth2UpdateClientRequest = {
18
+ clientId: string;
19
+ oAuth2ClientConfigurationUpdate: OAuth2ClientConfigurationUpdate;
20
+ };
21
+
22
+ /** @internal */
23
+ export const Oauth2ClientsOauth2UpdateClientRequest$inboundSchema: z.ZodType<
24
+ Oauth2ClientsOauth2UpdateClientRequest,
25
+ z.ZodTypeDef,
26
+ unknown
27
+ > = z.object({
28
+ client_id: z.string(),
29
+ OAuth2ClientConfigurationUpdate:
30
+ OAuth2ClientConfigurationUpdate$inboundSchema,
31
+ }).transform((v) => {
32
+ return remap$(v, {
33
+ "client_id": "clientId",
34
+ "OAuth2ClientConfigurationUpdate": "oAuth2ClientConfigurationUpdate",
35
+ });
36
+ });
37
+
38
+ /** @internal */
39
+ export type Oauth2ClientsOauth2UpdateClientRequest$Outbound = {
40
+ client_id: string;
41
+ OAuth2ClientConfigurationUpdate: OAuth2ClientConfigurationUpdate$Outbound;
42
+ };
43
+
44
+ /** @internal */
45
+ export const Oauth2ClientsOauth2UpdateClientRequest$outboundSchema: z.ZodType<
46
+ Oauth2ClientsOauth2UpdateClientRequest$Outbound,
47
+ z.ZodTypeDef,
48
+ Oauth2ClientsOauth2UpdateClientRequest
49
+ > = z.object({
50
+ clientId: z.string(),
51
+ oAuth2ClientConfigurationUpdate:
52
+ OAuth2ClientConfigurationUpdate$outboundSchema,
53
+ }).transform((v) => {
54
+ return remap$(v, {
55
+ clientId: "client_id",
56
+ oAuth2ClientConfigurationUpdate: "OAuth2ClientConfigurationUpdate",
57
+ });
58
+ });
59
+
60
+ /**
61
+ * @internal
62
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
63
+ */
64
+ export namespace Oauth2ClientsOauth2UpdateClientRequest$ {
65
+ /** @deprecated use `Oauth2ClientsOauth2UpdateClientRequest$inboundSchema` instead. */
66
+ export const inboundSchema =
67
+ Oauth2ClientsOauth2UpdateClientRequest$inboundSchema;
68
+ /** @deprecated use `Oauth2ClientsOauth2UpdateClientRequest$outboundSchema` instead. */
69
+ export const outboundSchema =
70
+ Oauth2ClientsOauth2UpdateClientRequest$outboundSchema;
71
+ /** @deprecated use `Oauth2ClientsOauth2UpdateClientRequest$Outbound` instead. */
72
+ export type Outbound = Oauth2ClientsOauth2UpdateClientRequest$Outbound;
73
+ }
74
+
75
+ export function oauth2ClientsOauth2UpdateClientRequestToJSON(
76
+ oauth2ClientsOauth2UpdateClientRequest:
77
+ Oauth2ClientsOauth2UpdateClientRequest,
78
+ ): string {
79
+ return JSON.stringify(
80
+ Oauth2ClientsOauth2UpdateClientRequest$outboundSchema.parse(
81
+ oauth2ClientsOauth2UpdateClientRequest,
82
+ ),
83
+ );
84
+ }
85
+
86
+ export function oauth2ClientsOauth2UpdateClientRequestFromJSON(
87
+ jsonString: string,
88
+ ): SafeParseResult<Oauth2ClientsOauth2UpdateClientRequest, SDKValidationError> {
89
+ return safeParse(
90
+ jsonString,
91
+ (x) =>
92
+ Oauth2ClientsOauth2UpdateClientRequest$inboundSchema.parse(JSON.parse(x)),
93
+ `Failed to parse 'Oauth2ClientsOauth2UpdateClientRequest' from JSON`,
94
+ );
95
+ }
@@ -0,0 +1,84 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { oauth2ClientsCreate } from "../funcs/oauth2ClientsCreate.js";
6
+ import { oauth2ClientsDelete } from "../funcs/oauth2ClientsDelete.js";
7
+ import { oauth2ClientsGet } from "../funcs/oauth2ClientsGet.js";
8
+ import { oauth2ClientsUpdate } from "../funcs/oauth2ClientsUpdate.js";
9
+ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
10
+ import { OAuth2ClientConfiguration } from "../models/components/oauth2clientconfiguration.js";
11
+ import { Oauth2ClientsOauth2DeleteClientRequest } from "../models/operations/oauth2clientsoauth2deleteclient.js";
12
+ import { Oauth2ClientsOauth2GetClientRequest } from "../models/operations/oauth2clientsoauth2getclient.js";
13
+ import { Oauth2ClientsOauth2UpdateClientRequest } from "../models/operations/oauth2clientsoauth2updateclient.js";
14
+ import { unwrapAsync } from "../types/fp.js";
15
+
16
+ export class Clients extends ClientSDK {
17
+ /**
18
+ * Create Client
19
+ *
20
+ * @remarks
21
+ * Create an OAuth2 client.
22
+ */
23
+ async create(
24
+ request: OAuth2ClientConfiguration,
25
+ options?: RequestOptions,
26
+ ): Promise<any> {
27
+ return unwrapAsync(oauth2ClientsCreate(
28
+ this,
29
+ request,
30
+ options,
31
+ ));
32
+ }
33
+
34
+ /**
35
+ * Get Client
36
+ *
37
+ * @remarks
38
+ * Get an OAuth2 client by Client ID.
39
+ */
40
+ async get(
41
+ request: Oauth2ClientsOauth2GetClientRequest,
42
+ options?: RequestOptions,
43
+ ): Promise<any> {
44
+ return unwrapAsync(oauth2ClientsGet(
45
+ this,
46
+ request,
47
+ options,
48
+ ));
49
+ }
50
+
51
+ /**
52
+ * Update Client
53
+ *
54
+ * @remarks
55
+ * Update an OAuth2 client.
56
+ */
57
+ async update(
58
+ request: Oauth2ClientsOauth2UpdateClientRequest,
59
+ options?: RequestOptions,
60
+ ): Promise<any> {
61
+ return unwrapAsync(oauth2ClientsUpdate(
62
+ this,
63
+ request,
64
+ options,
65
+ ));
66
+ }
67
+
68
+ /**
69
+ * Delete Client
70
+ *
71
+ * @remarks
72
+ * Delete an OAuth2 client.
73
+ */
74
+ async delete(
75
+ request: Oauth2ClientsOauth2DeleteClientRequest,
76
+ options?: RequestOptions,
77
+ ): Promise<any> {
78
+ return unwrapAsync(oauth2ClientsDelete(
79
+ this,
80
+ request,
81
+ options,
82
+ ));
83
+ }
84
+ }
@@ -11,6 +11,7 @@ import { PolarLicenseKeys } from "./polarlicensekeys.js";
11
11
  import { PolarOrders } from "./polarorders.js";
12
12
  import { PolarOrganizations } from "./polarorganizations.js";
13
13
  import { PolarSubscriptions } from "./polarsubscriptions.js";
14
+ import { Seats } from "./seats.js";
14
15
 
15
16
  export class CustomerPortal extends ClientSDK {
16
17
  private _benefitGrants?: PolarBenefitGrants;
@@ -28,6 +29,11 @@ export class CustomerPortal extends ClientSDK {
28
29
  return (this._customerMeters ??= new PolarCustomerMeters(this._options));
29
30
  }
30
31
 
32
+ private _seats?: Seats;
33
+ get seats(): Seats {
34
+ return (this._seats ??= new Seats(this._options));
35
+ }
36
+
31
37
  private _downloadables?: Downloadables;
32
38
  get downloadables(): Downloadables {
33
39
  return (this._downloadables ??= new Downloadables(this._options));
package/src/sdk/oauth2.ts CHANGED
@@ -17,8 +17,14 @@ import { Oauth2AuthorizeResponseOauth2Authorize } from "../models/operations/oau
17
17
  import { Oauth2RequestTokenRequestBody } from "../models/operations/oauth2requesttoken.js";
18
18
  import { Oauth2UserinfoResponseOauth2Userinfo } from "../models/operations/oauth2userinfo.js";
19
19
  import { unwrapAsync } from "../types/fp.js";
20
+ import { Clients } from "./clients.js";
20
21
 
21
22
  export class Oauth2 extends ClientSDK {
23
+ private _clients?: Clients;
24
+ get clients(): Clients {
25
+ return (this._clients ??= new Clients(this._options));
26
+ }
27
+
22
28
  /**
23
29
  * Authorize
24
30
  */