evo360-types 1.3.630 → 1.3.637

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.
Files changed (66) hide show
  1. package/dist/apps/evo-activity/zod-schemas.d.ts +6 -6
  2. package/dist/apps/evo-chat/chatbee/zod-schemas.d.ts +6 -6
  3. package/dist/apps/evo-chat/contact/zod-schemas.d.ts +6 -6
  4. package/dist/apps/evo-chat/dic/ticket-close/zod-schemas.d.ts +12 -12
  5. package/dist/apps/evo-chat/message/zod-schemas.d.ts +6 -6
  6. package/dist/apps/evo-crm/dic/zod-schemas.d.ts +70 -18
  7. package/dist/apps/evo-crm/dic/zod-schemas.js +17 -1
  8. package/dist/apps/evo-crm/dic/zod-schemas.ts +20 -0
  9. package/dist/apps/evo-crm/lead/zod-schemas.d.ts +240 -6
  10. package/dist/apps/evo-crm/lead/zod-schemas.js +6 -0
  11. package/dist/apps/evo-crm/lead/zod-schemas.ts +6 -0
  12. package/dist/apps/evo-csq/zod-schemas.d.ts +52 -52
  13. package/dist/apps/evo-finops/zod-schemas.d.ts +439 -7
  14. package/dist/apps/evo-hub-ia/channel/zod-schemas.d.ts +2 -2
  15. package/dist/apps/evo-hub-ia/v1/zod-schemas.d.ts +28 -28
  16. package/dist/apps/evo-integrations/zod-schemas.d.ts +24 -16
  17. package/dist/apps/evo-integrations/zod-schemas.js +8 -1
  18. package/dist/apps/evo-integrations/zod-schemas.ts +9 -0
  19. package/dist/apps/evo-med/appointment/zod-schemas.d.ts +83 -6
  20. package/dist/apps/evo-med/appointment/zod-schemas.js +19 -1
  21. package/dist/apps/evo-med/appointment/zod-schemas.ts +21 -0
  22. package/dist/apps/evo-med/calendar/zod-schemas.d.ts +6 -6
  23. package/dist/apps/evo-med/dic/zod-schemas.d.ts +14 -14
  24. package/dist/apps/evo-med/insurance/zod-schemas.d.ts +6 -6
  25. package/dist/apps/evo-med/people/zod-schemas.d.ts +1118 -20
  26. package/dist/apps/evo-med/people/zod-schemas.js +6 -0
  27. package/dist/apps/evo-med/people/zod-schemas.ts +6 -0
  28. package/dist/apps/evo-med/procedure/zod-schemas.d.ts +12 -12
  29. package/dist/apps/evo-notif-user/zod-schemas.d.ts +18 -18
  30. package/dist/apps/evo-notifications/zod-schemas.d.ts +936 -0
  31. package/dist/apps/evo-people/zod-schemas.d.ts +24 -24
  32. package/dist/apps/evo-survey/zod-schemas.d.ts +79 -79
  33. package/dist/apps/evo-task/zod-schemas.d.ts +453 -78
  34. package/dist/apps/evo-task/zod-schemas.js +66 -1
  35. package/dist/apps/evo-task/zod-schemas.ts +71 -0
  36. package/dist/apps/evo-telemedicine/zod-schemas.d.ts +12 -0
  37. package/dist/apps/evo-telemedicine/zod-schemas.js +4 -0
  38. package/dist/apps/evo-telemedicine/zod-schemas.ts +4 -0
  39. package/dist/apps/evo-tenant/zod-schemas.d.ts +18 -5
  40. package/dist/apps/evo-tenant/zod-schemas.js +3 -0
  41. package/dist/apps/evo-tenant/zod-schemas.ts +3 -0
  42. package/dist/apps/hub-automation/zod-schemas.d.ts +327 -327
  43. package/dist/apps/shared/zod-schemas.d.ts +3 -3
  44. package/dist/types/evo-crm/dic/index.d.ts +16 -1
  45. package/dist/types/evo-crm/dic/index.ts +23 -1
  46. package/dist/types/evo-crm/fb_collections.d.ts +1 -0
  47. package/dist/types/evo-crm/fb_collections.js +5 -1
  48. package/dist/types/evo-crm/fb_collections.ts +4 -0
  49. package/dist/types/evo-crm/lead/index.d.ts +6 -0
  50. package/dist/types/evo-crm/lead/index.ts +6 -0
  51. package/dist/types/evo-integrations/index.d.ts +16 -0
  52. package/dist/types/evo-integrations/index.js +18 -1
  53. package/dist/types/evo-integrations/index.ts +26 -0
  54. package/dist/types/evo-med/appointment/index.d.ts +22 -0
  55. package/dist/types/evo-med/appointment/index.js +7 -1
  56. package/dist/types/evo-med/appointment/index.ts +30 -0
  57. package/dist/types/evo-med/people/index.d.ts +6 -0
  58. package/dist/types/evo-med/people/index.ts +6 -0
  59. package/dist/types/evo-telemedicine/index.d.ts +43 -0
  60. package/dist/types/evo-telemedicine/index.ts +43 -0
  61. package/dist/types/evo-tenant/index.d.ts +7 -0
  62. package/dist/types/evo-tenant/index.ts +7 -0
  63. package/dist/types/shared/external-links.d.ts +98 -0
  64. package/dist/types/shared/external-links.js +64 -1
  65. package/dist/types/shared/external-links.ts +118 -0
  66. package/package.json +1 -1
