chatifai 1.0.39 → 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 +6 -0
- package/dist/index.js +2 -0
- package/dist/types.d.ts +6 -0
- package/dist/types.js +2 -0
- package/index.ts +2 -0
- package/package.json +2 -2
- package/types.ts +2 -0
package/dist/index.d.ts
CHANGED
|
@@ -163,6 +163,8 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
163
163
|
model: "gemini-2.5-flash-lite" | "gemini-2.5-flash" | "gemini-2.5-pro" | "grok-4-fast-non-reasoning" | "grok-4-fast-reasoning" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "claude-3.7-sonnet";
|
|
164
164
|
max_tokens: number;
|
|
165
165
|
is_editable: boolean;
|
|
166
|
+
is_hard_to_copy: boolean;
|
|
167
|
+
has_resources: boolean;
|
|
166
168
|
created_at?: number | null | undefined;
|
|
167
169
|
updated_at?: number | null | undefined;
|
|
168
170
|
organization_id?: string | null | undefined;
|
|
@@ -180,6 +182,8 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
180
182
|
model: "gemini-2.5-flash-lite" | "gemini-2.5-flash" | "gemini-2.5-pro" | "grok-4-fast-non-reasoning" | "grok-4-fast-reasoning" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "claude-3.7-sonnet";
|
|
181
183
|
max_tokens: number;
|
|
182
184
|
is_editable: boolean;
|
|
185
|
+
is_hard_to_copy: boolean;
|
|
186
|
+
has_resources: boolean;
|
|
183
187
|
created_at?: number | null | undefined;
|
|
184
188
|
updated_at?: number | null | undefined;
|
|
185
189
|
organization_id?: string | null | undefined;
|
|
@@ -197,6 +201,8 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
197
201
|
model: "gemini-2.5-flash-lite" | "gemini-2.5-flash" | "gemini-2.5-pro" | "grok-4-fast-non-reasoning" | "grok-4-fast-reasoning" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "claude-3.7-sonnet";
|
|
198
202
|
max_tokens: number;
|
|
199
203
|
is_editable: boolean;
|
|
204
|
+
is_hard_to_copy: boolean;
|
|
205
|
+
has_resources: boolean;
|
|
200
206
|
created_at?: number | null | undefined;
|
|
201
207
|
updated_at?: number | null | undefined;
|
|
202
208
|
organization_id?: string | null | undefined;
|
package/dist/index.js
CHANGED
|
@@ -71,6 +71,8 @@ exports.AgentSchema = new mongoose_1.Schema({
|
|
|
71
71
|
message_count_limit: { type: Number, min: 1 },
|
|
72
72
|
voice_instructions: { type: String },
|
|
73
73
|
is_editable: { type: Boolean, default: false },
|
|
74
|
+
is_hard_to_copy: { type: Boolean, default: false },
|
|
75
|
+
has_resources: { type: Boolean, default: false },
|
|
74
76
|
created_at: { type: Number },
|
|
75
77
|
updated_at: { type: Number },
|
|
76
78
|
}, {
|
package/dist/types.d.ts
CHANGED
|
@@ -188,6 +188,8 @@ export declare const zodAgentSchema: z.ZodObject<{
|
|
|
188
188
|
voice_instructions: z.ZodOptional<z.ZodString>;
|
|
189
189
|
message_count_limit: z.ZodOptional<z.ZodNumber>;
|
|
190
190
|
is_editable: z.ZodOptional<z.ZodBoolean>;
|
|
191
|
+
is_hard_to_copy: z.ZodOptional<z.ZodBoolean>;
|
|
192
|
+
has_resources: z.ZodOptional<z.ZodBoolean>;
|
|
191
193
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
192
194
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
193
195
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -205,6 +207,8 @@ export declare const zodAgentSchema: z.ZodObject<{
|
|
|
205
207
|
voice_instructions?: string | undefined;
|
|
206
208
|
message_count_limit?: number | undefined;
|
|
207
209
|
is_editable?: boolean | undefined;
|
|
210
|
+
is_hard_to_copy?: boolean | undefined;
|
|
211
|
+
has_resources?: boolean | undefined;
|
|
208
212
|
}, {
|
|
209
213
|
title: string;
|
|
210
214
|
instructions: string;
|
|
@@ -220,6 +224,8 @@ export declare const zodAgentSchema: z.ZodObject<{
|
|
|
220
224
|
voice_instructions?: string | undefined;
|
|
221
225
|
message_count_limit?: number | undefined;
|
|
222
226
|
is_editable?: boolean | undefined;
|
|
227
|
+
is_hard_to_copy?: boolean | undefined;
|
|
228
|
+
has_resources?: boolean | undefined;
|
|
223
229
|
}>;
|
|
224
230
|
export declare const zodChunkSchema: z.ZodObject<{
|
|
225
231
|
_id: z.ZodOptional<z.ZodString>;
|
package/dist/types.js
CHANGED
|
@@ -89,6 +89,8 @@ exports.zodAgentSchema = zod_1.z.object({
|
|
|
89
89
|
voice_instructions: zod_1.z.string().optional(),
|
|
90
90
|
message_count_limit: zod_1.z.number().min(1).optional(),
|
|
91
91
|
is_editable: zod_1.z.boolean().optional(),
|
|
92
|
+
is_hard_to_copy: zod_1.z.boolean().optional(),
|
|
93
|
+
has_resources: zod_1.z.boolean().optional(),
|
|
92
94
|
created_at: zod_1.z.number().optional(),
|
|
93
95
|
updated_at: zod_1.z.number().optional(),
|
|
94
96
|
});
|
package/index.ts
CHANGED
|
@@ -65,6 +65,8 @@ export const AgentSchema = new Schema(
|
|
|
65
65
|
message_count_limit: { type: Number, min: 1 },
|
|
66
66
|
voice_instructions: { type: String },
|
|
67
67
|
is_editable: { type: Boolean, default: false },
|
|
68
|
+
is_hard_to_copy: { type: Boolean, default: false },
|
|
69
|
+
has_resources: { type: Boolean, default: false },
|
|
68
70
|
created_at: { type: Number },
|
|
69
71
|
updated_at: { type: Number },
|
|
70
72
|
},
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chatifai",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.41",
|
|
4
4
|
"description": "SDK for interacting with the Chatifai API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"repository": {
|
|
8
|
-
"url": "https://github.com/
|
|
8
|
+
"url": "https://github.com/badgerdefense/chatifai.sdk",
|
|
9
9
|
"type": "git"
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
package/types.ts
CHANGED
|
@@ -94,6 +94,8 @@ export const zodAgentSchema = z.object({
|
|
|
94
94
|
voice_instructions: z.string().optional(),
|
|
95
95
|
message_count_limit: z.number().min(1).optional(),
|
|
96
96
|
is_editable: z.boolean().optional(),
|
|
97
|
+
is_hard_to_copy: z.boolean().optional(),
|
|
98
|
+
has_resources: z.boolean().optional(),
|
|
97
99
|
created_at: z.number().optional(),
|
|
98
100
|
updated_at: z.number().optional(),
|
|
99
101
|
});
|