evo360-types 1.3.602 → 1.3.606
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/apps/evo-chat/chatbee/zod-schemas.d.ts +4 -4
- package/dist/apps/evo-crm/lead/zod-schemas.d.ts +3 -0
- package/dist/apps/evo-crm/lead/zod-schemas.js +1 -0
- package/dist/apps/evo-crm/lead/zod-schemas.ts +2 -0
- package/dist/apps/evo-csq/zod-schemas.d.ts +595 -10
- package/dist/apps/evo-csq/zod-schemas.js +43 -2
- package/dist/apps/evo-csq/zod-schemas.ts +46 -0
- package/dist/apps/evo-hub-ia/v1/zod-schemas.d.ts +36 -36
- package/dist/apps/evo-med/dic/zod-schemas.d.ts +4 -4
- package/dist/apps/evo-med/people/zod-schemas.d.ts +3 -0
- package/dist/apps/evo-med/people/zod-schemas.js +1 -0
- package/dist/apps/evo-med/people/zod-schemas.ts +2 -0
- package/dist/apps/hub-automation/zod-schemas.d.ts +4 -4
- package/dist/apps/shared/zod-schemas.d.ts +100 -0
- package/dist/apps/shared/zod-schemas.js +39 -1
- package/dist/apps/shared/zod-schemas.ts +44 -0
- package/dist/types/evo-crm/lead/index.d.ts +3 -1
- package/dist/types/evo-crm/lead/index.ts +3 -0
- package/dist/types/evo-csq/index.d.ts +61 -2
- package/dist/types/evo-csq/index.js +5 -1
- package/dist/types/evo-csq/index.ts +72 -2
- package/dist/types/evo-med/people/index.d.ts +3 -1
- package/dist/types/evo-med/people/index.ts +3 -0
- package/dist/types/shared/capture-data.d.ts +49 -0
- package/dist/types/shared/capture-data.js +26 -0
- package/dist/types/shared/capture-data.ts +74 -0
- package/dist/types/shared/index.d.ts +1 -0
- package/dist/types/shared/index.js +1 -0
- package/dist/types/shared/index.ts +1 -0
- package/package.json +1 -1
|
@@ -519,16 +519,16 @@ export declare const zSendTextMessageRequestSchema: z.ZodObject<{
|
|
|
519
519
|
text: z.ZodString;
|
|
520
520
|
}, "strip", z.ZodTypeAny, {
|
|
521
521
|
type: "text";
|
|
522
|
-
tenant: string;
|
|
523
522
|
text: string;
|
|
523
|
+
tenant: string;
|
|
524
524
|
channel_id: string;
|
|
525
525
|
contact_address: string;
|
|
526
526
|
department_id: string;
|
|
527
527
|
contact_custom_name?: string | undefined;
|
|
528
528
|
}, {
|
|
529
529
|
type: "text";
|
|
530
|
-
tenant: string;
|
|
531
530
|
text: string;
|
|
531
|
+
tenant: string;
|
|
532
532
|
channel_id: string;
|
|
533
533
|
contact_address: string;
|
|
534
534
|
department_id: string;
|
|
@@ -680,16 +680,16 @@ export declare const zSendMessageRequestSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
680
680
|
text: z.ZodString;
|
|
681
681
|
}, "strip", z.ZodTypeAny, {
|
|
682
682
|
type: "text";
|
|
683
|
-
tenant: string;
|
|
684
683
|
text: string;
|
|
684
|
+
tenant: string;
|
|
685
685
|
channel_id: string;
|
|
686
686
|
contact_address: string;
|
|
687
687
|
department_id: string;
|
|
688
688
|
contact_custom_name?: string | undefined;
|
|
689
689
|
}, {
|
|
690
690
|
type: "text";
|
|
691
|
-
tenant: string;
|
|
692
691
|
text: string;
|
|
692
|
+
tenant: string;
|
|
693
693
|
channel_id: string;
|
|
694
694
|
contact_address: string;
|
|
695
695
|
department_id: string;
|
|
@@ -211,6 +211,7 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
211
211
|
color?: string | undefined;
|
|
212
212
|
category?: string | null | undefined;
|
|
213
213
|
}>, "many">>>;
|
|
214
|
+
capture_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
214
215
|
userRef: z.ZodAny;
|
|
215
216
|
reactivation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
216
217
|
no_interaction_streak: z.ZodOptional<z.ZodNumber>;
|
|
@@ -388,6 +389,7 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
388
389
|
color?: string | undefined;
|
|
389
390
|
category?: string | null | undefined;
|
|
390
391
|
}>, "many">>>;
|
|
392
|
+
capture_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
391
393
|
userRef: z.ZodAny;
|
|
392
394
|
reactivation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
393
395
|
no_interaction_streak: z.ZodOptional<z.ZodNumber>;
|
|
@@ -565,6 +567,7 @@ export declare const zLeadSchema: z.ZodObject<{
|
|
|
565
567
|
color?: string | undefined;
|
|
566
568
|
category?: string | null | undefined;
|
|
567
569
|
}>, "many">>>;
|
|
570
|
+
capture_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
568
571
|
userRef: z.ZodAny;
|
|
569
572
|
reactivation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
570
573
|
no_interaction_streak: z.ZodOptional<z.ZodNumber>;
|
|
@@ -50,6 +50,7 @@ exports.zLeadSchema = zod_schemas_2.zProfileSchema // Extend from ProfileSchema
|
|
|
50
50
|
/** Derivado de `externalLinks` (`"type:id"`) pelo model — habilita `array-contains`. */
|
|
51
51
|
externalLinkKeys: zod_1.z.array(zod_1.z.string()).optional(),
|
|
52
52
|
tags: zod_1.z.array(zod_schemas_1.zTagSchema).nullable().optional(),
|
|
53
|
+
capture_data: zod_schemas_1.zCaptureDataMapSchema.nullable().optional(),
|
|
53
54
|
userRef: zod_1.z.any(),
|
|
54
55
|
reactivation: exports.zLeadReactivationSchema.nullable().optional(),
|
|
55
56
|
})
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import {
|
|
3
3
|
zAddressSchema,
|
|
4
|
+
zCaptureDataMapSchema,
|
|
4
5
|
zContactSchema,
|
|
5
6
|
zTagSchema,
|
|
6
7
|
} from "../../shared/zod-schemas";
|
|
@@ -56,6 +57,7 @@ export const zLeadSchema = zProfileSchema // Extend from ProfileSchema
|
|
|
56
57
|
/** Derivado de `externalLinks` (`"type:id"`) pelo model — habilita `array-contains`. */
|
|
57
58
|
externalLinkKeys: z.array(z.string()).optional(),
|
|
58
59
|
tags: z.array(zTagSchema).nullable().optional(),
|
|
60
|
+
capture_data: zCaptureDataMapSchema.nullable().optional(),
|
|
59
61
|
userRef: z.any(),
|
|
60
62
|
reactivation: zLeadReactivationSchema.nullable().optional(),
|
|
61
63
|
})
|