autumn-js 1.2.6 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/backend/adapters/express.js +4 -6
- package/dist/backend/adapters/express.mjs +5 -5
- package/dist/backend/adapters/fetch.js +4 -6
- package/dist/backend/adapters/fetch.mjs +5 -5
- package/dist/backend/adapters/hono.js +4 -6
- package/dist/backend/adapters/hono.mjs +5 -5
- package/dist/backend/adapters/index.js +4 -6
- package/dist/backend/adapters/index.mjs +8 -8
- package/dist/backend/adapters/next.js +4 -6
- package/dist/backend/adapters/next.mjs +5 -5
- package/dist/backend/{chunk-47D7XI4Q.mjs → chunk-5CZDAFNW.mjs} +1 -1
- package/dist/backend/{chunk-WVNQLDKM.mjs → chunk-DV2YHWEK.mjs} +1 -1
- package/dist/backend/{chunk-YZFOEF7A.mjs → chunk-GLJ7FFOQ.mjs} +3 -4
- package/dist/backend/{chunk-SX6BNSGF.mjs → chunk-LNALJOXZ.mjs} +2 -2
- package/dist/backend/{chunk-VR556ENV.mjs → chunk-PKA4GW4O.mjs} +2 -2
- package/dist/backend/{chunk-R6OE5JPE.mjs → chunk-RUMFBMKX.mjs} +1 -1
- package/dist/backend/{chunk-XZB2ADYZ.mjs → chunk-THDDG3SC.mjs} +1 -2
- package/dist/backend/{chunk-J5JZJFCV.mjs → chunk-UC2X6SWS.mjs} +1 -1
- package/dist/backend/core/handlers/coreHandler.d.mts +1 -1
- package/dist/backend/core/handlers/coreHandler.d.ts +1 -1
- package/dist/backend/core/handlers/coreHandler.js +4 -6
- package/dist/backend/core/handlers/coreHandler.mjs +3 -3
- package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
- package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
- package/dist/backend/core/handlers/handleRouteByName.js +4 -6
- package/dist/backend/core/handlers/handleRouteByName.mjs +3 -3
- package/dist/backend/core/handlers/index.d.mts +1 -1
- package/dist/backend/core/handlers/index.d.ts +1 -1
- package/dist/backend/core/handlers/index.js +4 -6
- package/dist/backend/core/handlers/index.mjs +4 -4
- package/dist/backend/core/index.d.mts +1 -1
- package/dist/backend/core/index.d.ts +1 -1
- package/dist/backend/core/index.js +4 -6
- package/dist/backend/core/index.mjs +4 -4
- package/dist/backend/core/routes/index.d.mts +1 -1
- package/dist/backend/core/routes/index.d.ts +1 -1
- package/dist/backend/core/routes/index.js +1 -2
- package/dist/backend/core/routes/index.mjs +1 -1
- package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
- package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.js +1 -2
- package/dist/backend/core/routes/routeConfigs.mjs +1 -1
- package/dist/backend/core/types/handlerTypes.d.mts +1 -1
- package/dist/backend/core/types/handlerTypes.d.ts +1 -1
- package/dist/backend/core/types/index.d.mts +1 -1
- package/dist/backend/core/types/index.d.ts +1 -1
- package/dist/backend/core/types/routeTypes.d.mts +1 -1
- package/dist/backend/core/types/routeTypes.d.ts +1 -1
- package/dist/backend/index.d.mts +2 -2
- package/dist/backend/index.d.ts +2 -2
- package/dist/backend/index.js +4 -6
- package/dist/backend/index.mjs +4 -4
- package/dist/backend/{routeTypes-Oppq3hl5.d.mts → routeTypes-CeGvUnxR.d.mts} +6 -8
- package/dist/backend/{routeTypes-C3VYecpo.d.ts → routeTypes-unMyXmbr.d.ts} +6 -8
- package/dist/better-auth/{chunk-Y2MTOCQZ.mjs → chunk-27T7GCI3.mjs} +4 -5
- package/dist/better-auth/{chunk-A7AR77FT.mjs → chunk-SAEKRWYS.mjs} +1 -2
- package/dist/better-auth/{chunk-2QZB2VRG.mjs → chunk-YHZ5P4JJ.mjs} +1 -1
- package/dist/better-auth/index.js +4 -6
- package/dist/better-auth/index.mjs +3 -3
- package/dist/better-auth/utils/createAutumnEndpoint.js +1 -2
- package/dist/better-auth/utils/createAutumnEndpoint.mjs +2 -2
- package/dist/better-auth/utils/handleBetterAuthRoute.js +4 -6
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +2 -2
- package/dist/better-auth/utils/index.js +4 -6
- package/dist/better-auth/utils/index.mjs +3 -3
- package/dist/react/AutumnContext.d.mts +1 -1
- package/dist/react/AutumnContext.d.ts +1 -1
- package/dist/react/client/AutumnClient.d.mts +1 -1
- package/dist/react/client/AutumnClient.d.ts +1 -1
- package/dist/react/client/IAutumnClient.d.mts +1 -1
- package/dist/react/client/IAutumnClient.d.ts +1 -1
- package/dist/react/client/index.d.mts +1 -1
- package/dist/react/client/index.d.ts +1 -1
- package/dist/react/hooks/index.d.mts +1 -1
- package/dist/react/hooks/index.d.ts +1 -1
- package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +1 -1
- package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +1 -1
- package/dist/react/hooks/internal/useCustomerActions.d.mts +1 -1
- package/dist/react/hooks/internal/useCustomerActions.d.ts +1 -1
- package/dist/react/hooks/useAggregateEvents.d.mts +1 -1
- package/dist/react/hooks/useAggregateEvents.d.ts +1 -1
- package/dist/react/hooks/useCustomer.d.mts +1 -1
- package/dist/react/hooks/useCustomer.d.ts +1 -1
- package/dist/react/hooks/useEntity.d.mts +1 -1
- package/dist/react/hooks/useEntity.d.ts +1 -1
- package/dist/react/hooks/useListEvents.d.mts +1 -1
- package/dist/react/hooks/useListEvents.d.ts +1 -1
- package/dist/react/hooks/useListPlans.d.mts +1 -1
- package/dist/react/hooks/useListPlans.d.ts +1 -1
- package/dist/react/hooks/useReferrals.d.mts +1 -1
- package/dist/react/hooks/useReferrals.d.ts +1 -1
- package/dist/react/index.d.mts +1 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/{params-M5KLTAn1.d.ts → params-CtLqnjHp.d.ts} +6 -8
- package/dist/react/{params-Bm9J41QJ.d.mts → params-IlPe7I2T.d.mts} +6 -8
- package/dist/sdk/index.d.mts +9 -14
- package/dist/sdk/index.d.ts +9 -14
- package/dist/sdk/index.js +8 -18
- package/dist/sdk/index.mjs +7 -15
- package/package.json +1 -1
|
@@ -2535,7 +2535,7 @@ var CheckFreeTrial$inboundSchema = z13.pipe(
|
|
|
2535
2535
|
})
|
|
2536
2536
|
);
|
|
2537
2537
|
var ProductScenario$inboundSchema = inboundSchema(ProductScenario);
|
|
2538
|
-
var
|
|
2538
|
+
var Properties$inboundSchema = z13.pipe(
|
|
2539
2539
|
z13.object({
|
|
2540
2540
|
is_free: boolean2(),
|
|
2541
2541
|
is_one_off: boolean2(),
|
|
@@ -2567,7 +2567,7 @@ var Product$inboundSchema = z13.pipe(
|
|
|
2567
2567
|
free_trial: nullable(z13.lazy(() => CheckFreeTrial$inboundSchema)),
|
|
2568
2568
|
base_variant_id: nullable(string4()),
|
|
2569
2569
|
scenario: optional2(ProductScenario$inboundSchema),
|
|
2570
|
-
properties: optional2(z13.lazy(() =>
|
|
2570
|
+
properties: optional2(z13.lazy(() => Properties$inboundSchema))
|
|
2571
2571
|
}),
|
|
2572
2572
|
z13.transform((v) => {
|
|
2573
2573
|
return remap(v, {
|
|
@@ -5594,7 +5594,6 @@ var EventsListParams$outboundSchema = z33.pipe(
|
|
|
5594
5594
|
});
|
|
5595
5595
|
})
|
|
5596
5596
|
);
|
|
5597
|
-
var ListEventsProperties$inboundSchema = z33.object({});
|
|
5598
5597
|
var ListEventsList$inboundSchema = z33.pipe(
|
|
5599
5598
|
z33.object({
|
|
5600
5599
|
id: string4(),
|
|
@@ -5602,7 +5601,7 @@ var ListEventsList$inboundSchema = z33.pipe(
|
|
|
5602
5601
|
feature_id: string4(),
|
|
5603
5602
|
customer_id: string4(),
|
|
5604
5603
|
value: number2(),
|
|
5605
|
-
properties: z33.
|
|
5604
|
+
properties: z33.record(z33.string(), z33.any())
|
|
5606
5605
|
}),
|
|
5607
5606
|
z33.transform((v) => {
|
|
5608
5607
|
return remap(v, {
|
|
@@ -14765,14 +14764,13 @@ var eventsListParamsSchema = import_v45.z.object({
|
|
|
14765
14764
|
featureId: import_v45.z.union([import_v45.z.string(), import_v45.z.array(import_v45.z.string()), import_v45.z.undefined()]).optional(),
|
|
14766
14765
|
customRange: import_v45.z.union([listEventsCustomRangeSchema, import_v45.z.undefined()]).optional()
|
|
14767
14766
|
});
|
|
14768
|
-
var listEventsPropertiesSchema = import_v45.z.object({});
|
|
14769
14767
|
var listEventsListSchema = import_v45.z.object({
|
|
14770
14768
|
id: import_v45.z.string(),
|
|
14771
14769
|
timestamp: import_v45.z.number(),
|
|
14772
14770
|
featureId: import_v45.z.string(),
|
|
14773
14771
|
customerId: import_v45.z.string(),
|
|
14774
14772
|
value: import_v45.z.number(),
|
|
14775
|
-
properties:
|
|
14773
|
+
properties: import_v45.z.record(import_v45.z.string(), import_v45.z.any())
|
|
14776
14774
|
});
|
|
14777
14775
|
var listEventsResponseSchema = import_v45.z.object({
|
|
14778
14776
|
list: import_v45.z.array(listEventsListSchema),
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-RUMFBMKX.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-LNALJOXZ.mjs";
|
|
7
|
+
import "../chunk-PKA4GW4O.mjs";
|
|
8
|
+
import "../chunk-GLJ7FFOQ.mjs";
|
|
9
9
|
import "../chunk-55C2WWXQ.mjs";
|
|
10
10
|
import "../chunk-TBQ27LIK.mjs";
|
|
11
11
|
import "../chunk-J44WR3QZ.mjs";
|
|
12
12
|
import "../chunk-TSF4YCUO.mjs";
|
|
13
13
|
import "../chunk-UAR3TMWI.mjs";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-THDDG3SC.mjs";
|
|
15
15
|
import "../chunk-OTXV5FY7.mjs";
|
|
16
16
|
import "../chunk-VZIMT7AO.mjs";
|
|
17
17
|
import "../chunk-Z6QP3YEA.mjs";
|
|
@@ -2535,7 +2535,7 @@ var CheckFreeTrial$inboundSchema = z13.pipe(
|
|
|
2535
2535
|
})
|
|
2536
2536
|
);
|
|
2537
2537
|
var ProductScenario$inboundSchema = inboundSchema(ProductScenario);
|
|
2538
|
-
var
|
|
2538
|
+
var Properties$inboundSchema = z13.pipe(
|
|
2539
2539
|
z13.object({
|
|
2540
2540
|
is_free: boolean2(),
|
|
2541
2541
|
is_one_off: boolean2(),
|
|
@@ -2567,7 +2567,7 @@ var Product$inboundSchema = z13.pipe(
|
|
|
2567
2567
|
free_trial: nullable(z13.lazy(() => CheckFreeTrial$inboundSchema)),
|
|
2568
2568
|
base_variant_id: nullable(string4()),
|
|
2569
2569
|
scenario: optional2(ProductScenario$inboundSchema),
|
|
2570
|
-
properties: optional2(z13.lazy(() =>
|
|
2570
|
+
properties: optional2(z13.lazy(() => Properties$inboundSchema))
|
|
2571
2571
|
}),
|
|
2572
2572
|
z13.transform((v) => {
|
|
2573
2573
|
return remap(v, {
|
|
@@ -5594,7 +5594,6 @@ var EventsListParams$outboundSchema = z33.pipe(
|
|
|
5594
5594
|
});
|
|
5595
5595
|
})
|
|
5596
5596
|
);
|
|
5597
|
-
var ListEventsProperties$inboundSchema = z33.object({});
|
|
5598
5597
|
var ListEventsList$inboundSchema = z33.pipe(
|
|
5599
5598
|
z33.object({
|
|
5600
5599
|
id: string4(),
|
|
@@ -5602,7 +5601,7 @@ var ListEventsList$inboundSchema = z33.pipe(
|
|
|
5602
5601
|
feature_id: string4(),
|
|
5603
5602
|
customer_id: string4(),
|
|
5604
5603
|
value: number2(),
|
|
5605
|
-
properties: z33.
|
|
5604
|
+
properties: z33.record(z33.string(), z33.any())
|
|
5606
5605
|
}),
|
|
5607
5606
|
z33.transform((v) => {
|
|
5608
5607
|
return remap(v, {
|
|
@@ -14765,14 +14764,13 @@ var eventsListParamsSchema = import_v45.z.object({
|
|
|
14765
14764
|
featureId: import_v45.z.union([import_v45.z.string(), import_v45.z.array(import_v45.z.string()), import_v45.z.undefined()]).optional(),
|
|
14766
14765
|
customRange: import_v45.z.union([listEventsCustomRangeSchema, import_v45.z.undefined()]).optional()
|
|
14767
14766
|
});
|
|
14768
|
-
var listEventsPropertiesSchema = import_v45.z.object({});
|
|
14769
14767
|
var listEventsListSchema = import_v45.z.object({
|
|
14770
14768
|
id: import_v45.z.string(),
|
|
14771
14769
|
timestamp: import_v45.z.number(),
|
|
14772
14770
|
featureId: import_v45.z.string(),
|
|
14773
14771
|
customerId: import_v45.z.string(),
|
|
14774
14772
|
value: import_v45.z.number(),
|
|
14775
|
-
properties:
|
|
14773
|
+
properties: import_v45.z.record(import_v45.z.string(), import_v45.z.any())
|
|
14776
14774
|
});
|
|
14777
14775
|
var listEventsResponseSchema = import_v45.z.object({
|
|
14778
14776
|
list: import_v45.z.array(listEventsListSchema),
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-5CZDAFNW.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-LNALJOXZ.mjs";
|
|
7
|
+
import "../chunk-PKA4GW4O.mjs";
|
|
8
|
+
import "../chunk-GLJ7FFOQ.mjs";
|
|
9
9
|
import "../chunk-55C2WWXQ.mjs";
|
|
10
10
|
import "../chunk-TBQ27LIK.mjs";
|
|
11
11
|
import "../chunk-J44WR3QZ.mjs";
|
|
12
12
|
import "../chunk-TSF4YCUO.mjs";
|
|
13
13
|
import "../chunk-UAR3TMWI.mjs";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-THDDG3SC.mjs";
|
|
15
15
|
import "../chunk-OTXV5FY7.mjs";
|
|
16
16
|
import "../chunk-VZIMT7AO.mjs";
|
|
17
17
|
import "../chunk-Z6QP3YEA.mjs";
|
|
@@ -2535,7 +2535,7 @@ var CheckFreeTrial$inboundSchema = z13.pipe(
|
|
|
2535
2535
|
})
|
|
2536
2536
|
);
|
|
2537
2537
|
var ProductScenario$inboundSchema = inboundSchema(ProductScenario);
|
|
2538
|
-
var
|
|
2538
|
+
var Properties$inboundSchema = z13.pipe(
|
|
2539
2539
|
z13.object({
|
|
2540
2540
|
is_free: boolean2(),
|
|
2541
2541
|
is_one_off: boolean2(),
|
|
@@ -2567,7 +2567,7 @@ var Product$inboundSchema = z13.pipe(
|
|
|
2567
2567
|
free_trial: nullable(z13.lazy(() => CheckFreeTrial$inboundSchema)),
|
|
2568
2568
|
base_variant_id: nullable(string4()),
|
|
2569
2569
|
scenario: optional2(ProductScenario$inboundSchema),
|
|
2570
|
-
properties: optional2(z13.lazy(() =>
|
|
2570
|
+
properties: optional2(z13.lazy(() => Properties$inboundSchema))
|
|
2571
2571
|
}),
|
|
2572
2572
|
z13.transform((v) => {
|
|
2573
2573
|
return remap(v, {
|
|
@@ -5594,7 +5594,6 @@ var EventsListParams$outboundSchema = z33.pipe(
|
|
|
5594
5594
|
});
|
|
5595
5595
|
})
|
|
5596
5596
|
);
|
|
5597
|
-
var ListEventsProperties$inboundSchema = z33.object({});
|
|
5598
5597
|
var ListEventsList$inboundSchema = z33.pipe(
|
|
5599
5598
|
z33.object({
|
|
5600
5599
|
id: string4(),
|
|
@@ -5602,7 +5601,7 @@ var ListEventsList$inboundSchema = z33.pipe(
|
|
|
5602
5601
|
feature_id: string4(),
|
|
5603
5602
|
customer_id: string4(),
|
|
5604
5603
|
value: number2(),
|
|
5605
|
-
properties: z33.
|
|
5604
|
+
properties: z33.record(z33.string(), z33.any())
|
|
5606
5605
|
}),
|
|
5607
5606
|
z33.transform((v) => {
|
|
5608
5607
|
return remap(v, {
|
|
@@ -14765,14 +14764,13 @@ var eventsListParamsSchema = import_v45.z.object({
|
|
|
14765
14764
|
featureId: import_v45.z.union([import_v45.z.string(), import_v45.z.array(import_v45.z.string()), import_v45.z.undefined()]).optional(),
|
|
14766
14765
|
customRange: import_v45.z.union([listEventsCustomRangeSchema, import_v45.z.undefined()]).optional()
|
|
14767
14766
|
});
|
|
14768
|
-
var listEventsPropertiesSchema = import_v45.z.object({});
|
|
14769
14767
|
var listEventsListSchema = import_v45.z.object({
|
|
14770
14768
|
id: import_v45.z.string(),
|
|
14771
14769
|
timestamp: import_v45.z.number(),
|
|
14772
14770
|
featureId: import_v45.z.string(),
|
|
14773
14771
|
customerId: import_v45.z.string(),
|
|
14774
14772
|
value: import_v45.z.number(),
|
|
14775
|
-
properties:
|
|
14773
|
+
properties: import_v45.z.record(import_v45.z.string(), import_v45.z.any())
|
|
14776
14774
|
});
|
|
14777
14775
|
var listEventsResponseSchema = import_v45.z.object({
|
|
14778
14776
|
list: import_v45.z.array(listEventsListSchema),
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-UC2X6SWS.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-LNALJOXZ.mjs";
|
|
7
|
+
import "../chunk-PKA4GW4O.mjs";
|
|
8
|
+
import "../chunk-GLJ7FFOQ.mjs";
|
|
9
9
|
import "../chunk-55C2WWXQ.mjs";
|
|
10
10
|
import "../chunk-TBQ27LIK.mjs";
|
|
11
11
|
import "../chunk-J44WR3QZ.mjs";
|
|
12
12
|
import "../chunk-TSF4YCUO.mjs";
|
|
13
13
|
import "../chunk-UAR3TMWI.mjs";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-THDDG3SC.mjs";
|
|
15
15
|
import "../chunk-OTXV5FY7.mjs";
|
|
16
16
|
import "../chunk-VZIMT7AO.mjs";
|
|
17
17
|
import "../chunk-Z6QP3YEA.mjs";
|
|
@@ -2538,7 +2538,7 @@ var CheckFreeTrial$inboundSchema = z13.pipe(
|
|
|
2538
2538
|
})
|
|
2539
2539
|
);
|
|
2540
2540
|
var ProductScenario$inboundSchema = inboundSchema(ProductScenario);
|
|
2541
|
-
var
|
|
2541
|
+
var Properties$inboundSchema = z13.pipe(
|
|
2542
2542
|
z13.object({
|
|
2543
2543
|
is_free: boolean2(),
|
|
2544
2544
|
is_one_off: boolean2(),
|
|
@@ -2570,7 +2570,7 @@ var Product$inboundSchema = z13.pipe(
|
|
|
2570
2570
|
free_trial: nullable(z13.lazy(() => CheckFreeTrial$inboundSchema)),
|
|
2571
2571
|
base_variant_id: nullable(string4()),
|
|
2572
2572
|
scenario: optional2(ProductScenario$inboundSchema),
|
|
2573
|
-
properties: optional2(z13.lazy(() =>
|
|
2573
|
+
properties: optional2(z13.lazy(() => Properties$inboundSchema))
|
|
2574
2574
|
}),
|
|
2575
2575
|
z13.transform((v) => {
|
|
2576
2576
|
return remap(v, {
|
|
@@ -5597,7 +5597,6 @@ var EventsListParams$outboundSchema = z33.pipe(
|
|
|
5597
5597
|
});
|
|
5598
5598
|
})
|
|
5599
5599
|
);
|
|
5600
|
-
var ListEventsProperties$inboundSchema = z33.object({});
|
|
5601
5600
|
var ListEventsList$inboundSchema = z33.pipe(
|
|
5602
5601
|
z33.object({
|
|
5603
5602
|
id: string4(),
|
|
@@ -5605,7 +5604,7 @@ var ListEventsList$inboundSchema = z33.pipe(
|
|
|
5605
5604
|
feature_id: string4(),
|
|
5606
5605
|
customer_id: string4(),
|
|
5607
5606
|
value: number2(),
|
|
5608
|
-
properties: z33.
|
|
5607
|
+
properties: z33.record(z33.string(), z33.any())
|
|
5609
5608
|
}),
|
|
5610
5609
|
z33.transform((v) => {
|
|
5611
5610
|
return remap(v, {
|
|
@@ -14768,14 +14767,13 @@ var eventsListParamsSchema = import_v45.z.object({
|
|
|
14768
14767
|
featureId: import_v45.z.union([import_v45.z.string(), import_v45.z.array(import_v45.z.string()), import_v45.z.undefined()]).optional(),
|
|
14769
14768
|
customRange: import_v45.z.union([listEventsCustomRangeSchema, import_v45.z.undefined()]).optional()
|
|
14770
14769
|
});
|
|
14771
|
-
var listEventsPropertiesSchema = import_v45.z.object({});
|
|
14772
14770
|
var listEventsListSchema = import_v45.z.object({
|
|
14773
14771
|
id: import_v45.z.string(),
|
|
14774
14772
|
timestamp: import_v45.z.number(),
|
|
14775
14773
|
featureId: import_v45.z.string(),
|
|
14776
14774
|
customerId: import_v45.z.string(),
|
|
14777
14775
|
value: import_v45.z.number(),
|
|
14778
|
-
properties:
|
|
14776
|
+
properties: import_v45.z.record(import_v45.z.string(), import_v45.z.any())
|
|
14779
14777
|
});
|
|
14780
14778
|
var listEventsResponseSchema = import_v45.z.object({
|
|
14781
14779
|
list: import_v45.z.array(listEventsListSchema),
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-RUMFBMKX.mjs";
|
|
4
4
|
import {
|
|
5
5
|
autumnHandler as autumnHandler2
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-5CZDAFNW.mjs";
|
|
7
7
|
import {
|
|
8
8
|
autumnHandler as autumnHandler3
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-UC2X6SWS.mjs";
|
|
10
10
|
import {
|
|
11
11
|
autumnHandler as autumnHandler4
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-DV2YHWEK.mjs";
|
|
13
13
|
import "../chunk-WYDGEDEU.mjs";
|
|
14
14
|
import "../chunk-VXND2UDT.mjs";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-LNALJOXZ.mjs";
|
|
16
|
+
import "../chunk-PKA4GW4O.mjs";
|
|
17
|
+
import "../chunk-GLJ7FFOQ.mjs";
|
|
18
18
|
import "../chunk-55C2WWXQ.mjs";
|
|
19
19
|
import "../chunk-TBQ27LIK.mjs";
|
|
20
20
|
import "../chunk-J44WR3QZ.mjs";
|
|
21
21
|
import "../chunk-TSF4YCUO.mjs";
|
|
22
22
|
import "../chunk-UAR3TMWI.mjs";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-THDDG3SC.mjs";
|
|
24
24
|
import "../chunk-OTXV5FY7.mjs";
|
|
25
25
|
import "../chunk-VZIMT7AO.mjs";
|
|
26
26
|
import "../chunk-Z6QP3YEA.mjs";
|
|
@@ -2536,7 +2536,7 @@ var CheckFreeTrial$inboundSchema = z13.pipe(
|
|
|
2536
2536
|
})
|
|
2537
2537
|
);
|
|
2538
2538
|
var ProductScenario$inboundSchema = inboundSchema(ProductScenario);
|
|
2539
|
-
var
|
|
2539
|
+
var Properties$inboundSchema = z13.pipe(
|
|
2540
2540
|
z13.object({
|
|
2541
2541
|
is_free: boolean2(),
|
|
2542
2542
|
is_one_off: boolean2(),
|
|
@@ -2568,7 +2568,7 @@ var Product$inboundSchema = z13.pipe(
|
|
|
2568
2568
|
free_trial: nullable(z13.lazy(() => CheckFreeTrial$inboundSchema)),
|
|
2569
2569
|
base_variant_id: nullable(string4()),
|
|
2570
2570
|
scenario: optional2(ProductScenario$inboundSchema),
|
|
2571
|
-
properties: optional2(z13.lazy(() =>
|
|
2571
|
+
properties: optional2(z13.lazy(() => Properties$inboundSchema))
|
|
2572
2572
|
}),
|
|
2573
2573
|
z13.transform((v) => {
|
|
2574
2574
|
return remap(v, {
|
|
@@ -5595,7 +5595,6 @@ var EventsListParams$outboundSchema = z33.pipe(
|
|
|
5595
5595
|
});
|
|
5596
5596
|
})
|
|
5597
5597
|
);
|
|
5598
|
-
var ListEventsProperties$inboundSchema = z33.object({});
|
|
5599
5598
|
var ListEventsList$inboundSchema = z33.pipe(
|
|
5600
5599
|
z33.object({
|
|
5601
5600
|
id: string4(),
|
|
@@ -5603,7 +5602,7 @@ var ListEventsList$inboundSchema = z33.pipe(
|
|
|
5603
5602
|
feature_id: string4(),
|
|
5604
5603
|
customer_id: string4(),
|
|
5605
5604
|
value: number2(),
|
|
5606
|
-
properties: z33.
|
|
5605
|
+
properties: z33.record(z33.string(), z33.any())
|
|
5607
5606
|
}),
|
|
5608
5607
|
z33.transform((v) => {
|
|
5609
5608
|
return remap(v, {
|
|
@@ -14766,14 +14765,13 @@ var eventsListParamsSchema = import_v45.z.object({
|
|
|
14766
14765
|
featureId: import_v45.z.union([import_v45.z.string(), import_v45.z.array(import_v45.z.string()), import_v45.z.undefined()]).optional(),
|
|
14767
14766
|
customRange: import_v45.z.union([listEventsCustomRangeSchema, import_v45.z.undefined()]).optional()
|
|
14768
14767
|
});
|
|
14769
|
-
var listEventsPropertiesSchema = import_v45.z.object({});
|
|
14770
14768
|
var listEventsListSchema = import_v45.z.object({
|
|
14771
14769
|
id: import_v45.z.string(),
|
|
14772
14770
|
timestamp: import_v45.z.number(),
|
|
14773
14771
|
featureId: import_v45.z.string(),
|
|
14774
14772
|
customerId: import_v45.z.string(),
|
|
14775
14773
|
value: import_v45.z.number(),
|
|
14776
|
-
properties:
|
|
14774
|
+
properties: import_v45.z.record(import_v45.z.string(), import_v45.z.any())
|
|
14777
14775
|
});
|
|
14778
14776
|
var listEventsResponseSchema = import_v45.z.object({
|
|
14779
14777
|
list: import_v45.z.array(listEventsListSchema),
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-DV2YHWEK.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-LNALJOXZ.mjs";
|
|
7
|
+
import "../chunk-PKA4GW4O.mjs";
|
|
8
|
+
import "../chunk-GLJ7FFOQ.mjs";
|
|
9
9
|
import "../chunk-55C2WWXQ.mjs";
|
|
10
10
|
import "../chunk-TBQ27LIK.mjs";
|
|
11
11
|
import "../chunk-J44WR3QZ.mjs";
|
|
12
12
|
import "../chunk-TSF4YCUO.mjs";
|
|
13
13
|
import "../chunk-UAR3TMWI.mjs";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-THDDG3SC.mjs";
|
|
15
15
|
import "../chunk-OTXV5FY7.mjs";
|
|
16
16
|
import "../chunk-VZIMT7AO.mjs";
|
|
17
17
|
import "../chunk-Z6QP3YEA.mjs";
|
|
@@ -2452,7 +2452,7 @@ var CheckFreeTrial$inboundSchema = z13.pipe(
|
|
|
2452
2452
|
})
|
|
2453
2453
|
);
|
|
2454
2454
|
var ProductScenario$inboundSchema = inboundSchema(ProductScenario);
|
|
2455
|
-
var
|
|
2455
|
+
var Properties$inboundSchema = z13.pipe(
|
|
2456
2456
|
z13.object({
|
|
2457
2457
|
is_free: boolean2(),
|
|
2458
2458
|
is_one_off: boolean2(),
|
|
@@ -2484,7 +2484,7 @@ var Product$inboundSchema = z13.pipe(
|
|
|
2484
2484
|
free_trial: nullable(z13.lazy(() => CheckFreeTrial$inboundSchema)),
|
|
2485
2485
|
base_variant_id: nullable(string4()),
|
|
2486
2486
|
scenario: optional2(ProductScenario$inboundSchema),
|
|
2487
|
-
properties: optional2(z13.lazy(() =>
|
|
2487
|
+
properties: optional2(z13.lazy(() => Properties$inboundSchema))
|
|
2488
2488
|
}),
|
|
2489
2489
|
z13.transform((v) => {
|
|
2490
2490
|
return remap(v, {
|
|
@@ -5511,7 +5511,6 @@ var EventsListParams$outboundSchema = z33.pipe(
|
|
|
5511
5511
|
});
|
|
5512
5512
|
})
|
|
5513
5513
|
);
|
|
5514
|
-
var ListEventsProperties$inboundSchema = z33.object({});
|
|
5515
5514
|
var ListEventsList$inboundSchema = z33.pipe(
|
|
5516
5515
|
z33.object({
|
|
5517
5516
|
id: string4(),
|
|
@@ -5519,7 +5518,7 @@ var ListEventsList$inboundSchema = z33.pipe(
|
|
|
5519
5518
|
feature_id: string4(),
|
|
5520
5519
|
customer_id: string4(),
|
|
5521
5520
|
value: number2(),
|
|
5522
|
-
properties: z33.
|
|
5521
|
+
properties: z33.record(z33.string(), z33.any())
|
|
5523
5522
|
}),
|
|
5524
5523
|
z33.transform((v) => {
|
|
5525
5524
|
return remap(v, {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Autumn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GLJ7FFOQ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
executeRoute
|
|
6
6
|
} from "./chunk-55C2WWXQ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
routeConfigs
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-THDDG3SC.mjs";
|
|
10
10
|
import {
|
|
11
11
|
secretKeyCheck
|
|
12
12
|
} from "./chunk-VZIMT7AO.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Autumn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GLJ7FFOQ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
executeRoute
|
|
6
6
|
} from "./chunk-55C2WWXQ.mjs";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-UAR3TMWI.mjs";
|
|
10
10
|
import {
|
|
11
11
|
routeConfigs
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-THDDG3SC.mjs";
|
|
13
13
|
import {
|
|
14
14
|
secretKeyCheck
|
|
15
15
|
} from "./chunk-VZIMT7AO.mjs";
|
|
@@ -471,14 +471,13 @@ var eventsListParamsSchema = z5.object({
|
|
|
471
471
|
featureId: z5.union([z5.string(), z5.array(z5.string()), z5.undefined()]).optional(),
|
|
472
472
|
customRange: z5.union([listEventsCustomRangeSchema, z5.undefined()]).optional()
|
|
473
473
|
});
|
|
474
|
-
var listEventsPropertiesSchema = z5.object({});
|
|
475
474
|
var listEventsListSchema = z5.object({
|
|
476
475
|
id: z5.string(),
|
|
477
476
|
timestamp: z5.number(),
|
|
478
477
|
featureId: z5.string(),
|
|
479
478
|
customerId: z5.string(),
|
|
480
479
|
value: z5.number(),
|
|
481
|
-
properties:
|
|
480
|
+
properties: z5.record(z5.string(), z5.any())
|
|
482
481
|
});
|
|
483
482
|
var listEventsResponseSchema = z5.object({
|
|
484
483
|
list: z5.array(listEventsListSchema),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from '../types/handlerTypes.mjs';
|
|
2
2
|
import '../../authTypes-BapwVzwz.mjs';
|
|
3
|
-
import '../../routeTypes-
|
|
3
|
+
import '../../routeTypes-CeGvUnxR.mjs';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../types/responseTypes.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from '../types/handlerTypes.js';
|
|
2
2
|
import '../../authTypes-BapwVzwz.js';
|
|
3
|
-
import '../../routeTypes-
|
|
3
|
+
import '../../routeTypes-unMyXmbr.js';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../types/responseTypes.js';
|
|
6
6
|
|
|
@@ -2535,7 +2535,7 @@ var CheckFreeTrial$inboundSchema = z13.pipe(
|
|
|
2535
2535
|
})
|
|
2536
2536
|
);
|
|
2537
2537
|
var ProductScenario$inboundSchema = inboundSchema(ProductScenario);
|
|
2538
|
-
var
|
|
2538
|
+
var Properties$inboundSchema = z13.pipe(
|
|
2539
2539
|
z13.object({
|
|
2540
2540
|
is_free: boolean2(),
|
|
2541
2541
|
is_one_off: boolean2(),
|
|
@@ -2567,7 +2567,7 @@ var Product$inboundSchema = z13.pipe(
|
|
|
2567
2567
|
free_trial: nullable(z13.lazy(() => CheckFreeTrial$inboundSchema)),
|
|
2568
2568
|
base_variant_id: nullable(string4()),
|
|
2569
2569
|
scenario: optional2(ProductScenario$inboundSchema),
|
|
2570
|
-
properties: optional2(z13.lazy(() =>
|
|
2570
|
+
properties: optional2(z13.lazy(() => Properties$inboundSchema))
|
|
2571
2571
|
}),
|
|
2572
2572
|
z13.transform((v) => {
|
|
2573
2573
|
return remap(v, {
|
|
@@ -5594,7 +5594,6 @@ var EventsListParams$outboundSchema = z33.pipe(
|
|
|
5594
5594
|
});
|
|
5595
5595
|
})
|
|
5596
5596
|
);
|
|
5597
|
-
var ListEventsProperties$inboundSchema = z33.object({});
|
|
5598
5597
|
var ListEventsList$inboundSchema = z33.pipe(
|
|
5599
5598
|
z33.object({
|
|
5600
5599
|
id: string4(),
|
|
@@ -5602,7 +5601,7 @@ var ListEventsList$inboundSchema = z33.pipe(
|
|
|
5602
5601
|
feature_id: string4(),
|
|
5603
5602
|
customer_id: string4(),
|
|
5604
5603
|
value: number2(),
|
|
5605
|
-
properties: z33.
|
|
5604
|
+
properties: z33.record(z33.string(), z33.any())
|
|
5606
5605
|
}),
|
|
5607
5606
|
z33.transform((v) => {
|
|
5608
5607
|
return remap(v, {
|
|
@@ -14765,14 +14764,13 @@ var eventsListParamsSchema = import_v45.z.object({
|
|
|
14765
14764
|
featureId: import_v45.z.union([import_v45.z.string(), import_v45.z.array(import_v45.z.string()), import_v45.z.undefined()]).optional(),
|
|
14766
14765
|
customRange: import_v45.z.union([listEventsCustomRangeSchema, import_v45.z.undefined()]).optional()
|
|
14767
14766
|
});
|
|
14768
|
-
var listEventsPropertiesSchema = import_v45.z.object({});
|
|
14769
14767
|
var listEventsListSchema = import_v45.z.object({
|
|
14770
14768
|
id: import_v45.z.string(),
|
|
14771
14769
|
timestamp: import_v45.z.number(),
|
|
14772
14770
|
featureId: import_v45.z.string(),
|
|
14773
14771
|
customerId: import_v45.z.string(),
|
|
14774
14772
|
value: import_v45.z.number(),
|
|
14775
|
-
properties:
|
|
14773
|
+
properties: import_v45.z.record(import_v45.z.string(), import_v45.z.any())
|
|
14776
14774
|
});
|
|
14777
14775
|
var listEventsResponseSchema = import_v45.z.object({
|
|
14778
14776
|
list: import_v45.z.array(listEventsListSchema),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCoreHandler
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-PKA4GW4O.mjs";
|
|
4
|
+
import "../../chunk-GLJ7FFOQ.mjs";
|
|
5
5
|
import "../../chunk-55C2WWXQ.mjs";
|
|
6
6
|
import "../../chunk-TBQ27LIK.mjs";
|
|
7
7
|
import "../../chunk-J44WR3QZ.mjs";
|
|
8
8
|
import "../../chunk-TSF4YCUO.mjs";
|
|
9
9
|
import "../../chunk-UAR3TMWI.mjs";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-THDDG3SC.mjs";
|
|
11
11
|
import "../../chunk-OTXV5FY7.mjs";
|
|
12
12
|
import "../../chunk-VZIMT7AO.mjs";
|
|
13
13
|
import "../../chunk-Z6QP3YEA.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Autumn, R as RouteDefinition } from '../../routeTypes-
|
|
1
|
+
import { A as Autumn, R as RouteDefinition } from '../../routeTypes-CeGvUnxR.mjs';
|
|
2
2
|
import { A as AuthResult } from '../../authTypes-BapwVzwz.mjs';
|
|
3
3
|
import { BackendResult } from '../types/responseTypes.mjs';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Autumn, R as RouteDefinition } from '../../routeTypes-
|
|
1
|
+
import { A as Autumn, R as RouteDefinition } from '../../routeTypes-unMyXmbr.js';
|
|
2
2
|
import { A as AuthResult } from '../../authTypes-BapwVzwz.js';
|
|
3
3
|
import { BackendResult } from '../types/responseTypes.js';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -2535,7 +2535,7 @@ var CheckFreeTrial$inboundSchema = z13.pipe(
|
|
|
2535
2535
|
})
|
|
2536
2536
|
);
|
|
2537
2537
|
var ProductScenario$inboundSchema = inboundSchema(ProductScenario);
|
|
2538
|
-
var
|
|
2538
|
+
var Properties$inboundSchema = z13.pipe(
|
|
2539
2539
|
z13.object({
|
|
2540
2540
|
is_free: boolean2(),
|
|
2541
2541
|
is_one_off: boolean2(),
|
|
@@ -2567,7 +2567,7 @@ var Product$inboundSchema = z13.pipe(
|
|
|
2567
2567
|
free_trial: nullable(z13.lazy(() => CheckFreeTrial$inboundSchema)),
|
|
2568
2568
|
base_variant_id: nullable(string4()),
|
|
2569
2569
|
scenario: optional2(ProductScenario$inboundSchema),
|
|
2570
|
-
properties: optional2(z13.lazy(() =>
|
|
2570
|
+
properties: optional2(z13.lazy(() => Properties$inboundSchema))
|
|
2571
2571
|
}),
|
|
2572
2572
|
z13.transform((v) => {
|
|
2573
2573
|
return remap(v, {
|
|
@@ -5594,7 +5594,6 @@ var EventsListParams$outboundSchema = z33.pipe(
|
|
|
5594
5594
|
});
|
|
5595
5595
|
})
|
|
5596
5596
|
);
|
|
5597
|
-
var ListEventsProperties$inboundSchema = z33.object({});
|
|
5598
5597
|
var ListEventsList$inboundSchema = z33.pipe(
|
|
5599
5598
|
z33.object({
|
|
5600
5599
|
id: string4(),
|
|
@@ -5602,7 +5601,7 @@ var ListEventsList$inboundSchema = z33.pipe(
|
|
|
5602
5601
|
feature_id: string4(),
|
|
5603
5602
|
customer_id: string4(),
|
|
5604
5603
|
value: number2(),
|
|
5605
|
-
properties: z33.
|
|
5604
|
+
properties: z33.record(z33.string(), z33.any())
|
|
5606
5605
|
}),
|
|
5607
5606
|
z33.transform((v) => {
|
|
5608
5607
|
return remap(v, {
|
|
@@ -14748,14 +14747,13 @@ var eventsListParamsSchema = import_v45.z.object({
|
|
|
14748
14747
|
featureId: import_v45.z.union([import_v45.z.string(), import_v45.z.array(import_v45.z.string()), import_v45.z.undefined()]).optional(),
|
|
14749
14748
|
customRange: import_v45.z.union([listEventsCustomRangeSchema, import_v45.z.undefined()]).optional()
|
|
14750
14749
|
});
|
|
14751
|
-
var listEventsPropertiesSchema = import_v45.z.object({});
|
|
14752
14750
|
var listEventsListSchema = import_v45.z.object({
|
|
14753
14751
|
id: import_v45.z.string(),
|
|
14754
14752
|
timestamp: import_v45.z.number(),
|
|
14755
14753
|
featureId: import_v45.z.string(),
|
|
14756
14754
|
customerId: import_v45.z.string(),
|
|
14757
14755
|
value: import_v45.z.number(),
|
|
14758
|
-
properties:
|
|
14756
|
+
properties: import_v45.z.record(import_v45.z.string(), import_v45.z.any())
|
|
14759
14757
|
});
|
|
14760
14758
|
var listEventsResponseSchema = import_v45.z.object({
|
|
14761
14759
|
list: import_v45.z.array(listEventsListSchema),
|