@mobilerun/sdk 5.2.0 → 5.2.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 +17 -0
- package/README.md +15 -12
- package/client.d.mts +33 -15
- package/client.d.mts.map +1 -1
- package/client.d.ts +33 -15
- package/client.d.ts.map +1 -1
- package/client.js +21 -3
- package/client.js.map +1 -1
- package/client.mjs +21 -3
- package/client.mjs.map +1 -1
- package/package.json +2 -2
- package/resources/agents.d.mts +27 -0
- package/resources/agents.d.mts.map +1 -0
- package/resources/agents.d.ts +27 -0
- package/resources/agents.d.ts.map +1 -0
- package/resources/agents.js +15 -0
- package/resources/agents.js.map +1 -0
- package/resources/agents.mjs +11 -0
- package/resources/agents.mjs.map +1 -0
- package/resources/app-events/app-events.d.mts +81 -0
- package/resources/app-events/app-events.d.mts.map +1 -0
- package/resources/app-events/app-events.d.ts +81 -0
- package/resources/app-events/app-events.d.ts.map +1 -0
- package/resources/app-events/app-events.js +33 -0
- package/resources/app-events/app-events.js.map +1 -0
- package/resources/app-events/app-events.mjs +28 -0
- package/resources/app-events/app-events.mjs.map +1 -0
- package/resources/app-events/catalog.d.mts +64 -0
- package/resources/app-events/catalog.d.mts.map +1 -0
- package/resources/app-events/catalog.d.ts +64 -0
- package/resources/app-events/catalog.d.ts.map +1 -0
- package/resources/app-events/catalog.js +25 -0
- package/resources/app-events/catalog.js.map +1 -0
- package/resources/app-events/catalog.mjs +21 -0
- package/resources/app-events/catalog.mjs.map +1 -0
- package/resources/app-events/index.d.mts +3 -0
- package/resources/app-events/index.d.mts.map +1 -0
- package/resources/app-events/index.d.ts +3 -0
- package/resources/app-events/index.d.ts.map +1 -0
- package/resources/{workflows/events → app-events}/index.js +3 -3
- package/resources/app-events/index.js.map +1 -0
- package/resources/{workflows/events → app-events}/index.mjs +1 -1
- package/resources/app-events/index.mjs.map +1 -0
- package/resources/app-events.d.mts +2 -0
- package/resources/app-events.d.mts.map +1 -0
- package/resources/app-events.d.ts +2 -0
- package/resources/app-events.d.ts.map +1 -0
- package/resources/app-events.js +6 -0
- package/resources/app-events.js.map +1 -0
- package/resources/app-events.mjs +3 -0
- package/resources/app-events.mjs.map +1 -0
- package/resources/apps.d.mts +32 -1
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +32 -1
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +12 -0
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +12 -0
- package/resources/apps.mjs.map +1 -1
- package/resources/credentials/credentials.d.mts +24 -4
- package/resources/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/credentials.d.ts +24 -4
- package/resources/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/credentials.js.map +1 -1
- package/resources/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/index.d.mts +1 -1
- package/resources/credentials/index.d.mts.map +1 -1
- package/resources/credentials/index.d.ts +1 -1
- package/resources/credentials/index.d.ts.map +1 -1
- package/resources/credentials/index.js.map +1 -1
- package/resources/credentials/index.mjs.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.mts +67 -23
- package/resources/credentials/packages/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.ts +67 -23
- package/resources/credentials/packages/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.js.map +1 -1
- package/resources/credentials/packages/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.mts +66 -4
- package/resources/credentials/packages/credentials/fields.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.ts +66 -4
- package/resources/credentials/packages/credentials/fields.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/fields.js.map +1 -1
- package/resources/credentials/packages/credentials/fields.mjs.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 -2
- package/resources/credentials/packages/index.d.mts.map +1 -1
- package/resources/credentials/packages/index.d.ts +2 -2
- package/resources/credentials/packages/index.d.ts.map +1 -1
- package/resources/credentials/packages/index.js.map +1 -1
- package/resources/credentials/packages/index.mjs.map +1 -1
- package/resources/credentials/packages/packages.d.mts +39 -4
- package/resources/credentials/packages/packages.d.mts.map +1 -1
- package/resources/credentials/packages/packages.d.ts +39 -4
- package/resources/credentials/packages/packages.d.ts.map +1 -1
- package/resources/credentials/packages/packages.js +8 -0
- package/resources/credentials/packages/packages.js.map +1 -1
- package/resources/credentials/packages/packages.mjs +8 -0
- package/resources/credentials/packages/packages.mjs.map +1 -1
- package/resources/devices/apps.d.mts +81 -1
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +81 -1
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/apps.js +59 -0
- package/resources/devices/apps.js.map +1 -1
- package/resources/devices/apps.mjs +59 -0
- package/resources/devices/apps.mjs.map +1 -1
- package/resources/devices/browser.d.mts +41 -0
- package/resources/devices/browser.d.mts.map +1 -0
- package/resources/devices/browser.d.ts +41 -0
- package/resources/devices/browser.d.ts.map +1 -0
- package/resources/devices/browser.js +31 -0
- package/resources/devices/browser.js.map +1 -0
- package/resources/devices/browser.mjs +27 -0
- package/resources/devices/browser.mjs.map +1 -0
- package/resources/devices/deep-link.d.mts +41 -0
- package/resources/devices/deep-link.d.mts.map +1 -0
- package/resources/devices/deep-link.d.ts +41 -0
- package/resources/devices/deep-link.d.ts.map +1 -0
- package/resources/devices/deep-link.js +33 -0
- package/resources/devices/deep-link.js.map +1 -0
- package/resources/devices/deep-link.mjs +29 -0
- package/resources/devices/deep-link.mjs.map +1 -0
- package/resources/devices/devices.d.mts +209 -19
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +209 -19
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +55 -2
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +55 -2
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/esim/apn.d.mts +95 -0
- package/resources/devices/esim/apn.d.mts.map +1 -0
- package/resources/devices/esim/apn.d.ts +95 -0
- package/resources/devices/esim/apn.d.ts.map +1 -0
- package/resources/devices/esim/apn.js +70 -0
- package/resources/devices/esim/apn.js.map +1 -0
- package/resources/devices/esim/apn.mjs +66 -0
- package/resources/devices/esim/apn.mjs.map +1 -0
- package/resources/devices/esim/esim.d.mts +144 -0
- package/resources/devices/esim/esim.d.mts.map +1 -0
- package/resources/devices/esim/esim.d.ts +144 -0
- package/resources/devices/esim/esim.d.ts.map +1 -0
- package/resources/devices/esim/esim.js +131 -0
- package/resources/devices/esim/esim.js.map +1 -0
- package/resources/devices/esim/esim.mjs +126 -0
- package/resources/devices/esim/esim.mjs.map +1 -0
- package/resources/devices/esim/index.d.mts +3 -0
- package/resources/devices/esim/index.d.mts.map +1 -0
- package/resources/devices/esim/index.d.ts +3 -0
- package/resources/devices/esim/index.d.ts.map +1 -0
- package/resources/devices/esim/index.js +9 -0
- package/resources/devices/esim/index.js.map +1 -0
- package/resources/devices/esim/index.mjs +4 -0
- package/resources/devices/esim/index.mjs.map +1 -0
- package/resources/devices/esim.d.mts +1 -102
- package/resources/devices/esim.d.mts.map +1 -1
- package/resources/devices/esim.d.ts +1 -102
- package/resources/devices/esim.d.ts.map +1 -1
- package/resources/devices/esim.js +2 -82
- package/resources/devices/esim.js.map +1 -1
- package/resources/devices/esim.mjs +1 -80
- package/resources/devices/esim.mjs.map +1 -1
- package/resources/devices/files.d.mts +31 -29
- package/resources/devices/files.d.mts.map +1 -1
- package/resources/devices/files.d.ts +31 -29
- package/resources/devices/files.d.ts.map +1 -1
- package/resources/devices/index.d.mts +11 -6
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +11 -6
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js +13 -3
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs +7 -2
- package/resources/devices/index.mjs.map +1 -1
- package/resources/devices/kiosk.d.mts +32 -0
- package/resources/devices/kiosk.d.mts.map +1 -0
- package/resources/devices/kiosk.d.ts +32 -0
- package/resources/devices/kiosk.d.ts.map +1 -0
- package/resources/devices/kiosk.js +50 -0
- package/resources/devices/kiosk.js.map +1 -0
- package/resources/devices/kiosk.mjs +46 -0
- package/resources/devices/kiosk.mjs.map +1 -0
- package/resources/devices/location.d.mts +9 -1
- package/resources/devices/location.d.mts.map +1 -1
- package/resources/devices/location.d.ts +9 -1
- package/resources/devices/location.d.ts.map +1 -1
- package/resources/devices/location.js +19 -0
- package/resources/devices/location.js.map +1 -1
- package/resources/devices/location.mjs +19 -0
- package/resources/devices/location.mjs.map +1 -1
- package/resources/devices/media-sessions.d.mts +96 -0
- package/resources/devices/media-sessions.d.mts.map +1 -0
- package/resources/devices/media-sessions.d.ts +96 -0
- package/resources/devices/media-sessions.d.ts.map +1 -0
- package/resources/devices/media-sessions.js +50 -0
- package/resources/devices/media-sessions.js.map +1 -0
- package/resources/devices/media-sessions.mjs +46 -0
- package/resources/devices/media-sessions.mjs.map +1 -0
- package/resources/devices/recordings.d.mts +192 -0
- package/resources/devices/recordings.d.mts.map +1 -0
- package/resources/devices/recordings.d.ts +192 -0
- package/resources/devices/recordings.d.ts.map +1 -0
- package/resources/devices/recordings.js +67 -0
- package/resources/devices/recordings.js.map +1 -0
- package/resources/devices/recordings.mjs +63 -0
- package/resources/devices/recordings.mjs.map +1 -0
- package/resources/devices/state.d.mts +6 -7
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +6 -7
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/devices/state.js.map +1 -1
- package/resources/devices/state.mjs.map +1 -1
- package/resources/devices/tasks.d.mts +8 -2
- package/resources/devices/tasks.d.mts.map +1 -1
- package/resources/devices/tasks.d.ts +8 -2
- package/resources/devices/tasks.d.ts.map +1 -1
- package/resources/devices/tasks.js.map +1 -1
- package/resources/devices/tasks.mjs.map +1 -1
- package/resources/esims/esims.d.mts +566 -0
- package/resources/esims/esims.d.mts.map +1 -0
- package/resources/esims/esims.d.ts +566 -0
- package/resources/esims/esims.d.ts.map +1 -0
- package/resources/esims/esims.js +205 -0
- package/resources/esims/esims.js.map +1 -0
- package/resources/esims/esims.mjs +200 -0
- package/resources/esims/esims.mjs.map +1 -0
- package/resources/esims/index.d.mts +3 -0
- package/resources/esims/index.d.mts.map +1 -0
- package/resources/esims/index.d.ts +3 -0
- package/resources/esims/index.d.ts.map +1 -0
- package/resources/esims/index.js +9 -0
- package/resources/esims/index.js.map +1 -0
- package/resources/esims/index.mjs +4 -0
- package/resources/esims/index.mjs.map +1 -0
- package/resources/esims/messages.d.mts +111 -0
- package/resources/esims/messages.d.mts.map +1 -0
- package/resources/esims/messages.d.ts +111 -0
- package/resources/esims/messages.d.ts.map +1 -0
- package/resources/esims/messages.js +37 -0
- package/resources/esims/messages.js.map +1 -0
- package/resources/esims/messages.mjs +33 -0
- package/resources/esims/messages.mjs.map +1 -0
- package/resources/esims.d.mts +2 -0
- package/resources/esims.d.mts.map +1 -0
- package/resources/esims.d.ts +2 -0
- package/resources/esims.d.ts.map +1 -0
- package/resources/esims.js +6 -0
- package/resources/esims.js.map +1 -0
- package/resources/esims.mjs +3 -0
- package/resources/esims.mjs.map +1 -0
- package/resources/index.d.mts +12 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +12 -6
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +15 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +7 -1
- package/resources/index.mjs.map +1 -1
- package/resources/messages/conversations.d.mts +87 -0
- package/resources/messages/conversations.d.mts.map +1 -0
- package/resources/messages/conversations.d.ts +87 -0
- package/resources/messages/conversations.d.ts.map +1 -0
- package/resources/messages/conversations.js +34 -0
- package/resources/messages/conversations.js.map +1 -0
- package/resources/messages/conversations.mjs +30 -0
- package/resources/messages/conversations.mjs.map +1 -0
- package/resources/messages/index.d.mts +3 -0
- package/resources/messages/index.d.mts.map +1 -0
- package/resources/messages/index.d.ts +3 -0
- package/resources/messages/index.d.ts.map +1 -0
- package/resources/messages/index.js +9 -0
- package/resources/messages/index.js.map +1 -0
- package/resources/messages/index.mjs +4 -0
- package/resources/messages/index.mjs.map +1 -0
- package/resources/messages/messages.d.mts +56 -0
- package/resources/messages/messages.d.mts.map +1 -0
- package/resources/messages/messages.d.ts +56 -0
- package/resources/messages/messages.d.ts.map +1 -0
- package/resources/messages/messages.js +26 -0
- package/resources/messages/messages.js.map +1 -0
- package/resources/messages/messages.mjs +21 -0
- package/resources/messages/messages.mjs.map +1 -0
- package/resources/messages.d.mts +2 -0
- package/resources/messages.d.mts.map +1 -0
- package/resources/messages.d.ts +2 -0
- package/resources/messages.d.ts.map +1 -0
- package/resources/messages.js +6 -0
- package/resources/messages.js.map +1 -0
- package/resources/messages.mjs +3 -0
- package/resources/messages.mjs.map +1 -0
- package/resources/notifications.d.mts +86 -0
- package/resources/notifications.d.mts.map +1 -0
- package/resources/notifications.d.ts +86 -0
- package/resources/notifications.d.ts.map +1 -0
- package/resources/notifications.js +55 -0
- package/resources/notifications.js.map +1 -0
- package/resources/notifications.mjs +51 -0
- package/resources/notifications.mjs.map +1 -0
- package/resources/numbers/index.d.mts +3 -0
- package/resources/numbers/index.d.mts.map +1 -0
- package/resources/numbers/index.d.ts +3 -0
- package/resources/numbers/index.d.ts.map +1 -0
- package/resources/numbers/index.js +9 -0
- package/resources/numbers/index.js.map +1 -0
- package/resources/numbers/index.mjs +4 -0
- package/resources/numbers/index.mjs.map +1 -0
- package/resources/numbers/messages.d.mts +60 -0
- package/resources/numbers/messages.d.mts.map +1 -0
- package/resources/numbers/messages.d.ts +60 -0
- package/resources/numbers/messages.d.ts.map +1 -0
- package/resources/numbers/messages.js +25 -0
- package/resources/numbers/messages.js.map +1 -0
- package/resources/numbers/messages.mjs +21 -0
- package/resources/numbers/messages.mjs.map +1 -0
- package/resources/numbers/numbers.d.mts +222 -0
- package/resources/numbers/numbers.d.mts.map +1 -0
- package/resources/numbers/numbers.d.ts +222 -0
- package/resources/numbers/numbers.d.ts.map +1 -0
- package/resources/numbers/numbers.js +117 -0
- package/resources/numbers/numbers.js.map +1 -0
- package/resources/numbers/numbers.mjs +112 -0
- package/resources/numbers/numbers.mjs.map +1 -0
- package/resources/numbers.d.mts +2 -0
- package/resources/numbers.d.mts.map +1 -0
- package/resources/numbers.d.ts +2 -0
- package/resources/numbers.d.ts.map +1 -0
- package/resources/numbers.js +6 -0
- package/resources/numbers.js.map +1 -0
- package/resources/numbers.mjs +3 -0
- package/resources/numbers.mjs.map +1 -0
- package/resources/proxies.d.mts +43 -20
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +43 -20
- package/resources/proxies.d.ts.map +1 -1
- package/resources/proxies.js.map +1 -1
- package/resources/proxies.mjs.map +1 -1
- package/resources/shared.d.mts +11 -3
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +11 -3
- package/resources/shared.d.ts.map +1 -1
- package/resources/store/apps.d.mts +119 -0
- package/resources/store/apps.d.mts.map +1 -0
- package/resources/store/apps.d.ts +119 -0
- package/resources/store/apps.d.ts.map +1 -0
- package/resources/store/apps.js +31 -0
- package/resources/store/apps.js.map +1 -0
- package/resources/store/apps.mjs +27 -0
- package/resources/store/apps.mjs.map +1 -0
- package/resources/store/index.d.mts +3 -0
- package/resources/store/index.d.mts.map +1 -0
- package/resources/store/index.d.ts +3 -0
- package/resources/store/index.d.ts.map +1 -0
- package/resources/store/index.js +9 -0
- package/resources/store/index.js.map +1 -0
- package/resources/store/index.mjs +4 -0
- package/resources/store/index.mjs.map +1 -0
- package/resources/store/store.d.mts +20 -0
- package/resources/store/store.d.mts.map +1 -0
- package/resources/store/store.d.ts +20 -0
- package/resources/store/store.d.ts.map +1 -0
- package/resources/store/store.js +23 -0
- package/resources/store/store.js.map +1 -0
- package/resources/store/store.mjs +18 -0
- package/resources/store/store.mjs.map +1 -0
- package/resources/store.d.mts +2 -0
- package/resources/store.d.mts.map +1 -0
- package/resources/store.d.ts +2 -0
- package/resources/store.d.ts.map +1 -0
- package/resources/store.js +6 -0
- package/resources/store.js.map +1 -0
- package/resources/store.mjs +3 -0
- package/resources/store.mjs.map +1 -0
- package/resources/tasks/index.d.mts +3 -3
- package/resources/tasks/index.d.mts.map +1 -1
- package/resources/tasks/index.d.ts +3 -3
- package/resources/tasks/index.d.ts.map +1 -1
- package/resources/tasks/index.js.map +1 -1
- package/resources/tasks/index.mjs +1 -1
- package/resources/tasks/index.mjs.map +1 -1
- package/resources/tasks/screenshots.d.mts +3 -3
- package/resources/tasks/screenshots.d.mts.map +1 -1
- package/resources/tasks/screenshots.d.ts +3 -3
- package/resources/tasks/screenshots.d.ts.map +1 -1
- package/resources/tasks/tasks.d.mts +65 -34
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +65 -34
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs +1 -1
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/tasks/ui-states.d.mts +8 -3
- package/resources/tasks/ui-states.d.mts.map +1 -1
- package/resources/tasks/ui-states.d.ts +8 -3
- package/resources/tasks/ui-states.d.ts.map +1 -1
- package/resources/tasks/ui-states.js.map +1 -1
- package/resources/tasks/ui-states.mjs.map +1 -1
- package/resources/workflows/action-catalog.d.mts +27 -13
- package/resources/workflows/action-catalog.d.mts.map +1 -1
- package/resources/workflows/action-catalog.d.ts +27 -13
- package/resources/workflows/action-catalog.d.ts.map +1 -1
- package/resources/workflows/actions/actions.d.mts +85 -23
- package/resources/workflows/actions/actions.d.mts.map +1 -1
- package/resources/workflows/actions/actions.d.ts +85 -23
- package/resources/workflows/actions/actions.d.ts.map +1 -1
- package/resources/workflows/actions/actions.js.map +1 -1
- 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/events.d.mts +144 -1
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +144 -1
- package/resources/workflows/events.d.ts.map +1 -1
- package/resources/workflows/events.js +18 -2
- package/resources/workflows/events.js.map +1 -1
- package/resources/workflows/events.mjs +16 -1
- package/resources/workflows/events.mjs.map +1 -1
- package/resources/workflows/executions.d.mts +75 -26
- package/resources/workflows/executions.d.mts.map +1 -1
- package/resources/workflows/executions.d.ts +75 -26
- package/resources/workflows/executions.d.ts.map +1 -1
- package/resources/workflows/executions.js +7 -0
- package/resources/workflows/executions.js.map +1 -1
- package/resources/workflows/executions.mjs +7 -0
- package/resources/workflows/executions.mjs.map +1 -1
- package/resources/workflows/flows/actions.d.mts +109 -26
- package/resources/workflows/flows/actions.d.mts.map +1 -1
- package/resources/workflows/flows/actions.d.ts +109 -26
- package/resources/workflows/flows/actions.d.ts.map +1 -1
- package/resources/workflows/flows/actions.js.map +1 -1
- package/resources/workflows/flows/actions.mjs.map +1 -1
- package/resources/workflows/flows/flows.d.mts +373 -25
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +373 -25
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +25 -0
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +25 -0
- package/resources/workflows/flows/flows.mjs.map +1 -1
- package/resources/workflows/flows/index.d.mts +2 -2
- package/resources/workflows/flows/index.d.mts.map +1 -1
- package/resources/workflows/flows/index.d.ts +2 -2
- package/resources/workflows/flows/index.d.ts.map +1 -1
- package/resources/workflows/flows/index.js.map +1 -1
- package/resources/workflows/flows/index.mjs.map +1 -1
- package/resources/workflows/index.d.mts +6 -6
- package/resources/workflows/index.d.mts.map +1 -1
- package/resources/workflows/index.d.ts +6 -6
- package/resources/workflows/index.d.ts.map +1 -1
- package/resources/workflows/index.js +4 -4
- package/resources/workflows/index.js.map +1 -1
- package/resources/workflows/index.mjs +1 -1
- package/resources/workflows/index.mjs.map +1 -1
- package/resources/workflows/triggers.d.mts +6 -3
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +6 -3
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/workflows.d.mts +10 -48
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +10 -48
- package/resources/workflows/workflows.d.ts.map +1 -1
- package/resources/workflows/workflows.js +2 -2
- package/resources/workflows/workflows.js.map +1 -1
- package/resources/workflows/workflows.mjs +2 -2
- package/resources/workflows/workflows.mjs.map +1 -1
- package/src/client.ts +131 -21
- package/src/resources/agents.ts +42 -0
- package/src/resources/app-events/app-events.ts +133 -0
- package/src/resources/app-events/catalog.ts +100 -0
- package/src/resources/app-events/index.ts +9 -0
- package/src/resources/app-events.ts +3 -0
- package/src/resources/apps.ts +39 -0
- package/src/resources/credentials/credentials.ts +40 -2
- package/src/resources/credentials/index.ts +1 -0
- package/src/resources/credentials/packages/credentials/credentials.ts +108 -33
- package/src/resources/credentials/packages/credentials/fields.ts +114 -4
- package/src/resources/credentials/packages/credentials/index.ts +0 -1
- package/src/resources/credentials/packages/index.ts +1 -1
- package/src/resources/credentials/packages/packages.ts +58 -3
- package/src/resources/devices/apps.ts +155 -0
- package/src/resources/devices/browser.ts +71 -0
- package/src/resources/devices/deep-link.ts +70 -0
- package/src/resources/devices/devices.ts +414 -23
- package/src/resources/devices/esim/apn.ts +178 -0
- package/src/resources/devices/esim/esim.ts +312 -0
- package/src/resources/devices/esim/index.ts +21 -0
- package/src/resources/devices/esim.ts +1 -208
- package/src/resources/devices/files.ts +36 -35
- package/src/resources/devices/index.ts +45 -5
- package/src/resources/devices/kiosk.ts +74 -0
- package/src/resources/devices/location.ts +33 -1
- package/src/resources/devices/media-sessions.ts +168 -0
- package/src/resources/devices/recordings.ts +358 -0
- package/src/resources/devices/state.ts +7 -9
- package/src/resources/devices/tasks.ts +11 -2
- package/src/resources/esims/esims.ts +1013 -0
- package/src/resources/esims/index.ts +27 -0
- package/src/resources/esims/messages.ts +193 -0
- package/src/resources/esims.ts +3 -0
- package/src/resources/index.ts +52 -8
- package/src/resources/messages/conversations.ts +138 -0
- package/src/resources/messages/index.ts +10 -0
- package/src/resources/messages/messages.ts +120 -0
- package/src/resources/messages.ts +3 -0
- package/src/resources/notifications.ts +118 -0
- package/src/resources/numbers/index.ts +14 -0
- package/src/resources/numbers/messages.ts +102 -0
- package/src/resources/numbers/numbers.ts +339 -0
- package/src/resources/numbers.ts +3 -0
- package/src/resources/proxies.ts +52 -22
- package/src/resources/shared.ts +18 -4
- package/src/resources/store/apps.ts +704 -0
- package/src/resources/store/index.ts +10 -0
- package/src/resources/store/store.ts +36 -0
- package/src/resources/store.ts +3 -0
- package/src/resources/tasks/index.ts +7 -6
- package/src/resources/tasks/screenshots.ts +3 -3
- package/src/resources/tasks/tasks.ts +89 -53
- package/src/resources/tasks/ui-states.ts +9 -2
- package/src/resources/workflows/action-catalog.ts +35 -14
- package/src/resources/workflows/actions/actions.ts +124 -24
- package/src/resources/workflows/actions/index.ts +0 -1
- package/src/resources/workflows/events.ts +226 -1
- package/src/resources/workflows/executions.ts +112 -35
- package/src/resources/workflows/flows/actions.ts +129 -25
- package/src/resources/workflows/flows/flows.ts +622 -24
- package/src/resources/workflows/flows/index.ts +3 -3
- package/src/resources/workflows/index.ts +6 -7
- package/src/resources/workflows/triggers.ts +6 -3
- package/src/resources/workflows/workflows.ts +16 -90
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/hooks.d.mts +0 -4
- package/resources/hooks.d.mts.map +0 -1
- package/resources/hooks.d.ts +0 -4
- package/resources/hooks.d.ts.map +0 -1
- package/resources/hooks.js +0 -9
- package/resources/hooks.js.map +0 -1
- package/resources/hooks.mjs +0 -5
- package/resources/hooks.mjs.map +0 -1
- package/resources/workflows/events/catalog.d.mts +0 -4
- package/resources/workflows/events/catalog.d.mts.map +0 -1
- package/resources/workflows/events/catalog.d.ts +0 -4
- package/resources/workflows/events/catalog.d.ts.map +0 -1
- package/resources/workflows/events/catalog.js +0 -9
- package/resources/workflows/events/catalog.js.map +0 -1
- package/resources/workflows/events/catalog.mjs +0 -5
- package/resources/workflows/events/catalog.mjs.map +0 -1
- package/resources/workflows/events/events.d.mts +0 -113
- package/resources/workflows/events/events.d.mts.map +0 -1
- package/resources/workflows/events/events.d.ts +0 -113
- package/resources/workflows/events/events.d.ts.map +0 -1
- package/resources/workflows/events/events.js +0 -30
- package/resources/workflows/events/events.js.map +0 -1
- package/resources/workflows/events/events.mjs +0 -25
- package/resources/workflows/events/events.mjs.map +0 -1
- package/resources/workflows/events/index.d.mts +0 -3
- package/resources/workflows/events/index.d.mts.map +0 -1
- package/resources/workflows/events/index.d.ts +0 -3
- package/resources/workflows/events/index.d.ts.map +0 -1
- package/resources/workflows/events/index.js.map +0 -1
- package/resources/workflows/events/index.mjs.map +0 -1
- package/src/resources/hooks.ts +0 -5
- package/src/resources/workflows/events/catalog.ts +0 -5
- package/src/resources/workflows/events/events.ts +0 -167
- package/src/resources/workflows/events/index.ts +0 -10
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
|
-
import * as FlowsAPI from "./flows.js";
|
|
3
2
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
4
3
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
5
4
|
export declare class Actions extends APIResource {
|
|
@@ -28,45 +27,108 @@ export declare class Actions extends APIResource {
|
|
|
28
27
|
*/
|
|
29
28
|
replace(flowID: string, body: ActionReplaceParams, options?: RequestOptions): APIPromise<ActionReplaceResponse>;
|
|
30
29
|
}
|
|
31
|
-
export interface
|
|
32
|
-
|
|
33
|
-
actionId: string;
|
|
34
|
-
continueOnError: boolean;
|
|
35
|
-
createdAt: string | null;
|
|
36
|
-
flowId: string;
|
|
37
|
-
nameOverride: string | null;
|
|
38
|
-
overrides: FlowAction.Overrides | null;
|
|
39
|
-
parentFlowActionId: string | null;
|
|
40
|
-
position: number;
|
|
30
|
+
export interface ActionListResponse {
|
|
31
|
+
data: Array<ActionListResponse.Data>;
|
|
41
32
|
}
|
|
42
|
-
export declare namespace
|
|
43
|
-
interface
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
33
|
+
export declare namespace ActionListResponse {
|
|
34
|
+
interface Data {
|
|
35
|
+
id: string;
|
|
36
|
+
actionId: string;
|
|
37
|
+
continueOnError: boolean;
|
|
38
|
+
createdAt: string | null;
|
|
39
|
+
flowId: string;
|
|
40
|
+
nameOverride: string | null;
|
|
41
|
+
overrides: Data.Overrides | null;
|
|
42
|
+
parentFlowActionId: string | null;
|
|
43
|
+
position: number;
|
|
44
|
+
}
|
|
45
|
+
namespace Data {
|
|
46
|
+
interface Overrides {
|
|
47
|
+
params?: {
|
|
48
|
+
[key: string]: unknown;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
47
51
|
}
|
|
48
|
-
}
|
|
49
|
-
export interface ActionListResponse {
|
|
50
|
-
data: Array<FlowAction>;
|
|
51
52
|
}
|
|
52
53
|
export interface ActionAddResponse {
|
|
53
|
-
data:
|
|
54
|
+
data: ActionAddResponse.Data;
|
|
55
|
+
}
|
|
56
|
+
export declare namespace ActionAddResponse {
|
|
57
|
+
interface Data {
|
|
58
|
+
id: string;
|
|
59
|
+
actionId: string;
|
|
60
|
+
continueOnError: boolean;
|
|
61
|
+
createdAt: string | null;
|
|
62
|
+
flowId: string;
|
|
63
|
+
nameOverride: string | null;
|
|
64
|
+
overrides: Data.Overrides | null;
|
|
65
|
+
parentFlowActionId: string | null;
|
|
66
|
+
position: number;
|
|
67
|
+
}
|
|
68
|
+
namespace Data {
|
|
69
|
+
interface Overrides {
|
|
70
|
+
params?: {
|
|
71
|
+
[key: string]: unknown;
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
}
|
|
54
75
|
}
|
|
55
76
|
export interface ActionRemoveResponse {
|
|
56
77
|
message: string;
|
|
57
78
|
}
|
|
58
79
|
export interface ActionReplaceResponse {
|
|
59
|
-
data: Array<
|
|
80
|
+
data: Array<ActionReplaceResponse.Data>;
|
|
81
|
+
}
|
|
82
|
+
export declare namespace ActionReplaceResponse {
|
|
83
|
+
interface Data {
|
|
84
|
+
id: string;
|
|
85
|
+
actionId: string;
|
|
86
|
+
continueOnError: boolean;
|
|
87
|
+
createdAt: string | null;
|
|
88
|
+
flowId: string;
|
|
89
|
+
nameOverride: string | null;
|
|
90
|
+
overrides: Data.Overrides | null;
|
|
91
|
+
parentFlowActionId: string | null;
|
|
92
|
+
position: number;
|
|
93
|
+
}
|
|
94
|
+
namespace Data {
|
|
95
|
+
interface Overrides {
|
|
96
|
+
params?: {
|
|
97
|
+
[key: string]: unknown;
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
}
|
|
60
101
|
}
|
|
61
102
|
export interface ActionAddParams {
|
|
62
103
|
actionId: string;
|
|
63
104
|
position: number;
|
|
64
|
-
children?: Array<
|
|
105
|
+
children?: Array<ActionAddParams.Child>;
|
|
65
106
|
continueOnError?: boolean;
|
|
66
107
|
nameOverride?: string;
|
|
67
|
-
overrides?:
|
|
108
|
+
overrides?: ActionAddParams.Overrides | null;
|
|
68
109
|
parentFlowActionId?: string | null;
|
|
69
110
|
}
|
|
111
|
+
export declare namespace ActionAddParams {
|
|
112
|
+
interface Child {
|
|
113
|
+
actionId: string;
|
|
114
|
+
position: number;
|
|
115
|
+
continueOnError?: boolean;
|
|
116
|
+
nameOverride?: string;
|
|
117
|
+
overrides?: Child.Overrides | null;
|
|
118
|
+
}
|
|
119
|
+
namespace Child {
|
|
120
|
+
interface Overrides {
|
|
121
|
+
params?: {
|
|
122
|
+
[key: string]: unknown;
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
interface Overrides {
|
|
127
|
+
params?: {
|
|
128
|
+
[key: string]: unknown;
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
}
|
|
70
132
|
export interface ActionRemoveParams {
|
|
71
133
|
flowId: string;
|
|
72
134
|
}
|
|
@@ -77,13 +139,34 @@ export declare namespace ActionReplaceParams {
|
|
|
77
139
|
interface Action {
|
|
78
140
|
actionId: string;
|
|
79
141
|
position: number;
|
|
80
|
-
children?: Array<
|
|
142
|
+
children?: Array<Action.Child>;
|
|
81
143
|
continueOnError?: boolean;
|
|
82
144
|
nameOverride?: string;
|
|
83
|
-
overrides?:
|
|
145
|
+
overrides?: Action.Overrides | null;
|
|
146
|
+
}
|
|
147
|
+
namespace Action {
|
|
148
|
+
interface Child {
|
|
149
|
+
actionId: string;
|
|
150
|
+
position: number;
|
|
151
|
+
continueOnError?: boolean;
|
|
152
|
+
nameOverride?: string;
|
|
153
|
+
overrides?: Child.Overrides | null;
|
|
154
|
+
}
|
|
155
|
+
namespace Child {
|
|
156
|
+
interface Overrides {
|
|
157
|
+
params?: {
|
|
158
|
+
[key: string]: unknown;
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
interface Overrides {
|
|
163
|
+
params?: {
|
|
164
|
+
[key: string]: unknown;
|
|
165
|
+
};
|
|
166
|
+
}
|
|
84
167
|
}
|
|
85
168
|
}
|
|
86
169
|
export declare namespace Actions {
|
|
87
|
-
export { type
|
|
170
|
+
export { type ActionListResponse as ActionListResponse, type ActionAddResponse as ActionAddResponse, type ActionRemoveResponse as ActionRemoveResponse, type ActionReplaceResponse as ActionReplaceResponse, type ActionAddParams as ActionAddParams, type ActionRemoveParams as ActionRemoveParams, type ActionReplaceParams as ActionReplaceParams, };
|
|
88
171
|
}
|
|
89
172
|
//# sourceMappingURL=actions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/flows/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/flows/actions.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/workflows/flows/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;
|
|
1
|
+
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/workflows/flows/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAoD;AAEpD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;OAGG;IACH,IAAI,CAAC,MAAc,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,UAAU,MAAM,UAAU,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED;;;;;OAKG;IACH,GAAG,CAAC,MAAc,EAAE,IAAqB,EAAE,OAAwB;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,UAAU,MAAM,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,YAAoB,EACpB,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,UAAU,MAAM,YAAY,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;;;;OAKG;IACH,OAAO,CACL,MAAc,EACd,IAAyB,EACzB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,UAAU,MAAM,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AA7CD,0BA6CC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/flows/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;
|
|
1
|
+
{"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/flows/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAGrD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;OAGG;IACH,IAAI,CAAC,MAAc,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,UAAU,MAAM,UAAU,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED;;;;;OAKG;IACH,GAAG,CAAC,MAAc,EAAE,IAAqB,EAAE,OAAwB;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,UAAU,MAAM,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,YAAoB,EACpB,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,UAAU,MAAM,YAAY,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;;;;OAKG;IACH,OAAO,CACL,MAAc,EACd,IAAyB,EACzB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,UAAU,MAAM,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
-
import * as FlowsAPI from "./flows.mjs";
|
|
3
2
|
import * as Shared from "../../shared.mjs";
|
|
4
|
-
import * as WorkflowsAPI from "../workflows.mjs";
|
|
5
3
|
import * as ActionsAPI from "./actions.mjs";
|
|
6
|
-
import { ActionAddParams, ActionAddResponse, ActionListResponse, ActionRemoveParams, ActionRemoveResponse, ActionReplaceParams, ActionReplaceResponse, Actions
|
|
4
|
+
import { ActionAddParams, ActionAddResponse, ActionListResponse, ActionRemoveParams, ActionRemoveResponse, ActionReplaceParams, ActionReplaceResponse, Actions } from "./actions.mjs";
|
|
7
5
|
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
8
6
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
9
7
|
export declare class Flows extends APIResource {
|
|
@@ -44,45 +42,369 @@ export declare class Flows extends APIResource {
|
|
|
44
42
|
* 404 if the source flow does not exist.
|
|
45
43
|
*/
|
|
46
44
|
clone(flowID: string, body?: FlowCloneParams | null | undefined, options?: RequestOptions): APIPromise<FlowCloneResponse>;
|
|
45
|
+
/**
|
|
46
|
+
* Simulate this flow firing without storing events, enqueuing jobs, or consuming
|
|
47
|
+
* cooldown/rate-limit slots.
|
|
48
|
+
*
|
|
49
|
+
* Works for every trigger activation type:
|
|
50
|
+
*
|
|
51
|
+
* - `event`: validates the payload against the event catalog schema and evaluates
|
|
52
|
+
* the trigger conditions.
|
|
53
|
+
* - `custom`: validates the payload against the custom payload schema (conditions
|
|
54
|
+
* do not apply).
|
|
55
|
+
* - `schedule`: ignores the payload and reports the next fire time.
|
|
56
|
+
*
|
|
57
|
+
* The response reports `wouldFire` — whether the flow would actually run right now
|
|
58
|
+
* — alongside the gates that decide it (enabled, device attached, blocked,
|
|
59
|
+
* cooldown). `rateLimited` is informational and is not folded into `wouldFire`.
|
|
60
|
+
*/
|
|
61
|
+
dryRun(flowID: string, body?: FlowDryRunParams | null | undefined, options?: RequestOptions): APIPromise<FlowDryRunResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* List self-healing repair episodes
|
|
64
|
+
*/
|
|
65
|
+
listRepairs(flowID: string, options?: RequestOptions): APIPromise<FlowListRepairsResponse>;
|
|
47
66
|
/**
|
|
48
67
|
* Clear a flow's blocked status after fixing the underlying issue. Idempotent —
|
|
49
68
|
* safe to call on already-healthy flows.
|
|
50
69
|
*/
|
|
51
70
|
unblock(flowID: string, options?: RequestOptions): APIPromise<FlowUnblockResponse>;
|
|
52
71
|
}
|
|
53
|
-
export interface FlowActionOverrides {
|
|
54
|
-
params?: {
|
|
55
|
-
[key: string]: unknown;
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
export interface FlowChildActionInput {
|
|
59
|
-
actionId: string;
|
|
60
|
-
position: number;
|
|
61
|
-
continueOnError?: boolean;
|
|
62
|
-
nameOverride?: string;
|
|
63
|
-
overrides?: FlowActionOverrides | null;
|
|
64
|
-
}
|
|
65
72
|
export interface FlowCreateResponse {
|
|
66
|
-
data:
|
|
73
|
+
data: FlowCreateResponse.Data;
|
|
74
|
+
}
|
|
75
|
+
export declare namespace FlowCreateResponse {
|
|
76
|
+
interface Data {
|
|
77
|
+
id: string;
|
|
78
|
+
blockedAt: string | null;
|
|
79
|
+
consecutiveFailures: number;
|
|
80
|
+
cooldownScope: 'flow' | 'device';
|
|
81
|
+
cooldownSeconds: number | null;
|
|
82
|
+
createdAt: string | null;
|
|
83
|
+
createdBy: string | null;
|
|
84
|
+
description: string | null;
|
|
85
|
+
deviceIds: Array<string>;
|
|
86
|
+
enabled: boolean;
|
|
87
|
+
healthMonitoringEnabled: boolean;
|
|
88
|
+
lastFailureAt: string | null;
|
|
89
|
+
lastFailureCode: 'device_not_found' | 'permission_denied' | 'client_error' | 'transient' | 'logic' | 'invalid_config' | null;
|
|
90
|
+
lastTriggeredAt: string | null;
|
|
91
|
+
name: string;
|
|
92
|
+
notifyOnFailure: boolean;
|
|
93
|
+
notifyOnSuccess: boolean;
|
|
94
|
+
notifyWebhookId: string | null;
|
|
95
|
+
ownerId: string;
|
|
96
|
+
selfHealingEnabled: boolean;
|
|
97
|
+
selfHealingMaxAttempts: number;
|
|
98
|
+
status: 'healthy' | 'failing' | 'blocked';
|
|
99
|
+
/**
|
|
100
|
+
* Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
|
|
101
|
+
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
102
|
+
* a whole-token null stays JSON null). Existing flows stay 1; new flows default
|
|
103
|
+
* to 2.
|
|
104
|
+
*/
|
|
105
|
+
templateResolutionVersion: number;
|
|
106
|
+
triggerId: string;
|
|
107
|
+
updatedAt: string | null;
|
|
108
|
+
/**
|
|
109
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
110
|
+
*/
|
|
111
|
+
userId: string;
|
|
112
|
+
}
|
|
67
113
|
}
|
|
68
114
|
export interface FlowRetrieveResponse {
|
|
69
|
-
data:
|
|
115
|
+
data: FlowRetrieveResponse.Data;
|
|
116
|
+
}
|
|
117
|
+
export declare namespace FlowRetrieveResponse {
|
|
118
|
+
interface Data {
|
|
119
|
+
id: string;
|
|
120
|
+
blockedAt: string | null;
|
|
121
|
+
consecutiveFailures: number;
|
|
122
|
+
cooldownScope: 'flow' | 'device';
|
|
123
|
+
cooldownSeconds: number | null;
|
|
124
|
+
createdAt: string | null;
|
|
125
|
+
createdBy: string | null;
|
|
126
|
+
description: string | null;
|
|
127
|
+
deviceIds: Array<string>;
|
|
128
|
+
enabled: boolean;
|
|
129
|
+
healthMonitoringEnabled: boolean;
|
|
130
|
+
lastFailureAt: string | null;
|
|
131
|
+
lastFailureCode: 'device_not_found' | 'permission_denied' | 'client_error' | 'transient' | 'logic' | 'invalid_config' | null;
|
|
132
|
+
lastTriggeredAt: string | null;
|
|
133
|
+
name: string;
|
|
134
|
+
notifyOnFailure: boolean;
|
|
135
|
+
notifyOnSuccess: boolean;
|
|
136
|
+
notifyWebhookId: string | null;
|
|
137
|
+
ownerId: string;
|
|
138
|
+
selfHealingEnabled: boolean;
|
|
139
|
+
selfHealingMaxAttempts: number;
|
|
140
|
+
status: 'healthy' | 'failing' | 'blocked';
|
|
141
|
+
/**
|
|
142
|
+
* Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
|
|
143
|
+
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
144
|
+
* a whole-token null stays JSON null). Existing flows stay 1; new flows default
|
|
145
|
+
* to 2.
|
|
146
|
+
*/
|
|
147
|
+
templateResolutionVersion: number;
|
|
148
|
+
triggerId: string;
|
|
149
|
+
updatedAt: string | null;
|
|
150
|
+
/**
|
|
151
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
152
|
+
*/
|
|
153
|
+
userId: string;
|
|
154
|
+
}
|
|
70
155
|
}
|
|
71
156
|
export interface FlowUpdateResponse {
|
|
72
|
-
data:
|
|
157
|
+
data: FlowUpdateResponse.Data;
|
|
158
|
+
}
|
|
159
|
+
export declare namespace FlowUpdateResponse {
|
|
160
|
+
interface Data {
|
|
161
|
+
id: string;
|
|
162
|
+
blockedAt: string | null;
|
|
163
|
+
consecutiveFailures: number;
|
|
164
|
+
cooldownScope: 'flow' | 'device';
|
|
165
|
+
cooldownSeconds: number | null;
|
|
166
|
+
createdAt: string | null;
|
|
167
|
+
createdBy: string | null;
|
|
168
|
+
description: string | null;
|
|
169
|
+
deviceIds: Array<string>;
|
|
170
|
+
enabled: boolean;
|
|
171
|
+
healthMonitoringEnabled: boolean;
|
|
172
|
+
lastFailureAt: string | null;
|
|
173
|
+
lastFailureCode: 'device_not_found' | 'permission_denied' | 'client_error' | 'transient' | 'logic' | 'invalid_config' | null;
|
|
174
|
+
lastTriggeredAt: string | null;
|
|
175
|
+
name: string;
|
|
176
|
+
notifyOnFailure: boolean;
|
|
177
|
+
notifyOnSuccess: boolean;
|
|
178
|
+
notifyWebhookId: string | null;
|
|
179
|
+
ownerId: string;
|
|
180
|
+
selfHealingEnabled: boolean;
|
|
181
|
+
selfHealingMaxAttempts: number;
|
|
182
|
+
status: 'healthy' | 'failing' | 'blocked';
|
|
183
|
+
/**
|
|
184
|
+
* Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
|
|
185
|
+
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
186
|
+
* a whole-token null stays JSON null). Existing flows stay 1; new flows default
|
|
187
|
+
* to 2.
|
|
188
|
+
*/
|
|
189
|
+
templateResolutionVersion: number;
|
|
190
|
+
triggerId: string;
|
|
191
|
+
updatedAt: string | null;
|
|
192
|
+
/**
|
|
193
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
194
|
+
*/
|
|
195
|
+
userId: string;
|
|
196
|
+
}
|
|
73
197
|
}
|
|
74
198
|
export interface FlowListResponse {
|
|
75
|
-
items: Array<
|
|
199
|
+
items: Array<FlowListResponse.Item>;
|
|
76
200
|
pagination: Shared.Pagination;
|
|
77
201
|
}
|
|
202
|
+
export declare namespace FlowListResponse {
|
|
203
|
+
interface Item {
|
|
204
|
+
id: string;
|
|
205
|
+
blockedAt: string | null;
|
|
206
|
+
consecutiveFailures: number;
|
|
207
|
+
cooldownScope: 'flow' | 'device';
|
|
208
|
+
cooldownSeconds: number | null;
|
|
209
|
+
createdAt: string | null;
|
|
210
|
+
createdBy: string | null;
|
|
211
|
+
description: string | null;
|
|
212
|
+
deviceIds: Array<string>;
|
|
213
|
+
enabled: boolean;
|
|
214
|
+
healthMonitoringEnabled: boolean;
|
|
215
|
+
lastFailureAt: string | null;
|
|
216
|
+
lastFailureCode: 'device_not_found' | 'permission_denied' | 'client_error' | 'transient' | 'logic' | 'invalid_config' | null;
|
|
217
|
+
lastTriggeredAt: string | null;
|
|
218
|
+
name: string;
|
|
219
|
+
notifyOnFailure: boolean;
|
|
220
|
+
notifyOnSuccess: boolean;
|
|
221
|
+
notifyWebhookId: string | null;
|
|
222
|
+
ownerId: string;
|
|
223
|
+
selfHealingEnabled: boolean;
|
|
224
|
+
selfHealingMaxAttempts: number;
|
|
225
|
+
status: 'healthy' | 'failing' | 'blocked';
|
|
226
|
+
/**
|
|
227
|
+
* Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
|
|
228
|
+
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
229
|
+
* a whole-token null stays JSON null). Existing flows stay 1; new flows default
|
|
230
|
+
* to 2.
|
|
231
|
+
*/
|
|
232
|
+
templateResolutionVersion: number;
|
|
233
|
+
triggerId: string;
|
|
234
|
+
updatedAt: string | null;
|
|
235
|
+
/**
|
|
236
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
237
|
+
*/
|
|
238
|
+
userId: string;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
78
241
|
export interface FlowDeleteResponse {
|
|
79
242
|
message: string;
|
|
80
243
|
}
|
|
81
244
|
export interface FlowCloneResponse {
|
|
82
|
-
data:
|
|
245
|
+
data: FlowCloneResponse.Data;
|
|
246
|
+
}
|
|
247
|
+
export declare namespace FlowCloneResponse {
|
|
248
|
+
interface Data {
|
|
249
|
+
id: string;
|
|
250
|
+
blockedAt: string | null;
|
|
251
|
+
consecutiveFailures: number;
|
|
252
|
+
cooldownScope: 'flow' | 'device';
|
|
253
|
+
cooldownSeconds: number | null;
|
|
254
|
+
createdAt: string | null;
|
|
255
|
+
createdBy: string | null;
|
|
256
|
+
description: string | null;
|
|
257
|
+
deviceIds: Array<string>;
|
|
258
|
+
enabled: boolean;
|
|
259
|
+
healthMonitoringEnabled: boolean;
|
|
260
|
+
lastFailureAt: string | null;
|
|
261
|
+
lastFailureCode: 'device_not_found' | 'permission_denied' | 'client_error' | 'transient' | 'logic' | 'invalid_config' | null;
|
|
262
|
+
lastTriggeredAt: string | null;
|
|
263
|
+
name: string;
|
|
264
|
+
notifyOnFailure: boolean;
|
|
265
|
+
notifyOnSuccess: boolean;
|
|
266
|
+
notifyWebhookId: string | null;
|
|
267
|
+
ownerId: string;
|
|
268
|
+
selfHealingEnabled: boolean;
|
|
269
|
+
selfHealingMaxAttempts: number;
|
|
270
|
+
status: 'healthy' | 'failing' | 'blocked';
|
|
271
|
+
/**
|
|
272
|
+
* Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
|
|
273
|
+
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
274
|
+
* a whole-token null stays JSON null). Existing flows stay 1; new flows default
|
|
275
|
+
* to 2.
|
|
276
|
+
*/
|
|
277
|
+
templateResolutionVersion: number;
|
|
278
|
+
triggerId: string;
|
|
279
|
+
updatedAt: string | null;
|
|
280
|
+
/**
|
|
281
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
282
|
+
*/
|
|
283
|
+
userId: string;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
export interface FlowDryRunResponse {
|
|
287
|
+
data: FlowDryRunResponse.Data;
|
|
288
|
+
}
|
|
289
|
+
export declare namespace FlowDryRunResponse {
|
|
290
|
+
interface Data {
|
|
291
|
+
actions: Array<Data.Action>;
|
|
292
|
+
activation: 'event' | 'schedule' | 'custom';
|
|
293
|
+
conditionsPassed: boolean | null;
|
|
294
|
+
gates: Data.Gates;
|
|
295
|
+
nextFireTime: string | null;
|
|
296
|
+
rateLimited: boolean;
|
|
297
|
+
validation: Data.Validation;
|
|
298
|
+
wouldFire: boolean;
|
|
299
|
+
}
|
|
300
|
+
namespace Data {
|
|
301
|
+
interface Action {
|
|
302
|
+
continueOnError: boolean;
|
|
303
|
+
method: string;
|
|
304
|
+
name: string;
|
|
305
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks';
|
|
306
|
+
/**
|
|
307
|
+
* Nested child actions (loop/branch bodies), each the same shape as a
|
|
308
|
+
* ResolvedAction.
|
|
309
|
+
*/
|
|
310
|
+
children?: Array<unknown>;
|
|
311
|
+
params?: {
|
|
312
|
+
[key: string]: unknown;
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
interface Gates {
|
|
316
|
+
blocked: boolean;
|
|
317
|
+
cooldownActive: boolean | null;
|
|
318
|
+
deviceAttached: boolean;
|
|
319
|
+
deviceIds: Array<string>;
|
|
320
|
+
enabled: boolean;
|
|
321
|
+
}
|
|
322
|
+
interface Validation {
|
|
323
|
+
valid: boolean;
|
|
324
|
+
errors?: Array<Validation.Error>;
|
|
325
|
+
}
|
|
326
|
+
namespace Validation {
|
|
327
|
+
interface Error {
|
|
328
|
+
field: string;
|
|
329
|
+
message: string;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
export interface FlowListRepairsResponse {
|
|
335
|
+
data: Array<FlowListRepairsResponse.Data>;
|
|
336
|
+
}
|
|
337
|
+
export declare namespace FlowListRepairsResponse {
|
|
338
|
+
interface Data {
|
|
339
|
+
id: string;
|
|
340
|
+
agentRunId: string | null;
|
|
341
|
+
attempt: number;
|
|
342
|
+
candidateSlug: string;
|
|
343
|
+
chatSessionId: string | null;
|
|
344
|
+
createdAt: string | null;
|
|
345
|
+
deviceId: string | null;
|
|
346
|
+
episode: number;
|
|
347
|
+
error: string | null;
|
|
348
|
+
failedStepIndex: number;
|
|
349
|
+
finishedAt: string | null;
|
|
350
|
+
flowId: string;
|
|
351
|
+
maxAttempts: number;
|
|
352
|
+
originalSlug: string;
|
|
353
|
+
sourceExecutionId: string;
|
|
354
|
+
startedAt: string | null;
|
|
355
|
+
status: 'pending' | 'running' | 'canary' | 'promoting' | 'repaired' | 'failed' | 'escalated';
|
|
356
|
+
updatedAt: string | null;
|
|
357
|
+
verdict: Data.Verdict | null;
|
|
358
|
+
}
|
|
359
|
+
namespace Data {
|
|
360
|
+
interface Verdict {
|
|
361
|
+
outcome: 'ok' | 'flaky' | 'broken';
|
|
362
|
+
summary: string;
|
|
363
|
+
reason?: string;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
83
366
|
}
|
|
84
367
|
export interface FlowUnblockResponse {
|
|
85
|
-
data:
|
|
368
|
+
data: FlowUnblockResponse.Data;
|
|
369
|
+
}
|
|
370
|
+
export declare namespace FlowUnblockResponse {
|
|
371
|
+
interface Data {
|
|
372
|
+
id: string;
|
|
373
|
+
blockedAt: string | null;
|
|
374
|
+
consecutiveFailures: number;
|
|
375
|
+
cooldownScope: 'flow' | 'device';
|
|
376
|
+
cooldownSeconds: number | null;
|
|
377
|
+
createdAt: string | null;
|
|
378
|
+
createdBy: string | null;
|
|
379
|
+
description: string | null;
|
|
380
|
+
deviceIds: Array<string>;
|
|
381
|
+
enabled: boolean;
|
|
382
|
+
healthMonitoringEnabled: boolean;
|
|
383
|
+
lastFailureAt: string | null;
|
|
384
|
+
lastFailureCode: 'device_not_found' | 'permission_denied' | 'client_error' | 'transient' | 'logic' | 'invalid_config' | null;
|
|
385
|
+
lastTriggeredAt: string | null;
|
|
386
|
+
name: string;
|
|
387
|
+
notifyOnFailure: boolean;
|
|
388
|
+
notifyOnSuccess: boolean;
|
|
389
|
+
notifyWebhookId: string | null;
|
|
390
|
+
ownerId: string;
|
|
391
|
+
selfHealingEnabled: boolean;
|
|
392
|
+
selfHealingMaxAttempts: number;
|
|
393
|
+
status: 'healthy' | 'failing' | 'blocked';
|
|
394
|
+
/**
|
|
395
|
+
* Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
|
|
396
|
+
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
397
|
+
* a whole-token null stays JSON null). Existing flows stay 1; new flows default
|
|
398
|
+
* to 2.
|
|
399
|
+
*/
|
|
400
|
+
templateResolutionVersion: number;
|
|
401
|
+
triggerId: string;
|
|
402
|
+
updatedAt: string | null;
|
|
403
|
+
/**
|
|
404
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
405
|
+
*/
|
|
406
|
+
userId: string;
|
|
407
|
+
}
|
|
86
408
|
}
|
|
87
409
|
export interface FlowCreateParams {
|
|
88
410
|
actions: Array<FlowCreateParams.Action>;
|
|
@@ -104,10 +426,31 @@ export declare namespace FlowCreateParams {
|
|
|
104
426
|
interface Action {
|
|
105
427
|
actionId: string;
|
|
106
428
|
position: number;
|
|
107
|
-
children?: Array<
|
|
429
|
+
children?: Array<Action.Child>;
|
|
108
430
|
continueOnError?: boolean;
|
|
109
431
|
nameOverride?: string;
|
|
110
|
-
overrides?:
|
|
432
|
+
overrides?: Action.Overrides | null;
|
|
433
|
+
}
|
|
434
|
+
namespace Action {
|
|
435
|
+
interface Child {
|
|
436
|
+
actionId: string;
|
|
437
|
+
position: number;
|
|
438
|
+
continueOnError?: boolean;
|
|
439
|
+
nameOverride?: string;
|
|
440
|
+
overrides?: Child.Overrides | null;
|
|
441
|
+
}
|
|
442
|
+
namespace Child {
|
|
443
|
+
interface Overrides {
|
|
444
|
+
params?: {
|
|
445
|
+
[key: string]: unknown;
|
|
446
|
+
};
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
interface Overrides {
|
|
450
|
+
params?: {
|
|
451
|
+
[key: string]: unknown;
|
|
452
|
+
};
|
|
453
|
+
}
|
|
111
454
|
}
|
|
112
455
|
}
|
|
113
456
|
export interface FlowUpdateParams {
|
|
@@ -147,8 +490,13 @@ export interface FlowCloneParams {
|
|
|
147
490
|
deviceIds?: Array<string>;
|
|
148
491
|
name?: string;
|
|
149
492
|
}
|
|
493
|
+
export interface FlowDryRunParams {
|
|
494
|
+
payload?: {
|
|
495
|
+
[key: string]: unknown;
|
|
496
|
+
};
|
|
497
|
+
}
|
|
150
498
|
export declare namespace Flows {
|
|
151
|
-
export { type
|
|
152
|
-
export { Actions as Actions, type
|
|
499
|
+
export { type FlowCreateResponse as FlowCreateResponse, type FlowRetrieveResponse as FlowRetrieveResponse, type FlowUpdateResponse as FlowUpdateResponse, type FlowListResponse as FlowListResponse, type FlowDeleteResponse as FlowDeleteResponse, type FlowCloneResponse as FlowCloneResponse, type FlowDryRunResponse as FlowDryRunResponse, type FlowListRepairsResponse as FlowListRepairsResponse, type FlowUnblockResponse as FlowUnblockResponse, type FlowCreateParams as FlowCreateParams, type FlowUpdateParams as FlowUpdateParams, type FlowListParams as FlowListParams, type FlowCloneParams as FlowCloneParams, type FlowDryRunParams as FlowDryRunParams, };
|
|
500
|
+
export { Actions as Actions, type ActionListResponse as ActionListResponse, type ActionAddResponse as ActionAddResponse, type ActionRemoveResponse as ActionRemoveResponse, type ActionReplaceResponse as ActionReplaceResponse, type ActionAddParams as ActionAddParams, type ActionRemoveParams as ActionRemoveParams, type ActionReplaceParams as ActionReplaceParams, };
|
|
153
501
|
}
|
|
154
502
|
//# sourceMappingURL=flows.d.mts.map
|