@airtop/sdk 0.1.11 → 0.1.13
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/profiles/client/Client.js +22 -6
- package/api/resources/profiles/client/requests/ProfilesDeleteRequest.d.ts +5 -1
- package/api/resources/profiles/client/requests/ProfilesGetRequest.d.ts +5 -1
- package/api/resources/sessions/client/Client.d.ts +2 -2
- package/api/resources/sessions/client/Client.js +23 -14
- package/api/resources/sessions/client/requests/SessionsEventsRequest.d.ts +13 -0
- package/api/resources/sessions/client/requests/SessionsEventsRequest.js +5 -0
- package/api/resources/sessions/client/requests/index.d.ts +1 -0
- package/api/resources/sessions/types/SessionsEventsResponse.d.ts +7 -1
- package/api/resources/sessions/types/SessionsEventsResponseSessionEvent.d.ts +11 -0
- package/api/resources/sessions/types/SessionsEventsResponseSessionEvent.js +5 -0
- package/api/resources/sessions/types/SessionsEventsResponseWindowEvent.d.ts +11 -0
- package/api/resources/sessions/types/SessionsEventsResponseWindowEvent.js +5 -0
- package/api/resources/sessions/types/index.d.ts +2 -0
- package/api/resources/sessions/types/index.js +2 -0
- package/api/resources/windows/client/Client.js +24 -24
- package/api/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +2 -0
- package/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +1 -1
- package/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +3 -1
- package/api/types/BrowserWaitNavigationConfig.d.ts +10 -0
- package/api/types/BrowserWaitNavigationConfig.js +5 -0
- package/api/types/BrowserWaitNavigationConfigWaitUntil.d.ts +13 -0
- package/api/types/BrowserWaitNavigationConfigWaitUntil.js +12 -0
- package/api/types/ClickConfig.d.ts +4 -0
- package/api/types/ClickConfigClickType.d.ts +12 -0
- package/api/types/ClickConfigClickType.js +11 -0
- package/api/types/ErrorBody.d.ts +9 -0
- package/api/types/ErrorBody.js +5 -0
- package/api/types/ExternalProfileV1.d.ts +3 -1
- package/api/types/ExternalSessionWithConnectionInfo.d.ts +1 -1
- package/api/types/MicroInteractionConfig.d.ts +10 -0
- package/api/types/MicroInteractionConfig.js +5 -0
- package/api/types/SessionConfigV1.d.ts +4 -2
- package/api/types/SessionEventMessage.d.ts +17 -0
- package/api/types/SessionEventMessage.js +5 -0
- package/api/types/StatusMessage.d.ts +2 -0
- package/api/types/WindowEventMessage.d.ts +19 -0
- package/api/types/WindowEventMessage.js +5 -0
- package/api/types/index.d.ts +7 -0
- package/api/types/index.js +7 -0
- package/dist/api/resources/profiles/client/Client.js +22 -6
- package/dist/api/resources/profiles/client/requests/ProfilesDeleteRequest.d.ts +5 -1
- package/dist/api/resources/profiles/client/requests/ProfilesGetRequest.d.ts +5 -1
- package/dist/api/resources/sessions/client/Client.d.ts +2 -2
- package/dist/api/resources/sessions/client/Client.js +23 -14
- package/dist/api/resources/sessions/client/requests/SessionsEventsRequest.d.ts +13 -0
- package/dist/api/resources/sessions/client/requests/SessionsEventsRequest.js +5 -0
- package/dist/api/resources/sessions/client/requests/index.d.ts +1 -0
- package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +7 -1
- package/dist/api/resources/sessions/types/SessionsEventsResponseSessionEvent.d.ts +11 -0
- package/dist/api/resources/sessions/types/SessionsEventsResponseSessionEvent.js +5 -0
- package/dist/api/resources/sessions/types/SessionsEventsResponseWindowEvent.d.ts +11 -0
- package/dist/api/resources/sessions/types/SessionsEventsResponseWindowEvent.js +5 -0
- package/dist/api/resources/sessions/types/index.d.ts +2 -0
- package/dist/api/resources/sessions/types/index.js +2 -0
- package/dist/api/resources/windows/client/Client.js +24 -24
- package/dist/api/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +2 -0
- package/dist/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +1 -1
- package/dist/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +3 -1
- package/dist/api/types/BrowserWaitNavigationConfig.d.ts +10 -0
- package/dist/api/types/BrowserWaitNavigationConfig.js +5 -0
- package/dist/api/types/BrowserWaitNavigationConfigWaitUntil.d.ts +13 -0
- package/dist/api/types/BrowserWaitNavigationConfigWaitUntil.js +12 -0
- package/dist/api/types/ClickConfig.d.ts +4 -0
- package/dist/api/types/ClickConfigClickType.d.ts +12 -0
- package/dist/api/types/ClickConfigClickType.js +11 -0
- package/dist/api/types/ErrorBody.d.ts +9 -0
- package/dist/api/types/ErrorBody.js +5 -0
- package/dist/api/types/ExternalProfileV1.d.ts +3 -1
- package/dist/api/types/ExternalSessionWithConnectionInfo.d.ts +1 -1
- package/dist/api/types/MicroInteractionConfig.d.ts +10 -0
- package/dist/api/types/MicroInteractionConfig.js +5 -0
- package/dist/api/types/SessionConfigV1.d.ts +4 -2
- package/dist/api/types/SessionEventMessage.d.ts +17 -0
- package/dist/api/types/SessionEventMessage.js +5 -0
- package/dist/api/types/StatusMessage.d.ts +2 -0
- package/dist/api/types/WindowEventMessage.d.ts +19 -0
- package/dist/api/types/WindowEventMessage.js +5 -0
- package/dist/api/types/index.d.ts +7 -0
- package/dist/api/types/index.js +7 -0
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +9 -1
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +4 -0
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.d.ts +15 -0
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.js +36 -0
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.d.ts +15 -0
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.js +36 -0
- package/dist/serialization/resources/sessions/types/index.d.ts +2 -0
- package/dist/serialization/resources/sessions/types/index.js +2 -0
- package/dist/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +1 -0
- package/dist/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.js +1 -0
- package/dist/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +2 -2
- package/dist/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +2 -2
- package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +3 -2
- package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +3 -2
- package/dist/serialization/types/BrowserWaitNavigationConfig.d.ts +14 -0
- package/dist/serialization/types/BrowserWaitNavigationConfig.js +35 -0
- package/dist/serialization/types/BrowserWaitNavigationConfigWaitUntil.d.ts +10 -0
- package/dist/serialization/types/BrowserWaitNavigationConfigWaitUntil.js +31 -0
- package/dist/serialization/types/ClickConfig.d.ts +4 -0
- package/dist/serialization/types/ClickConfig.js +4 -0
- package/dist/serialization/types/ClickConfigClickType.d.ts +10 -0
- package/dist/serialization/types/ClickConfigClickType.js +31 -0
- package/dist/serialization/types/ErrorBody.d.ts +13 -0
- package/dist/serialization/types/ErrorBody.js +34 -0
- package/dist/serialization/types/ExternalProfileV1.d.ts +1 -0
- package/dist/serialization/types/ExternalProfileV1.js +1 -0
- package/dist/serialization/types/MicroInteractionConfig.d.ts +15 -0
- package/dist/serialization/types/MicroInteractionConfig.js +36 -0
- package/dist/serialization/types/SessionConfigV1.d.ts +1 -0
- package/dist/serialization/types/SessionConfigV1.js +1 -0
- package/dist/serialization/types/SessionEventMessage.d.ts +18 -0
- package/dist/serialization/types/SessionEventMessage.js +39 -0
- package/dist/serialization/types/StatusMessage.d.ts +1 -0
- package/dist/serialization/types/StatusMessage.js +1 -0
- package/dist/serialization/types/WindowEventMessage.d.ts +19 -0
- package/dist/serialization/types/WindowEventMessage.js +40 -0
- package/dist/serialization/types/index.d.ts +7 -0
- package/dist/serialization/types/index.js +7 -0
- package/dist/wrapper/AirtopSessions.js +1 -1
- package/package.json +1 -1
- package/reference.md +1 -1
- package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +9 -1
- package/serialization/resources/sessions/types/SessionsEventsResponse.js +4 -0
- package/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.d.ts +15 -0
- package/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.js +36 -0
- package/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.d.ts +15 -0
- package/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.js +36 -0
- package/serialization/resources/sessions/types/index.d.ts +2 -0
- package/serialization/resources/sessions/types/index.js +2 -0
- package/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +1 -0
- package/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.js +1 -0
- package/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +2 -2
- package/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +2 -2
- package/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +3 -2
- package/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +3 -2
- package/serialization/types/BrowserWaitNavigationConfig.d.ts +14 -0
- package/serialization/types/BrowserWaitNavigationConfig.js +35 -0
- package/serialization/types/BrowserWaitNavigationConfigWaitUntil.d.ts +10 -0
- package/serialization/types/BrowserWaitNavigationConfigWaitUntil.js +31 -0
- package/serialization/types/ClickConfig.d.ts +4 -0
- package/serialization/types/ClickConfig.js +4 -0
- package/serialization/types/ClickConfigClickType.d.ts +10 -0
- package/serialization/types/ClickConfigClickType.js +31 -0
- package/serialization/types/ErrorBody.d.ts +13 -0
- package/serialization/types/ErrorBody.js +34 -0
- package/serialization/types/ExternalProfileV1.d.ts +1 -0
- package/serialization/types/ExternalProfileV1.js +1 -0
- package/serialization/types/MicroInteractionConfig.d.ts +15 -0
- package/serialization/types/MicroInteractionConfig.js +36 -0
- package/serialization/types/SessionConfigV1.d.ts +1 -0
- package/serialization/types/SessionConfigV1.js +1 -0
- package/serialization/types/SessionEventMessage.d.ts +18 -0
- package/serialization/types/SessionEventMessage.js +39 -0
- package/serialization/types/StatusMessage.d.ts +1 -0
- package/serialization/types/StatusMessage.js +1 -0
- package/serialization/types/WindowEventMessage.d.ts +19 -0
- package/serialization/types/WindowEventMessage.js +40 -0
- package/serialization/types/index.d.ts +7 -0
- package/serialization/types/index.js +7 -0
- package/wrapper/AirtopSessions.js +1 -1
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Airtop from "../index";
|
5
|
+
export interface BrowserWaitNavigationConfig {
|
6
|
+
/** The maximum time to wait for the navigation to complete, in seconds. Defaults to 30 (30 seconds). */
|
7
|
+
timeoutSeconds?: number;
|
8
|
+
/** The condition to wait for the navigation to complete. Defaults to 'load'. */
|
9
|
+
waitUntil?: Airtop.BrowserWaitNavigationConfigWaitUntil;
|
10
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
/**
|
5
|
+
* The condition to wait for the navigation to complete. Defaults to 'load'.
|
6
|
+
*/
|
7
|
+
export declare type BrowserWaitNavigationConfigWaitUntil = "load" | "domcontentloaded" | "networkidle0" | "networkidle2";
|
8
|
+
export declare const BrowserWaitNavigationConfigWaitUntil: {
|
9
|
+
readonly Load: "load";
|
10
|
+
readonly Domcontentloaded: "domcontentloaded";
|
11
|
+
readonly Networkidle0: "networkidle0";
|
12
|
+
readonly Networkidle2: "networkidle2";
|
13
|
+
};
|
@@ -0,0 +1,12 @@
|
|
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.BrowserWaitNavigationConfigWaitUntil = void 0;
|
7
|
+
exports.BrowserWaitNavigationConfigWaitUntil = {
|
8
|
+
Load: "load",
|
9
|
+
Domcontentloaded: "domcontentloaded",
|
10
|
+
Networkidle0: "networkidle0",
|
11
|
+
Networkidle2: "networkidle2",
|
12
|
+
};
|
@@ -3,6 +3,10 @@
|
|
3
3
|
*/
|
4
4
|
import * as Airtop from "../index";
|
5
5
|
export interface ClickConfig {
|
6
|
+
/** The type of click to perform. Defaults to left click. */
|
7
|
+
clickType?: Airtop.ClickConfigClickType;
|
6
8
|
/** Optional configuration for visual analysis when locating specified content. */
|
7
9
|
visualAnalysis?: Airtop.VisualAnalysisConfig;
|
10
|
+
/** Optional configuration for waiting for navigation to complete after clicking the element. */
|
11
|
+
waitForNavigationConfig?: Airtop.BrowserWaitNavigationConfig;
|
8
12
|
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
/**
|
5
|
+
* The type of click to perform. Defaults to left click.
|
6
|
+
*/
|
7
|
+
export declare type ClickConfigClickType = "click" | "doubleClick" | "rightClick";
|
8
|
+
export declare const ClickConfigClickType: {
|
9
|
+
readonly Click: "click";
|
10
|
+
readonly DoubleClick: "doubleClick";
|
11
|
+
readonly RightClick: "rightClick";
|
12
|
+
};
|
@@ -0,0 +1,11 @@
|
|
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.ClickConfigClickType = void 0;
|
7
|
+
exports.ClickConfigClickType = {
|
8
|
+
Click: "click",
|
9
|
+
DoubleClick: "doubleClick",
|
10
|
+
RightClick: "rightClick",
|
11
|
+
};
|
@@ -2,8 +2,10 @@
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
4
|
export interface ExternalProfileV1 {
|
5
|
-
/**
|
5
|
+
/** DEPRECATED. Use profileName. */
|
6
6
|
profileId: string;
|
7
|
+
/** Name of the profile. */
|
8
|
+
profileName: string;
|
7
9
|
/** DEPRECATED. */
|
8
10
|
status?: string;
|
9
11
|
}
|
@@ -19,7 +19,7 @@ export interface ExternalSessionWithConnectionInfo {
|
|
19
19
|
id: string;
|
20
20
|
/** Date of the last activity. */
|
21
21
|
lastActivity?: Date;
|
22
|
-
/** Id of a newly persisted profile. */
|
22
|
+
/** Id of a newly persisted profile. DEPRECATED: Use profileName. */
|
23
23
|
profileId?: string;
|
24
24
|
/** Session status. */
|
25
25
|
status: string;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Airtop from "../index";
|
5
|
+
export interface MicroInteractionConfig {
|
6
|
+
/** Optional configuration for visual analysis when locating specified content. */
|
7
|
+
visualAnalysis?: Airtop.VisualAnalysisConfig;
|
8
|
+
/** Optional configuration for waiting for navigation to complete after clicking the element. */
|
9
|
+
waitForNavigationConfig?: Airtop.BrowserWaitNavigationConfig;
|
10
|
+
}
|
@@ -3,12 +3,14 @@
|
|
3
3
|
*/
|
4
4
|
import * as Airtop from "../index";
|
5
5
|
export interface SessionConfigV1 {
|
6
|
-
/**
|
6
|
+
/** Deprecated: Use profileName instead. */
|
7
7
|
baseProfileId?: string;
|
8
8
|
/** - */
|
9
9
|
extensionIds?: string[];
|
10
|
-
/**
|
10
|
+
/** Deprecated: use Save Profile On Termination API instead. */
|
11
11
|
persistProfile?: boolean;
|
12
|
+
/** Name of a profile to load into the session. */
|
13
|
+
profileName?: string;
|
12
14
|
/** Proxy configuration. */
|
13
15
|
proxy?: Airtop.SessionConfigV1Proxy;
|
14
16
|
/** Max length of session in minutes, after which it will terminate if not already deleted. */
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Airtop from "../index";
|
5
|
+
export interface SessionEventMessage {
|
6
|
+
/** Error message */
|
7
|
+
error?: Airtop.ErrorBody;
|
8
|
+
/** Event name */
|
9
|
+
event: string;
|
10
|
+
eventData?: unknown;
|
11
|
+
/** Event ID */
|
12
|
+
eventId?: number;
|
13
|
+
/** Date and Time of the event */
|
14
|
+
eventTime: Date;
|
15
|
+
/** ID of the session */
|
16
|
+
id: string;
|
17
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Airtop from "../index";
|
5
|
+
export interface WindowEventMessage {
|
6
|
+
/** Error message */
|
7
|
+
error?: Airtop.ErrorBody;
|
8
|
+
/** Event name */
|
9
|
+
event: string;
|
10
|
+
eventData?: unknown;
|
11
|
+
/** Event ID */
|
12
|
+
eventId?: number;
|
13
|
+
/** Date and Time of the event */
|
14
|
+
eventTime: Date;
|
15
|
+
/** ID of the session */
|
16
|
+
id: string;
|
17
|
+
/** Window ID */
|
18
|
+
windowId: string;
|
19
|
+
}
|
@@ -1,8 +1,12 @@
|
|
1
1
|
export * from "./AiPromptResponse";
|
2
2
|
export * from "./AiResponseEnvelope";
|
3
|
+
export * from "./BrowserWaitNavigationConfigWaitUntil";
|
4
|
+
export * from "./BrowserWaitNavigationConfig";
|
5
|
+
export * from "./ClickConfigClickType";
|
3
6
|
export * from "./ClickConfig";
|
4
7
|
export * from "./ClientProvidedResponseMetadata";
|
5
8
|
export * from "./EnvelopeDefaultMeta";
|
9
|
+
export * from "./ErrorBody";
|
6
10
|
export * from "./ErrorDetail";
|
7
11
|
export * from "./ErrorMessage";
|
8
12
|
export * from "./ErrorModel";
|
@@ -13,6 +17,7 @@ export * from "./ExternalSessionAiResponseMetadataUsage";
|
|
13
17
|
export * from "./ExternalSessionConfig";
|
14
18
|
export * from "./ExternalSessionWithConnectionInfo";
|
15
19
|
export * from "./Issue";
|
20
|
+
export * from "./MicroInteractionConfig";
|
16
21
|
export * from "./OperationOutcome";
|
17
22
|
export * from "./OperationOutcomeResponse";
|
18
23
|
export * from "./PageQueryConfig";
|
@@ -29,6 +34,7 @@ export * from "./CustomProxy";
|
|
29
34
|
export * from "./SessionConfigV1ProxyItem";
|
30
35
|
export * from "./SessionConfigV1Proxy";
|
31
36
|
export * from "./SessionConfigV1";
|
37
|
+
export * from "./SessionEventMessage";
|
32
38
|
export * from "./SessionPageQueryHandlerRequestBody";
|
33
39
|
export * from "./SessionResponse";
|
34
40
|
export * from "./SessionsResponse";
|
@@ -41,6 +47,7 @@ export * from "./VisualAnalysisConfigPartitionDirection";
|
|
41
47
|
export * from "./VisualAnalysisConfigScope";
|
42
48
|
export * from "./VisualAnalysisConfig";
|
43
49
|
export * from "./Window";
|
50
|
+
export * from "./WindowEventMessage";
|
44
51
|
export * from "./WindowId";
|
45
52
|
export * from "./WindowIdResponse";
|
46
53
|
export * from "./WindowResponse";
|
package/dist/api/types/index.js
CHANGED
@@ -16,9 +16,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./AiPromptResponse"), exports);
|
18
18
|
__exportStar(require("./AiResponseEnvelope"), exports);
|
19
|
+
__exportStar(require("./BrowserWaitNavigationConfigWaitUntil"), exports);
|
20
|
+
__exportStar(require("./BrowserWaitNavigationConfig"), exports);
|
21
|
+
__exportStar(require("./ClickConfigClickType"), exports);
|
19
22
|
__exportStar(require("./ClickConfig"), exports);
|
20
23
|
__exportStar(require("./ClientProvidedResponseMetadata"), exports);
|
21
24
|
__exportStar(require("./EnvelopeDefaultMeta"), exports);
|
25
|
+
__exportStar(require("./ErrorBody"), exports);
|
22
26
|
__exportStar(require("./ErrorDetail"), exports);
|
23
27
|
__exportStar(require("./ErrorMessage"), exports);
|
24
28
|
__exportStar(require("./ErrorModel"), exports);
|
@@ -29,6 +33,7 @@ __exportStar(require("./ExternalSessionAiResponseMetadataUsage"), exports);
|
|
29
33
|
__exportStar(require("./ExternalSessionConfig"), exports);
|
30
34
|
__exportStar(require("./ExternalSessionWithConnectionInfo"), exports);
|
31
35
|
__exportStar(require("./Issue"), exports);
|
36
|
+
__exportStar(require("./MicroInteractionConfig"), exports);
|
32
37
|
__exportStar(require("./OperationOutcome"), exports);
|
33
38
|
__exportStar(require("./OperationOutcomeResponse"), exports);
|
34
39
|
__exportStar(require("./PageQueryConfig"), exports);
|
@@ -45,6 +50,7 @@ __exportStar(require("./CustomProxy"), exports);
|
|
45
50
|
__exportStar(require("./SessionConfigV1ProxyItem"), exports);
|
46
51
|
__exportStar(require("./SessionConfigV1Proxy"), exports);
|
47
52
|
__exportStar(require("./SessionConfigV1"), exports);
|
53
|
+
__exportStar(require("./SessionEventMessage"), exports);
|
48
54
|
__exportStar(require("./SessionPageQueryHandlerRequestBody"), exports);
|
49
55
|
__exportStar(require("./SessionResponse"), exports);
|
50
56
|
__exportStar(require("./SessionsResponse"), exports);
|
@@ -57,6 +63,7 @@ __exportStar(require("./VisualAnalysisConfigPartitionDirection"), exports);
|
|
57
63
|
__exportStar(require("./VisualAnalysisConfigScope"), exports);
|
58
64
|
__exportStar(require("./VisualAnalysisConfig"), exports);
|
59
65
|
__exportStar(require("./Window"), exports);
|
66
|
+
__exportStar(require("./WindowEventMessage"), exports);
|
60
67
|
__exportStar(require("./WindowId"), exports);
|
61
68
|
__exportStar(require("./WindowIdResponse"), exports);
|
62
69
|
__exportStar(require("./WindowResponse"), exports);
|
@@ -6,13 +6,21 @@ import * as Airtop from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
7
7
|
import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
|
8
8
|
import { SessionsEventsResponseError } from "./SessionsEventsResponseError";
|
9
|
+
import { SessionsEventsResponseWindowEvent } from "./SessionsEventsResponseWindowEvent";
|
10
|
+
import { SessionsEventsResponseSessionEvent } from "./SessionsEventsResponseSessionEvent";
|
9
11
|
export declare const SessionsEventsResponse: core.serialization.Schema<serializers.SessionsEventsResponse.Raw, Airtop.SessionsEventsResponse>;
|
10
12
|
export declare namespace SessionsEventsResponse {
|
11
|
-
type Raw = SessionsEventsResponse.Status | SessionsEventsResponse.Error;
|
13
|
+
type Raw = SessionsEventsResponse.Status | SessionsEventsResponse.Error | SessionsEventsResponse.WindowEvent | SessionsEventsResponse.SessionEvent;
|
12
14
|
interface Status extends SessionsEventsResponseStatus.Raw {
|
13
15
|
event: "status";
|
14
16
|
}
|
15
17
|
interface Error extends SessionsEventsResponseError.Raw {
|
16
18
|
event: "error";
|
17
19
|
}
|
20
|
+
interface WindowEvent extends SessionsEventsResponseWindowEvent.Raw {
|
21
|
+
event: "windowEvent";
|
22
|
+
}
|
23
|
+
interface SessionEvent extends SessionsEventsResponseSessionEvent.Raw {
|
24
|
+
event: "sessionEvent";
|
25
|
+
}
|
18
26
|
}
|
@@ -30,10 +30,14 @@ exports.SessionsEventsResponse = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
31
31
|
const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
|
32
32
|
const SessionsEventsResponseError_1 = require("./SessionsEventsResponseError");
|
33
|
+
const SessionsEventsResponseWindowEvent_1 = require("./SessionsEventsResponseWindowEvent");
|
34
|
+
const SessionsEventsResponseSessionEvent_1 = require("./SessionsEventsResponseSessionEvent");
|
33
35
|
exports.SessionsEventsResponse = core.serialization
|
34
36
|
.union("event", {
|
35
37
|
status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
|
36
38
|
error: SessionsEventsResponseError_1.SessionsEventsResponseError,
|
39
|
+
windowEvent: SessionsEventsResponseWindowEvent_1.SessionsEventsResponseWindowEvent,
|
40
|
+
sessionEvent: SessionsEventsResponseSessionEvent_1.SessionsEventsResponseSessionEvent,
|
37
41
|
})
|
38
42
|
.transform({
|
39
43
|
transform: (value) => value,
|
@@ -0,0 +1,15 @@
|
|
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
|
+
import { SessionEventMessage } from "../../../types/SessionEventMessage";
|
8
|
+
export declare const SessionsEventsResponseSessionEvent: core.serialization.ObjectSchema<serializers.SessionsEventsResponseSessionEvent.Raw, Airtop.SessionsEventsResponseSessionEvent>;
|
9
|
+
export declare namespace SessionsEventsResponseSessionEvent {
|
10
|
+
interface Raw {
|
11
|
+
data: SessionEventMessage.Raw;
|
12
|
+
id?: number | null;
|
13
|
+
retry?: number | null;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
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.SessionsEventsResponseSessionEvent = void 0;
|
30
|
+
const core = __importStar(require("../../../../core"));
|
31
|
+
const SessionEventMessage_1 = require("../../../types/SessionEventMessage");
|
32
|
+
exports.SessionsEventsResponseSessionEvent = core.serialization.object({
|
33
|
+
data: SessionEventMessage_1.SessionEventMessage,
|
34
|
+
id: core.serialization.number().optional(),
|
35
|
+
retry: core.serialization.number().optional(),
|
36
|
+
});
|
@@ -0,0 +1,15 @@
|
|
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
|
+
import { WindowEventMessage } from "../../../types/WindowEventMessage";
|
8
|
+
export declare const SessionsEventsResponseWindowEvent: core.serialization.ObjectSchema<serializers.SessionsEventsResponseWindowEvent.Raw, Airtop.SessionsEventsResponseWindowEvent>;
|
9
|
+
export declare namespace SessionsEventsResponseWindowEvent {
|
10
|
+
interface Raw {
|
11
|
+
data: WindowEventMessage.Raw;
|
12
|
+
id?: number | null;
|
13
|
+
retry?: number | null;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
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.SessionsEventsResponseWindowEvent = void 0;
|
30
|
+
const core = __importStar(require("../../../../core"));
|
31
|
+
const WindowEventMessage_1 = require("../../../types/WindowEventMessage");
|
32
|
+
exports.SessionsEventsResponseWindowEvent = core.serialization.object({
|
33
|
+
data: WindowEventMessage_1.WindowEventMessage,
|
34
|
+
id: core.serialization.number().optional(),
|
35
|
+
retry: core.serialization.number().optional(),
|
36
|
+
});
|
@@ -1,4 +1,6 @@
|
|
1
1
|
export * from "./SessionsListRequestStatus";
|
2
2
|
export * from "./SessionsEventsResponseStatus";
|
3
3
|
export * from "./SessionsEventsResponseError";
|
4
|
+
export * from "./SessionsEventsResponseWindowEvent";
|
5
|
+
export * from "./SessionsEventsResponseSessionEvent";
|
4
6
|
export * from "./SessionsEventsResponse";
|
@@ -17,4 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./SessionsListRequestStatus"), exports);
|
18
18
|
__exportStar(require("./SessionsEventsResponseStatus"), exports);
|
19
19
|
__exportStar(require("./SessionsEventsResponseError"), exports);
|
20
|
+
__exportStar(require("./SessionsEventsResponseWindowEvent"), exports);
|
21
|
+
__exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
|
20
22
|
__exportStar(require("./SessionsEventsResponse"), exports);
|
package/dist/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.js
CHANGED
@@ -35,4 +35,5 @@ exports.SessionClickHandlerRequestBody = core.serialization.object({
|
|
35
35
|
costThresholdCredits: core.serialization.number().optional(),
|
36
36
|
elementDescription: core.serialization.string(),
|
37
37
|
timeThresholdSeconds: core.serialization.number().optional(),
|
38
|
+
waitForNavigation: core.serialization.boolean().optional(),
|
38
39
|
});
|
package/dist/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts
CHANGED
@@ -4,12 +4,12 @@
|
|
4
4
|
import * as serializers from "../../../../index";
|
5
5
|
import * as Airtop from "../../../../../api/index";
|
6
6
|
import * as core from "../../../../../core";
|
7
|
-
import {
|
7
|
+
import { MicroInteractionConfig } from "../../../../types/MicroInteractionConfig";
|
8
8
|
export declare const SessionHoverHandlerRequestBody: core.serialization.Schema<serializers.SessionHoverHandlerRequestBody.Raw, Airtop.SessionHoverHandlerRequestBody>;
|
9
9
|
export declare namespace SessionHoverHandlerRequestBody {
|
10
10
|
interface Raw {
|
11
11
|
clientRequestId?: string | null;
|
12
|
-
configuration?:
|
12
|
+
configuration?: MicroInteractionConfig.Raw | null;
|
13
13
|
costThresholdCredits?: number | null;
|
14
14
|
elementDescription?: string | null;
|
15
15
|
timeThresholdSeconds?: number | null;
|
package/dist/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.js
CHANGED
@@ -28,10 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.SessionHoverHandlerRequestBody = void 0;
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
31
|
-
const
|
31
|
+
const MicroInteractionConfig_1 = require("../../../../types/MicroInteractionConfig");
|
32
32
|
exports.SessionHoverHandlerRequestBody = core.serialization.object({
|
33
33
|
clientRequestId: core.serialization.string().optional(),
|
34
|
-
configuration:
|
34
|
+
configuration: MicroInteractionConfig_1.MicroInteractionConfig.optional(),
|
35
35
|
costThresholdCredits: core.serialization.number().optional(),
|
36
36
|
elementDescription: core.serialization.string().optional(),
|
37
37
|
timeThresholdSeconds: core.serialization.number().optional(),
|
package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts
CHANGED
@@ -4,16 +4,17 @@
|
|
4
4
|
import * as serializers from "../../../../index";
|
5
5
|
import * as Airtop from "../../../../../api/index";
|
6
6
|
import * as core from "../../../../../core";
|
7
|
-
import {
|
7
|
+
import { MicroInteractionConfig } from "../../../../types/MicroInteractionConfig";
|
8
8
|
export declare const SessionTypeHandlerRequestBody: core.serialization.Schema<serializers.SessionTypeHandlerRequestBody.Raw, Airtop.SessionTypeHandlerRequestBody>;
|
9
9
|
export declare namespace SessionTypeHandlerRequestBody {
|
10
10
|
interface Raw {
|
11
11
|
clientRequestId?: string | null;
|
12
|
-
configuration?:
|
12
|
+
configuration?: MicroInteractionConfig.Raw | null;
|
13
13
|
costThresholdCredits?: number | null;
|
14
14
|
elementDescription?: string | null;
|
15
15
|
pressEnterKey?: boolean | null;
|
16
16
|
text: string;
|
17
17
|
timeThresholdSeconds?: number | null;
|
18
|
+
waitForNavigation?: boolean | null;
|
18
19
|
}
|
19
20
|
}
|
package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js
CHANGED
@@ -28,13 +28,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.SessionTypeHandlerRequestBody = void 0;
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
31
|
-
const
|
31
|
+
const MicroInteractionConfig_1 = require("../../../../types/MicroInteractionConfig");
|
32
32
|
exports.SessionTypeHandlerRequestBody = core.serialization.object({
|
33
33
|
clientRequestId: core.serialization.string().optional(),
|
34
|
-
configuration:
|
34
|
+
configuration: MicroInteractionConfig_1.MicroInteractionConfig.optional(),
|
35
35
|
costThresholdCredits: core.serialization.number().optional(),
|
36
36
|
elementDescription: core.serialization.string().optional(),
|
37
37
|
pressEnterKey: core.serialization.boolean().optional(),
|
38
38
|
text: core.serialization.string(),
|
39
39
|
timeThresholdSeconds: core.serialization.number().optional(),
|
40
|
+
waitForNavigation: core.serialization.boolean().optional(),
|
40
41
|
});
|
@@ -0,0 +1,14 @@
|
|
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
|
+
import { BrowserWaitNavigationConfigWaitUntil } from "./BrowserWaitNavigationConfigWaitUntil";
|
8
|
+
export declare const BrowserWaitNavigationConfig: core.serialization.ObjectSchema<serializers.BrowserWaitNavigationConfig.Raw, Airtop.BrowserWaitNavigationConfig>;
|
9
|
+
export declare namespace BrowserWaitNavigationConfig {
|
10
|
+
interface Raw {
|
11
|
+
timeoutSeconds?: number | null;
|
12
|
+
waitUntil?: BrowserWaitNavigationConfigWaitUntil.Raw | null;
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,35 @@
|
|
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.BrowserWaitNavigationConfig = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const BrowserWaitNavigationConfigWaitUntil_1 = require("./BrowserWaitNavigationConfigWaitUntil");
|
32
|
+
exports.BrowserWaitNavigationConfig = core.serialization.object({
|
33
|
+
timeoutSeconds: core.serialization.number().optional(),
|
34
|
+
waitUntil: BrowserWaitNavigationConfigWaitUntil_1.BrowserWaitNavigationConfigWaitUntil.optional(),
|
35
|
+
});
|
@@ -0,0 +1,10 @@
|
|
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 BrowserWaitNavigationConfigWaitUntil: core.serialization.Schema<serializers.BrowserWaitNavigationConfigWaitUntil.Raw, Airtop.BrowserWaitNavigationConfigWaitUntil>;
|
8
|
+
export declare namespace BrowserWaitNavigationConfigWaitUntil {
|
9
|
+
type Raw = "load" | "domcontentloaded" | "networkidle0" | "networkidle2";
|
10
|
+
}
|