@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
|
@@ -7,7 +7,7 @@ export declare class TrafficSessions extends APIResource {
|
|
|
7
7
|
* Starts one live-only decoded HTTP/1.1, HTTP/2, HTTP/3 and WebSocket traffic
|
|
8
8
|
* session.
|
|
9
9
|
*/
|
|
10
|
-
create(deviceID: string,
|
|
10
|
+
create(deviceID: string, body: TrafficSessionCreateParams, options?: RequestOptions): APIPromise<TrafficSessionCreateResponse>;
|
|
11
11
|
/**
|
|
12
12
|
* Returns status and the device stream credential for a live session.
|
|
13
13
|
*/
|
|
@@ -144,17 +144,7 @@ export declare namespace TrafficSessionDeleteResponse {
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
export interface TrafficSessionCreateParams {
|
|
147
|
-
/**
|
|
148
|
-
* Header param
|
|
149
|
-
*/
|
|
150
|
-
'Idempotency-Key': string;
|
|
151
|
-
/**
|
|
152
|
-
* Body param
|
|
153
|
-
*/
|
|
154
147
|
expiresInSeconds?: number;
|
|
155
|
-
/**
|
|
156
|
-
* Body param
|
|
157
|
-
*/
|
|
158
148
|
maxBodyBytes?: number;
|
|
159
149
|
}
|
|
160
150
|
export interface TrafficSessionRetrieveParams {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"traffic-sessions.d.mts","sourceRoot":"","sources":["../../src/resources/devices/traffic-sessions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,mCAA+B;
|
|
1
|
+
{"version":3,"file":"traffic-sessions.d.mts","sourceRoot":"","sources":["../../src/resources/devices/traffic-sessions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,g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,CAAC;IAEnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,MAAM,CAAC,EAAE,4BAA4B,CAAC,MAAM,CAAC;CAC9C;AAED,yBAAiB,4BAA4B,CAAC;IAC5C,UAAiB,KAAK;QACpB,IAAI,EAAE,MAAM,CAAC;QAEb,OAAO,EAAE,MAAM,CAAC;KACjB;IAED,UAAiB,MAAM;QACrB,KAAK,EAAE,MAAM,CAAC;QAEd,QAAQ,EAAE,MAAM,CAAC;QAEjB,GAAG,EAAE,MAAM,CAAC;KACb;CACF;AAED,MAAM,WAAW,0BAA0B;IACzC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -7,7 +7,7 @@ export declare class TrafficSessions extends APIResource {
|
|
|
7
7
|
* Starts one live-only decoded HTTP/1.1, HTTP/2, HTTP/3 and WebSocket traffic
|
|
8
8
|
* session.
|
|
9
9
|
*/
|
|
10
|
-
create(deviceID: string,
|
|
10
|
+
create(deviceID: string, body: TrafficSessionCreateParams, options?: RequestOptions): APIPromise<TrafficSessionCreateResponse>;
|
|
11
11
|
/**
|
|
12
12
|
* Returns status and the device stream credential for a live session.
|
|
13
13
|
*/
|
|
@@ -144,17 +144,7 @@ export declare namespace TrafficSessionDeleteResponse {
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
export interface TrafficSessionCreateParams {
|
|
147
|
-
/**
|
|
148
|
-
* Header param
|
|
149
|
-
*/
|
|
150
|
-
'Idempotency-Key': string;
|
|
151
|
-
/**
|
|
152
|
-
* Body param
|
|
153
|
-
*/
|
|
154
147
|
expiresInSeconds?: number;
|
|
155
|
-
/**
|
|
156
|
-
* Body param
|
|
157
|
-
*/
|
|
158
148
|
maxBodyBytes?: number;
|
|
159
149
|
}
|
|
160
150
|
export interface TrafficSessionRetrieveParams {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"traffic-sessions.d.ts","sourceRoot":"","sources":["../../src/resources/devices/traffic-sessions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,kCAA+B;
|
|
1
|
+
{"version":3,"file":"traffic-sessions.d.ts","sourceRoot":"","sources":["../../src/resources/devices/traffic-sessions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;;OAGG;IACH,MAAM,CACJ,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAI3C;;OAEG;IACH,QAAQ,CACN,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,4BAA4B,EAC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BAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -3,20 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.TrafficSessions = void 0;
|
|
5
5
|
const resource_1 = require("../../core/resource.js");
|
|
6
|
-
const headers_1 = require("../../internal/headers.js");
|
|
7
6
|
const path_1 = require("../../internal/utils/path.js");
|
|
8
7
|
class TrafficSessions extends resource_1.APIResource {
|
|
9
8
|
/**
|
|
10
9
|
* Starts one live-only decoded HTTP/1.1, HTTP/2, HTTP/3 and WebSocket traffic
|
|
11
10
|
* session.
|
|
12
11
|
*/
|
|
13
|
-
create(deviceID,
|
|
14
|
-
|
|
15
|
-
return this._client.post((0, path_1.path) `/devices/${deviceID}/traffic/sessions`, {
|
|
16
|
-
body,
|
|
17
|
-
...options,
|
|
18
|
-
headers: (0, headers_1.buildHeaders)([{ 'Idempotency-Key': idempotencyKey }, options?.headers]),
|
|
19
|
-
});
|
|
12
|
+
create(deviceID, body, options) {
|
|
13
|
+
return this._client.post((0, path_1.path) `/devices/${deviceID}/traffic/sessions`, { body, ...options });
|
|
20
14
|
}
|
|
21
15
|
/**
|
|
22
16
|
* Returns status and the device stream credential for a live session.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"traffic-sessions.js","sourceRoot":"","sources":["../../src/resources/devices/traffic-sessions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;
|
|
1
|
+
{"version":3,"file":"traffic-sessions.js","sourceRoot":"","sources":["../../src/resources/devices/traffic-sessions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAiD;AAEjD,MAAa,eAAgB,SAAQ,sBAAW;IAC9C;;;OAGG;IACH,MAAM,CACJ,QAAgB,EAChB,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9F,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,SAAiB,EACjB,MAAoC,EACpC,OAAwB;QAExB,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,qBAAqB,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7F,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAAgB,EAChB,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,mBAAmB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9F,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,SAAiB,EACjB,MAAkC,EAClC,OAAwB;QAExB,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,qBAAqB,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IAChG,CAAC;CACF;AA/CD,0CA+CC"}
|
|
@@ -1,19 +1,13 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
-
import { buildHeaders } from "../../internal/headers.mjs";
|
|
4
3
|
import { path } from "../../internal/utils/path.mjs";
|
|
5
4
|
export class TrafficSessions extends APIResource {
|
|
6
5
|
/**
|
|
7
6
|
* Starts one live-only decoded HTTP/1.1, HTTP/2, HTTP/3 and WebSocket traffic
|
|
8
7
|
* session.
|
|
9
8
|
*/
|
|
10
|
-
create(deviceID,
|
|
11
|
-
|
|
12
|
-
return this._client.post(path `/devices/${deviceID}/traffic/sessions`, {
|
|
13
|
-
body,
|
|
14
|
-
...options,
|
|
15
|
-
headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey }, options?.headers]),
|
|
16
|
-
});
|
|
9
|
+
create(deviceID, body, options) {
|
|
10
|
+
return this._client.post(path `/devices/${deviceID}/traffic/sessions`, { body, ...options });
|
|
17
11
|
}
|
|
18
12
|
/**
|
|
19
13
|
* Returns status and the device stream credential for a live session.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"traffic-sessions.mjs","sourceRoot":"","sources":["../../src/resources/devices/traffic-sessions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;
|
|
1
|
+
{"version":3,"file":"traffic-sessions.mjs","sourceRoot":"","sources":["../../src/resources/devices/traffic-sessions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,eAAgB,SAAQ,WAAW;IAC9C;;;OAGG;IACH,MAAM,CACJ,QAAgB,EAChB,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,YAAY,QAAQ,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9F,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,SAAiB,EACjB,MAAoC,EACpC,OAAwB;QAExB,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,QAAQ,qBAAqB,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7F,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAAgB,EAChB,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,QAAQ,mBAAmB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9F,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,SAAiB,EACjB,MAAkC,EAClC,OAAwB;QAExB,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,YAAY,QAAQ,qBAAqB,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IAChG,CAAC;CACF"}
|
package/resources/files.d.mts
CHANGED
|
@@ -16,9 +16,9 @@ export declare class Files extends APIResource {
|
|
|
16
16
|
*/
|
|
17
17
|
delete(fileID: string, options?: RequestOptions): APIPromise<FileDeleteResponse>;
|
|
18
18
|
/**
|
|
19
|
-
* Soft-cancels an in-flight upload before confirm. Only acts on `pending`
|
|
20
|
-
* refuses to touch `ready`
|
|
21
|
-
* `{ cancelled: false }` if the
|
|
19
|
+
* Soft-cancels an in-flight upload before confirm. Only acts on `pending` uploads
|
|
20
|
+
* — refuses to touch `ready` files, so confirmed files are never removed.
|
|
21
|
+
* Idempotent: `{ cancelled: false }` if the file exists but is no longer pending.
|
|
22
22
|
*/
|
|
23
23
|
cancelPending(fileID: string, options?: RequestOptions): APIPromise<FileCancelPendingResponse>;
|
|
24
24
|
/**
|
|
@@ -33,7 +33,7 @@ export declare class Files extends APIResource {
|
|
|
33
33
|
/**
|
|
34
34
|
* Mint a presigned PUT URL for a user file upload
|
|
35
35
|
*/
|
|
36
|
-
uploadURL(
|
|
36
|
+
uploadURL(body: FileUploadURLParams, options?: RequestOptions): APIPromise<FileUploadURLResponse>;
|
|
37
37
|
}
|
|
38
38
|
export interface FileUpdateResponse {
|
|
39
39
|
createdAt: string;
|
|
@@ -111,8 +111,10 @@ export declare namespace FileListResponse {
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
interface Quota {
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
includedBytes: number | null;
|
|
115
|
+
maxBytes: number | null;
|
|
116
|
+
overageAllowed: boolean;
|
|
117
|
+
usedBytes: number;
|
|
116
118
|
}
|
|
117
119
|
}
|
|
118
120
|
export interface FileDeleteResponse {
|
|
@@ -171,26 +173,10 @@ export interface FileListParams {
|
|
|
171
173
|
zone?: 'user' | 'agent' | 'workflow' | 'skills';
|
|
172
174
|
}
|
|
173
175
|
export interface FileUploadURLParams {
|
|
174
|
-
/**
|
|
175
|
-
* Body param
|
|
176
|
-
*/
|
|
177
176
|
filename: string;
|
|
178
|
-
/**
|
|
179
|
-
* Body param
|
|
180
|
-
*/
|
|
181
177
|
mimeType: string;
|
|
182
|
-
/**
|
|
183
|
-
* Body param
|
|
184
|
-
*/
|
|
185
178
|
sizeBytes: number;
|
|
186
|
-
/**
|
|
187
|
-
* Body param
|
|
188
|
-
*/
|
|
189
179
|
zone?: 'user' | 'skills';
|
|
190
|
-
/**
|
|
191
|
-
* Header param
|
|
192
|
-
*/
|
|
193
|
-
'Idempotency-Key'?: string;
|
|
194
180
|
}
|
|
195
181
|
export declare namespace Files {
|
|
196
182
|
export { type FileUpdateResponse as FileUpdateResponse, type FileListResponse as FileListResponse, type FileDeleteResponse as FileDeleteResponse, type FileCancelPendingResponse as FileCancelPendingResponse, type FileConfirmResponse as FileConfirmResponse, type FileUploadURLResponse as FileUploadURLResponse, type FileUpdateParams as FileUpdateParams, type FileListParams as FileListParams, type FileUploadURLParams as FileUploadURLParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.d.mts","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AAEjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;OAGG;IACH,MAAM,CACJ,MAAM,EAAE,MAAM,EACd,IAAI,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAIjC;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC;IAI/B;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAIhF;;;;OAIG;IACH,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;IAI9F;;OAEG;IACH,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAIlF;;;OAGG;IACH,QAAQ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QAEjB,OAAO,EAAE,CAAC,CAAC;KACZ;CACF;AAED,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,MAAM,CAAC;IAElB,MAAM,EAAE,MAAM,CAAC;IAEf,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAC;CACjD;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,MAAM,CAAC;IAEjB,QAAQ,EAAE,MAAM,CAAC;IAEjB,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
package/resources/files.d.ts
CHANGED
|
@@ -16,9 +16,9 @@ export declare class Files extends APIResource {
|
|
|
16
16
|
*/
|
|
17
17
|
delete(fileID: string, options?: RequestOptions): APIPromise<FileDeleteResponse>;
|
|
18
18
|
/**
|
|
19
|
-
* Soft-cancels an in-flight upload before confirm. Only acts on `pending`
|
|
20
|
-
* refuses to touch `ready`
|
|
21
|
-
* `{ cancelled: false }` if the
|
|
19
|
+
* Soft-cancels an in-flight upload before confirm. Only acts on `pending` uploads
|
|
20
|
+
* — refuses to touch `ready` files, so confirmed files are never removed.
|
|
21
|
+
* Idempotent: `{ cancelled: false }` if the file exists but is no longer pending.
|
|
22
22
|
*/
|
|
23
23
|
cancelPending(fileID: string, options?: RequestOptions): APIPromise<FileCancelPendingResponse>;
|
|
24
24
|
/**
|
|
@@ -33,7 +33,7 @@ export declare class Files extends APIResource {
|
|
|
33
33
|
/**
|
|
34
34
|
* Mint a presigned PUT URL for a user file upload
|
|
35
35
|
*/
|
|
36
|
-
uploadURL(
|
|
36
|
+
uploadURL(body: FileUploadURLParams, options?: RequestOptions): APIPromise<FileUploadURLResponse>;
|
|
37
37
|
}
|
|
38
38
|
export interface FileUpdateResponse {
|
|
39
39
|
createdAt: string;
|
|
@@ -111,8 +111,10 @@ export declare namespace FileListResponse {
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
interface Quota {
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
includedBytes: number | null;
|
|
115
|
+
maxBytes: number | null;
|
|
116
|
+
overageAllowed: boolean;
|
|
117
|
+
usedBytes: number;
|
|
116
118
|
}
|
|
117
119
|
}
|
|
118
120
|
export interface FileDeleteResponse {
|
|
@@ -171,26 +173,10 @@ export interface FileListParams {
|
|
|
171
173
|
zone?: 'user' | 'agent' | 'workflow' | 'skills';
|
|
172
174
|
}
|
|
173
175
|
export interface FileUploadURLParams {
|
|
174
|
-
/**
|
|
175
|
-
* Body param
|
|
176
|
-
*/
|
|
177
176
|
filename: string;
|
|
178
|
-
/**
|
|
179
|
-
* Body param
|
|
180
|
-
*/
|
|
181
177
|
mimeType: string;
|
|
182
|
-
/**
|
|
183
|
-
* Body param
|
|
184
|
-
*/
|
|
185
178
|
sizeBytes: number;
|
|
186
|
-
/**
|
|
187
|
-
* Body param
|
|
188
|
-
*/
|
|
189
179
|
zone?: 'user' | 'skills';
|
|
190
|
-
/**
|
|
191
|
-
* Header param
|
|
192
|
-
*/
|
|
193
|
-
'Idempotency-Key'?: string;
|
|
194
180
|
}
|
|
195
181
|
export declare namespace Files {
|
|
196
182
|
export { type FileUpdateResponse as FileUpdateResponse, type FileListResponse as FileListResponse, type FileDeleteResponse as FileDeleteResponse, type FileCancelPendingResponse as FileCancelPendingResponse, type FileConfirmResponse as FileConfirmResponse, type FileUploadURLResponse as FileUploadURLResponse, type FileUpdateParams as FileUpdateParams, type FileListParams as FileListParams, type FileUploadURLParams as FileUploadURLParams, };
|
package/resources/files.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AAEjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;OAGG;IACH,MAAM,CACJ,MAAM,EAAE,MAAM,EACd,IAAI,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAIjC;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC;IAI/B;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAIhF;;;;OAIG;IACH,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;IAI9F;;OAEG;IACH,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAIlF;;;OAGG;IACH,QAAQ,CAAC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OAAO,EAAE,CAAC,CAAC;KACZ;CACF;AAED,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,MAAM,CAAC;IAElB,MAAM,EAAE,MAAM,CAAC;IAEf,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAC;CACjD;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,MAAM,CAAC;IAEjB,QAAQ,EAAE,MAAM,CAAC;IAEjB,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
package/resources/files.js
CHANGED
|
@@ -26,9 +26,9 @@ class Files extends resource_1.APIResource {
|
|
|
26
26
|
return this._client.delete((0, path_1.path) `/agents/files/${fileID}`, options);
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
|
-
* Soft-cancels an in-flight upload before confirm. Only acts on `pending`
|
|
30
|
-
* refuses to touch `ready`
|
|
31
|
-
* `{ cancelled: false }` if the
|
|
29
|
+
* Soft-cancels an in-flight upload before confirm. Only acts on `pending` uploads
|
|
30
|
+
* — refuses to touch `ready` files, so confirmed files are never removed.
|
|
31
|
+
* Idempotent: `{ cancelled: false }` if the file exists but is no longer pending.
|
|
32
32
|
*/
|
|
33
33
|
cancelPending(fileID, options) {
|
|
34
34
|
return this._client.delete((0, path_1.path) `/agents/files/${fileID}/pending`, options);
|
|
@@ -52,16 +52,8 @@ class Files extends resource_1.APIResource {
|
|
|
52
52
|
/**
|
|
53
53
|
* Mint a presigned PUT URL for a user file upload
|
|
54
54
|
*/
|
|
55
|
-
uploadURL(
|
|
56
|
-
|
|
57
|
-
return this._client.post('/agents/files/upload-url', {
|
|
58
|
-
body,
|
|
59
|
-
...options,
|
|
60
|
-
headers: (0, headers_1.buildHeaders)([
|
|
61
|
-
{ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
|
|
62
|
-
options?.headers,
|
|
63
|
-
]),
|
|
64
|
-
});
|
|
55
|
+
uploadURL(body, options) {
|
|
56
|
+
return this._client.post('/agents/files/upload-url', { body, ...options });
|
|
65
57
|
}
|
|
66
58
|
}
|
|
67
59
|
exports.Files = Files;
|
package/resources/files.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.js","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,oDAAmD;AAEnD,oDAA8C;AAE9C,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;OAGG;IACH,MAAM,CACJ,MAAc,EACd,OAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,iBAAiB,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,eA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C,CAAC;IAC7E,CAAC;CACF;AA/DD,sBA+DC"}
|
package/resources/files.mjs
CHANGED
|
@@ -23,9 +23,9 @@ export class Files extends APIResource {
|
|
|
23
23
|
return this._client.delete(path `/agents/files/${fileID}`, options);
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
|
-
* Soft-cancels an in-flight upload before confirm. Only acts on `pending`
|
|
27
|
-
* refuses to touch `ready`
|
|
28
|
-
* `{ cancelled: false }` if the
|
|
26
|
+
* Soft-cancels an in-flight upload before confirm. Only acts on `pending` uploads
|
|
27
|
+
* — refuses to touch `ready` files, so confirmed files are never removed.
|
|
28
|
+
* Idempotent: `{ cancelled: false }` if the file exists but is no longer pending.
|
|
29
29
|
*/
|
|
30
30
|
cancelPending(fileID, options) {
|
|
31
31
|
return this._client.delete(path `/agents/files/${fileID}/pending`, options);
|
|
@@ -49,16 +49,8 @@ export class Files extends APIResource {
|
|
|
49
49
|
/**
|
|
50
50
|
* Mint a presigned PUT URL for a user file upload
|
|
51
51
|
*/
|
|
52
|
-
uploadURL(
|
|
53
|
-
|
|
54
|
-
return this._client.post('/agents/files/upload-url', {
|
|
55
|
-
body,
|
|
56
|
-
...options,
|
|
57
|
-
headers: buildHeaders([
|
|
58
|
-
{ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
|
|
59
|
-
options?.headers,
|
|
60
|
-
]),
|
|
61
|
-
});
|
|
52
|
+
uploadURL(body, options) {
|
|
53
|
+
return this._client.post('/agents/files/upload-url', { body, ...options });
|
|
62
54
|
}
|
|
63
55
|
}
|
|
64
56
|
//# sourceMappingURL=files.mjs.map
|
package/resources/files.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.mjs","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EA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B;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,iBAAiB,MAAM,WAAW,EAAE;YAC9D,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,SAAS,CAAC,IAAyB,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF"}
|
package/resources/index.d.mts
CHANGED
|
@@ -1,21 +1,16 @@
|
|
|
1
1
|
export * from "./shared.mjs";
|
|
2
|
-
export { AppEvents, type AppEventRetrieveResponse, type AppEventListResponse, type AppEventListParams, } from "./app-events/app-events.mjs";
|
|
3
2
|
export { Apps, type AppRetrieveResponse, type AppListResponse, type AppDeleteResponse, type AppConfirmUploadResponse, type AppCreateSignedUploadURLResponse, type AppListVersionsResponse, type AppMarkFailedResponse, type AppStorageUsageResponse, type AppListParams, type AppCreateSignedUploadURLParams, } from "./apps.mjs";
|
|
4
3
|
export { Assistant } from "./assistant/assistant.mjs";
|
|
5
|
-
export { Carriers, type CarrierCreateResponse, type CarrierRetrieveResponse, type CarrierUpdateResponse, type CarrierListResponse, type CarrierDeleteResponse, type CarrierLookupResponse, type CarrierCreateParams, type CarrierUpdateParams, type CarrierListParams, type CarrierLookupParams, } from "./carriers.mjs";
|
|
6
4
|
export { Connect } from "./connect/connect.mjs";
|
|
7
5
|
export { Credentials, type CredentialListResponse, type CredentialListParams, } from "./credentials/credentials.mjs";
|
|
8
|
-
export { Devices, type DeviceCreateResponse, type DeviceRetrieveResponse, type DeviceListResponse, type DeviceCountResponse, type DeviceFingerprintResponse, type DeviceRetrieveCapabilitiesResponse, type DeviceSetNameResponse, type DeviceWaitReadyResponse, type DeviceCreateParams, type DeviceListParams, type DeviceFingerprintParams, type DeviceSetNameParams, type DeviceTerminateParams, } from "./devices/devices.mjs";
|
|
6
|
+
export { Devices, type DeviceCreateResponse, type DeviceRetrieveResponse, type DeviceListResponse, type DeviceCountResponse, type DeviceFingerprintResponse, type DeviceRetrieveCapabilitiesResponse, type DeviceSetNameResponse, type DeviceSummaryResponse, type DeviceWaitReadyResponse, type DeviceCreateParams, type DeviceListParams, type DeviceFingerprintParams, type DeviceSetNameParams, type DeviceSummaryParams, type DeviceTerminateParams, } from "./devices/devices.mjs";
|
|
9
7
|
export { Files, type FileUpdateResponse, type FileListResponse, type FileDeleteResponse, type FileCancelPendingResponse, type FileConfirmResponse, type FileUploadURLResponse, type FileUpdateParams, type FileListParams, type FileUploadURLParams, } from "./files.mjs";
|
|
10
|
-
export { Mailboxes, type MailboxCreateResponse, type MailboxRetrieveResponse, type MailboxUpdateResponse, type MailboxListResponse, type MailboxDeleteResponse, type MailboxCapacityResponse, type MailboxOtpResponse, type MailboxRestartResponse, type MailboxUncancelResponse, type MailboxCreateParams, type MailboxUpdateParams, type MailboxListParams, type MailboxOtpParams, type MailboxRestartParams, } from "./mailboxes/mailboxes.mjs";
|
|
11
|
-
export { Messages, type MessageListResponse, type MessageListParams } from "./messages/messages.mjs";
|
|
8
|
+
export { Mailboxes, type MailboxCreateResponse, type MailboxRetrieveResponse, type MailboxUpdateResponse, type MailboxListResponse, type MailboxDeleteResponse, type MailboxCapacityResponse, type MailboxDisconnectResponse, type MailboxOtpResponse, type MailboxRestartResponse, type MailboxUncancelResponse, type MailboxCreateParams, type MailboxUpdateParams, type MailboxListParams, type MailboxOtpParams, type MailboxRestartParams, } from "./mailboxes/mailboxes.mjs";
|
|
9
|
+
export { Messages, type MessageRetrieveResponse, type MessageListResponse, type MessageListParams, } from "./messages/messages.mjs";
|
|
12
10
|
export { Models, type ModelListResponse } from "./models.mjs";
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export { Profiles, type ProfileCreateResponse, type ProfileRetrieveResponse, type ProfileUpdateResponse, type ProfileListResponse, type ProfileDeleteResponse, type ProfileCreateParams, type ProfileUpdateParams, type ProfileListParams, } from "./profiles.mjs";
|
|
16
|
-
export { Proxies, type ProxyCreateResponse, type ProxyRetrieveResponse, type ProxyUpdateResponse, type ProxyListResponse, type ProxyDeleteResponse, type ProxyLookupResponse, type ProxyCreateParams, type ProxyUpdateParams, type ProxyListParams, type ProxyLookupParams, } from "./proxies.mjs";
|
|
17
|
-
export { Store, type StoreCategoriesResponse } from "./store/store.mjs";
|
|
11
|
+
export { Numbers, type NumberCreateResponse, type NumberRetrieveResponse, type NumberUpdateResponse, type NumberListResponse, type NumberDeleteResponse, type NumberCapacityResponse, type NumberCountriesResponse, type NumberCreateParams, type NumberUpdateParams, type NumberListParams, type NumberCapacityParams, } from "./numbers/numbers.mjs";
|
|
12
|
+
export { Proxies, type ProxyCreateResponse, type ProxyRetrieveResponse, type ProxyUpdateResponse, type ProxyListResponse, type ProxyDeleteResponse, type ProxyCreateParams, type ProxyUpdateParams, type ProxyListParams, } from "./proxies.mjs";
|
|
18
13
|
export { Tasks, type TaskRetrieveResponse, type TaskListResponse, type TaskGetStatusResponse, type TaskGetTrajectoryResponse, type TaskRunResponse, type TaskRunStreamedResponse, type TaskSendMessageResponse, type TaskStopResponse, type TaskListParams, type TaskRunParams, type TaskRunStreamedParams, type TaskSendMessageParams, } from "./tasks/tasks.mjs";
|
|
19
|
-
export { Webhooks, type WebhookCreateResponse, type WebhookRetrieveResponse, type WebhookUpdateResponse, type WebhookListResponse, type
|
|
14
|
+
export { Webhooks, type WebhookCreateResponse, type WebhookRetrieveResponse, type WebhookUpdateResponse, type WebhookListResponse, type WebhookRotateSecretResponse, type WebhookTestDeliveryResponse, type WebhookCreateParams, type WebhookUpdateParams, type WebhookListParams, } from "./webhooks/webhooks.mjs";
|
|
20
15
|
export { Workflows } from "./workflows/workflows.mjs";
|
|
21
16
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,6BAAyB;AACzB,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,6BAAyB;AACzB,OAAO,EACL,IAAI,EACJ,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,aAAa,EAClB,KAAK,8BAA8B,GACpC,mBAAe;AAChB,OAAO,EAAE,SAAS,EAAE,kCAA8B;AAClD,OAAO,EAAE,OAAO,EAAE,8BAA0B;AAC5C,OAAO,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,sCAAkC;AACnC,OAAO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,EACvC,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,GAC3B,8BAA0B;AAC3B,OAAO,EACL,KAAK,EACL,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,mBAAmB,GACzB,oBAAgB;AACjB,OAAO,EACL,SAAS,EACT,KAAK,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vB,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB,gCAA4B;AAC7B,OAAO,EAAE,SAAS,EAAE,kCAA8B"}
|
package/resources/index.d.ts
CHANGED
|
@@ -1,21 +1,16 @@
|
|
|
1
1
|
export * from "./shared.js";
|
|
2
|
-
export { AppEvents, type AppEventRetrieveResponse, type AppEventListResponse, type AppEventListParams, } from "./app-events/app-events.js";
|
|
3
2
|
export { Apps, type AppRetrieveResponse, type AppListResponse, type AppDeleteResponse, type AppConfirmUploadResponse, type AppCreateSignedUploadURLResponse, type AppListVersionsResponse, type AppMarkFailedResponse, type AppStorageUsageResponse, type AppListParams, type AppCreateSignedUploadURLParams, } from "./apps.js";
|
|
4
3
|
export { Assistant } from "./assistant/assistant.js";
|
|
5
|
-
export { Carriers, type CarrierCreateResponse, type CarrierRetrieveResponse, type CarrierUpdateResponse, type CarrierListResponse, type CarrierDeleteResponse, type CarrierLookupResponse, type CarrierCreateParams, type CarrierUpdateParams, type CarrierListParams, type CarrierLookupParams, } from "./carriers.js";
|
|
6
4
|
export { Connect } from "./connect/connect.js";
|
|
7
5
|
export { Credentials, type CredentialListResponse, type CredentialListParams, } from "./credentials/credentials.js";
|
|
8
|
-
export { Devices, type DeviceCreateResponse, type DeviceRetrieveResponse, type DeviceListResponse, type DeviceCountResponse, type DeviceFingerprintResponse, type DeviceRetrieveCapabilitiesResponse, type DeviceSetNameResponse, type DeviceWaitReadyResponse, type DeviceCreateParams, type DeviceListParams, type DeviceFingerprintParams, type DeviceSetNameParams, type DeviceTerminateParams, } from "./devices/devices.js";
|
|
6
|
+
export { Devices, type DeviceCreateResponse, type DeviceRetrieveResponse, type DeviceListResponse, type DeviceCountResponse, type DeviceFingerprintResponse, type DeviceRetrieveCapabilitiesResponse, type DeviceSetNameResponse, type DeviceSummaryResponse, type DeviceWaitReadyResponse, type DeviceCreateParams, type DeviceListParams, type DeviceFingerprintParams, type DeviceSetNameParams, type DeviceSummaryParams, type DeviceTerminateParams, } from "./devices/devices.js";
|
|
9
7
|
export { Files, type FileUpdateResponse, type FileListResponse, type FileDeleteResponse, type FileCancelPendingResponse, type FileConfirmResponse, type FileUploadURLResponse, type FileUpdateParams, type FileListParams, type FileUploadURLParams, } from "./files.js";
|
|
10
|
-
export { Mailboxes, type MailboxCreateResponse, type MailboxRetrieveResponse, type MailboxUpdateResponse, type MailboxListResponse, type MailboxDeleteResponse, type MailboxCapacityResponse, type MailboxOtpResponse, type MailboxRestartResponse, type MailboxUncancelResponse, type MailboxCreateParams, type MailboxUpdateParams, type MailboxListParams, type MailboxOtpParams, type MailboxRestartParams, } from "./mailboxes/mailboxes.js";
|
|
11
|
-
export { Messages, type MessageListResponse, type MessageListParams } from "./messages/messages.js";
|
|
8
|
+
export { Mailboxes, type MailboxCreateResponse, type MailboxRetrieveResponse, type MailboxUpdateResponse, type MailboxListResponse, type MailboxDeleteResponse, type MailboxCapacityResponse, type MailboxDisconnectResponse, type MailboxOtpResponse, type MailboxRestartResponse, type MailboxUncancelResponse, type MailboxCreateParams, type MailboxUpdateParams, type MailboxListParams, type MailboxOtpParams, type MailboxRestartParams, } from "./mailboxes/mailboxes.js";
|
|
9
|
+
export { Messages, type MessageRetrieveResponse, type MessageListResponse, type MessageListParams, } from "./messages/messages.js";
|
|
12
10
|
export { Models, type ModelListResponse } from "./models.js";
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export { Profiles, type ProfileCreateResponse, type ProfileRetrieveResponse, type ProfileUpdateResponse, type ProfileListResponse, type ProfileDeleteResponse, type ProfileCreateParams, type ProfileUpdateParams, type ProfileListParams, } from "./profiles.js";
|
|
16
|
-
export { Proxies, type ProxyCreateResponse, type ProxyRetrieveResponse, type ProxyUpdateResponse, type ProxyListResponse, type ProxyDeleteResponse, type ProxyLookupResponse, type ProxyCreateParams, type ProxyUpdateParams, type ProxyListParams, type ProxyLookupParams, } from "./proxies.js";
|
|
17
|
-
export { Store, type StoreCategoriesResponse } from "./store/store.js";
|
|
11
|
+
export { Numbers, type NumberCreateResponse, type NumberRetrieveResponse, type NumberUpdateResponse, type NumberListResponse, type NumberDeleteResponse, type NumberCapacityResponse, type NumberCountriesResponse, type NumberCreateParams, type NumberUpdateParams, type NumberListParams, type NumberCapacityParams, } from "./numbers/numbers.js";
|
|
12
|
+
export { Proxies, type ProxyCreateResponse, type ProxyRetrieveResponse, type ProxyUpdateResponse, type ProxyListResponse, type ProxyDeleteResponse, type ProxyCreateParams, type ProxyUpdateParams, type ProxyListParams, } from "./proxies.js";
|
|
18
13
|
export { Tasks, type TaskRetrieveResponse, type TaskListResponse, type TaskGetStatusResponse, type TaskGetTrajectoryResponse, type TaskRunResponse, type TaskRunStreamedResponse, type TaskSendMessageResponse, type TaskStopResponse, type TaskListParams, type TaskRunParams, type TaskRunStreamedParams, type TaskSendMessageParams, } from "./tasks/tasks.js";
|
|
19
|
-
export { Webhooks, type WebhookCreateResponse, type WebhookRetrieveResponse, type WebhookUpdateResponse, type WebhookListResponse, type
|
|
14
|
+
export { Webhooks, type WebhookCreateResponse, type WebhookRetrieveResponse, type WebhookUpdateResponse, type WebhookListResponse, type WebhookRotateSecretResponse, type WebhookTestDeliveryResponse, type WebhookCreateParams, type WebhookUpdateParams, type WebhookListParams, } from "./webhooks/webhooks.js";
|
|
20
15
|
export { Workflows } from "./workflows/workflows.js";
|
|
21
16
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,4BAAyB;AACzB,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/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ACxB,KAAK,iBAAiB,GACvB,+BAA4B;AAC7B,OAAO,EAAE,SAAS,EAAE,iCAA8B"}
|
package/resources/index.js
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Workflows = exports.Webhooks = exports.Tasks = exports.
|
|
4
|
+
exports.Workflows = exports.Webhooks = exports.Tasks = exports.Proxies = exports.Numbers = exports.Models = exports.Messages = exports.Mailboxes = exports.Files = exports.Devices = exports.Credentials = exports.Connect = exports.Assistant = exports.Apps = void 0;
|
|
5
5
|
const tslib_1 = require("../internal/tslib.js");
|
|
6
6
|
tslib_1.__exportStar(require("./shared.js"), exports);
|
|
7
|
-
var app_events_1 = require("./app-events/app-events.js");
|
|
8
|
-
Object.defineProperty(exports, "AppEvents", { enumerable: true, get: function () { return app_events_1.AppEvents; } });
|
|
9
7
|
var apps_1 = require("./apps.js");
|
|
10
8
|
Object.defineProperty(exports, "Apps", { enumerable: true, get: function () { return apps_1.Apps; } });
|
|
11
9
|
var assistant_1 = require("./assistant/assistant.js");
|
|
12
10
|
Object.defineProperty(exports, "Assistant", { enumerable: true, get: function () { return assistant_1.Assistant; } });
|
|
13
|
-
var carriers_1 = require("./carriers.js");
|
|
14
|
-
Object.defineProperty(exports, "Carriers", { enumerable: true, get: function () { return carriers_1.Carriers; } });
|
|
15
11
|
var connect_1 = require("./connect/connect.js");
|
|
16
12
|
Object.defineProperty(exports, "Connect", { enumerable: true, get: function () { return connect_1.Connect; } });
|
|
17
13
|
var credentials_1 = require("./credentials/credentials.js");
|
|
@@ -26,16 +22,10 @@ var messages_1 = require("./messages/messages.js");
|
|
|
26
22
|
Object.defineProperty(exports, "Messages", { enumerable: true, get: function () { return messages_1.Messages; } });
|
|
27
23
|
var models_1 = require("./models.js");
|
|
28
24
|
Object.defineProperty(exports, "Models", { enumerable: true, get: function () { return models_1.Models; } });
|
|
29
|
-
var notifications_1 = require("./notifications.js");
|
|
30
|
-
Object.defineProperty(exports, "Notifications", { enumerable: true, get: function () { return notifications_1.Notifications; } });
|
|
31
25
|
var numbers_1 = require("./numbers/numbers.js");
|
|
32
26
|
Object.defineProperty(exports, "Numbers", { enumerable: true, get: function () { return numbers_1.Numbers; } });
|
|
33
|
-
var profiles_1 = require("./profiles.js");
|
|
34
|
-
Object.defineProperty(exports, "Profiles", { enumerable: true, get: function () { return profiles_1.Profiles; } });
|
|
35
27
|
var proxies_1 = require("./proxies.js");
|
|
36
28
|
Object.defineProperty(exports, "Proxies", { enumerable: true, get: function () { return proxies_1.Proxies; } });
|
|
37
|
-
var store_1 = require("./store/store.js");
|
|
38
|
-
Object.defineProperty(exports, "Store", { enumerable: true, get: function () { return store_1.Store; } });
|
|
39
29
|
var tasks_1 = require("./tasks/tasks.js");
|
|
40
30
|
Object.defineProperty(exports, "Tasks", { enumerable: true, get: function () { return tasks_1.Tasks; } });
|
|
41
31
|
var webhooks_1 = require("./webhooks/webhooks.js");
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,kCAYgB;AAXd,4FAAA,IAAI,OAAA;AAYN,sDAAkD;AAAzC,sGAAA,SAAS,OAAA;AAClB,gDAA4C;AAAnC,kGAAA,OAAO,OAAA;AAChB,4DAImC;AAHjC,0GAAA,WAAW,OAAA;AAIb,gDAiB2B;AAhBzB,kGAAA,OAAO,OAAA;AAiBT,oCAWiB;AAVf,8FAAA,KAAK,OAAA;AAWP,sDAiB+B;AAhB7B,sGAAA,SAAS,OAAA;AAiBX,mDAK6B;AAJ3B,oGAAA,QAAQ,OAAA;AAKV,sCAA0D;AAAjD,gGAAA,MAAM,OAAA;AACf,gDAa2B;AAZzB,kGAAA,OAAO,OAAA;AAaT,wCAUmB;AATjB,kGAAA,OAAO,OAAA;AAUT,0CAcuB;AAbrB,8FAAA,KAAK,OAAA;AAcP,mDAW6B;AAV3B,oGAAA,QAAQ,OAAA;AAWV,sDAAkD;AAAzC,sGAAA,SAAS,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -1,21 +1,16 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
export * from "./shared.mjs";
|
|
3
|
-
export { AppEvents, } from "./app-events/app-events.mjs";
|
|
4
3
|
export { Apps, } from "./apps.mjs";
|
|
5
4
|
export { Assistant } from "./assistant/assistant.mjs";
|
|
6
|
-
export { Carriers, } from "./carriers.mjs";
|
|
7
5
|
export { Connect } from "./connect/connect.mjs";
|
|
8
6
|
export { Credentials, } from "./credentials/credentials.mjs";
|
|
9
7
|
export { Devices, } from "./devices/devices.mjs";
|
|
10
8
|
export { Files, } from "./files.mjs";
|
|
11
9
|
export { Mailboxes, } from "./mailboxes/mailboxes.mjs";
|
|
12
|
-
export { Messages } from "./messages/messages.mjs";
|
|
10
|
+
export { Messages, } from "./messages/messages.mjs";
|
|
13
11
|
export { Models } from "./models.mjs";
|
|
14
|
-
export { Notifications, } from "./notifications.mjs";
|
|
15
12
|
export { Numbers, } from "./numbers/numbers.mjs";
|
|
16
|
-
export { Profiles, } from "./profiles.mjs";
|
|
17
13
|
export { Proxies, } from "./proxies.mjs";
|
|
18
|
-
export { Store } from "./store/store.mjs";
|
|
19
14
|
export { Tasks, } from "./tasks/tasks.mjs";
|
|
20
15
|
export { Webhooks, } from "./webhooks/webhooks.mjs";
|
|
21
16
|
export { Workflows } from "./workflows/workflows.mjs";
|