@@ -27,14 +27,14 @@ export declare const zIActivityEventSchema: z.ZodObject<{
27
27
  name: string;
28
28
  hidden: boolean;
29
29
  base?: boolean | undefined;
30
- color?: string | undefined;
31
30
  category?: string | null | undefined;
31
+ color?: string | undefined;
32
32
  }, {
33
33
  name: string;
34
34
  hidden: boolean;
35
35
  base?: boolean | undefined;
36
- color?: string | undefined;
37
36
  category?: string | null | undefined;
37
+ color?: string | undefined;
38
38
  }>, "many">>>;
39
39
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
40
40
  id: z.ZodString;
@@ -63,14 +63,14 @@ export declare const zIActivityEventSchema: z.ZodObject<{
63
63
  name: string;
64
64
  hidden: boolean;
65
65
  base?: boolean | undefined;
66
- color?: string | undefined;
67
66
  category?: string | null | undefined;
67
+ color?: string | undefined;
68
68
  }, {
69
69
  name: string;
70
70
  hidden: boolean;
71
71
  base?: boolean | undefined;
72
- color?: string | undefined;
73
72
  category?: string | null | undefined;
73
+ color?: string | undefined;
74
74
  }>, "many">>>;
75
75
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
76
76
  id: z.ZodString;
@@ -99,13 +99,13 @@ export declare const zIActivityEventSchema: z.ZodObject<{
99
99
  name: string;
100
100
  hidden: boolean;
101
101
  base?: boolean | undefined;
102
- color?: string | undefined;
103
102
  category?: string | null | undefined;
103
+ color?: string | undefined;
104
104
  }, {
105
105
  name: string;
106
106
  hidden: boolean;
107
107
  base?: boolean | undefined;
108
- color?: string | undefined;
109
108
  category?: string | null | undefined;
109
+ color?: string | undefined;
110
110
  }>, "many">>>;
111
111
  }, z.ZodTypeAny, "passthrough">>;
