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
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./chunk-HIWOK3G6.mjs";
|
|
2
2
|
import {
|
|
3
3
|
createAutumnEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-56PNBTLH.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createHandleBetterAuthRoute
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AI73OSOF.mjs";
|
|
8
8
|
import "./chunk-J2WYVGHS.mjs";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-IIOL3QPN.mjs";
|
|
10
10
|
import "./chunk-BT3EAYVW.mjs";
|
|
11
11
|
import "./chunk-GJAMWZNZ.mjs";
|
|
12
12
|
|
|
@@ -122,6 +122,17 @@ declare const GetOrCreateCustomerUsageLimitInterval: {
|
|
|
122
122
|
* Interval for the cap, aligned to the customer's billing cycle.
|
|
123
123
|
*/
|
|
124
124
|
type GetOrCreateCustomerUsageLimitInterval = ClosedEnum<typeof GetOrCreateCustomerUsageLimitInterval>;
|
|
125
|
+
/**
|
|
126
|
+
* Window alignment. 'billing_cycle' phases the interval to the customer's renewal time; 'utc' aligns to the UTC calendar.
|
|
127
|
+
*/
|
|
128
|
+
declare const GetOrCreateCustomerAnchor: {
|
|
129
|
+
readonly BillingCycle: "billing_cycle";
|
|
130
|
+
readonly Utc: "utc";
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* Window alignment. 'billing_cycle' phases the interval to the customer's renewal time; 'utc' aligns to the UTC calendar.
|
|
134
|
+
*/
|
|
135
|
+
type GetOrCreateCustomerAnchor = ClosedEnum<typeof GetOrCreateCustomerAnchor>;
|
|
125
136
|
/**
|
|
126
137
|
* When set, only usage from events whose properties match counts toward this cap. Omit to count all usage of the feature.
|
|
127
138
|
*/
|
|
@@ -147,6 +158,10 @@ type GetOrCreateCustomerUsageLimit = {
|
|
|
147
158
|
* Interval for the cap, aligned to the customer's billing cycle.
|
|
148
159
|
*/
|
|
149
160
|
interval: GetOrCreateCustomerUsageLimitInterval;
|
|
161
|
+
/**
|
|
162
|
+
* Window alignment. 'billing_cycle' phases the interval to the customer's renewal time; 'utc' aligns to the UTC calendar.
|
|
163
|
+
*/
|
|
164
|
+
anchor?: GetOrCreateCustomerAnchor | undefined;
|
|
150
165
|
/**
|
|
151
166
|
* When set, only usage from events whose properties match counts toward this cap. Omit to count all usage of the feature.
|
|
152
167
|
*/
|
|
@@ -122,6 +122,17 @@ declare const GetOrCreateCustomerUsageLimitInterval: {
|
|
|
122
122
|
* Interval for the cap, aligned to the customer's billing cycle.
|
|
123
123
|
*/
|
|
124
124
|
type GetOrCreateCustomerUsageLimitInterval = ClosedEnum<typeof GetOrCreateCustomerUsageLimitInterval>;
|
|
125
|
+
/**
|
|
126
|
+
* Window alignment. 'billing_cycle' phases the interval to the customer's renewal time; 'utc' aligns to the UTC calendar.
|
|
127
|
+
*/
|
|
128
|
+
declare const GetOrCreateCustomerAnchor: {
|
|
129
|
+
readonly BillingCycle: "billing_cycle";
|
|
130
|
+
readonly Utc: "utc";
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* Window alignment. 'billing_cycle' phases the interval to the customer's renewal time; 'utc' aligns to the UTC calendar.
|
|
134
|
+
*/
|
|
135
|
+
type GetOrCreateCustomerAnchor = ClosedEnum<typeof GetOrCreateCustomerAnchor>;
|
|
125
136
|
/**
|
|
126
137
|
* When set, only usage from events whose properties match counts toward this cap. Omit to count all usage of the feature.
|
|
127
138
|
*/
|
|
@@ -147,6 +158,10 @@ type GetOrCreateCustomerUsageLimit = {
|
|
|
147
158
|
* Interval for the cap, aligned to the customer's billing cycle.
|
|
148
159
|
*/
|
|
149
160
|
interval: GetOrCreateCustomerUsageLimitInterval;
|
|
161
|
+
/**
|
|
162
|
+
* Window alignment. 'billing_cycle' phases the interval to the customer's renewal time; 'utc' aligns to the UTC calendar.
|
|
163
|
+
*/
|
|
164
|
+
anchor?: GetOrCreateCustomerAnchor | undefined;
|
|
150
165
|
/**
|
|
151
166
|
* When set, only usage from events whose properties match counts toward this cap. Omit to count all usage of the feature.
|
|
152
167
|
*/
|
|
@@ -416,6 +416,7 @@ var attachUsageLimitOutboundSchema = import_v42.z.object({
|
|
|
416
416
|
enabled: import_v42.z.boolean(),
|
|
417
417
|
limit: import_v42.z.number(),
|
|
418
418
|
interval: import_v42.z.string(),
|
|
419
|
+
anchor: import_v42.z.union([import_v42.z.string(), import_v42.z.undefined()]).optional(),
|
|
419
420
|
filter: import_v42.z.union([attachFilterOutboundSchema, import_v42.z.undefined()]).optional()
|
|
420
421
|
});
|
|
421
422
|
var attachUsageAlertOutboundSchema = import_v42.z.object({
|
|
@@ -732,11 +733,13 @@ var attachSpendLimitSchema = import_v42.z.object({
|
|
|
732
733
|
skipOverageBilling: import_v42.z.union([import_v42.z.boolean(), import_v42.z.undefined()]).optional()
|
|
733
734
|
});
|
|
734
735
|
var attachUsageLimitIntervalSchema = closedEnumSchema2;
|
|
736
|
+
var attachAnchorSchema = closedEnumSchema2;
|
|
735
737
|
var attachUsageLimitSchema = import_v42.z.object({
|
|
736
738
|
featureId: import_v42.z.string(),
|
|
737
739
|
enabled: import_v42.z.union([import_v42.z.boolean(), import_v42.z.undefined()]).optional(),
|
|
738
740
|
limit: import_v42.z.number(),
|
|
739
741
|
interval: attachUsageLimitIntervalSchema,
|
|
742
|
+
anchor: import_v42.z.union([attachAnchorSchema, import_v42.z.undefined()]).optional(),
|
|
740
743
|
filter: import_v42.z.union([attachFilterSchema, import_v42.z.undefined()]).optional()
|
|
741
744
|
});
|
|
742
745
|
var attachThresholdTypeSchema = closedEnumSchema2;
|
|
@@ -1154,6 +1157,7 @@ var getOrCreateCustomerUsageLimitOutboundSchema = import_v46.z.object({
|
|
|
1154
1157
|
enabled: import_v46.z.boolean(),
|
|
1155
1158
|
limit: import_v46.z.number(),
|
|
1156
1159
|
interval: import_v46.z.string(),
|
|
1160
|
+
anchor: import_v46.z.union([import_v46.z.string(), import_v46.z.undefined()]).optional(),
|
|
1157
1161
|
filter: import_v46.z.union([getOrCreateCustomerFilterOutboundSchema, import_v46.z.undefined()]).optional()
|
|
1158
1162
|
});
|
|
1159
1163
|
var getOrCreateCustomerUsageAlertOutboundSchema = import_v46.z.object({
|
|
@@ -1231,11 +1235,13 @@ var getOrCreateCustomerSpendLimitSchema = import_v46.z.object({
|
|
|
1231
1235
|
skipOverageBilling: import_v46.z.union([import_v46.z.boolean(), import_v46.z.undefined()]).optional()
|
|
1232
1236
|
});
|
|
1233
1237
|
var getOrCreateCustomerUsageLimitIntervalSchema = closedEnumSchema5;
|
|
1238
|
+
var getOrCreateCustomerAnchorSchema = closedEnumSchema5;
|
|
1234
1239
|
var getOrCreateCustomerUsageLimitSchema = import_v46.z.object({
|
|
1235
1240
|
featureId: import_v46.z.string(),
|
|
1236
1241
|
enabled: import_v46.z.union([import_v46.z.boolean(), import_v46.z.undefined()]).optional(),
|
|
1237
1242
|
limit: import_v46.z.number(),
|
|
1238
1243
|
interval: getOrCreateCustomerUsageLimitIntervalSchema,
|
|
1244
|
+
anchor: import_v46.z.union([getOrCreateCustomerAnchorSchema, import_v46.z.undefined()]).optional(),
|
|
1239
1245
|
filter: import_v46.z.union([getOrCreateCustomerFilterSchema, import_v46.z.undefined()]).optional()
|
|
1240
1246
|
});
|
|
1241
1247
|
var getOrCreateCustomerThresholdTypeSchema = closedEnumSchema5;
|
|
@@ -1587,11 +1593,13 @@ var listPlansVariantDetailsSpendLimitSchema = import_v48.z.object({
|
|
|
1587
1593
|
skipOverageBilling: import_v48.z.union([import_v48.z.boolean(), import_v48.z.undefined()]).optional()
|
|
1588
1594
|
});
|
|
1589
1595
|
var listPlansVariantDetailsUsageLimitIntervalSchema = openEnumSchema6;
|
|
1596
|
+
var listPlansVariantDetailsAnchorSchema = openEnumSchema6;
|
|
1590
1597
|
var listPlansVariantDetailsUsageLimitSchema = import_v48.z.object({
|
|
1591
1598
|
featureId: import_v48.z.string(),
|
|
1592
1599
|
enabled: import_v48.z.boolean(),
|
|
1593
1600
|
limit: import_v48.z.number(),
|
|
1594
1601
|
interval: listPlansVariantDetailsUsageLimitIntervalSchema,
|
|
1602
|
+
anchor: import_v48.z.union([listPlansVariantDetailsAnchorSchema, import_v48.z.undefined()]).optional(),
|
|
1595
1603
|
filter: import_v48.z.union([listPlansVariantDetailsFilterSchema, import_v48.z.undefined()]).optional()
|
|
1596
1604
|
});
|
|
1597
1605
|
var listPlansVariantDetailsThresholdTypeSchema = openEnumSchema6;
|
|
@@ -1646,11 +1654,13 @@ var listPlansSpendLimitSchema = import_v48.z.object({
|
|
|
1646
1654
|
skipOverageBilling: import_v48.z.union([import_v48.z.boolean(), import_v48.z.undefined()]).optional()
|
|
1647
1655
|
});
|
|
1648
1656
|
var listPlansUsageLimitIntervalSchema = openEnumSchema6;
|
|
1657
|
+
var listPlansAnchorSchema = openEnumSchema6;
|
|
1649
1658
|
var listPlansUsageLimitSchema = import_v48.z.object({
|
|
1650
1659
|
featureId: import_v48.z.string(),
|
|
1651
1660
|
enabled: import_v48.z.boolean(),
|
|
1652
1661
|
limit: import_v48.z.number(),
|
|
1653
1662
|
interval: listPlansUsageLimitIntervalSchema,
|
|
1663
|
+
anchor: import_v48.z.union([listPlansAnchorSchema, import_v48.z.undefined()]).optional(),
|
|
1654
1664
|
filter: import_v48.z.union([listPlansFilterSchema, import_v48.z.undefined()]).optional()
|
|
1655
1665
|
});
|
|
1656
1666
|
var listPlansThresholdTypeSchema = openEnumSchema6;
|
|
@@ -1892,6 +1902,7 @@ var multiAttachUsageLimitOutboundSchema = import_v49.z.object({
|
|
|
1892
1902
|
enabled: import_v49.z.boolean(),
|
|
1893
1903
|
limit: import_v49.z.number(),
|
|
1894
1904
|
interval: import_v49.z.string(),
|
|
1905
|
+
anchor: import_v49.z.union([import_v49.z.string(), import_v49.z.undefined()]).optional(),
|
|
1895
1906
|
filter: import_v49.z.union([multiAttachFilterOutboundSchema, import_v49.z.undefined()]).optional()
|
|
1896
1907
|
});
|
|
1897
1908
|
var multiAttachUsageAlertOutboundSchema = import_v49.z.object({
|
|
@@ -2000,11 +2011,13 @@ var multiAttachSpendLimitSchema = import_v49.z.object({
|
|
|
2000
2011
|
skipOverageBilling: import_v49.z.union([import_v49.z.boolean(), import_v49.z.undefined()]).optional()
|
|
2001
2012
|
});
|
|
2002
2013
|
var multiAttachEntityDataIntervalSchema = closedEnumSchema6;
|
|
2014
|
+
var multiAttachAnchorSchema = closedEnumSchema6;
|
|
2003
2015
|
var multiAttachUsageLimitSchema = import_v49.z.object({
|
|
2004
2016
|
featureId: import_v49.z.string(),
|
|
2005
2017
|
enabled: import_v49.z.union([import_v49.z.boolean(), import_v49.z.undefined()]).optional(),
|
|
2006
2018
|
limit: import_v49.z.number(),
|
|
2007
2019
|
interval: multiAttachEntityDataIntervalSchema,
|
|
2020
|
+
anchor: import_v49.z.union([multiAttachAnchorSchema, import_v49.z.undefined()]).optional(),
|
|
2008
2021
|
filter: import_v49.z.union([multiAttachFilterSchema, import_v49.z.undefined()]).optional()
|
|
2009
2022
|
});
|
|
2010
2023
|
var multiAttachThresholdTypeSchema = closedEnumSchema6;
|
|
@@ -2465,6 +2478,7 @@ var previewAttachUsageLimitOutboundSchema = import_v411.z.object({
|
|
|
2465
2478
|
enabled: import_v411.z.boolean(),
|
|
2466
2479
|
limit: import_v411.z.number(),
|
|
2467
2480
|
interval: import_v411.z.string(),
|
|
2481
|
+
anchor: import_v411.z.union([import_v411.z.string(), import_v411.z.undefined()]).optional(),
|
|
2468
2482
|
filter: import_v411.z.union([previewAttachFilterOutboundSchema, import_v411.z.undefined()]).optional()
|
|
2469
2483
|
});
|
|
2470
2484
|
var previewAttachUsageAlertOutboundSchema = import_v411.z.object({
|
|
@@ -2796,11 +2810,13 @@ var previewAttachSpendLimitSchema = import_v411.z.object({
|
|
|
2796
2810
|
skipOverageBilling: import_v411.z.union([import_v411.z.boolean(), import_v411.z.undefined()]).optional()
|
|
2797
2811
|
});
|
|
2798
2812
|
var previewAttachUsageLimitIntervalSchema = closedEnumSchema7;
|
|
2813
|
+
var previewAttachAnchorSchema = closedEnumSchema7;
|
|
2799
2814
|
var previewAttachUsageLimitSchema = import_v411.z.object({
|
|
2800
2815
|
featureId: import_v411.z.string(),
|
|
2801
2816
|
enabled: import_v411.z.union([import_v411.z.boolean(), import_v411.z.undefined()]).optional(),
|
|
2802
2817
|
limit: import_v411.z.number(),
|
|
2803
2818
|
interval: previewAttachUsageLimitIntervalSchema,
|
|
2819
|
+
anchor: import_v411.z.union([previewAttachAnchorSchema, import_v411.z.undefined()]).optional(),
|
|
2804
2820
|
filter: import_v411.z.union([previewAttachFilterSchema, import_v411.z.undefined()]).optional()
|
|
2805
2821
|
});
|
|
2806
2822
|
var previewAttachThresholdTypeSchema = closedEnumSchema7;
|
|
@@ -3256,6 +3272,7 @@ var previewMultiAttachUsageLimitOutboundSchema = import_v412.z.object({
|
|
|
3256
3272
|
enabled: import_v412.z.boolean(),
|
|
3257
3273
|
limit: import_v412.z.number(),
|
|
3258
3274
|
interval: import_v412.z.string(),
|
|
3275
|
+
anchor: import_v412.z.union([import_v412.z.string(), import_v412.z.undefined()]).optional(),
|
|
3259
3276
|
filter: import_v412.z.union([previewMultiAttachFilterOutboundSchema, import_v412.z.undefined()]).optional()
|
|
3260
3277
|
});
|
|
3261
3278
|
var previewMultiAttachUsageAlertOutboundSchema = import_v412.z.object({
|
|
@@ -3374,11 +3391,13 @@ var previewMultiAttachSpendLimitSchema = import_v412.z.object({
|
|
|
3374
3391
|
skipOverageBilling: import_v412.z.union([import_v412.z.boolean(), import_v412.z.undefined()]).optional()
|
|
3375
3392
|
});
|
|
3376
3393
|
var previewMultiAttachEntityDataIntervalSchema = closedEnumSchema8;
|
|
3394
|
+
var previewMultiAttachAnchorSchema = closedEnumSchema8;
|
|
3377
3395
|
var previewMultiAttachUsageLimitSchema = import_v412.z.object({
|
|
3378
3396
|
featureId: import_v412.z.string(),
|
|
3379
3397
|
enabled: import_v412.z.union([import_v412.z.boolean(), import_v412.z.undefined()]).optional(),
|
|
3380
3398
|
limit: import_v412.z.number(),
|
|
3381
3399
|
interval: previewMultiAttachEntityDataIntervalSchema,
|
|
3400
|
+
anchor: import_v412.z.union([previewMultiAttachAnchorSchema, import_v412.z.undefined()]).optional(),
|
|
3382
3401
|
filter: import_v412.z.union([previewMultiAttachFilterSchema, import_v412.z.undefined()]).optional()
|
|
3383
3402
|
});
|
|
3384
3403
|
var previewMultiAttachThresholdTypeSchema = closedEnumSchema8;
|
|
@@ -3845,6 +3864,7 @@ var previewUpdateUsageLimitOutboundSchema = import_v413.z.object({
|
|
|
3845
3864
|
enabled: import_v413.z.boolean(),
|
|
3846
3865
|
limit: import_v413.z.number(),
|
|
3847
3866
|
interval: import_v413.z.string(),
|
|
3867
|
+
anchor: import_v413.z.union([import_v413.z.string(), import_v413.z.undefined()]).optional(),
|
|
3848
3868
|
filter: import_v413.z.union([previewUpdateFilterOutboundSchema, import_v413.z.undefined()]).optional()
|
|
3849
3869
|
});
|
|
3850
3870
|
var previewUpdateUsageAlertOutboundSchema = import_v413.z.object({
|
|
@@ -4159,11 +4179,13 @@ var previewUpdateSpendLimitSchema = import_v413.z.object({
|
|
|
4159
4179
|
skipOverageBilling: import_v413.z.union([import_v413.z.boolean(), import_v413.z.undefined()]).optional()
|
|
4160
4180
|
});
|
|
4161
4181
|
var previewUpdateUsageLimitIntervalSchema = closedEnumSchema9;
|
|
4182
|
+
var previewUpdateAnchorSchema = closedEnumSchema9;
|
|
4162
4183
|
var previewUpdateUsageLimitSchema = import_v413.z.object({
|
|
4163
4184
|
featureId: import_v413.z.string(),
|
|
4164
4185
|
enabled: import_v413.z.union([import_v413.z.boolean(), import_v413.z.undefined()]).optional(),
|
|
4165
4186
|
limit: import_v413.z.number(),
|
|
4166
4187
|
interval: previewUpdateUsageLimitIntervalSchema,
|
|
4188
|
+
anchor: import_v413.z.union([previewUpdateAnchorSchema, import_v413.z.undefined()]).optional(),
|
|
4167
4189
|
filter: import_v413.z.union([previewUpdateFilterSchema, import_v413.z.undefined()]).optional()
|
|
4168
4190
|
});
|
|
4169
4191
|
var previewUpdateThresholdTypeSchema = closedEnumSchema9;
|
|
@@ -4662,6 +4684,7 @@ var setupPaymentUsageLimitOutboundSchema = import_v415.z.object({
|
|
|
4662
4684
|
enabled: import_v415.z.boolean(),
|
|
4663
4685
|
limit: import_v415.z.number(),
|
|
4664
4686
|
interval: import_v415.z.string(),
|
|
4687
|
+
anchor: import_v415.z.union([import_v415.z.string(), import_v415.z.undefined()]).optional(),
|
|
4665
4688
|
filter: import_v415.z.union([setupPaymentFilterOutboundSchema, import_v415.z.undefined()]).optional()
|
|
4666
4689
|
});
|
|
4667
4690
|
var setupPaymentUsageAlertOutboundSchema = import_v415.z.object({
|
|
@@ -4974,11 +4997,13 @@ var setupPaymentSpendLimitSchema = import_v415.z.object({
|
|
|
4974
4997
|
skipOverageBilling: import_v415.z.union([import_v415.z.boolean(), import_v415.z.undefined()]).optional()
|
|
4975
4998
|
});
|
|
4976
4999
|
var setupPaymentUsageLimitIntervalSchema = closedEnumSchema10;
|
|
5000
|
+
var setupPaymentAnchorSchema = closedEnumSchema10;
|
|
4977
5001
|
var setupPaymentUsageLimitSchema = import_v415.z.object({
|
|
4978
5002
|
featureId: import_v415.z.string(),
|
|
4979
5003
|
enabled: import_v415.z.union([import_v415.z.boolean(), import_v415.z.undefined()]).optional(),
|
|
4980
5004
|
limit: import_v415.z.number(),
|
|
4981
5005
|
interval: setupPaymentUsageLimitIntervalSchema,
|
|
5006
|
+
anchor: import_v415.z.union([setupPaymentAnchorSchema, import_v415.z.undefined()]).optional(),
|
|
4982
5007
|
filter: import_v415.z.union([setupPaymentFilterSchema, import_v415.z.undefined()]).optional()
|
|
4983
5008
|
});
|
|
4984
5009
|
var setupPaymentThresholdTypeSchema = closedEnumSchema10;
|
|
@@ -5425,6 +5450,7 @@ var billingUpdateUsageLimitOutboundSchema = import_v416.z.object({
|
|
|
5425
5450
|
enabled: import_v416.z.boolean(),
|
|
5426
5451
|
limit: import_v416.z.number(),
|
|
5427
5452
|
interval: import_v416.z.string(),
|
|
5453
|
+
anchor: import_v416.z.union([import_v416.z.string(), import_v416.z.undefined()]).optional(),
|
|
5428
5454
|
filter: import_v416.z.union([billingUpdateFilterOutboundSchema, import_v416.z.undefined()]).optional()
|
|
5429
5455
|
});
|
|
5430
5456
|
var billingUpdateUsageAlertOutboundSchema = import_v416.z.object({
|
|
@@ -5735,11 +5761,13 @@ var billingUpdateSpendLimitSchema = import_v416.z.object({
|
|
|
5735
5761
|
skipOverageBilling: import_v416.z.union([import_v416.z.boolean(), import_v416.z.undefined()]).optional()
|
|
5736
5762
|
});
|
|
5737
5763
|
var billingUpdateUsageLimitIntervalSchema = closedEnumSchema11;
|
|
5764
|
+
var billingUpdateAnchorSchema = closedEnumSchema11;
|
|
5738
5765
|
var billingUpdateUsageLimitSchema = import_v416.z.object({
|
|
5739
5766
|
featureId: import_v416.z.string(),
|
|
5740
5767
|
enabled: import_v416.z.union([import_v416.z.boolean(), import_v416.z.undefined()]).optional(),
|
|
5741
5768
|
limit: import_v416.z.number(),
|
|
5742
5769
|
interval: billingUpdateUsageLimitIntervalSchema,
|
|
5770
|
+
anchor: import_v416.z.union([billingUpdateAnchorSchema, import_v416.z.undefined()]).optional(),
|
|
5743
5771
|
filter: import_v416.z.union([billingUpdateFilterSchema, import_v416.z.undefined()]).optional()
|
|
5744
5772
|
});
|
|
5745
5773
|
var billingUpdateThresholdTypeSchema = closedEnumSchema11;
|