@polar-sh/sdk 0.35.3 → 0.35.4

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 (142) hide show
  1. package/bin/mcp-server.js +119 -5
  2. package/bin/mcp-server.js.map +12 -10
  3. package/dist/commonjs/lib/config.d.ts +2 -2
  4. package/dist/commonjs/lib/config.js +2 -2
  5. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  6. package/dist/commonjs/mcp-server/server.js +1 -1
  7. package/dist/commonjs/models/components/checkout.d.ts +5 -0
  8. package/dist/commonjs/models/components/checkout.d.ts.map +1 -1
  9. package/dist/commonjs/models/components/checkout.js +2 -0
  10. package/dist/commonjs/models/components/checkout.js.map +1 -1
  11. package/dist/commonjs/models/components/checkoutconfirmstripe.d.ts +5 -0
  12. package/dist/commonjs/models/components/checkoutconfirmstripe.d.ts.map +1 -1
  13. package/dist/commonjs/models/components/checkoutconfirmstripe.js +2 -0
  14. package/dist/commonjs/models/components/checkoutconfirmstripe.js.map +1 -1
  15. package/dist/commonjs/models/components/checkoutcreate.d.ts +5 -0
  16. package/dist/commonjs/models/components/checkoutcreate.d.ts.map +1 -1
  17. package/dist/commonjs/models/components/checkoutcreate.js +2 -0
  18. package/dist/commonjs/models/components/checkoutcreate.js.map +1 -1
  19. package/dist/commonjs/models/components/checkoutpublic.d.ts +5 -0
  20. package/dist/commonjs/models/components/checkoutpublic.d.ts.map +1 -1
  21. package/dist/commonjs/models/components/checkoutpublic.js +2 -0
  22. package/dist/commonjs/models/components/checkoutpublic.js.map +1 -1
  23. package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts +5 -0
  24. package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
  25. package/dist/commonjs/models/components/checkoutpublicconfirmed.js +2 -0
  26. package/dist/commonjs/models/components/checkoutpublicconfirmed.js.map +1 -1
  27. package/dist/commonjs/models/components/checkoutupdate.d.ts +5 -0
  28. package/dist/commonjs/models/components/checkoutupdate.d.ts.map +1 -1
  29. package/dist/commonjs/models/components/checkoutupdate.js +2 -0
  30. package/dist/commonjs/models/components/checkoutupdate.js.map +1 -1
  31. package/dist/commonjs/models/components/checkoutupdatepublic.d.ts +5 -0
  32. package/dist/commonjs/models/components/checkoutupdatepublic.d.ts.map +1 -1
  33. package/dist/commonjs/models/components/checkoutupdatepublic.js +2 -0
  34. package/dist/commonjs/models/components/checkoutupdatepublic.js.map +1 -1
  35. package/dist/commonjs/models/components/organizationfeaturesettings.d.ts +5 -0
  36. package/dist/commonjs/models/components/organizationfeaturesettings.d.ts.map +1 -1
  37. package/dist/commonjs/models/components/organizationfeaturesettings.js +4 -0
  38. package/dist/commonjs/models/components/organizationfeaturesettings.js.map +1 -1
  39. package/dist/commonjs/models/components/productcreateonetime.d.ts +5 -4
  40. package/dist/commonjs/models/components/productcreateonetime.d.ts.map +1 -1
  41. package/dist/commonjs/models/components/productcreateonetime.js +5 -0
  42. package/dist/commonjs/models/components/productcreateonetime.js.map +1 -1
  43. package/dist/commonjs/models/components/productcreaterecurring.d.ts +5 -4
  44. package/dist/commonjs/models/components/productcreaterecurring.d.ts.map +1 -1
  45. package/dist/commonjs/models/components/productcreaterecurring.js +5 -0
  46. package/dist/commonjs/models/components/productcreaterecurring.js.map +1 -1
  47. package/dist/commonjs/models/components/productprice.d.ts +5 -0
  48. package/dist/commonjs/models/components/productprice.d.ts.map +1 -1
  49. package/dist/commonjs/models/components/productprice.js +7 -0
  50. package/dist/commonjs/models/components/productprice.js.map +1 -1
  51. package/dist/commonjs/models/components/productpriceseatbased.d.ts +76 -0
  52. package/dist/commonjs/models/components/productpriceseatbased.d.ts.map +1 -0
  53. package/dist/commonjs/models/components/productpriceseatbased.js +112 -0
  54. package/dist/commonjs/models/components/productpriceseatbased.js.map +1 -0
  55. package/dist/commonjs/models/components/productpriceseatbasedcreate.d.ts +42 -0
  56. package/dist/commonjs/models/components/productpriceseatbasedcreate.d.ts.map +1 -0
  57. package/dist/commonjs/models/components/productpriceseatbasedcreate.js +86 -0
  58. package/dist/commonjs/models/components/productpriceseatbasedcreate.js.map +1 -0
  59. package/dist/commonjs/models/components/productupdate.d.ts +5 -4
  60. package/dist/commonjs/models/components/productupdate.d.ts.map +1 -1
  61. package/dist/commonjs/models/components/productupdate.js +5 -0
  62. package/dist/commonjs/models/components/productupdate.js.map +1 -1
  63. package/dist/esm/lib/config.d.ts +2 -2
  64. package/dist/esm/lib/config.js +2 -2
  65. package/dist/esm/mcp-server/mcp-server.js +1 -1
  66. package/dist/esm/mcp-server/server.js +1 -1
  67. package/dist/esm/models/components/checkout.d.ts +5 -0
  68. package/dist/esm/models/components/checkout.d.ts.map +1 -1
  69. package/dist/esm/models/components/checkout.js +2 -0
  70. package/dist/esm/models/components/checkout.js.map +1 -1
  71. package/dist/esm/models/components/checkoutconfirmstripe.d.ts +5 -0
  72. package/dist/esm/models/components/checkoutconfirmstripe.d.ts.map +1 -1
  73. package/dist/esm/models/components/checkoutconfirmstripe.js +2 -0
  74. package/dist/esm/models/components/checkoutconfirmstripe.js.map +1 -1
  75. package/dist/esm/models/components/checkoutcreate.d.ts +5 -0
  76. package/dist/esm/models/components/checkoutcreate.d.ts.map +1 -1
  77. package/dist/esm/models/components/checkoutcreate.js +2 -0
  78. package/dist/esm/models/components/checkoutcreate.js.map +1 -1
  79. package/dist/esm/models/components/checkoutpublic.d.ts +5 -0
  80. package/dist/esm/models/components/checkoutpublic.d.ts.map +1 -1
  81. package/dist/esm/models/components/checkoutpublic.js +2 -0
  82. package/dist/esm/models/components/checkoutpublic.js.map +1 -1
  83. package/dist/esm/models/components/checkoutpublicconfirmed.d.ts +5 -0
  84. package/dist/esm/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
  85. package/dist/esm/models/components/checkoutpublicconfirmed.js +2 -0
  86. package/dist/esm/models/components/checkoutpublicconfirmed.js.map +1 -1
  87. package/dist/esm/models/components/checkoutupdate.d.ts +5 -0
  88. package/dist/esm/models/components/checkoutupdate.d.ts.map +1 -1
  89. package/dist/esm/models/components/checkoutupdate.js +2 -0
  90. package/dist/esm/models/components/checkoutupdate.js.map +1 -1
  91. package/dist/esm/models/components/checkoutupdatepublic.d.ts +5 -0
  92. package/dist/esm/models/components/checkoutupdatepublic.d.ts.map +1 -1
  93. package/dist/esm/models/components/checkoutupdatepublic.js +2 -0
  94. package/dist/esm/models/components/checkoutupdatepublic.js.map +1 -1
  95. package/dist/esm/models/components/organizationfeaturesettings.d.ts +5 -0
  96. package/dist/esm/models/components/organizationfeaturesettings.d.ts.map +1 -1
  97. package/dist/esm/models/components/organizationfeaturesettings.js +4 -0
  98. package/dist/esm/models/components/organizationfeaturesettings.js.map +1 -1
  99. package/dist/esm/models/components/productcreateonetime.d.ts +5 -4
  100. package/dist/esm/models/components/productcreateonetime.d.ts.map +1 -1
  101. package/dist/esm/models/components/productcreateonetime.js +5 -0
  102. package/dist/esm/models/components/productcreateonetime.js.map +1 -1
  103. package/dist/esm/models/components/productcreaterecurring.d.ts +5 -4
  104. package/dist/esm/models/components/productcreaterecurring.d.ts.map +1 -1
  105. package/dist/esm/models/components/productcreaterecurring.js +5 -0
  106. package/dist/esm/models/components/productcreaterecurring.js.map +1 -1
  107. package/dist/esm/models/components/productprice.d.ts +5 -0
  108. package/dist/esm/models/components/productprice.d.ts.map +1 -1
  109. package/dist/esm/models/components/productprice.js +7 -0
  110. package/dist/esm/models/components/productprice.js.map +1 -1
  111. package/dist/esm/models/components/productpriceseatbased.d.ts +76 -0
  112. package/dist/esm/models/components/productpriceseatbased.d.ts.map +1 -0
  113. package/dist/esm/models/components/productpriceseatbased.js +74 -0
  114. package/dist/esm/models/components/productpriceseatbased.js.map +1 -0
  115. package/dist/esm/models/components/productpriceseatbasedcreate.d.ts +42 -0
  116. package/dist/esm/models/components/productpriceseatbasedcreate.d.ts.map +1 -0
  117. package/dist/esm/models/components/productpriceseatbasedcreate.js +48 -0
  118. package/dist/esm/models/components/productpriceseatbasedcreate.js.map +1 -0
  119. package/dist/esm/models/components/productupdate.d.ts +5 -4
  120. package/dist/esm/models/components/productupdate.d.ts.map +1 -1
  121. package/dist/esm/models/components/productupdate.js +5 -0
  122. package/dist/esm/models/components/productupdate.js.map +1 -1
  123. package/examples/package-lock.json +1 -1
  124. package/jsr.json +1 -1
  125. package/package.json +1 -1
  126. package/src/lib/config.ts +2 -2
  127. package/src/mcp-server/mcp-server.ts +1 -1
  128. package/src/mcp-server/server.ts +1 -1
  129. package/src/models/components/checkout.ts +7 -0
  130. package/src/models/components/checkoutconfirmstripe.ts +7 -0
  131. package/src/models/components/checkoutcreate.ts +7 -0
  132. package/src/models/components/checkoutpublic.ts +7 -0
  133. package/src/models/components/checkoutpublicconfirmed.ts +7 -0
  134. package/src/models/components/checkoutupdate.ts +7 -0
  135. package/src/models/components/checkoutupdatepublic.ts +7 -0
  136. package/src/models/components/organizationfeaturesettings.ts +9 -0
  137. package/src/models/components/productcreateonetime.ts +14 -0
  138. package/src/models/components/productcreaterecurring.ts +14 -0
  139. package/src/models/components/productprice.ts +18 -0
  140. package/src/models/components/productpriceseatbased.ts +164 -0
  141. package/src/models/components/productpriceseatbasedcreate.ts +98 -0
  142. package/src/models/components/productupdate.ts +14 -0
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.35.3",
4040
+ sdkVersion: "0.35.4",
4041
4041
  genVersion: "2.716.16",