@@ -35,11 +35,11 @@ export declare const zChatBeeChannelConfigSchema: z.ZodObject<{
35
35
  allow_reply_mode: boolean;
36
36
  transcribe_audio_when_ai_disabled: boolean;
37
37
  suggest_agenda_action: boolean;
38
- task_creation: "disabled" | "suggestion" | "create";
38
+ task_creation: "create" | "disabled" | "suggestion";
39
39
  system_message_prompt: string;
40
40
  }, {
41
41
  default_operation_mode: "reply" | "suggestion";
42
- task_creation: "disabled" | "suggestion" | "create";
42
+ task_creation: "create" | "disabled" | "suggestion";
43
43
  system_message_prompt: string;
44
44
  active?: boolean | undefined;
45
45
  enabled_for_new_contacts?: boolean | undefined;
@@ -89,11 +89,11 @@ export declare const zChatBeeChannelConfigSchema: z.ZodObject<{
89
89
  allow_reply_mode: boolean;
90
90
  transcribe_audio_when_ai_disabled: boolean;
91
91
  suggest_agenda_action: boolean;
92
- task_creation: "disabled" | "suggestion" | "create";
92
+ task_creation: "create" | "disabled" | "suggestion";
93
93
  system_message_prompt: string;
94
94
  }, {
95
95
  default_operation_mode: "reply" | "suggestion";
96
- task_creation: "disabled" | "suggestion" | "create";
96
+ task_creation: "create" | "disabled" | "suggestion";
97
97
  system_message_prompt: string;
98
98
  active?: boolean | undefined;
99
99
  enabled_for_new_contacts?: boolean | undefined;
@@ -143,11 +143,11 @@ export declare const zChatBeeChannelConfigSchema: z.ZodObject<{
143
143
  allow_reply_mode: boolean;
144
144
  transcribe_audio_when_ai_disabled: boolean;
145
145
  suggest_agenda_action: boolean;
146
- task_creation: "disabled" | "suggestion" | "create";
146
+ task_creation: "create" | "disabled" | "suggestion";
147
147
  system_message_prompt: string;
148
148
  }, {
149
149
  default_operation_mode: "reply" | "suggestion";
150
- task_creation: "disabled" | "suggestion" | "create";
150
+ task_creation: "create" | "disabled" | "suggestion";
151
151
  system_message_prompt: string;
152
152
  active?: boolean | undefined;
153
153
  enabled_for_new_contacts?: boolean | undefined;
@@ -210,14 +210,14 @@ export declare const zChatContactSchema: z.ZodObject<{
210
210
  name: string;
211
211
  hidden: boolean;
212
212
  base?: boolean | undefined;
213
- color?: string | undefined;
214
213
  category?: string | null | undefined;
214
+ color?: string | undefined;
215
215
  }, {
216
216
  name: string;
217
217
  hidden: boolean;
218
218
  base?: boolean | undefined;
219
- color?: string | undefined;
220
219
  category?: string | null | undefined;
220
+ color?: string | undefined;
221
221
  }>, "many">>>;
222
222
  userRef: z.ZodAny;
223
223
  bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -438,14 +438,14 @@ export declare const zChatContactSchema: z.ZodObject<{
438
438
  name: string;
439
439
  hidden: boolean;
440
440
  base?: boolean | undefined;
441
- color?: string | undefined;
442
441
  category?: string | null | undefined;
442
+ color?: string | undefined;
443
443
  }, {
444
444
  name: string;
445
445
  hidden: boolean;
446
446
  base?: boolean | undefined;
447
- color?: string | undefined;
448
447
  category?: string | null | undefined;
448
+ color?: string | undefined;
449
449
  }>, "many">>>;
450
450
  userRef: z.ZodAny;
451
451
  bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -666,14 +666,14 @@ export declare const zChatContactSchema: z.ZodObject<{
666
666
  name: string;
667
667
  hidden: boolean;
668
668
  base?: boolean | undefined;
669
- color?: string | undefined;
670
669
  category?: string | null | undefined;
670
+ color?: string | undefined;
671
671
  }, {
672
672
  name: string;
673
673
  hidden: boolean;
674
674
  base?: boolean | undefined;
675
- color?: string | undefined;
676
675
  category?: string | null | undefined;
676
+ color?: string | undefined;
677
677
  }>, "many">>>;
678
678
  userRef: z.ZodAny;
679
679
  bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -20,14 +20,14 @@ export declare const zTicketCloseTypeSchema: z.ZodObject<{
20
20
  name: string;
21
21
  hidden: boolean;
22
22
  base?: boolean | undefined;
23
- color?: string | undefined;
24
23
  category?: string | null | undefined;
24
+ color?: string | undefined;
25
25
  }, {
26
26
  name: string;
27
27
  hidden: boolean;
28
28
  base?: boolean | undefined;
29
- color?: string | undefined;
30
29
  category?: string | null | undefined;
30
+ color?: string | undefined;
31
31
  }>, "many">>>;
32
32
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
33
33
  id: z.ZodString;
@@ -50,14 +50,14 @@ export declare const zTicketCloseTypeSchema: z.ZodObject<{
50
50
  name: string;
51
51
  hidden: boolean;
52
52
  base?: boolean | undefined;
53
- color?: string | undefined;
54
53
  category?: string | null | undefined;
54
+ color?: string | undefined;
55
55
  }, {
56
56
  name: string;
57
57
  hidden: boolean;
58
58
  base?: boolean | undefined;
59
- color?: string | undefined;
60
59
  category?: string | null | undefined;
60
+ color?: string | undefined;
61
61
  }>, "many">>>;
62
62
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
63
63
  id: z.ZodString;
@@ -80,14 +80,14 @@ export declare const zTicketCloseTypeSchema: z.ZodObject<{
80
80
  name: string;
81
81
  hidden: boolean;
82
82
  base?: boolean | undefined;
83
- color?: string | undefined;
84
83
  category?: string | null | undefined;
84
+ color?: string | undefined;
85
85
  }, {
86
86
  name: string;
87
87
  hidden: boolean;
88
88
  base?: boolean | undefined;
89
- color?: string | undefined;
90
89
  category?: string | null | undefined;
90
+ color?: string | undefined;
91
91
  }>, "many">>>;
92
92
  }, z.ZodTypeAny, "passthrough">>;
93
93
  export declare const zTicketCloseSchema: z.ZodObject<{
@@ -119,14 +119,14 @@ export declare const zTicketCloseSchema: z.ZodObject<{
119
119
  name: string;
120
120
  hidden: boolean;
121
121
  base?: boolean | undefined;
122
- color?: string | undefined;
123
122
  category?: string | null | undefined;
123
+ color?: string | undefined;
124
124
  }, {
125
125
  name: string;
126
126
  hidden: boolean;
127
127
  base?: boolean | undefined;
128
- color?: string | undefined;
129
128
  category?: string | null | undefined;
129
+ color?: string | undefined;
130
130
  }>, "many">>>;
131
131
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
132
132
  id: z.ZodString;
@@ -157,14 +157,14 @@ export declare const zTicketCloseSchema: z.ZodObject<{
157
157
  name: string;
158
158
  hidden: boolean;
159
159
  base?: boolean | undefined;
160
- color?: string | undefined;
161
160
  category?: string | null | undefined;
161
+ color?: string | undefined;
162
162
  }, {
163
163
  name: string;
164
164
  hidden: boolean;
165
165
  base?: boolean | undefined;
166
- color?: string | undefined;
167
166
  category?: string | null | undefined;
167
+ color?: string | undefined;
168
168
  }>, "many">>>;
169
169
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
170
170
  id: z.ZodString;
@@ -195,13 +195,13 @@ export declare const zTicketCloseSchema: z.ZodObject<{
195
195
  name: string;
196
196
  hidden: boolean;
197
197
  base?: boolean | undefined;
198
- color?: string | undefined;
199
198
  category?: string | null | undefined;
199
+ color?: string | undefined;
200
200
  }, {
201
201
  name: string;
202
202
  hidden: boolean;
203
203
  base?: boolean | undefined;
204
- color?: string | undefined;
205
204
  category?: string | null | undefined;
205
+ color?: string | undefined;
206
206
  }>, "many">>>;
207
207
  }, z.ZodTypeAny, "passthrough">>;
@@ -23,14 +23,14 @@ export declare const zHSMMessageSchema: z.ZodObject<{
23
23
  name: string;
24
24
  hidden: boolean;
25
25
  base?: boolean | undefined;
26
- color?: string | undefined;
27
26
  category?: string | null | undefined;
27
+ color?: string | undefined;
28
28
  }, {
29
29
  name: string;
30
30
  hidden: boolean;
31
31
  base?: boolean | undefined;
32
- color?: string | undefined;
33
32
  category?: string | null | undefined;
33
+ color?: string | undefined;
34
34
  }>, "many">>>;
35
35
  userRef: z.ZodOptional<z.ZodAny>;
36
36
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -57,14 +57,14 @@ export declare const zHSMMessageSchema: z.ZodObject<{
57
57
  name: string;
58
58
  hidden: boolean;
59
59
  base?: boolean | undefined;
60
- color?: string | undefined;
61
60
  category?: string | null | undefined;
61
+ color?: string | undefined;
62
62
  }, {
63
63
  name: string;
64
64
  hidden: boolean;
65
65
  base?: boolean | undefined;
66
- color?: string | undefined;
67
66
  category?: string | null | undefined;
67
+ color?: string | undefined;
68
68
  }>, "many">>>;
69
69
  userRef: z.ZodOptional<z.ZodAny>;
70
70
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -91,14 +91,14 @@ export declare const zHSMMessageSchema: z.ZodObject<{
91
91
  name: string;
92
92
  hidden: boolean;
93
93
  base?: boolean | undefined;
94
- color?: string | undefined;
95
94
  category?: string | null | undefined;
95
+ color?: string | undefined;
96
96
  }, {
97
97
  name: string;
98
98
  hidden: boolean;
99
99
  base?: boolean | undefined;
100
- color?: string | undefined;
101
100
  category?: string | null | undefined;
101
+ color?: string | undefined;
102
102
  }>, "many">>>;
103
103
  userRef: z.ZodOptional<z.ZodAny>;
104
104
  }, z.ZodTypeAny, "passthrough">>;
@@ -20,14 +20,14 @@ export declare const zDistChannelTypeSchema: z.ZodObject<{
20
20
  name: string;
21
21
  hidden: boolean;
22
22
  base?: boolean | undefined;
23
- color?: string | undefined;
24
23
  category?: string | null | undefined;
24
+ color?: string | undefined;
25
25
  }, {
26
26
  name: string;
27
27
  hidden: boolean;
28
28
  base?: boolean | undefined;
29
- color?: string | undefined;
30
29
  category?: string | null | undefined;
30
+ color?: string | undefined;
31
31
  }>, "many">>>;
32
32
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
33
33
  id: z.ZodString;
@@ -50,14 +50,14 @@ export declare const zDistChannelTypeSchema: z.ZodObject<{
50
50
  name: string;
51
51
  hidden: boolean;
52
52
  base?: boolean | undefined;
53
- color?: string | undefined;
54
53
  category?: string | null | undefined;
54
+ color?: string | undefined;
55
55
  }, {
56
56
  name: string;
57
57
  hidden: boolean;
58
58
  base?: boolean | undefined;
59
- color?: string | undefined;
60
59
  category?: string | null | undefined;
60
+ color?: string | undefined;
61
61
  }>, "many">>>;
62
62
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
63
63
  id: z.ZodString;
@@ -80,14 +80,14 @@ export declare const zDistChannelTypeSchema: z.ZodObject<{
80
80
  name: string;
81
81
  hidden: boolean;
82
82
  base?: boolean | undefined;
83
- color?: string | undefined;
84
83
  category?: string | null | undefined;
84
+ color?: string | undefined;
85
85
  }, {
86
86
  name: string;
87
87
  hidden: boolean;
88
88
  base?: boolean | undefined;
89
- color?: string | undefined;
90
89
  category?: string | null | undefined;
90
+ color?: string | undefined;
91
91
  }>, "many">>>;
92
92
  }, z.ZodTypeAny, "passthrough">>;
