evo360-types 1.3.419 → 1.3.425
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-campaigns/zod-schemas.d.ts +1680 -0
- package/dist/apps/evo-campaigns/zod-schemas.js +5 -0
- package/dist/apps/evo-campaigns/zod-schemas.ts +5 -0
- package/dist/apps/evo-finops/zod-schemas.d.ts +18 -18
- package/dist/apps/evo-med/people/zod-schemas.d.ts +36 -36
- package/dist/apps/evo-notifications/zod-schemas.d.ts +39 -39
- package/dist/apps/evo-task/zod-schemas.d.ts +17 -17
- package/dist/apps/evo-task/zod-schemas.js +8 -3
- package/dist/apps/evo-task/zod-schemas.ts +8 -3
- package/dist/apps/hub-automation/zod-schemas.d.ts +445 -8
- package/dist/apps/hub-automation/zod-schemas.js +27 -2
- package/dist/apps/hub-automation/zod-schemas.ts +28 -1
- package/dist/types/evo-campaigns/index.d.ts +16 -2
- package/dist/types/evo-campaigns/index.ts +16 -2
- package/dist/types/hub-automation/index.d.ts +26 -3
- package/dist/types/hub-automation/index.js +24 -1
- package/dist/types/hub-automation/index.ts +69 -3
- package/dist/types/shared/external-links.d.ts +2 -0
- package/dist/types/shared/external-links.js +2 -0
- package/dist/types/shared/external-links.ts +2 -0
- package/package.json +1 -1
|
@@ -179,17 +179,17 @@ export declare const zNotificationMessageSchema: z.ZodObject<{
|
|
|
179
179
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
180
180
|
date_bucket: z.ZodOptional<z.ZodString>;
|
|
181
181
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
182
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
182
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
183
183
|
id: z.ZodString;
|
|
184
184
|
label: z.ZodOptional<z.ZodString>;
|
|
185
185
|
ref: z.ZodOptional<z.ZodAny>;
|
|
186
186
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
187
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
187
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
188
188
|
id: z.ZodString;
|
|
189
189
|
label: z.ZodOptional<z.ZodString>;
|
|
190
190
|
ref: z.ZodOptional<z.ZodAny>;
|
|
191
191
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
192
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
192
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
193
193
|
id: z.ZodString;
|
|
194
194
|
label: z.ZodOptional<z.ZodString>;
|
|
195
195
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -296,17 +296,17 @@ export declare const zNotificationMessageSchema: z.ZodObject<{
|
|
|
296
296
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
297
297
|
date_bucket: z.ZodOptional<z.ZodString>;
|
|
298
298
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
299
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
299
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
300
300
|
id: z.ZodString;
|
|
301
301
|
label: z.ZodOptional<z.ZodString>;
|
|
302
302
|
ref: z.ZodOptional<z.ZodAny>;
|
|
303
303
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
304
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
304
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
305
305
|
id: z.ZodString;
|
|
306
306
|
label: z.ZodOptional<z.ZodString>;
|
|
307
307
|
ref: z.ZodOptional<z.ZodAny>;
|
|
308
308
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
309
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
309
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
310
310
|
id: z.ZodString;
|
|
311
311
|
label: z.ZodOptional<z.ZodString>;
|
|
312
312
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -413,17 +413,17 @@ export declare const zNotificationMessageSchema: z.ZodObject<{
|
|
|
413
413
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
414
414
|
date_bucket: z.ZodOptional<z.ZodString>;
|
|
415
415
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
416
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
416
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
417
417
|
id: z.ZodString;
|
|
418
418
|
label: z.ZodOptional<z.ZodString>;
|
|
419
419
|
ref: z.ZodOptional<z.ZodAny>;
|
|
420
420
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
421
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
421
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
422
422
|
id: z.ZodString;
|
|
423
423
|
label: z.ZodOptional<z.ZodString>;
|
|
424
424
|
ref: z.ZodOptional<z.ZodAny>;
|
|
425
425
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
426
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
426
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
427
427
|
id: z.ZodString;
|
|
428
428
|
label: z.ZodOptional<z.ZodString>;
|
|
429
429
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -683,17 +683,17 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
683
683
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
684
684
|
force_send: z.ZodOptional<z.ZodBoolean>;
|
|
685
685
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
686
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
686
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
687
687
|
id: z.ZodString;
|
|
688
688
|
label: z.ZodOptional<z.ZodString>;
|
|
689
689
|
ref: z.ZodOptional<z.ZodAny>;
|
|
690
690
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
691
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
691
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
692
692
|
id: z.ZodString;
|
|
693
693
|
label: z.ZodOptional<z.ZodString>;
|
|
694
694
|
ref: z.ZodOptional<z.ZodAny>;
|
|
695
695
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
696
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
696
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
697
697
|
id: z.ZodString;
|
|
698
698
|
label: z.ZodOptional<z.ZodString>;
|
|
699
699
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -785,17 +785,17 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
785
785
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
786
786
|
force_send: z.ZodOptional<z.ZodBoolean>;
|
|
787
787
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
788
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
788
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
789
789
|
id: z.ZodString;
|
|
790
790
|
label: z.ZodOptional<z.ZodString>;
|
|
791
791
|
ref: z.ZodOptional<z.ZodAny>;
|
|
792
792
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
793
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
793
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
794
794
|
id: z.ZodString;
|
|
795
795
|
label: z.ZodOptional<z.ZodString>;
|
|
796
796
|
ref: z.ZodOptional<z.ZodAny>;
|
|
797
797
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
798
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
798
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
799
799
|
id: z.ZodString;
|
|
800
800
|
label: z.ZodOptional<z.ZodString>;
|
|
801
801
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -887,17 +887,17 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
887
887
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
888
888
|
force_send: z.ZodOptional<z.ZodBoolean>;
|
|
889
889
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
890
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
890
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
891
891
|
id: z.ZodString;
|
|
892
892
|
label: z.ZodOptional<z.ZodString>;
|
|
893
893
|
ref: z.ZodOptional<z.ZodAny>;
|
|
894
894
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
895
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
895
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
896
896
|
id: z.ZodString;
|
|
897
897
|
label: z.ZodOptional<z.ZodString>;
|
|
898
898
|
ref: z.ZodOptional<z.ZodAny>;
|
|
899
899
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
900
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
900
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
901
901
|
id: z.ZodString;
|
|
902
902
|
label: z.ZodOptional<z.ZodString>;
|
|
903
903
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -989,17 +989,17 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
989
989
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
990
990
|
force_send: z.ZodOptional<z.ZodBoolean>;
|
|
991
991
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
992
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
992
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
993
993
|
id: z.ZodString;
|
|
994
994
|
label: z.ZodOptional<z.ZodString>;
|
|
995
995
|
ref: z.ZodOptional<z.ZodAny>;
|
|
996
996
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
997
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
997
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
998
998
|
id: z.ZodString;
|
|
999
999
|
label: z.ZodOptional<z.ZodString>;
|
|
1000
1000
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1001
1001
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1002
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1002
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1003
1003
|
id: z.ZodString;
|
|
1004
1004
|
label: z.ZodOptional<z.ZodString>;
|
|
1005
1005
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1091,17 +1091,17 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1091
1091
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
1092
1092
|
force_send: z.ZodOptional<z.ZodBoolean>;
|
|
1093
1093
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1094
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1094
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1095
1095
|
id: z.ZodString;
|
|
1096
1096
|
label: z.ZodOptional<z.ZodString>;
|
|
1097
1097
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1098
1098
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1099
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1099
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1100
1100
|
id: z.ZodString;
|
|
1101
1101
|
label: z.ZodOptional<z.ZodString>;
|
|
1102
1102
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1103
1103
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1104
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1104
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1105
1105
|
id: z.ZodString;
|
|
1106
1106
|
label: z.ZodOptional<z.ZodString>;
|
|
1107
1107
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1192,17 +1192,17 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1192
1192
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
1193
1193
|
force_send: z.ZodOptional<z.ZodBoolean>;
|
|
1194
1194
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1195
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1195
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1196
1196
|
id: z.ZodString;
|
|
1197
1197
|
label: z.ZodOptional<z.ZodString>;
|
|
1198
1198
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1199
1199
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1200
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1200
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1201
1201
|
id: z.ZodString;
|
|
1202
1202
|
label: z.ZodOptional<z.ZodString>;
|
|
1203
1203
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1204
1204
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1205
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1205
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1206
1206
|
id: z.ZodString;
|
|
1207
1207
|
label: z.ZodOptional<z.ZodString>;
|
|
1208
1208
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1292,17 +1292,17 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1292
1292
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
1293
1293
|
force_send: z.ZodOptional<z.ZodBoolean>;
|
|
1294
1294
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1295
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1295
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1296
1296
|
id: z.ZodString;
|
|
1297
1297
|
label: z.ZodOptional<z.ZodString>;
|
|
1298
1298
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1299
1299
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1300
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1300
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1301
1301
|
id: z.ZodString;
|
|
1302
1302
|
label: z.ZodOptional<z.ZodString>;
|
|
1303
1303
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1304
1304
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1305
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1305
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1306
1306
|
id: z.ZodString;
|
|
1307
1307
|
label: z.ZodOptional<z.ZodString>;
|
|
1308
1308
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1392,17 +1392,17 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1392
1392
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
1393
1393
|
force_send: z.ZodOptional<z.ZodBoolean>;
|
|
1394
1394
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1395
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1395
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1396
1396
|
id: z.ZodString;
|
|
1397
1397
|
label: z.ZodOptional<z.ZodString>;
|
|
1398
1398
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1399
1399
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1400
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1400
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1401
1401
|
id: z.ZodString;
|
|
1402
1402
|
label: z.ZodOptional<z.ZodString>;
|
|
1403
1403
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1404
1404
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1405
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1405
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1406
1406
|
id: z.ZodString;
|
|
1407
1407
|
label: z.ZodOptional<z.ZodString>;
|
|
1408
1408
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1492,17 +1492,17 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1492
1492
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
1493
1493
|
force_send: z.ZodOptional<z.ZodBoolean>;
|
|
1494
1494
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1495
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1495
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1496
1496
|
id: z.ZodString;
|
|
1497
1497
|
label: z.ZodOptional<z.ZodString>;
|
|
1498
1498
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1499
1499
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1500
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1500
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1501
1501
|
id: z.ZodString;
|
|
1502
1502
|
label: z.ZodOptional<z.ZodString>;
|
|
1503
1503
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1504
1504
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1505
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1505
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1506
1506
|
id: z.ZodString;
|
|
1507
1507
|
label: z.ZodOptional<z.ZodString>;
|
|
1508
1508
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1592,17 +1592,17 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1592
1592
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
1593
1593
|
force_send: z.ZodOptional<z.ZodBoolean>;
|
|
1594
1594
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1595
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1595
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1596
1596
|
id: z.ZodString;
|
|
1597
1597
|
label: z.ZodOptional<z.ZodString>;
|
|
1598
1598
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1599
1599
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1600
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1600
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1601
1601
|
id: z.ZodString;
|
|
1602
1602
|
label: z.ZodOptional<z.ZodString>;
|
|
1603
1603
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1604
1604
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1605
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1605
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1606
1606
|
id: z.ZodString;
|
|
1607
1607
|
label: z.ZodOptional<z.ZodString>;
|
|
1608
1608
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -8,37 +8,37 @@ export declare const zTaskAutoHandlerSchema: z.ZodEnum<["notifications", "ai_age
|
|
|
8
8
|
export declare const zTaskRetryStrategySchema: z.ZodEnum<["fixed", "exponential"]>;
|
|
9
9
|
export declare const zTaskDedupScopeSchema: z.ZodEnum<["per_recipient", "per_recipient_and_object", "custom"]>;
|
|
10
10
|
export declare const zTaskDedupWindowSchema: z.ZodEnum<["same_day", "n_hours", "custom"]>;
|
|
11
|
-
export declare const zExternalObjectTypeSchema: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
12
|
-
export declare const zTaskExternalObjectTypeSchema: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
11
|
+
export declare const zExternalObjectTypeSchema: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
12
|
+
export declare const zTaskExternalObjectTypeSchema: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
13
13
|
export declare const zTaskExecutionStatusSchema: z.ZodEnum<["success", "error", "retry"]>;
|
|
14
14
|
export declare const zExternalLinkSchema: z.ZodObject<{
|
|
15
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
15
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
16
16
|
id: z.ZodString;
|
|
17
17
|
label: z.ZodOptional<z.ZodString>;
|
|
18
18
|
ref: z.ZodOptional<z.ZodAny>;
|
|
19
19
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
20
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
21
21
|
id: z.ZodString;
|
|
22
22
|
label: z.ZodOptional<z.ZodString>;
|
|
23
23
|
ref: z.ZodOptional<z.ZodAny>;
|
|
24
24
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
25
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
25
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
26
26
|
id: z.ZodString;
|
|
27
27
|
label: z.ZodOptional<z.ZodString>;
|
|
28
28
|
ref: z.ZodOptional<z.ZodAny>;
|
|
29
29
|
}, z.ZodTypeAny, "passthrough">>;
|
|
30
30
|
export declare const zTaskExternalLinkSchema: z.ZodObject<{
|
|
31
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
31
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
32
32
|
id: z.ZodString;
|
|
33
33
|
label: z.ZodOptional<z.ZodString>;
|
|
34
34
|
ref: z.ZodOptional<z.ZodAny>;
|
|
35
35
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
36
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
36
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
37
37
|
id: z.ZodString;
|
|
38
38
|
label: z.ZodOptional<z.ZodString>;
|
|
39
39
|
ref: z.ZodOptional<z.ZodAny>;
|
|
40
40
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
41
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
41
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
42
42
|
id: z.ZodString;
|
|
43
43
|
label: z.ZodOptional<z.ZodString>;
|
|
44
44
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -485,17 +485,17 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
485
485
|
category?: string | null | undefined;
|
|
486
486
|
}>, "many">>>;
|
|
487
487
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
488
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
488
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
489
489
|
id: z.ZodString;
|
|
490
490
|
label: z.ZodOptional<z.ZodString>;
|
|
491
491
|
ref: z.ZodOptional<z.ZodAny>;
|
|
492
492
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
493
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
493
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
494
494
|
id: z.ZodString;
|
|
495
495
|
label: z.ZodOptional<z.ZodString>;
|
|
496
496
|
ref: z.ZodOptional<z.ZodAny>;
|
|
497
497
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
498
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
498
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
499
499
|
id: z.ZodString;
|
|
500
500
|
label: z.ZodOptional<z.ZodString>;
|
|
501
501
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -923,17 +923,17 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
923
923
|
category?: string | null | undefined;
|
|
924
924
|
}>, "many">>>;
|
|
925
925
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
926
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
926
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
927
927
|
id: z.ZodString;
|
|
928
928
|
label: z.ZodOptional<z.ZodString>;
|
|
929
929
|
ref: z.ZodOptional<z.ZodAny>;
|
|
930
930
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
931
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
931
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
932
932
|
id: z.ZodString;
|
|
933
933
|
label: z.ZodOptional<z.ZodString>;
|
|
934
934
|
ref: z.ZodOptional<z.ZodAny>;
|
|
935
935
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
936
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
936
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
937
937
|
id: z.ZodString;
|
|
938
938
|
label: z.ZodOptional<z.ZodString>;
|
|
939
939
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1361,17 +1361,17 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1361
1361
|
category?: string | null | undefined;
|
|
1362
1362
|
}>, "many">>>;
|
|
1363
1363
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1364
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1364
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1365
1365
|
id: z.ZodString;
|
|
1366
1366
|
label: z.ZodOptional<z.ZodString>;
|
|
1367
1367
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1368
1368
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1369
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1369
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1370
1370
|
id: z.ZodString;
|
|
1371
1371
|
label: z.ZodOptional<z.ZodString>;
|
|
1372
1372
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1373
1373
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1374
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "
|
|
1374
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign"]>;
|
|
1375
1375
|
id: z.ZodString;
|
|
1376
1376
|
label: z.ZodOptional<z.ZodString>;
|
|
1377
1377
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -63,9 +63,14 @@ exports.zExternalObjectTypeSchema = zod_1.z.enum([
|
|
|
63
63
|
"med_professional",
|
|
64
64
|
"med_appointment",
|
|
65
65
|
"chat_contact",
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
"
|
|
66
|
+
// feat-075: task do evo-task (o TS enum sempre teve; o zod ficou para tras —
|
|
67
|
+
// nunca doeu porque withTaskExternalLink injeta o link FORA desta validacao).
|
|
68
|
+
"evo_task",
|
|
69
|
+
// feat-081 F3: link de campanha nos payloads de notification.send criados pelo
|
|
70
|
+
// dispatch. Sem este valor o TaskModel.setProperties rejeita a task em runtime
|
|
71
|
+
// (mordeu o primeiro disparo real da 5LCCZX — o TS enum ganhou 'campaign' no
|
|
72
|
+
// bump da F3 mas este zod tem lista propria).
|
|
73
|
+
"campaign",
|
|
69
74
|
]);
|
|
70
75
|
// Backward compatibility alias
|
|
71
76
|
exports.zTaskExternalObjectTypeSchema = exports.zExternalObjectTypeSchema;
|
|
@@ -70,9 +70,14 @@ export const zExternalObjectTypeSchema = z.enum([
|
|
|
70
70
|
"med_professional",
|
|
71
71
|
"med_appointment",
|
|
72
72
|
"chat_contact",
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
"
|
|
73
|
+
// feat-075: task do evo-task (o TS enum sempre teve; o zod ficou para tras —
|
|
74
|
+
// nunca doeu porque withTaskExternalLink injeta o link FORA desta validacao).
|
|
75
|
+
"evo_task",
|
|
76
|
+
// feat-081 F3: link de campanha nos payloads de notification.send criados pelo
|
|
77
|
+
// dispatch. Sem este valor o TaskModel.setProperties rejeita a task em runtime
|
|
78
|
+
// (mordeu o primeiro disparo real da 5LCCZX — o TS enum ganhou 'campaign' no
|
|
79
|
+
// bump da F3 mas este zod tem lista propria).
|
|
80
|
+
"campaign",
|
|
76
81
|
]);
|
|
77
82
|
|
|
78
83
|
// Backward compatibility alias
|