@polar-sh/sdk 0.36.0 → 0.36.2

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 (180) hide show
  1. package/README.md +24 -19
  2. package/bin/mcp-server.js +224 -66
  3. package/bin/mcp-server.js.map +8 -8
  4. package/dist/commonjs/funcs/customerPortalCustomerSessionIntrospect.d.ts +20 -0
  5. package/dist/commonjs/funcs/customerPortalCustomerSessionIntrospect.d.ts.map +1 -0
  6. package/dist/commonjs/funcs/customerPortalCustomerSessionIntrospect.js +110 -0
  7. package/dist/commonjs/funcs/customerPortalCustomerSessionIntrospect.js.map +1 -0
  8. package/dist/commonjs/lib/config.d.ts +2 -2
  9. package/dist/commonjs/lib/config.js +2 -2
  10. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  11. package/dist/commonjs/mcp-server/server.js +1 -1
  12. package/dist/commonjs/models/components/checkout.d.ts +10 -0
  13. package/dist/commonjs/models/components/checkout.d.ts.map +1 -1
  14. package/dist/commonjs/models/components/checkout.js +8 -0
  15. package/dist/commonjs/models/components/checkout.js.map +1 -1
  16. package/dist/commonjs/models/components/checkoutcreate.d.ts +5 -0
  17. package/dist/commonjs/models/components/checkoutcreate.d.ts.map +1 -1
  18. package/dist/commonjs/models/components/checkoutcreate.js +4 -0
  19. package/dist/commonjs/models/components/checkoutcreate.js.map +1 -1
  20. package/dist/commonjs/models/components/checkoutpublic.d.ts +10 -0
  21. package/dist/commonjs/models/components/checkoutpublic.d.ts.map +1 -1
  22. package/dist/commonjs/models/components/checkoutpublic.js +8 -0
  23. package/dist/commonjs/models/components/checkoutpublic.js.map +1 -1
  24. package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts +10 -0
  25. package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
  26. package/dist/commonjs/models/components/checkoutpublicconfirmed.js +8 -0
  27. package/dist/commonjs/models/components/checkoutpublicconfirmed.js.map +1 -1
  28. package/dist/commonjs/models/components/checkoutupdate.d.ts +5 -0
  29. package/dist/commonjs/models/components/checkoutupdate.d.ts.map +1 -1
  30. package/dist/commonjs/models/components/checkoutupdate.js +4 -0
  31. package/dist/commonjs/models/components/checkoutupdate.js.map +1 -1
  32. package/dist/commonjs/models/components/customercustomersession.d.ts +31 -0
  33. package/dist/commonjs/models/components/customercustomersession.d.ts.map +1 -0
  34. package/dist/commonjs/models/components/customercustomersession.js +82 -0
  35. package/dist/commonjs/models/components/customercustomersession.js.map +1 -0
  36. package/dist/commonjs/models/components/customersession.d.ts +2 -0
  37. package/dist/commonjs/models/components/customersession.d.ts.map +1 -1
  38. package/dist/commonjs/models/components/customersession.js +4 -0
  39. package/dist/commonjs/models/components/customersession.js.map +1 -1
  40. package/dist/commonjs/models/components/customersessioncustomerexternalidcreate.d.ts +5 -0
  41. package/dist/commonjs/models/components/customersessioncustomerexternalidcreate.d.ts.map +1 -1
  42. package/dist/commonjs/models/components/customersessioncustomerexternalidcreate.js +4 -0
  43. package/dist/commonjs/models/components/customersessioncustomerexternalidcreate.js.map +1 -1
  44. package/dist/commonjs/models/components/customersessioncustomeridcreate.d.ts +5 -0
  45. package/dist/commonjs/models/components/customersessioncustomeridcreate.d.ts.map +1 -1
  46. package/dist/commonjs/models/components/customersessioncustomeridcreate.js +4 -0
  47. package/dist/commonjs/models/components/customersessioncustomeridcreate.js.map +1 -1
  48. package/dist/commonjs/models/components/productcreateonetime.d.ts +44 -4
  49. package/dist/commonjs/models/components/productcreateonetime.d.ts.map +1 -1
  50. package/dist/commonjs/models/components/productcreateonetime.js +60 -20
  51. package/dist/commonjs/models/components/productcreateonetime.js.map +1 -1
  52. package/dist/commonjs/models/components/productcreaterecurring.d.ts +44 -4
  53. package/dist/commonjs/models/components/productcreaterecurring.d.ts.map +1 -1
  54. package/dist/commonjs/models/components/productcreaterecurring.js +60 -20
  55. package/dist/commonjs/models/components/productcreaterecurring.js.map +1 -1
  56. package/dist/commonjs/models/components/productupdate.d.ts +85 -4
  57. package/dist/commonjs/models/components/productupdate.d.ts.map +1 -1
  58. package/dist/commonjs/models/components/productupdate.js +117 -21
  59. package/dist/commonjs/models/components/productupdate.js.map +1 -1
  60. package/dist/commonjs/models/components/webtokenrequest.d.ts +67 -0
  61. package/dist/commonjs/models/components/webtokenrequest.d.ts.map +1 -0
  62. package/dist/commonjs/models/components/webtokenrequest.js +117 -0
  63. package/dist/commonjs/models/components/webtokenrequest.js.map +1 -0
  64. package/dist/commonjs/models/operations/customerportalcustomersessionintrospect.d.ts +29 -0
  65. package/dist/commonjs/models/operations/customerportalcustomersessionintrospect.d.ts.map +1 -0
  66. package/dist/commonjs/models/operations/customerportalcustomersessionintrospect.js +78 -0
  67. package/dist/commonjs/models/operations/customerportalcustomersessionintrospect.js.map +1 -0
  68. package/dist/commonjs/models/operations/oauth2requesttoken.d.ts +3 -2
  69. package/dist/commonjs/models/operations/oauth2requesttoken.d.ts.map +1 -1
  70. package/dist/commonjs/models/operations/oauth2requesttoken.js +3 -0
  71. package/dist/commonjs/models/operations/oauth2requesttoken.js.map +1 -1
  72. package/dist/commonjs/sdk/customerportal.d.ts +3 -0
  73. package/dist/commonjs/sdk/customerportal.d.ts.map +1 -1
  74. package/dist/commonjs/sdk/customerportal.js +4 -0
  75. package/dist/commonjs/sdk/customerportal.js.map +1 -1
  76. package/dist/commonjs/sdk/customersession.d.ts +15 -0
  77. package/dist/commonjs/sdk/customersession.d.ts.map +1 -0
  78. package/dist/commonjs/sdk/customersession.js +24 -0
  79. package/dist/commonjs/sdk/customersession.js.map +1 -0
  80. package/dist/esm/funcs/customerPortalCustomerSessionIntrospect.d.ts +20 -0
  81. package/dist/esm/funcs/customerPortalCustomerSessionIntrospect.d.ts.map +1 -0
  82. package/dist/esm/funcs/customerPortalCustomerSessionIntrospect.js +74 -0
  83. package/dist/esm/funcs/customerPortalCustomerSessionIntrospect.js.map +1 -0
  84. package/dist/esm/lib/config.d.ts +2 -2
  85. package/dist/esm/lib/config.js +2 -2
  86. package/dist/esm/mcp-server/mcp-server.js +1 -1
  87. package/dist/esm/mcp-server/server.js +1 -1
  88. package/dist/esm/models/components/checkout.d.ts +10 -0
  89. package/dist/esm/models/components/checkout.d.ts.map +1 -1
  90. package/dist/esm/models/components/checkout.js +8 -0
  91. package/dist/esm/models/components/checkout.js.map +1 -1
  92. package/dist/esm/models/components/checkoutcreate.d.ts +5 -0
  93. package/dist/esm/models/components/checkoutcreate.d.ts.map +1 -1
  94. package/dist/esm/models/components/checkoutcreate.js +4 -0
  95. package/dist/esm/models/components/checkoutcreate.js.map +1 -1
  96. package/dist/esm/models/components/checkoutpublic.d.ts +10 -0
  97. package/dist/esm/models/components/checkoutpublic.d.ts.map +1 -1
  98. package/dist/esm/models/components/checkoutpublic.js +8 -0
  99. package/dist/esm/models/components/checkoutpublic.js.map +1 -1
  100. package/dist/esm/models/components/checkoutpublicconfirmed.d.ts +10 -0
  101. package/dist/esm/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
  102. package/dist/esm/models/components/checkoutpublicconfirmed.js +8 -0
  103. package/dist/esm/models/components/checkoutpublicconfirmed.js.map +1 -1
  104. package/dist/esm/models/components/checkoutupdate.d.ts +5 -0
  105. package/dist/esm/models/components/checkoutupdate.d.ts.map +1 -1
  106. package/dist/esm/models/components/checkoutupdate.js +4 -0
  107. package/dist/esm/models/components/checkoutupdate.js.map +1 -1
  108. package/dist/esm/models/components/customercustomersession.d.ts +31 -0
  109. package/dist/esm/models/components/customercustomersession.d.ts.map +1 -0
  110. package/dist/esm/models/components/customercustomersession.js +44 -0
  111. package/dist/esm/models/components/customercustomersession.js.map +1 -0
  112. package/dist/esm/models/components/customersession.d.ts +2 -0
  113. package/dist/esm/models/components/customersession.d.ts.map +1 -1
  114. package/dist/esm/models/components/customersession.js +4 -0
  115. package/dist/esm/models/components/customersession.js.map +1 -1
  116. package/dist/esm/models/components/customersessioncustomerexternalidcreate.d.ts +5 -0
  117. package/dist/esm/models/components/customersessioncustomerexternalidcreate.d.ts.map +1 -1
  118. package/dist/esm/models/components/customersessioncustomerexternalidcreate.js +4 -0
  119. package/dist/esm/models/components/customersessioncustomerexternalidcreate.js.map +1 -1
  120. package/dist/esm/models/components/customersessioncustomeridcreate.d.ts +5 -0
  121. package/dist/esm/models/components/customersessioncustomeridcreate.d.ts.map +1 -1
  122. package/dist/esm/models/components/customersessioncustomeridcreate.js +4 -0
  123. package/dist/esm/models/components/customersessioncustomeridcreate.js.map +1 -1
  124. package/dist/esm/models/components/productcreateonetime.d.ts +44 -4
  125. package/dist/esm/models/components/productcreateonetime.d.ts.map +1 -1
  126. package/dist/esm/models/components/productcreateonetime.js +60 -20
  127. package/dist/esm/models/components/productcreateonetime.js.map +1 -1
  128. package/dist/esm/models/components/productcreaterecurring.d.ts +44 -4
  129. package/dist/esm/models/components/productcreaterecurring.d.ts.map +1 -1
  130. package/dist/esm/models/components/productcreaterecurring.js +60 -20
  131. package/dist/esm/models/components/productcreaterecurring.js.map +1 -1
  132. package/dist/esm/models/components/productupdate.d.ts +85 -4
  133. package/dist/esm/models/components/productupdate.d.ts.map +1 -1
  134. package/dist/esm/models/components/productupdate.js +114 -20
  135. package/dist/esm/models/components/productupdate.js.map +1 -1
  136. package/dist/esm/models/components/webtokenrequest.d.ts +67 -0
  137. package/dist/esm/models/components/webtokenrequest.d.ts.map +1 -0
  138. package/dist/esm/models/components/webtokenrequest.js +79 -0
  139. package/dist/esm/models/components/webtokenrequest.js.map +1 -0
  140. package/dist/esm/models/operations/customerportalcustomersessionintrospect.d.ts +29 -0
  141. package/dist/esm/models/operations/customerportalcustomersessionintrospect.d.ts.map +1 -0
  142. package/dist/esm/models/operations/customerportalcustomersessionintrospect.js +40 -0
  143. package/dist/esm/models/operations/customerportalcustomersessionintrospect.js.map +1 -0
  144. package/dist/esm/models/operations/oauth2requesttoken.d.ts +3 -2
  145. package/dist/esm/models/operations/oauth2requesttoken.d.ts.map +1 -1
  146. package/dist/esm/models/operations/oauth2requesttoken.js +3 -0
  147. package/dist/esm/models/operations/oauth2requesttoken.js.map +1 -1
  148. package/dist/esm/sdk/customerportal.d.ts +3 -0
  149. package/dist/esm/sdk/customerportal.d.ts.map +1 -1
  150. package/dist/esm/sdk/customerportal.js +4 -0
  151. package/dist/esm/sdk/customerportal.js.map +1 -1
  152. package/dist/esm/sdk/customersession.d.ts +15 -0
  153. package/dist/esm/sdk/customersession.d.ts.map +1 -0
  154. package/dist/esm/sdk/customersession.js +20 -0
  155. package/dist/esm/sdk/customersession.js.map +1 -0
  156. package/docs/sdks/customersession/README.md +79 -0
  157. package/examples/package-lock.json +1 -1
  158. package/jsr.json +1 -1
  159. package/package.json +1 -1
  160. package/src/funcs/customerPortalCustomerSessionIntrospect.ts +157 -0
  161. package/src/lib/config.ts +2 -2
  162. package/src/mcp-server/mcp-server.ts +1 -1
  163. package/src/mcp-server/server.ts +1 -1
  164. package/src/models/components/checkout.ts +18 -0
  165. package/src/models/components/checkoutcreate.ts +9 -0
  166. package/src/models/components/checkoutpublic.ts +18 -0
  167. package/src/models/components/checkoutpublicconfirmed.ts +18 -0
  168. package/src/models/components/checkoutupdate.ts +9 -0
  169. package/src/models/components/customercustomersession.ts +81 -0
  170. package/src/models/components/customersession.ts +6 -0
  171. package/src/models/components/customersessioncustomerexternalidcreate.ts +9 -0
  172. package/src/models/components/customersessioncustomeridcreate.ts +9 -0
  173. package/src/models/components/productcreateonetime.ts +120 -40
  174. package/src/models/components/productcreaterecurring.ts +120 -40
  175. package/src/models/components/productupdate.ts +233 -40
  176. package/src/models/components/webtokenrequest.ts +133 -0
  177. package/src/models/operations/customerportalcustomersessionintrospect.ts +89 -0
  178. package/src/models/operations/oauth2requesttoken.ts +12 -2
  179. package/src/sdk/customerportal.ts +6 -0
  180. package/src/sdk/customersession.ts +30 -0
