@getlatedev/node 0.2.1786 → 0.2.1787

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.mts CHANGED
@@ -32792,6 +32792,7 @@ type WorkflowEdge = {
32792
32792
  * - **gohighlevel_upsert_contact**: `'success'` | `'error'` (not connected / HighLevel refused)
32793
32793
  * - **crm_upsert_deal**, **crm_add_note**, **crm_create_task**: `'success'` | `'error'` (not connected / the CRM refused)
32794
32794
  * - **ai**: `'success'` (text/JSON response) | `'tool:<toolName>'` (model invoked that tool) | `'error'` (upstream failure / non-JSON in JSON mode)
32795
+ * - **agent**: `'complete'` | `'handoff'` (only with `handoffPolicy: follow_edge`) | `'timeout'` | `'error'`
32795
32796
  * - **start_call**: `'success'` | `'permission_required'` | `'failed'`
32796
32797
  * - **a_b_split**: `'a'` | `'b'`
32797
32798
  * - **enroll_sequence**: `'success'` | `'error'`
@@ -32854,14 +32855,14 @@ type WorkflowNode = {
32854
32855
  */
32855
32856
  id: string;
32856
32857
  /**
32857
- * Node kind. The 22 supported types break into four groups:
32858
+ * Node kind. The 23 supported types break into four groups:
32858
32859
  * messaging (send_message),
32859
32860
  * control flow (trigger, condition, delay, wait_for_reply, a_b_split, end),
32860
32861
  * data ops (set_variable, set_field, add_tag, remove_tag, enroll_sequence),
32861
- * integrations (webhook, hubspot_upsert_contact, salesforce_upsert_contact, gohighlevel_upsert_contact, crm_upsert_deal, crm_add_note, crm_create_task, ai, handoff, start_call).
32862
+ * integrations (webhook, hubspot_upsert_contact, salesforce_upsert_contact, gohighlevel_upsert_contact, crm_upsert_deal, crm_add_note, crm_create_task, ai, agent, handoff, start_call).
32862
32863
  *
32863
32864
  */
32864
- type: 'trigger' | 'send_message' | 'wait_for_reply' | 'condition' | 'set_variable' | 'delay' | 'webhook' | 'hubspot_upsert_contact' | 'salesforce_upsert_contact' | 'gohighlevel_upsert_contact' | 'crm_upsert_deal' | 'crm_add_note' | 'crm_create_task' | 'ai' | 'handoff' | 'start_call' | 'a_b_split' | 'set_field' | 'enroll_sequence' | 'add_tag' | 'remove_tag' | 'end';
32865
+ type: 'trigger' | 'send_message' | 'wait_for_reply' | 'condition' | 'set_variable' | 'delay' | 'webhook' | 'hubspot_upsert_contact' | 'salesforce_upsert_contact' | 'gohighlevel_upsert_contact' | 'crm_upsert_deal' | 'crm_add_note' | 'crm_create_task' | 'ai' | 'agent' | 'handoff' | 'start_call' | 'a_b_split' | 'set_field' | 'enroll_sequence' | 'add_tag' | 'remove_tag' | 'end';
32865
32866
  /**
32866
32867
  * Type-specific settings. Every string field supports `{{variable}}` interpolation against the run's variable bag, resolved at execution time.
32867
32868
  *
@@ -32997,6 +32998,16 @@ type WorkflowNode = {
32997
32998
  *
32998
32999
  * **ai**: `{ provider: anthropic|openai|google|mistral|groq|openrouter, model, preset: smart|tools|cheap, systemPrompt, userPromptTemplate, saveAs, temperature, maxTokens, outputType: text|json, tools:[{ name, description, parameters }] }`. Set `provider` + `model` for BYOK (uses your stored API key); omit `provider` for the legacy Telnyx path. Edges: `'success'`, `'tool:<name>'` (model picked a tool), `'error'`.
32999
33000
  *
33001
+ * **agent**: `{ provider, model, instructions, allowedTools:[lookup_order|add_tag|remove_tag|set_field|handoff_to_human], writableFields:[string], maxTurns:int (1-20, default 6), timeoutMinutes:int (max 43200, default 1440), outputSchema:[{ name, type: string|number|boolean, description, required }], handoffPolicy: end_run|follow_edge, saveAs }`. An AI agent that holds a conversation with the contact using your stored provider key (BYOK, as `ai`).
33002
+ *
33003
+ * - Each answer is sent to the contact, then the run waits for their reply (up to `timeoutMinutes`) and the agent continues with it.
33004
+ * - `instructions` is the system prompt and supports `{{variable}}`. The agent is offered only `allowedTools` plus `complete`; `set_field` writes only the fields in `writableFields`.
33005
+ * - `lookup_order` reads the connected store: an order found by number is returned only when it belongs to the contact (email or phone).
33006
+ * - `complete` writes the `outputSchema` fields to `vars[saveAs]` (default `agent`). `handoff_to_human` flags the conversation for a person and ends the run (`end_run`) or follows the `'handoff'` edge (`follow_edge`).
33007
+ * - After `maxTurns` answers the agent hands off when it can (`handoff_to_human` allowed with `end_run`, or a `'handoff'` edge with `follow_edge`), else it exits on `'error'`. 150,000 tokens also end it on `'error'`.
33008
+ * - Run variables starting with `__` (the agent's transcript while it is active) are never sent by a webhook or filled into another step's text. For teams that keep no message content, the run history records tool names and outcomes only.
33009
+ * - Edges: `'complete'`, `'handoff'`, `'timeout'` (no reply in time), `'error'` (`vars[saveAs + '_error']` says why, such as `max_turns`).
33010
+ *
33000
33011
  * **handoff**: `{ note, assignTo }`. Terminates the run as `exited` and flags the conversation for a human operator.
33001
33012
  *
33002
33013
  * **start_call**: `{ to, forwardTo, requirePermissionFirst, recordingEnabled, saveAs }`. WhatsApp-only. `forwardTo` can be `tel:+E164`, `sip:user@host`, or `wss://…` (AI voice agent). Edges: `'success'`, `'permission_required'`, `'failed'`.
@@ -33028,14 +33039,14 @@ type WorkflowNode = {
33028
33039
  label?: string;
33029
33040
  };
33030
33041
  /**
33031
- * Node kind. The 22 supported types break into four groups:
33042
+ * Node kind. The 23 supported types break into four groups:
33032
33043
  * messaging (send_message),
33033
33044
  * control flow (trigger, condition, delay, wait_for_reply, a_b_split, end),
33034
33045
  * data ops (set_variable, set_field, add_tag, remove_tag, enroll_sequence),
33035
- * integrations (webhook, hubspot_upsert_contact, salesforce_upsert_contact, gohighlevel_upsert_contact, crm_upsert_deal, crm_add_note, crm_create_task, ai, handoff, start_call).
33046
+ * integrations (webhook, hubspot_upsert_contact, salesforce_upsert_contact, gohighlevel_upsert_contact, crm_upsert_deal, crm_add_note, crm_create_task, ai, agent, handoff, start_call).
33036
33047
  *
33037
33048
  */
33038
- type type42 = 'trigger' | 'send_message' | 'wait_for_reply' | 'condition' | 'set_variable' | 'delay' | 'webhook' | 'hubspot_upsert_contact' | 'salesforce_upsert_contact' | 'gohighlevel_upsert_contact' | 'crm_upsert_deal' | 'crm_add_note' | 'crm_create_task' | 'ai' | 'handoff' | 'start_call' | 'a_b_split' | 'set_field' | 'enroll_sequence' | 'add_tag' | 'remove_tag' | 'end';
33049
+ type type42 = 'trigger' | 'send_message' | 'wait_for_reply' | 'condition' | 'set_variable' | 'delay' | 'webhook' | 'hubspot_upsert_contact' | 'salesforce_upsert_contact' | 'gohighlevel_upsert_contact' | 'crm_upsert_deal' | 'crm_add_note' | 'crm_create_task' | 'ai' | 'agent' | 'handoff' | 'start_call' | 'a_b_split' | 'set_field' | 'enroll_sequence' | 'add_tag' | 'remove_tag' | 'end';
33039
33050
  type Workspace = {
33040
33051
  id?: string;
33041
33052
  name?: string;
package/dist/index.d.ts CHANGED
@@ -32792,6 +32792,7 @@ type WorkflowEdge = {
32792
32792
  * - **gohighlevel_upsert_contact**: `'success'` | `'error'` (not connected / HighLevel refused)
32793
32793
  * - **crm_upsert_deal**, **crm_add_note**, **crm_create_task**: `'success'` | `'error'` (not connected / the CRM refused)
32794
32794
  * - **ai**: `'success'` (text/JSON response) | `'tool:<toolName>'` (model invoked that tool) | `'error'` (upstream failure / non-JSON in JSON mode)
32795
+ * - **agent**: `'complete'` | `'handoff'` (only with `handoffPolicy: follow_edge`) | `'timeout'` | `'error'`
32795
32796
  * - **start_call**: `'success'` | `'permission_required'` | `'failed'`
32796
32797
  * - **a_b_split**: `'a'` | `'b'`
32797
32798
  * - **enroll_sequence**: `'success'` | `'error'`
@@ -32854,14 +32855,14 @@ type WorkflowNode = {
32854
32855
  */
32855
32856
  id: string;
32856
32857
  /**
32857
- * Node kind. The 22 supported types break into four groups:
32858
+ * Node kind. The 23 supported types break into four groups:
32858
32859
  * messaging (send_message),
32859
32860
  * control flow (trigger, condition, delay, wait_for_reply, a_b_split, end),
32860
32861
  * data ops (set_variable, set_field, add_tag, remove_tag, enroll_sequence),
32861
- * integrations (webhook, hubspot_upsert_contact, salesforce_upsert_contact, gohighlevel_upsert_contact, crm_upsert_deal, crm_add_note, crm_create_task, ai, handoff, start_call).
32862
+ * integrations (webhook, hubspot_upsert_contact, salesforce_upsert_contact, gohighlevel_upsert_contact, crm_upsert_deal, crm_add_note, crm_create_task, ai, agent, handoff, start_call).
32862
32863
  *
32863
32864
  */
32864
- type: 'trigger' | 'send_message' | 'wait_for_reply' | 'condition' | 'set_variable' | 'delay' | 'webhook' | 'hubspot_upsert_contact' | 'salesforce_upsert_contact' | 'gohighlevel_upsert_contact' | 'crm_upsert_deal' | 'crm_add_note' | 'crm_create_task' | 'ai' | 'handoff' | 'start_call' | 'a_b_split' | 'set_field' | 'enroll_sequence' | 'add_tag' | 'remove_tag' | 'end';
32865
+ type: 'trigger' | 'send_message' | 'wait_for_reply' | 'condition' | 'set_variable' | 'delay' | 'webhook' | 'hubspot_upsert_contact' | 'salesforce_upsert_contact' | 'gohighlevel_upsert_contact' | 'crm_upsert_deal' | 'crm_add_note' | 'crm_create_task' | 'ai' | 'agent' | 'handoff' | 'start_call' | 'a_b_split' | 'set_field' | 'enroll_sequence' | 'add_tag' | 'remove_tag' | 'end';
32865
32866
  /**
32866
32867
  * Type-specific settings. Every string field supports `{{variable}}` interpolation against the run's variable bag, resolved at execution time.
32867
32868
  *
@@ -32997,6 +32998,16 @@ type WorkflowNode = {
32997
32998
  *
32998
32999
  * **ai**: `{ provider: anthropic|openai|google|mistral|groq|openrouter, model, preset: smart|tools|cheap, systemPrompt, userPromptTemplate, saveAs, temperature, maxTokens, outputType: text|json, tools:[{ name, description, parameters }] }`. Set `provider` + `model` for BYOK (uses your stored API key); omit `provider` for the legacy Telnyx path. Edges: `'success'`, `'tool:<name>'` (model picked a tool), `'error'`.
32999
33000
  *
33001
+ * **agent**: `{ provider, model, instructions, allowedTools:[lookup_order|add_tag|remove_tag|set_field|handoff_to_human], writableFields:[string], maxTurns:int (1-20, default 6), timeoutMinutes:int (max 43200, default 1440), outputSchema:[{ name, type: string|number|boolean, description, required }], handoffPolicy: end_run|follow_edge, saveAs }`. An AI agent that holds a conversation with the contact using your stored provider key (BYOK, as `ai`).
33002
+ *
33003
+ * - Each answer is sent to the contact, then the run waits for their reply (up to `timeoutMinutes`) and the agent continues with it.
33004
+ * - `instructions` is the system prompt and supports `{{variable}}`. The agent is offered only `allowedTools` plus `complete`; `set_field` writes only the fields in `writableFields`.
33005
+ * - `lookup_order` reads the connected store: an order found by number is returned only when it belongs to the contact (email or phone).
33006
+ * - `complete` writes the `outputSchema` fields to `vars[saveAs]` (default `agent`). `handoff_to_human` flags the conversation for a person and ends the run (`end_run`) or follows the `'handoff'` edge (`follow_edge`).
33007
+ * - After `maxTurns` answers the agent hands off when it can (`handoff_to_human` allowed with `end_run`, or a `'handoff'` edge with `follow_edge`), else it exits on `'error'`. 150,000 tokens also end it on `'error'`.
33008
+ * - Run variables starting with `__` (the agent's transcript while it is active) are never sent by a webhook or filled into another step's text. For teams that keep no message content, the run history records tool names and outcomes only.
33009
+ * - Edges: `'complete'`, `'handoff'`, `'timeout'` (no reply in time), `'error'` (`vars[saveAs + '_error']` says why, such as `max_turns`).
33010
+ *
33000
33011
  * **handoff**: `{ note, assignTo }`. Terminates the run as `exited` and flags the conversation for a human operator.
33001
33012
  *
33002
33013
  * **start_call**: `{ to, forwardTo, requirePermissionFirst, recordingEnabled, saveAs }`. WhatsApp-only. `forwardTo` can be `tel:+E164`, `sip:user@host`, or `wss://…` (AI voice agent). Edges: `'success'`, `'permission_required'`, `'failed'`.
@@ -33028,14 +33039,14 @@ type WorkflowNode = {
33028
33039
  label?: string;
33029
33040
  };
33030
33041
  /**
33031
- * Node kind. The 22 supported types break into four groups:
33042
+ * Node kind. The 23 supported types break into four groups:
33032
33043
  * messaging (send_message),
33033
33044
  * control flow (trigger, condition, delay, wait_for_reply, a_b_split, end),
33034
33045
  * data ops (set_variable, set_field, add_tag, remove_tag, enroll_sequence),
33035
- * integrations (webhook, hubspot_upsert_contact, salesforce_upsert_contact, gohighlevel_upsert_contact, crm_upsert_deal, crm_add_note, crm_create_task, ai, handoff, start_call).
33046
+ * integrations (webhook, hubspot_upsert_contact, salesforce_upsert_contact, gohighlevel_upsert_contact, crm_upsert_deal, crm_add_note, crm_create_task, ai, agent, handoff, start_call).
33036
33047
  *
33037
33048
  */
33038
- type type42 = 'trigger' | 'send_message' | 'wait_for_reply' | 'condition' | 'set_variable' | 'delay' | 'webhook' | 'hubspot_upsert_contact' | 'salesforce_upsert_contact' | 'gohighlevel_upsert_contact' | 'crm_upsert_deal' | 'crm_add_note' | 'crm_create_task' | 'ai' | 'handoff' | 'start_call' | 'a_b_split' | 'set_field' | 'enroll_sequence' | 'add_tag' | 'remove_tag' | 'end';
33049
+ type type42 = 'trigger' | 'send_message' | 'wait_for_reply' | 'condition' | 'set_variable' | 'delay' | 'webhook' | 'hubspot_upsert_contact' | 'salesforce_upsert_contact' | 'gohighlevel_upsert_contact' | 'crm_upsert_deal' | 'crm_add_note' | 'crm_create_task' | 'ai' | 'agent' | 'handoff' | 'start_call' | 'a_b_split' | 'set_field' | 'enroll_sequence' | 'add_tag' | 'remove_tag' | 'end';
33039
33050
  type Workspace = {
33040
33051
  id?: string;
33041
33052
  name?: string;
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@getlatedev/node",
39
- version: "0.2.1786",
39
+ version: "0.2.1787",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@getlatedev/node",
8
- version: "0.2.1786",
8
+ version: "0.2.1787",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1786",
3
+ "version": "0.2.1787",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -31517,6 +31517,7 @@ export type WorkflowEdge = {
31517
31517
  * - **gohighlevel_upsert_contact**: `'success'` | `'error'` (not connected / HighLevel refused)
31518
31518
  * - **crm_upsert_deal**, **crm_add_note**, **crm_create_task**: `'success'` | `'error'` (not connected / the CRM refused)
31519
31519
  * - **ai**: `'success'` (text/JSON response) | `'tool:<toolName>'` (model invoked that tool) | `'error'` (upstream failure / non-JSON in JSON mode)
31520
+ * - **agent**: `'complete'` | `'handoff'` (only with `handoffPolicy: follow_edge`) | `'timeout'` | `'error'`
31520
31521
  * - **start_call**: `'success'` | `'permission_required'` | `'failed'`
31521
31522
  * - **a_b_split**: `'a'` | `'b'`
31522
31523
  * - **enroll_sequence**: `'success'` | `'error'`
@@ -31583,14 +31584,14 @@ export type WorkflowNode = {
31583
31584
  */
31584
31585
  id: string;
31585
31586
  /**
31586
- * Node kind. The 22 supported types break into four groups:
31587
+ * Node kind. The 23 supported types break into four groups:
31587
31588
  * messaging (send_message),
31588
31589
  * control flow (trigger, condition, delay, wait_for_reply, a_b_split, end),
31589
31590
  * data ops (set_variable, set_field, add_tag, remove_tag, enroll_sequence),
31590
- * integrations (webhook, hubspot_upsert_contact, salesforce_upsert_contact, gohighlevel_upsert_contact, crm_upsert_deal, crm_add_note, crm_create_task, ai, handoff, start_call).
31591
+ * integrations (webhook, hubspot_upsert_contact, salesforce_upsert_contact, gohighlevel_upsert_contact, crm_upsert_deal, crm_add_note, crm_create_task, ai, agent, handoff, start_call).
31591
31592
  *
31592
31593
  */
31593
- type: 'trigger' | 'send_message' | 'wait_for_reply' | 'condition' | 'set_variable' | 'delay' | 'webhook' | 'hubspot_upsert_contact' | 'salesforce_upsert_contact' | 'gohighlevel_upsert_contact' | 'crm_upsert_deal' | 'crm_add_note' | 'crm_create_task' | 'ai' | 'handoff' | 'start_call' | 'a_b_split' | 'set_field' | 'enroll_sequence' | 'add_tag' | 'remove_tag' | 'end';
31594
+ type: 'trigger' | 'send_message' | 'wait_for_reply' | 'condition' | 'set_variable' | 'delay' | 'webhook' | 'hubspot_upsert_contact' | 'salesforce_upsert_contact' | 'gohighlevel_upsert_contact' | 'crm_upsert_deal' | 'crm_add_note' | 'crm_create_task' | 'ai' | 'agent' | 'handoff' | 'start_call' | 'a_b_split' | 'set_field' | 'enroll_sequence' | 'add_tag' | 'remove_tag' | 'end';
31594
31595
  /**
31595
31596
  * Type-specific settings. Every string field supports `{{variable}}` interpolation against the run's variable bag, resolved at execution time.
31596
31597
  *
@@ -31726,6 +31727,16 @@ export type WorkflowNode = {
31726
31727
  *
31727
31728
  * **ai**: `{ provider: anthropic|openai|google|mistral|groq|openrouter, model, preset: smart|tools|cheap, systemPrompt, userPromptTemplate, saveAs, temperature, maxTokens, outputType: text|json, tools:[{ name, description, parameters }] }`. Set `provider` + `model` for BYOK (uses your stored API key); omit `provider` for the legacy Telnyx path. Edges: `'success'`, `'tool:<name>'` (model picked a tool), `'error'`.
31728
31729
  *
31730
+ * **agent**: `{ provider, model, instructions, allowedTools:[lookup_order|add_tag|remove_tag|set_field|handoff_to_human], writableFields:[string], maxTurns:int (1-20, default 6), timeoutMinutes:int (max 43200, default 1440), outputSchema:[{ name, type: string|number|boolean, description, required }], handoffPolicy: end_run|follow_edge, saveAs }`. An AI agent that holds a conversation with the contact using your stored provider key (BYOK, as `ai`).
31731
+ *
31732
+ * - Each answer is sent to the contact, then the run waits for their reply (up to `timeoutMinutes`) and the agent continues with it.
31733
+ * - `instructions` is the system prompt and supports `{{variable}}`. The agent is offered only `allowedTools` plus `complete`; `set_field` writes only the fields in `writableFields`.
31734
+ * - `lookup_order` reads the connected store: an order found by number is returned only when it belongs to the contact (email or phone).
31735
+ * - `complete` writes the `outputSchema` fields to `vars[saveAs]` (default `agent`). `handoff_to_human` flags the conversation for a person and ends the run (`end_run`) or follows the `'handoff'` edge (`follow_edge`).
31736
+ * - After `maxTurns` answers the agent hands off when it can (`handoff_to_human` allowed with `end_run`, or a `'handoff'` edge with `follow_edge`), else it exits on `'error'`. 150,000 tokens also end it on `'error'`.
31737
+ * - Run variables starting with `__` (the agent's transcript while it is active) are never sent by a webhook or filled into another step's text. For teams that keep no message content, the run history records tool names and outcomes only.
31738
+ * - Edges: `'complete'`, `'handoff'`, `'timeout'` (no reply in time), `'error'` (`vars[saveAs + '_error']` says why, such as `max_turns`).
31739
+ *
31729
31740
  * **handoff**: `{ note, assignTo }`. Terminates the run as `exited` and flags the conversation for a human operator.
31730
31741
  *
31731
31742
  * **start_call**: `{ to, forwardTo, requirePermissionFirst, recordingEnabled, saveAs }`. WhatsApp-only. `forwardTo` can be `tel:+E164`, `sip:user@host`, or `wss://…` (AI voice agent). Edges: `'success'`, `'permission_required'`, `'failed'`.
@@ -31758,14 +31769,14 @@ export type WorkflowNode = {
31758
31769
  };
31759
31770
 
31760
31771
  /**
31761
- * Node kind. The 22 supported types break into four groups:
31772
+ * Node kind. The 23 supported types break into four groups:
31762
31773
  * messaging (send_message),
31763
31774
  * control flow (trigger, condition, delay, wait_for_reply, a_b_split, end),
31764
31775
  * data ops (set_variable, set_field, add_tag, remove_tag, enroll_sequence),
31765
- * integrations (webhook, hubspot_upsert_contact, salesforce_upsert_contact, gohighlevel_upsert_contact, crm_upsert_deal, crm_add_note, crm_create_task, ai, handoff, start_call).
31776
+ * integrations (webhook, hubspot_upsert_contact, salesforce_upsert_contact, gohighlevel_upsert_contact, crm_upsert_deal, crm_add_note, crm_create_task, ai, agent, handoff, start_call).
31766
31777
  *
31767
31778
  */
31768
- export type type42 = 'trigger' | 'send_message' | 'wait_for_reply' | 'condition' | 'set_variable' | 'delay' | 'webhook' | 'hubspot_upsert_contact' | 'salesforce_upsert_contact' | 'gohighlevel_upsert_contact' | 'crm_upsert_deal' | 'crm_add_note' | 'crm_create_task' | 'ai' | 'handoff' | 'start_call' | 'a_b_split' | 'set_field' | 'enroll_sequence' | 'add_tag' | 'remove_tag' | 'end';
31779
+ export type type42 = 'trigger' | 'send_message' | 'wait_for_reply' | 'condition' | 'set_variable' | 'delay' | 'webhook' | 'hubspot_upsert_contact' | 'salesforce_upsert_contact' | 'gohighlevel_upsert_contact' | 'crm_upsert_deal' | 'crm_add_note' | 'crm_create_task' | 'ai' | 'agent' | 'handoff' | 'start_call' | 'a_b_split' | 'set_field' | 'enroll_sequence' | 'add_tag' | 'remove_tag' | 'end';
31769
31780
 
31770
31781
  export type Workspace = {
31771
31782
  id?: string;