@airtop/sdk 0.1.17 → 0.1.19
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/Client.d.ts +0 -6
- package/Client.js +4 -14
- package/README.md +6 -8
- package/api/resources/index.d.ts +0 -3
- package/api/resources/index.js +1 -4
- package/api/resources/profiles/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 +0 -116
- package/api/resources/windows/client/Client.js +26 -654
- package/api/resources/windows/client/requests/index.d.ts +0 -10
- package/api/types/AirtopProxyConfiguration.d.ts +9 -0
- package/api/types/ExternalSessionWithConnectionInfo.d.ts +1 -1
- package/api/types/Proxy.d.ts +9 -6
- package/api/types/ProxyConfigurationKind.d.ts +9 -0
- package/api/types/ProxyCredentials.d.ts +11 -0
- package/api/types/SessionConfigV1.d.ts +0 -4
- package/api/types/SessionConfigV1Proxy.d.ts +4 -4
- package/api/types/VisualAnalysisConfig.d.ts +1 -1
- package/api/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +3 -2
- package/api/types/VisualAnalysisConfigResultSelectionStrategy.js +1 -0
- package/api/types/index.d.ts +3 -11
- package/api/types/index.js +3 -11
- package/dist/Client.d.ts +0 -6
- package/dist/Client.js +4 -14
- package/dist/api/resources/index.d.ts +0 -3
- package/dist/api/resources/index.js +1 -4
- package/dist/api/resources/profiles/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 +0 -116
- package/dist/api/resources/windows/client/Client.js +26 -654
- package/dist/api/resources/windows/client/requests/index.d.ts +0 -10
- package/dist/api/types/AirtopProxyConfiguration.d.ts +9 -0
- package/dist/api/types/ExternalSessionWithConnectionInfo.d.ts +1 -1
- package/dist/api/types/Proxy.d.ts +9 -6
- package/dist/api/types/ProxyConfigurationKind.d.ts +9 -0
- package/dist/api/types/ProxyCredentials.d.ts +11 -0
- package/dist/api/types/SessionConfigV1.d.ts +0 -4
- package/dist/api/types/SessionConfigV1Proxy.d.ts +4 -4
- package/dist/api/types/VisualAnalysisConfig.d.ts +1 -1
- package/dist/api/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +3 -2
- package/dist/api/types/VisualAnalysisConfigResultSelectionStrategy.js +1 -0
- package/dist/api/types/index.d.ts +3 -11
- package/dist/api/types/index.js +3 -11
- 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/index.d.ts +0 -10
- package/dist/serialization/resources/windows/client/requests/index.js +1 -21
- package/dist/serialization/types/AirtopProxyConfiguration.d.ts +13 -0
- package/dist/serialization/types/{RequestStatusResponse.js → AirtopProxyConfiguration.js} +4 -4
- package/dist/serialization/types/Proxy.d.ts +4 -6
- package/dist/serialization/types/Proxy.js +3 -5
- package/dist/serialization/types/ProxyConfigurationKind.d.ts +14 -0
- package/dist/serialization/types/{CustomProxy.js → ProxyConfigurationKind.js} +5 -2
- package/dist/serialization/types/ProxyCredentials.d.ts +14 -0
- package/dist/serialization/types/{IntervalMonitorConfig.js → ProxyCredentials.js} +5 -4
- package/dist/serialization/types/SessionConfigV1.d.ts +0 -2
- package/dist/serialization/types/SessionConfigV1.js +0 -2
- package/dist/serialization/types/SessionConfigV1Proxy.d.ts +3 -3
- package/dist/serialization/types/SessionConfigV1Proxy.js +4 -4
- package/dist/serialization/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +1 -1
- package/dist/serialization/types/VisualAnalysisConfigResultSelectionStrategy.js +1 -1
- package/dist/serialization/types/index.d.ts +3 -11
- package/dist/serialization/types/index.js +3 -11
- package/dist/wrapper/AirtopClient.d.ts +0 -1
- package/dist/wrapper/AirtopClient.js +0 -3
- package/dist/wrapper/AirtopWindows.d.ts +5 -3
- package/dist/wrapper/AirtopWindows.js +7 -5
- package/package.json +1 -1
- package/reference.md +0 -896
- 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/index.d.ts +0 -10
- package/serialization/resources/windows/client/requests/index.js +1 -21
- package/serialization/types/AirtopProxyConfiguration.d.ts +13 -0
- package/{dist/serialization/types/AsyncConfig.js → serialization/types/AirtopProxyConfiguration.js} +4 -3
- package/serialization/types/Proxy.d.ts +4 -6
- package/serialization/types/Proxy.js +3 -5
- package/serialization/types/ProxyConfigurationKind.d.ts +14 -0
- package/serialization/types/{CustomProxy.js → ProxyConfigurationKind.js} +5 -2
- package/serialization/types/ProxyCredentials.d.ts +14 -0
- package/serialization/types/{AsyncConfig.js → ProxyCredentials.js} +5 -3
- package/serialization/types/SessionConfigV1.d.ts +0 -2
- package/serialization/types/SessionConfigV1.js +0 -2
- package/serialization/types/SessionConfigV1Proxy.d.ts +3 -3
- package/serialization/types/SessionConfigV1Proxy.js +4 -4
- package/serialization/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +1 -1
- package/serialization/types/VisualAnalysisConfigResultSelectionStrategy.js +1 -1
- package/serialization/types/index.d.ts +3 -11
- package/serialization/types/index.js +3 -11
- package/wrapper/AirtopClient.d.ts +0 -1
- package/wrapper/AirtopClient.js +0 -3
- package/wrapper/AirtopWindows.d.ts +5 -3
- package/wrapper/AirtopWindows.js +7 -5
- package/api/resources/extensionConfigurations/client/Client.d.ts +0 -50
- package/api/resources/extensionConfigurations/client/Client.js +0 -214
- package/api/resources/extensionConfigurations/client/index.d.ts +0 -1
- package/api/resources/extensionConfigurations/client/index.js +0 -17
- package/api/resources/extensionConfigurations/client/requests/ExtensionConfigurationDeleteRequest.d.ts +0 -13
- package/api/resources/extensionConfigurations/client/requests/index.d.ts +0 -1
- package/api/resources/extensionConfigurations/client/requests/index.js +0 -2
- package/api/resources/extensionConfigurations/index.d.ts +0 -1
- package/api/resources/extensionConfigurations/index.js +0 -17
- package/api/resources/requests/client/Client.d.ts +0 -34
- package/api/resources/requests/client/Client.js +0 -115
- package/api/resources/requests/client/index.d.ts +0 -1
- package/api/resources/requests/client/index.js +0 -2
- package/api/resources/requests/index.d.ts +0 -1
- package/api/resources/requests/index.js +0 -17
- package/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
- package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -25
- package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
- package/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
- package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -25
- package/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
- package/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
- package/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
- package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
- package/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
- package/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -25
- package/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -5
- package/api/types/AsyncConfig.d.ts +0 -7
- package/api/types/AsyncConfig.js +0 -5
- package/api/types/AsyncSessionAiResponseEnvelope.d.ts +0 -9
- package/api/types/AsyncSessionAiResponseEnvelope.js +0 -5
- package/api/types/BrowserWaitSelectorConfig.d.ts +0 -11
- package/api/types/BrowserWaitSelectorConfig.js +0 -5
- package/api/types/CustomProxy.d.ts +0 -14
- package/api/types/CustomProxy.js +0 -5
- package/api/types/ExtensionConfigurationOutput.d.ts +0 -13
- package/api/types/ExtensionConfigurationOutput.js +0 -5
- package/api/types/IntervalMonitorConfig.d.ts +0 -9
- package/api/types/IntervalMonitorConfig.js +0 -5
- package/api/types/MonitorConfig.d.ts +0 -14
- package/api/types/MonitorConfig.js +0 -5
- package/api/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -12
- package/api/types/MonitorConfigIncludeVisualAnalysis.js +0 -11
- package/api/types/MonitorConfigMonitorType.d.ts +0 -11
- package/api/types/MonitorConfigMonitorType.js +0 -10
- package/api/types/RequestStatusResponse.d.ts +0 -8
- package/api/types/RequestStatusResponse.js +0 -5
- package/api/types/SessionConfigV1ProxyItem.d.ts +0 -12
- package/api/types/SessionConfigV1ProxyItem.js +0 -5
- package/dist/api/resources/extensionConfigurations/client/Client.d.ts +0 -50
- package/dist/api/resources/extensionConfigurations/client/Client.js +0 -214
- package/dist/api/resources/extensionConfigurations/client/index.d.ts +0 -1
- package/dist/api/resources/extensionConfigurations/client/index.js +0 -17
- package/dist/api/resources/extensionConfigurations/client/requests/ExtensionConfigurationDeleteRequest.d.ts +0 -13
- package/dist/api/resources/extensionConfigurations/client/requests/ExtensionConfigurationDeleteRequest.js +0 -5
- package/dist/api/resources/extensionConfigurations/client/requests/index.d.ts +0 -1
- package/dist/api/resources/extensionConfigurations/client/requests/index.js +0 -2
- package/dist/api/resources/extensionConfigurations/index.d.ts +0 -1
- package/dist/api/resources/extensionConfigurations/index.js +0 -17
- package/dist/api/resources/requests/client/Client.d.ts +0 -34
- package/dist/api/resources/requests/client/Client.js +0 -115
- package/dist/api/resources/requests/client/index.d.ts +0 -1
- package/dist/api/resources/requests/client/index.js +0 -2
- package/dist/api/resources/requests/index.d.ts +0 -1
- package/dist/api/resources/requests/index.js +0 -17
- package/dist/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
- package/dist/api/resources/windows/client/requests/AsyncClickRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -25
- package/dist/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
- package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
- package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -25
- package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
- package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
- package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
- package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
- package/dist/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -25
- package/dist/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -5
- package/dist/api/types/AsyncConfig.d.ts +0 -7
- package/dist/api/types/AsyncConfig.js +0 -5
- package/dist/api/types/AsyncSessionAiResponseEnvelope.d.ts +0 -9
- package/dist/api/types/AsyncSessionAiResponseEnvelope.js +0 -5
- package/dist/api/types/BrowserWaitSelectorConfig.d.ts +0 -11
- package/dist/api/types/BrowserWaitSelectorConfig.js +0 -5
- package/dist/api/types/CustomProxy.d.ts +0 -14
- package/dist/api/types/CustomProxy.js +0 -5
- package/dist/api/types/ExtensionConfigurationOutput.d.ts +0 -13
- package/dist/api/types/ExtensionConfigurationOutput.js +0 -5
- package/dist/api/types/IntervalMonitorConfig.d.ts +0 -9
- package/dist/api/types/IntervalMonitorConfig.js +0 -5
- package/dist/api/types/MonitorConfig.d.ts +0 -14
- package/dist/api/types/MonitorConfig.js +0 -5
- package/dist/api/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -12
- package/dist/api/types/MonitorConfigIncludeVisualAnalysis.js +0 -11
- package/dist/api/types/MonitorConfigMonitorType.d.ts +0 -11
- package/dist/api/types/MonitorConfigMonitorType.js +0 -10
- package/dist/api/types/RequestStatusResponse.d.ts +0 -8
- package/dist/api/types/RequestStatusResponse.js +0 -5
- package/dist/api/types/SessionConfigV1ProxyItem.d.ts +0 -12
- package/dist/api/types/SessionConfigV1ProxyItem.js +0 -5
- package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
- package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -41
- package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -40
- package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -20
- package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -41
- package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
- package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -41
- package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -40
- package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
- package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -41
- package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
- package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -39
- package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -40
- package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
- package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -45
- package/dist/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -18
- package/dist/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -39
- package/dist/serialization/types/AsyncConfig.d.ts +0 -12
- package/dist/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +0 -15
- package/dist/serialization/types/AsyncSessionAiResponseEnvelope.js +0 -36
- package/dist/serialization/types/BrowserWaitSelectorConfig.d.ts +0 -14
- package/dist/serialization/types/BrowserWaitSelectorConfig.js +0 -35
- package/dist/serialization/types/CustomProxy.d.ts +0 -11
- package/dist/serialization/types/ExtensionConfigurationOutput.d.ts +0 -15
- package/dist/serialization/types/ExtensionConfigurationOutput.js +0 -36
- package/dist/serialization/types/IntervalMonitorConfig.d.ts +0 -13
- package/dist/serialization/types/MonitorConfig.d.ts +0 -19
- package/dist/serialization/types/MonitorConfig.js +0 -40
- package/dist/serialization/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -10
- package/dist/serialization/types/MonitorConfigIncludeVisualAnalysis.js +0 -31
- package/dist/serialization/types/MonitorConfigMonitorType.d.ts +0 -10
- package/dist/serialization/types/MonitorConfigMonitorType.js +0 -31
- package/dist/serialization/types/RequestStatusResponse.d.ts +0 -13
- package/dist/serialization/types/SessionConfigV1ProxyItem.d.ts +0 -14
- package/dist/serialization/types/SessionConfigV1ProxyItem.js +0 -35
- package/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
- package/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -41
- package/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -40
- package/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -20
- package/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -41
- package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
- package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -41
- package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -40
- package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
- package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -41
- package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
- package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -39
- package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -40
- package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
- package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -45
- package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -18
- package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -39
- package/serialization/types/AsyncConfig.d.ts +0 -12
- package/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +0 -15
- package/serialization/types/AsyncSessionAiResponseEnvelope.js +0 -36
- package/serialization/types/BrowserWaitSelectorConfig.d.ts +0 -14
- package/serialization/types/BrowserWaitSelectorConfig.js +0 -35
- package/serialization/types/CustomProxy.d.ts +0 -11
- package/serialization/types/ExtensionConfigurationOutput.d.ts +0 -15
- package/serialization/types/ExtensionConfigurationOutput.js +0 -36
- package/serialization/types/IntervalMonitorConfig.d.ts +0 -13
- package/serialization/types/IntervalMonitorConfig.js +0 -34
- package/serialization/types/MonitorConfig.d.ts +0 -19
- package/serialization/types/MonitorConfig.js +0 -40
- package/serialization/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -10
- package/serialization/types/MonitorConfigIncludeVisualAnalysis.js +0 -31
- package/serialization/types/MonitorConfigMonitorType.d.ts +0 -10
- package/serialization/types/MonitorConfigMonitorType.js +0 -31
- package/serialization/types/RequestStatusResponse.d.ts +0 -13
- package/serialization/types/RequestStatusResponse.js +0 -34
- package/serialization/types/SessionConfigV1ProxyItem.d.ts +0 -14
- package/serialization/types/SessionConfigV1ProxyItem.js +0 -35
- /package/api/{resources/extensionConfigurations/client/requests/ExtensionConfigurationDeleteRequest.js → types/AirtopProxyConfiguration.js} +0 -0
- /package/api/{resources/windows/client/requests/AsyncClickRequest.js → types/ProxyConfigurationKind.js} +0 -0
- /package/api/{resources/windows/client/requests/AsyncHoverRequest.js → types/ProxyCredentials.js} +0 -0
- /package/{api/resources/windows/client/requests/AsyncMonitorRequest.js → dist/api/types/AirtopProxyConfiguration.js} +0 -0
- /package/{api/resources/windows/client/requests/AsyncPageQueryRequest.js → dist/api/types/ProxyConfigurationKind.js} +0 -0
- /package/{api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js → dist/api/types/ProxyCredentials.js} +0 -0
@@ -4,13 +4,16 @@
|
|
4
4
|
import * as serializers from "../../../index";
|
5
5
|
import * as Airtop from "../../../../api/index";
|
6
6
|
import * as core from "../../../../core";
|
7
|
+
import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
|
7
8
|
import { SessionsEventsResponseError } from "./SessionsEventsResponseError";
|
8
9
|
import { SessionsEventsResponseWindowEvent } from "./SessionsEventsResponseWindowEvent";
|
9
10
|
import { SessionsEventsResponseSessionEvent } from "./SessionsEventsResponseSessionEvent";
|
10
|
-
import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
|
11
11
|
export declare const SessionsEventsResponse: core.serialization.Schema<serializers.SessionsEventsResponse.Raw, Airtop.SessionsEventsResponse>;
|
12
12
|
export declare namespace SessionsEventsResponse {
|
13
|
-
type Raw = SessionsEventsResponse.
|
13
|
+
type Raw = SessionsEventsResponse.Status | SessionsEventsResponse.Error | SessionsEventsResponse.WindowEvent | SessionsEventsResponse.SessionEvent;
|
14
|
+
interface Status extends SessionsEventsResponseStatus.Raw {
|
15
|
+
event: "status";
|
16
|
+
}
|
14
17
|
interface Error extends SessionsEventsResponseError.Raw {
|
15
18
|
event: "error";
|
16
19
|
}
|
@@ -20,7 +23,4 @@ export declare namespace SessionsEventsResponse {
|
|
20
23
|
interface SessionEvent extends SessionsEventsResponseSessionEvent.Raw {
|
21
24
|
event: "sessionEvent";
|
22
25
|
}
|
23
|
-
interface Status extends SessionsEventsResponseStatus.Raw {
|
24
|
-
event: "status";
|
25
|
-
}
|
26
26
|
}
|
@@ -28,16 +28,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.SessionsEventsResponse = void 0;
|
30
30
|
const core = __importStar(require("../../../../core"));
|
31
|
+
const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
|
31
32
|
const SessionsEventsResponseError_1 = require("./SessionsEventsResponseError");
|
32
33
|
const SessionsEventsResponseWindowEvent_1 = require("./SessionsEventsResponseWindowEvent");
|
33
34
|
const SessionsEventsResponseSessionEvent_1 = require("./SessionsEventsResponseSessionEvent");
|
34
|
-
const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
|
35
35
|
exports.SessionsEventsResponse = core.serialization
|
36
36
|
.union("event", {
|
37
|
+
status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
|
37
38
|
error: SessionsEventsResponseError_1.SessionsEventsResponseError,
|
38
39
|
windowEvent: SessionsEventsResponseWindowEvent_1.SessionsEventsResponseWindowEvent,
|
39
40
|
sessionEvent: SessionsEventsResponseSessionEvent_1.SessionsEventsResponseSessionEvent,
|
40
|
-
status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
|
41
41
|
})
|
42
42
|
.transform({
|
43
43
|
transform: (value) => value,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export * from "./SessionsListRequestStatus";
|
2
|
+
export * from "./SessionsEventsResponseStatus";
|
2
3
|
export * from "./SessionsEventsResponseError";
|
3
4
|
export * from "./SessionsEventsResponseWindowEvent";
|
4
5
|
export * from "./SessionsEventsResponseSessionEvent";
|
5
|
-
export * from "./SessionsEventsResponseStatus";
|
6
6
|
export * from "./SessionsEventsResponse";
|
@@ -15,8 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./SessionsListRequestStatus"), exports);
|
18
|
+
__exportStar(require("./SessionsEventsResponseStatus"), exports);
|
18
19
|
__exportStar(require("./SessionsEventsResponseError"), exports);
|
19
20
|
__exportStar(require("./SessionsEventsResponseWindowEvent"), exports);
|
20
21
|
__exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
|
21
|
-
__exportStar(require("./SessionsEventsResponseStatus"), exports);
|
22
22
|
__exportStar(require("./SessionsEventsResponse"), exports);
|
@@ -1,17 +1,7 @@
|
|
1
|
-
export { AsyncClickRequest } from "./AsyncClickRequest";
|
2
|
-
export { AsyncHoverRequest } from "./AsyncHoverRequest";
|
3
|
-
export { AsyncMonitorRequest } from "./AsyncMonitorRequest";
|
4
|
-
export { AsyncPageQueryRequest } from "./AsyncPageQueryRequest";
|
5
|
-
export { AsyncPaginatedExtractionRequest } from "./AsyncPaginatedExtractionRequest";
|
6
|
-
export { AsyncPromptContentRequest } from "./AsyncPromptContentRequest";
|
7
|
-
export { AsyncScreenshotRequest } from "./AsyncScreenshotRequest";
|
8
|
-
export { AsyncSummarizeContentRequest } from "./AsyncSummarizeContentRequest";
|
9
|
-
export { AsyncTypeRequest } from "./AsyncTypeRequest";
|
10
1
|
export { CreateWindowInputV1Body } from "./CreateWindowInputV1Body";
|
11
2
|
export { WindowLoadUrlV1Body } from "./WindowLoadUrlV1Body";
|
12
3
|
export { SessionClickHandlerRequestBody } from "./SessionClickHandlerRequestBody";
|
13
4
|
export { SessionHoverHandlerRequestBody } from "./SessionHoverHandlerRequestBody";
|
14
|
-
export { SessionMonitorHandlerRequestBody } from "./SessionMonitorHandlerRequestBody";
|
15
5
|
export { SessionPaginatedExtractionHandlerRequestBody } from "./SessionPaginatedExtractionHandlerRequestBody";
|
16
6
|
export { ScrapeContentRequest } from "./ScrapeContentRequest";
|
17
7
|
export { SessionScreenshotHandlerRequestBody } from "./SessionScreenshotHandlerRequestBody";
|
@@ -1,24 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SessionTypeHandlerRequestBody = exports.SessionSummaryHandlerRequestBody = exports.SessionScreenshotHandlerRequestBody = exports.ScrapeContentRequest = exports.SessionPaginatedExtractionHandlerRequestBody = exports.
|
4
|
-
var AsyncClickRequest_1 = require("./AsyncClickRequest");
|
5
|
-
Object.defineProperty(exports, "AsyncClickRequest", { enumerable: true, get: function () { return AsyncClickRequest_1.AsyncClickRequest; } });
|
6
|
-
var AsyncHoverRequest_1 = require("./AsyncHoverRequest");
|
7
|
-
Object.defineProperty(exports, "AsyncHoverRequest", { enumerable: true, get: function () { return AsyncHoverRequest_1.AsyncHoverRequest; } });
|
8
|
-
var AsyncMonitorRequest_1 = require("./AsyncMonitorRequest");
|
9
|
-
Object.defineProperty(exports, "AsyncMonitorRequest", { enumerable: true, get: function () { return AsyncMonitorRequest_1.AsyncMonitorRequest; } });
|
10
|
-
var AsyncPageQueryRequest_1 = require("./AsyncPageQueryRequest");
|
11
|
-
Object.defineProperty(exports, "AsyncPageQueryRequest", { enumerable: true, get: function () { return AsyncPageQueryRequest_1.AsyncPageQueryRequest; } });
|
12
|
-
var AsyncPaginatedExtractionRequest_1 = require("./AsyncPaginatedExtractionRequest");
|
13
|
-
Object.defineProperty(exports, "AsyncPaginatedExtractionRequest", { enumerable: true, get: function () { return AsyncPaginatedExtractionRequest_1.AsyncPaginatedExtractionRequest; } });
|
14
|
-
var AsyncPromptContentRequest_1 = require("./AsyncPromptContentRequest");
|
15
|
-
Object.defineProperty(exports, "AsyncPromptContentRequest", { enumerable: true, get: function () { return AsyncPromptContentRequest_1.AsyncPromptContentRequest; } });
|
16
|
-
var AsyncScreenshotRequest_1 = require("./AsyncScreenshotRequest");
|
17
|
-
Object.defineProperty(exports, "AsyncScreenshotRequest", { enumerable: true, get: function () { return AsyncScreenshotRequest_1.AsyncScreenshotRequest; } });
|
18
|
-
var AsyncSummarizeContentRequest_1 = require("./AsyncSummarizeContentRequest");
|
19
|
-
Object.defineProperty(exports, "AsyncSummarizeContentRequest", { enumerable: true, get: function () { return AsyncSummarizeContentRequest_1.AsyncSummarizeContentRequest; } });
|
20
|
-
var AsyncTypeRequest_1 = require("./AsyncTypeRequest");
|
21
|
-
Object.defineProperty(exports, "AsyncTypeRequest", { enumerable: true, get: function () { return AsyncTypeRequest_1.AsyncTypeRequest; } });
|
3
|
+
exports.SessionTypeHandlerRequestBody = exports.SessionSummaryHandlerRequestBody = exports.SessionScreenshotHandlerRequestBody = exports.ScrapeContentRequest = exports.SessionPaginatedExtractionHandlerRequestBody = exports.SessionHoverHandlerRequestBody = exports.SessionClickHandlerRequestBody = exports.WindowLoadUrlV1Body = exports.CreateWindowInputV1Body = void 0;
|
22
4
|
var CreateWindowInputV1Body_1 = require("./CreateWindowInputV1Body");
|
23
5
|
Object.defineProperty(exports, "CreateWindowInputV1Body", { enumerable: true, get: function () { return CreateWindowInputV1Body_1.CreateWindowInputV1Body; } });
|
24
6
|
var WindowLoadUrlV1Body_1 = require("./WindowLoadUrlV1Body");
|
@@ -27,8 +9,6 @@ var SessionClickHandlerRequestBody_1 = require("./SessionClickHandlerRequestBody
|
|
27
9
|
Object.defineProperty(exports, "SessionClickHandlerRequestBody", { enumerable: true, get: function () { return SessionClickHandlerRequestBody_1.SessionClickHandlerRequestBody; } });
|
28
10
|
var SessionHoverHandlerRequestBody_1 = require("./SessionHoverHandlerRequestBody");
|
29
11
|
Object.defineProperty(exports, "SessionHoverHandlerRequestBody", { enumerable: true, get: function () { return SessionHoverHandlerRequestBody_1.SessionHoverHandlerRequestBody; } });
|
30
|
-
var SessionMonitorHandlerRequestBody_1 = require("./SessionMonitorHandlerRequestBody");
|
31
|
-
Object.defineProperty(exports, "SessionMonitorHandlerRequestBody", { enumerable: true, get: function () { return SessionMonitorHandlerRequestBody_1.SessionMonitorHandlerRequestBody; } });
|
32
12
|
var SessionPaginatedExtractionHandlerRequestBody_1 = require("./SessionPaginatedExtractionHandlerRequestBody");
|
33
13
|
Object.defineProperty(exports, "SessionPaginatedExtractionHandlerRequestBody", { enumerable: true, get: function () { return SessionPaginatedExtractionHandlerRequestBody_1.SessionPaginatedExtractionHandlerRequestBody; } });
|
34
14
|
var ScrapeContentRequest_1 = require("./ScrapeContentRequest");
|
@@ -0,0 +1,13 @@
|
|
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 AirtopProxyConfiguration: core.serialization.ObjectSchema<serializers.AirtopProxyConfiguration.Raw, Airtop.AirtopProxyConfiguration>;
|
8
|
+
export declare namespace AirtopProxyConfiguration {
|
9
|
+
interface Raw {
|
10
|
+
country?: string | null;
|
11
|
+
sticky?: boolean | null;
|
12
|
+
}
|
13
|
+
}
|
package/{dist/serialization/types/AsyncConfig.js → serialization/types/AirtopProxyConfiguration.js}
RENAMED
@@ -26,8 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
26
|
return result;
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.
|
29
|
+
exports.AirtopProxyConfiguration = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
exports.
|
32
|
-
|
31
|
+
exports.AirtopProxyConfiguration = core.serialization.object({
|
32
|
+
country: core.serialization.string().optional(),
|
33
|
+
sticky: core.serialization.boolean().optional(),
|
33
34
|
});
|
@@ -4,11 +4,9 @@
|
|
4
4
|
import * as serializers from "../index";
|
5
5
|
import * as Airtop from "../../api/index";
|
6
6
|
import * as core from "../../core";
|
7
|
-
|
7
|
+
import { AirtopProxyConfiguration } from "./AirtopProxyConfiguration";
|
8
|
+
import { ProxyCredentials } from "./ProxyCredentials";
|
9
|
+
export declare const Proxy: core.serialization.Schema<serializers.Proxy.Raw, Airtop.Proxy>;
|
8
10
|
export declare namespace Proxy {
|
9
|
-
|
10
|
-
password?: string | null;
|
11
|
-
url: string;
|
12
|
-
username?: string | null;
|
13
|
-
}
|
11
|
+
type Raw = string | AirtopProxyConfiguration.Raw | ProxyCredentials.Raw;
|
14
12
|
}
|
@@ -28,8 +28,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.Proxy = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
username: core.serialization.string().optional(),
|
35
|
-
});
|
31
|
+
const AirtopProxyConfiguration_1 = require("./AirtopProxyConfiguration");
|
32
|
+
const ProxyCredentials_1 = require("./ProxyCredentials");
|
33
|
+
exports.Proxy = core.serialization.undiscriminatedUnion([core.serialization.string(), AirtopProxyConfiguration_1.AirtopProxyConfiguration, ProxyCredentials_1.ProxyCredentials]);
|
@@ -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 { Proxy } from "./Proxy";
|
8
|
+
export declare const ProxyConfigurationKind: core.serialization.ObjectSchema<serializers.ProxyConfigurationKind.Raw, Airtop.ProxyConfigurationKind>;
|
9
|
+
export declare namespace ProxyConfigurationKind {
|
10
|
+
interface Raw {
|
11
|
+
domainPattern: string;
|
12
|
+
relay: Proxy.Raw;
|
13
|
+
}
|
14
|
+
}
|
@@ -26,7 +26,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
26
|
return result;
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.
|
29
|
+
exports.ProxyConfigurationKind = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const Proxy_1 = require("./Proxy");
|
32
|
-
exports.
|
32
|
+
exports.ProxyConfigurationKind = core.serialization.object({
|
33
|
+
domainPattern: core.serialization.string(),
|
34
|
+
relay: Proxy_1.Proxy,
|
35
|
+
});
|
@@ -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
|
+
export declare const ProxyCredentials: core.serialization.ObjectSchema<serializers.ProxyCredentials.Raw, Airtop.ProxyCredentials>;
|
8
|
+
export declare namespace ProxyCredentials {
|
9
|
+
interface Raw {
|
10
|
+
password?: string | null;
|
11
|
+
url: string;
|
12
|
+
username?: string | null;
|
13
|
+
}
|
14
|
+
}
|
@@ -26,8 +26,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
26
|
return result;
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.
|
29
|
+
exports.ProxyCredentials = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
exports.
|
32
|
-
|
31
|
+
exports.ProxyCredentials = core.serialization.object({
|
32
|
+
password: core.serialization.string().optional(),
|
33
|
+
url: core.serialization.string(),
|
34
|
+
username: core.serialization.string().optional(),
|
33
35
|
});
|
@@ -9,8 +9,6 @@ export declare const SessionConfigV1: core.serialization.ObjectSchema<serializer
|
|
9
9
|
export declare namespace SessionConfigV1 {
|
10
10
|
interface Raw {
|
11
11
|
baseProfileId?: string | null;
|
12
|
-
extensionConfigurationName?: string | null;
|
13
|
-
extensionIds?: string[] | null;
|
14
12
|
persistProfile?: boolean | null;
|
15
13
|
profileName?: string | null;
|
16
14
|
proxy?: SessionConfigV1Proxy.Raw | null;
|
@@ -31,8 +31,6 @@ const core = __importStar(require("../../core"));
|
|
31
31
|
const SessionConfigV1Proxy_1 = require("./SessionConfigV1Proxy");
|
32
32
|
exports.SessionConfigV1 = core.serialization.object({
|
33
33
|
baseProfileId: core.serialization.string().optional(),
|
34
|
-
extensionConfigurationName: core.serialization.string().optional(),
|
35
|
-
extensionIds: core.serialization.list(core.serialization.string()).optional(),
|
36
34
|
persistProfile: core.serialization.boolean().optional(),
|
37
35
|
profileName: core.serialization.string().optional(),
|
38
36
|
proxy: SessionConfigV1Proxy_1.SessionConfigV1Proxy.optional(),
|
@@ -4,9 +4,9 @@
|
|
4
4
|
import * as serializers from "../index";
|
5
5
|
import * as Airtop from "../../api/index";
|
6
6
|
import * as core from "../../core";
|
7
|
-
import {
|
8
|
-
import {
|
7
|
+
import { Proxy } from "./Proxy";
|
8
|
+
import { ProxyConfigurationKind } from "./ProxyConfigurationKind";
|
9
9
|
export declare const SessionConfigV1Proxy: core.serialization.Schema<serializers.SessionConfigV1Proxy.Raw, Airtop.SessionConfigV1Proxy>;
|
10
10
|
export declare namespace SessionConfigV1Proxy {
|
11
|
-
type Raw = boolean |
|
11
|
+
type Raw = boolean | Proxy.Raw | ProxyConfigurationKind.Raw[];
|
12
12
|
}
|
@@ -28,10 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.SessionConfigV1Proxy = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
const
|
32
|
-
const
|
31
|
+
const Proxy_1 = require("./Proxy");
|
32
|
+
const ProxyConfigurationKind_1 = require("./ProxyConfigurationKind");
|
33
33
|
exports.SessionConfigV1Proxy = core.serialization.undiscriminatedUnion([
|
34
34
|
core.serialization.boolean(),
|
35
|
-
|
36
|
-
core.serialization.list(
|
35
|
+
Proxy_1.Proxy,
|
36
|
+
core.serialization.list(ProxyConfigurationKind_1.ProxyConfigurationKind),
|
37
37
|
]);
|
@@ -6,5 +6,5 @@ import * as Airtop from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const VisualAnalysisConfigResultSelectionStrategy: core.serialization.Schema<serializers.VisualAnalysisConfigResultSelectionStrategy.Raw, Airtop.VisualAnalysisConfigResultSelectionStrategy>;
|
8
8
|
export declare namespace VisualAnalysisConfigResultSelectionStrategy {
|
9
|
-
type Raw = "first" | "bestMatch";
|
9
|
+
type Raw = "first" | "bestMatch" | "auto";
|
10
10
|
}
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.VisualAnalysisConfigResultSelectionStrategy = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
exports.VisualAnalysisConfigResultSelectionStrategy = core.serialization.enum_(["first", "bestMatch"]);
|
31
|
+
exports.VisualAnalysisConfigResultSelectionStrategy = core.serialization.enum_(["first", "bestMatch", "auto"]);
|
@@ -1,10 +1,7 @@
|
|
1
1
|
export * from "./AiPromptResponse";
|
2
2
|
export * from "./AiResponseEnvelope";
|
3
|
-
export * from "./AsyncConfig";
|
4
|
-
export * from "./AsyncSessionAiResponseEnvelope";
|
5
3
|
export * from "./BrowserWaitNavigationConfigWaitUntil";
|
6
4
|
export * from "./BrowserWaitNavigationConfig";
|
7
|
-
export * from "./BrowserWaitSelectorConfig";
|
8
5
|
export * from "./ClickConfigClickType";
|
9
6
|
export * from "./ClickConfig";
|
10
7
|
export * from "./ClientProvidedResponseMetadata";
|
@@ -13,25 +10,19 @@ export * from "./ErrorBody";
|
|
13
10
|
export * from "./ErrorDetail";
|
14
11
|
export * from "./ErrorMessage";
|
15
12
|
export * from "./ErrorModel";
|
16
|
-
export * from "./ExtensionConfigurationOutput";
|
17
13
|
export * from "./ExternalSessionAiResponseMetadataStatus";
|
18
14
|
export * from "./ExternalSessionAiResponseMetadata";
|
19
15
|
export * from "./ExternalSessionAiResponseMetadataUsage";
|
20
16
|
export * from "./ExternalSessionConfig";
|
21
17
|
export * from "./ExternalSessionWithConnectionInfo";
|
22
|
-
export * from "./IntervalMonitorConfig";
|
23
18
|
export * from "./Issue";
|
24
19
|
export * from "./MicroInteractionConfig";
|
25
|
-
export * from "./MonitorConfigIncludeVisualAnalysis";
|
26
|
-
export * from "./MonitorConfigMonitorType";
|
27
|
-
export * from "./MonitorConfig";
|
28
20
|
export * from "./OperationOutcome";
|
29
21
|
export * from "./OperationOutcomeResponse";
|
30
22
|
export * from "./PageQueryConfig";
|
31
23
|
export * from "./PageQueryExperimentalConfig";
|
32
24
|
export * from "./PaginatedExtractionConfig";
|
33
25
|
export * from "./Pagination";
|
34
|
-
export * from "./RequestStatusResponse";
|
35
26
|
export * from "./ScrapeResponse";
|
36
27
|
export * from "./ScrapeResponseContent";
|
37
28
|
export * from "./ScrapeResponseEnvelope";
|
@@ -39,9 +30,10 @@ export * from "./ScrapeResponseOutput";
|
|
39
30
|
export * from "./ScreenshotConfig";
|
40
31
|
export * from "./ScreenshotMetadata";
|
41
32
|
export * from "./ScreenshotRequestConfig";
|
33
|
+
export * from "./AirtopProxyConfiguration";
|
34
|
+
export * from "./ProxyCredentials";
|
42
35
|
export * from "./Proxy";
|
43
|
-
export * from "./
|
44
|
-
export * from "./SessionConfigV1ProxyItem";
|
36
|
+
export * from "./ProxyConfigurationKind";
|
45
37
|
export * from "./SessionConfigV1Proxy";
|
46
38
|
export * from "./SessionConfigV1";
|
47
39
|
export * from "./SessionEventMessage";
|
@@ -16,11 +16,8 @@ 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("./AsyncConfig"), exports);
|
20
|
-
__exportStar(require("./AsyncSessionAiResponseEnvelope"), exports);
|
21
19
|
__exportStar(require("./BrowserWaitNavigationConfigWaitUntil"), exports);
|
22
20
|
__exportStar(require("./BrowserWaitNavigationConfig"), exports);
|
23
|
-
__exportStar(require("./BrowserWaitSelectorConfig"), exports);
|
24
21
|
__exportStar(require("./ClickConfigClickType"), exports);
|
25
22
|
__exportStar(require("./ClickConfig"), exports);
|
26
23
|
__exportStar(require("./ClientProvidedResponseMetadata"), exports);
|
@@ -29,25 +26,19 @@ __exportStar(require("./ErrorBody"), exports);
|
|
29
26
|
__exportStar(require("./ErrorDetail"), exports);
|
30
27
|
__exportStar(require("./ErrorMessage"), exports);
|
31
28
|
__exportStar(require("./ErrorModel"), exports);
|
32
|
-
__exportStar(require("./ExtensionConfigurationOutput"), exports);
|
33
29
|
__exportStar(require("./ExternalSessionAiResponseMetadataStatus"), exports);
|
34
30
|
__exportStar(require("./ExternalSessionAiResponseMetadata"), exports);
|
35
31
|
__exportStar(require("./ExternalSessionAiResponseMetadataUsage"), exports);
|
36
32
|
__exportStar(require("./ExternalSessionConfig"), exports);
|
37
33
|
__exportStar(require("./ExternalSessionWithConnectionInfo"), exports);
|
38
|
-
__exportStar(require("./IntervalMonitorConfig"), exports);
|
39
34
|
__exportStar(require("./Issue"), exports);
|
40
35
|
__exportStar(require("./MicroInteractionConfig"), exports);
|
41
|
-
__exportStar(require("./MonitorConfigIncludeVisualAnalysis"), exports);
|
42
|
-
__exportStar(require("./MonitorConfigMonitorType"), exports);
|
43
|
-
__exportStar(require("./MonitorConfig"), exports);
|
44
36
|
__exportStar(require("./OperationOutcome"), exports);
|
45
37
|
__exportStar(require("./OperationOutcomeResponse"), exports);
|
46
38
|
__exportStar(require("./PageQueryConfig"), exports);
|
47
39
|
__exportStar(require("./PageQueryExperimentalConfig"), exports);
|
48
40
|
__exportStar(require("./PaginatedExtractionConfig"), exports);
|
49
41
|
__exportStar(require("./Pagination"), exports);
|
50
|
-
__exportStar(require("./RequestStatusResponse"), exports);
|
51
42
|
__exportStar(require("./ScrapeResponse"), exports);
|
52
43
|
__exportStar(require("./ScrapeResponseContent"), exports);
|
53
44
|
__exportStar(require("./ScrapeResponseEnvelope"), exports);
|
@@ -55,9 +46,10 @@ __exportStar(require("./ScrapeResponseOutput"), exports);
|
|
55
46
|
__exportStar(require("./ScreenshotConfig"), exports);
|
56
47
|
__exportStar(require("./ScreenshotMetadata"), exports);
|
57
48
|
__exportStar(require("./ScreenshotRequestConfig"), exports);
|
49
|
+
__exportStar(require("./AirtopProxyConfiguration"), exports);
|
50
|
+
__exportStar(require("./ProxyCredentials"), exports);
|
58
51
|
__exportStar(require("./Proxy"), exports);
|
59
|
-
__exportStar(require("./
|
60
|
-
__exportStar(require("./SessionConfigV1ProxyItem"), exports);
|
52
|
+
__exportStar(require("./ProxyConfigurationKind"), exports);
|
61
53
|
__exportStar(require("./SessionConfigV1Proxy"), exports);
|
62
54
|
__exportStar(require("./SessionConfigV1"), exports);
|
63
55
|
__exportStar(require("./SessionEventMessage"), exports);
|
@@ -17,7 +17,6 @@ export declare class AirtopClient {
|
|
17
17
|
get sessions(): AirtopSessions;
|
18
18
|
get windows(): AirtopWindows;
|
19
19
|
get profiles(): import("../api/resources/profiles/client/Client").Profiles;
|
20
|
-
get extensionConfigurations(): import("../api/resources/extensionConfigurations/client/Client").ExtensionConfigurations;
|
21
20
|
log(message: string): void;
|
22
21
|
warn(message: string): void;
|
23
22
|
error(err: any): void;
|
package/wrapper/AirtopClient.js
CHANGED
@@ -115,15 +115,17 @@ export declare class AirtopWindows extends WindowsClass {
|
|
115
115
|
*/
|
116
116
|
type(sessionId: string, windowId: string, request: Airtop.SessionTypeHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
|
117
117
|
/**
|
118
|
+
* Submit a prompt that queries the content of a specific browser window and paginates through pages to return a list of results.
|
119
|
+
*
|
118
120
|
* @param {string} sessionId - The session id for the window.
|
119
121
|
* @param {string} windowId - The Airtop window id of the browser window.
|
120
|
-
* @param {Airtop.
|
122
|
+
* @param {Airtop.SessionPaginatedExtractionHandlerRequestBody} request
|
121
123
|
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
122
124
|
*
|
123
125
|
* @example
|
124
|
-
* await client.windows.
|
126
|
+
* await client.windows.paginatedExtraction("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
|
125
127
|
*/
|
126
|
-
|
128
|
+
paginatedExtraction(sessionId: string, windowId: string, request?: Airtop.SessionPaginatedExtractionHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
|
127
129
|
private executeSeleniumCDPCommand;
|
128
130
|
getWindowInfoForSeleniumDriver(session: Airtop.ExternalSessionWithConnectionInfo, driver: seleniumWebdriver.WebDriver, request?: Airtop.GetWindowInfoRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowResponse>;
|
129
131
|
}
|
package/wrapper/AirtopWindows.js
CHANGED
@@ -191,20 +191,22 @@ class AirtopWindows extends Client_1.Windows {
|
|
191
191
|
});
|
192
192
|
}
|
193
193
|
/**
|
194
|
+
* Submit a prompt that queries the content of a specific browser window and paginates through pages to return a list of results.
|
195
|
+
*
|
194
196
|
* @param {string} sessionId - The session id for the window.
|
195
197
|
* @param {string} windowId - The Airtop window id of the browser window.
|
196
|
-
* @param {Airtop.
|
198
|
+
* @param {Airtop.SessionPaginatedExtractionHandlerRequestBody} request
|
197
199
|
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
198
200
|
*
|
199
201
|
* @example
|
200
|
-
* await client.windows.
|
202
|
+
* await client.windows.paginatedExtraction("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
|
201
203
|
*/
|
202
|
-
|
204
|
+
paginatedExtraction(sessionId, windowId, request = {}, requestOptions) {
|
203
205
|
const _super = Object.create(null, {
|
204
|
-
|
206
|
+
paginatedExtraction: { get: () => super.paginatedExtraction }
|
205
207
|
});
|
206
208
|
return __awaiter(this, void 0, void 0, function* () {
|
207
|
-
return _super.
|
209
|
+
return _super.paginatedExtraction.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
|
208
210
|
});
|
209
211
|
}
|
210
212
|
executeSeleniumCDPCommand(driver, session, apiKey) {
|
@@ -1,50 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as environments from "../../../../environments";
|
5
|
-
import * as core from "../../../../core";
|
6
|
-
import * as Airtop from "../../../index";
|
7
|
-
export declare namespace ExtensionConfigurations {
|
8
|
-
interface Options {
|
9
|
-
environment?: core.Supplier<environments.AirtopEnvironment | string>;
|
10
|
-
apiKey: core.Supplier<core.BearerToken>;
|
11
|
-
fetcher?: core.FetchFunction;
|
12
|
-
}
|
13
|
-
interface RequestOptions {
|
14
|
-
/** The maximum time to wait for a response in seconds. */
|
15
|
-
timeoutInSeconds?: number;
|
16
|
-
/** The number of times to retry the request. Defaults to 2. */
|
17
|
-
maxRetries?: number;
|
18
|
-
/** A hook to abort the request. */
|
19
|
-
abortSignal?: AbortSignal;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
export declare class ExtensionConfigurations {
|
23
|
-
protected readonly _options: ExtensionConfigurations.Options;
|
24
|
-
constructor(_options: ExtensionConfigurations.Options);
|
25
|
-
/**
|
26
|
-
* Delete extension configurations matching by name
|
27
|
-
*
|
28
|
-
* @param {Airtop.ExtensionConfigurationDeleteRequest} request
|
29
|
-
* @param {ExtensionConfigurations.RequestOptions} requestOptions - Request-specific configuration.
|
30
|
-
*
|
31
|
-
* @example
|
32
|
-
* await client.extensionConfigurations.extensionConfigurationDelete()
|
33
|
-
*/
|
34
|
-
extensionConfigurationDelete(request?: Airtop.ExtensionConfigurationDeleteRequest, requestOptions?: ExtensionConfigurations.RequestOptions): Promise<void>;
|
35
|
-
/**
|
36
|
-
* Get an extension configuration by name
|
37
|
-
*
|
38
|
-
* @param {string} name - Name of the extension configuration to get
|
39
|
-
* @param {ExtensionConfigurations.RequestOptions} requestOptions - Request-specific configuration.
|
40
|
-
*
|
41
|
-
* @throws {@link Airtop.NotFoundError}
|
42
|
-
* @throws {@link Airtop.UnprocessableEntityError}
|
43
|
-
* @throws {@link Airtop.InternalServerError}
|
44
|
-
*
|
45
|
-
* @example
|
46
|
-
* await client.extensionConfigurations.extensionConfigurationGetInfo("my-configuration")
|
47
|
-
*/
|
48
|
-
extensionConfigurationGetInfo(name: string, requestOptions?: ExtensionConfigurations.RequestOptions): Promise<Airtop.ExtensionConfigurationOutput>;
|
49
|
-
protected _getAuthorizationHeader(): Promise<string>;
|
50
|
-
}
|