@vitrina/api 14.97.12 → 14.97.14
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 +8 -7
- package/dist/index.d.ts +8 -7
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -25215,7 +25215,7 @@ interface paths {
|
|
|
25215
25215
|
temperature?: "hot" | "warm" | "cold" | null;
|
|
25216
25216
|
temperature_reason?: string | null;
|
|
25217
25217
|
/** @enum {string} */
|
|
25218
|
-
lost_reason?: "bought_elsewhere" | "financing_rejected" | "unit_unavailable" | "price" | "not_ready" | "unresponsive" | "other";
|
|
25218
|
+
lost_reason?: "bought_elsewhere" | "financing_rejected" | "unit_unavailable" | "price" | "not_ready" | "unresponsive" | "not_interested" | "other";
|
|
25219
25219
|
/**
|
|
25220
25220
|
* @description «Compra y consignación»: compra (direct purchase) | consignacion | unknown. Set on intake when known; reaching the «Comprado» / «Consignado» stage stamps it and overwrites an earlier value. Read back as null on a lead that was never on that board.
|
|
25221
25221
|
* @enum {string|null}
|
|
@@ -135228,7 +135228,7 @@ interface paths {
|
|
|
135228
135228
|
};
|
|
135229
135229
|
/**
|
|
135230
135230
|
* Get the Recontacto cadence configuration
|
|
135231
|
-
* @description Situations are code (`never_replied`, `stalled`, `lost`, plus the seen-without-reply nudge); everything inside one is editable. A rung waits `after_hours` since the PREVIOUS rung (rung 1: since the silence) and rides one of `whatsapp | instagram | email | voice`; `unit` is the editor’s display preference and the engine never reads it. There is no per-lead cap — the rails are the cap; `daily_cap` is the volume control. `max_evaluations_per_step` bounds how many times a rung may be reconsidered without contacting anyone. `pacing` is «Ritmo» (every pacing rule, off by default except `entry_max_silence_days` 45, `max_paths_per_lead` 3 and `max_messages_per_person_90d` 12): `min_gap_hours` (R2), `max_per_day` (R5), `pause_after_unanswered_days` (R1), `approval_after_silence_days` (R9), `approval_fallback_hours` (R11), `entry_max_silence_days` (R10), `hot_leads_faster` (R6), `max_paths_per_lead` (R12, per person across all their leads and chat rows), `max_messages_per_person_90d` (R13: unanswered Recontacto messages one person may get in any 90 days, every rail together). `unanswered_message.template_after_window` is R7 (on). `min_hours_between_touches` is an alias of `pacing.min_gap_hours`.
|
|
135231
|
+
* @description Situations are code (`never_replied`, `stalled`, `lost`, plus the seen-without-reply nudge); everything inside one is editable. A rung waits `after_hours` since the PREVIOUS rung (rung 1: since the silence) and rides one of `whatsapp | instagram | email | voice`; `unit` is the editor’s display preference and the engine never reads it. There is no per-lead cap — the rails are the cap; `daily_cap` is the volume control. `max_evaluations_per_step` bounds how many times a rung may be reconsidered without contacting anyone. `pacing` is «Ritmo» (every pacing rule, off by default except `entry_max_silence_days` 45, `max_paths_per_lead` 3 and `max_messages_per_person_90d` 12): `min_gap_hours` (R2), `max_per_day` (R5; a healthcare workspace reads 1 when none is stored, and null keeps 1), `pause_after_unanswered_days` (R1), `approval_after_silence_days` (R9), `approval_fallback_hours` (R11), `entry_max_silence_days` (R10), `hot_leads_faster` (R6), `max_paths_per_lead` (R12, per person across all their leads and chat rows), `max_messages_per_person_90d` (R13: unanswered Recontacto messages one person may get in any 90 days, every rail together). `unanswered_message.template_after_window` is R7 (on). `min_hours_between_touches` is an alias of `pacing.min_gap_hours`.
|
|
135232
135232
|
*/
|
|
135233
135233
|
get: {
|
|
135234
135234
|
parameters: {
|
|
@@ -135424,6 +135424,7 @@ interface paths {
|
|
|
135424
135424
|
"application/json": {
|
|
135425
135425
|
enabled?: boolean;
|
|
135426
135426
|
daily_cap?: number | null;
|
|
135427
|
+
daily_review_budget?: number;
|
|
135427
135428
|
lost_lookback_days?: number;
|
|
135428
135429
|
max_evaluations_per_step?: number;
|
|
135429
135430
|
re_evaluation_after_days?: number;
|
|
@@ -136106,7 +136107,7 @@ interface paths {
|
|
|
136106
136107
|
* "text": "si no responde a un seguimiento, los otros caminos esperan N días (apagado)"
|
|
136107
136108
|
* }
|
|
136108
136109
|
* ],
|
|
136109
|
-
* "limits_sentence": "Nunca son infinitos: cada camino termina (dejó de responder: 4 mensajes, perdido a los 12 días; nunca respondió: 4 mensajes, perdido a los 12 días; ya perdido: 1 más y fin), como máximo 3 caminos por persona cada 90 días, 4 recordatorios en el chat por conversación, hasta 200 mensajes
|
|
136110
|
+
* "limits_sentence": "Nunca son infinitos: nunca más de 12 mensajes sin respuesta a una misma persona cada 90 días, sumando todas sus oportunidades, cada camino termina (dejó de responder: 4 mensajes, perdido a los 12 días; nunca respondió: 4 mensajes, perdido a los 12 días; ya perdido: 1 más y fin), como máximo 3 caminos por persona cada 90 días, 4 recordatorios en el chat por conversación, hasta 200 mensajes por día que tus clientes no pidieron y nunca dos mensajes automáticos a la misma persona con menos de 1 hora.",
|
|
136110
136111
|
* "guards_summary": "Siempre se respeta · horario 09:00–21:00, no contactar, ventana de WhatsApp y 15 reglas más",
|
|
136111
136112
|
* "guards": [
|
|
136112
136113
|
* {
|
|
@@ -136237,7 +136238,7 @@ interface paths {
|
|
|
136237
136238
|
};
|
|
136238
136239
|
/**
|
|
136239
136240
|
* What happens next for each of a contact’s leads
|
|
136240
|
-
* @description The contact page’s «Próximo seguimiento»: for each open or lost lead of `contact_id` (or the one `lead_id`), newest first, the next thing the Recontacto engine does, computed by the same ladder walk and decision the sweep runs (contact hours, the night deferral, R12, the answer-debt gate). `state` is `message` (a follow-up is planned: `step` of `steps_total`, `at`, `channel`, `what`, `autonomy`, `deferred_from_label` when contact hours moved it, `due_now` when the next sweep takes it), `lose` (no more messages; marked lost at `at`), `answer_debt` (the customer wrote last), `path_cap` (R12), `paused` (the master switch is off) or `none`. `sentence` is the whole answer in one line, in `lang` (default the workspace’s). Drafts already waiting for approval or in the backlog queue are the ledger’s (`GET /followups/recontacto/attempts?contact_id=`).
|
|
136241
|
+
* @description The contact page’s «Próximo seguimiento»: for each open or lost lead of `contact_id` (or the one `lead_id`), newest first, the next thing the Recontacto engine does, computed by the same ladder walk and decision the sweep runs (contact hours, the night deferral, R12, the answer-debt gate). `state` is `message` (a follow-up is planned: `step` of `steps_total`, `at`, `channel`, `what`, `autonomy`, `deferred_from_label` when contact hours moved it, `due_now` when the next sweep takes it), `lose` (no more messages; marked lost at `at`), `answer_debt` (the customer wrote last), `path_cap` (R12), `person_ladder` (G13: the person’s ladder runs on a newer lead), `paused` (the master switch is off) or `none`. `sentence` is the whole answer in one line, in `lang` (default the workspace’s). Drafts already waiting for approval or in the backlog queue are the ledger’s (`GET /followups/recontacto/attempts?contact_id=`).
|
|
136241
136242
|
*/
|
|
136242
136243
|
get: {
|
|
136243
136244
|
parameters: {
|
|
@@ -136409,7 +136410,7 @@ interface paths {
|
|
|
136409
136410
|
* "label": "Avisos",
|
|
136410
136411
|
* "sentence": "1 aviso activo: lo que el cliente pidió que le recordáramos.",
|
|
136411
136412
|
* "on": true,
|
|
136412
|
-
* "href": "/settings/seguimientos"
|
|
136413
|
+
* "href": "/settings/seguimientos?tab=followups"
|
|
136413
136414
|
* },
|
|
136414
136415
|
* {
|
|
136415
136416
|
* "tab": "post_atencion",
|
|
@@ -229752,7 +229753,7 @@ interface components {
|
|
|
229752
229753
|
desistimientos: {
|
|
229753
229754
|
total: number;
|
|
229754
229755
|
by_reason: {
|
|
229755
|
-
/** @description bought_elsewhere | financing_rejected | unit_unavailable | price | not_ready | unresponsive | other | unclassified */
|
|
229756
|
+
/** @description bought_elsewhere | financing_rejected | unit_unavailable | price | not_ready | unresponsive | not_interested | other | unclassified */
|
|
229756
229757
|
reason: string;
|
|
229757
229758
|
count: number;
|
|
229758
229759
|
}[];
|
|
@@ -229822,7 +229823,7 @@ interface components {
|
|
|
229822
229823
|
desistimientos: {
|
|
229823
229824
|
total: number;
|
|
229824
229825
|
by_reason: {
|
|
229825
|
-
/** @description bought_elsewhere | financing_rejected | unit_unavailable | price | not_ready | unresponsive | other | unclassified */
|
|
229826
|
+
/** @description bought_elsewhere | financing_rejected | unit_unavailable | price | not_ready | unresponsive | not_interested | other | unclassified */
|
|
229826
229827
|
reason: string;
|
|
229827
229828
|
count: number;
|
|
229828
229829
|
}[];
|
package/dist/index.d.ts
CHANGED
|
@@ -25215,7 +25215,7 @@ interface paths {
|
|
|
25215
25215
|
temperature?: "hot" | "warm" | "cold" | null;
|
|
25216
25216
|
temperature_reason?: string | null;
|
|
25217
25217
|
/** @enum {string} */
|
|
25218
|
-
lost_reason?: "bought_elsewhere" | "financing_rejected" | "unit_unavailable" | "price" | "not_ready" | "unresponsive" | "other";
|
|
25218
|
+
lost_reason?: "bought_elsewhere" | "financing_rejected" | "unit_unavailable" | "price" | "not_ready" | "unresponsive" | "not_interested" | "other";
|
|
25219
25219
|
/**
|
|
25220
25220
|
* @description «Compra y consignación»: compra (direct purchase) | consignacion | unknown. Set on intake when known; reaching the «Comprado» / «Consignado» stage stamps it and overwrites an earlier value. Read back as null on a lead that was never on that board.
|
|
25221
25221
|
* @enum {string|null}
|
|
@@ -135228,7 +135228,7 @@ interface paths {
|
|
|
135228
135228
|
};
|
|
135229
135229
|
/**
|
|
135230
135230
|
* Get the Recontacto cadence configuration
|
|
135231
|
-
* @description Situations are code (`never_replied`, `stalled`, `lost`, plus the seen-without-reply nudge); everything inside one is editable. A rung waits `after_hours` since the PREVIOUS rung (rung 1: since the silence) and rides one of `whatsapp | instagram | email | voice`; `unit` is the editor’s display preference and the engine never reads it. There is no per-lead cap — the rails are the cap; `daily_cap` is the volume control. `max_evaluations_per_step` bounds how many times a rung may be reconsidered without contacting anyone. `pacing` is «Ritmo» (every pacing rule, off by default except `entry_max_silence_days` 45, `max_paths_per_lead` 3 and `max_messages_per_person_90d` 12): `min_gap_hours` (R2), `max_per_day` (R5), `pause_after_unanswered_days` (R1), `approval_after_silence_days` (R9), `approval_fallback_hours` (R11), `entry_max_silence_days` (R10), `hot_leads_faster` (R6), `max_paths_per_lead` (R12, per person across all their leads and chat rows), `max_messages_per_person_90d` (R13: unanswered Recontacto messages one person may get in any 90 days, every rail together). `unanswered_message.template_after_window` is R7 (on). `min_hours_between_touches` is an alias of `pacing.min_gap_hours`.
|
|
135231
|
+
* @description Situations are code (`never_replied`, `stalled`, `lost`, plus the seen-without-reply nudge); everything inside one is editable. A rung waits `after_hours` since the PREVIOUS rung (rung 1: since the silence) and rides one of `whatsapp | instagram | email | voice`; `unit` is the editor’s display preference and the engine never reads it. There is no per-lead cap — the rails are the cap; `daily_cap` is the volume control. `max_evaluations_per_step` bounds how many times a rung may be reconsidered without contacting anyone. `pacing` is «Ritmo» (every pacing rule, off by default except `entry_max_silence_days` 45, `max_paths_per_lead` 3 and `max_messages_per_person_90d` 12): `min_gap_hours` (R2), `max_per_day` (R5; a healthcare workspace reads 1 when none is stored, and null keeps 1), `pause_after_unanswered_days` (R1), `approval_after_silence_days` (R9), `approval_fallback_hours` (R11), `entry_max_silence_days` (R10), `hot_leads_faster` (R6), `max_paths_per_lead` (R12, per person across all their leads and chat rows), `max_messages_per_person_90d` (R13: unanswered Recontacto messages one person may get in any 90 days, every rail together). `unanswered_message.template_after_window` is R7 (on). `min_hours_between_touches` is an alias of `pacing.min_gap_hours`.
|
|
135232
135232
|
*/
|
|
135233
135233
|
get: {
|
|
135234
135234
|
parameters: {
|
|
@@ -135424,6 +135424,7 @@ interface paths {
|
|
|
135424
135424
|
"application/json": {
|
|
135425
135425
|
enabled?: boolean;
|
|
135426
135426
|
daily_cap?: number | null;
|
|
135427
|
+
daily_review_budget?: number;
|
|
135427
135428
|
lost_lookback_days?: number;
|
|
135428
135429
|
max_evaluations_per_step?: number;
|
|
135429
135430
|
re_evaluation_after_days?: number;
|
|
@@ -136106,7 +136107,7 @@ interface paths {
|
|
|
136106
136107
|
* "text": "si no responde a un seguimiento, los otros caminos esperan N días (apagado)"
|
|
136107
136108
|
* }
|
|
136108
136109
|
* ],
|
|
136109
|
-
* "limits_sentence": "Nunca son infinitos: cada camino termina (dejó de responder: 4 mensajes, perdido a los 12 días; nunca respondió: 4 mensajes, perdido a los 12 días; ya perdido: 1 más y fin), como máximo 3 caminos por persona cada 90 días, 4 recordatorios en el chat por conversación, hasta 200 mensajes
|
|
136110
|
+
* "limits_sentence": "Nunca son infinitos: nunca más de 12 mensajes sin respuesta a una misma persona cada 90 días, sumando todas sus oportunidades, cada camino termina (dejó de responder: 4 mensajes, perdido a los 12 días; nunca respondió: 4 mensajes, perdido a los 12 días; ya perdido: 1 más y fin), como máximo 3 caminos por persona cada 90 días, 4 recordatorios en el chat por conversación, hasta 200 mensajes por día que tus clientes no pidieron y nunca dos mensajes automáticos a la misma persona con menos de 1 hora.",
|
|
136110
136111
|
* "guards_summary": "Siempre se respeta · horario 09:00–21:00, no contactar, ventana de WhatsApp y 15 reglas más",
|
|
136111
136112
|
* "guards": [
|
|
136112
136113
|
* {
|
|
@@ -136237,7 +136238,7 @@ interface paths {
|
|
|
136237
136238
|
};
|
|
136238
136239
|
/**
|
|
136239
136240
|
* What happens next for each of a contact’s leads
|
|
136240
|
-
* @description The contact page’s «Próximo seguimiento»: for each open or lost lead of `contact_id` (or the one `lead_id`), newest first, the next thing the Recontacto engine does, computed by the same ladder walk and decision the sweep runs (contact hours, the night deferral, R12, the answer-debt gate). `state` is `message` (a follow-up is planned: `step` of `steps_total`, `at`, `channel`, `what`, `autonomy`, `deferred_from_label` when contact hours moved it, `due_now` when the next sweep takes it), `lose` (no more messages; marked lost at `at`), `answer_debt` (the customer wrote last), `path_cap` (R12), `paused` (the master switch is off) or `none`. `sentence` is the whole answer in one line, in `lang` (default the workspace’s). Drafts already waiting for approval or in the backlog queue are the ledger’s (`GET /followups/recontacto/attempts?contact_id=`).
|
|
136241
|
+
* @description The contact page’s «Próximo seguimiento»: for each open or lost lead of `contact_id` (or the one `lead_id`), newest first, the next thing the Recontacto engine does, computed by the same ladder walk and decision the sweep runs (contact hours, the night deferral, R12, the answer-debt gate). `state` is `message` (a follow-up is planned: `step` of `steps_total`, `at`, `channel`, `what`, `autonomy`, `deferred_from_label` when contact hours moved it, `due_now` when the next sweep takes it), `lose` (no more messages; marked lost at `at`), `answer_debt` (the customer wrote last), `path_cap` (R12), `person_ladder` (G13: the person’s ladder runs on a newer lead), `paused` (the master switch is off) or `none`. `sentence` is the whole answer in one line, in `lang` (default the workspace’s). Drafts already waiting for approval or in the backlog queue are the ledger’s (`GET /followups/recontacto/attempts?contact_id=`).
|
|
136241
136242
|
*/
|
|
136242
136243
|
get: {
|
|
136243
136244
|
parameters: {
|
|
@@ -136409,7 +136410,7 @@ interface paths {
|
|
|
136409
136410
|
* "label": "Avisos",
|
|
136410
136411
|
* "sentence": "1 aviso activo: lo que el cliente pidió que le recordáramos.",
|
|
136411
136412
|
* "on": true,
|
|
136412
|
-
* "href": "/settings/seguimientos"
|
|
136413
|
+
* "href": "/settings/seguimientos?tab=followups"
|
|
136413
136414
|
* },
|
|
136414
136415
|
* {
|
|
136415
136416
|
* "tab": "post_atencion",
|
|
@@ -229752,7 +229753,7 @@ interface components {
|
|
|
229752
229753
|
desistimientos: {
|
|
229753
229754
|
total: number;
|
|
229754
229755
|
by_reason: {
|
|
229755
|
-
/** @description bought_elsewhere | financing_rejected | unit_unavailable | price | not_ready | unresponsive | other | unclassified */
|
|
229756
|
+
/** @description bought_elsewhere | financing_rejected | unit_unavailable | price | not_ready | unresponsive | not_interested | other | unclassified */
|
|
229756
229757
|
reason: string;
|
|
229757
229758
|
count: number;
|
|
229758
229759
|
}[];
|
|
@@ -229822,7 +229823,7 @@ interface components {
|
|
|
229822
229823
|
desistimientos: {
|
|
229823
229824
|
total: number;
|
|
229824
229825
|
by_reason: {
|
|
229825
|
-
/** @description bought_elsewhere | financing_rejected | unit_unavailable | price | not_ready | unresponsive | other | unclassified */
|
|
229826
|
+
/** @description bought_elsewhere | financing_rejected | unit_unavailable | price | not_ready | unresponsive | not_interested | other | unclassified */
|
|
229826
229827
|
reason: string;
|
|
229827
229828
|
count: number;
|
|
229828
229829
|
}[];
|
package/package.json
CHANGED