asfur 1.0.142 → 1.0.143

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 CHANGED
@@ -834,9 +834,9 @@ export declare const MongoGeoSelectionGroupSchema: Schema<any, import("mongoose"
834
834
  };
835
835
  }, {
836
836
  title: string;
837
+ region_id: string;
837
838
  created_at: number;
838
839
  updated_at: number;
839
- region_id: string;
840
840
  geo_selections_ids: string[];
841
841
  geo_selections: any[];
842
842
  user_id?: string | null | undefined;
@@ -844,9 +844,9 @@ export declare const MongoGeoSelectionGroupSchema: Schema<any, import("mongoose"
844
844
  notes?: string | null | undefined;
845
845
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
846
846
  title: string;
847
+ region_id: string;
847
848
  created_at: number;
848
849
  updated_at: number;
849
- region_id: string;
850
850
  geo_selections_ids: string[];
851
851
  geo_selections: any[];
852
852
  user_id?: string | null | undefined;
@@ -854,9 +854,9 @@ export declare const MongoGeoSelectionGroupSchema: Schema<any, import("mongoose"
854
854
  notes?: string | null | undefined;
855
855
  }>, {}> & import("mongoose").FlatRecord<{
856
856
  title: string;
857
+ region_id: string;
857
858
  created_at: number;
858
859
  updated_at: number;
859
- region_id: string;
860
860
  geo_selections_ids: string[];
861
861
  geo_selections: any[];
862
862
  user_id?: string | null | undefined;
@@ -906,9 +906,9 @@ export declare const MongoPolygonSchema: Schema<any, import("mongoose").Model<an
906
906
  }, {
907
907
  title: string;
908
908
  user_id: string;
909
+ region_id: string;
909
910
  created_at: number;
910
911
  updated_at: number;
911
- region_id: string;
912
912
  coordinates: import("mongoose").Types.DocumentArray<{
913
913
  [x: number]: number[];
914
914
  }, import("mongoose").Types.Subdocument<unknown, any, {
@@ -921,9 +921,9 @@ export declare const MongoPolygonSchema: Schema<any, import("mongoose").Model<an
921
921
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
922
922
  title: string;
923
923
  user_id: string;
924
+ region_id: string;
924
925
  created_at: number;
925
926
  updated_at: number;
926
- region_id: string;
927
927
  coordinates: import("mongoose").Types.DocumentArray<{
928
928
  [x: number]: number[];
929
929
  }, import("mongoose").Types.Subdocument<unknown, any, {
@@ -936,9 +936,9 @@ export declare const MongoPolygonSchema: Schema<any, import("mongoose").Model<an
936
936
  }>, {}> & import("mongoose").FlatRecord<{
937
937
  title: string;
938
938
  user_id: string;
939
+ region_id: string;
939
940
  created_at: number;
940
941
  updated_at: number;
941
- region_id: string;
942
942
  coordinates: import("mongoose").Types.DocumentArray<{
943
943
  [x: number]: number[];
944
944
  }, import("mongoose").Types.Subdocument<unknown, any, {
package/dist/types.d.ts CHANGED
@@ -119,6 +119,7 @@ export declare const zodQuerySchema: z.ZodObject<{
119
119
  timestamp: z.ZodOptional<z.ZodNumber>;
120
120
  job_id: z.ZodOptional<z.ZodString>;
121
121
  requested_content: z.ZodOptional<z.ZodArray<z.ZodEnum<["text", "table", "heatmap"]>, "many">>;
122
+ region_id: z.ZodOptional<z.ZodString>;
122
123
  }, "strip", z.ZodTypeAny, {
123
124
  time_range: {
124
125
  type: "relative";
@@ -141,6 +142,7 @@ export declare const zodQuerySchema: z.ZodObject<{
141
142
  timestamp?: number | undefined;
142
143
  job_id?: string | undefined;
143
144
  requested_content?: ("text" | "table" | "heatmap")[] | undefined;
145
+ region_id?: string | undefined;
144
146
  }, {
145
147
  time_range: {
146
148
  type: "relative";
@@ -163,6 +165,7 @@ export declare const zodQuerySchema: z.ZodObject<{
163
165
  timestamp?: number | undefined;
164
166
  job_id?: string | undefined;
165
167
  requested_content?: ("text" | "table" | "heatmap")[] | undefined;
168
+ region_id?: string | undefined;
166
169
  }>;
167
170
  export declare const zodInstructionsSchema: z.ZodObject<{
168
171
  _id: z.ZodOptional<z.ZodString>;
@@ -344,6 +347,7 @@ export declare const zodJobSchema: z.ZodObject<{
344
347
  timestamp: z.ZodOptional<z.ZodNumber>;
345
348
  job_id: z.ZodOptional<z.ZodString>;
346
349
  requested_content: z.ZodOptional<z.ZodArray<z.ZodEnum<["text", "table", "heatmap"]>, "many">>;
350
+ region_id: z.ZodOptional<z.ZodString>;
347
351
  }, "strip", z.ZodTypeAny, {
348
352
  time_range: {
349
353
  type: "relative";
@@ -366,6 +370,7 @@ export declare const zodJobSchema: z.ZodObject<{
366
370
  timestamp?: number | undefined;
367
371
  job_id?: string | undefined;
368
372
  requested_content?: ("text" | "table" | "heatmap")[] | undefined;
373
+ region_id?: string | undefined;
369
374
  }, {
370
375
  time_range: {
371
376
  type: "relative";
@@ -388,6 +393,7 @@ export declare const zodJobSchema: z.ZodObject<{
388
393
  timestamp?: number | undefined;
389
394
  job_id?: string | undefined;
390
395
  requested_content?: ("text" | "table" | "heatmap")[] | undefined;
396
+ region_id?: string | undefined;
391
397
  }>;
392
398
  active_until: z.ZodOptional<z.ZodNumber>;
393
399
  conversation_id: z.ZodOptional<z.ZodString>;
@@ -478,6 +484,7 @@ export declare const zodJobSchema: z.ZodObject<{
478
484
  timestamp?: number | undefined;
479
485
  job_id?: string | undefined;
480
486
  requested_content?: ("text" | "table" | "heatmap")[] | undefined;
487
+ region_id?: string | undefined;
481
488
  };
482
489
  user_id: string;
483
490
  job_name: string;
@@ -535,6 +542,7 @@ export declare const zodJobSchema: z.ZodObject<{
535
542
  timestamp?: number | undefined;
536
543
  job_id?: string | undefined;
537
544
  requested_content?: ("text" | "table" | "heatmap")[] | undefined;
545
+ region_id?: string | undefined;
538
546
  };
539
547
  user_id: string;
540
548
  job_name: string;
package/dist/types.js CHANGED
@@ -58,7 +58,8 @@ exports.zodQuerySchema = zod_1.z.object({
58
58
  user_time_zone: zod_1.z.string().optional(),
59
59
  timestamp: zod_1.z.number().optional(),
60
60
  job_id: zod_1.z.string().optional(),
61
- requested_content: zod_1.z.array(zod_1.z.enum(exports.requestedContentList)).optional(), // array of requested content types
61
+ requested_content: zod_1.z.array(zod_1.z.enum(exports.requestedContentList)).optional(),
62
+ region_id: zod_1.z.string().optional(), // optional region ID associated with the query
62
63
  });
63
64
  exports.zodInstructionsSchema = zod_1.z.object({
64
65
  _id: zod_1.z.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asfur",
3
- "version": "1.0.142",
3
+ "version": "1.0.143",
4
4
  "description": "SDK for interacting with the Asfur API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types.ts CHANGED
@@ -86,6 +86,7 @@ export const zodQuerySchema = z.object({
86
86
  timestamp: z.number().optional(), // creation date
87
87
  job_id: z.string().optional(), // optional job ID associated with the query
88
88
  requested_content: z.array(z.enum(requestedContentList)).optional(), // array of requested content types
89
+ region_id: z.string().optional(), // optional region ID associated with the query
89
90
  });
90
91
 
91
92
  export const zodInstructionsSchema = z.object({