chatifai 1.0.39 → 1.0.40
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 +2 -2
- package/types.ts +1 -0
package/dist/index.d.ts
CHANGED
|
@@ -163,6 +163,7 @@ 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;
|
|
166
167
|
created_at?: number | null | undefined;
|
|
167
168
|
updated_at?: number | null | undefined;
|
|
168
169
|
organization_id?: string | null | undefined;
|
|
@@ -180,6 +181,7 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
180
181
|
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
182
|
max_tokens: number;
|
|
182
183
|
is_editable: boolean;
|
|
184
|
+
is_hard_to_copy: boolean;
|
|
183
185
|
created_at?: number | null | undefined;
|
|
184
186
|
updated_at?: number | null | undefined;
|
|
185
187
|
organization_id?: string | null | undefined;
|
|
@@ -197,6 +199,7 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
197
199
|
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
200
|
max_tokens: number;
|
|
199
201
|
is_editable: boolean;
|
|
202
|
+
is_hard_to_copy: boolean;
|
|
200
203
|
created_at?: number | null | undefined;
|
|
201
204
|
updated_at?: number | null | undefined;
|
|
202
205
|
organization_id?: string | null | undefined;
|
package/dist/index.js
CHANGED
|
@@ -71,6 +71,7 @@ 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 },
|
|
74
75
|
created_at: { type: Number },
|
|
75
76
|
updated_at: { type: Number },
|
|
76
77
|
}, {
|
package/dist/types.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ 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>;
|
|
191
192
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
192
193
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
193
194
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -205,6 +206,7 @@ export declare const zodAgentSchema: z.ZodObject<{
|
|
|
205
206
|
voice_instructions?: string | undefined;
|
|
206
207
|
message_count_limit?: number | undefined;
|
|
207
208
|
is_editable?: boolean | undefined;
|
|
209
|
+
is_hard_to_copy?: boolean | undefined;
|
|
208
210
|
}, {
|
|
209
211
|
title: string;
|
|
210
212
|
instructions: string;
|
|
@@ -220,6 +222,7 @@ export declare const zodAgentSchema: z.ZodObject<{
|
|
|
220
222
|
voice_instructions?: string | undefined;
|
|
221
223
|
message_count_limit?: number | undefined;
|
|
222
224
|
is_editable?: boolean | undefined;
|
|
225
|
+
is_hard_to_copy?: boolean | undefined;
|
|
223
226
|
}>;
|
|
224
227
|
export declare const zodChunkSchema: z.ZodObject<{
|
|
225
228
|
_id: z.ZodOptional<z.ZodString>;
|
package/dist/types.js
CHANGED
|
@@ -89,6 +89,7 @@ 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(),
|
|
92
93
|
created_at: zod_1.z.number().optional(),
|
|
93
94
|
updated_at: zod_1.z.number().optional(),
|
|
94
95
|
});
|
package/index.ts
CHANGED
|
@@ -65,6 +65,7 @@ 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 },
|
|
68
69
|
created_at: { type: Number },
|
|
69
70
|
updated_at: { type: Number },
|
|
70
71
|
},
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chatifai",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.40",
|
|
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,7 @@ 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(),
|
|
97
98
|
created_at: z.number().optional(),
|
|
98
99
|
updated_at: z.number().optional(),
|
|
99
100
|
});
|