4042
- userAgent: "speakeasy-sdk/typescript 0.35.3 2.716.16 0.1.0 @polar-sh/sdk"
4042
+ userAgent: "speakeasy-sdk/typescript 0.35.4 2.716.16 0.1.0 @polar-sh/sdk"
4043
4043
  };
4044
4044
  });
4045
4045
 
@@ -45462,6 +45462,65 @@ var init_productpricemeteredunit = __esm(() => {
45462
45462
  })(ProductPriceMeteredUnit$ ||= {});
45463
45463
  });
45464
45464
 
45465
+ // src/models/components/productpriceseatbased.ts
45466
+ var ProductPriceSeatBased$inboundSchema, ProductPriceSeatBased$outboundSchema, ProductPriceSeatBased$;
45467
+ var init_productpriceseatbased = __esm(() => {
45468
+ init_zod();
45469
+ init_primitives();
45470
+ init_productpricetype();
45471
+ init_subscriptionrecurringinterval();
45472
+ ProductPriceSeatBased$inboundSchema = objectType({
45473
+ created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
45474
+ modified_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
45475
+ id: stringType(),
45476
+ amount_type: literalType("seat_based"),
45477
+ is_archived: booleanType(),
45478
+ product_id: stringType(),
45479
+ type: ProductPriceType$inboundSchema,
45480
+ recurring_interval: nullableType(SubscriptionRecurringInterval$inboundSchema),
45481
+ price_currency: stringType(),
45482
+ price_per_seat: numberType().int()
45483
+ }).transform((v2) => {
45484
+ return remap(v2, {
45485
+ created_at: "createdAt",
45486
+ modified_at: "modifiedAt",
45487
+ amount_type: "amountType",
45488
+ is_archived: "isArchived",
45489
+ product_id: "productId",
45490
+ recurring_interval: "recurringInterval",
45491
+ price_currency: "priceCurrency",
45492
+ price_per_seat: "pricePerSeat"
45493
+ });
45494
+ });
45495
+ ProductPriceSeatBased$outboundSchema = objectType({
45496
+ createdAt: dateType().transform((v2) => v2.toISOString()),
45497
+ modifiedAt: nullableType(dateType().transform((v2) => v2.toISOString())),
45498
+ id: stringType(),
45499
+ amountType: literalType("seat_based"),
45500
+ isArchived: booleanType(),
45501
+ productId: stringType(),
45502
+ type: ProductPriceType$outboundSchema,
45503
+ recurringInterval: nullableType(SubscriptionRecurringInterval$outboundSchema),
45504
+ priceCurrency: stringType(),
45505
+ pricePerSeat: numberType().int()
45506
+ }).transform((v2) => {
45507
+ return remap(v2, {
45508
+ createdAt: "created_at",
45509
+ modifiedAt: "modified_at",
45510
+ amountType: "amount_type",
45511
+ isArchived: "is_archived",
45512
+ productId: "product_id",
45513
+ recurringInterval: "recurring_interval",
45514
+ priceCurrency: "price_currency",
45515
+ pricePerSeat: "price_per_seat"
45516
+ });
45517
+ });
45518
+ ((ProductPriceSeatBased$) => {
45519
+ ProductPriceSeatBased$.inboundSchema = ProductPriceSeatBased$inboundSchema;
45520
+ ProductPriceSeatBased$.outboundSchema = ProductPriceSeatBased$outboundSchema;
45521
+ })(ProductPriceSeatBased$ ||= {});
45522
+ });
45523
+
45465
45524
  // src/models/components/productprice.ts
