asfur 1.0.113 → 1.0.114
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/index.d.ts +3 -0
- package/dist/index.js +1 -0
- package/dist/types.d.ts +3 -0
- package/dist/types.js +1 -0
- package/index.ts +1 -0
- package/package.json +1 -1
- package/types.ts +1 -0
package/dist/index.d.ts
CHANGED
|
@@ -424,6 +424,7 @@ export declare const MongoScenarioSchema: Schema<any, import("mongoose").Model<a
|
|
|
424
424
|
status: "active" | "inactive";
|
|
425
425
|
title: string;
|
|
426
426
|
geos: string[];
|
|
427
|
+
geos_ids: string[];
|
|
427
428
|
user_id: string;
|
|
428
429
|
created_at: number;
|
|
429
430
|
updated_at: number;
|
|
@@ -440,6 +441,7 @@ export declare const MongoScenarioSchema: Schema<any, import("mongoose").Model<a
|
|
|
440
441
|
status: "active" | "inactive";
|
|
441
442
|
title: string;
|
|
442
443
|
geos: string[];
|
|
444
|
+
geos_ids: string[];
|
|
443
445
|
user_id: string;
|
|
444
446
|
created_at: number;
|
|
445
447
|
updated_at: number;
|
|
@@ -456,6 +458,7 @@ export declare const MongoScenarioSchema: Schema<any, import("mongoose").Model<a
|
|
|
456
458
|
status: "active" | "inactive";
|
|
457
459
|
title: string;
|
|
458
460
|
geos: string[];
|
|
461
|
+
geos_ids: string[];
|
|
459
462
|
user_id: string;
|
|
460
463
|
created_at: number;
|
|
461
464
|
updated_at: number;
|
package/dist/index.js
CHANGED
|
@@ -177,6 +177,7 @@ exports.MongoScenarioSchema = new mongoose_1.Schema({
|
|
|
177
177
|
title: { type: String, required: true },
|
|
178
178
|
scenario: { type: String, required: true },
|
|
179
179
|
geos: { type: [String] },
|
|
180
|
+
geos_ids: { type: [String] },
|
|
180
181
|
time_range: { type: mongoose_1.Schema.Types.Mixed },
|
|
181
182
|
user_id: { type: String, required: true },
|
|
182
183
|
additional_instructions: { type: String },
|
package/dist/types.d.ts
CHANGED
|
@@ -1225,6 +1225,7 @@ export declare const zodScenarioSchema: z.ZodObject<{
|
|
|
1225
1225
|
title: z.ZodString;
|
|
1226
1226
|
scenario: z.ZodString;
|
|
1227
1227
|
geos: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1228
|
+
geos_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1228
1229
|
time_range: z.ZodUnion<[z.ZodObject<{
|
|
1229
1230
|
type: z.ZodLiteral<"relative">;
|
|
1230
1231
|
time: z.ZodEnum<["last_30_minutes", "last_1_hour", "last_2_hours", "last_6_hours", "last_12_hours", "last_24_hours", "last_48_hours", "last_72_hours", "last_week"]>;
|
|
@@ -1583,6 +1584,7 @@ export declare const zodScenarioSchema: z.ZodObject<{
|
|
|
1583
1584
|
scenario: string;
|
|
1584
1585
|
_id?: string | undefined;
|
|
1585
1586
|
geos?: string[] | undefined;
|
|
1587
|
+
geos_ids?: string[] | undefined;
|
|
1586
1588
|
created_at?: number | undefined;
|
|
1587
1589
|
updated_at?: number | undefined;
|
|
1588
1590
|
schedule?: string | undefined;
|
|
@@ -1676,6 +1678,7 @@ export declare const zodScenarioSchema: z.ZodObject<{
|
|
|
1676
1678
|
status?: "active" | "inactive" | undefined;
|
|
1677
1679
|
_id?: string | undefined;
|
|
1678
1680
|
geos?: string[] | undefined;
|
|
1681
|
+
geos_ids?: string[] | undefined;
|
|
1679
1682
|
created_at?: number | undefined;
|
|
1680
1683
|
updated_at?: number | undefined;
|
|
1681
1684
|
schedule?: string | undefined;
|
package/dist/types.js
CHANGED
|
@@ -255,6 +255,7 @@ exports.zodScenarioSchema = zod_1.z.object({
|
|
|
255
255
|
title: zod_1.z.string().nonempty('Scenario title must be provided'),
|
|
256
256
|
scenario: zod_1.z.string().nonempty('Scenario must be provided'),
|
|
257
257
|
geos: zod_1.z.array(zod_1.z.string()).optional(),
|
|
258
|
+
geos_ids: zod_1.z.array(zod_1.z.string()).optional(),
|
|
258
259
|
time_range: exports.zodRelativeTimeRangeSchema.or(exports.zodAbsoluteTimeRangeSchema),
|
|
259
260
|
user_id: zod_1.z.string().nonempty('User ID must be provided'),
|
|
260
261
|
additional_instructions: zod_1.z.string().optional(),
|
package/index.ts
CHANGED
|
@@ -200,6 +200,7 @@ export const MongoScenarioSchema = new Schema(
|
|
|
200
200
|
title: { type: String, required: true }, // scenario title
|
|
201
201
|
scenario: { type: String, required: true }, // the actual scenario
|
|
202
202
|
geos: { type: [String] }, // array of geo strings
|
|
203
|
+
geos_ids: { type: [String] }, // array of geo _id strings
|
|
203
204
|
time_range: { type: Schema.Types.Mixed }, // optional time range for the query
|
|
204
205
|
user_id: { type: String, required: true }, // user identifier
|
|
205
206
|
additional_instructions: { type: String }, // additional instructions for the scenario
|
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -304,6 +304,7 @@ export const zodScenarioSchema = z.object({
|
|
|
304
304
|
title: z.string().nonempty('Scenario title must be provided'), // title of the scenario
|
|
305
305
|
scenario: z.string().nonempty('Scenario must be provided'), // the actual scenario
|
|
306
306
|
geos: z.array(z.string()).optional(), // array of geo strings
|
|
307
|
+
geos_ids: z.array(z.string()).optional(), // array of geo _id strings
|
|
307
308
|
time_range: zodRelativeTimeRangeSchema.or(zodAbsoluteTimeRangeSchema), // optional time range for the query
|
|
308
309
|
user_id: z.string().nonempty('User ID must be provided'), // user identifier
|
|
309
310
|
additional_instructions: z.string().optional(), // optional additional instructions for the scenario
|