chatifai 1.0.34 → 1.0.35
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";
|
|
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
|
is_editable: boolean;
|
|
165
165
|
created_at?: number | null | undefined;
|
|
166
166
|
updated_at?: number | null | undefined;
|
|
@@ -175,7 +175,7 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
175
175
|
updatedAt: NativeDate;
|
|
176
176
|
} & {
|
|
177
177
|
title: string;
|
|
178
|
-
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";
|
|
178
|
+
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";
|
|
179
179
|
is_editable: boolean;
|
|
180
180
|
created_at?: number | null | undefined;
|
|
181
181
|
updated_at?: number | null | undefined;
|
|
@@ -190,7 +190,7 @@ export declare const AgentSchema: Schema<any, import("mongoose").Model<any, any,
|
|
|
190
190
|
updatedAt: NativeDate;
|
|
191
191
|
} & {
|
|
192
192
|
title: string;
|
|
193
|
-
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";
|
|
193
|
+
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";
|
|
194
194
|
is_editable: boolean;
|
|
195
195
|
created_at?: number | null | undefined;
|
|
196
196
|
updated_at?: number | null | undefined;
|
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"];
|
|
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"];
|
|
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"]>, "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"]>, "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")[] | 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;
|
|
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")[] | 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;
|
|
56
56
|
queries_limit?: number | undefined;
|
|
57
57
|
created_at?: number | undefined;
|
|
58
58
|
updated_at?: number | undefined;
|
|
@@ -181,7 +181,7 @@ export declare const zodAgentSchema: z.ZodObject<{
|
|
|
181
181
|
title: z.ZodString;
|
|
182
182
|
description: z.ZodOptional<z.ZodString>;
|
|
183
183
|
instructions: z.ZodString;
|
|
184
|
-
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"]>;
|
|
184
|
+
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"]>;
|
|
185
185
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
186
186
|
elevenlabs_voice_id: z.ZodOptional<z.ZodString>;
|
|
187
187
|
message_count_limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -191,7 +191,7 @@ export declare const zodAgentSchema: z.ZodObject<{
|
|
|
191
191
|
}, "strip", z.ZodTypeAny, {
|
|
192
192
|
title: string;
|
|
193
193
|
instructions: string;
|
|
194
|
-
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";
|
|
194
|
+
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";
|
|
195
195
|
_id?: string | undefined;
|
|
196
196
|
created_at?: number | undefined;
|
|
197
197
|
updated_at?: number | undefined;
|
|
@@ -204,7 +204,7 @@ export declare const zodAgentSchema: z.ZodObject<{
|
|
|
204
204
|
}, {
|
|
205
205
|
title: string;
|
|
206
206
|
instructions: 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";
|
|
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";
|
|
208
208
|
_id?: string | undefined;
|
|
209
209
|
created_at?: number | undefined;
|
|
210
210
|
updated_at?: number | undefined;
|
package/dist/types.js
CHANGED
package/package.json
CHANGED