@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,8 +1,8 @@
|
|
|
1
|
-
export { ActionCatalog, type ActionCatalogRetrieveResponse, type ActionCatalogListResponse, type ActionCatalogListParams, } from "./action-catalog.js";
|
|
2
|
-
export { Actions, type ActionCreateResponse, type ActionRetrieveResponse, type ActionUpdateResponse, type ActionListResponse, type ActionDeleteResponse, type ActionCreateParams, type ActionUpdateParams, type ActionListParams, } from "./actions/index.js";
|
|
1
|
+
export { ActionCatalog, type ActionCatalogRetrieveResponse, type ActionCatalogListResponse, type ActionCatalogRetrieveParams, type ActionCatalogListParams, } from "./action-catalog.js";
|
|
2
|
+
export { Actions, type ActionCreateResponse, type ActionRetrieveResponse, type ActionUpdateResponse, type ActionListResponse, type ActionDeleteResponse, type ActionCreateParams, type ActionRetrieveParams, type ActionUpdateParams, type ActionListParams, } from "./actions/index.js";
|
|
3
3
|
export { Events, type EventDryRunResponse, type EventIngestResponse, type EventDryRunParams, type EventIngestParams, } from "./events.js";
|
|
4
4
|
export { Executions, type ExecutionRetrieveResponse, type ExecutionListResponse, type ExecutionAbortResponse, type ExecutionGetMetricsResponse, type ExecutionListParams, type ExecutionGetMetricsParams, } from "./executions/index.js";
|
|
5
|
-
export { Flows, type FlowCreateResponse, type FlowRetrieveResponse, type FlowUpdateResponse, type FlowListResponse, type FlowDeleteResponse, type FlowActivateResponse, type FlowCapacityResponse, type FlowCloneResponse, type FlowDeliveryOptionsResponse, type FlowDryRunResponse, type FlowListRepairsResponse, type FlowRunResponse, type FlowTemplateContextResponse, type FlowUnblockResponse, type FlowValidateResponse, type FlowVerifyResponse, type FlowCreateParams, type FlowUpdateParams, type FlowListParams, type FlowActivateParams, type FlowCapacityParams, type FlowCloneParams, type FlowDryRunParams, type FlowRunParams, type FlowTemplateContextParams, type FlowValidateParams, type FlowVerifyParams, } from "./flows/index.js";
|
|
5
|
+
export { Flows, type FlowCreateResponse, type FlowRetrieveResponse, type FlowUpdateResponse, type FlowListResponse, type FlowDeleteResponse, type FlowActivateResponse, type FlowCapacityResponse, type FlowCloneResponse, type FlowDeliveryOptionsResponse, type FlowDryRunResponse, type FlowListRepairsResponse, type FlowRetrieveRepairResponse, type FlowRunResponse, type FlowTemplateContextResponse, type FlowUnblockResponse, type FlowValidateResponse, type FlowVerifyResponse, type FlowCreateParams, type FlowUpdateParams, type FlowListParams, type FlowActivateParams, type FlowCapacityParams, type FlowCloneParams, type FlowDryRunParams, type FlowRetrieveRepairParams, type FlowRunParams, type FlowTemplateContextParams, type FlowValidateParams, type FlowVerifyParams, } from "./flows/index.js";
|
|
6
6
|
export { Timezones, type TimezoneListResponse } from "./timezones.js";
|
|
7
7
|
export { Triggers, type TriggerCreateResponse, type TriggerRetrieveResponse, type TriggerUpdateResponse, type TriggerListResponse, type TriggerDeleteResponse, type TriggerFireResponse, type TriggerCreateParams, type TriggerUpdateParams, type TriggerListParams, type TriggerFireParams, } from "./triggers.js";
|
|
8
8
|
export { Workflows } from "./workflows.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/workflows/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,aAAa,EACb,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,GAC7B,4BAAyB;AAC1B,OAAO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,GACtB,2BAAwB;AACzB,OAAO,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,oBAAiB;AAClB,OAAO,EACL,UAAU,EACV,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,GAC/B,8BAA2B;AAC5B,OAAO,EACL,KAAK,EACL,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,GACtB,yBAAsB;AACvB,OAAO,EAAE,SAAS,EAAE,KAAK,oBAAoB,EAAE,uBAAoB;AACnE,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,sBAAmB;AACpB,OAAO,EAAE,SAAS,EAAE,uBAAoB"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/workflows/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,aAAa,EACb,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,GAC7B,4BAAyB;AAC1B,OAAO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EAC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ACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,sBAAmB;AACpB,OAAO,EAAE,SAAS,EAAE,uBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/workflows/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/workflows/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAM0B;AALxB,+GAAA,aAAa,OAAA;AAMf,4CAWyB;AAVvB,gGAAA,OAAO,OAAA;AAWT,sCAMkB;AALhB,gGAAA,MAAM,OAAA;AAMR,+CAQ4B;AAP1B,mGAAA,UAAU,OAAA;AAQZ,0CA+BuB;AA9BrB,8FAAA,KAAK,OAAA;AA+BP,4CAAmE;AAA1D,sGAAA,SAAS,OAAA;AAClB,0CAYoB;AAXlB,oGAAA,QAAQ,OAAA;AAYV,4CAAwC;AAA/B,sGAAA,SAAS,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/workflows/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,aAAa,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/workflows/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,aAAa,GAKd,6BAAyB;AAC1B,OAAO,EACL,OAAO,GAUR,4BAAwB;AACzB,OAAO,EACL,MAAM,GAKP,qBAAiB;AAClB,OAAO,EACL,UAAU,GAOX,+BAA2B;AAC5B,OAAO,EACL,KAAK,GA8BN,0BAAsB;AACvB,OAAO,EAAE,SAAS,EAA6B,wBAAoB;AACnE,OAAO,EACL,QAAQ,GAWT,uBAAmB;AACpB,OAAO,EAAE,SAAS,EAAE,wBAAoB"}
|
|
@@ -7,7 +7,12 @@ export declare class Triggers extends APIResource {
|
|
|
7
7
|
* Create a trigger with an activation type of `event`, `schedule`, or `custom`.
|
|
8
8
|
* Each type requires its own fields (e.g. `eventType` and optional `conditions`
|
|
9
9
|
* for events, `scheduleRule` and `timezone` for schedules, `customPayloadSchema`
|
|
10
|
-
* for custom triggers); mismatched fields are rejected.
|
|
10
|
+
* for custom or schedule triggers); mismatched fields are rejected. Schedule
|
|
11
|
+
* triggers may store an optional JSON object `payload` (at most 1 MiB); it
|
|
12
|
+
* requires `customPayloadSchema`, is validated against it (422 on mismatch), and
|
|
13
|
+
* is available as `event.payload` on every scheduled, manual, or verification run.
|
|
14
|
+
* When a schema is configured, omitted payload values are validated as an empty
|
|
15
|
+
* object.
|
|
11
16
|
*
|
|
12
17
|
* Supports an optional `Idempotency-Key` header (1-255 printable ASCII
|
|
13
18
|
* characters). Replays with the same key and an identical body return the original
|
|
@@ -21,8 +26,12 @@ export declare class Triggers extends APIResource {
|
|
|
21
26
|
retrieve(triggerID: string, options?: RequestOptions): APIPromise<TriggerRetrieveResponse>;
|
|
22
27
|
/**
|
|
23
28
|
* Partially update a trigger; all fields are optional. When `activation` is
|
|
24
|
-
* changed, the type-specific field rules are re-validated.
|
|
25
|
-
*
|
|
29
|
+
* changed, the type-specific field rules are re-validated. Schedule triggers
|
|
30
|
+
* accept stored `payload` values (at most 1 MiB); null clears them. The resulting
|
|
31
|
+
* payload must match customPayloadSchema (422 on mismatch, including schema
|
|
32
|
+
* changes that invalidate stored values). Absent or null values are validated as
|
|
33
|
+
* an empty object when a schema is configured. Changes apply from the next run.
|
|
34
|
+
* Returns 404 if the trigger does not exist.
|
|
26
35
|
*/
|
|
27
36
|
update(triggerID: string, body?: TriggerUpdateParams | null | undefined, options?: RequestOptions): APIPromise<TriggerUpdateResponse>;
|
|
28
37
|
/**
|
|
@@ -79,6 +88,9 @@ export declare namespace TriggerCreateResponse {
|
|
|
79
88
|
eventType: string | null;
|
|
80
89
|
name: string;
|
|
81
90
|
ownerId: string;
|
|
91
|
+
payload: {
|
|
92
|
+
[key: string]: unknown;
|
|
93
|
+
} | null;
|
|
82
94
|
scheduleRule: Data.ScheduleRule;
|
|
83
95
|
timezone: string | null;
|
|
84
96
|
updatedAt: string | null;
|
|
@@ -136,6 +148,9 @@ export declare namespace TriggerRetrieveResponse {
|
|
|
136
148
|
eventType: string | null;
|
|
137
149
|
name: string;
|
|
138
150
|
ownerId: string;
|
|
151
|
+
payload: {
|
|
152
|
+
[key: string]: unknown;
|
|
153
|
+
} | null;
|
|
139
154
|
scheduleRule: Data.ScheduleRule;
|
|
140
155
|
timezone: string | null;
|
|
141
156
|
updatedAt: string | null;
|
|
@@ -193,6 +208,9 @@ export declare namespace TriggerUpdateResponse {
|
|
|
193
208
|
eventType: string | null;
|
|
194
209
|
name: string;
|
|
195
210
|
ownerId: string;
|
|
211
|
+
payload: {
|
|
212
|
+
[key: string]: unknown;
|
|
213
|
+
} | null;
|
|
196
214
|
scheduleRule: Data.ScheduleRule;
|
|
197
215
|
timezone: string | null;
|
|
198
216
|
updatedAt: string | null;
|
|
@@ -251,6 +269,9 @@ export declare namespace TriggerListResponse {
|
|
|
251
269
|
eventType: string | null;
|
|
252
270
|
name: string;
|
|
253
271
|
ownerId: string;
|
|
272
|
+
payload: {
|
|
273
|
+
[key: string]: unknown;
|
|
274
|
+
} | null;
|
|
254
275
|
scheduleRule: Item.ScheduleRule;
|
|
255
276
|
timezone: string | null;
|
|
256
277
|
updatedAt: string | null;
|
|
@@ -319,13 +340,20 @@ export interface TriggerCreateParams {
|
|
|
319
340
|
name: string;
|
|
320
341
|
conditions?: TriggerCreateParams.Conditions;
|
|
321
342
|
/**
|
|
322
|
-
* Optional JSON Schema for validating payloads
|
|
343
|
+
* Optional JSON Schema for validating payloads for custom or schedule triggers
|
|
323
344
|
*/
|
|
324
345
|
customPayloadSchema?: {
|
|
325
346
|
[key: string]: unknown;
|
|
326
347
|
};
|
|
327
348
|
description?: string;
|
|
328
349
|
eventType?: string;
|
|
350
|
+
/**
|
|
351
|
+
* Stored input values for schedule triggers (maximum 1 MiB of JSON). Requires
|
|
352
|
+
* customPayloadSchema; available as event.payload on every run.
|
|
353
|
+
*/
|
|
354
|
+
payload?: {
|
|
355
|
+
[key: string]: unknown;
|
|
356
|
+
};
|
|
329
357
|
scheduleRule?: TriggerCreateParams.ScheduleRule;
|
|
330
358
|
timezone?: string;
|
|
331
359
|
}
|
|
@@ -367,7 +395,7 @@ export interface TriggerUpdateParams {
|
|
|
367
395
|
activation?: 'event' | 'schedule' | 'custom';
|
|
368
396
|
conditions?: TriggerUpdateParams.Conditions | null;
|
|
369
397
|
/**
|
|
370
|
-
* Optional JSON Schema for validating payloads
|
|
398
|
+
* Optional JSON Schema for validating payloads for custom or schedule triggers
|
|
371
399
|
*/
|
|
372
400
|
customPayloadSchema?: {
|
|
373
401
|
[key: string]: unknown;
|
|
@@ -375,6 +403,13 @@ export interface TriggerUpdateParams {
|
|
|
375
403
|
description?: string;
|
|
376
404
|
eventType?: string;
|
|
377
405
|
name?: string;
|
|
406
|
+
/**
|
|
407
|
+
* Stored schedule input values (maximum 1 MiB of JSON); null clears them. Requires
|
|
408
|
+
* customPayloadSchema.
|
|
409
|
+
*/
|
|
410
|
+
payload?: {
|
|
411
|
+
[key: string]: unknown;
|
|
412
|
+
} | null;
|
|
378
413
|
scheduleRule?: TriggerUpdateParams.ScheduleRule | null;
|
|
379
414
|
timezone?: string | null;
|
|
380
415
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggers.d.mts","sourceRoot":"","sources":["../../src/resources/workflows/triggers.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,QAAS,SAAQ,WAAW;IACvC
|
|
1
|
+
{"version":3,"file":"triggers.d.mts","sourceRoot":"","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KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -7,7 +7,12 @@ export declare class Triggers extends APIResource {
|
|
|
7
7
|
* Create a trigger with an activation type of `event`, `schedule`, or `custom`.
|
|
8
8
|
* Each type requires its own fields (e.g. `eventType` and optional `conditions`
|
|
9
9
|
* for events, `scheduleRule` and `timezone` for schedules, `customPayloadSchema`
|
|
10
|
-
* for custom triggers); mismatched fields are rejected.
|
|
10
|
+
* for custom or schedule triggers); mismatched fields are rejected. Schedule
|
|
11
|
+
* triggers may store an optional JSON object `payload` (at most 1 MiB); it
|
|
12
|
+
* requires `customPayloadSchema`, is validated against it (422 on mismatch), and
|
|
13
|
+
* is available as `event.payload` on every scheduled, manual, or verification run.
|
|
14
|
+
* When a schema is configured, omitted payload values are validated as an empty
|
|
15
|
+
* object.
|
|
11
16
|
*
|
|
12
17
|
* Supports an optional `Idempotency-Key` header (1-255 printable ASCII
|
|
13
18
|
* characters). Replays with the same key and an identical body return the original
|
|
@@ -21,8 +26,12 @@ export declare class Triggers extends APIResource {
|
|
|
21
26
|
retrieve(triggerID: string, options?: RequestOptions): APIPromise<TriggerRetrieveResponse>;
|
|
22
27
|
/**
|
|
23
28
|
* Partially update a trigger; all fields are optional. When `activation` is
|
|
24
|
-
* changed, the type-specific field rules are re-validated.
|
|
25
|
-
*
|
|
29
|
+
* changed, the type-specific field rules are re-validated. Schedule triggers
|
|
30
|
+
* accept stored `payload` values (at most 1 MiB); null clears them. The resulting
|
|
31
|
+
* payload must match customPayloadSchema (422 on mismatch, including schema
|
|
32
|
+
* changes that invalidate stored values). Absent or null values are validated as
|
|
33
|
+
* an empty object when a schema is configured. Changes apply from the next run.
|
|
34
|
+
* Returns 404 if the trigger does not exist.
|
|
26
35
|
*/
|
|
27
36
|
update(triggerID: string, body?: TriggerUpdateParams | null | undefined, options?: RequestOptions): APIPromise<TriggerUpdateResponse>;
|
|
28
37
|
/**
|
|
@@ -79,6 +88,9 @@ export declare namespace TriggerCreateResponse {
|
|
|
79
88
|
eventType: string | null;
|
|
80
89
|
name: string;
|
|
81
90
|
ownerId: string;
|
|
91
|
+
payload: {
|
|
92
|
+
[key: string]: unknown;
|
|
93
|
+
} | null;
|
|
82
94
|
scheduleRule: Data.ScheduleRule;
|
|
83
95
|
timezone: string | null;
|
|
84
96
|
updatedAt: string | null;
|
|
@@ -136,6 +148,9 @@ export declare namespace TriggerRetrieveResponse {
|
|
|
136
148
|
eventType: string | null;
|
|
137
149
|
name: string;
|
|
138
150
|
ownerId: string;
|
|
151
|
+
payload: {
|
|
152
|
+
[key: string]: unknown;
|
|
153
|
+
} | null;
|
|
139
154
|
scheduleRule: Data.ScheduleRule;
|
|
140
155
|
timezone: string | null;
|
|
141
156
|
updatedAt: string | null;
|
|
@@ -193,6 +208,9 @@ export declare namespace TriggerUpdateResponse {
|
|
|
193
208
|
eventType: string | null;
|
|
194
209
|
name: string;
|
|
195
210
|
ownerId: string;
|
|
211
|
+
payload: {
|
|
212
|
+
[key: string]: unknown;
|
|
213
|
+
} | null;
|
|
196
214
|
scheduleRule: Data.ScheduleRule;
|
|
197
215
|
timezone: string | null;
|
|
198
216
|
updatedAt: string | null;
|
|
@@ -251,6 +269,9 @@ export declare namespace TriggerListResponse {
|
|
|
251
269
|
eventType: string | null;
|
|
252
270
|
name: string;
|
|
253
271
|
ownerId: string;
|
|
272
|
+
payload: {
|
|
273
|
+
[key: string]: unknown;
|
|
274
|
+
} | null;
|
|
254
275
|
scheduleRule: Item.ScheduleRule;
|
|
255
276
|
timezone: string | null;
|
|
256
277
|
updatedAt: string | null;
|
|
@@ -319,13 +340,20 @@ export interface TriggerCreateParams {
|
|
|
319
340
|
name: string;
|
|
320
341
|
conditions?: TriggerCreateParams.Conditions;
|
|
321
342
|
/**
|
|
322
|
-
* Optional JSON Schema for validating payloads
|
|
343
|
+
* Optional JSON Schema for validating payloads for custom or schedule triggers
|
|
323
344
|
*/
|
|
324
345
|
customPayloadSchema?: {
|
|
325
346
|
[key: string]: unknown;
|
|
326
347
|
};
|
|
327
348
|
description?: string;
|
|
328
349
|
eventType?: string;
|
|
350
|
+
/**
|
|
351
|
+
* Stored input values for schedule triggers (maximum 1 MiB of JSON). Requires
|
|
352
|
+
* customPayloadSchema; available as event.payload on every run.
|
|
353
|
+
*/
|
|
354
|
+
payload?: {
|
|
355
|
+
[key: string]: unknown;
|
|
356
|
+
};
|
|
329
357
|
scheduleRule?: TriggerCreateParams.ScheduleRule;
|
|
330
358
|
timezone?: string;
|
|
331
359
|
}
|
|
@@ -367,7 +395,7 @@ export interface TriggerUpdateParams {
|
|
|
367
395
|
activation?: 'event' | 'schedule' | 'custom';
|
|
368
396
|
conditions?: TriggerUpdateParams.Conditions | null;
|
|
369
397
|
/**
|
|
370
|
-
* Optional JSON Schema for validating payloads
|
|
398
|
+
* Optional JSON Schema for validating payloads for custom or schedule triggers
|
|
371
399
|
*/
|
|
372
400
|
customPayloadSchema?: {
|
|
373
401
|
[key: string]: unknown;
|
|
@@ -375,6 +403,13 @@ export interface TriggerUpdateParams {
|
|
|
375
403
|
description?: string;
|
|
376
404
|
eventType?: string;
|
|
377
405
|
name?: string;
|
|
406
|
+
/**
|
|
407
|
+
* Stored schedule input values (maximum 1 MiB of JSON); null clears them. Requires
|
|
408
|
+
* customPayloadSchema.
|
|
409
|
+
*/
|
|
410
|
+
payload?: {
|
|
411
|
+
[key: string]: unknown;
|
|
412
|
+
} | null;
|
|
378
413
|
scheduleRule?: TriggerUpdateParams.ScheduleRule | null;
|
|
379
414
|
timezone?: string | null;
|
|
380
415
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggers.d.ts","sourceRoot":"","sources":["../../src/resources/workflows/triggers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AACl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qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -9,7 +9,12 @@ class Triggers extends resource_1.APIResource {
|
|
|
9
9
|
* Create a trigger with an activation type of `event`, `schedule`, or `custom`.
|
|
10
10
|
* Each type requires its own fields (e.g. `eventType` and optional `conditions`
|
|
11
11
|
* for events, `scheduleRule` and `timezone` for schedules, `customPayloadSchema`
|
|
12
|
-
* for custom triggers); mismatched fields are rejected.
|
|
12
|
+
* for custom or schedule triggers); mismatched fields are rejected. Schedule
|
|
13
|
+
* triggers may store an optional JSON object `payload` (at most 1 MiB); it
|
|
14
|
+
* requires `customPayloadSchema`, is validated against it (422 on mismatch), and
|
|
15
|
+
* is available as `event.payload` on every scheduled, manual, or verification run.
|
|
16
|
+
* When a schema is configured, omitted payload values are validated as an empty
|
|
17
|
+
* object.
|
|
13
18
|
*
|
|
14
19
|
* Supports an optional `Idempotency-Key` header (1-255 printable ASCII
|
|
15
20
|
* characters). Replays with the same key and an identical body return the original
|
|
@@ -27,8 +32,12 @@ class Triggers extends resource_1.APIResource {
|
|
|
27
32
|
}
|
|
28
33
|
/**
|
|
29
34
|
* Partially update a trigger; all fields are optional. When `activation` is
|
|
30
|
-
* changed, the type-specific field rules are re-validated.
|
|
31
|
-
*
|
|
35
|
+
* changed, the type-specific field rules are re-validated. Schedule triggers
|
|
36
|
+
* accept stored `payload` values (at most 1 MiB); null clears them. The resulting
|
|
37
|
+
* payload must match customPayloadSchema (422 on mismatch, including schema
|
|
38
|
+
* changes that invalidate stored values). Absent or null values are validated as
|
|
39
|
+
* an empty object when a schema is configured. Changes apply from the next run.
|
|
40
|
+
* Returns 404 if the trigger does not exist.
|
|
32
41
|
*/
|
|
33
42
|
update(triggerID, body = {}, options) {
|
|
34
43
|
return this._client.patch((0, path_1.path) `/triggers/${triggerID}`, { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggers.js","sourceRoot":"","sources":["../../src/resources/workflows/triggers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAiD;AAEjD,MAAa,QAAS,SAAQ,sBAAW;IACvC
|
|
1
|
+
{"version":3,"file":"triggers.js","sourceRoot":"","sources":["../../src/resources/workflows/triggers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAiD;AAEjD,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;;OAGG;IACH,QAAQ,CAAC,SAAiB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CACJ,SAAiB,EACjB,OAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,aAAa,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,SAAiB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,aAAa,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,IAAI,CACF,SAAiB,EACjB,IAAuB,EACvB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,aAAa,SAAS,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;CACF;AAjGD,4BAiGC"}
|
|
@@ -6,7 +6,12 @@ export class Triggers extends APIResource {
|
|
|
6
6
|
* Create a trigger with an activation type of `event`, `schedule`, or `custom`.
|
|
7
7
|
* Each type requires its own fields (e.g. `eventType` and optional `conditions`
|
|
8
8
|
* for events, `scheduleRule` and `timezone` for schedules, `customPayloadSchema`
|
|
9
|
-
* for custom triggers); mismatched fields are rejected.
|
|
9
|
+
* for custom or schedule triggers); mismatched fields are rejected. Schedule
|
|
10
|
+
* triggers may store an optional JSON object `payload` (at most 1 MiB); it
|
|
11
|
+
* requires `customPayloadSchema`, is validated against it (422 on mismatch), and
|
|
12
|
+
* is available as `event.payload` on every scheduled, manual, or verification run.
|
|
13
|
+
* When a schema is configured, omitted payload values are validated as an empty
|
|
14
|
+
* object.
|
|
10
15
|
*
|
|
11
16
|
* Supports an optional `Idempotency-Key` header (1-255 printable ASCII
|
|
12
17
|
* characters). Replays with the same key and an identical body return the original
|
|
@@ -24,8 +29,12 @@ export class Triggers extends APIResource {
|
|
|
24
29
|
}
|
|
25
30
|
/**
|
|
26
31
|
* Partially update a trigger; all fields are optional. When `activation` is
|
|
27
|
-
* changed, the type-specific field rules are re-validated.
|
|
28
|
-
*
|
|
32
|
+
* changed, the type-specific field rules are re-validated. Schedule triggers
|
|
33
|
+
* accept stored `payload` values (at most 1 MiB); null clears them. The resulting
|
|
34
|
+
* payload must match customPayloadSchema (422 on mismatch, including schema
|
|
35
|
+
* changes that invalidate stored values). Absent or null values are validated as
|
|
36
|
+
* an empty object when a schema is configured. Changes apply from the next run.
|
|
37
|
+
* Returns 404 if the trigger does not exist.
|
|
29
38
|
*/
|
|
30
39
|
update(triggerID, body = {}, options) {
|
|
31
40
|
return this._client.patch(path `/triggers/${triggerID}`, { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggers.mjs","sourceRoot":"","sources":["../../src/resources/workflows/triggers.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC
|
|
1
|
+
{"version":3,"file":"triggers.mjs","sourceRoot":"","sources":["../../src/resources/workflows/triggers.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;;OAGG;IACH,QAAQ,CAAC,SAAiB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CACJ,SAAiB,EACjB,OAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,aAAa,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,SAAiB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,aAAa,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,IAAI,CACF,SAAiB,EACjB,IAAuB,EACvB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,aAAa,SAAS,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;CACF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import * as ActionCatalogAPI from "./action-catalog.mjs";
|
|
3
|
-
import { ActionCatalog, ActionCatalogListParams, ActionCatalogListResponse, ActionCatalogRetrieveResponse } from "./action-catalog.mjs";
|
|
3
|
+
import { ActionCatalog, ActionCatalogListParams, ActionCatalogListResponse, ActionCatalogRetrieveParams, ActionCatalogRetrieveResponse } from "./action-catalog.mjs";
|
|
4
4
|
import * as EventsAPI from "./events.mjs";
|
|
5
5
|
import { EventDryRunParams, EventDryRunResponse, EventIngestParams, EventIngestResponse, Events } from "./events.mjs";
|
|
6
6
|
import * as TimezonesAPI from "./timezones.mjs";
|
|
@@ -8,11 +8,11 @@ import { TimezoneListResponse, Timezones } from "./timezones.mjs";
|
|
|
8
8
|
import * as TriggersAPI from "./triggers.mjs";
|
|
9
9
|
import { TriggerCreateParams, TriggerCreateResponse, TriggerDeleteResponse, TriggerFireParams, TriggerFireResponse, TriggerListParams, TriggerListResponse, TriggerRetrieveResponse, TriggerUpdateParams, TriggerUpdateResponse, Triggers } from "./triggers.mjs";
|
|
10
10
|
import * as ActionsAPI from "./actions/actions.mjs";
|
|
11
|
-
import { ActionCreateParams, ActionCreateResponse, ActionDeleteResponse, ActionListParams, ActionListResponse, ActionRetrieveResponse, ActionUpdateParams, ActionUpdateResponse, Actions } from "./actions/actions.mjs";
|
|
11
|
+
import { ActionCreateParams, ActionCreateResponse, ActionDeleteResponse, ActionListParams, ActionListResponse, ActionRetrieveParams, ActionRetrieveResponse, ActionUpdateParams, ActionUpdateResponse, Actions } from "./actions/actions.mjs";
|
|
12
12
|
import * as ExecutionsAPI from "./executions/executions.mjs";
|
|
13
13
|
import { ExecutionAbortResponse, ExecutionGetMetricsParams, ExecutionGetMetricsResponse, ExecutionListParams, ExecutionListResponse, ExecutionRetrieveResponse, Executions } from "./executions/executions.mjs";
|
|
14
14
|
import * as FlowsAPI from "./flows/flows.mjs";
|
|
15
|
-
import { FlowActivateParams, FlowActivateResponse, FlowCapacityParams, FlowCapacityResponse, FlowCloneParams, FlowCloneResponse, FlowCreateParams, FlowCreateResponse, FlowDeleteResponse, FlowDeliveryOptionsResponse, FlowDryRunParams, FlowDryRunResponse, FlowListParams, FlowListRepairsResponse, FlowListResponse, FlowRetrieveResponse, FlowRunParams, FlowRunResponse, FlowTemplateContextParams, FlowTemplateContextResponse, FlowUnblockResponse, FlowUpdateParams, FlowUpdateResponse, FlowValidateParams, FlowValidateResponse, FlowVerifyParams, FlowVerifyResponse, Flows } from "./flows/flows.mjs";
|
|
15
|
+
import { FlowActivateParams, FlowActivateResponse, FlowCapacityParams, FlowCapacityResponse, FlowCloneParams, FlowCloneResponse, FlowCreateParams, FlowCreateResponse, FlowDeleteResponse, FlowDeliveryOptionsResponse, FlowDryRunParams, FlowDryRunResponse, FlowListParams, FlowListRepairsResponse, FlowListResponse, FlowRetrieveRepairParams, FlowRetrieveRepairResponse, FlowRetrieveResponse, FlowRunParams, FlowRunResponse, FlowTemplateContextParams, FlowTemplateContextResponse, FlowUnblockResponse, FlowUpdateParams, FlowUpdateResponse, FlowValidateParams, FlowValidateResponse, FlowVerifyParams, FlowVerifyResponse, Flows } from "./flows/flows.mjs";
|
|
16
16
|
export declare class Workflows extends APIResource {
|
|
17
17
|
triggers: TriggersAPI.Triggers;
|
|
18
18
|
actionCatalog: ActionCatalogAPI.ActionCatalog;
|
|
@@ -24,9 +24,9 @@ export declare class Workflows extends APIResource {
|
|
|
24
24
|
}
|
|
25
25
|
export declare namespace Workflows {
|
|
26
26
|
export { Triggers as Triggers, type TriggerCreateResponse as TriggerCreateResponse, type TriggerRetrieveResponse as TriggerRetrieveResponse, type TriggerUpdateResponse as TriggerUpdateResponse, type TriggerListResponse as TriggerListResponse, type TriggerDeleteResponse as TriggerDeleteResponse, type TriggerFireResponse as TriggerFireResponse, type TriggerCreateParams as TriggerCreateParams, type TriggerUpdateParams as TriggerUpdateParams, type TriggerListParams as TriggerListParams, type TriggerFireParams as TriggerFireParams, };
|
|
27
|
-
export { ActionCatalog as ActionCatalog, type ActionCatalogRetrieveResponse as ActionCatalogRetrieveResponse, type ActionCatalogListResponse as ActionCatalogListResponse, type ActionCatalogListParams as ActionCatalogListParams, };
|
|
28
|
-
export { Actions as Actions, 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, };
|
|
29
|
-
export { Flows as Flows, type FlowCreateResponse as FlowCreateResponse, type FlowRetrieveResponse as FlowRetrieveResponse, type FlowUpdateResponse as FlowUpdateResponse, type FlowListResponse as FlowListResponse, type FlowDeleteResponse as FlowDeleteResponse, type FlowActivateResponse as FlowActivateResponse, type FlowCapacityResponse as FlowCapacityResponse, type FlowCloneResponse as FlowCloneResponse, type FlowDeliveryOptionsResponse as FlowDeliveryOptionsResponse, type FlowDryRunResponse as FlowDryRunResponse, type FlowListRepairsResponse as FlowListRepairsResponse, type FlowRunResponse as FlowRunResponse, type FlowTemplateContextResponse as FlowTemplateContextResponse, type FlowUnblockResponse as FlowUnblockResponse, type FlowValidateResponse as FlowValidateResponse, type FlowVerifyResponse as FlowVerifyResponse, type FlowCreateParams as FlowCreateParams, type FlowUpdateParams as FlowUpdateParams, type FlowListParams as FlowListParams, type FlowActivateParams as FlowActivateParams, type FlowCapacityParams as FlowCapacityParams, type FlowCloneParams as FlowCloneParams, type FlowDryRunParams as FlowDryRunParams, type FlowRunParams as FlowRunParams, type FlowTemplateContextParams as FlowTemplateContextParams, type FlowValidateParams as FlowValidateParams, type FlowVerifyParams as FlowVerifyParams, };
|
|
27
|
+
export { ActionCatalog as ActionCatalog, type ActionCatalogRetrieveResponse as ActionCatalogRetrieveResponse, type ActionCatalogListResponse as ActionCatalogListResponse, type ActionCatalogRetrieveParams as ActionCatalogRetrieveParams, type ActionCatalogListParams as ActionCatalogListParams, };
|
|
28
|
+
export { Actions as Actions, 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, };
|
|
29
|
+
export { Flows as Flows, type FlowCreateResponse as FlowCreateResponse, type FlowRetrieveResponse as FlowRetrieveResponse, type FlowUpdateResponse as FlowUpdateResponse, type FlowListResponse as FlowListResponse, type FlowDeleteResponse as FlowDeleteResponse, type FlowActivateResponse as FlowActivateResponse, type FlowCapacityResponse as FlowCapacityResponse, type FlowCloneResponse as FlowCloneResponse, type FlowDeliveryOptionsResponse as FlowDeliveryOptionsResponse, type FlowDryRunResponse as FlowDryRunResponse, type FlowListRepairsResponse as FlowListRepairsResponse, type FlowRetrieveRepairResponse as FlowRetrieveRepairResponse, type FlowRunResponse as FlowRunResponse, type FlowTemplateContextResponse as FlowTemplateContextResponse, type FlowUnblockResponse as FlowUnblockResponse, type FlowValidateResponse as FlowValidateResponse, type FlowVerifyResponse as FlowVerifyResponse, type FlowCreateParams as FlowCreateParams, type FlowUpdateParams as FlowUpdateParams, type FlowListParams as FlowListParams, type FlowActivateParams as FlowActivateParams, type FlowCapacityParams as FlowCapacityParams, type FlowCloneParams as FlowCloneParams, type FlowDryRunParams as FlowDryRunParams, type FlowRetrieveRepairParams as FlowRetrieveRepairParams, type FlowRunParams as FlowRunParams, type FlowTemplateContextParams as FlowTemplateContextParams, type FlowValidateParams as FlowValidateParams, type FlowVerifyParams as FlowVerifyParams, };
|
|
30
30
|
export { Events as Events, type EventDryRunResponse as EventDryRunResponse, type EventIngestResponse as EventIngestResponse, type EventDryRunParams as EventDryRunParams, type EventIngestParams as EventIngestParams, };
|
|
31
31
|
export { Executions as Executions, type ExecutionRetrieveResponse as ExecutionRetrieveResponse, type ExecutionListResponse as ExecutionListResponse, type ExecutionAbortResponse as ExecutionAbortResponse, type ExecutionGetMetricsResponse as ExecutionGetMetricsResponse, type ExecutionListParams as ExecutionListParams, type ExecutionGetMetricsParams as ExecutionGetMetricsParams, };
|
|
32
32
|
export { Timezones as Timezones, type TimezoneListResponse as TimezoneListResponse };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflows.d.mts","sourceRoot":"","sources":["../../src/resources/workflows/workflows.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,gBAAgB,6BAAyB;AACrD,OAAO,EACL,aAA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3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;IAEF,OAAO,EACL,UAAU,IAAI,UAAU,EACxB,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;IAEF,OAAO,EAAE,SAAS,IAAI,SAAS,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,CAAC;CACtF"}
|
|
1
|
+
{"version":3,"file":"workflows.d.mts","sourceRoot":"","sources":["../../src/resources/workflows/workflows.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,gBAAgB,6BAAyB;AACrD,OAAO,EACL,aAAa,EACb,uBAAuB,EACvB,yBAAyB,EACzB,2BAA2B,EAC3B,6BAA6B,EAC9B,6BAAyB;AAC1B,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,EACP,qBAAiB;AAClB,OAAO,KAAK,YAAY,wBAAoB;AAC5C,OAAO,EAAE,oBAAoB,EAAE,SAAS,EAAE,wBAAoB;AAC9D,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACrB,QAAQ,EACT,uBAAmB;AACpB,OAAO,KAAK,UAAU,8BAA0B;AAChD,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EAC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/resource.js";
|
|
2
2
|
import * as ActionCatalogAPI from "./action-catalog.js";
|
|
3
|
-
import { ActionCatalog, ActionCatalogListParams, ActionCatalogListResponse, ActionCatalogRetrieveResponse } from "./action-catalog.js";
|
|
3
|
+
import { ActionCatalog, ActionCatalogListParams, ActionCatalogListResponse, ActionCatalogRetrieveParams, ActionCatalogRetrieveResponse } from "./action-catalog.js";
|
|
4
4
|
import * as EventsAPI from "./events.js";
|
|
5
5
|
import { EventDryRunParams, EventDryRunResponse, EventIngestParams, EventIngestResponse, Events } from "./events.js";
|
|
6
6
|
import * as TimezonesAPI from "./timezones.js";
|
|
@@ -8,11 +8,11 @@ import { TimezoneListResponse, Timezones } from "./timezones.js";
|
|
|
8
8
|
import * as TriggersAPI from "./triggers.js";
|
|
9
9
|
import { TriggerCreateParams, TriggerCreateResponse, TriggerDeleteResponse, TriggerFireParams, TriggerFireResponse, TriggerListParams, TriggerListResponse, TriggerRetrieveResponse, TriggerUpdateParams, TriggerUpdateResponse, Triggers } from "./triggers.js";
|
|
10
10
|
import * as ActionsAPI from "./actions/actions.js";
|
|
11
|
-
import { ActionCreateParams, ActionCreateResponse, ActionDeleteResponse, ActionListParams, ActionListResponse, ActionRetrieveResponse, ActionUpdateParams, ActionUpdateResponse, Actions } from "./actions/actions.js";
|
|
11
|
+
import { ActionCreateParams, ActionCreateResponse, ActionDeleteResponse, ActionListParams, ActionListResponse, ActionRetrieveParams, ActionRetrieveResponse, ActionUpdateParams, ActionUpdateResponse, Actions } from "./actions/actions.js";
|
|
12
12
|
import * as ExecutionsAPI from "./executions/executions.js";
|
|
13
13
|
import { ExecutionAbortResponse, ExecutionGetMetricsParams, ExecutionGetMetricsResponse, ExecutionListParams, ExecutionListResponse, ExecutionRetrieveResponse, Executions } from "./executions/executions.js";
|
|
14
14
|
import * as FlowsAPI from "./flows/flows.js";
|
|
15
|
-
import { FlowActivateParams, FlowActivateResponse, FlowCapacityParams, FlowCapacityResponse, FlowCloneParams, FlowCloneResponse, FlowCreateParams, FlowCreateResponse, FlowDeleteResponse, FlowDeliveryOptionsResponse, FlowDryRunParams, FlowDryRunResponse, FlowListParams, FlowListRepairsResponse, FlowListResponse, FlowRetrieveResponse, FlowRunParams, FlowRunResponse, FlowTemplateContextParams, FlowTemplateContextResponse, FlowUnblockResponse, FlowUpdateParams, FlowUpdateResponse, FlowValidateParams, FlowValidateResponse, FlowVerifyParams, FlowVerifyResponse, Flows } from "./flows/flows.js";
|
|
15
|
+
import { FlowActivateParams, FlowActivateResponse, FlowCapacityParams, FlowCapacityResponse, FlowCloneParams, FlowCloneResponse, FlowCreateParams, FlowCreateResponse, FlowDeleteResponse, FlowDeliveryOptionsResponse, FlowDryRunParams, FlowDryRunResponse, FlowListParams, FlowListRepairsResponse, FlowListResponse, FlowRetrieveRepairParams, FlowRetrieveRepairResponse, FlowRetrieveResponse, FlowRunParams, FlowRunResponse, FlowTemplateContextParams, FlowTemplateContextResponse, FlowUnblockResponse, FlowUpdateParams, FlowUpdateResponse, FlowValidateParams, FlowValidateResponse, FlowVerifyParams, FlowVerifyResponse, Flows } from "./flows/flows.js";
|
|
16
16
|
export declare class Workflows extends APIResource {
|
|
17
17
|
triggers: TriggersAPI.Triggers;
|
|
18
18
|
actionCatalog: ActionCatalogAPI.ActionCatalog;
|
|
@@ -24,9 +24,9 @@ export declare class Workflows extends APIResource {
|
|
|
24
24
|
}
|
|
25
25
|
export declare namespace Workflows {
|
|
26
26
|
export { Triggers as Triggers, type TriggerCreateResponse as TriggerCreateResponse, type TriggerRetrieveResponse as TriggerRetrieveResponse, type TriggerUpdateResponse as TriggerUpdateResponse, type TriggerListResponse as TriggerListResponse, type TriggerDeleteResponse as TriggerDeleteResponse, type TriggerFireResponse as TriggerFireResponse, type TriggerCreateParams as TriggerCreateParams, type TriggerUpdateParams as TriggerUpdateParams, type TriggerListParams as TriggerListParams, type TriggerFireParams as TriggerFireParams, };
|
|
27
|
-
export { ActionCatalog as ActionCatalog, type ActionCatalogRetrieveResponse as ActionCatalogRetrieveResponse, type ActionCatalogListResponse as ActionCatalogListResponse, type ActionCatalogListParams as ActionCatalogListParams, };
|
|
28
|
-
export { Actions as Actions, 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, };
|
|
29
|
-
export { Flows as Flows, type FlowCreateResponse as FlowCreateResponse, type FlowRetrieveResponse as FlowRetrieveResponse, type FlowUpdateResponse as FlowUpdateResponse, type FlowListResponse as FlowListResponse, type FlowDeleteResponse as FlowDeleteResponse, type FlowActivateResponse as FlowActivateResponse, type FlowCapacityResponse as FlowCapacityResponse, type FlowCloneResponse as FlowCloneResponse, type FlowDeliveryOptionsResponse as FlowDeliveryOptionsResponse, type FlowDryRunResponse as FlowDryRunResponse, type FlowListRepairsResponse as FlowListRepairsResponse, type FlowRunResponse as FlowRunResponse, type FlowTemplateContextResponse as FlowTemplateContextResponse, type FlowUnblockResponse as FlowUnblockResponse, type FlowValidateResponse as FlowValidateResponse, type FlowVerifyResponse as FlowVerifyResponse, type FlowCreateParams as FlowCreateParams, type FlowUpdateParams as FlowUpdateParams, type FlowListParams as FlowListParams, type FlowActivateParams as FlowActivateParams, type FlowCapacityParams as FlowCapacityParams, type FlowCloneParams as FlowCloneParams, type FlowDryRunParams as FlowDryRunParams, type FlowRunParams as FlowRunParams, type FlowTemplateContextParams as FlowTemplateContextParams, type FlowValidateParams as FlowValidateParams, type FlowVerifyParams as FlowVerifyParams, };
|
|
27
|
+
export { ActionCatalog as ActionCatalog, type ActionCatalogRetrieveResponse as ActionCatalogRetrieveResponse, type ActionCatalogListResponse as ActionCatalogListResponse, type ActionCatalogRetrieveParams as ActionCatalogRetrieveParams, type ActionCatalogListParams as ActionCatalogListParams, };
|
|
28
|
+
export { Actions as Actions, 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, };
|
|
29
|
+
export { Flows as Flows, type FlowCreateResponse as FlowCreateResponse, type FlowRetrieveResponse as FlowRetrieveResponse, type FlowUpdateResponse as FlowUpdateResponse, type FlowListResponse as FlowListResponse, type FlowDeleteResponse as FlowDeleteResponse, type FlowActivateResponse as FlowActivateResponse, type FlowCapacityResponse as FlowCapacityResponse, type FlowCloneResponse as FlowCloneResponse, type FlowDeliveryOptionsResponse as FlowDeliveryOptionsResponse, type FlowDryRunResponse as FlowDryRunResponse, type FlowListRepairsResponse as FlowListRepairsResponse, type FlowRetrieveRepairResponse as FlowRetrieveRepairResponse, type FlowRunResponse as FlowRunResponse, type FlowTemplateContextResponse as FlowTemplateContextResponse, type FlowUnblockResponse as FlowUnblockResponse, type FlowValidateResponse as FlowValidateResponse, type FlowVerifyResponse as FlowVerifyResponse, type FlowCreateParams as FlowCreateParams, type FlowUpdateParams as FlowUpdateParams, type FlowListParams as FlowListParams, type FlowActivateParams as FlowActivateParams, type FlowCapacityParams as FlowCapacityParams, type FlowCloneParams as FlowCloneParams, type FlowDryRunParams as FlowDryRunParams, type FlowRetrieveRepairParams as FlowRetrieveRepairParams, type FlowRunParams as FlowRunParams, type FlowTemplateContextParams as FlowTemplateContextParams, type FlowValidateParams as FlowValidateParams, type FlowVerifyParams as FlowVerifyParams, };
|
|
30
30
|
export { Events as Events, type EventDryRunResponse as EventDryRunResponse, type EventIngestResponse as EventIngestResponse, type EventDryRunParams as EventDryRunParams, type EventIngestParams as EventIngestParams, };
|
|
31
31
|
export { Executions as Executions, type ExecutionRetrieveResponse as ExecutionRetrieveResponse, type ExecutionListResponse as ExecutionListResponse, type ExecutionAbortResponse as ExecutionAbortResponse, type ExecutionGetMetricsResponse as ExecutionGetMetricsResponse, type ExecutionListParams as ExecutionListParams, type ExecutionGetMetricsParams as ExecutionGetMetricsParams, };
|
|
32
32
|
export { Timezones as Timezones, type TimezoneListResponse as TimezoneListResponse };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../src/resources/workflows/workflows.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,gBAAgB,4BAAyB;AACrD,OAAO,EACL,aAAa,EACb,uBAAuB,EACvB,yBAAyB,EACzB,6BAA6B,EAC9B,4BAAyB;AAC1B,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,EACP,oBAAiB;AAClB,OAAO,KAAK,YAAY,uBAAoB;AAC5C,OAAO,EAAE,oBAAoB,EAAE,SAAS,EAAE,uBAAoB;AAC9D,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACrB,QAAQ,EACT,sBAAmB;AACpB,OAAO,KAAK,UAAU,6BAA0B;AAChD,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,kBAAkB,EAClB,oBAAoB,EACpB,OAAO,EACR,6BAA0B;AAC3B,OAAO,KAAK,aAAa,mCAAgC;AACzD,OAAO,EACL,sBAAsB,EACtB,yBAAyB,EACzB,2BAA2B,EAC3B,mBAAmB,EACnB,qBAAqB,EACrB,yBAAyB,EACzB,UAAU,EACX,mCAAgC;AACjC,OAAO,KAAK,QAAQ,y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U,EACxB,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;IAEF,OAAO,EAAE,SAAS,IAAI,SAAS,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,CAAC;CACtF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflows.js","sourceRoot":"","sources":["../../src/resources/workflows/workflows.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,8EAAqD;AACrD,
|
|
1
|
+
{"version":3,"file":"workflows.js","sourceRoot":"","sources":["../../src/resources/workflows/workflows.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,8EAAqD;AACrD,wDAM0B;AAC1B,+DAAsC;AACtC,wCAMkB;AAClB,qEAA4C;AAC5C,8CAA8D;AAC9D,mEAA0C;AAC1C,4CAYoB;AACpB,yEAAgD;AAChD,kDAW2B;AAC3B,kFAAyD;AACzD,2DAQiC;AACjC,mEAA0C;AAC1C,4CA+BuB;AAEvB,MAAa,SAAU,SAAQ,sBAAW;IAA1C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjG,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClF,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC/E,CAAC;CAAA;AARD,8BAQC;AAED,SAAS,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AAC9B,SAAS,CAAC,aAAa,GAAG,8BAAa,CAAC;AACxC,SAAS,CAAC,OAAO,GAAG,iBAAO,CAAC;AAC5B,SAAS,CAAC,KAAK,GAAG,aAAK,CAAC;AACxB,SAAS,CAAC,MAAM,GAAG,eAAM,CAAC;AAC1B,SAAS,CAAC,UAAU,GAAG,uBAAU,CAAC;AAClC,SAAS,CAAC,SAAS,GAAG,qBAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflows.mjs","sourceRoot":"","sources":["../../src/resources/workflows/workflows.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,gBAAgB,6BAAyB;AACrD,OAAO,EACL,aAAa,
|
|
1
|
+
{"version":3,"file":"workflows.mjs","sourceRoot":"","sources":["../../src/resources/workflows/workflows.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,gBAAgB,6BAAyB;AACrD,OAAO,EACL,aAAa,GAKd,6BAAyB;AAC1B,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAKL,MAAM,GACP,qBAAiB;AAClB,OAAO,KAAK,YAAY,wBAAoB;AAC5C,OAAO,EAAwB,SAAS,EAAE,wBAAoB;AAC9D,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EAWL,QAAQ,GACT,uBAAmB;AACpB,OAAO,KAAK,UAAU,8BAA0B;AAChD,OAAO,EAUL,OAAO,GACR,8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