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
|
@@ -428,6 +428,7 @@ var attachUsageLimitOutboundSchema = import_v42.z.object({
|
|
|
428
428
|
enabled: import_v42.z.boolean(),
|
|
429
429
|
limit: import_v42.z.number(),
|
|
430
430
|
interval: import_v42.z.string(),
|
|
431
|
+
anchor: import_v42.z.union([import_v42.z.string(), import_v42.z.undefined()]).optional(),
|
|
431
432
|
filter: import_v42.z.union([attachFilterOutboundSchema, import_v42.z.undefined()]).optional()
|
|
432
433
|
});
|
|
433
434
|
var attachUsageAlertOutboundSchema = import_v42.z.object({
|
|
@@ -744,11 +745,13 @@ var attachSpendLimitSchema = import_v42.z.object({
|
|
|
744
745
|
skipOverageBilling: import_v42.z.union([import_v42.z.boolean(), import_v42.z.undefined()]).optional()
|
|
745
746
|
});
|
|
746
747
|
var attachUsageLimitIntervalSchema = closedEnumSchema2;
|
|
748
|
+
var attachAnchorSchema = closedEnumSchema2;
|
|
747
749
|
var attachUsageLimitSchema = import_v42.z.object({
|
|
748
750
|
featureId: import_v42.z.string(),
|
|
749
751
|
enabled: import_v42.z.union([import_v42.z.boolean(), import_v42.z.undefined()]).optional(),
|
|
750
752
|
limit: import_v42.z.number(),
|
|
751
753
|
interval: attachUsageLimitIntervalSchema,
|
|
754
|
+
anchor: import_v42.z.union([attachAnchorSchema, import_v42.z.undefined()]).optional(),
|
|
752
755
|
filter: import_v42.z.union([attachFilterSchema, import_v42.z.undefined()]).optional()
|
|
753
756
|
});
|
|
754
757
|
var attachThresholdTypeSchema = closedEnumSchema2;
|
|
@@ -1166,6 +1169,7 @@ var getOrCreateCustomerUsageLimitOutboundSchema = import_v46.z.object({
|
|
|
1166
1169
|
enabled: import_v46.z.boolean(),
|
|
1167
1170
|
limit: import_v46.z.number(),
|
|
1168
1171
|
interval: import_v46.z.string(),
|
|
1172
|
+
anchor: import_v46.z.union([import_v46.z.string(), import_v46.z.undefined()]).optional(),
|
|
1169
1173
|
filter: import_v46.z.union([getOrCreateCustomerFilterOutboundSchema, import_v46.z.undefined()]).optional()
|
|
1170
1174
|
});
|
|
1171
1175
|
var getOrCreateCustomerUsageAlertOutboundSchema = import_v46.z.object({
|
|
@@ -1243,11 +1247,13 @@ var getOrCreateCustomerSpendLimitSchema = import_v46.z.object({
|
|
|
1243
1247
|
skipOverageBilling: import_v46.z.union([import_v46.z.boolean(), import_v46.z.undefined()]).optional()
|
|
1244
1248
|
});
|
|
1245
1249
|
var getOrCreateCustomerUsageLimitIntervalSchema = closedEnumSchema5;
|
|
1250
|
+
var getOrCreateCustomerAnchorSchema = closedEnumSchema5;
|
|
1246
1251
|
var getOrCreateCustomerUsageLimitSchema = import_v46.z.object({
|
|
1247
1252
|
featureId: import_v46.z.string(),
|
|
1248
1253
|
enabled: import_v46.z.union([import_v46.z.boolean(), import_v46.z.undefined()]).optional(),
|
|
1249
1254
|
limit: import_v46.z.number(),
|
|
1250
1255
|
interval: getOrCreateCustomerUsageLimitIntervalSchema,
|
|
1256
|
+
anchor: import_v46.z.union([getOrCreateCustomerAnchorSchema, import_v46.z.undefined()]).optional(),
|
|
1251
1257
|
filter: import_v46.z.union([getOrCreateCustomerFilterSchema, import_v46.z.undefined()]).optional()
|
|
1252
1258
|
});
|
|
1253
1259
|
var getOrCreateCustomerThresholdTypeSchema = closedEnumSchema5;
|
|
@@ -1599,11 +1605,13 @@ var listPlansVariantDetailsSpendLimitSchema = import_v48.z.object({
|
|
|
1599
1605
|
skipOverageBilling: import_v48.z.union([import_v48.z.boolean(), import_v48.z.undefined()]).optional()
|
|
1600
1606
|
});
|
|
1601
1607
|
var listPlansVariantDetailsUsageLimitIntervalSchema = openEnumSchema6;
|
|
1608
|
+
var listPlansVariantDetailsAnchorSchema = openEnumSchema6;
|
|
1602
1609
|
var listPlansVariantDetailsUsageLimitSchema = import_v48.z.object({
|
|
1603
1610
|
featureId: import_v48.z.string(),
|
|
1604
1611
|
enabled: import_v48.z.boolean(),
|
|
1605
1612
|
limit: import_v48.z.number(),
|
|
1606
1613
|
interval: listPlansVariantDetailsUsageLimitIntervalSchema,
|
|
1614
|
+
anchor: import_v48.z.union([listPlansVariantDetailsAnchorSchema, import_v48.z.undefined()]).optional(),
|
|
1607
1615
|
filter: import_v48.z.union([listPlansVariantDetailsFilterSchema, import_v48.z.undefined()]).optional()
|
|
1608
1616
|
});
|
|
1609
1617
|
var listPlansVariantDetailsThresholdTypeSchema = openEnumSchema6;
|
|
@@ -1658,11 +1666,13 @@ var listPlansSpendLimitSchema = import_v48.z.object({
|
|
|
1658
1666
|
skipOverageBilling: import_v48.z.union([import_v48.z.boolean(), import_v48.z.undefined()]).optional()
|
|
1659
1667
|
});
|
|
1660
1668
|
var listPlansUsageLimitIntervalSchema = openEnumSchema6;
|
|
1669
|
+
var listPlansAnchorSchema = openEnumSchema6;
|
|
1661
1670
|
var listPlansUsageLimitSchema = import_v48.z.object({
|
|
1662
1671
|
featureId: import_v48.z.string(),
|
|
1663
1672
|
enabled: import_v48.z.boolean(),
|
|
1664
1673
|
limit: import_v48.z.number(),
|
|
1665
1674
|
interval: listPlansUsageLimitIntervalSchema,
|
|
1675
|
+
anchor: import_v48.z.union([listPlansAnchorSchema, import_v48.z.undefined()]).optional(),
|
|
1666
1676
|
filter: import_v48.z.union([listPlansFilterSchema, import_v48.z.undefined()]).optional()
|
|
1667
1677
|
});
|
|
1668
1678
|
var listPlansThresholdTypeSchema = openEnumSchema6;
|
|
@@ -1904,6 +1914,7 @@ var multiAttachUsageLimitOutboundSchema = import_v49.z.object({
|
|
|
1904
1914
|
enabled: import_v49.z.boolean(),
|
|
1905
1915
|
limit: import_v49.z.number(),
|
|
1906
1916
|
interval: import_v49.z.string(),
|
|
1917
|
+
anchor: import_v49.z.union([import_v49.z.string(), import_v49.z.undefined()]).optional(),
|
|
1907
1918
|
filter: import_v49.z.union([multiAttachFilterOutboundSchema, import_v49.z.undefined()]).optional()
|
|
1908
1919
|
});
|
|
1909
1920
|
var multiAttachUsageAlertOutboundSchema = import_v49.z.object({
|
|
@@ -2012,11 +2023,13 @@ var multiAttachSpendLimitSchema = import_v49.z.object({
|
|
|
2012
2023
|
skipOverageBilling: import_v49.z.union([import_v49.z.boolean(), import_v49.z.undefined()]).optional()
|
|
2013
2024
|
});
|
|
2014
2025
|
var multiAttachEntityDataIntervalSchema = closedEnumSchema6;
|
|
2026
|
+
var multiAttachAnchorSchema = closedEnumSchema6;
|
|
2015
2027
|
var multiAttachUsageLimitSchema = import_v49.z.object({
|
|
2016
2028
|
featureId: import_v49.z.string(),
|
|
2017
2029
|
enabled: import_v49.z.union([import_v49.z.boolean(), import_v49.z.undefined()]).optional(),
|
|
2018
2030
|
limit: import_v49.z.number(),
|
|
2019
2031
|
interval: multiAttachEntityDataIntervalSchema,
|
|
2032
|
+
anchor: import_v49.z.union([multiAttachAnchorSchema, import_v49.z.undefined()]).optional(),
|
|
2020
2033
|
filter: import_v49.z.union([multiAttachFilterSchema, import_v49.z.undefined()]).optional()
|
|
2021
2034
|
});
|
|
2022
2035
|
var multiAttachThresholdTypeSchema = closedEnumSchema6;
|
|
@@ -2477,6 +2490,7 @@ var previewAttachUsageLimitOutboundSchema = import_v411.z.object({
|
|
|
2477
2490
|
enabled: import_v411.z.boolean(),
|
|
2478
2491
|
limit: import_v411.z.number(),
|
|
2479
2492
|
interval: import_v411.z.string(),
|
|
2493
|
+
anchor: import_v411.z.union([import_v411.z.string(), import_v411.z.undefined()]).optional(),
|
|
2480
2494
|
filter: import_v411.z.union([previewAttachFilterOutboundSchema, import_v411.z.undefined()]).optional()
|
|
2481
2495
|
});
|
|
2482
2496
|
var previewAttachUsageAlertOutboundSchema = import_v411.z.object({
|
|
@@ -2808,11 +2822,13 @@ var previewAttachSpendLimitSchema = import_v411.z.object({
|
|
|
2808
2822
|
skipOverageBilling: import_v411.z.union([import_v411.z.boolean(), import_v411.z.undefined()]).optional()
|
|
2809
2823
|
});
|
|
2810
2824
|
var previewAttachUsageLimitIntervalSchema = closedEnumSchema7;
|
|
2825
|
+
var previewAttachAnchorSchema = closedEnumSchema7;
|
|
2811
2826
|
var previewAttachUsageLimitSchema = import_v411.z.object({
|
|
2812
2827
|
featureId: import_v411.z.string(),
|
|
2813
2828
|
enabled: import_v411.z.union([import_v411.z.boolean(), import_v411.z.undefined()]).optional(),
|
|
2814
2829
|
limit: import_v411.z.number(),
|
|
2815
2830
|
interval: previewAttachUsageLimitIntervalSchema,
|
|
2831
|
+
anchor: import_v411.z.union([previewAttachAnchorSchema, import_v411.z.undefined()]).optional(),
|
|
2816
2832
|
filter: import_v411.z.union([previewAttachFilterSchema, import_v411.z.undefined()]).optional()
|
|
2817
2833
|
});
|
|
2818
2834
|
var previewAttachThresholdTypeSchema = closedEnumSchema7;
|
|
@@ -3268,6 +3284,7 @@ var previewMultiAttachUsageLimitOutboundSchema = import_v412.z.object({
|
|
|
3268
3284
|
enabled: import_v412.z.boolean(),
|
|
3269
3285
|
limit: import_v412.z.number(),
|
|
3270
3286
|
interval: import_v412.z.string(),
|
|
3287
|
+
anchor: import_v412.z.union([import_v412.z.string(), import_v412.z.undefined()]).optional(),
|
|
3271
3288
|
filter: import_v412.z.union([previewMultiAttachFilterOutboundSchema, import_v412.z.undefined()]).optional()
|
|
3272
3289
|
});
|
|
3273
3290
|
var previewMultiAttachUsageAlertOutboundSchema = import_v412.z.object({
|
|
@@ -3386,11 +3403,13 @@ var previewMultiAttachSpendLimitSchema = import_v412.z.object({
|
|
|
3386
3403
|
skipOverageBilling: import_v412.z.union([import_v412.z.boolean(), import_v412.z.undefined()]).optional()
|
|
3387
3404
|
});
|
|
3388
3405
|
var previewMultiAttachEntityDataIntervalSchema = closedEnumSchema8;
|
|
3406
|
+
var previewMultiAttachAnchorSchema = closedEnumSchema8;
|
|
3389
3407
|
var previewMultiAttachUsageLimitSchema = import_v412.z.object({
|
|
3390
3408
|
featureId: import_v412.z.string(),
|
|
3391
3409
|
enabled: import_v412.z.union([import_v412.z.boolean(), import_v412.z.undefined()]).optional(),
|
|
3392
3410
|
limit: import_v412.z.number(),
|
|
3393
3411
|
interval: previewMultiAttachEntityDataIntervalSchema,
|
|
3412
|
+
anchor: import_v412.z.union([previewMultiAttachAnchorSchema, import_v412.z.undefined()]).optional(),
|
|
3394
3413
|
filter: import_v412.z.union([previewMultiAttachFilterSchema, import_v412.z.undefined()]).optional()
|
|
3395
3414
|
});
|
|
3396
3415
|
var previewMultiAttachThresholdTypeSchema = closedEnumSchema8;
|
|
@@ -3857,6 +3876,7 @@ var previewUpdateUsageLimitOutboundSchema = import_v413.z.object({
|
|
|
3857
3876
|
enabled: import_v413.z.boolean(),
|
|
3858
3877
|
limit: import_v413.z.number(),
|
|
3859
3878
|
interval: import_v413.z.string(),
|
|
3879
|
+
anchor: import_v413.z.union([import_v413.z.string(), import_v413.z.undefined()]).optional(),
|
|
3860
3880
|
filter: import_v413.z.union([previewUpdateFilterOutboundSchema, import_v413.z.undefined()]).optional()
|
|
3861
3881
|
});
|
|
3862
3882
|
var previewUpdateUsageAlertOutboundSchema = import_v413.z.object({
|
|
@@ -4171,11 +4191,13 @@ var previewUpdateSpendLimitSchema = import_v413.z.object({
|
|
|
4171
4191
|
skipOverageBilling: import_v413.z.union([import_v413.z.boolean(), import_v413.z.undefined()]).optional()
|
|
4172
4192
|
});
|
|
4173
4193
|
var previewUpdateUsageLimitIntervalSchema = closedEnumSchema9;
|
|
4194
|
+
var previewUpdateAnchorSchema = closedEnumSchema9;
|
|
4174
4195
|
var previewUpdateUsageLimitSchema = import_v413.z.object({
|
|
4175
4196
|
featureId: import_v413.z.string(),
|
|
4176
4197
|
enabled: import_v413.z.union([import_v413.z.boolean(), import_v413.z.undefined()]).optional(),
|
|
4177
4198
|
limit: import_v413.z.number(),
|
|
4178
4199
|
interval: previewUpdateUsageLimitIntervalSchema,
|
|
4200
|
+
anchor: import_v413.z.union([previewUpdateAnchorSchema, import_v413.z.undefined()]).optional(),
|
|
4179
4201
|
filter: import_v413.z.union([previewUpdateFilterSchema, import_v413.z.undefined()]).optional()
|
|
4180
4202
|
});
|
|
4181
4203
|
var previewUpdateThresholdTypeSchema = closedEnumSchema9;
|
|
@@ -4674,6 +4696,7 @@ var setupPaymentUsageLimitOutboundSchema = import_v415.z.object({
|
|
|
4674
4696
|
enabled: import_v415.z.boolean(),
|
|
4675
4697
|
limit: import_v415.z.number(),
|
|
4676
4698
|
interval: import_v415.z.string(),
|
|
4699
|
+
anchor: import_v415.z.union([import_v415.z.string(), import_v415.z.undefined()]).optional(),
|
|
4677
4700
|
filter: import_v415.z.union([setupPaymentFilterOutboundSchema, import_v415.z.undefined()]).optional()
|
|
4678
4701
|
});
|
|
4679
4702
|
var setupPaymentUsageAlertOutboundSchema = import_v415.z.object({
|
|
@@ -4986,11 +5009,13 @@ var setupPaymentSpendLimitSchema = import_v415.z.object({
|
|
|
4986
5009
|
skipOverageBilling: import_v415.z.union([import_v415.z.boolean(), import_v415.z.undefined()]).optional()
|
|
4987
5010
|
});
|
|
4988
5011
|
var setupPaymentUsageLimitIntervalSchema = closedEnumSchema10;
|
|
5012
|
+
var setupPaymentAnchorSchema = closedEnumSchema10;
|
|
4989
5013
|
var setupPaymentUsageLimitSchema = import_v415.z.object({
|
|
4990
5014
|
featureId: import_v415.z.string(),
|
|
4991
5015
|
enabled: import_v415.z.union([import_v415.z.boolean(), import_v415.z.undefined()]).optional(),
|
|
4992
5016
|
limit: import_v415.z.number(),
|
|
4993
5017
|
interval: setupPaymentUsageLimitIntervalSchema,
|
|
5018
|
+
anchor: import_v415.z.union([setupPaymentAnchorSchema, import_v415.z.undefined()]).optional(),
|
|
4994
5019
|
filter: import_v415.z.union([setupPaymentFilterSchema, import_v415.z.undefined()]).optional()
|
|
4995
5020
|
});
|
|
4996
5021
|
var setupPaymentThresholdTypeSchema = closedEnumSchema10;
|
|
@@ -5437,6 +5462,7 @@ var billingUpdateUsageLimitOutboundSchema = import_v416.z.object({
|
|
|
5437
5462
|
enabled: import_v416.z.boolean(),
|
|
5438
5463
|
limit: import_v416.z.number(),
|
|
5439
5464
|
interval: import_v416.z.string(),
|
|
5465
|
+
anchor: import_v416.z.union([import_v416.z.string(), import_v416.z.undefined()]).optional(),
|
|
5440
5466
|
filter: import_v416.z.union([billingUpdateFilterOutboundSchema, import_v416.z.undefined()]).optional()
|
|
5441
5467
|
});
|
|
5442
5468
|
var billingUpdateUsageAlertOutboundSchema = import_v416.z.object({
|
|
@@ -5747,11 +5773,13 @@ var billingUpdateSpendLimitSchema = import_v416.z.object({
|
|
|
5747
5773
|
skipOverageBilling: import_v416.z.union([import_v416.z.boolean(), import_v416.z.undefined()]).optional()
|
|
5748
5774
|
});
|
|
5749
5775
|
var billingUpdateUsageLimitIntervalSchema = closedEnumSchema11;
|
|
5776
|
+
var billingUpdateAnchorSchema = closedEnumSchema11;
|
|
5750
5777
|
var billingUpdateUsageLimitSchema = import_v416.z.object({
|
|
5751
5778
|
featureId: import_v416.z.string(),
|
|
5752
5779
|
enabled: import_v416.z.union([import_v416.z.boolean(), import_v416.z.undefined()]).optional(),
|
|
5753
5780
|
limit: import_v416.z.number(),
|
|
5754
5781
|
interval: billingUpdateUsageLimitIntervalSchema,
|
|
5782
|
+
anchor: import_v416.z.union([billingUpdateAnchorSchema, import_v416.z.undefined()]).optional(),
|
|
5755
5783
|
filter: import_v416.z.union([billingUpdateFilterSchema, import_v416.z.undefined()]).optional()
|
|
5756
5784
|
});
|
|
5757
5785
|
var billingUpdateThresholdTypeSchema = closedEnumSchema11;
|
|
@@ -7780,6 +7808,10 @@ var AttachUsageLimitInterval = {
|
|
|
7780
7808
|
Month: "month",
|
|
7781
7809
|
Year: "year"
|
|
7782
7810
|
};
|
|
7811
|
+
var AttachAnchor = {
|
|
7812
|
+
BillingCycle: "billing_cycle",
|
|
7813
|
+
Utc: "utc"
|
|
7814
|
+
};
|
|
7783
7815
|
var AttachThresholdType = {
|
|
7784
7816
|
Usage: "usage",
|
|
7785
7817
|
UsagePercentage: "usage_percentage",
|
|
@@ -8248,6 +8280,7 @@ var AttachSpendLimit$outboundSchema = z29.pipe(
|
|
|
8248
8280
|
})
|
|
8249
8281
|
);
|
|
8250
8282
|
var AttachUsageLimitInterval$outboundSchema = z29.enum(AttachUsageLimitInterval);
|
|
8283
|
+
var AttachAnchor$outboundSchema = z29.enum(AttachAnchor);
|
|
8251
8284
|
var AttachProperties$outboundSchema = smartUnion([z29.string(), z29.number(), z29.boolean()]);
|
|
8252
8285
|
var AttachFilter$outboundSchema = z29.object({
|
|
8253
8286
|
properties: z29.record(
|
|
@@ -8261,6 +8294,7 @@ var AttachUsageLimit$outboundSchema = z29.pipe(
|
|
|
8261
8294
|
enabled: z29._default(z29.boolean(), true),
|
|
8262
8295
|
limit: z29.number(),
|
|
8263
8296
|
interval: AttachUsageLimitInterval$outboundSchema,
|
|
8297
|
+
anchor: z29.optional(AttachAnchor$outboundSchema),
|
|
8264
8298
|
filter: z29.optional(z29.lazy(() => AttachFilter$outboundSchema))
|
|
8265
8299
|
}),
|
|
8266
8300
|
z29.transform((v) => {
|
|
@@ -9143,6 +9177,10 @@ var BillingUpdateUsageLimitInterval = {
|
|
|
9143
9177
|
Month: "month",
|
|
9144
9178
|
Year: "year"
|
|
9145
9179
|
};
|
|
9180
|
+
var BillingUpdateAnchor = {
|
|
9181
|
+
BillingCycle: "billing_cycle",
|
|
9182
|
+
Utc: "utc"
|
|
9183
|
+
};
|
|
9146
9184
|
var BillingUpdateThresholdType = {
|
|
9147
9185
|
Usage: "usage",
|
|
9148
9186
|
UsagePercentage: "usage_percentage",
|
|
@@ -9634,6 +9672,7 @@ var BillingUpdateSpendLimit$outboundSchema = z32.pipe(
|
|
|
9634
9672
|
})
|
|
9635
9673
|
);
|
|
9636
9674
|
var BillingUpdateUsageLimitInterval$outboundSchema = z32.enum(BillingUpdateUsageLimitInterval);
|
|
9675
|
+
var BillingUpdateAnchor$outboundSchema = z32.enum(BillingUpdateAnchor);
|
|
9637
9676
|
var BillingUpdateProperties$outboundSchema = smartUnion([z32.string(), z32.number(), z32.boolean()]);
|
|
9638
9677
|
var BillingUpdateFilter$outboundSchema = z32.object({
|
|
9639
9678
|
properties: z32.record(
|
|
@@ -9647,6 +9686,7 @@ var BillingUpdateUsageLimit$outboundSchema = z32.pipe(
|
|
|
9647
9686
|
enabled: z32._default(z32.boolean(), true),
|
|
9648
9687
|
limit: z32.number(),
|
|
9649
9688
|
interval: BillingUpdateUsageLimitInterval$outboundSchema,
|
|
9689
|
+
anchor: z32.optional(BillingUpdateAnchor$outboundSchema),
|
|
9650
9690
|
filter: z32.optional(z32.lazy(() => BillingUpdateFilter$outboundSchema))
|
|
9651
9691
|
}),
|
|
9652
9692
|
z32.transform((v) => {
|
|
@@ -10203,6 +10243,10 @@ var CheckUsageLimitInterval2 = {
|
|
|
10203
10243
|
Month: "month",
|
|
10204
10244
|
Year: "year"
|
|
10205
10245
|
};
|
|
10246
|
+
var CheckAnchor2 = {
|
|
10247
|
+
BillingCycle: "billing_cycle",
|
|
10248
|
+
Utc: "utc"
|
|
10249
|
+
};
|
|
10206
10250
|
var CheckThresholdType2 = {
|
|
10207
10251
|
Usage: "usage",
|
|
10208
10252
|
UsagePercentage: "usage_percentage",
|
|
@@ -10306,6 +10350,10 @@ var CheckUsageLimitInterval1 = {
|
|
|
10306
10350
|
Month: "month",
|
|
10307
10351
|
Year: "year"
|
|
10308
10352
|
};
|
|
10353
|
+
var CheckAnchor1 = {
|
|
10354
|
+
BillingCycle: "billing_cycle",
|
|
10355
|
+
Utc: "utc"
|
|
10356
|
+
};
|
|
10309
10357
|
var CheckThresholdType1 = {
|
|
10310
10358
|
Usage: "usage",
|
|
10311
10359
|
UsagePercentage: "usage_percentage",
|
|
@@ -10603,6 +10651,7 @@ var CheckSpendLimit2$inboundSchema = z33.pipe(
|
|
|
10603
10651
|
})
|
|
10604
10652
|
);
|
|
10605
10653
|
var CheckUsageLimitInterval2$inboundSchema = inboundSchema(CheckUsageLimitInterval2);
|
|
10654
|
+
var CheckAnchor2$inboundSchema = inboundSchema(CheckAnchor2);
|
|
10606
10655
|
var CheckFilter2$inboundSchema = z33.object({
|
|
10607
10656
|
properties: z33.record(z33.string(), string5())
|
|
10608
10657
|
});
|
|
@@ -10612,6 +10661,7 @@ var CheckUsageLimit2$inboundSchema = z33.pipe(
|
|
|
10612
10661
|
enabled: z33._default(boolean2(), true),
|
|
10613
10662
|
limit: number2(),
|
|
10614
10663
|
interval: CheckUsageLimitInterval2$inboundSchema,
|
|
10664
|
+
anchor: optional3(CheckAnchor2$inboundSchema),
|
|
10615
10665
|
filter: optional3(z33.lazy(() => CheckFilter2$inboundSchema))
|
|
10616
10666
|
}),
|
|
10617
10667
|
z33.transform((v) => {
|
|
@@ -11005,6 +11055,7 @@ var CheckSpendLimit1$inboundSchema = z33.pipe(
|
|
|
11005
11055
|
})
|
|
11006
11056
|
);
|
|
11007
11057
|
var CheckUsageLimitInterval1$inboundSchema = inboundSchema(CheckUsageLimitInterval1);
|
|
11058
|
+
var CheckAnchor1$inboundSchema = inboundSchema(CheckAnchor1);
|
|
11008
11059
|
var CheckFilter1$inboundSchema = z33.object({
|
|
11009
11060
|
properties: z33.record(z33.string(), string5())
|
|
11010
11061
|
});
|
|
@@ -11014,6 +11065,7 @@ var CheckUsageLimit1$inboundSchema = z33.pipe(
|
|
|
11014
11065
|
enabled: z33._default(boolean2(), true),
|
|
11015
11066
|
limit: number2(),
|
|
11016
11067
|
interval: CheckUsageLimitInterval1$inboundSchema,
|
|
11068
|
+
anchor: optional3(CheckAnchor1$inboundSchema),
|
|
11017
11069
|
filter: optional3(z33.lazy(() => CheckFilter1$inboundSchema))
|
|
11018
11070
|
}),
|
|
11019
11071
|
z33.transform((v) => {
|
|
@@ -11261,6 +11313,10 @@ var CustomerDataUsageLimitInterval = {
|
|
|
11261
11313
|
Month: "month",
|
|
11262
11314
|
Year: "year"
|
|
11263
11315
|
};
|
|
11316
|
+
var CustomerDataAnchor = {
|
|
11317
|
+
BillingCycle: "billing_cycle",
|
|
11318
|
+
Utc: "utc"
|
|
11319
|
+
};
|
|
11264
11320
|
var CustomerDataThresholdType = {
|
|
11265
11321
|
Usage: "usage",
|
|
11266
11322
|
UsagePercentage: "usage_percentage",
|
|
@@ -11319,6 +11375,7 @@ var CustomerDataSpendLimit$outboundSchema = z35.pipe(
|
|
|
11319
11375
|
})
|
|
11320
11376
|
);
|
|
11321
11377
|
var CustomerDataUsageLimitInterval$outboundSchema = z35.enum(CustomerDataUsageLimitInterval);
|
|
11378
|
+
var CustomerDataAnchor$outboundSchema = z35.enum(CustomerDataAnchor);
|
|
11322
11379
|
var Properties$outboundSchema = smartUnion([z35.string(), z35.number(), z35.boolean()]);
|
|
11323
11380
|
var CustomerDataFilter$outboundSchema = z35.object({
|
|
11324
11381
|
properties: z35.record(
|
|
@@ -11332,6 +11389,7 @@ var CustomerDataUsageLimit$outboundSchema = z35.pipe(
|
|
|
11332
11389
|
enabled: z35._default(z35.boolean(), true),
|
|
11333
11390
|
limit: z35.number(),
|
|
11334
11391
|
interval: CustomerDataUsageLimitInterval$outboundSchema,
|
|
11392
|
+
anchor: z35.optional(CustomerDataAnchor$outboundSchema),
|
|
11335
11393
|
filter: z35.optional(z35.lazy(() => CustomerDataFilter$outboundSchema))
|
|
11336
11394
|
}),
|
|
11337
11395
|
z35.transform((v) => {
|
|
@@ -11596,6 +11654,10 @@ var PlanVariantDetailsUsageLimitInterval = {
|
|
|
11596
11654
|
Month: "month",
|
|
11597
11655
|
Year: "year"
|
|
11598
11656
|
};
|
|
11657
|
+
var PlanVariantDetailsAnchor = {
|
|
11658
|
+
BillingCycle: "billing_cycle",
|
|
11659
|
+
Utc: "utc"
|
|
11660
|
+
};
|
|
11599
11661
|
var PlanVariantDetailsThresholdType = {
|
|
11600
11662
|
Usage: "usage",
|
|
11601
11663
|
UsagePercentage: "usage_percentage",
|
|
@@ -11618,6 +11680,10 @@ var PlanUsageLimitInterval = {
|
|
|
11618
11680
|
Month: "month",
|
|
11619
11681
|
Year: "year"
|
|
11620
11682
|
};
|
|
11683
|
+
var PlanAnchor = {
|
|
11684
|
+
BillingCycle: "billing_cycle",
|
|
11685
|
+
Utc: "utc"
|
|
11686
|
+
};
|
|
11621
11687
|
var PlanThresholdType = {
|
|
11622
11688
|
Usage: "usage",
|
|
11623
11689
|
UsagePercentage: "usage_percentage",
|
|
@@ -12092,6 +12158,7 @@ var PlanVariantDetailsSpendLimit$inboundSchema = z36.pipe(
|
|
|
12092
12158
|
})
|
|
12093
12159
|
);
|
|
12094
12160
|
var PlanVariantDetailsUsageLimitInterval$inboundSchema = inboundSchema(PlanVariantDetailsUsageLimitInterval);
|
|
12161
|
+
var PlanVariantDetailsAnchor$inboundSchema = inboundSchema(PlanVariantDetailsAnchor);
|
|
12095
12162
|
var PlanVariantDetailsFilter$inboundSchema = z36.object({
|
|
12096
12163
|
properties: z36.record(z36.string(), string5())
|
|
12097
12164
|
});
|
|
@@ -12101,6 +12168,7 @@ var PlanVariantDetailsUsageLimit$inboundSchema = z36.pipe(
|
|
|
12101
12168
|
enabled: z36._default(boolean2(), true),
|
|
12102
12169
|
limit: number2(),
|
|
12103
12170
|
interval: PlanVariantDetailsUsageLimitInterval$inboundSchema,
|
|
12171
|
+
anchor: optional3(PlanVariantDetailsAnchor$inboundSchema),
|
|
12104
12172
|
filter: optional3(
|
|
12105
12173
|
z36.lazy(() => PlanVariantDetailsFilter$inboundSchema)
|
|
12106
12174
|
)
|
|
@@ -12263,6 +12331,7 @@ var PlanSpendLimit$inboundSchema = z36.pipe(
|
|
|
12263
12331
|
})
|
|
12264
12332
|
);
|
|
12265
12333
|
var PlanUsageLimitInterval$inboundSchema = inboundSchema(PlanUsageLimitInterval);
|
|
12334
|
+
var PlanAnchor$inboundSchema = inboundSchema(PlanAnchor);
|
|
12266
12335
|
var PlanFilter$inboundSchema = z36.object({
|
|
12267
12336
|
properties: z36.record(z36.string(), string5())
|
|
12268
12337
|
});
|
|
@@ -12272,6 +12341,7 @@ var PlanUsageLimit$inboundSchema = z36.pipe(
|
|
|
12272
12341
|
enabled: z36._default(boolean2(), true),
|
|
12273
12342
|
limit: number2(),
|
|
12274
12343
|
interval: PlanUsageLimitInterval$inboundSchema,
|
|
12344
|
+
anchor: optional3(PlanAnchor$inboundSchema),
|
|
12275
12345
|
filter: optional3(z36.lazy(() => PlanFilter$inboundSchema))
|
|
12276
12346
|
}),
|
|
12277
12347
|
z36.transform((v) => {
|
|
@@ -12403,6 +12473,10 @@ var CreateEntityIntervalRequestBody = {
|
|
|
12403
12473
|
Month: "month",
|
|
12404
12474
|
Year: "year"
|
|
12405
12475
|
};
|
|
12476
|
+
var CreateEntityAnchorRequestBody = {
|
|
12477
|
+
BillingCycle: "billing_cycle",
|
|
12478
|
+
Utc: "utc"
|
|
12479
|
+
};
|
|
12406
12480
|
var CreateEntityThresholdTypeRequestBody = {
|
|
12407
12481
|
Usage: "usage",
|
|
12408
12482
|
UsagePercentage: "usage_percentage",
|
|
@@ -12445,6 +12519,10 @@ var CreateEntityIntervalResponse = {
|
|
|
12445
12519
|
Month: "month",
|
|
12446
12520
|
Year: "year"
|
|
12447
12521
|
};
|
|
12522
|
+
var CreateEntityAnchorResponse = {
|
|
12523
|
+
BillingCycle: "billing_cycle",
|
|
12524
|
+
Utc: "utc"
|
|
12525
|
+
};
|
|
12448
12526
|
var CreateEntityUsageLimitSource = {
|
|
12449
12527
|
Customer: "customer",
|
|
12450
12528
|
Plan: "plan"
|
|
@@ -12486,6 +12564,7 @@ var CreateEntitySpendLimitRequestBody$outboundSchema = z37.pipe(
|
|
|
12486
12564
|
})
|
|
12487
12565
|
);
|
|
12488
12566
|
var CreateEntityIntervalRequestBody$outboundSchema = z37.enum(CreateEntityIntervalRequestBody);
|
|
12567
|
+
var CreateEntityAnchorRequestBody$outboundSchema = z37.enum(CreateEntityAnchorRequestBody);
|
|
12489
12568
|
var CreateEntityProperties$outboundSchema = smartUnion([z37.string(), z37.number(), z37.boolean()]);
|
|
12490
12569
|
var CreateEntityFilterRequestBody$outboundSchema = z37.object({
|
|
12491
12570
|
properties: z37.record(
|
|
@@ -12499,6 +12578,7 @@ var CreateEntityUsageLimitRequestBody$outboundSchema = z37.pipe(
|
|
|
12499
12578
|
enabled: z37._default(z37.boolean(), true),
|
|
12500
12579
|
limit: z37.number(),
|
|
12501
12580
|
interval: CreateEntityIntervalRequestBody$outboundSchema,
|
|
12581
|
+
anchor: z37.optional(CreateEntityAnchorRequestBody$outboundSchema),
|
|
12502
12582
|
filter: z37.optional(
|
|
12503
12583
|
z37.lazy(() => CreateEntityFilterRequestBody$outboundSchema)
|
|
12504
12584
|
)
|
|
@@ -12739,6 +12819,7 @@ var CreateEntitySpendLimitResponse$inboundSchema = z37.pipe(
|
|
|
12739
12819
|
})
|
|
12740
12820
|
);
|
|
12741
12821
|
var CreateEntityIntervalResponse$inboundSchema = inboundSchema(CreateEntityIntervalResponse);
|
|
12822
|
+
var CreateEntityAnchorResponse$inboundSchema = inboundSchema(CreateEntityAnchorResponse);
|
|
12742
12823
|
var CreateEntityFilterResponse$inboundSchema = z37.object({
|
|
12743
12824
|
properties: z37.record(z37.string(), string5())
|
|
12744
12825
|
});
|
|
@@ -12749,6 +12830,7 @@ var CreateEntityUsageLimitResponse$inboundSchema = z37.pipe(
|
|
|
12749
12830
|
enabled: z37._default(boolean2(), true),
|
|
12750
12831
|
limit: number2(),
|
|
12751
12832
|
interval: CreateEntityIntervalResponse$inboundSchema,
|
|
12833
|
+
anchor: optional3(CreateEntityAnchorResponse$inboundSchema),
|
|
12752
12834
|
filter: optional3(
|
|
12753
12835
|
z37.lazy(() => CreateEntityFilterResponse$inboundSchema)
|
|
12754
12836
|
),
|
|
@@ -13181,6 +13263,10 @@ var CreatePlanUsageLimitIntervalRequestBody = {
|
|
|
13181
13263
|
Month: "month",
|
|
13182
13264
|
Year: "year"
|
|
13183
13265
|
};
|
|
13266
|
+
var CreatePlanAnchorRequestBody = {
|
|
13267
|
+
BillingCycle: "billing_cycle",
|
|
13268
|
+
Utc: "utc"
|
|
13269
|
+
};
|
|
13184
13270
|
var CreatePlanThresholdTypeRequestBody = {
|
|
13185
13271
|
Usage: "usage",
|
|
13186
13272
|
UsagePercentage: "usage_percentage",
|
|
@@ -13347,6 +13433,10 @@ var CreatePlanVariantDetailsUsageLimitInterval = {
|
|
|
13347
13433
|
Month: "month",
|
|
13348
13434
|
Year: "year"
|
|
13349
13435
|
};
|
|
13436
|
+
var CreatePlanVariantDetailsAnchor = {
|
|
13437
|
+
BillingCycle: "billing_cycle",
|
|
13438
|
+
Utc: "utc"
|
|
13439
|
+
};
|
|
13350
13440
|
var CreatePlanVariantDetailsThresholdType = {
|
|
13351
13441
|
Usage: "usage",
|
|
13352
13442
|
UsagePercentage: "usage_percentage",
|
|
@@ -13369,6 +13459,10 @@ var CreatePlanUsageLimitIntervalResponse = {
|
|
|
13369
13459
|
Month: "month",
|
|
13370
13460
|
Year: "year"
|
|
13371
13461
|
};
|
|
13462
|
+
var CreatePlanAnchorResponse = {
|
|
13463
|
+
BillingCycle: "billing_cycle",
|
|
13464
|
+
Utc: "utc"
|
|
13465
|
+
};
|
|
13372
13466
|
var CreatePlanThresholdTypeResponse = {
|
|
13373
13467
|
Usage: "usage",
|
|
13374
13468
|
UsagePercentage: "usage_percentage",
|
|
@@ -13856,6 +13950,7 @@ var CreatePlanSpendLimitRequestBody$outboundSchema = z39.pipe(
|
|
|
13856
13950
|
var CreatePlanUsageLimitIntervalRequestBody$outboundSchema = z39.enum(
|
|
13857
13951
|
CreatePlanUsageLimitIntervalRequestBody
|
|
13858
13952
|
);
|
|
13953
|
+
var CreatePlanAnchorRequestBody$outboundSchema = z39.enum(CreatePlanAnchorRequestBody);
|
|
13859
13954
|
var CreatePlanProperties$outboundSchema = smartUnion([z39.string(), z39.number(), z39.boolean()]);
|
|
13860
13955
|
var CreatePlanFilterRequestBody$outboundSchema = z39.object({
|
|
13861
13956
|
properties: z39.record(
|
|
@@ -13869,6 +13964,7 @@ var CreatePlanUsageLimitRequestBody$outboundSchema = z39.pipe(
|
|
|
13869
13964
|
enabled: z39._default(z39.boolean(), true),
|
|
13870
13965
|
limit: z39.number(),
|
|
13871
13966
|
interval: CreatePlanUsageLimitIntervalRequestBody$outboundSchema,
|
|
13967
|
+
anchor: z39.optional(CreatePlanAnchorRequestBody$outboundSchema),
|
|
13872
13968
|
filter: z39.optional(
|
|
13873
13969
|
z39.lazy(() => CreatePlanFilterRequestBody$outboundSchema)
|
|
13874
13970
|
)
|
|
@@ -14445,6 +14541,7 @@ var CreatePlanVariantDetailsSpendLimit$inboundSchema = z39.pipe(
|
|
|
14445
14541
|
})
|
|
14446
14542
|
);
|
|
14447
14543
|
var CreatePlanVariantDetailsUsageLimitInterval$inboundSchema = inboundSchema(CreatePlanVariantDetailsUsageLimitInterval);
|
|
14544
|
+
var CreatePlanVariantDetailsAnchor$inboundSchema = inboundSchema(CreatePlanVariantDetailsAnchor);
|
|
14448
14545
|
var CreatePlanVariantDetailsFilter$inboundSchema = z39.object({
|
|
14449
14546
|
properties: z39.record(z39.string(), string5())
|
|
14450
14547
|
});
|
|
@@ -14454,6 +14551,7 @@ var CreatePlanVariantDetailsUsageLimit$inboundSchema = z39.pipe(
|
|
|
14454
14551
|
enabled: z39._default(boolean2(), true),
|
|
14455
14552
|
limit: number2(),
|
|
14456
14553
|
interval: CreatePlanVariantDetailsUsageLimitInterval$inboundSchema,
|
|
14554
|
+
anchor: optional3(CreatePlanVariantDetailsAnchor$inboundSchema),
|
|
14457
14555
|
filter: optional3(
|
|
14458
14556
|
z39.lazy(() => CreatePlanVariantDetailsFilter$inboundSchema)
|
|
14459
14557
|
)
|
|
@@ -14620,6 +14718,7 @@ var CreatePlanSpendLimitResponse$inboundSchema = z39.pipe(
|
|
|
14620
14718
|
})
|
|
14621
14719
|
);
|
|
14622
14720
|
var CreatePlanUsageLimitIntervalResponse$inboundSchema = inboundSchema(CreatePlanUsageLimitIntervalResponse);
|
|
14721
|
+
var CreatePlanAnchorResponse$inboundSchema = inboundSchema(CreatePlanAnchorResponse);
|
|
14623
14722
|
var CreatePlanFilterResponse$inboundSchema = z39.object({
|
|
14624
14723
|
properties: z39.record(z39.string(), string5())
|
|
14625
14724
|
});
|
|
@@ -14629,6 +14728,7 @@ var CreatePlanUsageLimitResponse$inboundSchema = z39.pipe(
|
|
|
14629
14728
|
enabled: z39._default(boolean2(), true),
|
|
14630
14729
|
limit: number2(),
|
|
14631
14730
|
interval: CreatePlanUsageLimitIntervalResponse$inboundSchema,
|
|
14731
|
+
anchor: optional3(CreatePlanAnchorResponse$inboundSchema),
|
|
14632
14732
|
filter: optional3(
|
|
14633
14733
|
z39.lazy(() => CreatePlanFilterResponse$inboundSchema)
|
|
14634
14734
|
)
|
|
@@ -15237,6 +15337,10 @@ var UnscheduledPlanUsageLimitInterval = {
|
|
|
15237
15337
|
Month: "month",
|
|
15238
15338
|
Year: "year"
|
|
15239
15339
|
};
|
|
15340
|
+
var UnscheduledPlanAnchor = {
|
|
15341
|
+
BillingCycle: "billing_cycle",
|
|
15342
|
+
Utc: "utc"
|
|
15343
|
+
};
|
|
15240
15344
|
var UnscheduledPlanThresholdType = {
|
|
15241
15345
|
Usage: "usage",
|
|
15242
15346
|
UsagePercentage: "usage_percentage",
|
|
@@ -15382,6 +15486,10 @@ var PhaseStartUsageLimitInterval = {
|
|
|
15382
15486
|
Month: "month",
|
|
15383
15487
|
Year: "year"
|
|
15384
15488
|
};
|
|
15489
|
+
var PhaseStartAnchor = {
|
|
15490
|
+
BillingCycle: "billing_cycle",
|
|
15491
|
+
Utc: "utc"
|
|
15492
|
+
};
|
|
15385
15493
|
var PhaseStartThresholdType = {
|
|
15386
15494
|
Usage: "usage",
|
|
15387
15495
|
UsagePercentage: "usage_percentage",
|
|
@@ -15830,6 +15938,7 @@ var UnscheduledPlanSpendLimit$outboundSchema = z43.pipe(
|
|
|
15830
15938
|
})
|
|
15831
15939
|
);
|
|
15832
15940
|
var UnscheduledPlanUsageLimitInterval$outboundSchema = z43.enum(UnscheduledPlanUsageLimitInterval);
|
|
15941
|
+
var UnscheduledPlanAnchor$outboundSchema = z43.enum(UnscheduledPlanAnchor);
|
|
15833
15942
|
var CreateScheduleProperties$outboundSchema = smartUnion([z43.string(), z43.number(), z43.boolean()]);
|
|
15834
15943
|
var UnscheduledPlanFilter$outboundSchema = z43.object({
|
|
15835
15944
|
properties: z43.record(
|
|
@@ -15843,6 +15952,7 @@ var UnscheduledPlanUsageLimit$outboundSchema = z43.pipe(
|
|
|
15843
15952
|
enabled: z43._default(z43.boolean(), true),
|
|
15844
15953
|
limit: z43.number(),
|
|
15845
15954
|
interval: UnscheduledPlanUsageLimitInterval$outboundSchema,
|
|
15955
|
+
anchor: z43.optional(UnscheduledPlanAnchor$outboundSchema),
|
|
15846
15956
|
filter: z43.optional(z43.lazy(() => UnscheduledPlanFilter$outboundSchema))
|
|
15847
15957
|
}),
|
|
15848
15958
|
z43.transform((v) => {
|
|
@@ -16296,6 +16406,7 @@ var PhaseStartSpendLimit$outboundSchema = z43.pipe(
|
|
|
16296
16406
|
})
|
|
16297
16407
|
);
|
|
16298
16408
|
var PhaseStartUsageLimitInterval$outboundSchema = z43.enum(PhaseStartUsageLimitInterval);
|
|
16409
|
+
var PhaseStartAnchor$outboundSchema = z43.enum(PhaseStartAnchor);
|
|
16299
16410
|
var PhaseStartFilter$outboundSchema = z43.object({
|
|
16300
16411
|
properties: z43.record(z43.string(), z43.any())
|
|
16301
16412
|
});
|
|
@@ -16305,6 +16416,7 @@ var PhaseStartUsageLimit$outboundSchema = z43.pipe(
|
|
|
16305
16416
|
enabled: z43._default(z43.boolean(), true),
|
|
16306
16417
|
limit: z43.number(),
|
|
16307
16418
|
interval: PhaseStartUsageLimitInterval$outboundSchema,
|
|
16419
|
+
anchor: z43.optional(PhaseStartAnchor$outboundSchema),
|
|
16308
16420
|
filter: z43.optional(z43.lazy(() => PhaseStartFilter$outboundSchema))
|
|
16309
16421
|
}),
|
|
16310
16422
|
z43.transform((v) => {
|
|
@@ -16452,6 +16564,7 @@ var CreateScheduleParams$outboundSchema = z43.pipe(
|
|
|
16452
16564
|
"if_required"
|
|
16453
16565
|
),
|
|
16454
16566
|
billingBehavior: z43.optional(CreateScheduleBillingBehavior$outboundSchema),
|
|
16567
|
+
noBillingChanges: z43.optional(z43.boolean()),
|
|
16455
16568
|
billingCycleAnchor: z43.optional(z43.literal("now")),
|
|
16456
16569
|
enablePlanImmediately: z43.optional(z43.boolean()),
|
|
16457
16570
|
preserveAddOns: z43.optional(z43.boolean()),
|
|
@@ -16470,6 +16583,7 @@ var CreateScheduleParams$outboundSchema = z43.pipe(
|
|
|
16470
16583
|
checkoutSessionParams: "checkout_session_params",
|
|
16471
16584
|
redirectMode: "redirect_mode",
|
|
16472
16585
|
billingBehavior: "billing_behavior",
|
|
16586
|
+
noBillingChanges: "no_billing_changes",
|
|
16473
16587
|
billingCycleAnchor: "billing_cycle_anchor",
|
|
16474
16588
|
enablePlanImmediately: "enable_plan_immediately",
|
|
16475
16589
|
preserveAddOns: "preserve_add_ons",
|
|
@@ -16590,6 +16704,10 @@ var CustomerUsageLimitInterval = {
|
|
|
16590
16704
|
Month: "month",
|
|
16591
16705
|
Year: "year"
|
|
16592
16706
|
};
|
|
16707
|
+
var CustomerAnchor = {
|
|
16708
|
+
BillingCycle: "billing_cycle",
|
|
16709
|
+
Utc: "utc"
|
|
16710
|
+
};
|
|
16593
16711
|
var UsageLimitSource = {
|
|
16594
16712
|
Customer: "customer",
|
|
16595
16713
|
Plan: "plan"
|
|
@@ -16723,6 +16841,7 @@ var CustomerSpendLimit$inboundSchema = z45.pipe(
|
|
|
16723
16841
|
})
|
|
16724
16842
|
);
|
|
16725
16843
|
var CustomerUsageLimitInterval$inboundSchema = inboundSchema(CustomerUsageLimitInterval);
|
|
16844
|
+
var CustomerAnchor$inboundSchema = inboundSchema(CustomerAnchor);
|
|
16726
16845
|
var CustomerFilter$inboundSchema = z45.object({
|
|
16727
16846
|
properties: z45.record(z45.string(), string5())
|
|
16728
16847
|
});
|
|
@@ -16733,6 +16852,7 @@ var CustomerUsageLimit$inboundSchema = z45.pipe(
|
|
|
16733
16852
|
enabled: z45._default(boolean2(), true),
|
|
16734
16853
|
limit: number2(),
|
|
16735
16854
|
interval: CustomerUsageLimitInterval$inboundSchema,
|
|
16855
|
+
anchor: optional3(CustomerAnchor$inboundSchema),
|
|
16736
16856
|
filter: optional3(z45.lazy(() => CustomerFilter$inboundSchema)),
|
|
16737
16857
|
usage: optional3(number2()),
|
|
16738
16858
|
source: optional3(UsageLimitSource$inboundSchema)
|
|
@@ -17404,6 +17524,10 @@ var GetCustomerUsageLimitInterval = {
|
|
|
17404
17524
|
Month: "month",
|
|
17405
17525
|
Year: "year"
|
|
17406
17526
|
};
|
|
17527
|
+
var GetCustomerAnchor = {
|
|
17528
|
+
BillingCycle: "billing_cycle",
|
|
17529
|
+
Utc: "utc"
|
|
17530
|
+
};
|
|
17407
17531
|
var GetCustomerUsageLimitSource = {
|
|
17408
17532
|
Customer: "customer",
|
|
17409
17533
|
Plan: "plan"
|
|
@@ -17548,6 +17672,7 @@ var GetCustomerSpendLimit$inboundSchema = z54.pipe(
|
|
|
17548
17672
|
})
|
|
17549
17673
|
);
|
|
17550
17674
|
var GetCustomerUsageLimitInterval$inboundSchema = inboundSchema(GetCustomerUsageLimitInterval);
|
|
17675
|
+
var GetCustomerAnchor$inboundSchema = inboundSchema(GetCustomerAnchor);
|
|
17551
17676
|
var GetCustomerFilter$inboundSchema = z54.object({
|
|
17552
17677
|
properties: z54.record(z54.string(), string5())
|
|
17553
17678
|
});
|
|
@@ -17558,6 +17683,7 @@ var GetCustomerUsageLimit$inboundSchema = z54.pipe(
|
|
|
17558
17683
|
enabled: z54._default(boolean2(), true),
|
|
17559
17684
|
limit: number2(),
|
|
17560
17685
|
interval: GetCustomerUsageLimitInterval$inboundSchema,
|
|
17686
|
+
anchor: optional3(GetCustomerAnchor$inboundSchema),
|
|
17561
17687
|
filter: optional3(z54.lazy(() => GetCustomerFilter$inboundSchema)),
|
|
17562
17688
|
usage: optional3(number2()),
|
|
17563
17689
|
source: optional3(GetCustomerUsageLimitSource$inboundSchema)
|
|
@@ -18073,6 +18199,10 @@ var GetEntityInterval = {
|
|
|
18073
18199
|
Month: "month",
|
|
18074
18200
|
Year: "year"
|
|
18075
18201
|
};
|
|
18202
|
+
var GetEntityAnchor = {
|
|
18203
|
+
BillingCycle: "billing_cycle",
|
|
18204
|
+
Utc: "utc"
|
|
18205
|
+
};
|
|
18076
18206
|
var GetEntityUsageLimitSource = {
|
|
18077
18207
|
Customer: "customer",
|
|
18078
18208
|
Plan: "plan"
|
|
@@ -18265,6 +18395,7 @@ var GetEntitySpendLimit$inboundSchema = z55.pipe(
|
|
|
18265
18395
|
})
|
|
18266
18396
|
);
|
|
18267
18397
|
var GetEntityInterval$inboundSchema = inboundSchema(GetEntityInterval);
|
|
18398
|
+
var GetEntityAnchor$inboundSchema = inboundSchema(GetEntityAnchor);
|
|
18268
18399
|
var GetEntityFilter$inboundSchema = z55.object({
|
|
18269
18400
|
properties: z55.record(z55.string(), string5())
|
|
18270
18401
|
});
|
|
@@ -18275,6 +18406,7 @@ var GetEntityUsageLimit$inboundSchema = z55.pipe(
|
|
|
18275
18406
|
enabled: z55._default(boolean2(), true),
|
|
18276
18407
|
limit: number2(),
|
|
18277
18408
|
interval: GetEntityInterval$inboundSchema,
|
|
18409
|
+
anchor: optional3(GetEntityAnchor$inboundSchema),
|
|
18278
18410
|
filter: optional3(z55.lazy(() => GetEntityFilter$inboundSchema)),
|
|
18279
18411
|
usage: optional3(number2()),
|
|
18280
18412
|
source: optional3(GetEntityUsageLimitSource$inboundSchema)
|
|
@@ -18495,6 +18627,10 @@ var GetOrCreateCustomerUsageLimitInterval = {
|
|
|
18495
18627
|
Month: "month",
|
|
18496
18628
|
Year: "year"
|
|
18497
18629
|
};
|
|
18630
|
+
var GetOrCreateCustomerAnchor = {
|
|
18631
|
+
BillingCycle: "billing_cycle",
|
|
18632
|
+
Utc: "utc"
|
|
18633
|
+
};
|
|
18498
18634
|
var GetOrCreateCustomerThresholdType = {
|
|
18499
18635
|
Usage: "usage",
|
|
18500
18636
|
UsagePercentage: "usage_percentage",
|
|
@@ -18557,6 +18693,7 @@ var GetOrCreateCustomerSpendLimit$outboundSchema = z57.pipe(
|
|
|
18557
18693
|
var GetOrCreateCustomerUsageLimitInterval$outboundSchema = z57.enum(
|
|
18558
18694
|
GetOrCreateCustomerUsageLimitInterval
|
|
18559
18695
|
);
|
|
18696
|
+
var GetOrCreateCustomerAnchor$outboundSchema = z57.enum(GetOrCreateCustomerAnchor);
|
|
18560
18697
|
var GetOrCreateCustomerProperties$outboundSchema = smartUnion([z57.string(), z57.number(), z57.boolean()]);
|
|
18561
18698
|
var GetOrCreateCustomerFilter$outboundSchema = z57.object({
|
|
18562
18699
|
properties: z57.record(
|
|
@@ -18570,6 +18707,7 @@ var GetOrCreateCustomerUsageLimit$outboundSchema = z57.pipe(
|
|
|
18570
18707
|
enabled: z57._default(z57.boolean(), true),
|
|
18571
18708
|
limit: z57.number(),
|
|
18572
18709
|
interval: GetOrCreateCustomerUsageLimitInterval$outboundSchema,
|
|
18710
|
+
anchor: z57.optional(GetOrCreateCustomerAnchor$outboundSchema),
|
|
18573
18711
|
filter: z57.optional(z57.lazy(() => GetOrCreateCustomerFilter$outboundSchema))
|
|
18574
18712
|
}),
|
|
18575
18713
|
z57.transform((v) => {
|
|
@@ -18837,6 +18975,10 @@ var GetPlanVariantDetailsUsageLimitInterval = {
|
|
|
18837
18975
|
Month: "month",
|
|
18838
18976
|
Year: "year"
|
|
18839
18977
|
};
|
|
18978
|
+
var GetPlanVariantDetailsAnchor = {
|
|
18979
|
+
BillingCycle: "billing_cycle",
|
|
18980
|
+
Utc: "utc"
|
|
18981
|
+
};
|
|
18840
18982
|
var GetPlanVariantDetailsThresholdType = {
|
|
18841
18983
|
Usage: "usage",
|
|
18842
18984
|
UsagePercentage: "usage_percentage",
|
|
@@ -18859,6 +19001,10 @@ var GetPlanUsageLimitInterval = {
|
|
|
18859
19001
|
Month: "month",
|
|
18860
19002
|
Year: "year"
|
|
18861
19003
|
};
|
|
19004
|
+
var GetPlanAnchor = {
|
|
19005
|
+
BillingCycle: "billing_cycle",
|
|
19006
|
+
Utc: "utc"
|
|
19007
|
+
};
|
|
18862
19008
|
var GetPlanThresholdType = {
|
|
18863
19009
|
Usage: "usage",
|
|
18864
19010
|
UsagePercentage: "usage_percentage",
|
|
@@ -19348,6 +19494,7 @@ var GetPlanVariantDetailsSpendLimit$inboundSchema = z58.pipe(
|
|
|
19348
19494
|
})
|
|
19349
19495
|
);
|
|
19350
19496
|
var GetPlanVariantDetailsUsageLimitInterval$inboundSchema = inboundSchema(GetPlanVariantDetailsUsageLimitInterval);
|
|
19497
|
+
var GetPlanVariantDetailsAnchor$inboundSchema = inboundSchema(GetPlanVariantDetailsAnchor);
|
|
19351
19498
|
var GetPlanVariantDetailsFilter$inboundSchema = z58.object({
|
|
19352
19499
|
properties: z58.record(z58.string(), string5())
|
|
19353
19500
|
});
|
|
@@ -19357,6 +19504,7 @@ var GetPlanVariantDetailsUsageLimit$inboundSchema = z58.pipe(
|
|
|
19357
19504
|
enabled: z58._default(boolean2(), true),
|
|
19358
19505
|
limit: number2(),
|
|
19359
19506
|
interval: GetPlanVariantDetailsUsageLimitInterval$inboundSchema,
|
|
19507
|
+
anchor: optional3(GetPlanVariantDetailsAnchor$inboundSchema),
|
|
19360
19508
|
filter: optional3(
|
|
19361
19509
|
z58.lazy(() => GetPlanVariantDetailsFilter$inboundSchema)
|
|
19362
19510
|
)
|
|
@@ -19519,6 +19667,7 @@ var GetPlanSpendLimit$inboundSchema = z58.pipe(
|
|
|
19519
19667
|
})
|
|
19520
19668
|
);
|
|
19521
19669
|
var GetPlanUsageLimitInterval$inboundSchema = inboundSchema(GetPlanUsageLimitInterval);
|
|
19670
|
+
var GetPlanAnchor$inboundSchema = inboundSchema(GetPlanAnchor);
|
|
19522
19671
|
var GetPlanFilter$inboundSchema = z58.object({
|
|
19523
19672
|
properties: z58.record(z58.string(), string5())
|
|
19524
19673
|
});
|
|
@@ -19528,6 +19677,7 @@ var GetPlanUsageLimit$inboundSchema = z58.pipe(
|
|
|
19528
19677
|
enabled: z58._default(boolean2(), true),
|
|
19529
19678
|
limit: number2(),
|
|
19530
19679
|
interval: GetPlanUsageLimitInterval$inboundSchema,
|
|
19680
|
+
anchor: optional3(GetPlanAnchor$inboundSchema),
|
|
19531
19681
|
filter: optional3(z58.lazy(() => GetPlanFilter$inboundSchema))
|
|
19532
19682
|
}),
|
|
19533
19683
|
z58.transform((v) => {
|
|
@@ -20265,6 +20415,10 @@ var ListCustomersUsageLimitInterval = {
|
|
|
20265
20415
|
Month: "month",
|
|
20266
20416
|
Year: "year"
|
|
20267
20417
|
};
|
|
20418
|
+
var ListCustomersAnchor = {
|
|
20419
|
+
BillingCycle: "billing_cycle",
|
|
20420
|
+
Utc: "utc"
|
|
20421
|
+
};
|
|
20268
20422
|
var ListCustomersUsageLimitSource = {
|
|
20269
20423
|
Customer: "customer",
|
|
20270
20424
|
Plan: "plan"
|
|
@@ -20413,6 +20567,7 @@ var ListCustomersSpendLimit$inboundSchema = z65.pipe(
|
|
|
20413
20567
|
})
|
|
20414
20568
|
);
|
|
20415
20569
|
var ListCustomersUsageLimitInterval$inboundSchema = inboundSchema(ListCustomersUsageLimitInterval);
|
|
20570
|
+
var ListCustomersAnchor$inboundSchema = inboundSchema(ListCustomersAnchor);
|
|
20416
20571
|
var ListCustomersFilter$inboundSchema = z65.object({
|
|
20417
20572
|
properties: z65.record(z65.string(), string5())
|
|
20418
20573
|
});
|
|
@@ -20423,6 +20578,7 @@ var ListCustomersUsageLimit$inboundSchema = z65.pipe(
|
|
|
20423
20578
|
enabled: z65._default(boolean2(), true),
|
|
20424
20579
|
limit: number2(),
|
|
20425
20580
|
interval: ListCustomersUsageLimitInterval$inboundSchema,
|
|
20581
|
+
anchor: optional3(ListCustomersAnchor$inboundSchema),
|
|
20426
20582
|
filter: optional3(z65.lazy(() => ListCustomersFilter$inboundSchema)),
|
|
20427
20583
|
usage: optional3(number2()),
|
|
20428
20584
|
source: optional3(ListCustomersUsageLimitSource$inboundSchema)
|
|
@@ -20776,6 +20932,10 @@ var ListEntitiesInterval = {
|
|
|
20776
20932
|
Month: "month",
|
|
20777
20933
|
Year: "year"
|
|
20778
20934
|
};
|
|
20935
|
+
var ListEntitiesAnchor = {
|
|
20936
|
+
BillingCycle: "billing_cycle",
|
|
20937
|
+
Utc: "utc"
|
|
20938
|
+
};
|
|
20779
20939
|
var ListEntitiesUsageLimitSource = {
|
|
20780
20940
|
Customer: "customer",
|
|
20781
20941
|
Plan: "plan"
|
|
@@ -20982,6 +21142,7 @@ var ListEntitiesSpendLimit$inboundSchema = z66.pipe(
|
|
|
20982
21142
|
})
|
|
20983
21143
|
);
|
|
20984
21144
|
var ListEntitiesInterval$inboundSchema = inboundSchema(ListEntitiesInterval);
|
|
21145
|
+
var ListEntitiesAnchor$inboundSchema = inboundSchema(ListEntitiesAnchor);
|
|
20985
21146
|
var ListEntitiesFilter$inboundSchema = z66.object({
|
|
20986
21147
|
properties: z66.record(z66.string(), string5())
|
|
20987
21148
|
});
|
|
@@ -20992,6 +21153,7 @@ var ListEntitiesUsageLimit$inboundSchema = z66.pipe(
|
|
|
20992
21153
|
enabled: z66._default(boolean2(), true),
|
|
20993
21154
|
limit: number2(),
|
|
20994
21155
|
interval: ListEntitiesInterval$inboundSchema,
|
|
21156
|
+
anchor: optional3(ListEntitiesAnchor$inboundSchema),
|
|
20995
21157
|
filter: optional3(z66.lazy(() => ListEntitiesFilter$inboundSchema)),
|
|
20996
21158
|
usage: optional3(number2()),
|
|
20997
21159
|
source: optional3(ListEntitiesUsageLimitSource$inboundSchema)
|
|
@@ -21551,6 +21713,10 @@ var ListPlansVariantDetailsUsageLimitInterval = {
|
|
|
21551
21713
|
Month: "month",
|
|
21552
21714
|
Year: "year"
|
|
21553
21715
|
};
|
|
21716
|
+
var ListPlansVariantDetailsAnchor = {
|
|
21717
|
+
BillingCycle: "billing_cycle",
|
|
21718
|
+
Utc: "utc"
|
|
21719
|
+
};
|
|
21554
21720
|
var ListPlansVariantDetailsThresholdType = {
|
|
21555
21721
|
Usage: "usage",
|
|
21556
21722
|
UsagePercentage: "usage_percentage",
|
|
@@ -21573,6 +21739,10 @@ var ListPlansUsageLimitInterval = {
|
|
|
21573
21739
|
Month: "month",
|
|
21574
21740
|
Year: "year"
|
|
21575
21741
|
};
|
|
21742
|
+
var ListPlansAnchor = {
|
|
21743
|
+
BillingCycle: "billing_cycle",
|
|
21744
|
+
Utc: "utc"
|
|
21745
|
+
};
|
|
21576
21746
|
var ListPlansThresholdType = {
|
|
21577
21747
|
Usage: "usage",
|
|
21578
21748
|
UsagePercentage: "usage_percentage",
|
|
@@ -22054,6 +22224,7 @@ var ListPlansVariantDetailsSpendLimit$inboundSchema = z70.pipe(
|
|
|
22054
22224
|
})
|
|
22055
22225
|
);
|
|
22056
22226
|
var ListPlansVariantDetailsUsageLimitInterval$inboundSchema = inboundSchema(ListPlansVariantDetailsUsageLimitInterval);
|
|
22227
|
+
var ListPlansVariantDetailsAnchor$inboundSchema = inboundSchema(ListPlansVariantDetailsAnchor);
|
|
22057
22228
|
var ListPlansVariantDetailsFilter$inboundSchema = z70.object({
|
|
22058
22229
|
properties: z70.record(z70.string(), string5())
|
|
22059
22230
|
});
|
|
@@ -22063,6 +22234,7 @@ var ListPlansVariantDetailsUsageLimit$inboundSchema = z70.pipe(
|
|
|
22063
22234
|
enabled: z70._default(boolean2(), true),
|
|
22064
22235
|
limit: number2(),
|
|
22065
22236
|
interval: ListPlansVariantDetailsUsageLimitInterval$inboundSchema,
|
|
22237
|
+
anchor: optional3(ListPlansVariantDetailsAnchor$inboundSchema),
|
|
22066
22238
|
filter: optional3(
|
|
22067
22239
|
z70.lazy(() => ListPlansVariantDetailsFilter$inboundSchema)
|
|
22068
22240
|
)
|
|
@@ -22227,6 +22399,7 @@ var ListPlansSpendLimit$inboundSchema = z70.pipe(
|
|
|
22227
22399
|
})
|
|
22228
22400
|
);
|
|
22229
22401
|
var ListPlansUsageLimitInterval$inboundSchema = inboundSchema(ListPlansUsageLimitInterval);
|
|
22402
|
+
var ListPlansAnchor$inboundSchema = inboundSchema(ListPlansAnchor);
|
|
22230
22403
|
var ListPlansFilter$inboundSchema = z70.object({
|
|
22231
22404
|
properties: z70.record(z70.string(), string5())
|
|
22232
22405
|
});
|
|
@@ -22236,6 +22409,7 @@ var ListPlansUsageLimit$inboundSchema = z70.pipe(
|
|
|
22236
22409
|
enabled: z70._default(boolean2(), true),
|
|
22237
22410
|
limit: number2(),
|
|
22238
22411
|
interval: ListPlansUsageLimitInterval$inboundSchema,
|
|
22412
|
+
anchor: optional3(ListPlansAnchor$inboundSchema),
|
|
22239
22413
|
filter: optional3(z70.lazy(() => ListPlansFilter$inboundSchema))
|
|
22240
22414
|
}),
|
|
22241
22415
|
z70.transform((v) => {
|
|
@@ -22631,6 +22805,10 @@ var MultiAttachEntityDataInterval = {
|
|
|
22631
22805
|
Month: "month",
|
|
22632
22806
|
Year: "year"
|
|
22633
22807
|
};
|
|
22808
|
+
var MultiAttachAnchor = {
|
|
22809
|
+
BillingCycle: "billing_cycle",
|
|
22810
|
+
Utc: "utc"
|
|
22811
|
+
};
|
|
22634
22812
|
var MultiAttachThresholdType = {
|
|
22635
22813
|
Usage: "usage",
|
|
22636
22814
|
UsagePercentage: "usage_percentage",
|
|
@@ -22889,6 +23067,7 @@ var MultiAttachSpendLimit$outboundSchema = z74.pipe(
|
|
|
22889
23067
|
})
|
|
22890
23068
|
);
|
|
22891
23069
|
var MultiAttachEntityDataInterval$outboundSchema = z74.enum(MultiAttachEntityDataInterval);
|
|
23070
|
+
var MultiAttachAnchor$outboundSchema = z74.enum(MultiAttachAnchor);
|
|
22892
23071
|
var MultiAttachProperties$outboundSchema = smartUnion([z74.string(), z74.number(), z74.boolean()]);
|
|
22893
23072
|
var MultiAttachFilter$outboundSchema = z74.object({
|
|
22894
23073
|
properties: z74.record(
|
|
@@ -22902,6 +23081,7 @@ var MultiAttachUsageLimit$outboundSchema = z74.pipe(
|
|
|
22902
23081
|
enabled: z74._default(z74.boolean(), true),
|
|
22903
23082
|
limit: z74.number(),
|
|
22904
23083
|
interval: MultiAttachEntityDataInterval$outboundSchema,
|
|
23084
|
+
anchor: z74.optional(MultiAttachAnchor$outboundSchema),
|
|
22905
23085
|
filter: z74.optional(z74.lazy(() => MultiAttachFilter$outboundSchema))
|
|
22906
23086
|
}),
|
|
22907
23087
|
z74.transform((v) => {
|
|
@@ -23326,6 +23506,10 @@ var PreviewAttachUsageLimitInterval = {
|
|
|
23326
23506
|
Month: "month",
|
|
23327
23507
|
Year: "year"
|
|
23328
23508
|
};
|
|
23509
|
+
var PreviewAttachAnchor = {
|
|
23510
|
+
BillingCycle: "billing_cycle",
|
|
23511
|
+
Utc: "utc"
|
|
23512
|
+
};
|
|
23329
23513
|
var PreviewAttachThresholdType = {
|
|
23330
23514
|
Usage: "usage",
|
|
23331
23515
|
UsagePercentage: "usage_percentage",
|
|
@@ -23814,6 +23998,7 @@ var PreviewAttachSpendLimit$outboundSchema = z77.pipe(
|
|
|
23814
23998
|
})
|
|
23815
23999
|
);
|
|
23816
24000
|
var PreviewAttachUsageLimitInterval$outboundSchema = z77.enum(PreviewAttachUsageLimitInterval);
|
|
24001
|
+
var PreviewAttachAnchor$outboundSchema = z77.enum(PreviewAttachAnchor);
|
|
23817
24002
|
var PreviewAttachProperties$outboundSchema = smartUnion([z77.string(), z77.number(), z77.boolean()]);
|
|
23818
24003
|
var PreviewAttachFilter$outboundSchema = z77.object({
|
|
23819
24004
|
properties: z77.record(
|
|
@@ -23827,6 +24012,7 @@ var PreviewAttachUsageLimit$outboundSchema = z77.pipe(
|
|
|
23827
24012
|
enabled: z77._default(z77.boolean(), true),
|
|
23828
24013
|
limit: z77.number(),
|
|
23829
24014
|
interval: PreviewAttachUsageLimitInterval$outboundSchema,
|
|
24015
|
+
anchor: z77.optional(PreviewAttachAnchor$outboundSchema),
|
|
23830
24016
|
filter: z77.optional(z77.lazy(() => PreviewAttachFilter$outboundSchema))
|
|
23831
24017
|
}),
|
|
23832
24018
|
z77.transform((v) => {
|
|
@@ -24617,6 +24803,10 @@ var PreviewMultiAttachEntityDataInterval = {
|
|
|
24617
24803
|
Month: "month",
|
|
24618
24804
|
Year: "year"
|
|
24619
24805
|
};
|
|
24806
|
+
var PreviewMultiAttachAnchor = {
|
|
24807
|
+
BillingCycle: "billing_cycle",
|
|
24808
|
+
Utc: "utc"
|
|
24809
|
+
};
|
|
24620
24810
|
var PreviewMultiAttachThresholdType = {
|
|
24621
24811
|
Usage: "usage",
|
|
24622
24812
|
UsagePercentage: "usage_percentage",
|
|
@@ -24894,6 +25084,7 @@ var PreviewMultiAttachSpendLimit$outboundSchema = z78.pipe(
|
|
|
24894
25084
|
})
|
|
24895
25085
|
);
|
|
24896
25086
|
var PreviewMultiAttachEntityDataInterval$outboundSchema = z78.enum(PreviewMultiAttachEntityDataInterval);
|
|
25087
|
+
var PreviewMultiAttachAnchor$outboundSchema = z78.enum(PreviewMultiAttachAnchor);
|
|
24897
25088
|
var PreviewMultiAttachProperties$outboundSchema = smartUnion([z78.string(), z78.number(), z78.boolean()]);
|
|
24898
25089
|
var PreviewMultiAttachFilter$outboundSchema = z78.object({
|
|
24899
25090
|
properties: z78.record(
|
|
@@ -24907,6 +25098,7 @@ var PreviewMultiAttachUsageLimit$outboundSchema = z78.pipe(
|
|
|
24907
25098
|
enabled: z78._default(z78.boolean(), true),
|
|
24908
25099
|
limit: z78.number(),
|
|
24909
25100
|
interval: PreviewMultiAttachEntityDataInterval$outboundSchema,
|
|
25101
|
+
anchor: z78.optional(PreviewMultiAttachAnchor$outboundSchema),
|
|
24910
25102
|
filter: z78.optional(z78.lazy(() => PreviewMultiAttachFilter$outboundSchema))
|
|
24911
25103
|
}),
|
|
24912
25104
|
z78.transform((v) => {
|
|
@@ -25704,6 +25896,10 @@ var PreviewUpdateUsageLimitInterval = {
|
|
|
25704
25896
|
Month: "month",
|
|
25705
25897
|
Year: "year"
|
|
25706
25898
|
};
|
|
25899
|
+
var PreviewUpdateAnchor = {
|
|
25900
|
+
BillingCycle: "billing_cycle",
|
|
25901
|
+
Utc: "utc"
|
|
25902
|
+
};
|
|
25707
25903
|
var PreviewUpdateThresholdType = {
|
|
25708
25904
|
Usage: "usage",
|
|
25709
25905
|
UsagePercentage: "usage_percentage",
|
|
@@ -26201,6 +26397,7 @@ var PreviewUpdateSpendLimit$outboundSchema = z80.pipe(
|
|
|
26201
26397
|
})
|
|
26202
26398
|
);
|
|
26203
26399
|
var PreviewUpdateUsageLimitInterval$outboundSchema = z80.enum(PreviewUpdateUsageLimitInterval);
|
|
26400
|
+
var PreviewUpdateAnchor$outboundSchema = z80.enum(PreviewUpdateAnchor);
|
|
26204
26401
|
var PreviewUpdateProperties$outboundSchema = smartUnion([z80.string(), z80.number(), z80.boolean()]);
|
|
26205
26402
|
var PreviewUpdateFilter$outboundSchema = z80.object({
|
|
26206
26403
|
properties: z80.record(
|
|
@@ -26214,6 +26411,7 @@ var PreviewUpdateUsageLimit$outboundSchema = z80.pipe(
|
|
|
26214
26411
|
enabled: z80._default(z80.boolean(), true),
|
|
26215
26412
|
limit: z80.number(),
|
|
26216
26413
|
interval: PreviewUpdateUsageLimitInterval$outboundSchema,
|
|
26414
|
+
anchor: z80.optional(PreviewUpdateAnchor$outboundSchema),
|
|
26217
26415
|
filter: z80.optional(z80.lazy(() => PreviewUpdateFilter$outboundSchema))
|
|
26218
26416
|
}),
|
|
26219
26417
|
z80.transform((v) => {
|
|
@@ -27154,6 +27352,10 @@ var SetupPaymentUsageLimitInterval = {
|
|
|
27154
27352
|
Month: "month",
|
|
27155
27353
|
Year: "year"
|
|
27156
27354
|
};
|
|
27355
|
+
var SetupPaymentAnchor = {
|
|
27356
|
+
BillingCycle: "billing_cycle",
|
|
27357
|
+
Utc: "utc"
|
|
27358
|
+
};
|
|
27157
27359
|
var SetupPaymentThresholdType = {
|
|
27158
27360
|
Usage: "usage",
|
|
27159
27361
|
UsagePercentage: "usage_percentage",
|
|
@@ -27625,6 +27827,7 @@ var SetupPaymentSpendLimit$outboundSchema = z86.pipe(
|
|
|
27625
27827
|
})
|
|
27626
27828
|
);
|
|
27627
27829
|
var SetupPaymentUsageLimitInterval$outboundSchema = z86.enum(SetupPaymentUsageLimitInterval);
|
|
27830
|
+
var SetupPaymentAnchor$outboundSchema = z86.enum(SetupPaymentAnchor);
|
|
27628
27831
|
var SetupPaymentProperties$outboundSchema = smartUnion([z86.string(), z86.number(), z86.boolean()]);
|
|
27629
27832
|
var SetupPaymentFilter$outboundSchema = z86.object({
|
|
27630
27833
|
properties: z86.record(
|
|
@@ -27638,6 +27841,7 @@ var SetupPaymentUsageLimit$outboundSchema = z86.pipe(
|
|
|
27638
27841
|
enabled: z86._default(z86.boolean(), true),
|
|
27639
27842
|
limit: z86.number(),
|
|
27640
27843
|
interval: SetupPaymentUsageLimitInterval$outboundSchema,
|
|
27844
|
+
anchor: z86.optional(SetupPaymentAnchor$outboundSchema),
|
|
27641
27845
|
filter: z86.optional(z86.lazy(() => SetupPaymentFilter$outboundSchema))
|
|
27642
27846
|
}),
|
|
27643
27847
|
z86.transform((v) => {
|
|
@@ -28588,6 +28792,10 @@ var UpdateCustomerUsageLimitIntervalRequestBody = {
|
|
|
28588
28792
|
Month: "month",
|
|
28589
28793
|
Year: "year"
|
|
28590
28794
|
};
|
|
28795
|
+
var UpdateCustomerAnchorRequestBody = {
|
|
28796
|
+
BillingCycle: "billing_cycle",
|
|
28797
|
+
Utc: "utc"
|
|
28798
|
+
};
|
|
28591
28799
|
var UpdateCustomerThresholdTypeRequestBody = {
|
|
28592
28800
|
Usage: "usage",
|
|
28593
28801
|
UsagePercentage: "usage_percentage",
|
|
@@ -28628,6 +28836,10 @@ var UpdateCustomerUsageLimitIntervalResponse = {
|
|
|
28628
28836
|
Month: "month",
|
|
28629
28837
|
Year: "year"
|
|
28630
28838
|
};
|
|
28839
|
+
var UpdateCustomerAnchorResponse = {
|
|
28840
|
+
BillingCycle: "billing_cycle",
|
|
28841
|
+
Utc: "utc"
|
|
28842
|
+
};
|
|
28631
28843
|
var UpdateCustomerUsageLimitSource = {
|
|
28632
28844
|
Customer: "customer",
|
|
28633
28845
|
Plan: "plan"
|
|
@@ -28720,6 +28932,7 @@ var UpdateCustomerSpendLimitRequestBody$outboundSchema = z91.pipe(
|
|
|
28720
28932
|
var UpdateCustomerUsageLimitIntervalRequestBody$outboundSchema = z91.enum(
|
|
28721
28933
|
UpdateCustomerUsageLimitIntervalRequestBody
|
|
28722
28934
|
);
|
|
28935
|
+
var UpdateCustomerAnchorRequestBody$outboundSchema = z91.enum(UpdateCustomerAnchorRequestBody);
|
|
28723
28936
|
var UpdateCustomerProperties$outboundSchema = smartUnion([z91.string(), z91.number(), z91.boolean()]);
|
|
28724
28937
|
var UpdateCustomerFilterRequestBody$outboundSchema = z91.object({
|
|
28725
28938
|
properties: z91.record(
|
|
@@ -28733,6 +28946,7 @@ var UpdateCustomerUsageLimitRequestBody$outboundSchema = z91.pipe(
|
|
|
28733
28946
|
enabled: z91._default(z91.boolean(), true),
|
|
28734
28947
|
limit: z91.number(),
|
|
28735
28948
|
interval: UpdateCustomerUsageLimitIntervalRequestBody$outboundSchema,
|
|
28949
|
+
anchor: z91.optional(UpdateCustomerAnchorRequestBody$outboundSchema),
|
|
28736
28950
|
filter: z91.optional(
|
|
28737
28951
|
z91.lazy(() => UpdateCustomerFilterRequestBody$outboundSchema)
|
|
28738
28952
|
)
|
|
@@ -28929,6 +29143,7 @@ var UpdateCustomerSpendLimitResponse$inboundSchema = z91.pipe(
|
|
|
28929
29143
|
})
|
|
28930
29144
|
);
|
|
28931
29145
|
var UpdateCustomerUsageLimitIntervalResponse$inboundSchema = inboundSchema(UpdateCustomerUsageLimitIntervalResponse);
|
|
29146
|
+
var UpdateCustomerAnchorResponse$inboundSchema = inboundSchema(UpdateCustomerAnchorResponse);
|
|
28932
29147
|
var UpdateCustomerFilterResponse$inboundSchema = z91.object({
|
|
28933
29148
|
properties: z91.record(z91.string(), string5())
|
|
28934
29149
|
});
|
|
@@ -28939,6 +29154,7 @@ var UpdateCustomerUsageLimitResponse$inboundSchema = z91.pipe(
|
|
|
28939
29154
|
enabled: z91._default(boolean2(), true),
|
|
28940
29155
|
limit: number2(),
|
|
28941
29156
|
interval: UpdateCustomerUsageLimitIntervalResponse$inboundSchema,
|
|
29157
|
+
anchor: optional3(UpdateCustomerAnchorResponse$inboundSchema),
|
|
28942
29158
|
filter: optional3(
|
|
28943
29159
|
z91.lazy(() => UpdateCustomerFilterResponse$inboundSchema)
|
|
28944
29160
|
),
|
|
@@ -29255,6 +29471,10 @@ var UpdateEntityIntervalRequestBody = {
|
|
|
29255
29471
|
Month: "month",
|
|
29256
29472
|
Year: "year"
|
|
29257
29473
|
};
|
|
29474
|
+
var UpdateEntityAnchorRequestBody = {
|
|
29475
|
+
BillingCycle: "billing_cycle",
|
|
29476
|
+
Utc: "utc"
|
|
29477
|
+
};
|
|
29258
29478
|
var UpdateEntityThresholdTypeRequestBody = {
|
|
29259
29479
|
Usage: "usage",
|
|
29260
29480
|
UsagePercentage: "usage_percentage",
|
|
@@ -29297,6 +29517,10 @@ var UpdateEntityIntervalResponse = {
|
|
|
29297
29517
|
Month: "month",
|
|
29298
29518
|
Year: "year"
|
|
29299
29519
|
};
|
|
29520
|
+
var UpdateEntityAnchorResponse = {
|
|
29521
|
+
BillingCycle: "billing_cycle",
|
|
29522
|
+
Utc: "utc"
|
|
29523
|
+
};
|
|
29300
29524
|
var UpdateEntityUsageLimitSource = {
|
|
29301
29525
|
Customer: "customer",
|
|
29302
29526
|
Plan: "plan"
|
|
@@ -29338,6 +29562,7 @@ var UpdateEntitySpendLimitRequestBody$outboundSchema = z92.pipe(
|
|
|
29338
29562
|
})
|
|
29339
29563
|
);
|
|
29340
29564
|
var UpdateEntityIntervalRequestBody$outboundSchema = z92.enum(UpdateEntityIntervalRequestBody);
|
|
29565
|
+
var UpdateEntityAnchorRequestBody$outboundSchema = z92.enum(UpdateEntityAnchorRequestBody);
|
|
29341
29566
|
var UpdateEntityProperties$outboundSchema = smartUnion([z92.string(), z92.number(), z92.boolean()]);
|
|
29342
29567
|
var UpdateEntityFilterRequestBody$outboundSchema = z92.object({
|
|
29343
29568
|
properties: z92.record(
|
|
@@ -29351,6 +29576,7 @@ var UpdateEntityUsageLimitRequestBody$outboundSchema = z92.pipe(
|
|
|
29351
29576
|
enabled: z92._default(z92.boolean(), true),
|
|
29352
29577
|
limit: z92.number(),
|
|
29353
29578
|
interval: UpdateEntityIntervalRequestBody$outboundSchema,
|
|
29579
|
+
anchor: z92.optional(UpdateEntityAnchorRequestBody$outboundSchema),
|
|
29354
29580
|
filter: z92.optional(
|
|
29355
29581
|
z92.lazy(() => UpdateEntityFilterRequestBody$outboundSchema)
|
|
29356
29582
|
)
|
|
@@ -29586,6 +29812,7 @@ var UpdateEntitySpendLimitResponse$inboundSchema = z92.pipe(
|
|
|
29586
29812
|
})
|
|
29587
29813
|
);
|
|
29588
29814
|
var UpdateEntityIntervalResponse$inboundSchema = inboundSchema(UpdateEntityIntervalResponse);
|
|
29815
|
+
var UpdateEntityAnchorResponse$inboundSchema = inboundSchema(UpdateEntityAnchorResponse);
|
|
29589
29816
|
var UpdateEntityFilterResponse$inboundSchema = z92.object({
|
|
29590
29817
|
properties: z92.record(z92.string(), string5())
|
|
29591
29818
|
});
|
|
@@ -29596,6 +29823,7 @@ var UpdateEntityUsageLimitResponse$inboundSchema = z92.pipe(
|
|
|
29596
29823
|
enabled: z92._default(boolean2(), true),
|
|
29597
29824
|
limit: number2(),
|
|
29598
29825
|
interval: UpdateEntityIntervalResponse$inboundSchema,
|
|
29826
|
+
anchor: optional3(UpdateEntityAnchorResponse$inboundSchema),
|
|
29599
29827
|
filter: optional3(
|
|
29600
29828
|
z92.lazy(() => UpdateEntityFilterResponse$inboundSchema)
|
|
29601
29829
|
),
|
|
@@ -30031,6 +30259,10 @@ var UpdatePlanUsageLimitIntervalRequestBody = {
|
|
|
30031
30259
|
Month: "month",
|
|
30032
30260
|
Year: "year"
|
|
30033
30261
|
};
|
|
30262
|
+
var UpdatePlanAnchorRequestBody = {
|
|
30263
|
+
BillingCycle: "billing_cycle",
|
|
30264
|
+
Utc: "utc"
|
|
30265
|
+
};
|
|
30034
30266
|
var UpdatePlanThresholdTypeRequestBody = {
|
|
30035
30267
|
Usage: "usage",
|
|
30036
30268
|
UsagePercentage: "usage_percentage",
|
|
@@ -30137,6 +30369,10 @@ var VariantUsageLimitInterval = {
|
|
|
30137
30369
|
Month: "month",
|
|
30138
30370
|
Year: "year"
|
|
30139
30371
|
};
|
|
30372
|
+
var VariantAnchor = {
|
|
30373
|
+
BillingCycle: "billing_cycle",
|
|
30374
|
+
Utc: "utc"
|
|
30375
|
+
};
|
|
30140
30376
|
var VariantThresholdType = {
|
|
30141
30377
|
Usage: "usage",
|
|
30142
30378
|
UsagePercentage: "usage_percentage",
|
|
@@ -30303,6 +30539,10 @@ var UpdatePlanVariantDetailsUsageLimitInterval = {
|
|
|
30303
30539
|
Month: "month",
|
|
30304
30540
|
Year: "year"
|
|
30305
30541
|
};
|
|
30542
|
+
var UpdatePlanVariantDetailsAnchor = {
|
|
30543
|
+
BillingCycle: "billing_cycle",
|
|
30544
|
+
Utc: "utc"
|
|
30545
|
+
};
|
|
30306
30546
|
var UpdatePlanVariantDetailsThresholdType = {
|
|
30307
30547
|
Usage: "usage",
|
|
30308
30548
|
UsagePercentage: "usage_percentage",
|
|
@@ -30325,6 +30565,10 @@ var UpdatePlanUsageLimitIntervalResponse = {
|
|
|
30325
30565
|
Month: "month",
|
|
30326
30566
|
Year: "year"
|
|
30327
30567
|
};
|
|
30568
|
+
var UpdatePlanAnchorResponse = {
|
|
30569
|
+
BillingCycle: "billing_cycle",
|
|
30570
|
+
Utc: "utc"
|
|
30571
|
+
};
|
|
30328
30572
|
var UpdatePlanThresholdTypeResponse = {
|
|
30329
30573
|
Usage: "usage",
|
|
30330
30574
|
UsagePercentage: "usage_percentage",
|
|
@@ -30812,6 +31056,7 @@ var UpdatePlanSpendLimitRequestBody$outboundSchema = z94.pipe(
|
|
|
30812
31056
|
var UpdatePlanUsageLimitIntervalRequestBody$outboundSchema = z94.enum(
|
|
30813
31057
|
UpdatePlanUsageLimitIntervalRequestBody
|
|
30814
31058
|
);
|
|
31059
|
+
var UpdatePlanAnchorRequestBody$outboundSchema = z94.enum(UpdatePlanAnchorRequestBody);
|
|
30815
31060
|
var UpdatePlanProperties$outboundSchema = smartUnion([z94.string(), z94.number(), z94.boolean()]);
|
|
30816
31061
|
var UpdatePlanFilterRequestBody$outboundSchema = z94.object({
|
|
30817
31062
|
properties: z94.record(
|
|
@@ -30825,6 +31070,7 @@ var UpdatePlanUsageLimitRequestBody$outboundSchema = z94.pipe(
|
|
|
30825
31070
|
enabled: z94._default(z94.boolean(), true),
|
|
30826
31071
|
limit: z94.number(),
|
|
30827
31072
|
interval: UpdatePlanUsageLimitIntervalRequestBody$outboundSchema,
|
|
31073
|
+
anchor: z94.optional(UpdatePlanAnchorRequestBody$outboundSchema),
|
|
30828
31074
|
filter: z94.optional(
|
|
30829
31075
|
z94.lazy(() => UpdatePlanFilterRequestBody$outboundSchema)
|
|
30830
31076
|
)
|
|
@@ -31136,6 +31382,7 @@ var VariantSpendLimit$outboundSchema = z94.pipe(
|
|
|
31136
31382
|
})
|
|
31137
31383
|
);
|
|
31138
31384
|
var VariantUsageLimitInterval$outboundSchema = z94.enum(VariantUsageLimitInterval);
|
|
31385
|
+
var VariantAnchor$outboundSchema = z94.enum(VariantAnchor);
|
|
31139
31386
|
var VariantFilter$outboundSchema = z94.object({
|
|
31140
31387
|
properties: z94.record(z94.string(), z94.any())
|
|
31141
31388
|
});
|
|
@@ -31145,6 +31392,7 @@ var VariantUsageLimit$outboundSchema = z94.pipe(
|
|
|
31145
31392
|
enabled: z94._default(z94.boolean(), true),
|
|
31146
31393
|
limit: z94.number(),
|
|
31147
31394
|
interval: VariantUsageLimitInterval$outboundSchema,
|
|
31395
|
+
anchor: z94.optional(VariantAnchor$outboundSchema),
|
|
31148
31396
|
filter: z94.optional(z94.lazy(() => VariantFilter$outboundSchema))
|
|
31149
31397
|
}),
|
|
31150
31398
|
z94.transform((v) => {
|
|
@@ -31807,6 +32055,7 @@ var UpdatePlanVariantDetailsSpendLimit$inboundSchema = z94.pipe(
|
|
|
31807
32055
|
})
|
|
31808
32056
|
);
|
|
31809
32057
|
var UpdatePlanVariantDetailsUsageLimitInterval$inboundSchema = inboundSchema(UpdatePlanVariantDetailsUsageLimitInterval);
|
|
32058
|
+
var UpdatePlanVariantDetailsAnchor$inboundSchema = inboundSchema(UpdatePlanVariantDetailsAnchor);
|
|
31810
32059
|
var UpdatePlanVariantDetailsFilter$inboundSchema = z94.object({
|
|
31811
32060
|
properties: z94.record(z94.string(), string5())
|
|
31812
32061
|
});
|
|
@@ -31816,6 +32065,7 @@ var UpdatePlanVariantDetailsUsageLimit$inboundSchema = z94.pipe(
|
|
|
31816
32065
|
enabled: z94._default(boolean2(), true),
|
|
31817
32066
|
limit: number2(),
|
|
31818
32067
|
interval: UpdatePlanVariantDetailsUsageLimitInterval$inboundSchema,
|
|
32068
|
+
anchor: optional3(UpdatePlanVariantDetailsAnchor$inboundSchema),
|
|
31819
32069
|
filter: optional3(
|
|
31820
32070
|
z94.lazy(() => UpdatePlanVariantDetailsFilter$inboundSchema)
|
|
31821
32071
|
)
|
|
@@ -31982,6 +32232,7 @@ var UpdatePlanSpendLimitResponse$inboundSchema = z94.pipe(
|
|
|
31982
32232
|
})
|
|
31983
32233
|
);
|
|
31984
32234
|
var UpdatePlanUsageLimitIntervalResponse$inboundSchema = inboundSchema(UpdatePlanUsageLimitIntervalResponse);
|
|
32235
|
+
var UpdatePlanAnchorResponse$inboundSchema = inboundSchema(UpdatePlanAnchorResponse);
|
|
31985
32236
|
var UpdatePlanFilterResponse$inboundSchema = z94.object({
|
|
31986
32237
|
properties: z94.record(z94.string(), string5())
|
|
31987
32238
|
});
|
|
@@ -31991,6 +32242,7 @@ var UpdatePlanUsageLimitResponse$inboundSchema = z94.pipe(
|
|
|
31991
32242
|
enabled: z94._default(boolean2(), true),
|
|
31992
32243
|
limit: number2(),
|
|
31993
32244
|
interval: UpdatePlanUsageLimitIntervalResponse$inboundSchema,
|
|
32245
|
+
anchor: optional3(UpdatePlanAnchorResponse$inboundSchema),
|
|
31994
32246
|
filter: optional3(
|
|
31995
32247
|
z94.lazy(() => UpdatePlanFilterResponse$inboundSchema)
|
|
31996
32248
|
)
|
|
@@ -34725,6 +34977,7 @@ var Billing = class extends ClientSDK {
|
|
|
34725
34977
|
* @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
|
|
34726
34978
|
* @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)
|
|
34727
34979
|
* @param billingBehavior - Whether to prorate the immediate phase. 'none' skips proration charges and credits. (optional)
|
|
34980
|
+
* @param noBillingChanges - If true, skips any billing changes for the schedule. (optional)
|
|
34728
34981
|
* @param billingCycleAnchor - Pass 'now' to reset the billing cycle anchor of the immediate phase to the current time. (optional)
|
|
34729
34982
|
* @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)
|
|
34730
34983
|
* @param preserveAddOns - Deprecated and ignored. Active plans the schedule does not declare are always retained. (optional)
|