autumn-js 1.4.46 → 1.4.48
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.js +128 -7
- package/dist/backend/adapters/express.mjs +7 -7
- package/dist/backend/adapters/fetch.js +128 -7
- package/dist/backend/adapters/fetch.mjs +7 -7
- package/dist/backend/adapters/hono.js +128 -7
- package/dist/backend/adapters/hono.mjs +7 -7
- package/dist/backend/adapters/index.js +128 -7
- package/dist/backend/adapters/index.mjs +10 -10
- package/dist/backend/adapters/next.js +128 -7
- package/dist/backend/adapters/next.mjs +7 -7
- package/dist/backend/{chunk-WAHR3PR5.mjs → chunk-3BKOWATO.mjs} +1 -1
- package/dist/backend/{chunk-OASMKH3X.mjs → chunk-57HJE4EP.mjs} +1 -1
- package/dist/backend/{chunk-447MJ3TK.mjs → chunk-JZB3BYQP.mjs} +6 -6
- package/dist/backend/{chunk-BGOMNBZE.mjs → chunk-MYD4ZJQG.mjs} +128 -7
- package/dist/backend/{chunk-RNNEDWGS.mjs → chunk-SO54V4AE.mjs} +1 -1
- package/dist/backend/{chunk-LFBCP4DR.mjs → chunk-XJDT6H4H.mjs} +1 -1
- package/dist/backend/{chunk-OWXVAKKE.mjs → chunk-YFKANU3R.mjs} +4 -4
- 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.js +128 -7
- package/dist/backend/core/handlers/coreHandler.mjs +5 -5
- 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 +3 -3
- package/dist/backend/core/handlers/handleRouteByName.js +128 -7
- package/dist/backend/core/handlers/handleRouteByName.mjs +5 -5
- 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.js +128 -7
- package/dist/backend/core/handlers/index.mjs +12 -12
- package/dist/backend/core/index.d.mts +1 -1
- package/dist/backend/core/index.d.ts +1 -1
- package/dist/backend/core/index.js +128 -7
- package/dist/backend/core/index.mjs +8 -8
- 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/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/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/index.d.mts +2 -2
- package/dist/backend/index.d.ts +2 -2
- package/dist/backend/index.js +128 -7
- package/dist/backend/index.mjs +6 -6
- package/dist/backend/{routeTypes-Be-qPNaS.d.mts → routeTypes-X7n9tC0I.d.mts} +311 -37
- package/dist/backend/{routeTypes-B60eQkAD.d.ts → routeTypes-dgoLP-JI.d.ts} +311 -37
- package/dist/better-auth/{chunk-LKRWMSLD.mjs → chunk-HXNWUYPW.mjs} +128 -7
- package/dist/better-auth/index.js +128 -7
- package/dist/better-auth/index.mjs +1 -1
- package/dist/better-auth/utils/handleBetterAuthRoute.js +128 -7
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +1 -1
- package/dist/better-auth/utils/index.js +128 -7
- package/dist/better-auth/utils/index.mjs +1 -1
- 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-Bf5yt0Mo.d.mts → customer-A48nR0Yu.d.mts} +17 -1
- package/dist/react/{customer-BQxqzdSE.d.ts → customer-CwfTBZ-l.d.ts} +17 -1
- package/dist/react/hooks/index.d.mts +4 -4
- package/dist/react/hooks/index.d.ts +4 -4
- package/dist/react/hooks/index.mjs +5 -5
- 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/index.mjs +5 -5
- package/dist/react/{list-plans-response-CgqelDUJ.d.mts → list-plans-response-BSFOou5d.d.ts} +1 -1
- package/dist/react/{list-plans-response-jYoBA-Ci.d.ts → list-plans-response-CC-3erse.d.mts} +1 -1
- package/dist/react/{params-C2jAUY_b.d.ts → params-CXQcikIK.d.mts} +70 -22
- package/dist/react/{params-DwaKLWLR.d.mts → params-iVVzwH_e.d.ts} +70 -22
- package/dist/react/{plan-BoEfV7t8.d.mts → plan-DoD803CO.d.mts} +16 -0
- package/dist/react/{plan-BoEfV7t8.d.ts → plan-DoD803CO.d.ts} +16 -0
- package/dist/sdk/index.d.mts +348 -38
- package/dist/sdk/index.d.ts +348 -38
- package/dist/sdk/index.js +162 -7
- package/dist/sdk/index.mjs +129 -8
- package/package.json +2 -2
- package/dist/backend/{chunk-MOHYGUMA.mjs → chunk-IXUCY7AU.mjs} +3 -3
|
@@ -3924,6 +3924,11 @@ var BalanceType = {
|
|
|
3924
3924
|
CreditSystem: "credit_system",
|
|
3925
3925
|
AiCreditSystem: "ai_credit_system"
|
|
3926
3926
|
};
|
|
3927
|
+
var BalanceCombine = {
|
|
3928
|
+
Sum: "sum",
|
|
3929
|
+
Max: "max",
|
|
3930
|
+
Min: "min"
|
|
3931
|
+
};
|
|
3927
3932
|
var BalanceDimensionsToEnum3 = {
|
|
3928
3933
|
Inf: "inf"
|
|
3929
3934
|
};
|
|
@@ -3960,6 +3965,7 @@ var BalanceSource = {
|
|
|
3960
3965
|
Entity: "entity"
|
|
3961
3966
|
};
|
|
3962
3967
|
var BalanceType$inboundSchema = inboundSchema(BalanceType);
|
|
3968
|
+
var BalanceCombine$inboundSchema = inboundSchema(BalanceCombine);
|
|
3963
3969
|
var BalanceDimensions6$inboundSchema = z15.pipe(
|
|
3964
3970
|
z15.object({
|
|
3965
3971
|
match: z15.record(z15.string(), string5()),
|
|
@@ -4236,6 +4242,7 @@ var BalanceFeature$inboundSchema = z15.pipe(
|
|
|
4236
4242
|
name: string5(),
|
|
4237
4243
|
type: BalanceType$inboundSchema,
|
|
4238
4244
|
consumable: boolean2(),
|
|
4245
|
+
combine: optional3(BalanceCombine$inboundSchema),
|
|
4239
4246
|
event_names: optional3(z15.array(string5())),
|
|
4240
4247
|
credit_schema: optional3(z15.array(smartUnion([
|
|
4241
4248
|
z15.lazy(() => BalanceCreditSchema1$inboundSchema),
|
|
@@ -6756,6 +6763,11 @@ var FlagType2 = {
|
|
|
6756
6763
|
CreditSystem: "credit_system",
|
|
6757
6764
|
AiCreditSystem: "ai_credit_system"
|
|
6758
6765
|
};
|
|
6766
|
+
var CheckCombine2 = {
|
|
6767
|
+
Sum: "sum",
|
|
6768
|
+
Max: "max",
|
|
6769
|
+
Min: "min"
|
|
6770
|
+
};
|
|
6759
6771
|
var CheckDimensionsToEnum6 = {
|
|
6760
6772
|
Inf: "inf"
|
|
6761
6773
|
};
|
|
@@ -6881,6 +6893,11 @@ var FlagType1 = {
|
|
|
6881
6893
|
CreditSystem: "credit_system",
|
|
6882
6894
|
AiCreditSystem: "ai_credit_system"
|
|
6883
6895
|
};
|
|
6896
|
+
var CheckCombine1 = {
|
|
6897
|
+
Sum: "sum",
|
|
6898
|
+
Max: "max",
|
|
6899
|
+
Min: "min"
|
|
6900
|
+
};
|
|
6884
6901
|
var CheckDimensionsToEnum3 = {
|
|
6885
6902
|
Inf: "inf"
|
|
6886
6903
|
};
|
|
@@ -7039,6 +7056,7 @@ var CheckParams$outboundSchema = z19.pipe(
|
|
|
7039
7056
|
})
|
|
7040
7057
|
);
|
|
7041
7058
|
var FlagType2$inboundSchema = inboundSchema(FlagType2);
|
|
7059
|
+
var CheckCombine2$inboundSchema = inboundSchema(CheckCombine2);
|
|
7042
7060
|
var CheckDimensions12$inboundSchema = z19.pipe(
|
|
7043
7061
|
z19.object({
|
|
7044
7062
|
match: z19.record(z19.string(), string5()),
|
|
@@ -7315,6 +7333,7 @@ var CheckFeature2$inboundSchema = z19.pipe(
|
|
|
7315
7333
|
name: string5(),
|
|
7316
7334
|
type: FlagType2$inboundSchema,
|
|
7317
7335
|
consumable: boolean2(),
|
|
7336
|
+
combine: optional3(CheckCombine2$inboundSchema),
|
|
7318
7337
|
event_names: optional3(z19.array(string5())),
|
|
7319
7338
|
credit_schema: optional3(z19.array(smartUnion([
|
|
7320
7339
|
z19.lazy(() => CheckCreditSchema4$inboundSchema),
|
|
@@ -7694,6 +7713,7 @@ var CheckResponseBody2$inboundSchema = z19.pipe(
|
|
|
7694
7713
|
})
|
|
7695
7714
|
);
|
|
7696
7715
|
var FlagType1$inboundSchema = inboundSchema(FlagType1);
|
|
7716
|
+
var CheckCombine1$inboundSchema = inboundSchema(CheckCombine1);
|
|
7697
7717
|
var CheckDimensions6$inboundSchema = z19.pipe(
|
|
7698
7718
|
z19.object({
|
|
7699
7719
|
match: z19.record(z19.string(), string5()),
|
|
@@ -7970,6 +7990,7 @@ var CheckFeature1$inboundSchema = z19.pipe(
|
|
|
7970
7990
|
name: string5(),
|
|
7971
7991
|
type: FlagType1$inboundSchema,
|
|
7972
7992
|
consumable: boolean2(),
|
|
7993
|
+
combine: optional3(CheckCombine1$inboundSchema),
|
|
7973
7994
|
event_names: optional3(z19.array(string5())),
|
|
7974
7995
|
credit_schema: optional3(z19.array(smartUnion([
|
|
7975
7996
|
z19.lazy(() => CheckCreditSchema1$inboundSchema),
|
|
@@ -10863,6 +10884,11 @@ var CreateEntityType = {
|
|
|
10863
10884
|
CreditSystem: "credit_system",
|
|
10864
10885
|
AiCreditSystem: "ai_credit_system"
|
|
10865
10886
|
};
|
|
10887
|
+
var CreateEntityCombine = {
|
|
10888
|
+
Sum: "sum",
|
|
10889
|
+
Max: "max",
|
|
10890
|
+
Min: "min"
|
|
10891
|
+
};
|
|
10866
10892
|
var CreateEntityDimensionsToEnum3 = {
|
|
10867
10893
|
Inf: "inf"
|
|
10868
10894
|
};
|
|
@@ -11104,6 +11130,7 @@ var CreateEntityPurchase$inboundSchema = z24.pipe(
|
|
|
11104
11130
|
})
|
|
11105
11131
|
);
|
|
11106
11132
|
var CreateEntityType$inboundSchema = inboundSchema(CreateEntityType);
|
|
11133
|
+
var CreateEntityCombine$inboundSchema = inboundSchema(CreateEntityCombine);
|
|
11107
11134
|
var CreateEntityDimensions6$inboundSchema = z24.pipe(
|
|
11108
11135
|
z24.object({
|
|
11109
11136
|
match: z24.record(z24.string(), string5()),
|
|
@@ -11389,6 +11416,7 @@ var CreateEntityFeature$inboundSchema = z24.pipe(
|
|
|
11389
11416
|
name: string5(),
|
|
11390
11417
|
type: CreateEntityType$inboundSchema,
|
|
11391
11418
|
consumable: boolean2(),
|
|
11419
|
+
combine: optional3(CreateEntityCombine$inboundSchema),
|
|
11392
11420
|
event_names: optional3(z24.array(string5())),
|
|
11393
11421
|
credit_schema: optional3(z24.array(smartUnion([
|
|
11394
11422
|
z24.lazy(() => CreateEntityCreditSchema1$inboundSchema),
|
|
@@ -11612,6 +11640,11 @@ var CreateFeatureTypeRequestBody = {
|
|
|
11612
11640
|
CreditSystem: "credit_system",
|
|
11613
11641
|
AiCreditSystem: "ai_credit_system"
|
|
11614
11642
|
};
|
|
11643
|
+
var CreateFeatureCombineRequest = {
|
|
11644
|
+
Sum: "sum",
|
|
11645
|
+
Max: "max",
|
|
11646
|
+
Min: "min"
|
|
11647
|
+
};
|
|
11615
11648
|
var CreateFeatureDimensionsToRequestBodyEnum2 = {
|
|
11616
11649
|
Inf: "inf"
|
|
11617
11650
|
};
|
|
@@ -11627,6 +11660,11 @@ var CreateFeatureTypeResponse = {
|
|
|
11627
11660
|
CreditSystem: "credit_system",
|
|
11628
11661
|
AiCreditSystem: "ai_credit_system"
|
|
11629
11662
|
};
|
|
11663
|
+
var CreateFeatureCombineResponse = {
|
|
11664
|
+
Sum: "sum",
|
|
11665
|
+
Max: "max",
|
|
11666
|
+
Min: "min"
|
|
11667
|
+
};
|
|
11630
11668
|
var CreateFeatureDimensionsToResponseEnum3 = {
|
|
11631
11669
|
Inf: "inf"
|
|
11632
11670
|
};
|
|
@@ -11640,6 +11678,7 @@ var CreateFeatureToResponseEnum = {
|
|
|
11640
11678
|
Inf: "inf"
|
|
11641
11679
|
};
|
|
11642
11680
|
var CreateFeatureTypeRequestBody$outboundSchema = z25.enum(CreateFeatureTypeRequestBody);
|
|
11681
|
+
var CreateFeatureCombineRequest$outboundSchema = z25.enum(CreateFeatureCombineRequest);
|
|
11643
11682
|
var CreateFeatureDisplayRequestBody$outboundSchema = z25.object({
|
|
11644
11683
|
singular: z25.string(),
|
|
11645
11684
|
plural: z25.string()
|
|
@@ -11873,6 +11912,7 @@ var CreateFeatureParams$outboundSchema = z25.pipe(
|
|
|
11873
11912
|
name: z25.string(),
|
|
11874
11913
|
type: CreateFeatureTypeRequestBody$outboundSchema,
|
|
11875
11914
|
consumable: z25.optional(z25.boolean()),
|
|
11915
|
+
combine: z25.optional(CreateFeatureCombineRequest$outboundSchema),
|
|
11876
11916
|
display: z25.optional(
|
|
11877
11917
|
z25.lazy(() => CreateFeatureDisplayRequestBody$outboundSchema)
|
|
11878
11918
|
),
|
|
@@ -11906,6 +11946,7 @@ var CreateFeatureParams$outboundSchema = z25.pipe(
|
|
|
11906
11946
|
})
|
|
11907
11947
|
);
|
|
11908
11948
|
var CreateFeatureTypeResponse$inboundSchema = inboundSchema(CreateFeatureTypeResponse);
|
|
11949
|
+
var CreateFeatureCombineResponse$inboundSchema = inboundSchema(CreateFeatureCombineResponse);
|
|
11909
11950
|
var CreateFeatureDimensionsResponse6$inboundSchema = z25.pipe(
|
|
11910
11951
|
z25.object({
|
|
11911
11952
|
match: z25.record(z25.string(), string5()),
|
|
@@ -12214,6 +12255,7 @@ var CreateFeatureResponse$inboundSchema = z25.pipe(
|
|
|
12214
12255
|
name: string5(),
|
|
12215
12256
|
type: CreateFeatureTypeResponse$inboundSchema,
|
|
12216
12257
|
consumable: boolean2(),
|
|
12258
|
+
combine: optional3(CreateFeatureCombineResponse$inboundSchema),
|
|
12217
12259
|
event_names: optional3(z25.array(string5())),
|
|
12218
12260
|
credit_schema: optional3(z25.array(smartUnion([
|
|
12219
12261
|
z25.lazy(() => CreateFeatureCreditSchemaResponse1$inboundSchema),
|
|
@@ -22115,6 +22157,11 @@ var CustomerFlagsType = {
|
|
|
22115
22157
|
CreditSystem: "credit_system",
|
|
22116
22158
|
AiCreditSystem: "ai_credit_system"
|
|
22117
22159
|
};
|
|
22160
|
+
var CustomerCombine = {
|
|
22161
|
+
Sum: "sum",
|
|
22162
|
+
Max: "max",
|
|
22163
|
+
Min: "min"
|
|
22164
|
+
};
|
|
22118
22165
|
var CustomerDimensionsToEnum3 = {
|
|
22119
22166
|
Inf: "inf"
|
|
22120
22167
|
};
|
|
@@ -22421,6 +22468,7 @@ var License$inboundSchema = z39.pipe(
|
|
|
22421
22468
|
})
|
|
22422
22469
|
);
|
|
22423
22470
|
var CustomerFlagsType$inboundSchema = inboundSchema(CustomerFlagsType);
|
|
22471
|
+
var CustomerCombine$inboundSchema = inboundSchema(CustomerCombine);
|
|
22424
22472
|
var CustomerDimensions6$inboundSchema = z39.pipe(
|
|
22425
22473
|
z39.object({
|
|
22426
22474
|
match: z39.record(z39.string(), string5()),
|
|
@@ -22697,6 +22745,7 @@ var CustomerFeature$inboundSchema = z39.pipe(
|
|
|
22697
22745
|
name: string5(),
|
|
22698
22746
|
type: CustomerFlagsType$inboundSchema,
|
|
22699
22747
|
consumable: boolean2(),
|
|
22748
|
+
combine: optional3(CustomerCombine$inboundSchema),
|
|
22700
22749
|
event_names: optional3(z39.array(string5())),
|
|
22701
22750
|
credit_schema: optional3(z39.array(smartUnion([
|
|
22702
22751
|
z39.lazy(() => CustomerCreditSchema1$inboundSchema),
|
|
@@ -23439,6 +23488,11 @@ var GetCustomerFlagsType = {
|
|
|
23439
23488
|
CreditSystem: "credit_system",
|
|
23440
23489
|
AiCreditSystem: "ai_credit_system"
|
|
23441
23490
|
};
|
|
23491
|
+
var GetCustomerCombine = {
|
|
23492
|
+
Sum: "sum",
|
|
23493
|
+
Max: "max",
|
|
23494
|
+
Min: "min"
|
|
23495
|
+
};
|
|
23442
23496
|
var GetCustomerDimensionsToEnum3 = {
|
|
23443
23497
|
Inf: "inf"
|
|
23444
23498
|
};
|
|
@@ -23756,6 +23810,7 @@ var GetCustomerLicense$inboundSchema = z52.pipe(
|
|
|
23756
23810
|
})
|
|
23757
23811
|
);
|
|
23758
23812
|
var GetCustomerFlagsType$inboundSchema = inboundSchema(GetCustomerFlagsType);
|
|
23813
|
+
var GetCustomerCombine$inboundSchema = inboundSchema(GetCustomerCombine);
|
|
23759
23814
|
var GetCustomerDimensions6$inboundSchema = z52.pipe(
|
|
23760
23815
|
z52.object({
|
|
23761
23816
|
match: z52.record(z52.string(), string5()),
|
|
@@ -24041,6 +24096,7 @@ var GetCustomerFeature$inboundSchema = z52.pipe(
|
|
|
24041
24096
|
name: string5(),
|
|
24042
24097
|
type: GetCustomerFlagsType$inboundSchema,
|
|
24043
24098
|
consumable: boolean2(),
|
|
24099
|
+
combine: optional3(GetCustomerCombine$inboundSchema),
|
|
24044
24100
|
event_names: optional3(z52.array(string5())),
|
|
24045
24101
|
credit_schema: optional3(z52.array(smartUnion([
|
|
24046
24102
|
z52.lazy(() => GetCustomerCreditSchema1$inboundSchema),
|
|
@@ -24428,6 +24484,11 @@ var GetEntityType = {
|
|
|
24428
24484
|
CreditSystem: "credit_system",
|
|
24429
24485
|
AiCreditSystem: "ai_credit_system"
|
|
24430
24486
|
};
|
|
24487
|
+
var GetEntityCombine = {
|
|
24488
|
+
Sum: "sum",
|
|
24489
|
+
Max: "max",
|
|
24490
|
+
Min: "min"
|
|
24491
|
+
};
|
|
24431
24492
|
var GetEntityDimensionsToEnum3 = {
|
|
24432
24493
|
Inf: "inf"
|
|
24433
24494
|
};
|
|
@@ -24553,6 +24614,7 @@ var GetEntityPurchase$inboundSchema = z53.pipe(
|
|
|
24553
24614
|
})
|
|
24554
24615
|
);
|
|
24555
24616
|
var GetEntityType$inboundSchema = inboundSchema(GetEntityType);
|
|
24617
|
+
var GetEntityCombine$inboundSchema = inboundSchema(GetEntityCombine);
|
|
24556
24618
|
var GetEntityDimensions6$inboundSchema = z53.pipe(
|
|
24557
24619
|
z53.object({
|
|
24558
24620
|
match: z53.record(z53.string(), string5()),
|
|
@@ -24829,6 +24891,7 @@ var GetEntityFeature$inboundSchema = z53.pipe(
|
|
|
24829
24891
|
name: string5(),
|
|
24830
24892
|
type: GetEntityType$inboundSchema,
|
|
24831
24893
|
consumable: boolean2(),
|
|
24894
|
+
combine: optional3(GetEntityCombine$inboundSchema),
|
|
24832
24895
|
event_names: optional3(z53.array(string5())),
|
|
24833
24896
|
credit_schema: optional3(z53.array(smartUnion([
|
|
24834
24897
|
z53.lazy(() => GetEntityCreditSchema1$inboundSchema),
|
|
@@ -25047,6 +25110,11 @@ var GetFeatureType = {
|
|
|
25047
25110
|
CreditSystem: "credit_system",
|
|
25048
25111
|
AiCreditSystem: "ai_credit_system"
|
|
25049
25112
|
};
|
|
25113
|
+
var GetFeatureCombine = {
|
|
25114
|
+
Sum: "sum",
|
|
25115
|
+
Max: "max",
|
|
25116
|
+
Min: "min"
|
|
25117
|
+
};
|
|
25050
25118
|
var GetFeatureDimensionsToEnum3 = {
|
|
25051
25119
|
Inf: "inf"
|
|
25052
25120
|
};
|
|
@@ -25070,6 +25138,7 @@ var GetFeatureParams$outboundSchema = z54.pipe(
|
|
|
25070
25138
|
})
|
|
25071
25139
|
);
|
|
25072
25140
|
var GetFeatureType$inboundSchema = inboundSchema(GetFeatureType);
|
|
25141
|
+
var GetFeatureCombine$inboundSchema = inboundSchema(GetFeatureCombine);
|
|
25073
25142
|
var GetFeatureDimensions6$inboundSchema = z54.pipe(
|
|
25074
25143
|
z54.object({
|
|
25075
25144
|
match: z54.record(z54.string(), string5()),
|
|
@@ -25346,6 +25415,7 @@ var GetFeatureResponse$inboundSchema = z54.pipe(
|
|
|
25346
25415
|
name: string5(),
|
|
25347
25416
|
type: GetFeatureType$inboundSchema,
|
|
25348
25417
|
consumable: boolean2(),
|
|
25418
|
+
combine: optional3(GetFeatureCombine$inboundSchema),
|
|
25349
25419
|
event_names: optional3(z54.array(string5())),
|
|
25350
25420
|
credit_schema: optional3(z54.array(smartUnion([
|
|
25351
25421
|
z54.lazy(() => GetFeatureCreditSchema1$inboundSchema),
|
|
@@ -29484,6 +29554,11 @@ var ListCustomersType = {
|
|
|
29484
29554
|
CreditSystem: "credit_system",
|
|
29485
29555
|
AiCreditSystem: "ai_credit_system"
|
|
29486
29556
|
};
|
|
29557
|
+
var ListCustomersCombine = {
|
|
29558
|
+
Sum: "sum",
|
|
29559
|
+
Max: "max",
|
|
29560
|
+
Min: "min"
|
|
29561
|
+
};
|
|
29487
29562
|
var ListCustomersDimensionsToEnum3 = {
|
|
29488
29563
|
Inf: "inf"
|
|
29489
29564
|
};
|
|
@@ -29800,6 +29875,7 @@ var ListCustomersLicense$inboundSchema = z68.pipe(
|
|
|
29800
29875
|
})
|
|
29801
29876
|
);
|
|
29802
29877
|
var ListCustomersType$inboundSchema = inboundSchema(ListCustomersType);
|
|
29878
|
+
var ListCustomersCombine$inboundSchema = inboundSchema(ListCustomersCombine);
|
|
29803
29879
|
var ListCustomersDimensions6$inboundSchema = z68.pipe(
|
|
29804
29880
|
z68.object({
|
|
29805
29881
|
match: z68.record(z68.string(), string5()),
|
|
@@ -30085,6 +30161,7 @@ var ListCustomersFeature$inboundSchema = z68.pipe(
|
|
|
30085
30161
|
name: string5(),
|
|
30086
30162
|
type: ListCustomersType$inboundSchema,
|
|
30087
30163
|
consumable: boolean2(),
|
|
30164
|
+
combine: optional3(ListCustomersCombine$inboundSchema),
|
|
30088
30165
|
event_names: optional3(z68.array(string5())),
|
|
30089
30166
|
credit_schema: optional3(z68.array(smartUnion([
|
|
30090
30167
|
z68.lazy(() => ListCustomersCreditSchema1$inboundSchema),
|
|
@@ -30251,6 +30328,11 @@ var ListEntitiesType = {
|
|
|
30251
30328
|
CreditSystem: "credit_system",
|
|
30252
30329
|
AiCreditSystem: "ai_credit_system"
|
|
30253
30330
|
};
|
|
30331
|
+
var ListEntitiesCombine = {
|
|
30332
|
+
Sum: "sum",
|
|
30333
|
+
Max: "max",
|
|
30334
|
+
Min: "min"
|
|
30335
|
+
};
|
|
30254
30336
|
var ListEntitiesDimensionsToEnum3 = {
|
|
30255
30337
|
Inf: "inf"
|
|
30256
30338
|
};
|
|
@@ -30390,6 +30472,7 @@ var ListEntitiesPurchase$inboundSchema = z69.pipe(
|
|
|
30390
30472
|
})
|
|
30391
30473
|
);
|
|
30392
30474
|
var ListEntitiesType$inboundSchema = inboundSchema(ListEntitiesType);
|
|
30475
|
+
var ListEntitiesCombine$inboundSchema = inboundSchema(ListEntitiesCombine);
|
|
30393
30476
|
var ListEntitiesDimensions6$inboundSchema = z69.pipe(
|
|
30394
30477
|
z69.object({
|
|
30395
30478
|
match: z69.record(z69.string(), string5()),
|
|
@@ -30675,6 +30758,7 @@ var ListEntitiesFeature$inboundSchema = z69.pipe(
|
|
|
30675
30758
|
name: string5(),
|
|
30676
30759
|
type: ListEntitiesType$inboundSchema,
|
|
30677
30760
|
consumable: boolean2(),
|
|
30761
|
+
combine: optional3(ListEntitiesCombine$inboundSchema),
|
|
30678
30762
|
event_names: optional3(z69.array(string5())),
|
|
30679
30763
|
credit_schema: optional3(z69.array(smartUnion([
|
|
30680
30764
|
z69.lazy(() => ListEntitiesCreditSchema1$inboundSchema),
|
|
@@ -31020,6 +31104,11 @@ var ListFeaturesType = {
|
|
|
31020
31104
|
CreditSystem: "credit_system",
|
|
31021
31105
|
AiCreditSystem: "ai_credit_system"
|
|
31022
31106
|
};
|
|
31107
|
+
var ListFeaturesCombine = {
|
|
31108
|
+
Sum: "sum",
|
|
31109
|
+
Max: "max",
|
|
31110
|
+
Min: "min"
|
|
31111
|
+
};
|
|
31023
31112
|
var ListFeaturesDimensionsToEnum3 = {
|
|
31024
31113
|
Inf: "inf"
|
|
31025
31114
|
};
|
|
@@ -31034,6 +31123,7 @@ var ListFeaturesToEnum = {
|
|
|
31034
31123
|
};
|
|
31035
31124
|
var ListFeaturesRequest$outboundSchema = z71.object({});
|
|
31036
31125
|
var ListFeaturesType$inboundSchema = inboundSchema(ListFeaturesType);
|
|
31126
|
+
var ListFeaturesCombine$inboundSchema = inboundSchema(ListFeaturesCombine);
|
|
31037
31127
|
var ListFeaturesDimensions6$inboundSchema = z71.pipe(
|
|
31038
31128
|
z71.object({
|
|
31039
31129
|
match: z71.record(z71.string(), string5()),
|
|
@@ -31319,6 +31409,7 @@ var ListFeaturesList$inboundSchema = z71.pipe(
|
|
|
31319
31409
|
name: string5(),
|
|
31320
31410
|
type: ListFeaturesType$inboundSchema,
|
|
31321
31411
|
consumable: boolean2(),
|
|
31412
|
+
combine: optional3(ListFeaturesCombine$inboundSchema),
|
|
31322
31413
|
event_names: optional3(z71.array(string5())),
|
|
31323
31414
|
credit_schema: optional3(z71.array(smartUnion([
|
|
31324
31415
|
z71.lazy(() => ListFeaturesCreditSchema1$inboundSchema),
|
|
@@ -49172,6 +49263,11 @@ var UpdateCustomerType = {
|
|
|
49172
49263
|
CreditSystem: "credit_system",
|
|
49173
49264
|
AiCreditSystem: "ai_credit_system"
|
|
49174
49265
|
};
|
|
49266
|
+
var UpdateCustomerCombine = {
|
|
49267
|
+
Sum: "sum",
|
|
49268
|
+
Max: "max",
|
|
49269
|
+
Min: "min"
|
|
49270
|
+
};
|
|
49175
49271
|
var UpdateCustomerDimensionsToEnum3 = {
|
|
49176
49272
|
Inf: "inf"
|
|
49177
49273
|
};
|
|
@@ -49795,6 +49891,7 @@ var UpdateCustomerLicense$inboundSchema = z111.pipe(
|
|
|
49795
49891
|
})
|
|
49796
49892
|
);
|
|
49797
49893
|
var UpdateCustomerType$inboundSchema = inboundSchema(UpdateCustomerType);
|
|
49894
|
+
var UpdateCustomerCombine$inboundSchema = inboundSchema(UpdateCustomerCombine);
|
|
49798
49895
|
var UpdateCustomerDimensions6$inboundSchema = z111.pipe(
|
|
49799
49896
|
z111.object({
|
|
49800
49897
|
match: z111.record(z111.string(), string5()),
|
|
@@ -50082,6 +50179,7 @@ var UpdateCustomerFeature$inboundSchema = z111.pipe(
|
|
|
50082
50179
|
name: string5(),
|
|
50083
50180
|
type: UpdateCustomerType$inboundSchema,
|
|
50084
50181
|
consumable: boolean2(),
|
|
50182
|
+
combine: optional3(UpdateCustomerCombine$inboundSchema),
|
|
50085
50183
|
event_names: optional3(z111.array(string5())),
|
|
50086
50184
|
credit_schema: optional3(z111.array(smartUnion([
|
|
50087
50185
|
z111.lazy(() => UpdateCustomerCreditSchema1$inboundSchema),
|
|
@@ -50269,6 +50367,11 @@ var UpdateEntityType = {
|
|
|
50269
50367
|
CreditSystem: "credit_system",
|
|
50270
50368
|
AiCreditSystem: "ai_credit_system"
|
|
50271
50369
|
};
|
|
50370
|
+
var UpdateEntityCombine = {
|
|
50371
|
+
Sum: "sum",
|
|
50372
|
+
Max: "max",
|
|
50373
|
+
Min: "min"
|
|
50374
|
+
};
|
|
50272
50375
|
var UpdateEntityDimensionsToEnum3 = {
|
|
50273
50376
|
Inf: "inf"
|
|
50274
50377
|
};
|
|
@@ -50538,6 +50641,7 @@ var UpdateEntityPurchase$inboundSchema = z112.pipe(
|
|
|
50538
50641
|
})
|
|
50539
50642
|
);
|
|
50540
50643
|
var UpdateEntityType$inboundSchema = inboundSchema(UpdateEntityType);
|
|
50644
|
+
var UpdateEntityCombine$inboundSchema = inboundSchema(UpdateEntityCombine);
|
|
50541
50645
|
var UpdateEntityDimensions6$inboundSchema = z112.pipe(
|
|
50542
50646
|
z112.object({
|
|
50543
50647
|
match: z112.record(z112.string(), string5()),
|
|
@@ -50823,6 +50927,7 @@ var UpdateEntityFeature$inboundSchema = z112.pipe(
|
|
|
50823
50927
|
name: string5(),
|
|
50824
50928
|
type: UpdateEntityType$inboundSchema,
|
|
50825
50929
|
consumable: boolean2(),
|
|
50930
|
+
combine: optional3(UpdateEntityCombine$inboundSchema),
|
|
50826
50931
|
event_names: optional3(z112.array(string5())),
|
|
50827
50932
|
credit_schema: optional3(z112.array(smartUnion([
|
|
50828
50933
|
z112.lazy(() => UpdateEntityCreditSchema1$inboundSchema),
|
|
@@ -51046,6 +51151,11 @@ var UpdateFeatureTypeRequestBody = {
|
|
|
51046
51151
|
CreditSystem: "credit_system",
|
|
51047
51152
|
AiCreditSystem: "ai_credit_system"
|
|
51048
51153
|
};
|
|
51154
|
+
var UpdateFeatureCombineRequest = {
|
|
51155
|
+
Sum: "sum",
|
|
51156
|
+
Max: "max",
|
|
51157
|
+
Min: "min"
|
|
51158
|
+
};
|
|
51049
51159
|
var UpdateFeatureDimensionsToRequestBodyEnum2 = {
|
|
51050
51160
|
Inf: "inf"
|
|
51051
51161
|
};
|
|
@@ -51061,6 +51171,11 @@ var UpdateFeatureTypeResponse = {
|
|
|
51061
51171
|
CreditSystem: "credit_system",
|
|
51062
51172
|
AiCreditSystem: "ai_credit_system"
|
|
51063
51173
|
};
|
|
51174
|
+
var UpdateFeatureCombineResponse = {
|
|
51175
|
+
Sum: "sum",
|
|
51176
|
+
Max: "max",
|
|
51177
|
+
Min: "min"
|
|
51178
|
+
};
|
|
51064
51179
|
var UpdateFeatureDimensionsToResponseEnum3 = {
|
|
51065
51180
|
Inf: "inf"
|
|
51066
51181
|
};
|
|
@@ -51074,6 +51189,7 @@ var UpdateFeatureToResponseEnum = {
|
|
|
51074
51189
|
Inf: "inf"
|
|
51075
51190
|
};
|
|
51076
51191
|
var UpdateFeatureTypeRequestBody$outboundSchema = z113.enum(UpdateFeatureTypeRequestBody);
|
|
51192
|
+
var UpdateFeatureCombineRequest$outboundSchema = z113.enum(UpdateFeatureCombineRequest);
|
|
51077
51193
|
var UpdateFeatureDisplayRequestBody$outboundSchema = z113.object({
|
|
51078
51194
|
singular: z113.string(),
|
|
51079
51195
|
plural: z113.string()
|
|
@@ -51307,6 +51423,7 @@ var UpdateFeatureParams$outboundSchema = z113.pipe(
|
|
|
51307
51423
|
name: z113.optional(z113.string()),
|
|
51308
51424
|
type: z113.optional(UpdateFeatureTypeRequestBody$outboundSchema),
|
|
51309
51425
|
consumable: z113.optional(z113.boolean()),
|
|
51426
|
+
combine: z113.optional(UpdateFeatureCombineRequest$outboundSchema),
|
|
51310
51427
|
display: z113.optional(
|
|
51311
51428
|
z113.lazy(() => UpdateFeatureDisplayRequestBody$outboundSchema)
|
|
51312
51429
|
),
|
|
@@ -51343,6 +51460,7 @@ var UpdateFeatureParams$outboundSchema = z113.pipe(
|
|
|
51343
51460
|
})
|
|
51344
51461
|
);
|
|
51345
51462
|
var UpdateFeatureTypeResponse$inboundSchema = inboundSchema(UpdateFeatureTypeResponse);
|
|
51463
|
+
var UpdateFeatureCombineResponse$inboundSchema = inboundSchema(UpdateFeatureCombineResponse);
|
|
51346
51464
|
var UpdateFeatureDimensionsResponse6$inboundSchema = z113.pipe(
|
|
51347
51465
|
z113.object({
|
|
51348
51466
|
match: z113.record(z113.string(), string5()),
|
|
@@ -51651,6 +51769,7 @@ var UpdateFeatureResponse$inboundSchema = z113.pipe(
|
|
|
51651
51769
|
name: string5(),
|
|
51652
51770
|
type: UpdateFeatureTypeResponse$inboundSchema,
|
|
51653
51771
|
consumable: boolean2(),
|
|
51772
|
+
combine: optional3(UpdateFeatureCombineResponse$inboundSchema),
|
|
51654
51773
|
event_names: optional3(z113.array(string5())),
|
|
51655
51774
|
credit_schema: optional3(z113.array(smartUnion([
|
|
51656
51775
|
z113.lazy(() => UpdateFeatureCreditSchemaResponse1$inboundSchema),
|
|
@@ -61271,7 +61390,7 @@ var Billing = class extends ClientSDK {
|
|
|
61271
61390
|
* @param freeTrial - Free trial for this plan. A shorthand for customize.free_trial, which takes precedence when both are given. (optional)
|
|
61272
61391
|
* @param customize - Customize the plan to attach. Can override the price, items, licenses, free trial, or a combination. (optional)
|
|
61273
61392
|
* @param invoiceMode - Invoice mode creates a draft or open invoice and sends it to the customer, instead of charging their card immediately. This uses Stripe's send_invoice collection method. (optional)
|
|
61274
|
-
* @param prorationBehavior - How to handle proration when updating an existing subscription. 'prorate_immediately' charges/credits prorated amounts now, 'none' skips creating any charges, 'bill_difference'
|
|
61393
|
+
* @param prorationBehavior - How to handle proration when updating an existing subscription. 'prorate_immediately' charges/credits prorated amounts now, 'none' skips creating any charges, 'bill_difference' bills the larger of the full-period price difference and the prorated amount (full difference on upgrades, prorated credit on downgrades) now without changing the billing cycle. (optional)
|
|
61275
61394
|
* @param redirectMode - Controls when to return a checkout URL. 'always' returns a URL even if payment succeeds, 'if_required' only when payment action is needed, 'never' disables redirects. (optional)
|
|
61276
61395
|
* @param subscriptionId - A unique ID to identify this subscription. Can be used to target specific subscriptions in update operations when a customer has multiple products with the same plan. (optional)
|
|
61277
61396
|
* @param discounts - List of discounts to apply. Each discount can be an Autumn reward ID, Stripe coupon ID, or Stripe promotion code. (optional)
|
|
@@ -61329,7 +61448,7 @@ var Billing = class extends ClientSDK {
|
|
|
61329
61448
|
* @param successUrl - URL to redirect to after successful checkout. (optional)
|
|
61330
61449
|
* @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
|
|
61331
61450
|
* @param redirectMode - Controls when to return a checkout URL for the immediate phase. 'always' forces a confirmation or checkout flow, 'if_required' only redirects when needed, and 'never' disables redirects. (optional)
|
|
61332
|
-
* @param billingBehavior - Whether to prorate the immediate phase. 'none' skips proration charges and credits, 'bill_difference'
|
|
61451
|
+
* @param billingBehavior - Whether to prorate the immediate phase. 'none' skips proration charges and credits, 'bill_difference' bills the larger of the full-period price difference and the prorated amount (full difference on upgrades, prorated credit on downgrades). (optional)
|
|
61333
61452
|
* @param noBillingChanges - If true, skips any billing changes for the schedule. (optional)
|
|
61334
61453
|
* @param billingCycleAnchor - Pass 'now' to reset the billing cycle anchor of the immediate phase to the current time. (optional)
|
|
61335
61454
|
* @param enablePlanImmediately - If true, the immediate-phase cusProducts are activated immediately (and scheduled-phase cusProducts pre-inserted) even when payment is pending via Stripe checkout. The Autumn schedule rows are persisted on checkout.session.completed. (optional)
|
|
@@ -61377,7 +61496,7 @@ var Billing = class extends ClientSDK {
|
|
|
61377
61496
|
* @param currency - Currency to bill this multi-attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and every plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
61378
61497
|
* @param invoiceMode - Invoice mode creates a draft or open invoice and sends it to the customer, instead of charging their card immediately. (optional)
|
|
61379
61498
|
* @param discounts - List of discounts to apply. Each discount can be an Autumn reward ID, Stripe coupon ID, or Stripe promotion code. (optional)
|
|
61380
|
-
* @param billingBehavior - How to handle billing. 'prorate_immediately' charges/credits prorated amounts now, 'none' does not charge/credit anything, 'bill_difference'
|
|
61499
|
+
* @param billingBehavior - How to handle billing. 'prorate_immediately' charges/credits prorated amounts now, 'none' does not charge/credit anything, 'bill_difference' bills the larger of the full-period price difference and the prorated amount (full difference on upgrades, prorated credit on downgrades) now without changing the billing cycle. (optional)
|
|
61381
61500
|
* @param billingCycleAnchor - Pass 'now' to reset the billing cycle of every plan on the subscription to the time of this request. (optional)
|
|
61382
61501
|
* @param successUrl - URL to redirect to after successful checkout. (optional)
|
|
61383
61502
|
* @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
|
|
@@ -61413,7 +61532,7 @@ var Billing = class extends ClientSDK {
|
|
|
61413
61532
|
* @param freeTrial - Free trial for this plan. A shorthand for customize.free_trial, which takes precedence when both are given. (optional)
|
|
61414
61533
|
* @param customize - Customize the plan to attach. Can override the price, items, licenses, free trial, or a combination. (optional)
|
|
61415
61534
|
* @param invoiceMode - Invoice mode creates a draft or open invoice and sends it to the customer, instead of charging their card immediately. This uses Stripe's send_invoice collection method. (optional)
|
|
61416
|
-
* @param prorationBehavior - How to handle proration when updating an existing subscription. 'prorate_immediately' charges/credits prorated amounts now, 'none' skips creating any charges, 'bill_difference'
|
|
61535
|
+
* @param prorationBehavior - How to handle proration when updating an existing subscription. 'prorate_immediately' charges/credits prorated amounts now, 'none' skips creating any charges, 'bill_difference' bills the larger of the full-period price difference and the prorated amount (full difference on upgrades, prorated credit on downgrades) now without changing the billing cycle. (optional)
|
|
61417
61536
|
* @param redirectMode - Controls when to return a checkout URL. 'always' returns a URL even if payment succeeds, 'if_required' only when payment action is needed, 'never' disables redirects. (optional)
|
|
61418
61537
|
* @param subscriptionId - A unique ID to identify this subscription. Can be used to target specific subscriptions in update operations when a customer has multiple products with the same plan. (optional)
|
|
61419
61538
|
* @param discounts - List of discounts to apply. Each discount can be an Autumn reward ID, Stripe coupon ID, or Stripe promotion code. (optional)
|
|
@@ -61470,7 +61589,7 @@ var Billing = class extends ClientSDK {
|
|
|
61470
61589
|
* @param currency - Currency to bill this multi-attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and every plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
61471
61590
|
* @param invoiceMode - Invoice mode creates a draft or open invoice and sends it to the customer, instead of charging their card immediately. (optional)
|
|
61472
61591
|
* @param discounts - List of discounts to apply. Each discount can be an Autumn reward ID, Stripe coupon ID, or Stripe promotion code. (optional)
|
|
61473
|
-
* @param billingBehavior - How to handle billing. 'prorate_immediately' charges/credits prorated amounts now, 'none' does not charge/credit anything, 'bill_difference'
|
|
61592
|
+
* @param billingBehavior - How to handle billing. 'prorate_immediately' charges/credits prorated amounts now, 'none' does not charge/credit anything, 'bill_difference' bills the larger of the full-period price difference and the prorated amount (full difference on upgrades, prorated credit on downgrades) now without changing the billing cycle. (optional)
|
|
61474
61593
|
* @param billingCycleAnchor - Pass 'now' to reset the billing cycle of every plan on the subscription to the time of this request. (optional)
|
|
61475
61594
|
* @param successUrl - URL to redirect to after successful checkout. (optional)
|
|
61476
61595
|
* @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
|
|
@@ -61518,7 +61637,7 @@ var Billing = class extends ClientSDK {
|
|
|
61518
61637
|
* @param freeTrial - Free trial for this plan. A shorthand for customize.free_trial, which takes precedence when both are given. (optional)
|
|
61519
61638
|
* @param customize - Customize the plan to attach. Can override the price, items, licenses, free trial, or a combination. (optional)
|
|
61520
61639
|
* @param invoiceMode - Invoice mode creates a draft or open invoice and sends it to the customer, instead of charging their card immediately. This uses Stripe's send_invoice collection method. (optional)
|
|
61521
|
-
* @param prorationBehavior - How to handle proration when updating an existing subscription. 'prorate_immediately' charges/credits prorated amounts now, 'none' skips creating any charges, 'bill_difference'
|
|
61640
|
+
* @param prorationBehavior - How to handle proration when updating an existing subscription. 'prorate_immediately' charges/credits prorated amounts now, 'none' skips creating any charges, 'bill_difference' bills the larger of the full-period price difference and the prorated amount (full difference on upgrades, prorated credit on downgrades) now without changing the billing cycle. (optional)
|
|
61522
61641
|
* @param redirectMode - Controls when to return a checkout URL. 'always' returns a URL even if payment succeeds, 'if_required' only when payment action is needed, 'never' disables redirects. (optional)
|
|
61523
61642
|
* @param subscriptionId - A unique ID to identify this subscription. Can be used to target specific subscriptions in update operations when a customer has multiple products with the same plan. (optional)
|
|
61524
61643
|
* @param discounts - List of discounts to apply. Each discount can be an Autumn reward ID, Stripe coupon ID, or Stripe promotion code. (optional)
|
|
@@ -61563,7 +61682,7 @@ var Billing = class extends ClientSDK {
|
|
|
61563
61682
|
* @param freeTrial - Free trial for this plan. A shorthand for customize.free_trial, which takes precedence when both are given. (optional)
|
|
61564
61683
|
* @param customize - Customize the plan to attach. Can override the price, items, licenses, free trial, or a combination. (optional)
|
|
61565
61684
|
* @param invoiceMode - Invoice mode creates a draft or open invoice and sends it to the customer, instead of charging their card immediately. This uses Stripe's send_invoice collection method. (optional)
|
|
61566
|
-
* @param prorationBehavior - How to handle proration when updating an existing subscription. 'prorate_immediately' charges/credits prorated amounts now, 'none' skips creating any charges, 'bill_difference'
|
|
61685
|
+
* @param prorationBehavior - How to handle proration when updating an existing subscription. 'prorate_immediately' charges/credits prorated amounts now, 'none' skips creating any charges, 'bill_difference' bills the larger of the full-period price difference and the prorated amount (full difference on upgrades, prorated credit on downgrades) now without changing the billing cycle. (optional)
|
|
61567
61686
|
* @param redirectMode - Controls when to return a checkout URL. 'always' returns a URL even if payment succeeds, 'if_required' only when payment action is needed, 'never' disables redirects. (optional)
|
|
61568
61687
|
* @param subscriptionId - A unique ID to identify this subscription. Can be used to target specific subscriptions in update operations when a customer has multiple products with the same plan. (optional)
|
|
61569
61688
|
* @param discounts - List of discounts to apply. Each discount can be an Autumn reward ID, Stripe coupon ID, or Stripe promotion code. (optional)
|
|
@@ -63582,6 +63701,7 @@ var Features = class extends ClientSDK {
|
|
|
63582
63701
|
* @param name - The name of the feature.
|
|
63583
63702
|
* @param type - The type of the feature. 'single_use' features are consumed, like API calls, tokens, or messages. 'continuous_use' features are allocated, like seats, workspaces, or projects. 'credit_system' features are schemas that unify multiple 'single_use' features into a single credit system.
|
|
63584
63703
|
* @param consumable - Whether this feature is consumable. A consumable feature is one that periodically resets and is consumed rather than allocated (like credits, API requests, etc.). Applicable only for 'metered' features. (optional)
|
|
63704
|
+
* @param combine - How grants of this feature from several plans combine. 'sum' (default) adds them up. 'max' or 'min' keeps only the highest or lowest grant among plan items with no price; priced items always add on top. Metered and credit system features only. (optional)
|
|
63585
63705
|
* @param display - Singular and plural display names for the feature in your user interface. (optional)
|
|
63586
63706
|
* @param creditSchema - A schema that maps metered feature IDs to flat or graduated credit costs. For classic credit systems only — AI credit systems use model_markups instead. (optional)
|
|
63587
63707
|
* @param modelMarkups - Per-model markup overrides for AI credit systems. Maps model IDs to their markup configuration. (optional)
|
|
@@ -63654,6 +63774,7 @@ var Features = class extends ClientSDK {
|
|
|
63654
63774
|
* @param name - The name of the feature. (optional)
|
|
63655
63775
|
* @param type - The type of the feature. 'single_use' features are consumed, like API calls, tokens, or messages. 'continuous_use' features are allocated, like seats, workspaces, or projects. 'credit_system' features are schemas that unify multiple 'single_use' features into a single credit system. (optional)
|
|
63656
63776
|
* @param consumable - Whether this feature is consumable. A consumable feature is one that periodically resets and is consumed rather than allocated (like credits, API requests, etc.). Applicable only for 'metered' features. (optional)
|
|
63777
|
+
* @param combine - How grants of this feature from several plans combine. 'sum' (default) adds them up. 'max' or 'min' keeps only the highest or lowest grant among plan items with no price; priced items always add on top. Metered and credit system features only. (optional)
|
|
63657
63778
|
* @param display - Singular and plural display names for the feature in your user interface. (optional)
|
|
63658
63779
|
* @param creditSchema - A schema that maps metered feature IDs to flat or graduated credit costs. For classic credit systems only — AI credit systems use model_markups instead. (optional)
|
|
63659
63780
|
* @param modelMarkups - Per-model markup overrides for AI credit systems. Maps model IDs to their markup configuration. (optional)
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-XJDT6H4H.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-BGOMNBZE.mjs";
|
|
9
|
-
import "../chunk-MOHYGUMA.mjs";
|
|
10
|
-
import "../chunk-TBQ27LIK.mjs";
|
|
11
|
-
import "../chunk-J44WR3QZ.mjs";
|
|
6
|
+
import "../chunk-YFKANU3R.mjs";
|
|
7
|
+
import "../chunk-JZB3BYQP.mjs";
|
|
12
8
|
import "../chunk-TSF4YCUO.mjs";
|
|
13
9
|
import "../chunk-UAR3TMWI.mjs";
|
|
10
|
+
import "../chunk-MYD4ZJQG.mjs";
|
|
14
11
|
import "../chunk-6LQFPGW7.mjs";
|
|
12
|
+
import "../chunk-IXUCY7AU.mjs";
|
|
15
13
|
import "../chunk-OTXV5FY7.mjs";
|
|
16
14
|
import "../chunk-I7CD6EB6.mjs";
|
|
17
15
|
import "../chunk-VZIMT7AO.mjs";
|
|
16
|
+
import "../chunk-TBQ27LIK.mjs";
|
|
17
|
+
import "../chunk-J44WR3QZ.mjs";
|
|
18
18
|
import "../chunk-N7NFYY54.mjs";
|
|
19
19
|
export {
|
|
20
20
|
autumnHandler
|