@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../src/resources/tasks/tas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3B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,UAAU,MAAM,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;OAGG;IACH,IAAI,CAAC,MAAc,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,UAAU,MAAM,SAAS,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;CACF;AA6oCD,KAAK,CAAC,WAAW,GAAG,WAAW,CAAC;AAChC,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
|
|
@@ -5,13 +5,15 @@ import { RequestOptions } from "../../internal/request-options.mjs";
|
|
|
5
5
|
export declare class ActionCatalog extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* Fetch a single action catalog entry by its ID, including its service, method,
|
|
8
|
-
*
|
|
8
|
+
* parameter schema, and `deviceFree` eligibility. Supports
|
|
9
|
+
* `profile=agent_routine`; returns 404 if no entry matches or the entry is outside
|
|
10
|
+
* that profile.
|
|
9
11
|
*/
|
|
10
|
-
retrieve(catalogEntryID: string, options?: RequestOptions): APIPromise<ActionCatalogRetrieveResponse>;
|
|
12
|
+
retrieve(catalogEntryID: string, query?: ActionCatalogRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ActionCatalogRetrieveResponse>;
|
|
11
13
|
/**
|
|
12
14
|
* Return a paginated list of catalog entries — the service/method templates that
|
|
13
|
-
* actions are created from, each carrying its parameter schema
|
|
14
|
-
* by `service`.
|
|
15
|
+
* actions are created from, each carrying its parameter schema and `deviceFree`
|
|
16
|
+
* eligibility. Supports filtering by `service` and `profile=agent_routine`.
|
|
15
17
|
*/
|
|
16
18
|
list(query?: ActionCatalogListParams | null | undefined, options?: RequestOptions): APIPromise<ActionCatalogListResponse>;
|
|
17
19
|
}
|
|
@@ -23,11 +25,29 @@ export declare namespace ActionCatalogRetrieveResponse {
|
|
|
23
25
|
id: string;
|
|
24
26
|
createdAt: string | null;
|
|
25
27
|
description: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* True when this step itself runs without a device; only such steps may appear in
|
|
30
|
+
* a device-free flow. Not the same as cloudRoutine: a device-free step can still
|
|
31
|
+
* be device-routine-only (see cloudRoutineReason).
|
|
32
|
+
*/
|
|
33
|
+
deviceFree: boolean;
|
|
26
34
|
method: string;
|
|
27
35
|
name: string;
|
|
28
36
|
provider: 'mobilerun' | 'oneDrive' | 'googleDrive';
|
|
29
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
37
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
30
38
|
updatedAt: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* True when this step is allowed in a cloud agent routine. Present only for
|
|
41
|
+
* profile=agent_routine. False does not mean the step needs a device; read
|
|
42
|
+
* cloudRoutineReason.
|
|
43
|
+
*/
|
|
44
|
+
cloudRoutine?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Why cloudRoutine is false: needs_device (the step needs a device),
|
|
47
|
+
* device_routine_only (allowed only in device routines; the step itself does not
|
|
48
|
+
* need a device). Present only when cloudRoutine is false.
|
|
49
|
+
*/
|
|
50
|
+
cloudRoutineReason?: 'needs_device' | 'device_routine_only';
|
|
31
51
|
outputSchema?: unknown;
|
|
32
52
|
paramsSchema?: unknown;
|
|
33
53
|
}
|
|
@@ -41,21 +61,49 @@ export declare namespace ActionCatalogListResponse {
|
|
|
41
61
|
id: string;
|
|
42
62
|
createdAt: string | null;
|
|
43
63
|
description: string | null;
|
|
64
|
+
/**
|
|
65
|
+
* True when this step itself runs without a device; only such steps may appear in
|
|
66
|
+
* a device-free flow. Not the same as cloudRoutine: a device-free step can still
|
|
67
|
+
* be device-routine-only (see cloudRoutineReason).
|
|
68
|
+
*/
|
|
69
|
+
deviceFree: boolean;
|
|
44
70
|
method: string;
|
|
45
71
|
name: string;
|
|
46
72
|
provider: 'mobilerun' | 'oneDrive' | 'googleDrive';
|
|
47
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
73
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
48
74
|
updatedAt: string | null;
|
|
75
|
+
/**
|
|
76
|
+
* True when this step is allowed in a cloud agent routine. Present only for
|
|
77
|
+
* profile=agent_routine. False does not mean the step needs a device; read
|
|
78
|
+
* cloudRoutineReason.
|
|
79
|
+
*/
|
|
80
|
+
cloudRoutine?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Why cloudRoutine is false: needs_device (the step needs a device),
|
|
83
|
+
* device_routine_only (allowed only in device routines; the step itself does not
|
|
84
|
+
* need a device). Present only when cloudRoutine is false.
|
|
85
|
+
*/
|
|
86
|
+
cloudRoutineReason?: 'needs_device' | 'device_routine_only';
|
|
49
87
|
outputSchema?: unknown;
|
|
50
88
|
paramsSchema?: unknown;
|
|
51
89
|
}
|
|
52
90
|
}
|
|
91
|
+
export interface ActionCatalogRetrieveParams {
|
|
92
|
+
/**
|
|
93
|
+
* Restrict reads to the agent routine step surface.
|
|
94
|
+
*/
|
|
95
|
+
profile?: 'agent_routine';
|
|
96
|
+
}
|
|
53
97
|
export interface ActionCatalogListParams {
|
|
54
98
|
page?: number;
|
|
55
99
|
pageSize?: number;
|
|
56
|
-
|
|
100
|
+
/**
|
|
101
|
+
* Restrict reads to the agent routine step surface.
|
|
102
|
+
*/
|
|
103
|
+
profile?: 'agent_routine';
|
|
104
|
+
service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
57
105
|
}
|
|
58
106
|
export declare namespace ActionCatalog {
|
|
59
|
-
export { type ActionCatalogRetrieveResponse as ActionCatalogRetrieveResponse, type ActionCatalogListResponse as ActionCatalogListResponse, type ActionCatalogListParams as ActionCatalogListParams, };
|
|
107
|
+
export { type ActionCatalogRetrieveResponse as ActionCatalogRetrieveResponse, type ActionCatalogListResponse as ActionCatalogListResponse, type ActionCatalogRetrieveParams as ActionCatalogRetrieveParams, type ActionCatalogListParams as ActionCatalogListParams, };
|
|
60
108
|
}
|
|
61
109
|
//# sourceMappingURL=action-catalog.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-catalog.d.mts","sourceRoot":"","sources":["../../src/resources/workflows/action-catalog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,aAAc,SAAQ,WAAW;IAC5C
|
|
1
|
+
{"version":3,"file":"action-catalog.d.mts","sourceRoot":"","sources":["../../src/resources/workflows/action-catalog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;OAKG;IACH,QAAQ,CACN,cAAc,EAAE,MAAM,EACtB,KAAK,GAAE,2BAA2B,GAAG,IAAI,GAAG,SAAc,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;IAI5C;;;;OAIG;IACH,IAAI,CACF,KAAK,GAAE,uBAAuB,GAAG,IAAI,GAAG,SAAc,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,yBAAyB,CAAC;CAGzC;AAED,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,6BAA6B,CAAC,IAAI,CAAC;CAC1C;AAED,yBAAiB,6BAA6B,CAAC;IAC7C,UAAiB,IAA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;;WAIG;QACH,YAAY,CAAC,EAAE,OAAO,CAAC;QAEvB;;;;WAIG;QACH,kBAAkB,CAAC,EAAE,cAAc,GAAG,qBAAqB,CAAC;QAE5D,YAAY,CAAC,EAAE,OAAO,CAAC;QAEvB,YAAY,CAAC,EAAE,OAAO,CAAC;KACxB;CACF;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;CAC3B;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAE1B,OAAO,CAAC,EAAE,WAAW,GAAG,aAAa,GAAG,YAAY,GAAG,UAAU,GAAG,kBAAkB,GAAG,cAAc,CAAC;CACzG;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -5,13 +5,15 @@ import { RequestOptions } from "../../internal/request-options.js";
|
|
|
5
5
|
export declare class ActionCatalog extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* Fetch a single action catalog entry by its ID, including its service, method,
|
|
8
|
-
*
|
|
8
|
+
* parameter schema, and `deviceFree` eligibility. Supports
|
|
9
|
+
* `profile=agent_routine`; returns 404 if no entry matches or the entry is outside
|
|
10
|
+
* that profile.
|
|
9
11
|
*/
|
|
10
|
-
retrieve(catalogEntryID: string, options?: RequestOptions): APIPromise<ActionCatalogRetrieveResponse>;
|
|
12
|
+
retrieve(catalogEntryID: string, query?: ActionCatalogRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ActionCatalogRetrieveResponse>;
|
|
11
13
|
/**
|
|
12
14
|
* Return a paginated list of catalog entries — the service/method templates that
|
|
13
|
-
* actions are created from, each carrying its parameter schema
|
|
14
|
-
* by `service`.
|
|
15
|
+
* actions are created from, each carrying its parameter schema and `deviceFree`
|
|
16
|
+
* eligibility. Supports filtering by `service` and `profile=agent_routine`.
|
|
15
17
|
*/
|
|
16
18
|
list(query?: ActionCatalogListParams | null | undefined, options?: RequestOptions): APIPromise<ActionCatalogListResponse>;
|
|
17
19
|
}
|
|
@@ -23,11 +25,29 @@ export declare namespace ActionCatalogRetrieveResponse {
|
|
|
23
25
|
id: string;
|
|
24
26
|
createdAt: string | null;
|
|
25
27
|
description: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* True when this step itself runs without a device; only such steps may appear in
|
|
30
|
+
* a device-free flow. Not the same as cloudRoutine: a device-free step can still
|
|
31
|
+
* be device-routine-only (see cloudRoutineReason).
|
|
32
|
+
*/
|
|
33
|
+
deviceFree: boolean;
|
|
26
34
|
method: string;
|
|
27
35
|
name: string;
|
|
28
36
|
provider: 'mobilerun' | 'oneDrive' | 'googleDrive';
|
|
29
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
37
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
30
38
|
updatedAt: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* True when this step is allowed in a cloud agent routine. Present only for
|
|
41
|
+
* profile=agent_routine. False does not mean the step needs a device; read
|
|
42
|
+
* cloudRoutineReason.
|
|
43
|
+
*/
|
|
44
|
+
cloudRoutine?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Why cloudRoutine is false: needs_device (the step needs a device),
|
|
47
|
+
* device_routine_only (allowed only in device routines; the step itself does not
|
|
48
|
+
* need a device). Present only when cloudRoutine is false.
|
|
49
|
+
*/
|
|
50
|
+
cloudRoutineReason?: 'needs_device' | 'device_routine_only';
|
|
31
51
|
outputSchema?: unknown;
|
|
32
52
|
paramsSchema?: unknown;
|
|
33
53
|
}
|
|
@@ -41,21 +61,49 @@ export declare namespace ActionCatalogListResponse {
|
|
|
41
61
|
id: string;
|
|
42
62
|
createdAt: string | null;
|
|
43
63
|
description: string | null;
|
|
64
|
+
/**
|
|
65
|
+
* True when this step itself runs without a device; only such steps may appear in
|
|
66
|
+
* a device-free flow. Not the same as cloudRoutine: a device-free step can still
|
|
67
|
+
* be device-routine-only (see cloudRoutineReason).
|
|
68
|
+
*/
|
|
69
|
+
deviceFree: boolean;
|
|
44
70
|
method: string;
|
|
45
71
|
name: string;
|
|
46
72
|
provider: 'mobilerun' | 'oneDrive' | 'googleDrive';
|
|
47
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
73
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
48
74
|
updatedAt: string | null;
|
|
75
|
+
/**
|
|
76
|
+
* True when this step is allowed in a cloud agent routine. Present only for
|
|
77
|
+
* profile=agent_routine. False does not mean the step needs a device; read
|
|
78
|
+
* cloudRoutineReason.
|
|
79
|
+
*/
|
|
80
|
+
cloudRoutine?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Why cloudRoutine is false: needs_device (the step needs a device),
|
|
83
|
+
* device_routine_only (allowed only in device routines; the step itself does not
|
|
84
|
+
* need a device). Present only when cloudRoutine is false.
|
|
85
|
+
*/
|
|
86
|
+
cloudRoutineReason?: 'needs_device' | 'device_routine_only';
|
|
49
87
|
outputSchema?: unknown;
|
|
50
88
|
paramsSchema?: unknown;
|
|
51
89
|
}
|
|
52
90
|
}
|
|
91
|
+
export interface ActionCatalogRetrieveParams {
|
|
92
|
+
/**
|
|
93
|
+
* Restrict reads to the agent routine step surface.
|
|
94
|
+
*/
|
|
95
|
+
profile?: 'agent_routine';
|
|
96
|
+
}
|
|
53
97
|
export interface ActionCatalogListParams {
|
|
54
98
|
page?: number;
|
|
55
99
|
pageSize?: number;
|
|
56
|
-
|
|
100
|
+
/**
|
|
101
|
+
* Restrict reads to the agent routine step surface.
|
|
102
|
+
*/
|
|
103
|
+
profile?: 'agent_routine';
|
|
104
|
+
service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
57
105
|
}
|
|
58
106
|
export declare namespace ActionCatalog {
|
|
59
|
-
export { type ActionCatalogRetrieveResponse as ActionCatalogRetrieveResponse, type ActionCatalogListResponse as ActionCatalogListResponse, type ActionCatalogListParams as ActionCatalogListParams, };
|
|
107
|
+
export { type ActionCatalogRetrieveResponse as ActionCatalogRetrieveResponse, type ActionCatalogListResponse as ActionCatalogListResponse, type ActionCatalogRetrieveParams as ActionCatalogRetrieveParams, type ActionCatalogListParams as ActionCatalogListParams, };
|
|
60
108
|
}
|
|
61
109
|
//# sourceMappingURL=action-catalog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-catalog.d.ts","sourceRoot":"","sources":["../../src/resources/workflows/action-catalog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,aAAc,SAAQ,WAAW;IAC5C
|
|
1
|
+
{"version":3,"file":"action-catalog.d.ts","sourceRoot":"","sources":["../../src/resources/workflows/action-catalog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;OAKG;IACH,QAAQ,CACN,cAAc,EAAE,MAAM,EACtB,KAAK,GAAE,2BAA2B,GAAG,IAAI,GAAG,SAAc,EAC1D,O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GAAG,IAAI,CAAC;QAE3B;;;;WAIG;QACH,UAAU,EAAE,OAAO,CAAC;QAEpB,MAAM,EAAE,MAAM,CAAC;QAEf,IAAI,EAAE,MAAM,CAAC;QAEb,QAAQ,EAAE,WAAW,GAAG,UAAU,GAAG,aAAa,CAAC;QAEnD,OAAO,EAAE,WAAW,GAAG,aAAa,GAAG,YAAY,GAAG,UAAU,GAAG,kBAAkB,GAAG,cAAc,CAAC;QAEvG,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAEzB;;;;WAIG;QACH,YAAY,CAAC,EAAE,OAAO,CAAC;QAEvB;;;;WAIG;QACH,kBAAkB,CAAC,EAAE,cAAc,GAAG,qBAAqB,CAAC;QAE5D,YAAY,CAAC,EAAE,OAAO,CAAC;QAEvB,YAAY,CAAC,EAAE,OAAO,CAAC;KACxB;CACF;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;CAC3B;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAE1B,OAAO,CAAC,EAAE,WAAW,GAAG,aAAa,GAAG,YAAY,GAAG,UAAU,GAAG,kBAAkB,GAAG,cAAc,CAAC;CACzG;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -7,15 +7,17 @@ const path_1 = require("../../internal/utils/path.js");
|
|
|
7
7
|
class ActionCatalog extends resource_1.APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Fetch a single action catalog entry by its ID, including its service, method,
|
|
10
|
-
*
|
|
10
|
+
* parameter schema, and `deviceFree` eligibility. Supports
|
|
11
|
+
* `profile=agent_routine`; returns 404 if no entry matches or the entry is outside
|
|
12
|
+
* that profile.
|
|
11
13
|
*/
|
|
12
|
-
retrieve(catalogEntryID, options) {
|
|
13
|
-
return this._client.get((0, path_1.path) `/action-catalog/${catalogEntryID}`, options);
|
|
14
|
+
retrieve(catalogEntryID, query = {}, options) {
|
|
15
|
+
return this._client.get((0, path_1.path) `/action-catalog/${catalogEntryID}`, { query, ...options });
|
|
14
16
|
}
|
|
15
17
|
/**
|
|
16
18
|
* Return a paginated list of catalog entries — the service/method templates that
|
|
17
|
-
* actions are created from, each carrying its parameter schema
|
|
18
|
-
* by `service`.
|
|
19
|
+
* actions are created from, each carrying its parameter schema and `deviceFree`
|
|
20
|
+
* eligibility. Supports filtering by `service` and `profile=agent_routine`.
|
|
19
21
|
*/
|
|
20
22
|
list(query = {}, options) {
|
|
21
23
|
return this._client.get('/action-catalog', { query, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-catalog.js","sourceRoot":"","sources":["../../src/resources/workflows/action-catalog.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAiD;AAEjD,MAAa,aAAc,SAAQ,sBAAW;IAC5C
|
|
1
|
+
{"version":3,"file":"action-catalog.js","sourceRoot":"","sources":["../../src/resources/workflows/action-catalog.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAiD;AAEjD,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;OAKG;IACH,QAAQ,CACN,cAAsB,EACtB,QAAwD,EAAE,EAC1D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,cAAc,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED;;;;OAIG;IACH,IAAI,CACF,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;CACF;AA1BD,sCA0BC"}
|
|
@@ -4,15 +4,17 @@ import { path } from "../../internal/utils/path.mjs";
|
|
|
4
4
|
export class ActionCatalog extends APIResource {
|
|
5
5
|
/**
|
|
6
6
|
* Fetch a single action catalog entry by its ID, including its service, method,
|
|
7
|
-
*
|
|
7
|
+
* parameter schema, and `deviceFree` eligibility. Supports
|
|
8
|
+
* `profile=agent_routine`; returns 404 if no entry matches or the entry is outside
|
|
9
|
+
* that profile.
|
|
8
10
|
*/
|
|
9
|
-
retrieve(catalogEntryID, options) {
|
|
10
|
-
return this._client.get(path `/action-catalog/${catalogEntryID}`, options);
|
|
11
|
+
retrieve(catalogEntryID, query = {}, options) {
|
|
12
|
+
return this._client.get(path `/action-catalog/${catalogEntryID}`, { query, ...options });
|
|
11
13
|
}
|
|
12
14
|
/**
|
|
13
15
|
* Return a paginated list of catalog entries — the service/method templates that
|
|
14
|
-
* actions are created from, each carrying its parameter schema
|
|
15
|
-
* by `service`.
|
|
16
|
+
* actions are created from, each carrying its parameter schema and `deviceFree`
|
|
17
|
+
* eligibility. Supports filtering by `service` and `profile=agent_routine`.
|
|
16
18
|
*/
|
|
17
19
|
list(query = {}, options) {
|
|
18
20
|
return this._client.get('/action-catalog', { query, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-catalog.mjs","sourceRoot":"","sources":["../../src/resources/workflows/action-catalog.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C
|
|
1
|
+
{"version":3,"file":"action-catalog.mjs","sourceRoot":"","sources":["../../src/resources/workflows/action-catalog.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;;;;OAKG;IACH,QAAQ,CACN,cAAsB,EACtB,QAAwD,EAAE,EAC1D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,mBAAmB,cAAc,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED;;;;OAIG;IACH,IAAI,CACF,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;CACF"}
|
|
@@ -18,17 +18,19 @@ export declare class Actions extends APIResource {
|
|
|
18
18
|
create(body: ActionCreateParams, options?: RequestOptions): APIPromise<ActionCreateResponse>;
|
|
19
19
|
/**
|
|
20
20
|
* Fetch a single action by its ID, including its configured service, method, and
|
|
21
|
-
* params.
|
|
21
|
+
* params. Supports `profile=agent_routine`; returns 404 if no action matches or
|
|
22
|
+
* the action is outside that profile.
|
|
22
23
|
*/
|
|
23
|
-
retrieve(actionID: string, options?: RequestOptions): APIPromise<ActionRetrieveResponse>;
|
|
24
|
+
retrieve(actionID: string, query?: ActionRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ActionRetrieveResponse>;
|
|
24
25
|
/**
|
|
25
26
|
* Partially update an action's name, description, or params; all fields are
|
|
26
27
|
* optional. Returns 404 if the action does not exist.
|
|
27
28
|
*/
|
|
28
29
|
update(actionID: string, body?: ActionUpdateParams | null | undefined, options?: RequestOptions): APIPromise<ActionUpdateResponse>;
|
|
29
30
|
/**
|
|
30
|
-
* Return a paginated list of actions. Supports filtering by
|
|
31
|
-
* `search`, and ordering by name,
|
|
31
|
+
* Return a paginated list of actions. Supports filtering by
|
|
32
|
+
* `profile=agent_routine`, `service`, free-text `search`, and ordering by name,
|
|
33
|
+
* createdAt, or updatedAt.
|
|
32
34
|
*/
|
|
33
35
|
list(query?: ActionListParams | null | undefined, options?: RequestOptions): APIPromise<ActionListResponse>;
|
|
34
36
|
/**
|
|
@@ -49,7 +51,7 @@ export declare namespace ActionCreateResponse {
|
|
|
49
51
|
method: string;
|
|
50
52
|
name: string;
|
|
51
53
|
ownerId: string;
|
|
52
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
54
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
53
55
|
updatedAt: string | null;
|
|
54
56
|
/**
|
|
55
57
|
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
@@ -72,7 +74,7 @@ export declare namespace ActionRetrieveResponse {
|
|
|
72
74
|
method: string;
|
|
73
75
|
name: string;
|
|
74
76
|
ownerId: string;
|
|
75
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
77
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
76
78
|
updatedAt: string | null;
|
|
77
79
|
/**
|
|
78
80
|
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
@@ -95,7 +97,7 @@ export declare namespace ActionUpdateResponse {
|
|
|
95
97
|
method: string;
|
|
96
98
|
name: string;
|
|
97
99
|
ownerId: string;
|
|
98
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
100
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
99
101
|
updatedAt: string | null;
|
|
100
102
|
/**
|
|
101
103
|
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
@@ -119,7 +121,7 @@ export declare namespace ActionListResponse {
|
|
|
119
121
|
method: string;
|
|
120
122
|
name: string;
|
|
121
123
|
ownerId: string;
|
|
122
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
124
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
123
125
|
updatedAt: string | null;
|
|
124
126
|
/**
|
|
125
127
|
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
@@ -140,6 +142,12 @@ export interface ActionCreateParams {
|
|
|
140
142
|
[key: string]: unknown;
|
|
141
143
|
};
|
|
142
144
|
}
|
|
145
|
+
export interface ActionRetrieveParams {
|
|
146
|
+
/**
|
|
147
|
+
* Restrict reads to the agent routine step surface.
|
|
148
|
+
*/
|
|
149
|
+
profile?: 'agent_routine';
|
|
150
|
+
}
|
|
143
151
|
export interface ActionUpdateParams {
|
|
144
152
|
description?: string;
|
|
145
153
|
name?: string;
|
|
@@ -152,11 +160,15 @@ export interface ActionListParams {
|
|
|
152
160
|
orderByDirection?: 'asc' | 'desc';
|
|
153
161
|
page?: number;
|
|
154
162
|
pageSize?: number;
|
|
163
|
+
/**
|
|
164
|
+
* Restrict reads to the agent routine step surface.
|
|
165
|
+
*/
|
|
166
|
+
profile?: 'agent_routine';
|
|
155
167
|
search?: string;
|
|
156
|
-
service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
168
|
+
service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
157
169
|
}
|
|
158
170
|
export declare namespace Actions {
|
|
159
|
-
export { type ActionCreateResponse as ActionCreateResponse, type ActionRetrieveResponse as ActionRetrieveResponse, type ActionUpdateResponse as ActionUpdateResponse, type ActionListResponse as ActionListResponse, type ActionDeleteResponse as ActionDeleteResponse, type ActionCreateParams as ActionCreateParams, type ActionUpdateParams as ActionUpdateParams, type ActionListParams as ActionListParams, };
|
|
171
|
+
export { type ActionCreateResponse as ActionCreateResponse, type ActionRetrieveResponse as ActionRetrieveResponse, type ActionUpdateResponse as ActionUpdateResponse, type ActionListResponse as ActionListResponse, type ActionDeleteResponse as ActionDeleteResponse, type ActionCreateParams as ActionCreateParams, type ActionRetrieveParams as ActionRetrieveParams, type ActionUpdateParams as ActionUpdateParams, type ActionListParams as ActionListParams, };
|
|
160
172
|
export { Services as Services, type ServiceListResponse as ServiceListResponse, type ServiceListMethodsResponse as ServiceListMethodsResponse, };
|
|
161
173
|
}
|
|
162
174
|
//# sourceMappingURL=actions.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/actions/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,MAAM,yBAAqB;AACvC,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EAAE,0BAA0B,EAAE,mBAAmB,EAAE,QAAQ,EAAE,uBAAmB;AACvF,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE,qBAAa,OAAQ,SAAQ,WAAW;IACtC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IAExE;;;;;;;;OAQG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAI5F
|
|
1
|
+
{"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/actions/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,MAAM,yBAAqB;AACvC,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EAAE,0BAA0B,EAAE,mBAAmB,EAAE,QA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IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -18,17 +18,19 @@ export declare class Actions extends APIResource {
|
|
|
18
18
|
create(body: ActionCreateParams, options?: RequestOptions): APIPromise<ActionCreateResponse>;
|
|
19
19
|
/**
|
|
20
20
|
* Fetch a single action by its ID, including its configured service, method, and
|
|
21
|
-
* params.
|
|
21
|
+
* params. Supports `profile=agent_routine`; returns 404 if no action matches or
|
|
22
|
+
* the action is outside that profile.
|
|
22
23
|
*/
|
|
23
|
-
retrieve(actionID: string, options?: RequestOptions): APIPromise<ActionRetrieveResponse>;
|
|
24
|
+
retrieve(actionID: string, query?: ActionRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ActionRetrieveResponse>;
|
|
24
25
|
/**
|
|
25
26
|
* Partially update an action's name, description, or params; all fields are
|
|
26
27
|
* optional. Returns 404 if the action does not exist.
|
|
27
28
|
*/
|
|
28
29
|
update(actionID: string, body?: ActionUpdateParams | null | undefined, options?: RequestOptions): APIPromise<ActionUpdateResponse>;
|
|
29
30
|
/**
|
|
30
|
-
* Return a paginated list of actions. Supports filtering by
|
|
31
|
-
* `search`, and ordering by name,
|
|
31
|
+
* Return a paginated list of actions. Supports filtering by
|
|
32
|
+
* `profile=agent_routine`, `service`, free-text `search`, and ordering by name,
|
|
33
|
+
* createdAt, or updatedAt.
|
|
32
34
|
*/
|
|
33
35
|
list(query?: ActionListParams | null | undefined, options?: RequestOptions): APIPromise<ActionListResponse>;
|
|
34
36
|
/**
|
|
@@ -49,7 +51,7 @@ export declare namespace ActionCreateResponse {
|
|
|
49
51
|
method: string;
|
|
50
52
|
name: string;
|
|
51
53
|
ownerId: string;
|
|
52
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
54
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
53
55
|
updatedAt: string | null;
|
|
54
56
|
/**
|
|
55
57
|
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
@@ -72,7 +74,7 @@ export declare namespace ActionRetrieveResponse {
|
|
|
72
74
|
method: string;
|
|
73
75
|
name: string;
|
|
74
76
|
ownerId: string;
|
|
75
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
77
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
76
78
|
updatedAt: string | null;
|
|
77
79
|
/**
|
|
78
80
|
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
@@ -95,7 +97,7 @@ export declare namespace ActionUpdateResponse {
|
|
|
95
97
|
method: string;
|
|
96
98
|
name: string;
|
|
97
99
|
ownerId: string;
|
|
98
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
100
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
99
101
|
updatedAt: string | null;
|
|
100
102
|
/**
|
|
101
103
|
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
@@ -119,7 +121,7 @@ export declare namespace ActionListResponse {
|
|
|
119
121
|
method: string;
|
|
120
122
|
name: string;
|
|
121
123
|
ownerId: string;
|
|
122
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
124
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
123
125
|
updatedAt: string | null;
|
|
124
126
|
/**
|
|
125
127
|
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
@@ -140,6 +142,12 @@ export interface ActionCreateParams {
|
|
|
140
142
|
[key: string]: unknown;
|
|
141
143
|
};
|
|
142
144
|
}
|
|
145
|
+
export interface ActionRetrieveParams {
|
|
146
|
+
/**
|
|
147
|
+
* Restrict reads to the agent routine step surface.
|
|
148
|
+
*/
|
|
149
|
+
profile?: 'agent_routine';
|
|
150
|
+
}
|
|
143
151
|
export interface ActionUpdateParams {
|
|
144
152
|
description?: string;
|
|
145
153
|
name?: string;
|
|
@@ -152,11 +160,15 @@ export interface ActionListParams {
|
|
|
152
160
|
orderByDirection?: 'asc' | 'desc';
|
|
153
161
|
page?: number;
|
|
154
162
|
pageSize?: number;
|
|
163
|
+
/**
|
|
164
|
+
* Restrict reads to the agent routine step surface.
|
|
165
|
+
*/
|
|
166
|
+
profile?: 'agent_routine';
|
|
155
167
|
search?: string;
|
|
156
|
-
service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
168
|
+
service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
157
169
|
}
|
|
158
170
|
export declare namespace Actions {
|
|
159
|
-
export { type ActionCreateResponse as ActionCreateResponse, type ActionRetrieveResponse as ActionRetrieveResponse, type ActionUpdateResponse as ActionUpdateResponse, type ActionListResponse as ActionListResponse, type ActionDeleteResponse as ActionDeleteResponse, type ActionCreateParams as ActionCreateParams, type ActionUpdateParams as ActionUpdateParams, type ActionListParams as ActionListParams, };
|
|
171
|
+
export { type ActionCreateResponse as ActionCreateResponse, type ActionRetrieveResponse as ActionRetrieveResponse, type ActionUpdateResponse as ActionUpdateResponse, type ActionListResponse as ActionListResponse, type ActionDeleteResponse as ActionDeleteResponse, type ActionCreateParams as ActionCreateParams, type ActionRetrieveParams as ActionRetrieveParams, type ActionUpdateParams as ActionUpdateParams, type ActionListParams as ActionListParams, };
|
|
160
172
|
export { Services as Services, type ServiceListResponse as ServiceListResponse, type ServiceListMethodsResponse as ServiceListMethodsResponse, };
|
|
161
173
|
}
|
|
162
174
|
//# sourceMappingURL=actions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/actions/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,MAAM,wBAAqB;AACvC,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,EAAE,0BAA0B,EAAE,mBAAmB,EAAE,QAAQ,EAAE,sBAAmB;AACvF,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE,qBAAa,OAAQ,SAAQ,WAAW;IACtC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IAExE;;;;;;;;OAQG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAI5F
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/actions/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,MAAM,wBAAqB;AACvC,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,EAAE,0BAA0B,EAAE,mBAAmB,EAAE,QAAQ,EAAE,sBAAmB;AACvF,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE,qBAAa,OAAQ,SAAQ,WAAW;IACtC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IAExE;;;;;;;;OAQG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAI5F;;;;OAIG;IACH,QAAQ,CACN,QAAQ,EAAE,MAAM,EAChB,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EA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AG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;CACrC;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,WAAW,CAAC;IAE7C,gBAAgB,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAElC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAE1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,OAAO,CAAC,EAAE,WAAW,GAAG,aAAa,GAAG,YAAY,GAAG,UAAU,GAAG,kBAAkB,GAAG,cAAc,CAAC;CACzG;AAID,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -26,10 +26,11 @@ class Actions extends resource_1.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(actionID, options) {
|
|
32
|
-
return this._client.get((0, path_1.path) `/actions/${actionID}`, options);
|
|
32
|
+
retrieve(actionID, query = {}, options) {
|
|
33
|
+
return this._client.get((0, path_1.path) `/actions/${actionID}`, { query, ...options });
|
|
33
34
|
}
|
|
34
35
|
/**
|
|
35
36
|
* Partially update an action's name, description, or params; all fields are
|
|
@@ -39,8 +40,9 @@ class Actions extends resource_1.APIResource {
|
|
|
39
40
|
return this._client.patch((0, path_1.path) `/actions/${actionID}`, { body, ...options });
|
|
40
41
|
}
|
|
41
42
|
/**
|
|
42
|
-
* Return a paginated list of actions. Supports filtering by
|
|
43
|
-
* `search`, and ordering by name,
|
|
43
|
+
* Return a paginated list of actions. Supports filtering by
|
|
44
|
+
* `profile=agent_routine`, `service`, free-text `search`, and ordering by name,
|
|
45
|
+
* createdAt, or updatedAt.
|
|
44
46
|
*/
|
|
45
47
|
list(query = {}, options) {
|
|
46
48
|
return this._client.get('/actions', { query, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/workflows/actions/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,mEAA0C;AAC1C,4CAAuF;AAGvF,0DAAoD;AAEpD,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/workflows/actions/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,mEAA0C;AAC1C,4CAAuF;AAGvF,0DAAoD;AAEpD,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0D1E,CAAC;IAxDC;;;;;;;;OAQG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED;;;;OAIG;IACH,QAAQ,CACN,QAAgB,EAChB,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,QAAgB,EAChB,OAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;;OAIG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,QAAgB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF;AA3DD,0BA2DC;AAwMD,OAAO,CAAC,QAAQ,GAAG,mBAAQ,CAAC"}
|
|
@@ -22,10 +22,11 @@ export class Actions extends APIResource {
|
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* Fetch a single action by its ID, including its configured service, method, and
|
|
25
|
-
* params.
|
|
25
|
+
* params. Supports `profile=agent_routine`; returns 404 if no action matches or
|
|
26
|
+
* the action is outside that profile.
|
|
26
27
|
*/
|
|
27
|
-
retrieve(actionID, options) {
|
|
28
|
-
return this._client.get(path `/actions/${actionID}`, options);
|
|
28
|
+
retrieve(actionID, query = {}, options) {
|
|
29
|
+
return this._client.get(path `/actions/${actionID}`, { query, ...options });
|
|
29
30
|
}
|
|
30
31
|
/**
|
|
31
32
|
* Partially update an action's name, description, or params; all fields are
|
|
@@ -35,8 +36,9 @@ export class Actions extends APIResource {
|
|
|
35
36
|
return this._client.patch(path `/actions/${actionID}`, { body, ...options });
|
|
36
37
|
}
|
|
37
38
|
/**
|
|
38
|
-
* Return a paginated list of actions. Supports filtering by
|
|
39
|
-
* `search`, and ordering by name,
|
|
39
|
+
* Return a paginated list of actions. Supports filtering by
|
|
40
|
+
* `profile=agent_routine`, `service`, free-text `search`, and ordering by name,
|
|
41
|
+
* createdAt, or updatedAt.
|
|
40
42
|
*/
|
|
41
43
|
list(query = {}, options) {
|
|
42
44
|
return this._client.get('/actions', { query, ...options });
|