@mobilerun/sdk 5.1.0 → 5.2.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 +41 -0
- package/client.d.mts +4 -16
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -16
- package/client.d.ts.map +1 -1
- package/client.js +0 -12
- package/client.js.map +1 -1
- package/client.mjs +1 -13
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps.d.mts +12 -7
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +12 -7
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +0 -4
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +0 -4
- package/resources/apps.mjs.map +1 -1
- package/resources/carriers.d.mts +0 -3
- package/resources/carriers.d.mts.map +1 -1
- package/resources/carriers.d.ts +0 -3
- package/resources/carriers.d.ts.map +1 -1
- package/resources/carriers.js +0 -3
- package/resources/carriers.js.map +1 -1
- package/resources/carriers.mjs +0 -3
- package/resources/carriers.mjs.map +1 -1
- package/resources/connect/countries.d.mts +8 -3
- package/resources/connect/countries.d.mts.map +1 -1
- package/resources/connect/countries.d.ts +8 -3
- package/resources/connect/countries.d.ts.map +1 -1
- package/resources/connect/countries.js +6 -1
- package/resources/connect/countries.js.map +1 -1
- package/resources/connect/countries.mjs +6 -1
- package/resources/connect/countries.mjs.map +1 -1
- package/resources/connect/proxies.d.mts +11 -9
- package/resources/connect/proxies.d.mts.map +1 -1
- package/resources/connect/proxies.d.ts +11 -9
- package/resources/connect/proxies.d.ts.map +1 -1
- package/resources/connect/proxies.js +7 -5
- package/resources/connect/proxies.js.map +1 -1
- package/resources/connect/proxies.mjs +7 -5
- package/resources/connect/proxies.mjs.map +1 -1
- package/resources/connect/users.d.mts +7 -2
- package/resources/connect/users.d.mts.map +1 -1
- package/resources/connect/users.d.ts +7 -2
- package/resources/connect/users.d.ts.map +1 -1
- package/resources/connect/users.js +7 -2
- package/resources/connect/users.js.map +1 -1
- package/resources/connect/users.mjs +7 -2
- package/resources/connect/users.mjs.map +1 -1
- package/resources/credentials/credentials.d.mts +3 -4
- package/resources/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/credentials.d.ts +3 -4
- package/resources/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/credentials.js +3 -4
- package/resources/credentials/credentials.js.map +1 -1
- package/resources/credentials/credentials.mjs +3 -4
- package/resources/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.mts +14 -7
- package/resources/credentials/packages/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.ts +14 -7
- package/resources/credentials/packages/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.js +7 -6
- package/resources/credentials/packages/credentials/credentials.js.map +1 -1
- package/resources/credentials/packages/credentials/credentials.mjs +7 -6
- package/resources/credentials/packages/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.mts +8 -6
- package/resources/credentials/packages/credentials/fields.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.ts +8 -6
- package/resources/credentials/packages/credentials/fields.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/fields.js +8 -6
- package/resources/credentials/packages/credentials/fields.js.map +1 -1
- package/resources/credentials/packages/credentials/fields.mjs +8 -6
- package/resources/credentials/packages/credentials/fields.mjs.map +1 -1
- package/resources/credentials/packages/packages.d.mts +5 -5
- package/resources/credentials/packages/packages.d.mts.map +1 -1
- package/resources/credentials/packages/packages.d.ts +5 -5
- package/resources/credentials/packages/packages.d.ts.map +1 -1
- package/resources/credentials/packages/packages.js +5 -5
- package/resources/credentials/packages/packages.js.map +1 -1
- package/resources/credentials/packages/packages.mjs +5 -5
- package/resources/credentials/packages/packages.mjs.map +1 -1
- package/resources/devices/actions.d.mts +10 -5
- package/resources/devices/actions.d.mts.map +1 -1
- package/resources/devices/actions.d.ts +10 -5
- package/resources/devices/actions.d.ts.map +1 -1
- package/resources/devices/actions.js +10 -5
- package/resources/devices/actions.js.map +1 -1
- package/resources/devices/actions.mjs +10 -5
- package/resources/devices/actions.mjs.map +1 -1
- package/resources/devices/apps.d.mts +38 -5
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +38 -5
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/apps.js +21 -5
- package/resources/devices/apps.js.map +1 -1
- package/resources/devices/apps.mjs +21 -5
- package/resources/devices/apps.mjs.map +1 -1
- package/resources/devices/devices.d.mts +76 -14
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +76 -14
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +28 -12
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +28 -12
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/esim.d.mts +6 -4
- package/resources/devices/esim.d.mts.map +1 -1
- package/resources/devices/esim.d.ts +6 -4
- package/resources/devices/esim.d.ts.map +1 -1
- package/resources/devices/esim.js +6 -4
- package/resources/devices/esim.js.map +1 -1
- package/resources/devices/esim.mjs +6 -4
- package/resources/devices/esim.mjs.map +1 -1
- package/resources/devices/files.d.mts +7 -4
- package/resources/devices/files.d.mts.map +1 -1
- package/resources/devices/files.d.ts +7 -4
- package/resources/devices/files.d.ts.map +1 -1
- package/resources/devices/files.js +7 -4
- package/resources/devices/files.js.map +1 -1
- package/resources/devices/files.mjs +7 -4
- package/resources/devices/files.mjs.map +1 -1
- package/resources/devices/keyboard.d.mts +5 -3
- package/resources/devices/keyboard.d.mts.map +1 -1
- package/resources/devices/keyboard.d.ts +5 -3
- package/resources/devices/keyboard.d.ts.map +1 -1
- package/resources/devices/keyboard.js +5 -3
- package/resources/devices/keyboard.js.map +1 -1
- package/resources/devices/keyboard.mjs +5 -3
- package/resources/devices/keyboard.mjs.map +1 -1
- package/resources/devices/language.d.mts +4 -2
- package/resources/devices/language.d.mts.map +1 -1
- package/resources/devices/language.d.ts +4 -2
- package/resources/devices/language.d.ts.map +1 -1
- package/resources/devices/language.js +4 -2
- package/resources/devices/language.js.map +1 -1
- package/resources/devices/language.mjs +4 -2
- package/resources/devices/language.mjs.map +1 -1
- package/resources/devices/location.d.mts +4 -2
- package/resources/devices/location.d.mts.map +1 -1
- package/resources/devices/location.d.ts +4 -2
- package/resources/devices/location.d.ts.map +1 -1
- package/resources/devices/location.js +4 -2
- package/resources/devices/location.js.map +1 -1
- package/resources/devices/location.mjs +4 -2
- package/resources/devices/location.mjs.map +1 -1
- package/resources/devices/packages.d.mts +2 -1
- package/resources/devices/packages.d.mts.map +1 -1
- package/resources/devices/packages.d.ts +2 -1
- package/resources/devices/packages.d.ts.map +1 -1
- package/resources/devices/packages.js +2 -1
- package/resources/devices/packages.js.map +1 -1
- package/resources/devices/packages.mjs +2 -1
- package/resources/devices/packages.mjs.map +1 -1
- package/resources/devices/proxy.d.mts +29 -3
- package/resources/devices/proxy.d.mts.map +1 -1
- package/resources/devices/proxy.d.ts +29 -3
- package/resources/devices/proxy.d.ts.map +1 -1
- package/resources/devices/proxy.js +7 -3
- package/resources/devices/proxy.js.map +1 -1
- package/resources/devices/proxy.mjs +7 -3
- package/resources/devices/proxy.mjs.map +1 -1
- package/resources/devices/state.d.mts +7 -3
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +7 -3
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/devices/state.js +6 -3
- package/resources/devices/state.js.map +1 -1
- package/resources/devices/state.mjs +6 -3
- package/resources/devices/state.mjs.map +1 -1
- package/resources/devices/tasks.d.mts +4 -12
- package/resources/devices/tasks.d.mts.map +1 -1
- package/resources/devices/tasks.d.ts +4 -12
- package/resources/devices/tasks.d.ts.map +1 -1
- package/resources/devices/tasks.js +2 -4
- package/resources/devices/tasks.js.map +1 -1
- package/resources/devices/tasks.mjs +2 -4
- package/resources/devices/tasks.mjs.map +1 -1
- package/resources/devices/timezone.d.mts +4 -2
- package/resources/devices/timezone.d.mts.map +1 -1
- package/resources/devices/timezone.d.ts +4 -2
- package/resources/devices/timezone.d.ts.map +1 -1
- package/resources/devices/timezone.js +4 -2
- package/resources/devices/timezone.js.map +1 -1
- package/resources/devices/timezone.mjs +4 -2
- package/resources/devices/timezone.mjs.map +1 -1
- package/resources/hooks.d.mts +0 -239
- package/resources/hooks.d.mts.map +1 -1
- package/resources/hooks.d.ts +0 -239
- package/resources/hooks.d.ts.map +1 -1
- package/resources/hooks.js +0 -57
- package/resources/hooks.js.map +1 -1
- package/resources/hooks.mjs +0 -57
- package/resources/hooks.mjs.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/profiles.d.mts +69 -6
- package/resources/profiles.d.mts.map +1 -1
- package/resources/profiles.d.ts +69 -6
- package/resources/profiles.d.ts.map +1 -1
- package/resources/profiles.js.map +1 -1
- package/resources/profiles.mjs.map +1 -1
- package/resources/proxies.d.mts +14 -8
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +14 -8
- package/resources/proxies.d.ts.map +1 -1
- package/resources/proxies.js +14 -8
- package/resources/proxies.js.map +1 -1
- package/resources/proxies.mjs +14 -8
- package/resources/proxies.mjs.map +1 -1
- package/resources/shared.d.mts +14 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +14 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/tasks/tasks.d.mts +159 -64
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +159 -64
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js +10 -2
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs +10 -2
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/webhooks/deliveries.d.mts +38 -4
- package/resources/webhooks/deliveries.d.mts.map +1 -1
- package/resources/webhooks/deliveries.d.ts +38 -4
- package/resources/webhooks/deliveries.d.ts.map +1 -1
- package/resources/webhooks/deliveries.js +15 -4
- package/resources/webhooks/deliveries.js.map +1 -1
- package/resources/webhooks/deliveries.mjs +15 -4
- package/resources/webhooks/deliveries.mjs.map +1 -1
- package/resources/webhooks/webhooks.d.mts +67 -9
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +67 -9
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js +26 -8
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs +26 -8
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/resources/workflows/action-catalog.d.mts +5 -2
- package/resources/workflows/action-catalog.d.mts.map +1 -1
- package/resources/workflows/action-catalog.d.ts +5 -2
- package/resources/workflows/action-catalog.d.ts.map +1 -1
- package/resources/workflows/action-catalog.js +5 -2
- package/resources/workflows/action-catalog.js.map +1 -1
- package/resources/workflows/action-catalog.mjs +5 -2
- package/resources/workflows/action-catalog.mjs.map +1 -1
- package/resources/workflows/actions/actions.d.mts +15 -5
- package/resources/workflows/actions/actions.d.mts.map +1 -1
- package/resources/workflows/actions/actions.d.ts +15 -5
- package/resources/workflows/actions/actions.d.ts.map +1 -1
- package/resources/workflows/actions/actions.js +10 -5
- package/resources/workflows/actions/actions.js.map +1 -1
- package/resources/workflows/actions/actions.mjs +10 -5
- package/resources/workflows/actions/actions.mjs.map +1 -1
- package/resources/workflows/actions/services.d.mts +5 -2
- package/resources/workflows/actions/services.d.mts.map +1 -1
- package/resources/workflows/actions/services.d.ts +5 -2
- package/resources/workflows/actions/services.d.ts.map +1 -1
- package/resources/workflows/actions/services.js +5 -2
- package/resources/workflows/actions/services.js.map +1 -1
- package/resources/workflows/actions/services.mjs +5 -2
- package/resources/workflows/actions/services.mjs.map +1 -1
- package/resources/workflows/events/catalog.d.mts +0 -51
- package/resources/workflows/events/catalog.d.mts.map +1 -1
- package/resources/workflows/events/catalog.d.ts +0 -51
- package/resources/workflows/events/catalog.d.ts.map +1 -1
- package/resources/workflows/events/catalog.js +0 -12
- package/resources/workflows/events/catalog.js.map +1 -1
- package/resources/workflows/events/catalog.mjs +0 -12
- package/resources/workflows/events/catalog.mjs.map +1 -1
- package/resources/workflows/events/events.d.mts +10 -20
- package/resources/workflows/events/events.d.mts.map +1 -1
- package/resources/workflows/events/events.d.ts +10 -20
- package/resources/workflows/events/events.d.ts.map +1 -1
- package/resources/workflows/events/events.js.map +1 -1
- package/resources/workflows/events/events.mjs +1 -1
- package/resources/workflows/events/events.mjs.map +1 -1
- package/resources/workflows/events/index.d.mts +1 -1
- package/resources/workflows/events/index.d.mts.map +1 -1
- package/resources/workflows/events/index.d.ts +1 -1
- package/resources/workflows/events/index.d.ts.map +1 -1
- package/resources/workflows/events/index.js.map +1 -1
- package/resources/workflows/events/index.mjs +1 -1
- package/resources/workflows/events/index.mjs.map +1 -1
- package/resources/workflows/executions.d.mts +43 -5
- package/resources/workflows/executions.d.mts.map +1 -1
- package/resources/workflows/executions.d.ts +43 -5
- package/resources/workflows/executions.d.ts.map +1 -1
- package/resources/workflows/executions.js +8 -3
- package/resources/workflows/executions.js.map +1 -1
- package/resources/workflows/executions.mjs +8 -3
- package/resources/workflows/executions.mjs.map +1 -1
- package/resources/workflows/flows/actions.d.mts +12 -4
- package/resources/workflows/flows/actions.d.mts.map +1 -1
- package/resources/workflows/flows/actions.d.ts +12 -4
- package/resources/workflows/flows/actions.d.ts.map +1 -1
- package/resources/workflows/flows/actions.js +12 -4
- package/resources/workflows/flows/actions.js.map +1 -1
- package/resources/workflows/flows/actions.mjs +12 -4
- package/resources/workflows/flows/actions.mjs.map +1 -1
- package/resources/workflows/flows/flows.d.mts +33 -7
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +33 -7
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +18 -6
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +18 -6
- package/resources/workflows/flows/flows.mjs.map +1 -1
- package/resources/workflows/triggers.d.mts +75 -63
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +75 -63
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/triggers.js +12 -5
- package/resources/workflows/triggers.js.map +1 -1
- package/resources/workflows/triggers.mjs +12 -5
- package/resources/workflows/triggers.mjs.map +1 -1
- package/resources/workflows/workflows.d.mts +15 -0
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +15 -0
- 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 +8 -46
- package/src/resources/apps.ts +16 -8
- package/src/resources/carriers.ts +0 -3
- package/src/resources/connect/countries.ts +8 -3
- package/src/resources/connect/proxies.ts +11 -9
- package/src/resources/connect/users.ts +7 -2
- package/src/resources/credentials/credentials.ts +3 -4
- package/src/resources/credentials/packages/credentials/credentials.ts +16 -7
- package/src/resources/credentials/packages/credentials/fields.ts +8 -6
- package/src/resources/credentials/packages/packages.ts +5 -5
- package/src/resources/devices/actions.ts +10 -5
- package/src/resources/devices/apps.ts +41 -5
- package/src/resources/devices/devices.ts +97 -15
- package/src/resources/devices/esim.ts +6 -4
- package/src/resources/devices/files.ts +7 -4
- package/src/resources/devices/keyboard.ts +5 -3
- package/src/resources/devices/language.ts +4 -2
- package/src/resources/devices/location.ts +4 -2
- package/src/resources/devices/packages.ts +2 -1
- package/src/resources/devices/proxy.ts +32 -3
- package/src/resources/devices/state.ts +8 -3
- package/src/resources/devices/tasks.ts +4 -15
- package/src/resources/devices/timezone.ts +4 -2
- package/src/resources/hooks.ts +1 -333
- package/src/resources/index.ts +4 -17
- package/src/resources/profiles.ts +105 -6
- package/src/resources/proxies.ts +14 -8
- package/src/resources/shared.ts +17 -0
- package/src/resources/tasks/tasks.ts +198 -78
- package/src/resources/webhooks/deliveries.ts +43 -4
- package/src/resources/webhooks/webhooks.ts +79 -9
- package/src/resources/workflows/action-catalog.ts +5 -2
- package/src/resources/workflows/actions/actions.ts +17 -5
- package/src/resources/workflows/actions/services.ts +5 -2
- package/src/resources/workflows/events/catalog.ts +1 -84
- package/src/resources/workflows/events/events.ts +14 -36
- package/src/resources/workflows/events/index.ts +1 -7
- package/src/resources/workflows/executions.ts +50 -5
- package/src/resources/workflows/flows/actions.ts +12 -4
- package/src/resources/workflows/flows/flows.ts +41 -7
- package/src/resources/workflows/triggers.ts +92 -75
- package/src/resources/workflows/workflows.ts +21 -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
|
@@ -43,43 +43,59 @@ export declare class Devices extends APIResource {
|
|
|
43
43
|
timezone: TimezoneAPI.Timezone;
|
|
44
44
|
language: LanguageAPI.Language;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* Requests a new device for the authenticated user from the device spec in the
|
|
47
|
+
* request body. Optional query parameters select the canonical device type, target
|
|
48
|
+
* country, billing mode, and a profile to use as the base spec; deprecated
|
|
49
|
+
* device-type aliases remain accepted only during the documented compatibility
|
|
50
|
+
* grace period. The response returns the device and its stream token.
|
|
47
51
|
*/
|
|
48
52
|
create(params: DeviceCreateParams, options?: RequestOptions): APIPromise<Device>;
|
|
49
53
|
/**
|
|
50
|
-
*
|
|
54
|
+
* Returns the current state and metadata for a single device, including its
|
|
55
|
+
* lifecycle state, type, stream URL, billing strategy, and timestamps. A stream
|
|
56
|
+
* token is included while the device is active.
|
|
51
57
|
*/
|
|
52
58
|
retrieve(deviceID: string, options?: RequestOptions): APIPromise<Device>;
|
|
53
59
|
/**
|
|
54
|
-
*
|
|
60
|
+
* Returns a paginated list of the user's devices along with pagination metadata.
|
|
55
61
|
*/
|
|
56
62
|
list(query?: DeviceListParams | null | undefined, options?: RequestOptions): APIPromise<DeviceListResponse>;
|
|
57
63
|
/**
|
|
58
|
-
*
|
|
64
|
+
* Returns the number of claimed devices for the user, broken down by device type.
|
|
59
65
|
*/
|
|
60
66
|
count(options?: RequestOptions): APIPromise<DeviceCountResponse>;
|
|
61
67
|
/**
|
|
62
|
-
*
|
|
68
|
+
* Returns a live snapshot of the device's spoofed identity, including model,
|
|
69
|
+
* display, identifiers, and carrier. Devices without fingerprint support return an
|
|
70
|
+
* unsupported-feature error.
|
|
63
71
|
*/
|
|
64
72
|
fingerprint(deviceID: string, params?: DeviceFingerprintParams | null | undefined, options?: RequestOptions): APIPromise<DeviceFingerprintResponse>;
|
|
65
73
|
/**
|
|
66
|
-
*
|
|
74
|
+
* Triggers a reboot of the device. The device transitions through its reboot
|
|
75
|
+
* lifecycle and becomes ready again once the restart completes.
|
|
67
76
|
*/
|
|
68
77
|
reboot(deviceID: string, options?: RequestOptions): APIPromise<void>;
|
|
69
78
|
/**
|
|
70
|
-
*
|
|
79
|
+
* Resets the device back to a clean state, clearing installed apps and user data
|
|
80
|
+
* accumulated during the session. The device transitions through its reset
|
|
81
|
+
* lifecycle before becoming ready again.
|
|
71
82
|
*/
|
|
72
83
|
reset(deviceID: string, options?: RequestOptions): APIPromise<void>;
|
|
73
84
|
/**
|
|
74
|
-
*
|
|
85
|
+
* Sets the display name for a device from the name in the request body and returns
|
|
86
|
+
* the updated device.
|
|
75
87
|
*/
|
|
76
88
|
setName(deviceID: string, body: DeviceSetNameParams, options?: RequestOptions): APIPromise<Device>;
|
|
77
89
|
/**
|
|
78
|
-
*
|
|
90
|
+
* Terminates the device and releases its resources. Termination can be scheduled
|
|
91
|
+
* for a future time or chained from a previous device via the request body, in
|
|
92
|
+
* which case a service key is required.
|
|
79
93
|
*/
|
|
80
94
|
terminate(deviceID: string, body: DeviceTerminateParams, options?: RequestOptions): APIPromise<void>;
|
|
81
95
|
/**
|
|
82
|
-
*
|
|
96
|
+
* Blocks until the device reaches the ready state, then returns the same payload
|
|
97
|
+
* as Get device info. The call returns early with an error if the wait is
|
|
98
|
+
* cancelled or times out.
|
|
83
99
|
*/
|
|
84
100
|
waitReady(deviceID: string, options?: RequestOptions): APIPromise<Device>;
|
|
85
101
|
}
|
|
@@ -100,8 +116,14 @@ export interface Device {
|
|
|
100
116
|
* A URL to the JSON Schema for this object.
|
|
101
117
|
*/
|
|
102
118
|
$schema?: string;
|
|
119
|
+
billingStrategy?: string;
|
|
120
|
+
createdBy?: string;
|
|
121
|
+
ownerId?: string;
|
|
103
122
|
providerId?: string;
|
|
104
123
|
streamToken?: string;
|
|
124
|
+
/**
|
|
125
|
+
* @deprecated Deprecated: use ownerId/createdBy.
|
|
126
|
+
*/
|
|
105
127
|
userId?: string;
|
|
106
128
|
}
|
|
107
129
|
export interface DeviceListResponse {
|
|
@@ -142,15 +164,26 @@ export declare namespace DeviceFingerprintResponse {
|
|
|
142
164
|
}
|
|
143
165
|
}
|
|
144
166
|
export interface DeviceCreateParams {
|
|
167
|
+
/**
|
|
168
|
+
* Query param: Billing mode. 'auto' uses a subscription slot when available and
|
|
169
|
+
* otherwise bills per minute; 'subscription' requires an available subscription
|
|
170
|
+
* slot; 'minute' bills per minute. Only cloud phone and cloud emulator devices
|
|
171
|
+
* support per-minute billing.
|
|
172
|
+
*/
|
|
173
|
+
billing?: 'auto' | 'subscription' | 'minute';
|
|
145
174
|
/**
|
|
146
175
|
* Query param: ISO 3166-1 alpha-2 country code. If omitted the system picks the
|
|
147
176
|
* country with the most availability.
|
|
148
177
|
*/
|
|
149
178
|
query_country?: string;
|
|
150
179
|
/**
|
|
151
|
-
* Query param
|
|
180
|
+
* Query param: Deprecated device type aliases are accepted during a compatibility
|
|
181
|
+
* grace period: dedicated_premium_device maps to android_cloud_phone,
|
|
182
|
+
* dedicated_physical_device maps to android_physical_phone, dedicated_ios_device
|
|
183
|
+
* maps to ios_stealth_phone, and dedicated_emulated_device maps to
|
|
184
|
+
* android_emulator.
|
|
152
185
|
*/
|
|
153
|
-
deviceType?: '
|
|
186
|
+
deviceType?: 'android_cloud_phone' | 'dedicated_premium_device' | 'dedicated_physical_device' | 'dedicated_ios_device' | 'dedicated_emulated_device';
|
|
154
187
|
/**
|
|
155
188
|
* Query param: Profile ID to use as device spec
|
|
156
189
|
*/
|
|
@@ -202,21 +235,50 @@ export interface DeviceCreateParams {
|
|
|
202
235
|
}
|
|
203
236
|
export declare namespace DeviceCreateParams {
|
|
204
237
|
interface Proxy {
|
|
238
|
+
connect?: Proxy.Connect;
|
|
205
239
|
name?: string;
|
|
206
240
|
smartIp?: boolean;
|
|
207
241
|
socks5?: Shared.Socks5;
|
|
208
242
|
}
|
|
243
|
+
namespace Proxy {
|
|
244
|
+
interface Connect {
|
|
245
|
+
/**
|
|
246
|
+
* Existing Mobilerun Connect proxy id; its credentials are fetched server-side.
|
|
247
|
+
*/
|
|
248
|
+
id?: string;
|
|
249
|
+
/**
|
|
250
|
+
* ISO 3166-1 alpha-2 country code; provisions (or reuses) a rotating residential
|
|
251
|
+
* Mobilerun Connect proxy for the device.
|
|
252
|
+
*/
|
|
253
|
+
country?: string;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
209
256
|
}
|
|
210
257
|
export interface DeviceListParams {
|
|
211
258
|
country?: string;
|
|
259
|
+
/**
|
|
260
|
+
* Filter to devices created by this user id. Mutually exclusive with mine.
|
|
261
|
+
*/
|
|
262
|
+
createdBy?: string;
|
|
263
|
+
/**
|
|
264
|
+
* When true, only return devices created by the calling user (resolved from
|
|
265
|
+
* X-User-ID, never a client-supplied id).
|
|
266
|
+
*/
|
|
267
|
+
mine?: boolean;
|
|
212
268
|
name?: string;
|
|
213
269
|
orderBy?: 'id' | 'createdAt' | 'updatedAt' | 'assignedAt';
|
|
214
270
|
orderByDirection?: 'asc' | 'desc';
|
|
215
271
|
page?: number;
|
|
216
272
|
pageSize?: number;
|
|
217
273
|
providerId?: string;
|
|
218
|
-
state?: Array<'creating' | 'assigned' | 'ready' | 'rebooting' | 'migrating' | 'resetting' | 'terminated' | 'maintenance' | 'unknown'> | null;
|
|
219
|
-
|
|
274
|
+
state?: Array<'creating' | 'assigned' | 'ready' | 'rebooting' | 'migrating' | 'resetting' | 'terminated' | 'maintenance' | 'stopped' | 'unknown'> | null;
|
|
275
|
+
/**
|
|
276
|
+
* Deprecated device type aliases are accepted during a compatibility grace period:
|
|
277
|
+
* dedicated_premium_device maps to android_cloud_phone, dedicated_physical_device
|
|
278
|
+
* maps to android_physical_phone, dedicated_ios_device maps to ios_stealth_phone,
|
|
279
|
+
* and dedicated_emulated_device maps to android_emulator.
|
|
280
|
+
*/
|
|
281
|
+
type?: 'android_cloud_phone' | 'dedicated_premium_device' | 'dedicated_physical_device' | 'dedicated_ios_device' | 'dedicated_emulated_device';
|
|
220
282
|
}
|
|
221
283
|
export interface DeviceFingerprintParams {
|
|
222
284
|
'X-Device-Display-ID'?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devices.d.ts","sourceRoot":"","sources":["../../src/resources/devices/devices.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,EACL,kBAAkB,EAClB,0BAA0B,EAC1B,4BAA4B,EAC5B,6BAA6B,EAC7B,iBAAiB,EACjB,eAAe,EACf,OAAO,EACR,qBAAkB;AACnB,OAAO,KAAK,OAAO,kBAAe;AAClC,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,cAAc,EACd,aAAa,EACb,IAAI,EACL,kBAAe;AAChB,OAAO,KAAK,OAAO,kBAAe;AAClC,OAAO,EACL,IAAI,EACJ,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EACjB,k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AAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -50,36 +50,44 @@ class Devices extends resource_1.APIResource {
|
|
|
50
50
|
this.language = new LanguageAPI.Language(this._client);
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Requests a new device for the authenticated user from the device spec in the
|
|
54
|
+
* request body. Optional query parameters select the canonical device type, target
|
|
55
|
+
* country, billing mode, and a profile to use as the base spec; deprecated
|
|
56
|
+
* device-type aliases remain accepted only during the documented compatibility
|
|
57
|
+
* grace period. The response returns the device and its stream token.
|
|
54
58
|
*/
|
|
55
59
|
create(params, options) {
|
|
56
|
-
const { query_country, deviceType, profileId, ...body } = params;
|
|
60
|
+
const { billing, query_country, deviceType, profileId, ...body } = params;
|
|
57
61
|
return this._client.post('/devices', {
|
|
58
|
-
query: { country: query_country, deviceType, profileId },
|
|
62
|
+
query: { billing, country: query_country, deviceType, profileId },
|
|
59
63
|
body,
|
|
60
64
|
...options,
|
|
61
65
|
});
|
|
62
66
|
}
|
|
63
67
|
/**
|
|
64
|
-
*
|
|
68
|
+
* Returns the current state and metadata for a single device, including its
|
|
69
|
+
* lifecycle state, type, stream URL, billing strategy, and timestamps. A stream
|
|
70
|
+
* token is included while the device is active.
|
|
65
71
|
*/
|
|
66
72
|
retrieve(deviceID, options) {
|
|
67
73
|
return this._client.get((0, path_1.path) `/devices/${deviceID}`, options);
|
|
68
74
|
}
|
|
69
75
|
/**
|
|
70
|
-
*
|
|
76
|
+
* Returns a paginated list of the user's devices along with pagination metadata.
|
|
71
77
|
*/
|
|
72
78
|
list(query = {}, options) {
|
|
73
79
|
return this._client.get('/devices', { query, ...options });
|
|
74
80
|
}
|
|
75
81
|
/**
|
|
76
|
-
*
|
|
82
|
+
* Returns the number of claimed devices for the user, broken down by device type.
|
|
77
83
|
*/
|
|
78
84
|
count(options) {
|
|
79
85
|
return this._client.get('/devices/count', options);
|
|
80
86
|
}
|
|
81
87
|
/**
|
|
82
|
-
*
|
|
88
|
+
* Returns a live snapshot of the device's spoofed identity, including model,
|
|
89
|
+
* display, identifiers, and carrier. Devices without fingerprint support return an
|
|
90
|
+
* unsupported-feature error.
|
|
83
91
|
*/
|
|
84
92
|
fingerprint(deviceID, params = {}, options) {
|
|
85
93
|
const { 'X-Device-Display-ID': xDeviceDisplayID } = params ?? {};
|
|
@@ -96,7 +104,8 @@ class Devices extends resource_1.APIResource {
|
|
|
96
104
|
});
|
|
97
105
|
}
|
|
98
106
|
/**
|
|
99
|
-
*
|
|
107
|
+
* Triggers a reboot of the device. The device transitions through its reboot
|
|
108
|
+
* lifecycle and becomes ready again once the restart completes.
|
|
100
109
|
*/
|
|
101
110
|
reboot(deviceID, options) {
|
|
102
111
|
return this._client.post((0, path_1.path) `/devices/${deviceID}/reboot`, {
|
|
@@ -105,7 +114,9 @@ class Devices extends resource_1.APIResource {
|
|
|
105
114
|
});
|
|
106
115
|
}
|
|
107
116
|
/**
|
|
108
|
-
*
|
|
117
|
+
* Resets the device back to a clean state, clearing installed apps and user data
|
|
118
|
+
* accumulated during the session. The device transitions through its reset
|
|
119
|
+
* lifecycle before becoming ready again.
|
|
109
120
|
*/
|
|
110
121
|
reset(deviceID, options) {
|
|
111
122
|
return this._client.post((0, path_1.path) `/devices/${deviceID}/reset`, {
|
|
@@ -114,13 +125,16 @@ class Devices extends resource_1.APIResource {
|
|
|
114
125
|
});
|
|
115
126
|
}
|
|
116
127
|
/**
|
|
117
|
-
*
|
|
128
|
+
* Sets the display name for a device from the name in the request body and returns
|
|
129
|
+
* the updated device.
|
|
118
130
|
*/
|
|
119
131
|
setName(deviceID, body, options) {
|
|
120
132
|
return this._client.put((0, path_1.path) `/devices/${deviceID}/name`, { body, ...options });
|
|
121
133
|
}
|
|
122
134
|
/**
|
|
123
|
-
*
|
|
135
|
+
* Terminates the device and releases its resources. Termination can be scheduled
|
|
136
|
+
* for a future time or chained from a previous device via the request body, in
|
|
137
|
+
* which case a service key is required.
|
|
124
138
|
*/
|
|
125
139
|
terminate(deviceID, body, options) {
|
|
126
140
|
return this._client.delete((0, path_1.path) `/devices/${deviceID}`, {
|
|
@@ -130,7 +144,9 @@ class Devices extends resource_1.APIResource {
|
|
|
130
144
|
});
|
|
131
145
|
}
|
|
132
146
|
/**
|
|
133
|
-
*
|
|
147
|
+
* Blocks until the device reaches the ready state, then returns the same payload
|
|
148
|
+
* as Get device info. The call returns early with an error if the wait is
|
|
149
|
+
* cancelled or times out.
|
|
134
150
|
*/
|
|
135
151
|
waitReady(deviceID, options) {
|
|
136
152
|
return this._client.get((0, path_1.path) `/devices/${deviceID}/wait`, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devices.js","sourceRoot":"","sources":["../../src/resources/devices/devices.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAElD,iEAAwC;AACxC,0CAQmB;AACnB,2DAAkC;AAClC,oCAQgB;AAChB,2DAAkC;AAClC,oCAQgB;AAChB,6DAAoC;AACpC,sCASiB;AACjB,mEAA0C;AAC1C,4CAAmG;AACnG,mEAA0C;AAC1C,4CAAiG;AACjG,mEAA0C;AAC1C,4CAA4E;AAC5E,mEAA0C;AAC1C,4CAA8E;AAC9E,iEAAwC;AACxC,0CAAyD;AACzD,6DAAoC;AACpC,sCAMiB;AACjB,6DAAoC;AACpC,sCAUiB;AACjB,6DAAoC;AACpC,sCAAkE;AAClE,mEAA0C;AAC1C,4CAAiG;AAEjG,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,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AAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,SAAS,CAAC,QAAgB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,OAAO,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;CACF;AArID,0BAqIC;AA8RD,OAAO,CAAC,OAAO,GAAG,iBAAO,CAAC;AAC1B,OAAO,CAAC,IAAI,GAAG,WAAI,CAAC;AACpB,OAAO,CAAC,IAAI,GAAG,WAAI,CAAC;AACpB,OAAO,CAAC,KAAK,GAAG,aAAK,CAAC;AACtB,OAAO,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AAC5B,OAAO,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AAC5B,OAAO,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AAC5B,OAAO,CAAC,OAAO,GAAG,iBAAO,CAAC;AAC1B,OAAO,CAAC,KAAK,GAAG,aAAa,CAAC;AAC9B,OAAO,CAAC,KAAK,GAAG,aAAK,CAAC;AACtB,OAAO,CAAC,KAAK,GAAG,aAAK,CAAC;AACtB,OAAO,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AAC5B,OAAO,CAAC,QAAQ,GAAG,mBAAQ,CAAC"}
|
|
@@ -46,36 +46,44 @@ export class Devices extends APIResource {
|
|
|
46
46
|
this.language = new LanguageAPI.Language(this._client);
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Requests a new device for the authenticated user from the device spec in the
|
|
50
|
+
* request body. Optional query parameters select the canonical device type, target
|
|
51
|
+
* country, billing mode, and a profile to use as the base spec; deprecated
|
|
52
|
+
* device-type aliases remain accepted only during the documented compatibility
|
|
53
|
+
* grace period. The response returns the device and its stream token.
|
|
50
54
|
*/
|
|
51
55
|
create(params, options) {
|
|
52
|
-
const { query_country, deviceType, profileId, ...body } = params;
|
|
56
|
+
const { billing, query_country, deviceType, profileId, ...body } = params;
|
|
53
57
|
return this._client.post('/devices', {
|
|
54
|
-
query: { country: query_country, deviceType, profileId },
|
|
58
|
+
query: { billing, country: query_country, deviceType, profileId },
|
|
55
59
|
body,
|
|
56
60
|
...options,
|
|
57
61
|
});
|
|
58
62
|
}
|
|
59
63
|
/**
|
|
60
|
-
*
|
|
64
|
+
* Returns the current state and metadata for a single device, including its
|
|
65
|
+
* lifecycle state, type, stream URL, billing strategy, and timestamps. A stream
|
|
66
|
+
* token is included while the device is active.
|
|
61
67
|
*/
|
|
62
68
|
retrieve(deviceID, options) {
|
|
63
69
|
return this._client.get(path `/devices/${deviceID}`, options);
|
|
64
70
|
}
|
|
65
71
|
/**
|
|
66
|
-
*
|
|
72
|
+
* Returns a paginated list of the user's devices along with pagination metadata.
|
|
67
73
|
*/
|
|
68
74
|
list(query = {}, options) {
|
|
69
75
|
return this._client.get('/devices', { query, ...options });
|
|
70
76
|
}
|
|
71
77
|
/**
|
|
72
|
-
*
|
|
78
|
+
* Returns the number of claimed devices for the user, broken down by device type.
|
|
73
79
|
*/
|
|
74
80
|
count(options) {
|
|
75
81
|
return this._client.get('/devices/count', options);
|
|
76
82
|
}
|
|
77
83
|
/**
|
|
78
|
-
*
|
|
84
|
+
* Returns a live snapshot of the device's spoofed identity, including model,
|
|
85
|
+
* display, identifiers, and carrier. Devices without fingerprint support return an
|
|
86
|
+
* unsupported-feature error.
|
|
79
87
|
*/
|
|
80
88
|
fingerprint(deviceID, params = {}, options) {
|
|
81
89
|
const { 'X-Device-Display-ID': xDeviceDisplayID } = params ?? {};
|
|
@@ -92,7 +100,8 @@ export class Devices extends APIResource {
|
|
|
92
100
|
});
|
|
93
101
|
}
|
|
94
102
|
/**
|
|
95
|
-
*
|
|
103
|
+
* Triggers a reboot of the device. The device transitions through its reboot
|
|
104
|
+
* lifecycle and becomes ready again once the restart completes.
|
|
96
105
|
*/
|
|
97
106
|
reboot(deviceID, options) {
|
|
98
107
|
return this._client.post(path `/devices/${deviceID}/reboot`, {
|
|
@@ -101,7 +110,9 @@ export class Devices extends APIResource {
|
|
|
101
110
|
});
|
|
102
111
|
}
|
|
103
112
|
/**
|
|
104
|
-
*
|
|
113
|
+
* Resets the device back to a clean state, clearing installed apps and user data
|
|
114
|
+
* accumulated during the session. The device transitions through its reset
|
|
115
|
+
* lifecycle before becoming ready again.
|
|
105
116
|
*/
|
|
106
117
|
reset(deviceID, options) {
|
|
107
118
|
return this._client.post(path `/devices/${deviceID}/reset`, {
|
|
@@ -110,13 +121,16 @@ export class Devices extends APIResource {
|
|
|
110
121
|
});
|
|
111
122
|
}
|
|
112
123
|
/**
|
|
113
|
-
*
|
|
124
|
+
* Sets the display name for a device from the name in the request body and returns
|
|
125
|
+
* the updated device.
|
|
114
126
|
*/
|
|
115
127
|
setName(deviceID, body, options) {
|
|
116
128
|
return this._client.put(path `/devices/${deviceID}/name`, { body, ...options });
|
|
117
129
|
}
|
|
118
130
|
/**
|
|
119
|
-
*
|
|
131
|
+
* Terminates the device and releases its resources. Termination can be scheduled
|
|
132
|
+
* for a future time or chained from a previous device via the request body, in
|
|
133
|
+
* which case a service key is required.
|
|
120
134
|
*/
|
|
121
135
|
terminate(deviceID, body, options) {
|
|
122
136
|
return this._client.delete(path `/devices/${deviceID}`, {
|
|
@@ -126,7 +140,9 @@ export class Devices extends APIResource {
|
|
|
126
140
|
});
|
|
127
141
|
}
|
|
128
142
|
/**
|
|
129
|
-
*
|
|
143
|
+
* Blocks until the device reaches the ready state, then returns the same payload
|
|
144
|
+
* as Get device info. The call returns early with an error if the wait is
|
|
145
|
+
* cancelled or times out.
|
|
130
146
|
*/
|
|
131
147
|
waitReady(deviceID, options) {
|
|
132
148
|
return this._client.get(path `/devices/${deviceID}/wait`, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file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GAAG,QAAQ,CAAC;AAC5B,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC5B,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC;AAC1B,OAAO,CAAC,KAAK,GAAG,aAAa,CAAC;AAC9B,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC;AACtB,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC;AACtB,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC5B,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
|
|
@@ -3,19 +3,21 @@ import { APIPromise } from "../../core/api-promise.mjs";
|
|
|
3
3
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
4
|
export declare class Esim extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Returns the eSIM subscriptions currently provisioned on the device.
|
|
7
7
|
*/
|
|
8
8
|
list(deviceID: string, params?: EsimListParams | null | undefined, options?: RequestOptions): APIPromise<EsimListResponse | null>;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Download profile and/or enable subscription.
|
|
11
11
|
*/
|
|
12
12
|
activate(deviceID: string, params: EsimActivateParams, options?: RequestOptions): APIPromise<EsimActivateResponse>;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Enables the eSIM subscription identified by the subId in the request body so it
|
|
15
|
+
* becomes the active subscription.
|
|
15
16
|
*/
|
|
16
17
|
enable(deviceID: string, params: EsimEnableParams, options?: RequestOptions): APIPromise<void>;
|
|
17
18
|
/**
|
|
18
|
-
*
|
|
19
|
+
* Deletes the eSIM subscription identified by the subId query parameter from the
|
|
20
|
+
* device.
|
|
19
21
|
*/
|
|
20
22
|
remove(deviceID: string, params: EsimRemoveParams, options?: RequestOptions): APIPromise<void>;
|
|
21
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esim.d.mts","sourceRoot":"","sources":["../../src/resources/devices/esim.ts"],"names":[],"mappings":"AA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AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
|
@@ -3,19 +3,21 @@ import { APIPromise } from "../../core/api-promise.js";
|
|
|
3
3
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
4
|
export declare class Esim extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Returns the eSIM subscriptions currently provisioned on the device.
|
|
7
7
|
*/
|
|
8
8
|
list(deviceID: string, params?: EsimListParams | null | undefined, options?: RequestOptions): APIPromise<EsimListResponse | null>;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Download profile and/or enable subscription.
|
|
11
11
|
*/
|
|
12
12
|
activate(deviceID: string, params: EsimActivateParams, options?: RequestOptions): APIPromise<EsimActivateResponse>;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Enables the eSIM subscription identified by the subId in the request body so it
|
|
15
|
+
* becomes the active subscription.
|
|
15
16
|
*/
|
|
16
17
|
enable(deviceID: string, params: EsimEnableParams, options?: RequestOptions): APIPromise<void>;
|
|
17
18
|
/**
|
|
18
|
-
*
|
|
19
|
+
* Deletes the eSIM subscription identified by the subId query parameter from the
|
|
20
|
+
* device.
|
|
19
21
|
*/
|
|
20
22
|
remove(deviceID: string, params: EsimRemoveParams, options?: RequestOptions): APIPromise<void>;
|
|
21
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esim.d.ts","sourceRoot":"","sources":["../../src/resources/devices/esim.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,IAAI,CACF,QAAQ,EAAE,MAAM,EAChB,MAAM,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,GAAG,IAAI,CAAC;IAetC;;OAEG;IACH,QAAQ,CACN,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAgBnC
|
|
1
|
+
{"version":3,"file":"esim.d.ts","sourceRoot":"","sources":["../../src/resources/devices/esim.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,IAAI,CACF,QAAQ,EAAE,MAAM,EAChB,MAAM,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,GAAG,IAAI,CAAC;IAetC;;OAEG;IACH,QAAQ,CACN,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAgBnC;;;OAGG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAiB9F;;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,MAAM,CAAC;IAEd;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
|
@@ -7,7 +7,7 @@ const headers_1 = require("../../internal/headers.js");
|
|
|
7
7
|
const path_1 = require("../../internal/utils/path.js");
|
|
8
8
|
class Esim extends resource_1.APIResource {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Returns the eSIM subscriptions currently provisioned on the device.
|
|
11
11
|
*/
|
|
12
12
|
list(deviceID, params = {}, options) {
|
|
13
13
|
const { 'X-Device-Display-ID': xDeviceDisplayID } = params ?? {};
|
|
@@ -24,7 +24,7 @@ class Esim extends resource_1.APIResource {
|
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Download profile and/or enable subscription.
|
|
28
28
|
*/
|
|
29
29
|
activate(deviceID, params, options) {
|
|
30
30
|
const { 'X-Device-Display-ID': xDeviceDisplayID, ...body } = params;
|
|
@@ -42,7 +42,8 @@ class Esim extends resource_1.APIResource {
|
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Enables the eSIM subscription identified by the subId in the request body so it
|
|
46
|
+
* becomes the active subscription.
|
|
46
47
|
*/
|
|
47
48
|
enable(deviceID, params, options) {
|
|
48
49
|
const { 'X-Device-Display-ID': xDeviceDisplayID, ...body } = params;
|
|
@@ -61,7 +62,8 @@ class Esim extends resource_1.APIResource {
|
|
|
61
62
|
});
|
|
62
63
|
}
|
|
63
64
|
/**
|
|
64
|
-
*
|
|
65
|
+
* Deletes the eSIM subscription identified by the subId query parameter from the
|
|
66
|
+
* device.
|
|
65
67
|
*/
|
|
66
68
|
remove(deviceID, params, options) {
|
|
67
69
|
const { subId, 'X-Device-Display-ID': xDeviceDisplayID } = params;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esim.js","sourceRoot":"","sources":["../../src/resources/devices/esim.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,IAAK,SAAQ,sBAAW;IACnC;;OAEG;IACH,IAAI,CACF,QAAgB,EAChB,SAA4C,EAAE,EAC9C,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,QAAQ,OAAO,EAAE;YACvD,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,gBAAgB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBACxC,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,QAAQ,EAAE,EAAE;wBACzD,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,QAAgB,EAChB,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,W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EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,MAAM,EAAE,KAAK;oBACb,GAAG,CAAC,gBAAgB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBACxC,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,QAAQ,EAAE,EAAE;wBACzD,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AAvFD,oBAuFC"}
|
|
@@ -4,7 +4,7 @@ import { buildHeaders } from "../../internal/headers.mjs";
|
|
|
4
4
|
import { path } from "../../internal/utils/path.mjs";
|
|
5
5
|
export class Esim extends APIResource {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Returns the eSIM subscriptions currently provisioned on the device.
|
|
8
8
|
*/
|
|
9
9
|
list(deviceID, params = {}, options) {
|
|
10
10
|
const { 'X-Device-Display-ID': xDeviceDisplayID } = params ?? {};
|
|
@@ -21,7 +21,7 @@ export class Esim extends APIResource {
|
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Download profile and/or enable subscription.
|
|
25
25
|
*/
|
|
26
26
|
activate(deviceID, params, options) {
|
|
27
27
|
const { 'X-Device-Display-ID': xDeviceDisplayID, ...body } = params;
|
|
@@ -39,7 +39,8 @@ export class Esim extends APIResource {
|
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Enables the eSIM subscription identified by the subId in the request body so it
|
|
43
|
+
* becomes the active subscription.
|
|
43
44
|
*/
|
|
44
45
|
enable(deviceID, params, options) {
|
|
45
46
|
const { 'X-Device-Display-ID': xDeviceDisplayID, ...body } = params;
|
|
@@ -58,7 +59,8 @@ export class Esim extends APIResource {
|
|
|
58
59
|
});
|
|
59
60
|
}
|
|
60
61
|
/**
|
|
61
|
-
*
|
|
62
|
+
* Deletes the eSIM subscription identified by the subId query parameter from the
|
|
63
|
+
* device.
|
|
62
64
|
*/
|
|
63
65
|
remove(deviceID, params, options) {
|
|
64
66
|
const { subId, 'X-Device-Display-ID': xDeviceDisplayID } = params;
|