@mobilerun/sdk 6.0.1 → 6.1.1
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/CHANGELOG.md +16 -0
- package/client.d.mts +3 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -0
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agents/agents.d.mts +307 -0
- package/resources/agents/agents.d.mts.map +1 -0
- package/resources/agents/agents.d.ts +307 -0
- package/resources/agents/agents.d.ts.map +1 -0
- package/resources/agents/agents.js +56 -0
- package/resources/agents/agents.js.map +1 -0
- package/resources/agents/agents.mjs +51 -0
- package/resources/agents/agents.mjs.map +1 -0
- package/resources/agents/conversations.d.mts +110 -0
- package/resources/agents/conversations.d.mts.map +1 -0
- package/resources/agents/conversations.d.ts +110 -0
- package/resources/agents/conversations.d.ts.map +1 -0
- package/resources/agents/conversations.js +24 -0
- package/resources/agents/conversations.js.map +1 -0
- package/resources/agents/conversations.mjs +20 -0
- package/resources/agents/conversations.mjs.map +1 -0
- package/resources/agents/files.d.mts +64 -0
- package/resources/agents/files.d.mts.map +1 -0
- package/resources/agents/files.d.ts +64 -0
- package/resources/agents/files.d.ts.map +1 -0
- package/resources/agents/files.js +16 -0
- package/resources/agents/files.js.map +1 -0
- package/resources/agents/files.mjs +12 -0
- package/resources/agents/files.mjs.map +1 -0
- package/resources/agents/index.d.mts +7 -0
- package/resources/agents/index.d.mts.map +1 -0
- package/resources/agents/index.d.ts +7 -0
- package/resources/agents/index.d.ts.map +1 -0
- package/resources/agents/index.js +17 -0
- package/resources/agents/index.js.map +1 -0
- package/resources/agents/index.mjs +8 -0
- package/resources/agents/index.mjs.map +1 -0
- package/resources/agents/profile.d.mts +156 -0
- package/resources/agents/profile.d.mts.map +1 -0
- package/resources/agents/profile.d.ts +156 -0
- package/resources/agents/profile.d.ts.map +1 -0
- package/resources/agents/profile.js +19 -0
- package/resources/agents/profile.js.map +1 -0
- package/resources/agents/profile.mjs +15 -0
- package/resources/agents/profile.mjs.map +1 -0
- package/resources/agents/requests.d.mts +295 -0
- package/resources/agents/requests.d.mts.map +1 -0
- package/resources/agents/requests.d.ts +295 -0
- package/resources/agents/requests.d.ts.map +1 -0
- package/resources/agents/requests.js +42 -0
- package/resources/agents/requests.js.map +1 -0
- package/resources/agents/requests.mjs +38 -0
- package/resources/agents/requests.mjs.map +1 -0
- package/resources/agents/routines.d.mts +95 -0
- package/resources/agents/routines.d.mts.map +1 -0
- package/resources/agents/routines.d.ts +95 -0
- package/resources/agents/routines.d.ts.map +1 -0
- package/resources/agents/routines.js +26 -0
- package/resources/agents/routines.js.map +1 -0
- package/resources/agents/routines.mjs +22 -0
- package/resources/agents/routines.mjs.map +1 -0
- package/resources/agents.d.mts +2 -0
- package/resources/agents.d.mts.map +1 -0
- package/resources/agents.d.ts +2 -0
- package/resources/agents.d.ts.map +1 -0
- package/resources/agents.js +6 -0
- package/resources/agents.js.map +1 -0
- package/resources/agents.mjs +3 -0
- package/resources/agents.mjs.map +1 -0
- package/resources/assistant/conversations.d.mts +115 -38
- package/resources/assistant/conversations.d.mts.map +1 -1
- package/resources/assistant/conversations.d.ts +115 -38
- package/resources/assistant/conversations.d.ts.map +1 -1
- package/resources/assistant/conversations.js +20 -19
- package/resources/assistant/conversations.js.map +1 -1
- package/resources/assistant/conversations.mjs +20 -19
- package/resources/assistant/conversations.mjs.map +1 -1
- package/resources/connect/connect.d.mts +2 -2
- package/resources/connect/connect.d.mts.map +1 -1
- package/resources/connect/connect.d.ts +2 -2
- package/resources/connect/connect.d.ts.map +1 -1
- package/resources/connect/connect.js.map +1 -1
- package/resources/connect/connect.mjs.map +1 -1
- package/resources/connect/index.d.mts +1 -1
- package/resources/connect/index.d.mts.map +1 -1
- package/resources/connect/index.d.ts +1 -1
- package/resources/connect/index.d.ts.map +1 -1
- package/resources/connect/index.js.map +1 -1
- package/resources/connect/index.mjs.map +1 -1
- package/resources/connect/proxies.d.mts +22 -1
- package/resources/connect/proxies.d.mts.map +1 -1
- package/resources/connect/proxies.d.ts +22 -1
- package/resources/connect/proxies.d.ts.map +1 -1
- package/resources/connect/proxies.js +8 -0
- package/resources/connect/proxies.js.map +1 -1
- package/resources/connect/proxies.mjs +8 -0
- package/resources/connect/proxies.mjs.map +1 -1
- package/resources/credentials/credentials.d.mts +20 -0
- package/resources/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/credentials.d.ts +20 -0
- package/resources/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/credentials.js +4 -0
- package/resources/credentials/credentials.js.map +1 -1
- package/resources/credentials/credentials.mjs +4 -0
- package/resources/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/index.d.mts +1 -0
- package/resources/credentials/index.d.mts.map +1 -1
- package/resources/credentials/index.d.ts +1 -0
- package/resources/credentials/index.d.ts.map +1 -1
- package/resources/credentials/index.js +5 -3
- package/resources/credentials/index.js.map +1 -1
- package/resources/credentials/index.mjs +1 -0
- package/resources/credentials/index.mjs.map +1 -1
- package/resources/credentials/onepassword/index.d.mts +3 -0
- package/resources/credentials/onepassword/index.d.mts.map +1 -0
- package/resources/credentials/onepassword/index.d.ts +3 -0
- package/resources/credentials/onepassword/index.d.ts.map +1 -0
- package/resources/credentials/onepassword/index.js +9 -0
- package/resources/credentials/onepassword/index.js.map +1 -0
- package/resources/credentials/onepassword/index.mjs +4 -0
- package/resources/credentials/onepassword/index.mjs.map +1 -0
- package/resources/credentials/onepassword/onepassword.d.mts +65 -0
- package/resources/credentials/onepassword/onepassword.d.mts.map +1 -0
- package/resources/credentials/onepassword/onepassword.d.ts +65 -0
- package/resources/credentials/onepassword/onepassword.d.ts.map +1 -0
- package/resources/credentials/onepassword/onepassword.js +35 -0
- package/resources/credentials/onepassword/onepassword.js.map +1 -0
- package/resources/credentials/onepassword/onepassword.mjs +30 -0
- package/resources/credentials/onepassword/onepassword.mjs.map +1 -0
- package/resources/credentials/onepassword/vaults/index.d.mts +3 -0
- package/resources/credentials/onepassword/vaults/index.d.mts.map +1 -0
- package/resources/credentials/onepassword/vaults/index.d.ts +3 -0
- package/resources/credentials/onepassword/vaults/index.d.ts.map +1 -0
- package/resources/credentials/onepassword/vaults/index.js +9 -0
- package/resources/credentials/onepassword/vaults/index.js.map +1 -0
- package/resources/credentials/onepassword/vaults/index.mjs +4 -0
- package/resources/credentials/onepassword/vaults/index.mjs.map +1 -0
- package/resources/credentials/onepassword/vaults/items/fields.d.mts +27 -0
- package/resources/credentials/onepassword/vaults/items/fields.d.mts.map +1 -0
- package/resources/credentials/onepassword/vaults/items/fields.d.ts +27 -0
- package/resources/credentials/onepassword/vaults/items/fields.d.ts.map +1 -0
- package/resources/credentials/onepassword/vaults/items/fields.js +17 -0
- package/resources/credentials/onepassword/vaults/items/fields.js.map +1 -0
- package/resources/credentials/onepassword/vaults/items/fields.mjs +13 -0
- package/resources/credentials/onepassword/vaults/items/fields.mjs.map +1 -0
- package/resources/credentials/onepassword/vaults/items/index.d.mts +3 -0
- package/resources/credentials/onepassword/vaults/items/index.d.mts.map +1 -0
- package/resources/credentials/onepassword/vaults/items/index.d.ts +3 -0
- package/resources/credentials/onepassword/vaults/items/index.d.ts.map +1 -0
- package/resources/credentials/onepassword/vaults/items/index.js +9 -0
- package/resources/credentials/onepassword/vaults/items/index.js.map +1 -0
- package/resources/credentials/onepassword/vaults/items/index.mjs +4 -0
- package/resources/credentials/onepassword/vaults/items/index.mjs.map +1 -0
- package/resources/credentials/onepassword/vaults/items/items.d.mts +34 -0
- package/resources/credentials/onepassword/vaults/items/items.d.mts.map +1 -0
- package/resources/credentials/onepassword/vaults/items/items.d.ts +34 -0
- package/resources/credentials/onepassword/vaults/items/items.d.ts.map +1 -0
- package/resources/credentials/onepassword/vaults/items/items.js +24 -0
- package/resources/credentials/onepassword/vaults/items/items.js.map +1 -0
- package/resources/credentials/onepassword/vaults/items/items.mjs +19 -0
- package/resources/credentials/onepassword/vaults/items/items.mjs.map +1 -0
- package/resources/credentials/onepassword/vaults/items.d.mts +2 -0
- package/resources/credentials/onepassword/vaults/items.d.mts.map +1 -0
- package/resources/credentials/onepassword/vaults/items.d.ts +2 -0
- package/resources/credentials/onepassword/vaults/items.d.ts.map +1 -0
- package/resources/credentials/onepassword/vaults/items.js +6 -0
- package/resources/credentials/onepassword/vaults/items.js.map +1 -0
- package/resources/credentials/onepassword/vaults/items.mjs +3 -0
- package/resources/credentials/onepassword/vaults/items.mjs.map +1 -0
- package/resources/credentials/onepassword/vaults/vaults.d.mts +10 -0
- package/resources/credentials/onepassword/vaults/vaults.d.mts.map +1 -0
- package/resources/credentials/onepassword/vaults/vaults.d.ts +10 -0
- package/resources/credentials/onepassword/vaults/vaults.d.ts.map +1 -0
- package/resources/credentials/onepassword/vaults/vaults.js +17 -0
- package/resources/credentials/onepassword/vaults/vaults.js.map +1 -0
- package/resources/credentials/onepassword/vaults/vaults.mjs +12 -0
- package/resources/credentials/onepassword/vaults/vaults.mjs.map +1 -0
- package/resources/credentials/onepassword/vaults.d.mts +2 -0
- package/resources/credentials/onepassword/vaults.d.mts.map +1 -0
- package/resources/credentials/onepassword/vaults.d.ts +2 -0
- package/resources/credentials/onepassword/vaults.d.ts.map +1 -0
- package/resources/credentials/onepassword/vaults.js +6 -0
- package/resources/credentials/onepassword/vaults.js.map +1 -0
- package/resources/credentials/onepassword/vaults.mjs +3 -0
- package/resources/credentials/onepassword/vaults.mjs.map +1 -0
- package/resources/credentials/onepassword.d.mts +2 -0
- package/resources/credentials/onepassword.d.mts.map +1 -0
- package/resources/credentials/onepassword.d.ts +2 -0
- package/resources/credentials/onepassword.d.ts.map +1 -0
- package/resources/credentials/onepassword.js +6 -0
- package/resources/credentials/onepassword.js.map +1 -0
- package/resources/credentials/onepassword.mjs +3 -0
- package/resources/credentials/onepassword.mjs.map +1 -0
- package/resources/credentials/packages/credentials/credentials.d.mts +32 -32
- package/resources/credentials/packages/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.ts +32 -32
- package/resources/credentials/packages/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.js +0 -8
- package/resources/credentials/packages/credentials/credentials.js.map +1 -1
- package/resources/credentials/packages/credentials/credentials.mjs +0 -8
- package/resources/credentials/packages/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.mts +48 -0
- package/resources/credentials/packages/credentials/fields.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.ts +48 -0
- package/resources/credentials/packages/credentials/fields.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/index.d.mts +1 -1
- package/resources/credentials/packages/credentials/index.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/index.d.ts +1 -1
- package/resources/credentials/packages/credentials/index.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/index.js.map +1 -1
- package/resources/credentials/packages/credentials/index.mjs.map +1 -1
- package/resources/credentials/packages/index.d.mts +2 -1
- package/resources/credentials/packages/index.d.mts.map +1 -1
- package/resources/credentials/packages/index.d.ts +2 -1
- package/resources/credentials/packages/index.d.ts.map +1 -1
- package/resources/credentials/packages/index.js +3 -1
- package/resources/credentials/packages/index.js.map +1 -1
- package/resources/credentials/packages/index.mjs +1 -0
- package/resources/credentials/packages/index.mjs.map +1 -1
- package/resources/credentials/packages/links.d.mts +65 -0
- package/resources/credentials/packages/links.d.mts.map +1 -0
- package/resources/credentials/packages/links.d.ts +65 -0
- package/resources/credentials/packages/links.d.ts.map +1 -0
- package/resources/credentials/packages/links.js +16 -0
- package/resources/credentials/packages/links.js.map +1 -0
- package/resources/credentials/packages/links.mjs +12 -0
- package/resources/credentials/packages/links.mjs.map +1 -0
- package/resources/credentials/packages/packages.d.mts +22 -2
- package/resources/credentials/packages/packages.d.mts.map +1 -1
- package/resources/credentials/packages/packages.d.ts +22 -2
- package/resources/credentials/packages/packages.d.ts.map +1 -1
- package/resources/credentials/packages/packages.js +4 -0
- package/resources/credentials/packages/packages.js.map +1 -1
- package/resources/credentials/packages/packages.mjs +4 -0
- package/resources/credentials/packages/packages.mjs.map +1 -1
- package/resources/devices/actions.d.mts +3 -4
- package/resources/devices/actions.d.mts.map +1 -1
- package/resources/devices/actions.d.ts +3 -4
- package/resources/devices/actions.d.ts.map +1 -1
- package/resources/devices/actions.js +3 -4
- package/resources/devices/actions.js.map +1 -1
- package/resources/devices/actions.mjs +3 -4
- package/resources/devices/actions.mjs.map +1 -1
- package/resources/devices/apps.d.mts +2 -2
- package/resources/devices/apps.d.ts +2 -2
- package/resources/devices/devices.d.mts +52 -28
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +52 -28
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +31 -19
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +31 -19
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/index.d.mts +2 -0
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +2 -0
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js +5 -1
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs +2 -0
- package/resources/devices/index.mjs.map +1 -1
- package/resources/devices/keyboard.d.mts +1 -1
- package/resources/devices/keyboard.d.ts +1 -1
- package/resources/devices/language.d.mts +6 -4
- package/resources/devices/language.d.mts.map +1 -1
- package/resources/devices/language.d.ts +6 -4
- package/resources/devices/language.d.ts.map +1 -1
- package/resources/devices/language.js +3 -2
- package/resources/devices/language.js.map +1 -1
- package/resources/devices/language.mjs +3 -2
- package/resources/devices/language.mjs.map +1 -1
- package/resources/devices/number-bindings.d.mts +40 -0
- package/resources/devices/number-bindings.d.mts.map +1 -0
- package/resources/devices/number-bindings.d.ts +40 -0
- package/resources/devices/number-bindings.d.ts.map +1 -0
- package/resources/devices/number-bindings.js +15 -0
- package/resources/devices/number-bindings.js.map +1 -0
- package/resources/devices/number-bindings.mjs +11 -0
- package/resources/devices/number-bindings.mjs.map +1 -0
- package/resources/devices/number.d.mts +141 -0
- package/resources/devices/number.d.mts.map +1 -0
- package/resources/devices/number.d.ts +141 -0
- package/resources/devices/number.d.ts.map +1 -0
- package/resources/devices/number.js +68 -0
- package/resources/devices/number.js.map +1 -0
- package/resources/devices/number.mjs +64 -0
- package/resources/devices/number.mjs.map +1 -0
- package/resources/devices/state.d.mts +1 -0
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +1 -0
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/files.d.mts +13 -7
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +13 -7
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +9 -7
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +9 -7
- package/resources/files.mjs.map +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/mailboxes/messages.d.mts +13 -0
- package/resources/mailboxes/messages.d.mts.map +1 -1
- package/resources/mailboxes/messages.d.ts +13 -0
- package/resources/mailboxes/messages.d.ts.map +1 -1
- package/resources/mailboxes/messages.js +2 -2
- package/resources/mailboxes/messages.js.map +1 -1
- package/resources/mailboxes/messages.mjs +2 -2
- package/resources/mailboxes/messages.mjs.map +1 -1
- package/resources/messages/conversations.d.mts +6 -0
- package/resources/messages/conversations.d.mts.map +1 -1
- package/resources/messages/conversations.d.ts +6 -0
- package/resources/messages/conversations.d.ts.map +1 -1
- package/resources/messages/messages.d.mts +16 -0
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +16 -0
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/numbers/messages.d.mts +17 -2
- package/resources/numbers/messages.d.mts.map +1 -1
- package/resources/numbers/messages.d.ts +17 -2
- package/resources/numbers/messages.d.ts.map +1 -1
- package/resources/numbers/messages.js +2 -1
- package/resources/numbers/messages.js.map +1 -1
- package/resources/numbers/messages.mjs +2 -1
- package/resources/numbers/messages.mjs.map +1 -1
- package/resources/numbers/numbers.d.mts +48 -0
- package/resources/numbers/numbers.d.mts.map +1 -1
- package/resources/numbers/numbers.d.ts +48 -0
- package/resources/numbers/numbers.d.ts.map +1 -1
- package/resources/numbers/numbers.js.map +1 -1
- package/resources/numbers/numbers.mjs.map +1 -1
- package/resources/tasks/tasks.d.mts +28 -7
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +28 -7
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/workflows/action-catalog.d.mts +56 -8
- package/resources/workflows/action-catalog.d.mts.map +1 -1
- package/resources/workflows/action-catalog.d.ts +56 -8
- package/resources/workflows/action-catalog.d.ts.map +1 -1
- package/resources/workflows/action-catalog.js +7 -5
- package/resources/workflows/action-catalog.js.map +1 -1
- package/resources/workflows/action-catalog.mjs +7 -5
- package/resources/workflows/action-catalog.mjs.map +1 -1
- package/resources/workflows/actions/actions.d.mts +22 -10
- package/resources/workflows/actions/actions.d.mts.map +1 -1
- package/resources/workflows/actions/actions.d.ts +22 -10
- package/resources/workflows/actions/actions.d.ts.map +1 -1
- package/resources/workflows/actions/actions.js +7 -5
- package/resources/workflows/actions/actions.js.map +1 -1
- package/resources/workflows/actions/actions.mjs +7 -5
- package/resources/workflows/actions/actions.mjs.map +1 -1
- package/resources/workflows/actions/index.d.mts +1 -1
- package/resources/workflows/actions/index.d.mts.map +1 -1
- package/resources/workflows/actions/index.d.ts +1 -1
- package/resources/workflows/actions/index.d.ts.map +1 -1
- package/resources/workflows/actions/index.js.map +1 -1
- package/resources/workflows/actions/index.mjs.map +1 -1
- package/resources/workflows/actions/services.d.mts +1 -1
- package/resources/workflows/actions/services.d.mts.map +1 -1
- package/resources/workflows/actions/services.d.ts +1 -1
- package/resources/workflows/actions/services.d.ts.map +1 -1
- package/resources/workflows/events.d.mts +25 -3
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +25 -3
- package/resources/workflows/events.d.ts.map +1 -1
- package/resources/workflows/executions/executions.d.mts +16 -0
- package/resources/workflows/executions/executions.d.mts.map +1 -1
- package/resources/workflows/executions/executions.d.ts +16 -0
- package/resources/workflows/executions/executions.d.ts.map +1 -1
- package/resources/workflows/executions/executions.js.map +1 -1
- package/resources/workflows/executions/executions.mjs.map +1 -1
- package/resources/workflows/flows/flows.d.mts +547 -102
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +547 -102
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +15 -2
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +15 -2
- package/resources/workflows/flows/flows.mjs.map +1 -1
- package/resources/workflows/flows/index.d.mts +2 -1
- package/resources/workflows/flows/index.d.mts.map +1 -1
- package/resources/workflows/flows/index.d.ts +2 -1
- package/resources/workflows/flows/index.d.ts.map +1 -1
- package/resources/workflows/flows/index.js +3 -1
- package/resources/workflows/flows/index.js.map +1 -1
- package/resources/workflows/flows/index.mjs +1 -0
- package/resources/workflows/flows/index.mjs.map +1 -1
- package/resources/workflows/flows/state.d.mts +65 -0
- package/resources/workflows/flows/state.d.mts.map +1 -0
- package/resources/workflows/flows/state.d.ts +65 -0
- package/resources/workflows/flows/state.d.ts.map +1 -0
- package/resources/workflows/flows/state.js +33 -0
- package/resources/workflows/flows/state.js.map +1 -0
- package/resources/workflows/flows/state.mjs +29 -0
- package/resources/workflows/flows/state.mjs.map +1 -0
- package/resources/workflows/index.d.mts +3 -3
- package/resources/workflows/index.d.mts.map +1 -1
- package/resources/workflows/index.d.ts +3 -3
- package/resources/workflows/index.d.ts.map +1 -1
- package/resources/workflows/index.js.map +1 -1
- package/resources/workflows/index.mjs.map +1 -1
- package/resources/workflows/triggers.d.mts +40 -5
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +40 -5
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/triggers.js +12 -3
- package/resources/workflows/triggers.js.map +1 -1
- package/resources/workflows/triggers.mjs +12 -3
- package/resources/workflows/triggers.mjs.map +1 -1
- package/resources/workflows/workflows.d.mts +6 -6
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +6 -6
- package/resources/workflows/workflows.d.ts.map +1 -1
- package/resources/workflows/workflows.js.map +1 -1
- package/resources/workflows/workflows.mjs.map +1 -1
- package/src/client.ts +17 -0
- package/src/resources/agents/agents.ts +475 -0
- package/src/resources/agents/conversations.ts +205 -0
- package/src/resources/agents/files.ts +105 -0
- package/src/resources/agents/index.ts +34 -0
- package/src/resources/agents/profile.ts +225 -0
- package/src/resources/agents/requests.ts +495 -0
- package/src/resources/agents/routines.ts +156 -0
- package/src/resources/agents.ts +3 -0
- package/src/resources/assistant/conversations.ts +148 -39
- package/src/resources/connect/connect.ts +2 -0
- package/src/resources/connect/index.ts +1 -0
- package/src/resources/connect/proxies.ts +27 -0
- package/src/resources/credentials/credentials.ts +51 -0
- package/src/resources/credentials/index.ts +7 -0
- package/src/resources/credentials/onepassword/index.ts +10 -0
- package/src/resources/credentials/onepassword/onepassword.ts +101 -0
- package/src/resources/credentials/onepassword/vaults/index.ts +4 -0
- package/src/resources/credentials/onepassword/vaults/items/fields.ts +40 -0
- package/src/resources/credentials/onepassword/vaults/items/index.ts +4 -0
- package/src/resources/credentials/onepassword/vaults/items/items.ts +55 -0
- package/src/resources/credentials/onepassword/vaults/items.ts +3 -0
- package/src/resources/credentials/onepassword/vaults/vaults.ts +15 -0
- package/src/resources/credentials/onepassword/vaults.ts +3 -0
- package/src/resources/credentials/onepassword.ts +3 -0
- package/src/resources/credentials/packages/credentials/credentials.ts +58 -55
- package/src/resources/credentials/packages/credentials/fields.ts +99 -0
- package/src/resources/credentials/packages/credentials/index.ts +0 -2
- package/src/resources/credentials/packages/index.ts +1 -2
- package/src/resources/credentials/packages/links.ts +122 -0
- package/src/resources/credentials/packages/packages.ts +43 -4
- package/src/resources/devices/actions.ts +3 -4
- package/src/resources/devices/apps.ts +2 -2
- package/src/resources/devices/devices.ts +86 -37
- package/src/resources/devices/index.ts +14 -0
- package/src/resources/devices/keyboard.ts +1 -1
- package/src/resources/devices/language.ts +6 -4
- package/src/resources/devices/number-bindings.ts +62 -0
- package/src/resources/devices/number.ts +261 -0
- package/src/resources/devices/state.ts +2 -0
- package/src/resources/files.ts +17 -7
- package/src/resources/index.ts +7 -0
- package/src/resources/mailboxes/messages.ts +17 -2
- package/src/resources/messages/conversations.ts +6 -0
- package/src/resources/messages/messages.ts +16 -0
- package/src/resources/numbers/messages.ts +17 -2
- package/src/resources/numbers/numbers.ts +64 -0
- package/src/resources/tasks/tasks.ts +30 -7
- package/src/resources/workflows/action-catalog.ts +69 -8
- package/src/resources/workflows/actions/actions.ts +29 -10
- package/src/resources/workflows/actions/index.ts +1 -0
- package/src/resources/workflows/actions/services.ts +1 -1
- package/src/resources/workflows/events.ts +32 -2
- package/src/resources/workflows/executions/executions.ts +26 -0
- package/src/resources/workflows/flows/flows.ts +707 -97
- package/src/resources/workflows/flows/index.ts +10 -0
- package/src/resources/workflows/flows/state.ts +103 -0
- package/src/resources/workflows/index.ts +4 -0
- package/src/resources/workflows/triggers.ts +34 -5
- package/src/resources/workflows/workflows.ts +8 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/resources/files.ts
CHANGED
|
@@ -20,7 +20,7 @@ export class Files extends APIResource {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* List the user's ready files, optionally filtered by zone
|
|
23
|
+
* List the user's ready files, optionally filtered by zone.
|
|
24
24
|
*/
|
|
25
25
|
list(
|
|
26
26
|
query: FileListParams | null | undefined = {},
|
|
@@ -30,23 +30,25 @@ export class Files extends APIResource {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* Hard-delete a file
|
|
33
|
+
* Hard-delete a file.
|
|
34
34
|
*/
|
|
35
35
|
delete(fileID: string, options?: RequestOptions): APIPromise<FileDeleteResponse> {
|
|
36
36
|
return this._client.delete(path`/agents/files/${fileID}`, options);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* Soft-cancels an in-flight upload before confirm
|
|
41
|
-
*
|
|
42
|
-
*
|
|
40
|
+
* Soft-cancels an in-flight upload before confirm, transitioning it to expired and
|
|
41
|
+
* deleting the underlying object. Only acts on `pending` uploads — refuses to
|
|
42
|
+
* touch `ready` files, so confirmed files are never removed. Idempotent:
|
|
43
|
+
* `{ cancelled: false }` if the file exists but is no longer pending.
|
|
43
44
|
*/
|
|
44
45
|
cancelPending(fileID: string, options?: RequestOptions): APIPromise<FileCancelPendingResponse> {
|
|
45
46
|
return this._client.delete(path`/agents/files/${fileID}/pending`, options);
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
/**
|
|
49
|
-
* Confirm a file upload
|
|
50
|
+
* Confirm a file upload after validating the stored object with a server-side HEAD
|
|
51
|
+
* request.
|
|
50
52
|
*/
|
|
51
53
|
confirm(fileID: string, options?: RequestOptions): APIPromise<FileConfirmResponse> {
|
|
52
54
|
return this._client.post(path`/agents/files/${fileID}/confirm`, options);
|
|
@@ -64,7 +66,7 @@ export class Files extends APIResource {
|
|
|
64
66
|
}
|
|
65
67
|
|
|
66
68
|
/**
|
|
67
|
-
* Mint a presigned PUT URL for a user file
|
|
69
|
+
* Mint a presigned PUT URL and a fileId for uploading a user file.
|
|
68
70
|
*/
|
|
69
71
|
uploadURL(body: FileUploadURLParams, options?: RequestOptions): APIPromise<FileUploadURLResponse> {
|
|
70
72
|
return this._client.post('/agents/files/upload-url', { body, ...options });
|
|
@@ -90,6 +92,8 @@ export interface FileUpdateResponse {
|
|
|
90
92
|
|
|
91
93
|
zone: 'user' | 'agent' | 'workflow' | 'skills';
|
|
92
94
|
|
|
95
|
+
agentId?: string;
|
|
96
|
+
|
|
93
97
|
collectionStatus?: FileUpdateResponse.UnionMember0 | FileUpdateResponse.UnionMember1;
|
|
94
98
|
}
|
|
95
99
|
|
|
@@ -155,6 +159,8 @@ export namespace FileListResponse {
|
|
|
155
159
|
|
|
156
160
|
zone: 'user' | 'agent' | 'workflow' | 'skills';
|
|
157
161
|
|
|
162
|
+
agentId?: string;
|
|
163
|
+
|
|
158
164
|
collectionStatus?: File.UnionMember0 | File.UnionMember1;
|
|
159
165
|
}
|
|
160
166
|
|
|
@@ -236,6 +242,8 @@ export interface FileConfirmResponse {
|
|
|
236
242
|
|
|
237
243
|
zone: 'user' | 'agent' | 'workflow' | 'skills';
|
|
238
244
|
|
|
245
|
+
agentId?: string;
|
|
246
|
+
|
|
239
247
|
collectionStatus?: FileConfirmResponse.UnionMember0 | FileConfirmResponse.UnionMember1;
|
|
240
248
|
}
|
|
241
249
|
|
|
@@ -300,6 +308,8 @@ export interface FileUploadURLParams {
|
|
|
300
308
|
|
|
301
309
|
sizeBytes: number;
|
|
302
310
|
|
|
311
|
+
chatSessionId?: string;
|
|
312
|
+
|
|
303
313
|
zone?: 'user' | 'skills';
|
|
304
314
|
}
|
|
305
315
|
|
package/src/resources/index.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
export * from './shared';
|
|
4
|
+
export {
|
|
5
|
+
Agents,
|
|
6
|
+
type AgentCreateResponse,
|
|
7
|
+
type AgentListResponse,
|
|
8
|
+
type AgentModelProfilesResponse,
|
|
9
|
+
type AgentCreateParams,
|
|
10
|
+
} from './agents/agents';
|
|
4
11
|
export {
|
|
5
12
|
Apps,
|
|
6
13
|
type AppRetrieveResponse,
|
|
@@ -22,8 +22,8 @@ export class Messages extends APIResource {
|
|
|
22
22
|
params: MessageRetrieveParams,
|
|
23
23
|
options?: RequestOptions,
|
|
24
24
|
): APIPromise<MessageRetrieveResponse> {
|
|
25
|
-
const { mailboxId } = params;
|
|
26
|
-
return this._client.get(path`/mailboxes/${mailboxId}/messages/${messageID}`, options);
|
|
25
|
+
const { mailboxId, ...query } = params;
|
|
26
|
+
return this._client.get(path`/mailboxes/${mailboxId}/messages/${messageID}`, { query, ...options });
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/**
|
|
@@ -71,6 +71,13 @@ export namespace MessageRetrieveResponse {
|
|
|
71
71
|
subject: string | null;
|
|
72
72
|
|
|
73
73
|
textBody: string | null;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Raw HTML part as received. Present only with includeHtml=true; null when the
|
|
77
|
+
* mail has no HTML part or it exceeds 1 MiB (UTF-8 bytes). Untrusted content:
|
|
78
|
+
* render only in an isolated sandboxed frame, never inline.
|
|
79
|
+
*/
|
|
80
|
+
htmlBody?: string | null;
|
|
74
81
|
}
|
|
75
82
|
|
|
76
83
|
export namespace Data {
|
|
@@ -109,7 +116,15 @@ export namespace MessageListResponse {
|
|
|
109
116
|
}
|
|
110
117
|
|
|
111
118
|
export interface MessageRetrieveParams {
|
|
119
|
+
/**
|
|
120
|
+
* Path param
|
|
121
|
+
*/
|
|
112
122
|
mailboxId: string;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Query param: Return the raw HTML part as htmlBody (untrusted; render isolated).
|
|
126
|
+
*/
|
|
127
|
+
includeHtml?: 'true' | 'false';
|
|
113
128
|
}
|
|
114
129
|
|
|
115
130
|
export interface MessageListParams {
|
|
@@ -55,6 +55,12 @@ export namespace ConversationListResponse {
|
|
|
55
55
|
|
|
56
56
|
occurredAt: string;
|
|
57
57
|
|
|
58
|
+
/**
|
|
59
|
+
* Message status. Outbound messages move queued → sending → sent, or end at
|
|
60
|
+
* failed. `sent` means the mobile network accepted the message and is the final
|
|
61
|
+
* success status. `delivered` and `sent_unconfirmed` are kept for compatibility;
|
|
62
|
+
* current lines return no carrier delivery report, so neither is emitted.
|
|
63
|
+
*/
|
|
58
64
|
status:
|
|
59
65
|
| 'received'
|
|
60
66
|
| 'queued'
|
|
@@ -68,6 +68,12 @@ export namespace MessageRetrieveResponse {
|
|
|
68
68
|
|
|
69
69
|
providerCode: string | null;
|
|
70
70
|
|
|
71
|
+
/**
|
|
72
|
+
* Message status. Outbound messages move queued → sending → sent, or end at
|
|
73
|
+
* failed. `sent` means the mobile network accepted the message and is the final
|
|
74
|
+
* success status. `delivered` and `sent_unconfirmed` are kept for compatibility;
|
|
75
|
+
* current lines return no carrier delivery report, so neither is emitted.
|
|
76
|
+
*/
|
|
71
77
|
status:
|
|
72
78
|
| 'received'
|
|
73
79
|
| 'queued'
|
|
@@ -118,6 +124,12 @@ export namespace MessageListResponse {
|
|
|
118
124
|
|
|
119
125
|
providerCode: string | null;
|
|
120
126
|
|
|
127
|
+
/**
|
|
128
|
+
* Message status. Outbound messages move queued → sending → sent, or end at
|
|
129
|
+
* failed. `sent` means the mobile network accepted the message and is the final
|
|
130
|
+
* success status. `delivered` and `sent_unconfirmed` are kept for compatibility;
|
|
131
|
+
* current lines return no carrier delivery report, so neither is emitted.
|
|
132
|
+
*/
|
|
121
133
|
status:
|
|
122
134
|
| 'received'
|
|
123
135
|
| 'queued'
|
|
@@ -151,6 +163,10 @@ export interface MessageListParams {
|
|
|
151
163
|
|
|
152
164
|
peerNumber?: string;
|
|
153
165
|
|
|
166
|
+
/**
|
|
167
|
+
* Filter by message status. `delivered` and `sent_unconfirmed` are kept for
|
|
168
|
+
* compatibility and are not emitted on current lines.
|
|
169
|
+
*/
|
|
154
170
|
status?:
|
|
155
171
|
| 'all'
|
|
156
172
|
| 'received'
|
|
@@ -37,7 +37,8 @@ export class Messages extends APIResource {
|
|
|
37
37
|
* rate_limited: too many sends by the owner in a short window; 429
|
|
38
38
|
* number_rate_limited: too many outbound sends from this number in the configured
|
|
39
39
|
* window (all sends from this number count, including those made on your behalf).
|
|
40
|
-
* 403 send_disabled: self-service SMS send is switched off
|
|
40
|
+
* 403 send_disabled: self-service SMS send is switched off;
|
|
41
|
+
* outbound_sms_not_granted: outbound SMS requires an admin grant.
|
|
41
42
|
*
|
|
42
43
|
* @example
|
|
43
44
|
* ```ts
|
|
@@ -82,6 +83,12 @@ export namespace MessageListResponse {
|
|
|
82
83
|
|
|
83
84
|
peerNumber: string | null;
|
|
84
85
|
|
|
86
|
+
/**
|
|
87
|
+
* Message status. Outbound messages move queued → sending → sent, or end at
|
|
88
|
+
* failed. `sent` means the mobile network accepted the message and is the final
|
|
89
|
+
* success status. `delivered` and `sent_unconfirmed` are kept for compatibility;
|
|
90
|
+
* current lines return no carrier delivery report, so neither is emitted.
|
|
91
|
+
*/
|
|
85
92
|
status:
|
|
86
93
|
| 'received'
|
|
87
94
|
| 'queued'
|
|
@@ -128,6 +135,12 @@ export namespace MessageSendResponse {
|
|
|
128
135
|
|
|
129
136
|
peerNumber: string | null;
|
|
130
137
|
|
|
138
|
+
/**
|
|
139
|
+
* Message status. Outbound messages move queued → sending → sent, or end at
|
|
140
|
+
* failed. `sent` means the mobile network accepted the message and is the final
|
|
141
|
+
* success status. `delivered` and `sent_unconfirmed` are kept for compatibility;
|
|
142
|
+
* current lines return no carrier delivery report, so neither is emitted.
|
|
143
|
+
*/
|
|
131
144
|
status:
|
|
132
145
|
| 'received'
|
|
133
146
|
| 'queued'
|
|
@@ -171,7 +184,9 @@ export interface MessageSendParams {
|
|
|
171
184
|
to: string;
|
|
172
185
|
|
|
173
186
|
/**
|
|
174
|
-
*
|
|
187
|
+
* @deprecated Deprecated: best effort and ignored on most lines. Hosted SIM
|
|
188
|
+
* numbers return no carrier delivery report, so their messages end at `sent` and
|
|
189
|
+
* no `sms.send.delivered` event follows. Defaults to false.
|
|
175
190
|
*/
|
|
176
191
|
deliveryReport?: boolean;
|
|
177
192
|
}
|
|
@@ -177,6 +177,11 @@ export namespace NumberRetrieveResponse {
|
|
|
177
177
|
|
|
178
178
|
currentPeriodEnd: string | null;
|
|
179
179
|
|
|
180
|
+
/**
|
|
181
|
+
* The device this number is bound to, or null.
|
|
182
|
+
*/
|
|
183
|
+
deviceBinding: Data.DeviceBinding | null;
|
|
184
|
+
|
|
180
185
|
/**
|
|
181
186
|
* Why setup failed. Null unless state is failed, and null when the failure has no
|
|
182
187
|
* classified reason. out_of_stock: no number is currently available for the
|
|
@@ -220,6 +225,17 @@ export namespace NumberRetrieveResponse {
|
|
|
220
225
|
send: boolean;
|
|
221
226
|
}
|
|
222
227
|
|
|
228
|
+
/**
|
|
229
|
+
* The device this number is bound to, or null.
|
|
230
|
+
*/
|
|
231
|
+
export interface DeviceBinding {
|
|
232
|
+
boundAt: string;
|
|
233
|
+
|
|
234
|
+
deviceId: string;
|
|
235
|
+
|
|
236
|
+
deviceType: string | null;
|
|
237
|
+
}
|
|
238
|
+
|
|
223
239
|
/**
|
|
224
240
|
* What this line supports in principle, per channel. Use `actions` for what you
|
|
225
241
|
* can do right now.
|
|
@@ -282,6 +298,11 @@ export namespace NumberUpdateResponse {
|
|
|
282
298
|
|
|
283
299
|
currentPeriodEnd: string | null;
|
|
284
300
|
|
|
301
|
+
/**
|
|
302
|
+
* The device this number is bound to, or null.
|
|
303
|
+
*/
|
|
304
|
+
deviceBinding: Data.DeviceBinding | null;
|
|
305
|
+
|
|
285
306
|
/**
|
|
286
307
|
* Why setup failed. Null unless state is failed, and null when the failure has no
|
|
287
308
|
* classified reason. out_of_stock: no number is currently available for the
|
|
@@ -325,6 +346,17 @@ export namespace NumberUpdateResponse {
|
|
|
325
346
|
send: boolean;
|
|
326
347
|
}
|
|
327
348
|
|
|
349
|
+
/**
|
|
350
|
+
* The device this number is bound to, or null.
|
|
351
|
+
*/
|
|
352
|
+
export interface DeviceBinding {
|
|
353
|
+
boundAt: string;
|
|
354
|
+
|
|
355
|
+
deviceId: string;
|
|
356
|
+
|
|
357
|
+
deviceType: string | null;
|
|
358
|
+
}
|
|
359
|
+
|
|
328
360
|
/**
|
|
329
361
|
* What this line supports in principle, per channel. Use `actions` for what you
|
|
330
362
|
* can do right now.
|
|
@@ -389,6 +421,11 @@ export namespace NumberListResponse {
|
|
|
389
421
|
|
|
390
422
|
currentPeriodEnd: string | null;
|
|
391
423
|
|
|
424
|
+
/**
|
|
425
|
+
* The device this number is bound to, or null.
|
|
426
|
+
*/
|
|
427
|
+
deviceBinding: Item.DeviceBinding | null;
|
|
428
|
+
|
|
392
429
|
/**
|
|
393
430
|
* Why setup failed. Null unless state is failed, and null when the failure has no
|
|
394
431
|
* classified reason. out_of_stock: no number is currently available for the
|
|
@@ -432,6 +469,17 @@ export namespace NumberListResponse {
|
|
|
432
469
|
send: boolean;
|
|
433
470
|
}
|
|
434
471
|
|
|
472
|
+
/**
|
|
473
|
+
* The device this number is bound to, or null.
|
|
474
|
+
*/
|
|
475
|
+
export interface DeviceBinding {
|
|
476
|
+
boundAt: string;
|
|
477
|
+
|
|
478
|
+
deviceId: string;
|
|
479
|
+
|
|
480
|
+
deviceType: string | null;
|
|
481
|
+
}
|
|
482
|
+
|
|
435
483
|
/**
|
|
436
484
|
* What this line supports in principle, per channel. Use `actions` for what you
|
|
437
485
|
* can do right now.
|
|
@@ -494,6 +542,11 @@ export namespace NumberDeleteResponse {
|
|
|
494
542
|
|
|
495
543
|
currentPeriodEnd: string | null;
|
|
496
544
|
|
|
545
|
+
/**
|
|
546
|
+
* The device this number is bound to, or null.
|
|
547
|
+
*/
|
|
548
|
+
deviceBinding: Data.DeviceBinding | null;
|
|
549
|
+
|
|
497
550
|
/**
|
|
498
551
|
* Why setup failed. Null unless state is failed, and null when the failure has no
|
|
499
552
|
* classified reason. out_of_stock: no number is currently available for the
|
|
@@ -537,6 +590,17 @@ export namespace NumberDeleteResponse {
|
|
|
537
590
|
send: boolean;
|
|
538
591
|
}
|
|
539
592
|
|
|
593
|
+
/**
|
|
594
|
+
* The device this number is bound to, or null.
|
|
595
|
+
*/
|
|
596
|
+
export interface DeviceBinding {
|
|
597
|
+
boundAt: string;
|
|
598
|
+
|
|
599
|
+
deviceId: string;
|
|
600
|
+
|
|
601
|
+
deviceType: string | null;
|
|
602
|
+
}
|
|
603
|
+
|
|
540
604
|
/**
|
|
541
605
|
* What this line supports in principle, per channel. Use `actions` for what you
|
|
542
606
|
* can do right now.
|
|
@@ -198,8 +198,10 @@ export namespace TaskRetrieveResponse {
|
|
|
198
198
|
|
|
199
199
|
/**
|
|
200
200
|
* Where the task came from: 'api' for tasks created via POST /tasks, 'agent' for
|
|
201
|
-
* tasks spawned by an agent step
|
|
202
|
-
*
|
|
201
|
+
* tasks spawned by an agent step or created with internal=true. 'source'
|
|
202
|
+
* classifies visibility only: tasks created with internal=true stay controllable
|
|
203
|
+
* via this API, while tasks spawned by an agent step are readable (status,
|
|
204
|
+
* trajectory, media) but not controllable.
|
|
203
205
|
*/
|
|
204
206
|
source?: 'api' | 'agent';
|
|
205
207
|
|
|
@@ -344,8 +346,10 @@ export namespace TaskListResponse {
|
|
|
344
346
|
|
|
345
347
|
/**
|
|
346
348
|
* Where the task came from: 'api' for tasks created via POST /tasks, 'agent' for
|
|
347
|
-
* tasks spawned by an agent step
|
|
348
|
-
*
|
|
349
|
+
* tasks spawned by an agent step or created with internal=true. 'source'
|
|
350
|
+
* classifies visibility only: tasks created with internal=true stay controllable
|
|
351
|
+
* via this API, while tasks spawned by an agent step are readable (status,
|
|
352
|
+
* trajectory, media) but not controllable.
|
|
349
353
|
*/
|
|
350
354
|
source?: 'api' | 'agent';
|
|
351
355
|
|
|
@@ -1044,7 +1048,8 @@ export interface TaskListParams {
|
|
|
1044
1048
|
query?: string | null;
|
|
1045
1049
|
|
|
1046
1050
|
/**
|
|
1047
|
-
* Only tasks created via the API ('api') or spawned by an agent step
|
|
1051
|
+
* Only tasks created via the API ('api') or tasks spawned by an agent step or
|
|
1052
|
+
* created with internal=true ('agent').
|
|
1048
1053
|
*/
|
|
1049
1054
|
source?: 'api' | 'agent' | null;
|
|
1050
1055
|
|
|
@@ -1094,9 +1099,18 @@ export interface TaskRunParams {
|
|
|
1094
1099
|
*/
|
|
1095
1100
|
humanize?: boolean;
|
|
1096
1101
|
|
|
1102
|
+
/**
|
|
1103
|
+
* Mark a task started by an agent or worker on the user's behalf. It is listed as
|
|
1104
|
+
* source='agent' (excluded from source='api' lists) and its events carry
|
|
1105
|
+
* internal=true so user-facing notifications and webhooks skip it. It is still
|
|
1106
|
+
* billed, controllable and retrievable by id.
|
|
1107
|
+
*/
|
|
1108
|
+
internal?: boolean;
|
|
1109
|
+
|
|
1097
1110
|
/**
|
|
1098
1111
|
* The LLM model identifier to use for the task (e.g.
|
|
1099
|
-
* 'mobilerun/mobile-agent-fast')
|
|
1112
|
+
* 'mobilerun/mobile-agent-fast'). When omitted with reasoning=false, the fast-mode
|
|
1113
|
+
* default model is used.
|
|
1100
1114
|
*/
|
|
1101
1115
|
llmModel?: string;
|
|
1102
1116
|
|
|
@@ -1181,9 +1195,18 @@ export interface TaskRunStreamedParams {
|
|
|
1181
1195
|
*/
|
|
1182
1196
|
humanize?: boolean;
|
|
1183
1197
|
|
|
1198
|
+
/**
|
|
1199
|
+
* Mark a task started by an agent or worker on the user's behalf. It is listed as
|
|
1200
|
+
* source='agent' (excluded from source='api' lists) and its events carry
|
|
1201
|
+
* internal=true so user-facing notifications and webhooks skip it. It is still
|
|
1202
|
+
* billed, controllable and retrievable by id.
|
|
1203
|
+
*/
|
|
1204
|
+
internal?: boolean;
|
|
1205
|
+
|
|
1184
1206
|
/**
|
|
1185
1207
|
* The LLM model identifier to use for the task (e.g.
|
|
1186
|
-
* 'mobilerun/mobile-agent-fast')
|
|
1208
|
+
* 'mobilerun/mobile-agent-fast'). When omitted with reasoning=false, the fast-mode
|
|
1209
|
+
* default model is used.
|
|
1187
1210
|
*/
|
|
1188
1211
|
llmModel?: string;
|
|
1189
1212
|
|
|
@@ -9,16 +9,22 @@ import { path } from '../../internal/utils/path';
|
|
|
9
9
|
export class ActionCatalog extends APIResource {
|
|
10
10
|
/**
|
|
11
11
|
* Fetch a single action catalog entry by its ID, including its service, method,
|
|
12
|
-
*
|
|
12
|
+
* parameter schema, and `deviceFree` eligibility. Supports
|
|
13
|
+
* `profile=agent_routine`; returns 404 if no entry matches or the entry is outside
|
|
14
|
+
* that profile.
|
|
13
15
|
*/
|
|
14
|
-
retrieve(
|
|
15
|
-
|
|
16
|
+
retrieve(
|
|
17
|
+
catalogEntryID: string,
|
|
18
|
+
query: ActionCatalogRetrieveParams | null | undefined = {},
|
|
19
|
+
options?: RequestOptions,
|
|
20
|
+
): APIPromise<ActionCatalogRetrieveResponse> {
|
|
21
|
+
return this._client.get(path`/action-catalog/${catalogEntryID}`, { query, ...options });
|
|
16
22
|
}
|
|
17
23
|
|
|
18
24
|
/**
|
|
19
25
|
* Return a paginated list of catalog entries — the service/method templates that
|
|
20
|
-
* actions are created from, each carrying its parameter schema
|
|
21
|
-
* by `service`.
|
|
26
|
+
* actions are created from, each carrying its parameter schema and `deviceFree`
|
|
27
|
+
* eligibility. Supports filtering by `service` and `profile=agent_routine`.
|
|
22
28
|
*/
|
|
23
29
|
list(
|
|
24
30
|
query: ActionCatalogListParams | null | undefined = {},
|
|
@@ -40,16 +46,37 @@ export namespace ActionCatalogRetrieveResponse {
|
|
|
40
46
|
|
|
41
47
|
description: string | null;
|
|
42
48
|
|
|
49
|
+
/**
|
|
50
|
+
* True when this step itself runs without a device; only such steps may appear in
|
|
51
|
+
* a device-free flow. Not the same as cloudRoutine: a device-free step can still
|
|
52
|
+
* be device-routine-only (see cloudRoutineReason).
|
|
53
|
+
*/
|
|
54
|
+
deviceFree: boolean;
|
|
55
|
+
|
|
43
56
|
method: string;
|
|
44
57
|
|
|
45
58
|
name: string;
|
|
46
59
|
|
|
47
60
|
provider: 'mobilerun' | 'oneDrive' | 'googleDrive';
|
|
48
61
|
|
|
49
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
62
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
50
63
|
|
|
51
64
|
updatedAt: string | null;
|
|
52
65
|
|
|
66
|
+
/**
|
|
67
|
+
* True when this step is allowed in a cloud agent routine. Present only for
|
|
68
|
+
* profile=agent_routine. False does not mean the step needs a device; read
|
|
69
|
+
* cloudRoutineReason.
|
|
70
|
+
*/
|
|
71
|
+
cloudRoutine?: boolean;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Why cloudRoutine is false: needs_device (the step needs a device),
|
|
75
|
+
* device_routine_only (allowed only in device routines; the step itself does not
|
|
76
|
+
* need a device). Present only when cloudRoutine is false.
|
|
77
|
+
*/
|
|
78
|
+
cloudRoutineReason?: 'needs_device' | 'device_routine_only';
|
|
79
|
+
|
|
53
80
|
outputSchema?: unknown;
|
|
54
81
|
|
|
55
82
|
paramsSchema?: unknown;
|
|
@@ -70,34 +97,68 @@ export namespace ActionCatalogListResponse {
|
|
|
70
97
|
|
|
71
98
|
description: string | null;
|
|
72
99
|
|
|
100
|
+
/**
|
|
101
|
+
* True when this step itself runs without a device; only such steps may appear in
|
|
102
|
+
* a device-free flow. Not the same as cloudRoutine: a device-free step can still
|
|
103
|
+
* be device-routine-only (see cloudRoutineReason).
|
|
104
|
+
*/
|
|
105
|
+
deviceFree: boolean;
|
|
106
|
+
|
|
73
107
|
method: string;
|
|
74
108
|
|
|
75
109
|
name: string;
|
|
76
110
|
|
|
77
111
|
provider: 'mobilerun' | 'oneDrive' | 'googleDrive';
|
|
78
112
|
|
|
79
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
113
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
80
114
|
|
|
81
115
|
updatedAt: string | null;
|
|
82
116
|
|
|
117
|
+
/**
|
|
118
|
+
* True when this step is allowed in a cloud agent routine. Present only for
|
|
119
|
+
* profile=agent_routine. False does not mean the step needs a device; read
|
|
120
|
+
* cloudRoutineReason.
|
|
121
|
+
*/
|
|
122
|
+
cloudRoutine?: boolean;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Why cloudRoutine is false: needs_device (the step needs a device),
|
|
126
|
+
* device_routine_only (allowed only in device routines; the step itself does not
|
|
127
|
+
* need a device). Present only when cloudRoutine is false.
|
|
128
|
+
*/
|
|
129
|
+
cloudRoutineReason?: 'needs_device' | 'device_routine_only';
|
|
130
|
+
|
|
83
131
|
outputSchema?: unknown;
|
|
84
132
|
|
|
85
133
|
paramsSchema?: unknown;
|
|
86
134
|
}
|
|
87
135
|
}
|
|
88
136
|
|
|
137
|
+
export interface ActionCatalogRetrieveParams {
|
|
138
|
+
/**
|
|
139
|
+
* Restrict reads to the agent routine step surface.
|
|
140
|
+
*/
|
|
141
|
+
profile?: 'agent_routine';
|
|
142
|
+
}
|
|
143
|
+
|
|
89
144
|
export interface ActionCatalogListParams {
|
|
90
145
|
page?: number;
|
|
91
146
|
|
|
92
147
|
pageSize?: number;
|
|
93
148
|
|
|
94
|
-
|
|
149
|
+
/**
|
|
150
|
+
* Restrict reads to the agent routine step surface.
|
|
151
|
+
*/
|
|
152
|
+
profile?: 'agent_routine';
|
|
153
|
+
|
|
154
|
+
service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
95
155
|
}
|
|
96
156
|
|
|
97
157
|
export declare namespace ActionCatalog {
|
|
98
158
|
export {
|
|
99
159
|
type ActionCatalogRetrieveResponse as ActionCatalogRetrieveResponse,
|
|
100
160
|
type ActionCatalogListResponse as ActionCatalogListResponse,
|
|
161
|
+
type ActionCatalogRetrieveParams as ActionCatalogRetrieveParams,
|
|
101
162
|
type ActionCatalogListParams as ActionCatalogListParams,
|
|
102
163
|
};
|
|
103
164
|
}
|
|
@@ -26,10 +26,15 @@ export class Actions extends APIResource {
|
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Fetch a single action by its ID, including its configured service, method, and
|
|
29
|
-
* params.
|
|
29
|
+
* params. Supports `profile=agent_routine`; returns 404 if no action matches or
|
|
30
|
+
* the action is outside that profile.
|
|
30
31
|
*/
|
|
31
|
-
retrieve(
|
|
32
|
-
|
|
32
|
+
retrieve(
|
|
33
|
+
actionID: string,
|
|
34
|
+
query: ActionRetrieveParams | null | undefined = {},
|
|
35
|
+
options?: RequestOptions,
|
|
36
|
+
): APIPromise<ActionRetrieveResponse> {
|
|
37
|
+
return this._client.get(path`/actions/${actionID}`, { query, ...options });
|
|
33
38
|
}
|
|
34
39
|
|
|
35
40
|
/**
|
|
@@ -45,8 +50,9 @@ export class Actions extends APIResource {
|
|
|
45
50
|
}
|
|
46
51
|
|
|
47
52
|
/**
|
|
48
|
-
* Return a paginated list of actions. Supports filtering by
|
|
49
|
-
* `search`, and ordering by name,
|
|
53
|
+
* Return a paginated list of actions. Supports filtering by
|
|
54
|
+
* `profile=agent_routine`, `service`, free-text `search`, and ordering by name,
|
|
55
|
+
* createdAt, or updatedAt.
|
|
50
56
|
*/
|
|
51
57
|
list(
|
|
52
58
|
query: ActionListParams | null | undefined = {},
|
|
@@ -85,7 +91,7 @@ export namespace ActionCreateResponse {
|
|
|
85
91
|
|
|
86
92
|
ownerId: string;
|
|
87
93
|
|
|
88
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
94
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
89
95
|
|
|
90
96
|
updatedAt: string | null;
|
|
91
97
|
|
|
@@ -122,7 +128,7 @@ export namespace ActionRetrieveResponse {
|
|
|
122
128
|
|
|
123
129
|
ownerId: string;
|
|
124
130
|
|
|
125
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
131
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
126
132
|
|
|
127
133
|
updatedAt: string | null;
|
|
128
134
|
|
|
@@ -159,7 +165,7 @@ export namespace ActionUpdateResponse {
|
|
|
159
165
|
|
|
160
166
|
ownerId: string;
|
|
161
167
|
|
|
162
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
168
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
163
169
|
|
|
164
170
|
updatedAt: string | null;
|
|
165
171
|
|
|
@@ -198,7 +204,7 @@ export namespace ActionListResponse {
|
|
|
198
204
|
|
|
199
205
|
ownerId: string;
|
|
200
206
|
|
|
201
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
207
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
202
208
|
|
|
203
209
|
updatedAt: string | null;
|
|
204
210
|
|
|
@@ -227,6 +233,13 @@ export interface ActionCreateParams {
|
|
|
227
233
|
params?: { [key: string]: unknown };
|
|
228
234
|
}
|
|
229
235
|
|
|
236
|
+
export interface ActionRetrieveParams {
|
|
237
|
+
/**
|
|
238
|
+
* Restrict reads to the agent routine step surface.
|
|
239
|
+
*/
|
|
240
|
+
profile?: 'agent_routine';
|
|
241
|
+
}
|
|
242
|
+
|
|
230
243
|
export interface ActionUpdateParams {
|
|
231
244
|
description?: string;
|
|
232
245
|
|
|
@@ -244,9 +257,14 @@ export interface ActionListParams {
|
|
|
244
257
|
|
|
245
258
|
pageSize?: number;
|
|
246
259
|
|
|
260
|
+
/**
|
|
261
|
+
* Restrict reads to the agent routine step surface.
|
|
262
|
+
*/
|
|
263
|
+
profile?: 'agent_routine';
|
|
264
|
+
|
|
247
265
|
search?: string;
|
|
248
266
|
|
|
249
|
-
service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
267
|
+
service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
250
268
|
}
|
|
251
269
|
|
|
252
270
|
Actions.Services = Services;
|
|
@@ -259,6 +277,7 @@ export declare namespace Actions {
|
|
|
259
277
|
type ActionListResponse as ActionListResponse,
|
|
260
278
|
type ActionDeleteResponse as ActionDeleteResponse,
|
|
261
279
|
type ActionCreateParams as ActionCreateParams,
|
|
280
|
+
type ActionRetrieveParams as ActionRetrieveParams,
|
|
262
281
|
type ActionUpdateParams as ActionUpdateParams,
|
|
263
282
|
type ActionListParams as ActionListParams,
|
|
264
283
|
};
|