@mobilerun/sdk 5.4.0 → 5.6.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 +17 -0
- package/client.d.mts +10 -13
- package/client.d.mts.map +1 -1
- package/client.d.ts +10 -13
- package/client.d.ts.map +1 -1
- package/client.js +1 -3
- package/client.js.map +1 -1
- package/client.mjs +2 -4
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps.d.mts +23 -12
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +23 -12
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +8 -3
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +8 -3
- package/resources/apps.mjs.map +1 -1
- package/resources/assistant/conversations.d.mts +33 -21
- package/resources/assistant/conversations.d.mts.map +1 -1
- package/resources/assistant/conversations.d.ts +33 -21
- package/resources/assistant/conversations.d.ts.map +1 -1
- package/resources/assistant/conversations.js +16 -15
- package/resources/assistant/conversations.js.map +1 -1
- package/resources/assistant/conversations.mjs +16 -15
- package/resources/assistant/conversations.mjs.map +1 -1
- package/resources/connect/connect.d.mts +2 -2
- package/resources/connect/connect.d.mts.map +1 -1
- package/resources/connect/connect.d.ts +2 -2
- package/resources/connect/connect.d.ts.map +1 -1
- package/resources/connect/connect.js.map +1 -1
- package/resources/connect/connect.mjs.map +1 -1
- package/resources/connect/index.d.mts +1 -1
- package/resources/connect/index.d.mts.map +1 -1
- package/resources/connect/index.d.ts +1 -1
- package/resources/connect/index.d.ts.map +1 -1
- package/resources/connect/index.js.map +1 -1
- package/resources/connect/index.mjs.map +1 -1
- package/resources/connect/proxies.d.mts +118 -19
- package/resources/connect/proxies.d.mts.map +1 -1
- package/resources/connect/proxies.d.ts +118 -19
- package/resources/connect/proxies.d.ts.map +1 -1
- package/resources/connect/proxies.js +19 -0
- package/resources/connect/proxies.js.map +1 -1
- package/resources/connect/proxies.mjs +19 -0
- package/resources/connect/proxies.mjs.map +1 -1
- package/resources/devices/apps.d.mts +37 -17
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +37 -17
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/apps.js +15 -14
- package/resources/devices/apps.js.map +1 -1
- package/resources/devices/apps.mjs +15 -14
- package/resources/devices/apps.mjs.map +1 -1
- package/resources/devices/browser.d.mts +9 -3
- package/resources/devices/browser.d.mts.map +1 -1
- package/resources/devices/browser.d.ts +9 -3
- package/resources/devices/browser.d.ts.map +1 -1
- package/resources/devices/browser.js +9 -3
- package/resources/devices/browser.js.map +1 -1
- package/resources/devices/browser.mjs +9 -3
- package/resources/devices/browser.mjs.map +1 -1
- package/resources/devices/devices.d.mts +81 -27
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +81 -27
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +24 -11
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +24 -11
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/index.d.mts +2 -1
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +2 -1
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js +3 -1
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs +1 -0
- package/resources/devices/index.mjs.map +1 -1
- package/resources/devices/keyboard.d.mts +9 -3
- package/resources/devices/keyboard.d.mts.map +1 -1
- package/resources/devices/keyboard.d.ts +9 -3
- package/resources/devices/keyboard.d.ts.map +1 -1
- package/resources/devices/keyboard.js +3 -3
- package/resources/devices/keyboard.mjs +3 -3
- package/resources/devices/recordings.d.mts +13 -0
- package/resources/devices/recordings.d.mts.map +1 -1
- package/resources/devices/recordings.d.ts +13 -0
- package/resources/devices/recordings.d.ts.map +1 -1
- package/resources/devices/traffic-sessions.d.mts +163 -0
- package/resources/devices/traffic-sessions.d.mts.map +1 -0
- package/resources/devices/traffic-sessions.d.ts +163 -0
- package/resources/devices/traffic-sessions.d.ts.map +1 -0
- package/resources/devices/traffic-sessions.js +37 -0
- package/resources/devices/traffic-sessions.js.map +1 -0
- package/resources/devices/traffic-sessions.mjs +33 -0
- package/resources/devices/traffic-sessions.mjs.map +1 -0
- package/resources/files.d.mts +77 -19
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +77 -19
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +2 -10
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +2 -10
- package/resources/files.mjs.map +1 -1
- package/resources/index.d.mts +5 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -6
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -2
- package/resources/index.mjs.map +1 -1
- package/resources/mailboxes/connections.d.mts +64 -0
- package/resources/mailboxes/connections.d.mts.map +1 -0
- package/resources/mailboxes/connections.d.ts +64 -0
- package/resources/mailboxes/connections.d.ts.map +1 -0
- package/resources/mailboxes/connections.js +42 -0
- package/resources/mailboxes/connections.js.map +1 -0
- package/resources/mailboxes/connections.mjs +38 -0
- package/resources/mailboxes/connections.mjs.map +1 -0
- package/resources/mailboxes/index.d.mts +2 -1
- package/resources/mailboxes/index.d.mts.map +1 -1
- package/resources/mailboxes/index.d.ts +2 -1
- package/resources/mailboxes/index.d.ts.map +1 -1
- package/resources/mailboxes/index.js +3 -1
- package/resources/mailboxes/index.js.map +1 -1
- package/resources/mailboxes/index.mjs +1 -0
- package/resources/mailboxes/index.mjs.map +1 -1
- package/resources/mailboxes/mailboxes.d.mts +107 -50
- package/resources/mailboxes/mailboxes.d.mts.map +1 -1
- package/resources/mailboxes/mailboxes.d.ts +107 -50
- package/resources/mailboxes/mailboxes.d.ts.map +1 -1
- package/resources/mailboxes/mailboxes.js +34 -24
- package/resources/mailboxes/mailboxes.js.map +1 -1
- package/resources/mailboxes/mailboxes.mjs +34 -24
- package/resources/mailboxes/mailboxes.mjs.map +1 -1
- package/resources/mailboxes/messages.d.mts +2 -2
- package/resources/mailboxes/messages.d.ts +2 -2
- package/resources/mailboxes/messages.js +2 -2
- package/resources/mailboxes/messages.mjs +2 -2
- package/resources/messages/conversations.d.mts +4 -15
- package/resources/messages/conversations.d.mts.map +1 -1
- package/resources/messages/conversations.d.ts +4 -15
- package/resources/messages/conversations.d.ts.map +1 -1
- package/resources/messages/conversations.js +4 -15
- package/resources/messages/conversations.js.map +1 -1
- package/resources/messages/conversations.mjs +4 -15
- package/resources/messages/conversations.mjs.map +1 -1
- package/resources/messages/index.d.mts +1 -1
- package/resources/messages/index.d.mts.map +1 -1
- package/resources/messages/index.d.ts +1 -1
- package/resources/messages/index.d.ts.map +1 -1
- package/resources/messages/index.js.map +1 -1
- package/resources/messages/index.mjs +1 -1
- package/resources/messages/index.mjs.map +1 -1
- package/resources/messages/messages.d.mts +28 -5
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +28 -5
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js +11 -4
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs +11 -4
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/notifications.d.mts +27 -1
- package/resources/notifications.d.mts.map +1 -1
- package/resources/notifications.d.ts +27 -1
- package/resources/notifications.d.ts.map +1 -1
- package/resources/notifications.js +17 -0
- package/resources/notifications.js.map +1 -1
- package/resources/notifications.mjs +17 -0
- package/resources/notifications.mjs.map +1 -1
- package/resources/numbers/index.d.mts +2 -2
- package/resources/numbers/index.d.mts.map +1 -1
- package/resources/numbers/index.d.ts +2 -2
- package/resources/numbers/index.d.ts.map +1 -1
- package/resources/numbers/index.js.map +1 -1
- package/resources/numbers/index.mjs +1 -1
- package/resources/numbers/index.mjs.map +1 -1
- package/resources/numbers/messages.d.mts +60 -1
- package/resources/numbers/messages.d.mts.map +1 -1
- package/resources/numbers/messages.d.ts +60 -1
- package/resources/numbers/messages.d.ts.map +1 -1
- package/resources/numbers/messages.js +21 -0
- package/resources/numbers/messages.js.map +1 -1
- package/resources/numbers/messages.mjs +21 -0
- package/resources/numbers/messages.mjs.map +1 -1
- package/resources/numbers/numbers.d.mts +167 -46
- package/resources/numbers/numbers.d.mts.map +1 -1
- package/resources/numbers/numbers.d.ts +167 -46
- package/resources/numbers/numbers.d.ts.map +1 -1
- package/resources/numbers/numbers.js +25 -40
- package/resources/numbers/numbers.js.map +1 -1
- package/resources/numbers/numbers.mjs +26 -41
- package/resources/numbers/numbers.mjs.map +1 -1
- package/resources/store/apps.d.mts +23 -2
- package/resources/store/apps.d.mts.map +1 -1
- package/resources/store/apps.d.ts +23 -2
- package/resources/store/apps.d.ts.map +1 -1
- package/resources/tasks/tasks.d.mts +84 -75
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +84 -75
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js +2 -10
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs +2 -10
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/webhooks/deliveries.d.mts +22 -31
- package/resources/webhooks/deliveries.d.mts.map +1 -1
- package/resources/webhooks/deliveries.d.ts +22 -31
- package/resources/webhooks/deliveries.d.ts.map +1 -1
- package/resources/webhooks/deliveries.js +4 -30
- package/resources/webhooks/deliveries.js.map +1 -1
- package/resources/webhooks/deliveries.mjs +4 -30
- package/resources/webhooks/deliveries.mjs.map +1 -1
- package/resources/webhooks/index.d.mts +1 -0
- package/resources/webhooks/index.d.mts.map +1 -1
- package/resources/webhooks/index.d.ts +1 -0
- package/resources/webhooks/index.d.ts.map +1 -1
- package/resources/webhooks/index.js +3 -1
- package/resources/webhooks/index.js.map +1 -1
- package/resources/webhooks/index.mjs +1 -0
- package/resources/webhooks/index.mjs.map +1 -1
- package/resources/webhooks/integrations.d.mts +77 -0
- package/resources/webhooks/integrations.d.mts.map +1 -0
- package/resources/webhooks/integrations.d.ts +77 -0
- package/resources/webhooks/integrations.d.ts.map +1 -0
- package/resources/webhooks/integrations.js +26 -0
- package/resources/webhooks/integrations.js.map +1 -0
- package/resources/webhooks/integrations.mjs +22 -0
- package/resources/webhooks/integrations.mjs.map +1 -0
- package/resources/webhooks/webhooks.d.mts +280 -71
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +280 -71
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js +27 -60
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs +27 -60
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/resources/workflows/action-catalog.d.mts +7 -3
- package/resources/workflows/action-catalog.d.mts.map +1 -1
- package/resources/workflows/action-catalog.d.ts +7 -3
- package/resources/workflows/action-catalog.d.ts.map +1 -1
- package/resources/workflows/actions/actions.d.mts +9 -5
- package/resources/workflows/actions/actions.d.mts.map +1 -1
- package/resources/workflows/actions/actions.d.ts +9 -5
- package/resources/workflows/actions/actions.d.ts.map +1 -1
- package/resources/workflows/actions/actions.js +4 -0
- package/resources/workflows/actions/actions.js.map +1 -1
- package/resources/workflows/actions/actions.mjs +4 -0
- package/resources/workflows/actions/actions.mjs.map +1 -1
- package/resources/workflows/events.d.mts +66 -4
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +66 -4
- package/resources/workflows/events.d.ts.map +1 -1
- package/resources/workflows/executions/executions.d.mts +334 -0
- package/resources/workflows/executions/executions.d.mts.map +1 -0
- package/resources/workflows/executions/executions.d.ts +334 -0
- package/resources/workflows/executions/executions.d.ts.map +1 -0
- package/resources/workflows/executions/executions.js +49 -0
- package/resources/workflows/executions/executions.js.map +1 -0
- package/resources/workflows/executions/executions.mjs +44 -0
- package/resources/workflows/executions/executions.mjs.map +1 -0
- package/resources/workflows/executions/index.d.mts +3 -0
- package/resources/workflows/executions/index.d.mts.map +1 -0
- package/resources/workflows/executions/index.d.ts +3 -0
- package/resources/workflows/executions/index.d.ts.map +1 -0
- package/resources/workflows/executions/index.js +9 -0
- package/resources/workflows/executions/index.js.map +1 -0
- package/resources/workflows/executions/index.mjs +4 -0
- package/resources/workflows/executions/index.mjs.map +1 -0
- package/resources/workflows/executions/screenshots.d.mts +18 -0
- package/resources/workflows/executions/screenshots.d.mts.map +1 -0
- package/resources/workflows/executions/screenshots.d.ts +18 -0
- package/resources/workflows/executions/screenshots.d.ts.map +1 -0
- package/resources/workflows/executions/screenshots.js +23 -0
- package/resources/workflows/executions/screenshots.js.map +1 -0
- package/resources/workflows/executions/screenshots.mjs +19 -0
- package/resources/workflows/executions/screenshots.mjs.map +1 -0
- package/resources/workflows/executions.d.mts +1 -190
- package/resources/workflows/executions.d.mts.map +1 -1
- package/resources/workflows/executions.d.ts +1 -190
- package/resources/workflows/executions.d.ts.map +1 -1
- package/resources/workflows/executions.js +2 -36
- package/resources/workflows/executions.js.map +1 -1
- package/resources/workflows/executions.mjs +1 -34
- package/resources/workflows/executions.mjs.map +1 -1
- package/resources/workflows/flows/actions.d.mts +58 -0
- package/resources/workflows/flows/actions.d.mts.map +1 -1
- package/resources/workflows/flows/actions.d.ts +58 -0
- package/resources/workflows/flows/actions.d.ts.map +1 -1
- package/resources/workflows/flows/actions.js +4 -0
- package/resources/workflows/flows/actions.js.map +1 -1
- package/resources/workflows/flows/actions.mjs +4 -0
- package/resources/workflows/flows/actions.mjs.map +1 -1
- package/resources/workflows/flows/flows.d.mts +666 -15
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +666 -15
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +86 -1
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +86 -1
- package/resources/workflows/flows/flows.mjs.map +1 -1
- package/resources/workflows/flows/index.d.mts +1 -1
- package/resources/workflows/flows/index.d.mts.map +1 -1
- package/resources/workflows/flows/index.d.ts +1 -1
- 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 +2 -2
- package/resources/workflows/index.d.mts.map +1 -1
- package/resources/workflows/index.d.ts +2 -2
- 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 +118 -6
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +118 -6
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/triggers.js +14 -0
- package/resources/workflows/triggers.js.map +1 -1
- package/resources/workflows/triggers.mjs +14 -0
- package/resources/workflows/triggers.mjs.map +1 -1
- package/resources/workflows/workflows.d.mts +4 -4
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +4 -4
- 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 +22 -42
- package/src/resources/apps.ts +24 -12
- package/src/resources/assistant/conversations.ts +50 -31
- package/src/resources/connect/connect.ts +6 -0
- package/src/resources/connect/index.ts +3 -0
- package/src/resources/connect/proxies.ts +146 -18
- package/src/resources/devices/apps.ts +41 -17
- package/src/resources/devices/browser.ts +9 -3
- package/src/resources/devices/devices.ts +138 -34
- package/src/resources/devices/index.ts +13 -0
- package/src/resources/devices/keyboard.ts +10 -3
- package/src/resources/devices/recordings.ts +14 -0
- package/src/resources/devices/traffic-sessions.ts +282 -0
- package/src/resources/files.ts +122 -29
- package/src/resources/index.ts +13 -20
- package/src/resources/mailboxes/connections.ts +91 -0
- package/src/resources/mailboxes/index.ts +7 -0
- package/src/resources/mailboxes/mailboxes.ts +190 -49
- package/src/resources/mailboxes/messages.ts +2 -2
- package/src/resources/messages/conversations.ts +4 -15
- package/src/resources/messages/index.ts +6 -1
- package/src/resources/messages/messages.ts +57 -5
- package/src/resources/notifications.ts +37 -0
- package/src/resources/numbers/index.ts +9 -1
- package/src/resources/numbers/messages.ts +92 -1
- package/src/resources/numbers/numbers.ts +197 -55
- package/src/resources/store/apps.ts +291 -2
- package/src/resources/tasks/tasks.ts +126 -93
- package/src/resources/webhooks/deliveries.ts +26 -31
- package/src/resources/webhooks/index.ts +6 -0
- package/src/resources/webhooks/integrations.ts +107 -0
- package/src/resources/webhooks/webhooks.ts +328 -71
- package/src/resources/workflows/action-catalog.ts +11 -3
- package/src/resources/workflows/actions/actions.ts +9 -5
- package/src/resources/workflows/events.ts +86 -4
- package/src/resources/workflows/executions/executions.ts +514 -0
- package/src/resources/workflows/executions/index.ts +12 -0
- package/src/resources/workflows/executions/screenshots.ts +34 -0
- package/src/resources/workflows/executions.ts +1 -296
- package/src/resources/workflows/flows/actions.ts +72 -0
- package/src/resources/workflows/flows/flows.ts +1058 -129
- package/src/resources/workflows/flows/index.ts +12 -0
- package/src/resources/workflows/index.ts +13 -1
- package/src/resources/workflows/triggers.ts +140 -6
- package/src/resources/workflows/workflows.ts +34 -10
- 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/esims/esims.d.mts +0 -566
- package/resources/esims/esims.d.mts.map +0 -1
- package/resources/esims/esims.d.ts +0 -566
- package/resources/esims/esims.d.ts.map +0 -1
- package/resources/esims/esims.js +0 -205
- package/resources/esims/esims.js.map +0 -1
- package/resources/esims/esims.mjs +0 -200
- package/resources/esims/esims.mjs.map +0 -1
- package/resources/esims/index.d.mts +0 -3
- package/resources/esims/index.d.mts.map +0 -1
- package/resources/esims/index.d.ts +0 -3
- package/resources/esims/index.d.ts.map +0 -1
- package/resources/esims/index.js +0 -9
- package/resources/esims/index.js.map +0 -1
- package/resources/esims/index.mjs +0 -4
- package/resources/esims/index.mjs.map +0 -1
- package/resources/esims/messages.d.mts +0 -106
- package/resources/esims/messages.d.mts.map +0 -1
- package/resources/esims/messages.d.ts +0 -106
- package/resources/esims/messages.d.ts.map +0 -1
- package/resources/esims/messages.js +0 -37
- package/resources/esims/messages.js.map +0 -1
- package/resources/esims/messages.mjs +0 -33
- package/resources/esims/messages.mjs.map +0 -1
- package/resources/esims.d.mts +0 -2
- package/resources/esims.d.mts.map +0 -1
- package/resources/esims.d.ts +0 -2
- package/resources/esims.d.ts.map +0 -1
- package/resources/esims.js +0 -6
- package/resources/esims.js.map +0 -1
- package/resources/esims.mjs +0 -3
- package/resources/esims.mjs.map +0 -1
- package/src/resources/esims/esims.ts +0 -1019
- package/src/resources/esims/index.ts +0 -28
- package/src/resources/esims/messages.ts +0 -187
- package/src/resources/esims.ts +0 -3
|
@@ -17,13 +17,25 @@ export {
|
|
|
17
17
|
type FlowUpdateResponse,
|
|
18
18
|
type FlowListResponse,
|
|
19
19
|
type FlowDeleteResponse,
|
|
20
|
+
type FlowActivateResponse,
|
|
21
|
+
type FlowCapacityResponse,
|
|
20
22
|
type FlowCloneResponse,
|
|
23
|
+
type FlowDeliveryOptionsResponse,
|
|
21
24
|
type FlowDryRunResponse,
|
|
22
25
|
type FlowListRepairsResponse,
|
|
26
|
+
type FlowRunResponse,
|
|
27
|
+
type FlowTemplateContextResponse,
|
|
23
28
|
type FlowUnblockResponse,
|
|
29
|
+
type FlowValidateResponse,
|
|
30
|
+
type FlowVerifyResponse,
|
|
24
31
|
type FlowCreateParams,
|
|
25
32
|
type FlowUpdateParams,
|
|
26
33
|
type FlowListParams,
|
|
34
|
+
type FlowActivateParams,
|
|
27
35
|
type FlowCloneParams,
|
|
28
36
|
type FlowDryRunParams,
|
|
37
|
+
type FlowRunParams,
|
|
38
|
+
type FlowTemplateContextParams,
|
|
39
|
+
type FlowValidateParams,
|
|
40
|
+
type FlowVerifyParams,
|
|
29
41
|
} from './flows';
|
|
@@ -32,7 +32,7 @@ export {
|
|
|
32
32
|
type ExecutionGetMetricsResponse,
|
|
33
33
|
type ExecutionListParams,
|
|
34
34
|
type ExecutionGetMetricsParams,
|
|
35
|
-
} from './executions';
|
|
35
|
+
} from './executions/index';
|
|
36
36
|
export {
|
|
37
37
|
Flows,
|
|
38
38
|
type FlowCreateResponse,
|
|
@@ -40,15 +40,27 @@ export {
|
|
|
40
40
|
type FlowUpdateResponse,
|
|
41
41
|
type FlowListResponse,
|
|
42
42
|
type FlowDeleteResponse,
|
|
43
|
+
type FlowActivateResponse,
|
|
44
|
+
type FlowCapacityResponse,
|
|
43
45
|
type FlowCloneResponse,
|
|
46
|
+
type FlowDeliveryOptionsResponse,
|
|
44
47
|
type FlowDryRunResponse,
|
|
45
48
|
type FlowListRepairsResponse,
|
|
49
|
+
type FlowRunResponse,
|
|
50
|
+
type FlowTemplateContextResponse,
|
|
46
51
|
type FlowUnblockResponse,
|
|
52
|
+
type FlowValidateResponse,
|
|
53
|
+
type FlowVerifyResponse,
|
|
47
54
|
type FlowCreateParams,
|
|
48
55
|
type FlowUpdateParams,
|
|
49
56
|
type FlowListParams,
|
|
57
|
+
type FlowActivateParams,
|
|
50
58
|
type FlowCloneParams,
|
|
51
59
|
type FlowDryRunParams,
|
|
60
|
+
type FlowRunParams,
|
|
61
|
+
type FlowTemplateContextParams,
|
|
62
|
+
type FlowValidateParams,
|
|
63
|
+
type FlowVerifyParams,
|
|
52
64
|
} from './flows/index';
|
|
53
65
|
export { Timezones, type TimezoneListResponse } from './timezones';
|
|
54
66
|
export {
|
|
@@ -12,6 +12,10 @@ export class Triggers extends APIResource {
|
|
|
12
12
|
* Each type requires its own fields (e.g. `eventType` and optional `conditions`
|
|
13
13
|
* for events, `scheduleRule` and `timezone` for schedules, `customPayloadSchema`
|
|
14
14
|
* for custom triggers); mismatched fields are rejected.
|
|
15
|
+
*
|
|
16
|
+
* Supports an optional `Idempotency-Key` header (1-255 printable ASCII
|
|
17
|
+
* characters). Replays with the same key and an identical body return the original
|
|
18
|
+
* 201; a changed body under the same key returns 422 `idempotency_key_reused`.
|
|
15
19
|
*/
|
|
16
20
|
create(body: TriggerCreateParams, options?: RequestOptions): APIPromise<TriggerCreateResponse> {
|
|
17
21
|
return this._client.post('/triggers', { body, ...options });
|
|
@@ -74,6 +78,16 @@ export class Triggers extends APIResource {
|
|
|
74
78
|
*
|
|
75
79
|
* Only triggers with `activation = "custom"` can be fired through this endpoint;
|
|
76
80
|
* event and schedule triggers return 409.
|
|
81
|
+
*
|
|
82
|
+
* Supports an optional `Idempotency-Key` header (1-255 printable ASCII
|
|
83
|
+
* characters), which maps to the derived `invocationId` used for fan-out
|
|
84
|
+
* deduplication (the deprecated `invocationId` body field wins when both are
|
|
85
|
+
* supplied, and a mismatch between them is logged). The payload is bound to the
|
|
86
|
+
* key on the first accepted fire, before fan-out. A repeat with the same key and
|
|
87
|
+
* an identical payload returns 202 with `Idempotent-Replayed: true`
|
|
88
|
+
* (`deduplicated: true` when flows were skipped; `enqueuedCount` counts only
|
|
89
|
+
* executions enqueued by that call); a changed payload under the same key returns
|
|
90
|
+
* 422 `idempotency_key_reused`.
|
|
77
91
|
*/
|
|
78
92
|
fire(
|
|
79
93
|
triggerID: string,
|
|
@@ -186,7 +200,7 @@ export namespace TriggerRetrieveResponse {
|
|
|
186
200
|
|
|
187
201
|
ownerId: string;
|
|
188
202
|
|
|
189
|
-
scheduleRule:
|
|
203
|
+
scheduleRule: Data.ScheduleRule;
|
|
190
204
|
|
|
191
205
|
timezone: string | null;
|
|
192
206
|
|
|
@@ -201,6 +215,43 @@ export namespace TriggerRetrieveResponse {
|
|
|
201
215
|
|
|
202
216
|
nextFireTime?: string | null;
|
|
203
217
|
}
|
|
218
|
+
|
|
219
|
+
export namespace Data {
|
|
220
|
+
export interface ScheduleRule {
|
|
221
|
+
type: 'once' | 'cron' | 'recurring';
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* ISO 8601 datetime (for type=once)
|
|
225
|
+
*/
|
|
226
|
+
dateTime?: string;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Cron expression (for type=cron)
|
|
230
|
+
*/
|
|
231
|
+
expression?: string;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
235
|
+
*/
|
|
236
|
+
jitter?: ScheduleRule.Jitter;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* RRULE string (for type=recurring)
|
|
240
|
+
*/
|
|
241
|
+
rrule?: string;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export namespace ScheduleRule {
|
|
245
|
+
/**
|
|
246
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
247
|
+
*/
|
|
248
|
+
export interface Jitter {
|
|
249
|
+
afterMinutes?: number;
|
|
250
|
+
|
|
251
|
+
beforeMinutes?: number;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
204
255
|
}
|
|
205
256
|
|
|
206
257
|
export interface TriggerUpdateResponse {
|
|
@@ -227,7 +278,7 @@ export namespace TriggerUpdateResponse {
|
|
|
227
278
|
|
|
228
279
|
ownerId: string;
|
|
229
280
|
|
|
230
|
-
scheduleRule:
|
|
281
|
+
scheduleRule: Data.ScheduleRule;
|
|
231
282
|
|
|
232
283
|
timezone: string | null;
|
|
233
284
|
|
|
@@ -242,6 +293,43 @@ export namespace TriggerUpdateResponse {
|
|
|
242
293
|
|
|
243
294
|
nextFireTime?: string | null;
|
|
244
295
|
}
|
|
296
|
+
|
|
297
|
+
export namespace Data {
|
|
298
|
+
export interface ScheduleRule {
|
|
299
|
+
type: 'once' | 'cron' | 'recurring';
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* ISO 8601 datetime (for type=once)
|
|
303
|
+
*/
|
|
304
|
+
dateTime?: string;
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Cron expression (for type=cron)
|
|
308
|
+
*/
|
|
309
|
+
expression?: string;
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
313
|
+
*/
|
|
314
|
+
jitter?: ScheduleRule.Jitter;
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* RRULE string (for type=recurring)
|
|
318
|
+
*/
|
|
319
|
+
rrule?: string;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export namespace ScheduleRule {
|
|
323
|
+
/**
|
|
324
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
325
|
+
*/
|
|
326
|
+
export interface Jitter {
|
|
327
|
+
afterMinutes?: number;
|
|
328
|
+
|
|
329
|
+
beforeMinutes?: number;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
245
333
|
}
|
|
246
334
|
|
|
247
335
|
export interface TriggerListResponse {
|
|
@@ -270,7 +358,7 @@ export namespace TriggerListResponse {
|
|
|
270
358
|
|
|
271
359
|
ownerId: string;
|
|
272
360
|
|
|
273
|
-
scheduleRule:
|
|
361
|
+
scheduleRule: Item.ScheduleRule;
|
|
274
362
|
|
|
275
363
|
timezone: string | null;
|
|
276
364
|
|
|
@@ -285,6 +373,43 @@ export namespace TriggerListResponse {
|
|
|
285
373
|
|
|
286
374
|
nextFireTime?: string | null;
|
|
287
375
|
}
|
|
376
|
+
|
|
377
|
+
export namespace Item {
|
|
378
|
+
export interface ScheduleRule {
|
|
379
|
+
type: 'once' | 'cron' | 'recurring';
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* ISO 8601 datetime (for type=once)
|
|
383
|
+
*/
|
|
384
|
+
dateTime?: string;
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Cron expression (for type=cron)
|
|
388
|
+
*/
|
|
389
|
+
expression?: string;
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
393
|
+
*/
|
|
394
|
+
jitter?: ScheduleRule.Jitter;
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* RRULE string (for type=recurring)
|
|
398
|
+
*/
|
|
399
|
+
rrule?: string;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
export namespace ScheduleRule {
|
|
403
|
+
/**
|
|
404
|
+
* Optional per-occurrence random window around the nominal schedule time
|
|
405
|
+
*/
|
|
406
|
+
export interface Jitter {
|
|
407
|
+
afterMinutes?: number;
|
|
408
|
+
|
|
409
|
+
beforeMinutes?: number;
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
}
|
|
288
413
|
}
|
|
289
414
|
|
|
290
415
|
export interface TriggerDeleteResponse {
|
|
@@ -292,15 +417,24 @@ export interface TriggerDeleteResponse {
|
|
|
292
417
|
}
|
|
293
418
|
|
|
294
419
|
export interface TriggerFireResponse {
|
|
420
|
+
/**
|
|
421
|
+
* True when at least one attached flow was skipped because it already had an
|
|
422
|
+
* execution for this (flow, invocationId). Only ever true when the client supplied
|
|
423
|
+
* invocationId.
|
|
424
|
+
*/
|
|
425
|
+
deduplicated: boolean;
|
|
426
|
+
|
|
295
427
|
/**
|
|
296
428
|
* Number of flow executions enqueued. May be 0 if no flows are attached to this
|
|
297
|
-
* trigger,
|
|
429
|
+
* trigger, if all attached flows are currently in cooldown, or if every attached
|
|
430
|
+
* flow was deduplicated.
|
|
298
431
|
*/
|
|
299
432
|
enqueuedCount: number;
|
|
300
433
|
|
|
301
434
|
/**
|
|
302
|
-
* Unique ID for this fire invocation
|
|
303
|
-
* from it (one per
|
|
435
|
+
* Unique ID for this fire invocation (echoes the client-supplied invocationId, or
|
|
436
|
+
* a generated one). Job IDs in the execution queue are derived from it (one per
|
|
437
|
+
* enqueued flow).
|
|
304
438
|
*/
|
|
305
439
|
invocationId: string;
|
|
306
440
|
}
|
|
@@ -16,16 +16,6 @@ import {
|
|
|
16
16
|
EventIngestResponse,
|
|
17
17
|
Events,
|
|
18
18
|
} from './events';
|
|
19
|
-
import * as ExecutionsAPI from './executions';
|
|
20
|
-
import {
|
|
21
|
-
ExecutionAbortResponse,
|
|
22
|
-
ExecutionGetMetricsParams,
|
|
23
|
-
ExecutionGetMetricsResponse,
|
|
24
|
-
ExecutionListParams,
|
|
25
|
-
ExecutionListResponse,
|
|
26
|
-
ExecutionRetrieveResponse,
|
|
27
|
-
Executions,
|
|
28
|
-
} from './executions';
|
|
29
19
|
import * as TimezonesAPI from './timezones';
|
|
30
20
|
import { TimezoneListResponse, Timezones } from './timezones';
|
|
31
21
|
import * as TriggersAPI from './triggers';
|
|
@@ -54,22 +44,44 @@ import {
|
|
|
54
44
|
ActionUpdateResponse,
|
|
55
45
|
Actions,
|
|
56
46
|
} from './actions/actions';
|
|
47
|
+
import * as ExecutionsAPI from './executions/executions';
|
|
48
|
+
import {
|
|
49
|
+
ExecutionAbortResponse,
|
|
50
|
+
ExecutionGetMetricsParams,
|
|
51
|
+
ExecutionGetMetricsResponse,
|
|
52
|
+
ExecutionListParams,
|
|
53
|
+
ExecutionListResponse,
|
|
54
|
+
ExecutionRetrieveResponse,
|
|
55
|
+
Executions,
|
|
56
|
+
} from './executions/executions';
|
|
57
57
|
import * as FlowsAPI from './flows/flows';
|
|
58
58
|
import {
|
|
59
|
+
FlowActivateParams,
|
|
60
|
+
FlowActivateResponse,
|
|
61
|
+
FlowCapacityResponse,
|
|
59
62
|
FlowCloneParams,
|
|
60
63
|
FlowCloneResponse,
|
|
61
64
|
FlowCreateParams,
|
|
62
65
|
FlowCreateResponse,
|
|
63
66
|
FlowDeleteResponse,
|
|
67
|
+
FlowDeliveryOptionsResponse,
|
|
64
68
|
FlowDryRunParams,
|
|
65
69
|
FlowDryRunResponse,
|
|
66
70
|
FlowListParams,
|
|
67
71
|
FlowListRepairsResponse,
|
|
68
72
|
FlowListResponse,
|
|
69
73
|
FlowRetrieveResponse,
|
|
74
|
+
FlowRunParams,
|
|
75
|
+
FlowRunResponse,
|
|
76
|
+
FlowTemplateContextParams,
|
|
77
|
+
FlowTemplateContextResponse,
|
|
70
78
|
FlowUnblockResponse,
|
|
71
79
|
FlowUpdateParams,
|
|
72
80
|
FlowUpdateResponse,
|
|
81
|
+
FlowValidateParams,
|
|
82
|
+
FlowValidateResponse,
|
|
83
|
+
FlowVerifyParams,
|
|
84
|
+
FlowVerifyResponse,
|
|
73
85
|
Flows,
|
|
74
86
|
} from './flows/flows';
|
|
75
87
|
|
|
@@ -132,15 +144,27 @@ export declare namespace Workflows {
|
|
|
132
144
|
type FlowUpdateResponse as FlowUpdateResponse,
|
|
133
145
|
type FlowListResponse as FlowListResponse,
|
|
134
146
|
type FlowDeleteResponse as FlowDeleteResponse,
|
|
147
|
+
type FlowActivateResponse as FlowActivateResponse,
|
|
148
|
+
type FlowCapacityResponse as FlowCapacityResponse,
|
|
135
149
|
type FlowCloneResponse as FlowCloneResponse,
|
|
150
|
+
type FlowDeliveryOptionsResponse as FlowDeliveryOptionsResponse,
|
|
136
151
|
type FlowDryRunResponse as FlowDryRunResponse,
|
|
137
152
|
type FlowListRepairsResponse as FlowListRepairsResponse,
|
|
153
|
+
type FlowRunResponse as FlowRunResponse,
|
|
154
|
+
type FlowTemplateContextResponse as FlowTemplateContextResponse,
|
|
138
155
|
type FlowUnblockResponse as FlowUnblockResponse,
|
|
156
|
+
type FlowValidateResponse as FlowValidateResponse,
|
|
157
|
+
type FlowVerifyResponse as FlowVerifyResponse,
|
|
139
158
|
type FlowCreateParams as FlowCreateParams,
|
|
140
159
|
type FlowUpdateParams as FlowUpdateParams,
|
|
141
160
|
type FlowListParams as FlowListParams,
|
|
161
|
+
type FlowActivateParams as FlowActivateParams,
|
|
142
162
|
type FlowCloneParams as FlowCloneParams,
|
|
143
163
|
type FlowDryRunParams as FlowDryRunParams,
|
|
164
|
+
type FlowRunParams as FlowRunParams,
|
|
165
|
+
type FlowTemplateContextParams as FlowTemplateContextParams,
|
|
166
|
+
type FlowValidateParams as FlowValidateParams,
|
|
167
|
+
type FlowVerifyParams as FlowVerifyParams,
|
|
144
168
|
};
|
|
145
169
|
|
|
146
170
|
export {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.6.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.6.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.6.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.6.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|