autumn-js 1.2.41 → 1.2.43

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 (147) hide show
  1. package/dist/backend/adapters/express.js +670 -71
  2. package/dist/backend/adapters/express.mjs +8 -8
  3. package/dist/backend/adapters/fetch.js +670 -71
  4. package/dist/backend/adapters/fetch.mjs +8 -8
  5. package/dist/backend/adapters/hono.js +670 -71
  6. package/dist/backend/adapters/hono.mjs +8 -8
  7. package/dist/backend/adapters/index.js +670 -71
  8. package/dist/backend/adapters/index.mjs +11 -11
  9. package/dist/backend/adapters/next.js +670 -71
  10. package/dist/backend/adapters/next.mjs +8 -8
  11. package/dist/backend/{chunk-5FKCJ3TB.mjs → chunk-6JWKVTW6.mjs} +668 -69
  12. package/dist/backend/{chunk-FS2XS32M.mjs → chunk-A4CQFLP2.mjs} +1 -1
  13. package/dist/backend/{chunk-UD2T3GKC.mjs → chunk-BFEYTUTD.mjs} +5 -5
  14. package/dist/backend/{chunk-CHL34LQO.mjs → chunk-F7UCOH2H.mjs} +1 -1
  15. package/dist/backend/{chunk-QKLYHQFJ.mjs → chunk-P2VDVARN.mjs} +1 -1
  16. package/dist/backend/{chunk-2VGKOWXH.mjs → chunk-PMJU66BZ.mjs} +1 -1
  17. package/dist/backend/{chunk-6IRM5YOA.mjs → chunk-PUITHPYB.mjs} +7 -7
  18. package/dist/backend/{chunk-6WHGF4WX.mjs → chunk-VWRIO2AZ.mjs} +2 -2
  19. package/dist/backend/core/handlers/coreHandler.d.mts +1 -1
  20. package/dist/backend/core/handlers/coreHandler.d.ts +1 -1
  21. package/dist/backend/core/handlers/coreHandler.js +670 -71
  22. package/dist/backend/core/handlers/coreHandler.mjs +6 -6
  23. package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
  24. package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
  25. package/dist/backend/core/handlers/executeRoute.mjs +3 -3
  26. package/dist/backend/core/handlers/handleRouteByName.js +670 -71
  27. package/dist/backend/core/handlers/handleRouteByName.mjs +6 -6
  28. package/dist/backend/core/handlers/index.d.mts +1 -1
  29. package/dist/backend/core/handlers/index.d.ts +1 -1
  30. package/dist/backend/core/handlers/index.js +670 -71
  31. package/dist/backend/core/handlers/index.mjs +10 -10
  32. package/dist/backend/core/index.d.mts +1 -1
  33. package/dist/backend/core/index.d.ts +1 -1
  34. package/dist/backend/core/index.js +670 -71
  35. package/dist/backend/core/index.mjs +7 -7
  36. package/dist/backend/core/routes/index.d.mts +1 -1
  37. package/dist/backend/core/routes/index.d.ts +1 -1
  38. package/dist/backend/core/routes/index.js +2 -2
  39. package/dist/backend/core/routes/index.mjs +1 -1
  40. package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
  41. package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
  42. package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
  43. package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
  44. package/dist/backend/core/routes/routeConfigs.js +2 -2
  45. package/dist/backend/core/routes/routeConfigs.mjs +1 -1
  46. package/dist/backend/core/types/handlerTypes.d.mts +1 -1
  47. package/dist/backend/core/types/handlerTypes.d.ts +1 -1
  48. package/dist/backend/core/types/index.d.mts +1 -1
  49. package/dist/backend/core/types/index.d.ts +1 -1
  50. package/dist/backend/core/types/routeTypes.d.mts +1 -1
  51. package/dist/backend/core/types/routeTypes.d.ts +1 -1
  52. package/dist/backend/index.d.mts +2 -2
  53. package/dist/backend/index.d.ts +2 -2
  54. package/dist/backend/index.js +670 -71
  55. package/dist/backend/index.mjs +7 -7
  56. package/dist/backend/{routeTypes-6y6WfqD1.d.mts → routeTypes-BbDgUCjQ.d.mts} +1125 -410
  57. package/dist/backend/{routeTypes-Bqeo1-G5.d.ts → routeTypes-Dx6n-_1-.d.ts} +1125 -410
  58. package/dist/better-auth/{chunk-UGW5CGCL.mjs → chunk-46KXUK2V.mjs} +1 -1
  59. package/dist/better-auth/{chunk-PQ5Y4SBX.mjs → chunk-5XFPQFRG.mjs} +2 -2
  60. package/dist/better-auth/{chunk-CICEUVIO.mjs → chunk-GBZQDO7C.mjs} +669 -70
  61. package/dist/better-auth/index.js +670 -71
  62. package/dist/better-auth/index.mjs +3 -3
  63. package/dist/better-auth/utils/createAutumnEndpoint.js +2 -2
  64. package/dist/better-auth/utils/createAutumnEndpoint.mjs +2 -2
  65. package/dist/better-auth/utils/handleBetterAuthRoute.js +670 -71
  66. package/dist/better-auth/utils/handleBetterAuthRoute.mjs +2 -2
  67. package/dist/better-auth/utils/index.js +670 -71
  68. package/dist/better-auth/utils/index.mjs +3 -3
  69. package/dist/react/AutumnContext.d.mts +4 -4
  70. package/dist/react/AutumnContext.d.ts +4 -4
  71. package/dist/react/AutumnProvider.js +17 -17
  72. package/dist/react/AutumnProvider.mjs +2 -2
  73. package/dist/react/{chunk-ERN74FDW.mjs → chunk-7SRCZYRC.mjs} +1 -1
  74. package/dist/react/{chunk-VJDFB54U.mjs → chunk-CQF3ER2L.mjs} +2 -2
  75. package/dist/react/{chunk-6KIRT7EK.mjs → chunk-CSJHU3F2.mjs} +1 -1
  76. package/dist/react/{chunk-DDMHYLY3.mjs → chunk-EE3XPYSL.mjs} +1 -1
  77. package/dist/react/{chunk-FU6VEECB.mjs → chunk-KCOHZSS3.mjs} +25 -25
  78. package/dist/react/{chunk-JH5BXBEU.mjs → chunk-LUBYNTYC.mjs} +1 -1
  79. package/dist/react/{chunk-YZ23DM7M.mjs → chunk-QUGX6XRQ.mjs} +1 -1
  80. package/dist/react/{chunk-AAPQJY55.mjs → chunk-RTZAB46K.mjs} +1 -1
  81. package/dist/react/{chunk-M3L6EE7I.mjs → chunk-SBCI4L22.mjs} +1 -1
  82. package/dist/react/client/AutumnClient.d.mts +4 -4
  83. package/dist/react/client/AutumnClient.d.ts +4 -4
  84. package/dist/react/client/IAutumnClient.d.mts +4 -4
  85. package/dist/react/client/IAutumnClient.d.ts +4 -4
  86. package/dist/react/client/index.d.mts +4 -4
  87. package/dist/react/client/index.d.ts +4 -4
  88. package/dist/react/{customer-BD_JdC0O.d.mts → customer-DUVEYKmJ.d.mts} +1 -1
  89. package/dist/react/{customer-C95I_yQG.d.ts → customer-DWsFqhDO.d.ts} +1 -1
  90. package/dist/react/hooks/index.d.mts +4 -4
  91. package/dist/react/hooks/index.d.ts +4 -4
  92. package/dist/react/hooks/index.js +18 -18
  93. package/dist/react/hooks/index.mjs +8 -8
  94. package/dist/react/hooks/internal/check/balanceToAllowed.d.mts +2 -2
  95. package/dist/react/hooks/internal/check/balanceToAllowed.d.ts +2 -2
  96. package/dist/react/hooks/internal/check/customerToFeatures.d.mts +2 -2
  97. package/dist/react/hooks/internal/check/customerToFeatures.d.ts +2 -2
  98. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.mts +2 -2
  99. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.ts +2 -2
  100. package/dist/react/hooks/internal/check/getCreditCost.d.mts +2 -2
  101. package/dist/react/hooks/internal/check/getCreditCost.d.ts +2 -2
  102. package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +3 -3
  103. package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +3 -3
  104. package/dist/react/hooks/internal/useCustomerActions.d.mts +4 -4
  105. package/dist/react/hooks/internal/useCustomerActions.d.ts +4 -4
  106. package/dist/react/hooks/internal/useCustomerActions.js +1 -1
  107. package/dist/react/hooks/internal/useCustomerActions.mjs +2 -2
  108. package/dist/react/hooks/useAggregateEvents.d.mts +2 -2
  109. package/dist/react/hooks/useAggregateEvents.d.ts +2 -2
  110. package/dist/react/hooks/useAggregateEvents.js +18 -18
  111. package/dist/react/hooks/useAggregateEvents.mjs +2 -2
  112. package/dist/react/hooks/useCustomer.d.mts +3 -3
  113. package/dist/react/hooks/useCustomer.d.ts +3 -3
  114. package/dist/react/hooks/useCustomer.js +18 -18
  115. package/dist/react/hooks/useCustomer.mjs +3 -3
  116. package/dist/react/hooks/useEntity.d.mts +2 -2
  117. package/dist/react/hooks/useEntity.d.ts +2 -2
  118. package/dist/react/hooks/useEntity.js +18 -18
  119. package/dist/react/hooks/useEntity.mjs +2 -2
  120. package/dist/react/hooks/useListEvents.d.mts +2 -2
  121. package/dist/react/hooks/useListEvents.d.ts +2 -2
  122. package/dist/react/hooks/useListEvents.js +18 -18
  123. package/dist/react/hooks/useListEvents.mjs +2 -2
  124. package/dist/react/hooks/useListPlans.d.mts +3 -3
  125. package/dist/react/hooks/useListPlans.d.ts +3 -3
  126. package/dist/react/hooks/useListPlans.js +18 -18
  127. package/dist/react/hooks/useListPlans.mjs +2 -2
  128. package/dist/react/hooks/useReferrals.d.mts +2 -2
  129. package/dist/react/hooks/useReferrals.d.ts +2 -2
  130. package/dist/react/hooks/useReferrals.js +18 -18
  131. package/dist/react/hooks/useReferrals.mjs +2 -2
  132. package/dist/react/index.d.mts +4 -4
  133. package/dist/react/index.d.ts +4 -4
  134. package/dist/react/index.js +24 -24
  135. package/dist/react/index.mjs +9 -9
  136. package/dist/react/{list-plans-op-BdOxN1FS.d.ts → list-plans-op-BpypCKd4.d.ts} +4 -4
  137. package/dist/react/{list-plans-op--w_i80gy.d.mts → list-plans-op-qIIJzne_.d.mts} +4 -4
  138. package/dist/react/{params-Dk9XX3Ql.d.mts → params-C-0Z0NXW.d.mts} +1 -1
  139. package/dist/react/{params-_Bb3H0_F.d.ts → params-DGCHegZ2.d.ts} +1 -1
  140. package/dist/react/{plan--HshF-xs.d.mts → plan-Cv3WkiHC.d.mts} +3 -3
  141. package/dist/react/{plan--HshF-xs.d.ts → plan-Cv3WkiHC.d.ts} +3 -3
  142. package/dist/sdk/index.d.mts +1136 -100
  143. package/dist/sdk/index.d.ts +1136 -100
  144. package/dist/sdk/index.js +1015 -142
  145. package/dist/sdk/index.mjs +864 -97
  146. package/package.json +1 -1
  147. package/dist/backend/{chunk-IXUCY7AU.mjs → chunk-MOHYGUMA.mjs} +3 -3
