autumn-js 1.4.47 → 1.4.49

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 (116) hide show
  1. package/dist/backend/adapters/express.js +1780 -792
  2. package/dist/backend/adapters/express.mjs +5 -5
  3. package/dist/backend/adapters/fetch.js +1780 -792
  4. package/dist/backend/adapters/fetch.mjs +5 -5
  5. package/dist/backend/adapters/hono.js +1780 -792
  6. package/dist/backend/adapters/hono.mjs +5 -5
  7. package/dist/backend/adapters/index.js +1780 -792
  8. package/dist/backend/adapters/index.mjs +8 -8
  9. package/dist/backend/adapters/next.js +1780 -792
  10. package/dist/backend/adapters/next.mjs +5 -5
  11. package/dist/backend/{chunk-6LQFPGW7.mjs → chunk-4J2TOGWE.mjs} +220 -60
  12. package/dist/backend/{chunk-XSFLWMJO.mjs → chunk-6X4JZECX.mjs} +1 -1
  13. package/dist/backend/{chunk-BRCDWBVZ.mjs → chunk-EUR3CZTF.mjs} +1 -1
  14. package/dist/backend/{chunk-LPQJUWEP.mjs → chunk-EVPPOVX5.mjs} +2 -2
  15. package/dist/{better-auth/chunk-U4Z36UKV.mjs → backend/chunk-L4HKBZCC.mjs} +1773 -1168
  16. package/dist/backend/{chunk-QXN5PMM3.mjs → chunk-N2SCUJPL.mjs} +2 -2
  17. package/dist/backend/{chunk-P5IBHZVY.mjs → chunk-QPDWSMZ5.mjs} +1 -1
  18. package/dist/backend/{chunk-BAMETKFC.mjs → chunk-XIBFK5EL.mjs} +1 -1
  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 +1780 -792
  22. package/dist/backend/core/handlers/coreHandler.mjs +3 -3
  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/handleRouteByName.js +1780 -792
  26. package/dist/backend/core/handlers/handleRouteByName.mjs +3 -3
  27. package/dist/backend/core/handlers/index.d.mts +1 -1
  28. package/dist/backend/core/handlers/index.d.ts +1 -1
  29. package/dist/backend/core/handlers/index.js +1780 -792
  30. package/dist/backend/core/handlers/index.mjs +4 -4
  31. package/dist/backend/core/index.d.mts +1 -1
  32. package/dist/backend/core/index.d.ts +1 -1
  33. package/dist/backend/core/index.js +1780 -792
  34. package/dist/backend/core/index.mjs +4 -4
  35. package/dist/backend/core/routes/index.d.mts +1 -1
  36. package/dist/backend/core/routes/index.d.ts +1 -1
  37. package/dist/backend/core/routes/index.js +220 -60
  38. package/dist/backend/core/routes/index.mjs +1 -1
  39. package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
  40. package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
  41. package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
  42. package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
  43. package/dist/backend/core/routes/routeConfigs.js +220 -60
  44. package/dist/backend/core/routes/routeConfigs.mjs +1 -1
  45. package/dist/backend/core/types/handlerTypes.d.mts +1 -1
  46. package/dist/backend/core/types/handlerTypes.d.ts +1 -1
  47. package/dist/backend/core/types/index.d.mts +1 -1
  48. package/dist/backend/core/types/index.d.ts +1 -1
  49. package/dist/backend/core/types/routeTypes.d.mts +1 -1
  50. package/dist/backend/core/types/routeTypes.d.ts +1 -1
  51. package/dist/backend/index.d.mts +2 -2
  52. package/dist/backend/index.d.ts +2 -2
  53. package/dist/backend/index.js +1780 -792
  54. package/dist/backend/index.mjs +4 -4
  55. package/dist/backend/{routeTypes-4Nvx_kS7.d.mts → routeTypes-C_10hxA-.d.mts} +916 -130
  56. package/dist/backend/{routeTypes-5NBu7O27.d.ts → routeTypes-CqaUPWtn.d.ts} +916 -130
  57. package/dist/{backend/chunk-QPCIJMW3.mjs → better-auth/chunk-44MLRR2L.mjs} +1996 -945
  58. package/dist/better-auth/{chunk-XMGJ2JOK.mjs → chunk-TX2WZUZT.mjs} +1 -1
  59. package/dist/better-auth/{chunk-7UPP5FN5.mjs → chunk-ZHYDDOAE.mjs} +220 -60
  60. package/dist/better-auth/index.js +1780 -792
  61. package/dist/better-auth/index.mjs +3 -3
  62. package/dist/better-auth/utils/createAutumnEndpoint.js +220 -60
  63. package/dist/better-auth/utils/createAutumnEndpoint.mjs +2 -2
  64. package/dist/better-auth/utils/handleBetterAuthRoute.js +1780 -792
  65. package/dist/better-auth/utils/handleBetterAuthRoute.mjs +2 -2
  66. package/dist/better-auth/utils/index.js +1780 -792
  67. package/dist/better-auth/utils/index.mjs +3 -3
  68. package/dist/react/AutumnContext.d.mts +4 -4
  69. package/dist/react/AutumnContext.d.ts +4 -4
  70. package/dist/react/client/AutumnClient.d.mts +4 -4
  71. package/dist/react/client/AutumnClient.d.ts +4 -4
  72. package/dist/react/client/IAutumnClient.d.mts +4 -4
  73. package/dist/react/client/IAutumnClient.d.ts +4 -4
  74. package/dist/react/client/index.d.mts +4 -4
  75. package/dist/react/client/index.d.ts +4 -4
  76. package/dist/react/{customer-Bf5yt0Mo.d.mts → customer-BK_WEJ0J.d.mts} +17 -1
  77. package/dist/react/{customer-BQxqzdSE.d.ts → customer-CGLAquo9.d.ts} +17 -1
  78. package/dist/react/hooks/index.d.mts +4 -4
  79. package/dist/react/hooks/index.d.ts +4 -4
  80. package/dist/react/hooks/internal/check/balanceToAllowed.d.mts +2 -2
  81. package/dist/react/hooks/internal/check/balanceToAllowed.d.ts +2 -2
  82. package/dist/react/hooks/internal/check/customerToFeatures.d.mts +2 -2
  83. package/dist/react/hooks/internal/check/customerToFeatures.d.ts +2 -2
  84. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.mts +2 -2
  85. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.ts +2 -2
  86. package/dist/react/hooks/internal/check/getCreditCost.d.mts +2 -2
  87. package/dist/react/hooks/internal/check/getCreditCost.d.ts +2 -2
  88. package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +3 -3
  89. package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +3 -3
  90. package/dist/react/hooks/internal/useCustomerActions.d.mts +4 -4
  91. package/dist/react/hooks/internal/useCustomerActions.d.ts +4 -4
  92. package/dist/react/hooks/useAggregateEvents.d.mts +2 -2
  93. package/dist/react/hooks/useAggregateEvents.d.ts +2 -2
  94. package/dist/react/hooks/useCustomer.d.mts +3 -3
  95. package/dist/react/hooks/useCustomer.d.ts +3 -3
  96. package/dist/react/hooks/useEntity.d.mts +2 -2
  97. package/dist/react/hooks/useEntity.d.ts +2 -2
  98. package/dist/react/hooks/useListEvents.d.mts +2 -2
  99. package/dist/react/hooks/useListEvents.d.ts +2 -2
  100. package/dist/react/hooks/useListPlans.d.mts +3 -3
  101. package/dist/react/hooks/useListPlans.d.ts +3 -3
  102. package/dist/react/hooks/useReferrals.d.mts +2 -2
  103. package/dist/react/hooks/useReferrals.d.ts +2 -2
  104. package/dist/react/index.d.mts +4 -4
  105. package/dist/react/index.d.ts +4 -4
  106. package/dist/react/{list-plans-response-CgqelDUJ.d.mts → list-plans-response-BMWMbzkK.d.ts} +89 -20
  107. package/dist/react/{list-plans-response-jYoBA-Ci.d.ts → list-plans-response-kbT4GwSh.d.mts} +89 -20
  108. package/dist/react/{params-B3qR55v_.d.ts → params-D_8sPp60.d.ts} +258 -40
  109. package/dist/react/{params-DWlWVt04.d.mts → params-eTM9nRBb.d.mts} +258 -40
  110. package/dist/react/{plan-BoEfV7t8.d.mts → plan-Dji-zdws.d.mts} +53 -7
  111. package/dist/react/{plan-BoEfV7t8.d.ts → plan-Dji-zdws.d.ts} +53 -7
  112. package/dist/sdk/index.d.mts +2323 -1205
  113. package/dist/sdk/index.d.ts +2323 -1205
  114. package/dist/sdk/index.js +21373 -20046
  115. package/dist/sdk/index.mjs +21237 -20046
  116. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { C as ClosedEnum, O as OpenEnum, a as Balance, P as Plan } from './plan-BoEfV7t8.mjs';
