chatifai 1.0.50 → 1.0.52
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 -3
- package/dist/types.d.ts +7 -7
- package/dist/types.js +1 -0
- package/package.json +1 -1
- package/types.ts +2 -0
package/dist/index.d.ts
CHANGED
|
@@ -160,7 +160,7 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
160
160
|
updatedAt: NativeDate;
|
|
161
161
|
} & {
|
|
162
162
|
title: string;
|
|
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";
|
|
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" | "gemini-3-flash-preview";
|
|
164
164
|
max_tokens: number;
|
|
165
165
|
is_editable: boolean;
|
|
166
166
|
is_hard_to_copy: boolean;
|
|
@@ -182,7 +182,7 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
182
182
|
updatedAt: NativeDate;
|
|
183
183
|
} & {
|
|
184
184
|
title: string;
|
|
185
|
-
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";
|
|
185
|
+
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" | "gemini-3-flash-preview";
|
|
186
186
|
max_tokens: number;
|
|
187
187
|
is_editable: boolean;
|
|
188
188
|
is_hard_to_copy: boolean;
|
|
@@ -204,7 +204,7 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
204
204
|
updatedAt: NativeDate;
|
|
205
205
|
} & {
|
|
206
206
|
title: string;
|
|
207
|
-
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";
|
|
207
|
+
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" | "gemini-3-flash-preview";
|
|
208
208
|
max_tokens: number;
|
|
209
209
|
is_editable: boolean;
|
|
210
210
|
is_hard_to_copy: boolean;
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const modelsList: readonly ["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"];
|
|
2
|
+
export declare const modelsList: readonly ["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", "gemini-3-flash-preview"];
|
|
3
3
|
export declare const userRoles: readonly ["admin", "member", "client"];
|
|
4
4
|
export declare const zodClerkMinimalUserSchema: z.ZodObject<{
|
|
5
5
|
user_id: z.ZodString;
|
|
@@ -26,7 +26,7 @@ export declare const zodOrganizationSchema: z.ZodObject<{
|
|
|
26
26
|
plan: z.ZodOptional<z.ZodString>;
|
|
27
27
|
active_user_limit: z.ZodOptional<z.ZodNumber>;
|
|
28
28
|
documents_size_limit: z.ZodOptional<z.ZodNumber>;
|
|
29
|
-
allowed_models: z.ZodOptional<z.ZodArray<z.ZodEnum<["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"]>, "many">>;
|
|
29
|
+
allowed_models: z.ZodOptional<z.ZodArray<z.ZodEnum<["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", "gemini-3-flash-preview"]>, "many">>;
|
|
30
30
|
queries_limit: z.ZodOptional<z.ZodNumber>;
|
|
31
31
|
created_at: z.ZodOptional<z.ZodNumber>;
|
|
32
32
|
updated_at: z.ZodOptional<z.ZodNumber>;
|
|
@@ -39,7 +39,7 @@ export declare const zodOrganizationSchema: z.ZodObject<{
|
|
|
39
39
|
plan?: string | undefined;
|
|
40
40
|
active_user_limit?: number | undefined;
|
|
41
41
|
documents_size_limit?: number | undefined;
|
|
42
|
-
allowed_models?: ("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")[] | undefined;
|
|
42
|
+
allowed_models?: ("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" | "gemini-3-flash-preview")[] | undefined;
|
|
43
43
|
queries_limit?: number | undefined;
|
|
44
44
|
created_at?: number | undefined;
|
|
45
45
|
updated_at?: number | undefined;
|
|
@@ -52,7 +52,7 @@ export declare const zodOrganizationSchema: z.ZodObject<{
|
|
|
52
52
|
plan?: string | undefined;
|
|
53
53
|
active_user_limit?: number | undefined;
|
|
54
54
|
documents_size_limit?: number | undefined;
|
|
55
|
-
allowed_models?: ("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")[] | undefined;
|
|
55
|
+
allowed_models?: ("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" | "gemini-3-flash-preview")[] | undefined;
|
|
56
56
|
queries_limit?: number | undefined;
|
|
57
57
|
created_at?: number | undefined;
|
|
58
58
|
updated_at?: number | undefined;
|
|
@@ -202,7 +202,7 @@ export declare const zodAgentSchema: z.ZodObject<{
|
|
|
202
202
|
title: z.ZodString;
|
|
203
203
|
description: z.ZodOptional<z.ZodString>;
|
|
204
204
|
instructions: z.ZodString;
|
|
205
|
-
model: z.ZodEnum<["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"]>;
|
|
205
|
+
model: z.ZodEnum<["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", "gemini-3-flash-preview"]>;
|
|
206
206
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
207
207
|
max_tokens: z.ZodOptional<z.ZodNumber>;
|
|
208
208
|
elevenlabs_voice_id: z.ZodOptional<z.ZodString>;
|
|
@@ -219,7 +219,7 @@ export declare const zodAgentSchema: z.ZodObject<{
|
|
|
219
219
|
}, "strip", z.ZodTypeAny, {
|
|
220
220
|
title: string;
|
|
221
221
|
instructions: string;
|
|
222
|
-
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";
|
|
222
|
+
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" | "gemini-3-flash-preview";
|
|
223
223
|
_id?: string | undefined;
|
|
224
224
|
created_at?: number | undefined;
|
|
225
225
|
updated_at?: number | undefined;
|
|
@@ -239,7 +239,7 @@ export declare const zodAgentSchema: z.ZodObject<{
|
|
|
239
239
|
}, {
|
|
240
240
|
title: string;
|
|
241
241
|
instructions: string;
|
|
242
|
-
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";
|
|
242
|
+
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" | "gemini-3-flash-preview";
|
|
243
243
|
_id?: string | undefined;
|
|
244
244
|
created_at?: number | undefined;
|
|
245
245
|
updated_at?: number | undefined;
|
package/dist/types.js
CHANGED
package/package.json
CHANGED