93
93
  export declare const zDistChannelSchema: z.ZodObject<{
@@ -114,14 +114,14 @@ export declare const zDistChannelSchema: z.ZodObject<{
114
114
  name: string;
115
115
  hidden: boolean;
116
116
  base?: boolean | undefined;
117
- color?: string | undefined;
118
117
  category?: string | null | undefined;
118
+ color?: string | undefined;
119
119
  }, {
120
120
  name: string;
121
121
  hidden: boolean;
122
122
  base?: boolean | undefined;
123
- color?: string | undefined;
124
123
  category?: string | null | undefined;
124
+ color?: string | undefined;
125
125
  }>, "many">>>;
126
126
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
127
127
  id: z.ZodString;
@@ -147,14 +147,14 @@ export declare const zDistChannelSchema: z.ZodObject<{
147
147
  name: string;
148
148
  hidden: boolean;
149
149
  base?: boolean | undefined;
150
- color?: string | undefined;
151
150
  category?: string | null | undefined;
151
+ color?: string | undefined;
152
152
  }, {
153
153
  name: string;
154
154
  hidden: boolean;
155
155
  base?: boolean | undefined;
156
- color?: string | undefined;
157
156
  category?: string | null | undefined;
157
+ color?: string | undefined;
158
158
  }>, "many">>>;
159
159
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
160
160
  id: z.ZodString;
@@ -180,14 +180,14 @@ export declare const zDistChannelSchema: z.ZodObject<{
180
180
  name: string;
181
181
  hidden: boolean;
182
182
  base?: boolean | undefined;
183
- color?: string | undefined;
184
183
  category?: string | null | undefined;
184
+ color?: string | undefined;
185
185
  }, {
186
186
  name: string;
187
187
  hidden: boolean;
188
188
  base?: boolean | undefined;
189
- color?: string | undefined;
190
189
  category?: string | null | undefined;
190
+ color?: string | undefined;
191
191
  }>, "many">>>;
192
192
  }, z.ZodTypeAny, "passthrough">>;