@@ -2746,6 +2746,11 @@ var Balance$inboundSchema = z12.pipe(
2746
2746
 
2747
2747
  // ../sdk/src/models/batch-track-op.ts
2748
2748
  var z13 = __toESM(require("zod/v4-mini"), 1);
2749
+ var BatchTrackOverageBehavior = {
2750
+ Cap: "cap",
2751
+ Overflow: "overflow"
2752
+ };
2753
+ var BatchTrackOverageBehavior$outboundSchema = z13.enum(BatchTrackOverageBehavior);
2749
2754
  var BatchTrackLock$outboundSchema = z13.pipe(
2750
2755
  z13.object({
2751
2756
  lockId: z13.string(),
@@ -2768,6 +2773,7 @@ var RequestBody$outboundSchema = z13.pipe(
2768
2773
  value: z13.optional(z13.number()),
2769
2774
  properties: z13.optional(z13.record(z13.string(), z13.any())),
2770
2775
  timestamp: z13.optional(z13.int()),
2776
+ overageBehavior: z13.optional(BatchTrackOverageBehavior$outboundSchema),
2771
2777
  async: z13.optional(z13.boolean()),
2772
2778
  lock: z13.optional(z13.lazy(() => BatchTrackLock$outboundSchema))
2773
2779
  }),
@@ -2776,7 +2782,8 @@ var RequestBody$outboundSchema = z13.pipe(
2776
2782
  customerId: "customer_id",
2777
2783
  featureId: "feature_id",
2778
2784
  entityId: "entity_id",
2779
- eventName: "event_name"
2785
+ eventName: "event_name",
2786
+ overageBehavior: "overage_behavior"
2780
2787
  });
2781
2788
  })
2782
2789
  );
@@ -5286,7 +5293,7 @@ var PlanPriceVariantDetailsInterval = {
5286
5293
  SemiAnnual: "semi_annual",
5287
5294
  Year: "year"
5288
5295
  };
5289
- var PlanAddItemResetInterval = {
5296
+ var PlanVariantDetailsResetInterval = {
5290
5297
  OneOff: "one_off",
5291
5298
  Minute: "minute",
5292
5299
  Hour: "hour",
@@ -5645,10 +5652,10 @@ var BasePrice$inboundSchema = z18.pipe(
5645
5652
  });
5646
5653
  })
5647
5654
  );
