@airtop/sdk 0.1.31-beta1 → 0.1.31-beta2
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/api/resources/automations/client/Client.js +8 -8
- package/api/resources/extensionConfigurations/client/Client.js +2 -2
- package/api/resources/profiles/client/Client.js +2 -2
- package/api/resources/requests/client/Client.js +2 -2
- package/api/resources/sessions/client/Client.js +14 -14
- package/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
- package/api/resources/sessions/types/index.d.ts +1 -1
- package/api/resources/sessions/types/index.js +1 -1
- package/api/resources/windows/client/Client.d.ts +8 -4
- package/api/resources/windows/client/Client.js +60 -56
- package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +5 -5
- package/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +5 -5
- package/api/types/IntervalMonitorConfig.d.ts +1 -1
- package/api/types/MonitorConfig.d.ts +1 -5
- package/api/types/index.d.ts +0 -2
- package/api/types/index.js +0 -2
- package/dist/api/resources/automations/client/Client.js +8 -8
- package/dist/api/resources/extensionConfigurations/client/Client.js +2 -2
- package/dist/api/resources/profiles/client/Client.js +2 -2
- package/dist/api/resources/requests/client/Client.js +2 -2
- package/dist/api/resources/sessions/client/Client.js +14 -14
- package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
- package/dist/api/resources/sessions/types/index.d.ts +1 -1
- package/dist/api/resources/sessions/types/index.js +1 -1
- package/dist/api/resources/windows/client/Client.d.ts +8 -4
- package/dist/api/resources/windows/client/Client.js +60 -56
- package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +5 -5
- package/dist/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +5 -5
- package/dist/api/types/IntervalMonitorConfig.d.ts +1 -1
- package/dist/api/types/MonitorConfig.d.ts +1 -5
- package/dist/api/types/index.d.ts +0 -2
- package/dist/api/types/index.js +0 -2
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
- package/dist/serialization/resources/sessions/types/index.d.ts +1 -1
- package/dist/serialization/resources/sessions/types/index.js +1 -1
- package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +1 -2
- package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +1 -2
- package/dist/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +1 -2
- package/dist/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +1 -2
- package/dist/serialization/types/MonitorConfig.d.ts +0 -4
- package/dist/serialization/types/MonitorConfig.js +0 -4
- package/dist/serialization/types/index.d.ts +0 -2
- package/dist/serialization/types/index.js +0 -2
- package/dist/wrapper/AirtopRequests.d.ts +2 -2
- package/dist/wrapper/AirtopRequests.js +3 -3
- package/dist/wrapper/AirtopWindows.d.ts +10 -10
- package/dist/wrapper/AirtopWindows.js +17 -17
- package/package.json +1 -1
- package/reference.md +6 -2
- package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
- package/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
- package/serialization/resources/sessions/types/index.d.ts +1 -1
- package/serialization/resources/sessions/types/index.js +1 -1
- package/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +1 -2
- package/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +1 -2
- package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +1 -2
- package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +1 -2
- package/serialization/types/MonitorConfig.d.ts +0 -4
- package/serialization/types/MonitorConfig.js +0 -4
- package/serialization/types/index.d.ts +0 -2
- package/serialization/types/index.js +0 -2
- package/wrapper/AirtopRequests.d.ts +2 -2
- package/wrapper/AirtopRequests.js +3 -3
- package/wrapper/AirtopWindows.d.ts +10 -10
- package/wrapper/AirtopWindows.js +17 -17
- package/api/types/BrowserWaitSelectorConfig.d.ts +0 -11
- package/api/types/BrowserWaitSelectorConfig.js +0 -5
- package/api/types/MonitorConfigMonitorType.d.ts +0 -11
- package/api/types/MonitorConfigMonitorType.js +0 -10
- package/dist/api/types/BrowserWaitSelectorConfig.d.ts +0 -11
- package/dist/api/types/BrowserWaitSelectorConfig.js +0 -5
- package/dist/api/types/MonitorConfigMonitorType.d.ts +0 -11
- package/dist/api/types/MonitorConfigMonitorType.js +0 -10
- package/dist/serialization/types/BrowserWaitSelectorConfig.d.ts +0 -14
- package/dist/serialization/types/BrowserWaitSelectorConfig.js +0 -35
- package/dist/serialization/types/MonitorConfigMonitorType.d.ts +0 -10
- package/dist/serialization/types/MonitorConfigMonitorType.js +0 -31
- package/serialization/types/BrowserWaitSelectorConfig.d.ts +0 -14
- package/serialization/types/BrowserWaitSelectorConfig.js +0 -35
- package/serialization/types/MonitorConfigMonitorType.d.ts +0 -10
- package/serialization/types/MonitorConfigMonitorType.js +0 -31
@@ -114,16 +114,6 @@ export declare class AirtopWindows extends WindowsClass {
|
|
114
114
|
* })
|
115
115
|
*/
|
116
116
|
type(sessionId: string, windowId: string, request: Airtop.SessionTypeHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
|
117
|
-
/**
|
118
|
-
* @param {string} sessionId - The session id for the window.
|
119
|
-
* @param {string} windowId - The Airtop window id of the browser window.
|
120
|
-
* @param {Airtop.SessionMonitorHandlerRequestBody} request
|
121
|
-
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
122
|
-
*
|
123
|
-
* @example
|
124
|
-
* await client.windows.monitor("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
|
125
|
-
*/
|
126
|
-
monitor(sessionId: string, windowId: string, request?: Airtop.SessionMonitorHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
|
127
117
|
/**
|
128
118
|
* Submit a prompt that queries the content of a specific browser window and paginates through pages to return a list of results.
|
129
119
|
*
|
@@ -148,6 +138,16 @@ export declare class AirtopWindows extends WindowsClass {
|
|
148
138
|
* await client.windows.scroll("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
|
149
139
|
*/
|
150
140
|
scroll(sessionId: string, windowId: string, request?: Airtop.SessionScrollHandlerRequestBody, requestOptions?: Windows.RequestOptions): Promise<Airtop.AiPromptResponse>;
|
141
|
+
/**
|
142
|
+
* @param {string} sessionId - The session id for the window.
|
143
|
+
* @param {string} windowId - The Airtop window id of the browser window.
|
144
|
+
* @param {Airtop.SessionMonitorHandlerRequestBody} request
|
145
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
146
|
+
*
|
147
|
+
* @example
|
148
|
+
* await client.windows.monitor("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
|
149
|
+
*/
|
150
|
+
monitor(sessionId: string, windowId: string, request: Airtop.SessionMonitorHandlerRequestBody, requestOptions?: Windows.RequestOptions): Promise<Airtop.AiPromptResponse>;
|
151
151
|
private executeSeleniumCDPCommand;
|
152
152
|
getWindowInfoForSeleniumDriver(session: Airtop.ExternalSessionWithConnectionInfo, driver: seleniumWebdriver.WebDriver, request?: Airtop.GetWindowInfoRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowResponse>;
|
153
153
|
}
|
package/wrapper/AirtopWindows.js
CHANGED
@@ -190,23 +190,6 @@ class AirtopWindows extends Client_1.Windows {
|
|
190
190
|
return _super.type.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
|
191
191
|
});
|
192
192
|
}
|
193
|
-
/**
|
194
|
-
* @param {string} sessionId - The session id for the window.
|
195
|
-
* @param {string} windowId - The Airtop window id of the browser window.
|
196
|
-
* @param {Airtop.SessionMonitorHandlerRequestBody} request
|
197
|
-
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
198
|
-
*
|
199
|
-
* @example
|
200
|
-
* await client.windows.monitor("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
|
201
|
-
*/
|
202
|
-
monitor(sessionId, windowId, request = {}, requestOptions) {
|
203
|
-
const _super = Object.create(null, {
|
204
|
-
monitor: { get: () => super.monitor }
|
205
|
-
});
|
206
|
-
return __awaiter(this, void 0, void 0, function* () {
|
207
|
-
return _super.monitor.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
|
208
|
-
});
|
209
|
-
}
|
210
193
|
/**
|
211
194
|
* Submit a prompt that queries the content of a specific browser window and paginates through pages to return a list of results.
|
212
195
|
*
|
@@ -245,6 +228,23 @@ class AirtopWindows extends Client_1.Windows {
|
|
245
228
|
return _super.scroll.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
|
246
229
|
});
|
247
230
|
}
|
231
|
+
/**
|
232
|
+
* @param {string} sessionId - The session id for the window.
|
233
|
+
* @param {string} windowId - The Airtop window id of the browser window.
|
234
|
+
* @param {Airtop.SessionMonitorHandlerRequestBody} request
|
235
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
236
|
+
*
|
237
|
+
* @example
|
238
|
+
* await client.windows.monitor("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
|
239
|
+
*/
|
240
|
+
monitor(sessionId, windowId, request, requestOptions) {
|
241
|
+
const _super = Object.create(null, {
|
242
|
+
monitor: { get: () => super.monitor }
|
243
|
+
});
|
244
|
+
return __awaiter(this, void 0, void 0, function* () {
|
245
|
+
return _super.monitor.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
|
246
|
+
});
|
247
|
+
}
|
248
248
|
executeSeleniumCDPCommand(driver, session, apiKey) {
|
249
249
|
return __awaiter(this, void 0, void 0, function* () {
|
250
250
|
// Get the current WebDriver session ID
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
export interface BrowserWaitSelectorConfig {
|
5
|
-
/** If true, Airtop AI will wait for the element to not be in the DOM or to be hidden. */
|
6
|
-
hidden?: boolean;
|
7
|
-
/** The maximum time to wait for the selector to be present, in seconds. Defaults to 30 (30 seconds). */
|
8
|
-
timeoutSeconds?: number;
|
9
|
-
/** If true, Airtop AI will wait for the element to be visible and present in the DOM. */
|
10
|
-
visible?: boolean;
|
11
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
/**
|
5
|
-
* The type of monitoring to perform. Interval executes the condition check at a regular, specified interval. Selector waits for a selector to be present before completing.
|
6
|
-
*/
|
7
|
-
export declare type MonitorConfigMonitorType = "interval" | "selector";
|
8
|
-
export declare const MonitorConfigMonitorType: {
|
9
|
-
readonly Interval: "interval";
|
10
|
-
readonly Selector: "selector";
|
11
|
-
};
|
@@ -1,10 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.MonitorConfigMonitorType = void 0;
|
7
|
-
exports.MonitorConfigMonitorType = {
|
8
|
-
Interval: "interval",
|
9
|
-
Selector: "selector",
|
10
|
-
};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
export interface BrowserWaitSelectorConfig {
|
5
|
-
/** If true, Airtop AI will wait for the element to not be in the DOM or to be hidden. */
|
6
|
-
hidden?: boolean;
|
7
|
-
/** The maximum time to wait for the selector to be present, in seconds. Defaults to 30 (30 seconds). */
|
8
|
-
timeoutSeconds?: number;
|
9
|
-
/** If true, Airtop AI will wait for the element to be visible and present in the DOM. */
|
10
|
-
visible?: boolean;
|
11
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
/**
|
5
|
-
* The type of monitoring to perform. Interval executes the condition check at a regular, specified interval. Selector waits for a selector to be present before completing.
|
6
|
-
*/
|
7
|
-
export declare type MonitorConfigMonitorType = "interval" | "selector";
|
8
|
-
export declare const MonitorConfigMonitorType: {
|
9
|
-
readonly Interval: "interval";
|
10
|
-
readonly Selector: "selector";
|
11
|
-
};
|
@@ -1,10 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.MonitorConfigMonitorType = void 0;
|
7
|
-
exports.MonitorConfigMonitorType = {
|
8
|
-
Interval: "interval",
|
9
|
-
Selector: "selector",
|
10
|
-
};
|
@@ -1,14 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Airtop from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
export declare const BrowserWaitSelectorConfig: core.serialization.ObjectSchema<serializers.BrowserWaitSelectorConfig.Raw, Airtop.BrowserWaitSelectorConfig>;
|
8
|
-
export declare namespace BrowserWaitSelectorConfig {
|
9
|
-
interface Raw {
|
10
|
-
hidden?: boolean | null;
|
11
|
-
timeoutSeconds?: number | null;
|
12
|
-
visible?: boolean | null;
|
13
|
-
}
|
14
|
-
}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
-
if (k2 === undefined) k2 = k;
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
-
}
|
11
|
-
Object.defineProperty(o, k2, desc);
|
12
|
-
}) : (function(o, m, k, k2) {
|
13
|
-
if (k2 === undefined) k2 = k;
|
14
|
-
o[k2] = m[k];
|
15
|
-
}));
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
-
}) : function(o, v) {
|
19
|
-
o["default"] = v;
|
20
|
-
});
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
-
if (mod && mod.__esModule) return mod;
|
23
|
-
var result = {};
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
-
__setModuleDefault(result, mod);
|
26
|
-
return result;
|
27
|
-
};
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.BrowserWaitSelectorConfig = void 0;
|
30
|
-
const core = __importStar(require("../../core"));
|
31
|
-
exports.BrowserWaitSelectorConfig = core.serialization.object({
|
32
|
-
hidden: core.serialization.boolean().optional(),
|
33
|
-
timeoutSeconds: core.serialization.number().optional(),
|
34
|
-
visible: core.serialization.boolean().optional(),
|
35
|
-
});
|
@@ -1,10 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Airtop from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
export declare const MonitorConfigMonitorType: core.serialization.Schema<serializers.MonitorConfigMonitorType.Raw, Airtop.MonitorConfigMonitorType>;
|
8
|
-
export declare namespace MonitorConfigMonitorType {
|
9
|
-
type Raw = "interval" | "selector";
|
10
|
-
}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
-
if (k2 === undefined) k2 = k;
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
-
}
|
11
|
-
Object.defineProperty(o, k2, desc);
|
12
|
-
}) : (function(o, m, k, k2) {
|
13
|
-
if (k2 === undefined) k2 = k;
|
14
|
-
o[k2] = m[k];
|
15
|
-
}));
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
-
}) : function(o, v) {
|
19
|
-
o["default"] = v;
|
20
|
-
});
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
-
if (mod && mod.__esModule) return mod;
|
23
|
-
var result = {};
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
-
__setModuleDefault(result, mod);
|
26
|
-
return result;
|
27
|
-
};
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.MonitorConfigMonitorType = void 0;
|
30
|
-
const core = __importStar(require("../../core"));
|
31
|
-
exports.MonitorConfigMonitorType = core.serialization.enum_(["interval", "selector"]);
|
@@ -1,14 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Airtop from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
export declare const BrowserWaitSelectorConfig: core.serialization.ObjectSchema<serializers.BrowserWaitSelectorConfig.Raw, Airtop.BrowserWaitSelectorConfig>;
|
8
|
-
export declare namespace BrowserWaitSelectorConfig {
|
9
|
-
interface Raw {
|
10
|
-
hidden?: boolean | null;
|
11
|
-
timeoutSeconds?: number | null;
|
12
|
-
visible?: boolean | null;
|
13
|
-
}
|
14
|
-
}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
-
if (k2 === undefined) k2 = k;
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
-
}
|
11
|
-
Object.defineProperty(o, k2, desc);
|
12
|
-
}) : (function(o, m, k, k2) {
|
13
|
-
if (k2 === undefined) k2 = k;
|
14
|
-
o[k2] = m[k];
|
15
|
-
}));
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
-
}) : function(o, v) {
|
19
|
-
o["default"] = v;
|
20
|
-
});
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
-
if (mod && mod.__esModule) return mod;
|
23
|
-
var result = {};
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
-
__setModuleDefault(result, mod);
|
26
|
-
return result;
|
27
|
-
};
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.BrowserWaitSelectorConfig = void 0;
|
30
|
-
const core = __importStar(require("../../core"));
|
31
|
-
exports.BrowserWaitSelectorConfig = core.serialization.object({
|
32
|
-
hidden: core.serialization.boolean().optional(),
|
33
|
-
timeoutSeconds: core.serialization.number().optional(),
|
34
|
-
visible: core.serialization.boolean().optional(),
|
35
|
-
});
|
@@ -1,10 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Airtop from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
export declare const MonitorConfigMonitorType: core.serialization.Schema<serializers.MonitorConfigMonitorType.Raw, Airtop.MonitorConfigMonitorType>;
|
8
|
-
export declare namespace MonitorConfigMonitorType {
|
9
|
-
type Raw = "interval" | "selector";
|
10
|
-
}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
-
if (k2 === undefined) k2 = k;
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
-
}
|
11
|
-
Object.defineProperty(o, k2, desc);
|
12
|
-
}) : (function(o, m, k, k2) {
|
13
|
-
if (k2 === undefined) k2 = k;
|
14
|
-
o[k2] = m[k];
|
15
|
-
}));
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
-
}) : function(o, v) {
|
19
|
-
o["default"] = v;
|
20
|
-
});
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
-
if (mod && mod.__esModule) return mod;
|
23
|
-
var result = {};
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
-
__setModuleDefault(result, mod);
|
26
|
-
return result;
|
27
|
-
};
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.MonitorConfigMonitorType = void 0;
|
30
|
-
const core = __importStar(require("../../core"));
|
31
|
-
exports.MonitorConfigMonitorType = core.serialization.enum_(["interval", "selector"]);
|