evo360-types 1.3.634 → 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 (61) 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-tenant/zod-schemas.d.ts +18 -5
  37. package/dist/apps/evo-tenant/zod-schemas.js +3 -0
  38. package/dist/apps/evo-tenant/zod-schemas.ts +3 -0
  39. package/dist/apps/hub-automation/zod-schemas.d.ts +327 -327
  40. package/dist/apps/shared/zod-schemas.d.ts +3 -3
  41. package/dist/types/evo-crm/dic/index.d.ts +16 -1
  42. package/dist/types/evo-crm/dic/index.ts +23 -1
  43. package/dist/types/evo-crm/fb_collections.d.ts +1 -0
  44. package/dist/types/evo-crm/fb_collections.js +5 -1
  45. package/dist/types/evo-crm/fb_collections.ts +4 -0
  46. package/dist/types/evo-crm/lead/index.d.ts +6 -0
  47. package/dist/types/evo-crm/lead/index.ts +6 -0
  48. package/dist/types/evo-integrations/index.d.ts +16 -0
  49. package/dist/types/evo-integrations/index.js +18 -1
  50. package/dist/types/evo-integrations/index.ts +26 -0
  51. package/dist/types/evo-med/appointment/index.d.ts +22 -0
  52. package/dist/types/evo-med/appointment/index.js +7 -1
  53. package/dist/types/evo-med/appointment/index.ts +30 -0
  54. package/dist/types/evo-med/people/index.d.ts +6 -0
  55. package/dist/types/evo-med/people/index.ts +6 -0
  56. package/dist/types/evo-tenant/index.d.ts +7 -0
  57. package/dist/types/evo-tenant/index.ts +7 -0
  58. package/dist/types/shared/external-links.d.ts +98 -0
  59. package/dist/types/shared/external-links.js +64 -1
  60. package/dist/types/shared/external-links.ts +118 -0
  61. package/package.json +1 -1
@@ -143,6 +143,12 @@ exports.zPatientSchema = zod_schemas_4.zProfileSchema // Extend from ProfileSche
143
143
  externalLinks: zod_1.z.array(zod_schemas_3.zExternalLinkSchema).optional(),
144
144
  /** Derivado de `externalLinks` (`"type:id"`) pelo model — habilita `array-contains`. */
145
145
  externalLinkKeys: zod_1.z.array(zod_1.z.string()).optional(),
146
+ /**
147
+ * feat-193 — derivado de `externalLinks` (links com `status: 'suggested'`),
148
+ * gravado junto com `externalLinkKeys`. AUSENTE = estoque não avaliado
149
+ * ("unknown" na UI), nunca 0.
150
+ */
151
+ pending_links_count: zod_1.z.number().int().min(0).optional(),
146
152
  height_cm: zod_1.z.number().nullable().optional(),
147
153
  weight_kg: zod_1.z.number().nullable().optional(),
148
154
  blood_type: exports.zBloodTypeSchema.nullable().optional(),
@@ -165,6 +165,12 @@ export const zPatientSchema = zProfileSchema // Extend from ProfileSchema
165
165
  externalLinks: z.array(zExternalLinkSchema).optional(),
166
166
  /** Derivado de `externalLinks` (`"type:id"`) pelo model — habilita `array-contains`. */
167
167
  externalLinkKeys: z.array(z.string()).optional(),
168
+ /**
169
+ * feat-193 — derivado de `externalLinks` (links com `status: 'suggested'`),
170
+ * gravado junto com `externalLinkKeys`. AUSENTE = estoque não avaliado
171
+ * ("unknown" na UI), nunca 0.
172
+ */
173
+ pending_links_count: z.number().int().min(0).optional(),
168
174
  height_cm: z.number().nullable().optional(),
169
175
  weight_kg: z.number().nullable().optional(),
170
176
  blood_type: zBloodTypeSchema.nullable().optional(),
@@ -22,14 +22,14 @@ export declare const zProcedureTypeSchema: z.ZodObject<{
22
22
  name: string;
23
23
  hidden: boolean;
24
24
  base?: boolean | undefined;
25
- color?: string | undefined;
26
25
  category?: string | null | undefined;
26
+ color?: string | undefined;
27
27
  }, {
28
28
  name: string;
29
29
  hidden: boolean;
30
30
  base?: boolean | undefined;
31
- color?: string | undefined;
32
31
  category?: string | null | undefined;
32
+ color?: string | undefined;
33
33
  }>, "many">>>;
34
34
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
35
35
  id: z.ZodString;
@@ -52,14 +52,14 @@ export declare const zProcedureTypeSchema: z.ZodObject<{
52
52
  name: string;
53
53
  hidden: boolean;
54
54
  base?: boolean | undefined;
55
- color?: string | undefined;
56
55
  category?: string | null | undefined;
56
+ color?: string | undefined;
57
57
  }, {
58
58
  name: string;
59
59
  hidden: boolean;
60
60
  base?: boolean | undefined;
61
- color?: string | undefined;
62
61
  category?: string | null | undefined;
62
+ color?: string | undefined;
63
63
  }>, "many">>>;
64
64
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
65
65
  id: z.ZodString;
