chatifai 1.0.42 → 1.0.44

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
@@ -168,6 +168,7 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
168
168
  created_at?: number | null | undefined;
169
169
  updated_at?: number | null | undefined;
170
170
  organization_id?: string | null | undefined;
171
+ file_search_store_name?: string | null | undefined;
171
172
  description?: string | null | undefined;
172
173
  instructions?: string | null | undefined;
173
174
  temperature?: number | null | undefined;
@@ -187,6 +188,7 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
187
188
  created_at?: number | null | undefined;
188
189
  updated_at?: number | null | undefined;
189
190
  organization_id?: string | null | undefined;
191
+ file_search_store_name?: string | null | undefined;
190
192
  description?: string | null | undefined;
191
193
  instructions?: string | null | undefined;
192
194
  temperature?: number | null | undefined;
@@ -206,6 +208,7 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
206
208
  created_at?: number | null | undefined;
207
209
  updated_at?: number | null | undefined;
208
210
  organization_id?: string | null | undefined;
211
+ file_search_store_name?: string | null | undefined;
209
212
  description?: string | null | undefined;
210
213
  instructions?: string | null | undefined;
211
214
  temperature?: number | null | undefined;
@@ -253,6 +256,7 @@ export declare const ContextSchema: Schema<any, import("mongoose").Model<any, an
253
256
  } | null | undefined;
254
257
  bucket_name?: string | null | undefined;
255
258
  file_search_store_name?: string | null | undefined;
259
+ file_search_file_name?: string | null | undefined;
256
260
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
257
261
  createdAt: NativeDate;
258
262
  updatedAt: NativeDate;
@@ -279,6 +283,7 @@ export declare const ContextSchema: Schema<any, import("mongoose").Model<any, an
279
283
  } | null | undefined;
280
284
  bucket_name?: string | null | undefined;
281
285
  file_search_store_name?: string | null | undefined;
286
+ file_search_file_name?: string | null | undefined;
282
287
  }>, {}> & import("mongoose").FlatRecord<{
283
288
  createdAt: NativeDate;
284
289
  updatedAt: NativeDate;
@@ -305,6 +310,7 @@ export declare const ContextSchema: Schema<any, import("mongoose").Model<any, an
305
310
  } | null | undefined;
306
311
  bucket_name?: string | null | undefined;
307
312
  file_search_store_name?: string | null | undefined;
