autumn-js 1.4.37 → 1.4.39
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.
- package/dist/backend/adapters/express.mjs +1 -1
- package/dist/backend/adapters/fetch.mjs +1 -1
- package/dist/backend/adapters/hono.mjs +1 -1
- package/dist/backend/adapters/index.mjs +1 -1
- package/dist/backend/adapters/next.mjs +1 -1
- package/dist/backend/core/handlers/coreHandler.d.mts +1 -1
- package/dist/backend/core/handlers/coreHandler.d.ts +1 -1
- package/dist/backend/core/handlers/coreHandler.mjs +1 -1
- package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
- package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
- package/dist/backend/core/handlers/executeRoute.mjs +1 -1
- package/dist/backend/core/handlers/handleRouteByName.mjs +1 -1
- package/dist/backend/core/handlers/index.d.mts +1 -1
- package/dist/backend/core/handlers/index.d.ts +1 -1
- package/dist/backend/core/handlers/index.mjs +1 -1
- package/dist/backend/core/index.d.mts +1 -1
- package/dist/backend/core/index.d.ts +1 -1
- package/dist/backend/core/index.mjs +3 -3
- package/dist/backend/core/routes/index.d.mts +1 -1
- package/dist/backend/core/routes/index.d.ts +1 -1
- package/dist/backend/core/routes/index.mjs +1 -1
- package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
- package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.mjs +1 -1
- package/dist/backend/core/types/handlerTypes.d.mts +1 -1
- package/dist/backend/core/types/handlerTypes.d.ts +1 -1
- package/dist/backend/core/types/index.d.mts +1 -1
- package/dist/backend/core/types/index.d.ts +1 -1
- package/dist/backend/core/types/routeTypes.d.mts +1 -1
- package/dist/backend/core/types/routeTypes.d.ts +1 -1
- package/dist/backend/core/utils/index.mjs +3 -3
- package/dist/backend/index.d.mts +2 -2
- package/dist/backend/index.d.ts +2 -2
- package/dist/backend/index.mjs +3 -3
- package/dist/backend/{routeTypes-BSTkX4Dz.d.ts → routeTypes-Bl42Xsbn.d.ts} +495 -0
- package/dist/backend/{routeTypes-w5BYy9Zj.d.mts → routeTypes-UbqWJ7S1.d.mts} +495 -0
- package/dist/react/AutumnContext.d.mts +4 -4
- package/dist/react/AutumnContext.d.ts +4 -4
- package/dist/react/client/AutumnClient.d.mts +4 -4
- package/dist/react/client/AutumnClient.d.ts +4 -4
- package/dist/react/client/IAutumnClient.d.mts +4 -4
- package/dist/react/client/IAutumnClient.d.ts +4 -4
- package/dist/react/client/index.d.mts +4 -4
- package/dist/react/client/index.d.ts +4 -4
- package/dist/react/{customer-Dt0OdihJ.d.ts → customer-BQxqzdSE.d.ts} +1 -1
- package/dist/react/{customer-CZn6Nd7a.d.mts → customer-Bf5yt0Mo.d.mts} +1 -1
- package/dist/react/hooks/index.d.mts +4 -4
- package/dist/react/hooks/index.d.ts +4 -4
- package/dist/react/hooks/internal/check/balanceToAllowed.d.mts +2 -2
- package/dist/react/hooks/internal/check/balanceToAllowed.d.ts +2 -2
- package/dist/react/hooks/internal/check/customerToFeatures.d.mts +2 -2
- package/dist/react/hooks/internal/check/customerToFeatures.d.ts +2 -2
- package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.mts +2 -2
- package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.ts +2 -2
- package/dist/react/hooks/internal/check/getCreditCost.d.mts +2 -2
- package/dist/react/hooks/internal/check/getCreditCost.d.ts +2 -2
- package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +3 -3
- package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +3 -3
- package/dist/react/hooks/internal/useCustomerActions.d.mts +4 -4
- package/dist/react/hooks/internal/useCustomerActions.d.ts +4 -4
- package/dist/react/hooks/useAggregateEvents.d.mts +2 -2
- package/dist/react/hooks/useAggregateEvents.d.ts +2 -2
- package/dist/react/hooks/useCustomer.d.mts +3 -3
- package/dist/react/hooks/useCustomer.d.ts +3 -3
- package/dist/react/hooks/useEntity.d.mts +2 -2
- package/dist/react/hooks/useEntity.d.ts +2 -2
- package/dist/react/hooks/useListEvents.d.mts +2 -2
- package/dist/react/hooks/useListEvents.d.ts +2 -2
- package/dist/react/hooks/useListPlans.d.mts +3 -3
- package/dist/react/hooks/useListPlans.d.ts +3 -3
- package/dist/react/hooks/useReferrals.d.mts +2 -2
- package/dist/react/hooks/useReferrals.d.ts +2 -2
- package/dist/react/index.d.mts +4 -4
- package/dist/react/index.d.ts +4 -4
- package/dist/react/{list-plans-response-Bx4e7rvw.d.ts → list-plans-response-CgqelDUJ.d.mts} +64 -1
- package/dist/react/{list-plans-response-ibIt0k4N.d.mts → list-plans-response-jYoBA-Ci.d.ts} +64 -1
- package/dist/react/{params-Bah1oA_X.d.ts → params-B8Yl2uMz.d.mts} +154 -1
- package/dist/react/{params-CpDJ-yps.d.mts → params-BVHR29Jw.d.ts} +154 -1
- package/dist/react/{plan-CvxFKlF7.d.mts → plan-BoEfV7t8.d.mts} +27 -0
- package/dist/react/{plan-CvxFKlF7.d.ts → plan-BoEfV7t8.d.ts} +27 -0
- package/dist/sdk/index.d.mts +495 -0
- package/dist/sdk/index.d.ts +495 -0
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OpenEnum, C as ClosedEnum, P as Plan } from './plan-
|
|
1
|
+
import { O as OpenEnum, C as ClosedEnum, P as Plan } from './plan-BoEfV7t8.mjs';
|
|
2
2
|
|
|
3
3
|
type ListPlansAdditionalCurrency = {
|
|
4
4
|
/**
|
|
@@ -201,10 +201,16 @@ type ListPlansPriceItemTier = {
|
|
|
201
201
|
flatAmount?: number | undefined;
|
|
202
202
|
additionalCurrencies?: Array<ListPlansItemTierAdditionalCurrency> | undefined;
|
|
203
203
|
};
|
|
204
|
+
/**
|
|
205
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
206
|
+
*/
|
|
204
207
|
declare const ListPlansItemTierBehavior: {
|
|
205
208
|
readonly Graduated: "graduated";
|
|
206
209
|
readonly Volume: "volume";
|
|
207
210
|
};
|
|
211
|
+
/**
|
|
212
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
213
|
+
*/
|
|
208
214
|
type ListPlansItemTierBehavior = OpenEnum<typeof ListPlansItemTierBehavior>;
|
|
209
215
|
/**
|
|
210
216
|
* Billing interval for this price. For consumable features, should match reset.interval.
|
|
@@ -257,6 +263,9 @@ type ListPlansItemPrice = {
|
|
|
257
263
|
* Tiered pricing configuration. Each tier's 'to' INCLUDES the included amount. Either 'tiers' or 'amount' is required.
|
|
258
264
|
*/
|
|
259
265
|
tiers?: Array<ListPlansPriceItemTier> | undefined;
|
|
266
|
+
/**
|
|
267
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
268
|
+
*/
|
|
260
269
|
tierBehavior?: ListPlansItemTierBehavior | undefined;
|
|
261
270
|
/**
|
|
262
271
|
* Billing interval for this price. For consumable features, should match reset.interval.
|
|
@@ -1117,10 +1126,16 @@ type ListPlansVariantDetailsPriceTier = {
|
|
|
1117
1126
|
flatAmount?: number | undefined;
|
|
1118
1127
|
additionalCurrencies?: Array<ListPlansVariantDetailsTierAdditionalCurrency> | undefined;
|
|
1119
1128
|
};
|
|
1129
|
+
/**
|
|
1130
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
1131
|
+
*/
|
|
1120
1132
|
declare const ListPlansVariantDetailsTierBehavior: {
|
|
1121
1133
|
readonly Graduated: "graduated";
|
|
1122
1134
|
readonly Volume: "volume";
|
|
1123
1135
|
};
|
|
1136
|
+
/**
|
|
1137
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
1138
|
+
*/
|
|
1124
1139
|
type ListPlansVariantDetailsTierBehavior = OpenEnum<typeof ListPlansVariantDetailsTierBehavior>;
|
|
1125
1140
|
/**
|
|
1126
1141
|
* Billing interval. For consumable features, should match reset.interval.
|
|
@@ -1164,6 +1179,9 @@ type ListPlansVariantDetailsPrice = {
|
|
|
1164
1179
|
* Tiered pricing. Either 'amount' or 'tiers' is required.
|
|
1165
1180
|
*/
|
|
1166
1181
|
tiers?: Array<ListPlansVariantDetailsPriceTier> | undefined;
|
|
1182
|
+
/**
|
|
1183
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
1184
|
+
*/
|
|
1167
1185
|
tierBehavior?: ListPlansVariantDetailsTierBehavior | undefined;
|
|
1168
1186
|
/**
|
|
1169
1187
|
* Billing interval. For consumable features, should match reset.interval.
|
|
@@ -2009,10 +2027,16 @@ type ListPlansVariantDetailsUpsertLicensePriceTier = {
|
|
|
2009
2027
|
flatAmount?: number | undefined;
|
|
2010
2028
|
additionalCurrencies?: Array<ListPlansVariantDetailsUpsertLicenseTierAdditionalCurrency> | undefined;
|
|
2011
2029
|
};
|
|
2030
|
+
/**
|
|
2031
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
2032
|
+
*/
|
|
2012
2033
|
declare const ListPlansVariantDetailsUpsertLicenseTierBehavior: {
|
|
2013
2034
|
readonly Graduated: "graduated";
|
|
2014
2035
|
readonly Volume: "volume";
|
|
2015
2036
|
};
|
|
2037
|
+
/**
|
|
2038
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
2039
|
+
*/
|
|
2016
2040
|
type ListPlansVariantDetailsUpsertLicenseTierBehavior = OpenEnum<typeof ListPlansVariantDetailsUpsertLicenseTierBehavior>;
|
|
2017
2041
|
/**
|
|
2018
2042
|
* Billing interval. For consumable features, should match reset.interval.
|
|
@@ -2056,6 +2080,9 @@ type ListPlansVariantDetailsUpsertLicensePrice = {
|
|
|
2056
2080
|
* Tiered pricing. Either 'amount' or 'tiers' is required.
|
|
2057
2081
|
*/
|
|
2058
2082
|
tiers?: Array<ListPlansVariantDetailsUpsertLicensePriceTier> | undefined;
|
|
2083
|
+
/**
|
|
2084
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
2085
|
+
*/
|
|
2059
2086
|
tierBehavior?: ListPlansVariantDetailsUpsertLicenseTierBehavior | undefined;
|
|
2060
2087
|
/**
|
|
2061
2088
|
* Billing interval. For consumable features, should match reset.interval.
|
|
@@ -2670,10 +2697,16 @@ type ListPlansLicensePriceTier = {
|
|
|
2670
2697
|
flatAmount?: number | undefined;
|
|
2671
2698
|
additionalCurrencies?: Array<ListPlansLicenseTierAdditionalCurrency> | undefined;
|
|
2672
2699
|
};
|
|
2700
|
+
/**
|
|
2701
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
2702
|
+
*/
|
|
2673
2703
|
declare const ListPlansLicenseTierBehavior: {
|
|
2674
2704
|
readonly Graduated: "graduated";
|
|
2675
2705
|
readonly Volume: "volume";
|
|
2676
2706
|
};
|
|
2707
|
+
/**
|
|
2708
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
2709
|
+
*/
|
|
2677
2710
|
type ListPlansLicenseTierBehavior = OpenEnum<typeof ListPlansLicenseTierBehavior>;
|
|
2678
2711
|
/**
|
|
2679
2712
|
* Billing interval. For consumable features, should match reset.interval.
|
|
@@ -2717,6 +2750,9 @@ type ListPlansLicensePrice = {
|
|
|
2717
2750
|
* Tiered pricing. Either 'amount' or 'tiers' is required.
|
|
2718
2751
|
*/
|
|
2719
2752
|
tiers?: Array<ListPlansLicensePriceTier> | undefined;
|
|
2753
|
+
/**
|
|
2754
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
2755
|
+
*/
|
|
2720
2756
|
tierBehavior?: ListPlansLicenseTierBehavior | undefined;
|
|
2721
2757
|
/**
|
|
2722
2758
|
* Billing interval. For consumable features, should match reset.interval.
|
|
@@ -3308,10 +3344,16 @@ type ListPlansVariantAddItemPriceTier = {
|
|
|
3308
3344
|
flatAmount?: number | undefined;
|
|
3309
3345
|
additionalCurrencies?: Array<ListPlansVariantAddItemTierAdditionalCurrency> | undefined;
|
|
3310
3346
|
};
|
|
3347
|
+
/**
|
|
3348
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
3349
|
+
*/
|
|
3311
3350
|
declare const ListPlansVariantAddItemTierBehavior: {
|
|
3312
3351
|
readonly Graduated: "graduated";
|
|
3313
3352
|
readonly Volume: "volume";
|
|
3314
3353
|
};
|
|
3354
|
+
/**
|
|
3355
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
3356
|
+
*/
|
|
3315
3357
|
type ListPlansVariantAddItemTierBehavior = OpenEnum<typeof ListPlansVariantAddItemTierBehavior>;
|
|
3316
3358
|
/**
|
|
3317
3359
|
* Billing interval. For consumable features, should match reset.interval.
|
|
@@ -3355,6 +3397,9 @@ type ListPlansVariantAddItemPrice = {
|
|
|
3355
3397
|
* Tiered pricing. Either 'amount' or 'tiers' is required.
|
|
3356
3398
|
*/
|
|
3357
3399
|
tiers?: Array<ListPlansVariantAddItemPriceTier> | undefined;
|
|
3400
|
+
/**
|
|
3401
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
3402
|
+
*/
|
|
3358
3403
|
tierBehavior?: ListPlansVariantAddItemTierBehavior | undefined;
|
|
3359
3404
|
/**
|
|
3360
3405
|
* Billing interval. For consumable features, should match reset.interval.
|
|
@@ -4201,10 +4246,16 @@ type ListPlansVariantUpsertLicensePriceTier = {
|
|
|
4201
4246
|
flatAmount?: number | undefined;
|
|
4202
4247
|
additionalCurrencies?: Array<ListPlansVariantUpsertLicenseTierAdditionalCurrency> | undefined;
|
|
4203
4248
|
};
|
|
4249
|
+
/**
|
|
4250
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
4251
|
+
*/
|
|
4204
4252
|
declare const ListPlansVariantUpsertLicenseTierBehavior: {
|
|
4205
4253
|
readonly Graduated: "graduated";
|
|
4206
4254
|
readonly Volume: "volume";
|
|
4207
4255
|
};
|
|
4256
|
+
/**
|
|
4257
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
4258
|
+
*/
|
|
4208
4259
|
type ListPlansVariantUpsertLicenseTierBehavior = OpenEnum<typeof ListPlansVariantUpsertLicenseTierBehavior>;
|
|
4209
4260
|
/**
|
|
4210
4261
|
* Billing interval. For consumable features, should match reset.interval.
|
|
@@ -4248,6 +4299,9 @@ type ListPlansVariantUpsertLicensePrice = {
|
|
|
4248
4299
|
* Tiered pricing. Either 'amount' or 'tiers' is required.
|
|
4249
4300
|
*/
|
|
4250
4301
|
tiers?: Array<ListPlansVariantUpsertLicensePriceTier> | undefined;
|
|
4302
|
+
/**
|
|
4303
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
4304
|
+
*/
|
|
4251
4305
|
tierBehavior?: ListPlansVariantUpsertLicenseTierBehavior | undefined;
|
|
4252
4306
|
/**
|
|
4253
4307
|
* Billing interval. For consumable features, should match reset.interval.
|
|
@@ -4932,10 +4986,16 @@ type PriceVariantPlanTier = {
|
|
|
4932
4986
|
flatAmount?: number | undefined;
|
|
4933
4987
|
additionalCurrencies?: Array<VariantItemTierAdditionalCurrency> | undefined;
|
|
4934
4988
|
};
|
|
4989
|
+
/**
|
|
4990
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
4991
|
+
*/
|
|
4935
4992
|
declare const VariantPlanTierBehavior: {
|
|
4936
4993
|
readonly Graduated: "graduated";
|
|
4937
4994
|
readonly Volume: "volume";
|
|
4938
4995
|
};
|
|
4996
|
+
/**
|
|
4997
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
4998
|
+
*/
|
|
4939
4999
|
type VariantPlanTierBehavior = OpenEnum<typeof VariantPlanTierBehavior>;
|
|
4940
5000
|
/**
|
|
4941
5001
|
* Billing interval for this price. For consumable features, should match reset.interval.
|
|
@@ -4988,6 +5048,9 @@ type VariantItemPrice = {
|
|
|
4988
5048
|
* Tiered pricing configuration. Each tier's 'to' INCLUDES the included amount. Either 'tiers' or 'amount' is required.
|
|
4989
5049
|
*/
|
|
4990
5050
|
tiers?: Array<PriceVariantPlanTier> | undefined;
|
|
5051
|
+
/**
|
|
5052
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
5053
|
+
*/
|
|
4991
5054
|
tierBehavior?: VariantPlanTierBehavior | undefined;
|
|
4992
5055
|
/**
|
|
4993
5056
|
* Billing interval for this price. For consumable features, should match reset.interval.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OpenEnum, C as ClosedEnum, P as Plan } from './plan-
|
|
1
|
+
import { O as OpenEnum, C as ClosedEnum, P as Plan } from './plan-BoEfV7t8.js';
|
|
2
2
|
|
|
3
3
|
type ListPlansAdditionalCurrency = {
|
|
4
4
|
/**
|
|
@@ -201,10 +201,16 @@ type ListPlansPriceItemTier = {
|
|
|
201
201
|
flatAmount?: number | undefined;
|
|
202
202
|
additionalCurrencies?: Array<ListPlansItemTierAdditionalCurrency> | undefined;
|
|
203
203
|
};
|
|
204
|
+
/**
|
|
205
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
206
|
+
*/
|
|
204
207
|
declare const ListPlansItemTierBehavior: {
|
|
205
208
|
readonly Graduated: "graduated";
|
|
206
209
|
readonly Volume: "volume";
|
|
207
210
|
};
|
|
211
|
+
/**
|
|
212
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
213
|
+
*/
|
|
208
214
|
type ListPlansItemTierBehavior = OpenEnum<typeof ListPlansItemTierBehavior>;
|
|
209
215
|
/**
|
|
210
216
|
* Billing interval for this price. For consumable features, should match reset.interval.
|
|
@@ -257,6 +263,9 @@ type ListPlansItemPrice = {
|
|
|
257
263
|
* Tiered pricing configuration. Each tier's 'to' INCLUDES the included amount. Either 'tiers' or 'amount' is required.
|
|
258
264
|
*/
|
|
259
265
|
tiers?: Array<ListPlansPriceItemTier> | undefined;
|
|
266
|
+
/**
|
|
267
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
268
|
+
*/
|
|
260
269
|
tierBehavior?: ListPlansItemTierBehavior | undefined;
|
|
261
270
|
/**
|
|
262
271
|
* Billing interval for this price. For consumable features, should match reset.interval.
|
|
@@ -1117,10 +1126,16 @@ type ListPlansVariantDetailsPriceTier = {
|
|
|
1117
1126
|
flatAmount?: number | undefined;
|
|
1118
1127
|
additionalCurrencies?: Array<ListPlansVariantDetailsTierAdditionalCurrency> | undefined;
|
|
1119
1128
|
};
|
|
1129
|
+
/**
|
|
1130
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
1131
|
+
*/
|
|
1120
1132
|
declare const ListPlansVariantDetailsTierBehavior: {
|
|
1121
1133
|
readonly Graduated: "graduated";
|
|
1122
1134
|
readonly Volume: "volume";
|
|
1123
1135
|
};
|
|
1136
|
+
/**
|
|
1137
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
1138
|
+
*/
|
|
1124
1139
|
type ListPlansVariantDetailsTierBehavior = OpenEnum<typeof ListPlansVariantDetailsTierBehavior>;
|
|
1125
1140
|
/**
|
|
1126
1141
|
* Billing interval. For consumable features, should match reset.interval.
|
|
@@ -1164,6 +1179,9 @@ type ListPlansVariantDetailsPrice = {
|
|
|
1164
1179
|
* Tiered pricing. Either 'amount' or 'tiers' is required.
|
|
1165
1180
|
*/
|
|
1166
1181
|
tiers?: Array<ListPlansVariantDetailsPriceTier> | undefined;
|
|
1182
|
+
/**
|
|
1183
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
1184
|
+
*/
|
|
1167
1185
|
tierBehavior?: ListPlansVariantDetailsTierBehavior | undefined;
|
|
1168
1186
|
/**
|
|
1169
1187
|
* Billing interval. For consumable features, should match reset.interval.
|
|
@@ -2009,10 +2027,16 @@ type ListPlansVariantDetailsUpsertLicensePriceTier = {
|
|
|
2009
2027
|
flatAmount?: number | undefined;
|
|
2010
2028
|
additionalCurrencies?: Array<ListPlansVariantDetailsUpsertLicenseTierAdditionalCurrency> | undefined;
|
|
2011
2029
|
};
|
|
2030
|
+
/**
|
|
2031
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
2032
|
+
*/
|
|
2012
2033
|
declare const ListPlansVariantDetailsUpsertLicenseTierBehavior: {
|
|
2013
2034
|
readonly Graduated: "graduated";
|
|
2014
2035
|
readonly Volume: "volume";
|
|
2015
2036
|
};
|
|
2037
|
+
/**
|
|
2038
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
2039
|
+
*/
|
|
2016
2040
|
type ListPlansVariantDetailsUpsertLicenseTierBehavior = OpenEnum<typeof ListPlansVariantDetailsUpsertLicenseTierBehavior>;
|
|
2017
2041
|
/**
|
|
2018
2042
|
* Billing interval. For consumable features, should match reset.interval.
|
|
@@ -2056,6 +2080,9 @@ type ListPlansVariantDetailsUpsertLicensePrice = {
|
|
|
2056
2080
|
* Tiered pricing. Either 'amount' or 'tiers' is required.
|
|
2057
2081
|
*/
|
|
2058
2082
|
tiers?: Array<ListPlansVariantDetailsUpsertLicensePriceTier> | undefined;
|
|
2083
|
+
/**
|
|
2084
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
2085
|
+
*/
|
|
2059
2086
|
tierBehavior?: ListPlansVariantDetailsUpsertLicenseTierBehavior | undefined;
|
|
2060
2087
|
/**
|
|
2061
2088
|
* Billing interval. For consumable features, should match reset.interval.
|
|
@@ -2670,10 +2697,16 @@ type ListPlansLicensePriceTier = {
|
|
|
2670
2697
|
flatAmount?: number | undefined;
|
|
2671
2698
|
additionalCurrencies?: Array<ListPlansLicenseTierAdditionalCurrency> | undefined;
|
|
2672
2699
|
};
|
|
2700
|
+
/**
|
|
2701
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
2702
|
+
*/
|
|
2673
2703
|
declare const ListPlansLicenseTierBehavior: {
|
|
2674
2704
|
readonly Graduated: "graduated";
|
|
2675
2705
|
readonly Volume: "volume";
|
|
2676
2706
|
};
|
|
2707
|
+
/**
|
|
2708
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
2709
|
+
*/
|
|
2677
2710
|
type ListPlansLicenseTierBehavior = OpenEnum<typeof ListPlansLicenseTierBehavior>;
|
|
2678
2711
|
/**
|
|
2679
2712
|
* Billing interval. For consumable features, should match reset.interval.
|
|
@@ -2717,6 +2750,9 @@ type ListPlansLicensePrice = {
|
|
|
2717
2750
|
* Tiered pricing. Either 'amount' or 'tiers' is required.
|
|
2718
2751
|
*/
|
|
2719
2752
|
tiers?: Array<ListPlansLicensePriceTier> | undefined;
|
|
2753
|
+
/**
|
|
2754
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
2755
|
+
*/
|
|
2720
2756
|
tierBehavior?: ListPlansLicenseTierBehavior | undefined;
|
|
2721
2757
|
/**
|
|
2722
2758
|
* Billing interval. For consumable features, should match reset.interval.
|
|
@@ -3308,10 +3344,16 @@ type ListPlansVariantAddItemPriceTier = {
|
|
|
3308
3344
|
flatAmount?: number | undefined;
|
|
3309
3345
|
additionalCurrencies?: Array<ListPlansVariantAddItemTierAdditionalCurrency> | undefined;
|
|
3310
3346
|
};
|
|
3347
|
+
/**
|
|
3348
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
3349
|
+
*/
|
|
3311
3350
|
declare const ListPlansVariantAddItemTierBehavior: {
|
|
3312
3351
|
readonly Graduated: "graduated";
|
|
3313
3352
|
readonly Volume: "volume";
|
|
3314
3353
|
};
|
|
3354
|
+
/**
|
|
3355
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
3356
|
+
*/
|
|
3315
3357
|
type ListPlansVariantAddItemTierBehavior = OpenEnum<typeof ListPlansVariantAddItemTierBehavior>;
|
|
3316
3358
|
/**
|
|
3317
3359
|
* Billing interval. For consumable features, should match reset.interval.
|
|
@@ -3355,6 +3397,9 @@ type ListPlansVariantAddItemPrice = {
|
|
|
3355
3397
|
* Tiered pricing. Either 'amount' or 'tiers' is required.
|
|
3356
3398
|
*/
|
|
3357
3399
|
tiers?: Array<ListPlansVariantAddItemPriceTier> | undefined;
|
|
3400
|
+
/**
|
|
3401
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
3402
|
+
*/
|
|
3358
3403
|
tierBehavior?: ListPlansVariantAddItemTierBehavior | undefined;
|
|
3359
3404
|
/**
|
|
3360
3405
|
* Billing interval. For consumable features, should match reset.interval.
|
|
@@ -4201,10 +4246,16 @@ type ListPlansVariantUpsertLicensePriceTier = {
|
|
|
4201
4246
|
flatAmount?: number | undefined;
|
|
4202
4247
|
additionalCurrencies?: Array<ListPlansVariantUpsertLicenseTierAdditionalCurrency> | undefined;
|
|
4203
4248
|
};
|
|
4249
|
+
/**
|
|
4250
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
4251
|
+
*/
|
|
4204
4252
|
declare const ListPlansVariantUpsertLicenseTierBehavior: {
|
|
4205
4253
|
readonly Graduated: "graduated";
|
|
4206
4254
|
readonly Volume: "volume";
|
|
4207
4255
|
};
|
|
4256
|
+
/**
|
|
4257
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
4258
|
+
*/
|
|
4208
4259
|
type ListPlansVariantUpsertLicenseTierBehavior = OpenEnum<typeof ListPlansVariantUpsertLicenseTierBehavior>;
|
|
4209
4260
|
/**
|
|
4210
4261
|
* Billing interval. For consumable features, should match reset.interval.
|
|
@@ -4248,6 +4299,9 @@ type ListPlansVariantUpsertLicensePrice = {
|
|
|
4248
4299
|
* Tiered pricing. Either 'amount' or 'tiers' is required.
|
|
4249
4300
|
*/
|
|
4250
4301
|
tiers?: Array<ListPlansVariantUpsertLicensePriceTier> | undefined;
|
|
4302
|
+
/**
|
|
4303
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
4304
|
+
*/
|
|
4251
4305
|
tierBehavior?: ListPlansVariantUpsertLicenseTierBehavior | undefined;
|
|
4252
4306
|
/**
|
|
4253
4307
|
* Billing interval. For consumable features, should match reset.interval.
|
|
@@ -4932,10 +4986,16 @@ type PriceVariantPlanTier = {
|
|
|
4932
4986
|
flatAmount?: number | undefined;
|
|
4933
4987
|
additionalCurrencies?: Array<VariantItemTierAdditionalCurrency> | undefined;
|
|
4934
4988
|
};
|
|
4989
|
+
/**
|
|
4990
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
4991
|
+
*/
|
|
4935
4992
|
declare const VariantPlanTierBehavior: {
|
|
4936
4993
|
readonly Graduated: "graduated";
|
|
4937
4994
|
readonly Volume: "volume";
|
|
4938
4995
|
};
|
|
4996
|
+
/**
|
|
4997
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
4998
|
+
*/
|
|
4939
4999
|
type VariantPlanTierBehavior = OpenEnum<typeof VariantPlanTierBehavior>;
|
|
4940
5000
|
/**
|
|
4941
5001
|
* Billing interval for this price. For consumable features, should match reset.interval.
|
|
@@ -4988,6 +5048,9 @@ type VariantItemPrice = {
|
|
|
4988
5048
|
* Tiered pricing configuration. Each tier's 'to' INCLUDES the included amount. Either 'tiers' or 'amount' is required.
|
|
4989
5049
|
*/
|
|
4990
5050
|
tiers?: Array<PriceVariantPlanTier> | undefined;
|
|
5051
|
+
/**
|
|
5052
|
+
* How tiers price usage. 'graduated' (default) charges each unit at the rate of the tier it falls in. 'volume' picks one tier from total usage. On usage-based items it bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat_amount. On prepaid items it charges every unit, the included ones too, at that tier's rate plus its flat_amount.
|
|
5053
|
+
*/
|
|
4991
5054
|
tierBehavior?: VariantPlanTierBehavior | undefined;
|
|
4992
5055
|
/**
|
|
4993
5056
|
* Billing interval for this price. For consumable features, should match reset.interval.
|