autumn-js 1.2.52 → 1.2.53
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.d.mts +1 -1
- package/dist/backend/adapters/express.d.ts +1 -1
- package/dist/backend/adapters/express.js +253 -0
- package/dist/backend/adapters/express.mjs +5 -5
- package/dist/backend/adapters/fetch.d.mts +1 -1
- package/dist/backend/adapters/fetch.d.ts +1 -1
- package/dist/backend/adapters/fetch.js +253 -0
- package/dist/backend/adapters/fetch.mjs +5 -5
- package/dist/backend/adapters/hono.d.mts +1 -1
- package/dist/backend/adapters/hono.d.ts +1 -1
- package/dist/backend/adapters/hono.js +253 -0
- package/dist/backend/adapters/hono.mjs +5 -5
- package/dist/backend/adapters/index.d.mts +1 -1
- package/dist/backend/adapters/index.d.ts +1 -1
- package/dist/backend/adapters/index.js +253 -0
- package/dist/backend/adapters/index.mjs +8 -8
- package/dist/backend/adapters/next.d.mts +1 -1
- package/dist/backend/adapters/next.d.ts +1 -1
- package/dist/backend/adapters/next.js +253 -0
- package/dist/backend/adapters/next.mjs +5 -5
- package/dist/backend/{authTypes-BPv82hMB.d.mts → authTypes-DiM2aken.d.mts} +15 -0
- package/dist/backend/{authTypes-BPv82hMB.d.ts → authTypes-DiM2aken.d.ts} +15 -0
- package/dist/backend/{chunk-ZLRTOAAU.mjs → chunk-6HGIR6SI.mjs} +1 -1
- package/dist/backend/{chunk-DZDRQTEB.mjs → chunk-AKZ3LI43.mjs} +225 -0
- package/dist/backend/{chunk-LRNMYDLA.mjs → chunk-BZJMZLRO.mjs} +2 -2
- package/dist/backend/{chunk-NLWHCI77.mjs → chunk-DUWBM6AP.mjs} +2 -2
- package/dist/backend/{chunk-WPGNH2EY.mjs → chunk-G5BNVBAL.mjs} +1 -1
- package/dist/backend/{chunk-AWYAJA32.mjs → chunk-QEMMOYX7.mjs} +1 -1
- package/dist/backend/{chunk-RH3HBFJI.mjs → chunk-QZGNWKGU.mjs} +28 -0
- package/dist/backend/{chunk-JAMMHRJH.mjs → chunk-UO2U5YHG.mjs} +1 -1
- package/dist/backend/core/handlers/coreHandler.d.mts +2 -2
- package/dist/backend/core/handlers/coreHandler.d.ts +2 -2
- package/dist/backend/core/handlers/coreHandler.js +253 -0
- package/dist/backend/core/handlers/coreHandler.mjs +3 -3
- package/dist/backend/core/handlers/executeRoute.d.mts +2 -2
- package/dist/backend/core/handlers/executeRoute.d.ts +2 -2
- package/dist/backend/core/handlers/handleRouteByName.d.mts +1 -1
- package/dist/backend/core/handlers/handleRouteByName.d.ts +1 -1
- package/dist/backend/core/handlers/handleRouteByName.js +253 -0
- package/dist/backend/core/handlers/handleRouteByName.mjs +3 -3
- package/dist/backend/core/handlers/index.d.mts +2 -2
- package/dist/backend/core/handlers/index.d.ts +2 -2
- package/dist/backend/core/handlers/index.js +253 -0
- package/dist/backend/core/handlers/index.mjs +4 -4
- package/dist/backend/core/handlers/resolveIdentity.d.mts +1 -1
- package/dist/backend/core/handlers/resolveIdentity.d.ts +1 -1
- package/dist/backend/core/index.d.mts +2 -2
- package/dist/backend/core/index.d.ts +2 -2
- package/dist/backend/core/index.js +253 -0
- package/dist/backend/core/index.mjs +4 -4
- package/dist/backend/core/routes/index.d.mts +2 -2
- package/dist/backend/core/routes/index.d.ts +2 -2
- package/dist/backend/core/routes/index.js +28 -0
- package/dist/backend/core/routes/index.mjs +1 -1
- package/dist/backend/core/routes/routeBuilder.d.mts +2 -2
- package/dist/backend/core/routes/routeBuilder.d.ts +2 -2
- package/dist/backend/core/routes/routeConfigs.d.mts +2 -2
- package/dist/backend/core/routes/routeConfigs.d.ts +2 -2
- package/dist/backend/core/routes/routeConfigs.js +28 -0
- package/dist/backend/core/routes/routeConfigs.mjs +1 -1
- package/dist/backend/core/types/authTypes.d.mts +1 -1
- package/dist/backend/core/types/authTypes.d.ts +1 -1
- package/dist/backend/core/types/handlerTypes.d.mts +2 -2
- package/dist/backend/core/types/handlerTypes.d.ts +2 -2
- package/dist/backend/core/types/index.d.mts +2 -2
- package/dist/backend/core/types/index.d.ts +2 -2
- package/dist/backend/core/types/routeTypes.d.mts +2 -2
- package/dist/backend/core/types/routeTypes.d.ts +2 -2
- package/dist/backend/index.d.mts +4 -4
- package/dist/backend/index.d.ts +4 -4
- package/dist/backend/index.js +253 -0
- package/dist/backend/index.mjs +4 -4
- package/dist/backend/{routeTypes-CagT-_8z.d.ts → routeTypes-C9oAOQtZ.d.ts} +593 -48
- package/dist/backend/{routeTypes-7CrqRDkR.d.mts → routeTypes-jEkjrH2F.d.mts} +593 -48
- package/dist/better-auth/{chunk-CSY3O2LW.mjs → chunk-56PNBTLH.mjs} +1 -1
- package/dist/better-auth/{chunk-NJ2UKHCA.mjs → chunk-AI73OSOF.mjs} +226 -1
- package/dist/better-auth/{chunk-N3JISG56.mjs → chunk-IIOL3QPN.mjs} +28 -0
- package/dist/better-auth/index.js +253 -0
- package/dist/better-auth/index.mjs +3 -3
- package/dist/better-auth/types.d.mts +15 -0
- package/dist/better-auth/types.d.ts +15 -0
- package/dist/better-auth/utils/createAutumnEndpoint.js +28 -0
- package/dist/better-auth/utils/createAutumnEndpoint.mjs +2 -2
- package/dist/better-auth/utils/handleBetterAuthRoute.js +253 -0
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +2 -2
- package/dist/better-auth/utils/index.js +253 -0
- package/dist/better-auth/utils/index.mjs +3 -3
- 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-BaeLsKMs.d.ts → customer-4XLHVIIG.d.mts} +21 -6
- package/dist/react/{customer-5Mby2R77.d.mts → customer-CPv9i8iR.d.ts} +21 -6
- 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-op-V0gWDbAv.d.mts → list-plans-op-Dsryi9lT.d.mts} +31 -1
- package/dist/react/{list-plans-op-C2_pS0cr.d.ts → list-plans-op-jsAtkFHJ.d.ts} +31 -1
- package/dist/react/{params-B34LP_UV.d.mts → params-BGfGRnue.d.ts} +193 -28
- package/dist/react/{params-Dayf76u_.d.ts → params-DPSGMHHa.d.mts} +193 -28
- package/dist/react/{plan-DGDzxyO5.d.mts → plan-DEGPMYmh.d.mts} +30 -0
- package/dist/react/{plan-DGDzxyO5.d.ts → plan-DEGPMYmh.d.ts} +30 -0
- package/dist/sdk/index.d.mts +700 -48
- package/dist/sdk/index.d.ts +700 -48
- package/dist/sdk/index.js +299 -0
- package/dist/sdk/index.mjs +226 -1
- package/package.json +1 -1
|
@@ -1666,6 +1666,10 @@ var AttachUsageLimitInterval = {
|
|
|
1666
1666
|
Month: "month",
|
|
1667
1667
|
Year: "year"
|
|
1668
1668
|
};
|
|
1669
|
+
var AttachAnchor = {
|
|
1670
|
+
BillingCycle: "billing_cycle",
|
|
1671
|
+
Utc: "utc"
|
|
1672
|
+
};
|
|
1669
1673
|
var AttachThresholdType = {
|
|
1670
1674
|
Usage: "usage",
|
|
1671
1675
|
UsagePercentage: "usage_percentage",
|
|
@@ -2134,6 +2138,7 @@ var AttachSpendLimit$outboundSchema = z11.pipe(
|
|
|
2134
2138
|
})
|
|
2135
2139
|
);
|
|
2136
2140
|
var AttachUsageLimitInterval$outboundSchema = z11.enum(AttachUsageLimitInterval);
|
|
2141
|
+
var AttachAnchor$outboundSchema = z11.enum(AttachAnchor);
|
|
2137
2142
|
var AttachProperties$outboundSchema = smartUnion([z11.string(), z11.number(), z11.boolean()]);
|
|
2138
2143
|
var AttachFilter$outboundSchema = z11.object({
|
|
2139
2144
|
properties: z11.record(
|
|
@@ -2147,6 +2152,7 @@ var AttachUsageLimit$outboundSchema = z11.pipe(
|
|
|
2147
2152
|
enabled: z11._default(z11.boolean(), true),
|
|
2148
2153
|
limit: z11.number(),
|
|
2149
2154
|
interval: AttachUsageLimitInterval$outboundSchema,
|
|
2155
|
+
anchor: z11.optional(AttachAnchor$outboundSchema),
|
|
2150
2156
|
filter: z11.optional(z11.lazy(() => AttachFilter$outboundSchema))
|
|
2151
2157
|
}),
|
|
2152
2158
|
z11.transform((v) => {
|
|
@@ -3029,6 +3035,10 @@ var BillingUpdateUsageLimitInterval = {
|
|
|
3029
3035
|
Month: "month",
|
|
3030
3036
|
Year: "year"
|
|
3031
3037
|
};
|
|
3038
|
+
var BillingUpdateAnchor = {
|
|
3039
|
+
BillingCycle: "billing_cycle",
|
|
3040
|
+
Utc: "utc"
|
|
3041
|
+
};
|
|
3032
3042
|
var BillingUpdateThresholdType = {
|
|
3033
3043
|
Usage: "usage",
|
|
3034
3044
|
UsagePercentage: "usage_percentage",
|
|
@@ -3520,6 +3530,7 @@ var BillingUpdateSpendLimit$outboundSchema = z14.pipe(
|
|
|
3520
3530
|
})
|
|
3521
3531
|
);
|
|
3522
3532
|
var BillingUpdateUsageLimitInterval$outboundSchema = z14.enum(BillingUpdateUsageLimitInterval);
|
|
3533
|
+
var BillingUpdateAnchor$outboundSchema = z14.enum(BillingUpdateAnchor);
|
|
3523
3534
|
var BillingUpdateProperties$outboundSchema = smartUnion([z14.string(), z14.number(), z14.boolean()]);
|
|
3524
3535
|
var BillingUpdateFilter$outboundSchema = z14.object({
|
|
3525
3536
|
properties: z14.record(
|
|
@@ -3533,6 +3544,7 @@ var BillingUpdateUsageLimit$outboundSchema = z14.pipe(
|
|
|
3533
3544
|
enabled: z14._default(z14.boolean(), true),
|
|
3534
3545
|
limit: z14.number(),
|
|
3535
3546
|
interval: BillingUpdateUsageLimitInterval$outboundSchema,
|
|
3547
|
+
anchor: z14.optional(BillingUpdateAnchor$outboundSchema),
|
|
3536
3548
|
filter: z14.optional(z14.lazy(() => BillingUpdateFilter$outboundSchema))
|
|
3537
3549
|
}),
|
|
3538
3550
|
z14.transform((v) => {
|
|
@@ -4089,6 +4101,10 @@ var CheckUsageLimitInterval2 = {
|
|
|
4089
4101
|
Month: "month",
|
|
4090
4102
|
Year: "year"
|
|
4091
4103
|
};
|
|
4104
|
+
var CheckAnchor2 = {
|
|
4105
|
+
BillingCycle: "billing_cycle",
|
|
4106
|
+
Utc: "utc"
|
|
4107
|
+
};
|
|
4092
4108
|
var CheckThresholdType2 = {
|
|
4093
4109
|
Usage: "usage",
|
|
4094
4110
|
UsagePercentage: "usage_percentage",
|
|
@@ -4192,6 +4208,10 @@ var CheckUsageLimitInterval1 = {
|
|
|
4192
4208
|
Month: "month",
|
|
4193
4209
|
Year: "year"
|
|
4194
4210
|
};
|
|
4211
|
+
var CheckAnchor1 = {
|
|
4212
|
+
BillingCycle: "billing_cycle",
|
|
4213
|
+
Utc: "utc"
|
|
4214
|
+
};
|
|
4195
4215
|
var CheckThresholdType1 = {
|
|
4196
4216
|
Usage: "usage",
|
|
4197
4217
|
UsagePercentage: "usage_percentage",
|
|
@@ -4489,6 +4509,7 @@ var CheckSpendLimit2$inboundSchema = z15.pipe(
|
|
|
4489
4509
|
})
|
|
4490
4510
|
);
|
|
4491
4511
|
var CheckUsageLimitInterval2$inboundSchema = inboundSchema(CheckUsageLimitInterval2);
|
|
4512
|
+
var CheckAnchor2$inboundSchema = inboundSchema(CheckAnchor2);
|
|
4492
4513
|
var CheckFilter2$inboundSchema = z15.object({
|
|
4493
4514
|
properties: z15.record(z15.string(), string5())
|
|
4494
4515
|
});
|
|
@@ -4498,6 +4519,7 @@ var CheckUsageLimit2$inboundSchema = z15.pipe(
|
|
|
4498
4519
|
enabled: z15._default(boolean2(), true),
|
|
4499
4520
|
limit: number2(),
|
|
4500
4521
|
interval: CheckUsageLimitInterval2$inboundSchema,
|
|
4522
|
+
anchor: optional3(CheckAnchor2$inboundSchema),
|
|
4501
4523
|
filter: optional3(z15.lazy(() => CheckFilter2$inboundSchema))
|
|
4502
4524
|
}),
|
|
4503
4525
|
z15.transform((v) => {
|
|
@@ -4891,6 +4913,7 @@ var CheckSpendLimit1$inboundSchema = z15.pipe(
|
|
|
4891
4913
|
})
|
|
4892
4914
|
);
|
|
4893
4915
|
var CheckUsageLimitInterval1$inboundSchema = inboundSchema(CheckUsageLimitInterval1);
|
|
4916
|
+
var CheckAnchor1$inboundSchema = inboundSchema(CheckAnchor1);
|
|
4894
4917
|
var CheckFilter1$inboundSchema = z15.object({
|
|
4895
4918
|
properties: z15.record(z15.string(), string5())
|
|
4896
4919
|
});
|
|
@@ -4900,6 +4923,7 @@ var CheckUsageLimit1$inboundSchema = z15.pipe(
|
|
|
4900
4923
|
enabled: z15._default(boolean2(), true),
|
|
4901
4924
|
limit: number2(),
|
|
4902
4925
|
interval: CheckUsageLimitInterval1$inboundSchema,
|
|
4926
|
+
anchor: optional3(CheckAnchor1$inboundSchema),
|
|
4903
4927
|
filter: optional3(z15.lazy(() => CheckFilter1$inboundSchema))
|
|
4904
4928
|
}),
|
|
4905
4929
|
z15.transform((v) => {
|
|
@@ -5147,6 +5171,10 @@ var CustomerDataUsageLimitInterval = {
|
|
|
5147
5171
|
Month: "month",
|
|
5148
5172
|
Year: "year"
|
|
5149
5173
|
};
|
|
5174
|
+
var CustomerDataAnchor = {
|
|
5175
|
+
BillingCycle: "billing_cycle",
|
|
5176
|
+
Utc: "utc"
|
|
5177
|
+
};
|
|
5150
5178
|
var CustomerDataThresholdType = {
|
|
5151
5179
|
Usage: "usage",
|
|
5152
5180
|
UsagePercentage: "usage_percentage",
|
|
@@ -5205,6 +5233,7 @@ var CustomerDataSpendLimit$outboundSchema = z17.pipe(
|
|
|
5205
5233
|
})
|
|
5206
5234
|
);
|
|
5207
5235
|
var CustomerDataUsageLimitInterval$outboundSchema = z17.enum(CustomerDataUsageLimitInterval);
|
|
5236
|
+
var CustomerDataAnchor$outboundSchema = z17.enum(CustomerDataAnchor);
|
|
5208
5237
|
var Properties$outboundSchema = smartUnion([z17.string(), z17.number(), z17.boolean()]);
|
|
5209
5238
|
var CustomerDataFilter$outboundSchema = z17.object({
|
|
5210
5239
|
properties: z17.record(
|
|
@@ -5218,6 +5247,7 @@ var CustomerDataUsageLimit$outboundSchema = z17.pipe(
|
|
|
5218
5247
|
enabled: z17._default(z17.boolean(), true),
|
|
5219
5248
|
limit: z17.number(),
|
|
5220
5249
|
interval: CustomerDataUsageLimitInterval$outboundSchema,
|
|
5250
|
+
anchor: z17.optional(CustomerDataAnchor$outboundSchema),
|
|
5221
5251
|
filter: z17.optional(z17.lazy(() => CustomerDataFilter$outboundSchema))
|
|
5222
5252
|
}),
|
|
5223
5253
|
z17.transform((v) => {
|
|
@@ -5482,6 +5512,10 @@ var PlanVariantDetailsUsageLimitInterval = {
|
|
|
5482
5512
|
Month: "month",
|
|
5483
5513
|
Year: "year"
|
|
5484
5514
|
};
|
|
5515
|
+
var PlanVariantDetailsAnchor = {
|
|
5516
|
+
BillingCycle: "billing_cycle",
|
|
5517
|
+
Utc: "utc"
|
|
5518
|
+
};
|
|
5485
5519
|
var PlanVariantDetailsThresholdType = {
|
|
5486
5520
|
Usage: "usage",
|
|
5487
5521
|
UsagePercentage: "usage_percentage",
|
|
@@ -5504,6 +5538,10 @@ var PlanUsageLimitInterval = {
|
|
|
5504
5538
|
Month: "month",
|
|
5505
5539
|
Year: "year"
|
|
5506
5540
|
};
|
|
5541
|
+
var PlanAnchor = {
|
|
5542
|
+
BillingCycle: "billing_cycle",
|
|
5543
|
+
Utc: "utc"
|
|
5544
|
+
};
|
|
5507
5545
|
var PlanThresholdType = {
|
|
5508
5546
|
Usage: "usage",
|
|
5509
5547
|
UsagePercentage: "usage_percentage",
|
|
@@ -5978,6 +6016,7 @@ var PlanVariantDetailsSpendLimit$inboundSchema = z18.pipe(
|
|
|
5978
6016
|
})
|
|
5979
6017
|
);
|
|
5980
6018
|
var PlanVariantDetailsUsageLimitInterval$inboundSchema = inboundSchema(PlanVariantDetailsUsageLimitInterval);
|
|
6019
|
+
var PlanVariantDetailsAnchor$inboundSchema = inboundSchema(PlanVariantDetailsAnchor);
|
|
5981
6020
|
var PlanVariantDetailsFilter$inboundSchema = z18.object({
|
|
5982
6021
|
properties: z18.record(z18.string(), string5())
|
|
5983
6022
|
});
|
|
@@ -5987,6 +6026,7 @@ var PlanVariantDetailsUsageLimit$inboundSchema = z18.pipe(
|
|
|
5987
6026
|
enabled: z18._default(boolean2(), true),
|
|
5988
6027
|
limit: number2(),
|
|
5989
6028
|
interval: PlanVariantDetailsUsageLimitInterval$inboundSchema,
|
|
6029
|
+
anchor: optional3(PlanVariantDetailsAnchor$inboundSchema),
|
|
5990
6030
|
filter: optional3(
|
|
5991
6031
|
z18.lazy(() => PlanVariantDetailsFilter$inboundSchema)
|
|
5992
6032
|
)
|
|
@@ -6149,6 +6189,7 @@ var PlanSpendLimit$inboundSchema = z18.pipe(
|
|
|
6149
6189
|
})
|
|
6150
6190
|
);
|
|
6151
6191
|
var PlanUsageLimitInterval$inboundSchema = inboundSchema(PlanUsageLimitInterval);
|
|
6192
|
+
var PlanAnchor$inboundSchema = inboundSchema(PlanAnchor);
|
|
6152
6193
|
var PlanFilter$inboundSchema = z18.object({
|
|
6153
6194
|
properties: z18.record(z18.string(), string5())
|
|
6154
6195
|
});
|
|
@@ -6158,6 +6199,7 @@ var PlanUsageLimit$inboundSchema = z18.pipe(
|
|
|
6158
6199
|
enabled: z18._default(boolean2(), true),
|
|
6159
6200
|
limit: number2(),
|
|
6160
6201
|
interval: PlanUsageLimitInterval$inboundSchema,
|
|
6202
|
+
anchor: optional3(PlanAnchor$inboundSchema),
|
|
6161
6203
|
filter: optional3(z18.lazy(() => PlanFilter$inboundSchema))
|
|
6162
6204
|
}),
|
|
6163
6205
|
z18.transform((v) => {
|
|
@@ -6289,6 +6331,10 @@ var CreateEntityIntervalRequestBody = {
|
|
|
6289
6331
|
Month: "month",
|
|
6290
6332
|
Year: "year"
|
|
6291
6333
|
};
|
|
6334
|
+
var CreateEntityAnchorRequestBody = {
|
|
6335
|
+
BillingCycle: "billing_cycle",
|
|
6336
|
+
Utc: "utc"
|
|
6337
|
+
};
|
|
6292
6338
|
var CreateEntityThresholdTypeRequestBody = {
|
|
6293
6339
|
Usage: "usage",
|
|
6294
6340
|
UsagePercentage: "usage_percentage",
|
|
@@ -6331,6 +6377,10 @@ var CreateEntityIntervalResponse = {
|
|
|
6331
6377
|
Month: "month",
|
|
6332
6378
|
Year: "year"
|
|
6333
6379
|
};
|
|
6380
|
+
var CreateEntityAnchorResponse = {
|
|
6381
|
+
BillingCycle: "billing_cycle",
|
|
6382
|
+
Utc: "utc"
|
|
6383
|
+
};
|
|
6334
6384
|
var CreateEntityUsageLimitSource = {
|
|
6335
6385
|
Customer: "customer",
|
|
6336
6386
|
Plan: "plan"
|
|
@@ -6372,6 +6422,7 @@ var CreateEntitySpendLimitRequestBody$outboundSchema = z19.pipe(
|
|
|
6372
6422
|
})
|
|
6373
6423
|
);
|
|
6374
6424
|
var CreateEntityIntervalRequestBody$outboundSchema = z19.enum(CreateEntityIntervalRequestBody);
|
|
6425
|
+
var CreateEntityAnchorRequestBody$outboundSchema = z19.enum(CreateEntityAnchorRequestBody);
|
|
6375
6426
|
var CreateEntityProperties$outboundSchema = smartUnion([z19.string(), z19.number(), z19.boolean()]);
|
|
6376
6427
|
var CreateEntityFilterRequestBody$outboundSchema = z19.object({
|
|
6377
6428
|
properties: z19.record(
|
|
@@ -6385,6 +6436,7 @@ var CreateEntityUsageLimitRequestBody$outboundSchema = z19.pipe(
|
|
|
6385
6436
|
enabled: z19._default(z19.boolean(), true),
|
|
6386
6437
|
limit: z19.number(),
|
|
6387
6438
|
interval: CreateEntityIntervalRequestBody$outboundSchema,
|
|
6439
|
+
anchor: z19.optional(CreateEntityAnchorRequestBody$outboundSchema),
|
|
6388
6440
|
filter: z19.optional(
|
|
6389
6441
|
z19.lazy(() => CreateEntityFilterRequestBody$outboundSchema)
|
|
6390
6442
|
)
|
|
@@ -6625,6 +6677,7 @@ var CreateEntitySpendLimitResponse$inboundSchema = z19.pipe(
|
|
|
6625
6677
|
})
|
|
6626
6678
|
);
|
|
6627
6679
|
var CreateEntityIntervalResponse$inboundSchema = inboundSchema(CreateEntityIntervalResponse);
|
|
6680
|
+
var CreateEntityAnchorResponse$inboundSchema = inboundSchema(CreateEntityAnchorResponse);
|
|
6628
6681
|
var CreateEntityFilterResponse$inboundSchema = z19.object({
|
|
6629
6682
|
properties: z19.record(z19.string(), string5())
|
|
6630
6683
|
});
|
|
@@ -6635,6 +6688,7 @@ var CreateEntityUsageLimitResponse$inboundSchema = z19.pipe(
|
|
|
6635
6688
|
enabled: z19._default(boolean2(), true),
|
|
6636
6689
|
limit: number2(),
|
|
6637
6690
|
interval: CreateEntityIntervalResponse$inboundSchema,
|
|
6691
|
+
anchor: optional3(CreateEntityAnchorResponse$inboundSchema),
|
|
6638
6692
|
filter: optional3(
|
|
6639
6693
|
z19.lazy(() => CreateEntityFilterResponse$inboundSchema)
|
|
6640
6694
|
),
|
|
@@ -7067,6 +7121,10 @@ var CreatePlanUsageLimitIntervalRequestBody = {
|
|
|
7067
7121
|
Month: "month",
|
|
7068
7122
|
Year: "year"
|
|
7069
7123
|
};
|
|
7124
|
+
var CreatePlanAnchorRequestBody = {
|
|
7125
|
+
BillingCycle: "billing_cycle",
|
|
7126
|
+
Utc: "utc"
|
|
7127
|
+
};
|
|
7070
7128
|
var CreatePlanThresholdTypeRequestBody = {
|
|
7071
7129
|
Usage: "usage",
|
|
7072
7130
|
UsagePercentage: "usage_percentage",
|
|
@@ -7233,6 +7291,10 @@ var CreatePlanVariantDetailsUsageLimitInterval = {
|
|
|
7233
7291
|
Month: "month",
|
|
7234
7292
|
Year: "year"
|
|
7235
7293
|
};
|
|
7294
|
+
var CreatePlanVariantDetailsAnchor = {
|
|
7295
|
+
BillingCycle: "billing_cycle",
|
|
7296
|
+
Utc: "utc"
|
|
7297
|
+
};
|
|
7236
7298
|
var CreatePlanVariantDetailsThresholdType = {
|
|
7237
7299
|
Usage: "usage",
|
|
7238
7300
|
UsagePercentage: "usage_percentage",
|
|
@@ -7255,6 +7317,10 @@ var CreatePlanUsageLimitIntervalResponse = {
|
|
|
7255
7317
|
Month: "month",
|
|
7256
7318
|
Year: "year"
|
|
7257
7319
|
};
|
|
7320
|
+
var CreatePlanAnchorResponse = {
|
|
7321
|
+
BillingCycle: "billing_cycle",
|
|
7322
|
+
Utc: "utc"
|
|
7323
|
+
};
|
|
7258
7324
|
var CreatePlanThresholdTypeResponse = {
|
|
7259
7325
|
Usage: "usage",
|
|
7260
7326
|
UsagePercentage: "usage_percentage",
|
|
@@ -7742,6 +7808,7 @@ var CreatePlanSpendLimitRequestBody$outboundSchema = z21.pipe(
|
|
|
7742
7808
|
var CreatePlanUsageLimitIntervalRequestBody$outboundSchema = z21.enum(
|
|
7743
7809
|
CreatePlanUsageLimitIntervalRequestBody
|
|
7744
7810
|
);
|
|
7811
|
+
var CreatePlanAnchorRequestBody$outboundSchema = z21.enum(CreatePlanAnchorRequestBody);
|
|
7745
7812
|
var CreatePlanProperties$outboundSchema = smartUnion([z21.string(), z21.number(), z21.boolean()]);
|
|
7746
7813
|
var CreatePlanFilterRequestBody$outboundSchema = z21.object({
|
|
7747
7814
|
properties: z21.record(
|
|
@@ -7755,6 +7822,7 @@ var CreatePlanUsageLimitRequestBody$outboundSchema = z21.pipe(
|
|
|
7755
7822
|
enabled: z21._default(z21.boolean(), true),
|
|
7756
7823
|
limit: z21.number(),
|
|
7757
7824
|
interval: CreatePlanUsageLimitIntervalRequestBody$outboundSchema,
|
|
7825
|
+
anchor: z21.optional(CreatePlanAnchorRequestBody$outboundSchema),
|
|
7758
7826
|
filter: z21.optional(
|
|
7759
7827
|
z21.lazy(() => CreatePlanFilterRequestBody$outboundSchema)
|
|
7760
7828
|
)
|
|
@@ -8331,6 +8399,7 @@ var CreatePlanVariantDetailsSpendLimit$inboundSchema = z21.pipe(
|
|
|
8331
8399
|
})
|
|
8332
8400
|
);
|
|
8333
8401
|
var CreatePlanVariantDetailsUsageLimitInterval$inboundSchema = inboundSchema(CreatePlanVariantDetailsUsageLimitInterval);
|
|
8402
|
+
var CreatePlanVariantDetailsAnchor$inboundSchema = inboundSchema(CreatePlanVariantDetailsAnchor);
|
|
8334
8403
|
var CreatePlanVariantDetailsFilter$inboundSchema = z21.object({
|
|
8335
8404
|
properties: z21.record(z21.string(), string5())
|
|
8336
8405
|
});
|
|
@@ -8340,6 +8409,7 @@ var CreatePlanVariantDetailsUsageLimit$inboundSchema = z21.pipe(
|
|
|
8340
8409
|
enabled: z21._default(boolean2(), true),
|
|
8341
8410
|
limit: number2(),
|
|
8342
8411
|
interval: CreatePlanVariantDetailsUsageLimitInterval$inboundSchema,
|
|
8412
|
+
anchor: optional3(CreatePlanVariantDetailsAnchor$inboundSchema),
|
|
8343
8413
|
filter: optional3(
|
|
8344
8414
|
z21.lazy(() => CreatePlanVariantDetailsFilter$inboundSchema)
|
|
8345
8415
|
)
|
|
@@ -8506,6 +8576,7 @@ var CreatePlanSpendLimitResponse$inboundSchema = z21.pipe(
|
|
|
8506
8576
|
})
|
|
8507
8577
|
);
|
|
8508
8578
|
var CreatePlanUsageLimitIntervalResponse$inboundSchema = inboundSchema(CreatePlanUsageLimitIntervalResponse);
|
|
8579
|
+
var CreatePlanAnchorResponse$inboundSchema = inboundSchema(CreatePlanAnchorResponse);
|
|
8509
8580
|
var CreatePlanFilterResponse$inboundSchema = z21.object({
|
|
8510
8581
|
properties: z21.record(z21.string(), string5())
|
|
8511
8582
|
});
|
|
@@ -8515,6 +8586,7 @@ var CreatePlanUsageLimitResponse$inboundSchema = z21.pipe(
|
|
|
8515
8586
|
enabled: z21._default(boolean2(), true),
|
|
8516
8587
|
limit: number2(),
|
|
8517
8588
|
interval: CreatePlanUsageLimitIntervalResponse$inboundSchema,
|
|
8589
|
+
anchor: optional3(CreatePlanAnchorResponse$inboundSchema),
|
|
8518
8590
|
filter: optional3(
|
|
8519
8591
|
z21.lazy(() => CreatePlanFilterResponse$inboundSchema)
|
|
8520
8592
|
)
|
|
@@ -9123,6 +9195,10 @@ var UnscheduledPlanUsageLimitInterval = {
|
|
|
9123
9195
|
Month: "month",
|
|
9124
9196
|
Year: "year"
|
|
9125
9197
|
};
|
|
9198
|
+
var UnscheduledPlanAnchor = {
|
|
9199
|
+
BillingCycle: "billing_cycle",
|
|
9200
|
+
Utc: "utc"
|
|
9201
|
+
};
|
|
9126
9202
|
var UnscheduledPlanThresholdType = {
|
|
9127
9203
|
Usage: "usage",
|
|
9128
9204
|
UsagePercentage: "usage_percentage",
|
|
@@ -9268,6 +9344,10 @@ var PhaseStartUsageLimitInterval = {
|
|
|
9268
9344
|
Month: "month",
|
|
9269
9345
|
Year: "year"
|
|
9270
9346
|
};
|
|
9347
|
+
var PhaseStartAnchor = {
|
|
9348
|
+
BillingCycle: "billing_cycle",
|
|
9349
|
+
Utc: "utc"
|
|
9350
|
+
};
|
|
9271
9351
|
var PhaseStartThresholdType = {
|
|
9272
9352
|
Usage: "usage",
|
|
9273
9353
|
UsagePercentage: "usage_percentage",
|
|
@@ -9716,6 +9796,7 @@ var UnscheduledPlanSpendLimit$outboundSchema = z25.pipe(
|
|
|
9716
9796
|
})
|
|
9717
9797
|
);
|
|
9718
9798
|
var UnscheduledPlanUsageLimitInterval$outboundSchema = z25.enum(UnscheduledPlanUsageLimitInterval);
|
|
9799
|
+
var UnscheduledPlanAnchor$outboundSchema = z25.enum(UnscheduledPlanAnchor);
|
|
9719
9800
|
var CreateScheduleProperties$outboundSchema = smartUnion([z25.string(), z25.number(), z25.boolean()]);
|
|
9720
9801
|
var UnscheduledPlanFilter$outboundSchema = z25.object({
|
|
9721
9802
|
properties: z25.record(
|
|
@@ -9729,6 +9810,7 @@ var UnscheduledPlanUsageLimit$outboundSchema = z25.pipe(
|
|
|
9729
9810
|
enabled: z25._default(z25.boolean(), true),
|
|
9730
9811
|
limit: z25.number(),
|
|
9731
9812
|
interval: UnscheduledPlanUsageLimitInterval$outboundSchema,
|
|
9813
|
+
anchor: z25.optional(UnscheduledPlanAnchor$outboundSchema),
|
|
9732
9814
|
filter: z25.optional(z25.lazy(() => UnscheduledPlanFilter$outboundSchema))
|
|
9733
9815
|
}),
|
|
9734
9816
|
z25.transform((v) => {
|
|
@@ -10182,6 +10264,7 @@ var PhaseStartSpendLimit$outboundSchema = z25.pipe(
|
|
|
10182
10264
|
})
|
|
10183
10265
|
);
|
|
10184
10266
|
var PhaseStartUsageLimitInterval$outboundSchema = z25.enum(PhaseStartUsageLimitInterval);
|
|
10267
|
+
var PhaseStartAnchor$outboundSchema = z25.enum(PhaseStartAnchor);
|
|
10185
10268
|
var PhaseStartFilter$outboundSchema = z25.object({
|
|
10186
10269
|
properties: z25.record(z25.string(), z25.any())
|
|
10187
10270
|
});
|
|
@@ -10191,6 +10274,7 @@ var PhaseStartUsageLimit$outboundSchema = z25.pipe(
|
|
|
10191
10274
|
enabled: z25._default(z25.boolean(), true),
|
|
10192
10275
|
limit: z25.number(),
|
|
10193
10276
|
interval: PhaseStartUsageLimitInterval$outboundSchema,
|
|
10277
|
+
anchor: z25.optional(PhaseStartAnchor$outboundSchema),
|
|
10194
10278
|
filter: z25.optional(z25.lazy(() => PhaseStartFilter$outboundSchema))
|
|
10195
10279
|
}),
|
|
10196
10280
|
z25.transform((v) => {
|
|
@@ -10338,6 +10422,7 @@ var CreateScheduleParams$outboundSchema = z25.pipe(
|
|
|
10338
10422
|
"if_required"
|
|
10339
10423
|
),
|
|
10340
10424
|
billingBehavior: z25.optional(CreateScheduleBillingBehavior$outboundSchema),
|
|
10425
|
+
noBillingChanges: z25.optional(z25.boolean()),
|
|
10341
10426
|
billingCycleAnchor: z25.optional(z25.literal("now")),
|
|
10342
10427
|
enablePlanImmediately: z25.optional(z25.boolean()),
|
|
10343
10428
|
preserveAddOns: z25.optional(z25.boolean()),
|
|
@@ -10356,6 +10441,7 @@ var CreateScheduleParams$outboundSchema = z25.pipe(
|
|
|
10356
10441
|
checkoutSessionParams: "checkout_session_params",
|
|
10357
10442
|
redirectMode: "redirect_mode",
|
|
10358
10443
|
billingBehavior: "billing_behavior",
|
|
10444
|
+
noBillingChanges: "no_billing_changes",
|
|
10359
10445
|
billingCycleAnchor: "billing_cycle_anchor",
|
|
10360
10446
|
enablePlanImmediately: "enable_plan_immediately",
|
|
10361
10447
|
preserveAddOns: "preserve_add_ons",
|
|
@@ -10476,6 +10562,10 @@ var CustomerUsageLimitInterval = {
|
|
|
10476
10562
|
Month: "month",
|
|
10477
10563
|
Year: "year"
|
|
10478
10564
|
};
|
|
10565
|
+
var CustomerAnchor = {
|
|
10566
|
+
BillingCycle: "billing_cycle",
|
|
10567
|
+
Utc: "utc"
|
|
10568
|
+
};
|
|
10479
10569
|
var UsageLimitSource = {
|
|
10480
10570
|
Customer: "customer",
|
|
10481
10571
|
Plan: "plan"
|
|
@@ -10609,6 +10699,7 @@ var CustomerSpendLimit$inboundSchema = z27.pipe(
|
|
|
10609
10699
|
})
|
|
10610
10700
|
);
|
|
10611
10701
|
var CustomerUsageLimitInterval$inboundSchema = inboundSchema(CustomerUsageLimitInterval);
|
|
10702
|
+
var CustomerAnchor$inboundSchema = inboundSchema(CustomerAnchor);
|
|
10612
10703
|
var CustomerFilter$inboundSchema = z27.object({
|
|
10613
10704
|
properties: z27.record(z27.string(), string5())
|
|
10614
10705
|
});
|
|
@@ -10619,6 +10710,7 @@ var CustomerUsageLimit$inboundSchema = z27.pipe(
|
|
|
10619
10710
|
enabled: z27._default(boolean2(), true),
|
|
10620
10711
|
limit: number2(),
|
|
10621
10712
|
interval: CustomerUsageLimitInterval$inboundSchema,
|
|
10713
|
+
anchor: optional3(CustomerAnchor$inboundSchema),
|
|
10622
10714
|
filter: optional3(z27.lazy(() => CustomerFilter$inboundSchema)),
|
|
10623
10715
|
usage: optional3(number2()),
|
|
10624
10716
|
source: optional3(UsageLimitSource$inboundSchema)
|
|
@@ -11290,6 +11382,10 @@ var GetCustomerUsageLimitInterval = {
|
|
|
11290
11382
|
Month: "month",
|
|
11291
11383
|
Year: "year"
|
|
11292
11384
|
};
|
|
11385
|
+
var GetCustomerAnchor = {
|
|
11386
|
+
BillingCycle: "billing_cycle",
|
|
11387
|
+
Utc: "utc"
|
|
11388
|
+
};
|
|
11293
11389
|
var GetCustomerUsageLimitSource = {
|
|
11294
11390
|
Customer: "customer",
|
|
11295
11391
|
Plan: "plan"
|
|
@@ -11434,6 +11530,7 @@ var GetCustomerSpendLimit$inboundSchema = z36.pipe(
|
|
|
11434
11530
|
})
|
|
11435
11531
|
);
|
|
11436
11532
|
var GetCustomerUsageLimitInterval$inboundSchema = inboundSchema(GetCustomerUsageLimitInterval);
|
|
11533
|
+
var GetCustomerAnchor$inboundSchema = inboundSchema(GetCustomerAnchor);
|
|
11437
11534
|
var GetCustomerFilter$inboundSchema = z36.object({
|
|
11438
11535
|
properties: z36.record(z36.string(), string5())
|
|
11439
11536
|
});
|
|
@@ -11444,6 +11541,7 @@ var GetCustomerUsageLimit$inboundSchema = z36.pipe(
|
|
|
11444
11541
|
enabled: z36._default(boolean2(), true),
|
|
11445
11542
|
limit: number2(),
|
|
11446
11543
|
interval: GetCustomerUsageLimitInterval$inboundSchema,
|
|
11544
|
+
anchor: optional3(GetCustomerAnchor$inboundSchema),
|
|
11447
11545
|
filter: optional3(z36.lazy(() => GetCustomerFilter$inboundSchema)),
|
|
11448
11546
|
usage: optional3(number2()),
|
|
11449
11547
|
source: optional3(GetCustomerUsageLimitSource$inboundSchema)
|
|
@@ -11959,6 +12057,10 @@ var GetEntityInterval = {
|
|
|
11959
12057
|
Month: "month",
|
|
11960
12058
|
Year: "year"
|
|
11961
12059
|
};
|
|
12060
|
+
var GetEntityAnchor = {
|
|
12061
|
+
BillingCycle: "billing_cycle",
|
|
12062
|
+
Utc: "utc"
|
|
12063
|
+
};
|
|
11962
12064
|
var GetEntityUsageLimitSource = {
|
|
11963
12065
|
Customer: "customer",
|
|
11964
12066
|
Plan: "plan"
|
|
@@ -12151,6 +12253,7 @@ var GetEntitySpendLimit$inboundSchema = z37.pipe(
|
|
|
12151
12253
|
})
|
|
12152
12254
|
);
|
|
12153
12255
|
var GetEntityInterval$inboundSchema = inboundSchema(GetEntityInterval);
|
|
12256
|
+
var GetEntityAnchor$inboundSchema = inboundSchema(GetEntityAnchor);
|
|
12154
12257
|
var GetEntityFilter$inboundSchema = z37.object({
|
|
12155
12258
|
properties: z37.record(z37.string(), string5())
|
|
12156
12259
|
});
|
|
@@ -12161,6 +12264,7 @@ var GetEntityUsageLimit$inboundSchema = z37.pipe(
|
|
|
12161
12264
|
enabled: z37._default(boolean2(), true),
|
|
12162
12265
|
limit: number2(),
|
|
12163
12266
|
interval: GetEntityInterval$inboundSchema,
|
|
12267
|
+
anchor: optional3(GetEntityAnchor$inboundSchema),
|
|
12164
12268
|
filter: optional3(z37.lazy(() => GetEntityFilter$inboundSchema)),
|
|
12165
12269
|
usage: optional3(number2()),
|
|
12166
12270
|
source: optional3(GetEntityUsageLimitSource$inboundSchema)
|
|
@@ -12381,6 +12485,10 @@ var GetOrCreateCustomerUsageLimitInterval = {
|
|
|
12381
12485
|
Month: "month",
|
|
12382
12486
|
Year: "year"
|
|
12383
12487
|
};
|
|
12488
|
+
var GetOrCreateCustomerAnchor = {
|
|
12489
|
+
BillingCycle: "billing_cycle",
|
|
12490
|
+
Utc: "utc"
|
|
12491
|
+
};
|
|
12384
12492
|
var GetOrCreateCustomerThresholdType = {
|
|
12385
12493
|
Usage: "usage",
|
|
12386
12494
|
UsagePercentage: "usage_percentage",
|
|
@@ -12443,6 +12551,7 @@ var GetOrCreateCustomerSpendLimit$outboundSchema = z39.pipe(
|
|
|
12443
12551
|
var GetOrCreateCustomerUsageLimitInterval$outboundSchema = z39.enum(
|
|
12444
12552
|
GetOrCreateCustomerUsageLimitInterval
|
|
12445
12553
|
);
|
|
12554
|
+
var GetOrCreateCustomerAnchor$outboundSchema = z39.enum(GetOrCreateCustomerAnchor);
|
|
12446
12555
|
var GetOrCreateCustomerProperties$outboundSchema = smartUnion([z39.string(), z39.number(), z39.boolean()]);
|
|
12447
12556
|
var GetOrCreateCustomerFilter$outboundSchema = z39.object({
|
|
12448
12557
|
properties: z39.record(
|
|
@@ -12456,6 +12565,7 @@ var GetOrCreateCustomerUsageLimit$outboundSchema = z39.pipe(
|
|
|
12456
12565
|
enabled: z39._default(z39.boolean(), true),
|
|
12457
12566
|
limit: z39.number(),
|
|
12458
12567
|
interval: GetOrCreateCustomerUsageLimitInterval$outboundSchema,
|
|
12568
|
+
anchor: z39.optional(GetOrCreateCustomerAnchor$outboundSchema),
|
|
12459
12569
|
filter: z39.optional(z39.lazy(() => GetOrCreateCustomerFilter$outboundSchema))
|
|
12460
12570
|
}),
|
|
12461
12571
|
z39.transform((v) => {
|
|
@@ -12723,6 +12833,10 @@ var GetPlanVariantDetailsUsageLimitInterval = {
|
|
|
12723
12833
|
Month: "month",
|
|
12724
12834
|
Year: "year"
|
|
12725
12835
|
};
|
|
12836
|
+
var GetPlanVariantDetailsAnchor = {
|
|
12837
|
+
BillingCycle: "billing_cycle",
|
|
12838
|
+
Utc: "utc"
|
|
12839
|
+
};
|
|
12726
12840
|
var GetPlanVariantDetailsThresholdType = {
|
|
12727
12841
|
Usage: "usage",
|
|
12728
12842
|
UsagePercentage: "usage_percentage",
|
|
@@ -12745,6 +12859,10 @@ var GetPlanUsageLimitInterval = {
|
|
|
12745
12859
|
Month: "month",
|
|
12746
12860
|
Year: "year"
|
|
12747
12861
|
};
|
|
12862
|
+
var GetPlanAnchor = {
|
|
12863
|
+
BillingCycle: "billing_cycle",
|
|
12864
|
+
Utc: "utc"
|
|
12865
|
+
};
|
|
12748
12866
|
var GetPlanThresholdType = {
|
|
12749
12867
|
Usage: "usage",
|
|
12750
12868
|
UsagePercentage: "usage_percentage",
|
|
@@ -13234,6 +13352,7 @@ var GetPlanVariantDetailsSpendLimit$inboundSchema = z40.pipe(
|
|
|
13234
13352
|
})
|
|
13235
13353
|
);
|
|
13236
13354
|
var GetPlanVariantDetailsUsageLimitInterval$inboundSchema = inboundSchema(GetPlanVariantDetailsUsageLimitInterval);
|
|
13355
|
+
var GetPlanVariantDetailsAnchor$inboundSchema = inboundSchema(GetPlanVariantDetailsAnchor);
|
|
13237
13356
|
var GetPlanVariantDetailsFilter$inboundSchema = z40.object({
|
|
13238
13357
|
properties: z40.record(z40.string(), string5())
|
|
13239
13358
|
});
|
|
@@ -13243,6 +13362,7 @@ var GetPlanVariantDetailsUsageLimit$inboundSchema = z40.pipe(
|
|
|
13243
13362
|
enabled: z40._default(boolean2(), true),
|
|
13244
13363
|
limit: number2(),
|
|
13245
13364
|
interval: GetPlanVariantDetailsUsageLimitInterval$inboundSchema,
|
|
13365
|
+
anchor: optional3(GetPlanVariantDetailsAnchor$inboundSchema),
|
|
13246
13366
|
filter: optional3(
|
|
13247
13367
|
z40.lazy(() => GetPlanVariantDetailsFilter$inboundSchema)
|
|
13248
13368
|
)
|
|
@@ -13405,6 +13525,7 @@ var GetPlanSpendLimit$inboundSchema = z40.pipe(
|
|
|
13405
13525
|
})
|
|
13406
13526
|
);
|
|
13407
13527
|
var GetPlanUsageLimitInterval$inboundSchema = inboundSchema(GetPlanUsageLimitInterval);
|
|
13528
|
+
var GetPlanAnchor$inboundSchema = inboundSchema(GetPlanAnchor);
|
|
13408
13529
|
var GetPlanFilter$inboundSchema = z40.object({
|
|
13409
13530
|
properties: z40.record(z40.string(), string5())
|
|
13410
13531
|
});
|
|
@@ -13414,6 +13535,7 @@ var GetPlanUsageLimit$inboundSchema = z40.pipe(
|
|
|
13414
13535
|
enabled: z40._default(boolean2(), true),
|
|
13415
13536
|
limit: number2(),
|
|
13416
13537
|
interval: GetPlanUsageLimitInterval$inboundSchema,
|
|
13538
|
+
anchor: optional3(GetPlanAnchor$inboundSchema),
|
|
13417
13539
|
filter: optional3(z40.lazy(() => GetPlanFilter$inboundSchema))
|
|
13418
13540
|
}),
|
|
13419
13541
|
z40.transform((v) => {
|
|
@@ -14151,6 +14273,10 @@ var ListCustomersUsageLimitInterval = {
|
|
|
14151
14273
|
Month: "month",
|
|
14152
14274
|
Year: "year"
|
|
14153
14275
|
};
|
|
14276
|
+
var ListCustomersAnchor = {
|
|
14277
|
+
BillingCycle: "billing_cycle",
|
|
14278
|
+
Utc: "utc"
|
|
14279
|
+
};
|
|
14154
14280
|
var ListCustomersUsageLimitSource = {
|
|
14155
14281
|
Customer: "customer",
|
|
14156
14282
|
Plan: "plan"
|
|
@@ -14299,6 +14425,7 @@ var ListCustomersSpendLimit$inboundSchema = z47.pipe(
|
|
|
14299
14425
|
})
|
|
14300
14426
|
);
|
|
14301
14427
|
var ListCustomersUsageLimitInterval$inboundSchema = inboundSchema(ListCustomersUsageLimitInterval);
|
|
14428
|
+
var ListCustomersAnchor$inboundSchema = inboundSchema(ListCustomersAnchor);
|
|
14302
14429
|
var ListCustomersFilter$inboundSchema = z47.object({
|
|
14303
14430
|
properties: z47.record(z47.string(), string5())
|
|
14304
14431
|
});
|
|
@@ -14309,6 +14436,7 @@ var ListCustomersUsageLimit$inboundSchema = z47.pipe(
|
|
|
14309
14436
|
enabled: z47._default(boolean2(), true),
|
|
14310
14437
|
limit: number2(),
|
|
14311
14438
|
interval: ListCustomersUsageLimitInterval$inboundSchema,
|
|
14439
|
+
anchor: optional3(ListCustomersAnchor$inboundSchema),
|
|
14312
14440
|
filter: optional3(z47.lazy(() => ListCustomersFilter$inboundSchema)),
|
|
14313
14441
|
usage: optional3(number2()),
|
|
14314
14442
|
source: optional3(ListCustomersUsageLimitSource$inboundSchema)
|
|
@@ -14662,6 +14790,10 @@ var ListEntitiesInterval = {
|
|
|
14662
14790
|
Month: "month",
|
|
14663
14791
|
Year: "year"
|
|
14664
14792
|
};
|
|
14793
|
+
var ListEntitiesAnchor = {
|
|
14794
|
+
BillingCycle: "billing_cycle",
|
|
14795
|
+
Utc: "utc"
|
|
14796
|
+
};
|
|
14665
14797
|
var ListEntitiesUsageLimitSource = {
|
|
14666
14798
|
Customer: "customer",
|
|
14667
14799
|
Plan: "plan"
|
|
@@ -14868,6 +15000,7 @@ var ListEntitiesSpendLimit$inboundSchema = z48.pipe(
|
|
|
14868
15000
|
})
|
|
14869
15001
|
);
|
|
14870
15002
|
var ListEntitiesInterval$inboundSchema = inboundSchema(ListEntitiesInterval);
|
|
15003
|
+
var ListEntitiesAnchor$inboundSchema = inboundSchema(ListEntitiesAnchor);
|
|
14871
15004
|
var ListEntitiesFilter$inboundSchema = z48.object({
|
|
14872
15005
|
properties: z48.record(z48.string(), string5())
|
|
14873
15006
|
});
|
|
@@ -14878,6 +15011,7 @@ var ListEntitiesUsageLimit$inboundSchema = z48.pipe(
|
|
|
14878
15011
|
enabled: z48._default(boolean2(), true),
|
|
14879
15012
|
limit: number2(),
|
|
14880
15013
|
interval: ListEntitiesInterval$inboundSchema,
|
|
15014
|
+
anchor: optional3(ListEntitiesAnchor$inboundSchema),
|
|
14881
15015
|
filter: optional3(z48.lazy(() => ListEntitiesFilter$inboundSchema)),
|
|
14882
15016
|
usage: optional3(number2()),
|
|
14883
15017
|
source: optional3(ListEntitiesUsageLimitSource$inboundSchema)
|
|
@@ -15437,6 +15571,10 @@ var ListPlansVariantDetailsUsageLimitInterval = {
|
|
|
15437
15571
|
Month: "month",
|
|
15438
15572
|
Year: "year"
|
|
15439
15573
|
};
|
|
15574
|
+
var ListPlansVariantDetailsAnchor = {
|
|
15575
|
+
BillingCycle: "billing_cycle",
|
|
15576
|
+
Utc: "utc"
|
|
15577
|
+
};
|
|
15440
15578
|
var ListPlansVariantDetailsThresholdType = {
|
|
15441
15579
|
Usage: "usage",
|
|
15442
15580
|
UsagePercentage: "usage_percentage",
|
|
@@ -15459,6 +15597,10 @@ var ListPlansUsageLimitInterval = {
|
|
|
15459
15597
|
Month: "month",
|
|
15460
15598
|
Year: "year"
|
|
15461
15599
|
};
|
|
15600
|
+
var ListPlansAnchor = {
|
|
15601
|
+
BillingCycle: "billing_cycle",
|
|
15602
|
+
Utc: "utc"
|
|
15603
|
+
};
|
|
15462
15604
|
var ListPlansThresholdType = {
|
|
15463
15605
|
Usage: "usage",
|
|
15464
15606
|
UsagePercentage: "usage_percentage",
|
|
@@ -15940,6 +16082,7 @@ var ListPlansVariantDetailsSpendLimit$inboundSchema = z52.pipe(
|
|
|
15940
16082
|
})
|
|
15941
16083
|
);
|
|
15942
16084
|
var ListPlansVariantDetailsUsageLimitInterval$inboundSchema = inboundSchema(ListPlansVariantDetailsUsageLimitInterval);
|
|
16085
|
+
var ListPlansVariantDetailsAnchor$inboundSchema = inboundSchema(ListPlansVariantDetailsAnchor);
|
|
15943
16086
|
var ListPlansVariantDetailsFilter$inboundSchema = z52.object({
|
|
15944
16087
|
properties: z52.record(z52.string(), string5())
|
|
15945
16088
|
});
|
|
@@ -15949,6 +16092,7 @@ var ListPlansVariantDetailsUsageLimit$inboundSchema = z52.pipe(
|
|
|
15949
16092
|
enabled: z52._default(boolean2(), true),
|
|
15950
16093
|
limit: number2(),
|
|
15951
16094
|
interval: ListPlansVariantDetailsUsageLimitInterval$inboundSchema,
|
|
16095
|
+
anchor: optional3(ListPlansVariantDetailsAnchor$inboundSchema),
|
|
15952
16096
|
filter: optional3(
|
|
15953
16097
|
z52.lazy(() => ListPlansVariantDetailsFilter$inboundSchema)
|
|
15954
16098
|
)
|
|
@@ -16113,6 +16257,7 @@ var ListPlansSpendLimit$inboundSchema = z52.pipe(
|
|
|
16113
16257
|
})
|
|
16114
16258
|
);
|
|
16115
16259
|
var ListPlansUsageLimitInterval$inboundSchema = inboundSchema(ListPlansUsageLimitInterval);
|
|
16260
|
+
var ListPlansAnchor$inboundSchema = inboundSchema(ListPlansAnchor);
|
|
16116
16261
|
var ListPlansFilter$inboundSchema = z52.object({
|
|
16117
16262
|
properties: z52.record(z52.string(), string5())
|
|
16118
16263
|
});
|
|
@@ -16122,6 +16267,7 @@ var ListPlansUsageLimit$inboundSchema = z52.pipe(
|
|
|
16122
16267
|
enabled: z52._default(boolean2(), true),
|
|
16123
16268
|
limit: number2(),
|
|
16124
16269
|
interval: ListPlansUsageLimitInterval$inboundSchema,
|
|
16270
|
+
anchor: optional3(ListPlansAnchor$inboundSchema),
|
|
16125
16271
|
filter: optional3(z52.lazy(() => ListPlansFilter$inboundSchema))
|
|
16126
16272
|
}),
|
|
16127
16273
|
z52.transform((v) => {
|
|
@@ -16517,6 +16663,10 @@ var MultiAttachEntityDataInterval = {
|
|
|
16517
16663
|
Month: "month",
|
|
16518
16664
|
Year: "year"
|
|
16519
16665
|
};
|
|
16666
|
+
var MultiAttachAnchor = {
|
|
16667
|
+
BillingCycle: "billing_cycle",
|
|
16668
|
+
Utc: "utc"
|
|
16669
|
+
};
|
|
16520
16670
|
var MultiAttachThresholdType = {
|
|
16521
16671
|
Usage: "usage",
|
|
16522
16672
|
UsagePercentage: "usage_percentage",
|
|
@@ -16775,6 +16925,7 @@ var MultiAttachSpendLimit$outboundSchema = z56.pipe(
|
|
|
16775
16925
|
})
|
|
16776
16926
|
);
|
|
16777
16927
|
var MultiAttachEntityDataInterval$outboundSchema = z56.enum(MultiAttachEntityDataInterval);
|
|
16928
|
+
var MultiAttachAnchor$outboundSchema = z56.enum(MultiAttachAnchor);
|
|
16778
16929
|
var MultiAttachProperties$outboundSchema = smartUnion([z56.string(), z56.number(), z56.boolean()]);
|
|
16779
16930
|
var MultiAttachFilter$outboundSchema = z56.object({
|
|
16780
16931
|
properties: z56.record(
|
|
@@ -16788,6 +16939,7 @@ var MultiAttachUsageLimit$outboundSchema = z56.pipe(
|
|
|
16788
16939
|
enabled: z56._default(z56.boolean(), true),
|
|
16789
16940
|
limit: z56.number(),
|
|
16790
16941
|
interval: MultiAttachEntityDataInterval$outboundSchema,
|
|
16942
|
+
anchor: z56.optional(MultiAttachAnchor$outboundSchema),
|
|
16791
16943
|
filter: z56.optional(z56.lazy(() => MultiAttachFilter$outboundSchema))
|
|
16792
16944
|
}),
|
|
16793
16945
|
z56.transform((v) => {
|
|
@@ -17212,6 +17364,10 @@ var PreviewAttachUsageLimitInterval = {
|
|
|
17212
17364
|
Month: "month",
|
|
17213
17365
|
Year: "year"
|
|
17214
17366
|
};
|
|
17367
|
+
var PreviewAttachAnchor = {
|
|
17368
|
+
BillingCycle: "billing_cycle",
|
|
17369
|
+
Utc: "utc"
|
|
17370
|
+
};
|
|
17215
17371
|
var PreviewAttachThresholdType = {
|
|
17216
17372
|
Usage: "usage",
|
|
17217
17373
|
UsagePercentage: "usage_percentage",
|
|
@@ -17700,6 +17856,7 @@ var PreviewAttachSpendLimit$outboundSchema = z59.pipe(
|
|
|
17700
17856
|
})
|
|
17701
17857
|
);
|
|
17702
17858
|
var PreviewAttachUsageLimitInterval$outboundSchema = z59.enum(PreviewAttachUsageLimitInterval);
|
|
17859
|
+
var PreviewAttachAnchor$outboundSchema = z59.enum(PreviewAttachAnchor);
|
|
17703
17860
|
var PreviewAttachProperties$outboundSchema = smartUnion([z59.string(), z59.number(), z59.boolean()]);
|
|
17704
17861
|
var PreviewAttachFilter$outboundSchema = z59.object({
|
|
17705
17862
|
properties: z59.record(
|
|
@@ -17713,6 +17870,7 @@ var PreviewAttachUsageLimit$outboundSchema = z59.pipe(
|
|
|
17713
17870
|
enabled: z59._default(z59.boolean(), true),
|
|
17714
17871
|
limit: z59.number(),
|
|
17715
17872
|
interval: PreviewAttachUsageLimitInterval$outboundSchema,
|
|
17873
|
+
anchor: z59.optional(PreviewAttachAnchor$outboundSchema),
|
|
17716
17874
|
filter: z59.optional(z59.lazy(() => PreviewAttachFilter$outboundSchema))
|
|
17717
17875
|
}),
|
|
17718
17876
|
z59.transform((v) => {
|
|
@@ -18503,6 +18661,10 @@ var PreviewMultiAttachEntityDataInterval = {
|
|
|
18503
18661
|
Month: "month",
|
|
18504
18662
|
Year: "year"
|
|
18505
18663
|
};
|
|
18664
|
+
var PreviewMultiAttachAnchor = {
|
|
18665
|
+
BillingCycle: "billing_cycle",
|
|
18666
|
+
Utc: "utc"
|
|
18667
|
+
};
|
|
18506
18668
|
var PreviewMultiAttachThresholdType = {
|
|
18507
18669
|
Usage: "usage",
|
|
18508
18670
|
UsagePercentage: "usage_percentage",
|
|
@@ -18780,6 +18942,7 @@ var PreviewMultiAttachSpendLimit$outboundSchema = z60.pipe(
|
|
|
18780
18942
|
})
|
|
18781
18943
|
);
|
|
18782
18944
|
var PreviewMultiAttachEntityDataInterval$outboundSchema = z60.enum(PreviewMultiAttachEntityDataInterval);
|
|
18945
|
+
var PreviewMultiAttachAnchor$outboundSchema = z60.enum(PreviewMultiAttachAnchor);
|
|
18783
18946
|
var PreviewMultiAttachProperties$outboundSchema = smartUnion([z60.string(), z60.number(), z60.boolean()]);
|
|
18784
18947
|
var PreviewMultiAttachFilter$outboundSchema = z60.object({
|
|
18785
18948
|
properties: z60.record(
|
|
@@ -18793,6 +18956,7 @@ var PreviewMultiAttachUsageLimit$outboundSchema = z60.pipe(
|
|
|
18793
18956
|
enabled: z60._default(z60.boolean(), true),
|
|
18794
18957
|
limit: z60.number(),
|
|
18795
18958
|
interval: PreviewMultiAttachEntityDataInterval$outboundSchema,
|
|
18959
|
+
anchor: z60.optional(PreviewMultiAttachAnchor$outboundSchema),
|
|
18796
18960
|
filter: z60.optional(z60.lazy(() => PreviewMultiAttachFilter$outboundSchema))
|
|
18797
18961
|
}),
|
|
18798
18962
|
z60.transform((v) => {
|
|
@@ -19590,6 +19754,10 @@ var PreviewUpdateUsageLimitInterval = {
|
|
|
19590
19754
|
Month: "month",
|
|
19591
19755
|
Year: "year"
|
|
19592
19756
|
};
|
|
19757
|
+
var PreviewUpdateAnchor = {
|
|
19758
|
+
BillingCycle: "billing_cycle",
|
|
19759
|
+
Utc: "utc"
|
|
19760
|
+
};
|
|
19593
19761
|
var PreviewUpdateThresholdType = {
|
|
19594
19762
|
Usage: "usage",
|
|
19595
19763
|
UsagePercentage: "usage_percentage",
|
|
@@ -20087,6 +20255,7 @@ var PreviewUpdateSpendLimit$outboundSchema = z62.pipe(
|
|
|
20087
20255
|
})
|
|
20088
20256
|
);
|
|
20089
20257
|
var PreviewUpdateUsageLimitInterval$outboundSchema = z62.enum(PreviewUpdateUsageLimitInterval);
|
|
20258
|
+
var PreviewUpdateAnchor$outboundSchema = z62.enum(PreviewUpdateAnchor);
|
|
20090
20259
|
var PreviewUpdateProperties$outboundSchema = smartUnion([z62.string(), z62.number(), z62.boolean()]);
|
|
20091
20260
|
var PreviewUpdateFilter$outboundSchema = z62.object({
|
|
20092
20261
|
properties: z62.record(
|
|
@@ -20100,6 +20269,7 @@ var PreviewUpdateUsageLimit$outboundSchema = z62.pipe(
|
|
|
20100
20269
|
enabled: z62._default(z62.boolean(), true),
|
|
20101
20270
|
limit: z62.number(),
|
|
20102
20271
|
interval: PreviewUpdateUsageLimitInterval$outboundSchema,
|
|
20272
|
+
anchor: z62.optional(PreviewUpdateAnchor$outboundSchema),
|
|
20103
20273
|
filter: z62.optional(z62.lazy(() => PreviewUpdateFilter$outboundSchema))
|
|
20104
20274
|
}),
|
|
20105
20275
|
z62.transform((v) => {
|
|
@@ -21040,6 +21210,10 @@ var SetupPaymentUsageLimitInterval = {
|
|
|
21040
21210
|
Month: "month",
|
|
21041
21211
|
Year: "year"
|
|
21042
21212
|
};
|
|
21213
|
+
var SetupPaymentAnchor = {
|
|
21214
|
+
BillingCycle: "billing_cycle",
|
|
21215
|
+
Utc: "utc"
|
|
21216
|
+
};
|
|
21043
21217
|
var SetupPaymentThresholdType = {
|
|
21044
21218
|
Usage: "usage",
|
|
21045
21219
|
UsagePercentage: "usage_percentage",
|
|
@@ -21511,6 +21685,7 @@ var SetupPaymentSpendLimit$outboundSchema = z68.pipe(
|
|
|
21511
21685
|
})
|
|
21512
21686
|
);
|
|
21513
21687
|
var SetupPaymentUsageLimitInterval$outboundSchema = z68.enum(SetupPaymentUsageLimitInterval);
|
|
21688
|
+
var SetupPaymentAnchor$outboundSchema = z68.enum(SetupPaymentAnchor);
|
|
21514
21689
|
var SetupPaymentProperties$outboundSchema = smartUnion([z68.string(), z68.number(), z68.boolean()]);
|
|
21515
21690
|
var SetupPaymentFilter$outboundSchema = z68.object({
|
|
21516
21691
|
properties: z68.record(
|
|
@@ -21524,6 +21699,7 @@ var SetupPaymentUsageLimit$outboundSchema = z68.pipe(
|
|
|
21524
21699
|
enabled: z68._default(z68.boolean(), true),
|
|
21525
21700
|
limit: z68.number(),
|
|
21526
21701
|
interval: SetupPaymentUsageLimitInterval$outboundSchema,
|
|
21702
|
+
anchor: z68.optional(SetupPaymentAnchor$outboundSchema),
|
|
21527
21703
|
filter: z68.optional(z68.lazy(() => SetupPaymentFilter$outboundSchema))
|
|
21528
21704
|
}),
|
|
21529
21705
|
z68.transform((v) => {
|
|
@@ -22474,6 +22650,10 @@ var UpdateCustomerUsageLimitIntervalRequestBody = {
|
|
|
22474
22650
|
Month: "month",
|
|
22475
22651
|
Year: "year"
|
|
22476
22652
|
};
|
|
22653
|
+
var UpdateCustomerAnchorRequestBody = {
|
|
22654
|
+
BillingCycle: "billing_cycle",
|
|
22655
|
+
Utc: "utc"
|
|
22656
|
+
};
|
|
22477
22657
|
var UpdateCustomerThresholdTypeRequestBody = {
|
|
22478
22658
|
Usage: "usage",
|
|
22479
22659
|
UsagePercentage: "usage_percentage",
|
|
@@ -22514,6 +22694,10 @@ var UpdateCustomerUsageLimitIntervalResponse = {
|
|
|
22514
22694
|
Month: "month",
|
|
22515
22695
|
Year: "year"
|
|
22516
22696
|
};
|
|
22697
|
+
var UpdateCustomerAnchorResponse = {
|
|
22698
|
+
BillingCycle: "billing_cycle",
|
|
22699
|
+
Utc: "utc"
|
|
22700
|
+
};
|
|
22517
22701
|
var UpdateCustomerUsageLimitSource = {
|
|
22518
22702
|
Customer: "customer",
|
|
22519
22703
|
Plan: "plan"
|
|
@@ -22606,6 +22790,7 @@ var UpdateCustomerSpendLimitRequestBody$outboundSchema = z73.pipe(
|
|
|
22606
22790
|
var UpdateCustomerUsageLimitIntervalRequestBody$outboundSchema = z73.enum(
|
|
22607
22791
|
UpdateCustomerUsageLimitIntervalRequestBody
|
|
22608
22792
|
);
|
|
22793
|
+
var UpdateCustomerAnchorRequestBody$outboundSchema = z73.enum(UpdateCustomerAnchorRequestBody);
|
|
22609
22794
|
var UpdateCustomerProperties$outboundSchema = smartUnion([z73.string(), z73.number(), z73.boolean()]);
|
|
22610
22795
|
var UpdateCustomerFilterRequestBody$outboundSchema = z73.object({
|
|
22611
22796
|
properties: z73.record(
|
|
@@ -22619,6 +22804,7 @@ var UpdateCustomerUsageLimitRequestBody$outboundSchema = z73.pipe(
|
|
|
22619
22804
|
enabled: z73._default(z73.boolean(), true),
|
|
22620
22805
|
limit: z73.number(),
|
|
22621
22806
|
interval: UpdateCustomerUsageLimitIntervalRequestBody$outboundSchema,
|
|
22807
|
+
anchor: z73.optional(UpdateCustomerAnchorRequestBody$outboundSchema),
|
|
22622
22808
|
filter: z73.optional(
|
|
22623
22809
|
z73.lazy(() => UpdateCustomerFilterRequestBody$outboundSchema)
|
|
22624
22810
|
)
|
|
@@ -22815,6 +23001,7 @@ var UpdateCustomerSpendLimitResponse$inboundSchema = z73.pipe(
|
|
|
22815
23001
|
})
|
|
22816
23002
|
);
|
|
22817
23003
|
var UpdateCustomerUsageLimitIntervalResponse$inboundSchema = inboundSchema(UpdateCustomerUsageLimitIntervalResponse);
|
|
23004
|
+
var UpdateCustomerAnchorResponse$inboundSchema = inboundSchema(UpdateCustomerAnchorResponse);
|
|
22818
23005
|
var UpdateCustomerFilterResponse$inboundSchema = z73.object({
|
|
22819
23006
|
properties: z73.record(z73.string(), string5())
|
|
22820
23007
|
});
|
|
@@ -22825,6 +23012,7 @@ var UpdateCustomerUsageLimitResponse$inboundSchema = z73.pipe(
|
|
|
22825
23012
|
enabled: z73._default(boolean2(), true),
|
|
22826
23013
|
limit: number2(),
|
|
22827
23014
|
interval: UpdateCustomerUsageLimitIntervalResponse$inboundSchema,
|
|
23015
|
+
anchor: optional3(UpdateCustomerAnchorResponse$inboundSchema),
|
|
22828
23016
|
filter: optional3(
|
|
22829
23017
|
z73.lazy(() => UpdateCustomerFilterResponse$inboundSchema)
|
|
22830
23018
|
),
|
|
@@ -23141,6 +23329,10 @@ var UpdateEntityIntervalRequestBody = {
|
|
|
23141
23329
|
Month: "month",
|
|
23142
23330
|
Year: "year"
|
|
23143
23331
|
};
|
|
23332
|
+
var UpdateEntityAnchorRequestBody = {
|
|
23333
|
+
BillingCycle: "billing_cycle",
|
|
23334
|
+
Utc: "utc"
|
|
23335
|
+
};
|
|
23144
23336
|
var UpdateEntityThresholdTypeRequestBody = {
|
|
23145
23337
|
Usage: "usage",
|
|
23146
23338
|
UsagePercentage: "usage_percentage",
|
|
@@ -23183,6 +23375,10 @@ var UpdateEntityIntervalResponse = {
|
|
|
23183
23375
|
Month: "month",
|
|
23184
23376
|
Year: "year"
|
|
23185
23377
|
};
|
|
23378
|
+
var UpdateEntityAnchorResponse = {
|
|
23379
|
+
BillingCycle: "billing_cycle",
|
|
23380
|
+
Utc: "utc"
|
|
23381
|
+
};
|
|
23186
23382
|
var UpdateEntityUsageLimitSource = {
|
|
23187
23383
|
Customer: "customer",
|
|
23188
23384
|
Plan: "plan"
|
|
@@ -23224,6 +23420,7 @@ var UpdateEntitySpendLimitRequestBody$outboundSchema = z74.pipe(
|
|
|
23224
23420
|
})
|
|
23225
23421
|
);
|
|
23226
23422
|
var UpdateEntityIntervalRequestBody$outboundSchema = z74.enum(UpdateEntityIntervalRequestBody);
|
|
23423
|
+
var UpdateEntityAnchorRequestBody$outboundSchema = z74.enum(UpdateEntityAnchorRequestBody);
|
|
23227
23424
|
var UpdateEntityProperties$outboundSchema = smartUnion([z74.string(), z74.number(), z74.boolean()]);
|
|
23228
23425
|
var UpdateEntityFilterRequestBody$outboundSchema = z74.object({
|
|
23229
23426
|
properties: z74.record(
|
|
@@ -23237,6 +23434,7 @@ var UpdateEntityUsageLimitRequestBody$outboundSchema = z74.pipe(
|
|
|
23237
23434
|
enabled: z74._default(z74.boolean(), true),
|
|
23238
23435
|
limit: z74.number(),
|
|
23239
23436
|
interval: UpdateEntityIntervalRequestBody$outboundSchema,
|
|
23437
|
+
anchor: z74.optional(UpdateEntityAnchorRequestBody$outboundSchema),
|
|
23240
23438
|
filter: z74.optional(
|
|
23241
23439
|
z74.lazy(() => UpdateEntityFilterRequestBody$outboundSchema)
|
|
23242
23440
|
)
|
|
@@ -23472,6 +23670,7 @@ var UpdateEntitySpendLimitResponse$inboundSchema = z74.pipe(
|
|
|
23472
23670
|
})
|
|
23473
23671
|
);
|
|
23474
23672
|
var UpdateEntityIntervalResponse$inboundSchema = inboundSchema(UpdateEntityIntervalResponse);
|
|
23673
|
+
var UpdateEntityAnchorResponse$inboundSchema = inboundSchema(UpdateEntityAnchorResponse);
|
|
23475
23674
|
var UpdateEntityFilterResponse$inboundSchema = z74.object({
|
|
23476
23675
|
properties: z74.record(z74.string(), string5())
|
|
23477
23676
|
});
|
|
@@ -23482,6 +23681,7 @@ var UpdateEntityUsageLimitResponse$inboundSchema = z74.pipe(
|
|
|
23482
23681
|
enabled: z74._default(boolean2(), true),
|
|
23483
23682
|
limit: number2(),
|
|
23484
23683
|
interval: UpdateEntityIntervalResponse$inboundSchema,
|
|
23684
|
+
anchor: optional3(UpdateEntityAnchorResponse$inboundSchema),
|
|
23485
23685
|
filter: optional3(
|
|
23486
23686
|
z74.lazy(() => UpdateEntityFilterResponse$inboundSchema)
|
|
23487
23687
|
),
|
|
@@ -23917,6 +24117,10 @@ var UpdatePlanUsageLimitIntervalRequestBody = {
|
|
|
23917
24117
|
Month: "month",
|
|
23918
24118
|
Year: "year"
|
|
23919
24119
|
};
|
|
24120
|
+
var UpdatePlanAnchorRequestBody = {
|
|
24121
|
+
BillingCycle: "billing_cycle",
|
|
24122
|
+
Utc: "utc"
|
|
24123
|
+
};
|
|
23920
24124
|
var UpdatePlanThresholdTypeRequestBody = {
|
|
23921
24125
|
Usage: "usage",
|
|
23922
24126
|
UsagePercentage: "usage_percentage",
|
|
@@ -24023,6 +24227,10 @@ var VariantUsageLimitInterval = {
|
|
|
24023
24227
|
Month: "month",
|
|
24024
24228
|
Year: "year"
|
|
24025
24229
|
};
|
|
24230
|
+
var VariantAnchor = {
|
|
24231
|
+
BillingCycle: "billing_cycle",
|
|
24232
|
+
Utc: "utc"
|
|
24233
|
+
};
|
|
24026
24234
|
var VariantThresholdType = {
|
|
24027
24235
|
Usage: "usage",
|
|
24028
24236
|
UsagePercentage: "usage_percentage",
|
|
@@ -24189,6 +24397,10 @@ var UpdatePlanVariantDetailsUsageLimitInterval = {
|
|
|
24189
24397
|
Month: "month",
|
|
24190
24398
|
Year: "year"
|
|
24191
24399
|
};
|
|
24400
|
+
var UpdatePlanVariantDetailsAnchor = {
|
|
24401
|
+
BillingCycle: "billing_cycle",
|
|
24402
|
+
Utc: "utc"
|
|
24403
|
+
};
|
|
24192
24404
|
var UpdatePlanVariantDetailsThresholdType = {
|
|
24193
24405
|
Usage: "usage",
|
|
24194
24406
|
UsagePercentage: "usage_percentage",
|
|
@@ -24211,6 +24423,10 @@ var UpdatePlanUsageLimitIntervalResponse = {
|
|
|
24211
24423
|
Month: "month",
|
|
24212
24424
|
Year: "year"
|
|
24213
24425
|
};
|
|
24426
|
+
var UpdatePlanAnchorResponse = {
|
|
24427
|
+
BillingCycle: "billing_cycle",
|
|
24428
|
+
Utc: "utc"
|
|
24429
|
+
};
|
|
24214
24430
|
var UpdatePlanThresholdTypeResponse = {
|
|
24215
24431
|
Usage: "usage",
|
|
24216
24432
|
UsagePercentage: "usage_percentage",
|
|
@@ -24698,6 +24914,7 @@ var UpdatePlanSpendLimitRequestBody$outboundSchema = z76.pipe(
|
|
|
24698
24914
|
var UpdatePlanUsageLimitIntervalRequestBody$outboundSchema = z76.enum(
|
|
24699
24915
|
UpdatePlanUsageLimitIntervalRequestBody
|
|
24700
24916
|
);
|
|
24917
|
+
var UpdatePlanAnchorRequestBody$outboundSchema = z76.enum(UpdatePlanAnchorRequestBody);
|
|
24701
24918
|
var UpdatePlanProperties$outboundSchema = smartUnion([z76.string(), z76.number(), z76.boolean()]);
|
|
24702
24919
|
var UpdatePlanFilterRequestBody$outboundSchema = z76.object({
|
|
24703
24920
|
properties: z76.record(
|
|
@@ -24711,6 +24928,7 @@ var UpdatePlanUsageLimitRequestBody$outboundSchema = z76.pipe(
|
|
|
24711
24928
|
enabled: z76._default(z76.boolean(), true),
|
|
24712
24929
|
limit: z76.number(),
|
|
24713
24930
|
interval: UpdatePlanUsageLimitIntervalRequestBody$outboundSchema,
|
|
24931
|
+
anchor: z76.optional(UpdatePlanAnchorRequestBody$outboundSchema),
|
|
24714
24932
|
filter: z76.optional(
|
|
24715
24933
|
z76.lazy(() => UpdatePlanFilterRequestBody$outboundSchema)
|
|
24716
24934
|
)
|
|
@@ -25022,6 +25240,7 @@ var VariantSpendLimit$outboundSchema = z76.pipe(
|
|
|
25022
25240
|
})
|
|
25023
25241
|
);
|
|
25024
25242
|
var VariantUsageLimitInterval$outboundSchema = z76.enum(VariantUsageLimitInterval);
|
|
25243
|
+
var VariantAnchor$outboundSchema = z76.enum(VariantAnchor);
|
|
25025
25244
|
var VariantFilter$outboundSchema = z76.object({
|
|
25026
25245
|
properties: z76.record(z76.string(), z76.any())
|
|
25027
25246
|
});
|
|
@@ -25031,6 +25250,7 @@ var VariantUsageLimit$outboundSchema = z76.pipe(
|
|
|
25031
25250
|
enabled: z76._default(z76.boolean(), true),
|
|
25032
25251
|
limit: z76.number(),
|
|
25033
25252
|
interval: VariantUsageLimitInterval$outboundSchema,
|
|
25253
|
+
anchor: z76.optional(VariantAnchor$outboundSchema),
|
|
25034
25254
|
filter: z76.optional(z76.lazy(() => VariantFilter$outboundSchema))
|
|
25035
25255
|
}),
|
|
25036
25256
|
z76.transform((v) => {
|
|
@@ -25693,6 +25913,7 @@ var UpdatePlanVariantDetailsSpendLimit$inboundSchema = z76.pipe(
|
|
|
25693
25913
|
})
|
|
25694
25914
|
);
|
|
25695
25915
|
var UpdatePlanVariantDetailsUsageLimitInterval$inboundSchema = inboundSchema(UpdatePlanVariantDetailsUsageLimitInterval);
|
|
25916
|
+
var UpdatePlanVariantDetailsAnchor$inboundSchema = inboundSchema(UpdatePlanVariantDetailsAnchor);
|
|
25696
25917
|
var UpdatePlanVariantDetailsFilter$inboundSchema = z76.object({
|
|
25697
25918
|
properties: z76.record(z76.string(), string5())
|
|
25698
25919
|
});
|
|
@@ -25702,6 +25923,7 @@ var UpdatePlanVariantDetailsUsageLimit$inboundSchema = z76.pipe(
|
|
|
25702
25923
|
enabled: z76._default(boolean2(), true),
|
|
25703
25924
|
limit: number2(),
|
|
25704
25925
|
interval: UpdatePlanVariantDetailsUsageLimitInterval$inboundSchema,
|
|
25926
|
+
anchor: optional3(UpdatePlanVariantDetailsAnchor$inboundSchema),
|
|
25705
25927
|
filter: optional3(
|
|
25706
25928
|
z76.lazy(() => UpdatePlanVariantDetailsFilter$inboundSchema)
|
|
25707
25929
|
)
|
|
@@ -25868,6 +26090,7 @@ var UpdatePlanSpendLimitResponse$inboundSchema = z76.pipe(
|
|
|
25868
26090
|
})
|
|
25869
26091
|
);
|
|
25870
26092
|
var UpdatePlanUsageLimitIntervalResponse$inboundSchema = inboundSchema(UpdatePlanUsageLimitIntervalResponse);
|
|
26093
|
+
var UpdatePlanAnchorResponse$inboundSchema = inboundSchema(UpdatePlanAnchorResponse);
|
|
25871
26094
|
var UpdatePlanFilterResponse$inboundSchema = z76.object({
|
|
25872
26095
|
properties: z76.record(z76.string(), string5())
|
|
25873
26096
|
});
|
|
@@ -25877,6 +26100,7 @@ var UpdatePlanUsageLimitResponse$inboundSchema = z76.pipe(
|
|
|
25877
26100
|
enabled: z76._default(boolean2(), true),
|
|
25878
26101
|
limit: number2(),
|
|
25879
26102
|
interval: UpdatePlanUsageLimitIntervalResponse$inboundSchema,
|
|
26103
|
+
anchor: optional3(UpdatePlanAnchorResponse$inboundSchema),
|
|
25880
26104
|
filter: optional3(
|
|
25881
26105
|
z76.lazy(() => UpdatePlanFilterResponse$inboundSchema)
|
|
25882
26106
|
)
|
|
@@ -28611,6 +28835,7 @@ var Billing = class extends ClientSDK {
|
|
|
28611
28835
|
* @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
|
|
28612
28836
|
* @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)
|
|
28613
28837
|
* @param billingBehavior - Whether to prorate the immediate phase. 'none' skips proration charges and credits. (optional)
|
|
28838
|
+
* @param noBillingChanges - If true, skips any billing changes for the schedule. (optional)
|
|
28614
28839
|
* @param billingCycleAnchor - Pass 'now' to reset the billing cycle anchor of the immediate phase to the current time. (optional)
|
|
28615
28840
|
* @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)
|
|
28616
28841
|
* @param preserveAddOns - Deprecated and ignored. Active plans the schedule does not declare are always retained. (optional)
|
|
@@ -33895,6 +34120,7 @@ var attachUsageLimitOutboundSchema = import_v42.z.object({
|
|
|
33895
34120
|
enabled: import_v42.z.boolean(),
|
|
33896
34121
|
limit: import_v42.z.number(),
|
|
33897
34122
|
interval: import_v42.z.string(),
|
|
34123
|
+
anchor: import_v42.z.union([import_v42.z.string(), import_v42.z.undefined()]).optional(),
|
|
33898
34124
|
filter: import_v42.z.union([attachFilterOutboundSchema, import_v42.z.undefined()]).optional()
|
|
33899
34125
|
});
|
|
33900
34126
|
var attachUsageAlertOutboundSchema = import_v42.z.object({
|
|
@@ -34211,11 +34437,13 @@ var attachSpendLimitSchema = import_v42.z.object({
|
|
|
34211
34437
|
skipOverageBilling: import_v42.z.union([import_v42.z.boolean(), import_v42.z.undefined()]).optional()
|
|
34212
34438
|
});
|
|
34213
34439
|
var attachUsageLimitIntervalSchema = closedEnumSchema2;
|
|
34440
|
+
var attachAnchorSchema = closedEnumSchema2;
|
|
34214
34441
|
var attachUsageLimitSchema = import_v42.z.object({
|
|
34215
34442
|
featureId: import_v42.z.string(),
|
|
34216
34443
|
enabled: import_v42.z.union([import_v42.z.boolean(), import_v42.z.undefined()]).optional(),
|
|
34217
34444
|
limit: import_v42.z.number(),
|
|
34218
34445
|
interval: attachUsageLimitIntervalSchema,
|
|
34446
|
+
anchor: import_v42.z.union([attachAnchorSchema, import_v42.z.undefined()]).optional(),
|
|
34219
34447
|
filter: import_v42.z.union([attachFilterSchema, import_v42.z.undefined()]).optional()
|
|
34220
34448
|
});
|
|
34221
34449
|
var attachThresholdTypeSchema = closedEnumSchema2;
|
|
@@ -34633,6 +34861,7 @@ var getOrCreateCustomerUsageLimitOutboundSchema = import_v46.z.object({
|
|
|
34633
34861
|
enabled: import_v46.z.boolean(),
|
|
34634
34862
|
limit: import_v46.z.number(),
|
|
34635
34863
|
interval: import_v46.z.string(),
|
|
34864
|
+
anchor: import_v46.z.union([import_v46.z.string(), import_v46.z.undefined()]).optional(),
|
|
34636
34865
|
filter: import_v46.z.union([getOrCreateCustomerFilterOutboundSchema, import_v46.z.undefined()]).optional()
|
|
34637
34866
|
});
|
|
34638
34867
|
var getOrCreateCustomerUsageAlertOutboundSchema = import_v46.z.object({
|
|
@@ -34710,11 +34939,13 @@ var getOrCreateCustomerSpendLimitSchema = import_v46.z.object({
|
|
|
34710
34939
|
skipOverageBilling: import_v46.z.union([import_v46.z.boolean(), import_v46.z.undefined()]).optional()
|
|
34711
34940
|
});
|
|
34712
34941
|
var getOrCreateCustomerUsageLimitIntervalSchema = closedEnumSchema5;
|
|
34942
|
+
var getOrCreateCustomerAnchorSchema = closedEnumSchema5;
|
|
34713
34943
|
var getOrCreateCustomerUsageLimitSchema = import_v46.z.object({
|
|
34714
34944
|
featureId: import_v46.z.string(),
|
|
34715
34945
|
enabled: import_v46.z.union([import_v46.z.boolean(), import_v46.z.undefined()]).optional(),
|
|
34716
34946
|
limit: import_v46.z.number(),
|
|
34717
34947
|
interval: getOrCreateCustomerUsageLimitIntervalSchema,
|
|
34948
|
+
anchor: import_v46.z.union([getOrCreateCustomerAnchorSchema, import_v46.z.undefined()]).optional(),
|
|
34718
34949
|
filter: import_v46.z.union([getOrCreateCustomerFilterSchema, import_v46.z.undefined()]).optional()
|
|
34719
34950
|
});
|
|
34720
34951
|
var getOrCreateCustomerThresholdTypeSchema = closedEnumSchema5;
|
|
@@ -35066,11 +35297,13 @@ var listPlansVariantDetailsSpendLimitSchema = import_v48.z.object({
|
|
|
35066
35297
|
skipOverageBilling: import_v48.z.union([import_v48.z.boolean(), import_v48.z.undefined()]).optional()
|
|
35067
35298
|
});
|
|
35068
35299
|
var listPlansVariantDetailsUsageLimitIntervalSchema = openEnumSchema6;
|
|
35300
|
+
var listPlansVariantDetailsAnchorSchema = openEnumSchema6;
|
|
35069
35301
|
var listPlansVariantDetailsUsageLimitSchema = import_v48.z.object({
|
|
35070
35302
|
featureId: import_v48.z.string(),
|
|
35071
35303
|
enabled: import_v48.z.boolean(),
|
|
35072
35304
|
limit: import_v48.z.number(),
|
|
35073
35305
|
interval: listPlansVariantDetailsUsageLimitIntervalSchema,
|
|
35306
|
+
anchor: import_v48.z.union([listPlansVariantDetailsAnchorSchema, import_v48.z.undefined()]).optional(),
|
|
35074
35307
|
filter: import_v48.z.union([listPlansVariantDetailsFilterSchema, import_v48.z.undefined()]).optional()
|
|
35075
35308
|
});
|
|
35076
35309
|
var listPlansVariantDetailsThresholdTypeSchema = openEnumSchema6;
|
|
@@ -35125,11 +35358,13 @@ var listPlansSpendLimitSchema = import_v48.z.object({
|
|
|
35125
35358
|
skipOverageBilling: import_v48.z.union([import_v48.z.boolean(), import_v48.z.undefined()]).optional()
|
|
35126
35359
|
});
|
|
35127
35360
|
var listPlansUsageLimitIntervalSchema = openEnumSchema6;
|
|
35361
|
+
var listPlansAnchorSchema = openEnumSchema6;
|
|
35128
35362
|
var listPlansUsageLimitSchema = import_v48.z.object({
|
|
35129
35363
|
featureId: import_v48.z.string(),
|
|
35130
35364
|
enabled: import_v48.z.boolean(),
|
|
35131
35365
|
limit: import_v48.z.number(),
|
|
35132
35366
|
interval: listPlansUsageLimitIntervalSchema,
|
|
35367
|
+
anchor: import_v48.z.union([listPlansAnchorSchema, import_v48.z.undefined()]).optional(),
|
|
35133
35368
|
filter: import_v48.z.union([listPlansFilterSchema, import_v48.z.undefined()]).optional()
|
|
35134
35369
|
});
|
|
35135
35370
|
var listPlansThresholdTypeSchema = openEnumSchema6;
|
|
@@ -35371,6 +35606,7 @@ var multiAttachUsageLimitOutboundSchema = import_v49.z.object({
|
|
|
35371
35606
|
enabled: import_v49.z.boolean(),
|
|
35372
35607
|
limit: import_v49.z.number(),
|
|
35373
35608
|
interval: import_v49.z.string(),
|
|
35609
|
+
anchor: import_v49.z.union([import_v49.z.string(), import_v49.z.undefined()]).optional(),
|
|
35374
35610
|
filter: import_v49.z.union([multiAttachFilterOutboundSchema, import_v49.z.undefined()]).optional()
|
|
35375
35611
|
});
|
|
35376
35612
|
var multiAttachUsageAlertOutboundSchema = import_v49.z.object({
|
|
@@ -35479,11 +35715,13 @@ var multiAttachSpendLimitSchema = import_v49.z.object({
|
|
|
35479
35715
|
skipOverageBilling: import_v49.z.union([import_v49.z.boolean(), import_v49.z.undefined()]).optional()
|
|
35480
35716
|
});
|
|
35481
35717
|
var multiAttachEntityDataIntervalSchema = closedEnumSchema6;
|
|
35718
|
+
var multiAttachAnchorSchema = closedEnumSchema6;
|
|
35482
35719
|
var multiAttachUsageLimitSchema = import_v49.z.object({
|
|
35483
35720
|
featureId: import_v49.z.string(),
|
|
35484
35721
|
enabled: import_v49.z.union([import_v49.z.boolean(), import_v49.z.undefined()]).optional(),
|
|
35485
35722
|
limit: import_v49.z.number(),
|
|
35486
35723
|
interval: multiAttachEntityDataIntervalSchema,
|
|
35724
|
+
anchor: import_v49.z.union([multiAttachAnchorSchema, import_v49.z.undefined()]).optional(),
|
|
35487
35725
|
filter: import_v49.z.union([multiAttachFilterSchema, import_v49.z.undefined()]).optional()
|
|
35488
35726
|
});
|
|
35489
35727
|
var multiAttachThresholdTypeSchema = closedEnumSchema6;
|
|
@@ -35944,6 +36182,7 @@ var previewAttachUsageLimitOutboundSchema = import_v411.z.object({
|
|
|
35944
36182
|
enabled: import_v411.z.boolean(),
|
|
35945
36183
|
limit: import_v411.z.number(),
|
|
35946
36184
|
interval: import_v411.z.string(),
|
|
36185
|
+
anchor: import_v411.z.union([import_v411.z.string(), import_v411.z.undefined()]).optional(),
|
|
35947
36186
|
filter: import_v411.z.union([previewAttachFilterOutboundSchema, import_v411.z.undefined()]).optional()
|
|
35948
36187
|
});
|
|
35949
36188
|
var previewAttachUsageAlertOutboundSchema = import_v411.z.object({
|
|
@@ -36275,11 +36514,13 @@ var previewAttachSpendLimitSchema = import_v411.z.object({
|
|
|
36275
36514
|
skipOverageBilling: import_v411.z.union([import_v411.z.boolean(), import_v411.z.undefined()]).optional()
|
|
36276
36515
|
});
|
|
36277
36516
|
var previewAttachUsageLimitIntervalSchema = closedEnumSchema7;
|
|
36517
|
+
var previewAttachAnchorSchema = closedEnumSchema7;
|
|
36278
36518
|
var previewAttachUsageLimitSchema = import_v411.z.object({
|
|
36279
36519
|
featureId: import_v411.z.string(),
|
|
36280
36520
|
enabled: import_v411.z.union([import_v411.z.boolean(), import_v411.z.undefined()]).optional(),
|
|
36281
36521
|
limit: import_v411.z.number(),
|
|
36282
36522
|
interval: previewAttachUsageLimitIntervalSchema,
|
|
36523
|
+
anchor: import_v411.z.union([previewAttachAnchorSchema, import_v411.z.undefined()]).optional(),
|
|
36283
36524
|
filter: import_v411.z.union([previewAttachFilterSchema, import_v411.z.undefined()]).optional()
|
|
36284
36525
|
});
|
|
36285
36526
|
var previewAttachThresholdTypeSchema = closedEnumSchema7;
|
|
@@ -36735,6 +36976,7 @@ var previewMultiAttachUsageLimitOutboundSchema = import_v412.z.object({
|
|
|
36735
36976
|
enabled: import_v412.z.boolean(),
|
|
36736
36977
|
limit: import_v412.z.number(),
|
|
36737
36978
|
interval: import_v412.z.string(),
|
|
36979
|
+
anchor: import_v412.z.union([import_v412.z.string(), import_v412.z.undefined()]).optional(),
|
|
36738
36980
|
filter: import_v412.z.union([previewMultiAttachFilterOutboundSchema, import_v412.z.undefined()]).optional()
|
|
36739
36981
|
});
|
|
36740
36982
|
var previewMultiAttachUsageAlertOutboundSchema = import_v412.z.object({
|
|
@@ -36853,11 +37095,13 @@ var previewMultiAttachSpendLimitSchema = import_v412.z.object({
|
|
|
36853
37095
|
skipOverageBilling: import_v412.z.union([import_v412.z.boolean(), import_v412.z.undefined()]).optional()
|
|
36854
37096
|
});
|
|
36855
37097
|
var previewMultiAttachEntityDataIntervalSchema = closedEnumSchema8;
|
|
37098
|
+
var previewMultiAttachAnchorSchema = closedEnumSchema8;
|
|
36856
37099
|
var previewMultiAttachUsageLimitSchema = import_v412.z.object({
|
|
36857
37100
|
featureId: import_v412.z.string(),
|
|
36858
37101
|
enabled: import_v412.z.union([import_v412.z.boolean(), import_v412.z.undefined()]).optional(),
|
|
36859
37102
|
limit: import_v412.z.number(),
|
|
36860
37103
|
interval: previewMultiAttachEntityDataIntervalSchema,
|
|
37104
|
+
anchor: import_v412.z.union([previewMultiAttachAnchorSchema, import_v412.z.undefined()]).optional(),
|
|
36861
37105
|
filter: import_v412.z.union([previewMultiAttachFilterSchema, import_v412.z.undefined()]).optional()
|
|
36862
37106
|
});
|
|
36863
37107
|
var previewMultiAttachThresholdTypeSchema = closedEnumSchema8;
|
|
@@ -37324,6 +37568,7 @@ var previewUpdateUsageLimitOutboundSchema = import_v413.z.object({
|
|
|
37324
37568
|
enabled: import_v413.z.boolean(),
|
|
37325
37569
|
limit: import_v413.z.number(),
|
|
37326
37570
|
interval: import_v413.z.string(),
|
|
37571
|
+
anchor: import_v413.z.union([import_v413.z.string(), import_v413.z.undefined()]).optional(),
|
|
37327
37572
|
filter: import_v413.z.union([previewUpdateFilterOutboundSchema, import_v413.z.undefined()]).optional()
|
|
37328
37573
|
});
|
|
37329
37574
|
var previewUpdateUsageAlertOutboundSchema = import_v413.z.object({
|
|
@@ -37638,11 +37883,13 @@ var previewUpdateSpendLimitSchema = import_v413.z.object({
|
|
|
37638
37883
|
skipOverageBilling: import_v413.z.union([import_v413.z.boolean(), import_v413.z.undefined()]).optional()
|
|
37639
37884
|
});
|
|
37640
37885
|
var previewUpdateUsageLimitIntervalSchema = closedEnumSchema9;
|
|
37886
|
+
var previewUpdateAnchorSchema = closedEnumSchema9;
|
|
37641
37887
|
var previewUpdateUsageLimitSchema = import_v413.z.object({
|
|
37642
37888
|
featureId: import_v413.z.string(),
|
|
37643
37889
|
enabled: import_v413.z.union([import_v413.z.boolean(), import_v413.z.undefined()]).optional(),
|
|
37644
37890
|
limit: import_v413.z.number(),
|
|
37645
37891
|
interval: previewUpdateUsageLimitIntervalSchema,
|
|
37892
|
+
anchor: import_v413.z.union([previewUpdateAnchorSchema, import_v413.z.undefined()]).optional(),
|
|
37646
37893
|
filter: import_v413.z.union([previewUpdateFilterSchema, import_v413.z.undefined()]).optional()
|
|
37647
37894
|
});
|
|
37648
37895
|
var previewUpdateThresholdTypeSchema = closedEnumSchema9;
|
|
@@ -38141,6 +38388,7 @@ var setupPaymentUsageLimitOutboundSchema = import_v415.z.object({
|
|
|
38141
38388
|
enabled: import_v415.z.boolean(),
|
|
38142
38389
|
limit: import_v415.z.number(),
|
|
38143
38390
|
interval: import_v415.z.string(),
|
|
38391
|
+
anchor: import_v415.z.union([import_v415.z.string(), import_v415.z.undefined()]).optional(),
|
|
38144
38392
|
filter: import_v415.z.union([setupPaymentFilterOutboundSchema, import_v415.z.undefined()]).optional()
|
|
38145
38393
|
});
|
|
38146
38394
|
var setupPaymentUsageAlertOutboundSchema = import_v415.z.object({
|
|
@@ -38453,11 +38701,13 @@ var setupPaymentSpendLimitSchema = import_v415.z.object({
|
|
|
38453
38701
|
skipOverageBilling: import_v415.z.union([import_v415.z.boolean(), import_v415.z.undefined()]).optional()
|
|
38454
38702
|
});
|
|
38455
38703
|
var setupPaymentUsageLimitIntervalSchema = closedEnumSchema10;
|
|
38704
|
+
var setupPaymentAnchorSchema = closedEnumSchema10;
|
|
38456
38705
|
var setupPaymentUsageLimitSchema = import_v415.z.object({
|
|
38457
38706
|
featureId: import_v415.z.string(),
|
|
38458
38707
|
enabled: import_v415.z.union([import_v415.z.boolean(), import_v415.z.undefined()]).optional(),
|
|
38459
38708
|
limit: import_v415.z.number(),
|
|
38460
38709
|
interval: setupPaymentUsageLimitIntervalSchema,
|
|
38710
|
+
anchor: import_v415.z.union([setupPaymentAnchorSchema, import_v415.z.undefined()]).optional(),
|
|
38461
38711
|
filter: import_v415.z.union([setupPaymentFilterSchema, import_v415.z.undefined()]).optional()
|
|
38462
38712
|
});
|
|
38463
38713
|
var setupPaymentThresholdTypeSchema = closedEnumSchema10;
|
|
@@ -38904,6 +39154,7 @@ var billingUpdateUsageLimitOutboundSchema = import_v416.z.object({
|
|
|
38904
39154
|
enabled: import_v416.z.boolean(),
|
|
38905
39155
|
limit: import_v416.z.number(),
|
|
38906
39156
|
interval: import_v416.z.string(),
|
|
39157
|
+
anchor: import_v416.z.union([import_v416.z.string(), import_v416.z.undefined()]).optional(),
|
|
38907
39158
|
filter: import_v416.z.union([billingUpdateFilterOutboundSchema, import_v416.z.undefined()]).optional()
|
|
38908
39159
|
});
|
|
38909
39160
|
var billingUpdateUsageAlertOutboundSchema = import_v416.z.object({
|
|
@@ -39214,11 +39465,13 @@ var billingUpdateSpendLimitSchema = import_v416.z.object({
|
|
|
39214
39465
|
skipOverageBilling: import_v416.z.union([import_v416.z.boolean(), import_v416.z.undefined()]).optional()
|
|
39215
39466
|
});
|
|
39216
39467
|
var billingUpdateUsageLimitIntervalSchema = closedEnumSchema11;
|
|
39468
|
+
var billingUpdateAnchorSchema = closedEnumSchema11;
|
|
39217
39469
|
var billingUpdateUsageLimitSchema = import_v416.z.object({
|
|
39218
39470
|
featureId: import_v416.z.string(),
|
|
39219
39471
|
enabled: import_v416.z.union([import_v416.z.boolean(), import_v416.z.undefined()]).optional(),
|
|
39220
39472
|
limit: import_v416.z.number(),
|
|
39221
39473
|
interval: billingUpdateUsageLimitIntervalSchema,
|
|
39474
|
+
anchor: import_v416.z.union([billingUpdateAnchorSchema, import_v416.z.undefined()]).optional(),
|
|
39222
39475
|
filter: import_v416.z.union([billingUpdateFilterSchema, import_v416.z.undefined()]).optional()
|
|
39223
39476
|
});
|
|
39224
39477
|
var billingUpdateThresholdTypeSchema = closedEnumSchema11;
|