@vitrina/api 17.85.0 → 17.86.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
@@ -72438,6 +72438,8 @@ interface paths {
72438
72438
  * "compute_errors": [],
72439
72439
  * "whatsapp": {
72440
72440
  * "state": "connected",
72441
+ * "total_count": 1,
72442
+ * "connected_count": 1,
72441
72443
  * "accounts": [
72442
72444
  * {
72443
72445
  * "messaging_account_id": "0192f1c4-2222-7000-8000-000000000002",
@@ -324496,10 +324498,14 @@ interface components {
324496
324498
  /** @description WhatsApp channel health. Needs `messaging_accounts:read`. */
324497
324499
  whatsapp?: {
324498
324500
  /**
324499
- * @description `not_connected`: no WhatsApp number yet (a setup state).
324501
+ * @description `not_connected`: no WhatsApp number yet (a setup state). `connected` only says a number exists: the counts say how many work.
324500
324502
  * @enum {string}
324501
324503
  */
324502
324504
  state: "connected" | "not_connected";
324505
+ /** @description WhatsApp numbers on the workspace. */
324506
+ total_count: number;
324507
+ /** @description Numbers whose stored health is not `disconnected` (a number with no health row yet, and `attention`, count as connected). `connected_count < total_count` means at least one number is down: show «N de M números conectados». */
324508
+ connected_count: number;
324503
324509
  accounts: {
324504
324510
  /** Format: uuid */
324505
324511
  messaging_account_id: string;
package/dist/index.d.ts CHANGED
@@ -72438,6 +72438,8 @@ interface paths {
72438
72438
  * "compute_errors": [],
72439
72439
  * "whatsapp": {
72440
72440
  * "state": "connected",
72441
+ * "total_count": 1,
72442
+ * "connected_count": 1,
72441
72443
  * "accounts": [
72442
72444
  * {
72443
72445
  * "messaging_account_id": "0192f1c4-2222-7000-8000-000000000002",
@@ -324496,10 +324498,14 @@ interface components {
324496
324498
  /** @description WhatsApp channel health. Needs `messaging_accounts:read`. */
324497
324499
  whatsapp?: {
324498
324500
  /**
324499
- * @description `not_connected`: no WhatsApp number yet (a setup state).
324501
+ * @description `not_connected`: no WhatsApp number yet (a setup state). `connected` only says a number exists: the counts say how many work.
324500
324502
  * @enum {string}
324501
324503
  */
324502
324504
  state: "connected" | "not_connected";
324505
+ /** @description WhatsApp numbers on the workspace. */
324506
+ total_count: number;
324507
+ /** @description Numbers whose stored health is not `disconnected` (a number with no health row yet, and `attention`, count as connected). `connected_count < total_count` means at least one number is down: show «N de M números conectados». */
324508
+ connected_count: number;
324503
324509
  accounts: {
324504
324510
  /** Format: uuid */
324505
324511
  messaging_account_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrina/api",
3
- "version": "17.85.0",
3
+ "version": "17.86.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",