asfur 1.0.102 → 1.0.103

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/types.d.ts CHANGED
@@ -66,7 +66,7 @@ export declare const zodQuerySchema: z.ZodObject<{
66
66
  user_time_zone: z.ZodOptional<z.ZodString>;
67
67
  timestamp: z.ZodOptional<z.ZodNumber>;
68
68
  job_id: z.ZodOptional<z.ZodString>;
69
- requested_content: z.ZodOptional<z.ZodArray<z.ZodEnum<["text", "table", "heatmap"]>, "many">>;
69
+ requested_content: z.ZodOptional<z.ZodEnum<["text", "table", "heatmap"]>>;
70
70
  }, "strip", z.ZodTypeAny, {
71
71
  time_range: {
72
72
  type: "relative";
@@ -88,7 +88,7 @@ export declare const zodQuerySchema: z.ZodObject<{
88
88
  user_time_zone?: string | undefined;
89
89
  timestamp?: number | undefined;
90
90
  job_id?: string | undefined;
91
- requested_content?: ("text" | "table" | "heatmap")[] | undefined;
91
+ requested_content?: "text" | "table" | "heatmap" | undefined;
92
92
  }, {
93
93
  time_range: {
94
94
  type: "relative";
@@ -110,7 +110,7 @@ export declare const zodQuerySchema: z.ZodObject<{
110
110
  user_time_zone?: string | undefined;
111
111
  timestamp?: number | undefined;
112
112
  job_id?: string | undefined;
113
- requested_content?: ("text" | "table" | "heatmap")[] | undefined;
113
+ requested_content?: "text" | "table" | "heatmap" | undefined;
114
114
  }>;
115
115
  export declare const zodInstructionsSchema: z.ZodObject<{
116
116
  _id: z.ZodOptional<z.ZodString>;
@@ -291,7 +291,7 @@ export declare const zodJobSchema: z.ZodObject<{
291
291
  user_time_zone: z.ZodOptional<z.ZodString>;
292
292
  timestamp: z.ZodOptional<z.ZodNumber>;
293
293
  job_id: z.ZodOptional<z.ZodString>;
294
- requested_content: z.ZodOptional<z.ZodArray<z.ZodEnum<["text", "table", "heatmap"]>, "many">>;
294
+ requested_content: z.ZodOptional<z.ZodEnum<["text", "table", "heatmap"]>>;
295
295
  }, "strip", z.ZodTypeAny, {
296
296
  time_range: {
297
297
  type: "relative";
@@ -313,7 +313,7 @@ export declare const zodJobSchema: z.ZodObject<{
313
313
  user_time_zone?: string | undefined;
314
314
  timestamp?: number | undefined;
315
315
  job_id?: string | undefined;
316
- requested_content?: ("text" | "table" | "heatmap")[] | undefined;
316
+ requested_content?: "text" | "table" | "heatmap" | undefined;
317
317
  }, {
318
318
  time_range: {
319
319
  type: "relative";
@@ -335,7 +335,7 @@ export declare const zodJobSchema: z.ZodObject<{
335
335
  user_time_zone?: string | undefined;
336
336
  timestamp?: number | undefined;
337
337
  job_id?: string | undefined;
338
- requested_content?: ("text" | "table" | "heatmap")[] | undefined;
338
+ requested_content?: "text" | "table" | "heatmap" | undefined;
339
339
  }>;
340
340
  active_until: z.ZodOptional<z.ZodNumber>;
341
341
  conversation_id: z.ZodOptional<z.ZodString>;
@@ -373,7 +373,7 @@ export declare const zodJobSchema: z.ZodObject<{
373
373
  user_time_zone?: string | undefined;
374
374
  timestamp?: number | undefined;
375
375
  job_id?: string | undefined;
376
- requested_content?: ("text" | "table" | "heatmap")[] | undefined;
376
+ requested_content?: "text" | "table" | "heatmap" | undefined;
377
377
  };
378
378
  user_id: string;
379
379
  job_name: string;
@@ -412,7 +412,7 @@ export declare const zodJobSchema: z.ZodObject<{
412
412
  user_time_zone?: string | undefined;
413
413
  timestamp?: number | undefined;
414
414
  job_id?: string | undefined;
415
- requested_content?: ("text" | "table" | "heatmap")[] | undefined;
415
+ requested_content?: "text" | "table" | "heatmap" | undefined;
416
416
  };
417
417
  user_id: string;
418
418
  job_name: string;
@@ -949,7 +949,7 @@ export declare const zodScenarioSchema: z.ZodObject<{
949
949
  user_time_zone: z.ZodOptional<z.ZodString>;
950
950
  timestamp: z.ZodOptional<z.ZodNumber>;
951
951
  job_id: z.ZodOptional<z.ZodString>;
952
- requested_content: z.ZodOptional<z.ZodArray<z.ZodEnum<["text", "table", "heatmap"]>, "many">>;
952
+ requested_content: z.ZodOptional<z.ZodEnum<["text", "table", "heatmap"]>>;
953
953
  }, "strip", z.ZodTypeAny, {
954
954
  time_range: {
955
955
  type: "relative";
@@ -971,7 +971,7 @@ export declare const zodScenarioSchema: z.ZodObject<{
971
971
  user_time_zone?: string | undefined;
972
972
  timestamp?: number | undefined;
973
973
  job_id?: string | undefined;
974
- requested_content?: ("text" | "table" | "heatmap")[] | undefined;
974
+ requested_content?: "text" | "table" | "heatmap" | undefined;
975
975
  }, {
976
976
  time_range: {
977
977
  type: "relative";
@@ -993,7 +993,7 @@ export declare const zodScenarioSchema: z.ZodObject<{
993
993
  user_time_zone?: string | undefined;
994
994
  timestamp?: number | undefined;
995
995
  job_id?: string | undefined;
996
- requested_content?: ("text" | "table" | "heatmap")[] | undefined;
996
+ requested_content?: "text" | "table" | "heatmap" | undefined;
997
997
  }>;
998
998
  conversation_id: z.ZodOptional<z.ZodString>;
999
999
  created_at: z.ZodOptional<z.ZodNumber>;
@@ -1022,7 +1022,7 @@ export declare const zodScenarioSchema: z.ZodObject<{
1022
1022
  user_time_zone?: string | undefined;
1023
1023
  timestamp?: number | undefined;
1024
1024
  job_id?: string | undefined;
1025
- requested_content?: ("text" | "table" | "heatmap")[] | undefined;
1025
+ requested_content?: "text" | "table" | "heatmap" | undefined;
1026
1026
  };
1027
1027
  user_id: string;
1028
1028
  scenario: string;
@@ -1057,7 +1057,7 @@ export declare const zodScenarioSchema: z.ZodObject<{
1057
1057
  user_time_zone?: string | undefined;
1058
1058
  timestamp?: number | undefined;
1059
1059
  job_id?: string | undefined;
1060
- requested_content?: ("text" | "table" | "heatmap")[] | undefined;
1060
+ requested_content?: "text" | "table" | "heatmap" | undefined;
1061
1061
  };
1062
1062
  user_id: string;
1063
1063
  scenario: string;
package/dist/types.js CHANGED
@@ -39,7 +39,7 @@ exports.zodQuerySchema = zod_1.z.object({
39
39
  user_time_zone: zod_1.z.string().optional(),
40
40
  timestamp: zod_1.z.number().optional(),
41
41
  job_id: zod_1.z.string().optional(),
42
- requested_content: zod_1.z.array(zod_1.z.enum(exports.requestedContentList)).optional(), // array of requested content types
42
+ requested_content: zod_1.z.enum(exports.requestedContentList).optional(), // array of requested content types
43
43
  });
44
44
  exports.zodInstructionsSchema = zod_1.z.object({
45
45
  _id: zod_1.z.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asfur",
3
- "version": "1.0.102",
3
+ "version": "1.0.103",
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
@@ -65,7 +65,7 @@ export const zodQuerySchema = z.object({
65
65
  user_time_zone: z.string().optional(), // user's timezone
66
66
  timestamp: z.number().optional(), // creation date
67
67
  job_id: z.string().optional(), // optional job ID associated with the query
68
- requested_content: z.array(z.enum(requestedContentList)).optional(), // array of requested content types
68
+ requested_content: z.enum(requestedContentList).optional(), // array of requested content types
69
69
  });
70
70
 
71
71
  export const zodInstructionsSchema = z.object({