@vitrina/api 17.125.0 → 17.126.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
@@ -315513,7 +315513,7 @@ interface paths {
315513
315513
  put?: never;
315514
315514
  /**
315515
315515
  * Create an automation trigger
315516
- * @description Each condition’s `op` must fit its `field`’s type — an operator that does not belong to that field is a **400** naming it. `event: "conversation_idle"` requires `duration_hours` (1–720); every other event ignores it. `enabled` defaults to `true`.
315516
+ * @description Each condition’s `op` must fit its `field`’s type — an operator that does not belong to that field is a **400** naming it. `event: "conversation_idle"` requires `duration_hours` (1–720); every other event ignores it. `enabled` defaults to `true`. An action of type `send_file` takes `{asset_id, caption}` (caption up to 1024 characters, sent exactly as written); a library file that cannot be sent is a **400** naming `actions.<n>.value.asset_id`.
315517
315517
  */
315518
315518
  post: {
315519
315519
  parameters: {
@@ -315564,7 +315564,7 @@ interface paths {
315564
315564
  actions?: {
315565
315565
  id?: string;
315566
315566
  /** @enum {string} */
315567
- type: "send_message" | "add_private_note" | "assign_agent" | "assign_team" | "move_to_stage" | "add_tag" | "change_status" | "snooze_until" | "run_webhook";
315567
+ type: "send_message" | "send_file" | "add_private_note" | "assign_agent" | "assign_team" | "move_to_stage" | "add_tag" | "change_status" | "snooze_until" | "run_webhook";
315568
315568
  value?: unknown;
315569
315569
  }[];
315570
315570
  enabled?: boolean;
@@ -315857,7 +315857,7 @@ interface paths {
315857
315857
  actions?: {
315858
315858
  id?: string;
315859
315859
  /** @enum {string} */
315860
- type: "send_message" | "add_private_note" | "assign_agent" | "assign_team" | "move_to_stage" | "add_tag" | "change_status" | "snooze_until" | "run_webhook";
315860
+ type: "send_message" | "send_file" | "add_private_note" | "assign_agent" | "assign_team" | "move_to_stage" | "add_tag" | "change_status" | "snooze_until" | "run_webhook";
315861
315861
  value?: unknown;
315862
315862
  }[];
315863
315863
  enabled?: boolean;
package/dist/index.d.ts CHANGED
@@ -315513,7 +315513,7 @@ interface paths {
315513
315513
  put?: never;
315514
315514
  /**
315515
315515
  * Create an automation trigger
315516
- * @description Each condition’s `op` must fit its `field`’s type — an operator that does not belong to that field is a **400** naming it. `event: "conversation_idle"` requires `duration_hours` (1–720); every other event ignores it. `enabled` defaults to `true`.
315516
+ * @description Each condition’s `op` must fit its `field`’s type — an operator that does not belong to that field is a **400** naming it. `event: "conversation_idle"` requires `duration_hours` (1–720); every other event ignores it. `enabled` defaults to `true`. An action of type `send_file` takes `{asset_id, caption}` (caption up to 1024 characters, sent exactly as written); a library file that cannot be sent is a **400** naming `actions.<n>.value.asset_id`.
315517
315517
  */
315518
315518
  post: {
315519
315519
  parameters: {
@@ -315564,7 +315564,7 @@ interface paths {
315564
315564
  actions?: {
315565
315565
  id?: string;
315566
315566
  /** @enum {string} */
315567
- type: "send_message" | "add_private_note" | "assign_agent" | "assign_team" | "move_to_stage" | "add_tag" | "change_status" | "snooze_until" | "run_webhook";
315567
+ type: "send_message" | "send_file" | "add_private_note" | "assign_agent" | "assign_team" | "move_to_stage" | "add_tag" | "change_status" | "snooze_until" | "run_webhook";
315568
315568
  value?: unknown;
315569
315569
  }[];
315570
315570
  enabled?: boolean;
@@ -315857,7 +315857,7 @@ interface paths {
315857
315857
  actions?: {
315858
315858
  id?: string;
315859
315859
  /** @enum {string} */
315860
- type: "send_message" | "add_private_note" | "assign_agent" | "assign_team" | "move_to_stage" | "add_tag" | "change_status" | "snooze_until" | "run_webhook";
315860
+ type: "send_message" | "send_file" | "add_private_note" | "assign_agent" | "assign_team" | "move_to_stage" | "add_tag" | "change_status" | "snooze_until" | "run_webhook";
315861
315861
  value?: unknown;
315862
315862
  }[];
315863
315863
  enabled?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrina/api",
3
- "version": "17.125.0",
3
+ "version": "17.126.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",