1
+ import { C as ClosedEnum, O as OpenEnum, a as Balance, P as Plan } from './plan-Dji-zdws.mjs';
2
2
 
3
3
  /**
4
4
  * Time range to aggregate events for. Either range or custom_range must be provided
@@ -569,6 +569,16 @@ type AttachItemExpiry = {
569
569
  duration: AttachItemDuration;
570
570
  length: number;
571
571
  };
572
+ type AttachCreditSchemaItem3 = {
573
+ /**
574
+ * ID of the metered feature to remove from the credit system.
575
+ */
576
+ meteredFeatureId: string;
577
+ /**
578
+ * Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate.
579
+ */
580
+ excluded: true;
581
+ };
572
582
  type AttachDimensionsItem4 = {
573
583
  /**
574
584
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -787,9 +797,9 @@ type AttachItemMarkups = {
787
797
  */
788
798
  type AttachItemFeatureOverride = {
789
799
  /**
790
- * For credit system features: replaces the feature's credit_schema entirely for customers on this plan.
800
+ * For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate.
791
801
  */
792
- creditSchema?: Array<AttachCreditSchemaItem1 | AttachCreditSchemaItem2> | undefined;
802
+ creditSchema?: Array<AttachCreditSchemaItem1 | AttachCreditSchemaItem2 | AttachCreditSchemaItem3> | undefined;
793
803
  /**
794
804
  * For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's.
795
805
  */
@@ -1075,6 +1085,16 @@ type AttachAddItemExpiry = {
1075
1085
  duration: AttachAddItemDuration;
1076
1086
  length: number;
1077
1087
  };
1088
+ type AttachCreditSchemaAddItem3 = {
1089
+ /**
1090
+ * ID of the metered feature to remove from the credit system.
1091
+ */
1092
+ meteredFeatureId: string;
1093
+ /**
1094
+ * Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate.
1095
+ */
1096
+ excluded: true;
1097
+ };
1078
1098
  type AttachDimensionsAddItem4 = {
1079
1099
  /**
1080
1100
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -1293,9 +1313,9 @@ type AttachAddItemMarkups = {
1293
1313
  */
1294
1314
  type AttachAddItemFeatureOverride = {
1295
1315
  /**
1296
- * For credit system features: replaces the feature's credit_schema entirely for customers on this plan.
1316
+ * For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate.
1297
1317
  */
1298
- creditSchema?: Array<AttachCreditSchemaAddItem1 | AttachCreditSchemaAddItem2> | undefined;
1318
+ creditSchema?: Array<AttachCreditSchemaAddItem1 | AttachCreditSchemaAddItem2 | AttachCreditSchemaAddItem3> | undefined;
1299
1319
  /**
1300
1320
  * For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's.
1301
1321
  */
@@ -1932,6 +1952,7 @@ type AttachUpsertLicenseProration = {
1932
1952
  */
1933
1953
  onDecrease: AttachUpsertLicenseOnDecrease;
1934
1954
  };
1955
+
1935
1956
  /**
1936
1957
  * When rolled over units expire.
1937
1958
  */
@@ -1964,7 +1985,6 @@ type AttachUpsertLicenseRollover = {
1964
1985
  */
1965
1986
  expiryDurationLength?: number | undefined;
1966
1987
  };
1967
-
1968
1988
  declare const AttachUpsertLicenseDuration: {
1969
1989
  readonly Day: "day";
1970
1990
  readonly Week: "week";
@@ -1979,6 +1999,16 @@ type AttachUpsertLicenseExpiry = {
1979
1999
  duration: AttachUpsertLicenseDuration;
1980
2000
  length: number;
1981
2001
  };
2002
+ type AttachCreditSchemaUpsertLicense3 = {
2003
+ /**
2004
+ * ID of the metered feature to remove from the credit system.
2005
+ */
2006
+ meteredFeatureId: string;
2007
+ /**
2008
+ * Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate.
2009
+ */
2010
+ excluded: true;
2011
+ };
1982
2012
  type AttachDimensionsUpsertLicense4 = {
1983
2013
  /**
1984
2014
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -2197,9 +2227,9 @@ type AttachUpsertLicenseMarkups = {
2197
2227
  */
2198
2228
  type AttachUpsertLicenseFeatureOverride = {
2199
2229
  /**
2200
- * For credit system features: replaces the feature's credit_schema entirely for customers on this plan.
2230
+ * For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate.
2201
2231
  */
2202
- creditSchema?: Array<AttachCreditSchemaUpsertLicense1 | AttachCreditSchemaUpsertLicense2> | undefined;
2232
+ creditSchema?: Array<AttachCreditSchemaUpsertLicense1 | AttachCreditSchemaUpsertLicense2 | AttachCreditSchemaUpsertLicense3> | undefined;
2203
2233
  /**
2204
2234
  * For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's.
2205
2235
  */
@@ -3368,6 +3398,16 @@ type BillingUpdateItemExpiry = {
3368
3398
  duration: BillingUpdateItemDuration;
3369
3399
  length: number;
3370
3400
  };
3401
+ type BillingUpdateCreditSchemaItem3 = {
3402
+ /**
3403
+ * ID of the metered feature to remove from the credit system.
3404
+ */
3405
+ meteredFeatureId: string;
3406
+ /**
3407
+ * Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate.
3408
+ */
3409
+ excluded: true;
3410
+ };
3371
3411
  type BillingUpdateDimensionsItem4 = {
3372
3412
  /**
3373
3413
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -3586,9 +3626,9 @@ type BillingUpdateItemMarkups = {
3586
3626
  */
3587
3627
  type BillingUpdateItemFeatureOverride = {
3588
3628
  /**
3589
- * For credit system features: replaces the feature's credit_schema entirely for customers on this plan.
3629
+ * For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate.
3590
3630
  */
3591
- creditSchema?: Array<BillingUpdateCreditSchemaItem1 | BillingUpdateCreditSchemaItem2> | undefined;
3631
+ creditSchema?: Array<BillingUpdateCreditSchemaItem1 | BillingUpdateCreditSchemaItem2 | BillingUpdateCreditSchemaItem3> | undefined;
3592
3632
  /**
3593
3633
  * For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's.
3594
3634
  */
@@ -3874,6 +3914,16 @@ type BillingUpdateAddItemExpiry = {
3874
3914
  duration: BillingUpdateAddItemDuration;
3875
3915
  length: number;
3876
3916
  };
3917
+ type BillingUpdateCreditSchemaAddItem3 = {
3918
+ /**
3919
+ * ID of the metered feature to remove from the credit system.
3920
+ */
3921
+ meteredFeatureId: string;
3922
+ /**
3923
+ * Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate.
3924
+ */
3925
+ excluded: true;
3926
+ };
3877
3927
  type BillingUpdateDimensionsAddItem4 = {
3878
3928
  /**
3879
3929
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -4092,9 +4142,9 @@ type BillingUpdateAddItemMarkups = {
4092
4142
  */
4093
4143
  type BillingUpdateAddItemFeatureOverride = {
4094
4144
  /**
4095
- * For credit system features: replaces the feature's credit_schema entirely for customers on this plan.
4145
+ * For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate.
4096
4146
  */
4097
- creditSchema?: Array<BillingUpdateCreditSchemaAddItem1 | BillingUpdateCreditSchemaAddItem2> | undefined;
4147
+ creditSchema?: Array<BillingUpdateCreditSchemaAddItem1 | BillingUpdateCreditSchemaAddItem2 | BillingUpdateCreditSchemaAddItem3> | undefined;
4098
4148
  /**
4099
4149
  * For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's.
4100
4150
  */
@@ -4731,6 +4781,7 @@ type BillingUpdateUpsertLicenseProration = {
4731
4781
  */
4732
4782
  onDecrease: BillingUpdateUpsertLicenseOnDecrease;
4733
4783
  };
4784
+
4734
4785
  /**
4735
4786
  * When rolled over units expire.
4736
4787
  */
@@ -4763,7 +4814,6 @@ type BillingUpdateUpsertLicenseRollover = {
4763
4814
  */
4764
4815
  expiryDurationLength?: number | undefined;
4765
4816
  };
4766
-
4767
4817
  declare const BillingUpdateUpsertLicenseDuration: {
4768
4818
  readonly Day: "day";
4769
4819
  readonly Week: "week";
@@ -4778,6 +4828,16 @@ type BillingUpdateUpsertLicenseExpiry = {
4778
4828
  duration: BillingUpdateUpsertLicenseDuration;
4779
4829
  length: number;
4780
4830
  };
4831
+ type BillingUpdateCreditSchemaUpsertLicense3 = {
4832
+ /**
4833
+ * ID of the metered feature to remove from the credit system.
4834
+ */
4835
+ meteredFeatureId: string;
4836
+ /**
4837
+ * Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate.
4838
+ */
4839
+ excluded: true;
4840
+ };
4781
4841
  type BillingUpdateDimensionsUpsertLicense4 = {
4782
4842
  /**
4783
4843
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -4996,9 +5056,9 @@ type BillingUpdateUpsertLicenseMarkups = {
4996
5056
  */
4997
5057
  type BillingUpdateUpsertLicenseFeatureOverride = {
4998
5058
  /**
4999
- * For credit system features: replaces the feature's credit_schema entirely for customers on this plan.
5059
+ * For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate.
5000
5060
  */
5001
- creditSchema?: Array<BillingUpdateCreditSchemaUpsertLicense1 | BillingUpdateCreditSchemaUpsertLicense2> | undefined;
5061
+ creditSchema?: Array<BillingUpdateCreditSchemaUpsertLicense1 | BillingUpdateCreditSchemaUpsertLicense2 | BillingUpdateCreditSchemaUpsertLicense3> | undefined;
5002
5062
  /**
5003
5063
  * For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's.
5004
5064
  */
@@ -5793,6 +5853,18 @@ declare const FlagType2: {
5793
5853
  * Feature type: 'boolean' for on/off access, 'metered' for usage-tracked features, 'credit_system' for unified credit pools, 'ai_credit_system' for model-based token pricing.
5794
5854
  */
5795
5855
  type FlagType2 = OpenEnum<typeof FlagType2>;
5856
+ /**
5857
+ * How grants of this feature from several plans combine: 'sum' adds them up, 'max' / 'min' keep the highest / lowest grant among plan items with no price. Omitted when 'sum'.
5858
+ */
5859
+ declare const CheckCombine2: {
5860
+ readonly Sum: "sum";
5861
+ readonly Max: "max";
5862
+ readonly Min: "min";
5863
+ };
5864
+ /**
5865
+ * How grants of this feature from several plans combine: 'sum' adds them up, 'max' / 'min' keep the highest / lowest grant among plan items with no price. Omitted when 'sum'.
5866
+ */
5867
+ type CheckCombine2 = OpenEnum<typeof CheckCombine2>;
5796
5868
  type CheckDimensions12 = {
5797
5869
  /**
5798
5870
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -6117,6 +6189,10 @@ type CheckFeature2 = {
6117
6189
  * For metered features: true if usage resets periodically (API calls, credits), false if allocated persistently (seats, storage).
6118
6190
  */
6119
6191
  consumable: boolean;
6192
+ /**
6193
+ * How grants of this feature from several plans combine: 'sum' adds them up, 'max' / 'min' keep the highest / lowest grant among plan items with no price. Omitted when 'sum'.
6194
+ */
6195
+ combine?: CheckCombine2 | undefined;
6120
6196
  /**
6121
6197
  * Event names that trigger this feature's balance. Allows multiple features to respond to a single event.
6122
6198
  */
@@ -6810,6 +6886,18 @@ declare const FlagType1: {
6810
6886
  * Feature type: 'boolean' for on/off access, 'metered' for usage-tracked features, 'credit_system' for unified credit pools, 'ai_credit_system' for model-based token pricing.
6811
6887
  */
6812
6888
  type FlagType1 = OpenEnum<typeof FlagType1>;
6889
+ /**
6890
+ * How grants of this feature from several plans combine: 'sum' adds them up, 'max' / 'min' keep the highest / lowest grant among plan items with no price. Omitted when 'sum'.
6891
+ */
6892
+ declare const CheckCombine1: {
6893
+ readonly Sum: "sum";
6894
+ readonly Max: "max";
6895
+ readonly Min: "min";
6896
+ };
6897
+ /**
6898
+ * How grants of this feature from several plans combine: 'sum' adds them up, 'max' / 'min' keep the highest / lowest grant among plan items with no price. Omitted when 'sum'.
6899
+ */
6900
+ type CheckCombine1 = OpenEnum<typeof CheckCombine1>;
6813
6901
  type CheckDimensions6 = {
6814
6902
  /**
6815
6903
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -7134,6 +7222,10 @@ type CheckFeature1 = {
7134
7222
  * For metered features: true if usage resets periodically (API calls, credits), false if allocated persistently (seats, storage).
7135
7223
  */
7136
7224
  consumable: boolean;
7225
+ /**
7226
+ * How grants of this feature from several plans combine: 'sum' adds them up, 'max' / 'min' keep the highest / lowest grant among plan items with no price. Omitted when 'sum'.
7227
+ */
7228
+ combine?: CheckCombine1 | undefined;
7137
7229
  /**
7138
7230
  * Event names that trigger this feature's balance. Allows multiple features to respond to a single event.
7139
7231
  */
@@ -8308,6 +8400,18 @@ declare const GetEntityType: {
8308
8400
  * Feature type: 'boolean' for on/off access, 'metered' for usage-tracked features, 'credit_system' for unified credit pools, 'ai_credit_system' for model-based token pricing.
8309
8401
  */
8310
8402
  type GetEntityType = OpenEnum<typeof GetEntityType>;
8403
+ /**
8404
+ * How grants of this feature from several plans combine: 'sum' adds them up, 'max' / 'min' keep the highest / lowest grant among plan items with no price. Omitted when 'sum'.
8405
+ */
8406
+ declare const GetEntityCombine: {
8407
+ readonly Sum: "sum";
8408
+ readonly Max: "max";
8409
+ readonly Min: "min";
8410
+ };
8411
+ /**
8412
+ * How grants of this feature from several plans combine: 'sum' adds them up, 'max' / 'min' keep the highest / lowest grant among plan items with no price. Omitted when 'sum'.
8413
+ */
8414
+ type GetEntityCombine = OpenEnum<typeof GetEntityCombine>;
8311
8415
  type GetEntityDimensions6 = {
8312
8416
  /**
8313
8417
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -8632,6 +8736,10 @@ type GetEntityFeature = {
8632
8736
  * For metered features: true if usage resets periodically (API calls, credits), false if allocated persistently (seats, storage).
8633
8737
  */
8634
8738
  consumable: boolean;
8739
+ /**
8740
+ * How grants of this feature from several plans combine: 'sum' adds them up, 'max' / 'min' keep the highest / lowest grant among plan items with no price. Omitted when 'sum'.
8741
+ */
8742
+ combine?: GetEntityCombine | undefined;
8635
8743
  /**
8636
8744
  * Event names that trigger this feature's balance. Allows multiple features to respond to a single event.
8637
8745
  */
@@ -9462,6 +9570,16 @@ type MultiAttachExpiry = {
9462
9570
  duration: MultiAttachDuration;
9463
9571
  length: number;
9464
9572
  };
9573
+ type MultiAttachCreditSchema3 = {
9574
+ /**
9575
+ * ID of the metered feature to remove from the credit system.
9576
+ */
9577
+ meteredFeatureId: string;
9578
+ /**
9579
+ * Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate.
9580
+ */
9581
+ excluded: true;
9582
+ };
9465
9583
  type MultiAttachDimensions4 = {
9466
9584
  /**
9467
9585
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -9680,9 +9798,9 @@ type MultiAttachMarkups = {
9680
9798
  */
9681
9799
  type MultiAttachFeatureOverride = {
9682
9800
  /**
9683
- * For credit system features: replaces the feature's credit_schema entirely for customers on this plan.
9801
+ * For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate.
9684
9802
  */
9685
- creditSchema?: Array<MultiAttachCreditSchema1 | MultiAttachCreditSchema2> | undefined;
9803
+ creditSchema?: Array<MultiAttachCreditSchema1 | MultiAttachCreditSchema2 | MultiAttachCreditSchema3> | undefined;
9686
9804
  /**
9687
9805
  * For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's.
9688
9806
  */
@@ -10641,6 +10759,16 @@ type PreviewAttachItemExpiry = {
10641
10759
  duration: PreviewAttachItemDuration;
10642
10760
  length: number;
10643
10761
  };
10762
+ type PreviewAttachCreditSchemaItem3 = {
10763
+ /**
10764
+ * ID of the metered feature to remove from the credit system.
10765
+ */
10766
+ meteredFeatureId: string;
10767
+ /**
10768
+ * Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate.
10769
+ */
10770
+ excluded: true;
10771
+ };
10644
10772
  type PreviewAttachDimensionsItem4 = {
10645
10773
  /**
10646
10774
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -10859,9 +10987,9 @@ type PreviewAttachItemMarkups = {
10859
10987
  */
10860
10988
  type PreviewAttachItemFeatureOverride = {
10861
10989
  /**
10862
- * For credit system features: replaces the feature's credit_schema entirely for customers on this plan.
10990
+ * For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate.
10863
10991
  */
10864
- creditSchema?: Array<PreviewAttachCreditSchemaItem1 | PreviewAttachCreditSchemaItem2> | undefined;
10992
+ creditSchema?: Array<PreviewAttachCreditSchemaItem1 | PreviewAttachCreditSchemaItem2 | PreviewAttachCreditSchemaItem3> | undefined;
10865
10993
  /**
10866
10994
  * For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's.
10867
10995
  */
@@ -11147,6 +11275,16 @@ type PreviewAttachAddItemExpiry = {
11147
11275
  duration: PreviewAttachAddItemDuration;
11148
11276
  length: number;
11149
11277
  };
11278
+ type PreviewAttachCreditSchemaAddItem3 = {
11279
+ /**
11280
+ * ID of the metered feature to remove from the credit system.
11281
+ */
11282
+ meteredFeatureId: string;
11283
+ /**
11284
+ * Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate.
11285
+ */
11286
+ excluded: true;
11287
+ };
11150
11288
  type PreviewAttachDimensionsAddItem4 = {
11151
11289
  /**
11152
11290
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -11365,9 +11503,9 @@ type PreviewAttachAddItemMarkups = {
11365
11503
  */
11366
11504
  type PreviewAttachAddItemFeatureOverride = {
11367
11505
  /**
11368
- * For credit system features: replaces the feature's credit_schema entirely for customers on this plan.
11506
+ * For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate.
11369
11507
  */
11370
- creditSchema?: Array<PreviewAttachCreditSchemaAddItem1 | PreviewAttachCreditSchemaAddItem2> | undefined;
11508
+ creditSchema?: Array<PreviewAttachCreditSchemaAddItem1 | PreviewAttachCreditSchemaAddItem2 | PreviewAttachCreditSchemaAddItem3> | undefined;
11371
11509
  /**
11372
11510
  * For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's.
11373
11511
  */
@@ -12004,6 +12142,7 @@ type PreviewAttachUpsertLicenseProration = {
12004
12142
  */
12005
12143
  onDecrease: PreviewAttachUpsertLicenseOnDecrease;
12006
12144
  };
12145
+
12007
12146
  /**
12008
12147
  * When rolled over units expire.
12009
12148
  */
@@ -12036,7 +12175,6 @@ type PreviewAttachUpsertLicenseRollover = {
12036
12175
  */
12037
12176
  expiryDurationLength?: number | undefined;
12038
12177
  };
12039
-
12040
12178
  declare const PreviewAttachUpsertLicenseDuration: {
12041
12179
  readonly Day: "day";
12042
12180
  readonly Week: "week";
@@ -12051,6 +12189,16 @@ type PreviewAttachUpsertLicenseExpiry = {
12051
12189
  duration: PreviewAttachUpsertLicenseDuration;
12052
12190
  length: number;
12053
12191
  };
12192
+ type PreviewAttachCreditSchemaUpsertLicense3 = {
12193
+ /**
12194
+ * ID of the metered feature to remove from the credit system.
12195
+ */
12196
+ meteredFeatureId: string;
12197
+ /**
12198
+ * Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate.
12199
+ */
12200
+ excluded: true;
12201
+ };
12054
12202
  type PreviewAttachDimensionsUpsertLicense4 = {
12055
12203
  /**
12056
12204
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -12269,9 +12417,9 @@ type PreviewAttachUpsertLicenseMarkups = {
12269
12417
  */
12270
12418
  type PreviewAttachUpsertLicenseFeatureOverride = {
12271
12419
  /**
12272
- * For credit system features: replaces the feature's credit_schema entirely for customers on this plan.
12420
+ * For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate.
12273
12421
  */
12274
- creditSchema?: Array<PreviewAttachCreditSchemaUpsertLicense1 | PreviewAttachCreditSchemaUpsertLicense2> | undefined;
12422
+ creditSchema?: Array<PreviewAttachCreditSchemaUpsertLicense1 | PreviewAttachCreditSchemaUpsertLicense2 | PreviewAttachCreditSchemaUpsertLicense3> | undefined;
12275
12423
  /**
12276
12424
  * For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's.
12277
12425
  */
@@ -13656,6 +13804,16 @@ type PreviewMultiAttachExpiry = {
13656
13804
  duration: PreviewMultiAttachDuration;
13657
13805
  length: number;
13658
13806
  };
13807
+ type PreviewMultiAttachCreditSchema3 = {
13808
+ /**
13809
+ * ID of the metered feature to remove from the credit system.
13810
+ */
13811
+ meteredFeatureId: string;
13812
+ /**
13813
+ * Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate.
13814
+ */
13815
+ excluded: true;
13816
+ };
13659
13817
  type PreviewMultiAttachDimensions4 = {
13660
13818
  /**
13661
13819
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -13874,9 +14032,9 @@ type PreviewMultiAttachMarkups = {
13874
14032
  */
13875
14033
  type PreviewMultiAttachFeatureOverride = {
13876
14034
  /**
13877
- * For credit system features: replaces the feature's credit_schema entirely for customers on this plan.
14035
+ * For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate.
13878
14036
  */
13879
- creditSchema?: Array<PreviewMultiAttachCreditSchema1 | PreviewMultiAttachCreditSchema2> | undefined;
14037
+ creditSchema?: Array<PreviewMultiAttachCreditSchema1 | PreviewMultiAttachCreditSchema2 | PreviewMultiAttachCreditSchema3> | undefined;
13880
14038
  /**
13881
14039
  * For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's.
13882
14040
  */
@@ -15084,6 +15242,16 @@ type PreviewUpdateItemExpiry = {
15084
15242
  duration: PreviewUpdateItemDuration;
15085
15243
  length: number;
15086
15244
  };
15245
+ type PreviewUpdateCreditSchemaItem3 = {
15246
+ /**
15247
+ * ID of the metered feature to remove from the credit system.
15248
+ */
15249
+ meteredFeatureId: string;
15250
+ /**
15251
+ * Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate.
15252
+ */
15253
+ excluded: true;
15254
+ };
15087
15255
  type PreviewUpdateDimensionsItem4 = {
15088
15256
  /**
15089
15257
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -15302,9 +15470,9 @@ type PreviewUpdateItemMarkups = {
15302
15470
  */
15303
15471
  type PreviewUpdateItemFeatureOverride = {
15304
15472
  /**
15305
- * For credit system features: replaces the feature's credit_schema entirely for customers on this plan.
15473
+ * For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate.
15306
15474
  */
15307
- creditSchema?: Array<PreviewUpdateCreditSchemaItem1 | PreviewUpdateCreditSchemaItem2> | undefined;
15475
+ creditSchema?: Array<PreviewUpdateCreditSchemaItem1 | PreviewUpdateCreditSchemaItem2 | PreviewUpdateCreditSchemaItem3> | undefined;
15308
15476
  /**
15309
15477
  * For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's.
15310
15478
  */
@@ -15590,6 +15758,16 @@ type PreviewUpdateAddItemExpiry = {
15590
15758
  duration: PreviewUpdateAddItemDuration;
15591
15759
  length: number;
15592
15760
  };
15761
+ type PreviewUpdateCreditSchemaAddItem3 = {
15762
+ /**
15763
+ * ID of the metered feature to remove from the credit system.
15764
+ */
15765
+ meteredFeatureId: string;
15766
+ /**
15767
+ * Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate.
15768
+ */
15769
+ excluded: true;
15770
+ };
15593
15771
  type PreviewUpdateDimensionsAddItem4 = {
15594
15772
  /**
15595
15773
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -15808,9 +15986,9 @@ type PreviewUpdateAddItemMarkups = {
15808
15986
  */
15809
15987
  type PreviewUpdateAddItemFeatureOverride = {
15810
15988
  /**
15811
- * For credit system features: replaces the feature's credit_schema entirely for customers on this plan.
15989
+ * For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate.
15812
15990
  */
15813
- creditSchema?: Array<PreviewUpdateCreditSchemaAddItem1 | PreviewUpdateCreditSchemaAddItem2> | undefined;
15991
+ creditSchema?: Array<PreviewUpdateCreditSchemaAddItem1 | PreviewUpdateCreditSchemaAddItem2 | PreviewUpdateCreditSchemaAddItem3> | undefined;
15814
15992
  /**
15815
15993
  * For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's.
15816
15994
  */
@@ -16447,6 +16625,7 @@ type PreviewUpdateUpsertLicenseProration = {
16447
16625
  */
16448
16626
  onDecrease: PreviewUpdateUpsertLicenseOnDecrease;
16449
16627
  };
16628
+
16450
16629
  /**
16451
16630
  * When rolled over units expire.
16452
16631
  */
@@ -16479,7 +16658,6 @@ type PreviewUpdateUpsertLicenseRollover = {
16479
16658
  */
16480
16659
  expiryDurationLength?: number | undefined;
16481
16660
  };
16482
-
16483
16661
  declare const PreviewUpdateUpsertLicenseDuration: {
16484
16662
  readonly Day: "day";
16485
16663
  readonly Week: "week";
@@ -16494,6 +16672,16 @@ type PreviewUpdateUpsertLicenseExpiry = {
16494
16672
  duration: PreviewUpdateUpsertLicenseDuration;
16495
16673
  length: number;
16496
16674
  };
16675
+ type PreviewUpdateCreditSchemaUpsertLicense3 = {
16676
+ /**
16677
+ * ID of the metered feature to remove from the credit system.
16678
+ */
16679
+ meteredFeatureId: string;
16680
+ /**
16681
+ * Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate.
16682
+ */
16683
+ excluded: true;
16684
+ };
16497
16685
  type PreviewUpdateDimensionsUpsertLicense4 = {
16498
16686
  /**
16499
16687
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -16712,9 +16900,9 @@ type PreviewUpdateUpsertLicenseMarkups = {
16712
16900
  */
16713
16901
  type PreviewUpdateUpsertLicenseFeatureOverride = {
16714
16902
  /**
16715
- * For credit system features: replaces the feature's credit_schema entirely for customers on this plan.
16903
+ * For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate.
16716
16904
  */
16717
- creditSchema?: Array<PreviewUpdateCreditSchemaUpsertLicense1 | PreviewUpdateCreditSchemaUpsertLicense2> | undefined;
16905
+ creditSchema?: Array<PreviewUpdateCreditSchemaUpsertLicense1 | PreviewUpdateCreditSchemaUpsertLicense2 | PreviewUpdateCreditSchemaUpsertLicense3> | undefined;
16718
16906
  /**
16719
16907
  * For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's.
16720
16908
  */
@@ -18071,6 +18259,16 @@ type SetupPaymentItemExpiry = {
18071
18259
  duration: SetupPaymentItemDuration;
18072
18260
  length: number;
18073
18261
  };
18262
+ type SetupPaymentCreditSchemaItem3 = {
18263
+ /**
18264
+ * ID of the metered feature to remove from the credit system.
18265
+ */
18266
+ meteredFeatureId: string;
18267
+ /**
18268
+ * Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate.
18269
+ */
18270
+ excluded: true;
18271
+ };
18074
18272
  type SetupPaymentDimensionsItem4 = {
18075
18273
  /**
18076
18274
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -18289,9 +18487,9 @@ type SetupPaymentItemMarkups = {
18289
18487
  */
18290
18488
  type SetupPaymentItemFeatureOverride = {
18291
18489
  /**
18292
- * For credit system features: replaces the feature's credit_schema entirely for customers on this plan.
18490
+ * For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate.
18293
18491
  */
18294
- creditSchema?: Array<SetupPaymentCreditSchemaItem1 | SetupPaymentCreditSchemaItem2> | undefined;
18492
+ creditSchema?: Array<SetupPaymentCreditSchemaItem1 | SetupPaymentCreditSchemaItem2 | SetupPaymentCreditSchemaItem3> | undefined;
18295
18493
  /**
18296
18494
  * For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's.
18297
18495
  */
@@ -18577,6 +18775,16 @@ type SetupPaymentAddItemExpiry = {
18577
18775
  duration: SetupPaymentAddItemDuration;
18578
18776
  length: number;
18579
18777
  };
18778
+ type SetupPaymentCreditSchemaAddItem3 = {
18779
+ /**
18780
+ * ID of the metered feature to remove from the credit system.
18781
+ */
18782
+ meteredFeatureId: string;
18783
+ /**
18784
+ * Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate.
18785
+ */
18786
+ excluded: true;
18787
+ };
18580
18788
  type SetupPaymentDimensionsAddItem4 = {
18581
18789
  /**
18582
18790
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -18795,9 +19003,9 @@ type SetupPaymentAddItemMarkups = {
18795
19003
  */
18796
19004
  type SetupPaymentAddItemFeatureOverride = {
18797
19005
  /**
18798
- * For credit system features: replaces the feature's credit_schema entirely for customers on this plan.
19006
+ * For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate.
18799
19007
  */
18800
- creditSchema?: Array<SetupPaymentCreditSchemaAddItem1 | SetupPaymentCreditSchemaAddItem2> | undefined;
19008
+ creditSchema?: Array<SetupPaymentCreditSchemaAddItem1 | SetupPaymentCreditSchemaAddItem2 | SetupPaymentCreditSchemaAddItem3> | undefined;
18801
19009
  /**
18802
19010
  * For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's.
18803
19011
  */
@@ -19434,6 +19642,7 @@ type SetupPaymentUpsertLicenseProration = {
19434
19642
  */
19435
19643
  onDecrease: SetupPaymentUpsertLicenseOnDecrease;
19436
19644
  };
19645
+
19437
19646
  /**
19438
19647
  * When rolled over units expire.
19439
19648
  */
@@ -19466,7 +19675,6 @@ type SetupPaymentUpsertLicenseRollover = {
19466
19675
  */
19467
19676
  expiryDurationLength?: number | undefined;
19468
19677
  };
19469
-
19470
19678
  declare const SetupPaymentUpsertLicenseDuration: {
19471
19679
  readonly Day: "day";
19472
19680
  readonly Week: "week";
@@ -19481,6 +19689,16 @@ type SetupPaymentUpsertLicenseExpiry = {
19481
19689
  duration: SetupPaymentUpsertLicenseDuration;
19482
19690
  length: number;
19483
19691
  };
19692
+ type SetupPaymentCreditSchemaUpsertLicense3 = {
19693
+ /**
19694
+ * ID of the metered feature to remove from the credit system.
19695
+ */
19696
+ meteredFeatureId: string;
19697
+ /**
19698
+ * Removes this feature from the credit system for customers on this plan. Cannot be combined with a rate.
19699
+ */
19700
+ excluded: true;
19701
+ };
19484
19702
  type SetupPaymentDimensionsUpsertLicense4 = {
19485
19703
  /**
19486
19704
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -19699,9 +19917,9 @@ type SetupPaymentUpsertLicenseMarkups = {
19699
19917
  */
19700
19918
  type SetupPaymentUpsertLicenseFeatureOverride = {
19701
19919
  /**
19702
- * For credit system features: replaces the feature's credit_schema entirely for customers on this plan.
19920
+ * For credit system features: merges into the feature's credit_schema by metered_feature_id for customers on this plan. A row with a rate overrides or adds that feature, a row with `excluded: true` removes it, and unlisted features keep the credit system's rate.
19703
19921
  */
19704
- creditSchema?: Array<SetupPaymentCreditSchemaUpsertLicense1 | SetupPaymentCreditSchemaUpsertLicense2> | undefined;
19922
+ creditSchema?: Array<SetupPaymentCreditSchemaUpsertLicense1 | SetupPaymentCreditSchemaUpsertLicense2 | SetupPaymentCreditSchemaUpsertLicense3> | undefined;
19705
19923
  /**
19706
19924
  * For AI credit system features: replaces the feature's markup chain entirely for customers on this plan. An unset level means no markup at that level rather than inheriting the feature's.
19707
19925
  */