@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
package/src/resources/hooks.ts
CHANGED
|
@@ -1,337 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
|
-
import * as Shared from './shared';
|
|
5
|
-
import * as TasksAPI from './tasks/tasks';
|
|
6
|
-
import { APIPromise } from '../core/api-promise';
|
|
7
|
-
import { RequestOptions } from '../internal/request-options';
|
|
8
|
-
import { path } from '../internal/utils/path';
|
|
9
4
|
|
|
10
|
-
export class Hooks extends APIResource {
|
|
11
|
-
/**
|
|
12
|
-
* Get a hook subscription by id.
|
|
13
|
-
*/
|
|
14
|
-
retrieve(hookID: string, options?: RequestOptions): APIPromise<HookRetrieveResponse> {
|
|
15
|
-
return this._client.get(path`/hooks/${hookID}`, options);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Edit a hook subscription (events or state).
|
|
20
|
-
*
|
|
21
|
-
* Allows updating the events filter and/or the state of a hook.
|
|
22
|
-
*/
|
|
23
|
-
update(hookID: string, body: HookUpdateParams, options?: RequestOptions): APIPromise<HookUpdateResponse> {
|
|
24
|
-
return this._client.post(path`/hooks/${hookID}/edit`, { body, ...options });
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* List hooks belonging to the requesting user (paginated).
|
|
29
|
-
*/
|
|
30
|
-
list(
|
|
31
|
-
query: HookListParams | null | undefined = {},
|
|
32
|
-
options?: RequestOptions,
|
|
33
|
-
): APIPromise<HookListResponse> {
|
|
34
|
-
return this._client.get('/hooks', { query, ...options });
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Get sample hook data for Zapier Perform List (testing/field mapping).
|
|
39
|
-
*/
|
|
40
|
-
getSampleData(options?: RequestOptions): APIPromise<HookGetSampleDataResponse> {
|
|
41
|
-
return this._client.get('/hooks/sample', options);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Zapier Perform endpoint - processes webhook payloads.
|
|
46
|
-
*/
|
|
47
|
-
perform(params: HookPerformParams, options?: RequestOptions): APIPromise<HookPerformResponse> {
|
|
48
|
-
const { body } = params;
|
|
49
|
-
return this._client.post('/hooks/perform', { body: body, ...options });
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Subscribe the current user to a webhook URL. Returns subscription id.
|
|
54
|
-
*/
|
|
55
|
-
subscribe(body: HookSubscribeParams, options?: RequestOptions): APIPromise<HookSubscribeResponse> {
|
|
56
|
-
return this._client.post('/hooks/subscribe', { body, ...options });
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Send a test event to a webhook endpoint.
|
|
61
|
-
*
|
|
62
|
-
* Delivers a sample payload to the hook's URL with a single attempt (no retries)
|
|
63
|
-
* for fast feedback.
|
|
64
|
-
*/
|
|
65
|
-
test(hookID: string, body: HookTestParams, options?: RequestOptions): APIPromise<HookTestResponse> {
|
|
66
|
-
return this._client.post(path`/hooks/${hookID}/test`, { body, ...options });
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Unsubscribe a previously created subscription by id.
|
|
71
|
-
*
|
|
72
|
-
* Permanently deletes the subscription if it belongs to the user.
|
|
73
|
-
*/
|
|
74
|
-
unsubscribe(hookID: string, options?: RequestOptions): APIPromise<HookUnsubscribeResponse> {
|
|
75
|
-
return this._client.post(path`/hooks/${hookID}/unsubscribe`, options);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export interface HookRetrieveResponse {
|
|
80
|
-
service: 'zapier' | 'n8n' | 'make' | 'internal' | 'other';
|
|
81
|
-
|
|
82
|
-
url: string;
|
|
83
|
-
|
|
84
|
-
userId: string;
|
|
85
|
-
|
|
86
|
-
id?: string;
|
|
87
|
-
|
|
88
|
-
createdAt?: string;
|
|
89
|
-
|
|
90
|
-
events?: Array<TasksAPI.TaskStatus>;
|
|
91
|
-
|
|
92
|
-
state?: 'active' | 'disabled' | 'deleted';
|
|
93
|
-
|
|
94
|
-
updatedAt?: string;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Response model after successfully editing a hook.
|
|
99
|
-
*/
|
|
100
|
-
export interface HookUpdateResponse {
|
|
101
|
-
/**
|
|
102
|
-
* The subscription ID
|
|
103
|
-
*/
|
|
104
|
-
id: string;
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* The hook state
|
|
108
|
-
*/
|
|
109
|
-
state: string;
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* Whether the hook was updated
|
|
113
|
-
*/
|
|
114
|
-
updated: boolean;
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* The webhook URL
|
|
118
|
-
*/
|
|
119
|
-
url: string;
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* List of subscribed events
|
|
123
|
-
*/
|
|
124
|
-
events?: Array<string> | null;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
export interface HookListResponse {
|
|
128
|
-
/**
|
|
129
|
-
* The paginated items
|
|
130
|
-
*/
|
|
131
|
-
items: Array<HookListResponse.Item>;
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* Pagination metadata
|
|
135
|
-
*/
|
|
136
|
-
pagination: Shared.PaginationMeta;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export namespace HookListResponse {
|
|
140
|
-
export interface Item {
|
|
141
|
-
service: 'zapier' | 'n8n' | 'make' | 'internal' | 'other';
|
|
142
|
-
|
|
143
|
-
url: string;
|
|
144
|
-
|
|
145
|
-
userId: string;
|
|
146
|
-
|
|
147
|
-
id?: string;
|
|
148
|
-
|
|
149
|
-
createdAt?: string;
|
|
150
|
-
|
|
151
|
-
events?: Array<TasksAPI.TaskStatus>;
|
|
152
|
-
|
|
153
|
-
state?: 'active' | 'disabled' | 'deleted';
|
|
154
|
-
|
|
155
|
-
updatedAt?: string;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
export type HookGetSampleDataResponse = Array<HookGetSampleDataResponse.HookGetSampleDataResponseItem>;
|
|
160
|
-
|
|
161
|
-
export namespace HookGetSampleDataResponse {
|
|
162
|
-
/**
|
|
163
|
-
* Sample webhook event data for testing/mapping in Zapier.
|
|
164
|
-
*/
|
|
165
|
-
export interface HookGetSampleDataResponseItem {
|
|
166
|
-
/**
|
|
167
|
-
* The subscription ID
|
|
168
|
-
*/
|
|
169
|
-
id: string;
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* ISO timestamp of when the subscription was created
|
|
173
|
-
*/
|
|
174
|
-
createdAt: string;
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* List of subscribed events
|
|
178
|
-
*/
|
|
179
|
-
events: Array<string>;
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* The hook state
|
|
183
|
-
*/
|
|
184
|
-
state: string;
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* The webhook URL
|
|
188
|
-
*/
|
|
189
|
-
url: string;
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* ISO timestamp of the last update
|
|
193
|
-
*/
|
|
194
|
-
updatedAt?: string | null;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
export type HookPerformResponse = Array<{ [key: string]: unknown }>;
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* Response model after successful subscription.
|
|
202
|
-
*/
|
|
203
|
-
export interface HookSubscribeResponse {
|
|
204
|
-
/**
|
|
205
|
-
* The subscription ID
|
|
206
|
-
*/
|
|
207
|
-
id: string;
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* Whether subscription was successful
|
|
211
|
-
*/
|
|
212
|
-
subscribed: boolean;
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* The webhook URL
|
|
216
|
-
*/
|
|
217
|
-
url: string;
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* List of subscribed events
|
|
221
|
-
*/
|
|
222
|
-
events?: Array<string> | null;
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* Service that receives the webhook
|
|
226
|
-
*/
|
|
227
|
-
service?: string | null;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* Response after attempting test delivery.
|
|
232
|
-
*/
|
|
233
|
-
export interface HookTestResponse {
|
|
234
|
-
/**
|
|
235
|
-
* The hook ID
|
|
236
|
-
*/
|
|
237
|
-
id: string;
|
|
238
|
-
|
|
239
|
-
/**
|
|
240
|
-
* Whether delivery succeeded (2xx)
|
|
241
|
-
*/
|
|
242
|
-
success: boolean;
|
|
243
|
-
|
|
244
|
-
/**
|
|
245
|
-
* Error message if delivery failed
|
|
246
|
-
*/
|
|
247
|
-
error?: string | null;
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
* HTTP status from target
|
|
251
|
-
*/
|
|
252
|
-
statusCode?: number | null;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
/**
|
|
256
|
-
* Response model after successful unsubscription.
|
|
257
|
-
*/
|
|
258
|
-
export interface HookUnsubscribeResponse {
|
|
259
|
-
/**
|
|
260
|
-
* The subscription ID
|
|
261
|
-
*/
|
|
262
|
-
id: string;
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* Whether unsubscription was successful
|
|
266
|
-
*/
|
|
267
|
-
unsubscribed: boolean;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
export interface HookUpdateParams {
|
|
271
|
-
/**
|
|
272
|
-
* Updated list of events to subscribe to
|
|
273
|
-
*/
|
|
274
|
-
events?: Array<string> | null;
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* Updated hook state (active, disabled, deleted)
|
|
278
|
-
*/
|
|
279
|
-
state?: string | null;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
export interface HookListParams {
|
|
283
|
-
orderBy?: string | null;
|
|
284
|
-
|
|
285
|
-
orderByDirection?: 'asc' | 'desc';
|
|
286
|
-
|
|
287
|
-
page?: number;
|
|
288
|
-
|
|
289
|
-
pageSize?: number;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
export interface HookPerformParams {
|
|
293
|
-
body: { [key: string]: unknown };
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
export interface HookSubscribeParams {
|
|
297
|
-
/**
|
|
298
|
-
* The webhook URL to send notifications to
|
|
299
|
-
*/
|
|
300
|
-
targetUrl: string;
|
|
301
|
-
|
|
302
|
-
/**
|
|
303
|
-
* List of task events to subscribe to (created, running, completed, failed,
|
|
304
|
-
* cancelled, paused)
|
|
305
|
-
*/
|
|
306
|
-
events?: Array<string> | null;
|
|
307
|
-
|
|
308
|
-
/**
|
|
309
|
-
* Service that receives the webhook
|
|
310
|
-
*/
|
|
311
|
-
service?: string | null;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
export interface HookTestParams {
|
|
315
|
-
/**
|
|
316
|
-
* Event type to simulate (default: completed)
|
|
317
|
-
*/
|
|
318
|
-
event?: string | null;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
export declare namespace Hooks {
|
|
322
|
-
export {
|
|
323
|
-
type HookRetrieveResponse as HookRetrieveResponse,
|
|
324
|
-
type HookUpdateResponse as HookUpdateResponse,
|
|
325
|
-
type HookListResponse as HookListResponse,
|
|
326
|
-
type HookGetSampleDataResponse as HookGetSampleDataResponse,
|
|
327
|
-
type HookPerformResponse as HookPerformResponse,
|
|
328
|
-
type HookSubscribeResponse as HookSubscribeResponse,
|
|
329
|
-
type HookTestResponse as HookTestResponse,
|
|
330
|
-
type HookUnsubscribeResponse as HookUnsubscribeResponse,
|
|
331
|
-
type HookUpdateParams as HookUpdateParams,
|
|
332
|
-
type HookListParams as HookListParams,
|
|
333
|
-
type HookPerformParams as HookPerformParams,
|
|
334
|
-
type HookSubscribeParams as HookSubscribeParams,
|
|
335
|
-
type HookTestParams as HookTestParams,
|
|
336
|
-
};
|
|
337
|
-
}
|
|
5
|
+
export class Hooks extends APIResource {}
|
package/src/resources/index.ts
CHANGED
|
@@ -44,26 +44,13 @@ export {
|
|
|
44
44
|
type DeviceSetNameParams,
|
|
45
45
|
type DeviceTerminateParams,
|
|
46
46
|
} from './devices/devices';
|
|
47
|
-
export {
|
|
48
|
-
Hooks,
|
|
49
|
-
type HookRetrieveResponse,
|
|
50
|
-
type HookUpdateResponse,
|
|
51
|
-
type HookListResponse,
|
|
52
|
-
type HookGetSampleDataResponse,
|
|
53
|
-
type HookPerformResponse,
|
|
54
|
-
type HookSubscribeResponse,
|
|
55
|
-
type HookTestResponse,
|
|
56
|
-
type HookUnsubscribeResponse,
|
|
57
|
-
type HookUpdateParams,
|
|
58
|
-
type HookListParams,
|
|
59
|
-
type HookPerformParams,
|
|
60
|
-
type HookSubscribeParams,
|
|
61
|
-
type HookTestParams,
|
|
62
|
-
} from './hooks';
|
|
47
|
+
export { Hooks } from './hooks';
|
|
63
48
|
export { Models, type ModelListResponse } from './models';
|
|
64
49
|
export {
|
|
65
50
|
Profiles,
|
|
66
|
-
type
|
|
51
|
+
type ProfileCreateResponse,
|
|
52
|
+
type ProfileRetrieveResponse,
|
|
53
|
+
type ProfileUpdateResponse,
|
|
67
54
|
type ProfileListResponse,
|
|
68
55
|
type ProfileDeleteResponse,
|
|
69
56
|
type ProfileCreateParams,
|
|
@@ -10,21 +10,25 @@ export class Profiles extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* Create a new device profile
|
|
12
12
|
*/
|
|
13
|
-
create(body: ProfileCreateParams, options?: RequestOptions): APIPromise<
|
|
13
|
+
create(body: ProfileCreateParams, options?: RequestOptions): APIPromise<ProfileCreateResponse> {
|
|
14
14
|
return this._client.post('/profiles', { body, ...options });
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Get device profile by ID
|
|
19
19
|
*/
|
|
20
|
-
retrieve(profileID: string, options?: RequestOptions): APIPromise<
|
|
20
|
+
retrieve(profileID: string, options?: RequestOptions): APIPromise<ProfileRetrieveResponse> {
|
|
21
21
|
return this._client.get(path`/profiles/${profileID}`, options);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* Update a device profile
|
|
26
26
|
*/
|
|
27
|
-
update(
|
|
27
|
+
update(
|
|
28
|
+
profileID: string,
|
|
29
|
+
body: ProfileUpdateParams,
|
|
30
|
+
options?: RequestOptions,
|
|
31
|
+
): APIPromise<ProfileUpdateResponse> {
|
|
28
32
|
return this._client.put(path`/profiles/${profileID}`, { body, ...options });
|
|
29
33
|
}
|
|
30
34
|
|
|
@@ -46,27 +50,86 @@ export class Profiles extends APIResource {
|
|
|
46
50
|
}
|
|
47
51
|
}
|
|
48
52
|
|
|
49
|
-
export interface
|
|
53
|
+
export interface ProfileCreateResponse {
|
|
54
|
+
id: string;
|
|
55
|
+
|
|
56
|
+
createdAt: string;
|
|
57
|
+
|
|
58
|
+
name: string;
|
|
59
|
+
|
|
60
|
+
ownerId: string;
|
|
61
|
+
|
|
62
|
+
spec: Shared.DeviceSpec;
|
|
63
|
+
|
|
64
|
+
updatedAt: string;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @deprecated Deprecated: use ownerId/createdBy.
|
|
68
|
+
*/
|
|
69
|
+
userId: string;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* A URL to the JSON Schema for this object.
|
|
73
|
+
*/
|
|
74
|
+
$schema?: string;
|
|
75
|
+
|
|
76
|
+
createdBy?: string;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export interface ProfileRetrieveResponse {
|
|
50
80
|
id: string;
|
|
51
81
|
|
|
52
82
|
createdAt: string;
|
|
53
83
|
|
|
54
84
|
name: string;
|
|
55
85
|
|
|
86
|
+
ownerId: string;
|
|
87
|
+
|
|
56
88
|
spec: Shared.DeviceSpec;
|
|
57
89
|
|
|
58
90
|
updatedAt: string;
|
|
59
91
|
|
|
92
|
+
/**
|
|
93
|
+
* @deprecated Deprecated: use ownerId/createdBy.
|
|
94
|
+
*/
|
|
60
95
|
userId: string;
|
|
61
96
|
|
|
62
97
|
/**
|
|
63
98
|
* A URL to the JSON Schema for this object.
|
|
64
99
|
*/
|
|
65
100
|
$schema?: string;
|
|
101
|
+
|
|
102
|
+
createdBy?: string;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export interface ProfileUpdateResponse {
|
|
106
|
+
id: string;
|
|
107
|
+
|
|
108
|
+
createdAt: string;
|
|
109
|
+
|
|
110
|
+
name: string;
|
|
111
|
+
|
|
112
|
+
ownerId: string;
|
|
113
|
+
|
|
114
|
+
spec: Shared.DeviceSpec;
|
|
115
|
+
|
|
116
|
+
updatedAt: string;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @deprecated Deprecated: use ownerId/createdBy.
|
|
120
|
+
*/
|
|
121
|
+
userId: string;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* A URL to the JSON Schema for this object.
|
|
125
|
+
*/
|
|
126
|
+
$schema?: string;
|
|
127
|
+
|
|
128
|
+
createdBy?: string;
|
|
66
129
|
}
|
|
67
130
|
|
|
68
131
|
export interface ProfileListResponse {
|
|
69
|
-
items: Array<
|
|
132
|
+
items: Array<ProfileListResponse.Item> | null;
|
|
70
133
|
|
|
71
134
|
pagination: Shared.Meta;
|
|
72
135
|
|
|
@@ -76,6 +139,34 @@ export interface ProfileListResponse {
|
|
|
76
139
|
$schema?: string;
|
|
77
140
|
}
|
|
78
141
|
|
|
142
|
+
export namespace ProfileListResponse {
|
|
143
|
+
export interface Item {
|
|
144
|
+
id: string;
|
|
145
|
+
|
|
146
|
+
createdAt: string;
|
|
147
|
+
|
|
148
|
+
name: string;
|
|
149
|
+
|
|
150
|
+
ownerId: string;
|
|
151
|
+
|
|
152
|
+
spec: Shared.DeviceSpec;
|
|
153
|
+
|
|
154
|
+
updatedAt: string;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* @deprecated Deprecated: use ownerId/createdBy.
|
|
158
|
+
*/
|
|
159
|
+
userId: string;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* A URL to the JSON Schema for this object.
|
|
163
|
+
*/
|
|
164
|
+
$schema?: string;
|
|
165
|
+
|
|
166
|
+
createdBy?: string;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
79
170
|
export interface ProfileDeleteResponse {
|
|
80
171
|
message: string;
|
|
81
172
|
|
|
@@ -110,6 +201,12 @@ export interface ProfileUpdateParams {
|
|
|
110
201
|
}
|
|
111
202
|
|
|
112
203
|
export interface ProfileListParams {
|
|
204
|
+
/**
|
|
205
|
+
* When true, only return profiles created by the calling user (resolved from
|
|
206
|
+
* X-User-ID, never a client-supplied id).
|
|
207
|
+
*/
|
|
208
|
+
mine?: boolean;
|
|
209
|
+
|
|
113
210
|
name?: string;
|
|
114
211
|
|
|
115
212
|
orderBy?: 'name' | 'created_at' | 'updated_at';
|
|
@@ -123,7 +220,9 @@ export interface ProfileListParams {
|
|
|
123
220
|
|
|
124
221
|
export declare namespace Profiles {
|
|
125
222
|
export {
|
|
126
|
-
type
|
|
223
|
+
type ProfileCreateResponse as ProfileCreateResponse,
|
|
224
|
+
type ProfileRetrieveResponse as ProfileRetrieveResponse,
|
|
225
|
+
type ProfileUpdateResponse as ProfileUpdateResponse,
|
|
127
226
|
type ProfileListResponse as ProfileListResponse,
|
|
128
227
|
type ProfileDeleteResponse as ProfileDeleteResponse,
|
|
129
228
|
type ProfileCreateParams as ProfileCreateParams,
|
package/src/resources/proxies.ts
CHANGED
|
@@ -5,26 +5,30 @@ import { APIPromise } from '../core/api-promise';
|
|
|
5
5
|
import { RequestOptions } from '../internal/request-options';
|
|
6
6
|
import { path } from '../internal/utils/path';
|
|
7
7
|
|
|
8
|
-
/**
|
|
9
|
-
* Network Proxies
|
|
10
|
-
*/
|
|
11
8
|
export class Proxies extends APIResource {
|
|
12
9
|
/**
|
|
13
|
-
*
|
|
10
|
+
* Creates a proxy config. The body is a discriminated union on `protocol`:
|
|
11
|
+
* `socks5` requires name, host, port, user, and password, while `wireguard`
|
|
12
|
+
* requires name and a config string. Returns the created config with its generated
|
|
13
|
+
* `proxyId`.
|
|
14
14
|
*/
|
|
15
15
|
create(body: ProxyCreateParams, options?: RequestOptions): APIPromise<ProxyCreateResponse> {
|
|
16
16
|
return this._client.post('/proxies', { body, ...options });
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Fetches a single proxy config by its `proxyId`. The response shape depends on
|
|
21
|
+
* the proxy's `protocol` (socks5 or wireguard). Returns not found if no matching
|
|
22
|
+
* config exists.
|
|
21
23
|
*/
|
|
22
24
|
retrieve(proxyID: string, options?: RequestOptions): APIPromise<ProxyRetrieveResponse> {
|
|
23
25
|
return this._client.get(path`/proxies/${proxyID}`, options);
|
|
24
26
|
}
|
|
25
27
|
|
|
26
28
|
/**
|
|
27
|
-
*
|
|
29
|
+
* Replaces the proxy config identified by `proxyId` with the provided body. As
|
|
30
|
+
* with creation, the body is a `protocol`-discriminated union of socks5 or
|
|
31
|
+
* wireguard fields. Returns the updated config.
|
|
28
32
|
*/
|
|
29
33
|
update(
|
|
30
34
|
proxyID: string,
|
|
@@ -35,7 +39,8 @@ export class Proxies extends APIResource {
|
|
|
35
39
|
}
|
|
36
40
|
|
|
37
41
|
/**
|
|
38
|
-
*
|
|
42
|
+
* Returns all proxy configs for the authenticated user. An optional `protocol`
|
|
43
|
+
* query parameter (`socks5` or `wireguard`) filters the results by proxy type.
|
|
39
44
|
*/
|
|
40
45
|
list(
|
|
41
46
|
query: ProxyListParams | null | undefined = {},
|
|
@@ -45,7 +50,8 @@ export class Proxies extends APIResource {
|
|
|
45
50
|
}
|
|
46
51
|
|
|
47
52
|
/**
|
|
48
|
-
*
|
|
53
|
+
* Permanently deletes the proxy config identified by `proxyId` and returns the
|
|
54
|
+
* deleted config. Returns not found if no matching config exists.
|
|
49
55
|
*/
|
|
50
56
|
delete(proxyID: string, options?: RequestOptions): APIPromise<ProxyDeleteResponse> {
|
|
51
57
|
return this._client.delete(path`/proxies/${proxyID}`, options);
|
package/src/resources/shared.ts
CHANGED
|
@@ -79,12 +79,29 @@ export interface DeviceSpec {
|
|
|
79
79
|
|
|
80
80
|
export namespace DeviceSpec {
|
|
81
81
|
export interface Proxy {
|
|
82
|
+
connect?: Proxy.Connect;
|
|
83
|
+
|
|
82
84
|
name?: string;
|
|
83
85
|
|
|
84
86
|
smartIp?: boolean;
|
|
85
87
|
|
|
86
88
|
socks5?: Shared.Socks5;
|
|
87
89
|
}
|
|
90
|
+
|
|
91
|
+
export namespace Proxy {
|
|
92
|
+
export interface Connect {
|
|
93
|
+
/**
|
|
94
|
+
* Existing Mobilerun Connect proxy id; its credentials are fetched server-side.
|
|
95
|
+
*/
|
|
96
|
+
id?: string;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* ISO 3166-1 alpha-2 country code; provisions (or reuses) a rotating residential
|
|
100
|
+
* Mobilerun Connect proxy for the device.
|
|
101
|
+
*/
|
|
102
|
+
country?: string;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
88
105
|
}
|
|
89
106
|
|
|
90
107
|
export interface Location {
|