193
193
  export declare const zQualificationFunnelLevelSchema: z.ZodEnum<["invalid", "new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
@@ -215,14 +215,14 @@ export declare const zQualificationSchema: z.ZodObject<{
215
215
  name: string;
216
216
  hidden: boolean;
217
217
  base?: boolean | undefined;
218
- color?: string | undefined;
219
218
  category?: string | null | undefined;
219
+ color?: string | undefined;
220
220
  }, {
221
221
  name: string;
222
222
  hidden: boolean;
223
223
  base?: boolean | undefined;
224
- color?: string | undefined;
225
224
  category?: string | null | undefined;
225
+ color?: string | undefined;
226
226
  }>, "many">>>;
227
227
  meta_event: z.ZodOptional<z.ZodNullable<z.ZodEnum<["LeadSubmitted", "AppointmentBooked", "Purchase", "InitiateCheckout", "AddToCart", "ViewContent"]>>>;
228
228
  meta_event_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -250,14 +250,14 @@ export declare const zQualificationSchema: z.ZodObject<{
250
250
  name: string;
251
251
  hidden: boolean;
252
252
  base?: boolean | undefined;
253
- color?: string | undefined;
254
253
  category?: string | null | undefined;
254
+ color?: string | undefined;
255
255
  }, {
256
256
  name: string;
257
257
  hidden: boolean;
258
258
  base?: boolean | undefined;
259
- color?: string | undefined;
260
259
  category?: string | null | undefined;
260
+ color?: string | undefined;
261
261
  }>, "many">>>;
262
262
  meta_event: z.ZodOptional<z.ZodNullable<z.ZodEnum<["LeadSubmitted", "AppointmentBooked", "Purchase", "InitiateCheckout", "AddToCart", "ViewContent"]>>>;
263
263
  meta_event_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -285,15 +285,67 @@ export declare const zQualificationSchema: z.ZodObject<{
285
285
  name: string;
286
286
  hidden: boolean;
287
287
  base?: boolean | undefined;
288
- color?: string | undefined;
289
288
  category?: string | null | undefined;
289
+ color?: string | undefined;
290
290
  }, {
291
291
  name: string;
292
292
  hidden: boolean;
293
293
  base?: boolean | undefined;
294
- color?: string | undefined;
295
294
  category?: string | null | undefined;
295
+ color?: string | undefined;
296
296
  }>, "many">>>;
297
297
  meta_event: z.ZodOptional<z.ZodNullable<z.ZodEnum<["LeadSubmitted", "AppointmentBooked", "Purchase", "InitiateCheckout", "AddToCart", "ViewContent"]>>>;
298
298
  meta_event_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
299
299
  }, z.ZodTypeAny, "passthrough">>;