@@ -82,14 +82,14 @@ export declare const zProcedureTypeSchema: z.ZodObject<{
82
82
  name: string;
83
83
  hidden: boolean;
84
84
  base?: boolean | undefined;
85
- color?: string | undefined;
86
85
  category?: string | null | undefined;
86
+ color?: string | undefined;
87
87
  }, {
88
88
  name: string;
89
89
  hidden: boolean;
90
90
  base?: boolean | undefined;
91
- color?: string | undefined;
92
91
  category?: string | null | undefined;
92
+ color?: string | undefined;
93
93
  }>, "many">>>;
94
94
  }, z.ZodTypeAny, "passthrough">>;
95
95
  export declare const zProcedureSchema: z.ZodObject<{
@@ -125,14 +125,14 @@ export declare const zProcedureSchema: z.ZodObject<{
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
  }, {
131
131
  name: string;
132
132
  hidden: boolean;
133
133
  base?: boolean | undefined;
134
- color?: string | undefined;
135
134
  category?: string | null | undefined;
135
+ color?: string | undefined;
136
136
  }>, "many">>>;
137
137
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
138
138
  id: z.ZodString;
@@ -167,14 +167,14 @@ export declare const zProcedureSchema: z.ZodObject<{
167
167
  name: string;
168
168
  hidden: boolean;
169
169
  base?: boolean | undefined;
170
- color?: string | undefined;
171
170
  category?: string | null | undefined;
171
+ color?: string | undefined;
172
172
  }, {
173
173
  name: string;
174
174
  hidden: boolean;
175
175
  base?: boolean | undefined;
176
- color?: string | undefined;
177
176
  category?: string | null | undefined;
177
+ color?: string | undefined;
178
178
  }>, "many">>>;
179
179
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
180
180
  id: z.ZodString;
@@ -209,13 +209,13 @@ export declare const zProcedureSchema: z.ZodObject<{
209
209
  name: string;
210
210
  hidden: boolean;
211
211
  base?: boolean | undefined;
212
- color?: string | undefined;
213
212
  category?: string | null | undefined;
213
+ color?: string | undefined;
214
214
  }, {
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
  }>, "many">>>;
221
221
  }, z.ZodTypeAny, "passthrough">>;
@@ -376,10 +376,17 @@ export declare const zCreateNotifUserInputSchema: z.ZodObject<{
376
376
  id: string;
377
377
  display_name: string;
378
378
  };
379
+ category: string;
379
380
  title: string;
380
381
  body: string;
381
- category: string;
382
382
  userId: string;
383
+ target?: {
384
+ params?: Record<string, unknown> | undefined;
385
+ entityType?: string | undefined;
386
+ entityId?: string | undefined;
387
+ subEntityId?: string | undefined;
388
+ route?: string | undefined;
389
+ } | undefined;
383
390
  source?: {
384
391
  event: string;
385
392
  module: string;
@@ -388,14 +395,7 @@ export declare const zCreateNotifUserInputSchema: z.ZodObject<{
388
395
  actorName?: string | undefined;
389
396
  } | undefined;
390
397
  metadata?: Record<string, unknown> | undefined;
391
- level?: "success" | "error" | "info" | "warning" | undefined;
392
- target?: {
393
- params?: Record<string, unknown> | undefined;
394
- entityType?: string | undefined;
395
- entityId?: string | undefined;
396
- subEntityId?: string | undefined;
397
- route?: string | undefined;
398
- } | undefined;
398
+ level?: "error" | "success" | "info" | "warning" | undefined;
399
399
  dedupKey?: string | null | undefined;
400
400
  expiresAt?: string | null | undefined;
401
401
  autoDeleteAt?: string | null | undefined;
@@ -409,10 +409,17 @@ export declare const zCreateNotifUserInputSchema: z.ZodObject<{
409
409
  id: string;
410
410
  display_name: string;
411
411
  };
412
+ category: string;
412
413
  title: string;
413
414
  body: string;
414
- category: string;
415
415
  userId: string;
416
+ target?: {
417
+ params?: Record<string, unknown> | undefined;
418
+ entityType?: string | undefined;
419
+ entityId?: string | undefined;
420
+ subEntityId?: string | undefined;
421
+ route?: string | undefined;
422
+ } | undefined;
416
423
  source?: {
417
424
  event: string;
418
425
  module: string;
@@ -421,14 +428,7 @@ export declare const zCreateNotifUserInputSchema: z.ZodObject<{
421
428
  actorName?: string | undefined;
422
429
  } | undefined;
423
430
  metadata?: Record<string, unknown> | undefined;
424
- level?: "success" | "error" | "info" | "warning" | undefined;
425
- target?: {
426
- params?: Record<string, unknown> | undefined;
427
- entityType?: string | undefined;
428
- entityId?: string | undefined;
429
- subEntityId?: string | undefined;
430
- route?: string | undefined;
431
- } | undefined;
431
+ level?: "error" | "success" | "info" | "warning" | undefined;
432
432
  dedupKey?: string | null | undefined;
433
433
  expiresAt?: string | null | undefined;
434
434
  autoDeleteAt?: string | null | undefined;