313
+ file_search_file_name?: string | null | undefined;
308
314
  }> & {
309
315
  _id: import("mongoose").Types.ObjectId;
310
316
  } & {
package/dist/index.js CHANGED
@@ -73,6 +73,7 @@ exports.AgentSchema = new mongoose_1.Schema({
73
73
  is_editable: { type: Boolean, default: false },
74
74
  is_hard_to_copy: { type: Boolean, default: false },
75
75
  has_resources: { type: Boolean, default: false },
76
+ file_search_store_name: { type: String },
76
77
  created_at: { type: Number },
77
78
  updated_at: { type: Number },
78
79
  }, {
@@ -108,6 +109,7 @@ exports.ContextSchema = new mongoose_1.Schema({
108
109
  default: 'pending',
109
110
  },
110
111
  file_search_store_name: { type: String },
112
+ file_search_file_name: { type: String },
111
113
  created_at: { type: Number },
112
114
  updated_at: { type: Number },
113
115
  }, {
package/dist/types.d.ts CHANGED
@@ -129,6 +129,7 @@ export declare const zodContextSchema: z.ZodObject<{
129
129
  bucket_name: z.ZodOptional<z.ZodString>;
130
130
  processing_status: z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "failed"]>>;
131
131
  file_search_store_name: z.ZodOptional<z.ZodString>;
132
+ file_search_file_name: z.ZodOptional<z.ZodString>;
132
133
  }, "strip", z.ZodTypeAny, {
133
134
  title: string;
134
135
  type?: string | undefined;
@@ -153,6 +154,7 @@ export declare const zodContextSchema: z.ZodObject<{
153
154
  bucket_name?: string | undefined;
154
155
  processing_status?: "pending" | "processing" | "completed" | "failed" | undefined;
155
156
  file_search_store_name?: string | undefined;
157
+ file_search_file_name?: string | undefined;
156
158
  }, {
157
159
  title: string;
158
160
  type?: string | undefined;
@@ -177,6 +179,7 @@ export declare const zodContextSchema: z.ZodObject<{
177
179
  bucket_name?: string | undefined;
178
180
  processing_status?: "pending" | "processing" | "completed" | "failed" | undefined;
179
181
  file_search_store_name?: string | undefined;
182
+ file_search_file_name?: string | undefined;
180
183
  }>;
181
184
  export declare const zodAgentSchema: z.ZodObject<{
182
185
  _id: z.ZodOptional<z.ZodString>;
@@ -193,6 +196,7 @@ export declare const zodAgentSchema: z.ZodObject<{
193
196
  is_editable: z.ZodOptional<z.ZodBoolean>;
194
197
  is_hard_to_copy: z.ZodOptional<z.ZodBoolean>;
195
198
  has_resources: z.ZodOptional<z.ZodBoolean>;
199
+ file_search_store_name: z.ZodOptional<z.ZodString>;
196
200
  created_at: z.ZodOptional<z.ZodNumber>;
197
201
  updated_at: z.ZodOptional<z.ZodNumber>;
198
202
  }, "strip", z.ZodTypeAny, {
@@ -203,6 +207,7 @@ export declare const zodAgentSchema: z.ZodObject<{
203
207
  created_at?: number | undefined;
204
208
  updated_at?: number | undefined;
205
209
  organization_id?: string | undefined;
210
+ file_search_store_name?: string | undefined;
206
211
  description?: string | undefined;
207
212
  temperature?: number | undefined;
208
213
  max_tokens?: number | undefined;
@@ -220,6 +225,7 @@ export declare const zodAgentSchema: z.ZodObject<{
220
225
  created_at?: number | undefined;
221
226
  updated_at?: number | undefined;
222
227
  organization_id?: string | undefined;
228
+ file_search_store_name?: string | undefined;
223
229
  description?: string | undefined;
224
230
  temperature?: number | undefined;
225
231
  max_tokens?: number | undefined;
@@ -388,6 +394,7 @@ export declare const zodPreDefinedQuerySchema: z.ZodObject<{
388
394
  bucket_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
389
395
  processing_status: z.ZodOptional<z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "failed"]>>>;
390
396
  file_search_store_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
397
+ file_search_file_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
391
398
  }, "strip", z.ZodTypeAny, {
392
399
  type?: string | undefined;
393
400
  _id?: string | undefined;
@@ -412,6 +419,7 @@ export declare const zodPreDefinedQuerySchema: z.ZodObject<{
412
419
  bucket_name?: string | undefined;
413
420
  processing_status?: "pending" | "processing" | "completed" | "failed" | undefined;
414
421
  file_search_store_name?: string | undefined;
422
+ file_search_file_name?: string | undefined;
415
423
  }, {
416
424
  type?: string | undefined;
417
425
  _id?: string | undefined;
@@ -436,6 +444,7 @@ export declare const zodPreDefinedQuerySchema: z.ZodObject<{
436
444
  bucket_name?: string | undefined;
437
445
  processing_status?: "pending" | "processing" | "completed" | "failed" | undefined;
438
446
  file_search_store_name?: string | undefined;
447
+ file_search_file_name?: string | undefined;
439
448
  }>, "many">>;
440
449
  full_document_search: z.ZodOptional<z.ZodBoolean>;
441
450
  status: z.ZodDefault<z.ZodEnum<["active", "inactive", "archived"]>>;
@@ -492,6 +501,7 @@ export declare const zodPreDefinedQuerySchema: z.ZodObject<{
492
501
  bucket_name?: string | undefined;
493
502
  processing_status?: "pending" | "processing" | "completed" | "failed" | undefined;
494
503
  file_search_store_name?: string | undefined;
504
+ file_search_file_name?: string | undefined;
495
505
  }[] | undefined;
496
506
  full_document_search?: boolean | undefined;
497
507
  users?: {
@@ -535,6 +545,7 @@ export declare const zodPreDefinedQuerySchema: z.ZodObject<{
535
545
  bucket_name?: string | undefined;
536
546
  processing_status?: "pending" | "processing" | "completed" | "failed" | undefined;
537
547
  file_search_store_name?: string | undefined;
548
+ file_search_file_name?: string | undefined;
538
549
  }[] | undefined;
539
550
  full_document_search?: boolean | undefined;
540
551
  users?: {
@@ -579,6 +590,7 @@ export declare const zodQuerySchema: z.ZodObject<{
579
590
  bucket_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
580
591
  processing_status: z.ZodOptional<z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "failed"]>>>;
581
592
  file_search_store_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
593
+ file_search_file_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
582
594
  }, "strip", z.ZodTypeAny, {
583
595
  type?: string | undefined;
584
596
  _id?: string | undefined;
@@ -603,6 +615,7 @@ export declare const zodQuerySchema: z.ZodObject<{
603
615
  bucket_name?: string | undefined;
604
616
  processing_status?: "pending" | "processing" | "completed" | "failed" | undefined;
605
617
  file_search_store_name?: string | undefined;
618
+ file_search_file_name?: string | undefined;
606
619
  }, {
607
620
  type?: string | undefined;
608
621
  _id?: string | undefined;
@@ -627,6 +640,7 @@ export declare const zodQuerySchema: z.ZodObject<{
627
640
  bucket_name?: string | undefined;
628
641
  processing_status?: "pending" | "processing" | "completed" | "failed" | undefined;
629
642
  file_search_store_name?: string | undefined;
643
+ file_search_file_name?: string | undefined;
630
644
  }>, "many">>;
631
645
  organization_id: z.ZodString;
632
646
  user: z.ZodObject<{
@@ -684,6 +698,7 @@ export declare const zodQuerySchema: z.ZodObject<{
684
698
  bucket_name?: string | undefined;
685
699
  processing_status?: "pending" | "processing" | "completed" | "failed" | undefined;
686
700
  file_search_store_name?: string | undefined;
701
+ file_search_file_name?: string | undefined;
687
702
  }[] | undefined;
688
703
  full_document_search?: boolean | undefined;
689
704
  thread_id?: string | undefined;
@@ -723,6 +738,7 @@ export declare const zodQuerySchema: z.ZodObject<{
723
738
  bucket_name?: string | undefined;
724
739
  processing_status?: "pending" | "processing" | "completed" | "failed" | undefined;
725
740
  file_search_store_name?: string | undefined;
741
+ file_search_file_name?: string | undefined;
726
742
  }[] | undefined;
727
743
  full_document_search?: boolean | undefined;
728
744
  thread_id?: string | undefined;
package/dist/types.js CHANGED
@@ -76,6 +76,7 @@ exports.zodContextSchema = zod_1.z.object({
76
76
  .enum(['pending', 'processing', 'completed', 'failed'])
77
77
  .optional(),
78
78
  file_search_store_name: zod_1.z.string().optional(),
79
+ file_search_file_name: zod_1.z.string().optional(),
79
80
  });
80
81
  exports.zodAgentSchema = zod_1.z.object({
81
82
  _id: zod_1.z.string().optional(),
@@ -92,6 +93,7 @@ exports.zodAgentSchema = zod_1.z.object({
92
93
  is_editable: zod_1.z.boolean().optional(),
93
94
  is_hard_to_copy: zod_1.z.boolean().optional(),
94
95
  has_resources: zod_1.z.boolean().optional(),
96
+ file_search_store_name: zod_1.z.string().optional(),
95
97
  created_at: zod_1.z.number().optional(),
96
98
  updated_at: zod_1.z.number().optional(),
97
99
  });
package/index.ts CHANGED
@@ -67,6 +67,7 @@ export const AgentSchema = new Schema(
67
67
  is_editable: { type: Boolean, default: false },
68
68
  is_hard_to_copy: { type: Boolean, default: false },
69
69
  has_resources: { type: Boolean, default: false },
70
+ file_search_store_name: { type: String },
70
71
  created_at: { type: Number },
71
72
  updated_at: { type: Number },
72
73
  },
@@ -106,6 +107,7 @@ export const ContextSchema = new Schema(
106
107
  default: 'pending',
107
108
  },
108
109
  file_search_store_name: { type: String },
110
+ file_search_file_name: { type: String },
109
111
  created_at: { type: Number },
110
112
  updated_at: { type: Number },
111
113
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chatifai",
3
- "version": "1.0.42",
3
+ "version": "1.0.44",
4
4
  "description": "SDK for interacting with the Chatifai API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types.ts CHANGED
@@ -79,6 +79,7 @@ export const zodContextSchema = z.object({
79
79
  .enum(['pending', 'processing', 'completed', 'failed'])
80
80
  .optional(),
81
81
  file_search_store_name: z.string().optional(),
82
+ file_search_file_name: z.string().optional(),
82
83
  });
83
84
 
84
85
  export const zodAgentSchema = z.object({
@@ -96,6 +97,7 @@ export const zodAgentSchema = z.object({
96
97
  is_editable: z.boolean().optional(),
97
98
  is_hard_to_copy: z.boolean().optional(),
98
99
  has_resources: z.boolean().optional(),
100
+ file_search_store_name: z.string().optional(),
99
101
  created_at: z.number().optional(),
100
102
  updated_at: z.number().optional(),
101
103
  });