evo360-types 1.3.121 → 1.3.122

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.
@@ -44,6 +44,7 @@ export declare const zChatContactSchema: z.ZodObject<z.objectUtil.extendShape<{
44
44
  is_group?: unknown;
45
45
  }>>>;
46
46
  lead_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ leads: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
47
48
  lead_ref: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
48
49
  histories: z.ZodOptional<z.ZodArray<z.ZodObject<{
49
50
  id: z.ZodOptional<z.ZodString>;
@@ -263,6 +264,7 @@ export declare const zChatContactSchema: z.ZodObject<z.objectUtil.extendShape<{
263
264
  is_group?: unknown;
264
265
  }>>>;
265
266
  lead_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
267
+ leads: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
266
268
  lead_ref: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
267
269
  histories: z.ZodOptional<z.ZodArray<z.ZodObject<{
268
270
  id: z.ZodOptional<z.ZodString>;
@@ -482,6 +484,7 @@ export declare const zChatContactSchema: z.ZodObject<z.objectUtil.extendShape<{
482
484
  is_group?: unknown;
483
485
  }>>>;
484
486
  lead_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
487
+ leads: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
485
488
  lead_ref: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
486
489
  histories: z.ZodOptional<z.ZodArray<z.ZodObject<{
487
490
  id: z.ZodOptional<z.ZodString>;
@@ -9,6 +9,7 @@ exports.zChatContactSchema = zod_schemas_1.zFireDocSchema
9
9
  channel: zod_schemas_2.zChatbeeChannelSchema.nullable().optional(),
10
10
  contact: zod_schemas_2.zChatbeeContactSchema.nullable().optional(),
11
11
  lead_id: zod_1.z.string().nullable().optional(),
12
+ leads: zod_1.z.array(zod_1.z.string()).nullable().optional(),
12
13
  lead_ref: zod_1.z.any().nullable().optional(),
13
14
  histories: zod_1.z.array(zod_schemas_2.zChatbeeContactHistorySchema).optional(), // Lista de históricos (opcional)
14
15
  ai_active: zod_1.z.boolean().optional(), // Se o atendimento por IA está ativo
@@ -11,6 +11,7 @@ export const zChatContactSchema = zFireDocSchema
11
11
  channel: zChatbeeChannelSchema.nullable().optional(),
12
12
  contact: zChatbeeContactSchema.nullable().optional(),
13
13
  lead_id: z.string().nullable().optional(),
14
+ leads: z.array(z.string()).nullable().optional(),
14
15
  lead_ref: z.any().nullable().optional(),
15
16
  histories: z.array(zChatbeeContactHistorySchema).optional(), // Lista de históricos (opcional)
16
17
  ai_active: z.boolean().optional(), // Se o atendimento por IA está ativo
@@ -4,6 +4,7 @@ export interface IChatContact extends IFireDoc {
4
4
  channel?: IChatbeeChannel | null;
5
5
  contact?: IChatbeeContact | null;
6
6
  lead_id?: string | null;
7
+ leads?: string[] | null;
7
8
  lead_ref?: FirestoreDocumentReference | null;
8
9
  histories?: IChatbeeContactHistory[];
9
10
  ai_active?: boolean;
@@ -9,6 +9,7 @@ export interface IChatContact extends IFireDoc {
9
9
  channel?: IChatbeeChannel | null;
10
10
  contact?: IChatbeeContact | null;
11
11
  lead_id?: string | null;
12
+ leads?: string[] | null;
12
13
  lead_ref?: FirestoreDocumentReference | null;
13
14
  histories?: IChatbeeContactHistory[]; // Lista de históricos (opcional)
14
15
  ai_active?: boolean; // Se o atendimento por IA está ativo
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.121",
3
+ "version": "1.3.122",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",