@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
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Links = void 0;
|
|
5
|
+
const resource_1 = require("../../../core/resource.js");
|
|
6
|
+
const path_1 = require("../../../internal/utils/path.js");
|
|
7
|
+
class Links extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Link a 1Password item to a credential
|
|
10
|
+
*/
|
|
11
|
+
create(packageName, body, options) {
|
|
12
|
+
return this._client.post((0, path_1.path) `/credentials/packages/${packageName}/links`, { body, ...options });
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.Links = Links;
|
|
16
|
+
//# sourceMappingURL=links.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"links.js","sourceRoot":"","sources":["../../../src/resources/credentials/packages/links.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAoD;AAEpD,MAAa,KAAM,SAAQ,sBAAW;IACpC;;OAEG;IACH,MAAM,CACJ,WAAmB,EACnB,IAAsB,EACtB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,yBAAyB,WAAW,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;CACF;AAXD,sBAWC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import { path } from "../../../internal/utils/path.mjs";
|
|
4
|
+
export class Links extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Link a 1Password item to a credential
|
|
7
|
+
*/
|
|
8
|
+
create(packageName, body, options) {
|
|
9
|
+
return this._client.post(path `/credentials/packages/${packageName}/links`, { body, ...options });
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=links.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"links.mjs","sourceRoot":"","sources":["../../../src/resources/credentials/packages/links.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAGrD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,MAAM,CACJ,WAAmB,EACnB,IAAsB,EACtB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,yBAAyB,WAAW,QAAQ,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;CACF"}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as LinksAPI from "./links.mjs";
|
|
3
|
+
import { LinkCreateParams, LinkCreateResponse, Links } from "./links.mjs";
|
|
2
4
|
import * as CredentialsAPI from "./credentials/credentials.mjs";
|
|
3
|
-
import { CredentialCreateParams, CredentialCreateResponse, CredentialDeleteParams, CredentialDeleteResponse,
|
|
5
|
+
import { CredentialCreateParams, CredentialCreateResponse, CredentialDeleteParams, CredentialDeleteResponse, Credentials } from "./credentials/credentials.mjs";
|
|
4
6
|
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
5
7
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
6
8
|
export declare class Packages extends APIResource {
|
|
7
9
|
credentials: CredentialsAPI.Credentials;
|
|
10
|
+
links: LinksAPI.Links;
|
|
8
11
|
/**
|
|
9
12
|
* Creates a new package (identified by `packageName`) under which credentials can
|
|
10
13
|
* be grouped. Returns a conflict if a package with the same name already exists
|
|
@@ -49,12 +52,28 @@ export declare namespace PackageListResponse {
|
|
|
49
52
|
* for credentials created before rollout.
|
|
50
53
|
*/
|
|
51
54
|
userId: string | null;
|
|
55
|
+
link?: Data.Link;
|
|
56
|
+
source?: 'mobilerun' | 'onepassword';
|
|
52
57
|
}
|
|
53
58
|
namespace Data {
|
|
54
59
|
interface Field {
|
|
55
60
|
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
56
61
|
value: string;
|
|
57
62
|
}
|
|
63
|
+
interface Link {
|
|
64
|
+
fieldMap: Array<Link.FieldMap>;
|
|
65
|
+
itemId: string;
|
|
66
|
+
itemTitle: string;
|
|
67
|
+
provider: 'onepassword';
|
|
68
|
+
vaultId: string;
|
|
69
|
+
vaultName: string;
|
|
70
|
+
}
|
|
71
|
+
namespace Link {
|
|
72
|
+
interface FieldMap {
|
|
73
|
+
fieldId: string;
|
|
74
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
75
|
+
}
|
|
76
|
+
}
|
|
58
77
|
}
|
|
59
78
|
}
|
|
60
79
|
export interface PackageListAllResponse {
|
|
@@ -70,6 +89,7 @@ export interface PackageCreateParams {
|
|
|
70
89
|
}
|
|
71
90
|
export declare namespace Packages {
|
|
72
91
|
export { type PackageCreateResponse as PackageCreateResponse, type PackageListResponse as PackageListResponse, type PackageListAllResponse as PackageListAllResponse, type PackageCreateParams as PackageCreateParams, };
|
|
73
|
-
export { Credentials as Credentials, type CredentialCreateResponse as CredentialCreateResponse, type
|
|
92
|
+
export { Credentials as Credentials, type CredentialCreateResponse as CredentialCreateResponse, type CredentialDeleteResponse as CredentialDeleteResponse, type CredentialCreateParams as CredentialCreateParams, type CredentialDeleteParams as CredentialDeleteParams, };
|
|
93
|
+
export { Links as Links, type LinkCreateResponse as LinkCreateResponse, type LinkCreateParams as LinkCreateParams, };
|
|
74
94
|
}
|
|
75
95
|
//# sourceMappingURL=packages.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packages.d.mts","sourceRoot":"","sources":["../../../src/resources/credentials/packages/packages.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,cAAc,sCAAkC;AAC5D,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,
|
|
1
|
+
{"version":3,"file":"packages.d.mts","sourceRoot":"","sources":["../../../src/resources/credentials/packages/packages.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,KAAK,EAAE,oBAAgB;AACtE,OAAO,KAAK,cAAc,sCAAkC;AAC5D,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,WAAW,EACZ,sCAAkC;AACnC,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE,qBAAa,QAAS,SAAQ,WAAW;IACvC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IACvF,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IAEzD;;;;OAIG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI9F;;;OAGG;IACH,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAIpF;;;;OAIG;IACH,OAAO,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGtE;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,qBAAqB,CAAC,IAAI,CAAC;IAEjC,OAAO,EAAE,MAAM,CAAC;IAEhB,OAAO,EAAE,IAAI,CAAC;CACf;AAED,yBAAiB,qBAAqB,CAAC;IACrC,UAAiB,IAAI;QACnB,WAAW,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AsB,CAAC,IAAI,CAAC,CAAC;CAC1C;AAED,yBAAiB,sBAAsB,CAAC;IACtC,UAAiB,IAAI;QACnB,WAAW,EAAE,MAAM,CAAC;KACrB;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,MAAM,CAAC;CACrB;AAKD,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as LinksAPI from "./links.js";
|
|
3
|
+
import { LinkCreateParams, LinkCreateResponse, Links } from "./links.js";
|
|
2
4
|
import * as CredentialsAPI from "./credentials/credentials.js";
|
|
3
|
-
import { CredentialCreateParams, CredentialCreateResponse, CredentialDeleteParams, CredentialDeleteResponse,
|
|
5
|
+
import { CredentialCreateParams, CredentialCreateResponse, CredentialDeleteParams, CredentialDeleteResponse, Credentials } from "./credentials/credentials.js";
|
|
4
6
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
5
7
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
6
8
|
export declare class Packages extends APIResource {
|
|
7
9
|
credentials: CredentialsAPI.Credentials;
|
|
10
|
+
links: LinksAPI.Links;
|
|
8
11
|
/**
|
|
9
12
|
* Creates a new package (identified by `packageName`) under which credentials can
|
|
10
13
|
* be grouped. Returns a conflict if a package with the same name already exists
|
|
@@ -49,12 +52,28 @@ export declare namespace PackageListResponse {
|
|
|
49
52
|
* for credentials created before rollout.
|
|
50
53
|
*/
|
|
51
54
|
userId: string | null;
|
|
55
|
+
link?: Data.Link;
|
|
56
|
+
source?: 'mobilerun' | 'onepassword';
|
|
52
57
|
}
|
|
53
58
|
namespace Data {
|
|
54
59
|
interface Field {
|
|
55
60
|
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
56
61
|
value: string;
|
|
57
62
|
}
|
|
63
|
+
interface Link {
|
|
64
|
+
fieldMap: Array<Link.FieldMap>;
|
|
65
|
+
itemId: string;
|
|
66
|
+
itemTitle: string;
|
|
67
|
+
provider: 'onepassword';
|
|
68
|
+
vaultId: string;
|
|
69
|
+
vaultName: string;
|
|
70
|
+
}
|
|
71
|
+
namespace Link {
|
|
72
|
+
interface FieldMap {
|
|
73
|
+
fieldId: string;
|
|
74
|
+
fieldType: 'email' | 'username' | 'password' | 'api_token' | 'phone_number' | 'two_factor_secret' | 'backup_codes';
|
|
75
|
+
}
|
|
76
|
+
}
|
|
58
77
|
}
|
|
59
78
|
}
|
|
60
79
|
export interface PackageListAllResponse {
|
|
@@ -70,6 +89,7 @@ export interface PackageCreateParams {
|
|
|
70
89
|
}
|
|
71
90
|
export declare namespace Packages {
|
|
72
91
|
export { type PackageCreateResponse as PackageCreateResponse, type PackageListResponse as PackageListResponse, type PackageListAllResponse as PackageListAllResponse, type PackageCreateParams as PackageCreateParams, };
|
|
73
|
-
export { Credentials as Credentials, type CredentialCreateResponse as CredentialCreateResponse, type
|
|
92
|
+
export { Credentials as Credentials, type CredentialCreateResponse as CredentialCreateResponse, type CredentialDeleteResponse as CredentialDeleteResponse, type CredentialCreateParams as CredentialCreateParams, type CredentialDeleteParams as CredentialDeleteParams, };
|
|
93
|
+
export { Links as Links, type LinkCreateResponse as LinkCreateResponse, type LinkCreateParams as LinkCreateParams, };
|
|
74
94
|
}
|
|
75
95
|
//# sourceMappingURL=packages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packages.d.ts","sourceRoot":"","sources":["../../../src/resources/credentials/packages/packages.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,cAAc,qCAAkC;AAC5D,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,
|
|
1
|
+
{"version":3,"file":"packages.d.ts","sourceRoot":"","sources":["../../../src/resources/credentials/packages/packages.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,QAAQ,mBAAgB;AACpC,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,KAAK,EAAE,mBAAgB;AACtE,OAAO,KAAK,cAAc,qCAAkC;AAC5D,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,WAAW,EACZ,qCAAkC;AACnC,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE,qBAAa,QAAS,SAAQ,WAAW;IACvC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IACvF,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IAEzD;;;;OAIG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI9F;;;OAGG;IACH,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAIpF;;;;OAIG;IACH,OAAO,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CA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iB,QAAQ;gBACvB,OAAO,EAAE,MAAM,CAAC;gBAEhB,SAAS,EACL,OAAO,GACP,UAAU,GACV,UAAU,GACV,WAAW,GACX,cAAc,GACd,mBAAmB,GACnB,cAAc,CAAC;aACpB;SACF;KACF;CACF;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,KAAK,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;CAC1C;AAED,yBAAiB,sBAAsB,CAAC;IACtC,UAAiB,IAAI;QACnB,WAAW,EAAE,MAAM,CAAC;KACrB;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,MAAM,CAAC;CACrB;AAKD,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
|
@@ -4,6 +4,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.Packages = void 0;
|
|
5
5
|
const tslib_1 = require("../../../internal/tslib.js");
|
|
6
6
|
const resource_1 = require("../../../core/resource.js");
|
|
7
|
+
const LinksAPI = tslib_1.__importStar(require("./links.js"));
|
|
8
|
+
const links_1 = require("./links.js");
|
|
7
9
|
const CredentialsAPI = tslib_1.__importStar(require("./credentials/credentials.js"));
|
|
8
10
|
const credentials_1 = require("./credentials/credentials.js");
|
|
9
11
|
const path_1 = require("../../../internal/utils/path.js");
|
|
@@ -11,6 +13,7 @@ class Packages extends resource_1.APIResource {
|
|
|
11
13
|
constructor() {
|
|
12
14
|
super(...arguments);
|
|
13
15
|
this.credentials = new CredentialsAPI.Credentials(this._client);
|
|
16
|
+
this.links = new LinksAPI.Links(this._client);
|
|
14
17
|
}
|
|
15
18
|
/**
|
|
16
19
|
* Creates a new package (identified by `packageName`) under which credentials can
|
|
@@ -38,4 +41,5 @@ class Packages extends resource_1.APIResource {
|
|
|
38
41
|
}
|
|
39
42
|
exports.Packages = Packages;
|
|
40
43
|
Packages.Credentials = credentials_1.Credentials;
|
|
44
|
+
Packages.Links = links_1.Links;
|
|
41
45
|
//# sourceMappingURL=packages.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packages.js","sourceRoot":"","sources":["../../../src/resources/credentials/packages/packages.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,qFAA4D;AAC5D,
|
|
1
|
+
{"version":3,"file":"packages.js","sourceRoot":"","sources":["../../../src/resources/credentials/packages/packages.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,6DAAoC;AACpC,sCAAsE;AACtE,qFAA4D;AAC5D,8DAMmC;AAGnC,0DAAoD;AAEpD,MAAa,QAAS,SAAQ,sBAAW;IAAzC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA2B3D,CAAC;IAzBC;;;;OAIG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;;OAGG;IACH,IAAI,CAAC,WAAmB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,yBAAyB,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED;;;;OAIG;IACH,OAAO,CAAC,OAAwB;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;CACF;AA7BD,4BA6BC;AAwGD,QAAQ,CAAC,WAAW,GAAG,yBAAW,CAAC;AACnC,QAAQ,CAAC,KAAK,GAAG,aAAK,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import * as LinksAPI from "./links.mjs";
|
|
4
|
+
import { Links } from "./links.mjs";
|
|
3
5
|
import * as CredentialsAPI from "./credentials/credentials.mjs";
|
|
4
6
|
import { Credentials, } from "./credentials/credentials.mjs";
|
|
5
7
|
import { path } from "../../../internal/utils/path.mjs";
|
|
@@ -7,6 +9,7 @@ export class Packages extends APIResource {
|
|
|
7
9
|
constructor() {
|
|
8
10
|
super(...arguments);
|
|
9
11
|
this.credentials = new CredentialsAPI.Credentials(this._client);
|
|
12
|
+
this.links = new LinksAPI.Links(this._client);
|
|
10
13
|
}
|
|
11
14
|
/**
|
|
12
15
|
* Creates a new package (identified by `packageName`) under which credentials can
|
|
@@ -33,4 +36,5 @@ export class Packages extends APIResource {
|
|
|
33
36
|
}
|
|
34
37
|
}
|
|
35
38
|
Packages.Credentials = Credentials;
|
|
39
|
+
Packages.Links = Links;
|
|
36
40
|
//# sourceMappingURL=packages.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packages.mjs","sourceRoot":"","sources":["../../../src/resources/credentials/packages/packages.ts"],"names":[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
|
|
@@ -18,10 +18,9 @@ export declare class Actions extends APIResource {
|
|
|
18
18
|
setOverlayVisible(deviceID: string, params: ActionSetOverlayVisibleParams, options?: RequestOptions): APIPromise<void>;
|
|
19
19
|
/**
|
|
20
20
|
* Swipes from a start coordinate to an end coordinate over the given duration in
|
|
21
|
-
* milliseconds.
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* that do not support it.
|
|
21
|
+
* milliseconds. The optional humanize flag (best-effort, also with holdMs) adds a
|
|
22
|
+
* human-like path and timing. With holdMs > 0 the request returns 422 when
|
|
23
|
+
* duration + holdMs exceeds 9000 ms, or on devices that do not support it.
|
|
25
24
|
*/
|
|
26
25
|
swipe(deviceID: string, params: ActionSwipeParams, options?: RequestOptions): APIPromise<void>;
|
|
27
26
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../src/resources/devices/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;OAGG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAiBhG;;OAEG;IACH,cAAc,CACZ,QAAQ,EAAE,MAAM,EAChB,MAAM,GAAE,0BAA0B,GAAG,IAAI,GAAG,SAAc,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAe3C;;;OAGG;IACH,iBAAiB,CACf,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,6BAA6B,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IAiBnB
|
|
1
|
+
{"version":3,"file":"actions.d.mts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CAChC;AAED,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,CAAC,EAAE,MAAM,CAAC;IAEV;;OAEG;IACH,CAAC,EAAE,MAAM,CAAC;IAEV;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
|
|
@@ -18,10 +18,9 @@ export declare class Actions extends APIResource {
|
|
|
18
18
|
setOverlayVisible(deviceID: string, params: ActionSetOverlayVisibleParams, options?: RequestOptions): APIPromise<void>;
|
|
19
19
|
/**
|
|
20
20
|
* Swipes from a start coordinate to an end coordinate over the given duration in
|
|
21
|
-
* milliseconds.
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* that do not support it.
|
|
21
|
+
* milliseconds. The optional humanize flag (best-effort, also with holdMs) adds a
|
|
22
|
+
* human-like path and timing. With holdMs > 0 the request returns 422 when
|
|
23
|
+
* duration + holdMs exceeds 9000 ms, or on devices that do not support it.
|
|
25
24
|
*/
|
|
26
25
|
swipe(deviceID: string, params: ActionSwipeParams, options?: RequestOptions): APIPromise<void>;
|
|
27
26
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/resources/devices/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;OAGG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAiBhG;;OAEG;IACH,cAAc,CACZ,QAAQ,EAAE,MAAM,EAChB,MAAM,GAAE,0BAA0B,GAAG,IAAI,GAAG,SAAc,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAe3C;;;OAGG;IACH,iBAAiB,CACf,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,6BAA6B,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IAiBnB
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/resources/devices/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,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,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,CAAC,EAAE,MAAM,CAAC;IAEV;;OAEG;IACH,CAAC,EAAE,MAAM,CAAC;IAEV;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
|
|
@@ -65,10 +65,9 @@ class Actions extends resource_1.APIResource {
|
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
67
|
* Swipes from a start coordinate to an end coordinate over the given duration in
|
|
68
|
-
* milliseconds.
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
* that do not support it.
|
|
68
|
+
* milliseconds. The optional humanize flag (best-effort, also with holdMs) adds a
|
|
69
|
+
* human-like path and timing. With holdMs > 0 the request returns 422 when
|
|
70
|
+
* duration + holdMs exceeds 9000 ms, or on devices that do not support it.
|
|
72
71
|
*/
|
|
73
72
|
swipe(deviceID, params, options) {
|
|
74
73
|
const { 'X-Device-Display-ID': xDeviceDisplayID, ...body } = params;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../src/resources/devices/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;OAGG;IACH,MAAM,CAAC,QAAgB,EAAE,MAA0B,EAAE,OAAwB;QAC3E,MAAM,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,SAAS,EAAE;YAC1D,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,MAAM,EAAE,KAAK;oBACb,GAAG,CAAC,gBAAgB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBACxC,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,QAAQ,EAAE,EAAE;wBACzD,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,cAAc,CACZ,QAAgB,EAChB,SAAwD,EAAE,EAC1D,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,UAAU,EAAE;YA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wBACxC,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,QAAQ,EAAE,EAAE;wBACzD,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AAhHD,0BAgHC"}
|
|
@@ -62,10 +62,9 @@ export class Actions extends APIResource {
|
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
64
|
* Swipes from a start coordinate to an end coordinate over the given duration in
|
|
65
|
-
* milliseconds.
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
* that do not support it.
|
|
65
|
+
* milliseconds. The optional humanize flag (best-effort, also with holdMs) adds a
|
|
66
|
+
* human-like path and timing. With holdMs > 0 the request returns 422 when
|
|
67
|
+
* duration + holdMs exceeds 9000 ms, or on devices that do not support it.
|
|
69
68
|
*/
|
|
70
69
|
swipe(deviceID, params, options) {
|
|
71
70
|
const { 'X-Device-Display-ID': xDeviceDisplayID, ...body } = params;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../src/resources/devices/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;OAGG;IACH,MAAM,CAAC,QAAgB,EAAE,MAA0B,EAAE,OAAwB;QAC3E,MAAM,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,YAAY,QAAQ,SAAS,EAAE;YAC1D,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,MAAM,EAAE,KAAK;oBACb,GAAG,CAA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AE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;OAGG;IACH,GAAG,CAAC,QAAgB,EAAE,MAAuB,EAAE,OAAwB;QACrE,MAAM,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,YAAY,QAAQ,MAAM,EAAE;YACvD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,MAAM,EAAE,KAAK;oBACb,GAAG,CAAC,gBAAgB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBACxC,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,QAAQ,EAAE,EAAE;wBACzD,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -97,8 +97,8 @@ export declare namespace AppListInstallsResponse {
|
|
|
97
97
|
platform: string;
|
|
98
98
|
startedAt: string;
|
|
99
99
|
/**
|
|
100
|
-
* On iOS
|
|
101
|
-
*
|
|
100
|
+
* On some iOS devices, succeeded means the device accepted the install command;
|
|
101
|
+
* the install may still be running on the device.
|
|
102
102
|
*/
|
|
103
103
|
status: 'running' | 'succeeded' | 'failed';
|
|
104
104
|
updatedAt: string;
|
|
@@ -97,8 +97,8 @@ export declare namespace AppListInstallsResponse {
|
|
|
97
97
|
platform: string;
|
|
98
98
|
startedAt: string;
|
|
99
99
|
/**
|
|
100
|
-
* On iOS
|
|
101
|
-
*
|
|
100
|
+
* On some iOS devices, succeeded means the device accepted the install command;
|
|
101
|
+
* the install may still be running on the device.
|
|
102
102
|
*/
|
|
103
103
|
status: 'running' | 'succeeded' | 'failed';
|
|
104
104
|
updatedAt: string;
|
|
@@ -20,6 +20,10 @@ import * as LanguageAPI from "./language.mjs";
|
|
|
20
20
|
import { Language, LanguageGetParams, LanguageGetResponse, LanguageSetParams } from "./language.mjs";
|
|
21
21
|
import * as LocationAPI from "./location.mjs";
|
|
22
22
|
import { Location, LocationGetParams, LocationResetParams, LocationSetParams } from "./location.mjs";
|
|
23
|
+
import * as NumberAPI from "./number.mjs";
|
|
24
|
+
import { Number, NumberBindParams, NumberBindResponse, NumberRetrieveParams, NumberRetrieveResponse, NumberUnbindParams, NumberUnbindResponse } from "./number.mjs";
|
|
25
|
+
import * as NumberBindingsAPI from "./number-bindings.mjs";
|
|
26
|
+
import { NumberBindingListCandidatesResponse, NumberBindingListResponse, NumberBindings } from "./number-bindings.mjs";
|
|
23
27
|
import * as PackagesAPI from "./packages.mjs";
|
|
24
28
|
import { PackageListParams, PackageListResponse, Packages } from "./packages.mjs";
|
|
25
29
|
import * as ProfileAPI from "./profile.mjs";
|
|
@@ -63,6 +67,8 @@ export declare class Devices extends APIResource {
|
|
|
63
67
|
kiosk: KioskAPI.Kiosk;
|
|
64
68
|
recordings: RecordingsAPI.Recordings;
|
|
65
69
|
trafficSessions: TrafficSessionsAPI.TrafficSessions;
|
|
70
|
+
number: NumberAPI.Number;
|
|
71
|
+
numberBindings: NumberBindingsAPI.NumberBindings;
|
|
66
72
|
/**
|
|
67
73
|
* Requests a new device from the specification in the request body. Optional query
|
|
68
74
|
* parameters select the canonical device type, country, billing mode, and base
|
|
@@ -100,26 +106,26 @@ export declare class Devices extends APIResource {
|
|
|
100
106
|
fingerprint(deviceID: string, params?: DeviceFingerprintParams | null | undefined, options?: RequestOptions): APIPromise<DeviceFingerprintResponse>;
|
|
101
107
|
/**
|
|
102
108
|
* Triggers a reboot of the device. The device transitions through its reboot
|
|
103
|
-
* lifecycle and becomes ready again once the restart completes.
|
|
109
|
+
* lifecycle and becomes ready again once the restart completes. Only devices whose
|
|
110
|
+
* capabilities report `reboot=true` can be rebooted. Personal (BYOD) devices
|
|
111
|
+
* cannot be rebooted remotely: the request is refused with 400
|
|
112
|
+
* `DEVICE_TOOL_UNSUPPORTED` and nothing happens on the device.
|
|
104
113
|
*/
|
|
105
114
|
reboot(deviceID: string, options?: RequestOptions): APIPromise<void>;
|
|
106
115
|
/**
|
|
107
|
-
* Resets the device.
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
* mode only when it is the one their capabilities advertise, and always accept a
|
|
115
|
-
* reset without a mode. The device transitions through its reset lifecycle before
|
|
116
|
-
* becoming ready again.
|
|
116
|
+
* Resets the device. `mode` selects what is erased: `full` (factory reset: apps,
|
|
117
|
+
* accounts, storage, new identity) or `identity` (new fingerprint, apps and data
|
|
118
|
+
* kept). Without `mode` the reset is `full`, or `identity` on devices with
|
|
119
|
+
* `factoryReset=false`. A mode or `preserve` value the device does not support is
|
|
120
|
+
* refused with 400 `DEVICE_TOOL_UNSUPPORTED`. `preserve` restores the latest
|
|
121
|
+
* proxy, location, locale or timezone set through the API after the reset; omitted
|
|
122
|
+
* or empty preserves nothing. The device becomes ready again after the reset.
|
|
117
123
|
*/
|
|
118
124
|
reset(deviceID: string, body?: DeviceResetParams | null | undefined, options?: RequestOptions): APIPromise<void>;
|
|
119
125
|
/**
|
|
120
|
-
* Wakes a parked device:
|
|
121
|
-
*
|
|
122
|
-
*
|
|
126
|
+
* Wakes a parked device: it first checks that the device can run again, then the
|
|
127
|
+
* same device starts and per-minute billing resumes. On a device that is not
|
|
128
|
+
* parked, the request does nothing.
|
|
123
129
|
*/
|
|
124
130
|
resume(deviceID: string, options?: RequestOptions): APIPromise<void>;
|
|
125
131
|
/**
|
|
@@ -144,9 +150,13 @@ export declare class Devices extends APIResource {
|
|
|
144
150
|
*/
|
|
145
151
|
summary(query?: DeviceSummaryParams | null | undefined, options?: RequestOptions): APIPromise<DeviceSummaryResponse>;
|
|
146
152
|
/**
|
|
147
|
-
* Terminates the device and releases its resources.
|
|
148
|
-
*
|
|
149
|
-
*
|
|
153
|
+
* Terminates the device and releases its resources. For a personal (BYOD) device
|
|
154
|
+
* the owner (API key or user) can instead remove the phone from the account so
|
|
155
|
+
* anyone can pair it again; the phone must be disconnected first, otherwise the
|
|
156
|
+
* request is rejected with 409 BYOD_DEVICE_CONNECTED. Other subscription-billed
|
|
157
|
+
* devices cannot be terminated with this request; it is rejected with 401. The
|
|
158
|
+
* `terminateAt` and `previousDeviceId` body fields are reserved for internal use;
|
|
159
|
+
* requests that set them are rejected with 401.
|
|
150
160
|
*/
|
|
151
161
|
terminate(deviceID: string, body?: DeviceTerminateParams | null | undefined, options?: RequestOptions): APIPromise<void>;
|
|
152
162
|
/**
|
|
@@ -283,7 +293,6 @@ export declare namespace DeviceFingerprintResponse {
|
|
|
283
293
|
brand?: string;
|
|
284
294
|
device?: string;
|
|
285
295
|
hardware?: string;
|
|
286
|
-
imageRepository?: string;
|
|
287
296
|
manufacturer?: string;
|
|
288
297
|
model?: string;
|
|
289
298
|
}
|
|
@@ -316,12 +325,14 @@ export declare namespace DeviceRetrieveCapabilitiesResponse {
|
|
|
316
325
|
logcat: boolean;
|
|
317
326
|
microphoneInjection: boolean;
|
|
318
327
|
proxy: boolean;
|
|
328
|
+
reboot: boolean;
|
|
319
329
|
recording: boolean;
|
|
320
330
|
reset: boolean;
|
|
321
331
|
shell: boolean;
|
|
322
332
|
spoofing: boolean;
|
|
323
333
|
stop: boolean;
|
|
324
334
|
stream: boolean;
|
|
335
|
+
telephony: boolean;
|
|
325
336
|
time: boolean;
|
|
326
337
|
trafficInspection: boolean;
|
|
327
338
|
mediaInjectionTransport?: 'direct';
|
|
@@ -419,16 +430,24 @@ export interface DeviceCreateParams {
|
|
|
419
430
|
*/
|
|
420
431
|
query_country?: string;
|
|
421
432
|
/**
|
|
422
|
-
* Query param:
|
|
423
|
-
*
|
|
424
|
-
*
|
|
425
|
-
*
|
|
433
|
+
* Query param: Device type: android_cloud_phone (cloud Android phone), ios_phone
|
|
434
|
+
* or device_slot. Any other value is rejected with 422. Not every device type is
|
|
435
|
+
* available for creation; an unavailable type returns DEVICE_TYPE_UNAVAILABLE
|
|
436
|
+
* (422).
|
|
426
437
|
*/
|
|
427
|
-
deviceType?:
|
|
438
|
+
deviceType?: 'android_cloud_phone' | 'ios_phone' | 'device_slot';
|
|
428
439
|
/**
|
|
429
440
|
* Query param: Profile ID to use as device spec
|
|
430
441
|
*/
|
|
431
442
|
profileId?: string;
|
|
443
|
+
/**
|
|
444
|
+
* Query param: Optional device template, e.g. onboarding. The device gets the
|
|
445
|
+
* template's Android version and preinstalled apps and is ready in seconds when a
|
|
446
|
+
* prepared phone is available; otherwise it boots with the same setup. Country,
|
|
447
|
+
* name and proxy still come from this request. Cannot be combined with profileId,
|
|
448
|
+
* apps or androidVersion. Omit it to create from the request alone.
|
|
449
|
+
*/
|
|
450
|
+
template?: string;
|
|
432
451
|
/**
|
|
433
452
|
* Body param
|
|
434
453
|
*/
|
|
@@ -526,8 +545,7 @@ export interface DeviceListParams {
|
|
|
526
545
|
page?: number;
|
|
527
546
|
pageSize?: number;
|
|
528
547
|
/**
|
|
529
|
-
* Filter by the device's platform as served in the platform field
|
|
530
|
-
* announced, else type-derived).
|
|
548
|
+
* Filter by the device's platform as served in the platform field.
|
|
531
549
|
*/
|
|
532
550
|
platform?: 'android' | 'ios';
|
|
533
551
|
providerId?: string;
|
|
@@ -543,10 +561,9 @@ export interface DeviceListParams {
|
|
|
543
561
|
*/
|
|
544
562
|
state?: Array<'creating' | 'assigned' | 'ready' | 'rebooting' | 'migrating' | 'resetting' | 'terminated' | 'maintenance' | 'stopped' | 'unknown'> | null;
|
|
545
563
|
/**
|
|
546
|
-
*
|
|
547
|
-
* Availability depends on the deployment.
|
|
564
|
+
* Filter by device type.
|
|
548
565
|
*/
|
|
549
|
-
type?: 'android_cloud_phone' | '
|
|
566
|
+
type?: 'android_cloud_phone' | 'ios_phone' | 'device_slot';
|
|
550
567
|
}
|
|
551
568
|
export interface DeviceFingerprintParams {
|
|
552
569
|
'X-Device-Display-ID'?: number;
|
|
@@ -559,6 +576,11 @@ export interface DeviceResetParams {
|
|
|
559
576
|
* capabilities report factoryReset=false.
|
|
560
577
|
*/
|
|
561
578
|
mode?: 'full' | 'identity';
|
|
579
|
+
/**
|
|
580
|
+
* Device configuration to restore after the reset: the latest value set through
|
|
581
|
+
* the API. Omitted, null or empty preserves nothing.
|
|
582
|
+
*/
|
|
583
|
+
preserve?: Array<'proxy' | 'location' | 'locale' | 'timezone'> | null;
|
|
562
584
|
}
|
|
563
585
|
export interface DeviceSetNameParams {
|
|
564
586
|
name: string;
|
|
@@ -592,5 +614,7 @@ export declare namespace Devices {
|
|
|
592
614
|
export { Kiosk as Kiosk, type KioskDisableParams as KioskDisableParams, type KioskEnableParams as KioskEnableParams, };
|
|
593
615
|
export { Recordings as Recordings, type RecordingListResponse as RecordingListResponse, type RecordingScreenshotsResponse as RecordingScreenshotsResponse, type RecordingStartResponse as RecordingStartResponse, type RecordingStatusResponse as RecordingStatusResponse, type RecordingStopResponse as RecordingStopResponse, type RecordingListParams as RecordingListParams, type RecordingDeleteParams as RecordingDeleteParams, type RecordingScreenshotsParams as RecordingScreenshotsParams, type RecordingStartParams as RecordingStartParams, type RecordingStatusParams as RecordingStatusParams, type RecordingStopParams as RecordingStopParams, type RecordingTrajectoryParams as RecordingTrajectoryParams, type RecordingVideoParams as RecordingVideoParams, };
|
|
594
616
|
export { TrafficSessions as TrafficSessions, type TrafficSessionCreateResponse as TrafficSessionCreateResponse, type TrafficSessionRetrieveResponse as TrafficSessionRetrieveResponse, type TrafficSessionListResponse as TrafficSessionListResponse, type TrafficSessionDeleteResponse as TrafficSessionDeleteResponse, type TrafficSessionCreateParams as TrafficSessionCreateParams, type TrafficSessionRetrieveParams as TrafficSessionRetrieveParams, type TrafficSessionListParams as TrafficSessionListParams, type TrafficSessionDeleteParams as TrafficSessionDeleteParams, };
|
|
617
|
+
export { Number as Number, type NumberRetrieveResponse as NumberRetrieveResponse, type NumberBindResponse as NumberBindResponse, type NumberUnbindResponse as NumberUnbindResponse, type NumberRetrieveParams as NumberRetrieveParams, type NumberBindParams as NumberBindParams, type NumberUnbindParams as NumberUnbindParams, };
|
|
618
|
+
export { NumberBindings as NumberBindings, type NumberBindingListResponse as NumberBindingListResponse, type NumberBindingListCandidatesResponse as NumberBindingListCandidatesResponse, };
|
|
595
619
|
}
|
|
596
620
|
//# sourceMappingURL=devices.d.mts.map
|