chatifai 1.0.38 → 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 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;
@@ -170,6 +171,7 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
170
171
  instructions?: string | null | undefined;
171
172
  temperature?: number | null | undefined;
172
173
  elevenlabs_voice_id?: string | null | undefined;
174
+ voice_instructions?: string | null | undefined;
173
175
  message_count_limit?: number | null | undefined;
174
176
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
175
177
  createdAt: NativeDate;
@@ -179,6 +181,7 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
179
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";
180
182
  max_tokens: number;
181
183
  is_editable: boolean;
184
+ is_hard_to_copy: boolean;
182
185
  created_at?: number | null | undefined;
183
186
  updated_at?: number | null | undefined;
184
187
  organization_id?: string | null | undefined;
@@ -186,6 +189,7 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
186
189
  instructions?: string | null | undefined;
187
190
  temperature?: number | null | undefined;
188
191
  elevenlabs_voice_id?: string | null | undefined;
192
+ voice_instructions?: string | null | undefined;
189
193
  message_count_limit?: number | null | undefined;
190
194
  }>, {}> & import("mongoose").FlatRecord<{
191
195
  createdAt: NativeDate;
@@ -195,6 +199,7 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
195
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";
196
200
  max_tokens: number;
197
201
  is_editable: boolean;
202
+ is_hard_to_copy: boolean;
198
203
  created_at?: number | null | undefined;
199
204
  updated_at?: number | null | undefined;
200
205
  organization_id?: string | null | undefined;
@@ -202,6 +207,7 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
202
207
  instructions?: string | null | undefined;
203
208
  temperature?: number | null | undefined;
204
209
  elevenlabs_voice_id?: string | null | undefined;
210
+ voice_instructions?: string | null | undefined;
205
211
  message_count_limit?: number | null | undefined;
206
212
  }> & {
207
213
  _id: import("mongoose").Types.ObjectId;
package/dist/index.js CHANGED
@@ -69,7 +69,9 @@ exports.AgentSchema = new mongoose_1.Schema({
69
69
  max_tokens: { type: Number, min: 1, default: 3000 },
70
70
  elevenlabs_voice_id: { type: String },
71
71
  message_count_limit: { type: Number, min: 1 },
72
+ voice_instructions: { type: String },
72
73
  is_editable: { type: Boolean, default: false },
74
+ is_hard_to_copy: { type: Boolean, default: false },
73
75
  created_at: { type: Number },
74
76
  updated_at: { type: Number },
75
77
  }, {
package/dist/types.d.ts CHANGED
@@ -185,8 +185,10 @@ export declare const zodAgentSchema: z.ZodObject<{
185
185
  temperature: z.ZodOptional<z.ZodNumber>;
186
186
  max_tokens: z.ZodOptional<z.ZodNumber>;
187
187
  elevenlabs_voice_id: z.ZodOptional<z.ZodString>;
188
+ voice_instructions: z.ZodOptional<z.ZodString>;
188
189
  message_count_limit: z.ZodOptional<z.ZodNumber>;
189
190
  is_editable: z.ZodOptional<z.ZodBoolean>;
191
+ is_hard_to_copy: z.ZodOptional<z.ZodBoolean>;
190
192
  created_at: z.ZodOptional<z.ZodNumber>;
191
193
  updated_at: z.ZodOptional<z.ZodNumber>;
192
194
  }, "strip", z.ZodTypeAny, {
@@ -201,8 +203,10 @@ export declare const zodAgentSchema: z.ZodObject<{
201
203
  temperature?: number | undefined;
202
204
  max_tokens?: number | undefined;
203
205
  elevenlabs_voice_id?: string | undefined;
206
+ voice_instructions?: string | undefined;
204
207
  message_count_limit?: number | undefined;
205
208
  is_editable?: boolean | undefined;
209
+ is_hard_to_copy?: boolean | undefined;
206
210
  }, {
207
211
  title: string;
208
212
  instructions: string;
@@ -215,8 +219,10 @@ export declare const zodAgentSchema: z.ZodObject<{
215
219
  temperature?: number | undefined;
216
220
  max_tokens?: number | undefined;
217
221
  elevenlabs_voice_id?: string | undefined;
222
+ voice_instructions?: string | undefined;
218
223
  message_count_limit?: number | undefined;
219
224
  is_editable?: boolean | undefined;
225
+ is_hard_to_copy?: boolean | undefined;
220
226
  }>;
221
227
  export declare const zodChunkSchema: z.ZodObject<{
222
228
  _id: z.ZodOptional<z.ZodString>;
package/dist/types.js CHANGED
@@ -86,8 +86,10 @@ exports.zodAgentSchema = zod_1.z.object({
86
86
  temperature: zod_1.z.number().min(0).max(1).optional(),
87
87
  max_tokens: zod_1.z.number().min(1).optional(),
88
88
  elevenlabs_voice_id: zod_1.z.string().optional(),
89
+ voice_instructions: zod_1.z.string().optional(),
89
90
  message_count_limit: zod_1.z.number().min(1).optional(),
90
91
  is_editable: zod_1.z.boolean().optional(),
92
+ is_hard_to_copy: zod_1.z.boolean().optional(),
91
93
  created_at: zod_1.z.number().optional(),
92
94
  updated_at: zod_1.z.number().optional(),
93
95
  });
package/index.ts CHANGED
@@ -63,7 +63,9 @@ export const AgentSchema = new Schema(
63
63
  max_tokens: { type: Number, min: 1, default: 3000 },
64
64
  elevenlabs_voice_id: { type: String },
65
65
  message_count_limit: { type: Number, min: 1 },
66
+ voice_instructions: { type: String },
66
67
  is_editable: { type: Boolean, default: false },
68
+ is_hard_to_copy: { type: Boolean, default: false },
67
69
  created_at: { type: Number },
68
70
  updated_at: { type: Number },
69
71
  },
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "chatifai",
3
- "version": "1.0.38",
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/eretztzvi/chatifai.sdk",
8
+ "url": "https://github.com/badgerdefense/chatifai.sdk",
9
9
  "type": "git"
10
10
  },
11
11
  "scripts": {
package/types.ts CHANGED
@@ -91,8 +91,10 @@ export const zodAgentSchema = z.object({
91
91
  temperature: z.number().min(0).max(1).optional(),
92
92
  max_tokens: z.number().min(1).optional(),
93
93
  elevenlabs_voice_id: z.string().optional(),
94
+ voice_instructions: z.string().optional(),
94
95
  message_count_limit: z.number().min(1).optional(),
95
96
  is_editable: z.boolean().optional(),
97
+ is_hard_to_copy: z.boolean().optional(),
96
98
  created_at: z.number().optional(),
97
99
  updated_at: z.number().optional(),
98
100
  });