@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
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
export {
|
|
4
4
|
Actions,
|
|
5
|
-
type FlowAction,
|
|
6
5
|
type ActionListResponse,
|
|
7
6
|
type ActionAddResponse,
|
|
8
7
|
type ActionRemoveResponse,
|
|
@@ -13,17 +12,18 @@ export {
|
|
|
13
12
|
} from './actions';
|
|
14
13
|
export {
|
|
15
14
|
Flows,
|
|
16
|
-
type FlowActionOverrides,
|
|
17
|
-
type FlowChildActionInput,
|
|
18
15
|
type FlowCreateResponse,
|
|
19
16
|
type FlowRetrieveResponse,
|
|
20
17
|
type FlowUpdateResponse,
|
|
21
18
|
type FlowListResponse,
|
|
22
19
|
type FlowDeleteResponse,
|
|
23
20
|
type FlowCloneResponse,
|
|
21
|
+
type FlowDryRunResponse,
|
|
22
|
+
type FlowListRepairsResponse,
|
|
24
23
|
type FlowUnblockResponse,
|
|
25
24
|
type FlowCreateParams,
|
|
26
25
|
type FlowUpdateParams,
|
|
27
26
|
type FlowListParams,
|
|
28
27
|
type FlowCloneParams,
|
|
28
|
+
type FlowDryRunParams,
|
|
29
29
|
} from './flows';
|
|
@@ -2,14 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
export {
|
|
4
4
|
ActionCatalog,
|
|
5
|
-
type ActionCatalogEntry,
|
|
6
5
|
type ActionCatalogRetrieveResponse,
|
|
7
6
|
type ActionCatalogListResponse,
|
|
8
7
|
type ActionCatalogListParams,
|
|
9
8
|
} from './action-catalog';
|
|
10
9
|
export {
|
|
11
10
|
Actions,
|
|
12
|
-
type Action,
|
|
13
11
|
type ActionCreateResponse,
|
|
14
12
|
type ActionRetrieveResponse,
|
|
15
13
|
type ActionUpdateResponse,
|
|
@@ -25,31 +23,32 @@ export {
|
|
|
25
23
|
type EventIngestResponse,
|
|
26
24
|
type EventDryRunParams,
|
|
27
25
|
type EventIngestParams,
|
|
28
|
-
} from './events
|
|
26
|
+
} from './events';
|
|
29
27
|
export {
|
|
30
28
|
Executions,
|
|
31
|
-
type FlowExecution,
|
|
32
29
|
type ExecutionRetrieveResponse,
|
|
33
30
|
type ExecutionListResponse,
|
|
31
|
+
type ExecutionAbortResponse,
|
|
34
32
|
type ExecutionGetMetricsResponse,
|
|
35
33
|
type ExecutionListParams,
|
|
36
34
|
type ExecutionGetMetricsParams,
|
|
37
35
|
} from './executions';
|
|
38
36
|
export {
|
|
39
37
|
Flows,
|
|
40
|
-
type FlowActionOverrides,
|
|
41
|
-
type FlowChildActionInput,
|
|
42
38
|
type FlowCreateResponse,
|
|
43
39
|
type FlowRetrieveResponse,
|
|
44
40
|
type FlowUpdateResponse,
|
|
45
41
|
type FlowListResponse,
|
|
46
42
|
type FlowDeleteResponse,
|
|
47
43
|
type FlowCloneResponse,
|
|
44
|
+
type FlowDryRunResponse,
|
|
45
|
+
type FlowListRepairsResponse,
|
|
48
46
|
type FlowUnblockResponse,
|
|
49
47
|
type FlowCreateParams,
|
|
50
48
|
type FlowUpdateParams,
|
|
51
49
|
type FlowListParams,
|
|
52
50
|
type FlowCloneParams,
|
|
51
|
+
type FlowDryRunParams,
|
|
53
52
|
} from './flows/index';
|
|
54
53
|
export { Timezones, type TimezoneListResponse } from './timezones';
|
|
55
54
|
export {
|
|
@@ -65,4 +64,4 @@ export {
|
|
|
65
64
|
type TriggerListParams,
|
|
66
65
|
type TriggerFireParams,
|
|
67
66
|
} from './triggers';
|
|
68
|
-
export { Workflows
|
|
67
|
+
export { Workflows } from './workflows';
|
|
@@ -8,21 +8,27 @@ import { path } from '../../internal/utils/path';
|
|
|
8
8
|
|
|
9
9
|
export class Triggers extends APIResource {
|
|
10
10
|
/**
|
|
11
|
-
* Create a trigger
|
|
11
|
+
* Create a trigger with an activation type of `event`, `schedule`, or `custom`.
|
|
12
|
+
* Each type requires its own fields (e.g. `eventType` and optional `conditions`
|
|
13
|
+
* for events, `scheduleRule` and `timezone` for schedules, `customPayloadSchema`
|
|
14
|
+
* for custom triggers); mismatched fields are rejected.
|
|
12
15
|
*/
|
|
13
16
|
create(body: TriggerCreateParams, options?: RequestOptions): APIPromise<TriggerCreateResponse> {
|
|
14
17
|
return this._client.post('/triggers', { body, ...options });
|
|
15
18
|
}
|
|
16
19
|
|
|
17
20
|
/**
|
|
18
|
-
*
|
|
21
|
+
* Fetch a single trigger by its ID, including its activation type and
|
|
22
|
+
* type-specific configuration. Returns 404 if no trigger matches.
|
|
19
23
|
*/
|
|
20
24
|
retrieve(triggerID: string, options?: RequestOptions): APIPromise<TriggerRetrieveResponse> {
|
|
21
25
|
return this._client.get(path`/triggers/${triggerID}`, options);
|
|
22
26
|
}
|
|
23
27
|
|
|
24
28
|
/**
|
|
25
|
-
*
|
|
29
|
+
* Partially update a trigger; all fields are optional. When `activation` is
|
|
30
|
+
* changed, the type-specific field rules are re-validated. Returns 404 if the
|
|
31
|
+
* trigger does not exist.
|
|
26
32
|
*/
|
|
27
33
|
update(
|
|
28
34
|
triggerID: string,
|
|
@@ -33,7 +39,8 @@ export class Triggers extends APIResource {
|
|
|
33
39
|
}
|
|
34
40
|
|
|
35
41
|
/**
|
|
36
|
-
*
|
|
42
|
+
* Return a paginated list of triggers. Supports filtering by `activation` and
|
|
43
|
+
* `eventType`, free-text `search`, and ordering by name, createdAt, or updatedAt.
|
|
37
44
|
*/
|
|
38
45
|
list(
|
|
39
46
|
query: TriggerListParams | null | undefined = {},
|
|
@@ -43,7 +50,7 @@ export class Triggers extends APIResource {
|
|
|
43
50
|
}
|
|
44
51
|
|
|
45
52
|
/**
|
|
46
|
-
* Delete a trigger
|
|
53
|
+
* Delete a trigger by its ID. Returns 404 if no trigger matches.
|
|
47
54
|
*/
|
|
48
55
|
delete(triggerID: string, options?: RequestOptions): APIPromise<TriggerDeleteResponse> {
|
|
49
56
|
return this._client.delete(path`/triggers/${triggerID}`, options);
|
|
@@ -89,6 +96,8 @@ export namespace TriggerCreateResponse {
|
|
|
89
96
|
|
|
90
97
|
createdAt: string | null;
|
|
91
98
|
|
|
99
|
+
createdBy: string | null;
|
|
100
|
+
|
|
92
101
|
customPayloadSchema: { [key: string]: unknown } | null;
|
|
93
102
|
|
|
94
103
|
description: string | null;
|
|
@@ -97,12 +106,17 @@ export namespace TriggerCreateResponse {
|
|
|
97
106
|
|
|
98
107
|
name: string;
|
|
99
108
|
|
|
109
|
+
ownerId: string;
|
|
110
|
+
|
|
100
111
|
scheduleRule: Data.ScheduleRule;
|
|
101
112
|
|
|
102
113
|
timezone: string | null;
|
|
103
114
|
|
|
104
115
|
updatedAt: string | null;
|
|
105
116
|
|
|
117
|
+
/**
|
|
118
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
119
|
+
*/
|
|
106
120
|
userId: string;
|
|
107
121
|
|
|
108
122
|
conditions?: unknown;
|
|
@@ -124,11 +138,27 @@ export namespace TriggerCreateResponse {
|
|
|
124
138
|
*/
|
|
125
139
|
expression?: string;
|
|
126
140
|
|
|
141
|
+
/**
|
|
142
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
143
|
+
*/
|
|
144
|
+
jitter?: ScheduleRule.Jitter;
|
|
145
|
+
|
|
127
146
|
/**
|
|
128
147
|
* RRULE string (for type=recurring)
|
|
129
148
|
*/
|
|
130
149
|
rrule?: string;
|
|
131
150
|
}
|
|
151
|
+
|
|
152
|
+
export namespace ScheduleRule {
|
|
153
|
+
/**
|
|
154
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
155
|
+
*/
|
|
156
|
+
export interface Jitter {
|
|
157
|
+
afterMinutes?: number;
|
|
158
|
+
|
|
159
|
+
beforeMinutes?: number;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
132
162
|
}
|
|
133
163
|
}
|
|
134
164
|
|
|
@@ -144,6 +174,8 @@ export namespace TriggerRetrieveResponse {
|
|
|
144
174
|
|
|
145
175
|
createdAt: string | null;
|
|
146
176
|
|
|
177
|
+
createdBy: string | null;
|
|
178
|
+
|
|
147
179
|
customPayloadSchema: { [key: string]: unknown } | null;
|
|
148
180
|
|
|
149
181
|
description: string | null;
|
|
@@ -152,39 +184,23 @@ export namespace TriggerRetrieveResponse {
|
|
|
152
184
|
|
|
153
185
|
name: string;
|
|
154
186
|
|
|
155
|
-
|
|
187
|
+
ownerId: string;
|
|
188
|
+
|
|
189
|
+
scheduleRule: unknown;
|
|
156
190
|
|
|
157
191
|
timezone: string | null;
|
|
158
192
|
|
|
159
193
|
updatedAt: string | null;
|
|
160
194
|
|
|
195
|
+
/**
|
|
196
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
197
|
+
*/
|
|
161
198
|
userId: string;
|
|
162
199
|
|
|
163
200
|
conditions?: unknown;
|
|
164
201
|
|
|
165
202
|
nextFireTime?: string | null;
|
|
166
203
|
}
|
|
167
|
-
|
|
168
|
-
export namespace Data {
|
|
169
|
-
export interface ScheduleRule {
|
|
170
|
-
type: 'once' | 'cron' | 'recurring';
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* ISO 8601 datetime (for type=once)
|
|
174
|
-
*/
|
|
175
|
-
dateTime?: string;
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* Cron expression (for type=cron)
|
|
179
|
-
*/
|
|
180
|
-
expression?: string;
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* RRULE string (for type=recurring)
|
|
184
|
-
*/
|
|
185
|
-
rrule?: string;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
204
|
}
|
|
189
205
|
|
|
190
206
|
export interface TriggerUpdateResponse {
|
|
@@ -199,6 +215,8 @@ export namespace TriggerUpdateResponse {
|
|
|
199
215
|
|
|
200
216
|
createdAt: string | null;
|
|
201
217
|
|
|
218
|
+
createdBy: string | null;
|
|
219
|
+
|
|
202
220
|
customPayloadSchema: { [key: string]: unknown } | null;
|
|
203
221
|
|
|
204
222
|
description: string | null;
|
|
@@ -207,39 +225,23 @@ export namespace TriggerUpdateResponse {
|
|
|
207
225
|
|
|
208
226
|
name: string;
|
|
209
227
|
|
|
210
|
-
|
|
228
|
+
ownerId: string;
|
|
229
|
+
|
|
230
|
+
scheduleRule: unknown;
|
|
211
231
|
|
|
212
232
|
timezone: string | null;
|
|
213
233
|
|
|
214
234
|
updatedAt: string | null;
|
|
215
235
|
|
|
236
|
+
/**
|
|
237
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
238
|
+
*/
|
|
216
239
|
userId: string;
|
|
217
240
|
|
|
218
241
|
conditions?: unknown;
|
|
219
242
|
|
|
220
243
|
nextFireTime?: string | null;
|
|
221
244
|
}
|
|
222
|
-
|
|
223
|
-
export namespace Data {
|
|
224
|
-
export interface ScheduleRule {
|
|
225
|
-
type: 'once' | 'cron' | 'recurring';
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* ISO 8601 datetime (for type=once)
|
|
229
|
-
*/
|
|
230
|
-
dateTime?: string;
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Cron expression (for type=cron)
|
|
234
|
-
*/
|
|
235
|
-
expression?: string;
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* RRULE string (for type=recurring)
|
|
239
|
-
*/
|
|
240
|
-
rrule?: string;
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
245
|
}
|
|
244
246
|
|
|
245
247
|
export interface TriggerListResponse {
|
|
@@ -256,6 +258,8 @@ export namespace TriggerListResponse {
|
|
|
256
258
|
|
|
257
259
|
createdAt: string | null;
|
|
258
260
|
|
|
261
|
+
createdBy: string | null;
|
|
262
|
+
|
|
259
263
|
customPayloadSchema: { [key: string]: unknown } | null;
|
|
260
264
|
|
|
261
265
|
description: string | null;
|
|
@@ -264,39 +268,23 @@ export namespace TriggerListResponse {
|
|
|
264
268
|
|
|
265
269
|
name: string;
|
|
266
270
|
|
|
267
|
-
|
|
271
|
+
ownerId: string;
|
|
272
|
+
|
|
273
|
+
scheduleRule: unknown;
|
|
268
274
|
|
|
269
275
|
timezone: string | null;
|
|
270
276
|
|
|
271
277
|
updatedAt: string | null;
|
|
272
278
|
|
|
279
|
+
/**
|
|
280
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
281
|
+
*/
|
|
273
282
|
userId: string;
|
|
274
283
|
|
|
275
284
|
conditions?: unknown;
|
|
276
285
|
|
|
277
286
|
nextFireTime?: string | null;
|
|
278
287
|
}
|
|
279
|
-
|
|
280
|
-
export namespace Item {
|
|
281
|
-
export interface ScheduleRule {
|
|
282
|
-
type: 'once' | 'cron' | 'recurring';
|
|
283
|
-
|
|
284
|
-
/**
|
|
285
|
-
* ISO 8601 datetime (for type=once)
|
|
286
|
-
*/
|
|
287
|
-
dateTime?: string;
|
|
288
|
-
|
|
289
|
-
/**
|
|
290
|
-
* Cron expression (for type=cron)
|
|
291
|
-
*/
|
|
292
|
-
expression?: string;
|
|
293
|
-
|
|
294
|
-
/**
|
|
295
|
-
* RRULE string (for type=recurring)
|
|
296
|
-
*/
|
|
297
|
-
rrule?: string;
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
288
|
}
|
|
301
289
|
|
|
302
290
|
export interface TriggerDeleteResponse {
|
|
@@ -358,17 +346,33 @@ export namespace TriggerCreateParams {
|
|
|
358
346
|
*/
|
|
359
347
|
expression?: string;
|
|
360
348
|
|
|
349
|
+
/**
|
|
350
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
351
|
+
*/
|
|
352
|
+
jitter?: ScheduleRule.Jitter;
|
|
353
|
+
|
|
361
354
|
/**
|
|
362
355
|
* RRULE string (for type=recurring)
|
|
363
356
|
*/
|
|
364
357
|
rrule?: string;
|
|
365
358
|
}
|
|
359
|
+
|
|
360
|
+
export namespace ScheduleRule {
|
|
361
|
+
/**
|
|
362
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
363
|
+
*/
|
|
364
|
+
export interface Jitter {
|
|
365
|
+
afterMinutes?: number;
|
|
366
|
+
|
|
367
|
+
beforeMinutes?: number;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
366
370
|
}
|
|
367
371
|
|
|
368
372
|
export interface TriggerUpdateParams {
|
|
369
373
|
activation?: 'event' | 'schedule' | 'custom';
|
|
370
374
|
|
|
371
|
-
conditions?: TriggerUpdateParams.Conditions;
|
|
375
|
+
conditions?: TriggerUpdateParams.Conditions | null;
|
|
372
376
|
|
|
373
377
|
/**
|
|
374
378
|
* Optional JSON Schema for validating payloads sent to this custom trigger
|
|
@@ -381,7 +385,7 @@ export interface TriggerUpdateParams {
|
|
|
381
385
|
|
|
382
386
|
name?: string;
|
|
383
387
|
|
|
384
|
-
scheduleRule?: TriggerUpdateParams.ScheduleRule;
|
|
388
|
+
scheduleRule?: TriggerUpdateParams.ScheduleRule | null;
|
|
385
389
|
|
|
386
390
|
timezone?: string | null;
|
|
387
391
|
}
|
|
@@ -406,11 +410,27 @@ export namespace TriggerUpdateParams {
|
|
|
406
410
|
*/
|
|
407
411
|
expression?: string;
|
|
408
412
|
|
|
413
|
+
/**
|
|
414
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
415
|
+
*/
|
|
416
|
+
jitter?: ScheduleRule.Jitter;
|
|
417
|
+
|
|
409
418
|
/**
|
|
410
419
|
* RRULE string (for type=recurring)
|
|
411
420
|
*/
|
|
412
421
|
rrule?: string;
|
|
413
422
|
}
|
|
423
|
+
|
|
424
|
+
export namespace ScheduleRule {
|
|
425
|
+
/**
|
|
426
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
427
|
+
*/
|
|
428
|
+
export interface Jitter {
|
|
429
|
+
afterMinutes?: number;
|
|
430
|
+
|
|
431
|
+
beforeMinutes?: number;
|
|
432
|
+
}
|
|
433
|
+
}
|
|
414
434
|
}
|
|
415
435
|
|
|
416
436
|
export interface TriggerListParams {
|
|
@@ -4,20 +4,27 @@ import { APIResource } from '../../core/resource';
|
|
|
4
4
|
import * as ActionCatalogAPI from './action-catalog';
|
|
5
5
|
import {
|
|
6
6
|
ActionCatalog,
|
|
7
|
-
ActionCatalogEntry,
|
|
8
7
|
ActionCatalogListParams,
|
|
9
8
|
ActionCatalogListResponse,
|
|
10
9
|
ActionCatalogRetrieveResponse,
|
|
11
10
|
} from './action-catalog';
|
|
11
|
+
import * as EventsAPI from './events';
|
|
12
|
+
import {
|
|
13
|
+
EventDryRunParams,
|
|
14
|
+
EventDryRunResponse,
|
|
15
|
+
EventIngestParams,
|
|
16
|
+
EventIngestResponse,
|
|
17
|
+
Events,
|
|
18
|
+
} from './events';
|
|
12
19
|
import * as ExecutionsAPI from './executions';
|
|
13
20
|
import {
|
|
21
|
+
ExecutionAbortResponse,
|
|
14
22
|
ExecutionGetMetricsParams,
|
|
15
23
|
ExecutionGetMetricsResponse,
|
|
16
24
|
ExecutionListParams,
|
|
17
25
|
ExecutionListResponse,
|
|
18
26
|
ExecutionRetrieveResponse,
|
|
19
27
|
Executions,
|
|
20
|
-
FlowExecution,
|
|
21
28
|
} from './executions';
|
|
22
29
|
import * as TimezonesAPI from './timezones';
|
|
23
30
|
import { TimezoneListResponse, Timezones } from './timezones';
|
|
@@ -37,7 +44,6 @@ import {
|
|
|
37
44
|
} from './triggers';
|
|
38
45
|
import * as ActionsAPI from './actions/actions';
|
|
39
46
|
import {
|
|
40
|
-
Action,
|
|
41
47
|
ActionCreateParams,
|
|
42
48
|
ActionCreateResponse,
|
|
43
49
|
ActionDeleteResponse,
|
|
@@ -48,24 +54,17 @@ import {
|
|
|
48
54
|
ActionUpdateResponse,
|
|
49
55
|
Actions,
|
|
50
56
|
} from './actions/actions';
|
|
51
|
-
import * as EventsAPI from './events/events';
|
|
52
|
-
import {
|
|
53
|
-
EventDryRunParams,
|
|
54
|
-
EventDryRunResponse,
|
|
55
|
-
EventIngestParams,
|
|
56
|
-
EventIngestResponse,
|
|
57
|
-
Events,
|
|
58
|
-
} from './events/events';
|
|
59
57
|
import * as FlowsAPI from './flows/flows';
|
|
60
58
|
import {
|
|
61
|
-
FlowActionOverrides,
|
|
62
|
-
FlowChildActionInput,
|
|
63
59
|
FlowCloneParams,
|
|
64
60
|
FlowCloneResponse,
|
|
65
61
|
FlowCreateParams,
|
|
66
62
|
FlowCreateResponse,
|
|
67
63
|
FlowDeleteResponse,
|
|
64
|
+
FlowDryRunParams,
|
|
65
|
+
FlowDryRunResponse,
|
|
68
66
|
FlowListParams,
|
|
67
|
+
FlowListRepairsResponse,
|
|
69
68
|
FlowListResponse,
|
|
70
69
|
FlowRetrieveResponse,
|
|
71
70
|
FlowUnblockResponse,
|
|
@@ -84,55 +83,6 @@ export class Workflows extends APIResource {
|
|
|
84
83
|
timezones: TimezonesAPI.Timezones = new TimezonesAPI.Timezones(this._client);
|
|
85
84
|
}
|
|
86
85
|
|
|
87
|
-
export interface Flow {
|
|
88
|
-
id: string;
|
|
89
|
-
|
|
90
|
-
blockedAt: string | null;
|
|
91
|
-
|
|
92
|
-
consecutiveFailures: number;
|
|
93
|
-
|
|
94
|
-
cooldownScope: 'flow' | 'device';
|
|
95
|
-
|
|
96
|
-
cooldownSeconds: number | null;
|
|
97
|
-
|
|
98
|
-
createdAt: string | null;
|
|
99
|
-
|
|
100
|
-
description: string | null;
|
|
101
|
-
|
|
102
|
-
deviceIds: Array<string>;
|
|
103
|
-
|
|
104
|
-
enabled: boolean;
|
|
105
|
-
|
|
106
|
-
lastFailureAt: string | null;
|
|
107
|
-
|
|
108
|
-
lastFailureCode:
|
|
109
|
-
| 'device_not_found'
|
|
110
|
-
| 'permission_denied'
|
|
111
|
-
| 'client_error'
|
|
112
|
-
| 'transient'
|
|
113
|
-
| 'logic'
|
|
114
|
-
| 'invalid_config'
|
|
115
|
-
| null;
|
|
116
|
-
|
|
117
|
-
lastTriggeredAt: string | null;
|
|
118
|
-
|
|
119
|
-
name: string;
|
|
120
|
-
|
|
121
|
-
notifyOnFailure: boolean;
|
|
122
|
-
|
|
123
|
-
notifyOnSuccess: boolean;
|
|
124
|
-
|
|
125
|
-
notifyWebhookId: string | null;
|
|
126
|
-
|
|
127
|
-
status: 'healthy' | 'failing' | 'blocked';
|
|
128
|
-
|
|
129
|
-
triggerId: string;
|
|
130
|
-
|
|
131
|
-
updatedAt: string | null;
|
|
132
|
-
|
|
133
|
-
userId: string;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
86
|
Workflows.Triggers = Triggers;
|
|
137
87
|
Workflows.ActionCatalog = ActionCatalog;
|
|
138
88
|
Workflows.Actions = Actions;
|
|
@@ -142,8 +92,6 @@ Workflows.Executions = Executions;
|
|
|
142
92
|
Workflows.Timezones = Timezones;
|
|
143
93
|
|
|
144
94
|
export declare namespace Workflows {
|
|
145
|
-
export { type Flow as Flow };
|
|
146
|
-
|
|
147
95
|
export {
|
|
148
96
|
Triggers as Triggers,
|
|
149
97
|
type TriggerCreateResponse as TriggerCreateResponse,
|
|
@@ -160,7 +108,6 @@ export declare namespace Workflows {
|
|
|
160
108
|
|
|
161
109
|
export {
|
|
162
110
|
ActionCatalog as ActionCatalog,
|
|
163
|
-
type ActionCatalogEntry as ActionCatalogEntry,
|
|
164
111
|
type ActionCatalogRetrieveResponse as ActionCatalogRetrieveResponse,
|
|
165
112
|
type ActionCatalogListResponse as ActionCatalogListResponse,
|
|
166
113
|
type ActionCatalogListParams as ActionCatalogListParams,
|
|
@@ -168,7 +115,6 @@ export declare namespace Workflows {
|
|
|
168
115
|
|
|
169
116
|
export {
|
|
170
117
|
Actions as Actions,
|
|
171
|
-
type Action as Action,
|
|
172
118
|
type ActionCreateResponse as ActionCreateResponse,
|
|
173
119
|
type ActionRetrieveResponse as ActionRetrieveResponse,
|
|
174
120
|
type ActionUpdateResponse as ActionUpdateResponse,
|
|
@@ -181,19 +127,20 @@ export declare namespace Workflows {
|
|
|
181
127
|
|
|
182
128
|
export {
|
|
183
129
|
Flows as Flows,
|
|
184
|
-
type FlowActionOverrides as FlowActionOverrides,
|
|
185
|
-
type FlowChildActionInput as FlowChildActionInput,
|
|
186
130
|
type FlowCreateResponse as FlowCreateResponse,
|
|
187
131
|
type FlowRetrieveResponse as FlowRetrieveResponse,
|
|
188
132
|
type FlowUpdateResponse as FlowUpdateResponse,
|
|
189
133
|
type FlowListResponse as FlowListResponse,
|
|
190
134
|
type FlowDeleteResponse as FlowDeleteResponse,
|
|
191
135
|
type FlowCloneResponse as FlowCloneResponse,
|
|
136
|
+
type FlowDryRunResponse as FlowDryRunResponse,
|
|
137
|
+
type FlowListRepairsResponse as FlowListRepairsResponse,
|
|
192
138
|
type FlowUnblockResponse as FlowUnblockResponse,
|
|
193
139
|
type FlowCreateParams as FlowCreateParams,
|
|
194
140
|
type FlowUpdateParams as FlowUpdateParams,
|
|
195
141
|
type FlowListParams as FlowListParams,
|
|
196
142
|
type FlowCloneParams as FlowCloneParams,
|
|
143
|
+
type FlowDryRunParams as FlowDryRunParams,
|
|
197
144
|
};
|
|
198
145
|
|
|
199
146
|
export {
|
|
@@ -206,9 +153,9 @@ export declare namespace Workflows {
|
|
|
206
153
|
|
|
207
154
|
export {
|
|
208
155
|
Executions as Executions,
|
|
209
|
-
type FlowExecution as FlowExecution,
|
|
210
156
|
type ExecutionRetrieveResponse as ExecutionRetrieveResponse,
|
|
211
157
|
type ExecutionListResponse as ExecutionListResponse,
|
|
158
|
+
type ExecutionAbortResponse as ExecutionAbortResponse,
|
|
212
159
|
type ExecutionGetMetricsResponse as ExecutionGetMetricsResponse,
|
|
213
160
|
type ExecutionListParams as ExecutionListParams,
|
|
214
161
|
type ExecutionGetMetricsParams as ExecutionGetMetricsParams,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.1
|
|
1
|
+
export const VERSION = '5.2.1'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.1
|
|
1
|
+
export declare const VERSION = "5.2.1";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.1
|
|
1
|
+
export declare const VERSION = "5.2.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '5.1
|
|
1
|
+
export const VERSION = '5.2.1'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|