@vitrina/api 15.6.5 → 15.8.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 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: {
@@ -136611,6 +136611,7 @@ interface paths {
136611
136611
  * "re_evaluation_after_days": 1,
136612
136612
  * "min_hours_between_touches": null,
136613
136613
  * "excluded_template_ids": [],
136614
+ * "voice_examples": [],
136614
136615
  * "situations": {
136615
136616
  * "never_replied": {
136616
136617
  * "enabled": true,
@@ -136693,7 +136694,8 @@ interface paths {
136693
136694
  * "while_silent": "draft_and_remind",
136694
136695
  * "ai_answers_waiting": "never",
136695
136696
  * "ai_answers_waiting_after_minutes": 30,
136696
- * "ai_answers_waiting_after_hours": null
136697
+ * "ai_answers_waiting_after_hours": null,
136698
+ * "ai_answers_waiting_keep_owner": false
136697
136699
  * },
136698
136700
  * "last_run_at": null
136699
136701
  * }
@@ -136794,6 +136796,7 @@ interface paths {
136794
136796
  re_evaluation_after_days?: number;
136795
136797
  min_hours_between_touches?: number | null;
136796
136798
  excluded_template_ids?: string[];
136799
+ voice_examples?: string[];
136797
136800
  situations?: {
136798
136801
  never_replied?: {
136799
136802
  enabled?: boolean;
@@ -136869,6 +136872,7 @@ interface paths {
136869
136872
  ai_answers_waiting?: "never" | "after_minutes" | "after_quiet_days";
136870
136873
  ai_answers_waiting_after_minutes?: number;
136871
136874
  ai_answers_waiting_after_hours?: number | null;
136875
+ ai_answers_waiting_keep_owner?: boolean;
136872
136876
  };
136873
136877
  };
136874
136878
  };
@@ -136890,6 +136894,7 @@ interface paths {
136890
136894
  * "re_evaluation_after_days": 1,
136891
136895
  * "min_hours_between_touches": 24,
136892
136896
  * "excluded_template_ids": [],
136897
+ * "voice_examples": [],
136893
136898
  * "situations": {
136894
136899
  * "never_replied": {
136895
136900
  * "enabled": true,
@@ -136972,7 +136977,8 @@ interface paths {
136972
136977
  * "while_silent": "draft_and_remind",
136973
136978
  * "ai_answers_waiting": "never",
136974
136979
  * "ai_answers_waiting_after_minutes": 30,
136975
- * "ai_answers_waiting_after_hours": null
136980
+ * "ai_answers_waiting_after_hours": null,
136981
+ * "ai_answers_waiting_keep_owner": false
136976
136982
  * },
136977
136983
  * "last_run_at": null
136978
136984
  * }
@@ -137647,6 +137653,7 @@ interface paths {
137647
137653
  * "ai_answers_waiting": "never",
137648
137654
  * "ai_answers_waiting_after_minutes": 30,
137649
137655
  * "ai_answers_waiting_after_hours": null,
137656
+ * "ai_answers_waiting_keep_owner": false,
137650
137657
  * "reminder_minutes": 30,
137651
137658
  * "controls": {
137652
137659
  * "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: {
@@ -136611,6 +136611,7 @@ interface paths {
136611
136611
  * "re_evaluation_after_days": 1,
136612
136612
  * "min_hours_between_touches": null,
136613
136613
  * "excluded_template_ids": [],
136614
+ * "voice_examples": [],
136614
136615
  * "situations": {
136615
136616
  * "never_replied": {
136616
136617
  * "enabled": true,
@@ -136693,7 +136694,8 @@ interface paths {
136693
136694
  * "while_silent": "draft_and_remind",
136694
136695
  * "ai_answers_waiting": "never",
136695
136696
  * "ai_answers_waiting_after_minutes": 30,
136696
- * "ai_answers_waiting_after_hours": null
136697
+ * "ai_answers_waiting_after_hours": null,
136698
+ * "ai_answers_waiting_keep_owner": false
136697
136699
  * },
136698
136700
  * "last_run_at": null
136699
136701
  * }
@@ -136794,6 +136796,7 @@ interface paths {
136794
136796
  re_evaluation_after_days?: number;
136795
136797
  min_hours_between_touches?: number | null;
136796
136798
  excluded_template_ids?: string[];
136799
+ voice_examples?: string[];
136797
136800
  situations?: {
136798
136801
  never_replied?: {
136799
136802
  enabled?: boolean;
@@ -136869,6 +136872,7 @@ interface paths {
136869
136872
  ai_answers_waiting?: "never" | "after_minutes" | "after_quiet_days";
136870
136873
  ai_answers_waiting_after_minutes?: number;
136871
136874
  ai_answers_waiting_after_hours?: number | null;
136875
+ ai_answers_waiting_keep_owner?: boolean;
136872
136876
  };
136873
136877
  };
136874
136878
  };
@@ -136890,6 +136894,7 @@ interface paths {
136890
136894
  * "re_evaluation_after_days": 1,
136891
136895
  * "min_hours_between_touches": 24,
136892
136896
  * "excluded_template_ids": [],
136897
+ * "voice_examples": [],
136893
136898
  * "situations": {
136894
136899
  * "never_replied": {
136895
136900
  * "enabled": true,
@@ -136972,7 +136977,8 @@ interface paths {
136972
136977
  * "while_silent": "draft_and_remind",
136973
136978
  * "ai_answers_waiting": "never",
136974
136979
  * "ai_answers_waiting_after_minutes": 30,
136975
- * "ai_answers_waiting_after_hours": null
136980
+ * "ai_answers_waiting_after_hours": null,
136981
+ * "ai_answers_waiting_keep_owner": false
136976
136982
  * },
136977
136983
  * "last_run_at": null
136978
136984
  * }
@@ -137647,6 +137653,7 @@ interface paths {
137647
137653
  * "ai_answers_waiting": "never",
137648
137654
  * "ai_answers_waiting_after_minutes": 30,
137649
137655
  * "ai_answers_waiting_after_hours": null,
137656
+ * "ai_answers_waiting_keep_owner": false,
137650
137657
  * "reminder_minutes": 30,
137651
137658
  * "controls": {
137652
137659
  * "followups": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrina/api",
3
- "version": "15.6.5",
3
+ "version": "15.8.0",
4
4
  "description": "Typed TypeScript SDK for the Vitrina API pública — generated from the committed openapi.public.json (ADR 0106).",
5
5
  "type": "module",
6
6
  "license": "MIT",