45466
45525
  var ProductPrice$inboundSchema, ProductPrice$outboundSchema, ProductPrice$;
45467
45526
  var init_productprice = __esm(() => {
@@ -45470,6 +45529,7 @@ var init_productprice = __esm(() => {
45470
45529
  init_productpricefixed();
45471
45530
  init_productpricefree();
45472
45531
  init_productpricemeteredunit();
45532
+ init_productpriceseatbased();
45473
45533
  ProductPrice$inboundSchema = unionType([
45474
45534
  ProductPriceMeteredUnit$inboundSchema.and(objectType({ amount_type: literalType("metered_unit") }).transform((v2) => ({
45475
45535
  amountType: v2.amount_type
@@ -45480,6 +45540,9 @@ var init_productprice = __esm(() => {
45480
45540
  ProductPriceFixed$inboundSchema.and(objectType({ amount_type: literalType("fixed") }).transform((v2) => ({
45481
45541
  amountType: v2.amount_type
45482
45542
  }))),
45543
+ ProductPriceSeatBased$inboundSchema.and(objectType({ amount_type: literalType("seat_based") }).transform((v2) => ({
45544
+ amountType: v2.amount_type
45545
+ }))),
45483
45546
  ProductPriceFree$inboundSchema.and(objectType({ amount_type: literalType("free") }).transform((v2) => ({
45484
45547
  amountType: v2.amount_type
45485
45548
  })))
@@ -45494,6 +45557,9 @@ var init_productprice = __esm(() => {
45494
45557
  ProductPriceFixed$outboundSchema.and(objectType({ amountType: literalType("fixed") }).transform((v2) => ({
45495
45558
  amount_type: v2.amountType
45496
45559
  }))),
45560
+ ProductPriceSeatBased$outboundSchema.and(objectType({ amountType: literalType("seat_based") }).transform((v2) => ({
45561
+ amount_type: v2.amountType
45562
+ }))),
45497
45563
  ProductPriceFree$outboundSchema.and(objectType({ amountType: literalType("free") }).transform((v2) => ({
45498
45564
  amount_type: v2.amountType
45499
45565
  })))
@@ -45779,6 +45845,39 @@ var init_productpricemeteredunitcreate = __esm(() => {
45779
45845
  })(ProductPriceMeteredUnitCreate$ ||= {});
45780
45846
  });
45781
45847
 
45848
+ // src/models/components/productpriceseatbasedcreate.ts
45849
+ var ProductPriceSeatBasedCreate$inboundSchema, ProductPriceSeatBasedCreate$outboundSchema, ProductPriceSeatBasedCreate$;
45850
+ var init_productpriceseatbasedcreate = __esm(() => {
45851
+ init_zod();
45852
+ init_primitives();
45853
+ ProductPriceSeatBasedCreate$inboundSchema = objectType({
45854
+ amount_type: literalType("seat_based"),
45855
+ price_currency: stringType().default("usd"),
45856
+ price_per_seat: numberType().int()
45857
+ }).transform((v2) => {
45858
+ return remap(v2, {
45859
+ amount_type: "amountType",
45860
+ price_currency: "priceCurrency",
45861
+ price_per_seat: "pricePerSeat"
45862
+ });
45863
+ });
45864
+ ProductPriceSeatBasedCreate$outboundSchema = objectType({
45865
+ amountType: literalType("seat_based"),
45866
+ priceCurrency: stringType().default("usd"),
45867
+ pricePerSeat: numberType().int()
45868
+ }).transform((v2) => {
45869
+ return remap(v2, {
45870
+ amountType: "amount_type",
45871
+ priceCurrency: "price_currency",
45872
+ pricePerSeat: "price_per_seat"
45873
+ });
45874
+ });
45875
+ ((ProductPriceSeatBasedCreate$) => {
45876
+ ProductPriceSeatBasedCreate$.inboundSchema = ProductPriceSeatBasedCreate$inboundSchema;
45877
+ ProductPriceSeatBasedCreate$.outboundSchema = ProductPriceSeatBasedCreate$outboundSchema;
45878
+ })(ProductPriceSeatBasedCreate$ ||= {});
45879
+ });
45880
+
45782
45881
  // src/models/components/productcreateonetime.ts
45783
45882
  var ProductCreateOneTimeMetadata$inboundSchema, ProductCreateOneTimeMetadata$outboundSchema, ProductCreateOneTimeMetadata$, ProductCreateOneTimePrices$inboundSchema, ProductCreateOneTimePrices$outboundSchema, ProductCreateOneTimePrices$, ProductCreateOneTime$inboundSchema, ProductCreateOneTime$outboundSchema, ProductCreateOneTime$;
45784
45883
  var init_productcreateonetime = __esm(() => {
@@ -45789,6 +45888,7 @@ var init_productcreateonetime = __esm(() => {
45789
45888
  init_productpricefixedcreate();
45790
45889
  init_productpricefreecreate();
45791
45890
  init_productpricemeteredunitcreate();
45891
+ init_productpriceseatbasedcreate();
45792
45892
  ProductCreateOneTimeMetadata$inboundSchema = unionType([stringType(), numberType().int(), numberType(), booleanType()]);
45793
45893
  ProductCreateOneTimeMetadata$outboundSchema = unionType([stringType(), numberType().int(), numberType(), booleanType()]);
45794
45894
  ((ProductCreateOneTimeMetadata$) => {
@@ -45798,12 +45898,14 @@ var init_productcreateonetime = __esm(() => {
45798
45898
  ProductCreateOneTimePrices$inboundSchema = unionType([
45799
45899
  ProductPriceMeteredUnitCreate$inboundSchema,
45800
45900
  ProductPriceFixedCreate$inboundSchema,
45901
+ ProductPriceSeatBasedCreate$inboundSchema,
45801
45902
  ProductPriceCustomCreate$inboundSchema,
45802
45903
  ProductPriceFreeCreate$inboundSchema
45803
45904
  ]);
45804
45905
  ProductCreateOneTimePrices$outboundSchema = unionType([
45805
45906
  ProductPriceMeteredUnitCreate$outboundSchema,
45806
45907
  ProductPriceFixedCreate$outboundSchema,
45908
+ ProductPriceSeatBasedCreate$outboundSchema,
45807
45909
  ProductPriceCustomCreate$outboundSchema,
45808
45910
  ProductPriceFreeCreate$outboundSchema
45809
45911
  ]);
@@ -45818,6 +45920,7 @@ var init_productcreateonetime = __esm(() => {
45818
45920
  prices: arrayType(unionType([
45819
45921
  ProductPriceMeteredUnitCreate$inboundSchema,
45820
45922
  ProductPriceFixedCreate$inboundSchema,
45923
+ ProductPriceSeatBasedCreate$inboundSchema,
45821
45924
  ProductPriceCustomCreate$inboundSchema,
45822
45925
  ProductPriceFreeCreate$inboundSchema
45823
45926
  ])),
@@ -45839,6 +45942,7 @@ var init_productcreateonetime = __esm(() => {
45839
45942
  prices: arrayType(unionType([
45840
45943
  ProductPriceMeteredUnitCreate$outboundSchema,
45841
45944
  ProductPriceFixedCreate$outboundSchema,
45945
+ ProductPriceSeatBasedCreate$outboundSchema,
45842
45946
  ProductPriceCustomCreate$outboundSchema,
45843
45947
  ProductPriceFreeCreate$outboundSchema
45844
45948
  ])),
@@ -45869,6 +45973,7 @@ var init_productcreaterecurring = __esm(() => {
45869
45973
  init_productpricefixedcreate();
45870
45974
  init_productpricefreecreate();
45871
45975
  init_productpricemeteredunitcreate();
45976
+ init_productpriceseatbasedcreate();
45872
45977
  init_subscriptionrecurringinterval();
45873
45978
  init_trialinterval();
45874
45979
  ProductCreateRecurringMetadata$inboundSchema = unionType([stringType(), numberType().int(), numberType(), booleanType()]);
@@ -45880,12 +45985,14 @@ var init_productcreaterecurring = __esm(() => {
45880
45985
  ProductCreateRecurringPrices$inboundSchema = unionType([
45881
45986
  ProductPriceMeteredUnitCreate$inboundSchema,
45882
45987
  ProductPriceFixedCreate$inboundSchema,
45988
+ ProductPriceSeatBasedCreate$inboundSchema,
45883
45989
  ProductPriceCustomCreate$inboundSchema,
45884
45990
  ProductPriceFreeCreate$inboundSchema
45885
45991
  ]);
45886
45992
  ProductCreateRecurringPrices$outboundSchema = unionType([
45887
45993
  ProductPriceMeteredUnitCreate$outboundSchema,
45888
45994
  ProductPriceFixedCreate$outboundSchema,
45995
+ ProductPriceSeatBasedCreate$outboundSchema,
45889
45996
  ProductPriceCustomCreate$outboundSchema,
45890
45997
  ProductPriceFreeCreate$outboundSchema
45891
45998
  ]);
@@ -45900,6 +46007,7 @@ var init_productcreaterecurring = __esm(() => {
45900
46007
  prices: arrayType(unionType([
45901
46008
  ProductPriceMeteredUnitCreate$inboundSchema,
45902
46009
  ProductPriceFixedCreate$inboundSchema,
46010
+ ProductPriceSeatBasedCreate$inboundSchema,
45903
46011
  ProductPriceCustomCreate$inboundSchema,
45904
46012
  ProductPriceFreeCreate$inboundSchema
45905
46013
  ])),
@@ -45925,6 +46033,7 @@ var init_productcreaterecurring = __esm(() => {
45925
46033
  prices: arrayType(unionType([
45926
46034
  ProductPriceMeteredUnitCreate$outboundSchema,
45927
46035
  ProductPriceFixedCreate$outboundSchema,
46036
+ ProductPriceSeatBasedCreate$outboundSchema,
45928
46037
  ProductPriceCustomCreate$outboundSchema,
45929
46038
  ProductPriceFreeCreate$outboundSchema
45930
46039
  ])),
@@ -46556,6 +46665,7 @@ var init_productupdate = __esm(() => {
46556
46665
  init_productpricefixedcreate();
46557
46666
  init_productpricefreecreate();
46558
46667
  init_productpricemeteredunitcreate();
46668
+ init_productpriceseatbasedcreate();
46559
46669
  init_subscriptionrecurringinterval();
46560
46670
  init_trialinterval();
46561
46671
  ProductUpdateMetadata$inboundSchema = unionType([stringType(), numberType().int(), numberType(), booleanType()]);
@@ -46567,6 +46677,7 @@ var init_productupdate = __esm(() => {
46567
46677
  ProductUpdatePrices$inboundSchema = unionType([
46568
46678
  ProductPriceMeteredUnitCreate$inboundSchema,
46569
46679
  ProductPriceFixedCreate$inboundSchema,
46680
+ ProductPriceSeatBasedCreate$inboundSchema,
46570
46681
  ExistingProductPrice$inboundSchema,
46571
46682
  ProductPriceCustomCreate$inboundSchema,
46572
46683
  ProductPriceFreeCreate$inboundSchema
@@ -46574,6 +46685,7 @@ var init_productupdate = __esm(() => {
46574
46685
  ProductUpdatePrices$outboundSchema = unionType([
46575
46686
  ProductPriceMeteredUnitCreate$outboundSchema,
46576
46687
  ProductPriceFixedCreate$outboundSchema,
46688
+ ProductPriceSeatBasedCreate$outboundSchema,
46577
46689
  ExistingProductPrice$outboundSchema,
46578
46690
  ProductPriceCustomCreate$outboundSchema,
46579
46691
  ProductPriceFreeCreate$outboundSchema
@@ -46593,6 +46705,7 @@ var init_productupdate = __esm(() => {
46593
46705
  prices: nullableType(arrayType(unionType([
46594
46706
  ProductPriceMeteredUnitCreate$inboundSchema,
46595
46707
  ProductPriceFixedCreate$inboundSchema,
46708
+ ProductPriceSeatBasedCreate$inboundSchema,
46596
46709
  ExistingProductPrice$inboundSchema,
46597
46710
  ProductPriceCustomCreate$inboundSchema,
46598
46711
  ProductPriceFreeCreate$inboundSchema
@@ -46619,6 +46732,7 @@ var init_productupdate = __esm(() => {
46619
46732
  prices: nullableType(arrayType(unionType([
46620
46733
  ProductPriceMeteredUnitCreate$outboundSchema,
46621
46734
  ProductPriceFixedCreate$outboundSchema,
46735
+ ProductPriceSeatBasedCreate$outboundSchema,
46622
46736
  ExistingProductPrice$outboundSchema,
46623
46737
  ProductPriceCustomCreate$outboundSchema,
46624
46738
  ProductPriceFreeCreate$outboundSchema
@@ -48403,7 +48517,7 @@ Update a subscription.
48403
48517
  function createMCPServer(deps) {
48404
48518
  const server = new McpServer({
48405
48519
  name: "Polar",
48406
- version: "0.35.3"
48520
+ version: "0.35.4"
48407
48521
  });
48408
48522
  const client = new PolarCore({
48409
48523
  accessToken: deps.accessToken,
@@ -49692,7 +49806,7 @@ var routes = rn({
49692
49806
  var app = Ve(routes, {
49693
49807
  name: "mcp",
49694
49808
  versionInfo: {
49695
- currentVersion: "0.35.3"
49809
+ currentVersion: "0.35.4"
49696
49810
  }
49697
49811
  });
49698
49812
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -49700,5 +49814,5 @@ export {
49700
49814
  app
49701
49815
  };
49702
49816
 
49703
- //# debugId=AD1DCAD0528A36F764756E2164756E21
49817
+ //# debugId=C4998DE008545A0A64756E2164756E21
49704
49818
  //# sourceMappingURL=mcp-server.js.map