@mobilerun/sdk 6.0.0 → 6.0.1
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 +12 -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 +19 -0
- package/resources/assistant/conversations.d.mts.map +1 -1
- package/resources/assistant/conversations.d.ts +19 -0
- package/resources/assistant/conversations.d.ts.map +1 -1
- package/resources/devices/apps.d.mts +12 -10
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +12 -10
- 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 +29 -14
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +29 -14
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +12 -8
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +12 -8
- 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/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/messages/messages.d.mts +12 -0
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +12 -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 +12 -0
- package/resources/numbers/messages.d.mts.map +1 -1
- package/resources/numbers/messages.d.ts +12 -0
- 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 +4 -2
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +4 -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 +26 -0
- package/src/resources/devices/apps.ts +12 -10
- package/src/resources/devices/devices.ts +39 -32
- package/src/resources/devices/index.ts +1 -9
- package/src/resources/index.ts +1 -0
- package/src/resources/messages/messages.ts +16 -0
- package/src/resources/numbers/messages.ts +16 -0
- package/src/resources/numbers/numbers.ts +124 -0
- package/src/resources/tasks/tasks.ts +4 -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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflows.mjs","sourceRoot":"","sources":["../../src/resources/workflows/workflows.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,gBAAgB,6BAAyB;AACrD,OAAO,EACL,aAAa,GAId,6BAAyB;AAC1B,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAKL,MAAM,GACP,qBAAiB;AAClB,OAAO,KAAK,YAAY,wBAAoB;AAC5C,OAAO,EAAwB,SAAS,EAAE,wBAAoB;AAC9D,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EAWL,QAAQ,GACT,uBAAmB;AACpB,OAAO,KAAK,UAAU,8BAA0B;AAChD,OAAO,EASL,OAAO,GACR,8BAA0B;AAC3B,OAAO,KAAK,aAAa,oCAAgC;AACzD,OAAO,EAOL,UAAU,GACX,oCAAgC;AACjC,OAAO,KAAK,QAAQ,0BAAsB;AAC1C,OAAO,
|
|
1
|
+
{"version":3,"file":"workflows.mjs","sourceRoot":"","sources":["../../src/resources/workflows/workflows.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,gBAAgB,6BAAyB;AACrD,OAAO,EACL,aAAa,GAId,6BAAyB;AAC1B,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAKL,MAAM,GACP,qBAAiB;AAClB,OAAO,KAAK,YAAY,wBAAoB;AAC5C,OAAO,EAAwB,SAAS,EAAE,wBAAoB;AAC9D,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EAWL,QAAQ,GACT,uBAAmB;AACpB,OAAO,KAAK,UAAU,8BAA0B;AAChD,OAAO,EASL,OAAO,GACR,8BAA0B;AAC3B,OAAO,KAAK,aAAa,oCAAgC;AACzD,OAAO,EAOL,UAAU,GACX,oCAAgC;AACjC,OAAO,KAAK,QAAQ,0BAAsB;AAC1C,OAAO,EA4BL,KAAK,GACN,0BAAsB;AAEvB,MAAM,OAAO,SAAU,SAAQ,WAAW;IAA1C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjG,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClF,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC/E,CAAC;CAAA;AAED,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC9B,SAAS,CAAC,aAAa,GAAG,aAAa,CAAC;AACxC,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC;AAC5B,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC;AACxB,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC;AAC1B,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC;AAClC,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC"}
|
package/src/client.ts
CHANGED
|
@@ -69,6 +69,7 @@ import {
|
|
|
69
69
|
DeviceFingerprintResponse,
|
|
70
70
|
DeviceListParams,
|
|
71
71
|
DeviceListResponse,
|
|
72
|
+
DeviceResetParams,
|
|
72
73
|
DeviceRetrieveCapabilitiesResponse,
|
|
73
74
|
DeviceRetrieveResponse,
|
|
74
75
|
DeviceSetNameParams,
|
|
@@ -940,6 +941,7 @@ export declare namespace Mobilerun {
|
|
|
940
941
|
type DeviceCreateParams as DeviceCreateParams,
|
|
941
942
|
type DeviceListParams as DeviceListParams,
|
|
942
943
|
type DeviceFingerprintParams as DeviceFingerprintParams,
|
|
944
|
+
type DeviceResetParams as DeviceResetParams,
|
|
943
945
|
type DeviceSetNameParams as DeviceSetNameParams,
|
|
944
946
|
type DeviceSummaryParams as DeviceSummaryParams,
|
|
945
947
|
type DeviceTerminateParams as DeviceTerminateParams,
|
|
@@ -370,6 +370,8 @@ export namespace ConversationHistoryResponse {
|
|
|
370
370
|
|
|
371
371
|
synthetic?: boolean;
|
|
372
372
|
|
|
373
|
+
turnId?: string | null;
|
|
374
|
+
|
|
373
375
|
/**
|
|
374
376
|
* @deprecated Deprecated: use createdBy.
|
|
375
377
|
*/
|
|
@@ -390,8 +392,32 @@ export namespace ConversationHistoryResponse {
|
|
|
390
392
|
|
|
391
393
|
agentSessionId?: string;
|
|
392
394
|
|
|
395
|
+
/**
|
|
396
|
+
* Steer user rows appear directly above the collapsed assistant group of their
|
|
397
|
+
* turn, matching live cloud ordering.
|
|
398
|
+
*/
|
|
399
|
+
steer?: Metadata.Steer;
|
|
400
|
+
|
|
393
401
|
turnAnchorMessageId?: string;
|
|
394
402
|
}
|
|
403
|
+
|
|
404
|
+
export namespace Metadata {
|
|
405
|
+
/**
|
|
406
|
+
* Steer user rows appear directly above the collapsed assistant group of their
|
|
407
|
+
* turn, matching live cloud ordering.
|
|
408
|
+
*/
|
|
409
|
+
export interface Steer {
|
|
410
|
+
agentMessageId: string;
|
|
411
|
+
|
|
412
|
+
state: 'accepted' | 'consumed' | 'dropped';
|
|
413
|
+
|
|
414
|
+
targetRole: 'root' | 'worker';
|
|
415
|
+
|
|
416
|
+
consumedAt?: string;
|
|
417
|
+
|
|
418
|
+
dropReason?: 'turn_closed' | 'aborted';
|
|
419
|
+
}
|
|
420
|
+
}
|
|
395
421
|
}
|
|
396
422
|
|
|
397
423
|
export interface TurnState {
|
|
@@ -79,16 +79,18 @@ export class Apps extends APIResource {
|
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
81
|
* Requests an app install on the device. The request body must supply exactly one
|
|
82
|
-
* of an Android packageName or an iOS bundleId
|
|
83
|
-
* select an exact regional uploaded Android version, and
|
|
84
|
-
* rejected. background (default false) selects the response
|
|
85
|
-
* installs inline and returns the outcome directly (200 on
|
|
86
|
-
* status on failure); true accepts the request and runs the
|
|
87
|
-
* the background, returning 202 immediately — poll
|
|
88
|
-
* backend's view of that attempt's status. Refuses with
|
|
89
|
-
* are already running on the device, in either mode; a
|
|
90
|
-
* that already has an install running is also refused
|
|
91
|
-
* superseding it — retry once that attempt reaches a terminal
|
|
82
|
+
* of an Android packageName or an iOS bundleId. For packageName installs, optional
|
|
83
|
+
* country and versionCode select an exact regional uploaded Android version, and
|
|
84
|
+
* protected packages are rejected. background (default false) selects the response
|
|
85
|
+
* contract: false installs inline and returns the outcome directly (200 on
|
|
86
|
+
* success, an error status on failure); true accepts the request and runs the
|
|
87
|
+
* download + install in the background, returning 202 immediately — poll
|
|
88
|
+
* list-app-installs for the backend's view of that attempt's status. Refuses with
|
|
89
|
+
* 409 once 2 other installs are already running on the device, in either mode; a
|
|
90
|
+
* repeat request for an app that already has an install running is also refused
|
|
91
|
+
* with 409 rather than superseding it — retry once that attempt reaches a terminal
|
|
92
|
+
* state. Synchronous failures report APP_DOWNLOAD_FAILED (502) when the app file
|
|
93
|
+
* cannot be downloaded or APP_INSTALL_TIMEOUT (504) when the install times out.
|
|
92
94
|
*/
|
|
93
95
|
install(deviceID: string, params: AppInstallParams, options?: RequestOptions): APIPromise<void> {
|
|
94
96
|
const { 'X-Device-Display-ID': xDeviceDisplayID, ...body } = params;
|
|
@@ -50,16 +50,6 @@ import * as LanguageAPI from './language';
|
|
|
50
50
|
import { Language, LanguageGetParams, LanguageGetResponse, LanguageSetParams } from './language';
|
|
51
51
|
import * as LocationAPI from './location';
|
|
52
52
|
import { Location, LocationGetParams, LocationResetParams, LocationSetParams } from './location';
|
|
53
|
-
import * as MediaSessionsAPI from './media-sessions';
|
|
54
|
-
import {
|
|
55
|
-
MediaSessionActivateParams,
|
|
56
|
-
MediaSessionActivateResponse,
|
|
57
|
-
MediaSessionCreateParams,
|
|
58
|
-
MediaSessionCreateResponse,
|
|
59
|
-
MediaSessionDeleteParams,
|
|
60
|
-
MediaSessionRetrieveCurrentResponse,
|
|
61
|
-
MediaSessions,
|
|
62
|
-
} from './media-sessions';
|
|
63
53
|
import * as PackagesAPI from './packages';
|
|
64
54
|
import { PackageListParams, PackageListResponse, Packages } from './packages';
|
|
65
55
|
import * as ProfileAPI from './profile';
|
|
@@ -163,7 +153,6 @@ export class Devices extends APIResource {
|
|
|
163
153
|
deepLink: DeepLinkAPI.DeepLink = new DeepLinkAPI.DeepLink(this._client);
|
|
164
154
|
browser: BrowserAPI.Browser = new BrowserAPI.Browser(this._client);
|
|
165
155
|
kiosk: KioskAPI.Kiosk = new KioskAPI.Kiosk(this._client);
|
|
166
|
-
mediaSessions: MediaSessionsAPI.MediaSessions = new MediaSessionsAPI.MediaSessions(this._client);
|
|
167
156
|
recordings: RecordingsAPI.Recordings = new RecordingsAPI.Recordings(this._client);
|
|
168
157
|
trafficSessions: TrafficSessionsAPI.TrafficSessions = new TrafficSessionsAPI.TrafficSessions(this._client);
|
|
169
158
|
|
|
@@ -252,12 +241,24 @@ export class Devices extends APIResource {
|
|
|
252
241
|
}
|
|
253
242
|
|
|
254
243
|
/**
|
|
255
|
-
* Resets the device
|
|
256
|
-
*
|
|
257
|
-
*
|
|
244
|
+
* Resets the device. The optional body `mode` selects what is erased: `full` is a
|
|
245
|
+
* factory reset that erases installed apps, accounts and storage and gives the
|
|
246
|
+
* device a new identity; `identity` gives the device a new fingerprint and keeps
|
|
247
|
+
* its apps and data. When `mode` is omitted the reset is `full`, or `identity` on
|
|
248
|
+
* devices whose capabilities report `factoryReset=false`. A mode the device does
|
|
249
|
+
* not support (see `factoryReset` / `identityReset` in the device capabilities) is
|
|
250
|
+
* refused with 400 `DEVICE_TOOL_UNSUPPORTED`; legacy devices accept an explicit
|
|
251
|
+
* mode only when it is the one their capabilities advertise, and always accept a
|
|
252
|
+
* reset without a mode. The device transitions through its reset lifecycle before
|
|
253
|
+
* becoming ready again.
|
|
258
254
|
*/
|
|
259
|
-
reset(
|
|
255
|
+
reset(
|
|
256
|
+
deviceID: string,
|
|
257
|
+
body: DeviceResetParams | null | undefined = {},
|
|
258
|
+
options?: RequestOptions,
|
|
259
|
+
): APIPromise<void> {
|
|
260
260
|
return this._client.post(path`/devices/${deviceID}/reset`, {
|
|
261
|
+
body,
|
|
261
262
|
...options,
|
|
262
263
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
263
264
|
});
|
|
@@ -584,6 +585,8 @@ export namespace DeviceRetrieveCapabilitiesResponse {
|
|
|
584
585
|
|
|
585
586
|
esim: boolean;
|
|
586
587
|
|
|
588
|
+
factoryReset: boolean;
|
|
589
|
+
|
|
587
590
|
files: boolean;
|
|
588
591
|
|
|
589
592
|
fingerprint: boolean;
|
|
@@ -594,6 +597,8 @@ export namespace DeviceRetrieveCapabilitiesResponse {
|
|
|
594
597
|
|
|
595
598
|
humanTouch: boolean;
|
|
596
599
|
|
|
600
|
+
identityReset: boolean;
|
|
601
|
+
|
|
597
602
|
language: boolean;
|
|
598
603
|
|
|
599
604
|
logcat: boolean;
|
|
@@ -617,6 +622,8 @@ export namespace DeviceRetrieveCapabilitiesResponse {
|
|
|
617
622
|
time: boolean;
|
|
618
623
|
|
|
619
624
|
trafficInspection: boolean;
|
|
625
|
+
|
|
626
|
+
mediaInjectionTransport?: 'direct';
|
|
620
627
|
}
|
|
621
628
|
}
|
|
622
629
|
|
|
@@ -889,12 +896,6 @@ export interface DeviceListParams {
|
|
|
889
896
|
|
|
890
897
|
orderByDirection?: 'asc' | 'desc';
|
|
891
898
|
|
|
892
|
-
/**
|
|
893
|
-
* Filter by owner IDs. Comma-separated or repeated parameters. Restricted to
|
|
894
|
-
* platform administrators.
|
|
895
|
-
*/
|
|
896
|
-
ownerId?: Array<string> | null;
|
|
897
|
-
|
|
898
899
|
page?: number;
|
|
899
900
|
|
|
900
901
|
pageSize?: number;
|
|
@@ -907,6 +908,12 @@ export interface DeviceListParams {
|
|
|
907
908
|
|
|
908
909
|
providerId?: string;
|
|
909
910
|
|
|
911
|
+
/**
|
|
912
|
+
* Case-insensitive search: matches devices whose name contains the term or whose
|
|
913
|
+
* ID starts with it. Combined with all other filters.
|
|
914
|
+
*/
|
|
915
|
+
search?: string;
|
|
916
|
+
|
|
910
917
|
/**
|
|
911
918
|
* Filter by current device state. Comma-separated (state=ready,stopped). Defaults
|
|
912
919
|
* to every state except terminated and unknown, so stopped and maintenance devices
|
|
@@ -942,6 +949,16 @@ export interface DeviceFingerprintParams {
|
|
|
942
949
|
'X-Device-Display-ID'?: number;
|
|
943
950
|
}
|
|
944
951
|
|
|
952
|
+
export interface DeviceResetParams {
|
|
953
|
+
/**
|
|
954
|
+
* What to erase. full: factory reset — erases the user data (apps, accounts,
|
|
955
|
+
* storage) and gives the device a new identity. identity: new device fingerprint,
|
|
956
|
+
* apps and data are kept. When omitted: full, or identity on devices whose
|
|
957
|
+
* capabilities report factoryReset=false.
|
|
958
|
+
*/
|
|
959
|
+
mode?: 'full' | 'identity';
|
|
960
|
+
}
|
|
961
|
+
|
|
945
962
|
export interface DeviceSetNameParams {
|
|
946
963
|
name: string;
|
|
947
964
|
}
|
|
@@ -985,7 +1002,6 @@ Devices.Language = Language;
|
|
|
985
1002
|
Devices.DeepLink = DeepLink;
|
|
986
1003
|
Devices.Browser = Browser;
|
|
987
1004
|
Devices.Kiosk = Kiosk;
|
|
988
|
-
Devices.MediaSessions = MediaSessions;
|
|
989
1005
|
Devices.Recordings = Recordings;
|
|
990
1006
|
Devices.TrafficSessions = TrafficSessions;
|
|
991
1007
|
|
|
@@ -1003,6 +1019,7 @@ export declare namespace Devices {
|
|
|
1003
1019
|
type DeviceCreateParams as DeviceCreateParams,
|
|
1004
1020
|
type DeviceListParams as DeviceListParams,
|
|
1005
1021
|
type DeviceFingerprintParams as DeviceFingerprintParams,
|
|
1022
|
+
type DeviceResetParams as DeviceResetParams,
|
|
1006
1023
|
type DeviceSetNameParams as DeviceSetNameParams,
|
|
1007
1024
|
type DeviceSummaryParams as DeviceSummaryParams,
|
|
1008
1025
|
type DeviceTerminateParams as DeviceTerminateParams,
|
|
@@ -1143,16 +1160,6 @@ export declare namespace Devices {
|
|
|
1143
1160
|
type KioskEnableParams as KioskEnableParams,
|
|
1144
1161
|
};
|
|
1145
1162
|
|
|
1146
|
-
export {
|
|
1147
|
-
MediaSessions as MediaSessions,
|
|
1148
|
-
type MediaSessionCreateResponse as MediaSessionCreateResponse,
|
|
1149
|
-
type MediaSessionActivateResponse as MediaSessionActivateResponse,
|
|
1150
|
-
type MediaSessionRetrieveCurrentResponse as MediaSessionRetrieveCurrentResponse,
|
|
1151
|
-
type MediaSessionCreateParams as MediaSessionCreateParams,
|
|
1152
|
-
type MediaSessionDeleteParams as MediaSessionDeleteParams,
|
|
1153
|
-
type MediaSessionActivateParams as MediaSessionActivateParams,
|
|
1154
|
-
};
|
|
1155
|
-
|
|
1156
1163
|
export {
|
|
1157
1164
|
Recordings as Recordings,
|
|
1158
1165
|
type RecordingListResponse as RecordingListResponse,
|
|
@@ -44,6 +44,7 @@ export {
|
|
|
44
44
|
type DeviceCreateParams,
|
|
45
45
|
type DeviceListParams,
|
|
46
46
|
type DeviceFingerprintParams,
|
|
47
|
+
type DeviceResetParams,
|
|
47
48
|
type DeviceSetNameParams,
|
|
48
49
|
type DeviceSummaryParams,
|
|
49
50
|
type DeviceTerminateParams,
|
|
@@ -88,15 +89,6 @@ export {
|
|
|
88
89
|
type LocationResetParams,
|
|
89
90
|
type LocationSetParams,
|
|
90
91
|
} from './location';
|
|
91
|
-
export {
|
|
92
|
-
MediaSessions,
|
|
93
|
-
type MediaSessionCreateResponse,
|
|
94
|
-
type MediaSessionActivateResponse,
|
|
95
|
-
type MediaSessionRetrieveCurrentResponse,
|
|
96
|
-
type MediaSessionCreateParams,
|
|
97
|
-
type MediaSessionDeleteParams,
|
|
98
|
-
type MediaSessionActivateParams,
|
|
99
|
-
} from './media-sessions';
|
|
100
92
|
export { Packages, type PackageListResponse, type PackageListParams } from './packages';
|
|
101
93
|
export { Profile, type ProfileUpdateParams } from './profile';
|
|
102
94
|
export {
|
package/src/resources/index.ts
CHANGED
|
@@ -48,6 +48,8 @@ export namespace MessageRetrieveResponse {
|
|
|
48
48
|
|
|
49
49
|
body: string | null;
|
|
50
50
|
|
|
51
|
+
classification: Data.Classification | null;
|
|
52
|
+
|
|
51
53
|
createdAt: string;
|
|
52
54
|
|
|
53
55
|
deliveryStatus: string | null;
|
|
@@ -76,6 +78,12 @@ export namespace MessageRetrieveResponse {
|
|
|
76
78
|
| 'delivered'
|
|
77
79
|
| 'failed';
|
|
78
80
|
}
|
|
81
|
+
|
|
82
|
+
export namespace Data {
|
|
83
|
+
export interface Classification {
|
|
84
|
+
spam: boolean;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
79
87
|
}
|
|
80
88
|
|
|
81
89
|
export interface MessageListResponse {
|
|
@@ -90,6 +98,8 @@ export namespace MessageListResponse {
|
|
|
90
98
|
|
|
91
99
|
body: string | null;
|
|
92
100
|
|
|
101
|
+
classification: Item.Classification | null;
|
|
102
|
+
|
|
93
103
|
createdAt: string;
|
|
94
104
|
|
|
95
105
|
deliveryStatus: string | null;
|
|
@@ -118,6 +128,12 @@ export namespace MessageListResponse {
|
|
|
118
128
|
| 'delivered'
|
|
119
129
|
| 'failed';
|
|
120
130
|
}
|
|
131
|
+
|
|
132
|
+
export namespace Item {
|
|
133
|
+
export interface Classification {
|
|
134
|
+
spam: boolean;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
121
137
|
}
|
|
122
138
|
|
|
123
139
|
export interface MessageListParams {
|
|
@@ -64,6 +64,8 @@ export namespace MessageListResponse {
|
|
|
64
64
|
|
|
65
65
|
body: string | null;
|
|
66
66
|
|
|
67
|
+
classification: Item.Classification | null;
|
|
68
|
+
|
|
67
69
|
createdAt: string;
|
|
68
70
|
|
|
69
71
|
deliveryStatus: string | null;
|
|
@@ -90,6 +92,12 @@ export namespace MessageListResponse {
|
|
|
90
92
|
| 'delivered'
|
|
91
93
|
| 'failed';
|
|
92
94
|
}
|
|
95
|
+
|
|
96
|
+
export namespace Item {
|
|
97
|
+
export interface Classification {
|
|
98
|
+
spam: boolean;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
93
101
|
}
|
|
94
102
|
|
|
95
103
|
export interface MessageSendResponse {
|
|
@@ -102,6 +110,8 @@ export namespace MessageSendResponse {
|
|
|
102
110
|
|
|
103
111
|
body: string | null;
|
|
104
112
|
|
|
113
|
+
classification: Data.Classification | null;
|
|
114
|
+
|
|
105
115
|
createdAt: string;
|
|
106
116
|
|
|
107
117
|
deliveryStatus: string | null;
|
|
@@ -128,6 +138,12 @@ export namespace MessageSendResponse {
|
|
|
128
138
|
| 'delivered'
|
|
129
139
|
| 'failed';
|
|
130
140
|
}
|
|
141
|
+
|
|
142
|
+
export namespace Data {
|
|
143
|
+
export interface Classification {
|
|
144
|
+
spam: boolean;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
131
147
|
}
|
|
132
148
|
|
|
133
149
|
export interface MessageListParams {
|
|
@@ -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,8 @@ 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')
|
|
1099
1100
|
*/
|
|
1100
1101
|
llmModel?: string;
|
|
1101
1102
|
|
|
@@ -1181,7 +1182,8 @@ export interface TaskRunStreamedParams {
|
|
|
1181
1182
|
humanize?: boolean;
|
|
1182
1183
|
|
|
1183
1184
|
/**
|
|
1184
|
-
* The LLM model identifier to use for the task (e.g.
|
|
1185
|
+
* The LLM model identifier to use for the task (e.g.
|
|
1186
|
+
* 'mobilerun/mobile-agent-fast')
|
|
1185
1187
|
*/
|
|
1186
1188
|
llmModel?: string;
|
|
1187
1189
|
|
|
@@ -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
|
|