evo360-types 1.3.369 → 1.3.371
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.
|
@@ -474,96 +474,192 @@ export declare const zHubiaRulePhaseSchema: z.ZodEnum<["pre_llm", "post_llm"]>;
|
|
|
474
474
|
export declare const zHubiaRuleTriggerSchema: z.ZodEnum<["inbound_message", "llm_completed"]>;
|
|
475
475
|
export declare const zHubiaRuleOutcomeSchema: z.ZodEnum<["stop", "to_llm", "to_llm_with_context"]>;
|
|
476
476
|
export declare const zHubiaRuleAppliesToSchema: z.ZodEnum<["real_message", "kickoff", "any"]>;
|
|
477
|
-
export declare const zHubiaConditionOpSchema: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
477
|
+
export declare const zHubiaConditionOpSchema: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
478
|
+
/** Uma janela individual: dia da semana (0=dom..6=sáb) + intervalo HH:MM. */
|
|
479
|
+
export declare const zHubiaScheduleWindowSchema: z.ZodEffects<z.ZodObject<{
|
|
480
|
+
day: z.ZodNumber;
|
|
481
|
+
start: z.ZodString;
|
|
482
|
+
end: z.ZodString;
|
|
483
|
+
}, "strip", z.ZodTypeAny, {
|
|
484
|
+
day: number;
|
|
485
|
+
start: string;
|
|
486
|
+
end: string;
|
|
487
|
+
}, {
|
|
488
|
+
day: number;
|
|
489
|
+
start: string;
|
|
490
|
+
end: string;
|
|
491
|
+
}>, {
|
|
492
|
+
day: number;
|
|
493
|
+
start: string;
|
|
494
|
+
end: string;
|
|
495
|
+
}, {
|
|
496
|
+
day: number;
|
|
497
|
+
start: string;
|
|
498
|
+
end: string;
|
|
499
|
+
}>;
|
|
500
|
+
/** Agenda semanal — lista de janelas + timezone opcional.
|
|
501
|
+
* Quando `timezone` ausente, runtime usa a do tenant (`/tenants/{tenant}.timezone`,
|
|
502
|
+
* fallback `'America/Sao_Paulo'`). */
|
|
503
|
+
export declare const zHubiaScheduleSchema: z.ZodObject<{
|
|
504
|
+
windows: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
505
|
+
day: z.ZodNumber;
|
|
506
|
+
start: z.ZodString;
|
|
507
|
+
end: z.ZodString;
|
|
508
|
+
}, "strip", z.ZodTypeAny, {
|
|
509
|
+
day: number;
|
|
510
|
+
start: string;
|
|
511
|
+
end: string;
|
|
512
|
+
}, {
|
|
513
|
+
day: number;
|
|
514
|
+
start: string;
|
|
515
|
+
end: string;
|
|
516
|
+
}>, {
|
|
517
|
+
day: number;
|
|
518
|
+
start: string;
|
|
519
|
+
end: string;
|
|
520
|
+
}, {
|
|
521
|
+
day: number;
|
|
522
|
+
start: string;
|
|
523
|
+
end: string;
|
|
524
|
+
}>, "many">;
|
|
525
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
526
|
+
}, "strip", z.ZodTypeAny, {
|
|
527
|
+
windows: {
|
|
528
|
+
day: number;
|
|
529
|
+
start: string;
|
|
530
|
+
end: string;
|
|
531
|
+
}[];
|
|
532
|
+
timezone?: string | undefined;
|
|
533
|
+
}, {
|
|
534
|
+
windows: {
|
|
535
|
+
day: number;
|
|
536
|
+
start: string;
|
|
537
|
+
end: string;
|
|
538
|
+
}[];
|
|
539
|
+
timezone?: string | undefined;
|
|
540
|
+
}>;
|
|
478
541
|
/** Uma condição: avalia `op(fact, value)` contra o facts provider do runtime.
|
|
479
|
-
*
|
|
480
|
-
|
|
481
|
-
|
|
542
|
+
*
|
|
543
|
+
* Política do `value`:
|
|
544
|
+
* - Ausente para `exists`/`not_exists`/`is_empty`/`is_not_empty`.
|
|
545
|
+
* - Primitive (string/number/boolean) ou array para os operadores clássicos
|
|
546
|
+
* (`eq`, `in`, `contains`, etc.) — formato livre, casado dinamicamente.
|
|
547
|
+
* - Objeto `IHubiaSchedule` para `in_schedule`/`not_in_schedule` (validado
|
|
548
|
+
* pelo `superRefine` abaixo). */
|
|
549
|
+
export declare const zHubiaConditionSchema: z.ZodEffects<z.ZodObject<{
|
|
550
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
551
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
482
552
|
fact: z.ZodString;
|
|
483
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
553
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
484
554
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
485
555
|
}, "strip", z.ZodTypeAny, {
|
|
486
556
|
fact: string;
|
|
487
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
557
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
558
|
+
value?: unknown;
|
|
559
|
+
}, {
|
|
560
|
+
fact: string;
|
|
561
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
562
|
+
value?: unknown;
|
|
563
|
+
}>, {
|
|
564
|
+
fact: string;
|
|
565
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
488
566
|
value?: unknown;
|
|
489
567
|
}, {
|
|
490
568
|
fact: string;
|
|
491
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
569
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
492
570
|
value?: unknown;
|
|
493
571
|
}>;
|
|
494
572
|
/** Grupo de condições. Nível 2: um nível de AND/OR, sem aninhamento profundo
|
|
495
573
|
* (Nível 3 fica para depois). Pelo menos uma das listas precisa ter ≥1 condição. */
|
|
496
574
|
export declare const zHubiaConditionGroupSchema: z.ZodEffects<z.ZodObject<{
|
|
497
|
-
all: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
498
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
575
|
+
all: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
576
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
577
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
499
578
|
fact: z.ZodString;
|
|
500
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
579
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
501
580
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
502
581
|
}, "strip", z.ZodTypeAny, {
|
|
503
582
|
fact: string;
|
|
504
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
583
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
584
|
+
value?: unknown;
|
|
585
|
+
}, {
|
|
586
|
+
fact: string;
|
|
587
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
588
|
+
value?: unknown;
|
|
589
|
+
}>, {
|
|
590
|
+
fact: string;
|
|
591
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
505
592
|
value?: unknown;
|
|
506
593
|
}, {
|
|
507
594
|
fact: string;
|
|
508
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
595
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
509
596
|
value?: unknown;
|
|
510
597
|
}>, "many">>;
|
|
511
|
-
any: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
512
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
598
|
+
any: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
599
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
600
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
513
601
|
fact: z.ZodString;
|
|
514
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
602
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
515
603
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
516
604
|
}, "strip", z.ZodTypeAny, {
|
|
517
605
|
fact: string;
|
|
518
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
606
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
607
|
+
value?: unknown;
|
|
608
|
+
}, {
|
|
609
|
+
fact: string;
|
|
610
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
611
|
+
value?: unknown;
|
|
612
|
+
}>, {
|
|
613
|
+
fact: string;
|
|
614
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
519
615
|
value?: unknown;
|
|
520
616
|
}, {
|
|
521
617
|
fact: string;
|
|
522
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
618
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
523
619
|
value?: unknown;
|
|
524
620
|
}>, "many">>;
|
|
525
621
|
}, "strip", z.ZodTypeAny, {
|
|
526
622
|
all?: {
|
|
527
623
|
fact: string;
|
|
528
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
624
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
529
625
|
value?: unknown;
|
|
530
626
|
}[] | undefined;
|
|
531
627
|
any?: {
|
|
532
628
|
fact: string;
|
|
533
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
629
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
534
630
|
value?: unknown;
|
|
535
631
|
}[] | undefined;
|
|
536
632
|
}, {
|
|
537
633
|
all?: {
|
|
538
634
|
fact: string;
|
|
539
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
635
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
540
636
|
value?: unknown;
|
|
541
637
|
}[] | undefined;
|
|
542
638
|
any?: {
|
|
543
639
|
fact: string;
|
|
544
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
640
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
545
641
|
value?: unknown;
|
|
546
642
|
}[] | undefined;
|
|
547
643
|
}>, {
|
|
548
644
|
all?: {
|
|
549
645
|
fact: string;
|
|
550
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
646
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
551
647
|
value?: unknown;
|
|
552
648
|
}[] | undefined;
|
|
553
649
|
any?: {
|
|
554
650
|
fact: string;
|
|
555
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
651
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
556
652
|
value?: unknown;
|
|
557
653
|
}[] | undefined;
|
|
558
654
|
}, {
|
|
559
655
|
all?: {
|
|
560
656
|
fact: string;
|
|
561
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
657
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
562
658
|
value?: unknown;
|
|
563
659
|
}[] | undefined;
|
|
564
660
|
any?: {
|
|
565
661
|
fact: string;
|
|
566
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
662
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
567
663
|
value?: unknown;
|
|
568
664
|
}[] | undefined;
|
|
569
665
|
}>;
|
|
@@ -620,76 +716,94 @@ export declare const zHubiaRuleSchema: z.ZodObject<{
|
|
|
620
716
|
applies_to?: "real_message" | "kickoff" | "any" | undefined;
|
|
621
717
|
}>>;
|
|
622
718
|
conditions: z.ZodEffects<z.ZodObject<{
|
|
623
|
-
all: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
624
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
719
|
+
all: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
720
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
721
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
625
722
|
fact: z.ZodString;
|
|
626
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
723
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
627
724
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
628
725
|
}, "strip", z.ZodTypeAny, {
|
|
629
726
|
fact: string;
|
|
630
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
727
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
728
|
+
value?: unknown;
|
|
729
|
+
}, {
|
|
730
|
+
fact: string;
|
|
731
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
732
|
+
value?: unknown;
|
|
733
|
+
}>, {
|
|
734
|
+
fact: string;
|
|
735
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
631
736
|
value?: unknown;
|
|
632
737
|
}, {
|
|
633
738
|
fact: string;
|
|
634
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
739
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
635
740
|
value?: unknown;
|
|
636
741
|
}>, "many">>;
|
|
637
|
-
any: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
638
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
742
|
+
any: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
743
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
744
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
639
745
|
fact: z.ZodString;
|
|
640
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
746
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
641
747
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
642
748
|
}, "strip", z.ZodTypeAny, {
|
|
643
749
|
fact: string;
|
|
644
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
750
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
645
751
|
value?: unknown;
|
|
646
752
|
}, {
|
|
647
753
|
fact: string;
|
|
648
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
754
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
755
|
+
value?: unknown;
|
|
756
|
+
}>, {
|
|
757
|
+
fact: string;
|
|
758
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
759
|
+
value?: unknown;
|
|
760
|
+
}, {
|
|
761
|
+
fact: string;
|
|
762
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
649
763
|
value?: unknown;
|
|
650
764
|
}>, "many">>;
|
|
651
765
|
}, "strip", z.ZodTypeAny, {
|
|
652
766
|
all?: {
|
|
653
767
|
fact: string;
|
|
654
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
768
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
655
769
|
value?: unknown;
|
|
656
770
|
}[] | undefined;
|
|
657
771
|
any?: {
|
|
658
772
|
fact: string;
|
|
659
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
773
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
660
774
|
value?: unknown;
|
|
661
775
|
}[] | undefined;
|
|
662
776
|
}, {
|
|
663
777
|
all?: {
|
|
664
778
|
fact: string;
|
|
665
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
779
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
666
780
|
value?: unknown;
|
|
667
781
|
}[] | undefined;
|
|
668
782
|
any?: {
|
|
669
783
|
fact: string;
|
|
670
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
784
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
671
785
|
value?: unknown;
|
|
672
786
|
}[] | undefined;
|
|
673
787
|
}>, {
|
|
674
788
|
all?: {
|
|
675
789
|
fact: string;
|
|
676
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
790
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
677
791
|
value?: unknown;
|
|
678
792
|
}[] | undefined;
|
|
679
793
|
any?: {
|
|
680
794
|
fact: string;
|
|
681
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
795
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
682
796
|
value?: unknown;
|
|
683
797
|
}[] | undefined;
|
|
684
798
|
}, {
|
|
685
799
|
all?: {
|
|
686
800
|
fact: string;
|
|
687
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
801
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
688
802
|
value?: unknown;
|
|
689
803
|
}[] | undefined;
|
|
690
804
|
any?: {
|
|
691
805
|
fact: string;
|
|
692
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
806
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
693
807
|
value?: unknown;
|
|
694
808
|
}[] | undefined;
|
|
695
809
|
}>;
|
|
@@ -734,76 +848,94 @@ export declare const zHubiaRuleSchema: z.ZodObject<{
|
|
|
734
848
|
applies_to?: "real_message" | "kickoff" | "any" | undefined;
|
|
735
849
|
}>>;
|
|
736
850
|
conditions: z.ZodEffects<z.ZodObject<{
|
|
737
|
-
all: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
738
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
851
|
+
all: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
852
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
853
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
739
854
|
fact: z.ZodString;
|
|
740
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
855
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
741
856
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
742
857
|
}, "strip", z.ZodTypeAny, {
|
|
743
858
|
fact: string;
|
|
744
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
859
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
860
|
+
value?: unknown;
|
|
861
|
+
}, {
|
|
862
|
+
fact: string;
|
|
863
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
864
|
+
value?: unknown;
|
|
865
|
+
}>, {
|
|
866
|
+
fact: string;
|
|
867
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
745
868
|
value?: unknown;
|
|
746
869
|
}, {
|
|
747
870
|
fact: string;
|
|
748
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
871
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
749
872
|
value?: unknown;
|
|
750
873
|
}>, "many">>;
|
|
751
|
-
any: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
752
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
874
|
+
any: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
875
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
876
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
753
877
|
fact: z.ZodString;
|
|
754
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
878
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
755
879
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
756
880
|
}, "strip", z.ZodTypeAny, {
|
|
757
881
|
fact: string;
|
|
758
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
882
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
883
|
+
value?: unknown;
|
|
884
|
+
}, {
|
|
885
|
+
fact: string;
|
|
886
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
887
|
+
value?: unknown;
|
|
888
|
+
}>, {
|
|
889
|
+
fact: string;
|
|
890
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
759
891
|
value?: unknown;
|
|
760
892
|
}, {
|
|
761
893
|
fact: string;
|
|
762
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
894
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
763
895
|
value?: unknown;
|
|
764
896
|
}>, "many">>;
|
|
765
897
|
}, "strip", z.ZodTypeAny, {
|
|
766
898
|
all?: {
|
|
767
899
|
fact: string;
|
|
768
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
900
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
769
901
|
value?: unknown;
|
|
770
902
|
}[] | undefined;
|
|
771
903
|
any?: {
|
|
772
904
|
fact: string;
|
|
773
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
905
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
774
906
|
value?: unknown;
|
|
775
907
|
}[] | undefined;
|
|
776
908
|
}, {
|
|
777
909
|
all?: {
|
|
778
910
|
fact: string;
|
|
779
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
911
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
780
912
|
value?: unknown;
|
|
781
913
|
}[] | undefined;
|
|
782
914
|
any?: {
|
|
783
915
|
fact: string;
|
|
784
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
916
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
785
917
|
value?: unknown;
|
|
786
918
|
}[] | undefined;
|
|
787
919
|
}>, {
|
|
788
920
|
all?: {
|
|
789
921
|
fact: string;
|
|
790
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
922
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
791
923
|
value?: unknown;
|
|
792
924
|
}[] | undefined;
|
|
793
925
|
any?: {
|
|
794
926
|
fact: string;
|
|
795
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
927
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
796
928
|
value?: unknown;
|
|
797
929
|
}[] | undefined;
|
|
798
930
|
}, {
|
|
799
931
|
all?: {
|
|
800
932
|
fact: string;
|
|
801
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
933
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
802
934
|
value?: unknown;
|
|
803
935
|
}[] | undefined;
|
|
804
936
|
any?: {
|
|
805
937
|
fact: string;
|
|
806
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
938
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
807
939
|
value?: unknown;
|
|
808
940
|
}[] | undefined;
|
|
809
941
|
}>;
|
|
@@ -848,76 +980,94 @@ export declare const zHubiaRuleSchema: z.ZodObject<{
|
|
|
848
980
|
applies_to?: "real_message" | "kickoff" | "any" | undefined;
|
|
849
981
|
}>>;
|
|
850
982
|
conditions: z.ZodEffects<z.ZodObject<{
|
|
851
|
-
all: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
852
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
983
|
+
all: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
984
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
985
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
853
986
|
fact: z.ZodString;
|
|
854
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
987
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
855
988
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
856
989
|
}, "strip", z.ZodTypeAny, {
|
|
857
990
|
fact: string;
|
|
858
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
991
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
859
992
|
value?: unknown;
|
|
860
993
|
}, {
|
|
861
994
|
fact: string;
|
|
862
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
995
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
996
|
+
value?: unknown;
|
|
997
|
+
}>, {
|
|
998
|
+
fact: string;
|
|
999
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1000
|
+
value?: unknown;
|
|
1001
|
+
}, {
|
|
1002
|
+
fact: string;
|
|
1003
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
863
1004
|
value?: unknown;
|
|
864
1005
|
}>, "many">>;
|
|
865
|
-
any: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
866
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
1006
|
+
any: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1007
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
1008
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
867
1009
|
fact: z.ZodString;
|
|
868
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
1010
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
869
1011
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
870
1012
|
}, "strip", z.ZodTypeAny, {
|
|
871
1013
|
fact: string;
|
|
872
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1014
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1015
|
+
value?: unknown;
|
|
1016
|
+
}, {
|
|
1017
|
+
fact: string;
|
|
1018
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1019
|
+
value?: unknown;
|
|
1020
|
+
}>, {
|
|
1021
|
+
fact: string;
|
|
1022
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
873
1023
|
value?: unknown;
|
|
874
1024
|
}, {
|
|
875
1025
|
fact: string;
|
|
876
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1026
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
877
1027
|
value?: unknown;
|
|
878
1028
|
}>, "many">>;
|
|
879
1029
|
}, "strip", z.ZodTypeAny, {
|
|
880
1030
|
all?: {
|
|
881
1031
|
fact: string;
|
|
882
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1032
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
883
1033
|
value?: unknown;
|
|
884
1034
|
}[] | undefined;
|
|
885
1035
|
any?: {
|
|
886
1036
|
fact: string;
|
|
887
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1037
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
888
1038
|
value?: unknown;
|
|
889
1039
|
}[] | undefined;
|
|
890
1040
|
}, {
|
|
891
1041
|
all?: {
|
|
892
1042
|
fact: string;
|
|
893
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1043
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
894
1044
|
value?: unknown;
|
|
895
1045
|
}[] | undefined;
|
|
896
1046
|
any?: {
|
|
897
1047
|
fact: string;
|
|
898
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1048
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
899
1049
|
value?: unknown;
|
|
900
1050
|
}[] | undefined;
|
|
901
1051
|
}>, {
|
|
902
1052
|
all?: {
|
|
903
1053
|
fact: string;
|
|
904
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1054
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
905
1055
|
value?: unknown;
|
|
906
1056
|
}[] | undefined;
|
|
907
1057
|
any?: {
|
|
908
1058
|
fact: string;
|
|
909
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1059
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
910
1060
|
value?: unknown;
|
|
911
1061
|
}[] | undefined;
|
|
912
1062
|
}, {
|
|
913
1063
|
all?: {
|
|
914
1064
|
fact: string;
|
|
915
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1065
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
916
1066
|
value?: unknown;
|
|
917
1067
|
}[] | undefined;
|
|
918
1068
|
any?: {
|
|
919
1069
|
fact: string;
|
|
920
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1070
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
921
1071
|
value?: unknown;
|
|
922
1072
|
}[] | undefined;
|
|
923
1073
|
}>;
|
|
@@ -1021,76 +1171,94 @@ export declare const zAiBindingSchema: z.ZodObject<{
|
|
|
1021
1171
|
applies_to?: "real_message" | "kickoff" | "any" | undefined;
|
|
1022
1172
|
}>>;
|
|
1023
1173
|
conditions: z.ZodEffects<z.ZodObject<{
|
|
1024
|
-
all: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1025
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
1174
|
+
all: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1175
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
1176
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
1026
1177
|
fact: z.ZodString;
|
|
1027
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
1178
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
1028
1179
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1029
1180
|
}, "strip", z.ZodTypeAny, {
|
|
1030
1181
|
fact: string;
|
|
1031
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1182
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1032
1183
|
value?: unknown;
|
|
1033
1184
|
}, {
|
|
1034
1185
|
fact: string;
|
|
1035
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1186
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1187
|
+
value?: unknown;
|
|
1188
|
+
}>, {
|
|
1189
|
+
fact: string;
|
|
1190
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1191
|
+
value?: unknown;
|
|
1192
|
+
}, {
|
|
1193
|
+
fact: string;
|
|
1194
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1036
1195
|
value?: unknown;
|
|
1037
1196
|
}>, "many">>;
|
|
1038
|
-
any: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1039
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
1197
|
+
any: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1198
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
1199
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
1040
1200
|
fact: z.ZodString;
|
|
1041
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
1201
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
1042
1202
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1043
1203
|
}, "strip", z.ZodTypeAny, {
|
|
1044
1204
|
fact: string;
|
|
1045
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1205
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1046
1206
|
value?: unknown;
|
|
1047
1207
|
}, {
|
|
1048
1208
|
fact: string;
|
|
1049
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1209
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1210
|
+
value?: unknown;
|
|
1211
|
+
}>, {
|
|
1212
|
+
fact: string;
|
|
1213
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1214
|
+
value?: unknown;
|
|
1215
|
+
}, {
|
|
1216
|
+
fact: string;
|
|
1217
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1050
1218
|
value?: unknown;
|
|
1051
1219
|
}>, "many">>;
|
|
1052
1220
|
}, "strip", z.ZodTypeAny, {
|
|
1053
1221
|
all?: {
|
|
1054
1222
|
fact: string;
|
|
1055
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1223
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1056
1224
|
value?: unknown;
|
|
1057
1225
|
}[] | undefined;
|
|
1058
1226
|
any?: {
|
|
1059
1227
|
fact: string;
|
|
1060
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1228
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1061
1229
|
value?: unknown;
|
|
1062
1230
|
}[] | undefined;
|
|
1063
1231
|
}, {
|
|
1064
1232
|
all?: {
|
|
1065
1233
|
fact: string;
|
|
1066
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1234
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1067
1235
|
value?: unknown;
|
|
1068
1236
|
}[] | undefined;
|
|
1069
1237
|
any?: {
|
|
1070
1238
|
fact: string;
|
|
1071
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1239
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1072
1240
|
value?: unknown;
|
|
1073
1241
|
}[] | undefined;
|
|
1074
1242
|
}>, {
|
|
1075
1243
|
all?: {
|
|
1076
1244
|
fact: string;
|
|
1077
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1245
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1078
1246
|
value?: unknown;
|
|
1079
1247
|
}[] | undefined;
|
|
1080
1248
|
any?: {
|
|
1081
1249
|
fact: string;
|
|
1082
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1250
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1083
1251
|
value?: unknown;
|
|
1084
1252
|
}[] | undefined;
|
|
1085
1253
|
}, {
|
|
1086
1254
|
all?: {
|
|
1087
1255
|
fact: string;
|
|
1088
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1256
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1089
1257
|
value?: unknown;
|
|
1090
1258
|
}[] | undefined;
|
|
1091
1259
|
any?: {
|
|
1092
1260
|
fact: string;
|
|
1093
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1261
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1094
1262
|
value?: unknown;
|
|
1095
1263
|
}[] | undefined;
|
|
1096
1264
|
}>;
|
|
@@ -1135,76 +1303,94 @@ export declare const zAiBindingSchema: z.ZodObject<{
|
|
|
1135
1303
|
applies_to?: "real_message" | "kickoff" | "any" | undefined;
|
|
1136
1304
|
}>>;
|
|
1137
1305
|
conditions: z.ZodEffects<z.ZodObject<{
|
|
1138
|
-
all: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1139
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
1306
|
+
all: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1307
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
1308
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
1140
1309
|
fact: z.ZodString;
|
|
1141
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
1310
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
1142
1311
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1143
1312
|
}, "strip", z.ZodTypeAny, {
|
|
1144
1313
|
fact: string;
|
|
1145
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1314
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1146
1315
|
value?: unknown;
|
|
1147
1316
|
}, {
|
|
1148
1317
|
fact: string;
|
|
1149
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1318
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1319
|
+
value?: unknown;
|
|
1320
|
+
}>, {
|
|
1321
|
+
fact: string;
|
|
1322
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1323
|
+
value?: unknown;
|
|
1324
|
+
}, {
|
|
1325
|
+
fact: string;
|
|
1326
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1150
1327
|
value?: unknown;
|
|
1151
1328
|
}>, "many">>;
|
|
1152
|
-
any: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1153
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
1329
|
+
any: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1330
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
1331
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
1154
1332
|
fact: z.ZodString;
|
|
1155
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
1333
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
1156
1334
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1157
1335
|
}, "strip", z.ZodTypeAny, {
|
|
1158
1336
|
fact: string;
|
|
1159
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1337
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1338
|
+
value?: unknown;
|
|
1339
|
+
}, {
|
|
1340
|
+
fact: string;
|
|
1341
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1342
|
+
value?: unknown;
|
|
1343
|
+
}>, {
|
|
1344
|
+
fact: string;
|
|
1345
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1160
1346
|
value?: unknown;
|
|
1161
1347
|
}, {
|
|
1162
1348
|
fact: string;
|
|
1163
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1349
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1164
1350
|
value?: unknown;
|
|
1165
1351
|
}>, "many">>;
|
|
1166
1352
|
}, "strip", z.ZodTypeAny, {
|
|
1167
1353
|
all?: {
|
|
1168
1354
|
fact: string;
|
|
1169
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1355
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1170
1356
|
value?: unknown;
|
|
1171
1357
|
}[] | undefined;
|
|
1172
1358
|
any?: {
|
|
1173
1359
|
fact: string;
|
|
1174
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1360
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1175
1361
|
value?: unknown;
|
|
1176
1362
|
}[] | undefined;
|
|
1177
1363
|
}, {
|
|
1178
1364
|
all?: {
|
|
1179
1365
|
fact: string;
|
|
1180
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1366
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1181
1367
|
value?: unknown;
|
|
1182
1368
|
}[] | undefined;
|
|
1183
1369
|
any?: {
|
|
1184
1370
|
fact: string;
|
|
1185
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1371
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1186
1372
|
value?: unknown;
|
|
1187
1373
|
}[] | undefined;
|
|
1188
1374
|
}>, {
|
|
1189
1375
|
all?: {
|
|
1190
1376
|
fact: string;
|
|
1191
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1377
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1192
1378
|
value?: unknown;
|
|
1193
1379
|
}[] | undefined;
|
|
1194
1380
|
any?: {
|
|
1195
1381
|
fact: string;
|
|
1196
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1382
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1197
1383
|
value?: unknown;
|
|
1198
1384
|
}[] | undefined;
|
|
1199
1385
|
}, {
|
|
1200
1386
|
all?: {
|
|
1201
1387
|
fact: string;
|
|
1202
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1388
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1203
1389
|
value?: unknown;
|
|
1204
1390
|
}[] | undefined;
|
|
1205
1391
|
any?: {
|
|
1206
1392
|
fact: string;
|
|
1207
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1393
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1208
1394
|
value?: unknown;
|
|
1209
1395
|
}[] | undefined;
|
|
1210
1396
|
}>;
|
|
@@ -1249,76 +1435,94 @@ export declare const zAiBindingSchema: z.ZodObject<{
|
|
|
1249
1435
|
applies_to?: "real_message" | "kickoff" | "any" | undefined;
|
|
1250
1436
|
}>>;
|
|
1251
1437
|
conditions: z.ZodEffects<z.ZodObject<{
|
|
1252
|
-
all: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1253
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
1438
|
+
all: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1439
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
1440
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
1254
1441
|
fact: z.ZodString;
|
|
1255
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
1442
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
1256
1443
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1257
1444
|
}, "strip", z.ZodTypeAny, {
|
|
1258
1445
|
fact: string;
|
|
1259
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1446
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1447
|
+
value?: unknown;
|
|
1448
|
+
}, {
|
|
1449
|
+
fact: string;
|
|
1450
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1451
|
+
value?: unknown;
|
|
1452
|
+
}>, {
|
|
1453
|
+
fact: string;
|
|
1454
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1260
1455
|
value?: unknown;
|
|
1261
1456
|
}, {
|
|
1262
1457
|
fact: string;
|
|
1263
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1458
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1264
1459
|
value?: unknown;
|
|
1265
1460
|
}>, "many">>;
|
|
1266
|
-
any: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1267
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
1461
|
+
any: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1462
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
1463
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
1268
1464
|
fact: z.ZodString;
|
|
1269
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
1465
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
1270
1466
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1271
1467
|
}, "strip", z.ZodTypeAny, {
|
|
1272
1468
|
fact: string;
|
|
1273
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1469
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1470
|
+
value?: unknown;
|
|
1471
|
+
}, {
|
|
1472
|
+
fact: string;
|
|
1473
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1474
|
+
value?: unknown;
|
|
1475
|
+
}>, {
|
|
1476
|
+
fact: string;
|
|
1477
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1274
1478
|
value?: unknown;
|
|
1275
1479
|
}, {
|
|
1276
1480
|
fact: string;
|
|
1277
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1481
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1278
1482
|
value?: unknown;
|
|
1279
1483
|
}>, "many">>;
|
|
1280
1484
|
}, "strip", z.ZodTypeAny, {
|
|
1281
1485
|
all?: {
|
|
1282
1486
|
fact: string;
|
|
1283
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1487
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1284
1488
|
value?: unknown;
|
|
1285
1489
|
}[] | undefined;
|
|
1286
1490
|
any?: {
|
|
1287
1491
|
fact: string;
|
|
1288
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1492
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1289
1493
|
value?: unknown;
|
|
1290
1494
|
}[] | undefined;
|
|
1291
1495
|
}, {
|
|
1292
1496
|
all?: {
|
|
1293
1497
|
fact: string;
|
|
1294
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1498
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1295
1499
|
value?: unknown;
|
|
1296
1500
|
}[] | undefined;
|
|
1297
1501
|
any?: {
|
|
1298
1502
|
fact: string;
|
|
1299
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1503
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1300
1504
|
value?: unknown;
|
|
1301
1505
|
}[] | undefined;
|
|
1302
1506
|
}>, {
|
|
1303
1507
|
all?: {
|
|
1304
1508
|
fact: string;
|
|
1305
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1509
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1306
1510
|
value?: unknown;
|
|
1307
1511
|
}[] | undefined;
|
|
1308
1512
|
any?: {
|
|
1309
1513
|
fact: string;
|
|
1310
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1514
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1311
1515
|
value?: unknown;
|
|
1312
1516
|
}[] | undefined;
|
|
1313
1517
|
}, {
|
|
1314
1518
|
all?: {
|
|
1315
1519
|
fact: string;
|
|
1316
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1520
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1317
1521
|
value?: unknown;
|
|
1318
1522
|
}[] | undefined;
|
|
1319
1523
|
any?: {
|
|
1320
1524
|
fact: string;
|
|
1321
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1525
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1322
1526
|
value?: unknown;
|
|
1323
1527
|
}[] | undefined;
|
|
1324
1528
|
}>;
|
|
@@ -1426,76 +1630,94 @@ export declare const zAiBindingSchema: z.ZodObject<{
|
|
|
1426
1630
|
applies_to?: "real_message" | "kickoff" | "any" | undefined;
|
|
1427
1631
|
}>>;
|
|
1428
1632
|
conditions: z.ZodEffects<z.ZodObject<{
|
|
1429
|
-
all: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1430
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
1633
|
+
all: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1634
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
1635
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
1431
1636
|
fact: z.ZodString;
|
|
1432
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
1637
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
1433
1638
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1434
1639
|
}, "strip", z.ZodTypeAny, {
|
|
1435
1640
|
fact: string;
|
|
1436
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1641
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1437
1642
|
value?: unknown;
|
|
1438
1643
|
}, {
|
|
1439
1644
|
fact: string;
|
|
1440
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1645
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1646
|
+
value?: unknown;
|
|
1647
|
+
}>, {
|
|
1648
|
+
fact: string;
|
|
1649
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1650
|
+
value?: unknown;
|
|
1651
|
+
}, {
|
|
1652
|
+
fact: string;
|
|
1653
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1441
1654
|
value?: unknown;
|
|
1442
1655
|
}>, "many">>;
|
|
1443
|
-
any: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1444
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
1656
|
+
any: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1657
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
1658
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
1445
1659
|
fact: z.ZodString;
|
|
1446
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
1660
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
1447
1661
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1448
1662
|
}, "strip", z.ZodTypeAny, {
|
|
1449
1663
|
fact: string;
|
|
1450
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1664
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1665
|
+
value?: unknown;
|
|
1666
|
+
}, {
|
|
1667
|
+
fact: string;
|
|
1668
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1669
|
+
value?: unknown;
|
|
1670
|
+
}>, {
|
|
1671
|
+
fact: string;
|
|
1672
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1451
1673
|
value?: unknown;
|
|
1452
1674
|
}, {
|
|
1453
1675
|
fact: string;
|
|
1454
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1676
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1455
1677
|
value?: unknown;
|
|
1456
1678
|
}>, "many">>;
|
|
1457
1679
|
}, "strip", z.ZodTypeAny, {
|
|
1458
1680
|
all?: {
|
|
1459
1681
|
fact: string;
|
|
1460
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1682
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1461
1683
|
value?: unknown;
|
|
1462
1684
|
}[] | undefined;
|
|
1463
1685
|
any?: {
|
|
1464
1686
|
fact: string;
|
|
1465
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1687
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1466
1688
|
value?: unknown;
|
|
1467
1689
|
}[] | undefined;
|
|
1468
1690
|
}, {
|
|
1469
1691
|
all?: {
|
|
1470
1692
|
fact: string;
|
|
1471
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1693
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1472
1694
|
value?: unknown;
|
|
1473
1695
|
}[] | undefined;
|
|
1474
1696
|
any?: {
|
|
1475
1697
|
fact: string;
|
|
1476
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1698
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1477
1699
|
value?: unknown;
|
|
1478
1700
|
}[] | undefined;
|
|
1479
1701
|
}>, {
|
|
1480
1702
|
all?: {
|
|
1481
1703
|
fact: string;
|
|
1482
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1704
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1483
1705
|
value?: unknown;
|
|
1484
1706
|
}[] | undefined;
|
|
1485
1707
|
any?: {
|
|
1486
1708
|
fact: string;
|
|
1487
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1709
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1488
1710
|
value?: unknown;
|
|
1489
1711
|
}[] | undefined;
|
|
1490
1712
|
}, {
|
|
1491
1713
|
all?: {
|
|
1492
1714
|
fact: string;
|
|
1493
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1715
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1494
1716
|
value?: unknown;
|
|
1495
1717
|
}[] | undefined;
|
|
1496
1718
|
any?: {
|
|
1497
1719
|
fact: string;
|
|
1498
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1720
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1499
1721
|
value?: unknown;
|
|
1500
1722
|
}[] | undefined;
|
|
1501
1723
|
}>;
|
|
@@ -1540,76 +1762,94 @@ export declare const zAiBindingSchema: z.ZodObject<{
|
|
|
1540
1762
|
applies_to?: "real_message" | "kickoff" | "any" | undefined;
|
|
1541
1763
|
}>>;
|
|
1542
1764
|
conditions: z.ZodEffects<z.ZodObject<{
|
|
1543
|
-
all: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1544
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
1765
|
+
all: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1766
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
1767
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
1545
1768
|
fact: z.ZodString;
|
|
1546
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
1769
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
1547
1770
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1548
1771
|
}, "strip", z.ZodTypeAny, {
|
|
1549
1772
|
fact: string;
|
|
1550
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1773
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1551
1774
|
value?: unknown;
|
|
1552
1775
|
}, {
|
|
1553
1776
|
fact: string;
|
|
1554
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1777
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1778
|
+
value?: unknown;
|
|
1779
|
+
}>, {
|
|
1780
|
+
fact: string;
|
|
1781
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1782
|
+
value?: unknown;
|
|
1783
|
+
}, {
|
|
1784
|
+
fact: string;
|
|
1785
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1555
1786
|
value?: unknown;
|
|
1556
1787
|
}>, "many">>;
|
|
1557
|
-
any: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1558
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
1788
|
+
any: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1789
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
1790
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
1559
1791
|
fact: z.ZodString;
|
|
1560
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
1792
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
1561
1793
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1562
1794
|
}, "strip", z.ZodTypeAny, {
|
|
1563
1795
|
fact: string;
|
|
1564
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1796
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1565
1797
|
value?: unknown;
|
|
1566
1798
|
}, {
|
|
1567
1799
|
fact: string;
|
|
1568
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1800
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1801
|
+
value?: unknown;
|
|
1802
|
+
}>, {
|
|
1803
|
+
fact: string;
|
|
1804
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1805
|
+
value?: unknown;
|
|
1806
|
+
}, {
|
|
1807
|
+
fact: string;
|
|
1808
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1569
1809
|
value?: unknown;
|
|
1570
1810
|
}>, "many">>;
|
|
1571
1811
|
}, "strip", z.ZodTypeAny, {
|
|
1572
1812
|
all?: {
|
|
1573
1813
|
fact: string;
|
|
1574
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1814
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1575
1815
|
value?: unknown;
|
|
1576
1816
|
}[] | undefined;
|
|
1577
1817
|
any?: {
|
|
1578
1818
|
fact: string;
|
|
1579
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1819
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1580
1820
|
value?: unknown;
|
|
1581
1821
|
}[] | undefined;
|
|
1582
1822
|
}, {
|
|
1583
1823
|
all?: {
|
|
1584
1824
|
fact: string;
|
|
1585
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1825
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1586
1826
|
value?: unknown;
|
|
1587
1827
|
}[] | undefined;
|
|
1588
1828
|
any?: {
|
|
1589
1829
|
fact: string;
|
|
1590
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1830
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1591
1831
|
value?: unknown;
|
|
1592
1832
|
}[] | undefined;
|
|
1593
1833
|
}>, {
|
|
1594
1834
|
all?: {
|
|
1595
1835
|
fact: string;
|
|
1596
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1836
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1597
1837
|
value?: unknown;
|
|
1598
1838
|
}[] | undefined;
|
|
1599
1839
|
any?: {
|
|
1600
1840
|
fact: string;
|
|
1601
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1841
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1602
1842
|
value?: unknown;
|
|
1603
1843
|
}[] | undefined;
|
|
1604
1844
|
}, {
|
|
1605
1845
|
all?: {
|
|
1606
1846
|
fact: string;
|
|
1607
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1847
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1608
1848
|
value?: unknown;
|
|
1609
1849
|
}[] | undefined;
|
|
1610
1850
|
any?: {
|
|
1611
1851
|
fact: string;
|
|
1612
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1852
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1613
1853
|
value?: unknown;
|
|
1614
1854
|
}[] | undefined;
|
|
1615
1855
|
}>;
|
|
@@ -1654,76 +1894,94 @@ export declare const zAiBindingSchema: z.ZodObject<{
|
|
|
1654
1894
|
applies_to?: "real_message" | "kickoff" | "any" | undefined;
|
|
1655
1895
|
}>>;
|
|
1656
1896
|
conditions: z.ZodEffects<z.ZodObject<{
|
|
1657
|
-
all: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1658
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
1897
|
+
all: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1898
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
1899
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
1659
1900
|
fact: z.ZodString;
|
|
1660
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
1901
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
1661
1902
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1662
1903
|
}, "strip", z.ZodTypeAny, {
|
|
1663
1904
|
fact: string;
|
|
1664
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1905
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1906
|
+
value?: unknown;
|
|
1907
|
+
}, {
|
|
1908
|
+
fact: string;
|
|
1909
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1910
|
+
value?: unknown;
|
|
1911
|
+
}>, {
|
|
1912
|
+
fact: string;
|
|
1913
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1665
1914
|
value?: unknown;
|
|
1666
1915
|
}, {
|
|
1667
1916
|
fact: string;
|
|
1668
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1917
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1669
1918
|
value?: unknown;
|
|
1670
1919
|
}>, "many">>;
|
|
1671
|
-
any: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1672
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
1920
|
+
any: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1921
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
1922
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
1673
1923
|
fact: z.ZodString;
|
|
1674
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
1924
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
1675
1925
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1676
1926
|
}, "strip", z.ZodTypeAny, {
|
|
1677
1927
|
fact: string;
|
|
1678
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1928
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1929
|
+
value?: unknown;
|
|
1930
|
+
}, {
|
|
1931
|
+
fact: string;
|
|
1932
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1933
|
+
value?: unknown;
|
|
1934
|
+
}>, {
|
|
1935
|
+
fact: string;
|
|
1936
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1679
1937
|
value?: unknown;
|
|
1680
1938
|
}, {
|
|
1681
1939
|
fact: string;
|
|
1682
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1940
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1683
1941
|
value?: unknown;
|
|
1684
1942
|
}>, "many">>;
|
|
1685
1943
|
}, "strip", z.ZodTypeAny, {
|
|
1686
1944
|
all?: {
|
|
1687
1945
|
fact: string;
|
|
1688
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1946
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1689
1947
|
value?: unknown;
|
|
1690
1948
|
}[] | undefined;
|
|
1691
1949
|
any?: {
|
|
1692
1950
|
fact: string;
|
|
1693
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1951
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1694
1952
|
value?: unknown;
|
|
1695
1953
|
}[] | undefined;
|
|
1696
1954
|
}, {
|
|
1697
1955
|
all?: {
|
|
1698
1956
|
fact: string;
|
|
1699
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1957
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1700
1958
|
value?: unknown;
|
|
1701
1959
|
}[] | undefined;
|
|
1702
1960
|
any?: {
|
|
1703
1961
|
fact: string;
|
|
1704
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1962
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1705
1963
|
value?: unknown;
|
|
1706
1964
|
}[] | undefined;
|
|
1707
1965
|
}>, {
|
|
1708
1966
|
all?: {
|
|
1709
1967
|
fact: string;
|
|
1710
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1968
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1711
1969
|
value?: unknown;
|
|
1712
1970
|
}[] | undefined;
|
|
1713
1971
|
any?: {
|
|
1714
1972
|
fact: string;
|
|
1715
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1973
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1716
1974
|
value?: unknown;
|
|
1717
1975
|
}[] | undefined;
|
|
1718
1976
|
}, {
|
|
1719
1977
|
all?: {
|
|
1720
1978
|
fact: string;
|
|
1721
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1979
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1722
1980
|
value?: unknown;
|
|
1723
1981
|
}[] | undefined;
|
|
1724
1982
|
any?: {
|
|
1725
1983
|
fact: string;
|
|
1726
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
1984
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1727
1985
|
value?: unknown;
|
|
1728
1986
|
}[] | undefined;
|
|
1729
1987
|
}>;
|
|
@@ -1831,76 +2089,94 @@ export declare const zAiBindingSchema: z.ZodObject<{
|
|
|
1831
2089
|
applies_to?: "real_message" | "kickoff" | "any" | undefined;
|
|
1832
2090
|
}>>;
|
|
1833
2091
|
conditions: z.ZodEffects<z.ZodObject<{
|
|
1834
|
-
all: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1835
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
2092
|
+
all: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2093
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
2094
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
1836
2095
|
fact: z.ZodString;
|
|
1837
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
2096
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
1838
2097
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1839
2098
|
}, "strip", z.ZodTypeAny, {
|
|
1840
2099
|
fact: string;
|
|
1841
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2100
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2101
|
+
value?: unknown;
|
|
2102
|
+
}, {
|
|
2103
|
+
fact: string;
|
|
2104
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2105
|
+
value?: unknown;
|
|
2106
|
+
}>, {
|
|
2107
|
+
fact: string;
|
|
2108
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1842
2109
|
value?: unknown;
|
|
1843
2110
|
}, {
|
|
1844
2111
|
fact: string;
|
|
1845
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2112
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1846
2113
|
value?: unknown;
|
|
1847
2114
|
}>, "many">>;
|
|
1848
|
-
any: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1849
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
2115
|
+
any: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2116
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
2117
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
1850
2118
|
fact: z.ZodString;
|
|
1851
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
2119
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
1852
2120
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1853
2121
|
}, "strip", z.ZodTypeAny, {
|
|
1854
2122
|
fact: string;
|
|
1855
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2123
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2124
|
+
value?: unknown;
|
|
2125
|
+
}, {
|
|
2126
|
+
fact: string;
|
|
2127
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2128
|
+
value?: unknown;
|
|
2129
|
+
}>, {
|
|
2130
|
+
fact: string;
|
|
2131
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1856
2132
|
value?: unknown;
|
|
1857
2133
|
}, {
|
|
1858
2134
|
fact: string;
|
|
1859
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2135
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1860
2136
|
value?: unknown;
|
|
1861
2137
|
}>, "many">>;
|
|
1862
2138
|
}, "strip", z.ZodTypeAny, {
|
|
1863
2139
|
all?: {
|
|
1864
2140
|
fact: string;
|
|
1865
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2141
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1866
2142
|
value?: unknown;
|
|
1867
2143
|
}[] | undefined;
|
|
1868
2144
|
any?: {
|
|
1869
2145
|
fact: string;
|
|
1870
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2146
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1871
2147
|
value?: unknown;
|
|
1872
2148
|
}[] | undefined;
|
|
1873
2149
|
}, {
|
|
1874
2150
|
all?: {
|
|
1875
2151
|
fact: string;
|
|
1876
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2152
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1877
2153
|
value?: unknown;
|
|
1878
2154
|
}[] | undefined;
|
|
1879
2155
|
any?: {
|
|
1880
2156
|
fact: string;
|
|
1881
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2157
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1882
2158
|
value?: unknown;
|
|
1883
2159
|
}[] | undefined;
|
|
1884
2160
|
}>, {
|
|
1885
2161
|
all?: {
|
|
1886
2162
|
fact: string;
|
|
1887
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2163
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1888
2164
|
value?: unknown;
|
|
1889
2165
|
}[] | undefined;
|
|
1890
2166
|
any?: {
|
|
1891
2167
|
fact: string;
|
|
1892
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2168
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1893
2169
|
value?: unknown;
|
|
1894
2170
|
}[] | undefined;
|
|
1895
2171
|
}, {
|
|
1896
2172
|
all?: {
|
|
1897
2173
|
fact: string;
|
|
1898
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2174
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1899
2175
|
value?: unknown;
|
|
1900
2176
|
}[] | undefined;
|
|
1901
2177
|
any?: {
|
|
1902
2178
|
fact: string;
|
|
1903
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2179
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1904
2180
|
value?: unknown;
|
|
1905
2181
|
}[] | undefined;
|
|
1906
2182
|
}>;
|
|
@@ -1945,76 +2221,94 @@ export declare const zAiBindingSchema: z.ZodObject<{
|
|
|
1945
2221
|
applies_to?: "real_message" | "kickoff" | "any" | undefined;
|
|
1946
2222
|
}>>;
|
|
1947
2223
|
conditions: z.ZodEffects<z.ZodObject<{
|
|
1948
|
-
all: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1949
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
2224
|
+
all: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2225
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
2226
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
1950
2227
|
fact: z.ZodString;
|
|
1951
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
2228
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
1952
2229
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1953
2230
|
}, "strip", z.ZodTypeAny, {
|
|
1954
2231
|
fact: string;
|
|
1955
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2232
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1956
2233
|
value?: unknown;
|
|
1957
2234
|
}, {
|
|
1958
2235
|
fact: string;
|
|
1959
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2236
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2237
|
+
value?: unknown;
|
|
2238
|
+
}>, {
|
|
2239
|
+
fact: string;
|
|
2240
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2241
|
+
value?: unknown;
|
|
2242
|
+
}, {
|
|
2243
|
+
fact: string;
|
|
2244
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1960
2245
|
value?: unknown;
|
|
1961
2246
|
}>, "many">>;
|
|
1962
|
-
any: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1963
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
2247
|
+
any: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2248
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
2249
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
1964
2250
|
fact: z.ZodString;
|
|
1965
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
2251
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
1966
2252
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
1967
2253
|
}, "strip", z.ZodTypeAny, {
|
|
1968
2254
|
fact: string;
|
|
1969
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2255
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2256
|
+
value?: unknown;
|
|
2257
|
+
}, {
|
|
2258
|
+
fact: string;
|
|
2259
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2260
|
+
value?: unknown;
|
|
2261
|
+
}>, {
|
|
2262
|
+
fact: string;
|
|
2263
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1970
2264
|
value?: unknown;
|
|
1971
2265
|
}, {
|
|
1972
2266
|
fact: string;
|
|
1973
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2267
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1974
2268
|
value?: unknown;
|
|
1975
2269
|
}>, "many">>;
|
|
1976
2270
|
}, "strip", z.ZodTypeAny, {
|
|
1977
2271
|
all?: {
|
|
1978
2272
|
fact: string;
|
|
1979
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2273
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1980
2274
|
value?: unknown;
|
|
1981
2275
|
}[] | undefined;
|
|
1982
2276
|
any?: {
|
|
1983
2277
|
fact: string;
|
|
1984
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2278
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1985
2279
|
value?: unknown;
|
|
1986
2280
|
}[] | undefined;
|
|
1987
2281
|
}, {
|
|
1988
2282
|
all?: {
|
|
1989
2283
|
fact: string;
|
|
1990
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2284
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1991
2285
|
value?: unknown;
|
|
1992
2286
|
}[] | undefined;
|
|
1993
2287
|
any?: {
|
|
1994
2288
|
fact: string;
|
|
1995
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2289
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
1996
2290
|
value?: unknown;
|
|
1997
2291
|
}[] | undefined;
|
|
1998
2292
|
}>, {
|
|
1999
2293
|
all?: {
|
|
2000
2294
|
fact: string;
|
|
2001
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2295
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2002
2296
|
value?: unknown;
|
|
2003
2297
|
}[] | undefined;
|
|
2004
2298
|
any?: {
|
|
2005
2299
|
fact: string;
|
|
2006
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2300
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2007
2301
|
value?: unknown;
|
|
2008
2302
|
}[] | undefined;
|
|
2009
2303
|
}, {
|
|
2010
2304
|
all?: {
|
|
2011
2305
|
fact: string;
|
|
2012
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2306
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2013
2307
|
value?: unknown;
|
|
2014
2308
|
}[] | undefined;
|
|
2015
2309
|
any?: {
|
|
2016
2310
|
fact: string;
|
|
2017
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2311
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2018
2312
|
value?: unknown;
|
|
2019
2313
|
}[] | undefined;
|
|
2020
2314
|
}>;
|
|
@@ -2059,76 +2353,94 @@ export declare const zAiBindingSchema: z.ZodObject<{
|
|
|
2059
2353
|
applies_to?: "real_message" | "kickoff" | "any" | undefined;
|
|
2060
2354
|
}>>;
|
|
2061
2355
|
conditions: z.ZodEffects<z.ZodObject<{
|
|
2062
|
-
all: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2063
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
2356
|
+
all: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2357
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
2358
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
2064
2359
|
fact: z.ZodString;
|
|
2065
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
2360
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
2066
2361
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
2067
2362
|
}, "strip", z.ZodTypeAny, {
|
|
2068
2363
|
fact: string;
|
|
2069
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2364
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2070
2365
|
value?: unknown;
|
|
2071
2366
|
}, {
|
|
2072
2367
|
fact: string;
|
|
2073
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2368
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2369
|
+
value?: unknown;
|
|
2370
|
+
}>, {
|
|
2371
|
+
fact: string;
|
|
2372
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2373
|
+
value?: unknown;
|
|
2374
|
+
}, {
|
|
2375
|
+
fact: string;
|
|
2376
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2074
2377
|
value?: unknown;
|
|
2075
2378
|
}>, "many">>;
|
|
2076
|
-
any: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2077
|
-
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead"
|
|
2379
|
+
any: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2380
|
+
/** Dot-path no namespace de facts (ex: "lead.tag_names", "contact.has_lead",
|
|
2381
|
+
* "now.iso" — este último para operadores de schedule). */
|
|
2078
2382
|
fact: z.ZodString;
|
|
2079
|
-
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte"]>;
|
|
2383
|
+
op: z.ZodEnum<["exists", "not_exists", "is_empty", "is_not_empty", "eq", "neq", "in", "not_in", "contains", "not_contains", "matches", "gt", "gte", "lt", "lte", "in_schedule", "not_in_schedule"]>;
|
|
2080
2384
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
2081
2385
|
}, "strip", z.ZodTypeAny, {
|
|
2082
2386
|
fact: string;
|
|
2083
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2387
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2388
|
+
value?: unknown;
|
|
2389
|
+
}, {
|
|
2390
|
+
fact: string;
|
|
2391
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2392
|
+
value?: unknown;
|
|
2393
|
+
}>, {
|
|
2394
|
+
fact: string;
|
|
2395
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2084
2396
|
value?: unknown;
|
|
2085
2397
|
}, {
|
|
2086
2398
|
fact: string;
|
|
2087
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2399
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2088
2400
|
value?: unknown;
|
|
2089
2401
|
}>, "many">>;
|
|
2090
2402
|
}, "strip", z.ZodTypeAny, {
|
|
2091
2403
|
all?: {
|
|
2092
2404
|
fact: string;
|
|
2093
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2405
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2094
2406
|
value?: unknown;
|
|
2095
2407
|
}[] | undefined;
|
|
2096
2408
|
any?: {
|
|
2097
2409
|
fact: string;
|
|
2098
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2410
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2099
2411
|
value?: unknown;
|
|
2100
2412
|
}[] | undefined;
|
|
2101
2413
|
}, {
|
|
2102
2414
|
all?: {
|
|
2103
2415
|
fact: string;
|
|
2104
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2416
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2105
2417
|
value?: unknown;
|
|
2106
2418
|
}[] | undefined;
|
|
2107
2419
|
any?: {
|
|
2108
2420
|
fact: string;
|
|
2109
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2421
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2110
2422
|
value?: unknown;
|
|
2111
2423
|
}[] | undefined;
|
|
2112
2424
|
}>, {
|
|
2113
2425
|
all?: {
|
|
2114
2426
|
fact: string;
|
|
2115
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2427
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2116
2428
|
value?: unknown;
|
|
2117
2429
|
}[] | undefined;
|
|
2118
2430
|
any?: {
|
|
2119
2431
|
fact: string;
|
|
2120
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2432
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2121
2433
|
value?: unknown;
|
|
2122
2434
|
}[] | undefined;
|
|
2123
2435
|
}, {
|
|
2124
2436
|
all?: {
|
|
2125
2437
|
fact: string;
|
|
2126
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2438
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2127
2439
|
value?: unknown;
|
|
2128
2440
|
}[] | undefined;
|
|
2129
2441
|
any?: {
|
|
2130
2442
|
fact: string;
|
|
2131
|
-
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte";
|
|
2443
|
+
op: "in" | "exists" | "not_exists" | "is_empty" | "is_not_empty" | "eq" | "neq" | "not_in" | "contains" | "not_contains" | "matches" | "gt" | "gte" | "lt" | "lte" | "in_schedule" | "not_in_schedule";
|
|
2132
2444
|
value?: unknown;
|
|
2133
2445
|
}[] | undefined;
|
|
2134
2446
|
}>;
|