chatifai 1.0.3 → 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 CHANGED
@@ -187,11 +187,9 @@ export declare const zodQuerySchema: z.ZodObject<{
187
187
  users_ids?: string[] | undefined;
188
188
  }>;
189
189
  export type EventAttributeType = {
190
- event_attributes: {
191
- http_request: {
192
- client_ip: string;
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>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chatifai",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "SDK for interacting with the Chatifai API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types.ts CHANGED
@@ -84,11 +84,9 @@ export const zodQuerySchema = z.object({
84
84
  });
85
85
 
86
86
  export type EventAttributeType = {
87
- event_attributes: {
88
- http_request: {
89
- client_ip: string;
90
- user_agent: string;
91
- };
87
+ http_request: {
88
+ client_ip?: string;
89
+ user_agent?: string;
92
90
  };
93
91
  };
94
92