@mobilerun/sdk 5.1.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 +58 -0
- package/README.md +15 -12
- package/client.d.mts +35 -29
- package/client.d.mts.map +1 -1
- package/client.d.ts +35 -29
- package/client.d.ts.map +1 -1
- package/client.js +21 -15
- package/client.js.map +1 -1
- package/client.mjs +21 -15
- 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/app-events/index.mjs +4 -0
- 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 +44 -8
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +44 -8
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +12 -4
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +12 -4
- package/resources/apps.mjs.map +1 -1
- package/resources/carriers.d.mts +0 -3
- package/resources/carriers.d.mts.map +1 -1
- package/resources/carriers.d.ts +0 -3
- package/resources/carriers.d.ts.map +1 -1
- package/resources/carriers.js +0 -3
- package/resources/carriers.js.map +1 -1
- package/resources/carriers.mjs +0 -3
- package/resources/carriers.mjs.map +1 -1
- package/resources/connect/countries.d.mts +8 -3
- package/resources/connect/countries.d.mts.map +1 -1
- package/resources/connect/countries.d.ts +8 -3
- package/resources/connect/countries.d.ts.map +1 -1
- package/resources/connect/countries.js +6 -1
- package/resources/connect/countries.js.map +1 -1
- package/resources/connect/countries.mjs +6 -1
- package/resources/connect/countries.mjs.map +1 -1
- package/resources/connect/proxies.d.mts +11 -9
- package/resources/connect/proxies.d.mts.map +1 -1
- package/resources/connect/proxies.d.ts +11 -9
- package/resources/connect/proxies.d.ts.map +1 -1
- package/resources/connect/proxies.js +7 -5
- package/resources/connect/proxies.js.map +1 -1
- package/resources/connect/proxies.mjs +7 -5
- package/resources/connect/proxies.mjs.map +1 -1
- package/resources/connect/users.d.mts +7 -2
- package/resources/connect/users.d.mts.map +1 -1
- package/resources/connect/users.d.ts +7 -2
- package/resources/connect/users.d.ts.map +1 -1
- package/resources/connect/users.js +7 -2
- package/resources/connect/users.js.map +1 -1
- package/resources/connect/users.mjs +7 -2
- package/resources/connect/users.mjs.map +1 -1
- package/resources/credentials/credentials.d.mts +27 -8
- package/resources/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/credentials.d.ts +27 -8
- package/resources/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/credentials.js +3 -4
- package/resources/credentials/credentials.js.map +1 -1
- package/resources/credentials/credentials.mjs +3 -4
- 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 +74 -23
- package/resources/credentials/packages/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.ts +74 -23
- package/resources/credentials/packages/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.js +7 -6
- package/resources/credentials/packages/credentials/credentials.js.map +1 -1
- package/resources/credentials/packages/credentials/credentials.mjs +7 -6
- package/resources/credentials/packages/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.mts +74 -10
- package/resources/credentials/packages/credentials/fields.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.ts +74 -10
- package/resources/credentials/packages/credentials/fields.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/fields.js +8 -6
- package/resources/credentials/packages/credentials/fields.js.map +1 -1
- package/resources/credentials/packages/credentials/fields.mjs +8 -6
- 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 +44 -9
- package/resources/credentials/packages/packages.d.mts.map +1 -1
- package/resources/credentials/packages/packages.d.ts +44 -9
- package/resources/credentials/packages/packages.d.ts.map +1 -1
- package/resources/credentials/packages/packages.js +13 -5
- package/resources/credentials/packages/packages.js.map +1 -1
- package/resources/credentials/packages/packages.mjs +13 -5
- package/resources/credentials/packages/packages.mjs.map +1 -1
- package/resources/devices/actions.d.mts +10 -5
- package/resources/devices/actions.d.mts.map +1 -1
- package/resources/devices/actions.d.ts +10 -5
- package/resources/devices/actions.d.ts.map +1 -1
- package/resources/devices/actions.js +10 -5
- package/resources/devices/actions.js.map +1 -1
- package/resources/devices/actions.mjs +10 -5
- package/resources/devices/actions.mjs.map +1 -1
- package/resources/devices/apps.d.mts +119 -6
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +119 -6
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/apps.js +80 -5
- package/resources/devices/apps.js.map +1 -1
- package/resources/devices/apps.mjs +80 -5
- 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 +285 -33
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +285 -33
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +83 -14
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +83 -14
- 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 -100
- package/resources/devices/esim.d.mts.map +1 -1
- package/resources/devices/esim.d.ts +1 -100
- package/resources/devices/esim.d.ts.map +1 -1
- package/resources/devices/esim.js +2 -80
- package/resources/devices/esim.js.map +1 -1
- package/resources/devices/esim.mjs +1 -78
- package/resources/devices/esim.mjs.map +1 -1
- package/resources/devices/files.d.mts +38 -33
- package/resources/devices/files.d.mts.map +1 -1
- package/resources/devices/files.d.ts +38 -33
- package/resources/devices/files.d.ts.map +1 -1
- package/resources/devices/files.js +7 -4
- package/resources/devices/files.js.map +1 -1
- package/resources/devices/files.mjs +7 -4
- package/resources/devices/files.mjs.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/keyboard.d.mts +5 -3
- package/resources/devices/keyboard.d.mts.map +1 -1
- package/resources/devices/keyboard.d.ts +5 -3
- package/resources/devices/keyboard.d.ts.map +1 -1
- package/resources/devices/keyboard.js +5 -3
- package/resources/devices/keyboard.js.map +1 -1
- package/resources/devices/keyboard.mjs +5 -3
- package/resources/devices/keyboard.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/language.d.mts +4 -2
- package/resources/devices/language.d.mts.map +1 -1
- package/resources/devices/language.d.ts +4 -2
- package/resources/devices/language.d.ts.map +1 -1
- package/resources/devices/language.js +4 -2
- package/resources/devices/language.js.map +1 -1
- package/resources/devices/language.mjs +4 -2
- package/resources/devices/language.mjs.map +1 -1
- package/resources/devices/location.d.mts +13 -3
- package/resources/devices/location.d.mts.map +1 -1
- package/resources/devices/location.d.ts +13 -3
- package/resources/devices/location.d.ts.map +1 -1
- package/resources/devices/location.js +23 -2
- package/resources/devices/location.js.map +1 -1
- package/resources/devices/location.mjs +23 -2
- 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/packages.d.mts +2 -1
- package/resources/devices/packages.d.mts.map +1 -1
- package/resources/devices/packages.d.ts +2 -1
- package/resources/devices/packages.d.ts.map +1 -1
- package/resources/devices/packages.js +2 -1
- package/resources/devices/packages.js.map +1 -1
- package/resources/devices/packages.mjs +2 -1
- package/resources/devices/packages.mjs.map +1 -1
- package/resources/devices/proxy.d.mts +29 -3
- package/resources/devices/proxy.d.mts.map +1 -1
- package/resources/devices/proxy.d.ts +29 -3
- package/resources/devices/proxy.d.ts.map +1 -1
- package/resources/devices/proxy.js +7 -3
- package/resources/devices/proxy.js.map +1 -1
- package/resources/devices/proxy.mjs +7 -3
- package/resources/devices/proxy.mjs.map +1 -1
- 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 +13 -10
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +13 -10
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/devices/state.js +6 -3
- package/resources/devices/state.js.map +1 -1
- package/resources/devices/state.mjs +6 -3
- package/resources/devices/state.mjs.map +1 -1
- package/resources/devices/tasks.d.mts +2 -4
- package/resources/devices/tasks.d.mts.map +1 -1
- package/resources/devices/tasks.d.ts +2 -4
- package/resources/devices/tasks.d.ts.map +1 -1
- package/resources/devices/tasks.js +2 -4
- package/resources/devices/tasks.js.map +1 -1
- package/resources/devices/tasks.mjs +2 -4
- package/resources/devices/tasks.mjs.map +1 -1
- package/resources/devices/timezone.d.mts +4 -2
- package/resources/devices/timezone.d.mts.map +1 -1
- package/resources/devices/timezone.d.ts +4 -2
- package/resources/devices/timezone.d.ts.map +1 -1
- package/resources/devices/timezone.js +4 -2
- package/resources/devices/timezone.js.map +1 -1
- package/resources/devices/timezone.mjs +4 -2
- package/resources/devices/timezone.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 +13 -7
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +13 -7
- 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/profiles.d.mts +69 -6
- package/resources/profiles.d.mts.map +1 -1
- package/resources/profiles.d.ts +69 -6
- package/resources/profiles.d.ts.map +1 -1
- package/resources/profiles.js.map +1 -1
- package/resources/profiles.mjs.map +1 -1
- package/resources/proxies.d.mts +57 -28
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +57 -28
- package/resources/proxies.d.ts.map +1 -1
- package/resources/proxies.js +14 -8
- package/resources/proxies.js.map +1 -1
- package/resources/proxies.mjs +14 -8
- package/resources/proxies.mjs.map +1 -1
- package/resources/shared.d.mts +25 -3
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +25 -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 +216 -90
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +216 -90
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js +10 -2
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs +11 -3
- 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/webhooks/deliveries.d.mts +38 -4
- package/resources/webhooks/deliveries.d.mts.map +1 -1
- package/resources/webhooks/deliveries.d.ts +38 -4
- package/resources/webhooks/deliveries.d.ts.map +1 -1
- package/resources/webhooks/deliveries.js +15 -4
- package/resources/webhooks/deliveries.js.map +1 -1
- package/resources/webhooks/deliveries.mjs +15 -4
- package/resources/webhooks/deliveries.mjs.map +1 -1
- package/resources/webhooks/webhooks.d.mts +67 -9
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +67 -9
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js +26 -8
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs +26 -8
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/resources/workflows/action-catalog.d.mts +32 -15
- package/resources/workflows/action-catalog.d.mts.map +1 -1
- package/resources/workflows/action-catalog.d.ts +32 -15
- package/resources/workflows/action-catalog.d.ts.map +1 -1
- package/resources/workflows/action-catalog.js +5 -2
- package/resources/workflows/action-catalog.js.map +1 -1
- package/resources/workflows/action-catalog.mjs +5 -2
- package/resources/workflows/action-catalog.mjs.map +1 -1
- package/resources/workflows/actions/actions.d.mts +95 -23
- package/resources/workflows/actions/actions.d.mts.map +1 -1
- package/resources/workflows/actions/actions.d.ts +95 -23
- package/resources/workflows/actions/actions.d.ts.map +1 -1
- package/resources/workflows/actions/actions.js +10 -5
- package/resources/workflows/actions/actions.js.map +1 -1
- package/resources/workflows/actions/actions.mjs +10 -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 +5 -2
- package/resources/workflows/actions/services.d.mts.map +1 -1
- package/resources/workflows/actions/services.d.ts +5 -2
- package/resources/workflows/actions/services.d.ts.map +1 -1
- package/resources/workflows/actions/services.js +5 -2
- package/resources/workflows/actions/services.js.map +1 -1
- package/resources/workflows/actions/services.mjs +5 -2
- package/resources/workflows/actions/services.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 +107 -20
- package/resources/workflows/executions.d.mts.map +1 -1
- package/resources/workflows/executions.d.ts +107 -20
- package/resources/workflows/executions.d.ts.map +1 -1
- package/resources/workflows/executions.js +15 -3
- package/resources/workflows/executions.js.map +1 -1
- package/resources/workflows/executions.mjs +15 -3
- package/resources/workflows/executions.mjs.map +1 -1
- package/resources/workflows/flows/actions.d.mts +121 -30
- package/resources/workflows/flows/actions.d.mts.map +1 -1
- package/resources/workflows/flows/actions.d.ts +121 -30
- package/resources/workflows/flows/actions.d.ts.map +1 -1
- package/resources/workflows/flows/actions.js +12 -4
- package/resources/workflows/flows/actions.js.map +1 -1
- package/resources/workflows/flows/actions.mjs +12 -4
- package/resources/workflows/flows/actions.mjs.map +1 -1
- package/resources/workflows/flows/flows.d.mts +406 -32
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +406 -32
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +43 -6
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +43 -6
- 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 +76 -61
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +76 -61
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/triggers.js +12 -5
- package/resources/workflows/triggers.js.map +1 -1
- package/resources/workflows/triggers.mjs +12 -5
- package/resources/workflows/triggers.mjs.map +1 -1
- package/resources/workflows/workflows.d.mts +10 -33
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +10 -33
- 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 +137 -65
- 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 +55 -8
- package/src/resources/carriers.ts +0 -3
- package/src/resources/connect/countries.ts +8 -3
- package/src/resources/connect/proxies.ts +11 -9
- package/src/resources/connect/users.ts +7 -2
- package/src/resources/credentials/credentials.ts +43 -6
- package/src/resources/credentials/index.ts +1 -0
- package/src/resources/credentials/packages/credentials/credentials.ts +117 -33
- package/src/resources/credentials/packages/credentials/fields.ts +122 -10
- 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 +63 -8
- package/src/resources/devices/actions.ts +10 -5
- package/src/resources/devices/apps.ts +196 -5
- package/src/resources/devices/browser.ts +71 -0
- package/src/resources/devices/deep-link.ts +70 -0
- package/src/resources/devices/devices.ts +511 -38
- 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 -206
- package/src/resources/devices/files.ts +43 -39
- package/src/resources/devices/index.ts +45 -5
- package/src/resources/devices/keyboard.ts +5 -3
- package/src/resources/devices/kiosk.ts +74 -0
- package/src/resources/devices/language.ts +4 -2
- package/src/resources/devices/location.ts +37 -3
- package/src/resources/devices/media-sessions.ts +168 -0
- package/src/resources/devices/packages.ts +2 -1
- package/src/resources/devices/proxy.ts +32 -3
- package/src/resources/devices/recordings.ts +358 -0
- package/src/resources/devices/state.ts +15 -12
- package/src/resources/devices/tasks.ts +2 -4
- package/src/resources/devices/timezone.ts +4 -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 +54 -23
- 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/profiles.ts +105 -6
- package/src/resources/proxies.ts +66 -30
- package/src/resources/shared.ts +35 -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 +259 -103
- package/src/resources/tasks/ui-states.ts +9 -2
- package/src/resources/webhooks/deliveries.ts +43 -4
- package/src/resources/webhooks/webhooks.ts +79 -9
- package/src/resources/workflows/action-catalog.ts +40 -16
- package/src/resources/workflows/actions/actions.ts +136 -24
- package/src/resources/workflows/actions/index.ts +0 -1
- package/src/resources/workflows/actions/services.ts +5 -2
- package/src/resources/workflows/events.ts +226 -1
- package/src/resources/workflows/executions.ts +143 -21
- package/src/resources/workflows/flows/actions.ts +141 -29
- package/src/resources/workflows/flows/flows.ts +663 -31
- package/src/resources/workflows/flows/index.ts +3 -3
- package/src/resources/workflows/index.ts +6 -7
- package/src/resources/workflows/triggers.ts +93 -73
- package/src/resources/workflows/workflows.ts +16 -69
- 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 -243
- package/resources/hooks.d.mts.map +0 -1
- package/resources/hooks.d.ts +0 -243
- package/resources/hooks.d.ts.map +0 -1
- package/resources/hooks.js +0 -66
- package/resources/hooks.js.map +0 -1
- package/resources/hooks.mjs +0 -62
- package/resources/hooks.mjs.map +0 -1
- package/resources/workflows/events/catalog.d.mts +0 -55
- package/resources/workflows/events/catalog.d.mts.map +0 -1
- package/resources/workflows/events/catalog.d.ts +0 -55
- package/resources/workflows/events/catalog.d.ts.map +0 -1
- package/resources/workflows/events/catalog.js +0 -21
- package/resources/workflows/events/catalog.js.map +0 -1
- package/resources/workflows/events/catalog.mjs +0 -17
- package/resources/workflows/events/catalog.mjs.map +0 -1
- package/resources/workflows/events/events.d.mts +0 -123
- package/resources/workflows/events/events.d.mts.map +0 -1
- package/resources/workflows/events/events.d.ts +0 -123
- 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 +0 -4
- package/resources/workflows/events/index.mjs.map +0 -1
- package/src/resources/hooks.ts +0 -337
- package/src/resources/workflows/events/catalog.ts +0 -88
- package/src/resources/workflows/events/events.ts +0 -189
- package/src/resources/workflows/events/index.ts +0 -16
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../../core/resource';
|
|
4
|
-
import * as FlowsAPI from './flows';
|
|
5
4
|
import * as Shared from '../../shared';
|
|
6
|
-
import * as WorkflowsAPI from '../workflows';
|
|
7
5
|
import * as ActionsAPI from './actions';
|
|
8
6
|
import {
|
|
9
7
|
ActionAddParams,
|
|
@@ -14,7 +12,6 @@ import {
|
|
|
14
12
|
ActionReplaceParams,
|
|
15
13
|
ActionReplaceResponse,
|
|
16
14
|
Actions,
|
|
17
|
-
FlowAction,
|
|
18
15
|
} from './actions';
|
|
19
16
|
import { APIPromise } from '../../../core/api-promise';
|
|
20
17
|
import { RequestOptions } from '../../../internal/request-options';
|
|
@@ -24,21 +21,28 @@ export class Flows extends APIResource {
|
|
|
24
21
|
actions: ActionsAPI.Actions = new ActionsAPI.Actions(this._client);
|
|
25
22
|
|
|
26
23
|
/**
|
|
27
|
-
* Create a flow
|
|
24
|
+
* Create a flow that binds a trigger (`triggerId`) to an ordered list of actions,
|
|
25
|
+
* with at least one action required. Optional settings include target `deviceIds`,
|
|
26
|
+
* a cooldown (`cooldownSeconds`/`cooldownScope`), and webhook notifications on
|
|
27
|
+
* success or failure.
|
|
28
28
|
*/
|
|
29
29
|
create(body: FlowCreateParams, options?: RequestOptions): APIPromise<FlowCreateResponse> {
|
|
30
30
|
return this._client.post('/flows', { body, ...options });
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Fetch a single flow by its ID, including its trigger binding, configuration, and
|
|
35
|
+
* current status. Returns 404 if no flow matches.
|
|
35
36
|
*/
|
|
36
37
|
retrieve(flowID: string, options?: RequestOptions): APIPromise<FlowRetrieveResponse> {
|
|
37
38
|
return this._client.get(path`/flows/${flowID}`, options);
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
/**
|
|
41
|
-
*
|
|
42
|
+
* Partially update a flow's settings — name, trigger binding, enabled state,
|
|
43
|
+
* target devices, cooldown, or notifications; all fields are optional. Actions are
|
|
44
|
+
* managed through the flow-actions endpoints, not here. Returns 404 if the flow
|
|
45
|
+
* does not exist.
|
|
42
46
|
*/
|
|
43
47
|
update(
|
|
44
48
|
flowID: string,
|
|
@@ -49,7 +53,10 @@ export class Flows extends APIResource {
|
|
|
49
53
|
}
|
|
50
54
|
|
|
51
55
|
/**
|
|
52
|
-
*
|
|
56
|
+
* Return a paginated list of flows. Supports filtering by `triggerId`, `enabled`,
|
|
57
|
+
* one or more health `status` values (healthy, failing, blocked), `mine` (flows
|
|
58
|
+
* created by the calling actor), `createdBy` (flows created by a given actor id —
|
|
59
|
+
* mutually exclusive with `mine`), plus free-text `search` and ordering.
|
|
53
60
|
*/
|
|
54
61
|
list(
|
|
55
62
|
query: FlowListParams | null | undefined = {},
|
|
@@ -59,14 +66,16 @@ export class Flows extends APIResource {
|
|
|
59
66
|
}
|
|
60
67
|
|
|
61
68
|
/**
|
|
62
|
-
* Delete a flow
|
|
69
|
+
* Delete a flow by its ID. Returns 404 if no flow matches.
|
|
63
70
|
*/
|
|
64
71
|
delete(flowID: string, options?: RequestOptions): APIPromise<FlowDeleteResponse> {
|
|
65
72
|
return this._client.delete(path`/flows/${flowID}`, options);
|
|
66
73
|
}
|
|
67
74
|
|
|
68
75
|
/**
|
|
69
|
-
*
|
|
76
|
+
* Create a copy of an existing flow, including its actions and settings. The
|
|
77
|
+
* optional body can override the new flow's `name` and target `deviceIds`. Returns
|
|
78
|
+
* 404 if the source flow does not exist.
|
|
70
79
|
*/
|
|
71
80
|
clone(
|
|
72
81
|
flowID: string,
|
|
@@ -76,6 +85,37 @@ export class Flows extends APIResource {
|
|
|
76
85
|
return this._client.post(path`/flows/${flowID}/clone`, { body, ...options });
|
|
77
86
|
}
|
|
78
87
|
|
|
88
|
+
/**
|
|
89
|
+
* Simulate this flow firing without storing events, enqueuing jobs, or consuming
|
|
90
|
+
* cooldown/rate-limit slots.
|
|
91
|
+
*
|
|
92
|
+
* Works for every trigger activation type:
|
|
93
|
+
*
|
|
94
|
+
* - `event`: validates the payload against the event catalog schema and evaluates
|
|
95
|
+
* the trigger conditions.
|
|
96
|
+
* - `custom`: validates the payload against the custom payload schema (conditions
|
|
97
|
+
* do not apply).
|
|
98
|
+
* - `schedule`: ignores the payload and reports the next fire time.
|
|
99
|
+
*
|
|
100
|
+
* The response reports `wouldFire` — whether the flow would actually run right now
|
|
101
|
+
* — alongside the gates that decide it (enabled, device attached, blocked,
|
|
102
|
+
* cooldown). `rateLimited` is informational and is not folded into `wouldFire`.
|
|
103
|
+
*/
|
|
104
|
+
dryRun(
|
|
105
|
+
flowID: string,
|
|
106
|
+
body: FlowDryRunParams | null | undefined = {},
|
|
107
|
+
options?: RequestOptions,
|
|
108
|
+
): APIPromise<FlowDryRunResponse> {
|
|
109
|
+
return this._client.post(path`/flows/${flowID}/dry-run`, { body, ...options });
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* List self-healing repair episodes
|
|
114
|
+
*/
|
|
115
|
+
listRepairs(flowID: string, options?: RequestOptions): APIPromise<FlowListRepairsResponse> {
|
|
116
|
+
return this._client.get(path`/flows/${flowID}/repairs`, options);
|
|
117
|
+
}
|
|
118
|
+
|
|
79
119
|
/**
|
|
80
120
|
* Clear a flow's blocked status after fixing the underlying issue. Idempotent —
|
|
81
121
|
* safe to call on already-healthy flows.
|
|
@@ -85,50 +125,592 @@ export class Flows extends APIResource {
|
|
|
85
125
|
}
|
|
86
126
|
}
|
|
87
127
|
|
|
88
|
-
export interface
|
|
89
|
-
|
|
128
|
+
export interface FlowCreateResponse {
|
|
129
|
+
data: FlowCreateResponse.Data;
|
|
90
130
|
}
|
|
91
131
|
|
|
92
|
-
export
|
|
93
|
-
|
|
132
|
+
export namespace FlowCreateResponse {
|
|
133
|
+
export interface Data {
|
|
134
|
+
id: string;
|
|
94
135
|
|
|
95
|
-
|
|
136
|
+
blockedAt: string | null;
|
|
96
137
|
|
|
97
|
-
|
|
138
|
+
consecutiveFailures: number;
|
|
98
139
|
|
|
99
|
-
|
|
140
|
+
cooldownScope: 'flow' | 'device';
|
|
100
141
|
|
|
101
|
-
|
|
102
|
-
}
|
|
142
|
+
cooldownSeconds: number | null;
|
|
103
143
|
|
|
104
|
-
|
|
105
|
-
|
|
144
|
+
createdAt: string | null;
|
|
145
|
+
|
|
146
|
+
createdBy: string | null;
|
|
147
|
+
|
|
148
|
+
description: string | null;
|
|
149
|
+
|
|
150
|
+
deviceIds: Array<string>;
|
|
151
|
+
|
|
152
|
+
enabled: boolean;
|
|
153
|
+
|
|
154
|
+
healthMonitoringEnabled: boolean;
|
|
155
|
+
|
|
156
|
+
lastFailureAt: string | null;
|
|
157
|
+
|
|
158
|
+
lastFailureCode:
|
|
159
|
+
| 'device_not_found'
|
|
160
|
+
| 'permission_denied'
|
|
161
|
+
| 'client_error'
|
|
162
|
+
| 'transient'
|
|
163
|
+
| 'logic'
|
|
164
|
+
| 'invalid_config'
|
|
165
|
+
| null;
|
|
166
|
+
|
|
167
|
+
lastTriggeredAt: string | null;
|
|
168
|
+
|
|
169
|
+
name: string;
|
|
170
|
+
|
|
171
|
+
notifyOnFailure: boolean;
|
|
172
|
+
|
|
173
|
+
notifyOnSuccess: boolean;
|
|
174
|
+
|
|
175
|
+
notifyWebhookId: string | null;
|
|
176
|
+
|
|
177
|
+
ownerId: string;
|
|
178
|
+
|
|
179
|
+
selfHealingEnabled: boolean;
|
|
180
|
+
|
|
181
|
+
selfHealingMaxAttempts: number;
|
|
182
|
+
|
|
183
|
+
status: 'healthy' | 'failing' | 'blocked';
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
|
|
187
|
+
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
188
|
+
* a whole-token null stays JSON null). Existing flows stay 1; new flows default
|
|
189
|
+
* to 2.
|
|
190
|
+
*/
|
|
191
|
+
templateResolutionVersion: number;
|
|
192
|
+
|
|
193
|
+
triggerId: string;
|
|
194
|
+
|
|
195
|
+
updatedAt: string | null;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
199
|
+
*/
|
|
200
|
+
userId: string;
|
|
201
|
+
}
|
|
106
202
|
}
|
|
107
203
|
|
|
108
204
|
export interface FlowRetrieveResponse {
|
|
109
|
-
data:
|
|
205
|
+
data: FlowRetrieveResponse.Data;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export namespace FlowRetrieveResponse {
|
|
209
|
+
export interface Data {
|
|
210
|
+
id: string;
|
|
211
|
+
|
|
212
|
+
blockedAt: string | null;
|
|
213
|
+
|
|
214
|
+
consecutiveFailures: number;
|
|
215
|
+
|
|
216
|
+
cooldownScope: 'flow' | 'device';
|
|
217
|
+
|
|
218
|
+
cooldownSeconds: number | null;
|
|
219
|
+
|
|
220
|
+
createdAt: string | null;
|
|
221
|
+
|
|
222
|
+
createdBy: string | null;
|
|
223
|
+
|
|
224
|
+
description: string | null;
|
|
225
|
+
|
|
226
|
+
deviceIds: Array<string>;
|
|
227
|
+
|
|
228
|
+
enabled: boolean;
|
|
229
|
+
|
|
230
|
+
healthMonitoringEnabled: boolean;
|
|
231
|
+
|
|
232
|
+
lastFailureAt: string | null;
|
|
233
|
+
|
|
234
|
+
lastFailureCode:
|
|
235
|
+
| 'device_not_found'
|
|
236
|
+
| 'permission_denied'
|
|
237
|
+
| 'client_error'
|
|
238
|
+
| 'transient'
|
|
239
|
+
| 'logic'
|
|
240
|
+
| 'invalid_config'
|
|
241
|
+
| null;
|
|
242
|
+
|
|
243
|
+
lastTriggeredAt: string | null;
|
|
244
|
+
|
|
245
|
+
name: string;
|
|
246
|
+
|
|
247
|
+
notifyOnFailure: boolean;
|
|
248
|
+
|
|
249
|
+
notifyOnSuccess: boolean;
|
|
250
|
+
|
|
251
|
+
notifyWebhookId: string | null;
|
|
252
|
+
|
|
253
|
+
ownerId: string;
|
|
254
|
+
|
|
255
|
+
selfHealingEnabled: boolean;
|
|
256
|
+
|
|
257
|
+
selfHealingMaxAttempts: number;
|
|
258
|
+
|
|
259
|
+
status: 'healthy' | 'failing' | 'blocked';
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
|
|
263
|
+
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
264
|
+
* a whole-token null stays JSON null). Existing flows stay 1; new flows default
|
|
265
|
+
* to 2.
|
|
266
|
+
*/
|
|
267
|
+
templateResolutionVersion: number;
|
|
268
|
+
|
|
269
|
+
triggerId: string;
|
|
270
|
+
|
|
271
|
+
updatedAt: string | null;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
275
|
+
*/
|
|
276
|
+
userId: string;
|
|
277
|
+
}
|
|
110
278
|
}
|
|
111
279
|
|
|
112
280
|
export interface FlowUpdateResponse {
|
|
113
|
-
data:
|
|
281
|
+
data: FlowUpdateResponse.Data;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export namespace FlowUpdateResponse {
|
|
285
|
+
export interface Data {
|
|
286
|
+
id: string;
|
|
287
|
+
|
|
288
|
+
blockedAt: string | null;
|
|
289
|
+
|
|
290
|
+
consecutiveFailures: number;
|
|
291
|
+
|
|
292
|
+
cooldownScope: 'flow' | 'device';
|
|
293
|
+
|
|
294
|
+
cooldownSeconds: number | null;
|
|
295
|
+
|
|
296
|
+
createdAt: string | null;
|
|
297
|
+
|
|
298
|
+
createdBy: string | null;
|
|
299
|
+
|
|
300
|
+
description: string | null;
|
|
301
|
+
|
|
302
|
+
deviceIds: Array<string>;
|
|
303
|
+
|
|
304
|
+
enabled: boolean;
|
|
305
|
+
|
|
306
|
+
healthMonitoringEnabled: boolean;
|
|
307
|
+
|
|
308
|
+
lastFailureAt: string | null;
|
|
309
|
+
|
|
310
|
+
lastFailureCode:
|
|
311
|
+
| 'device_not_found'
|
|
312
|
+
| 'permission_denied'
|
|
313
|
+
| 'client_error'
|
|
314
|
+
| 'transient'
|
|
315
|
+
| 'logic'
|
|
316
|
+
| 'invalid_config'
|
|
317
|
+
| null;
|
|
318
|
+
|
|
319
|
+
lastTriggeredAt: string | null;
|
|
320
|
+
|
|
321
|
+
name: string;
|
|
322
|
+
|
|
323
|
+
notifyOnFailure: boolean;
|
|
324
|
+
|
|
325
|
+
notifyOnSuccess: boolean;
|
|
326
|
+
|
|
327
|
+
notifyWebhookId: string | null;
|
|
328
|
+
|
|
329
|
+
ownerId: string;
|
|
330
|
+
|
|
331
|
+
selfHealingEnabled: boolean;
|
|
332
|
+
|
|
333
|
+
selfHealingMaxAttempts: number;
|
|
334
|
+
|
|
335
|
+
status: 'healthy' | 'failing' | 'blocked';
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
|
|
339
|
+
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
340
|
+
* a whole-token null stays JSON null). Existing flows stay 1; new flows default
|
|
341
|
+
* to 2.
|
|
342
|
+
*/
|
|
343
|
+
templateResolutionVersion: number;
|
|
344
|
+
|
|
345
|
+
triggerId: string;
|
|
346
|
+
|
|
347
|
+
updatedAt: string | null;
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
351
|
+
*/
|
|
352
|
+
userId: string;
|
|
353
|
+
}
|
|
114
354
|
}
|
|
115
355
|
|
|
116
356
|
export interface FlowListResponse {
|
|
117
|
-
items: Array<
|
|
357
|
+
items: Array<FlowListResponse.Item>;
|
|
118
358
|
|
|
119
359
|
pagination: Shared.Pagination;
|
|
120
360
|
}
|
|
121
361
|
|
|
362
|
+
export namespace FlowListResponse {
|
|
363
|
+
export interface Item {
|
|
364
|
+
id: string;
|
|
365
|
+
|
|
366
|
+
blockedAt: string | null;
|
|
367
|
+
|
|
368
|
+
consecutiveFailures: number;
|
|
369
|
+
|
|
370
|
+
cooldownScope: 'flow' | 'device';
|
|
371
|
+
|
|
372
|
+
cooldownSeconds: number | null;
|
|
373
|
+
|
|
374
|
+
createdAt: string | null;
|
|
375
|
+
|
|
376
|
+
createdBy: string | null;
|
|
377
|
+
|
|
378
|
+
description: string | null;
|
|
379
|
+
|
|
380
|
+
deviceIds: Array<string>;
|
|
381
|
+
|
|
382
|
+
enabled: boolean;
|
|
383
|
+
|
|
384
|
+
healthMonitoringEnabled: boolean;
|
|
385
|
+
|
|
386
|
+
lastFailureAt: string | null;
|
|
387
|
+
|
|
388
|
+
lastFailureCode:
|
|
389
|
+
| 'device_not_found'
|
|
390
|
+
| 'permission_denied'
|
|
391
|
+
| 'client_error'
|
|
392
|
+
| 'transient'
|
|
393
|
+
| 'logic'
|
|
394
|
+
| 'invalid_config'
|
|
395
|
+
| null;
|
|
396
|
+
|
|
397
|
+
lastTriggeredAt: string | null;
|
|
398
|
+
|
|
399
|
+
name: string;
|
|
400
|
+
|
|
401
|
+
notifyOnFailure: boolean;
|
|
402
|
+
|
|
403
|
+
notifyOnSuccess: boolean;
|
|
404
|
+
|
|
405
|
+
notifyWebhookId: string | null;
|
|
406
|
+
|
|
407
|
+
ownerId: string;
|
|
408
|
+
|
|
409
|
+
selfHealingEnabled: boolean;
|
|
410
|
+
|
|
411
|
+
selfHealingMaxAttempts: number;
|
|
412
|
+
|
|
413
|
+
status: 'healthy' | 'failing' | 'blocked';
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
|
|
417
|
+
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
418
|
+
* a whole-token null stays JSON null). Existing flows stay 1; new flows default
|
|
419
|
+
* to 2.
|
|
420
|
+
*/
|
|
421
|
+
templateResolutionVersion: number;
|
|
422
|
+
|
|
423
|
+
triggerId: string;
|
|
424
|
+
|
|
425
|
+
updatedAt: string | null;
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
429
|
+
*/
|
|
430
|
+
userId: string;
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
|
|
122
434
|
export interface FlowDeleteResponse {
|
|
123
435
|
message: string;
|
|
124
436
|
}
|
|
125
437
|
|
|
126
438
|
export interface FlowCloneResponse {
|
|
127
|
-
data:
|
|
439
|
+
data: FlowCloneResponse.Data;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export namespace FlowCloneResponse {
|
|
443
|
+
export interface Data {
|
|
444
|
+
id: string;
|
|
445
|
+
|
|
446
|
+
blockedAt: string | null;
|
|
447
|
+
|
|
448
|
+
consecutiveFailures: number;
|
|
449
|
+
|
|
450
|
+
cooldownScope: 'flow' | 'device';
|
|
451
|
+
|
|
452
|
+
cooldownSeconds: number | null;
|
|
453
|
+
|
|
454
|
+
createdAt: string | null;
|
|
455
|
+
|
|
456
|
+
createdBy: string | null;
|
|
457
|
+
|
|
458
|
+
description: string | null;
|
|
459
|
+
|
|
460
|
+
deviceIds: Array<string>;
|
|
461
|
+
|
|
462
|
+
enabled: boolean;
|
|
463
|
+
|
|
464
|
+
healthMonitoringEnabled: boolean;
|
|
465
|
+
|
|
466
|
+
lastFailureAt: string | null;
|
|
467
|
+
|
|
468
|
+
lastFailureCode:
|
|
469
|
+
| 'device_not_found'
|
|
470
|
+
| 'permission_denied'
|
|
471
|
+
| 'client_error'
|
|
472
|
+
| 'transient'
|
|
473
|
+
| 'logic'
|
|
474
|
+
| 'invalid_config'
|
|
475
|
+
| null;
|
|
476
|
+
|
|
477
|
+
lastTriggeredAt: string | null;
|
|
478
|
+
|
|
479
|
+
name: string;
|
|
480
|
+
|
|
481
|
+
notifyOnFailure: boolean;
|
|
482
|
+
|
|
483
|
+
notifyOnSuccess: boolean;
|
|
484
|
+
|
|
485
|
+
notifyWebhookId: string | null;
|
|
486
|
+
|
|
487
|
+
ownerId: string;
|
|
488
|
+
|
|
489
|
+
selfHealingEnabled: boolean;
|
|
490
|
+
|
|
491
|
+
selfHealingMaxAttempts: number;
|
|
492
|
+
|
|
493
|
+
status: 'healthy' | 'failing' | 'blocked';
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
|
|
497
|
+
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
498
|
+
* a whole-token null stays JSON null). Existing flows stay 1; new flows default
|
|
499
|
+
* to 2.
|
|
500
|
+
*/
|
|
501
|
+
templateResolutionVersion: number;
|
|
502
|
+
|
|
503
|
+
triggerId: string;
|
|
504
|
+
|
|
505
|
+
updatedAt: string | null;
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
509
|
+
*/
|
|
510
|
+
userId: string;
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
export interface FlowDryRunResponse {
|
|
515
|
+
data: FlowDryRunResponse.Data;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
export namespace FlowDryRunResponse {
|
|
519
|
+
export interface Data {
|
|
520
|
+
actions: Array<Data.Action>;
|
|
521
|
+
|
|
522
|
+
activation: 'event' | 'schedule' | 'custom';
|
|
523
|
+
|
|
524
|
+
conditionsPassed: boolean | null;
|
|
525
|
+
|
|
526
|
+
gates: Data.Gates;
|
|
527
|
+
|
|
528
|
+
nextFireTime: string | null;
|
|
529
|
+
|
|
530
|
+
rateLimited: boolean;
|
|
531
|
+
|
|
532
|
+
validation: Data.Validation;
|
|
533
|
+
|
|
534
|
+
wouldFire: boolean;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
export namespace Data {
|
|
538
|
+
export interface Action {
|
|
539
|
+
continueOnError: boolean;
|
|
540
|
+
|
|
541
|
+
method: string;
|
|
542
|
+
|
|
543
|
+
name: string;
|
|
544
|
+
|
|
545
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks';
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* Nested child actions (loop/branch bodies), each the same shape as a
|
|
549
|
+
* ResolvedAction.
|
|
550
|
+
*/
|
|
551
|
+
children?: Array<unknown>;
|
|
552
|
+
|
|
553
|
+
params?: { [key: string]: unknown };
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
export interface Gates {
|
|
557
|
+
blocked: boolean;
|
|
558
|
+
|
|
559
|
+
cooldownActive: boolean | null;
|
|
560
|
+
|
|
561
|
+
deviceAttached: boolean;
|
|
562
|
+
|
|
563
|
+
deviceIds: Array<string>;
|
|
564
|
+
|
|
565
|
+
enabled: boolean;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export interface Validation {
|
|
569
|
+
valid: boolean;
|
|
570
|
+
|
|
571
|
+
errors?: Array<Validation.Error>;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
export namespace Validation {
|
|
575
|
+
export interface Error {
|
|
576
|
+
field: string;
|
|
577
|
+
|
|
578
|
+
message: string;
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
export interface FlowListRepairsResponse {
|
|
585
|
+
data: Array<FlowListRepairsResponse.Data>;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
export namespace FlowListRepairsResponse {
|
|
589
|
+
export interface Data {
|
|
590
|
+
id: string;
|
|
591
|
+
|
|
592
|
+
agentRunId: string | null;
|
|
593
|
+
|
|
594
|
+
attempt: number;
|
|
595
|
+
|
|
596
|
+
candidateSlug: string;
|
|
597
|
+
|
|
598
|
+
chatSessionId: string | null;
|
|
599
|
+
|
|
600
|
+
createdAt: string | null;
|
|
601
|
+
|
|
602
|
+
deviceId: string | null;
|
|
603
|
+
|
|
604
|
+
episode: number;
|
|
605
|
+
|
|
606
|
+
error: string | null;
|
|
607
|
+
|
|
608
|
+
failedStepIndex: number;
|
|
609
|
+
|
|
610
|
+
finishedAt: string | null;
|
|
611
|
+
|
|
612
|
+
flowId: string;
|
|
613
|
+
|
|
614
|
+
maxAttempts: number;
|
|
615
|
+
|
|
616
|
+
originalSlug: string;
|
|
617
|
+
|
|
618
|
+
sourceExecutionId: string;
|
|
619
|
+
|
|
620
|
+
startedAt: string | null;
|
|
621
|
+
|
|
622
|
+
status: 'pending' | 'running' | 'canary' | 'promoting' | 'repaired' | 'failed' | 'escalated';
|
|
623
|
+
|
|
624
|
+
updatedAt: string | null;
|
|
625
|
+
|
|
626
|
+
verdict: Data.Verdict | null;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
export namespace Data {
|
|
630
|
+
export interface Verdict {
|
|
631
|
+
outcome: 'ok' | 'flaky' | 'broken';
|
|
632
|
+
|
|
633
|
+
summary: string;
|
|
634
|
+
|
|
635
|
+
reason?: string;
|
|
636
|
+
}
|
|
637
|
+
}
|
|
128
638
|
}
|
|
129
639
|
|
|
130
640
|
export interface FlowUnblockResponse {
|
|
131
|
-
data:
|
|
641
|
+
data: FlowUnblockResponse.Data;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
export namespace FlowUnblockResponse {
|
|
645
|
+
export interface Data {
|
|
646
|
+
id: string;
|
|
647
|
+
|
|
648
|
+
blockedAt: string | null;
|
|
649
|
+
|
|
650
|
+
consecutiveFailures: number;
|
|
651
|
+
|
|
652
|
+
cooldownScope: 'flow' | 'device';
|
|
653
|
+
|
|
654
|
+
cooldownSeconds: number | null;
|
|
655
|
+
|
|
656
|
+
createdAt: string | null;
|
|
657
|
+
|
|
658
|
+
createdBy: string | null;
|
|
659
|
+
|
|
660
|
+
description: string | null;
|
|
661
|
+
|
|
662
|
+
deviceIds: Array<string>;
|
|
663
|
+
|
|
664
|
+
enabled: boolean;
|
|
665
|
+
|
|
666
|
+
healthMonitoringEnabled: boolean;
|
|
667
|
+
|
|
668
|
+
lastFailureAt: string | null;
|
|
669
|
+
|
|
670
|
+
lastFailureCode:
|
|
671
|
+
| 'device_not_found'
|
|
672
|
+
| 'permission_denied'
|
|
673
|
+
| 'client_error'
|
|
674
|
+
| 'transient'
|
|
675
|
+
| 'logic'
|
|
676
|
+
| 'invalid_config'
|
|
677
|
+
| null;
|
|
678
|
+
|
|
679
|
+
lastTriggeredAt: string | null;
|
|
680
|
+
|
|
681
|
+
name: string;
|
|
682
|
+
|
|
683
|
+
notifyOnFailure: boolean;
|
|
684
|
+
|
|
685
|
+
notifyOnSuccess: boolean;
|
|
686
|
+
|
|
687
|
+
notifyWebhookId: string | null;
|
|
688
|
+
|
|
689
|
+
ownerId: string;
|
|
690
|
+
|
|
691
|
+
selfHealingEnabled: boolean;
|
|
692
|
+
|
|
693
|
+
selfHealingMaxAttempts: number;
|
|
694
|
+
|
|
695
|
+
status: 'healthy' | 'failing' | 'blocked';
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
|
|
699
|
+
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
700
|
+
* a whole-token null stays JSON null). Existing flows stay 1; new flows default
|
|
701
|
+
* to 2.
|
|
702
|
+
*/
|
|
703
|
+
templateResolutionVersion: number;
|
|
704
|
+
|
|
705
|
+
triggerId: string;
|
|
706
|
+
|
|
707
|
+
updatedAt: string | null;
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
711
|
+
*/
|
|
712
|
+
userId: string;
|
|
713
|
+
}
|
|
132
714
|
}
|
|
133
715
|
|
|
134
716
|
export interface FlowCreateParams {
|
|
@@ -148,11 +730,17 @@ export interface FlowCreateParams {
|
|
|
148
730
|
|
|
149
731
|
enabled?: boolean;
|
|
150
732
|
|
|
733
|
+
healthMonitoringEnabled?: boolean;
|
|
734
|
+
|
|
151
735
|
notifyOnFailure?: boolean;
|
|
152
736
|
|
|
153
737
|
notifyOnSuccess?: boolean;
|
|
154
738
|
|
|
155
739
|
notifyWebhookId?: string | null;
|
|
740
|
+
|
|
741
|
+
selfHealingEnabled?: boolean;
|
|
742
|
+
|
|
743
|
+
selfHealingMaxAttempts?: number;
|
|
156
744
|
}
|
|
157
745
|
|
|
158
746
|
export namespace FlowCreateParams {
|
|
@@ -161,13 +749,37 @@ export namespace FlowCreateParams {
|
|
|
161
749
|
|
|
162
750
|
position: number;
|
|
163
751
|
|
|
164
|
-
children?: Array<
|
|
752
|
+
children?: Array<Action.Child>;
|
|
165
753
|
|
|
166
754
|
continueOnError?: boolean;
|
|
167
755
|
|
|
168
756
|
nameOverride?: string;
|
|
169
757
|
|
|
170
|
-
overrides?:
|
|
758
|
+
overrides?: Action.Overrides | null;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
export namespace Action {
|
|
762
|
+
export interface Child {
|
|
763
|
+
actionId: string;
|
|
764
|
+
|
|
765
|
+
position: number;
|
|
766
|
+
|
|
767
|
+
continueOnError?: boolean;
|
|
768
|
+
|
|
769
|
+
nameOverride?: string;
|
|
770
|
+
|
|
771
|
+
overrides?: Child.Overrides | null;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
export namespace Child {
|
|
775
|
+
export interface Overrides {
|
|
776
|
+
params?: { [key: string]: unknown };
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
export interface Overrides {
|
|
781
|
+
params?: { [key: string]: unknown };
|
|
782
|
+
}
|
|
171
783
|
}
|
|
172
784
|
}
|
|
173
785
|
|
|
@@ -182,6 +794,8 @@ export interface FlowUpdateParams {
|
|
|
182
794
|
|
|
183
795
|
enabled?: boolean;
|
|
184
796
|
|
|
797
|
+
healthMonitoringEnabled?: boolean;
|
|
798
|
+
|
|
185
799
|
name?: string;
|
|
186
800
|
|
|
187
801
|
notifyOnFailure?: boolean;
|
|
@@ -190,11 +804,25 @@ export interface FlowUpdateParams {
|
|
|
190
804
|
|
|
191
805
|
notifyWebhookId?: string | null;
|
|
192
806
|
|
|
807
|
+
selfHealingEnabled?: boolean;
|
|
808
|
+
|
|
809
|
+
selfHealingMaxAttempts?: number;
|
|
810
|
+
|
|
193
811
|
triggerId?: string;
|
|
194
812
|
}
|
|
195
813
|
|
|
196
814
|
export interface FlowListParams {
|
|
197
|
-
|
|
815
|
+
createdBy?: string;
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* Only include flows with this enabled state.
|
|
819
|
+
*/
|
|
820
|
+
enabled?: 'true' | 'false';
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* Only include flows created by you.
|
|
824
|
+
*/
|
|
825
|
+
mine?: 'true' | 'false';
|
|
198
826
|
|
|
199
827
|
orderBy?: 'name' | 'createdAt' | 'updatedAt';
|
|
200
828
|
|
|
@@ -217,28 +845,32 @@ export interface FlowCloneParams {
|
|
|
217
845
|
name?: string;
|
|
218
846
|
}
|
|
219
847
|
|
|
848
|
+
export interface FlowDryRunParams {
|
|
849
|
+
payload?: { [key: string]: unknown };
|
|
850
|
+
}
|
|
851
|
+
|
|
220
852
|
Flows.Actions = Actions;
|
|
221
853
|
|
|
222
854
|
export declare namespace Flows {
|
|
223
855
|
export {
|
|
224
|
-
type FlowActionOverrides as FlowActionOverrides,
|
|
225
|
-
type FlowChildActionInput as FlowChildActionInput,
|
|
226
856
|
type FlowCreateResponse as FlowCreateResponse,
|
|
227
857
|
type FlowRetrieveResponse as FlowRetrieveResponse,
|
|
228
858
|
type FlowUpdateResponse as FlowUpdateResponse,
|
|
229
859
|
type FlowListResponse as FlowListResponse,
|
|
230
860
|
type FlowDeleteResponse as FlowDeleteResponse,
|
|
231
861
|
type FlowCloneResponse as FlowCloneResponse,
|
|
862
|
+
type FlowDryRunResponse as FlowDryRunResponse,
|
|
863
|
+
type FlowListRepairsResponse as FlowListRepairsResponse,
|
|
232
864
|
type FlowUnblockResponse as FlowUnblockResponse,
|
|
233
865
|
type FlowCreateParams as FlowCreateParams,
|
|
234
866
|
type FlowUpdateParams as FlowUpdateParams,
|
|
235
867
|
type FlowListParams as FlowListParams,
|
|
236
868
|
type FlowCloneParams as FlowCloneParams,
|
|
869
|
+
type FlowDryRunParams as FlowDryRunParams,
|
|
237
870
|
};
|
|
238
871
|
|
|
239
872
|
export {
|
|
240
873
|
Actions as Actions,
|
|
241
|
-
type FlowAction as FlowAction,
|
|
242
874
|
type ActionListResponse as ActionListResponse,
|
|
243
875
|
type ActionAddResponse as ActionAddResponse,
|
|
244
876
|
type ActionRemoveResponse as ActionRemoveResponse,
|