@vitrina/api 14.2.0 → 14.3.0
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 +29 -5
- package/dist/index.d.ts +29 -5
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -101712,7 +101712,8 @@ interface paths {
|
|
|
101712
101712
|
* "presupuestado_clp": 4381028,
|
|
101713
101713
|
* "presupuestos": 18,
|
|
101714
101714
|
* "recaudado_clp": 3307992,
|
|
101715
|
-
* "pagos": 21
|
|
101715
|
+
* "pagos": 21,
|
|
101716
|
+
* "citas": 52
|
|
101716
101717
|
* },
|
|
101717
101718
|
* "totals": {
|
|
101718
101719
|
* "produccion": {
|
|
@@ -103551,17 +103552,32 @@ interface paths {
|
|
|
103551
103552
|
* {
|
|
103552
103553
|
* "hour": 9,
|
|
103553
103554
|
* "total": 3,
|
|
103554
|
-
* "primeras_visitas": 1
|
|
103555
|
+
* "primeras_visitas": 1,
|
|
103556
|
+
* "by_kind": {
|
|
103557
|
+
* "new": 1,
|
|
103558
|
+
* "new_rebooked": 0,
|
|
103559
|
+
* "in_treatment": 2
|
|
103560
|
+
* }
|
|
103555
103561
|
* },
|
|
103556
103562
|
* {
|
|
103557
103563
|
* "hour": 11,
|
|
103558
103564
|
* "total": 4,
|
|
103559
|
-
* "primeras_visitas": 2
|
|
103565
|
+
* "primeras_visitas": 2,
|
|
103566
|
+
* "by_kind": {
|
|
103567
|
+
* "new": 1,
|
|
103568
|
+
* "new_rebooked": 1,
|
|
103569
|
+
* "in_treatment": 2
|
|
103570
|
+
* }
|
|
103560
103571
|
* },
|
|
103561
103572
|
* {
|
|
103562
103573
|
* "hour": 14,
|
|
103563
103574
|
* "total": 2,
|
|
103564
|
-
* "primeras_visitas": 1
|
|
103575
|
+
* "primeras_visitas": 1,
|
|
103576
|
+
* "by_kind": {
|
|
103577
|
+
* "new": 1,
|
|
103578
|
+
* "new_rebooked": 0,
|
|
103579
|
+
* "in_treatment": 1
|
|
103580
|
+
* }
|
|
103565
103581
|
* }
|
|
103566
103582
|
* ],
|
|
103567
103583
|
* "origin": {
|
|
@@ -103634,6 +103650,12 @@ interface paths {
|
|
|
103634
103650
|
hour: number;
|
|
103635
103651
|
total: number;
|
|
103636
103652
|
primeras_visitas: number;
|
|
103653
|
+
/** @description The hour's citas by Tipo de agendamiento; a cita whose kind could not be judged counts in `total` only. */
|
|
103654
|
+
by_kind: {
|
|
103655
|
+
new: number;
|
|
103656
|
+
new_rebooked: number;
|
|
103657
|
+
in_treatment: number;
|
|
103658
|
+
};
|
|
103637
103659
|
}[];
|
|
103638
103660
|
origin: {
|
|
103639
103661
|
meta: number;
|
|
@@ -171214,7 +171236,7 @@ interface paths {
|
|
|
171214
171236
|
};
|
|
171215
171237
|
/**
|
|
171216
171238
|
* Get a clinic patient
|
|
171217
|
-
* @description Also carries `origin`: the patient's Origen, Meta (with the ad, ad set and campaign) Orgánico (a linked contact with no ad touch) or Sin dato (`unknown`: no linked contact) — the attribution Vitrina Ads reports, through the patient's linked contact.
|
|
171239
|
+
* @description Also carries `origin`: the patient's Origen, Meta (with the ad, ad set and campaign) Orgánico (a linked contact with no ad touch) or Sin dato (`unknown`: no linked contact) — the attribution Vitrina Ads reports, through the patient's linked contact. `link` is the contact link (`contact_id`, `verified_method`, `verified_at`) plus `revoked_at` / `revoked_reason` / `revoked_method`: set while the automatic phone-link guard holds the link revoked (a minor, a number shared by several fichas, …) — it still books but no longer reveals the record, and `revoked_method` is what the link was before.
|
|
171218
171240
|
*
|
|
171219
171241
|
* **Connected apps:** refused with `403 CONNECTED_APP_SENSITIVE_DATA`, whatever scopes they hold — this operation carries a dato sensible (ADR 0106 §4). Only an API key or a personal token of the workspace that holds the scope reaches it.
|
|
171220
171242
|
*/
|
|
@@ -179031,6 +179053,8 @@ interface components {
|
|
|
179031
179053
|
presupuestos: number;
|
|
179032
179054
|
recaudado_clp: number | null;
|
|
179033
179055
|
pagos: number | null;
|
|
179056
|
+
/** @description Citas on the agenda today, cancelled ones out. 0 = the clinic is not seeing patients today (closed, holiday), so three $0 figures are not a slow day. */
|
|
179057
|
+
citas: number;
|
|
179034
179058
|
};
|
|
179035
179059
|
totals: {
|
|
179036
179060
|
produccion: {
|
package/dist/index.d.ts
CHANGED
|
@@ -101712,7 +101712,8 @@ interface paths {
|
|
|
101712
101712
|
* "presupuestado_clp": 4381028,
|
|
101713
101713
|
* "presupuestos": 18,
|
|
101714
101714
|
* "recaudado_clp": 3307992,
|
|
101715
|
-
* "pagos": 21
|
|
101715
|
+
* "pagos": 21,
|
|
101716
|
+
* "citas": 52
|
|
101716
101717
|
* },
|
|
101717
101718
|
* "totals": {
|
|
101718
101719
|
* "produccion": {
|
|
@@ -103551,17 +103552,32 @@ interface paths {
|
|
|
103551
103552
|
* {
|
|
103552
103553
|
* "hour": 9,
|
|
103553
103554
|
* "total": 3,
|
|
103554
|
-
* "primeras_visitas": 1
|
|
103555
|
+
* "primeras_visitas": 1,
|
|
103556
|
+
* "by_kind": {
|
|
103557
|
+
* "new": 1,
|
|
103558
|
+
* "new_rebooked": 0,
|
|
103559
|
+
* "in_treatment": 2
|
|
103560
|
+
* }
|
|
103555
103561
|
* },
|
|
103556
103562
|
* {
|
|
103557
103563
|
* "hour": 11,
|
|
103558
103564
|
* "total": 4,
|
|
103559
|
-
* "primeras_visitas": 2
|
|
103565
|
+
* "primeras_visitas": 2,
|
|
103566
|
+
* "by_kind": {
|
|
103567
|
+
* "new": 1,
|
|
103568
|
+
* "new_rebooked": 1,
|
|
103569
|
+
* "in_treatment": 2
|
|
103570
|
+
* }
|
|
103560
103571
|
* },
|
|
103561
103572
|
* {
|
|
103562
103573
|
* "hour": 14,
|
|
103563
103574
|
* "total": 2,
|
|
103564
|
-
* "primeras_visitas": 1
|
|
103575
|
+
* "primeras_visitas": 1,
|
|
103576
|
+
* "by_kind": {
|
|
103577
|
+
* "new": 1,
|
|
103578
|
+
* "new_rebooked": 0,
|
|
103579
|
+
* "in_treatment": 1
|
|
103580
|
+
* }
|
|
103565
103581
|
* }
|
|
103566
103582
|
* ],
|
|
103567
103583
|
* "origin": {
|
|
@@ -103634,6 +103650,12 @@ interface paths {
|
|
|
103634
103650
|
hour: number;
|
|
103635
103651
|
total: number;
|
|
103636
103652
|
primeras_visitas: number;
|
|
103653
|
+
/** @description The hour's citas by Tipo de agendamiento; a cita whose kind could not be judged counts in `total` only. */
|
|
103654
|
+
by_kind: {
|
|
103655
|
+
new: number;
|
|
103656
|
+
new_rebooked: number;
|
|
103657
|
+
in_treatment: number;
|
|
103658
|
+
};
|
|
103637
103659
|
}[];
|
|
103638
103660
|
origin: {
|
|
103639
103661
|
meta: number;
|
|
@@ -171214,7 +171236,7 @@ interface paths {
|
|
|
171214
171236
|
};
|
|
171215
171237
|
/**
|
|
171216
171238
|
* Get a clinic patient
|
|
171217
|
-
* @description Also carries `origin`: the patient's Origen, Meta (with the ad, ad set and campaign) Orgánico (a linked contact with no ad touch) or Sin dato (`unknown`: no linked contact) — the attribution Vitrina Ads reports, through the patient's linked contact.
|
|
171239
|
+
* @description Also carries `origin`: the patient's Origen, Meta (with the ad, ad set and campaign) Orgánico (a linked contact with no ad touch) or Sin dato (`unknown`: no linked contact) — the attribution Vitrina Ads reports, through the patient's linked contact. `link` is the contact link (`contact_id`, `verified_method`, `verified_at`) plus `revoked_at` / `revoked_reason` / `revoked_method`: set while the automatic phone-link guard holds the link revoked (a minor, a number shared by several fichas, …) — it still books but no longer reveals the record, and `revoked_method` is what the link was before.
|
|
171218
171240
|
*
|
|
171219
171241
|
* **Connected apps:** refused with `403 CONNECTED_APP_SENSITIVE_DATA`, whatever scopes they hold — this operation carries a dato sensible (ADR 0106 §4). Only an API key or a personal token of the workspace that holds the scope reaches it.
|
|
171220
171242
|
*/
|
|
@@ -179031,6 +179053,8 @@ interface components {
|
|
|
179031
179053
|
presupuestos: number;
|
|
179032
179054
|
recaudado_clp: number | null;
|
|
179033
179055
|
pagos: number | null;
|
|
179056
|
+
/** @description Citas on the agenda today, cancelled ones out. 0 = the clinic is not seeing patients today (closed, holiday), so three $0 figures are not a slow day. */
|
|
179057
|
+
citas: number;
|
|
179034
179058
|
};
|
|
179035
179059
|
totals: {
|
|
179036
179060
|
produccion: {
|
package/package.json
CHANGED