@vitrina/api 17.101.2 → 17.102.1
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.
- package/dist/index.d.cts +7 -3
- package/dist/index.d.ts +7 -3
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -73160,9 +73160,13 @@ interface paths {
|
|
|
73160
73160
|
* "ready_out_of_hours": false,
|
|
73161
73161
|
* "templates": [
|
|
73162
73162
|
* {
|
|
73163
|
-
* "name": "
|
|
73163
|
+
* "name": "clinica_formulario_tratamiento_fuera_horario_usted",
|
|
73164
73164
|
* "language": "es",
|
|
73165
|
-
* "status": "PENDING"
|
|
73165
|
+
* "status": "PENDING",
|
|
73166
|
+
* "pack": "clinic_form",
|
|
73167
|
+
* "template_key": "treatment_out_of_hours",
|
|
73168
|
+
* "register": "usted",
|
|
73169
|
+
* "out_of_hours": true
|
|
73166
73170
|
* }
|
|
73167
73171
|
* ]
|
|
73168
73172
|
* }
|
|
@@ -325032,7 +325036,7 @@ interface components {
|
|
|
325032
325036
|
} | null;
|
|
325033
325037
|
};
|
|
325034
325038
|
/**
|
|
325035
|
-
* @description `whatsapp_disconnected`: a WhatsApp number of the clinic is disconnected (critical; `detail`: `messaging_account_id`, `account_name`, `reason_code`, `is_first_contact_sender`). `whatsapp_attention`: a number needs attention (warning; same detail). `first_contact_templates_not_approved`: the clinic form first contact is on but its ladder cannot send (critical when step 1 or the in-hours step 2 has no approved template, warning when only the out-of-hours step 2 is missing; `detail`: `messaging_account_id`, `ready_in_hours`, `ready_out_of_hours`, `templates` [{name, language, status}]). `unmapped_forms`: submissions of the last 7 days came from a form that is not in the clinic’s current form map (warning; `detail`: `submissions_7d`, `forms` [{form_id, submissions}], `forms_total`, `without_form_id`). `first_contact_missed`: in the last 24 hours submissions ended without a first contact for a reason someone can fix, or a lead raised the first-contact-missing alarm (warning; `detail`: `outcomes` {outcome: count}, `missing_alarms`, `needs_form_setup`). `first_contact_off`: the clinic has a WhatsApp number and its clinic form first contact is switched off (low; `detail`: `submissions_7d` = forms that arrived while off). A value added later is a changelog entry.
|
|
325039
|
+
* @description `whatsapp_disconnected`: a WhatsApp number of the clinic is disconnected (critical; `detail`: `messaging_account_id`, `account_name`, `reason_code`, `is_first_contact_sender`). `whatsapp_attention`: a number needs attention (warning; same detail). `first_contact_templates_not_approved`: the clinic form first contact is on but its ladder cannot send (critical when step 1 or the in-hours step 2 has no approved template, warning when only the out-of-hours step 2 is missing; `detail`: `messaging_account_id`, `ready_in_hours`, `ready_out_of_hours`, `templates` [{name, language, status, pack, template_key, register, out_of_hours}]; `pack` is the template pack id (e.g. `clinic_form`), `template_key` the pack entry key, `register` `tu`/`usted`/`vos` when the name is a register variant, `out_of_hours` whether it is the out-of-hours copy; all four are null for a template no pack made, such as one the clinic wrote itself). `unmapped_forms`: submissions of the last 7 days came from a form that is not in the clinic’s current form map (warning; `detail`: `submissions_7d`, `forms` [{form_id, submissions}], `forms_total`, `without_form_id`). `first_contact_missed`: in the last 24 hours submissions ended without a first contact for a reason someone can fix, or a lead raised the first-contact-missing alarm (warning; `detail`: `outcomes` {outcome: count}, `missing_alarms`, `needs_form_setup`). `first_contact_off`: the clinic has a WhatsApp number and its clinic form first contact is switched off (low; `detail`: `submissions_7d` = forms that arrived while off). A value added later is a changelog entry.
|
|
325036
325040
|
* @enum {string}
|
|
325037
325041
|
*/
|
|
325038
325042
|
ClinicSignalKind: "whatsapp_disconnected" | "whatsapp_attention" | "first_contact_templates_not_approved" | "unmapped_forms" | "first_contact_missed" | "first_contact_off";
|
package/dist/index.d.ts
CHANGED
|
@@ -73160,9 +73160,13 @@ interface paths {
|
|
|
73160
73160
|
* "ready_out_of_hours": false,
|
|
73161
73161
|
* "templates": [
|
|
73162
73162
|
* {
|
|
73163
|
-
* "name": "
|
|
73163
|
+
* "name": "clinica_formulario_tratamiento_fuera_horario_usted",
|
|
73164
73164
|
* "language": "es",
|
|
73165
|
-
* "status": "PENDING"
|
|
73165
|
+
* "status": "PENDING",
|
|
73166
|
+
* "pack": "clinic_form",
|
|
73167
|
+
* "template_key": "treatment_out_of_hours",
|
|
73168
|
+
* "register": "usted",
|
|
73169
|
+
* "out_of_hours": true
|
|
73166
73170
|
* }
|
|
73167
73171
|
* ]
|
|
73168
73172
|
* }
|
|
@@ -325032,7 +325036,7 @@ interface components {
|
|
|
325032
325036
|
} | null;
|
|
325033
325037
|
};
|
|
325034
325038
|
/**
|
|
325035
|
-
* @description `whatsapp_disconnected`: a WhatsApp number of the clinic is disconnected (critical; `detail`: `messaging_account_id`, `account_name`, `reason_code`, `is_first_contact_sender`). `whatsapp_attention`: a number needs attention (warning; same detail). `first_contact_templates_not_approved`: the clinic form first contact is on but its ladder cannot send (critical when step 1 or the in-hours step 2 has no approved template, warning when only the out-of-hours step 2 is missing; `detail`: `messaging_account_id`, `ready_in_hours`, `ready_out_of_hours`, `templates` [{name, language, status}]). `unmapped_forms`: submissions of the last 7 days came from a form that is not in the clinic’s current form map (warning; `detail`: `submissions_7d`, `forms` [{form_id, submissions}], `forms_total`, `without_form_id`). `first_contact_missed`: in the last 24 hours submissions ended without a first contact for a reason someone can fix, or a lead raised the first-contact-missing alarm (warning; `detail`: `outcomes` {outcome: count}, `missing_alarms`, `needs_form_setup`). `first_contact_off`: the clinic has a WhatsApp number and its clinic form first contact is switched off (low; `detail`: `submissions_7d` = forms that arrived while off). A value added later is a changelog entry.
|
|
325039
|
+
* @description `whatsapp_disconnected`: a WhatsApp number of the clinic is disconnected (critical; `detail`: `messaging_account_id`, `account_name`, `reason_code`, `is_first_contact_sender`). `whatsapp_attention`: a number needs attention (warning; same detail). `first_contact_templates_not_approved`: the clinic form first contact is on but its ladder cannot send (critical when step 1 or the in-hours step 2 has no approved template, warning when only the out-of-hours step 2 is missing; `detail`: `messaging_account_id`, `ready_in_hours`, `ready_out_of_hours`, `templates` [{name, language, status, pack, template_key, register, out_of_hours}]; `pack` is the template pack id (e.g. `clinic_form`), `template_key` the pack entry key, `register` `tu`/`usted`/`vos` when the name is a register variant, `out_of_hours` whether it is the out-of-hours copy; all four are null for a template no pack made, such as one the clinic wrote itself). `unmapped_forms`: submissions of the last 7 days came from a form that is not in the clinic’s current form map (warning; `detail`: `submissions_7d`, `forms` [{form_id, submissions}], `forms_total`, `without_form_id`). `first_contact_missed`: in the last 24 hours submissions ended without a first contact for a reason someone can fix, or a lead raised the first-contact-missing alarm (warning; `detail`: `outcomes` {outcome: count}, `missing_alarms`, `needs_form_setup`). `first_contact_off`: the clinic has a WhatsApp number and its clinic form first contact is switched off (low; `detail`: `submissions_7d` = forms that arrived while off). A value added later is a changelog entry.
|
|
325036
325040
|
* @enum {string}
|
|
325037
325041
|
*/
|
|
325038
325042
|
ClinicSignalKind: "whatsapp_disconnected" | "whatsapp_attention" | "first_contact_templates_not_approved" | "unmapped_forms" | "first_contact_missed" | "first_contact_off";
|
package/package.json
CHANGED