chatifai 1.0.40 → 1.0.41
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
|
@@ -164,6 +164,7 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
164
164
|
max_tokens: number;
|
|
165
165
|
is_editable: boolean;
|
|
166
166
|
is_hard_to_copy: boolean;
|
|
167
|
+
has_resources: boolean;
|
|
167
168
|
created_at?: number | null | undefined;
|
|
168
169
|
updated_at?: number | null | undefined;
|
|
169
170
|
organization_id?: string | null | undefined;
|
|
@@ -182,6 +183,7 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
182
183
|
max_tokens: number;
|
|
183
184
|
is_editable: boolean;
|
|
184
185
|
is_hard_to_copy: boolean;
|
|
186
|
+
has_resources: boolean;
|
|
185
187
|
created_at?: number | null | undefined;
|
|
186
188
|
updated_at?: number | null | undefined;
|
|
187
189
|
organization_id?: string | null | undefined;
|
|
@@ -200,6 +202,7 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
200
202
|
max_tokens: number;
|
|
201
203
|
is_editable: boolean;
|
|
202
204
|
is_hard_to_copy: boolean;
|
|
205
|
+
has_resources: boolean;
|
|
203
206
|
created_at?: number | null | undefined;
|
|
204
207
|
updated_at?: number | null | undefined;
|
|
205
208
|
organization_id?: string | null | undefined;
|
package/dist/index.js
CHANGED
|
@@ -72,6 +72,7 @@ exports.AgentSchema = new mongoose_1.Schema({
|
|
|
72
72
|
voice_instructions: { type: String },
|
|
73
73
|
is_editable: { type: Boolean, default: false },
|
|
74
74
|
is_hard_to_copy: { type: Boolean, default: false },
|
|
75
|
+
has_resources: { type: Boolean, default: false },
|
|
75
76
|
created_at: { type: Number },
|
|
76
77
|
updated_at: { type: Number },
|
|
77
78
|
}, {
|
package/dist/types.d.ts
CHANGED
|
@@ -189,6 +189,7 @@ export declare const zodAgentSchema: z.ZodObject<{
|
|
|
189
189
|
message_count_limit: z.ZodOptional<z.ZodNumber>;
|
|
190
190
|
is_editable: z.ZodOptional<z.ZodBoolean>;
|
|
191
191
|
is_hard_to_copy: z.ZodOptional<z.ZodBoolean>;
|
|
192
|
+
has_resources: z.ZodOptional<z.ZodBoolean>;
|
|
192
193
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
193
194
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
194
195
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -207,6 +208,7 @@ export declare const zodAgentSchema: z.ZodObject<{
|
|
|
207
208
|
message_count_limit?: number | undefined;
|
|
208
209
|
is_editable?: boolean | undefined;
|
|
209
210
|
is_hard_to_copy?: boolean | undefined;
|
|
211
|
+
has_resources?: boolean | undefined;
|
|
210
212
|
}, {
|
|
211
213
|
title: string;
|
|
212
214
|
instructions: string;
|
|
@@ -223,6 +225,7 @@ export declare const zodAgentSchema: z.ZodObject<{
|
|
|
223
225
|
message_count_limit?: number | undefined;
|
|
224
226
|
is_editable?: boolean | undefined;
|
|
225
227
|
is_hard_to_copy?: boolean | undefined;
|
|
228
|
+
has_resources?: boolean | undefined;
|
|
226
229
|
}>;
|
|
227
230
|
export declare const zodChunkSchema: z.ZodObject<{
|
|
228
231
|
_id: z.ZodOptional<z.ZodString>;
|
package/dist/types.js
CHANGED
|
@@ -90,6 +90,7 @@ exports.zodAgentSchema = zod_1.z.object({
|
|
|
90
90
|
message_count_limit: zod_1.z.number().min(1).optional(),
|
|
91
91
|
is_editable: zod_1.z.boolean().optional(),
|
|
92
92
|
is_hard_to_copy: zod_1.z.boolean().optional(),
|
|
93
|
+
has_resources: zod_1.z.boolean().optional(),
|
|
93
94
|
created_at: zod_1.z.number().optional(),
|
|
94
95
|
updated_at: zod_1.z.number().optional(),
|
|
95
96
|
});
|
package/index.ts
CHANGED
|
@@ -66,6 +66,7 @@ export const AgentSchema = new Schema(
|
|
|
66
66
|
voice_instructions: { type: String },
|
|
67
67
|
is_editable: { type: Boolean, default: false },
|
|
68
68
|
is_hard_to_copy: { type: Boolean, default: false },
|
|
69
|
+
has_resources: { type: Boolean, default: false },
|
|
69
70
|
created_at: { type: Number },
|
|
70
71
|
updated_at: { type: Number },
|
|
71
72
|
},
|
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -95,6 +95,7 @@ export const zodAgentSchema = z.object({
|
|
|
95
95
|
message_count_limit: z.number().min(1).optional(),
|
|
96
96
|
is_editable: z.boolean().optional(),
|
|
97
97
|
is_hard_to_copy: z.boolean().optional(),
|
|
98
|
+
has_resources: z.boolean().optional(),
|
|
98
99
|
created_at: z.number().optional(),
|
|
99
100
|
updated_at: z.number().optional(),
|
|
100
101
|
});
|