@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
package/resources/carriers.d.ts
DELETED
|
@@ -1,331 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../core/resource.js";
|
|
2
|
-
import * as Shared from "./shared.js";
|
|
3
|
-
import { APIPromise } from "../core/api-promise.js";
|
|
4
|
-
import { RequestOptions } from "../internal/request-options.js";
|
|
5
|
-
export declare class Carriers extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* Create a new carrier
|
|
8
|
-
*/
|
|
9
|
-
create(body: CarrierCreateParams, options?: RequestOptions): APIPromise<CarrierCreateResponse>;
|
|
10
|
-
/**
|
|
11
|
-
* Get carrier by ID
|
|
12
|
-
*/
|
|
13
|
-
retrieve(carrierID: number, options?: RequestOptions): APIPromise<CarrierRetrieveResponse>;
|
|
14
|
-
/**
|
|
15
|
-
* Update a carrier
|
|
16
|
-
*/
|
|
17
|
-
update(carrierID: number, body: CarrierUpdateParams, options?: RequestOptions): APIPromise<CarrierUpdateResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* List carriers with pagination
|
|
20
|
-
*/
|
|
21
|
-
list(query?: CarrierListParams | null | undefined, options?: RequestOptions): APIPromise<CarrierListResponse>;
|
|
22
|
-
/**
|
|
23
|
-
* Delete a carrier
|
|
24
|
-
*/
|
|
25
|
-
delete(carrierID: number, options?: RequestOptions): APIPromise<CarrierDeleteResponse>;
|
|
26
|
-
/**
|
|
27
|
-
* Get carrier by MCC and MNC
|
|
28
|
-
*/
|
|
29
|
-
lookup(query: CarrierLookupParams, options?: RequestOptions): APIPromise<CarrierLookupResponse>;
|
|
30
|
-
}
|
|
31
|
-
export interface CarrierCreateResponse {
|
|
32
|
-
id: number;
|
|
33
|
-
company: string;
|
|
34
|
-
country: string;
|
|
35
|
-
country_code: string;
|
|
36
|
-
country_iso: string;
|
|
37
|
-
created_at: string;
|
|
38
|
-
detail_url: string;
|
|
39
|
-
gsm_bands: string;
|
|
40
|
-
lte_bands: string;
|
|
41
|
-
mcc: string;
|
|
42
|
-
mnc: string;
|
|
43
|
-
mobile_prefix: string;
|
|
44
|
-
nsn_size: string;
|
|
45
|
-
number_format: string;
|
|
46
|
-
operator: string;
|
|
47
|
-
protocols: string;
|
|
48
|
-
umts_bands: string;
|
|
49
|
-
website: string;
|
|
50
|
-
/**
|
|
51
|
-
* A URL to the JSON Schema for this object.
|
|
52
|
-
*/
|
|
53
|
-
$schema?: string;
|
|
54
|
-
}
|
|
55
|
-
export interface CarrierRetrieveResponse {
|
|
56
|
-
id: number;
|
|
57
|
-
company: string;
|
|
58
|
-
country: string;
|
|
59
|
-
country_code: string;
|
|
60
|
-
country_iso: string;
|
|
61
|
-
created_at: string;
|
|
62
|
-
detail_url: string;
|
|
63
|
-
gsm_bands: string;
|
|
64
|
-
lte_bands: string;
|
|
65
|
-
mcc: string;
|
|
66
|
-
mnc: string;
|
|
67
|
-
mobile_prefix: string;
|
|
68
|
-
nsn_size: string;
|
|
69
|
-
number_format: string;
|
|
70
|
-
operator: string;
|
|
71
|
-
protocols: string;
|
|
72
|
-
umts_bands: string;
|
|
73
|
-
website: string;
|
|
74
|
-
/**
|
|
75
|
-
* A URL to the JSON Schema for this object.
|
|
76
|
-
*/
|
|
77
|
-
$schema?: string;
|
|
78
|
-
}
|
|
79
|
-
export interface CarrierUpdateResponse {
|
|
80
|
-
id: number;
|
|
81
|
-
company: string;
|
|
82
|
-
country: string;
|
|
83
|
-
country_code: string;
|
|
84
|
-
country_iso: string;
|
|
85
|
-
created_at: string;
|
|
86
|
-
detail_url: string;
|
|
87
|
-
gsm_bands: string;
|
|
88
|
-
lte_bands: string;
|
|
89
|
-
mcc: string;
|
|
90
|
-
mnc: string;
|
|
91
|
-
mobile_prefix: string;
|
|
92
|
-
nsn_size: string;
|
|
93
|
-
number_format: string;
|
|
94
|
-
operator: string;
|
|
95
|
-
protocols: string;
|
|
96
|
-
umts_bands: string;
|
|
97
|
-
website: string;
|
|
98
|
-
/**
|
|
99
|
-
* A URL to the JSON Schema for this object.
|
|
100
|
-
*/
|
|
101
|
-
$schema?: string;
|
|
102
|
-
}
|
|
103
|
-
export interface CarrierListResponse {
|
|
104
|
-
items: Array<CarrierListResponse.Item> | null;
|
|
105
|
-
pagination: Shared.Meta;
|
|
106
|
-
/**
|
|
107
|
-
* A URL to the JSON Schema for this object.
|
|
108
|
-
*/
|
|
109
|
-
$schema?: string;
|
|
110
|
-
}
|
|
111
|
-
export declare namespace CarrierListResponse {
|
|
112
|
-
interface Item {
|
|
113
|
-
id: number;
|
|
114
|
-
company: string;
|
|
115
|
-
country: string;
|
|
116
|
-
country_code: string;
|
|
117
|
-
country_iso: string;
|
|
118
|
-
created_at: string;
|
|
119
|
-
detail_url: string;
|
|
120
|
-
gsm_bands: string;
|
|
121
|
-
lte_bands: string;
|
|
122
|
-
mcc: string;
|
|
123
|
-
mnc: string;
|
|
124
|
-
mobile_prefix: string;
|
|
125
|
-
nsn_size: string;
|
|
126
|
-
number_format: string;
|
|
127
|
-
operator: string;
|
|
128
|
-
protocols: string;
|
|
129
|
-
umts_bands: string;
|
|
130
|
-
website: string;
|
|
131
|
-
/**
|
|
132
|
-
* A URL to the JSON Schema for this object.
|
|
133
|
-
*/
|
|
134
|
-
$schema?: string;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
export interface CarrierDeleteResponse {
|
|
138
|
-
message: string;
|
|
139
|
-
/**
|
|
140
|
-
* A URL to the JSON Schema for this object.
|
|
141
|
-
*/
|
|
142
|
-
$schema?: string;
|
|
143
|
-
}
|
|
144
|
-
export interface CarrierLookupResponse {
|
|
145
|
-
id: number;
|
|
146
|
-
company: string;
|
|
147
|
-
country: string;
|
|
148
|
-
country_code: string;
|
|
149
|
-
country_iso: string;
|
|
150
|
-
created_at: string;
|
|
151
|
-
detail_url: string;
|
|
152
|
-
gsm_bands: string;
|
|
153
|
-
lte_bands: string;
|
|
154
|
-
mcc: string;
|
|
155
|
-
mnc: string;
|
|
156
|
-
mobile_prefix: string;
|
|
157
|
-
nsn_size: string;
|
|
158
|
-
number_format: string;
|
|
159
|
-
operator: string;
|
|
160
|
-
protocols: string;
|
|
161
|
-
umts_bands: string;
|
|
162
|
-
website: string;
|
|
163
|
-
/**
|
|
164
|
-
* A URL to the JSON Schema for this object.
|
|
165
|
-
*/
|
|
166
|
-
$schema?: string;
|
|
167
|
-
}
|
|
168
|
-
export interface CarrierCreateParams {
|
|
169
|
-
/**
|
|
170
|
-
* Country name
|
|
171
|
-
*/
|
|
172
|
-
country: string;
|
|
173
|
-
/**
|
|
174
|
-
* Mobile Country Code
|
|
175
|
-
*/
|
|
176
|
-
mcc: string;
|
|
177
|
-
/**
|
|
178
|
-
* Mobile Network Code
|
|
179
|
-
*/
|
|
180
|
-
mnc: string;
|
|
181
|
-
/**
|
|
182
|
-
* Operator name
|
|
183
|
-
*/
|
|
184
|
-
operator: string;
|
|
185
|
-
/**
|
|
186
|
-
* Company name
|
|
187
|
-
*/
|
|
188
|
-
company?: string;
|
|
189
|
-
/**
|
|
190
|
-
* Country dialing code (e.g., +1)
|
|
191
|
-
*/
|
|
192
|
-
country_code?: string;
|
|
193
|
-
/**
|
|
194
|
-
* ISO country code
|
|
195
|
-
*/
|
|
196
|
-
country_iso?: string;
|
|
197
|
-
/**
|
|
198
|
-
* URL to carrier details page
|
|
199
|
-
*/
|
|
200
|
-
detail_url?: string;
|
|
201
|
-
/**
|
|
202
|
-
* Supported GSM bands
|
|
203
|
-
*/
|
|
204
|
-
gsm_bands?: string;
|
|
205
|
-
/**
|
|
206
|
-
* Supported LTE bands
|
|
207
|
-
*/
|
|
208
|
-
lte_bands?: string;
|
|
209
|
-
/**
|
|
210
|
-
* Mobile number prefix
|
|
211
|
-
*/
|
|
212
|
-
mobile_prefix?: string;
|
|
213
|
-
/**
|
|
214
|
-
* National Significant Number size
|
|
215
|
-
*/
|
|
216
|
-
nsn_size?: string;
|
|
217
|
-
/**
|
|
218
|
-
* Phone number format
|
|
219
|
-
*/
|
|
220
|
-
number_format?: string;
|
|
221
|
-
/**
|
|
222
|
-
* Supported protocols (comma-separated)
|
|
223
|
-
*/
|
|
224
|
-
protocols?: string;
|
|
225
|
-
/**
|
|
226
|
-
* Supported UMTS bands
|
|
227
|
-
*/
|
|
228
|
-
umts_bands?: string;
|
|
229
|
-
/**
|
|
230
|
-
* Company website
|
|
231
|
-
*/
|
|
232
|
-
website?: string;
|
|
233
|
-
}
|
|
234
|
-
export interface CarrierUpdateParams {
|
|
235
|
-
/**
|
|
236
|
-
* Company name
|
|
237
|
-
*/
|
|
238
|
-
company?: string;
|
|
239
|
-
/**
|
|
240
|
-
* Country name
|
|
241
|
-
*/
|
|
242
|
-
country?: string;
|
|
243
|
-
/**
|
|
244
|
-
* Country dialing code
|
|
245
|
-
*/
|
|
246
|
-
country_code?: string;
|
|
247
|
-
/**
|
|
248
|
-
* ISO country code
|
|
249
|
-
*/
|
|
250
|
-
country_iso?: string;
|
|
251
|
-
/**
|
|
252
|
-
* URL to carrier details
|
|
253
|
-
*/
|
|
254
|
-
detail_url?: string;
|
|
255
|
-
/**
|
|
256
|
-
* Supported GSM bands
|
|
257
|
-
*/
|
|
258
|
-
gsm_bands?: string;
|
|
259
|
-
/**
|
|
260
|
-
* Supported LTE bands
|
|
261
|
-
*/
|
|
262
|
-
lte_bands?: string;
|
|
263
|
-
/**
|
|
264
|
-
* Mobile number prefix
|
|
265
|
-
*/
|
|
266
|
-
mobile_prefix?: string;
|
|
267
|
-
/**
|
|
268
|
-
* NSN size
|
|
269
|
-
*/
|
|
270
|
-
nsn_size?: string;
|
|
271
|
-
/**
|
|
272
|
-
* Phone number format
|
|
273
|
-
*/
|
|
274
|
-
number_format?: string;
|
|
275
|
-
/**
|
|
276
|
-
* Operator name
|
|
277
|
-
*/
|
|
278
|
-
operator?: string;
|
|
279
|
-
/**
|
|
280
|
-
* Supported protocols
|
|
281
|
-
*/
|
|
282
|
-
protocols?: string;
|
|
283
|
-
/**
|
|
284
|
-
* Supported UMTS bands
|
|
285
|
-
*/
|
|
286
|
-
umts_bands?: string;
|
|
287
|
-
/**
|
|
288
|
-
* Company website
|
|
289
|
-
*/
|
|
290
|
-
website?: string;
|
|
291
|
-
}
|
|
292
|
-
export interface CarrierListParams {
|
|
293
|
-
/**
|
|
294
|
-
* Filter by country name
|
|
295
|
-
*/
|
|
296
|
-
country?: string;
|
|
297
|
-
/**
|
|
298
|
-
* Filter by country ISO code
|
|
299
|
-
*/
|
|
300
|
-
countryISO?: string;
|
|
301
|
-
/**
|
|
302
|
-
* Field to order by
|
|
303
|
-
*/
|
|
304
|
-
orderBy?: 'id' | 'mcc' | 'mnc' | 'operator' | 'country' | 'country_iso';
|
|
305
|
-
/**
|
|
306
|
-
* Order direction
|
|
307
|
-
*/
|
|
308
|
-
orderDir?: 'asc' | 'desc';
|
|
309
|
-
/**
|
|
310
|
-
* Page number
|
|
311
|
-
*/
|
|
312
|
-
page?: number;
|
|
313
|
-
/**
|
|
314
|
-
* Items per page
|
|
315
|
-
*/
|
|
316
|
-
pageSize?: number;
|
|
317
|
-
}
|
|
318
|
-
export interface CarrierLookupParams {
|
|
319
|
-
/**
|
|
320
|
-
* Mobile Country Code
|
|
321
|
-
*/
|
|
322
|
-
mcc: string;
|
|
323
|
-
/**
|
|
324
|
-
* Mobile Network Code
|
|
325
|
-
*/
|
|
326
|
-
mnc: string;
|
|
327
|
-
}
|
|
328
|
-
export declare namespace Carriers {
|
|
329
|
-
export { type CarrierCreateResponse as CarrierCreateResponse, type CarrierRetrieveResponse as CarrierRetrieveResponse, type CarrierUpdateResponse as CarrierUpdateResponse, type CarrierListResponse as CarrierListResponse, type CarrierDeleteResponse as CarrierDeleteResponse, type CarrierLookupResponse as CarrierLookupResponse, type CarrierCreateParams as CarrierCreateParams, type CarrierUpdateParams as CarrierUpdateParams, type CarrierListParams as CarrierListParams, type CarrierLookupParams as CarrierLookupParams, };
|
|
330
|
-
}
|
|
331
|
-
//# sourceMappingURL=carriers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"carriers.d.ts","sourceRoot":"","sources":["../src/resources/carriers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,MAAM,oBAAiB;AACnC,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI9F;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAI1F;;OAEG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,mBAAmB,EACzB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;IAIpC;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAIlC;;OAEG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAItF;;OAEG;IACH,MAAM,CAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;CAGhG;AAED,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IAEX,OAAO,EAAE,MAAM,CAAC;IAEhB,OAAO,EAAE,MAAM,C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ClB;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,GAAG,KAAK,GAAG,KAAK,GAAG,UAAU,GAAG,SAAS,GAAG,aAAa,CAAC;IAExE;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAE1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
package/resources/carriers.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Carriers = void 0;
|
|
5
|
-
const resource_1 = require("../core/resource.js");
|
|
6
|
-
const path_1 = require("../internal/utils/path.js");
|
|
7
|
-
class Carriers extends resource_1.APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Create a new carrier
|
|
10
|
-
*/
|
|
11
|
-
create(body, options) {
|
|
12
|
-
return this._client.post('/carriers', { body, ...options });
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Get carrier by ID
|
|
16
|
-
*/
|
|
17
|
-
retrieve(carrierID, options) {
|
|
18
|
-
return this._client.get((0, path_1.path) `/carriers/${carrierID}`, options);
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Update a carrier
|
|
22
|
-
*/
|
|
23
|
-
update(carrierID, body, options) {
|
|
24
|
-
return this._client.patch((0, path_1.path) `/carriers/${carrierID}`, { body, ...options });
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* List carriers with pagination
|
|
28
|
-
*/
|
|
29
|
-
list(query = {}, options) {
|
|
30
|
-
return this._client.get('/carriers', { query, ...options });
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Delete a carrier
|
|
34
|
-
*/
|
|
35
|
-
delete(carrierID, options) {
|
|
36
|
-
return this._client.delete((0, path_1.path) `/carriers/${carrierID}`, options);
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Get carrier by MCC and MNC
|
|
40
|
-
*/
|
|
41
|
-
lookup(query, options) {
|
|
42
|
-
return this._client.get('/carriers/lookup', { query, ...options });
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
exports.Carriers = Carriers;
|
|
46
|
-
//# sourceMappingURL=carriers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"carriers.js","sourceRoot":"","sources":["../src/resources/carriers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,oDAA8C;AAE9C,MAAa,QAAS,SAAQ,sBAAW;IACvC;;OAEG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,SAAiB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,SAAiB,EACjB,IAAyB,EACzB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,aAAa,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,SAAiB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,aAAa,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,KAA0B,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;CACF;AAjDD,4BAiDC"}
|
package/resources/carriers.mjs
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../core/resource.mjs";
|
|
3
|
-
import { path } from "../internal/utils/path.mjs";
|
|
4
|
-
export class Carriers extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Create a new carrier
|
|
7
|
-
*/
|
|
8
|
-
create(body, options) {
|
|
9
|
-
return this._client.post('/carriers', { body, ...options });
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Get carrier by ID
|
|
13
|
-
*/
|
|
14
|
-
retrieve(carrierID, options) {
|
|
15
|
-
return this._client.get(path `/carriers/${carrierID}`, options);
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Update a carrier
|
|
19
|
-
*/
|
|
20
|
-
update(carrierID, body, options) {
|
|
21
|
-
return this._client.patch(path `/carriers/${carrierID}`, { body, ...options });
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* List carriers with pagination
|
|
25
|
-
*/
|
|
26
|
-
list(query = {}, options) {
|
|
27
|
-
return this._client.get('/carriers', { query, ...options });
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Delete a carrier
|
|
31
|
-
*/
|
|
32
|
-
delete(carrierID, options) {
|
|
33
|
-
return this._client.delete(path `/carriers/${carrierID}`, options);
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Get carrier by MCC and MNC
|
|
37
|
-
*/
|
|
38
|
-
lookup(query, options) {
|
|
39
|
-
return this._client.get('/carriers/lookup', { query, ...options });
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
//# sourceMappingURL=carriers.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"carriers.mjs","sourceRoot":"","sources":["../src/resources/carriers.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,SAAiB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,SAAiB,EACjB,IAAyB,EACzB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,aAAa,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,SAAiB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,aAAa,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,KAA0B,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;CACF"}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../core/resource.mjs";
|
|
2
|
-
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
-
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
-
export declare class Notifications extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Returns the catalog of notifiable event types grouped by source category. Each
|
|
7
|
-
* event lists its type identifier, label, and description, which can be referenced
|
|
8
|
-
* when muting event types in notification preferences.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```ts
|
|
12
|
-
* const response = await client.notifications.catalog();
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
catalog(options?: RequestOptions): APIPromise<NotificationCatalogResponse>;
|
|
16
|
-
/**
|
|
17
|
-
* Returns your current notification preferences, expressed as the list of event
|
|
18
|
-
* types you have muted. An empty list means notifications are enabled for all
|
|
19
|
-
* notifiable event types.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```ts
|
|
23
|
-
* const response =
|
|
24
|
-
* await client.notifications.getPreferences();
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
getPreferences(options?: RequestOptions): APIPromise<NotificationGetPreferencesResponse>;
|
|
28
|
-
/**
|
|
29
|
-
* Replaces your set of muted event types with the supplied list. Any unknown or
|
|
30
|
-
* non-notifiable types are dropped, and the response returns the muted types that
|
|
31
|
-
* were actually stored.
|
|
32
|
-
*
|
|
33
|
-
* @example
|
|
34
|
-
* ```ts
|
|
35
|
-
* const response =
|
|
36
|
-
* await client.notifications.updatePreferences({
|
|
37
|
-
* mutedTypes: [
|
|
38
|
-
* 'workflow.run.running',
|
|
39
|
-
* 'task.run.running',
|
|
40
|
-
* ],
|
|
41
|
-
* });
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
updatePreferences(body: NotificationUpdatePreferencesParams, options?: RequestOptions): APIPromise<NotificationUpdatePreferencesResponse>;
|
|
45
|
-
}
|
|
46
|
-
export interface NotificationCatalogResponse {
|
|
47
|
-
data: Array<NotificationCatalogResponse.Data>;
|
|
48
|
-
}
|
|
49
|
-
export declare namespace NotificationCatalogResponse {
|
|
50
|
-
interface Data {
|
|
51
|
-
events: Array<Data.Event>;
|
|
52
|
-
label: string;
|
|
53
|
-
source: string;
|
|
54
|
-
}
|
|
55
|
-
namespace Data {
|
|
56
|
-
interface Event {
|
|
57
|
-
description: string;
|
|
58
|
-
label: string;
|
|
59
|
-
type: string;
|
|
60
|
-
toast?: boolean;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
export interface NotificationGetPreferencesResponse {
|
|
65
|
-
data: NotificationGetPreferencesResponse.Data;
|
|
66
|
-
}
|
|
67
|
-
export declare namespace NotificationGetPreferencesResponse {
|
|
68
|
-
interface Data {
|
|
69
|
-
mutedTypes: Array<string>;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
export interface NotificationUpdatePreferencesResponse {
|
|
73
|
-
data: NotificationUpdatePreferencesResponse.Data;
|
|
74
|
-
}
|
|
75
|
-
export declare namespace NotificationUpdatePreferencesResponse {
|
|
76
|
-
interface Data {
|
|
77
|
-
mutedTypes: Array<string>;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
export interface NotificationUpdatePreferencesParams {
|
|
81
|
-
mutedTypes: Array<string>;
|
|
82
|
-
}
|
|
83
|
-
export declare namespace Notifications {
|
|
84
|
-
export { type NotificationCatalogResponse as NotificationCatalogResponse, type NotificationGetPreferencesResponse as NotificationGetPreferencesResponse, type NotificationUpdatePreferencesResponse as NotificationUpdatePreferencesResponse, type NotificationUpdatePreferencesParams as NotificationUpdatePreferencesParams, };
|
|
85
|
-
}
|
|
86
|
-
//# sourceMappingURL=notifications.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.d.mts","sourceRoot":"","sources":["../src/resources/notifications.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;OASG;IACH,OAAO,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;IAI1E;;;;;;;;;;OAUG;IACH,cAAc,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kCAAkC,CAAC;IAIxF;;;;;;;;;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;CACH"}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../core/resource.js";
|
|
2
|
-
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
-
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
-
export declare class Notifications extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Returns the catalog of notifiable event types grouped by source category. Each
|
|
7
|
-
* event lists its type identifier, label, and description, which can be referenced
|
|
8
|
-
* when muting event types in notification preferences.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```ts
|
|
12
|
-
* const response = await client.notifications.catalog();
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
catalog(options?: RequestOptions): APIPromise<NotificationCatalogResponse>;
|
|
16
|
-
/**
|
|
17
|
-
* Returns your current notification preferences, expressed as the list of event
|
|
18
|
-
* types you have muted. An empty list means notifications are enabled for all
|
|
19
|
-
* notifiable event types.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```ts
|
|
23
|
-
* const response =
|
|
24
|
-
* await client.notifications.getPreferences();
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
getPreferences(options?: RequestOptions): APIPromise<NotificationGetPreferencesResponse>;
|
|
28
|
-
/**
|
|
29
|
-
* Replaces your set of muted event types with the supplied list. Any unknown or
|
|
30
|
-
* non-notifiable types are dropped, and the response returns the muted types that
|
|
31
|
-
* were actually stored.
|
|
32
|
-
*
|
|
33
|
-
* @example
|
|
34
|
-
* ```ts
|
|
35
|
-
* const response =
|
|
36
|
-
* await client.notifications.updatePreferences({
|
|
37
|
-
* mutedTypes: [
|
|
38
|
-
* 'workflow.run.running',
|
|
39
|
-
* 'task.run.running',
|
|
40
|
-
* ],
|
|
41
|
-
* });
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
updatePreferences(body: NotificationUpdatePreferencesParams, options?: RequestOptions): APIPromise<NotificationUpdatePreferencesResponse>;
|
|
45
|
-
}
|
|
46
|
-
export interface NotificationCatalogResponse {
|
|
47
|
-
data: Array<NotificationCatalogResponse.Data>;
|
|
48
|
-
}
|
|
49
|
-
export declare namespace NotificationCatalogResponse {
|
|
50
|
-
interface Data {
|
|
51
|
-
events: Array<Data.Event>;
|
|
52
|
-
label: string;
|
|
53
|
-
source: string;
|
|
54
|
-
}
|
|
55
|
-
namespace Data {
|
|
56
|
-
interface Event {
|
|
57
|
-
description: string;
|
|
58
|
-
label: string;
|
|
59
|
-
type: string;
|
|
60
|
-
toast?: boolean;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
export interface NotificationGetPreferencesResponse {
|
|
65
|
-
data: NotificationGetPreferencesResponse.Data;
|
|
66
|
-
}
|
|
67
|
-
export declare namespace NotificationGetPreferencesResponse {
|
|
68
|
-
interface Data {
|
|
69
|
-
mutedTypes: Array<string>;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
export interface NotificationUpdatePreferencesResponse {
|
|
73
|
-
data: NotificationUpdatePreferencesResponse.Data;
|
|
74
|
-
}
|
|
75
|
-
export declare namespace NotificationUpdatePreferencesResponse {
|
|
76
|
-
interface Data {
|
|
77
|
-
mutedTypes: Array<string>;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
export interface NotificationUpdatePreferencesParams {
|
|
81
|
-
mutedTypes: Array<string>;
|
|
82
|
-
}
|
|
83
|
-
export declare namespace Notifications {
|
|
84
|
-
export { type NotificationCatalogResponse as NotificationCatalogResponse, type NotificationGetPreferencesResponse as NotificationGetPreferencesResponse, type NotificationUpdatePreferencesResponse as NotificationUpdatePreferencesResponse, type NotificationUpdatePreferencesParams as NotificationUpdatePreferencesParams, };
|
|
85
|
-
}
|
|
86
|
-
//# sourceMappingURL=notifications.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../src/resources/notifications.ts"],"names":[],"mappings":"AAEA,OAAO,EA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QACnB,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KAC3B;CACF;AAED,MAAM,WAAW,mCAAmC;IAClD,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,mCAAmC,IAAI,mCAAmC,GAChF,CAAC;CACH"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Notifications = void 0;
|
|
5
|
-
const resource_1 = require("../core/resource.js");
|
|
6
|
-
class Notifications extends resource_1.APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* Returns the catalog of notifiable event types grouped by source category. Each
|
|
9
|
-
* event lists its type identifier, label, and description, which can be referenced
|
|
10
|
-
* when muting event types in notification preferences.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```ts
|
|
14
|
-
* const response = await client.notifications.catalog();
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
catalog(options) {
|
|
18
|
-
return this._client.get('/notifications/catalog', options);
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Returns your current notification preferences, expressed as the list of event
|
|
22
|
-
* types you have muted. An empty list means notifications are enabled for all
|
|
23
|
-
* notifiable event types.
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* ```ts
|
|
27
|
-
* const response =
|
|
28
|
-
* await client.notifications.getPreferences();
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
getPreferences(options) {
|
|
32
|
-
return this._client.get('/notifications/preferences', options);
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Replaces your set of muted event types with the supplied list. Any unknown or
|
|
36
|
-
* non-notifiable types are dropped, and the response returns the muted types that
|
|
37
|
-
* were actually stored.
|
|
38
|
-
*
|
|
39
|
-
* @example
|
|
40
|
-
* ```ts
|
|
41
|
-
* const response =
|
|
42
|
-
* await client.notifications.updatePreferences({
|
|
43
|
-
* mutedTypes: [
|
|
44
|
-
* 'workflow.run.running',
|
|
45
|
-
* 'task.run.running',
|
|
46
|
-
* ],
|
|
47
|
-
* });
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
updatePreferences(body, options) {
|
|
51
|
-
return this._client.patch('/notifications/preferences', { body, ...options });
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
exports.Notifications = Notifications;
|
|
55
|
-
//# sourceMappingURL=notifications.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.js","sourceRoot":"","sources":["../src/resources/notifications.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;;;;;OASG;IACH,OAAO,CAAC,OAAwB;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAED;;;;;;;;;;OAUG;IACH,cAAc,CAAC,OAAwB;QACrC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,iBAAiB,CACf,IAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AApDD,sCAoDC"}
|