chatifai 1.0.2 → 1.0.4
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/types.d.ts +4 -6
- package/package.json +1 -1
- package/types.ts +4 -6
package/dist/types.d.ts
CHANGED
|
@@ -187,15 +187,13 @@ export declare const zodQuerySchema: z.ZodObject<{
|
|
|
187
187
|
users_ids?: string[] | undefined;
|
|
188
188
|
}>;
|
|
189
189
|
export type EventAttributeType = {
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
user_agent: string;
|
|
194
|
-
};
|
|
190
|
+
http_request: {
|
|
191
|
+
client_ip?: string;
|
|
192
|
+
user_agent?: string;
|
|
195
193
|
};
|
|
196
194
|
};
|
|
197
195
|
export type OrganizationType = z.infer<typeof zodOrganizationSchema>;
|
|
198
|
-
export type
|
|
196
|
+
export type UserType = z.infer<typeof zodUserSchema>;
|
|
199
197
|
export type AgentType = z.infer<typeof zodAgentSchema>;
|
|
200
198
|
export type ContextType = z.infer<typeof zodContextSchema>;
|
|
201
199
|
export type QueryType = z.infer<typeof zodQuerySchema>;
|
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -84,16 +84,14 @@ export const zodQuerySchema = z.object({
|
|
|
84
84
|
});
|
|
85
85
|
|
|
86
86
|
export type EventAttributeType = {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
user_agent: string;
|
|
91
|
-
};
|
|
87
|
+
http_request: {
|
|
88
|
+
client_ip?: string;
|
|
89
|
+
user_agent?: string;
|
|
92
90
|
};
|
|
93
91
|
};
|
|
94
92
|
|
|
95
93
|
export type OrganizationType = z.infer<typeof zodOrganizationSchema>;
|
|
96
|
-
export type
|
|
94
|
+
export type UserType = z.infer<typeof zodUserSchema>;
|
|
97
95
|
export type AgentType = z.infer<typeof zodAgentSchema>;
|
|
98
96
|
export type ContextType = z.infer<typeof zodContextSchema>;
|
|
99
97
|
export type QueryType = z.infer<typeof zodQuerySchema>;
|