@vitrina/api 14.97.21 → 14.98.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
@@ -15108,7 +15108,7 @@ interface paths {
15108
15108
  };
15109
15109
  /**
15110
15110
  * Live channel identity & health
15111
- * @description Dials the provider (or the partner connection provider, for a partner-connected account) right now — the connected phone/IG account/mailbox identity, webhook delivery state, and WhatsApp account health (quality rating, messaging limit) where applicable. `stored` rides along: the last health snapshot the periodic checker wrote, for comparing a live read against what was already known. `?refresh=true` forces a fresh probe instead of the provider’s own cache. A live check that itself fails (provider down, expired token) still answers 200, with a fallback `identity`/`webhook` reporting the failure — this call never breaks a health dashboard by 500ing.
15111
+ * @description Dials the provider (or the partner connection provider, for a partner-connected account) right now — the connected phone/IG account/mailbox identity, webhook delivery state, and WhatsApp account health (quality rating, messaging limit) where applicable. `stored` rides along: the last health snapshot the periodic checker wrote, for comparing a live read against what was already known. `stored.reasonCode: send_refused` with `stored.aiRepliesPaused: true` means Meta refuses every send from the number (replies included), so its AI is paused until one send gets through or the channel is reconnected. `?refresh=true` forces a fresh probe instead of the provider’s own cache. A live check that itself fails (provider down, expired token) still answers 200, with a fallback `identity`/`webhook` reporting the failure — this call never breaks a health dashboard by 500ing.
15112
15112
  */
15113
15113
  get: {
15114
15114
  parameters: {
@@ -15148,9 +15148,15 @@ interface paths {
15148
15148
  * "messaging_limit": "TIER_10K"
15149
15149
  * },
15150
15150
  * "stored": {
15151
- * "status": "ok",
15152
- * "checked_at": "2026-09-15T18:00:00.000Z",
15153
- * "since": "2026-09-01T00:00:00.000Z"
15151
+ * "status": "healthy",
15152
+ * "reason": null,
15153
+ * "reasonCode": null,
15154
+ * "lastCheckedAt": "2026-09-15T18:00:00.000Z",
15155
+ * "lastOkAt": "2026-09-15T18:00:00.000Z",
15156
+ * "unhealthySince": null,
15157
+ * "consecutiveFailures": 0,
15158
+ * "updatedAt": "2026-09-15T18:00:00.000Z",
15159
+ * "aiRepliesPaused": false
15154
15160
  * }
15155
15161
  * }
15156
15162
  * }
@@ -136238,7 +136244,7 @@ interface paths {
136238
136244
  };
136239
136245
  /**
136240
136246
  * What happens next for each of a contact’s leads
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=`).
136247
+ * @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; with today’s daily cap (G2) or review budget (G41) spent, a step due today moves to tomorrow’s opening and `deferred_reason` says which), `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), `undeliverable` (G35: WhatsApp refused our messages; nothing goes out until they write), `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=`).
136242
136248
  */
136243
136249
  get: {
136244
136250
  parameters: {
package/dist/index.d.ts CHANGED
@@ -15108,7 +15108,7 @@ interface paths {
15108
15108
  };
15109
15109
  /**
15110
15110
  * Live channel identity & health
15111
- * @description Dials the provider (or the partner connection provider, for a partner-connected account) right now — the connected phone/IG account/mailbox identity, webhook delivery state, and WhatsApp account health (quality rating, messaging limit) where applicable. `stored` rides along: the last health snapshot the periodic checker wrote, for comparing a live read against what was already known. `?refresh=true` forces a fresh probe instead of the provider’s own cache. A live check that itself fails (provider down, expired token) still answers 200, with a fallback `identity`/`webhook` reporting the failure — this call never breaks a health dashboard by 500ing.
15111
+ * @description Dials the provider (or the partner connection provider, for a partner-connected account) right now — the connected phone/IG account/mailbox identity, webhook delivery state, and WhatsApp account health (quality rating, messaging limit) where applicable. `stored` rides along: the last health snapshot the periodic checker wrote, for comparing a live read against what was already known. `stored.reasonCode: send_refused` with `stored.aiRepliesPaused: true` means Meta refuses every send from the number (replies included), so its AI is paused until one send gets through or the channel is reconnected. `?refresh=true` forces a fresh probe instead of the provider’s own cache. A live check that itself fails (provider down, expired token) still answers 200, with a fallback `identity`/`webhook` reporting the failure — this call never breaks a health dashboard by 500ing.
15112
15112
  */
15113
15113
  get: {
15114
15114
  parameters: {
@@ -15148,9 +15148,15 @@ interface paths {
15148
15148
  * "messaging_limit": "TIER_10K"
15149
15149
  * },
15150
15150
  * "stored": {
15151
- * "status": "ok",
15152
- * "checked_at": "2026-09-15T18:00:00.000Z",
15153
- * "since": "2026-09-01T00:00:00.000Z"
15151
+ * "status": "healthy",
15152
+ * "reason": null,
15153
+ * "reasonCode": null,
15154
+ * "lastCheckedAt": "2026-09-15T18:00:00.000Z",
15155
+ * "lastOkAt": "2026-09-15T18:00:00.000Z",
15156
+ * "unhealthySince": null,
15157
+ * "consecutiveFailures": 0,
15158
+ * "updatedAt": "2026-09-15T18:00:00.000Z",
15159
+ * "aiRepliesPaused": false
15154
15160
  * }
15155
15161
  * }
15156
15162
  * }
@@ -136238,7 +136244,7 @@ interface paths {
136238
136244
  };
136239
136245
  /**
136240
136246
  * What happens next for each of a contact’s leads
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=`).
136247
+ * @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; with today’s daily cap (G2) or review budget (G41) spent, a step due today moves to tomorrow’s opening and `deferred_reason` says which), `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), `undeliverable` (G35: WhatsApp refused our messages; nothing goes out until they write), `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=`).
136242
136248
  */
136243
136249
  get: {
136244
136250
  parameters: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrina/api",
3
- "version": "14.97.21",
3
+ "version": "14.98.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",