300
+ export declare const zLinkRelationSchema: z.ZodObject<{
301
+ id: z.ZodString;
302
+ ref: z.ZodAny;
303
+ tenant: z.ZodString;
304
+ model_ver: z.ZodDefault<z.ZodNumber>;
305
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
306
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
307
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
308
+ } & {
309
+ code: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
310
+ name: z.ZodString;
311
+ role_a: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
312
+ role_b: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
313
+ label_a: z.ZodString;
314
+ label_b: z.ZodString;
315
+ symmetric: z.ZodBoolean;
316
+ order: z.ZodNumber;
317
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
318
+ id: z.ZodString;
319
+ ref: z.ZodAny;
320
+ tenant: z.ZodString;
321
+ model_ver: z.ZodDefault<z.ZodNumber>;
322
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
323
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
324
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
325
+ } & {
326
+ code: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
327
+ name: z.ZodString;
328
+ role_a: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
329
+ role_b: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
330
+ label_a: z.ZodString;
331
+ label_b: z.ZodString;
332
+ symmetric: z.ZodBoolean;
333
+ order: z.ZodNumber;
334
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
335
+ id: z.ZodString;
336
+ ref: z.ZodAny;
337
+ tenant: z.ZodString;
338
+ model_ver: z.ZodDefault<z.ZodNumber>;
339
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
340
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
341
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
342
+ } & {
343
+ code: z.ZodEnum<["parent_child", "spouse", "guardian_dependent", "family", "company_employee", "third_party_company", "other"]>;
344
+ name: z.ZodString;
345
+ role_a: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
346
+ role_b: z.ZodEnum<["parent", "child", "spouse", "guardian", "dependent", "family", "company", "employee", "third_party", "represented", "other"]>;
347
+ label_a: z.ZodString;
348
+ label_b: z.ZodString;
349
+ symmetric: z.ZodBoolean;
350
+ order: z.ZodNumber;
351
+ }, z.ZodTypeAny, "passthrough">>;
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.zQualificationSchema = exports.zQualificationFunnelLevelSchema = exports.zDistChannelSchema = exports.zDistChannelTypeSchema = void 0;
3
+ exports.zLinkRelationSchema = exports.zQualificationSchema = exports.zQualificationFunnelLevelSchema = exports.zDistChannelSchema = exports.zDistChannelTypeSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const zod_schemas_1 = require("../../shared/zod-schemas");
6
+ const zod_schemas_2 = require("../../evo-task/zod-schemas");
6
7
  exports.zDistChannelTypeSchema = zod_schemas_1.zFireDocSchema
