@mobilerun/sdk 5.5.0 → 6.0.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 +30 -0
- package/README.md +0 -9
- package/client.d.mts +12 -30
- package/client.d.mts.map +1 -1
- package/client.d.ts +12 -30
- package/client.d.ts.map +1 -1
- package/client.js +1 -18
- package/client.js.map +1 -1
- package/client.mjs +2 -19
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps.d.mts +39 -26
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +39 -26
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +20 -7
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +20 -7
- package/resources/apps.mjs.map +1 -1
- package/resources/assistant/conversations.d.mts +7 -17
- package/resources/assistant/conversations.d.mts.map +1 -1
- package/resources/assistant/conversations.d.ts +7 -17
- package/resources/assistant/conversations.d.ts.map +1 -1
- package/resources/assistant/conversations.js +4 -11
- package/resources/assistant/conversations.js.map +1 -1
- package/resources/assistant/conversations.mjs +4 -11
- 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 +102 -17
- package/resources/connect/proxies.d.mts.map +1 -1
- package/resources/connect/proxies.d.ts +102 -17
- package/resources/connect/proxies.d.ts.map +1 -1
- package/resources/connect/proxies.js +27 -14
- package/resources/connect/proxies.js.map +1 -1
- package/resources/connect/proxies.mjs +27 -14
- package/resources/connect/proxies.mjs.map +1 -1
- package/resources/connect/users.d.mts +4 -4
- package/resources/connect/users.d.ts +4 -4
- package/resources/connect/users.js +2 -2
- package/resources/connect/users.mjs +2 -2
- package/resources/devices/actions.d.mts +25 -5
- package/resources/devices/actions.d.mts.map +1 -1
- package/resources/devices/actions.d.ts +25 -5
- package/resources/devices/actions.d.ts.map +1 -1
- package/resources/devices/actions.js +5 -3
- package/resources/devices/actions.js.map +1 -1
- package/resources/devices/actions.mjs +5 -3
- package/resources/devices/actions.mjs.map +1 -1
- package/resources/devices/apps.d.mts +13 -0
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +13 -0
- package/resources/devices/apps.d.ts.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 +88 -36
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +88 -36
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +30 -15
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +30 -15
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/index.d.mts +3 -2
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +3 -2
- 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 +8 -2
- package/resources/devices/keyboard.d.mts.map +1 -1
- package/resources/devices/keyboard.d.ts +8 -2
- package/resources/devices/keyboard.d.ts.map +1 -1
- package/resources/devices/recordings.d.mts +29 -6
- package/resources/devices/recordings.d.mts.map +1 -1
- package/resources/devices/recordings.d.ts +29 -6
- package/resources/devices/recordings.d.ts.map +1 -1
- package/resources/devices/recordings.js +9 -0
- package/resources/devices/recordings.js.map +1 -1
- package/resources/devices/recordings.mjs +9 -0
- package/resources/devices/recordings.mjs.map +1 -1
- package/resources/devices/screenshots.d.mts +72 -0
- package/resources/devices/screenshots.d.mts.map +1 -0
- package/resources/devices/screenshots.d.ts +72 -0
- package/resources/devices/screenshots.d.ts.map +1 -0
- package/resources/devices/screenshots.js +57 -0
- package/resources/devices/screenshots.js.map +1 -0
- package/resources/devices/screenshots.mjs +53 -0
- package/resources/devices/screenshots.mjs.map +1 -0
- package/resources/devices/state.d.mts +11 -2
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +11 -2
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/devices/state.js +5 -2
- package/resources/devices/state.js.map +1 -1
- package/resources/devices/state.mjs +5 -2
- package/resources/devices/state.mjs.map +1 -1
- package/resources/devices/traffic-sessions.d.mts +1 -11
- package/resources/devices/traffic-sessions.d.mts.map +1 -1
- package/resources/devices/traffic-sessions.d.ts +1 -11
- package/resources/devices/traffic-sessions.d.ts.map +1 -1
- package/resources/devices/traffic-sessions.js +2 -8
- package/resources/devices/traffic-sessions.js.map +1 -1
- package/resources/devices/traffic-sessions.mjs +2 -8
- package/resources/devices/traffic-sessions.mjs.map +1 -1
- package/resources/files.d.mts +8 -22
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +8 -22
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +5 -13
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +5 -13
- package/resources/files.mjs.map +1 -1
- package/resources/index.d.mts +6 -11
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -11
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -11
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -6
- package/resources/index.mjs.map +1 -1
- package/resources/mailboxes/connections.d.mts +58 -0
- package/resources/mailboxes/connections.d.mts.map +1 -0
- package/resources/mailboxes/connections.d.ts +58 -0
- package/resources/mailboxes/connections.d.ts.map +1 -0
- package/resources/mailboxes/connections.js +41 -0
- package/resources/mailboxes/connections.js.map +1 -0
- package/resources/mailboxes/connections.mjs +37 -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 +74 -24
- package/resources/mailboxes/mailboxes.d.mts.map +1 -1
- package/resources/mailboxes/mailboxes.d.ts +74 -24
- package/resources/mailboxes/mailboxes.d.ts.map +1 -1
- package/resources/mailboxes/mailboxes.js +26 -8
- package/resources/mailboxes/mailboxes.js.map +1 -1
- package/resources/mailboxes/mailboxes.mjs +26 -8
- package/resources/mailboxes/mailboxes.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 +26 -1
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +26 -1
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js +9 -0
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs +9 -0
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/models.d.mts +12 -23
- package/resources/models.d.mts.map +1 -1
- package/resources/models.d.ts +12 -23
- package/resources/models.d.ts.map +1 -1
- package/resources/models.js +3 -4
- package/resources/models.js.map +1 -1
- package/resources/models.mjs +3 -4
- package/resources/models.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 +57 -1
- package/resources/numbers/messages.d.mts.map +1 -1
- package/resources/numbers/messages.d.ts +57 -1
- package/resources/numbers/messages.d.ts.map +1 -1
- package/resources/numbers/messages.js +23 -0
- package/resources/numbers/messages.js.map +1 -1
- package/resources/numbers/messages.mjs +23 -0
- package/resources/numbers/messages.mjs.map +1 -1
- package/resources/numbers/numbers.d.mts +148 -44
- package/resources/numbers/numbers.d.mts.map +1 -1
- package/resources/numbers/numbers.d.ts +148 -44
- package/resources/numbers/numbers.d.ts.map +1 -1
- package/resources/numbers/numbers.js +3 -23
- package/resources/numbers/numbers.js.map +1 -1
- package/resources/numbers/numbers.mjs +4 -24
- package/resources/numbers/numbers.mjs.map +1 -1
- package/resources/proxies.d.mts +1 -87
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +1 -87
- package/resources/proxies.d.ts.map +1 -1
- package/resources/proxies.js +0 -6
- package/resources/proxies.js.map +1 -1
- package/resources/proxies.mjs +0 -6
- package/resources/proxies.mjs.map +1 -1
- package/resources/tasks/tasks.d.mts +51 -188
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +51 -188
- 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 +2 -1
- package/resources/webhooks/index.d.mts.map +1 -1
- package/resources/webhooks/index.d.ts +2 -1
- 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 +276 -104
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +276 -104
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js +32 -68
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs +32 -68
- 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 +52 -5
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +52 -5
- package/resources/workflows/events.d.ts.map +1 -1
- package/resources/workflows/executions/executions.d.mts +330 -0
- package/resources/workflows/executions/executions.d.mts.map +1 -0
- package/resources/workflows/executions/executions.d.ts +330 -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 -269
- package/resources/workflows/executions.d.mts.map +1 -1
- package/resources/workflows/executions.d.ts +1 -269
- package/resources/workflows/executions.d.ts.map +1 -1
- package/resources/workflows/executions.js +2 -37
- package/resources/workflows/executions.js.map +1 -1
- package/resources/workflows/executions.mjs +1 -35
- package/resources/workflows/executions.mjs.map +1 -1
- package/resources/workflows/flows/actions.d.mts +39 -0
- package/resources/workflows/flows/actions.d.mts.map +1 -1
- package/resources/workflows/flows/actions.d.ts +39 -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 +574 -27
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +574 -27
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +78 -3
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +78 -3
- 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 +110 -15
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +110 -15
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/triggers.js +13 -1
- package/resources/workflows/triggers.js.map +1 -1
- package/resources/workflows/triggers.mjs +13 -1
- 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 +14 -103
- package/src/resources/apps.ts +39 -26
- package/src/resources/assistant/conversations.ts +12 -27
- package/src/resources/connect/connect.ts +6 -0
- package/src/resources/connect/index.ts +3 -0
- package/src/resources/connect/proxies.ts +127 -25
- package/src/resources/connect/users.ts +4 -4
- package/src/resources/devices/actions.ts +28 -5
- package/src/resources/devices/apps.ts +18 -0
- package/src/resources/devices/browser.ts +9 -3
- package/src/resources/devices/devices.ts +139 -41
- package/src/resources/devices/index.ts +13 -0
- package/src/resources/devices/keyboard.ts +9 -2
- package/src/resources/devices/recordings.ts +45 -5
- package/src/resources/devices/screenshots.ts +140 -0
- package/src/resources/devices/state.ts +12 -2
- package/src/resources/devices/traffic-sessions.ts +2 -19
- package/src/resources/files.ts +11 -32
- package/src/resources/index.ts +9 -43
- package/src/resources/mailboxes/connections.ts +84 -0
- package/src/resources/mailboxes/index.ts +7 -0
- package/src/resources/mailboxes/mailboxes.ts +147 -24
- package/src/resources/messages/index.ts +6 -1
- package/src/resources/messages/messages.ts +55 -1
- package/src/resources/models.ts +16 -23
- package/src/resources/numbers/index.ts +7 -2
- package/src/resources/numbers/messages.ts +88 -1
- package/src/resources/numbers/numbers.ts +171 -62
- package/src/resources/proxies.ts +0 -110
- package/src/resources/tasks/tasks.ts +57 -198
- package/src/resources/webhooks/deliveries.ts +26 -31
- package/src/resources/webhooks/index.ts +6 -1
- package/src/resources/webhooks/integrations.ts +107 -0
- package/src/resources/webhooks/webhooks.ts +315 -114
- package/src/resources/workflows/action-catalog.ts +11 -3
- package/src/resources/workflows/actions/actions.ts +9 -5
- package/src/resources/workflows/events.ts +66 -5
- package/src/resources/workflows/executions/executions.ts +510 -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 -412
- package/src/resources/workflows/flows/actions.ts +46 -0
- package/src/resources/workflows/flows/flows.ts +811 -26
- package/src/resources/workflows/flows/index.ts +11 -0
- package/src/resources/workflows/index.ts +12 -1
- package/src/resources/workflows/triggers.ts +131 -16
- package/src/resources/workflows/workflows.ts +32 -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/app-events/app-events.d.mts +0 -81
- package/resources/app-events/app-events.d.mts.map +0 -1
- package/resources/app-events/app-events.d.ts +0 -81
- package/resources/app-events/app-events.d.ts.map +0 -1
- package/resources/app-events/app-events.js +0 -33
- package/resources/app-events/app-events.js.map +0 -1
- package/resources/app-events/app-events.mjs +0 -28
- package/resources/app-events/app-events.mjs.map +0 -1
- package/resources/app-events/catalog.d.mts +0 -64
- package/resources/app-events/catalog.d.mts.map +0 -1
- package/resources/app-events/catalog.d.ts +0 -64
- package/resources/app-events/catalog.d.ts.map +0 -1
- package/resources/app-events/catalog.js +0 -25
- package/resources/app-events/catalog.js.map +0 -1
- package/resources/app-events/catalog.mjs +0 -21
- package/resources/app-events/catalog.mjs.map +0 -1
- package/resources/app-events/index.d.mts +0 -3
- package/resources/app-events/index.d.mts.map +0 -1
- package/resources/app-events/index.d.ts +0 -3
- package/resources/app-events/index.d.ts.map +0 -1
- package/resources/app-events/index.js +0 -9
- package/resources/app-events/index.js.map +0 -1
- package/resources/app-events/index.mjs +0 -4
- package/resources/app-events/index.mjs.map +0 -1
- package/resources/app-events.d.mts +0 -2
- package/resources/app-events.d.mts.map +0 -1
- package/resources/app-events.d.ts +0 -2
- package/resources/app-events.d.ts.map +0 -1
- package/resources/app-events.js +0 -6
- package/resources/app-events.js.map +0 -1
- package/resources/app-events.mjs +0 -3
- package/resources/app-events.mjs.map +0 -1
- package/resources/carriers.d.mts +0 -331
- package/resources/carriers.d.mts.map +0 -1
- package/resources/carriers.d.ts +0 -331
- package/resources/carriers.d.ts.map +0 -1
- package/resources/carriers.js +0 -46
- package/resources/carriers.js.map +0 -1
- package/resources/carriers.mjs +0 -42
- package/resources/carriers.mjs.map +0 -1
- package/resources/notifications.d.mts +0 -86
- package/resources/notifications.d.mts.map +0 -1
- package/resources/notifications.d.ts +0 -86
- package/resources/notifications.d.ts.map +0 -1
- package/resources/notifications.js +0 -55
- package/resources/notifications.js.map +0 -1
- package/resources/notifications.mjs +0 -51
- package/resources/notifications.mjs.map +0 -1
- package/resources/profiles.d.mts +0 -147
- package/resources/profiles.d.mts.map +0 -1
- package/resources/profiles.d.ts +0 -147
- package/resources/profiles.d.ts.map +0 -1
- package/resources/profiles.js +0 -40
- package/resources/profiles.js.map +0 -1
- package/resources/profiles.mjs +0 -36
- package/resources/profiles.mjs.map +0 -1
- package/resources/store/apps.d.mts +0 -119
- package/resources/store/apps.d.mts.map +0 -1
- package/resources/store/apps.d.ts +0 -119
- package/resources/store/apps.d.ts.map +0 -1
- package/resources/store/apps.js +0 -31
- package/resources/store/apps.js.map +0 -1
- package/resources/store/apps.mjs +0 -27
- package/resources/store/apps.mjs.map +0 -1
- package/resources/store/index.d.mts +0 -3
- package/resources/store/index.d.mts.map +0 -1
- package/resources/store/index.d.ts +0 -3
- package/resources/store/index.d.ts.map +0 -1
- package/resources/store/index.js +0 -9
- package/resources/store/index.js.map +0 -1
- package/resources/store/index.mjs +0 -4
- package/resources/store/index.mjs.map +0 -1
- package/resources/store/store.d.mts +0 -20
- package/resources/store/store.d.mts.map +0 -1
- package/resources/store/store.d.ts +0 -20
- package/resources/store/store.d.ts.map +0 -1
- package/resources/store/store.js +0 -23
- package/resources/store/store.js.map +0 -1
- package/resources/store/store.mjs +0 -18
- package/resources/store/store.mjs.map +0 -1
- package/resources/store.d.mts +0 -2
- package/resources/store.d.mts.map +0 -1
- package/resources/store.d.ts +0 -2
- package/resources/store.d.ts.map +0 -1
- package/resources/store.js +0 -6
- package/resources/store.js.map +0 -1
- package/resources/store.mjs +0 -3
- package/resources/store.mjs.map +0 -1
- package/src/resources/app-events/app-events.ts +0 -133
- package/src/resources/app-events/catalog.ts +0 -100
- package/src/resources/app-events/index.ts +0 -9
- package/src/resources/app-events.ts +0 -3
- package/src/resources/carriers.ts +0 -508
- package/src/resources/notifications.ts +0 -118
- package/src/resources/profiles.ts +0 -232
- package/src/resources/store/apps.ts +0 -704
- package/src/resources/store/index.ts +0 -10
- package/src/resources/store/store.ts +0 -36
- package/src/resources/store.ts +0 -3
|
@@ -3,16 +3,16 @@ import * as ActionCatalogAPI from "./action-catalog.js";
|
|
|
3
3
|
import { ActionCatalog, ActionCatalogListParams, ActionCatalogListResponse, ActionCatalogRetrieveResponse } from "./action-catalog.js";
|
|
4
4
|
import * as EventsAPI from "./events.js";
|
|
5
5
|
import { EventDryRunParams, EventDryRunResponse, EventIngestParams, EventIngestResponse, Events } from "./events.js";
|
|
6
|
-
import * as ExecutionsAPI from "./executions.js";
|
|
7
|
-
import { ExecutionAbortResponse, ExecutionGetMetricsParams, ExecutionGetMetricsResponse, ExecutionListParams, ExecutionListResponse, ExecutionRetrieveResponse, Executions } from "./executions.js";
|
|
8
6
|
import * as TimezonesAPI from "./timezones.js";
|
|
9
7
|
import { TimezoneListResponse, Timezones } from "./timezones.js";
|
|
10
8
|
import * as TriggersAPI from "./triggers.js";
|
|
11
9
|
import { TriggerCreateParams, TriggerCreateResponse, TriggerDeleteResponse, TriggerFireParams, TriggerFireResponse, TriggerListParams, TriggerListResponse, TriggerRetrieveResponse, TriggerUpdateParams, TriggerUpdateResponse, Triggers } from "./triggers.js";
|
|
12
10
|
import * as ActionsAPI from "./actions/actions.js";
|
|
13
11
|
import { ActionCreateParams, ActionCreateResponse, ActionDeleteResponse, ActionListParams, ActionListResponse, ActionRetrieveResponse, ActionUpdateParams, ActionUpdateResponse, Actions } from "./actions/actions.js";
|
|
12
|
+
import * as ExecutionsAPI from "./executions/executions.js";
|
|
13
|
+
import { ExecutionAbortResponse, ExecutionGetMetricsParams, ExecutionGetMetricsResponse, ExecutionListParams, ExecutionListResponse, ExecutionRetrieveResponse, Executions } from "./executions/executions.js";
|
|
14
14
|
import * as FlowsAPI from "./flows/flows.js";
|
|
15
|
-
import { FlowCapacityResponse, FlowCloneParams, FlowCloneResponse, FlowCreateParams, FlowCreateResponse, FlowDeleteResponse, FlowDryRunParams, FlowDryRunResponse, FlowListParams, FlowListRepairsResponse, FlowListResponse, FlowRetrieveResponse, FlowUnblockResponse, FlowUpdateParams, FlowUpdateResponse, Flows } from "./flows/flows.js";
|
|
15
|
+
import { FlowActivateParams, FlowActivateResponse, FlowCapacityResponse, FlowCloneParams, FlowCloneResponse, FlowCreateParams, FlowCreateResponse, FlowDeleteResponse, FlowDeliveryOptionsResponse, FlowDryRunParams, FlowDryRunResponse, FlowListParams, FlowListRepairsResponse, FlowListResponse, FlowRetrieveResponse, FlowRunParams, FlowRunResponse, FlowTemplateContextParams, FlowTemplateContextResponse, FlowUnblockResponse, FlowUpdateParams, FlowUpdateResponse, FlowValidateParams, FlowValidateResponse, FlowVerifyParams, FlowVerifyResponse, Flows } from "./flows/flows.js";
|
|
16
16
|
export declare class Workflows extends APIResource {
|
|
17
17
|
triggers: TriggersAPI.Triggers;
|
|
18
18
|
actionCatalog: ActionCatalogAPI.ActionCatalog;
|
|
@@ -26,7 +26,7 @@ export declare namespace Workflows {
|
|
|
26
26
|
export { Triggers as Triggers, type TriggerCreateResponse as TriggerCreateResponse, type TriggerRetrieveResponse as TriggerRetrieveResponse, type TriggerUpdateResponse as TriggerUpdateResponse, type TriggerListResponse as TriggerListResponse, type TriggerDeleteResponse as TriggerDeleteResponse, type TriggerFireResponse as TriggerFireResponse, type TriggerCreateParams as TriggerCreateParams, type TriggerUpdateParams as TriggerUpdateParams, type TriggerListParams as TriggerListParams, type TriggerFireParams as TriggerFireParams, };
|
|
27
27
|
export { ActionCatalog as ActionCatalog, type ActionCatalogRetrieveResponse as ActionCatalogRetrieveResponse, type ActionCatalogListResponse as ActionCatalogListResponse, type ActionCatalogListParams as ActionCatalogListParams, };
|
|
28
28
|
export { Actions as Actions, type ActionCreateResponse as ActionCreateResponse, type ActionRetrieveResponse as ActionRetrieveResponse, type ActionUpdateResponse as ActionUpdateResponse, type ActionListResponse as ActionListResponse, type ActionDeleteResponse as ActionDeleteResponse, type ActionCreateParams as ActionCreateParams, type ActionUpdateParams as ActionUpdateParams, type ActionListParams as ActionListParams, };
|
|
29
|
-
export { Flows as Flows, type FlowCreateResponse as FlowCreateResponse, type FlowRetrieveResponse as FlowRetrieveResponse, type FlowUpdateResponse as FlowUpdateResponse, type FlowListResponse as FlowListResponse, type FlowDeleteResponse as FlowDeleteResponse, type FlowCapacityResponse as FlowCapacityResponse, type FlowCloneResponse as FlowCloneResponse, type FlowDryRunResponse as FlowDryRunResponse, type FlowListRepairsResponse as FlowListRepairsResponse, type FlowUnblockResponse as FlowUnblockResponse, type FlowCreateParams as FlowCreateParams, type FlowUpdateParams as FlowUpdateParams, type FlowListParams as FlowListParams, type FlowCloneParams as FlowCloneParams, type FlowDryRunParams as FlowDryRunParams, };
|
|
29
|
+
export { Flows as Flows, type FlowCreateResponse as FlowCreateResponse, type FlowRetrieveResponse as FlowRetrieveResponse, type FlowUpdateResponse as FlowUpdateResponse, type FlowListResponse as FlowListResponse, type FlowDeleteResponse as FlowDeleteResponse, type FlowActivateResponse as FlowActivateResponse, type FlowCapacityResponse as FlowCapacityResponse, type FlowCloneResponse as FlowCloneResponse, type FlowDeliveryOptionsResponse as FlowDeliveryOptionsResponse, type FlowDryRunResponse as FlowDryRunResponse, type FlowListRepairsResponse as FlowListRepairsResponse, type FlowRunResponse as FlowRunResponse, type FlowTemplateContextResponse as FlowTemplateContextResponse, type FlowUnblockResponse as FlowUnblockResponse, type FlowValidateResponse as FlowValidateResponse, type FlowVerifyResponse as FlowVerifyResponse, type FlowCreateParams as FlowCreateParams, type FlowUpdateParams as FlowUpdateParams, type FlowListParams as FlowListParams, type FlowActivateParams as FlowActivateParams, type FlowCloneParams as FlowCloneParams, type FlowDryRunParams as FlowDryRunParams, type FlowRunParams as FlowRunParams, type FlowTemplateContextParams as FlowTemplateContextParams, type FlowValidateParams as FlowValidateParams, type FlowVerifyParams as FlowVerifyParams, };
|
|
30
30
|
export { Events as Events, type EventDryRunResponse as EventDryRunResponse, type EventIngestResponse as EventIngestResponse, type EventDryRunParams as EventDryRunParams, type EventIngestParams as EventIngestParams, };
|
|
31
31
|
export { Executions as Executions, type ExecutionRetrieveResponse as ExecutionRetrieveResponse, type ExecutionListResponse as ExecutionListResponse, type ExecutionAbortResponse as ExecutionAbortResponse, type ExecutionGetMetricsResponse as ExecutionGetMetricsResponse, type ExecutionListParams as ExecutionListParams, type ExecutionGetMetricsParams as ExecutionGetMetricsParams, };
|
|
32
32
|
export { Timezones as Timezones, type TimezoneListResponse as TimezoneListResponse };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../src/resources/workflows/workflows.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,gBAAgB,4BAAyB;AACrD,OAAO,EACL,aAAa,EACb,uBAAuB,EACvB,yBAAyB,EACzB,6BAA6B,EAC9B,4BAAyB;AAC1B,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,EACP,oBAAiB;AAClB,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../src/resources/workflows/workflows.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,gBAAgB,4BAAyB;AACrD,OAAO,EACL,aAAa,EACb,uBAAuB,EACvB,yBAAyB,EACzB,6BAA6B,EAC9B,4BAAyB;AAC1B,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,EACP,oBAAiB;AAClB,OAAO,KAAK,YAAY,uBAAoB;AAC5C,OAAO,EAAE,oBAAoB,EAAE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AC;IAEF,OAAO,EAAE,SAAS,IAAI,SAAS,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,CAAC;CACtF"}
|
|
@@ -8,14 +8,14 @@ const ActionCatalogAPI = tslib_1.__importStar(require("./action-catalog.js"));
|
|
|
8
8
|
const action_catalog_1 = require("./action-catalog.js");
|
|
9
9
|
const EventsAPI = tslib_1.__importStar(require("./events.js"));
|
|
10
10
|
const events_1 = require("./events.js");
|
|
11
|
-
const ExecutionsAPI = tslib_1.__importStar(require("./executions.js"));
|
|
12
|
-
const executions_1 = require("./executions.js");
|
|
13
11
|
const TimezonesAPI = tslib_1.__importStar(require("./timezones.js"));
|
|
14
12
|
const timezones_1 = require("./timezones.js");
|
|
15
13
|
const TriggersAPI = tslib_1.__importStar(require("./triggers.js"));
|
|
16
14
|
const triggers_1 = require("./triggers.js");
|
|
17
15
|
const ActionsAPI = tslib_1.__importStar(require("./actions/actions.js"));
|
|
18
16
|
const actions_1 = require("./actions/actions.js");
|
|
17
|
+
const ExecutionsAPI = tslib_1.__importStar(require("./executions/executions.js"));
|
|
18
|
+
const executions_1 = require("./executions/executions.js");
|
|
19
19
|
const FlowsAPI = tslib_1.__importStar(require("./flows/flows.js"));
|
|
20
20
|
const flows_1 = require("./flows/flows.js");
|
|
21
21
|
class Workflows extends resource_1.APIResource {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflows.js","sourceRoot":"","sources":["../../src/resources/workflows/workflows.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,8EAAqD;AACrD,wDAK0B;AAC1B,+DAAsC;AACtC,wCAMkB;AAClB,
|
|
1
|
+
{"version":3,"file":"workflows.js","sourceRoot":"","sources":["../../src/resources/workflows/workflows.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,8EAAqD;AACrD,wDAK0B;AAC1B,+DAAsC;AACtC,wCAMkB;AAClB,qEAA4C;AAC5C,8CAA8D;AAC9D,mEAA0C;AAC1C,4CAYoB;AACpB,yEAAgD;AAChD,kDAU2B;AAC3B,kFAAyD;AACzD,2DAQiC;AACjC,mEAA0C;AAC1C,4CA4BuB;AAEvB,MAAa,SAAU,SAAQ,sBAAW;IAA1C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjG,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClF,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC/E,CAAC;CAAA;AARD,8BAQC;AAED,SAAS,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AAC9B,SAAS,CAAC,aAAa,GAAG,8BAAa,CAAC;AACxC,SAAS,CAAC,OAAO,GAAG,iBAAO,CAAC;AAC5B,SAAS,CAAC,KAAK,GAAG,aAAK,CAAC;AACxB,SAAS,CAAC,MAAM,GAAG,eAAM,CAAC;AAC1B,SAAS,CAAC,UAAU,GAAG,uBAAU,CAAC;AAClC,SAAS,CAAC,SAAS,GAAG,qBAAS,CAAC"}
|
|
@@ -4,14 +4,14 @@ import * as ActionCatalogAPI from "./action-catalog.mjs";
|
|
|
4
4
|
import { ActionCatalog, } from "./action-catalog.mjs";
|
|
5
5
|
import * as EventsAPI from "./events.mjs";
|
|
6
6
|
import { Events, } from "./events.mjs";
|
|
7
|
-
import * as ExecutionsAPI from "./executions.mjs";
|
|
8
|
-
import { Executions, } from "./executions.mjs";
|
|
9
7
|
import * as TimezonesAPI from "./timezones.mjs";
|
|
10
8
|
import { Timezones } from "./timezones.mjs";
|
|
11
9
|
import * as TriggersAPI from "./triggers.mjs";
|
|
12
10
|
import { Triggers, } from "./triggers.mjs";
|
|
13
11
|
import * as ActionsAPI from "./actions/actions.mjs";
|
|
14
12
|
import { Actions, } from "./actions/actions.mjs";
|
|
13
|
+
import * as ExecutionsAPI from "./executions/executions.mjs";
|
|
14
|
+
import { Executions, } from "./executions/executions.mjs";
|
|
15
15
|
import * as FlowsAPI from "./flows/flows.mjs";
|
|
16
16
|
import { Flows, } from "./flows/flows.mjs";
|
|
17
17
|
export class Workflows extends APIResource {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflows.mjs","sourceRoot":"","sources":["../../src/resources/workflows/workflows.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,gBAAgB,6BAAyB;AACrD,OAAO,EACL,aAAa,GAId,6BAAyB;AAC1B,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAKL,MAAM,GACP,qBAAiB;AAClB,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"workflows.mjs","sourceRoot":"","sources":["../../src/resources/workflows/workflows.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,gBAAgB,6BAAyB;AACrD,OAAO,EACL,aAAa,GAId,6BAAyB;AAC1B,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAKL,MAAM,GACP,qBAAiB;AAClB,OAAO,KAAK,YAAY,wBAAoB;AAC5C,OAAO,EAAwB,SAAS,EAAE,wBAAoB;AAC9D,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EAWL,QAAQ,GACT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|
31
31
|
Apps,
|
|
32
32
|
} from './resources/apps';
|
|
33
|
-
import {
|
|
34
|
-
CarrierCreateParams,
|
|
35
|
-
CarrierCreateResponse,
|
|
36
|
-
CarrierDeleteResponse,
|
|
37
|
-
CarrierListParams,
|
|
38
|
-
CarrierListResponse,
|
|
39
|
-
CarrierLookupParams,
|
|
40
|
-
CarrierLookupResponse,
|
|
41
|
-
CarrierRetrieveResponse,
|
|
42
|
-
CarrierUpdateParams,
|
|
43
|
-
CarrierUpdateResponse,
|
|
44
|
-
Carriers,
|
|
45
|
-
} from './resources/carriers';
|
|
46
33
|
import {
|
|
47
34
|
FileCancelPendingResponse,
|
|
48
35
|
FileConfirmResponse,
|
|
@@ -56,24 +43,6 @@ import {
|
|
|
56
43
|
Files,
|
|
57
44
|
} from './resources/files';
|
|
58
45
|
import { ModelListResponse, Models } from './resources/models';
|
|
59
|
-
import {
|
|
60
|
-
NotificationCatalogResponse,
|
|
61
|
-
NotificationGetPreferencesResponse,
|
|
62
|
-
NotificationUpdatePreferencesParams,
|
|
63
|
-
NotificationUpdatePreferencesResponse,
|
|
64
|
-
Notifications,
|
|
65
|
-
} from './resources/notifications';
|
|
66
|
-
import {
|
|
67
|
-
ProfileCreateParams,
|
|
68
|
-
ProfileCreateResponse,
|
|
69
|
-
ProfileDeleteResponse,
|
|
70
|
-
ProfileListParams,
|
|
71
|
-
ProfileListResponse,
|
|
72
|
-
ProfileRetrieveResponse,
|
|
73
|
-
ProfileUpdateParams,
|
|
74
|
-
ProfileUpdateResponse,
|
|
75
|
-
Profiles,
|
|
76
|
-
} from './resources/profiles';
|
|
77
46
|
import {
|
|
78
47
|
Proxies,
|
|
79
48
|
ProxyCreateParams,
|
|
@@ -81,18 +50,10 @@ import {
|
|
|
81
50
|
ProxyDeleteResponse,
|
|
82
51
|
ProxyListParams,
|
|
83
52
|
ProxyListResponse,
|
|
84
|
-
ProxyLookupParams,
|
|
85
|
-
ProxyLookupResponse,
|
|
86
53
|
ProxyRetrieveResponse,
|
|
87
54
|
ProxyUpdateParams,
|
|
88
55
|
ProxyUpdateResponse,
|
|
89
56
|
} from './resources/proxies';
|
|
90
|
-
import {
|
|
91
|
-
AppEventListParams,
|
|
92
|
-
AppEventListResponse,
|
|
93
|
-
AppEventRetrieveResponse,
|
|
94
|
-
AppEvents,
|
|
95
|
-
} from './resources/app-events/app-events';
|
|
96
57
|
import { Assistant } from './resources/assistant/assistant';
|
|
97
58
|
import { Connect } from './resources/connect/connect';
|
|
98
59
|
import {
|
|
@@ -112,6 +73,8 @@ import {
|
|
|
112
73
|
DeviceRetrieveResponse,
|
|
113
74
|
DeviceSetNameParams,
|
|
114
75
|
DeviceSetNameResponse,
|
|
76
|
+
DeviceSummaryParams,
|
|
77
|
+
DeviceSummaryResponse,
|
|
115
78
|
DeviceTerminateParams,
|
|
116
79
|
DeviceWaitReadyResponse,
|
|
117
80
|
Devices,
|
|
@@ -121,6 +84,7 @@ import {
|
|
|
121
84
|
MailboxCreateParams,
|
|
122
85
|
MailboxCreateResponse,
|
|
123
86
|
MailboxDeleteResponse,
|
|
87
|
+
MailboxDisconnectResponse,
|
|
124
88
|
MailboxListParams,
|
|
125
89
|
MailboxListResponse,
|
|
126
90
|
MailboxOtpParams,
|
|
@@ -133,7 +97,12 @@ import {
|
|
|
133
97
|
MailboxUpdateResponse,
|
|
134
98
|
Mailboxes,
|
|
135
99
|
} from './resources/mailboxes/mailboxes';
|
|
136
|
-
import {
|
|
100
|
+
import {
|
|
101
|
+
MessageListParams,
|
|
102
|
+
MessageListResponse,
|
|
103
|
+
MessageRetrieveResponse,
|
|
104
|
+
Messages,
|
|
105
|
+
} from './resources/messages/messages';
|
|
137
106
|
import {
|
|
138
107
|
NumberCapacityParams,
|
|
139
108
|
NumberCapacityResponse,
|
|
@@ -143,13 +112,11 @@ import {
|
|
|
143
112
|
NumberDeleteResponse,
|
|
144
113
|
NumberListParams,
|
|
145
114
|
NumberListResponse,
|
|
146
|
-
NumberPurposesResponse,
|
|
147
115
|
NumberRetrieveResponse,
|
|
148
116
|
NumberUpdateParams,
|
|
149
117
|
NumberUpdateResponse,
|
|
150
118
|
Numbers,
|
|
151
119
|
} from './resources/numbers/numbers';
|
|
152
|
-
import { Store, StoreCategoriesResponse } from './resources/store/store';
|
|
153
120
|
import {
|
|
154
121
|
TaskGetStatusResponse,
|
|
155
122
|
TaskGetTrajectoryResponse,
|
|
@@ -168,7 +135,6 @@ import {
|
|
|
168
135
|
import {
|
|
169
136
|
WebhookCreateParams,
|
|
170
137
|
WebhookCreateResponse,
|
|
171
|
-
WebhookEventTypesResponse,
|
|
172
138
|
WebhookListParams,
|
|
173
139
|
WebhookListResponse,
|
|
174
140
|
WebhookRetrieveResponse,
|
|
@@ -336,6 +302,7 @@ export class Mobilerun {
|
|
|
336
302
|
}
|
|
337
303
|
|
|
338
304
|
this._options = options;
|
|
305
|
+
this.idempotencyHeader = 'Idempotency-Key';
|
|
339
306
|
|
|
340
307
|
this.apiKey = apiKey;
|
|
341
308
|
}
|
|
@@ -903,14 +870,9 @@ export class Mobilerun {
|
|
|
903
870
|
static toFile = Uploads.toFile;
|
|
904
871
|
|
|
905
872
|
apps: API.Apps = new API.Apps(this);
|
|
906
|
-
carriers: API.Carriers = new API.Carriers(this);
|
|
907
873
|
credentials: API.Credentials = new API.Credentials(this);
|
|
908
874
|
devices: API.Devices = new API.Devices(this);
|
|
909
|
-
/**
|
|
910
|
-
* LLM Models
|
|
911
|
-
*/
|
|
912
875
|
models: API.Models = new API.Models(this);
|
|
913
|
-
profiles: API.Profiles = new API.Profiles(this);
|
|
914
876
|
proxies: API.Proxies = new API.Proxies(this);
|
|
915
877
|
connect: API.Connect = new API.Connect(this);
|
|
916
878
|
/**
|
|
@@ -922,19 +884,14 @@ export class Mobilerun {
|
|
|
922
884
|
mailboxes: API.Mailboxes = new API.Mailboxes(this);
|
|
923
885
|
files: API.Files = new API.Files(this);
|
|
924
886
|
assistant: API.Assistant = new API.Assistant(this);
|
|
925
|
-
appEvents: API.AppEvents = new API.AppEvents(this);
|
|
926
|
-
notifications: API.Notifications = new API.Notifications(this);
|
|
927
887
|
messages: API.Messages = new API.Messages(this);
|
|
928
888
|
numbers: API.Numbers = new API.Numbers(this);
|
|
929
|
-
store: API.Store = new API.Store(this);
|
|
930
889
|
}
|
|
931
890
|
|
|
932
891
|
Mobilerun.Apps = Apps;
|
|
933
|
-
Mobilerun.Carriers = Carriers;
|
|
934
892
|
Mobilerun.Credentials = Credentials;
|
|
935
893
|
Mobilerun.Devices = Devices;
|
|
936
894
|
Mobilerun.Models = Models;
|
|
937
|
-
Mobilerun.Profiles = Profiles;
|
|
938
895
|
Mobilerun.Proxies = Proxies;
|
|
939
896
|
Mobilerun.Connect = Connect;
|
|
940
897
|
Mobilerun.Tasks = Tasks;
|
|
@@ -943,11 +900,8 @@ Mobilerun.Webhooks = Webhooks;
|
|
|
943
900
|
Mobilerun.Mailboxes = Mailboxes;
|
|
944
901
|
Mobilerun.Files = Files;
|
|
945
902
|
Mobilerun.Assistant = Assistant;
|
|
946
|
-
Mobilerun.AppEvents = AppEvents;
|
|
947
|
-
Mobilerun.Notifications = Notifications;
|
|
948
903
|
Mobilerun.Messages = Messages;
|
|
949
904
|
Mobilerun.Numbers = Numbers;
|
|
950
|
-
Mobilerun.Store = Store;
|
|
951
905
|
|
|
952
906
|
export declare namespace Mobilerun {
|
|
953
907
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -966,20 +920,6 @@ export declare namespace Mobilerun {
|
|
|
966
920
|
type AppCreateSignedUploadURLParams as AppCreateSignedUploadURLParams,
|
|
967
921
|
};
|
|
968
922
|
|
|
969
|
-
export {
|
|
970
|
-
Carriers as Carriers,
|
|
971
|
-
type CarrierCreateResponse as CarrierCreateResponse,
|
|
972
|
-
type CarrierRetrieveResponse as CarrierRetrieveResponse,
|
|
973
|
-
type CarrierUpdateResponse as CarrierUpdateResponse,
|
|
974
|
-
type CarrierListResponse as CarrierListResponse,
|
|
975
|
-
type CarrierDeleteResponse as CarrierDeleteResponse,
|
|
976
|
-
type CarrierLookupResponse as CarrierLookupResponse,
|
|
977
|
-
type CarrierCreateParams as CarrierCreateParams,
|
|
978
|
-
type CarrierUpdateParams as CarrierUpdateParams,
|
|
979
|
-
type CarrierListParams as CarrierListParams,
|
|
980
|
-
type CarrierLookupParams as CarrierLookupParams,
|
|
981
|
-
};
|
|
982
|
-
|
|
983
923
|
export {
|
|
984
924
|
Credentials as Credentials,
|
|
985
925
|
type CredentialListResponse as CredentialListResponse,
|
|
@@ -995,28 +935,18 @@ export declare namespace Mobilerun {
|
|
|
995
935
|
type DeviceFingerprintResponse as DeviceFingerprintResponse,
|
|
996
936
|
type DeviceRetrieveCapabilitiesResponse as DeviceRetrieveCapabilitiesResponse,
|
|
997
937
|
type DeviceSetNameResponse as DeviceSetNameResponse,
|
|
938
|
+
type DeviceSummaryResponse as DeviceSummaryResponse,
|
|
998
939
|
type DeviceWaitReadyResponse as DeviceWaitReadyResponse,
|
|
999
940
|
type DeviceCreateParams as DeviceCreateParams,
|
|
1000
941
|
type DeviceListParams as DeviceListParams,
|
|
1001
942
|
type DeviceFingerprintParams as DeviceFingerprintParams,
|
|
1002
943
|
type DeviceSetNameParams as DeviceSetNameParams,
|
|
944
|
+
type DeviceSummaryParams as DeviceSummaryParams,
|
|
1003
945
|
type DeviceTerminateParams as DeviceTerminateParams,
|
|
1004
946
|
};
|
|
1005
947
|
|
|
1006
948
|
export { Models as Models, type ModelListResponse as ModelListResponse };
|
|
1007
949
|
|
|
1008
|
-
export {
|
|
1009
|
-
Profiles as Profiles,
|
|
1010
|
-
type ProfileCreateResponse as ProfileCreateResponse,
|
|
1011
|
-
type ProfileRetrieveResponse as ProfileRetrieveResponse,
|
|
1012
|
-
type ProfileUpdateResponse as ProfileUpdateResponse,
|
|
1013
|
-
type ProfileListResponse as ProfileListResponse,
|
|
1014
|
-
type ProfileDeleteResponse as ProfileDeleteResponse,
|
|
1015
|
-
type ProfileCreateParams as ProfileCreateParams,
|
|
1016
|
-
type ProfileUpdateParams as ProfileUpdateParams,
|
|
1017
|
-
type ProfileListParams as ProfileListParams,
|
|
1018
|
-
};
|
|
1019
|
-
|
|
1020
950
|
export {
|
|
1021
951
|
Proxies as Proxies,
|
|
1022
952
|
type ProxyCreateResponse as ProxyCreateResponse,
|
|
@@ -1024,11 +954,9 @@ export declare namespace Mobilerun {
|
|
|
1024
954
|
type ProxyUpdateResponse as ProxyUpdateResponse,
|
|
1025
955
|
type ProxyListResponse as ProxyListResponse,
|
|
1026
956
|
type ProxyDeleteResponse as ProxyDeleteResponse,
|
|
1027
|
-
type ProxyLookupResponse as ProxyLookupResponse,
|
|
1028
957
|
type ProxyCreateParams as ProxyCreateParams,
|
|
1029
958
|
type ProxyUpdateParams as ProxyUpdateParams,
|
|
1030
959
|
type ProxyListParams as ProxyListParams,
|
|
1031
|
-
type ProxyLookupParams as ProxyLookupParams,
|
|
1032
960
|
};
|
|
1033
961
|
|
|
1034
962
|
export { Connect as Connect };
|
|
@@ -1057,7 +985,6 @@ export declare namespace Mobilerun {
|
|
|
1057
985
|
type WebhookRetrieveResponse as WebhookRetrieveResponse,
|
|
1058
986
|
type WebhookUpdateResponse as WebhookUpdateResponse,
|
|
1059
987
|
type WebhookListResponse as WebhookListResponse,
|
|
1060
|
-
type WebhookEventTypesResponse as WebhookEventTypesResponse,
|
|
1061
988
|
type WebhookRotateSecretResponse as WebhookRotateSecretResponse,
|
|
1062
989
|
type WebhookTestDeliveryResponse as WebhookTestDeliveryResponse,
|
|
1063
990
|
type WebhookCreateParams as WebhookCreateParams,
|
|
@@ -1073,6 +1000,7 @@ export declare namespace Mobilerun {
|
|
|
1073
1000
|
type MailboxListResponse as MailboxListResponse,
|
|
1074
1001
|
type MailboxDeleteResponse as MailboxDeleteResponse,
|
|
1075
1002
|
type MailboxCapacityResponse as MailboxCapacityResponse,
|
|
1003
|
+
type MailboxDisconnectResponse as MailboxDisconnectResponse,
|
|
1076
1004
|
type MailboxOtpResponse as MailboxOtpResponse,
|
|
1077
1005
|
type MailboxRestartResponse as MailboxRestartResponse,
|
|
1078
1006
|
type MailboxUncancelResponse as MailboxUncancelResponse,
|
|
@@ -1098,23 +1026,9 @@ export declare namespace Mobilerun {
|
|
|
1098
1026
|
|
|
1099
1027
|
export { Assistant as Assistant };
|
|
1100
1028
|
|
|
1101
|
-
export {
|
|
1102
|
-
AppEvents as AppEvents,
|
|
1103
|
-
type AppEventRetrieveResponse as AppEventRetrieveResponse,
|
|
1104
|
-
type AppEventListResponse as AppEventListResponse,
|
|
1105
|
-
type AppEventListParams as AppEventListParams,
|
|
1106
|
-
};
|
|
1107
|
-
|
|
1108
|
-
export {
|
|
1109
|
-
Notifications as Notifications,
|
|
1110
|
-
type NotificationCatalogResponse as NotificationCatalogResponse,
|
|
1111
|
-
type NotificationGetPreferencesResponse as NotificationGetPreferencesResponse,
|
|
1112
|
-
type NotificationUpdatePreferencesResponse as NotificationUpdatePreferencesResponse,
|
|
1113
|
-
type NotificationUpdatePreferencesParams as NotificationUpdatePreferencesParams,
|
|
1114
|
-
};
|
|
1115
|
-
|
|
1116
1029
|
export {
|
|
1117
1030
|
Messages as Messages,
|
|
1031
|
+
type MessageRetrieveResponse as MessageRetrieveResponse,
|
|
1118
1032
|
type MessageListResponse as MessageListResponse,
|
|
1119
1033
|
type MessageListParams as MessageListParams,
|
|
1120
1034
|
};
|
|
@@ -1128,15 +1042,12 @@ export declare namespace Mobilerun {
|
|
|
1128
1042
|
type NumberDeleteResponse as NumberDeleteResponse,
|
|
1129
1043
|
type NumberCapacityResponse as NumberCapacityResponse,
|
|
1130
1044
|
type NumberCountriesResponse as NumberCountriesResponse,
|
|
1131
|
-
type NumberPurposesResponse as NumberPurposesResponse,
|
|
1132
1045
|
type NumberCreateParams as NumberCreateParams,
|
|
1133
1046
|
type NumberUpdateParams as NumberUpdateParams,
|
|
1134
1047
|
type NumberListParams as NumberListParams,
|
|
1135
1048
|
type NumberCapacityParams as NumberCapacityParams,
|
|
1136
1049
|
};
|
|
1137
1050
|
|
|
1138
|
-
export { Store as Store, type StoreCategoriesResponse as StoreCategoriesResponse };
|
|
1139
|
-
|
|
1140
1051
|
export type DeviceCarrier = API.DeviceCarrier;
|
|
1141
1052
|
export type DeviceIdentifiers = API.DeviceIdentifiers;
|
|
1142
1053
|
export type DeviceSpec = API.DeviceSpec;
|
package/src/resources/apps.ts
CHANGED
|
@@ -34,8 +34,7 @@ export class Apps extends APIResource {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
* Deletes an uploaded app by ID. Removes files
|
|
38
|
-
* entry.
|
|
37
|
+
* Deletes an uploaded app by ID. Removes its files and metadata.
|
|
39
38
|
*
|
|
40
39
|
* @example
|
|
41
40
|
* ```ts
|
|
@@ -49,7 +48,7 @@ export class Apps extends APIResource {
|
|
|
49
48
|
}
|
|
50
49
|
|
|
51
50
|
/**
|
|
52
|
-
* Verifies the uploaded files
|
|
51
|
+
* Verifies the uploaded files and sets the app version status to available.
|
|
53
52
|
* Idempotent: replaying confirmation for an already-available version returns the
|
|
54
53
|
* same successful response without re-verifying the files.
|
|
55
54
|
*
|
|
@@ -65,8 +64,20 @@ export class Apps extends APIResource {
|
|
|
65
64
|
}
|
|
66
65
|
|
|
67
66
|
/**
|
|
68
|
-
* Creates or updates an app and returns pre-signed
|
|
69
|
-
*
|
|
67
|
+
* Creates or updates an app and returns pre-signed upload URLs for each file.
|
|
68
|
+
* Honours an optional `Idempotency-Key` header: a retry with the same key and body
|
|
69
|
+
* returns the same app and version with freshly signed URLs and
|
|
70
|
+
* `Idempotent-Replayed: true`, and never creates a second version. An
|
|
71
|
+
* Idempotency-Key is honoured for 7 days; after that it behaves like a fresh
|
|
72
|
+
* request. A replay whose version was deleted is a 404; a replay whose version
|
|
73
|
+
* already left the queued state is a 409 `idempotency_key_consumed`; a replay that
|
|
74
|
+
* cannot get the version lock within 5 s is a 409
|
|
75
|
+
* `idempotency_request_in_progress`. Every response produced by a replay,
|
|
76
|
+
* including those 404/409 errors, carries `Idempotent-Replayed: true`. A same-key
|
|
77
|
+
* request still in flight after a 5 s wait is a 409
|
|
78
|
+
* `idempotency_request_in_progress` (retry after `Retry-After`). If signing fails,
|
|
79
|
+
* nothing is persisted (with or without a key) and the same request, key included,
|
|
80
|
+
* can be retried.
|
|
70
81
|
*
|
|
71
82
|
* @example
|
|
72
83
|
* ```ts
|
|
@@ -123,8 +134,10 @@ export class Apps extends APIResource {
|
|
|
123
134
|
}
|
|
124
135
|
|
|
125
136
|
/**
|
|
126
|
-
* Returns the user’s
|
|
127
|
-
*
|
|
137
|
+
* Returns the user’s storage allowance in bytes: bytes used, bytes included in the
|
|
138
|
+
* plan, the hard maximum (included + max purchasable overage; null = unlimited)
|
|
139
|
+
* and whether usage above the included amount is billed as overage. With storage
|
|
140
|
+
* billing off there is no limit: only usedBytes is set.
|
|
128
141
|
*
|
|
129
142
|
* @example
|
|
130
143
|
* ```ts
|
|
@@ -473,9 +486,9 @@ export namespace AppListResponse {
|
|
|
473
486
|
|
|
474
487
|
sizeBytes: number | null;
|
|
475
488
|
|
|
476
|
-
source: 'user' | 'system' | 'portal' | 'store'
|
|
489
|
+
source: 'user' | 'system' | 'portal' | 'store';
|
|
477
490
|
|
|
478
|
-
status: 'queued' | 'available' | 'failed';
|
|
491
|
+
status: 'queued' | 'available' | 'failed' | 'pruned';
|
|
479
492
|
|
|
480
493
|
targetSdk: number | null;
|
|
481
494
|
|
|
@@ -507,17 +520,17 @@ export interface AppConfirmUploadResponse {
|
|
|
507
520
|
|
|
508
521
|
export interface AppCreateSignedUploadURLResponse {
|
|
509
522
|
/**
|
|
510
|
-
* App ID
|
|
523
|
+
* App ID
|
|
511
524
|
*/
|
|
512
525
|
appId: string;
|
|
513
526
|
|
|
514
527
|
/**
|
|
515
|
-
* Pre-signed
|
|
528
|
+
* Pre-signed upload URLs for uploading app files
|
|
516
529
|
*/
|
|
517
530
|
r2UploadUrls: Array<AppCreateSignedUploadURLResponse.R2UploadURL>;
|
|
518
531
|
|
|
519
532
|
/**
|
|
520
|
-
* App version ID
|
|
533
|
+
* App version ID
|
|
521
534
|
*/
|
|
522
535
|
versionId: string;
|
|
523
536
|
}
|
|
@@ -804,9 +817,9 @@ export namespace AppListVersionsResponse {
|
|
|
804
817
|
|
|
805
818
|
sizeBytes: number | null;
|
|
806
819
|
|
|
807
|
-
source: 'user' | 'system' | 'portal' | 'store'
|
|
820
|
+
source: 'user' | 'system' | 'portal' | 'store';
|
|
808
821
|
|
|
809
|
-
status: 'queued' | 'available' | 'failed';
|
|
822
|
+
status: 'queued' | 'available' | 'failed' | 'pruned';
|
|
810
823
|
|
|
811
824
|
targetSdk: number | null;
|
|
812
825
|
|
|
@@ -836,26 +849,26 @@ export interface AppStorageUsageResponse {
|
|
|
836
849
|
export namespace AppStorageUsageResponse {
|
|
837
850
|
export interface Data {
|
|
838
851
|
/**
|
|
839
|
-
*
|
|
840
|
-
*
|
|
841
|
-
* may reduce actual headroom.
|
|
852
|
+
* Bytes included in the plan. Null when unlimited, unknown, or storage billing is
|
|
853
|
+
* off.
|
|
842
854
|
*/
|
|
843
|
-
|
|
855
|
+
includedBytes: number | null;
|
|
844
856
|
|
|
845
857
|
/**
|
|
846
|
-
*
|
|
847
|
-
*
|
|
848
|
-
*
|
|
858
|
+
* Hard admission bound in bytes: included + max purchasable overage, or included
|
|
859
|
+
* when overage is not allowed. Null = unlimited, unknown, or storage billing is
|
|
860
|
+
* off.
|
|
849
861
|
*/
|
|
850
|
-
|
|
862
|
+
maxBytes: number | null;
|
|
851
863
|
|
|
852
864
|
/**
|
|
853
|
-
*
|
|
865
|
+
* True when usage above includedBytes is billed as overage instead of blocked
|
|
854
866
|
*/
|
|
855
|
-
|
|
867
|
+
overageAllowed: boolean;
|
|
856
868
|
|
|
857
869
|
/**
|
|
858
|
-
* Bytes currently
|
|
870
|
+
* Bytes currently used (the sum of the user’s app versions when storage billing is
|
|
871
|
+
* off)
|
|
859
872
|
*/
|
|
860
873
|
usedBytes: number;
|
|
861
874
|
}
|
|
@@ -874,7 +887,7 @@ export interface AppListParams {
|
|
|
874
887
|
|
|
875
888
|
sortBy?: 'createdAt' | 'name';
|
|
876
889
|
|
|
877
|
-
status?: 'all' | 'queued' | 'available' | 'failed';
|
|
890
|
+
status?: 'all' | 'queued' | 'available' | 'failed' | 'pruned';
|
|
878
891
|
}
|
|
879
892
|
|
|
880
893
|
export interface AppCreateSignedUploadURLParams {
|
|
@@ -12,18 +12,11 @@ export class Conversations extends APIResource {
|
|
|
12
12
|
* Creates a titled agent session. Setup may occur on the first prompt. Idempotent
|
|
13
13
|
* via the `Idempotency-Key` header — a duplicate submit by the same authenticated
|
|
14
14
|
* caller within the 24-hour idempotency window returns the already-created session
|
|
15
|
-
* instead of a second one.
|
|
15
|
+
* instead of a second one. Reusing the same key with a different request body is a
|
|
16
|
+
* 422 `idempotency_key_reused`.
|
|
16
17
|
*/
|
|
17
|
-
create(
|
|
18
|
-
|
|
19
|
-
return this._client.post('/assistant/chat/sessions', {
|
|
20
|
-
body,
|
|
21
|
-
...options,
|
|
22
|
-
headers: buildHeaders([
|
|
23
|
-
{ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
|
|
24
|
-
options?.headers,
|
|
25
|
-
]),
|
|
26
|
-
});
|
|
18
|
+
create(body: ConversationCreateParams, options?: RequestOptions): APIPromise<ConversationCreateResponse> {
|
|
19
|
+
return this._client.post('/assistant/chat/sessions', { body, ...options });
|
|
27
20
|
}
|
|
28
21
|
|
|
29
22
|
/**
|
|
@@ -167,6 +160,8 @@ export namespace ConversationCreateResponse {
|
|
|
167
160
|
|
|
168
161
|
createdAt: string;
|
|
169
162
|
|
|
163
|
+
creditsUsed: number | null;
|
|
164
|
+
|
|
170
165
|
description: string | null;
|
|
171
166
|
|
|
172
167
|
lastActiveAt: string;
|
|
@@ -209,6 +204,8 @@ export namespace ConversationUpdateResponse {
|
|
|
209
204
|
|
|
210
205
|
createdAt: string;
|
|
211
206
|
|
|
207
|
+
creditsUsed: number | null;
|
|
208
|
+
|
|
212
209
|
description: string | null;
|
|
213
210
|
|
|
214
211
|
lastActiveAt: string;
|
|
@@ -251,6 +248,8 @@ export namespace ConversationListResponse {
|
|
|
251
248
|
|
|
252
249
|
createdAt: string;
|
|
253
250
|
|
|
251
|
+
creditsUsed: number | null;
|
|
252
|
+
|
|
254
253
|
description: string | null;
|
|
255
254
|
|
|
256
255
|
episode: number;
|
|
@@ -295,6 +294,8 @@ export namespace ConversationListResponse {
|
|
|
295
294
|
|
|
296
295
|
createdAt: string;
|
|
297
296
|
|
|
297
|
+
creditsUsed: number | null;
|
|
298
|
+
|
|
298
299
|
description: string | null;
|
|
299
300
|
|
|
300
301
|
episode: number;
|
|
@@ -429,27 +430,11 @@ export interface ConversationSendResponse {
|
|
|
429
430
|
export type ConversationStreamResponse = string;
|
|
430
431
|
|
|
431
432
|
export interface ConversationCreateParams {
|
|
432
|
-
/**
|
|
433
|
-
* Body param
|
|
434
|
-
*/
|
|
435
433
|
title: string;
|
|
436
434
|
|
|
437
|
-
/**
|
|
438
|
-
* Body param
|
|
439
|
-
*/
|
|
440
435
|
agent?: string;
|
|
441
436
|
|
|
442
|
-
/**
|
|
443
|
-
* Body param
|
|
444
|
-
*/
|
|
445
437
|
description?: string;
|
|
446
|
-
|
|
447
|
-
/**
|
|
448
|
-
* Header param: Optional client key. Reusing the same key with the same request
|
|
449
|
-
* body by the same authenticated caller within 24 hours returns the
|
|
450
|
-
* already-created session instead of a second one.
|
|
451
|
-
*/
|
|
452
|
-
'Idempotency-Key'?: string;
|
|
453
438
|
}
|
|
454
439
|
|
|
455
440
|
export interface ConversationUpdateParams {
|
|
@@ -8,12 +8,15 @@ import {
|
|
|
8
8
|
Proxies,
|
|
9
9
|
ProxyBuyParams,
|
|
10
10
|
ProxyBuyResponse,
|
|
11
|
+
ProxyEnsureHealthyResponse,
|
|
11
12
|
ProxyListConnectionsParams,
|
|
12
13
|
ProxyListConnectionsResponse,
|
|
13
14
|
ProxyListParams,
|
|
14
15
|
ProxyListResponse,
|
|
15
16
|
ProxyPingResponse,
|
|
16
17
|
ProxyRetrieveResponse,
|
|
18
|
+
ProxyUpdateParams,
|
|
19
|
+
ProxyUpdateResponse,
|
|
17
20
|
} from './proxies';
|
|
18
21
|
import * as UsersAPI from './users';
|
|
19
22
|
import {
|
|
@@ -49,10 +52,13 @@ export declare namespace Connect {
|
|
|
49
52
|
export {
|
|
50
53
|
Proxies as Proxies,
|
|
51
54
|
type ProxyRetrieveResponse as ProxyRetrieveResponse,
|
|
55
|
+
type ProxyUpdateResponse as ProxyUpdateResponse,
|
|
52
56
|
type ProxyListResponse as ProxyListResponse,
|
|
53
57
|
type ProxyBuyResponse as ProxyBuyResponse,
|
|
58
|
+
type ProxyEnsureHealthyResponse as ProxyEnsureHealthyResponse,
|
|
54
59
|
type ProxyListConnectionsResponse as ProxyListConnectionsResponse,
|
|
55
60
|
type ProxyPingResponse as ProxyPingResponse,
|
|
61
|
+
type ProxyUpdateParams as ProxyUpdateParams,
|
|
56
62
|
type ProxyListParams as ProxyListParams,
|
|
57
63
|
type ProxyBuyParams as ProxyBuyParams,
|
|
58
64
|
type ProxyListConnectionsParams as ProxyListConnectionsParams,
|