evo360-types 1.3.114 → 1.3.116
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.
|
@@ -196,23 +196,23 @@ export declare const zChatbeeContactSchema: z.ZodObject<{
|
|
|
196
196
|
id: z.ZodOptional<z.ZodString>;
|
|
197
197
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
198
198
|
name: z.ZodOptional<z.ZodString>;
|
|
199
|
-
is_group: z.
|
|
199
|
+
is_group: z.ZodPipeline<z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean>;
|
|
200
200
|
address: z.ZodOptional<z.ZodString>;
|
|
201
201
|
type: z.ZodOptional<z.ZodString>;
|
|
202
202
|
}, "strip", z.ZodTypeAny, {
|
|
203
|
+
is_group: boolean;
|
|
203
204
|
name?: string | undefined;
|
|
204
205
|
id?: string | undefined;
|
|
205
206
|
type?: string | undefined;
|
|
206
207
|
external_id?: string | null | undefined;
|
|
207
208
|
address?: string | undefined;
|
|
208
|
-
is_group?: boolean | undefined;
|
|
209
209
|
}, {
|
|
210
|
+
is_group: string;
|
|
210
211
|
name?: string | undefined;
|
|
211
212
|
id?: string | undefined;
|
|
212
213
|
type?: string | undefined;
|
|
213
214
|
external_id?: string | null | undefined;
|
|
214
215
|
address?: string | undefined;
|
|
215
|
-
is_group?: boolean | undefined;
|
|
216
216
|
}>;
|
|
217
217
|
export declare const zChatbeeContactHistoryPayloadCreatedSchema: z.ZodObject<{
|
|
218
218
|
department: z.ZodOptional<z.ZodObject<{
|
|
@@ -38,7 +38,11 @@ exports.zChatbeeContactSchema = zod_1.z.object({
|
|
|
38
38
|
id: zod_1.z.string().optional(),
|
|
39
39
|
external_id: zod_1.z.string().nullable().optional(),
|
|
40
40
|
name: zod_1.z.string().optional(),
|
|
41
|
-
is_group: zod_1.z
|
|
41
|
+
is_group: zod_1.z
|
|
42
|
+
.string()
|
|
43
|
+
.toLowerCase()
|
|
44
|
+
.transform((x) => x === "true")
|
|
45
|
+
.pipe(zod_1.z.boolean()),
|
|
42
46
|
address: zod_1.z.string().optional(),
|
|
43
47
|
type: zod_1.z.string().optional(),
|
|
44
48
|
});
|
|
@@ -40,7 +40,11 @@ export const zChatbeeContactSchema = z.object({
|
|
|
40
40
|
id: z.string().optional(),
|
|
41
41
|
external_id: z.string().nullable().optional(),
|
|
42
42
|
name: z.string().optional(),
|
|
43
|
-
is_group: z
|
|
43
|
+
is_group: z
|
|
44
|
+
.string()
|
|
45
|
+
.toLowerCase()
|
|
46
|
+
.transform((x) => x === "true")
|
|
47
|
+
.pipe(z.boolean()),
|
|
44
48
|
address: z.string().optional(),
|
|
45
49
|
type: z.string().optional(),
|
|
46
50
|
});
|
|
@@ -25,23 +25,23 @@ export declare const zChatContactSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
25
25
|
id: z.ZodOptional<z.ZodString>;
|
|
26
26
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
name: z.ZodOptional<z.ZodString>;
|
|
28
|
-
is_group: z.
|
|
28
|
+
is_group: z.ZodPipeline<z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean>;
|
|
29
29
|
address: z.ZodOptional<z.ZodString>;
|
|
30
30
|
type: z.ZodOptional<z.ZodString>;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
is_group: boolean;
|
|
32
33
|
name?: string | undefined;
|
|
33
34
|
id?: string | undefined;
|
|
34
35
|
type?: string | undefined;
|
|
35
36
|
external_id?: string | null | undefined;
|
|
36
37
|
address?: string | undefined;
|
|
37
|
-
is_group?: boolean | undefined;
|
|
38
38
|
}, {
|
|
39
|
+
is_group: string;
|
|
39
40
|
name?: string | undefined;
|
|
40
41
|
id?: string | undefined;
|
|
41
42
|
type?: string | undefined;
|
|
42
43
|
external_id?: string | null | undefined;
|
|
43
44
|
address?: string | undefined;
|
|
44
|
-
is_group?: boolean | undefined;
|
|
45
45
|
}>>>;
|
|
46
46
|
lead_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
47
|
lead_ref: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -243,23 +243,23 @@ export declare const zChatContactSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
243
243
|
id: z.ZodOptional<z.ZodString>;
|
|
244
244
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
245
245
|
name: z.ZodOptional<z.ZodString>;
|
|
246
|
-
is_group: z.
|
|
246
|
+
is_group: z.ZodPipeline<z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean>;
|
|
247
247
|
address: z.ZodOptional<z.ZodString>;
|
|
248
248
|
type: z.ZodOptional<z.ZodString>;
|
|
249
249
|
}, "strip", z.ZodTypeAny, {
|
|
250
|
+
is_group: boolean;
|
|
250
251
|
name?: string | undefined;
|
|
251
252
|
id?: string | undefined;
|
|
252
253
|
type?: string | undefined;
|
|
253
254
|
external_id?: string | null | undefined;
|
|
254
255
|
address?: string | undefined;
|
|
255
|
-
is_group?: boolean | undefined;
|
|
256
256
|
}, {
|
|
257
|
+
is_group: string;
|
|
257
258
|
name?: string | undefined;
|
|
258
259
|
id?: string | undefined;
|
|
259
260
|
type?: string | undefined;
|
|
260
261
|
external_id?: string | null | undefined;
|
|
261
262
|
address?: string | undefined;
|
|
262
|
-
is_group?: boolean | undefined;
|
|
263
263
|
}>>>;
|
|
264
264
|
lead_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
265
265
|
lead_ref: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -461,23 +461,23 @@ export declare const zChatContactSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
461
461
|
id: z.ZodOptional<z.ZodString>;
|
|
462
462
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
463
463
|
name: z.ZodOptional<z.ZodString>;
|
|
464
|
-
is_group: z.
|
|
464
|
+
is_group: z.ZodPipeline<z.ZodEffects<z.ZodString, boolean, string>, z.ZodBoolean>;
|
|
465
465
|
address: z.ZodOptional<z.ZodString>;
|
|
466
466
|
type: z.ZodOptional<z.ZodString>;
|
|
467
467
|
}, "strip", z.ZodTypeAny, {
|
|
468
|
+
is_group: boolean;
|
|
468
469
|
name?: string | undefined;
|
|
469
470
|
id?: string | undefined;
|
|
470
471
|
type?: string | undefined;
|
|
471
472
|
external_id?: string | null | undefined;
|
|
472
473
|
address?: string | undefined;
|
|
473
|
-
is_group?: boolean | undefined;
|
|
474
474
|
}, {
|
|
475
|
+
is_group: string;
|
|
475
476
|
name?: string | undefined;
|
|
476
477
|
id?: string | undefined;
|
|
477
478
|
type?: string | undefined;
|
|
478
479
|
external_id?: string | null | undefined;
|
|
479
480
|
address?: string | undefined;
|
|
480
|
-
is_group?: boolean | undefined;
|
|
481
481
|
}>>>;
|
|
482
482
|
lead_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
483
483
|
lead_ref: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|