evo360-types 1.3.505 → 1.3.510

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.
@@ -11,37 +11,44 @@ export declare const zTaskDedupWindowSchema: z.ZodEnum<["same_day", "n_hours", "
11
11
  export declare const zExternalObjectTypeSchema: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
12
12
  export declare const zTaskExternalObjectTypeSchema: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
13
13
  export declare const zTaskExecutionStatusSchema: z.ZodEnum<["success", "error", "retry"]>;
14
+ export declare const zExternalOwnerSystemSchema: z.ZodEnum<["nexus"]>;
14
15
  export declare const zExternalLinkSchema: z.ZodObject<{
15
16
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
16
17
  id: z.ZodString;
17
18
  label: z.ZodOptional<z.ZodString>;
18
19
  ref: z.ZodOptional<z.ZodAny>;
20
+ owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
19
21
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
20
22
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
21
23
  id: z.ZodString;
22
24
  label: z.ZodOptional<z.ZodString>;
23
25
  ref: z.ZodOptional<z.ZodAny>;
26
+ owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
24
27
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
25
28
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
26
29
  id: z.ZodString;
27
30
  label: z.ZodOptional<z.ZodString>;
28
31
  ref: z.ZodOptional<z.ZodAny>;
32
+ owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
29
33
  }, z.ZodTypeAny, "passthrough">>;
30
34
  export declare const zTaskExternalLinkSchema: z.ZodObject<{
31
35
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
32
36
  id: z.ZodString;
33
37
  label: z.ZodOptional<z.ZodString>;
34
38
  ref: z.ZodOptional<z.ZodAny>;
39
+ owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
35
40
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
36
41
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
37
42
  id: z.ZodString;
38
43
  label: z.ZodOptional<z.ZodString>;
39
44
  ref: z.ZodOptional<z.ZodAny>;
45
+ owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
40
46
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
41
47
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
42
48
  id: z.ZodString;
43
49
  label: z.ZodOptional<z.ZodString>;
44
50
  ref: z.ZodOptional<z.ZodAny>;
51
+ owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
45
52
  }, z.ZodTypeAny, "passthrough">>;
46
53
  export declare const zTaskScheduleSchema: z.ZodObject<{
47
54
  execute_at: z.ZodOptional<z.ZodDate>;
@@ -489,16 +496,19 @@ export declare const zTaskSchema: z.ZodObject<{
489
496
  id: z.ZodString;
490
497
  label: z.ZodOptional<z.ZodString>;
491
498
  ref: z.ZodOptional<z.ZodAny>;
499
+ owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
492
500
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
493
501
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
494
502
  id: z.ZodString;
495
503
  label: z.ZodOptional<z.ZodString>;
496
504
  ref: z.ZodOptional<z.ZodAny>;
505
+ owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
497
506
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
498
507
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
499
508
  id: z.ZodString;
500
509
  label: z.ZodOptional<z.ZodString>;
501
510
  ref: z.ZodOptional<z.ZodAny>;
511
+ owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
502
512
  }, z.ZodTypeAny, "passthrough">>, "many">>;
503
513
  externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
504
514
  idempotency_key: z.ZodOptional<z.ZodString>;
@@ -927,16 +937,19 @@ export declare const zTaskSchema: z.ZodObject<{
927
937
  id: z.ZodString;
928
938
  label: z.ZodOptional<z.ZodString>;
929
939
  ref: z.ZodOptional<z.ZodAny>;
940
+ owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
930
941
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
931
942
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
932
943
  id: z.ZodString;
933
944
  label: z.ZodOptional<z.ZodString>;
934
945
  ref: z.ZodOptional<z.ZodAny>;
946
+ owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
935
947
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
936
948
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
937
949
  id: z.ZodString;
938
950
  label: z.ZodOptional<z.ZodString>;
939
951
  ref: z.ZodOptional<z.ZodAny>;
952
+ owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
940
953
  }, z.ZodTypeAny, "passthrough">>, "many">>;
941
954
  externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
942
955
  idempotency_key: z.ZodOptional<z.ZodString>;
@@ -1365,16 +1378,19 @@ export declare const zTaskSchema: z.ZodObject<{
1365
1378
  id: z.ZodString;
1366
1379
  label: z.ZodOptional<z.ZodString>;
1367
1380
  ref: z.ZodOptional<z.ZodAny>;
1381
+ owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
1368
1382
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1369
1383
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1370
1384
  id: z.ZodString;
1371
1385
  label: z.ZodOptional<z.ZodString>;
1372
1386
  ref: z.ZodOptional<z.ZodAny>;
1387
+ owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
1373
1388
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1374
1389
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
1375
1390
  id: z.ZodString;
1376
1391
  label: z.ZodOptional<z.ZodString>;
1377
1392
  ref: z.ZodOptional<z.ZodAny>;
1393
+ owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
1378
1394
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1379
1395
  externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1380
1396
  idempotency_key: z.ZodOptional<z.ZodString>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.zTaskLogSchema = exports.zTaskExecutionSchema = exports.zTaskExecutionProviderSchema = exports.zTaskExecutionErrorSchema = exports.zTaskCommentSchema = exports.zTaskCommentAuthorSchema = exports.zTaskSchema = exports.zTaskCreatorSchema = exports.zTaskOnFailureSchema = exports.zTaskAutoSpecSchema = exports.zTaskDedupSchema = exports.zTaskRetryPolicySchema = exports.zTaskRunnerStateSchema = exports.zTaskLockSchema = exports.zTaskUserAssigneeSchema = exports.zTaskScheduleSchema = exports.zTaskExternalLinkSchema = exports.zExternalLinkSchema = exports.zTaskExecutionStatusSchema = exports.zTaskExternalObjectTypeSchema = exports.zExternalObjectTypeSchema = exports.zTaskDedupWindowSchema = exports.zTaskDedupScopeSchema = exports.zTaskRetryStrategySchema = exports.zTaskAutoHandlerSchema = exports.zTaskModeSchema = exports.zTaskSourceSchema = exports.zTaskPrioritySchema = exports.zTaskStatusSchema = exports.zTaskActionSchema = void 0;
3
+ exports.zTaskLogSchema = exports.zTaskExecutionSchema = exports.zTaskExecutionProviderSchema = exports.zTaskExecutionErrorSchema = exports.zTaskCommentSchema = exports.zTaskCommentAuthorSchema = exports.zTaskSchema = exports.zTaskCreatorSchema = exports.zTaskOnFailureSchema = exports.zTaskAutoSpecSchema = exports.zTaskDedupSchema = exports.zTaskRetryPolicySchema = exports.zTaskRunnerStateSchema = exports.zTaskLockSchema = exports.zTaskUserAssigneeSchema = exports.zTaskScheduleSchema = exports.zTaskExternalLinkSchema = exports.zExternalLinkSchema = exports.zExternalOwnerSystemSchema = exports.zTaskExecutionStatusSchema = exports.zTaskExternalObjectTypeSchema = exports.zExternalObjectTypeSchema = exports.zTaskDedupWindowSchema = exports.zTaskDedupScopeSchema = exports.zTaskRetryStrategySchema = exports.zTaskAutoHandlerSchema = exports.zTaskModeSchema = exports.zTaskSourceSchema = exports.zTaskPrioritySchema = exports.zTaskStatusSchema = exports.zTaskActionSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const zod_schemas_1 = require("../shared/zod-schemas");
6
6
  exports.zTaskActionSchema = zod_1.z.enum([
@@ -95,12 +95,18 @@ exports.zExternalObjectTypeSchema = zod_1.z.enum([
95
95
  exports.zTaskExternalObjectTypeSchema = exports.zExternalObjectTypeSchema;
96
96
  exports.zTaskExecutionStatusSchema = zod_1.z.enum(["success", "error", "retry"]);
97
97
  // Schema para IExternalLink (promoted to shared, renamed from Task-specific)
98
+ exports.zExternalOwnerSystemSchema = zod_1.z.enum(["nexus"]);
98
99
  exports.zExternalLinkSchema = zod_1.z
99
100
  .object({
100
101
  type: exports.zExternalObjectTypeSchema,
101
102
  id: zod_1.z.string(),
102
103
  label: zod_1.z.string().optional(),
103
104
  ref: zod_1.z.any().optional(), // FirestoreDocumentReference
105
+ // feat-125: `owner` vai EXPLÍCITO no schema, apesar do `.passthrough()` abaixo
106
+ // já deixar passar chave desconhecida. Sem isto, um typo (`onwer`) entraria
107
+ // calado e o link ficaria sem dono sem ninguém perceber — é exatamente o
108
+ // buraco que o passthrough esconde.
109
+ owner: exports.zExternalOwnerSystemSchema.optional(),
104
110
  })
105
111
  .passthrough();
106
112
  // Backward compatibility alias
@@ -105,12 +105,19 @@ export const zTaskExternalObjectTypeSchema = zExternalObjectTypeSchema;
105
105
  export const zTaskExecutionStatusSchema = z.enum(["success", "error", "retry"]);
106
106
 
107
107
  // Schema para IExternalLink (promoted to shared, renamed from Task-specific)
108
+ export const zExternalOwnerSystemSchema = z.enum(["nexus"]);
109
+
108
110
  export const zExternalLinkSchema = z
109
111
  .object({
110
112
  type: zExternalObjectTypeSchema,
111
113
  id: z.string(),
112
114
  label: z.string().optional(),
113
115
  ref: z.any().optional(), // FirestoreDocumentReference
116
+ // feat-125: `owner` vai EXPLÍCITO no schema, apesar do `.passthrough()` abaixo
117
+ // já deixar passar chave desconhecida. Sem isto, um typo (`onwer`) entraria
118
+ // calado e o link ficaria sem dono sem ninguém perceber — é exatamente o
119
+ // buraco que o passthrough esconde.
120
+ owner: zExternalOwnerSystemSchema.optional(),
114
121
  })
115
122
  .passthrough();
116
123
 
@@ -3468,21 +3468,6 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3468
3468
  created_at: Date;
3469
3469
  updated_at: Date;
3470
3470
  active: boolean;
3471
- trigger: {
3472
- type: "cron";
3473
- cron: {
3474
- expression: string;
3475
- timezone?: string | undefined;
3476
- };
3477
- } | {
3478
- type: "webhook";
3479
- } | {
3480
- type: "event";
3481
- event: {
3482
- types: string[];
3483
- actor_kinds?: ("user" | "system" | "automation")[] | undefined;
3484
- };
3485
- };
3486
3471
  selection: {
3487
3472
  appointment: {
3488
3473
  date_window: {
@@ -3516,6 +3501,21 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3516
3501
  };
3517
3502
  target: "patient";
3518
3503
  };
3504
+ trigger: {
3505
+ type: "cron";
3506
+ cron: {
3507
+ expression: string;
3508
+ timezone?: string | undefined;
3509
+ };
3510
+ } | {
3511
+ type: "webhook";
3512
+ } | {
3513
+ type: "event";
3514
+ event: {
3515
+ types: string[];
3516
+ actor_kinds?: ("user" | "system" | "automation")[] | undefined;
3517
+ };
3518
+ };
3519
3519
  branch_mode: "all" | "exclusive";
3520
3520
  branches: {
3521
3521
  name: string;
@@ -3664,21 +3664,6 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3664
3664
  id: string;
3665
3665
  created_at: Date;
3666
3666
  updated_at: Date;
3667
- trigger: {
3668
- type: "cron";
3669
- cron: {
3670
- expression: string;
3671
- timezone?: string | undefined;
3672
- };
3673
- } | {
3674
- type: "webhook";
3675
- } | {
3676
- type: "event";
3677
- event: {
3678
- types: string[];
3679
- actor_kinds?: ("user" | "system" | "automation")[] | undefined;
3680
- };
3681
- };
3682
3667
  selection: {
3683
3668
  appointment: {
3684
3669
  date_window: {
@@ -3712,6 +3697,21 @@ export declare const zAutomationRoutineSchema: z.ZodObject<{
3712
3697
  };
3713
3698
  target: "patient";
3714
3699
  };
3700
+ trigger: {
3701
+ type: "cron";
3702
+ cron: {
3703
+ expression: string;
3704
+ timezone?: string | undefined;
3705
+ };
3706
+ } | {
3707
+ type: "webhook";
3708
+ } | {
3709
+ type: "event";
3710
+ event: {
3711
+ types: string[];
3712
+ actor_kinds?: ("user" | "system" | "automation")[] | undefined;
3713
+ };
3714
+ };
3715
3715
  branch_mode: "all" | "exclusive";
3716
3716
  branches: {
3717
3717
  name: string;
@@ -4890,21 +4890,6 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
4890
4890
  name: string;
4891
4891
  id: string;
4892
4892
  active: boolean;
4893
- trigger: {
4894
- type: "cron";
4895
- cron: {
4896
- expression: string;
4897
- timezone?: string | undefined;
4898
- };
4899
- } | {
4900
- type: "webhook";
4901
- } | {
4902
- type: "event";
4903
- event: {
4904
- types: string[];
4905
- actor_kinds?: ("user" | "system" | "automation")[] | undefined;
4906
- };
4907
- };
4908
4893
  selection: {
4909
4894
  appointment: {
4910
4895
  date_window: {
@@ -4938,6 +4923,21 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
4938
4923
  };
4939
4924
  target: "patient";
4940
4925
  };
4926
+ trigger: {
4927
+ type: "cron";
4928
+ cron: {
4929
+ expression: string;
4930
+ timezone?: string | undefined;
4931
+ };
4932
+ } | {
4933
+ type: "webhook";
4934
+ } | {
4935
+ type: "event";
4936
+ event: {
4937
+ types: string[];
4938
+ actor_kinds?: ("user" | "system" | "automation")[] | undefined;
4939
+ };
4940
+ };
4941
4941
  branch_mode: "all" | "exclusive";
4942
4942
  branches: {
4943
4943
  name: string;
@@ -5071,21 +5071,6 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
5071
5071
  }, {
5072
5072
  name: string;
5073
5073
  id: string;
5074
- trigger: {
5075
- type: "cron";
5076
- cron: {
5077
- expression: string;
5078
- timezone?: string | undefined;
5079
- };
5080
- } | {
5081
- type: "webhook";
5082
- } | {
5083
- type: "event";
5084
- event: {
5085
- types: string[];
5086
- actor_kinds?: ("user" | "system" | "automation")[] | undefined;
5087
- };
5088
- };
5089
5074
  selection: {
5090
5075
  appointment: {
5091
5076
  date_window: {
@@ -5119,6 +5104,21 @@ export declare const zAutomationRoutineWriteSchema: z.ZodObject<{
5119
5104
  };
5120
5105
  target: "patient";
5121
5106
  };
5107
+ trigger: {
5108
+ type: "cron";
5109
+ cron: {
5110
+ expression: string;
5111
+ timezone?: string | undefined;
5112
+ };
5113
+ } | {
5114
+ type: "webhook";
5115
+ } | {
5116
+ type: "event";
5117
+ event: {
5118
+ types: string[];
5119
+ actor_kinds?: ("user" | "system" | "automation")[] | undefined;
5120
+ };
5121
+ };
5122
5122
  branch_mode: "all" | "exclusive";
5123
5123
  branches: {
5124
5124
  name: string;
@@ -6284,21 +6284,6 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6284
6284
  name: string;
6285
6285
  id: string;
6286
6286
  active: boolean;
6287
- trigger: {
6288
- type: "cron";
6289
- cron: {
6290
- expression: string;
6291
- timezone?: string | undefined;
6292
- };
6293
- } | {
6294
- type: "webhook";
6295
- } | {
6296
- type: "event";
6297
- event: {
6298
- types: string[];
6299
- actor_kinds?: ("user" | "system" | "automation")[] | undefined;
6300
- };
6301
- };
6302
6287
  selection: {
6303
6288
  appointment: {
6304
6289
  date_window: {
@@ -6332,6 +6317,21 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6332
6317
  };
6333
6318
  target: "patient";
6334
6319
  };
6320
+ trigger: {
6321
+ type: "cron";
6322
+ cron: {
6323
+ expression: string;
6324
+ timezone?: string | undefined;
6325
+ };
6326
+ } | {
6327
+ type: "webhook";
6328
+ } | {
6329
+ type: "event";
6330
+ event: {
6331
+ types: string[];
6332
+ actor_kinds?: ("user" | "system" | "automation")[] | undefined;
6333
+ };
6334
+ };
6335
6335
  branch_mode: "all" | "exclusive";
6336
6336
  branches: {
6337
6337
  name: string;
@@ -6465,21 +6465,6 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6465
6465
  }, {
6466
6466
  name: string;
6467
6467
  id: string;
6468
- trigger: {
6469
- type: "cron";
6470
- cron: {
6471
- expression: string;
6472
- timezone?: string | undefined;
6473
- };
6474
- } | {
6475
- type: "webhook";
6476
- } | {
6477
- type: "event";
6478
- event: {
6479
- types: string[];
6480
- actor_kinds?: ("user" | "system" | "automation")[] | undefined;
6481
- };
6482
- };
6483
6468
  selection: {
6484
6469
  appointment: {
6485
6470
  date_window: {
@@ -6513,6 +6498,21 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6513
6498
  };
6514
6499
  target: "patient";
6515
6500
  };
6501
+ trigger: {
6502
+ type: "cron";
6503
+ cron: {
6504
+ expression: string;
6505
+ timezone?: string | undefined;
6506
+ };
6507
+ } | {
6508
+ type: "webhook";
6509
+ } | {
6510
+ type: "event";
6511
+ event: {
6512
+ types: string[];
6513
+ actor_kinds?: ("user" | "system" | "automation")[] | undefined;
6514
+ };
6515
+ };
6516
6516
  branch_mode: "all" | "exclusive";
6517
6517
  branches: {
6518
6518
  name: string;
@@ -6651,21 +6651,6 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6651
6651
  name: string;
6652
6652
  id: string;
6653
6653
  active: boolean;
6654
- trigger: {
6655
- type: "cron";
6656
- cron: {
6657
- expression: string;
6658
- timezone?: string | undefined;
6659
- };
6660
- } | {
6661
- type: "webhook";
6662
- } | {
6663
- type: "event";
6664
- event: {
6665
- types: string[];
6666
- actor_kinds?: ("user" | "system" | "automation")[] | undefined;
6667
- };
6668
- };
6669
6654
  selection: {
6670
6655
  appointment: {
6671
6656
  date_window: {
@@ -6699,6 +6684,21 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6699
6684
  };
6700
6685
  target: "patient";
6701
6686
  };
6687
+ trigger: {
6688
+ type: "cron";
6689
+ cron: {
6690
+ expression: string;
6691
+ timezone?: string | undefined;
6692
+ };
6693
+ } | {
6694
+ type: "webhook";
6695
+ } | {
6696
+ type: "event";
6697
+ event: {
6698
+ types: string[];
6699
+ actor_kinds?: ("user" | "system" | "automation")[] | undefined;
6700
+ };
6701
+ };
6702
6702
  branch_mode: "all" | "exclusive";
6703
6703
  branches: {
6704
6704
  name: string;
@@ -6835,21 +6835,6 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6835
6835
  routine: {
6836
6836
  name: string;
6837
6837
  id: string;
6838
- trigger: {
6839
- type: "cron";
6840
- cron: {
6841
- expression: string;
6842
- timezone?: string | undefined;
6843
- };
6844
- } | {
6845
- type: "webhook";
6846
- } | {
6847
- type: "event";
6848
- event: {
6849
- types: string[];
6850
- actor_kinds?: ("user" | "system" | "automation")[] | undefined;
6851
- };
6852
- };
6853
6838
  selection: {
6854
6839
  appointment: {
6855
6840
  date_window: {
@@ -6883,6 +6868,21 @@ export declare const zAutomationRoutineUpdateRequestSchema: z.ZodObject<{
6883
6868
  };
6884
6869
  target: "patient";
6885
6870
  };
6871
+ trigger: {
6872
+ type: "cron";
6873
+ cron: {
6874
+ expression: string;
6875
+ timezone?: string | undefined;
6876
+ };
6877
+ } | {
6878
+ type: "webhook";
6879
+ } | {
6880
+ type: "event";
6881
+ event: {
6882
+ types: string[];
6883
+ actor_kinds?: ("user" | "system" | "automation")[] | undefined;
6884
+ };
6885
+ };
6886
6886
  branch_mode: "all" | "exclusive";
6887
6887
  branches: {
6888
6888
  name: string;
@@ -1,4 +1,5 @@
1
1
  export * from "./fb_collections";
2
+ export * from "./test-suite";
2
3
  import type { IFireDoc } from "../shared";
3
4
  export declare const EvoIntegrationsPermissions: {
4
5
  readonly List: "evo_integrations_read";
@@ -18,6 +18,7 @@ exports.OBLIGATORY_CAPABILITIES = exports.SYNC_RUN_HANDLER = exports.SYNC_RUN_PU
18
18
  exports.isInternalCapability = isInternalCapability;
19
19
  exports.splitCapabilityName = splitCapabilityName;
20
20
  __exportStar(require("./fb_collections"), exports);
21
+ __exportStar(require("./test-suite"), exports);
21
22
  // ======================================================
22
23
  // evo-integrations
23
24
  //
@@ -1,4 +1,5 @@
1
1
  export * from "./fb_collections";
2
+ export * from "./test-suite";
2
3
  import type { IFireDoc } from "../shared";
3
4
 
4
5
  // ======================================================