@mobilerun/sdk 5.2.0 → 5.3.0
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 +29 -0
- package/README.md +15 -12
- package/client.d.mts +36 -15
- package/client.d.mts.map +1 -1
- package/client.d.ts +36 -15
- package/client.d.ts.map +1 -1
- package/client.js +24 -3
- package/client.js.map +1 -1
- package/client.mjs +24 -3
- package/client.mjs.map +1 -1
- package/core/streaming.d.mts +33 -0
- package/core/streaming.d.mts.map +1 -0
- package/core/streaming.d.ts +33 -0
- package/core/streaming.d.ts.map +1 -0
- package/core/streaming.js +263 -0
- package/core/streaming.js.map +1 -0
- package/core/streaming.mjs +258 -0
- package/core/streaming.mjs.map +1 -0
- package/internal/decoders/line.d.mts +17 -0
- package/internal/decoders/line.d.mts.map +1 -0
- package/internal/decoders/line.d.ts +17 -0
- package/internal/decoders/line.d.ts.map +1 -0
- package/internal/decoders/line.js +113 -0
- package/internal/decoders/line.js.map +1 -0
- package/internal/decoders/line.mjs +108 -0
- package/internal/decoders/line.mjs.map +1 -0
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +10 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +10 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/request-options.d.mts +2 -0
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +2 -0
- package/internal/request-options.d.ts.map +1 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs.map +1 -1
- package/internal/tslib.js +18 -18
- package/package.json +12 -2
- package/resources/app-events/app-events.d.mts +81 -0
- package/resources/app-events/app-events.d.mts.map +1 -0
- package/resources/app-events/app-events.d.ts +81 -0
- package/resources/app-events/app-events.d.ts.map +1 -0
- package/resources/app-events/app-events.js +33 -0
- package/resources/app-events/app-events.js.map +1 -0
- package/resources/app-events/app-events.mjs +28 -0
- package/resources/app-events/app-events.mjs.map +1 -0
- package/resources/app-events/catalog.d.mts +64 -0
- package/resources/app-events/catalog.d.mts.map +1 -0
- package/resources/app-events/catalog.d.ts +64 -0
- package/resources/app-events/catalog.d.ts.map +1 -0
- package/resources/app-events/catalog.js +25 -0
- package/resources/app-events/catalog.js.map +1 -0
- package/resources/app-events/catalog.mjs +21 -0
- package/resources/app-events/catalog.mjs.map +1 -0
- package/resources/app-events/index.d.mts +3 -0
- package/resources/app-events/index.d.mts.map +1 -0
- package/resources/app-events/index.d.ts +3 -0
- package/resources/app-events/index.d.ts.map +1 -0
- package/resources/{workflows/events → app-events}/index.js +3 -3
- package/resources/app-events/index.js.map +1 -0
- package/resources/{workflows/events → app-events}/index.mjs +1 -1
- package/resources/app-events/index.mjs.map +1 -0
- package/resources/app-events.d.mts +2 -0
- package/resources/app-events.d.mts.map +1 -0
- package/resources/app-events.d.ts +2 -0
- package/resources/app-events.d.ts.map +1 -0
- package/resources/app-events.js +6 -0
- package/resources/app-events.js.map +1 -0
- package/resources/app-events.mjs +3 -0
- package/resources/app-events.mjs.map +1 -0
- package/resources/apps.d.mts +34 -3
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +34 -3
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +12 -0
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +12 -0
- package/resources/apps.mjs.map +1 -1
- package/resources/assistant/assistant.d.mts +10 -0
- package/resources/assistant/assistant.d.mts.map +1 -0
- package/resources/assistant/assistant.d.ts +10 -0
- package/resources/assistant/assistant.d.ts.map +1 -0
- package/resources/assistant/assistant.js +17 -0
- package/resources/assistant/assistant.js.map +1 -0
- package/resources/assistant/assistant.mjs +12 -0
- package/resources/assistant/assistant.mjs.map +1 -0
- package/resources/assistant/conversations.d.mts +295 -0
- package/resources/assistant/conversations.d.mts.map +1 -0
- package/resources/assistant/conversations.d.ts +295 -0
- package/resources/assistant/conversations.d.ts.map +1 -0
- package/resources/assistant/conversations.js +109 -0
- package/resources/assistant/conversations.js.map +1 -0
- package/resources/assistant/conversations.mjs +105 -0
- package/resources/assistant/conversations.mjs.map +1 -0
- package/resources/assistant/index.d.mts +3 -0
- package/resources/assistant/index.d.mts.map +1 -0
- package/resources/assistant/index.d.ts +3 -0
- package/resources/assistant/index.d.ts.map +1 -0
- package/resources/assistant/index.js +9 -0
- package/resources/assistant/index.js.map +1 -0
- package/resources/assistant/index.mjs +4 -0
- package/resources/assistant/index.mjs.map +1 -0
- package/resources/assistant.d.mts +2 -0
- package/resources/assistant.d.mts.map +1 -0
- package/resources/assistant.d.ts +2 -0
- package/resources/assistant.d.ts.map +1 -0
- package/resources/assistant.js +6 -0
- package/resources/assistant.js.map +1 -0
- package/resources/assistant.mjs +3 -0
- package/resources/assistant.mjs.map +1 -0
- package/resources/credentials/credentials.d.mts +24 -4
- package/resources/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/credentials.d.ts +24 -4
- package/resources/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/credentials.js.map +1 -1
- package/resources/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/index.d.mts +1 -1
- package/resources/credentials/index.d.mts.map +1 -1
- package/resources/credentials/index.d.ts +1 -1
- package/resources/credentials/index.d.ts.map +1 -1
- package/resources/credentials/index.js.map +1 -1
- package/resources/credentials/index.mjs.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.mts +67 -23
- package/resources/credentials/packages/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.ts +67 -23
- package/resources/credentials/packages/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.js.map +1 -1
- package/resources/credentials/packages/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.mts +66 -4
- package/resources/credentials/packages/credentials/fields.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.ts +66 -4
- package/resources/credentials/packages/credentials/fields.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/fields.js.map +1 -1
- package/resources/credentials/packages/credentials/fields.mjs.map +1 -1
- package/resources/credentials/packages/credentials/index.d.mts +1 -1
- package/resources/credentials/packages/credentials/index.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/index.d.ts +1 -1
- package/resources/credentials/packages/credentials/index.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/index.js.map +1 -1
- package/resources/credentials/packages/credentials/index.mjs.map +1 -1
- package/resources/credentials/packages/index.d.mts +2 -2
- package/resources/credentials/packages/index.d.mts.map +1 -1
- package/resources/credentials/packages/index.d.ts +2 -2
- package/resources/credentials/packages/index.d.ts.map +1 -1
- package/resources/credentials/packages/index.js.map +1 -1
- package/resources/credentials/packages/index.mjs.map +1 -1
- package/resources/credentials/packages/packages.d.mts +39 -4
- package/resources/credentials/packages/packages.d.mts.map +1 -1
- package/resources/credentials/packages/packages.d.ts +39 -4
- package/resources/credentials/packages/packages.d.ts.map +1 -1
- package/resources/credentials/packages/packages.js +8 -0
- package/resources/credentials/packages/packages.js.map +1 -1
- package/resources/credentials/packages/packages.mjs +8 -0
- package/resources/credentials/packages/packages.mjs.map +1 -1
- package/resources/devices/apps.d.mts +81 -1
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +81 -1
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/apps.js +59 -0
- package/resources/devices/apps.js.map +1 -1
- package/resources/devices/apps.mjs +59 -0
- package/resources/devices/apps.mjs.map +1 -1
- package/resources/devices/browser.d.mts +41 -0
- package/resources/devices/browser.d.mts.map +1 -0
- package/resources/devices/browser.d.ts +41 -0
- package/resources/devices/browser.d.ts.map +1 -0
- package/resources/devices/browser.js +31 -0
- package/resources/devices/browser.js.map +1 -0
- package/resources/devices/browser.mjs +27 -0
- package/resources/devices/browser.mjs.map +1 -0
- package/resources/devices/clipboard.d.mts +40 -0
- package/resources/devices/clipboard.d.mts.map +1 -0
- package/resources/devices/clipboard.d.ts +40 -0
- package/resources/devices/clipboard.d.ts.map +1 -0
- package/resources/devices/clipboard.js +50 -0
- package/resources/devices/clipboard.js.map +1 -0
- package/resources/devices/clipboard.mjs +46 -0
- package/resources/devices/clipboard.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 +214 -19
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +214 -19
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +59 -2
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +59 -2
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/esim/apn.d.mts +95 -0
- package/resources/devices/esim/apn.d.mts.map +1 -0
- package/resources/devices/esim/apn.d.ts +95 -0
- package/resources/devices/esim/apn.d.ts.map +1 -0
- package/resources/devices/esim/apn.js +70 -0
- package/resources/devices/esim/apn.js.map +1 -0
- package/resources/devices/esim/apn.mjs +66 -0
- package/resources/devices/esim/apn.mjs.map +1 -0
- package/resources/devices/esim/esim.d.mts +144 -0
- package/resources/devices/esim/esim.d.mts.map +1 -0
- package/resources/devices/esim/esim.d.ts +144 -0
- package/resources/devices/esim/esim.d.ts.map +1 -0
- package/resources/devices/esim/esim.js +131 -0
- package/resources/devices/esim/esim.js.map +1 -0
- package/resources/devices/esim/esim.mjs +126 -0
- package/resources/devices/esim/esim.mjs.map +1 -0
- package/resources/devices/esim/index.d.mts +3 -0
- package/resources/devices/esim/index.d.mts.map +1 -0
- package/resources/devices/esim/index.d.ts +3 -0
- package/resources/devices/esim/index.d.ts.map +1 -0
- package/resources/devices/esim/index.js +9 -0
- package/resources/devices/esim/index.js.map +1 -0
- package/resources/devices/esim/index.mjs +4 -0
- package/resources/devices/esim/index.mjs.map +1 -0
- package/resources/devices/esim.d.mts +1 -102
- package/resources/devices/esim.d.mts.map +1 -1
- package/resources/devices/esim.d.ts +1 -102
- package/resources/devices/esim.d.ts.map +1 -1
- package/resources/devices/esim.js +2 -82
- package/resources/devices/esim.js.map +1 -1
- package/resources/devices/esim.mjs +1 -80
- package/resources/devices/esim.mjs.map +1 -1
- package/resources/devices/files.d.mts +31 -29
- package/resources/devices/files.d.mts.map +1 -1
- package/resources/devices/files.d.ts +31 -29
- package/resources/devices/files.d.ts.map +1 -1
- package/resources/devices/index.d.mts +12 -6
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +12 -6
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js +15 -3
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs +8 -2
- package/resources/devices/index.mjs.map +1 -1
- package/resources/devices/kiosk.d.mts +32 -0
- package/resources/devices/kiosk.d.mts.map +1 -0
- package/resources/devices/kiosk.d.ts +32 -0
- package/resources/devices/kiosk.d.ts.map +1 -0
- package/resources/devices/kiosk.js +50 -0
- package/resources/devices/kiosk.js.map +1 -0
- package/resources/devices/kiosk.mjs +46 -0
- package/resources/devices/kiosk.mjs.map +1 -0
- package/resources/devices/location.d.mts +9 -1
- package/resources/devices/location.d.mts.map +1 -1
- package/resources/devices/location.d.ts +9 -1
- package/resources/devices/location.d.ts.map +1 -1
- package/resources/devices/location.js +19 -0
- package/resources/devices/location.js.map +1 -1
- package/resources/devices/location.mjs +19 -0
- package/resources/devices/location.mjs.map +1 -1
- package/resources/devices/media-sessions.d.mts +96 -0
- package/resources/devices/media-sessions.d.mts.map +1 -0
- package/resources/devices/media-sessions.d.ts +96 -0
- package/resources/devices/media-sessions.d.ts.map +1 -0
- package/resources/devices/media-sessions.js +50 -0
- package/resources/devices/media-sessions.js.map +1 -0
- package/resources/devices/media-sessions.mjs +46 -0
- package/resources/devices/media-sessions.mjs.map +1 -0
- package/resources/devices/recordings.d.mts +192 -0
- package/resources/devices/recordings.d.mts.map +1 -0
- package/resources/devices/recordings.d.ts +192 -0
- package/resources/devices/recordings.d.ts.map +1 -0
- package/resources/devices/recordings.js +67 -0
- package/resources/devices/recordings.js.map +1 -0
- package/resources/devices/recordings.mjs +63 -0
- package/resources/devices/recordings.mjs.map +1 -0
- package/resources/devices/state.d.mts +6 -7
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +6 -7
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/devices/state.js.map +1 -1
- package/resources/devices/state.mjs.map +1 -1
- package/resources/devices/tasks.d.mts +8 -2
- package/resources/devices/tasks.d.mts.map +1 -1
- package/resources/devices/tasks.d.ts +8 -2
- package/resources/devices/tasks.d.ts.map +1 -1
- package/resources/devices/tasks.js.map +1 -1
- package/resources/devices/tasks.mjs.map +1 -1
- package/resources/esims/esims.d.mts +566 -0
- package/resources/esims/esims.d.mts.map +1 -0
- package/resources/esims/esims.d.ts +566 -0
- package/resources/esims/esims.d.ts.map +1 -0
- package/resources/esims/esims.js +205 -0
- package/resources/esims/esims.js.map +1 -0
- package/resources/esims/esims.mjs +200 -0
- package/resources/esims/esims.mjs.map +1 -0
- package/resources/esims/index.d.mts +3 -0
- package/resources/esims/index.d.mts.map +1 -0
- package/resources/esims/index.d.ts +3 -0
- package/resources/esims/index.d.ts.map +1 -0
- package/resources/esims/index.js +9 -0
- package/resources/esims/index.js.map +1 -0
- package/resources/esims/index.mjs +4 -0
- package/resources/esims/index.mjs.map +1 -0
- package/resources/esims/messages.d.mts +106 -0
- package/resources/esims/messages.d.mts.map +1 -0
- package/resources/esims/messages.d.ts +106 -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/files.d.mts +126 -0
- package/resources/files.d.mts.map +1 -0
- package/resources/files.d.ts +126 -0
- package/resources/files.d.ts.map +1 -0
- package/resources/files.js +68 -0
- package/resources/files.js.map +1 -0
- package/resources/files.mjs +64 -0
- package/resources/files.mjs.map +1 -0
- package/resources/index.d.mts +13 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +13 -6
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +17 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +8 -1
- package/resources/index.mjs.map +1 -1
- package/resources/messages/conversations.d.mts +82 -0
- package/resources/messages/conversations.d.mts.map +1 -0
- package/resources/messages/conversations.d.ts +82 -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 +51 -0
- package/resources/messages/messages.d.mts.map +1 -0
- package/resources/messages/messages.d.ts +51 -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/models.d.mts +20 -5
- package/resources/models.d.mts.map +1 -1
- package/resources/models.d.ts +20 -5
- package/resources/models.d.ts.map +1 -1
- package/resources/models.js +1 -1
- package/resources/models.mjs +1 -1
- 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 +48 -0
- package/resources/numbers/messages.d.mts.map +1 -0
- package/resources/numbers/messages.d.ts +48 -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 +270 -0
- package/resources/numbers/numbers.d.mts.map +1 -0
- package/resources/numbers/numbers.d.ts +270 -0
- package/resources/numbers/numbers.d.ts.map +1 -0
- package/resources/numbers/numbers.js +134 -0
- package/resources/numbers/numbers.js.map +1 -0
- package/resources/numbers/numbers.mjs +129 -0
- package/resources/numbers/numbers.mjs.map +1 -0
- package/resources/numbers.d.mts +2 -0
- package/resources/numbers.d.mts.map +1 -0
- package/resources/numbers.d.ts +2 -0
- package/resources/numbers.d.ts.map +1 -0
- package/resources/numbers.js +6 -0
- package/resources/numbers.js.map +1 -0
- package/resources/numbers.mjs +3 -0
- package/resources/numbers.mjs.map +1 -0
- package/resources/proxies.d.mts +43 -20
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +43 -20
- package/resources/proxies.d.ts.map +1 -1
- package/resources/proxies.js.map +1 -1
- package/resources/proxies.mjs.map +1 -1
- package/resources/shared.d.mts +11 -3
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +11 -3
- package/resources/shared.d.ts.map +1 -1
- package/resources/store/apps.d.mts +119 -0
- package/resources/store/apps.d.mts.map +1 -0
- package/resources/store/apps.d.ts +119 -0
- package/resources/store/apps.d.ts.map +1 -0
- package/resources/store/apps.js +31 -0
- package/resources/store/apps.js.map +1 -0
- package/resources/store/apps.mjs +27 -0
- package/resources/store/apps.mjs.map +1 -0
- package/resources/store/index.d.mts +3 -0
- package/resources/store/index.d.mts.map +1 -0
- package/resources/store/index.d.ts +3 -0
- package/resources/store/index.d.ts.map +1 -0
- package/resources/store/index.js +9 -0
- package/resources/store/index.js.map +1 -0
- package/resources/store/index.mjs +4 -0
- package/resources/store/index.mjs.map +1 -0
- package/resources/store/store.d.mts +20 -0
- package/resources/store/store.d.mts.map +1 -0
- package/resources/store/store.d.ts +20 -0
- package/resources/store/store.d.ts.map +1 -0
- package/resources/store/store.js +23 -0
- package/resources/store/store.js.map +1 -0
- package/resources/store/store.mjs +18 -0
- package/resources/store/store.mjs.map +1 -0
- package/resources/store.d.mts +2 -0
- package/resources/store.d.mts.map +1 -0
- package/resources/store.d.ts +2 -0
- package/resources/store.d.ts.map +1 -0
- package/resources/store.js +6 -0
- package/resources/store.js.map +1 -0
- package/resources/store.mjs +3 -0
- package/resources/store.mjs.map +1 -0
- package/resources/tasks/index.d.mts +3 -3
- package/resources/tasks/index.d.mts.map +1 -1
- package/resources/tasks/index.d.ts +3 -3
- package/resources/tasks/index.d.ts.map +1 -1
- package/resources/tasks/index.js.map +1 -1
- package/resources/tasks/index.mjs +1 -1
- package/resources/tasks/index.mjs.map +1 -1
- package/resources/tasks/screenshots.d.mts +3 -3
- package/resources/tasks/screenshots.d.mts.map +1 -1
- package/resources/tasks/screenshots.d.ts +3 -3
- package/resources/tasks/screenshots.d.ts.map +1 -1
- package/resources/tasks/tasks.d.mts +65 -34
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +65 -34
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs +1 -1
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/tasks/ui-states.d.mts +8 -3
- package/resources/tasks/ui-states.d.mts.map +1 -1
- package/resources/tasks/ui-states.d.ts +8 -3
- package/resources/tasks/ui-states.d.ts.map +1 -1
- package/resources/tasks/ui-states.js.map +1 -1
- package/resources/tasks/ui-states.mjs.map +1 -1
- package/resources/workflows/action-catalog.d.mts +27 -13
- package/resources/workflows/action-catalog.d.mts.map +1 -1
- package/resources/workflows/action-catalog.d.ts +27 -13
- package/resources/workflows/action-catalog.d.ts.map +1 -1
- package/resources/workflows/actions/actions.d.mts +85 -23
- package/resources/workflows/actions/actions.d.mts.map +1 -1
- package/resources/workflows/actions/actions.d.ts +85 -23
- package/resources/workflows/actions/actions.d.ts.map +1 -1
- package/resources/workflows/actions/actions.js.map +1 -1
- package/resources/workflows/actions/actions.mjs.map +1 -1
- package/resources/workflows/actions/index.d.mts +1 -1
- package/resources/workflows/actions/index.d.mts.map +1 -1
- package/resources/workflows/actions/index.d.ts +1 -1
- package/resources/workflows/actions/index.d.ts.map +1 -1
- package/resources/workflows/actions/index.js.map +1 -1
- package/resources/workflows/actions/index.mjs.map +1 -1
- package/resources/workflows/events.d.mts +145 -1
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +145 -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 +96 -26
- package/resources/workflows/executions.d.mts.map +1 -1
- package/resources/workflows/executions.d.ts +96 -26
- package/resources/workflows/executions.d.ts.map +1 -1
- package/resources/workflows/executions.js +7 -0
- package/resources/workflows/executions.js.map +1 -1
- package/resources/workflows/executions.mjs +7 -0
- package/resources/workflows/executions.mjs.map +1 -1
- package/resources/workflows/flows/actions.d.mts +109 -26
- package/resources/workflows/flows/actions.d.mts.map +1 -1
- package/resources/workflows/flows/actions.d.ts +109 -26
- package/resources/workflows/flows/actions.d.ts.map +1 -1
- package/resources/workflows/flows/actions.js.map +1 -1
- package/resources/workflows/flows/actions.mjs.map +1 -1
- package/resources/workflows/flows/flows.d.mts +381 -25
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +381 -25
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +25 -0
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +25 -0
- package/resources/workflows/flows/flows.mjs.map +1 -1
- package/resources/workflows/flows/index.d.mts +2 -2
- package/resources/workflows/flows/index.d.mts.map +1 -1
- package/resources/workflows/flows/index.d.ts +2 -2
- package/resources/workflows/flows/index.d.ts.map +1 -1
- package/resources/workflows/flows/index.js.map +1 -1
- package/resources/workflows/flows/index.mjs.map +1 -1
- package/resources/workflows/index.d.mts +6 -6
- package/resources/workflows/index.d.mts.map +1 -1
- package/resources/workflows/index.d.ts +6 -6
- package/resources/workflows/index.d.ts.map +1 -1
- package/resources/workflows/index.js +4 -4
- package/resources/workflows/index.js.map +1 -1
- package/resources/workflows/index.mjs +1 -1
- package/resources/workflows/index.mjs.map +1 -1
- package/resources/workflows/triggers.d.mts +6 -3
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +6 -3
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/workflows.d.mts +10 -48
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +10 -48
- package/resources/workflows/workflows.d.ts.map +1 -1
- package/resources/workflows/workflows.js +2 -2
- package/resources/workflows/workflows.js.map +1 -1
- package/resources/workflows/workflows.mjs +2 -2
- package/resources/workflows/workflows.mjs.map +1 -1
- package/src/client.ts +164 -21
- package/src/core/streaming.ts +315 -0
- package/src/internal/decoders/line.ts +135 -0
- package/src/internal/parse.ts +14 -0
- package/src/internal/request-options.ts +2 -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 +41 -2
- package/src/resources/assistant/assistant.ts +59 -0
- package/src/resources/assistant/conversations.ts +524 -0
- package/src/resources/assistant/index.ts +26 -0
- package/src/resources/assistant.ts +3 -0
- package/src/resources/credentials/credentials.ts +40 -2
- package/src/resources/credentials/index.ts +1 -0
- package/src/resources/credentials/packages/credentials/credentials.ts +108 -33
- package/src/resources/credentials/packages/credentials/fields.ts +114 -4
- package/src/resources/credentials/packages/credentials/index.ts +0 -1
- package/src/resources/credentials/packages/index.ts +1 -1
- package/src/resources/credentials/packages/packages.ts +58 -3
- package/src/resources/devices/apps.ts +155 -0
- package/src/resources/devices/browser.ts +71 -0
- package/src/resources/devices/clipboard.ts +87 -0
- package/src/resources/devices/deep-link.ts +70 -0
- package/src/resources/devices/devices.ts +427 -23
- package/src/resources/devices/esim/apn.ts +178 -0
- package/src/resources/devices/esim/esim.ts +312 -0
- package/src/resources/devices/esim/index.ts +21 -0
- package/src/resources/devices/esim.ts +1 -208
- package/src/resources/devices/files.ts +36 -35
- package/src/resources/devices/index.ts +51 -5
- package/src/resources/devices/kiosk.ts +74 -0
- package/src/resources/devices/location.ts +33 -1
- package/src/resources/devices/media-sessions.ts +168 -0
- package/src/resources/devices/recordings.ts +358 -0
- package/src/resources/devices/state.ts +7 -9
- package/src/resources/devices/tasks.ts +11 -2
- package/src/resources/esims/esims.ts +1019 -0
- package/src/resources/esims/index.ts +28 -0
- package/src/resources/esims/messages.ts +187 -0
- package/src/resources/esims.ts +3 -0
- package/src/resources/files.ts +225 -0
- package/src/resources/index.ts +67 -8
- package/src/resources/messages/conversations.ts +132 -0
- package/src/resources/messages/index.ts +10 -0
- package/src/resources/messages/messages.ts +114 -0
- package/src/resources/messages.ts +3 -0
- package/src/resources/models.ts +22 -7
- package/src/resources/notifications.ts +118 -0
- package/src/resources/numbers/index.ts +16 -0
- package/src/resources/numbers/messages.ts +83 -0
- package/src/resources/numbers/numbers.ts +415 -0
- package/src/resources/numbers.ts +3 -0
- package/src/resources/proxies.ts +52 -22
- package/src/resources/shared.ts +18 -4
- package/src/resources/store/apps.ts +704 -0
- package/src/resources/store/index.ts +10 -0
- package/src/resources/store/store.ts +36 -0
- package/src/resources/store.ts +3 -0
- package/src/resources/tasks/index.ts +7 -6
- package/src/resources/tasks/screenshots.ts +3 -3
- package/src/resources/tasks/tasks.ts +89 -53
- package/src/resources/tasks/ui-states.ts +9 -2
- package/src/resources/workflows/action-catalog.ts +35 -14
- package/src/resources/workflows/actions/actions.ts +124 -24
- package/src/resources/workflows/actions/index.ts +0 -1
- package/src/resources/workflows/events.ts +228 -1
- package/src/resources/workflows/executions.ts +139 -35
- package/src/resources/workflows/flows/actions.ts +129 -25
- package/src/resources/workflows/flows/flows.ts +638 -24
- package/src/resources/workflows/flows/index.ts +3 -3
- package/src/resources/workflows/index.ts +6 -7
- package/src/resources/workflows/triggers.ts +6 -3
- package/src/resources/workflows/workflows.ts +16 -90
- package/src/streaming.ts +2 -0
- package/src/version.ts +1 -1
- package/streaming.d.mts +3 -0
- package/streaming.d.mts.map +1 -0
- package/streaming.d.ts +3 -0
- package/streaming.d.ts.map +1 -0
- package/streaming.js +6 -0
- package/streaming.js.map +1 -0
- package/streaming.mjs +3 -0
- package/streaming.mjs.map +1 -0
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/hooks.d.mts +0 -4
- package/resources/hooks.d.mts.map +0 -1
- package/resources/hooks.d.ts +0 -4
- package/resources/hooks.d.ts.map +0 -1
- package/resources/hooks.js +0 -9
- package/resources/hooks.js.map +0 -1
- package/resources/hooks.mjs +0 -5
- package/resources/hooks.mjs.map +0 -1
- package/resources/workflows/events/catalog.d.mts +0 -4
- package/resources/workflows/events/catalog.d.mts.map +0 -1
- package/resources/workflows/events/catalog.d.ts +0 -4
- package/resources/workflows/events/catalog.d.ts.map +0 -1
- package/resources/workflows/events/catalog.js +0 -9
- package/resources/workflows/events/catalog.js.map +0 -1
- package/resources/workflows/events/catalog.mjs +0 -5
- package/resources/workflows/events/catalog.mjs.map +0 -1
- package/resources/workflows/events/events.d.mts +0 -113
- package/resources/workflows/events/events.d.mts.map +0 -1
- package/resources/workflows/events/events.d.ts +0 -113
- package/resources/workflows/events/events.d.ts.map +0 -1
- package/resources/workflows/events/events.js +0 -30
- package/resources/workflows/events/events.js.map +0 -1
- package/resources/workflows/events/events.mjs +0 -25
- package/resources/workflows/events/events.mjs.map +0 -1
- package/resources/workflows/events/index.d.mts +0 -3
- package/resources/workflows/events/index.d.mts.map +0 -1
- package/resources/workflows/events/index.d.ts +0 -3
- package/resources/workflows/events/index.d.ts.map +0 -1
- package/resources/workflows/events/index.js.map +0 -1
- package/resources/workflows/events/index.mjs.map +0 -1
- package/src/resources/hooks.ts +0 -5
- package/src/resources/workflows/events/catalog.ts +0 -5
- package/src/resources/workflows/events/events.ts +0 -167
- package/src/resources/workflows/events/index.ts +0 -10
|
@@ -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';
|
|
@@ -372,9 +372,12 @@ export namespace TriggerCreateParams {
|
|
|
372
372
|
export interface TriggerUpdateParams {
|
|
373
373
|
activation?: 'event' | 'schedule' | 'custom';
|
|
374
374
|
|
|
375
|
-
conditions?: TriggerUpdateParams.Conditions;
|
|
375
|
+
conditions?: TriggerUpdateParams.Conditions | null;
|
|
376
376
|
|
|
377
|
-
|
|
377
|
+
/**
|
|
378
|
+
* Optional JSON Schema for validating payloads sent to this custom trigger
|
|
379
|
+
*/
|
|
380
|
+
customPayloadSchema?: { [key: string]: unknown } | null;
|
|
378
381
|
|
|
379
382
|
description?: string;
|
|
380
383
|
|
|
@@ -382,7 +385,7 @@ export interface TriggerUpdateParams {
|
|
|
382
385
|
|
|
383
386
|
name?: string;
|
|
384
387
|
|
|
385
|
-
scheduleRule?: TriggerUpdateParams.ScheduleRule;
|
|
388
|
+
scheduleRule?: TriggerUpdateParams.ScheduleRule | null;
|
|
386
389
|
|
|
387
390
|
timezone?: string | null;
|
|
388
391
|
}
|
|
@@ -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,76 +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
|
-
createdBy: string | null;
|
|
101
|
-
|
|
102
|
-
description: string | null;
|
|
103
|
-
|
|
104
|
-
deviceIds: Array<string>;
|
|
105
|
-
|
|
106
|
-
enabled: boolean;
|
|
107
|
-
|
|
108
|
-
healthMonitoringEnabled: boolean;
|
|
109
|
-
|
|
110
|
-
lastFailureAt: string | null;
|
|
111
|
-
|
|
112
|
-
lastFailureCode:
|
|
113
|
-
| 'device_not_found'
|
|
114
|
-
| 'permission_denied'
|
|
115
|
-
| 'client_error'
|
|
116
|
-
| 'transient'
|
|
117
|
-
| 'logic'
|
|
118
|
-
| 'invalid_config'
|
|
119
|
-
| null;
|
|
120
|
-
|
|
121
|
-
lastTriggeredAt: string | null;
|
|
122
|
-
|
|
123
|
-
name: string;
|
|
124
|
-
|
|
125
|
-
notifyOnFailure: boolean;
|
|
126
|
-
|
|
127
|
-
notifyOnSuccess: boolean;
|
|
128
|
-
|
|
129
|
-
notifyWebhookId: string | null;
|
|
130
|
-
|
|
131
|
-
ownerId: string;
|
|
132
|
-
|
|
133
|
-
selfHealingEnabled: boolean;
|
|
134
|
-
|
|
135
|
-
selfHealingMaxAttempts: number;
|
|
136
|
-
|
|
137
|
-
status: 'healthy' | 'failing' | 'blocked';
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* Template-resolver semantics this flow runs under (MVA-23). 1 = legacy
|
|
141
|
-
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
142
|
-
* a whole-token null stays JSON null). Existing flows stay 1; new flows default
|
|
143
|
-
* to 2.
|
|
144
|
-
*/
|
|
145
|
-
templateResolutionVersion: number;
|
|
146
|
-
|
|
147
|
-
triggerId: string;
|
|
148
|
-
|
|
149
|
-
updatedAt: string | null;
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
153
|
-
*/
|
|
154
|
-
userId: string;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
86
|
Workflows.Triggers = Triggers;
|
|
158
87
|
Workflows.ActionCatalog = ActionCatalog;
|
|
159
88
|
Workflows.Actions = Actions;
|
|
@@ -163,8 +92,6 @@ Workflows.Executions = Executions;
|
|
|
163
92
|
Workflows.Timezones = Timezones;
|
|
164
93
|
|
|
165
94
|
export declare namespace Workflows {
|
|
166
|
-
export { type Flow as Flow };
|
|
167
|
-
|
|
168
95
|
export {
|
|
169
96
|
Triggers as Triggers,
|
|
170
97
|
type TriggerCreateResponse as TriggerCreateResponse,
|
|
@@ -181,7 +108,6 @@ export declare namespace Workflows {
|
|
|
181
108
|
|
|
182
109
|
export {
|
|
183
110
|
ActionCatalog as ActionCatalog,
|
|
184
|
-
type ActionCatalogEntry as ActionCatalogEntry,
|
|
185
111
|
type ActionCatalogRetrieveResponse as ActionCatalogRetrieveResponse,
|
|
186
112
|
type ActionCatalogListResponse as ActionCatalogListResponse,
|
|
187
113
|
type ActionCatalogListParams as ActionCatalogListParams,
|
|
@@ -189,7 +115,6 @@ export declare namespace Workflows {
|
|
|
189
115
|
|
|
190
116
|
export {
|
|
191
117
|
Actions as Actions,
|
|
192
|
-
type Action as Action,
|
|
193
118
|
type ActionCreateResponse as ActionCreateResponse,
|
|
194
119
|
type ActionRetrieveResponse as ActionRetrieveResponse,
|
|
195
120
|
type ActionUpdateResponse as ActionUpdateResponse,
|
|
@@ -202,19 +127,20 @@ export declare namespace Workflows {
|
|
|
202
127
|
|
|
203
128
|
export {
|
|
204
129
|
Flows as Flows,
|
|
205
|
-
type FlowActionOverrides as FlowActionOverrides,
|
|
206
|
-
type FlowChildActionInput as FlowChildActionInput,
|
|
207
130
|
type FlowCreateResponse as FlowCreateResponse,
|
|
208
131
|
type FlowRetrieveResponse as FlowRetrieveResponse,
|
|
209
132
|
type FlowUpdateResponse as FlowUpdateResponse,
|
|
210
133
|
type FlowListResponse as FlowListResponse,
|
|
211
134
|
type FlowDeleteResponse as FlowDeleteResponse,
|
|
212
135
|
type FlowCloneResponse as FlowCloneResponse,
|
|
136
|
+
type FlowDryRunResponse as FlowDryRunResponse,
|
|
137
|
+
type FlowListRepairsResponse as FlowListRepairsResponse,
|
|
213
138
|
type FlowUnblockResponse as FlowUnblockResponse,
|
|
214
139
|
type FlowCreateParams as FlowCreateParams,
|
|
215
140
|
type FlowUpdateParams as FlowUpdateParams,
|
|
216
141
|
type FlowListParams as FlowListParams,
|
|
217
142
|
type FlowCloneParams as FlowCloneParams,
|
|
143
|
+
type FlowDryRunParams as FlowDryRunParams,
|
|
218
144
|
};
|
|
219
145
|
|
|
220
146
|
export {
|
|
@@ -227,9 +153,9 @@ export declare namespace Workflows {
|
|
|
227
153
|
|
|
228
154
|
export {
|
|
229
155
|
Executions as Executions,
|
|
230
|
-
type FlowExecution as FlowExecution,
|
|
231
156
|
type ExecutionRetrieveResponse as ExecutionRetrieveResponse,
|
|
232
157
|
type ExecutionListResponse as ExecutionListResponse,
|
|
158
|
+
type ExecutionAbortResponse as ExecutionAbortResponse,
|
|
233
159
|
type ExecutionGetMetricsResponse as ExecutionGetMetricsResponse,
|
|
234
160
|
type ExecutionListParams as ExecutionListParams,
|
|
235
161
|
type ExecutionGetMetricsParams as ExecutionGetMetricsParams,
|
package/src/streaming.ts
ADDED
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.3.0'; // x-release-please-version
|
package/streaming.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"streaming.d.mts","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,qCAAiC"}
|
package/streaming.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"streaming.d.ts","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,oCAAiC"}
|
package/streaming.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("./internal/tslib.js");
|
|
4
|
+
/** @deprecated Import from ./core/streaming instead */
|
|
5
|
+
tslib_1.__exportStar(require("./core/streaming.js"), exports);
|
|
6
|
+
//# sourceMappingURL=streaming.js.map
|
package/streaming.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"streaming.js","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":";;;AAAA,uDAAuD;AACvD,8DAAiC"}
|
package/streaming.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"streaming.mjs","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,qCAAiC"}
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.3.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.3.0";
|
|
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
|
+
export const VERSION = '5.3.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
package/resources/hooks.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.mts","sourceRoot":"","sources":["../src/resources/hooks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,qBAAa,KAAM,SAAQ,WAAW;CAAG"}
|
package/resources/hooks.d.ts
DELETED
package/resources/hooks.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../src/resources/hooks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAE/C,qBAAa,KAAM,SAAQ,WAAW;CAAG"}
|
package/resources/hooks.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Hooks = void 0;
|
|
5
|
-
const resource_1 = require("../core/resource.js");
|
|
6
|
-
class Hooks extends resource_1.APIResource {
|
|
7
|
-
}
|
|
8
|
-
exports.Hooks = Hooks;
|
|
9
|
-
//# sourceMappingURL=hooks.js.map
|
package/resources/hooks.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../src/resources/hooks.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,MAAa,KAAM,SAAQ,sBAAW;CAAG;AAAzC,sBAAyC"}
|
package/resources/hooks.mjs
DELETED
package/resources/hooks.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.mjs","sourceRoot":"","sources":["../src/resources/hooks.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,MAAM,OAAO,KAAM,SAAQ,WAAW;CAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/events/catalog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,qBAAa,OAAQ,SAAQ,WAAW;CAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/events/catalog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AAErD,qBAAa,OAAQ,SAAQ,WAAW;CAAG"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Catalog = void 0;
|
|
5
|
-
const resource_1 = require("../../../core/resource.js");
|
|
6
|
-
class Catalog extends resource_1.APIResource {
|
|
7
|
-
}
|
|
8
|
-
exports.Catalog = Catalog;
|
|
9
|
-
//# sourceMappingURL=catalog.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.js","sourceRoot":"","sources":["../../../src/resources/workflows/events/catalog.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,MAAa,OAAQ,SAAQ,sBAAW;CAAG;AAA3C,0BAA2C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/events/catalog.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,MAAM,OAAO,OAAQ,SAAQ,WAAW;CAAG"}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
-
import * as WorkflowsAPI from "../workflows.mjs";
|
|
3
|
-
import * as CatalogAPI from "./catalog.mjs";
|
|
4
|
-
import { Catalog } from "./catalog.mjs";
|
|
5
|
-
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
6
|
-
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
7
|
-
export declare class Events extends APIResource {
|
|
8
|
-
catalog: CatalogAPI.Catalog;
|
|
9
|
-
/**
|
|
10
|
-
* Simulate an event against all configured flows. Returns which flows would match
|
|
11
|
-
* and what actions would run, without storing the event or enqueuing jobs.
|
|
12
|
-
*/
|
|
13
|
-
dryRun(body: EventDryRunParams, options?: RequestOptions): APIPromise<EventDryRunResponse>;
|
|
14
|
-
/**
|
|
15
|
-
* Ingest an event for trigger evaluation. Returns immediately with 202 Accepted.
|
|
16
|
-
*/
|
|
17
|
-
ingest(body: EventIngestParams, options?: RequestOptions): APIPromise<EventIngestResponse>;
|
|
18
|
-
}
|
|
19
|
-
export interface EventDryRunResponse {
|
|
20
|
-
data: EventDryRunResponse.Data;
|
|
21
|
-
}
|
|
22
|
-
export declare namespace EventDryRunResponse {
|
|
23
|
-
interface Data {
|
|
24
|
-
matchedFlows: Array<Data.MatchedFlow>;
|
|
25
|
-
validation: Data.Validation;
|
|
26
|
-
}
|
|
27
|
-
namespace Data {
|
|
28
|
-
interface MatchedFlow {
|
|
29
|
-
actions: Array<MatchedFlow.Action>;
|
|
30
|
-
flow: WorkflowsAPI.Flow;
|
|
31
|
-
gates: MatchedFlow.Gates;
|
|
32
|
-
trigger: MatchedFlow.Trigger;
|
|
33
|
-
wouldFire: boolean;
|
|
34
|
-
}
|
|
35
|
-
namespace MatchedFlow {
|
|
36
|
-
interface Action {
|
|
37
|
-
continueOnError: boolean;
|
|
38
|
-
method: string;
|
|
39
|
-
name: string;
|
|
40
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks';
|
|
41
|
-
/**
|
|
42
|
-
* Nested child actions (loop/branch bodies), each the same shape as a
|
|
43
|
-
* ResolvedAction.
|
|
44
|
-
*/
|
|
45
|
-
children?: Array<unknown>;
|
|
46
|
-
params?: {
|
|
47
|
-
[key: string]: unknown;
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
interface Gates {
|
|
51
|
-
blocked: boolean;
|
|
52
|
-
cooldownActive: boolean | null;
|
|
53
|
-
deviceAttached: boolean;
|
|
54
|
-
deviceIds: Array<string>;
|
|
55
|
-
enabled: boolean;
|
|
56
|
-
}
|
|
57
|
-
interface Trigger {
|
|
58
|
-
id: string;
|
|
59
|
-
activation: 'event' | 'schedule' | 'custom';
|
|
60
|
-
createdAt: string | null;
|
|
61
|
-
createdBy: string | null;
|
|
62
|
-
customPayloadSchema: {
|
|
63
|
-
[key: string]: unknown;
|
|
64
|
-
} | null;
|
|
65
|
-
description: string | null;
|
|
66
|
-
eventType: string | null;
|
|
67
|
-
name: string;
|
|
68
|
-
ownerId: string;
|
|
69
|
-
scheduleRule: unknown;
|
|
70
|
-
timezone: string | null;
|
|
71
|
-
updatedAt: string | null;
|
|
72
|
-
/**
|
|
73
|
-
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
74
|
-
*/
|
|
75
|
-
userId: string;
|
|
76
|
-
conditions?: unknown;
|
|
77
|
-
nextFireTime?: string | null;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
interface Validation {
|
|
81
|
-
valid: boolean;
|
|
82
|
-
errors?: Array<Validation.Error>;
|
|
83
|
-
}
|
|
84
|
-
namespace Validation {
|
|
85
|
-
interface Error {
|
|
86
|
-
field: string;
|
|
87
|
-
message: string;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
export interface EventIngestResponse {
|
|
93
|
-
eventId: string;
|
|
94
|
-
}
|
|
95
|
-
export interface EventDryRunParams {
|
|
96
|
-
eventType: string;
|
|
97
|
-
deviceId?: string;
|
|
98
|
-
payload?: {
|
|
99
|
-
[key: string]: unknown;
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
export interface EventIngestParams {
|
|
103
|
-
eventType: string;
|
|
104
|
-
deviceId?: string;
|
|
105
|
-
payload?: {
|
|
106
|
-
[key: string]: unknown;
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
export declare namespace Events {
|
|
110
|
-
export { type EventDryRunResponse as EventDryRunResponse, type EventIngestResponse as EventIngestResponse, type EventDryRunParams as EventDryRunParams, type EventIngestParams as EventIngestParams, };
|
|
111
|
-
export { Catalog as Catalog };
|
|
112
|
-
}
|
|
113
|
-
//# sourceMappingURL=events.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/events/events.ts"],"names":[],"mappings":"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"}
|