5648
- var PlanAddItemResetInterval$inboundSchema = inboundSchema(PlanAddItemResetInterval);
5655
+ var PlanVariantDetailsResetInterval$inboundSchema = inboundSchema(PlanVariantDetailsResetInterval);
5649
5656
  var PlanVariantDetailsReset$inboundSchema = z18.pipe(
5650
5657
  z18.object({
5651
- interval: PlanAddItemResetInterval$inboundSchema,
5658
+ interval: PlanVariantDetailsResetInterval$inboundSchema,
5652
5659
  interval_count: optional3(number2())
5653
5660
  }),
5654
5661
  z18.transform((v) => {
@@ -6808,7 +6815,7 @@ var CreatePlanPriceIntervalRequestBody = {
6808
6815
  SemiAnnual: "semi_annual",
6809
6816
  Year: "year"
6810
6817
  };
6811
- var CreatePlanResetIntervalRequestBody = {
6818
+ var CreatePlanItemResetIntervalRequestBody = {
6812
6819
  OneOff: "one_off",
6813
6820
  Minute: "minute",
6814
6821
  Hour: "hour",
@@ -6819,7 +6826,7 @@ var CreatePlanResetIntervalRequestBody = {
6819
6826
  SemiAnnual: "semi_annual",
6820
6827
  Year: "year"
6821
6828
  };
6822
- var CreatePlanTierBehaviorRequestBody = {
6829
+ var CreatePlanItemTierBehaviorRequestBody = {
6823
6830
  Graduated: "graduated",
6824
6831
  Volume: "volume"
6825
6832
  };
@@ -6831,7 +6838,7 @@ var CreatePlanItemPriceIntervalRequestBody = {
6831
6838
  SemiAnnual: "semi_annual",
6832
6839
  Year: "year"
6833
6840
  };
6834
- var CreatePlanBillingMethodRequestBody = {
6841
+ var CreatePlanItemBillingMethodRequestBody = {
6835
6842
  Prepaid: "prepaid",
6836
6843
  UsageBased: "usage_based"
6837
6844
  };
@@ -6848,10 +6855,85 @@ var CreatePlanItemOnDecrease = {
6848
6855
  None: "none",
6849
6856
  NoProrations: "no_prorations"
6850
6857
  };
6851
- var CreatePlanExpiryDurationTypeRequestBody = {
6858
+ var CreatePlanItemExpiryDurationTypeRequestBody = {
6852
6859
  Month: "month",
6853
6860
  Forever: "forever"
6854
6861
  };
6862
+ var CreatePlanPriceLicenseInterval = {
6863
+ OneOff: "one_off",
6864
+ Week: "week",
6865
+ Month: "month",
6866
+ Quarter: "quarter",
6867
+ SemiAnnual: "semi_annual",
6868
+ Year: "year"
6869
+ };
6870
+ var CreatePlanLicenseResetInterval = {
6871
+ OneOff: "one_off",
6872
+ Minute: "minute",
6873
+ Hour: "hour",
6874
+ Day: "day",
6875
+ Week: "week",
6876
+ Month: "month",
6877
+ Quarter: "quarter",
6878
+ SemiAnnual: "semi_annual",
6879
+ Year: "year"
6880
+ };
6881
+ var CreatePlanLicenseTierBehavior = {
6882
+ Graduated: "graduated",
6883
+ Volume: "volume"
6884
+ };
6885
+ var CreatePlanLicenseAddItemPriceInterval = {
6886
+ OneOff: "one_off",
6887
+ Week: "week",
6888
+ Month: "month",
6889
+ Quarter: "quarter",
6890
+ SemiAnnual: "semi_annual",
6891
+ Year: "year"
6892
+ };
6893
+ var CreatePlanLicenseAddItemBillingMethod = {
6894
+ Prepaid: "prepaid",
6895
+ UsageBased: "usage_based"
6896
+ };
6897
+ var CreatePlanLicenseOnIncrease = {
6898
+ BillImmediately: "bill_immediately",
6899
+ ProrateImmediately: "prorate_immediately",
6900
+ ProrateNextCycle: "prorate_next_cycle",
6901
+ BillNextCycle: "bill_next_cycle"
6902
+ };
6903
+ var CreatePlanLicenseOnDecrease = {
6904
+ Prorate: "prorate",
6905
+ ProrateImmediately: "prorate_immediately",
6906
+ ProrateNextCycle: "prorate_next_cycle",
6907
+ None: "none",
6908
+ NoProrations: "no_prorations"
6909
+ };
6910
+ var CreatePlanLicenseExpiryDurationType = {
6911
+ Month: "month",
6912
+ Forever: "forever"
6913
+ };
6914
+ var CreatePlanLicenseRemoveItemBillingMethod = {
6915
+ Prepaid: "prepaid",
6916
+ UsageBased: "usage_based"
6917
+ };
6918
+ var CreatePlanIntervalLicenseRemoveItemEnum2 = {
6919
+ OneOff: "one_off",
6920
+ Minute: "minute",
6921
+ Hour: "hour",
6922
+ Day: "day",
6923
+ Week: "week",
6924
+ Month: "month",
6925
+ Quarter: "quarter",
6926
+ SemiAnnual: "semi_annual",
6927
+ Year: "year"
6928
+ };
6929
+ var CreatePlanIntervalLicenseRemoveItemEnum1 = {
6930
+ OneOff: "one_off",
6931
+ Week: "week",
6932
+ Month: "month",
6933
+ Quarter: "quarter",
6934
+ SemiAnnual: "semi_annual",
6935
+ Year: "year"
6936
+ };
6855
6937
  var CreatePlanDurationTypeRequest = {
6856
6938
  Day: "day",
6857
6939
  Month: "month",
@@ -6951,7 +7033,7 @@ var CreatePlanPriceVariantDetailsInterval = {
6951
7033
  SemiAnnual: "semi_annual",
6952
7034
  Year: "year"
6953
7035
  };
6954
- var CreatePlanAddItemResetInterval = {
7036
+ var CreatePlanVariantDetailsResetInterval = {
6955
7037
  OneOff: "one_off",
6956
7038
  Minute: "minute",
6957
7039
  Hour: "hour",
@@ -6966,7 +7048,7 @@ var CreatePlanVariantDetailsTierBehavior = {
6966
7048
  Graduated: "graduated",
6967
7049
  Volume: "volume"
6968
7050
  };
6969
- var CreatePlanAddItemPriceInterval = {
7051
+ var CreatePlanVariantDetailsAddItemPriceInterval = {
6970
7052
  OneOff: "one_off",
6971
7053
  Week: "week",
6972
7054
  Month: "month",
@@ -6974,7 +7056,7 @@ var CreatePlanAddItemPriceInterval = {
6974
7056
  SemiAnnual: "semi_annual",
6975
7057
  Year: "year"
6976
7058
  };
6977
- var CreatePlanAddItemBillingMethod = {
7059
+ var CreatePlanVariantDetailsAddItemBillingMethod = {
6978
7060
  Prepaid: "prepaid",
6979
7061
  UsageBased: "usage_based"
6980
7062
  };
@@ -6995,11 +7077,11 @@ var CreatePlanVariantDetailsExpiryDurationType = {
6995
7077
  Month: "month",
6996
7078
  Forever: "forever"
6997
7079
  };
6998
- var CreatePlanRemoveItemBillingMethod = {
7080
+ var CreatePlanVariantDetailsRemoveItemBillingMethod = {
6999
7081
  Prepaid: "prepaid",
7000
7082
  UsageBased: "usage_based"
7001
7083
  };
7002
- var CreatePlanIntervalRemoveItemEnum2 = {
7084
+ var CreatePlanIntervalVariantDetailsRemoveItemEnum2 = {
7003
7085
  OneOff: "one_off",
7004
7086
  Minute: "minute",
7005
7087
  Hour: "hour",
@@ -7010,7 +7092,7 @@ var CreatePlanIntervalRemoveItemEnum2 = {
7010
7092
  SemiAnnual: "semi_annual",
7011
7093
  Year: "year"
7012
7094
  };
7013
- var CreatePlanIntervalRemoveItemEnum1 = {
7095
+ var CreatePlanIntervalVariantDetailsRemoveItemEnum1 = {
7014
7096
  OneOff: "one_off",
7015
7097
  Week: "week",
7016
7098
  Month: "month",
@@ -7103,10 +7185,12 @@ var CreatePlanPriceRequestBody$outboundSchema = z21.pipe(
7103
7185
  });
7104
7186
  })
7105
7187
  );
7106
- var CreatePlanResetIntervalRequestBody$outboundSchema = z21.enum(CreatePlanResetIntervalRequestBody);
7107
- var CreatePlanResetRequestBody$outboundSchema = z21.pipe(
7188
+ var CreatePlanItemResetIntervalRequestBody$outboundSchema = z21.enum(
7189
+ CreatePlanItemResetIntervalRequestBody
7190
+ );
7191
+ var CreatePlanItemResetRequestBody$outboundSchema = z21.pipe(
7108
7192
  z21.object({
7109
- interval: CreatePlanResetIntervalRequestBody$outboundSchema,
7193
+ interval: CreatePlanItemResetIntervalRequestBody$outboundSchema,
7110
7194
  intervalCount: z21.optional(z21.number())
7111
7195
  }),
7112
7196
  z21.transform((v) => {
@@ -7119,8 +7203,8 @@ var CreatePlanItemAdditionalCurrencyRequestBody$outboundSchema = z21.object({
7119
7203
  currency: z21.string(),
7120
7204
  amount: z21.number()
7121
7205
  });
7122
- var CreatePlanToRequestBody$outboundSchema = smartUnion([z21.number(), z21.string()]);
7123
- var CreatePlanTierAdditionalCurrencyRequestBody$outboundSchema = z21.pipe(
7206
+ var CreatePlanItemToRequestBody$outboundSchema = smartUnion([z21.number(), z21.string()]);
7207
+ var CreatePlanItemTierAdditionalCurrencyRequestBody$outboundSchema = z21.pipe(
7124
7208
  z21.object({
7125
7209
  currency: z21.string(),
7126
7210
  amount: z21.optional(z21.number()),
@@ -7132,13 +7216,13 @@ var CreatePlanTierAdditionalCurrencyRequestBody$outboundSchema = z21.pipe(
7132
7216
  });
7133
7217
  })
7134
7218
  );
7135
- var CreatePlanTierRequestBody$outboundSchema = z21.pipe(
7219
+ var CreatePlanItemTierRequestBody$outboundSchema = z21.pipe(
7136
7220
  z21.object({
7137
7221
  to: smartUnion([z21.number(), z21.string()]),
7138
7222
  amount: z21.optional(z21.number()),
7139
7223
  flatAmount: z21.optional(z21.number()),
7140
7224
  additionalCurrencies: z21.optional(z21.array(z21.lazy(
7141
- () => CreatePlanTierAdditionalCurrencyRequestBody$outboundSchema
7225
+ () => CreatePlanItemTierAdditionalCurrencyRequestBody$outboundSchema
7142
7226
  )))
7143
7227
  }),
7144
7228
  z21.transform((v) => {
@@ -7148,11 +7232,15 @@ var CreatePlanTierRequestBody$outboundSchema = z21.pipe(
7148
7232
  });
7149
7233
  })
7150
7234
  );
7151
- var CreatePlanTierBehaviorRequestBody$outboundSchema = z21.enum(CreatePlanTierBehaviorRequestBody);
7235
+ var CreatePlanItemTierBehaviorRequestBody$outboundSchema = z21.enum(
7236
+ CreatePlanItemTierBehaviorRequestBody
7237
+ );
7152
7238
  var CreatePlanItemPriceIntervalRequestBody$outboundSchema = z21.enum(
7153
7239
  CreatePlanItemPriceIntervalRequestBody
7154
7240
  );
7155
- var CreatePlanBillingMethodRequestBody$outboundSchema = z21.enum(CreatePlanBillingMethodRequestBody);
7241
+ var CreatePlanItemBillingMethodRequestBody$outboundSchema = z21.enum(
7242
+ CreatePlanItemBillingMethodRequestBody
7243
+ );
7156
7244
  var CreatePlanItemPriceRequestBody$outboundSchema = z21.pipe(
7157
7245
  z21.object({
7158
7246
  amount: z21.optional(z21.number()),
@@ -7160,13 +7248,15 @@ var CreatePlanItemPriceRequestBody$outboundSchema = z21.pipe(
7160
7248
  () => CreatePlanItemAdditionalCurrencyRequestBody$outboundSchema
7161
7249
  ))),
7162
7250
  tiers: z21.optional(z21.array(z21.lazy(
7163
- () => CreatePlanTierRequestBody$outboundSchema
7251
+ () => CreatePlanItemTierRequestBody$outboundSchema
7164
7252
  ))),
7165
- tierBehavior: z21.optional(CreatePlanTierBehaviorRequestBody$outboundSchema),
7253
+ tierBehavior: z21.optional(
7254
+ CreatePlanItemTierBehaviorRequestBody$outboundSchema
7255
+ ),
7166
7256
  interval: CreatePlanItemPriceIntervalRequestBody$outboundSchema,
7167
7257
  intervalCount: z21._default(z21.number(), 1),
7168
7258
  billingUnits: z21._default(z21.number(), 1),
7169
- billingMethod: CreatePlanBillingMethodRequestBody$outboundSchema,
7259
+ billingMethod: CreatePlanItemBillingMethodRequestBody$outboundSchema,
7170
7260
  maxPurchase: z21.optional(z21.nullable(z21.number()))
7171
7261
  }),
7172
7262
  z21.transform((v) => {
@@ -7194,14 +7284,14 @@ var CreatePlanItemProration$outboundSchema = z21.pipe(
7194
7284
  });
7195
7285
  })
7196
7286
  );
7197
- var CreatePlanExpiryDurationTypeRequestBody$outboundSchema = z21.enum(
7198
- CreatePlanExpiryDurationTypeRequestBody
7287
+ var CreatePlanItemExpiryDurationTypeRequestBody$outboundSchema = z21.enum(
7288
+ CreatePlanItemExpiryDurationTypeRequestBody
7199
7289
  );
7200
- var CreatePlanRolloverRequestBody$outboundSchema = z21.pipe(
7290
+ var CreatePlanItemRolloverRequestBody$outboundSchema = z21.pipe(
7201
7291
  z21.object({
7202
7292
  max: z21.optional(z21.number()),
7203
7293
  maxPercentage: z21.optional(z21.number()),
7204
- expiryDurationType: CreatePlanExpiryDurationTypeRequestBody$outboundSchema,
7294
+ expiryDurationType: CreatePlanItemExpiryDurationTypeRequestBody$outboundSchema,
7205
7295
  expiryDurationLength: z21.optional(z21.number())
7206
7296
  }),
7207
7297
  z21.transform((v) => {
@@ -7217,13 +7307,165 @@ var CreatePlanItemPlanItem$outboundSchema = z21.pipe(
7217
7307
  featureId: z21.string(),
7218
7308
  included: z21.optional(z21.number()),
7219
7309
  unlimited: z21.optional(z21.boolean()),
7220
- reset: z21.optional(z21.lazy(() => CreatePlanResetRequestBody$outboundSchema)),
7310
+ reset: z21.optional(
7311
+ z21.lazy(() => CreatePlanItemResetRequestBody$outboundSchema)
7312
+ ),
7221
7313
  price: z21.optional(
7222
7314
  z21.lazy(() => CreatePlanItemPriceRequestBody$outboundSchema)
7223
7315
  ),
7224
7316
  proration: z21.optional(z21.lazy(() => CreatePlanItemProration$outboundSchema)),
7225
7317
  rollover: z21.optional(
7226
- z21.lazy(() => CreatePlanRolloverRequestBody$outboundSchema)
7318
+ z21.lazy(() => CreatePlanItemRolloverRequestBody$outboundSchema)
7319
+ )
7320
+ }),
7321
+ z21.transform((v) => {
7322
+ return remap(v, {
7323
+ featureId: "feature_id"
7324
+ });
7325
+ })
7326
+ );
7327
+ var CreatePlanPriceLicenseInterval$outboundSchema = z21.enum(CreatePlanPriceLicenseInterval);
7328
+ var CreatePlanLicenseAdditionalCurrency$outboundSchema = z21.object({
7329
+ currency: z21.string(),
7330
+ amount: z21.number()
7331
+ });
7332
+ var CreatePlanLicenseBasePrice$outboundSchema = z21.pipe(
7333
+ z21.object({
7334
+ amount: z21.number(),
7335
+ interval: CreatePlanPriceLicenseInterval$outboundSchema,
7336
+ intervalCount: z21.optional(z21.number()),
7337
+ additionalCurrencies: z21.optional(
7338
+ z21.array(z21.lazy(() => CreatePlanLicenseAdditionalCurrency$outboundSchema))
7339
+ )
7340
+ }),
7341
+ z21.transform((v) => {
7342
+ return remap(v, {
7343
+ intervalCount: "interval_count",
7344
+ additionalCurrencies: "additional_currencies"
7345
+ });
7346
+ })
7347
+ );
7348
+ var CreatePlanLicenseResetInterval$outboundSchema = z21.enum(CreatePlanLicenseResetInterval);
7349
+ var CreatePlanLicenseReset$outboundSchema = z21.pipe(
7350
+ z21.object({
7351
+ interval: CreatePlanLicenseResetInterval$outboundSchema,
7352
+ intervalCount: z21.optional(z21.number())
7353
+ }),
7354
+ z21.transform((v) => {
7355
+ return remap(v, {
7356
+ intervalCount: "interval_count"
7357
+ });
7358
+ })
7359
+ );
7360
+ var CreatePlanLicenseAddItemAdditionalCurrency$outboundSchema = z21.object({
7361
+ currency: z21.string(),
7362
+ amount: z21.number()
7363
+ });
7364
+ var CreatePlanLicenseTo$outboundSchema = smartUnion([z21.number(), z21.string()]);
7365
+ var CreatePlanLicenseTierAdditionalCurrency$outboundSchema = z21.pipe(
7366
+ z21.object({
7367
+ currency: z21.optional(z21.any()),
7368
+ amount: z21.optional(z21.any()),
7369
+ flatAmount: z21.optional(z21.any())
7370
+ }),
7371
+ z21.transform((v) => {
7372
+ return remap(v, {
7373
+ flatAmount: "flat_amount"
7374
+ });
7375
+ })
7376
+ );
7377
+ var CreatePlanLicenseTier$outboundSchema = z21.pipe(
7378
+ z21.object({
7379
+ to: smartUnion([z21.number(), z21.string()]),
7380
+ amount: z21.optional(z21.number()),
7381
+ flatAmount: z21.optional(z21.number()),
7382
+ additionalCurrencies: z21.optional(z21.array(z21.lazy(
7383
+ () => CreatePlanLicenseTierAdditionalCurrency$outboundSchema
7384
+ )))
7385
+ }),
7386
+ z21.transform((v) => {
7387
+ return remap(v, {
7388
+ flatAmount: "flat_amount",
7389
+ additionalCurrencies: "additional_currencies"
7390
+ });
7391
+ })
7392
+ );
7393
+ var CreatePlanLicenseTierBehavior$outboundSchema = z21.enum(CreatePlanLicenseTierBehavior);
7394
+ var CreatePlanLicenseAddItemPriceInterval$outboundSchema = z21.enum(
7395
+ CreatePlanLicenseAddItemPriceInterval
7396
+ );
7397
+ var CreatePlanLicenseAddItemBillingMethod$outboundSchema = z21.enum(
7398
+ CreatePlanLicenseAddItemBillingMethod
7399
+ );
7400
+ var CreatePlanLicensePrice$outboundSchema = z21.pipe(
7401
+ z21.object({
7402
+ amount: z21.optional(z21.number()),
7403
+ additionalCurrencies: z21.optional(z21.array(z21.lazy(
7404
+ () => CreatePlanLicenseAddItemAdditionalCurrency$outboundSchema
7405
+ ))),
7406
+ tiers: z21.optional(z21.array(z21.lazy(
7407
+ () => CreatePlanLicenseTier$outboundSchema
7408
+ ))),
7409
+ tierBehavior: z21.optional(CreatePlanLicenseTierBehavior$outboundSchema),
7410
+ interval: CreatePlanLicenseAddItemPriceInterval$outboundSchema,
7411
+ intervalCount: z21._default(z21.number(), 1),
7412
+ billingUnits: z21._default(z21.number(), 1),
7413
+ billingMethod: CreatePlanLicenseAddItemBillingMethod$outboundSchema,
7414
+ maxPurchase: z21.optional(z21.nullable(z21.number()))
7415
+ }),
7416
+ z21.transform((v) => {
7417
+ return remap(v, {
7418
+ additionalCurrencies: "additional_currencies",
7419
+ tierBehavior: "tier_behavior",
7420
+ intervalCount: "interval_count",
7421
+ billingUnits: "billing_units",
7422
+ billingMethod: "billing_method",
7423
+ maxPurchase: "max_purchase"
7424
+ });
7425
+ })
7426
+ );
7427
+ var CreatePlanLicenseOnIncrease$outboundSchema = z21.enum(CreatePlanLicenseOnIncrease);
7428
+ var CreatePlanLicenseOnDecrease$outboundSchema = z21.enum(CreatePlanLicenseOnDecrease);
7429
+ var CreatePlanLicenseProration$outboundSchema = z21.pipe(
7430
+ z21.object({
7431
+ onIncrease: CreatePlanLicenseOnIncrease$outboundSchema,
7432
+ onDecrease: CreatePlanLicenseOnDecrease$outboundSchema
7433
+ }),
7434
+ z21.transform((v) => {
7435
+ return remap(v, {
7436
+ onIncrease: "on_increase",
7437
+ onDecrease: "on_decrease"
7438
+ });
7439
+ })
7440
+ );
7441
+ var CreatePlanLicenseExpiryDurationType$outboundSchema = z21.enum(CreatePlanLicenseExpiryDurationType);
7442
+ var CreatePlanLicenseRollover$outboundSchema = z21.pipe(
7443
+ z21.object({
7444
+ max: z21.optional(z21.number()),
7445
+ maxPercentage: z21.optional(z21.number()),
7446
+ expiryDurationType: CreatePlanLicenseExpiryDurationType$outboundSchema,
7447
+ expiryDurationLength: z21.optional(z21.number())
7448
+ }),
7449
+ z21.transform((v) => {
7450
+ return remap(v, {
7451
+ maxPercentage: "max_percentage",
7452
+ expiryDurationType: "expiry_duration_type",
7453
+ expiryDurationLength: "expiry_duration_length"
7454
+ });
7455
+ })
7456
+ );
7457
+ var CreatePlanLicensePlanItem$outboundSchema = z21.pipe(
7458
+ z21.object({
7459
+ featureId: z21.string(),
7460
+ included: z21.optional(z21.number()),
7461
+ unlimited: z21.optional(z21.boolean()),
7462
+ reset: z21.optional(z21.lazy(() => CreatePlanLicenseReset$outboundSchema)),
7463
+ price: z21.optional(z21.lazy(() => CreatePlanLicensePrice$outboundSchema)),
7464
+ proration: z21.optional(
7465
+ z21.lazy(() => CreatePlanLicenseProration$outboundSchema)
7466
+ ),
7467
+ rollover: z21.optional(
7468
+ z21.lazy(() => CreatePlanLicenseRollover$outboundSchema)
7227
7469
  )
7228
7470
  }),
7229
7471
  z21.transform((v) => {
@@ -7232,11 +7474,68 @@ var CreatePlanItemPlanItem$outboundSchema = z21.pipe(
7232
7474
  });
7233
7475
  })
7234
7476
  );
7477
+ var CreatePlanLicenseRemoveItemBillingMethod$outboundSchema = z21.enum(
7478
+ CreatePlanLicenseRemoveItemBillingMethod
7479
+ );
7480
+ var CreatePlanIntervalLicenseRemoveItemEnum2$outboundSchema = z21.enum(
7481
+ CreatePlanIntervalLicenseRemoveItemEnum2
7482
+ );
7483
+ var CreatePlanIntervalLicenseRemoveItemEnum1$outboundSchema = z21.enum(
7484
+ CreatePlanIntervalLicenseRemoveItemEnum1
7485
+ );
7486
+ var CreatePlanLicenseIntervalUnion$outboundSchema = smartUnion([
7487
+ CreatePlanIntervalLicenseRemoveItemEnum1$outboundSchema,
7488
+ CreatePlanIntervalLicenseRemoveItemEnum2$outboundSchema
7489
+ ]);
7490
+ var CreatePlanLicensePlanItemFilter$outboundSchema = z21.pipe(
7491
+ z21.object({
7492
+ featureId: z21.optional(z21.string()),
7493
+ billingMethod: z21.optional(
7494
+ CreatePlanLicenseRemoveItemBillingMethod$outboundSchema
7495
+ ),
7496
+ interval: z21.optional(
7497
+ smartUnion([
7498
+ CreatePlanIntervalLicenseRemoveItemEnum1$outboundSchema,
7499
+ CreatePlanIntervalLicenseRemoveItemEnum2$outboundSchema
7500
+ ])
7501
+ ),
7502
+ intervalCount: z21.optional(z21.int())
7503
+ }),
7504
+ z21.transform((v) => {
7505
+ return remap(v, {
7506
+ featureId: "feature_id",
7507
+ billingMethod: "billing_method",
7508
+ intervalCount: "interval_count"
7509
+ });
7510
+ })
7511
+ );
7512
+ var CreatePlanLicenseCustomize$outboundSchema = z21.pipe(
7513
+ z21.object({
7514
+ price: z21.optional(
7515
+ z21.nullable(z21.lazy(() => CreatePlanLicenseBasePrice$outboundSchema))
7516
+ ),
7517
+ addItems: z21.optional(
7518
+ z21.array(z21.lazy(() => CreatePlanLicensePlanItem$outboundSchema))
7519
+ ),
7520
+ removeItems: z21.optional(
7521
+ z21.array(z21.lazy(() => CreatePlanLicensePlanItemFilter$outboundSchema))
7522
+ )
7523
+ }),
7524
+ z21.transform((v) => {
7525
+ return remap(v, {
7526
+ addItems: "add_items",
7527
+ removeItems: "remove_items"
7528
+ });
7529
+ })
7530
+ );
7235
7531
  var CreatePlanLicense$outboundSchema = z21.pipe(
7236
7532
  z21.object({
7237
7533
  licensePlanId: z21.string(),
7238
7534
  included: z21.optional(z21.int()),
7239
7535
  prepaidOnly: z21.optional(z21.boolean()),
7536
+ customize: z21.optional(
7537
+ z21.nullable(z21.lazy(() => CreatePlanLicenseCustomize$outboundSchema))
7538
+ ),
7240
7539
  metadata: z21.optional(z21.record(z21.string(), z21.any())),
7241
7540
  version: z21.optional(z21.int())
7242
7541
  }),
@@ -7667,7 +7966,7 @@ var CreatePlanVariantDetailsAdditionalCurrency$inboundSchema = z21.object(
7667
7966
  amount: number2()
7668
7967
  }
7669
7968
  );
7670
- var CreatePlanBasePrice$inboundSchema = z21.pipe(
7969
+ var CreatePlanBasePriceResponse$inboundSchema = z21.pipe(
7671
7970
  z21.object({
7672
7971
  amount: number2(),
7673
7972
  interval: CreatePlanPriceVariantDetailsInterval$inboundSchema,
@@ -7683,10 +7982,10 @@ var CreatePlanBasePrice$inboundSchema = z21.pipe(
7683
7982
  });
7684
7983
  })
7685
7984
  );
7686
- var CreatePlanAddItemResetInterval$inboundSchema = inboundSchema(CreatePlanAddItemResetInterval);
7985
+ var CreatePlanVariantDetailsResetInterval$inboundSchema = inboundSchema(CreatePlanVariantDetailsResetInterval);
7687
7986
  var CreatePlanVariantDetailsReset$inboundSchema = z21.pipe(
7688
7987
  z21.object({
7689
- interval: CreatePlanAddItemResetInterval$inboundSchema,
7988
+ interval: CreatePlanVariantDetailsResetInterval$inboundSchema,
7690
7989
  interval_count: optional3(number2())
7691
7990
  }),
7692
7991
  z21.transform((v) => {
@@ -7695,7 +7994,7 @@ var CreatePlanVariantDetailsReset$inboundSchema = z21.pipe(
7695
7994
  });
7696
7995
  })
7697
7996
  );
7698
- var CreatePlanAddItemAdditionalCurrency$inboundSchema = z21.object({
7997
+ var CreatePlanVariantDetailsAddItemAdditionalCurrency$inboundSchema = z21.object({
7699
7998
  currency: string4(),
7700
7999
  amount: number2()
7701
8000
  });
@@ -7729,24 +8028,24 @@ var CreatePlanVariantDetailsTier$inboundSchema = z21.pipe(
7729
8028
  })
7730
8029
  );
7731
8030
  var CreatePlanVariantDetailsTierBehavior$inboundSchema = inboundSchema(CreatePlanVariantDetailsTierBehavior);
7732
- var CreatePlanAddItemPriceInterval$inboundSchema = inboundSchema(CreatePlanAddItemPriceInterval);
7733
- var CreatePlanAddItemBillingMethod$inboundSchema = inboundSchema(CreatePlanAddItemBillingMethod);
8031
+ var CreatePlanVariantDetailsAddItemPriceInterval$inboundSchema = inboundSchema(CreatePlanVariantDetailsAddItemPriceInterval);
8032
+ var CreatePlanVariantDetailsAddItemBillingMethod$inboundSchema = inboundSchema(CreatePlanVariantDetailsAddItemBillingMethod);
7734
8033
  var CreatePlanVariantDetailsPrice$inboundSchema = z21.pipe(
7735
8034
  z21.object({
7736
8035
  amount: optional3(number2()),
7737
- additional_currencies: optional3(
7738
- z21.array(z21.lazy(() => CreatePlanAddItemAdditionalCurrency$inboundSchema))
7739
- ),
7740
- tiers: optional3(
7741
- z21.array(z21.lazy(() => CreatePlanVariantDetailsTier$inboundSchema))
7742
- ),
8036
+ additional_currencies: optional3(z21.array(z21.lazy(
8037
+ () => CreatePlanVariantDetailsAddItemAdditionalCurrency$inboundSchema
8038
+ ))),
8039
+ tiers: optional3(z21.array(z21.lazy(
8040
+ () => CreatePlanVariantDetailsTier$inboundSchema
8041
+ ))),
7743
8042
  tier_behavior: optional3(
7744
8043
  CreatePlanVariantDetailsTierBehavior$inboundSchema
7745
8044
  ),
7746
- interval: CreatePlanAddItemPriceInterval$inboundSchema,
8045
+ interval: CreatePlanVariantDetailsAddItemPriceInterval$inboundSchema,
7747
8046
  interval_count: z21._default(number2(), 1),
7748
8047
  billing_units: z21._default(number2(), 1),
7749
- billing_method: CreatePlanAddItemBillingMethod$inboundSchema,
8048
+ billing_method: CreatePlanVariantDetailsAddItemBillingMethod$inboundSchema,
7750
8049
  max_purchase: z21.optional(z21.nullable(number2()))
7751
8050
  }),
7752
8051
  z21.transform((v) => {
@@ -7814,23 +8113,23 @@ var CreatePlanPlanItemResponse$inboundSchema = z21.pipe(
7814
8113
  });
7815
8114
  })
7816
8115
  );
7817
- var CreatePlanRemoveItemBillingMethod$inboundSchema = inboundSchema(CreatePlanRemoveItemBillingMethod);
7818
- var CreatePlanIntervalRemoveItemEnum2$inboundSchema = inboundSchema(CreatePlanIntervalRemoveItemEnum2);
7819
- var CreatePlanIntervalRemoveItemEnum1$inboundSchema = inboundSchema(CreatePlanIntervalRemoveItemEnum1);
7820
- var CreatePlanIntervalUnion$inboundSchema = smartUnion([
7821
- CreatePlanIntervalRemoveItemEnum1$inboundSchema,
7822
- CreatePlanIntervalRemoveItemEnum2$inboundSchema
8116
+ var CreatePlanVariantDetailsRemoveItemBillingMethod$inboundSchema = inboundSchema(CreatePlanVariantDetailsRemoveItemBillingMethod);
8117
+ var CreatePlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema = inboundSchema(CreatePlanIntervalVariantDetailsRemoveItemEnum2);
8118
+ var CreatePlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema = inboundSchema(CreatePlanIntervalVariantDetailsRemoveItemEnum1);
8119
+ var CreatePlanVariantDetailsIntervalUnion$inboundSchema = smartUnion([
8120
+ CreatePlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema,
8121
+ CreatePlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema
7823
8122
  ]);
7824
- var CreatePlanPlanItemFilter$inboundSchema = z21.pipe(
8123
+ var CreatePlanPlanItemFilterResponse$inboundSchema = z21.pipe(
7825
8124
  z21.object({
7826
8125
  feature_id: optional3(string4()),
7827
8126
  billing_method: optional3(
7828
- CreatePlanRemoveItemBillingMethod$inboundSchema
8127
+ CreatePlanVariantDetailsRemoveItemBillingMethod$inboundSchema
7829
8128
  ),
7830
8129
  interval: optional3(
7831
8130
  smartUnion([
7832
- CreatePlanIntervalRemoveItemEnum1$inboundSchema,
7833
- CreatePlanIntervalRemoveItemEnum2$inboundSchema
8131
+ CreatePlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema,
8132
+ CreatePlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema
7834
8133
  ])
7835
8134
  ),
7836
8135
  interval_count: optional3(number2())
@@ -7989,16 +8288,16 @@ var CreatePlanVariantDetailsBillingControls$inboundSchema = z21.pipe(
7989
8288
  });
7990
8289
  })
7991
8290
  );
7992
- var CreatePlanCustomize$inboundSchema = z21.pipe(
8291
+ var CreatePlanCustomizeResponse$inboundSchema = z21.pipe(
7993
8292
  z21.object({
7994
8293
  price: z21.optional(
7995
- z21.nullable(z21.lazy(() => CreatePlanBasePrice$inboundSchema))
8294
+ z21.nullable(z21.lazy(() => CreatePlanBasePriceResponse$inboundSchema))
7996
8295
  ),
7997
8296
  add_items: optional3(
7998
8297
  z21.array(z21.lazy(() => CreatePlanPlanItemResponse$inboundSchema))
7999
8298
  ),
8000
8299
  remove_items: optional3(
8001
- z21.array(z21.lazy(() => CreatePlanPlanItemFilter$inboundSchema))
8300
+ z21.array(z21.lazy(() => CreatePlanPlanItemFilterResponse$inboundSchema))
8002
8301
  ),
8003
8302
  free_trial: z21.optional(
8004
8303
  z21.nullable(z21.lazy(() => CreatePlanFreeTrialParams$inboundSchema))
@@ -8019,7 +8318,9 @@ var CreatePlanCustomize$inboundSchema = z21.pipe(
8019
8318
  var CreatePlanVariantDetails$inboundSchema = z21.pipe(
8020
8319
  z21.object({
8021
8320
  base_plan_id: string4(),
8022
- customize: optional3(z21.lazy(() => CreatePlanCustomize$inboundSchema))
8321
+ customize: optional3(
8322
+ z21.lazy(() => CreatePlanCustomizeResponse$inboundSchema)
8323
+ )
8023
8324
  }),
8024
8325
  z21.transform((v) => {
8025
8326
  return remap(v, {
@@ -11087,7 +11388,7 @@ var GetPlanPriceVariantDetailsInterval = {
11087
11388
  SemiAnnual: "semi_annual",
11088
11389
  Year: "year"
11089
11390
  };
11090
- var GetPlanAddItemResetInterval = {
11391
+ var GetPlanVariantDetailsResetInterval = {
11091
11392
  OneOff: "one_off",
11092
11393
  Minute: "minute",
11093
11394
  Hour: "hour",
@@ -11457,10 +11758,10 @@ var GetPlanBasePrice$inboundSchema = z36.pipe(
11457
11758
  });
11458
11759
  })
11459
11760
  );
11460
- var GetPlanAddItemResetInterval$inboundSchema = inboundSchema(GetPlanAddItemResetInterval);
11761
+ var GetPlanVariantDetailsResetInterval$inboundSchema = inboundSchema(GetPlanVariantDetailsResetInterval);
11461
11762
  var GetPlanVariantDetailsReset$inboundSchema = z36.pipe(
11462
11763
  z36.object({
11463
- interval: GetPlanAddItemResetInterval$inboundSchema,
11764
+ interval: GetPlanVariantDetailsResetInterval$inboundSchema,
11464
11765
  interval_count: optional3(number2())
11465
11766
  }),
11466
11767
  z36.transform((v) => {
@@ -13522,7 +13823,7 @@ var ListPlansPriceVariantDetailsInterval = {
13522
13823
  SemiAnnual: "semi_annual",
13523
13824
  Year: "year"
13524
13825
  };
13525
- var ListPlansAddItemResetInterval = {
13826
+ var ListPlansVariantDetailsResetInterval = {
13526
13827
  OneOff: "one_off",
13527
13828
  Minute: "minute",
13528
13829
  Hour: "hour",
@@ -13899,10 +14200,10 @@ var ListPlansBasePrice$inboundSchema = z45.pipe(
13899
14200
  });
13900
14201
  })
13901
14202
  );
13902
- var ListPlansAddItemResetInterval$inboundSchema = inboundSchema(ListPlansAddItemResetInterval);
14203
+ var ListPlansVariantDetailsResetInterval$inboundSchema = inboundSchema(ListPlansVariantDetailsResetInterval);
13903
14204
  var ListPlansVariantDetailsReset$inboundSchema = z45.pipe(
13904
14205
  z45.object({
13905
- interval: ListPlansAddItemResetInterval$inboundSchema,
14206
+ interval: ListPlansVariantDetailsResetInterval$inboundSchema,
13906
14207
  interval_count: optional3(number2())
13907
14208
  }),
13908
14209
  z45.transform((v) => {
@@ -20142,6 +20443,10 @@ var SyncRevenueCatResponse$inboundSchema = z61.object({
20142
20443
 
20143
20444
  // ../sdk/src/models/track-op.ts
20144
20445
  var z62 = __toESM(require("zod/v4-mini"), 1);
20446
+ var TrackOverageBehavior = {
20447
+ Cap: "cap",
20448
+ Overflow: "overflow"
20449
+ };
20145
20450
  var TrackIntervalEnum2 = {
20146
20451
  OneOff: "one_off",
20147
20452
  Minute: "minute",
@@ -20164,6 +20469,7 @@ var TrackIntervalEnum1 = {
20164
20469
  SemiAnnual: "semi_annual",
20165
20470
  Year: "year"
20166
20471
  };
20472
+ var TrackOverageBehavior$outboundSchema = z62.enum(TrackOverageBehavior);
20167
20473
  var TrackLock$outboundSchema = z62.pipe(
20168
20474
  z62.object({
20169
20475
  lockId: z62.string(),
@@ -20186,6 +20492,7 @@ var TrackParams$outboundSchema = z62.pipe(
20186
20492
  value: z62.optional(z62.number()),
20187
20493
  properties: z62.optional(z62.record(z62.string(), z62.any())),
20188
20494
  timestamp: z62.optional(z62.int()),
20495
+ overageBehavior: z62.optional(TrackOverageBehavior$outboundSchema),
20189
20496
  async: z62.optional(z62.boolean()),
20190
20497
  lock: z62.optional(z62.lazy(() => TrackLock$outboundSchema))
20191
20498
  }),
@@ -20194,7 +20501,8 @@ var TrackParams$outboundSchema = z62.pipe(
20194
20501
  customerId: "customer_id",
20195
20502
  featureId: "feature_id",
20196
20503
  entityId: "entity_id",
20197
- eventName: "event_name"
20504
+ eventName: "event_name",
20505
+ overageBehavior: "overage_behavior"
20198
20506
  });
20199
20507
  })
20200
20508
  );
@@ -20311,6 +20619,10 @@ var TrackResponse$inboundSchema = smartUnion([
20311
20619
 
20312
20620
  // ../sdk/src/models/track-tokens-op.ts
20313
20621
  var z63 = __toESM(require("zod/v4-mini"), 1);
20622
+ var TrackTokensOverageBehavior = {
20623
+ Cap: "cap",
20624
+ Overflow: "overflow"
20625
+ };
20314
20626
  var TrackTokensIntervalEnum2 = {
20315
20627
  OneOff: "one_off",
20316
20628
  Minute: "minute",
@@ -20333,6 +20645,7 @@ var TrackTokensIntervalEnum1 = {
20333
20645
  SemiAnnual: "semi_annual",
20334
20646
  Year: "year"
20335
20647
  };
20648
+ var TrackTokensOverageBehavior$outboundSchema = z63.enum(TrackTokensOverageBehavior);
20336
20649
  var TrackTokensParams$outboundSchema = z63.pipe(
20337
20650
  z63.object({
20338
20651
  customerId: z63.string(),
@@ -20348,6 +20661,7 @@ var TrackTokensParams$outboundSchema = z63.pipe(
20348
20661
  reasoningTokens: z63.optional(z63.int()),
20349
20662
  properties: z63.optional(z63.record(z63.string(), z63.any())),
20350
20663
  timestamp: z63.optional(z63.int()),
20664
+ overageBehavior: z63.optional(TrackTokensOverageBehavior$outboundSchema),
20351
20665
  async: z63.optional(z63.boolean())
20352
20666
  }),
20353
20667
  z63.transform((v) => {
@@ -20362,7 +20676,8 @@ var TrackTokensParams$outboundSchema = z63.pipe(
20362
20676
  cacheWriteTokens: "cache_write_tokens",
20363
20677
  audioInputTokens: "audio_input_tokens",
20364
20678
  audioOutputTokens: "audio_output_tokens",
20365
- reasoningTokens: "reasoning_tokens"
20679
+ reasoningTokens: "reasoning_tokens",
20680
+ overageBehavior: "overage_behavior"
20366
20681
  });
20367
20682
  })
20368
20683
  );
@@ -21876,6 +22191,81 @@ var UpdatePlanItemExpiryDurationTypeRequestBody = {
21876
22191
  Month: "month",
21877
22192
  Forever: "forever"
21878
22193
  };
22194
+ var UpdatePlanPriceLicenseInterval = {
22195
+ OneOff: "one_off",
22196
+ Week: "week",
22197
+ Month: "month",
22198
+ Quarter: "quarter",
22199
+ SemiAnnual: "semi_annual",
22200
+ Year: "year"
22201
+ };
22202
+ var UpdatePlanLicenseResetInterval = {
22203
+ OneOff: "one_off",
22204
+ Minute: "minute",
22205
+ Hour: "hour",
22206
+ Day: "day",
22207
+ Week: "week",
22208
+ Month: "month",
22209
+ Quarter: "quarter",
22210
+ SemiAnnual: "semi_annual",
22211
+ Year: "year"
22212
+ };
22213
+ var UpdatePlanLicenseTierBehavior = {
22214
+ Graduated: "graduated",
22215
+ Volume: "volume"
22216
+ };
22217
+ var UpdatePlanLicenseAddItemPriceInterval = {
22218
+ OneOff: "one_off",
22219
+ Week: "week",
22220
+ Month: "month",
22221
+ Quarter: "quarter",
22222
+ SemiAnnual: "semi_annual",
22223
+ Year: "year"
22224
+ };
22225
+ var UpdatePlanLicenseAddItemBillingMethod = {
22226
+ Prepaid: "prepaid",
22227
+ UsageBased: "usage_based"
22228
+ };
22229
+ var UpdatePlanLicenseOnIncrease = {
22230
+ BillImmediately: "bill_immediately",
22231
+ ProrateImmediately: "prorate_immediately",
22232
+ ProrateNextCycle: "prorate_next_cycle",
22233
+ BillNextCycle: "bill_next_cycle"
22234
+ };
22235
+ var UpdatePlanLicenseOnDecrease = {
22236
+ Prorate: "prorate",
22237
+ ProrateImmediately: "prorate_immediately",
22238
+ ProrateNextCycle: "prorate_next_cycle",
22239
+ None: "none",
22240
+ NoProrations: "no_prorations"
22241
+ };
22242
+ var UpdatePlanLicenseExpiryDurationType = {
22243
+ Month: "month",
22244
+ Forever: "forever"
22245
+ };
22246
+ var UpdatePlanLicenseRemoveItemBillingMethod = {
22247
+ Prepaid: "prepaid",
22248
+ UsageBased: "usage_based"
22249
+ };
22250
+ var UpdatePlanIntervalLicenseRemoveItemEnum2 = {
22251
+ OneOff: "one_off",
22252
+ Minute: "minute",
22253
+ Hour: "hour",
22254
+ Day: "day",
22255
+ Week: "week",
22256
+ Month: "month",
22257
+ Quarter: "quarter",
22258
+ SemiAnnual: "semi_annual",
22259
+ Year: "year"
22260
+ };
22261
+ var UpdatePlanIntervalLicenseRemoveItemEnum1 = {
22262
+ OneOff: "one_off",
22263
+ Week: "week",
22264
+ Month: "month",
22265
+ Quarter: "quarter",
22266
+ SemiAnnual: "semi_annual",
22267
+ Year: "year"
22268
+ };
21879
22269
  var UpdatePlanDurationTypeRequest = {
21880
22270
  Day: "day",
21881
22271
  Month: "month",
@@ -22372,11 +22762,218 @@ var UpdatePlanItemPlanItem$outboundSchema = z68.pipe(
22372
22762
  });
22373
22763
  })
22374
22764
  );
22765
+ var UpdatePlanPriceLicenseInterval$outboundSchema = z68.enum(UpdatePlanPriceLicenseInterval);
22766
+ var UpdatePlanLicenseAdditionalCurrency$outboundSchema = z68.object({
22767
+ currency: z68.string(),
22768
+ amount: z68.number()
22769
+ });
22770
+ var UpdatePlanLicenseBasePrice$outboundSchema = z68.pipe(
22771
+ z68.object({
22772
+ amount: z68.number(),
22773
+ interval: UpdatePlanPriceLicenseInterval$outboundSchema,
22774
+ intervalCount: z68.optional(z68.number()),
22775
+ additionalCurrencies: z68.optional(
22776
+ z68.array(z68.lazy(() => UpdatePlanLicenseAdditionalCurrency$outboundSchema))
22777
+ )
22778
+ }),
22779
+ z68.transform((v) => {
22780
+ return remap(v, {
22781
+ intervalCount: "interval_count",
22782
+ additionalCurrencies: "additional_currencies"
22783
+ });
22784
+ })
22785
+ );
22786
+ var UpdatePlanLicenseResetInterval$outboundSchema = z68.enum(UpdatePlanLicenseResetInterval);
22787
+ var UpdatePlanLicenseReset$outboundSchema = z68.pipe(
22788
+ z68.object({
22789
+ interval: UpdatePlanLicenseResetInterval$outboundSchema,
22790
+ intervalCount: z68.optional(z68.number())
22791
+ }),
22792
+ z68.transform((v) => {
22793
+ return remap(v, {
22794
+ intervalCount: "interval_count"
22795
+ });
22796
+ })
22797
+ );
22798
+ var UpdatePlanLicenseAddItemAdditionalCurrency$outboundSchema = z68.object({
22799
+ currency: z68.string(),
22800
+ amount: z68.number()
22801
+ });
22802
+ var UpdatePlanLicenseTo$outboundSchema = smartUnion([z68.number(), z68.string()]);
22803
+ var UpdatePlanLicenseTierAdditionalCurrency$outboundSchema = z68.pipe(
22804
+ z68.object({
22805
+ currency: z68.optional(z68.any()),
22806
+ amount: z68.optional(z68.any()),
22807
+ flatAmount: z68.optional(z68.any())
22808
+ }),
22809
+ z68.transform((v) => {
22810
+ return remap(v, {
22811
+ flatAmount: "flat_amount"
22812
+ });
22813
+ })
22814
+ );
22815
+ var UpdatePlanLicenseTier$outboundSchema = z68.pipe(
22816
+ z68.object({
22817
+ to: smartUnion([z68.number(), z68.string()]),
22818
+ amount: z68.optional(z68.number()),
22819
+ flatAmount: z68.optional(z68.number()),
22820
+ additionalCurrencies: z68.optional(z68.array(z68.lazy(
22821
+ () => UpdatePlanLicenseTierAdditionalCurrency$outboundSchema
22822
+ )))
22823
+ }),
22824
+ z68.transform((v) => {
22825
+ return remap(v, {
22826
+ flatAmount: "flat_amount",
22827
+ additionalCurrencies: "additional_currencies"
22828
+ });
22829
+ })
22830
+ );
22831
+ var UpdatePlanLicenseTierBehavior$outboundSchema = z68.enum(UpdatePlanLicenseTierBehavior);
22832
+ var UpdatePlanLicenseAddItemPriceInterval$outboundSchema = z68.enum(
22833
+ UpdatePlanLicenseAddItemPriceInterval
22834
+ );
22835
+ var UpdatePlanLicenseAddItemBillingMethod$outboundSchema = z68.enum(
22836
+ UpdatePlanLicenseAddItemBillingMethod
22837
+ );
22838
+ var UpdatePlanLicensePrice$outboundSchema = z68.pipe(
22839
+ z68.object({
22840
+ amount: z68.optional(z68.number()),
22841
+ additionalCurrencies: z68.optional(z68.array(z68.lazy(
22842
+ () => UpdatePlanLicenseAddItemAdditionalCurrency$outboundSchema
22843
+ ))),
22844
+ tiers: z68.optional(z68.array(z68.lazy(
22845
+ () => UpdatePlanLicenseTier$outboundSchema
22846
+ ))),
22847
+ tierBehavior: z68.optional(UpdatePlanLicenseTierBehavior$outboundSchema),
22848
+ interval: UpdatePlanLicenseAddItemPriceInterval$outboundSchema,
22849
+ intervalCount: z68._default(z68.number(), 1),
22850
+ billingUnits: z68._default(z68.number(), 1),
22851
+ billingMethod: UpdatePlanLicenseAddItemBillingMethod$outboundSchema,
22852
+ maxPurchase: z68.optional(z68.nullable(z68.number()))
22853
+ }),
22854
+ z68.transform((v) => {
22855
+ return remap(v, {
22856
+ additionalCurrencies: "additional_currencies",
22857
+ tierBehavior: "tier_behavior",
22858
+ intervalCount: "interval_count",
22859
+ billingUnits: "billing_units",
22860
+ billingMethod: "billing_method",
22861
+ maxPurchase: "max_purchase"
22862
+ });
22863
+ })
22864
+ );
22865
+ var UpdatePlanLicenseOnIncrease$outboundSchema = z68.enum(UpdatePlanLicenseOnIncrease);
22866
+ var UpdatePlanLicenseOnDecrease$outboundSchema = z68.enum(UpdatePlanLicenseOnDecrease);
22867
+ var UpdatePlanLicenseProration$outboundSchema = z68.pipe(
22868
+ z68.object({
22869
+ onIncrease: UpdatePlanLicenseOnIncrease$outboundSchema,
22870
+ onDecrease: UpdatePlanLicenseOnDecrease$outboundSchema
22871
+ }),
22872
+ z68.transform((v) => {
22873
+ return remap(v, {
22874
+ onIncrease: "on_increase",
22875
+ onDecrease: "on_decrease"
22876
+ });
22877
+ })
22878
+ );
22879
+ var UpdatePlanLicenseExpiryDurationType$outboundSchema = z68.enum(UpdatePlanLicenseExpiryDurationType);
22880
+ var UpdatePlanLicenseRollover$outboundSchema = z68.pipe(
22881
+ z68.object({
22882
+ max: z68.optional(z68.number()),
22883
+ maxPercentage: z68.optional(z68.number()),
22884
+ expiryDurationType: UpdatePlanLicenseExpiryDurationType$outboundSchema,
22885
+ expiryDurationLength: z68.optional(z68.number())
22886
+ }),
22887
+ z68.transform((v) => {
22888
+ return remap(v, {
22889
+ maxPercentage: "max_percentage",
22890
+ expiryDurationType: "expiry_duration_type",
22891
+ expiryDurationLength: "expiry_duration_length"
22892
+ });
22893
+ })
22894
+ );
22895
+ var UpdatePlanLicensePlanItem$outboundSchema = z68.pipe(
22896
+ z68.object({
22897
+ featureId: z68.string(),
22898
+ included: z68.optional(z68.number()),
22899
+ unlimited: z68.optional(z68.boolean()),
22900
+ reset: z68.optional(z68.lazy(() => UpdatePlanLicenseReset$outboundSchema)),
22901
+ price: z68.optional(z68.lazy(() => UpdatePlanLicensePrice$outboundSchema)),
22902
+ proration: z68.optional(
22903
+ z68.lazy(() => UpdatePlanLicenseProration$outboundSchema)
22904
+ ),
22905
+ rollover: z68.optional(
22906
+ z68.lazy(() => UpdatePlanLicenseRollover$outboundSchema)
22907
+ )
22908
+ }),
22909
+ z68.transform((v) => {
22910
+ return remap(v, {
22911
+ featureId: "feature_id"
22912
+ });
22913
+ })
22914
+ );
22915
+ var UpdatePlanLicenseRemoveItemBillingMethod$outboundSchema = z68.enum(
22916
+ UpdatePlanLicenseRemoveItemBillingMethod
22917
+ );
22918
+ var UpdatePlanIntervalLicenseRemoveItemEnum2$outboundSchema = z68.enum(
22919
+ UpdatePlanIntervalLicenseRemoveItemEnum2
22920
+ );
22921
+ var UpdatePlanIntervalLicenseRemoveItemEnum1$outboundSchema = z68.enum(
22922
+ UpdatePlanIntervalLicenseRemoveItemEnum1
22923
+ );
22924
+ var UpdatePlanLicenseIntervalUnion$outboundSchema = smartUnion([
22925
+ UpdatePlanIntervalLicenseRemoveItemEnum1$outboundSchema,
22926
+ UpdatePlanIntervalLicenseRemoveItemEnum2$outboundSchema
22927
+ ]);
22928
+ var UpdatePlanLicensePlanItemFilter$outboundSchema = z68.pipe(
22929
+ z68.object({
22930
+ featureId: z68.optional(z68.string()),
22931
+ billingMethod: z68.optional(
22932
+ UpdatePlanLicenseRemoveItemBillingMethod$outboundSchema
22933
+ ),
22934
+ interval: z68.optional(
22935
+ smartUnion([
22936
+ UpdatePlanIntervalLicenseRemoveItemEnum1$outboundSchema,
22937
+ UpdatePlanIntervalLicenseRemoveItemEnum2$outboundSchema
22938
+ ])
22939
+ ),
22940
+ intervalCount: z68.optional(z68.int())
22941
+ }),
22942
+ z68.transform((v) => {
22943
+ return remap(v, {
22944
+ featureId: "feature_id",
22945
+ billingMethod: "billing_method",
22946
+ intervalCount: "interval_count"
22947
+ });
22948
+ })
22949
+ );
22950
+ var UpdatePlanLicenseCustomize$outboundSchema = z68.pipe(
22951
+ z68.object({
22952
+ price: z68.optional(
22953
+ z68.nullable(z68.lazy(() => UpdatePlanLicenseBasePrice$outboundSchema))
22954
+ ),
22955
+ addItems: z68.optional(
22956
+ z68.array(z68.lazy(() => UpdatePlanLicensePlanItem$outboundSchema))
22957
+ ),
22958
+ removeItems: z68.optional(
22959
+ z68.array(z68.lazy(() => UpdatePlanLicensePlanItemFilter$outboundSchema))
22960
+ )
22961
+ }),
22962
+ z68.transform((v) => {
22963
+ return remap(v, {
22964
+ addItems: "add_items",
22965
+ removeItems: "remove_items"
22966
+ });
22967
+ })
22968
+ );
22375
22969
  var UpdatePlanLicense$outboundSchema = z68.pipe(
22376
22970
  z68.object({
22377
22971
  licensePlanId: z68.string(),
22378
22972
  included: z68.optional(z68.int()),
22379
22973
  prepaidOnly: z68.optional(z68.boolean()),
22974
+ customize: z68.optional(
22975
+ z68.nullable(z68.lazy(() => UpdatePlanLicenseCustomize$outboundSchema))
22976
+ ),
22380
22977
  metadata: z68.optional(z68.record(z68.string(), z68.any())),
22381
22978
  version: z68.optional(z68.int())
22382
22979
  }),
@@ -26071,7 +26668,7 @@ var Billing = class extends ClientSDK {
26071
26668
  * @example
26072
26669
  * ```typescript
26073
26670
  * // Schedule a transition from a trial plan to a paid plan
26074
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
26671
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784307550845,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785517150845,"plans":[{"planId":"pro_plan"}]}] });
26075
26672
  * ```
26076
26673
  *
26077
26674
  * @param customerId - The ID of the customer to create the schedule for.
@@ -30015,6 +30612,7 @@ var Autumn = class extends ClientSDK {
30015
30612
  * @param value - The amount of usage to record. Defaults to 1. Use negative values to credit balance (e.g., when removing a seat). (optional)
30016
30613
  * @param properties - Additional properties to attach to this usage event. (optional)
30017
30614
  * @param timestamp - Unix timestamp in milliseconds to use for the usage event. Defaults to the current time. (optional)
30615
+ * @param overageBehavior - How to handle usage that exceeds the available balance. "cap" (default) deducts only what fits, stopping at zero. "overflow" deducts the full value: the balance can go negative and usage limits do not clamp the deduction, though spend limits still apply. (optional)
30018
30616
  * @param async - If true, enqueue the event for asynchronous processing and return 204 immediately. The response will not include balance information. (optional)
30019
30617
  *
30020
30618
  * @returns The usage value recorded, with either a single updated balance or a map of updated balances. If Autumn is experiencing degraded service from a downstream provider, the API may return 202 after accepting the event for replay so it can be tracked as soon as the service is restored.
@@ -30057,6 +30655,7 @@ var Autumn = class extends ClientSDK {
30057
30655
  * @param reasoningTokens - Number of reasoning tokens generated. (optional)
30058
30656
  * @param properties - Additional properties to attach to this usage event. (optional)
30059
30657
  * @param timestamp - Unix timestamp in milliseconds to use for the usage event. Defaults to the current time. (optional)
30658
+ * @param overageBehavior - How to handle usage that exceeds the available balance. "cap" (default) deducts only what fits, stopping at zero. "overflow" deducts the full value: the balance can go negative and usage limits do not clamp the deduction, though spend limits still apply. (optional)
30060
30659
  * @param async - If true, enqueue the event for asynchronous processing and return 204 immediately. The response will not include balance information. (optional)
30061
30660
  *
30062
30661
  * @returns The dollar value recorded and the updated AI credit system balance. If Autumn is experiencing degraded service from a downstream provider, the API may return 202 after accepting the token usage event for replay so it can be tracked as soon as the service is restored.
@@ -31339,9 +31938,9 @@ var listPlansBasePriceSchema = import_v46.z.object({
31339
31938
  import_v46.z.undefined()
31340
31939
  ]).optional()
31341
31940
  });
31342
- var listPlansAddItemResetIntervalSchema = openEnumSchema3;
31941
+ var listPlansVariantDetailsResetIntervalSchema = openEnumSchema3;
31343
31942
  var listPlansVariantDetailsResetSchema = import_v46.z.object({
31344
- interval: listPlansAddItemResetIntervalSchema,
31943
+ interval: listPlansVariantDetailsResetIntervalSchema,
31345
31944
  intervalCount: import_v46.z.union([import_v46.z.number(), import_v46.z.undefined()]).optional()
31346
31945
  });
31347
31946
  var listPlansVariantDetailsTierBehaviorSchema = openEnumSchema3;