package/README.md CHANGED
@@ -278,6 +278,10 @@ app.post("/webhook", express.raw({ type: "application/json" }), (req: Request, r
278
278
  * [confirmPaymentMethod](docs/sdks/polarcustomers/README.md#confirmpaymentmethod) - Confirm Customer Payment Method
279
279
  * [deletePaymentMethod](docs/sdks/polarcustomers/README.md#deletepaymentmethod) - Delete Customer Payment Method
280
280
 
281
+ #### [customerPortal.customerSession](docs/sdks/customersession/README.md)
282
+
283
+ * [introspect](docs/sdks/customersession/README.md#introspect) - Introspect Customer Session
284
+
281
285
  #### [customerPortal.downloadables](docs/sdks/downloadables/README.md)
282
286
 
283
287
  * [list](docs/sdks/downloadables/README.md#list) - List Downloadables
@@ -506,6 +510,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
506
510
  - [`customerPortalCustomersAddPaymentMethod`](docs/sdks/polarcustomers/README.md#addpaymentmethod) - Add Customer Payment Method
507
511
  - [`customerPortalCustomersConfirmPaymentMethod`](docs/sdks/polarcustomers/README.md#confirmpaymentmethod) - Confirm Customer Payment Method
508
512
  - [`customerPortalCustomersDeletePaymentMethod`](docs/sdks/polarcustomers/README.md#deletepaymentmethod) - Delete Customer Payment Method
513
+ - [`customerPortalCustomerSessionIntrospect`](docs/sdks/customersession/README.md#introspect) - Introspect Customer Session
509
514
  - [`customerPortalCustomersGet`](docs/sdks/polarcustomers/README.md#get) - Get Customer
510
515
  - [`customerPortalCustomersListPaymentMethods`](docs/sdks/polarcustomers/README.md#listpaymentmethods) - List Customer Payment Methods
511
516
  - [`customerPortalCustomersUpdate`](docs/sdks/polarcustomers/README.md#update) - Update Customer
@@ -790,25 +795,25 @@ run();
790
795
 
791
796
 
792
797
  **Inherit from [`PolarError`](./src/models/errors/polarerror.ts)**:
793
- * [`ResourceNotFound`](./src/models/errors/resourcenotfound.ts): Status code `404`. Applicable to 77 of 141 methods.*
794
- * [`NotPermitted`](./src/models/errors/notpermitted.ts): Status code `403`. Applicable to 10 of 141 methods.*
795
- * [`Unauthorized`](./src/models/errors/unauthorized.ts): Not authorized to manage license key. Status code `401`. Applicable to 5 of 141 methods.*
796
- * [`AlreadyCanceledSubscription`](./src/models/errors/alreadycanceledsubscription.ts): Status code `403`. Applicable to 4 of 141 methods.*
797
- * [`AlreadyActiveSubscriptionError`](./src/models/errors/alreadyactivesubscriptionerror.ts): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 141 methods.*
798
- * [`NotOpenCheckout`](./src/models/errors/notopencheckout.ts): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 141 methods.*
799
- * [`PaymentNotReady`](./src/models/errors/paymentnotready.ts): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 141 methods.*
800
- * [`ExpiredCheckoutError`](./src/models/errors/expiredcheckouterror.ts): The checkout session is expired. Status code `410`. Applicable to 3 of 141 methods.*
801
- * [`SubscriptionLocked`](./src/models/errors/subscriptionlocked.ts): Subscription is pending an update. Status code `409`. Applicable to 2 of 141 methods.*
802
- * [`InvoiceAlreadyExists`](./src/models/errors/invoicealreadyexists.ts): Order already has an invoice. Status code `409`. Applicable to 2 of 141 methods.*
803
- * [`MissingInvoiceBillingDetails`](./src/models/errors/missinginvoicebillingdetails.ts): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 141 methods.*
804
- * [`NotPaidOrder`](./src/models/errors/notpaidorder.ts): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 141 methods.*
805
- * [`RefundAmountTooHigh`](./src/models/errors/refundamounttoohigh.ts): Refund amount exceeds remaining order balance. Status code `400`. Applicable to 1 of 141 methods.*
806
- * [`PaymentError`](./src/models/errors/paymenterror.ts): The payment failed. Status code `400`. Applicable to 1 of 141 methods.*
807
- * [`CustomerNotReady`](./src/models/errors/customernotready.ts): Customer is not ready to confirm a payment method. Status code `400`. Applicable to 1 of 141 methods.*
808
- * [`PaymentMethodInUseByActiveSubscription`](./src/models/errors/paymentmethodinusebyactivesubscription.ts): Payment method is used by active subscription(s). Status code `400`. Applicable to 1 of 141 methods.*
809
- * [`RefundedAlready`](./src/models/errors/refundedalready.ts): Order is already fully refunded. Status code `403`. Applicable to 1 of 141 methods.*
810
- * [`PaymentAlreadyInProgress`](./src/models/errors/paymentalreadyinprogress.ts): Payment already in progress. Status code `409`. Applicable to 1 of 141 methods.*
811
- * [`OrderNotEligibleForRetry`](./src/models/errors/ordernoteligibleforretry.ts): Order not eligible for retry or payment confirmation failed. Status code `422`. Applicable to 1 of 141 methods.*
798
+ * [`ResourceNotFound`](./src/models/errors/resourcenotfound.ts): Status code `404`. Applicable to 77 of 142 methods.*
799
+ * [`NotPermitted`](./src/models/errors/notpermitted.ts): Status code `403`. Applicable to 10 of 142 methods.*
800
+ * [`Unauthorized`](./src/models/errors/unauthorized.ts): Not authorized to manage license key. Status code `401`. Applicable to 5 of 142 methods.*
801
+ * [`AlreadyCanceledSubscription`](./src/models/errors/alreadycanceledsubscription.ts): Status code `403`. Applicable to 4 of 142 methods.*
802
+ * [`AlreadyActiveSubscriptionError`](./src/models/errors/alreadyactivesubscriptionerror.ts): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 142 methods.*
803
+ * [`NotOpenCheckout`](./src/models/errors/notopencheckout.ts): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 142 methods.*
804
+ * [`PaymentNotReady`](./src/models/errors/paymentnotready.ts): The checkout is expired, the customer already has an active subscription, or the organization is not ready to accept payments. Status code `403`. Applicable to 3 of 142 methods.*
805
+ * [`ExpiredCheckoutError`](./src/models/errors/expiredcheckouterror.ts): The checkout session is expired. Status code `410`. Applicable to 3 of 142 methods.*
806
+ * [`SubscriptionLocked`](./src/models/errors/subscriptionlocked.ts): Subscription is pending an update. Status code `409`. Applicable to 2 of 142 methods.*
807
+ * [`InvoiceAlreadyExists`](./src/models/errors/invoicealreadyexists.ts): Order already has an invoice. Status code `409`. Applicable to 2 of 142 methods.*
808
+ * [`MissingInvoiceBillingDetails`](./src/models/errors/missinginvoicebillingdetails.ts): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 142 methods.*
809
+ * [`NotPaidOrder`](./src/models/errors/notpaidorder.ts): Order is not paid or is missing billing name or address. Status code `422`. Applicable to 2 of 142 methods.*
810
+ * [`RefundAmountTooHigh`](./src/models/errors/refundamounttoohigh.ts): Refund amount exceeds remaining order balance. Status code `400`. Applicable to 1 of 142 methods.*
811
+ * [`PaymentError`](./src/models/errors/paymenterror.ts): The payment failed. Status code `400`. Applicable to 1 of 142 methods.*
812
+ * [`CustomerNotReady`](./src/models/errors/customernotready.ts): Customer is not ready to confirm a payment method. Status code `400`. Applicable to 1 of 142 methods.*
813
+ * [`PaymentMethodInUseByActiveSubscription`](./src/models/errors/paymentmethodinusebyactivesubscription.ts): Payment method is used by active subscription(s). Status code `400`. Applicable to 1 of 142 methods.*
814
+ * [`RefundedAlready`](./src/models/errors/refundedalready.ts): Order is already fully refunded. Status code `403`. Applicable to 1 of 142 methods.*
815
+ * [`PaymentAlreadyInProgress`](./src/models/errors/paymentalreadyinprogress.ts): Payment already in progress. Status code `409`. Applicable to 1 of 142 methods.*
816
+ * [`OrderNotEligibleForRetry`](./src/models/errors/ordernoteligibleforretry.ts): Order not eligible for retry or payment confirmation failed. Status code `422`. Applicable to 1 of 142 methods.*
812
817
  * [`ResponseValidationError`](./src/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.
813
818
 
814
819
  </details>
package/bin/mcp-server.js CHANGED
@@ -4037,9 +4037,9 @@ var init_config = __esm(() => {
4037
4037
  SDK_METADATA = {
4038
4038
  language: "typescript",
4039
4039
  openapiDocVersion: "0.1.0",
4040
- sdkVersion: "0.36.0",
4040
+ sdkVersion: "0.36.2",
4041
4041
  genVersion: "2.723.11",
4042
- userAgent: "speakeasy-sdk/typescript 0.36.0 2.723.11 0.1.0 @polar-sh/sdk"
4042
+ userAgent: "speakeasy-sdk/typescript 0.36.2 2.723.11 0.1.0 @polar-sh/sdk"
4043
4043
  };
4044
4044
  });
4045
4045
 
@@ -45952,18 +45952,38 @@ var init_productcreateonetime = __esm(() => {
45952
45952
  ProductCreateOneTimeMetadata$.outboundSchema = ProductCreateOneTimeMetadata$outboundSchema;
45953
45953
  })(ProductCreateOneTimeMetadata$ ||= {});
45954
45954
  ProductCreateOneTimePrices$inboundSchema = unionType([
45955
- ProductPriceMeteredUnitCreate$inboundSchema,
45956
- ProductPriceFixedCreate$inboundSchema,
45957
- ProductPriceSeatBasedCreate$inboundSchema,
45958
- ProductPriceCustomCreate$inboundSchema,
45959
- ProductPriceFreeCreate$inboundSchema
45955
+ ProductPriceMeteredUnitCreate$inboundSchema.and(objectType({ amount_type: literalType("metered_unit") }).transform((v2) => ({
45956
+ amountType: v2.amount_type
45957
+ }))),
45958
+ ProductPriceFixedCreate$inboundSchema.and(objectType({ amount_type: literalType("fixed") }).transform((v2) => ({
45959
+ amountType: v2.amount_type
45960
+ }))),
45961
+ ProductPriceSeatBasedCreate$inboundSchema.and(objectType({ amount_type: literalType("seat_based") }).transform((v2) => ({
45962
+ amountType: v2.amount_type
45963
+ }))),
45964
+ ProductPriceCustomCreate$inboundSchema.and(objectType({ amount_type: literalType("custom") }).transform((v2) => ({
45965
+ amountType: v2.amount_type
45966
+ }))),
45967
+ ProductPriceFreeCreate$inboundSchema.and(objectType({ amount_type: literalType("free") }).transform((v2) => ({
45968
+ amountType: v2.amount_type
45969
+ })))
45960
45970
  ]);
45961
45971
  ProductCreateOneTimePrices$outboundSchema = unionType([
45962
- ProductPriceMeteredUnitCreate$outboundSchema,
45963
- ProductPriceFixedCreate$outboundSchema,
45964
- ProductPriceSeatBasedCreate$outboundSchema,
45965
- ProductPriceCustomCreate$outboundSchema,
45966
- ProductPriceFreeCreate$outboundSchema
45972
+ ProductPriceMeteredUnitCreate$outboundSchema.and(objectType({ amountType: literalType("metered_unit") }).transform((v2) => ({
45973
+ amount_type: v2.amountType
45974
+ }))),
45975
+ ProductPriceFixedCreate$outboundSchema.and(objectType({ amountType: literalType("fixed") }).transform((v2) => ({
45976
+ amount_type: v2.amountType
45977
+ }))),
45978
+ ProductPriceSeatBasedCreate$outboundSchema.and(objectType({ amountType: literalType("seat_based") }).transform((v2) => ({
45979
+ amount_type: v2.amountType
45980
+ }))),
45981
+ ProductPriceCustomCreate$outboundSchema.and(objectType({ amountType: literalType("custom") }).transform((v2) => ({
45982
+ amount_type: v2.amountType
45983
+ }))),
45984
+ ProductPriceFreeCreate$outboundSchema.and(objectType({ amountType: literalType("free") }).transform((v2) => ({
45985
+ amount_type: v2.amountType
45986
+ })))
45967
45987
  ]);
45968
45988
  ((ProductCreateOneTimePrices$) => {
45969
45989
  ProductCreateOneTimePrices$.inboundSchema = ProductCreateOneTimePrices$inboundSchema;
@@ -45974,11 +45994,21 @@ var init_productcreateonetime = __esm(() => {
45974
45994
  name: stringType(),
45975
45995
  description: nullableType(stringType()).optional(),
45976
45996
  prices: arrayType(unionType([
45977
- ProductPriceMeteredUnitCreate$inboundSchema,
45978
- ProductPriceFixedCreate$inboundSchema,
45979
- ProductPriceSeatBasedCreate$inboundSchema,
45980
- ProductPriceCustomCreate$inboundSchema,
45981
- ProductPriceFreeCreate$inboundSchema
45997
+ ProductPriceMeteredUnitCreate$inboundSchema.and(objectType({ amount_type: literalType("metered_unit") }).transform((v2) => ({
45998
+ amountType: v2.amount_type
45999
+ }))),
46000
+ ProductPriceFixedCreate$inboundSchema.and(objectType({ amount_type: literalType("fixed") }).transform((v2) => ({
46001
+ amountType: v2.amount_type
46002
+ }))),
46003
+ ProductPriceSeatBasedCreate$inboundSchema.and(objectType({ amount_type: literalType("seat_based") }).transform((v2) => ({
46004
+ amountType: v2.amount_type
46005
+ }))),
46006
+ ProductPriceCustomCreate$inboundSchema.and(objectType({ amount_type: literalType("custom") }).transform((v2) => ({
46007
+ amountType: v2.amount_type
46008
+ }))),
46009
+ ProductPriceFreeCreate$inboundSchema.and(objectType({ amount_type: literalType("free") }).transform((v2) => ({
46010
+ amountType: v2.amount_type
46011
+ })))
45982
46012
  ])),
45983
46013
  medias: nullableType(arrayType(stringType())).optional(),
45984
46014
  attached_custom_fields: arrayType(AttachedCustomFieldCreate$inboundSchema).optional(),
@@ -45996,11 +46026,21 @@ var init_productcreateonetime = __esm(() => {
45996
46026
  name: stringType(),
45997
46027
  description: nullableType(stringType()).optional(),
45998
46028
  prices: arrayType(unionType([
45999
- ProductPriceMeteredUnitCreate$outboundSchema,
46000
- ProductPriceFixedCreate$outboundSchema,
46001
- ProductPriceSeatBasedCreate$outboundSchema,
46002
- ProductPriceCustomCreate$outboundSchema,
46003
- ProductPriceFreeCreate$outboundSchema
46029
+ ProductPriceMeteredUnitCreate$outboundSchema.and(objectType({ amountType: literalType("metered_unit") }).transform((v2) => ({
46030
+ amount_type: v2.amountType
46031
+ }))),
46032
+ ProductPriceFixedCreate$outboundSchema.and(objectType({ amountType: literalType("fixed") }).transform((v2) => ({
46033
+ amount_type: v2.amountType
46034
+ }))),
46035
+ ProductPriceSeatBasedCreate$outboundSchema.and(objectType({ amountType: literalType("seat_based") }).transform((v2) => ({
46036
+ amount_type: v2.amountType
46037
+ }))),
46038
+ ProductPriceCustomCreate$outboundSchema.and(objectType({ amountType: literalType("custom") }).transform((v2) => ({
46039
+ amount_type: v2.amountType
46040
+ }))),
46041
+ ProductPriceFreeCreate$outboundSchema.and(objectType({ amountType: literalType("free") }).transform((v2) => ({
46042
+ amount_type: v2.amountType
46043
+ })))
46004
46044
  ])),
46005
46045
  medias: nullableType(arrayType(stringType())).optional(),
46006
46046
  attachedCustomFields: arrayType(AttachedCustomFieldCreate$outboundSchema).optional(),
@@ -46039,18 +46079,38 @@ var init_productcreaterecurring = __esm(() => {
46039
46079
  ProductCreateRecurringMetadata$.outboundSchema = ProductCreateRecurringMetadata$outboundSchema;
46040
46080
  })(ProductCreateRecurringMetadata$ ||= {});
46041
46081
  ProductCreateRecurringPrices$inboundSchema = unionType([
46042
- ProductPriceMeteredUnitCreate$inboundSchema,
46043
- ProductPriceFixedCreate$inboundSchema,
46044
- ProductPriceSeatBasedCreate$inboundSchema,
46045
- ProductPriceCustomCreate$inboundSchema,
46046
- ProductPriceFreeCreate$inboundSchema
46082
+ ProductPriceMeteredUnitCreate$inboundSchema.and(objectType({ amount_type: literalType("metered_unit") }).transform((v2) => ({
46083
+ amountType: v2.amount_type
46084
+ }))),
46085
+ ProductPriceFixedCreate$inboundSchema.and(objectType({ amount_type: literalType("fixed") }).transform((v2) => ({
46086
+ amountType: v2.amount_type
46087
+ }))),
46088
+ ProductPriceSeatBasedCreate$inboundSchema.and(objectType({ amount_type: literalType("seat_based") }).transform((v2) => ({
46089
+ amountType: v2.amount_type
46090
+ }))),
46091
+ ProductPriceCustomCreate$inboundSchema.and(objectType({ amount_type: literalType("custom") }).transform((v2) => ({
46092
+ amountType: v2.amount_type
46093
+ }))),
46094
+ ProductPriceFreeCreate$inboundSchema.and(objectType({ amount_type: literalType("free") }).transform((v2) => ({
46095
+ amountType: v2.amount_type
46096
+ })))
46047
46097
  ]);
46048
46098
  ProductCreateRecurringPrices$outboundSchema = unionType([
46049
- ProductPriceMeteredUnitCreate$outboundSchema,
46050
- ProductPriceFixedCreate$outboundSchema,
46051
- ProductPriceSeatBasedCreate$outboundSchema,
46052
- ProductPriceCustomCreate$outboundSchema,
46053
- ProductPriceFreeCreate$outboundSchema
46099
+ ProductPriceMeteredUnitCreate$outboundSchema.and(objectType({ amountType: literalType("metered_unit") }).transform((v2) => ({
46100
+ amount_type: v2.amountType
46101
+ }))),
46102
+ ProductPriceFixedCreate$outboundSchema.and(objectType({ amountType: literalType("fixed") }).transform((v2) => ({
46103
+ amount_type: v2.amountType
46104
+ }))),
46105
+ ProductPriceSeatBasedCreate$outboundSchema.and(objectType({ amountType: literalType("seat_based") }).transform((v2) => ({
46106
+ amount_type: v2.amountType
46107
+ }))),
46108
+ ProductPriceCustomCreate$outboundSchema.and(objectType({ amountType: literalType("custom") }).transform((v2) => ({
46109
+ amount_type: v2.amountType
46110
+ }))),
46111
+ ProductPriceFreeCreate$outboundSchema.and(objectType({ amountType: literalType("free") }).transform((v2) => ({
46112
+ amount_type: v2.amountType
46113
+ })))
46054
46114
  ]);
46055
46115
  ((ProductCreateRecurringPrices$) => {
46056
46116
  ProductCreateRecurringPrices$.inboundSchema = ProductCreateRecurringPrices$inboundSchema;
@@ -46061,11 +46121,21 @@ var init_productcreaterecurring = __esm(() => {
46061
46121
  name: stringType(),
46062
46122
  description: nullableType(stringType()).optional(),
46063
46123
  prices: arrayType(unionType([
46064
- ProductPriceMeteredUnitCreate$inboundSchema,
46065
- ProductPriceFixedCreate$inboundSchema,
46066
- ProductPriceSeatBasedCreate$inboundSchema,
46067
- ProductPriceCustomCreate$inboundSchema,
46068
- ProductPriceFreeCreate$inboundSchema
46124
+ ProductPriceMeteredUnitCreate$inboundSchema.and(objectType({ amount_type: literalType("metered_unit") }).transform((v2) => ({
46125
+ amountType: v2.amount_type
46126
+ }))),
46127
+ ProductPriceFixedCreate$inboundSchema.and(objectType({ amount_type: literalType("fixed") }).transform((v2) => ({
46128
+ amountType: v2.amount_type
46129
+ }))),
46130
+ ProductPriceSeatBasedCreate$inboundSchema.and(objectType({ amount_type: literalType("seat_based") }).transform((v2) => ({
46131
+ amountType: v2.amount_type
46132
+ }))),
46133
+ ProductPriceCustomCreate$inboundSchema.and(objectType({ amount_type: literalType("custom") }).transform((v2) => ({
46134
+ amountType: v2.amount_type
46135
+ }))),
46136
+ ProductPriceFreeCreate$inboundSchema.and(objectType({ amount_type: literalType("free") }).transform((v2) => ({
46137
+ amountType: v2.amount_type
46138
+ })))
46069
46139
  ])),
46070
46140
  medias: nullableType(arrayType(stringType())).optional(),
46071
46141
  attached_custom_fields: arrayType(AttachedCustomFieldCreate$inboundSchema).optional(),
@@ -46087,11 +46157,21 @@ var init_productcreaterecurring = __esm(() => {
46087
46157
  name: stringType(),
46088
46158
  description: nullableType(stringType()).optional(),
46089
46159
  prices: arrayType(unionType([
46090
- ProductPriceMeteredUnitCreate$outboundSchema,
46091
- ProductPriceFixedCreate$outboundSchema,
46092
- ProductPriceSeatBasedCreate$outboundSchema,
46093
- ProductPriceCustomCreate$outboundSchema,
46094
- ProductPriceFreeCreate$outboundSchema
46160
+ ProductPriceMeteredUnitCreate$outboundSchema.and(objectType({ amountType: literalType("metered_unit") }).transform((v2) => ({
46161
+ amount_type: v2.amountType
46162
+ }))),
46163
+ ProductPriceFixedCreate$outboundSchema.and(objectType({ amountType: literalType("fixed") }).transform((v2) => ({
46164
+ amount_type: v2.amountType
46165
+ }))),
46166
+ ProductPriceSeatBasedCreate$outboundSchema.and(objectType({ amountType: literalType("seat_based") }).transform((v2) => ({
46167
+ amount_type: v2.amountType
46168
+ }))),
46169
+ ProductPriceCustomCreate$outboundSchema.and(objectType({ amountType: literalType("custom") }).transform((v2) => ({
46170
+ amount_type: v2.amountType
46171
+ }))),
46172
+ ProductPriceFreeCreate$outboundSchema.and(objectType({ amountType: literalType("free") }).transform((v2) => ({
46173
+ amount_type: v2.amountType
46174
+ })))
46095
46175
  ])),
46096
46176
  medias: nullableType(arrayType(stringType())).optional(),
46097
46177
  attachedCustomFields: arrayType(AttachedCustomFieldCreate$outboundSchema).optional(),
@@ -46711,7 +46791,7 @@ var init_existingproductprice = __esm(() => {
46711
46791
  });
46712
46792
 
46713
46793
  // src/models/components/productupdate.ts
46714
- var ProductUpdateMetadata$inboundSchema, ProductUpdateMetadata$outboundSchema, ProductUpdateMetadata$, ProductUpdatePrices$inboundSchema, ProductUpdatePrices$outboundSchema, ProductUpdatePrices$, ProductUpdate$inboundSchema, ProductUpdate$outboundSchema, ProductUpdate$;
46794
+ var ProductUpdateMetadata$inboundSchema, ProductUpdateMetadata$outboundSchema, ProductUpdateMetadata$, Two$inboundSchema, Two$outboundSchema, Two$, ProductUpdatePrices$inboundSchema, ProductUpdatePrices$outboundSchema, ProductUpdatePrices$, ProductUpdate$inboundSchema, ProductUpdate$outboundSchema, ProductUpdate$;
46715
46795
  var init_productupdate = __esm(() => {
46716
46796
  init_zod();
46717
46797
  init_primitives();
@@ -46730,21 +46810,83 @@ var init_productupdate = __esm(() => {
46730
46810
  ProductUpdateMetadata$.inboundSchema = ProductUpdateMetadata$inboundSchema;
46731
46811
  ProductUpdateMetadata$.outboundSchema = ProductUpdateMetadata$outboundSchema;
46732
46812
  })(ProductUpdateMetadata$ ||= {});
46813
+ Two$inboundSchema = unionType([
46814
+ ProductPriceMeteredUnitCreate$inboundSchema.and(objectType({ amount_type: literalType("metered_unit") }).transform((v2) => ({
46815
+ amountType: v2.amount_type
46816
+ }))),
46817
+ ProductPriceFixedCreate$inboundSchema.and(objectType({ amount_type: literalType("fixed") }).transform((v2) => ({
46818
+ amountType: v2.amount_type
46819
+ }))),
46820
+ ProductPriceSeatBasedCreate$inboundSchema.and(objectType({ amount_type: literalType("seat_based") }).transform((v2) => ({
46821
+ amountType: v2.amount_type
46822
+ }))),
46823
+ ProductPriceCustomCreate$inboundSchema.and(objectType({ amount_type: literalType("custom") }).transform((v2) => ({
46824
+ amountType: v2.amount_type
46825
+ }))),
46826
+ ProductPriceFreeCreate$inboundSchema.and(objectType({ amount_type: literalType("free") }).transform((v2) => ({
46827
+ amountType: v2.amount_type
46828
+ })))
46829
+ ]);
46830
+ Two$outboundSchema = unionType([
46831
+ ProductPriceMeteredUnitCreate$outboundSchema.and(objectType({ amountType: literalType("metered_unit") }).transform((v2) => ({
46832
+ amount_type: v2.amountType
46833
+ }))),
46834
+ ProductPriceFixedCreate$outboundSchema.and(objectType({ amountType: literalType("fixed") }).transform((v2) => ({
46835
+ amount_type: v2.amountType
46836
+ }))),
46837
+ ProductPriceSeatBasedCreate$outboundSchema.and(objectType({ amountType: literalType("seat_based") }).transform((v2) => ({
46838
+ amount_type: v2.amountType
46839
+ }))),
46840
+ ProductPriceCustomCreate$outboundSchema.and(objectType({ amountType: literalType("custom") }).transform((v2) => ({
46841
+ amount_type: v2.amountType
46842
+ }))),
46843
+ ProductPriceFreeCreate$outboundSchema.and(objectType({ amountType: literalType("free") }).transform((v2) => ({
46844
+ amount_type: v2.amountType
46845
+ })))
46846
+ ]);
46847
+ ((Two$) => {
46848
+ Two$.inboundSchema = Two$inboundSchema;
46849
+ Two$.outboundSchema = Two$outboundSchema;
46850
+ })(Two$ ||= {});
46733
46851
  ProductUpdatePrices$inboundSchema = unionType([
46734
- ProductPriceMeteredUnitCreate$inboundSchema,
46735
- ProductPriceFixedCreate$inboundSchema,
46736
- ProductPriceSeatBasedCreate$inboundSchema,
46737
46852
  ExistingProductPrice$inboundSchema,
46738
- ProductPriceCustomCreate$inboundSchema,
46739
- ProductPriceFreeCreate$inboundSchema
46853
+ unionType([
46854
+ ProductPriceMeteredUnitCreate$inboundSchema.and(objectType({ amount_type: literalType("metered_unit") }).transform((v2) => ({
46855
+ amountType: v2.amount_type
46856
+ }))),
46857
+ ProductPriceFixedCreate$inboundSchema.and(objectType({ amount_type: literalType("fixed") }).transform((v2) => ({
46858
+ amountType: v2.amount_type
46859
+ }))),
46860
+ ProductPriceSeatBasedCreate$inboundSchema.and(objectType({ amount_type: literalType("seat_based") }).transform((v2) => ({
46861
+ amountType: v2.amount_type
46862
+ }))),
46863
+ ProductPriceCustomCreate$inboundSchema.and(objectType({ amount_type: literalType("custom") }).transform((v2) => ({
46864
+ amountType: v2.amount_type
46865
+ }))),
46866
+ ProductPriceFreeCreate$inboundSchema.and(objectType({ amount_type: literalType("free") }).transform((v2) => ({
46867
+ amountType: v2.amount_type
46868
+ })))
46869
+ ])
46740
46870
  ]);
46741
46871
  ProductUpdatePrices$outboundSchema = unionType([
46742
- ProductPriceMeteredUnitCreate$outboundSchema,
46743
- ProductPriceFixedCreate$outboundSchema,
46744
- ProductPriceSeatBasedCreate$outboundSchema,
46745
46872
  ExistingProductPrice$outboundSchema,
46746
- ProductPriceCustomCreate$outboundSchema,
46747
- ProductPriceFreeCreate$outboundSchema
46873
+ unionType([
46874
+ ProductPriceMeteredUnitCreate$outboundSchema.and(objectType({ amountType: literalType("metered_unit") }).transform((v2) => ({
46875
+ amount_type: v2.amountType
46876
+ }))),
46877
+ ProductPriceFixedCreate$outboundSchema.and(objectType({ amountType: literalType("fixed") }).transform((v2) => ({
46878
+ amount_type: v2.amountType
46879
+ }))),
46880
+ ProductPriceSeatBasedCreate$outboundSchema.and(objectType({ amountType: literalType("seat_based") }).transform((v2) => ({
46881
+ amount_type: v2.amountType
46882
+ }))),
46883
+ ProductPriceCustomCreate$outboundSchema.and(objectType({ amountType: literalType("custom") }).transform((v2) => ({
46884
+ amount_type: v2.amountType
46885
+ }))),
46886
+ ProductPriceFreeCreate$outboundSchema.and(objectType({ amountType: literalType("free") }).transform((v2) => ({
46887
+ amount_type: v2.amountType
46888
+ })))
46889
+ ])
46748
46890
  ]);
46749
46891
  ((ProductUpdatePrices$) => {
46750
46892
  ProductUpdatePrices$.inboundSchema = ProductUpdatePrices$inboundSchema;
@@ -46759,12 +46901,20 @@ var init_productupdate = __esm(() => {
46759
46901
  recurring_interval: nullableType(SubscriptionRecurringInterval$inboundSchema).optional(),
46760
46902
  is_archived: nullableType(booleanType()).optional(),
46761
46903
  prices: nullableType(arrayType(unionType([
46762
- ProductPriceMeteredUnitCreate$inboundSchema,
46763
- ProductPriceFixedCreate$inboundSchema,
46764
- ProductPriceSeatBasedCreate$inboundSchema,
46765
46904
  ExistingProductPrice$inboundSchema,
46766
- ProductPriceCustomCreate$inboundSchema,
46767
- ProductPriceFreeCreate$inboundSchema
46905
+ unionType([
46906
+ ProductPriceMeteredUnitCreate$inboundSchema.and(objectType({ amount_type: literalType("metered_unit") }).transform((v2) => ({ amountType: v2.amount_type }))),
46907
+ ProductPriceFixedCreate$inboundSchema.and(objectType({ amount_type: literalType("fixed") }).transform((v2) => ({
46908
+ amountType: v2.amount_type
46909
+ }))),
46910
+ ProductPriceSeatBasedCreate$inboundSchema.and(objectType({ amount_type: literalType("seat_based") }).transform((v2) => ({ amountType: v2.amount_type }))),
46911
+ ProductPriceCustomCreate$inboundSchema.and(objectType({ amount_type: literalType("custom") }).transform((v2) => ({
46912
+ amountType: v2.amount_type
46913
+ }))),
46914
+ ProductPriceFreeCreate$inboundSchema.and(objectType({ amount_type: literalType("free") }).transform((v2) => ({
46915
+ amountType: v2.amount_type
46916
+ })))
46917
+ ])
46768
46918
  ]))).optional(),
46769
46919
  medias: nullableType(arrayType(stringType())).optional(),
46770
46920
  attached_custom_fields: nullableType(arrayType(AttachedCustomFieldCreate$inboundSchema)).optional()
@@ -46786,12 +46936,20 @@ var init_productupdate = __esm(() => {
46786
46936
  recurringInterval: nullableType(SubscriptionRecurringInterval$outboundSchema).optional(),
46787
46937
  isArchived: nullableType(booleanType()).optional(),
46788
46938
  prices: nullableType(arrayType(unionType([
46789
- ProductPriceMeteredUnitCreate$outboundSchema,
46790
- ProductPriceFixedCreate$outboundSchema,
46791
- ProductPriceSeatBasedCreate$outboundSchema,
46792
46939
  ExistingProductPrice$outboundSchema,
46793
- ProductPriceCustomCreate$outboundSchema,
46794
- ProductPriceFreeCreate$outboundSchema
46940
+ unionType([
46941
+ ProductPriceMeteredUnitCreate$outboundSchema.and(objectType({ amountType: literalType("metered_unit") }).transform((v2) => ({ amount_type: v2.amountType }))),
46942
+ ProductPriceFixedCreate$outboundSchema.and(objectType({ amountType: literalType("fixed") }).transform((v2) => ({
46943
+ amount_type: v2.amountType
46944
+ }))),
46945
+ ProductPriceSeatBasedCreate$outboundSchema.and(objectType({ amountType: literalType("seat_based") }).transform((v2) => ({ amount_type: v2.amountType }))),
46946
+ ProductPriceCustomCreate$outboundSchema.and(objectType({ amountType: literalType("custom") }).transform((v2) => ({
46947
+ amount_type: v2.amountType
46948
+ }))),
46949
+ ProductPriceFreeCreate$outboundSchema.and(objectType({ amountType: literalType("free") }).transform((v2) => ({
46950
+ amount_type: v2.amountType
46951
+ })))
46952
+ ])
46795
46953
  ]))).optional(),
46796
46954
  medias: nullableType(arrayType(stringType())).optional(),
46797
46955
  attachedCustomFields: nullableType(arrayType(AttachedCustomFieldCreate$outboundSchema)).optional()
@@ -48573,7 +48731,7 @@ Update a subscription.
48573
48731
  function createMCPServer(deps) {
48574
48732
  const server = new McpServer({
48575
48733
  name: "Polar",
48576
- version: "0.36.0"
48734
+ version: "0.36.2"
48577
48735
  });
48578
48736
  const client = new PolarCore({
48579
48737
  accessToken: deps.accessToken,
@@ -49862,7 +50020,7 @@ var routes = rn({
49862
50020
  var app = Ve(routes, {
49863
50021
  name: "mcp",
49864
50022
  versionInfo: {
49865
- currentVersion: "0.36.0"
50023
+ currentVersion: "0.36.2"
49866
50024
  }
49867
50025
  });
49868
50026
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -49870,5 +50028,5 @@ export {
49870
50028
  app
49871
50029
  };
49872
50030
 
49873
- //# debugId=5A4B1458A2B201E264756E2164756E21
50031
+ //# debugId=33E3953892441A4064756E2164756E21
49874
50032
  //# sourceMappingURL=mcp-server.js.map