7
8
  .extend({
8
9
  code: zod_1.z.string().min(1).max(20),
@@ -58,3 +59,18 @@ exports.zQualificationSchema = zod_schemas_1.zFireDocSchema
58
59
  meta_event_value: zod_1.z.number().positive().nullable().optional(),
59
60
  })
60
61
  .passthrough();
62
+ // feat-193 — dicionário `link-relations`: só rótulos e ordem de exibição. O doc
63
+ // id é o próprio `code` (o par). `role_a`/`role_b` são os papéis do par na ordem
64
+ // da tabela de código; `label_a`/`label_b` os rótulos pt-BR de cada papel.
65
+ exports.zLinkRelationSchema = zod_schemas_1.zFireDocSchema
66
+ .extend({
67
+ code: zod_schemas_2.zLinkRelationPairSchema,
68
+ name: zod_1.z.string().min(1).max(255),
69
+ role_a: zod_schemas_2.zLinkRelationRoleSchema,
70
+ role_b: zod_schemas_2.zLinkRelationRoleSchema,
71
+ label_a: zod_1.z.string().min(1).max(255),
72
+ label_b: zod_1.z.string().min(1).max(255),
73
+ symmetric: zod_1.z.boolean(),
74
+ order: zod_1.z.number().int().min(0),
75
+ })
76
+ .passthrough();
@@ -1,5 +1,9 @@
1
1
  import { z } from "zod";
2
2
  import { zFireDocSchema, zTagSchema } from "../../shared/zod-schemas";
3
+ import {
4
+ zLinkRelationPairSchema,
5
+ zLinkRelationRoleSchema,
6
+ } from "../../evo-task/zod-schemas";
3
7
 
4
8
  export const zDistChannelTypeSchema = zFireDocSchema
5
9
  .extend({
@@ -59,3 +63,19 @@ export const zQualificationSchema = zFireDocSchema
59
63
  meta_event_value: z.number().positive().nullable().optional(),
60
64
  })
61
65
  .passthrough();
66
+
67
+ // feat-193 — dicionário `link-relations`: só rótulos e ordem de exibição. O doc
68
+ // id é o próprio `code` (o par). `role_a`/`role_b` são os papéis do par na ordem
69
+ // da tabela de código; `label_a`/`label_b` os rótulos pt-BR de cada papel.
70
+ export const zLinkRelationSchema = zFireDocSchema
71
+ .extend({
72
+ code: zLinkRelationPairSchema,
73
+ name: z.string().min(1).max(255),
74
+ role_a: zLinkRelationRoleSchema,
75
+ role_b: zLinkRelationRoleSchema,
76
+ label_a: z.string().min(1).max(255),
77
+ label_b: z.string().min(1).max(255),
78
+ symmetric: z.boolean(),
79
+ order: z.number().int().min(0),
80
+ })
81
+ .passthrough();