evo360-types 1.3.570 → 1.3.578

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 (58) hide show
  1. package/dist/apps/evo-crm/lead/zod-schemas.d.ts +18 -9
  2. package/dist/apps/evo-csq/zod-schemas.d.ts +12 -12
  3. package/dist/apps/evo-finops/zod-schemas.d.ts +18 -18
  4. package/dist/apps/evo-med/calendar/zod-schemas.d.ts +535 -0
  5. package/dist/apps/evo-med/calendar/zod-schemas.js +52 -1
  6. package/dist/apps/evo-med/calendar/zod-schemas.ts +55 -0
  7. package/dist/apps/evo-med/dic/zod-schemas.d.ts +2 -2
  8. package/dist/apps/evo-med/insurance/zod-schemas.d.ts +9 -0
  9. package/dist/apps/evo-med/people/zod-schemas.d.ts +63 -45
  10. package/dist/apps/evo-notifications/quick-reply-action/zod-schemas.d.ts +3 -0
  11. package/dist/apps/evo-notifications/quick-reply-action/zod-schemas.js +3 -0
  12. package/dist/apps/evo-notifications/quick-reply-action/zod-schemas.ts +3 -0
  13. package/dist/apps/evo-notifications/zod-schemas.d.ts +69 -39
  14. package/dist/apps/evo-task/zod-schemas.d.ts +69 -69
  15. package/dist/apps/evo-task/zod-schemas.js +8 -0
  16. package/dist/apps/evo-task/zod-schemas.ts +8 -0
  17. package/dist/apps/evo-telemedicine/zod-schemas.d.ts +1567 -0
  18. package/dist/apps/evo-telemedicine/zod-schemas.js +709 -0
  19. package/dist/apps/evo-telemedicine/zod-schemas.ts +794 -0
  20. package/dist/apps/evo-tenant/zod-schemas.d.ts +94 -0
  21. package/dist/apps/evo-tenant/zod-schemas.js +29 -1
  22. package/dist/apps/evo-tenant/zod-schemas.ts +32 -1
  23. package/dist/apps/hub-automation/zod-schemas.d.ts +172 -172
  24. package/dist/apps/shared/zod-schemas.d.ts +3 -0
  25. package/dist/apps/shared/zod-schemas.js +2 -0
  26. package/dist/apps/shared/zod-schemas.ts +2 -0
  27. package/dist/index.d.ts +2 -0
  28. package/dist/index.js +2 -0
  29. package/dist/index.ts +2 -0
  30. package/dist/types/evo-finops/common/contract.d.ts +8 -0
  31. package/dist/types/evo-finops/common/contract.js +7 -0
  32. package/dist/types/evo-finops/common/contract.ts +7 -0
  33. package/dist/types/evo-med/calendar/index.d.ts +104 -0
  34. package/dist/types/evo-med/calendar/index.js +66 -1
  35. package/dist/types/evo-med/calendar/index.ts +146 -0
  36. package/dist/types/evo-notifications/index.d.ts +13 -0
  37. package/dist/types/evo-notifications/index.js +6 -0
  38. package/dist/types/evo-notifications/index.ts +13 -0
  39. package/dist/types/evo-reports/index.d.ts +27 -0
  40. package/dist/types/evo-reports/index.ts +28 -0
  41. package/dist/types/evo-task/index.d.ts +1 -0
  42. package/dist/types/evo-task/index.js +8 -0
  43. package/dist/types/evo-task/index.ts +8 -0
  44. package/dist/types/evo-telemedicine/fb_collections.d.ts +16 -0
  45. package/dist/types/evo-telemedicine/fb_collections.js +38 -0
  46. package/dist/types/evo-telemedicine/fb_collections.ts +37 -0
  47. package/dist/types/evo-telemedicine/index.d.ts +1137 -0
  48. package/dist/types/evo-telemedicine/index.js +387 -0
  49. package/dist/types/evo-telemedicine/index.ts +1299 -0
  50. package/dist/types/evo-tenant/index.d.ts +45 -0
  51. package/dist/types/evo-tenant/index.js +20 -1
  52. package/dist/types/evo-tenant/index.ts +65 -0
  53. package/dist/types/shared/external-links.d.ts +6 -0
  54. package/dist/types/shared/external-links.js +6 -0
  55. package/dist/types/shared/external-links.ts +6 -0
  56. package/dist/types/shared/index.d.ts +1 -0
  57. package/dist/types/shared/index.ts +2 -0
  58. package/package.json +1 -1
