@vitrina/api 15.6.4 → 15.7.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 +7 -3
- package/dist/index.d.ts +7 -3
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -136584,7 +136584,7 @@ interface paths {
|
|
|
136584
136584
|
};
|
|
136585
136585
|
/**
|
|
136586
136586
|
* Get the Recontacto cadence configuration
|
|
136587
|
-
* @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` 6): `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; only paths written to since the person’s last reply count, so a reply resets it), `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`. `after_handoff` is «Después de pasarlo a una persona» (A9.2): a conversation is silent from an AI handoff of any kind or a teammate takeover until «Devolver a la IA» or the close. `while_silent` (stored as `followups` + `auto_send_after_hours`): `draft_and_remind` (default: each due step a draft for whoever handles it, sent by hand), `draft_auto_send` (the draft sends itself after `auto_send_after_hours`, 1 to 144, inside contact hours; a teammate’s promised time wins), `remind_only` (no draft; whoever handles it is reminded) or `nothing`. `ai_answers_waiting`: `never` (default: whoever handles it is reminded at 30 minutes, then an admin), `after_minutes` (the AI answers after `ai_answers_waiting_after_minutes`, 5 to 720) or `after_quiet_days` (only a customer back after 7 quiet days). `ai_answers_waiting_after_hours` is the older spelling (N = `after_minutes` with N × 60, null = `never`). A person whose lead is in a late stage (visit scheduled or done, a sale under way) gets no follow-ups for 14 days after entering it or their last message (G52); then the ladder resumes through the backlog queue.
|
|
136587
|
+
* @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` 6): `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; only paths written to since the person’s last reply count, so a reply resets it), `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`. `after_handoff` is «Después de pasarlo a una persona» (A9.2): a conversation is silent from an AI handoff of any kind or a teammate takeover until «Devolver a la IA» or the close. `while_silent` (stored as `followups` + `auto_send_after_hours`): `draft_and_remind` (default: each due step a draft for whoever handles it, sent by hand), `draft_auto_send` (the draft sends itself after `auto_send_after_hours`, 1 to 144, inside contact hours; a teammate’s promised time wins), `remind_only` (no draft; whoever handles it is reminded) or `nothing`. `ai_answers_waiting`: `never` (default: whoever handles it is reminded at 30 minutes, then an admin), `after_minutes` (the AI answers after `ai_answers_waiting_after_minutes`, 5 to 720) or `after_quiet_days` (only a customer back after 7 quiet days). `ai_answers_waiting_after_hours` is the older spelling (N = `after_minutes` with N × 60, null = `never`). `ai_answers_waiting_keep_owner` (default false): with `after_minutes`, the AI answers once per wait only what it knows, or sends one short status line when the open question waits on the team, or nothing; the conversation stays with the person (handler and assignee unchanged). A person whose lead is in a late stage (visit scheduled or done, a sale under way) gets no follow-ups for 14 days after entering it or their last message (G52); then the ladder resumes through the backlog queue.
|
|
136588
136588
|
*/
|
|
136589
136589
|
get: {
|
|
136590
136590
|
parameters: {
|
|
@@ -136693,7 +136693,8 @@ interface paths {
|
|
|
136693
136693
|
* "while_silent": "draft_and_remind",
|
|
136694
136694
|
* "ai_answers_waiting": "never",
|
|
136695
136695
|
* "ai_answers_waiting_after_minutes": 30,
|
|
136696
|
-
* "ai_answers_waiting_after_hours": null
|
|
136696
|
+
* "ai_answers_waiting_after_hours": null,
|
|
136697
|
+
* "ai_answers_waiting_keep_owner": false
|
|
136697
136698
|
* },
|
|
136698
136699
|
* "last_run_at": null
|
|
136699
136700
|
* }
|
|
@@ -136869,6 +136870,7 @@ interface paths {
|
|
|
136869
136870
|
ai_answers_waiting?: "never" | "after_minutes" | "after_quiet_days";
|
|
136870
136871
|
ai_answers_waiting_after_minutes?: number;
|
|
136871
136872
|
ai_answers_waiting_after_hours?: number | null;
|
|
136873
|
+
ai_answers_waiting_keep_owner?: boolean;
|
|
136872
136874
|
};
|
|
136873
136875
|
};
|
|
136874
136876
|
};
|
|
@@ -136972,7 +136974,8 @@ interface paths {
|
|
|
136972
136974
|
* "while_silent": "draft_and_remind",
|
|
136973
136975
|
* "ai_answers_waiting": "never",
|
|
136974
136976
|
* "ai_answers_waiting_after_minutes": 30,
|
|
136975
|
-
* "ai_answers_waiting_after_hours": null
|
|
136977
|
+
* "ai_answers_waiting_after_hours": null,
|
|
136978
|
+
* "ai_answers_waiting_keep_owner": false
|
|
136976
136979
|
* },
|
|
136977
136980
|
* "last_run_at": null
|
|
136978
136981
|
* }
|
|
@@ -137647,6 +137650,7 @@ interface paths {
|
|
|
137647
137650
|
* "ai_answers_waiting": "never",
|
|
137648
137651
|
* "ai_answers_waiting_after_minutes": 30,
|
|
137649
137652
|
* "ai_answers_waiting_after_hours": null,
|
|
137653
|
+
* "ai_answers_waiting_keep_owner": false,
|
|
137650
137654
|
* "reminder_minutes": 30,
|
|
137651
137655
|
* "controls": {
|
|
137652
137656
|
* "followups": true,
|
package/dist/index.d.ts
CHANGED
|
@@ -136584,7 +136584,7 @@ interface paths {
|
|
|
136584
136584
|
};
|
|
136585
136585
|
/**
|
|
136586
136586
|
* Get the Recontacto cadence configuration
|
|
136587
|
-
* @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` 6): `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; only paths written to since the person’s last reply count, so a reply resets it), `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`. `after_handoff` is «Después de pasarlo a una persona» (A9.2): a conversation is silent from an AI handoff of any kind or a teammate takeover until «Devolver a la IA» or the close. `while_silent` (stored as `followups` + `auto_send_after_hours`): `draft_and_remind` (default: each due step a draft for whoever handles it, sent by hand), `draft_auto_send` (the draft sends itself after `auto_send_after_hours`, 1 to 144, inside contact hours; a teammate’s promised time wins), `remind_only` (no draft; whoever handles it is reminded) or `nothing`. `ai_answers_waiting`: `never` (default: whoever handles it is reminded at 30 minutes, then an admin), `after_minutes` (the AI answers after `ai_answers_waiting_after_minutes`, 5 to 720) or `after_quiet_days` (only a customer back after 7 quiet days). `ai_answers_waiting_after_hours` is the older spelling (N = `after_minutes` with N × 60, null = `never`). A person whose lead is in a late stage (visit scheduled or done, a sale under way) gets no follow-ups for 14 days after entering it or their last message (G52); then the ladder resumes through the backlog queue.
|
|
136587
|
+
* @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` 6): `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; only paths written to since the person’s last reply count, so a reply resets it), `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`. `after_handoff` is «Después de pasarlo a una persona» (A9.2): a conversation is silent from an AI handoff of any kind or a teammate takeover until «Devolver a la IA» or the close. `while_silent` (stored as `followups` + `auto_send_after_hours`): `draft_and_remind` (default: each due step a draft for whoever handles it, sent by hand), `draft_auto_send` (the draft sends itself after `auto_send_after_hours`, 1 to 144, inside contact hours; a teammate’s promised time wins), `remind_only` (no draft; whoever handles it is reminded) or `nothing`. `ai_answers_waiting`: `never` (default: whoever handles it is reminded at 30 minutes, then an admin), `after_minutes` (the AI answers after `ai_answers_waiting_after_minutes`, 5 to 720) or `after_quiet_days` (only a customer back after 7 quiet days). `ai_answers_waiting_after_hours` is the older spelling (N = `after_minutes` with N × 60, null = `never`). `ai_answers_waiting_keep_owner` (default false): with `after_minutes`, the AI answers once per wait only what it knows, or sends one short status line when the open question waits on the team, or nothing; the conversation stays with the person (handler and assignee unchanged). A person whose lead is in a late stage (visit scheduled or done, a sale under way) gets no follow-ups for 14 days after entering it or their last message (G52); then the ladder resumes through the backlog queue.
|
|
136588
136588
|
*/
|
|
136589
136589
|
get: {
|
|
136590
136590
|
parameters: {
|
|
@@ -136693,7 +136693,8 @@ interface paths {
|
|
|
136693
136693
|
* "while_silent": "draft_and_remind",
|
|
136694
136694
|
* "ai_answers_waiting": "never",
|
|
136695
136695
|
* "ai_answers_waiting_after_minutes": 30,
|
|
136696
|
-
* "ai_answers_waiting_after_hours": null
|
|
136696
|
+
* "ai_answers_waiting_after_hours": null,
|
|
136697
|
+
* "ai_answers_waiting_keep_owner": false
|
|
136697
136698
|
* },
|
|
136698
136699
|
* "last_run_at": null
|
|
136699
136700
|
* }
|
|
@@ -136869,6 +136870,7 @@ interface paths {
|
|
|
136869
136870
|
ai_answers_waiting?: "never" | "after_minutes" | "after_quiet_days";
|
|
136870
136871
|
ai_answers_waiting_after_minutes?: number;
|
|
136871
136872
|
ai_answers_waiting_after_hours?: number | null;
|
|
136873
|
+
ai_answers_waiting_keep_owner?: boolean;
|
|
136872
136874
|
};
|
|
136873
136875
|
};
|
|
136874
136876
|
};
|
|
@@ -136972,7 +136974,8 @@ interface paths {
|
|
|
136972
136974
|
* "while_silent": "draft_and_remind",
|
|
136973
136975
|
* "ai_answers_waiting": "never",
|
|
136974
136976
|
* "ai_answers_waiting_after_minutes": 30,
|
|
136975
|
-
* "ai_answers_waiting_after_hours": null
|
|
136977
|
+
* "ai_answers_waiting_after_hours": null,
|
|
136978
|
+
* "ai_answers_waiting_keep_owner": false
|
|
136976
136979
|
* },
|
|
136977
136980
|
* "last_run_at": null
|
|
136978
136981
|
* }
|
|
@@ -137647,6 +137650,7 @@ interface paths {
|
|
|
137647
137650
|
* "ai_answers_waiting": "never",
|
|
137648
137651
|
* "ai_answers_waiting_after_minutes": 30,
|
|
137649
137652
|
* "ai_answers_waiting_after_hours": null,
|
|
137653
|
+
* "ai_answers_waiting_keep_owner": false,
|
|
137650
137654
|
* "reminder_minutes": 30,
|
|
137651
137655
|
* "controls": {
|
|
137652
137656
|
* "followups": true,
|
package/package.json
CHANGED