chatifai 1.0.43 → 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 +3 -0
- package/dist/index.js +1 -0
- package/dist/types.d.ts +13 -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
|
@@ -256,6 +256,7 @@ export declare const ContextSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
256
256
|
} | null | undefined;
|
|
257
257
|
bucket_name?: string | null | undefined;
|
|
258
258
|
file_search_store_name?: string | null | undefined;
|
|
259
|
+
file_search_file_name?: string | null | undefined;
|
|
259
260
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
260
261
|
createdAt: NativeDate;
|
|
261
262
|
updatedAt: NativeDate;
|
|
@@ -282,6 +283,7 @@ export declare const ContextSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
282
283
|
} | null | undefined;
|
|
283
284
|
bucket_name?: string | null | undefined;
|
|
284
285
|
file_search_store_name?: string | null | undefined;
|
|
286
|
+
file_search_file_name?: string | null | undefined;
|
|
285
287
|
}>, {}> & import("mongoose").FlatRecord<{
|
|
286
288
|
createdAt: NativeDate;
|
|
287
289
|
updatedAt: NativeDate;
|
|
@@ -308,6 +310,7 @@ export declare const ContextSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
308
310
|
} | null | undefined;
|
|
309
311
|
bucket_name?: string | null | undefined;
|
|
310
312
|
file_search_store_name?: string | null | undefined;
|
|
313
|
+
file_search_file_name?: string | null | undefined;
|
|
311
314
|
}> & {
|
|
312
315
|
_id: import("mongoose").Types.ObjectId;
|
|
313
316
|
} & {
|
package/dist/index.js
CHANGED
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>;
|
|
@@ -391,6 +394,7 @@ export declare const zodPreDefinedQuerySchema: z.ZodObject<{
|
|
|
391
394
|
bucket_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
392
395
|
processing_status: z.ZodOptional<z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "failed"]>>>;
|
|
393
396
|
file_search_store_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
397
|
+
file_search_file_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
394
398
|
}, "strip", z.ZodTypeAny, {
|
|
395
399
|
type?: string | undefined;
|
|
396
400
|
_id?: string | undefined;
|
|
@@ -415,6 +419,7 @@ export declare const zodPreDefinedQuerySchema: z.ZodObject<{
|
|
|
415
419
|
bucket_name?: string | undefined;
|
|
416
420
|
processing_status?: "pending" | "processing" | "completed" | "failed" | undefined;
|
|
417
421
|
file_search_store_name?: string | undefined;
|
|
422
|
+
file_search_file_name?: string | undefined;
|
|
418
423
|
}, {
|
|
419
424
|
type?: string | undefined;
|
|
420
425
|
_id?: string | undefined;
|
|
@@ -439,6 +444,7 @@ export declare const zodPreDefinedQuerySchema: z.ZodObject<{
|
|
|
439
444
|
bucket_name?: string | undefined;
|
|
440
445
|
processing_status?: "pending" | "processing" | "completed" | "failed" | undefined;
|
|
441
446
|
file_search_store_name?: string | undefined;
|
|
447
|
+
file_search_file_name?: string | undefined;
|
|
442
448
|
}>, "many">>;
|
|
443
449
|
full_document_search: z.ZodOptional<z.ZodBoolean>;
|
|
444
450
|
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "archived"]>>;
|
|
@@ -495,6 +501,7 @@ export declare const zodPreDefinedQuerySchema: z.ZodObject<{
|
|
|
495
501
|
bucket_name?: string | undefined;
|
|
496
502
|
processing_status?: "pending" | "processing" | "completed" | "failed" | undefined;
|
|
497
503
|
file_search_store_name?: string | undefined;
|
|
504
|
+
file_search_file_name?: string | undefined;
|
|
498
505
|
}[] | undefined;
|
|
499
506
|
full_document_search?: boolean | undefined;
|
|
500
507
|
users?: {
|
|
@@ -538,6 +545,7 @@ export declare const zodPreDefinedQuerySchema: z.ZodObject<{
|
|
|
538
545
|
bucket_name?: string | undefined;
|
|
539
546
|
processing_status?: "pending" | "processing" | "completed" | "failed" | undefined;
|
|
540
547
|
file_search_store_name?: string | undefined;
|
|
548
|
+
file_search_file_name?: string | undefined;
|
|
541
549
|
}[] | undefined;
|
|
542
550
|
full_document_search?: boolean | undefined;
|
|
543
551
|
users?: {
|
|
@@ -582,6 +590,7 @@ export declare const zodQuerySchema: z.ZodObject<{
|
|
|
582
590
|
bucket_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
583
591
|
processing_status: z.ZodOptional<z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "failed"]>>>;
|
|
584
592
|
file_search_store_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
593
|
+
file_search_file_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
585
594
|
}, "strip", z.ZodTypeAny, {
|
|
586
595
|
type?: string | undefined;
|
|
587
596
|
_id?: string | undefined;
|
|
@@ -606,6 +615,7 @@ export declare const zodQuerySchema: z.ZodObject<{
|
|
|
606
615
|
bucket_name?: string | undefined;
|
|
607
616
|
processing_status?: "pending" | "processing" | "completed" | "failed" | undefined;
|
|
608
617
|
file_search_store_name?: string | undefined;
|
|
618
|
+
file_search_file_name?: string | undefined;
|
|
609
619
|
}, {
|
|
610
620
|
type?: string | undefined;
|
|
611
621
|
_id?: string | undefined;
|
|
@@ -630,6 +640,7 @@ export declare const zodQuerySchema: z.ZodObject<{
|
|
|
630
640
|
bucket_name?: string | undefined;
|
|
631
641
|
processing_status?: "pending" | "processing" | "completed" | "failed" | undefined;
|
|
632
642
|
file_search_store_name?: string | undefined;
|
|
643
|
+
file_search_file_name?: string | undefined;
|
|
633
644
|
}>, "many">>;
|
|
634
645
|
organization_id: z.ZodString;
|
|
635
646
|
user: z.ZodObject<{
|
|
@@ -687,6 +698,7 @@ export declare const zodQuerySchema: z.ZodObject<{
|
|
|
687
698
|
bucket_name?: string | undefined;
|
|
688
699
|
processing_status?: "pending" | "processing" | "completed" | "failed" | undefined;
|
|
689
700
|
file_search_store_name?: string | undefined;
|
|
701
|
+
file_search_file_name?: string | undefined;
|
|
690
702
|
}[] | undefined;
|
|
691
703
|
full_document_search?: boolean | undefined;
|
|
692
704
|
thread_id?: string | undefined;
|
|
@@ -726,6 +738,7 @@ export declare const zodQuerySchema: z.ZodObject<{
|
|
|
726
738
|
bucket_name?: string | undefined;
|
|
727
739
|
processing_status?: "pending" | "processing" | "completed" | "failed" | undefined;
|
|
728
740
|
file_search_store_name?: string | undefined;
|
|
741
|
+
file_search_file_name?: string | undefined;
|
|
729
742
|
}[] | undefined;
|
|
730
743
|
full_document_search?: boolean | undefined;
|
|
731
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(),
|
package/index.ts
CHANGED
package/package.json
CHANGED
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({
|