autumn-js 1.0.5 → 1.0.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 +11 -3
- package/dist/backend/adapters/express.mjs +6 -6
- package/dist/backend/adapters/hono.js +11 -3
- package/dist/backend/adapters/hono.mjs +6 -6
- package/dist/backend/adapters/index.js +11 -3
- package/dist/backend/adapters/index.mjs +9 -9
- package/dist/backend/adapters/next.js +11 -3
- package/dist/backend/adapters/next.mjs +6 -6
- package/dist/backend/adapters/webStandard.js +11 -3
- package/dist/backend/adapters/webStandard.mjs +6 -6
- package/dist/backend/{chunk-ES5PMQNE.mjs → chunk-2QTM4IWE.mjs} +2 -2
- package/dist/backend/{chunk-4HGXMOFY.mjs → chunk-MI27VHE4.mjs} +4 -0
- package/dist/backend/{chunk-75GYUE4T.mjs → chunk-QAAJTBH3.mjs} +1 -1
- package/dist/backend/{chunk-6JTZNLLF.mjs → chunk-RNRG2UAR.mjs} +1 -1
- package/dist/backend/{chunk-NOBFDO6C.mjs → chunk-TJ47V7LD.mjs} +2 -2
- package/dist/backend/{chunk-VRBMFR7E.mjs → chunk-TPHQZPR6.mjs} +1 -1
- package/dist/backend/{chunk-UVRDDBT5.mjs → chunk-WT7PTLSY.mjs} +1 -1
- package/dist/backend/{chunk-DUZI6OTY.mjs → chunk-XXJ2D6ME.mjs} +7 -3
- 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 +11 -3
- package/dist/backend/core/handlers/coreHandler.mjs +4 -4
- package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
- package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
- package/dist/backend/core/handlers/executeRoute.mjs +1 -1
- package/dist/backend/core/handlers/handleRouteByName.js +11 -3
- package/dist/backend/core/handlers/handleRouteByName.mjs +4 -4
- 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 +11 -3
- package/dist/backend/core/handlers/index.mjs +5 -5
- package/dist/backend/core/index.d.mts +1 -1
- package/dist/backend/core/index.d.ts +1 -1
- package/dist/backend/core/index.js +11 -3
- package/dist/backend/core/index.mjs +7 -7
- 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 +4 -0
- package/dist/backend/core/routes/index.mjs +2 -2
- 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 +4 -0
- package/dist/backend/core/routes/routeConfigs.mjs +2 -2
- 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/core/utils/index.mjs +3 -3
- package/dist/backend/index.d.mts +2 -2
- package/dist/backend/index.d.ts +2 -2
- package/dist/backend/index.js +11 -3
- package/dist/backend/index.mjs +7 -7
- package/dist/backend/{routeTypes-BYMhJrA7.d.mts → routeTypes-C4TsEinu.d.mts} +8 -0
- package/dist/backend/{routeTypes-YudVQuu6.d.ts → routeTypes-DZF4cYR8.d.ts} +8 -0
- package/dist/better-auth/{chunk-3H2ZY6Y7.mjs → chunk-JHQFCKF4.mjs} +8 -4
- package/dist/better-auth/{chunk-KSKXDRIJ.mjs → chunk-LFXQY7UY.mjs} +4 -0
- package/dist/better-auth/{chunk-PU5JERX3.mjs → chunk-UVCBPAS4.mjs} +1 -1
- package/dist/better-auth/index.js +11 -3
- package/dist/better-auth/index.mjs +3 -3
- package/dist/better-auth/utils/createAutumnEndpoint.js +4 -0
- package/dist/better-auth/utils/createAutumnEndpoint.mjs +2 -2
- package/dist/better-auth/utils/handleBetterAuthRoute.js +11 -3
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +2 -2
- package/dist/better-auth/utils/index.js +11 -3
- 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/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-DMEDNswc.d.mts → params-CSQH3Cho.d.mts} +8 -0
- package/dist/react/{params-BuUsFfIz.d.ts → params-CtLGEhSv.d.ts} +8 -0
- package/dist/sdk/index.d.mts +12 -2
- package/dist/sdk/index.d.ts +12 -2
- package/dist/sdk/index.js +7 -3
- package/dist/sdk/index.mjs +7 -3
- package/package.json +1 -1
|
@@ -76,10 +76,10 @@ function serverURLFromOptions(options) {
|
|
|
76
76
|
}
|
|
77
77
|
var SDK_METADATA = {
|
|
78
78
|
language: "typescript",
|
|
79
|
-
openapiDocVersion: "2.
|
|
79
|
+
openapiDocVersion: "2.2.0",
|
|
80
80
|
sdkVersion: "0.10.17",
|
|
81
81
|
genVersion: "2.824.1",
|
|
82
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.824.1 2.
|
|
82
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.824.1 2.2.0 @useautumn/sdk"
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
// ../sdk/src/lib/http.ts
|
|
@@ -848,7 +848,7 @@ function dlv(obj, key, def, p, undef) {
|
|
|
848
848
|
// ../sdk/src/lib/env.ts
|
|
849
849
|
var envSchema = z5.object({
|
|
850
850
|
AUTUMN_SECRET_KEY: z5.optional(z5.string()),
|
|
851
|
-
AUTUMN_X_API_VERSION: z5._default(z5.string(), "2.
|
|
851
|
+
AUTUMN_X_API_VERSION: z5._default(z5.string(), "2.2.0"),
|
|
852
852
|
AUTUMN_DEBUG: z5.optional(z5.coerce.boolean())
|
|
853
853
|
});
|
|
854
854
|
function isDeno() {
|
|
@@ -1322,6 +1322,7 @@ var AggregateEventsCustomRange$outboundSchema = z8.object({
|
|
|
1322
1322
|
var EventsAggregateParams$outboundSchema = z8.pipe(
|
|
1323
1323
|
z8.object({
|
|
1324
1324
|
customerId: z8.string(),
|
|
1325
|
+
entityId: z8.optional(z8.string()),
|
|
1325
1326
|
featureId: smartUnion([z8.string(), z8.array(z8.string())]),
|
|
1326
1327
|
groupBy: z8.optional(z8.string()),
|
|
1327
1328
|
range: z8.optional(Range$outboundSchema),
|
|
@@ -1333,6 +1334,7 @@ var EventsAggregateParams$outboundSchema = z8.pipe(
|
|
|
1333
1334
|
z8.transform((v) => {
|
|
1334
1335
|
return remap(v, {
|
|
1335
1336
|
customerId: "customer_id",
|
|
1337
|
+
entityId: "entity_id",
|
|
1336
1338
|
featureId: "feature_id",
|
|
1337
1339
|
groupBy: "group_by",
|
|
1338
1340
|
binSize: "bin_size",
|
|
@@ -5225,12 +5227,14 @@ var EventsListParams$outboundSchema = z33.pipe(
|
|
|
5225
5227
|
offset: z33._default(z33.int(), 0),
|
|
5226
5228
|
limit: z33._default(z33.int(), 100),
|
|
5227
5229
|
customerId: z33.optional(z33.string()),
|
|
5230
|
+
entityId: z33.optional(z33.string()),
|
|
5228
5231
|
featureId: z33.optional(smartUnion([z33.string(), z33.array(z33.string())])),
|
|
5229
5232
|
customRange: z33.optional(z33.lazy(() => ListEventsCustomRange$outboundSchema))
|
|
5230
5233
|
}),
|
|
5231
5234
|
z33.transform((v) => {
|
|
5232
5235
|
return remap(v, {
|
|
5233
5236
|
customerId: "customer_id",
|
|
5237
|
+
entityId: "entity_id",
|
|
5234
5238
|
featureId: "feature_id",
|
|
5235
5239
|
customRange: "custom_range"
|
|
5236
5240
|
});
|
|
@@ -13523,6 +13527,7 @@ var aggregateEventsCustomRangeOutboundSchema = import_v4.z.object({
|
|
|
13523
13527
|
});
|
|
13524
13528
|
var eventsAggregateParamsOutboundSchema = import_v4.z.object({
|
|
13525
13529
|
customer_id: import_v4.z.string(),
|
|
13530
|
+
entity_id: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
13526
13531
|
feature_id: import_v4.z.union([import_v4.z.string(), import_v4.z.array(import_v4.z.string())]),
|
|
13527
13532
|
group_by: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
13528
13533
|
range: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
@@ -13534,6 +13539,7 @@ var rangeSchema = closedEnumSchema;
|
|
|
13534
13539
|
var binSizeSchema = closedEnumSchema;
|
|
13535
13540
|
var eventsAggregateParamsSchema = import_v4.z.object({
|
|
13536
13541
|
customerId: import_v4.z.string(),
|
|
13542
|
+
entityId: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
13537
13543
|
featureId: import_v4.z.union([import_v4.z.string(), import_v4.z.array(import_v4.z.string())]),
|
|
13538
13544
|
groupBy: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
13539
13545
|
range: import_v4.z.union([rangeSchema, import_v4.z.undefined()]).optional(),
|
|
@@ -13895,6 +13901,7 @@ var eventsListParamsSchema = import_v45.z.object({
|
|
|
13895
13901
|
offset: import_v45.z.union([import_v45.z.number(), import_v45.z.undefined()]).optional(),
|
|
13896
13902
|
limit: import_v45.z.union([import_v45.z.number(), import_v45.z.undefined()]).optional(),
|
|
13897
13903
|
customerId: import_v45.z.union([import_v45.z.string(), import_v45.z.undefined()]).optional(),
|
|
13904
|
+
entityId: import_v45.z.union([import_v45.z.string(), import_v45.z.undefined()]).optional(),
|
|
13898
13905
|
featureId: import_v45.z.union([import_v45.z.string(), import_v45.z.array(import_v45.z.string()), import_v45.z.undefined()]).optional(),
|
|
13899
13906
|
customRange: import_v45.z.union([listEventsCustomRangeSchema, import_v45.z.undefined()]).optional()
|
|
13900
13907
|
});
|
|
@@ -13926,6 +13933,7 @@ var eventsListParamsOutboundSchema = import_v45.z.object({
|
|
|
13926
13933
|
offset: import_v45.z.number(),
|
|
13927
13934
|
limit: import_v45.z.number(),
|
|
13928
13935
|
customer_id: import_v45.z.union([import_v45.z.string(), import_v45.z.undefined()]).optional(),
|
|
13936
|
+
entity_id: import_v45.z.union([import_v45.z.string(), import_v45.z.undefined()]).optional(),
|
|
13929
13937
|
feature_id: import_v45.z.union([import_v45.z.string(), import_v45.z.array(import_v45.z.string()), import_v45.z.undefined()]).optional(),
|
|
13930
13938
|
custom_range: import_v45.z.union([listEventsCustomRangeOutboundSchema, import_v45.z.undefined()]).optional()
|
|
13931
13939
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-RNRG2UAR.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-2QTM4IWE.mjs";
|
|
7
|
+
import "../chunk-TJ47V7LD.mjs";
|
|
8
|
+
import "../chunk-XXJ2D6ME.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-MI27VHE4.mjs";
|
|
15
15
|
import "../chunk-OTXV5FY7.mjs";
|
|
16
|
-
import "../chunk-VZIMT7AO.mjs";
|
|
17
16
|
import "../chunk-Z6QP3YEA.mjs";
|
|
17
|
+
import "../chunk-VZIMT7AO.mjs";
|
|
18
18
|
import "../chunk-N7NFYY54.mjs";
|
|
19
19
|
export {
|
|
20
20
|
autumnHandler
|
|
@@ -76,10 +76,10 @@ function serverURLFromOptions(options) {
|
|
|
76
76
|
}
|
|
77
77
|
var SDK_METADATA = {
|
|
78
78
|
language: "typescript",
|
|
79
|
-
openapiDocVersion: "2.
|
|
79
|
+
openapiDocVersion: "2.2.0",
|
|
80
80
|
sdkVersion: "0.10.17",
|
|
81
81
|
genVersion: "2.824.1",
|
|
82
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.824.1 2.
|
|
82
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.824.1 2.2.0 @useautumn/sdk"
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
// ../sdk/src/lib/http.ts
|
|
@@ -848,7 +848,7 @@ function dlv(obj, key, def, p, undef) {
|
|
|
848
848
|
// ../sdk/src/lib/env.ts
|
|
849
849
|
var envSchema = z5.object({
|
|
850
850
|
AUTUMN_SECRET_KEY: z5.optional(z5.string()),
|
|
851
|
-
AUTUMN_X_API_VERSION: z5._default(z5.string(), "2.
|
|
851
|
+
AUTUMN_X_API_VERSION: z5._default(z5.string(), "2.2.0"),
|
|
852
852
|
AUTUMN_DEBUG: z5.optional(z5.coerce.boolean())
|
|
853
853
|
});
|
|
854
854
|
function isDeno() {
|
|
@@ -1322,6 +1322,7 @@ var AggregateEventsCustomRange$outboundSchema = z8.object({
|
|
|
1322
1322
|
var EventsAggregateParams$outboundSchema = z8.pipe(
|
|
1323
1323
|
z8.object({
|
|
1324
1324
|
customerId: z8.string(),
|
|
1325
|
+
entityId: z8.optional(z8.string()),
|
|
1325
1326
|
featureId: smartUnion([z8.string(), z8.array(z8.string())]),
|
|
1326
1327
|
groupBy: z8.optional(z8.string()),
|
|
1327
1328
|
range: z8.optional(Range$outboundSchema),
|
|
@@ -1333,6 +1334,7 @@ var EventsAggregateParams$outboundSchema = z8.pipe(
|
|
|
1333
1334
|
z8.transform((v) => {
|
|
1334
1335
|
return remap(v, {
|
|
1335
1336
|
customerId: "customer_id",
|
|
1337
|
+
entityId: "entity_id",
|
|
1336
1338
|
featureId: "feature_id",
|
|
1337
1339
|
groupBy: "group_by",
|
|
1338
1340
|
binSize: "bin_size",
|
|
@@ -5225,12 +5227,14 @@ var EventsListParams$outboundSchema = z33.pipe(
|
|
|
5225
5227
|
offset: z33._default(z33.int(), 0),
|
|
5226
5228
|
limit: z33._default(z33.int(), 100),
|
|
5227
5229
|
customerId: z33.optional(z33.string()),
|
|
5230
|
+
entityId: z33.optional(z33.string()),
|
|
5228
5231
|
featureId: z33.optional(smartUnion([z33.string(), z33.array(z33.string())])),
|
|
5229
5232
|
customRange: z33.optional(z33.lazy(() => ListEventsCustomRange$outboundSchema))
|
|
5230
5233
|
}),
|
|
5231
5234
|
z33.transform((v) => {
|
|
5232
5235
|
return remap(v, {
|
|
5233
5236
|
customerId: "customer_id",
|
|
5237
|
+
entityId: "entity_id",
|
|
5234
5238
|
featureId: "feature_id",
|
|
5235
5239
|
customRange: "custom_range"
|
|
5236
5240
|
});
|
|
@@ -13523,6 +13527,7 @@ var aggregateEventsCustomRangeOutboundSchema = import_v4.z.object({
|
|
|
13523
13527
|
});
|
|
13524
13528
|
var eventsAggregateParamsOutboundSchema = import_v4.z.object({
|
|
13525
13529
|
customer_id: import_v4.z.string(),
|
|
13530
|
+
entity_id: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
13526
13531
|
feature_id: import_v4.z.union([import_v4.z.string(), import_v4.z.array(import_v4.z.string())]),
|
|
13527
13532
|
group_by: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
13528
13533
|
range: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
@@ -13534,6 +13539,7 @@ var rangeSchema = closedEnumSchema;
|
|
|
13534
13539
|
var binSizeSchema = closedEnumSchema;
|
|
13535
13540
|
var eventsAggregateParamsSchema = import_v4.z.object({
|
|
13536
13541
|
customerId: import_v4.z.string(),
|
|
13542
|
+
entityId: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
13537
13543
|
featureId: import_v4.z.union([import_v4.z.string(), import_v4.z.array(import_v4.z.string())]),
|
|
13538
13544
|
groupBy: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
13539
13545
|
range: import_v4.z.union([rangeSchema, import_v4.z.undefined()]).optional(),
|
|
@@ -13895,6 +13901,7 @@ var eventsListParamsSchema = import_v45.z.object({
|
|
|
13895
13901
|
offset: import_v45.z.union([import_v45.z.number(), import_v45.z.undefined()]).optional(),
|
|
13896
13902
|
limit: import_v45.z.union([import_v45.z.number(), import_v45.z.undefined()]).optional(),
|
|
13897
13903
|
customerId: import_v45.z.union([import_v45.z.string(), import_v45.z.undefined()]).optional(),
|
|
13904
|
+
entityId: import_v45.z.union([import_v45.z.string(), import_v45.z.undefined()]).optional(),
|
|
13898
13905
|
featureId: import_v45.z.union([import_v45.z.string(), import_v45.z.array(import_v45.z.string()), import_v45.z.undefined()]).optional(),
|
|
13899
13906
|
customRange: import_v45.z.union([listEventsCustomRangeSchema, import_v45.z.undefined()]).optional()
|
|
13900
13907
|
});
|
|
@@ -13926,6 +13933,7 @@ var eventsListParamsOutboundSchema = import_v45.z.object({
|
|
|
13926
13933
|
offset: import_v45.z.number(),
|
|
13927
13934
|
limit: import_v45.z.number(),
|
|
13928
13935
|
customer_id: import_v45.z.union([import_v45.z.string(), import_v45.z.undefined()]).optional(),
|
|
13936
|
+
entity_id: import_v45.z.union([import_v45.z.string(), import_v45.z.undefined()]).optional(),
|
|
13929
13937
|
feature_id: import_v45.z.union([import_v45.z.string(), import_v45.z.array(import_v45.z.string()), import_v45.z.undefined()]).optional(),
|
|
13930
13938
|
custom_range: import_v45.z.union([listEventsCustomRangeOutboundSchema, import_v45.z.undefined()]).optional()
|
|
13931
13939
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-QAAJTBH3.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-2QTM4IWE.mjs";
|
|
7
|
+
import "../chunk-TJ47V7LD.mjs";
|
|
8
|
+
import "../chunk-XXJ2D6ME.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-MI27VHE4.mjs";
|
|
15
15
|
import "../chunk-OTXV5FY7.mjs";
|
|
16
|
-
import "../chunk-VZIMT7AO.mjs";
|
|
17
16
|
import "../chunk-Z6QP3YEA.mjs";
|
|
17
|
+
import "../chunk-VZIMT7AO.mjs";
|
|
18
18
|
import "../chunk-N7NFYY54.mjs";
|
|
19
19
|
export {
|
|
20
20
|
autumnHandler
|
|
@@ -79,10 +79,10 @@ function serverURLFromOptions(options) {
|
|
|
79
79
|
}
|
|
80
80
|
var SDK_METADATA = {
|
|
81
81
|
language: "typescript",
|
|
82
|
-
openapiDocVersion: "2.
|
|
82
|
+
openapiDocVersion: "2.2.0",
|
|
83
83
|
sdkVersion: "0.10.17",
|
|
84
84
|
genVersion: "2.824.1",
|
|
85
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.824.1 2.
|
|
85
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.824.1 2.2.0 @useautumn/sdk"
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
// ../sdk/src/lib/http.ts
|
|
@@ -851,7 +851,7 @@ function dlv(obj, key, def, p, undef) {
|
|
|
851
851
|
// ../sdk/src/lib/env.ts
|
|
852
852
|
var envSchema = z5.object({
|
|
853
853
|
AUTUMN_SECRET_KEY: z5.optional(z5.string()),
|
|
854
|
-
AUTUMN_X_API_VERSION: z5._default(z5.string(), "2.
|
|
854
|
+
AUTUMN_X_API_VERSION: z5._default(z5.string(), "2.2.0"),
|
|
855
855
|
AUTUMN_DEBUG: z5.optional(z5.coerce.boolean())
|
|
856
856
|
});
|
|
857
857
|
function isDeno() {
|
|
@@ -1325,6 +1325,7 @@ var AggregateEventsCustomRange$outboundSchema = z8.object({
|
|
|
1325
1325
|
var EventsAggregateParams$outboundSchema = z8.pipe(
|
|
1326
1326
|
z8.object({
|
|
1327
1327
|
customerId: z8.string(),
|
|
1328
|
+
entityId: z8.optional(z8.string()),
|
|
1328
1329
|
featureId: smartUnion([z8.string(), z8.array(z8.string())]),
|
|
1329
1330
|
groupBy: z8.optional(z8.string()),
|
|
1330
1331
|
range: z8.optional(Range$outboundSchema),
|
|
@@ -1336,6 +1337,7 @@ var EventsAggregateParams$outboundSchema = z8.pipe(
|
|
|
1336
1337
|
z8.transform((v) => {
|
|
1337
1338
|
return remap(v, {
|
|
1338
1339
|
customerId: "customer_id",
|
|
1340
|
+
entityId: "entity_id",
|
|
1339
1341
|
featureId: "feature_id",
|
|
1340
1342
|
groupBy: "group_by",
|
|
1341
1343
|
binSize: "bin_size",
|
|
@@ -5228,12 +5230,14 @@ var EventsListParams$outboundSchema = z33.pipe(
|
|
|
5228
5230
|
offset: z33._default(z33.int(), 0),
|
|
5229
5231
|
limit: z33._default(z33.int(), 100),
|
|
5230
5232
|
customerId: z33.optional(z33.string()),
|
|
5233
|
+
entityId: z33.optional(z33.string()),
|
|
5231
5234
|
featureId: z33.optional(smartUnion([z33.string(), z33.array(z33.string())])),
|
|
5232
5235
|
customRange: z33.optional(z33.lazy(() => ListEventsCustomRange$outboundSchema))
|
|
5233
5236
|
}),
|
|
5234
5237
|
z33.transform((v) => {
|
|
5235
5238
|
return remap(v, {
|
|
5236
5239
|
customerId: "customer_id",
|
|
5240
|
+
entityId: "entity_id",
|
|
5237
5241
|
featureId: "feature_id",
|
|
5238
5242
|
customRange: "custom_range"
|
|
5239
5243
|
});
|
|
@@ -13526,6 +13530,7 @@ var aggregateEventsCustomRangeOutboundSchema = import_v4.z.object({
|
|
|
13526
13530
|
});
|
|
13527
13531
|
var eventsAggregateParamsOutboundSchema = import_v4.z.object({
|
|
13528
13532
|
customer_id: import_v4.z.string(),
|
|
13533
|
+
entity_id: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
13529
13534
|
feature_id: import_v4.z.union([import_v4.z.string(), import_v4.z.array(import_v4.z.string())]),
|
|
13530
13535
|
group_by: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
13531
13536
|
range: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
@@ -13537,6 +13542,7 @@ var rangeSchema = closedEnumSchema;
|
|
|
13537
13542
|
var binSizeSchema = closedEnumSchema;
|
|
13538
13543
|
var eventsAggregateParamsSchema = import_v4.z.object({
|
|
13539
13544
|
customerId: import_v4.z.string(),
|
|
13545
|
+
entityId: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
13540
13546
|
featureId: import_v4.z.union([import_v4.z.string(), import_v4.z.array(import_v4.z.string())]),
|
|
13541
13547
|
groupBy: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
13542
13548
|
range: import_v4.z.union([rangeSchema, import_v4.z.undefined()]).optional(),
|
|
@@ -13898,6 +13904,7 @@ var eventsListParamsSchema = import_v45.z.object({
|
|
|
13898
13904
|
offset: import_v45.z.union([import_v45.z.number(), import_v45.z.undefined()]).optional(),
|
|
13899
13905
|
limit: import_v45.z.union([import_v45.z.number(), import_v45.z.undefined()]).optional(),
|
|
13900
13906
|
customerId: import_v45.z.union([import_v45.z.string(), import_v45.z.undefined()]).optional(),
|
|
13907
|
+
entityId: import_v45.z.union([import_v45.z.string(), import_v45.z.undefined()]).optional(),
|
|
13901
13908
|
featureId: import_v45.z.union([import_v45.z.string(), import_v45.z.array(import_v45.z.string()), import_v45.z.undefined()]).optional(),
|
|
13902
13909
|
customRange: import_v45.z.union([listEventsCustomRangeSchema, import_v45.z.undefined()]).optional()
|
|
13903
13910
|
});
|
|
@@ -13929,6 +13936,7 @@ var eventsListParamsOutboundSchema = import_v45.z.object({
|
|
|
13929
13936
|
offset: import_v45.z.number(),
|
|
13930
13937
|
limit: import_v45.z.number(),
|
|
13931
13938
|
customer_id: import_v45.z.union([import_v45.z.string(), import_v45.z.undefined()]).optional(),
|
|
13939
|
+
entity_id: import_v45.z.union([import_v45.z.string(), import_v45.z.undefined()]).optional(),
|
|
13932
13940
|
feature_id: import_v45.z.union([import_v45.z.string(), import_v45.z.array(import_v45.z.string()), import_v45.z.undefined()]).optional(),
|
|
13933
13941
|
custom_range: import_v45.z.union([listEventsCustomRangeOutboundSchema, import_v45.z.undefined()]).optional()
|
|
13934
13942
|
});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-RNRG2UAR.mjs";
|
|
4
4
|
import {
|
|
5
5
|
autumnHandler as autumnHandler2
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-QAAJTBH3.mjs";
|
|
7
7
|
import {
|
|
8
8
|
autumnHandler as autumnHandler3
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-WT7PTLSY.mjs";
|
|
10
10
|
import {
|
|
11
11
|
autumnHandler as autumnHandler4
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-TPHQZPR6.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-2QTM4IWE.mjs";
|
|
16
|
+
import "../chunk-TJ47V7LD.mjs";
|
|
17
|
+
import "../chunk-XXJ2D6ME.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-MI27VHE4.mjs";
|
|
24
24
|
import "../chunk-OTXV5FY7.mjs";
|
|
25
|
-
import "../chunk-VZIMT7AO.mjs";
|
|
26
25
|
import "../chunk-Z6QP3YEA.mjs";
|
|
26
|
+
import "../chunk-VZIMT7AO.mjs";
|
|
27
27
|
import "../chunk-N7NFYY54.mjs";
|
|
28
28
|
export {
|
|
29
29
|
autumnHandler as expressAutumnHandler,
|
|
@@ -77,10 +77,10 @@ function serverURLFromOptions(options) {
|
|
|
77
77
|
}
|
|
78
78
|
var SDK_METADATA = {
|
|
79
79
|
language: "typescript",
|
|
80
|
-
openapiDocVersion: "2.
|
|
80
|
+
openapiDocVersion: "2.2.0",
|
|
81
81
|
sdkVersion: "0.10.17",
|
|
82
82
|
genVersion: "2.824.1",
|
|
83
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.824.1 2.
|
|
83
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.824.1 2.2.0 @useautumn/sdk"
|
|
84
84
|
};
|
|
85
85
|
|
|
86
86
|
// ../sdk/src/lib/http.ts
|
|
@@ -849,7 +849,7 @@ function dlv(obj, key, def, p, undef) {
|
|
|
849
849
|
// ../sdk/src/lib/env.ts
|
|
850
850
|
var envSchema = z5.object({
|
|
851
851
|
AUTUMN_SECRET_KEY: z5.optional(z5.string()),
|
|
852
|
-
AUTUMN_X_API_VERSION: z5._default(z5.string(), "2.
|
|
852
|
+
AUTUMN_X_API_VERSION: z5._default(z5.string(), "2.2.0"),
|
|
853
853
|
AUTUMN_DEBUG: z5.optional(z5.coerce.boolean())
|
|
854
854
|
});
|
|
855
855
|
function isDeno() {
|
|
@@ -1323,6 +1323,7 @@ var AggregateEventsCustomRange$outboundSchema = z8.object({
|
|
|
1323
1323
|
var EventsAggregateParams$outboundSchema = z8.pipe(
|
|
1324
1324
|
z8.object({
|
|
1325
1325
|
customerId: z8.string(),
|
|
1326
|
+
entityId: z8.optional(z8.string()),
|
|
1326
1327
|
featureId: smartUnion([z8.string(), z8.array(z8.string())]),
|
|
1327
1328
|
groupBy: z8.optional(z8.string()),
|
|
1328
1329
|
range: z8.optional(Range$outboundSchema),
|
|
@@ -1334,6 +1335,7 @@ var EventsAggregateParams$outboundSchema = z8.pipe(
|
|
|
1334
1335
|
z8.transform((v) => {
|
|
1335
1336
|
return remap(v, {
|
|
1336
1337
|
customerId: "customer_id",
|
|
1338
|
+
entityId: "entity_id",
|
|
1337
1339
|
featureId: "feature_id",
|
|
1338
1340
|
groupBy: "group_by",
|
|
1339
1341
|
binSize: "bin_size",
|
|
@@ -5226,12 +5228,14 @@ var EventsListParams$outboundSchema = z33.pipe(
|
|
|
5226
5228
|
offset: z33._default(z33.int(), 0),
|
|
5227
5229
|
limit: z33._default(z33.int(), 100),
|
|
5228
5230
|
customerId: z33.optional(z33.string()),
|
|
5231
|
+
entityId: z33.optional(z33.string()),
|
|
5229
5232
|
featureId: z33.optional(smartUnion([z33.string(), z33.array(z33.string())])),
|
|
5230
5233
|
customRange: z33.optional(z33.lazy(() => ListEventsCustomRange$outboundSchema))
|
|
5231
5234
|
}),
|
|
5232
5235
|
z33.transform((v) => {
|
|
5233
5236
|
return remap(v, {
|
|
5234
5237
|
customerId: "customer_id",
|
|
5238
|
+
entityId: "entity_id",
|
|
5235
5239
|
featureId: "feature_id",
|
|
5236
5240
|
customRange: "custom_range"
|
|
5237
5241
|
});
|
|
@@ -13524,6 +13528,7 @@ var aggregateEventsCustomRangeOutboundSchema = import_v4.z.object({
|
|
|
13524
13528
|
});
|
|
13525
13529
|
var eventsAggregateParamsOutboundSchema = import_v4.z.object({
|
|
13526
13530
|
customer_id: import_v4.z.string(),
|
|
13531
|
+
entity_id: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
13527
13532
|
feature_id: import_v4.z.union([import_v4.z.string(), import_v4.z.array(import_v4.z.string())]),
|
|
13528
13533
|
group_by: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
13529
13534
|
range: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
@@ -13535,6 +13540,7 @@ var rangeSchema = closedEnumSchema;
|
|
|
13535
13540
|
var binSizeSchema = closedEnumSchema;
|
|
13536
13541
|
var eventsAggregateParamsSchema = import_v4.z.object({
|
|
13537
13542
|
customerId: import_v4.z.string(),
|
|
13543
|
+
entityId: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
13538
13544
|
featureId: import_v4.z.union([import_v4.z.string(), import_v4.z.array(import_v4.z.string())]),
|
|
13539
13545
|
groupBy: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
13540
13546
|
range: import_v4.z.union([rangeSchema, import_v4.z.undefined()]).optional(),
|
|
@@ -13896,6 +13902,7 @@ var eventsListParamsSchema = import_v45.z.object({
|
|
|
13896
13902
|
offset: import_v45.z.union([import_v45.z.number(), import_v45.z.undefined()]).optional(),
|
|
13897
13903
|
limit: import_v45.z.union([import_v45.z.number(), import_v45.z.undefined()]).optional(),
|
|
13898
13904
|
customerId: import_v45.z.union([import_v45.z.string(), import_v45.z.undefined()]).optional(),
|
|
13905
|
+
entityId: import_v45.z.union([import_v45.z.string(), import_v45.z.undefined()]).optional(),
|
|
13899
13906
|
featureId: import_v45.z.union([import_v45.z.string(), import_v45.z.array(import_v45.z.string()), import_v45.z.undefined()]).optional(),
|
|
13900
13907
|
customRange: import_v45.z.union([listEventsCustomRangeSchema, import_v45.z.undefined()]).optional()
|
|
13901
13908
|
});
|
|
@@ -13927,6 +13934,7 @@ var eventsListParamsOutboundSchema = import_v45.z.object({
|
|
|
13927
13934
|
offset: import_v45.z.number(),
|
|
13928
13935
|
limit: import_v45.z.number(),
|
|
13929
13936
|
customer_id: import_v45.z.union([import_v45.z.string(), import_v45.z.undefined()]).optional(),
|
|
13937
|
+
entity_id: import_v45.z.union([import_v45.z.string(), import_v45.z.undefined()]).optional(),
|
|
13930
13938
|
feature_id: import_v45.z.union([import_v45.z.string(), import_v45.z.array(import_v45.z.string()), import_v45.z.undefined()]).optional(),
|
|
13931
13939
|
custom_range: import_v45.z.union([listEventsCustomRangeOutboundSchema, import_v45.z.undefined()]).optional()
|
|
13932
13940
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-WT7PTLSY.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-2QTM4IWE.mjs";
|
|
7
|
+
import "../chunk-TJ47V7LD.mjs";
|
|
8
|
+
import "../chunk-XXJ2D6ME.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-MI27VHE4.mjs";
|
|
15
15
|
import "../chunk-OTXV5FY7.mjs";
|
|
16
|
-
import "../chunk-VZIMT7AO.mjs";
|
|
17
16
|
import "../chunk-Z6QP3YEA.mjs";
|
|
17
|
+
import "../chunk-VZIMT7AO.mjs";
|
|
18
18
|
import "../chunk-N7NFYY54.mjs";
|
|
19
19
|
export {
|
|
20
20
|
autumnHandler
|
|
@@ -76,10 +76,10 @@ function serverURLFromOptions(options) {
|
|
|
76
76
|
}
|
|
77
77
|
var SDK_METADATA = {
|
|
78
78
|
language: "typescript",
|
|
79
|
-
openapiDocVersion: "2.
|
|
79
|
+
openapiDocVersion: "2.2.0",
|
|
80
80
|
sdkVersion: "0.10.17",
|
|
81
81
|
genVersion: "2.824.1",
|
|
82
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.824.1 2.
|
|
82
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.824.1 2.2.0 @useautumn/sdk"
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
// ../sdk/src/lib/http.ts
|
|
@@ -848,7 +848,7 @@ function dlv(obj, key, def, p, undef) {
|
|
|
848
848
|
// ../sdk/src/lib/env.ts
|
|
849
849
|
var envSchema = z5.object({
|
|
850
850
|
AUTUMN_SECRET_KEY: z5.optional(z5.string()),
|
|
851
|
-
AUTUMN_X_API_VERSION: z5._default(z5.string(), "2.
|
|
851
|
+
AUTUMN_X_API_VERSION: z5._default(z5.string(), "2.2.0"),
|
|
852
852
|
AUTUMN_DEBUG: z5.optional(z5.coerce.boolean())
|
|
853
853
|
});
|
|
854
854
|
function isDeno() {
|
|
@@ -1322,6 +1322,7 @@ var AggregateEventsCustomRange$outboundSchema = z8.object({
|
|
|
1322
1322
|
var EventsAggregateParams$outboundSchema = z8.pipe(
|
|
1323
1323
|
z8.object({
|
|
1324
1324
|
customerId: z8.string(),
|
|
1325
|
+
entityId: z8.optional(z8.string()),
|
|
1325
1326
|
featureId: smartUnion([z8.string(), z8.array(z8.string())]),
|
|
1326
1327
|
groupBy: z8.optional(z8.string()),
|
|
1327
1328
|
range: z8.optional(Range$outboundSchema),
|
|
@@ -1333,6 +1334,7 @@ var EventsAggregateParams$outboundSchema = z8.pipe(
|
|
|
1333
1334
|
z8.transform((v) => {
|
|
1334
1335
|
return remap(v, {
|
|
1335
1336
|
customerId: "customer_id",
|
|
1337
|
+
entityId: "entity_id",
|
|
1336
1338
|
featureId: "feature_id",
|
|
1337
1339
|
groupBy: "group_by",
|
|
1338
1340
|
binSize: "bin_size",
|
|
@@ -5225,12 +5227,14 @@ var EventsListParams$outboundSchema = z33.pipe(
|
|
|
5225
5227
|
offset: z33._default(z33.int(), 0),
|
|
5226
5228
|
limit: z33._default(z33.int(), 100),
|
|
5227
5229
|
customerId: z33.optional(z33.string()),
|
|
5230
|
+
entityId: z33.optional(z33.string()),
|
|
5228
5231
|
featureId: z33.optional(smartUnion([z33.string(), z33.array(z33.string())])),
|
|
5229
5232
|
customRange: z33.optional(z33.lazy(() => ListEventsCustomRange$outboundSchema))
|
|
5230
5233
|
}),
|
|
5231
5234
|
z33.transform((v) => {
|
|
5232
5235
|
return remap(v, {
|
|
5233
5236
|
customerId: "customer_id",
|
|
5237
|
+
entityId: "entity_id",
|
|
5234
5238
|
featureId: "feature_id",
|
|
5235
5239
|
customRange: "custom_range"
|
|
5236
5240
|
});
|
|
@@ -13523,6 +13527,7 @@ var aggregateEventsCustomRangeOutboundSchema = import_v4.z.object({
|
|
|
13523
13527
|
});
|
|
13524
13528
|
var eventsAggregateParamsOutboundSchema = import_v4.z.object({
|
|
13525
13529
|
customer_id: import_v4.z.string(),
|
|
13530
|
+
entity_id: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
13526
13531
|
feature_id: import_v4.z.union([import_v4.z.string(), import_v4.z.array(import_v4.z.string())]),
|
|
13527
13532
|
group_by: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
13528
13533
|
range: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
@@ -13534,6 +13539,7 @@ var rangeSchema = closedEnumSchema;
|
|
|
13534
13539
|
var binSizeSchema = closedEnumSchema;
|
|
13535
13540
|
var eventsAggregateParamsSchema = import_v4.z.object({
|
|
13536
13541
|
customerId: import_v4.z.string(),
|
|
13542
|
+
entityId: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
13537
13543
|
featureId: import_v4.z.union([import_v4.z.string(), import_v4.z.array(import_v4.z.string())]),
|
|
13538
13544
|
groupBy: import_v4.z.union([import_v4.z.string(), import_v4.z.undefined()]).optional(),
|
|
13539
13545
|
range: import_v4.z.union([rangeSchema, import_v4.z.undefined()]).optional(),
|
|
@@ -13895,6 +13901,7 @@ var eventsListParamsSchema = import_v45.z.object({
|
|
|
13895
13901
|
offset: import_v45.z.union([import_v45.z.number(), import_v45.z.undefined()]).optional(),
|
|
13896
13902
|
limit: import_v45.z.union([import_v45.z.number(), import_v45.z.undefined()]).optional(),
|
|
13897
13903
|
customerId: import_v45.z.union([import_v45.z.string(), import_v45.z.undefined()]).optional(),
|
|
13904
|
+
entityId: import_v45.z.union([import_v45.z.string(), import_v45.z.undefined()]).optional(),
|
|
13898
13905
|
featureId: import_v45.z.union([import_v45.z.string(), import_v45.z.array(import_v45.z.string()), import_v45.z.undefined()]).optional(),
|
|
13899
13906
|
customRange: import_v45.z.union([listEventsCustomRangeSchema, import_v45.z.undefined()]).optional()
|
|
13900
13907
|
});
|
|
@@ -13926,6 +13933,7 @@ var eventsListParamsOutboundSchema = import_v45.z.object({
|
|
|
13926
13933
|
offset: import_v45.z.number(),
|
|
13927
13934
|
limit: import_v45.z.number(),
|
|
13928
13935
|
customer_id: import_v45.z.union([import_v45.z.string(), import_v45.z.undefined()]).optional(),
|
|
13936
|
+
entity_id: import_v45.z.union([import_v45.z.string(), import_v45.z.undefined()]).optional(),
|
|
13929
13937
|
feature_id: import_v45.z.union([import_v45.z.string(), import_v45.z.array(import_v45.z.string()), import_v45.z.undefined()]).optional(),
|
|
13930
13938
|
custom_range: import_v45.z.union([listEventsCustomRangeOutboundSchema, import_v45.z.undefined()]).optional()
|
|
13931
13939
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-TPHQZPR6.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-2QTM4IWE.mjs";
|
|
7
|
+
import "../chunk-TJ47V7LD.mjs";
|
|
8
|
+
import "../chunk-XXJ2D6ME.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-MI27VHE4.mjs";
|
|
15
15
|
import "../chunk-OTXV5FY7.mjs";
|
|
16
|
-
import "../chunk-VZIMT7AO.mjs";
|
|
17
16
|
import "../chunk-Z6QP3YEA.mjs";
|
|
17
|
+
import "../chunk-VZIMT7AO.mjs";
|
|
18
18
|
import "../chunk-N7NFYY54.mjs";
|
|
19
19
|
export {
|
|
20
20
|
autumnHandler
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Autumn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XXJ2D6ME.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-MI27VHE4.mjs";
|
|
10
10
|
import {
|
|
11
11
|
secretKeyCheck
|
|
12
12
|
} from "./chunk-VZIMT7AO.mjs";
|
|
@@ -48,6 +48,7 @@ var aggregateEventsCustomRangeOutboundSchema = z.object({
|
|
|
48
48
|
});
|
|
49
49
|
var eventsAggregateParamsOutboundSchema = z.object({
|
|
50
50
|
customer_id: z.string(),
|
|
51
|
+
entity_id: z.union([z.string(), z.undefined()]).optional(),
|
|
51
52
|
feature_id: z.union([z.string(), z.array(z.string())]),
|
|
52
53
|
group_by: z.union([z.string(), z.undefined()]).optional(),
|
|
53
54
|
range: z.union([z.string(), z.undefined()]).optional(),
|
|
@@ -59,6 +60,7 @@ var rangeSchema = closedEnumSchema;
|
|
|
59
60
|
var binSizeSchema = closedEnumSchema;
|
|
60
61
|
var eventsAggregateParamsSchema = z.object({
|
|
61
62
|
customerId: z.string(),
|
|
63
|
+
entityId: z.union([z.string(), z.undefined()]).optional(),
|
|
62
64
|
featureId: z.union([z.string(), z.array(z.string())]),
|
|
63
65
|
groupBy: z.union([z.string(), z.undefined()]).optional(),
|
|
64
66
|
range: z.union([rangeSchema, z.undefined()]).optional(),
|
|
@@ -420,6 +422,7 @@ var eventsListParamsSchema = z5.object({
|
|
|
420
422
|
offset: z5.union([z5.number(), z5.undefined()]).optional(),
|
|
421
423
|
limit: z5.union([z5.number(), z5.undefined()]).optional(),
|
|
422
424
|
customerId: z5.union([z5.string(), z5.undefined()]).optional(),
|
|
425
|
+
entityId: z5.union([z5.string(), z5.undefined()]).optional(),
|
|
423
426
|
featureId: z5.union([z5.string(), z5.array(z5.string()), z5.undefined()]).optional(),
|
|
424
427
|
customRange: z5.union([listEventsCustomRangeSchema, z5.undefined()]).optional()
|
|
425
428
|
});
|
|
@@ -451,6 +454,7 @@ var eventsListParamsOutboundSchema = z5.object({
|
|
|
451
454
|
offset: z5.number(),
|
|
452
455
|
limit: z5.number(),
|
|
453
456
|
customer_id: z5.union([z5.string(), z5.undefined()]).optional(),
|
|
457
|
+
entity_id: z5.union([z5.string(), z5.undefined()]).optional(),
|
|
454
458
|
feature_id: z5.union([z5.string(), z5.array(z5.string()), z5.undefined()]).optional(),
|
|
455
459
|
custom_range: z5.union([listEventsCustomRangeOutboundSchema, z5.undefined()]).optional()
|
|
456
460
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Autumn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XXJ2D6ME.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-MI27VHE4.mjs";
|
|
13
13
|
import {
|
|
14
14
|
secretKeyCheck
|
|
15
15
|
} from "./chunk-VZIMT7AO.mjs";
|