@@ -129,6 +129,14 @@ exports.TaskAutoHandlerEnum = {
129
129
  // `campaign.dispatch_batch.execute_requests` para a cadeia de lotes da F2).
130
130
  CampaignMaterialize: "campaign.materialize",
131
131
  CampaignDispatchBatch: "campaign.dispatch_batch",
132
+ // feat-160: CTA de ENTRADA na teleconsulta — variant do executor único do
133
+ // lembrete (functions-integrations), lendo
134
+ // `notification_config.configs.telemedicine_join_reminder`, SEM CTAs de
135
+ // confirmar/remarcar; emite o botão "Entrar na teleconsulta" com a capability
136
+ // `/qr` (`IQuickReplyActionIntent.url_secret`). Tópico:
137
+ // `telemedicine_join_reminder.execute_requests`.
138
+ // Espelhado à mão em `zTaskAutoHandlerSchema` — sem lá, criar a task estoura ZodError.
139
+ TelemedicineJoinReminder: "telemedicine_join_reminder",
132
140
  };
133
141
  // ----- Retry policy
134
142
  exports.TaskRetryStrategyEnum = {
@@ -140,6 +140,14 @@ export const TaskAutoHandlerEnum = {
140
140
  // `campaign.dispatch_batch.execute_requests` para a cadeia de lotes da F2).
141
141
  CampaignMaterialize: "campaign.materialize",
142
142
  CampaignDispatchBatch: "campaign.dispatch_batch",
143
+ // feat-160: CTA de ENTRADA na teleconsulta — variant do executor único do
144
+ // lembrete (functions-integrations), lendo
145
+ // `notification_config.configs.telemedicine_join_reminder`, SEM CTAs de
146
+ // confirmar/remarcar; emite o botão "Entrar na teleconsulta" com a capability
147
+ // `/qr` (`IQuickReplyActionIntent.url_secret`). Tópico:
148
+ // `telemedicine_join_reminder.execute_requests`.
149
+ // Espelhado à mão em `zTaskAutoHandlerSchema` — sem lá, criar a task estoura ZodError.
150
+ TelemedicineJoinReminder: "telemedicine_join_reminder",
143
151
  } as const;
144
152
 
145
153
  export type TaskAutoHandler =
@@ -0,0 +1,16 @@
1
+ export declare const EVO_TELEMEDICINE_APP = "evo-telemedicine";
2
+ export declare const TELECONSULTATIONS_COLLECTION = "teleconsultations";
3
+ export declare const TELECONSULTATION_PARTICIPANTS_COLLECTION = "participants";
4
+ export declare const TELECONSULTATION_ACCESS_GRANTS_COLLECTION = "access-grants";
5
+ export declare const TELECONSULTATION_CONSENTS_COLLECTION = "consents";
6
+ export declare const TELECONSULTATION_ARTIFACTS_COLLECTION = "artifacts";
7
+ export declare const TELECONSULTATION_EVENTS_COLLECTION = "events";
8
+ export declare const TELECONSULTATION_WEBHOOK_EVENTS_COLLECTION = "webhook-events";
9
+ export declare const TELEMEDICINE_APPOINTMENT_INDEX_COLLECTION = "appointment-index";
10
+ export declare const TELEMEDICINE_ENTITLEMENT_AUDIT_COLLECTION = "entitlement-audit";
11
+ export declare const TELEMEDICINE_PLATFORM_PATH = "platform/evo-telemedicine";
12
+ export declare const TELEMEDICINE_LEGAL_TEXTS_COLLECTION = "legal-texts";
13
+ export declare const TELEMEDICINE_GRANT_INDEX_COLLECTION = "grant-index";
14
+ export declare const TELEMEDICINE_CONFIG_COLLECTION = "config";
15
+ export declare const TELEMEDICINE_CONFIG_ROLLOUT_DOC = "rollout";
16
+ export declare const TELEMEDICINE_CONFIG_TRANSCRIPTION_DOC = "transcription";
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TELEMEDICINE_CONFIG_TRANSCRIPTION_DOC = exports.TELEMEDICINE_CONFIG_ROLLOUT_DOC = exports.TELEMEDICINE_CONFIG_COLLECTION = exports.TELEMEDICINE_GRANT_INDEX_COLLECTION = exports.TELEMEDICINE_LEGAL_TEXTS_COLLECTION = exports.TELEMEDICINE_PLATFORM_PATH = exports.TELEMEDICINE_ENTITLEMENT_AUDIT_COLLECTION = exports.TELEMEDICINE_APPOINTMENT_INDEX_COLLECTION = exports.TELECONSULTATION_WEBHOOK_EVENTS_COLLECTION = exports.TELECONSULTATION_EVENTS_COLLECTION = exports.TELECONSULTATION_ARTIFACTS_COLLECTION = exports.TELECONSULTATION_CONSENTS_COLLECTION = exports.TELECONSULTATION_ACCESS_GRANTS_COLLECTION = exports.TELECONSULTATION_PARTICIPANTS_COLLECTION = exports.TELECONSULTATIONS_COLLECTION = exports.EVO_TELEMEDICINE_APP = void 0;
4
+ // EVO Telemedicine Application Doc (feat-160)
5
+ //
6
+ // Firestore (por tenant):
7
+ // - App root: /tenants/{t}/apps/evo-telemedicine
8
+ // - Teleconsultations: /tenants/{t}/apps/evo-telemedicine/teleconsultations/{teleconsultationId}
9
+ // - Participants: .../teleconsultations/{id}/participants/{participantId}
10
+ // - Access grants: .../teleconsultations/{id}/access-grants/{grantId}
11
+ // - Consents: .../teleconsultations/{id}/consents/{consentId}
12
+ // - Artifacts: .../teleconsultations/{id}/artifacts/{artifactId}
13
+ // - Events: .../teleconsultations/{id}/events/{eventId} (append-only)
14
+ // - Webhook events: .../teleconsultations/{id}/webhook-events/{providerEventId} (dedup + outbox)
15
+ // - Appointment index: /tenants/{t}/apps/evo-telemedicine/appointment-index/{calendarId}__{appointmentId}
16
+ // - Entitlement audit: /tenants/{t}/apps/evo-telemedicine/entitlement-audit/{id}
17
+ //
18
+ // Plataforma (só backend; rules negam leitura ao FE):
19
+ // - Legal texts: /platform/evo-telemedicine/legal-texts/{subject}-{locale}-{version}
20
+ // - Grant index: /platform/evo-telemedicine/grant-index/{hmac(cap)}
21
+ // - Config: /platform/evo-telemedicine/config/{rollout|transcription}
22
+ exports.EVO_TELEMEDICINE_APP = "evo-telemedicine";
23
+ exports.TELECONSULTATIONS_COLLECTION = "teleconsultations";
24
+ exports.TELECONSULTATION_PARTICIPANTS_COLLECTION = "participants";
25
+ exports.TELECONSULTATION_ACCESS_GRANTS_COLLECTION = "access-grants";
26
+ exports.TELECONSULTATION_CONSENTS_COLLECTION = "consents";
27
+ exports.TELECONSULTATION_ARTIFACTS_COLLECTION = "artifacts";
28
+ exports.TELECONSULTATION_EVENTS_COLLECTION = "events";
29
+ exports.TELECONSULTATION_WEBHOOK_EVENTS_COLLECTION = "webhook-events";
30
+ exports.TELEMEDICINE_APPOINTMENT_INDEX_COLLECTION = "appointment-index";
31
+ exports.TELEMEDICINE_ENTITLEMENT_AUDIT_COLLECTION = "entitlement-audit";
32
+ // Plataforma
33
+ exports.TELEMEDICINE_PLATFORM_PATH = "platform/evo-telemedicine";
34
+ exports.TELEMEDICINE_LEGAL_TEXTS_COLLECTION = "legal-texts";
35
+ exports.TELEMEDICINE_GRANT_INDEX_COLLECTION = "grant-index";
36
+ exports.TELEMEDICINE_CONFIG_COLLECTION = "config";
37
+ exports.TELEMEDICINE_CONFIG_ROLLOUT_DOC = "rollout";
38
+ exports.TELEMEDICINE_CONFIG_TRANSCRIPTION_DOC = "transcription";
@@ -0,0 +1,37 @@
1
+ // EVO Telemedicine Application Doc (feat-160)
2
+ //
3
+ // Firestore (por tenant):
4
+ // - App root: /tenants/{t}/apps/evo-telemedicine
5
+ // - Teleconsultations: /tenants/{t}/apps/evo-telemedicine/teleconsultations/{teleconsultationId}
6
+ // - Participants: .../teleconsultations/{id}/participants/{participantId}
7
+ // - Access grants: .../teleconsultations/{id}/access-grants/{grantId}
8
+ // - Consents: .../teleconsultations/{id}/consents/{consentId}
9
+ // - Artifacts: .../teleconsultations/{id}/artifacts/{artifactId}
10
+ // - Events: .../teleconsultations/{id}/events/{eventId} (append-only)
11
+ // - Webhook events: .../teleconsultations/{id}/webhook-events/{providerEventId} (dedup + outbox)
12
+ // - Appointment index: /tenants/{t}/apps/evo-telemedicine/appointment-index/{calendarId}__{appointmentId}
13
+ // - Entitlement audit: /tenants/{t}/apps/evo-telemedicine/entitlement-audit/{id}
14
+ //
15
+ // Plataforma (só backend; rules negam leitura ao FE):
16
+ // - Legal texts: /platform/evo-telemedicine/legal-texts/{subject}-{locale}-{version}
17
+ // - Grant index: /platform/evo-telemedicine/grant-index/{hmac(cap)}
18
+ // - Config: /platform/evo-telemedicine/config/{rollout|transcription}
19
+ export const EVO_TELEMEDICINE_APP = "evo-telemedicine";
20
+
21
+ export const TELECONSULTATIONS_COLLECTION = "teleconsultations";
22
+ export const TELECONSULTATION_PARTICIPANTS_COLLECTION = "participants";
23
+ export const TELECONSULTATION_ACCESS_GRANTS_COLLECTION = "access-grants";
24
+ export const TELECONSULTATION_CONSENTS_COLLECTION = "consents";
25
+ export const TELECONSULTATION_ARTIFACTS_COLLECTION = "artifacts";
26
+ export const TELECONSULTATION_EVENTS_COLLECTION = "events";
27
+ export const TELECONSULTATION_WEBHOOK_EVENTS_COLLECTION = "webhook-events";
28
+ export const TELEMEDICINE_APPOINTMENT_INDEX_COLLECTION = "appointment-index";
29
+ export const TELEMEDICINE_ENTITLEMENT_AUDIT_COLLECTION = "entitlement-audit";
30
+
31
+ // Plataforma
32
+ export const TELEMEDICINE_PLATFORM_PATH = "platform/evo-telemedicine";
33
+ export const TELEMEDICINE_LEGAL_TEXTS_COLLECTION = "legal-texts";
34
+ export const TELEMEDICINE_GRANT_INDEX_COLLECTION = "grant-index";
35
+ export const TELEMEDICINE_CONFIG_COLLECTION = "config";
36
+ export const TELEMEDICINE_CONFIG_ROLLOUT_DOC = "rollout";
37
+ export const TELEMEDICINE_CONFIG_TRANSCRIPTION_DOC = "transcription";