@mobilerun/sdk 6.0.0 → 6.1.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 +20 -0
- package/client.d.mts +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/assistant/conversations.d.mts +20 -0
- package/resources/assistant/conversations.d.mts.map +1 -1
- package/resources/assistant/conversations.d.ts +20 -0
- package/resources/assistant/conversations.d.ts.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 +22 -1
- package/resources/connect/proxies.d.mts.map +1 -1
- package/resources/connect/proxies.d.ts +22 -1
- package/resources/connect/proxies.d.ts.map +1 -1
- package/resources/connect/proxies.js +8 -0
- package/resources/connect/proxies.js.map +1 -1
- package/resources/connect/proxies.mjs +8 -0
- package/resources/connect/proxies.mjs.map +1 -1
- package/resources/credentials/credentials.d.mts +20 -0
- package/resources/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/credentials.d.ts +20 -0
- package/resources/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/credentials.js +4 -0
- package/resources/credentials/credentials.js.map +1 -1
- package/resources/credentials/credentials.mjs +4 -0
- package/resources/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/index.d.mts +1 -0
- package/resources/credentials/index.d.mts.map +1 -1
- package/resources/credentials/index.d.ts +1 -0
- package/resources/credentials/index.d.ts.map +1 -1
- package/resources/credentials/index.js +5 -3
- package/resources/credentials/index.js.map +1 -1
- package/resources/credentials/index.mjs +1 -0
- package/resources/credentials/index.mjs.map +1 -1
- package/resources/credentials/onepassword/index.d.mts +3 -0
- package/resources/credentials/onepassword/index.d.mts.map +1 -0
- package/resources/credentials/onepassword/index.d.ts +3 -0
- package/resources/credentials/onepassword/index.d.ts.map +1 -0
- package/resources/credentials/onepassword/index.js +9 -0
- package/resources/credentials/onepassword/index.js.map +1 -0
- package/resources/credentials/onepassword/index.mjs +4 -0
- package/resources/credentials/onepassword/index.mjs.map +1 -0
- package/resources/credentials/onepassword/onepassword.d.mts +65 -0
- package/resources/credentials/onepassword/onepassword.d.mts.map +1 -0
- package/resources/credentials/onepassword/onepassword.d.ts +65 -0
- package/resources/credentials/onepassword/onepassword.d.ts.map +1 -0
- package/resources/credentials/onepassword/onepassword.js +35 -0
- package/resources/credentials/onepassword/onepassword.js.map +1 -0
- package/resources/credentials/onepassword/onepassword.mjs +30 -0
- package/resources/credentials/onepassword/onepassword.mjs.map +1 -0
- package/resources/credentials/onepassword/vaults/index.d.mts +3 -0
- package/resources/credentials/onepassword/vaults/index.d.mts.map +1 -0
- package/resources/credentials/onepassword/vaults/index.d.ts +3 -0
- package/resources/credentials/onepassword/vaults/index.d.ts.map +1 -0
- package/resources/credentials/onepassword/vaults/index.js +9 -0
- package/resources/credentials/onepassword/vaults/index.js.map +1 -0
- package/resources/credentials/onepassword/vaults/index.mjs +4 -0
- package/resources/credentials/onepassword/vaults/index.mjs.map +1 -0
- package/resources/credentials/onepassword/vaults/items/fields.d.mts +27 -0
- package/resources/credentials/onepassword/vaults/items/fields.d.mts.map +1 -0
- package/resources/credentials/onepassword/vaults/items/fields.d.ts +27 -0
- package/resources/credentials/onepassword/vaults/items/fields.d.ts.map +1 -0
- package/resources/credentials/onepassword/vaults/items/fields.js +17 -0
- package/resources/credentials/onepassword/vaults/items/fields.js.map +1 -0
- package/resources/credentials/onepassword/vaults/items/fields.mjs +13 -0
- package/resources/credentials/onepassword/vaults/items/fields.mjs.map +1 -0
- package/resources/credentials/onepassword/vaults/items/index.d.mts +3 -0
- package/resources/credentials/onepassword/vaults/items/index.d.mts.map +1 -0
- package/resources/credentials/onepassword/vaults/items/index.d.ts +3 -0
- package/resources/credentials/onepassword/vaults/items/index.d.ts.map +1 -0
- package/resources/credentials/onepassword/vaults/items/index.js +9 -0
- package/resources/credentials/onepassword/vaults/items/index.js.map +1 -0
- package/resources/credentials/onepassword/vaults/items/index.mjs +4 -0
- package/resources/credentials/onepassword/vaults/items/index.mjs.map +1 -0
- package/resources/credentials/onepassword/vaults/items/items.d.mts +34 -0
- package/resources/credentials/onepassword/vaults/items/items.d.mts.map +1 -0
- package/resources/credentials/onepassword/vaults/items/items.d.ts +34 -0
- package/resources/credentials/onepassword/vaults/items/items.d.ts.map +1 -0
- package/resources/credentials/onepassword/vaults/items/items.js +24 -0
- package/resources/credentials/onepassword/vaults/items/items.js.map +1 -0
- package/resources/credentials/onepassword/vaults/items/items.mjs +19 -0
- package/resources/credentials/onepassword/vaults/items/items.mjs.map +1 -0
- package/resources/credentials/onepassword/vaults/items.d.mts +2 -0
- package/resources/credentials/onepassword/vaults/items.d.mts.map +1 -0
- package/resources/credentials/onepassword/vaults/items.d.ts +2 -0
- package/resources/credentials/onepassword/vaults/items.d.ts.map +1 -0
- package/resources/credentials/onepassword/vaults/items.js +6 -0
- package/resources/credentials/onepassword/vaults/items.js.map +1 -0
- package/resources/credentials/onepassword/vaults/items.mjs +3 -0
- package/resources/credentials/onepassword/vaults/items.mjs.map +1 -0
- package/resources/credentials/onepassword/vaults/vaults.d.mts +10 -0
- package/resources/credentials/onepassword/vaults/vaults.d.mts.map +1 -0
- package/resources/credentials/onepassword/vaults/vaults.d.ts +10 -0
- package/resources/credentials/onepassword/vaults/vaults.d.ts.map +1 -0
- package/resources/credentials/onepassword/vaults/vaults.js +17 -0
- package/resources/credentials/onepassword/vaults/vaults.js.map +1 -0
- package/resources/credentials/onepassword/vaults/vaults.mjs +12 -0
- package/resources/credentials/onepassword/vaults/vaults.mjs.map +1 -0
- package/resources/credentials/onepassword/vaults.d.mts +2 -0
- package/resources/credentials/onepassword/vaults.d.mts.map +1 -0
- package/resources/credentials/onepassword/vaults.d.ts +2 -0
- package/resources/credentials/onepassword/vaults.d.ts.map +1 -0
- package/resources/credentials/onepassword/vaults.js +6 -0
- package/resources/credentials/onepassword/vaults.js.map +1 -0
- package/resources/credentials/onepassword/vaults.mjs +3 -0
- package/resources/credentials/onepassword/vaults.mjs.map +1 -0
- package/resources/credentials/onepassword.d.mts +2 -0
- package/resources/credentials/onepassword.d.mts.map +1 -0
- package/resources/credentials/onepassword.d.ts +2 -0
- package/resources/credentials/onepassword.d.ts.map +1 -0
- package/resources/credentials/onepassword.js +6 -0
- package/resources/credentials/onepassword.js.map +1 -0
- package/resources/credentials/onepassword.mjs +3 -0
- package/resources/credentials/onepassword.mjs.map +1 -0
- package/resources/credentials/packages/credentials/credentials.d.mts +32 -32
- package/resources/credentials/packages/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.ts +32 -32
- package/resources/credentials/packages/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.js +0 -8
- package/resources/credentials/packages/credentials/credentials.js.map +1 -1
- package/resources/credentials/packages/credentials/credentials.mjs +0 -8
- package/resources/credentials/packages/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.mts +48 -0
- package/resources/credentials/packages/credentials/fields.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.ts +48 -0
- package/resources/credentials/packages/credentials/fields.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/index.d.mts +1 -1
- package/resources/credentials/packages/credentials/index.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/index.d.ts +1 -1
- package/resources/credentials/packages/credentials/index.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/index.js.map +1 -1
- package/resources/credentials/packages/credentials/index.mjs.map +1 -1
- package/resources/credentials/packages/index.d.mts +2 -1
- package/resources/credentials/packages/index.d.mts.map +1 -1
- package/resources/credentials/packages/index.d.ts +2 -1
- package/resources/credentials/packages/index.d.ts.map +1 -1
- package/resources/credentials/packages/index.js +3 -1
- package/resources/credentials/packages/index.js.map +1 -1
- package/resources/credentials/packages/index.mjs +1 -0
- package/resources/credentials/packages/index.mjs.map +1 -1
- package/resources/credentials/packages/links.d.mts +65 -0
- package/resources/credentials/packages/links.d.mts.map +1 -0
- package/resources/credentials/packages/links.d.ts +65 -0
- package/resources/credentials/packages/links.d.ts.map +1 -0
- package/resources/credentials/packages/links.js +16 -0
- package/resources/credentials/packages/links.js.map +1 -0
- package/resources/credentials/packages/links.mjs +12 -0
- package/resources/credentials/packages/links.mjs.map +1 -0
- package/resources/credentials/packages/packages.d.mts +22 -2
- package/resources/credentials/packages/packages.d.mts.map +1 -1
- package/resources/credentials/packages/packages.d.ts +22 -2
- package/resources/credentials/packages/packages.d.ts.map +1 -1
- package/resources/credentials/packages/packages.js +4 -0
- package/resources/credentials/packages/packages.js.map +1 -1
- package/resources/credentials/packages/packages.mjs +4 -0
- package/resources/credentials/packages/packages.mjs.map +1 -1
- package/resources/devices/apps.d.mts +14 -12
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +14 -12
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/apps.js +12 -10
- package/resources/devices/apps.js.map +1 -1
- package/resources/devices/apps.mjs +12 -10
- package/resources/devices/apps.mjs.map +1 -1
- package/resources/devices/devices.d.mts +62 -32
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +62 -32
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +25 -17
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +25 -17
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/index.d.mts +1 -2
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +1 -2
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js +1 -3
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs +0 -1
- package/resources/devices/index.mjs.map +1 -1
- package/resources/devices/keyboard.d.mts +1 -1
- package/resources/devices/keyboard.d.ts +1 -1
- package/resources/devices/language.d.mts +6 -4
- package/resources/devices/language.d.mts.map +1 -1
- package/resources/devices/language.d.ts +6 -4
- package/resources/devices/language.d.ts.map +1 -1
- package/resources/devices/language.js +3 -2
- package/resources/devices/language.js.map +1 -1
- package/resources/devices/language.mjs +3 -2
- package/resources/devices/language.mjs.map +1 -1
- package/resources/devices/state.d.mts +1 -0
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +1 -0
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/mailboxes/messages.d.mts +13 -0
- package/resources/mailboxes/messages.d.mts.map +1 -1
- package/resources/mailboxes/messages.d.ts +13 -0
- package/resources/mailboxes/messages.d.ts.map +1 -1
- package/resources/mailboxes/messages.js +2 -2
- package/resources/mailboxes/messages.js.map +1 -1
- package/resources/mailboxes/messages.mjs +2 -2
- package/resources/mailboxes/messages.mjs.map +1 -1
- package/resources/messages/conversations.d.mts +6 -0
- package/resources/messages/conversations.d.mts.map +1 -1
- package/resources/messages/conversations.d.ts +6 -0
- package/resources/messages/conversations.d.ts.map +1 -1
- package/resources/messages/messages.d.mts +28 -0
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +28 -0
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/numbers/messages.d.mts +27 -1
- package/resources/numbers/messages.d.mts.map +1 -1
- package/resources/numbers/messages.d.ts +27 -1
- package/resources/numbers/messages.d.ts.map +1 -1
- package/resources/numbers/numbers.d.mts +108 -0
- package/resources/numbers/numbers.d.mts.map +1 -1
- package/resources/numbers/numbers.d.ts +108 -0
- package/resources/numbers/numbers.d.ts.map +1 -1
- package/resources/numbers/numbers.js.map +1 -1
- package/resources/numbers/numbers.mjs.map +1 -1
- package/resources/tasks/tasks.d.mts +6 -2
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +6 -2
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/workflows/events.d.mts +1 -0
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +1 -0
- package/resources/workflows/events.d.ts.map +1 -1
- package/resources/workflows/executions/executions.d.mts +10 -0
- package/resources/workflows/executions/executions.d.mts.map +1 -1
- package/resources/workflows/executions/executions.d.ts +10 -0
- package/resources/workflows/executions/executions.d.ts.map +1 -1
- package/resources/workflows/executions/executions.js.map +1 -1
- package/resources/workflows/executions/executions.mjs.map +1 -1
- package/resources/workflows/flows/flows.d.mts +31 -11
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +31 -11
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +11 -10
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +11 -10
- 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 +1 -1
- package/resources/workflows/index.d.mts.map +1 -1
- package/resources/workflows/index.d.ts +1 -1
- package/resources/workflows/index.d.ts.map +1 -1
- package/resources/workflows/index.js.map +1 -1
- package/resources/workflows/index.mjs.map +1 -1
- package/resources/workflows/workflows.d.mts +2 -2
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +2 -2
- package/resources/workflows/workflows.d.ts.map +1 -1
- package/resources/workflows/workflows.js.map +1 -1
- package/resources/workflows/workflows.mjs.map +1 -1
- package/src/client.ts +2 -0
- package/src/resources/assistant/conversations.ts +28 -0
- package/src/resources/connect/connect.ts +2 -0
- package/src/resources/connect/index.ts +1 -0
- package/src/resources/connect/proxies.ts +27 -0
- package/src/resources/credentials/credentials.ts +51 -0
- package/src/resources/credentials/index.ts +7 -0
- package/src/resources/credentials/onepassword/index.ts +10 -0
- package/src/resources/credentials/onepassword/onepassword.ts +101 -0
- package/src/resources/credentials/onepassword/vaults/index.ts +4 -0
- package/src/resources/credentials/onepassword/vaults/items/fields.ts +40 -0
- package/src/resources/credentials/onepassword/vaults/items/index.ts +4 -0
- package/src/resources/credentials/onepassword/vaults/items/items.ts +55 -0
- package/src/resources/credentials/onepassword/vaults/items.ts +3 -0
- package/src/resources/credentials/onepassword/vaults/vaults.ts +15 -0
- package/src/resources/credentials/onepassword/vaults.ts +3 -0
- package/src/resources/credentials/onepassword.ts +3 -0
- package/src/resources/credentials/packages/credentials/credentials.ts +58 -55
- package/src/resources/credentials/packages/credentials/fields.ts +99 -0
- package/src/resources/credentials/packages/credentials/index.ts +0 -2
- package/src/resources/credentials/packages/index.ts +1 -2
- package/src/resources/credentials/packages/links.ts +122 -0
- package/src/resources/credentials/packages/packages.ts +43 -4
- package/src/resources/devices/apps.ts +14 -12
- package/src/resources/devices/devices.ts +77 -59
- package/src/resources/devices/index.ts +1 -9
- package/src/resources/devices/keyboard.ts +1 -1
- package/src/resources/devices/language.ts +6 -4
- package/src/resources/devices/state.ts +2 -0
- package/src/resources/index.ts +1 -0
- package/src/resources/mailboxes/messages.ts +17 -2
- package/src/resources/messages/conversations.ts +6 -0
- package/src/resources/messages/messages.ts +32 -0
- package/src/resources/numbers/messages.ts +31 -1
- package/src/resources/numbers/numbers.ts +124 -0
- package/src/resources/tasks/tasks.ts +6 -2
- package/src/resources/workflows/events.ts +2 -0
- package/src/resources/workflows/executions/executions.ts +12 -0
- package/src/resources/workflows/flows/flows.ts +44 -11
- package/src/resources/workflows/flows/index.ts +1 -0
- package/src/resources/workflows/index.ts +1 -0
- package/src/resources/workflows/workflows.ts +2 -0
- 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/devices/media-sessions.d.mts +0 -96
- package/resources/devices/media-sessions.d.mts.map +0 -1
- package/resources/devices/media-sessions.d.ts +0 -96
- package/resources/devices/media-sessions.d.ts.map +0 -1
- package/resources/devices/media-sessions.js +0 -50
- package/resources/devices/media-sessions.js.map +0 -1
- package/resources/devices/media-sessions.mjs +0 -46
- package/resources/devices/media-sessions.mjs.map +0 -1
- package/src/resources/devices/media-sessions.ts +0 -168
|
@@ -164,6 +164,9 @@ export namespace NumberRetrieveResponse {
|
|
|
164
164
|
*/
|
|
165
165
|
canSend: boolean;
|
|
166
166
|
|
|
167
|
+
/**
|
|
168
|
+
* @deprecated Deprecated: use `lineCapabilities`
|
|
169
|
+
*/
|
|
167
170
|
capabilities: Array<'sms' | 'voice'> | null;
|
|
168
171
|
|
|
169
172
|
checkoutUrl: string | null;
|
|
@@ -183,6 +186,12 @@ export namespace NumberRetrieveResponse {
|
|
|
183
186
|
|
|
184
187
|
label: string | null;
|
|
185
188
|
|
|
189
|
+
/**
|
|
190
|
+
* What this line supports in principle, per channel. Use `actions` for what you
|
|
191
|
+
* can do right now.
|
|
192
|
+
*/
|
|
193
|
+
lineCapabilities: Data.LineCapabilities;
|
|
194
|
+
|
|
186
195
|
phoneNumber: string | null;
|
|
187
196
|
|
|
188
197
|
purpose: string | null;
|
|
@@ -210,6 +219,28 @@ export namespace NumberRetrieveResponse {
|
|
|
210
219
|
*/
|
|
211
220
|
send: boolean;
|
|
212
221
|
}
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* What this line supports in principle, per channel. Use `actions` for what you
|
|
225
|
+
* can do right now.
|
|
226
|
+
*/
|
|
227
|
+
export interface LineCapabilities {
|
|
228
|
+
sms: LineCapabilities.SMS;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export namespace LineCapabilities {
|
|
232
|
+
export interface SMS {
|
|
233
|
+
/**
|
|
234
|
+
* This line can receive on this channel.
|
|
235
|
+
*/
|
|
236
|
+
inbound: boolean;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* This line can send on this channel.
|
|
240
|
+
*/
|
|
241
|
+
outbound: boolean;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
213
244
|
}
|
|
214
245
|
}
|
|
215
246
|
|
|
@@ -238,6 +269,9 @@ export namespace NumberUpdateResponse {
|
|
|
238
269
|
*/
|
|
239
270
|
canSend: boolean;
|
|
240
271
|
|
|
272
|
+
/**
|
|
273
|
+
* @deprecated Deprecated: use `lineCapabilities`
|
|
274
|
+
*/
|
|
241
275
|
capabilities: Array<'sms' | 'voice'> | null;
|
|
242
276
|
|
|
243
277
|
checkoutUrl: string | null;
|
|
@@ -257,6 +291,12 @@ export namespace NumberUpdateResponse {
|
|
|
257
291
|
|
|
258
292
|
label: string | null;
|
|
259
293
|
|
|
294
|
+
/**
|
|
295
|
+
* What this line supports in principle, per channel. Use `actions` for what you
|
|
296
|
+
* can do right now.
|
|
297
|
+
*/
|
|
298
|
+
lineCapabilities: Data.LineCapabilities;
|
|
299
|
+
|
|
260
300
|
phoneNumber: string | null;
|
|
261
301
|
|
|
262
302
|
purpose: string | null;
|
|
@@ -284,6 +324,28 @@ export namespace NumberUpdateResponse {
|
|
|
284
324
|
*/
|
|
285
325
|
send: boolean;
|
|
286
326
|
}
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* What this line supports in principle, per channel. Use `actions` for what you
|
|
330
|
+
* can do right now.
|
|
331
|
+
*/
|
|
332
|
+
export interface LineCapabilities {
|
|
333
|
+
sms: LineCapabilities.SMS;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
export namespace LineCapabilities {
|
|
337
|
+
export interface SMS {
|
|
338
|
+
/**
|
|
339
|
+
* This line can receive on this channel.
|
|
340
|
+
*/
|
|
341
|
+
inbound: boolean;
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* This line can send on this channel.
|
|
345
|
+
*/
|
|
346
|
+
outbound: boolean;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
287
349
|
}
|
|
288
350
|
}
|
|
289
351
|
|
|
@@ -314,6 +376,9 @@ export namespace NumberListResponse {
|
|
|
314
376
|
*/
|
|
315
377
|
canSend: boolean;
|
|
316
378
|
|
|
379
|
+
/**
|
|
380
|
+
* @deprecated Deprecated: use `lineCapabilities`
|
|
381
|
+
*/
|
|
317
382
|
capabilities: Array<'sms' | 'voice'> | null;
|
|
318
383
|
|
|
319
384
|
checkoutUrl: string | null;
|
|
@@ -333,6 +398,12 @@ export namespace NumberListResponse {
|
|
|
333
398
|
|
|
334
399
|
label: string | null;
|
|
335
400
|
|
|
401
|
+
/**
|
|
402
|
+
* What this line supports in principle, per channel. Use `actions` for what you
|
|
403
|
+
* can do right now.
|
|
404
|
+
*/
|
|
405
|
+
lineCapabilities: Item.LineCapabilities;
|
|
406
|
+
|
|
336
407
|
phoneNumber: string | null;
|
|
337
408
|
|
|
338
409
|
purpose: string | null;
|
|
@@ -360,6 +431,28 @@ export namespace NumberListResponse {
|
|
|
360
431
|
*/
|
|
361
432
|
send: boolean;
|
|
362
433
|
}
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* What this line supports in principle, per channel. Use `actions` for what you
|
|
437
|
+
* can do right now.
|
|
438
|
+
*/
|
|
439
|
+
export interface LineCapabilities {
|
|
440
|
+
sms: LineCapabilities.SMS;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export namespace LineCapabilities {
|
|
444
|
+
export interface SMS {
|
|
445
|
+
/**
|
|
446
|
+
* This line can receive on this channel.
|
|
447
|
+
*/
|
|
448
|
+
inbound: boolean;
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* This line can send on this channel.
|
|
452
|
+
*/
|
|
453
|
+
outbound: boolean;
|
|
454
|
+
}
|
|
455
|
+
}
|
|
363
456
|
}
|
|
364
457
|
}
|
|
365
458
|
|
|
@@ -388,6 +481,9 @@ export namespace NumberDeleteResponse {
|
|
|
388
481
|
*/
|
|
389
482
|
canSend: boolean;
|
|
390
483
|
|
|
484
|
+
/**
|
|
485
|
+
* @deprecated Deprecated: use `lineCapabilities`
|
|
486
|
+
*/
|
|
391
487
|
capabilities: Array<'sms' | 'voice'> | null;
|
|
392
488
|
|
|
393
489
|
checkoutUrl: string | null;
|
|
@@ -407,6 +503,12 @@ export namespace NumberDeleteResponse {
|
|
|
407
503
|
|
|
408
504
|
label: string | null;
|
|
409
505
|
|
|
506
|
+
/**
|
|
507
|
+
* What this line supports in principle, per channel. Use `actions` for what you
|
|
508
|
+
* can do right now.
|
|
509
|
+
*/
|
|
510
|
+
lineCapabilities: Data.LineCapabilities;
|
|
511
|
+
|
|
410
512
|
phoneNumber: string | null;
|
|
411
513
|
|
|
412
514
|
purpose: string | null;
|
|
@@ -434,6 +536,28 @@ export namespace NumberDeleteResponse {
|
|
|
434
536
|
*/
|
|
435
537
|
send: boolean;
|
|
436
538
|
}
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* What this line supports in principle, per channel. Use `actions` for what you
|
|
542
|
+
* can do right now.
|
|
543
|
+
*/
|
|
544
|
+
export interface LineCapabilities {
|
|
545
|
+
sms: LineCapabilities.SMS;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
export namespace LineCapabilities {
|
|
549
|
+
export interface SMS {
|
|
550
|
+
/**
|
|
551
|
+
* This line can receive on this channel.
|
|
552
|
+
*/
|
|
553
|
+
inbound: boolean;
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* This line can send on this channel.
|
|
557
|
+
*/
|
|
558
|
+
outbound: boolean;
|
|
559
|
+
}
|
|
560
|
+
}
|
|
437
561
|
}
|
|
438
562
|
}
|
|
439
563
|
|
|
@@ -1095,7 +1095,9 @@ export interface TaskRunParams {
|
|
|
1095
1095
|
humanize?: boolean;
|
|
1096
1096
|
|
|
1097
1097
|
/**
|
|
1098
|
-
* The LLM model identifier to use for the task (e.g.
|
|
1098
|
+
* The LLM model identifier to use for the task (e.g.
|
|
1099
|
+
* 'mobilerun/mobile-agent-fast'). When omitted with reasoning=false, the fast-mode
|
|
1100
|
+
* default model is used.
|
|
1099
1101
|
*/
|
|
1100
1102
|
llmModel?: string;
|
|
1101
1103
|
|
|
@@ -1181,7 +1183,9 @@ export interface TaskRunStreamedParams {
|
|
|
1181
1183
|
humanize?: boolean;
|
|
1182
1184
|
|
|
1183
1185
|
/**
|
|
1184
|
-
* The LLM model identifier to use for the task (e.g.
|
|
1186
|
+
* The LLM model identifier to use for the task (e.g.
|
|
1187
|
+
* 'mobilerun/mobile-agent-fast'). When omitted with reasoning=false, the fast-mode
|
|
1188
|
+
* default model is used.
|
|
1185
1189
|
*/
|
|
1186
1190
|
llmModel?: string;
|
|
1187
1191
|
|
|
@@ -61,6 +61,11 @@ export namespace ExecutionRetrieveResponse {
|
|
|
61
61
|
export interface Data {
|
|
62
62
|
id: string;
|
|
63
63
|
|
|
64
|
+
/**
|
|
65
|
+
* Current agent assignment of the owner-scoped parent flow; null when unassigned.
|
|
66
|
+
*/
|
|
67
|
+
agentId: string | null;
|
|
68
|
+
|
|
64
69
|
createdBy: string | null;
|
|
65
70
|
|
|
66
71
|
/**
|
|
@@ -209,6 +214,13 @@ export namespace ExecutionRetrieveResponse {
|
|
|
209
214
|
startedAt: string | null;
|
|
210
215
|
|
|
211
216
|
status: 'pending' | 'running' | 'success' | 'failed' | 'skipped' | 'cancelled';
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Zero-based retry attempt of the execution job during which this step last ran (0
|
|
220
|
+
* = initial attempt). Not a per-step retry counter; may undercount after crash
|
|
221
|
+
* recovery.
|
|
222
|
+
*/
|
|
223
|
+
attempt?: number;
|
|
212
224
|
}
|
|
213
225
|
}
|
|
214
226
|
|
|
@@ -57,10 +57,11 @@ export class Flows extends APIResource {
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
|
-
* Return a paginated list of flows. Supports filtering by `
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
60
|
+
* Return a paginated list of flows. Supports filtering by `agentId` (UUID or
|
|
61
|
+
* `unassigned`; omit for all buckets), `triggerId`, `enabled`, one or more health
|
|
62
|
+
* `status` values (healthy, failing, blocked), `mine` (flows created by the
|
|
63
|
+
* calling actor), `createdBy` (flows created by a given actor id — mutually
|
|
64
|
+
* exclusive with `mine`), plus free-text `search` and ordering.
|
|
64
65
|
*/
|
|
65
66
|
list(
|
|
66
67
|
query: FlowListParams | null | undefined = {},
|
|
@@ -91,13 +92,16 @@ export class Flows extends APIResource {
|
|
|
91
92
|
}
|
|
92
93
|
|
|
93
94
|
/**
|
|
94
|
-
* Returns
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
95
|
+
* Returns the environment routine limit and remaining capacity for this owner and
|
|
96
|
+
* agent bucket, counting enabled and disabled non-deleted flows. Omit agentId (or
|
|
97
|
+
* use unassigned) for the unassigned bucket. This is advisory; create and clone
|
|
98
|
+
* enforce admission under a bucket lock.
|
|
98
99
|
*/
|
|
99
|
-
capacity(
|
|
100
|
-
|
|
100
|
+
capacity(
|
|
101
|
+
query: FlowCapacityParams | null | undefined = {},
|
|
102
|
+
options?: RequestOptions,
|
|
103
|
+
): APIPromise<FlowCapacityResponse> {
|
|
104
|
+
return this._client.get('/flows/capacity', { query, ...options });
|
|
101
105
|
}
|
|
102
106
|
|
|
103
107
|
/**
|
|
@@ -236,6 +240,8 @@ export namespace FlowCreateResponse {
|
|
|
236
240
|
export interface Data {
|
|
237
241
|
id: string;
|
|
238
242
|
|
|
243
|
+
agentId: string | null;
|
|
244
|
+
|
|
239
245
|
archivedAt: string | null;
|
|
240
246
|
|
|
241
247
|
blockedAt: string | null;
|
|
@@ -356,6 +362,8 @@ export namespace FlowRetrieveResponse {
|
|
|
356
362
|
export interface Data {
|
|
357
363
|
id: string;
|
|
358
364
|
|
|
365
|
+
agentId: string | null;
|
|
366
|
+
|
|
359
367
|
archivedAt: string | null;
|
|
360
368
|
|
|
361
369
|
blockedAt: string | null;
|
|
@@ -476,6 +484,8 @@ export namespace FlowUpdateResponse {
|
|
|
476
484
|
export interface Data {
|
|
477
485
|
id: string;
|
|
478
486
|
|
|
487
|
+
agentId: string | null;
|
|
488
|
+
|
|
479
489
|
archivedAt: string | null;
|
|
480
490
|
|
|
481
491
|
blockedAt: string | null;
|
|
@@ -598,6 +608,8 @@ export namespace FlowListResponse {
|
|
|
598
608
|
export interface Item {
|
|
599
609
|
id: string;
|
|
600
610
|
|
|
611
|
+
agentId: string | null;
|
|
612
|
+
|
|
601
613
|
archivedAt: string | null;
|
|
602
614
|
|
|
603
615
|
blockedAt: string | null;
|
|
@@ -722,6 +734,8 @@ export namespace FlowActivateResponse {
|
|
|
722
734
|
export interface Data {
|
|
723
735
|
id: string;
|
|
724
736
|
|
|
737
|
+
agentId: string | null;
|
|
738
|
+
|
|
725
739
|
archivedAt: string | null;
|
|
726
740
|
|
|
727
741
|
blockedAt: string | null;
|
|
@@ -844,7 +858,7 @@ export namespace FlowCapacityResponse {
|
|
|
844
858
|
|
|
845
859
|
remaining: number;
|
|
846
860
|
|
|
847
|
-
status: 'available' | 'exhausted'
|
|
861
|
+
status: 'available' | 'exhausted';
|
|
848
862
|
}
|
|
849
863
|
}
|
|
850
864
|
|
|
@@ -856,6 +870,8 @@ export namespace FlowCloneResponse {
|
|
|
856
870
|
export interface Data {
|
|
857
871
|
id: string;
|
|
858
872
|
|
|
873
|
+
agentId: string | null;
|
|
874
|
+
|
|
859
875
|
archivedAt: string | null;
|
|
860
876
|
|
|
861
877
|
blockedAt: string | null;
|
|
@@ -1213,6 +1229,8 @@ export namespace FlowUnblockResponse {
|
|
|
1213
1229
|
export interface Data {
|
|
1214
1230
|
id: string;
|
|
1215
1231
|
|
|
1232
|
+
agentId: string | null;
|
|
1233
|
+
|
|
1216
1234
|
archivedAt: string | null;
|
|
1217
1235
|
|
|
1218
1236
|
blockedAt: string | null;
|
|
@@ -1585,6 +1603,12 @@ export namespace FlowUpdateParams {
|
|
|
1585
1603
|
}
|
|
1586
1604
|
|
|
1587
1605
|
export interface FlowListParams {
|
|
1606
|
+
/**
|
|
1607
|
+
* Agent bucket UUID or unassigned. Omit on list to include every bucket; omit on
|
|
1608
|
+
* capacity for unassigned.
|
|
1609
|
+
*/
|
|
1610
|
+
agentId?: (string & {}) | 'unassigned';
|
|
1611
|
+
|
|
1588
1612
|
createdBy?: string;
|
|
1589
1613
|
|
|
1590
1614
|
/**
|
|
@@ -1616,6 +1640,14 @@ export interface FlowActivateParams {
|
|
|
1616
1640
|
verificationExecutionId: string;
|
|
1617
1641
|
}
|
|
1618
1642
|
|
|
1643
|
+
export interface FlowCapacityParams {
|
|
1644
|
+
/**
|
|
1645
|
+
* Agent bucket UUID or unassigned. Omit on list to include every bucket; omit on
|
|
1646
|
+
* capacity for unassigned.
|
|
1647
|
+
*/
|
|
1648
|
+
agentId?: (string & {}) | 'unassigned';
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1619
1651
|
export interface FlowCloneParams {
|
|
1620
1652
|
deviceIds?: Array<string>;
|
|
1621
1653
|
|
|
@@ -1843,6 +1875,7 @@ export declare namespace Flows {
|
|
|
1843
1875
|
type FlowUpdateParams as FlowUpdateParams,
|
|
1844
1876
|
type FlowListParams as FlowListParams,
|
|
1845
1877
|
type FlowActivateParams as FlowActivateParams,
|
|
1878
|
+
type FlowCapacityParams as FlowCapacityParams,
|
|
1846
1879
|
type FlowCloneParams as FlowCloneParams,
|
|
1847
1880
|
type FlowDryRunParams as FlowDryRunParams,
|
|
1848
1881
|
type FlowRunParams as FlowRunParams,
|
|
@@ -58,6 +58,7 @@ import * as FlowsAPI from './flows/flows';
|
|
|
58
58
|
import {
|
|
59
59
|
FlowActivateParams,
|
|
60
60
|
FlowActivateResponse,
|
|
61
|
+
FlowCapacityParams,
|
|
61
62
|
FlowCapacityResponse,
|
|
62
63
|
FlowCloneParams,
|
|
63
64
|
FlowCloneResponse,
|
|
@@ -159,6 +160,7 @@ export declare namespace Workflows {
|
|
|
159
160
|
type FlowUpdateParams as FlowUpdateParams,
|
|
160
161
|
type FlowListParams as FlowListParams,
|
|
161
162
|
type FlowActivateParams as FlowActivateParams,
|
|
163
|
+
type FlowCapacityParams as FlowCapacityParams,
|
|
162
164
|
type FlowCloneParams as FlowCloneParams,
|
|
163
165
|
type FlowDryRunParams as FlowDryRunParams,
|
|
164
166
|
type FlowRunParams as FlowRunParams,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '6.
|
|
1
|
+
export const VERSION = '6.1.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "6.
|
|
1
|
+
export declare const VERSION = "6.1.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "6.
|
|
1
|
+
export declare const VERSION = "6.1.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '6.
|
|
1
|
+
export const VERSION = '6.1.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
|
@@ -1,96 +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 MediaSessions extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Allocates an exclusive relay path and returns one-time publish and control
|
|
7
|
-
* credentials. The relay publisher must be established before activation.
|
|
8
|
-
*/
|
|
9
|
-
create(deviceID: string, body: MediaSessionCreateParams, options?: RequestOptions): APIPromise<MediaSessionCreateResponse>;
|
|
10
|
-
/**
|
|
11
|
-
* Immediately revokes relay authorization, detaches virtual media inputs, and
|
|
12
|
-
* kicks the relay publisher.
|
|
13
|
-
*/
|
|
14
|
-
delete(sessionID: string, params: MediaSessionDeleteParams, options?: RequestOptions): APIPromise<void>;
|
|
15
|
-
/**
|
|
16
|
-
* Validates relay codecs and attaches one private RTSP source to either the
|
|
17
|
-
* virtual microphone or the combined microphone-and-camera pipeline.
|
|
18
|
-
*/
|
|
19
|
-
activate(sessionID: string, params: MediaSessionActivateParams, options?: RequestOptions): APIPromise<MediaSessionActivateResponse>;
|
|
20
|
-
/**
|
|
21
|
-
* Returns status only. Publish URLs and credentials are never replayed after
|
|
22
|
-
* creation.
|
|
23
|
-
*/
|
|
24
|
-
retrieveCurrent(deviceID: string, options?: RequestOptions): APIPromise<MediaSessionRetrieveCurrentResponse>;
|
|
25
|
-
}
|
|
26
|
-
export interface MediaSessionCreateResponse {
|
|
27
|
-
camera: boolean;
|
|
28
|
-
controlToken: string;
|
|
29
|
-
expiresAt: string;
|
|
30
|
-
microphone: boolean;
|
|
31
|
-
publishToken: string;
|
|
32
|
-
publishUrl: string;
|
|
33
|
-
sessionId: string;
|
|
34
|
-
state: 'created' | 'publishing' | 'active' | 'stopping' | 'closed' | 'failed';
|
|
35
|
-
/**
|
|
36
|
-
* A URL to the JSON Schema for this object.
|
|
37
|
-
*/
|
|
38
|
-
$schema?: string;
|
|
39
|
-
}
|
|
40
|
-
export interface MediaSessionActivateResponse {
|
|
41
|
-
camera: boolean;
|
|
42
|
-
expiresAt: string;
|
|
43
|
-
microphone: boolean;
|
|
44
|
-
sessionId: string;
|
|
45
|
-
state: 'created' | 'publishing' | 'active' | 'stopping' | 'closed' | 'failed';
|
|
46
|
-
/**
|
|
47
|
-
* A URL to the JSON Schema for this object.
|
|
48
|
-
*/
|
|
49
|
-
$schema?: string;
|
|
50
|
-
}
|
|
51
|
-
export interface MediaSessionRetrieveCurrentResponse {
|
|
52
|
-
camera: boolean;
|
|
53
|
-
expiresAt: string;
|
|
54
|
-
microphone: boolean;
|
|
55
|
-
sessionId: string;
|
|
56
|
-
state: 'created' | 'publishing' | 'active' | 'stopping' | 'closed' | 'failed';
|
|
57
|
-
/**
|
|
58
|
-
* A URL to the JSON Schema for this object.
|
|
59
|
-
*/
|
|
60
|
-
$schema?: string;
|
|
61
|
-
}
|
|
62
|
-
export interface MediaSessionCreateParams {
|
|
63
|
-
/**
|
|
64
|
-
* Publish combined browser audio and H264 video into the device's virtual
|
|
65
|
-
* microphone and camera. Requires microphone=true.
|
|
66
|
-
*/
|
|
67
|
-
camera: boolean;
|
|
68
|
-
/**
|
|
69
|
-
* Publish browser audio into the device's virtual microphone.
|
|
70
|
-
*/
|
|
71
|
-
microphone: boolean;
|
|
72
|
-
}
|
|
73
|
-
export interface MediaSessionDeleteParams {
|
|
74
|
-
/**
|
|
75
|
-
* Path param
|
|
76
|
-
*/
|
|
77
|
-
deviceId: string;
|
|
78
|
-
/**
|
|
79
|
-
* Header param
|
|
80
|
-
*/
|
|
81
|
-
'X-Media-Control-Token': string;
|
|
82
|
-
}
|
|
83
|
-
export interface MediaSessionActivateParams {
|
|
84
|
-
/**
|
|
85
|
-
* Path param
|
|
86
|
-
*/
|
|
87
|
-
deviceId: string;
|
|
88
|
-
/**
|
|
89
|
-
* Header param
|
|
90
|
-
*/
|
|
91
|
-
'X-Media-Control-Token': string;
|
|
92
|
-
}
|
|
93
|
-
export declare namespace MediaSessions {
|
|
94
|
-
export { type MediaSessionCreateResponse as MediaSessionCreateResponse, type MediaSessionActivateResponse as MediaSessionActivateResponse, type MediaSessionRetrieveCurrentResponse as MediaSessionRetrieveCurrentResponse, type MediaSessionCreateParams as MediaSessionCreateParams, type MediaSessionDeleteParams as MediaSessionDeleteParams, type MediaSessionActivateParams as MediaSessionActivateParams, };
|
|
95
|
-
}
|
|
96
|
-
//# sourceMappingURL=media-sessions.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"media-sessions.d.mts","sourceRoot":"","sources":["../../src/resources/devices/media-sessions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;OAGG;IACH,MAAM,CACJ,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAIzC;;;OAGG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAWvG;;;OAGG;IACH,QAAQ,CACN,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAQ3C;;;OAGG;IACH,eAAe,CACb,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;CAGnD;AAED,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,OAAO,CAAC;IAEhB,YAAY,EAAE,MAAM,CAAC;IAErB,SAAS,EAAE,MAAM,CAAC;IAElB,UAAU,EAAE,OAAO,CAAC;IAEpB,YAAY,EAAE,MAAM,CAAC;IAErB,UAAU,EAAE,MAAM,CAAC;IAEnB,SAAS,EAAE,MAAM,CAAC;IAElB,KAAK,EAAE,SAAS,GAAG,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAE9E;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE,OAAO,CAAC;IAEhB,SAAS,EAAE,MAAM,CAAC;IAElB,UAAU,EAAE,OAAO,CAAC;IAEpB,SAAS,EAAE,MAAM,CAAC;IAElB,KAAK,EAAE,SAAS,GAAG,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAE9E;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,mCAAmC;IAClD,MAAM,EAAE,OAAO,CAAC;IAEhB,SAAS,EAAE,MAAM,CAAC;IAElB,UAAU,EAAE,OAAO,CAAC;IAEpB,SAAS,EAAE,MAAM,CAAC;IAElB,KAAK,EAAE,SAAS,GAAG,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAE9E;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,uBAAuB,EAAE,MAAM,CAAC;CACjC;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,uBAAuB,EAAE,MAAM,CAAC;CACjC;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -1,96 +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 MediaSessions extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Allocates an exclusive relay path and returns one-time publish and control
|
|
7
|
-
* credentials. The relay publisher must be established before activation.
|
|
8
|
-
*/
|
|
9
|
-
create(deviceID: string, body: MediaSessionCreateParams, options?: RequestOptions): APIPromise<MediaSessionCreateResponse>;
|
|
10
|
-
/**
|
|
11
|
-
* Immediately revokes relay authorization, detaches virtual media inputs, and
|
|
12
|
-
* kicks the relay publisher.
|
|
13
|
-
*/
|
|
14
|
-
delete(sessionID: string, params: MediaSessionDeleteParams, options?: RequestOptions): APIPromise<void>;
|
|
15
|
-
/**
|
|
16
|
-
* Validates relay codecs and attaches one private RTSP source to either the
|
|
17
|
-
* virtual microphone or the combined microphone-and-camera pipeline.
|
|
18
|
-
*/
|
|
19
|
-
activate(sessionID: string, params: MediaSessionActivateParams, options?: RequestOptions): APIPromise<MediaSessionActivateResponse>;
|
|
20
|
-
/**
|
|
21
|
-
* Returns status only. Publish URLs and credentials are never replayed after
|
|
22
|
-
* creation.
|
|
23
|
-
*/
|
|
24
|
-
retrieveCurrent(deviceID: string, options?: RequestOptions): APIPromise<MediaSessionRetrieveCurrentResponse>;
|
|
25
|
-
}
|
|
26
|
-
export interface MediaSessionCreateResponse {
|
|
27
|
-
camera: boolean;
|
|
28
|
-
controlToken: string;
|
|
29
|
-
expiresAt: string;
|
|
30
|
-
microphone: boolean;
|
|
31
|
-
publishToken: string;
|
|
32
|
-
publishUrl: string;
|
|
33
|
-
sessionId: string;
|
|
34
|
-
state: 'created' | 'publishing' | 'active' | 'stopping' | 'closed' | 'failed';
|
|
35
|
-
/**
|
|
36
|
-
* A URL to the JSON Schema for this object.
|
|
37
|
-
*/
|
|
38
|
-
$schema?: string;
|
|
39
|
-
}
|
|
40
|
-
export interface MediaSessionActivateResponse {
|
|
41
|
-
camera: boolean;
|
|
42
|
-
expiresAt: string;
|
|
43
|
-
microphone: boolean;
|
|
44
|
-
sessionId: string;
|
|
45
|
-
state: 'created' | 'publishing' | 'active' | 'stopping' | 'closed' | 'failed';
|
|
46
|
-
/**
|
|
47
|
-
* A URL to the JSON Schema for this object.
|
|
48
|
-
*/
|
|
49
|
-
$schema?: string;
|
|
50
|
-
}
|
|
51
|
-
export interface MediaSessionRetrieveCurrentResponse {
|
|
52
|
-
camera: boolean;
|
|
53
|
-
expiresAt: string;
|
|
54
|
-
microphone: boolean;
|
|
55
|
-
sessionId: string;
|
|
56
|
-
state: 'created' | 'publishing' | 'active' | 'stopping' | 'closed' | 'failed';
|
|
57
|
-
/**
|
|
58
|
-
* A URL to the JSON Schema for this object.
|
|
59
|
-
*/
|
|
60
|
-
$schema?: string;
|
|
61
|
-
}
|
|
62
|
-
export interface MediaSessionCreateParams {
|
|
63
|
-
/**
|
|
64
|
-
* Publish combined browser audio and H264 video into the device's virtual
|
|
65
|
-
* microphone and camera. Requires microphone=true.
|
|
66
|
-
*/
|
|
67
|
-
camera: boolean;
|
|
68
|
-
/**
|
|
69
|
-
* Publish browser audio into the device's virtual microphone.
|
|
70
|
-
*/
|
|
71
|
-
microphone: boolean;
|
|
72
|
-
}
|
|
73
|
-
export interface MediaSessionDeleteParams {
|
|
74
|
-
/**
|
|
75
|
-
* Path param
|
|
76
|
-
*/
|
|
77
|
-
deviceId: string;
|
|
78
|
-
/**
|
|
79
|
-
* Header param
|
|
80
|
-
*/
|
|
81
|
-
'X-Media-Control-Token': string;
|
|
82
|
-
}
|
|
83
|
-
export interface MediaSessionActivateParams {
|
|
84
|
-
/**
|
|
85
|
-
* Path param
|
|
86
|
-
*/
|
|
87
|
-
deviceId: string;
|
|
88
|
-
/**
|
|
89
|
-
* Header param
|
|
90
|
-
*/
|
|
91
|
-
'X-Media-Control-Token': string;
|
|
92
|
-
}
|
|
93
|
-
export declare namespace MediaSessions {
|
|
94
|
-
export { type MediaSessionCreateResponse as MediaSessionCreateResponse, type MediaSessionActivateResponse as MediaSessionActivateResponse, type MediaSessionRetrieveCurrentResponse as MediaSessionRetrieveCurrentResponse, type MediaSessionCreateParams as MediaSessionCreateParams, type MediaSessionDeleteParams as MediaSessionDeleteParams, type MediaSessionActivateParams as MediaSessionActivateParams, };
|
|
95
|
-
}
|
|
96
|
-
//# sourceMappingURL=media-sessions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"media-sessions.d.ts","sourceRoot":"","sources":["../../src/resources/devices/media-sessions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;OAGG;IACH,MAAM,CACJ,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAIzC;;;OAGG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAWvG;;;OAGG;IACH,QAAQ,CACN,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAQ3C;;;OAGG;IACH,eAAe,CACb,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;CAGnD;AAED,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,OAAO,CAAC;IAEhB,YAAY,EAAE,MAAM,CAAC;IAErB,SAAS,EAAE,MAAM,CAAC;IAElB,UAAU,EAAE,OAAO,CAAC;IAEpB,YAAY,EAAE,MAAM,CAAC;IAErB,UAAU,EAAE,MAAM,CAAC;IAEnB,SAAS,EAAE,MAAM,CAAC;IAElB,KAAK,EAAE,SAAS,GAAG,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAE9E;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE,OAAO,CAAC;IAEhB,SAAS,EAAE,MAAM,CAAC;IAElB,UAAU,EAAE,OAAO,CAAC;IAEpB,SAAS,EAAE,MAAM,CAAC;IAElB,KAAK,EAAE,SAAS,GAAG,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAE9E;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,mCAAmC;IAClD,MAAM,EAAE,OAAO,CAAC;IAEhB,SAAS,EAAE,MAAM,CAAC;IAElB,UAAU,EAAE,OAAO,CAAC;IAEpB,SAAS,EAAE,MAAM,CAAC;IAElB,KAAK,EAAE,SAAS,GAAG,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAE9E;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,uBAAuB,EAAE,MAAM,CAAC;CACjC;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,uBAAuB,EAAE,MAAM,CAAC;CACjC;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|