@airtop/sdk 0.1.31-beta1 → 0.1.31
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 +6 -16
- package/README.md +6 -8
- package/api/errors/index.d.ts +0 -2
- package/api/errors/index.js +0 -2
- 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/requests/client/Client.js +2 -2
- package/api/resources/sessions/client/Client.d.ts +0 -9
- package/api/resources/sessions/client/Client.js +12 -65
- package/api/resources/sessions/types/SessionsEventsResponse.d.ts +7 -7
- package/api/resources/sessions/types/index.d.ts +2 -2
- package/api/resources/sessions/types/index.js +2 -2
- package/api/resources/windows/client/Client.d.ts +4 -138
- package/api/resources/windows/client/Client.js +34 -729
- package/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +5 -5
- package/api/resources/windows/client/requests/index.d.ts +0 -11
- package/api/types/IntervalMonitorConfig.d.ts +1 -1
- package/api/types/MonitorConfig.d.ts +1 -5
- package/api/types/SessionConfigV1.d.ts +0 -2
- package/api/types/index.d.ts +0 -9
- package/api/types/index.js +0 -9
- package/dist/Client.d.ts +0 -6
- package/dist/Client.js +6 -16
- package/dist/api/errors/index.d.ts +0 -2
- package/dist/api/errors/index.js +0 -2
- 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/requests/client/Client.js +2 -2
- package/dist/api/resources/sessions/client/Client.d.ts +0 -9
- package/dist/api/resources/sessions/client/Client.js +12 -65
- package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +7 -7
- package/dist/api/resources/sessions/types/index.d.ts +2 -2
- package/dist/api/resources/sessions/types/index.js +2 -2
- package/dist/api/resources/windows/client/Client.d.ts +4 -138
- package/dist/api/resources/windows/client/Client.js +34 -729
- package/dist/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +5 -5
- package/dist/api/resources/windows/client/requests/index.d.ts +0 -11
- package/dist/api/types/IntervalMonitorConfig.d.ts +1 -1
- package/dist/api/types/MonitorConfig.d.ts +1 -5
- package/dist/api/types/SessionConfigV1.d.ts +0 -2
- package/dist/api/types/index.d.ts +0 -9
- package/dist/api/types/index.js +0 -9
- package/dist/serialization/resources/index.d.ts +0 -2
- package/dist/serialization/resources/index.js +1 -3
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +9 -9
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +4 -4
- package/dist/serialization/resources/sessions/types/index.d.ts +2 -2
- package/dist/serialization/resources/sessions/types/index.js +2 -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/resources/windows/client/requests/index.d.ts +0 -11
- package/dist/serialization/resources/windows/client/requests/index.js +1 -23
- package/dist/serialization/types/MonitorConfig.d.ts +0 -4
- package/dist/serialization/types/MonitorConfig.js +0 -4
- package/dist/serialization/types/SessionConfigV1.d.ts +0 -1
- package/dist/serialization/types/SessionConfigV1.js +0 -1
- package/dist/serialization/types/index.d.ts +0 -9
- package/dist/serialization/types/index.js +0 -9
- package/dist/wrapper/AirtopClient.d.ts +0 -1
- package/dist/wrapper/AirtopClient.js +0 -3
- package/dist/wrapper/AirtopRequests.d.ts +2 -2
- package/dist/wrapper/AirtopRequests.js +3 -3
- package/dist/wrapper/AirtopWindows.d.ts +11 -11
- package/dist/wrapper/AirtopWindows.js +17 -17
- package/package.json +2 -3
- package/reference.md +156 -1295
- package/serialization/resources/index.d.ts +0 -2
- package/serialization/resources/index.js +1 -3
- package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +9 -9
- package/serialization/resources/sessions/types/SessionsEventsResponse.js +4 -4
- package/serialization/resources/sessions/types/index.d.ts +2 -2
- package/serialization/resources/sessions/types/index.js +2 -2
- package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +1 -2
- package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +1 -2
- package/serialization/resources/windows/client/requests/index.d.ts +0 -11
- package/serialization/resources/windows/client/requests/index.js +1 -23
- package/serialization/types/MonitorConfig.d.ts +0 -4
- package/serialization/types/MonitorConfig.js +0 -4
- package/serialization/types/SessionConfigV1.d.ts +0 -1
- package/serialization/types/SessionConfigV1.js +0 -1
- package/serialization/types/index.d.ts +0 -9
- package/serialization/types/index.js +0 -9
- package/wrapper/AirtopClient.d.ts +0 -1
- package/wrapper/AirtopClient.js +0 -3
- package/wrapper/AirtopRequests.d.ts +2 -2
- package/wrapper/AirtopRequests.js +3 -3
- package/wrapper/AirtopWindows.d.ts +11 -11
- package/wrapper/AirtopWindows.js +17 -17
- package/api/errors/ForbiddenError.d.ts +0 -8
- package/api/errors/ForbiddenError.js +0 -41
- package/api/errors/UnauthorizedError.d.ts +0 -8
- package/api/errors/UnauthorizedError.js +0 -41
- package/api/resources/automations/client/Client.d.ts +0 -87
- package/api/resources/automations/client/Client.js +0 -451
- package/api/resources/automations/client/index.d.ts +0 -1
- package/api/resources/automations/client/index.js +0 -17
- package/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +0 -19
- package/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +0 -5
- package/api/resources/automations/client/requests/index.d.ts +0 -1
- package/api/resources/automations/client/requests/index.js +0 -2
- package/api/resources/automations/index.d.ts +0 -1
- package/api/resources/automations/index.js +0 -17
- package/api/resources/extensionConfigurations/client/Client.d.ts +0 -40
- package/api/resources/extensionConfigurations/client/Client.js +0 -149
- package/api/resources/extensionConfigurations/client/index.d.ts +0 -1
- package/api/resources/extensionConfigurations/client/index.js +0 -2
- package/api/resources/extensionConfigurations/client/requests/ExtensionConfigurationDeleteRequest.d.ts +0 -13
- package/api/resources/extensionConfigurations/client/requests/ExtensionConfigurationDeleteRequest.js +0 -5
- 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/windows/client/requests/AsyncClickRequest.d.ts +0 -29
- package/api/resources/windows/client/requests/AsyncClickRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +0 -23
- package/api/resources/windows/client/requests/AsyncCreateAutomationRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -27
- package/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
- package/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
- package/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
- package/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
- package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
- 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/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/AutomationOutput.d.ts +0 -10
- package/api/types/AutomationOutput.js +0 -5
- package/api/types/BrowserWaitSelectorConfig.d.ts +0 -11
- package/api/types/BrowserWaitSelectorConfig.js +0 -5
- package/api/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -4
- package/api/types/CreateAutomationRequestBodyConfiguration.js +0 -5
- package/api/types/DeleteAutomationOutputWrapperBody.d.ts +0 -4
- package/api/types/DeleteAutomationOutputWrapperBody.js +0 -5
- package/api/types/ExtensionConfigurationOutput.d.ts +0 -13
- package/api/types/ExtensionConfigurationOutput.js +0 -5
- package/api/types/ListAutomationsOutput.d.ts +0 -7
- package/api/types/ListAutomationsOutput.js +0 -5
- package/api/types/MonitorConfigMonitorType.d.ts +0 -11
- package/api/types/MonitorConfigMonitorType.js +0 -10
- package/dist/api/errors/ForbiddenError.d.ts +0 -8
- package/dist/api/errors/ForbiddenError.js +0 -41
- package/dist/api/errors/UnauthorizedError.d.ts +0 -8
- package/dist/api/errors/UnauthorizedError.js +0 -41
- package/dist/api/resources/automations/client/Client.d.ts +0 -87
- package/dist/api/resources/automations/client/Client.js +0 -451
- package/dist/api/resources/automations/client/index.d.ts +0 -1
- package/dist/api/resources/automations/client/index.js +0 -17
- package/dist/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +0 -19
- package/dist/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +0 -5
- package/dist/api/resources/automations/client/requests/index.d.ts +0 -1
- package/dist/api/resources/automations/client/requests/index.js +0 -2
- package/dist/api/resources/automations/index.d.ts +0 -1
- package/dist/api/resources/automations/index.js +0 -17
- package/dist/api/resources/extensionConfigurations/client/Client.d.ts +0 -40
- package/dist/api/resources/extensionConfigurations/client/Client.js +0 -149
- package/dist/api/resources/extensionConfigurations/client/index.d.ts +0 -1
- package/dist/api/resources/extensionConfigurations/client/index.js +0 -2
- 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/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/AsyncCreateAutomationRequest.d.ts +0 -23
- package/dist/api/resources/windows/client/requests/AsyncCreateAutomationRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -27
- package/dist/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
- 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 -27
- 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/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/AutomationOutput.d.ts +0 -10
- package/dist/api/types/AutomationOutput.js +0 -5
- package/dist/api/types/BrowserWaitSelectorConfig.d.ts +0 -11
- package/dist/api/types/BrowserWaitSelectorConfig.js +0 -5
- package/dist/api/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -4
- package/dist/api/types/CreateAutomationRequestBodyConfiguration.js +0 -5
- package/dist/api/types/DeleteAutomationOutputWrapperBody.d.ts +0 -4
- package/dist/api/types/DeleteAutomationOutputWrapperBody.js +0 -5
- package/dist/api/types/ExtensionConfigurationOutput.d.ts +0 -13
- package/dist/api/types/ExtensionConfigurationOutput.js +0 -5
- package/dist/api/types/ListAutomationsOutput.d.ts +0 -7
- package/dist/api/types/ListAutomationsOutput.js +0 -5
- package/dist/api/types/MonitorConfigMonitorType.d.ts +0 -11
- package/dist/api/types/MonitorConfigMonitorType.js +0 -10
- package/dist/serialization/resources/automations/client/index.d.ts +0 -1
- package/dist/serialization/resources/automations/client/index.js +0 -17
- package/dist/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +0 -14
- package/dist/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +0 -35
- package/dist/serialization/resources/automations/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/automations/client/requests/index.js +0 -5
- package/dist/serialization/resources/automations/index.d.ts +0 -1
- package/dist/serialization/resources/automations/index.js +0 -17
- 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/AsyncCreateAutomationRequest.d.ts +0 -18
- package/dist/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.js +0 -39
- package/dist/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -18
- package/dist/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -39
- 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/types/AsyncConfig.d.ts +0 -12
- package/dist/serialization/types/AsyncConfig.js +0 -33
- package/dist/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +0 -15
- package/dist/serialization/types/AsyncSessionAiResponseEnvelope.js +0 -36
- package/dist/serialization/types/AutomationOutput.d.ts +0 -16
- package/dist/serialization/types/AutomationOutput.js +0 -37
- package/dist/serialization/types/BrowserWaitSelectorConfig.d.ts +0 -14
- package/dist/serialization/types/BrowserWaitSelectorConfig.js +0 -35
- package/dist/serialization/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -10
- package/dist/serialization/types/CreateAutomationRequestBodyConfiguration.js +0 -31
- package/dist/serialization/types/DeleteAutomationOutputWrapperBody.d.ts +0 -10
- package/dist/serialization/types/DeleteAutomationOutputWrapperBody.js +0 -31
- package/dist/serialization/types/ExtensionConfigurationOutput.d.ts +0 -15
- package/dist/serialization/types/ExtensionConfigurationOutput.js +0 -36
- package/dist/serialization/types/ListAutomationsOutput.d.ts +0 -13
- package/dist/serialization/types/ListAutomationsOutput.js +0 -34
- package/dist/serialization/types/MonitorConfigMonitorType.d.ts +0 -10
- package/dist/serialization/types/MonitorConfigMonitorType.js +0 -31
- package/serialization/resources/automations/client/index.d.ts +0 -1
- package/serialization/resources/automations/client/index.js +0 -17
- package/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +0 -14
- package/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +0 -35
- package/serialization/resources/automations/client/requests/index.d.ts +0 -1
- package/serialization/resources/automations/client/requests/index.js +0 -5
- package/serialization/resources/automations/index.d.ts +0 -1
- package/serialization/resources/automations/index.js +0 -17
- 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/AsyncCreateAutomationRequest.d.ts +0 -18
- package/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.js +0 -39
- package/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -18
- package/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -39
- 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/types/AsyncConfig.d.ts +0 -12
- package/serialization/types/AsyncConfig.js +0 -33
- package/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +0 -15
- package/serialization/types/AsyncSessionAiResponseEnvelope.js +0 -36
- package/serialization/types/AutomationOutput.d.ts +0 -16
- package/serialization/types/AutomationOutput.js +0 -37
- package/serialization/types/BrowserWaitSelectorConfig.d.ts +0 -14
- package/serialization/types/BrowserWaitSelectorConfig.js +0 -35
- package/serialization/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -10
- package/serialization/types/CreateAutomationRequestBodyConfiguration.js +0 -31
- package/serialization/types/DeleteAutomationOutputWrapperBody.d.ts +0 -10
- package/serialization/types/DeleteAutomationOutputWrapperBody.js +0 -31
- package/serialization/types/ExtensionConfigurationOutput.d.ts +0 -15
- package/serialization/types/ExtensionConfigurationOutput.js +0 -36
- package/serialization/types/ListAutomationsOutput.d.ts +0 -13
- package/serialization/types/ListAutomationsOutput.js +0 -34
- package/serialization/types/MonitorConfigMonitorType.d.ts +0 -10
- package/serialization/types/MonitorConfigMonitorType.js +0 -31
@@ -3,6 +3,4 @@ export * from "./windows/types";
|
|
3
3
|
export * as sessions from "./sessions";
|
4
4
|
export * from "./sessions/types";
|
5
5
|
export * from "./windows/client/requests";
|
6
|
-
export * as automations from "./automations";
|
7
|
-
export * from "./automations/client/requests";
|
8
6
|
export * from "./sessions/client/requests";
|
@@ -26,12 +26,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.
|
29
|
+
exports.sessions = exports.windows = void 0;
|
30
30
|
exports.windows = __importStar(require("./windows"));
|
31
31
|
__exportStar(require("./windows/types"), exports);
|
32
32
|
exports.sessions = __importStar(require("./sessions"));
|
33
33
|
__exportStar(require("./sessions/types"), exports);
|
34
34
|
__exportStar(require("./windows/client/requests"), exports);
|
35
|
-
exports.automations = __importStar(require("./automations"));
|
36
|
-
__exportStar(require("./automations/client/requests"), exports);
|
37
35
|
__exportStar(require("./sessions/client/requests"), exports);
|
@@ -4,23 +4,23 @@
|
|
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";
|
8
|
-
import { SessionsEventsResponseError } from "./SessionsEventsResponseError";
|
9
7
|
import { SessionsEventsResponseWindowEvent } from "./SessionsEventsResponseWindowEvent";
|
10
8
|
import { SessionsEventsResponseSessionEvent } from "./SessionsEventsResponseSessionEvent";
|
9
|
+
import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
|
10
|
+
import { SessionsEventsResponseError } from "./SessionsEventsResponseError";
|
11
11
|
export declare const SessionsEventsResponse: core.serialization.Schema<serializers.SessionsEventsResponse.Raw, Airtop.SessionsEventsResponse>;
|
12
12
|
export declare namespace SessionsEventsResponse {
|
13
|
-
type Raw = SessionsEventsResponse.
|
14
|
-
interface Status extends SessionsEventsResponseStatus.Raw {
|
15
|
-
event: "status";
|
16
|
-
}
|
17
|
-
interface Error extends SessionsEventsResponseError.Raw {
|
18
|
-
event: "error";
|
19
|
-
}
|
13
|
+
type Raw = SessionsEventsResponse.WindowEvent | SessionsEventsResponse.SessionEvent | SessionsEventsResponse.Status | SessionsEventsResponse.Error;
|
20
14
|
interface WindowEvent extends SessionsEventsResponseWindowEvent.Raw {
|
21
15
|
event: "windowEvent";
|
22
16
|
}
|
23
17
|
interface SessionEvent extends SessionsEventsResponseSessionEvent.Raw {
|
24
18
|
event: "sessionEvent";
|
25
19
|
}
|
20
|
+
interface Status extends SessionsEventsResponseStatus.Raw {
|
21
|
+
event: "status";
|
22
|
+
}
|
23
|
+
interface Error extends SessionsEventsResponseError.Raw {
|
24
|
+
event: "error";
|
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");
|
32
|
-
const SessionsEventsResponseError_1 = require("./SessionsEventsResponseError");
|
33
31
|
const SessionsEventsResponseWindowEvent_1 = require("./SessionsEventsResponseWindowEvent");
|
34
32
|
const SessionsEventsResponseSessionEvent_1 = require("./SessionsEventsResponseSessionEvent");
|
33
|
+
const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
|
34
|
+
const SessionsEventsResponseError_1 = require("./SessionsEventsResponseError");
|
35
35
|
exports.SessionsEventsResponse = core.serialization
|
36
36
|
.union("event", {
|
37
|
-
status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
|
38
|
-
error: SessionsEventsResponseError_1.SessionsEventsResponseError,
|
39
37
|
windowEvent: SessionsEventsResponseWindowEvent_1.SessionsEventsResponseWindowEvent,
|
40
38
|
sessionEvent: SessionsEventsResponseSessionEvent_1.SessionsEventsResponseSessionEvent,
|
39
|
+
status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
|
40
|
+
error: SessionsEventsResponseError_1.SessionsEventsResponseError,
|
41
41
|
})
|
42
42
|
.transform({
|
43
43
|
transform: (value) => value,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export * from "./SessionsListRequestStatus";
|
2
|
-
export * from "./SessionsEventsResponseStatus";
|
3
|
-
export * from "./SessionsEventsResponseError";
|
4
2
|
export * from "./SessionsEventsResponseWindowEvent";
|
5
3
|
export * from "./SessionsEventsResponseSessionEvent";
|
4
|
+
export * from "./SessionsEventsResponseStatus";
|
5
|
+
export * from "./SessionsEventsResponseError";
|
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);
|
19
|
-
__exportStar(require("./SessionsEventsResponseError"), exports);
|
20
18
|
__exportStar(require("./SessionsEventsResponseWindowEvent"), exports);
|
21
19
|
__exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
|
20
|
+
__exportStar(require("./SessionsEventsResponseStatus"), exports);
|
21
|
+
__exportStar(require("./SessionsEventsResponseError"), exports);
|
22
22
|
__exportStar(require("./SessionsEventsResponse"), exports);
|
package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts
CHANGED
@@ -9,10 +9,9 @@ export declare const SessionMonitorHandlerRequestBody: core.serialization.Schema
|
|
9
9
|
export declare namespace SessionMonitorHandlerRequestBody {
|
10
10
|
interface Raw {
|
11
11
|
clientRequestId?: string | null;
|
12
|
-
condition
|
12
|
+
condition: string;
|
13
13
|
configuration?: MonitorConfig.Raw | null;
|
14
14
|
costThresholdCredits?: number | null;
|
15
|
-
selector?: string | null;
|
16
15
|
timeThresholdSeconds?: number | null;
|
17
16
|
}
|
18
17
|
}
|
@@ -31,9 +31,8 @@ const core = __importStar(require("../../../../../core"));
|
|
31
31
|
const MonitorConfig_1 = require("../../../../types/MonitorConfig");
|
32
32
|
exports.SessionMonitorHandlerRequestBody = core.serialization.object({
|
33
33
|
clientRequestId: core.serialization.string().optional(),
|
34
|
-
condition: core.serialization.string()
|
34
|
+
condition: core.serialization.string(),
|
35
35
|
configuration: MonitorConfig_1.MonitorConfig.optional(),
|
36
36
|
costThresholdCredits: core.serialization.number().optional(),
|
37
|
-
selector: core.serialization.string().optional(),
|
38
37
|
timeThresholdSeconds: core.serialization.number().optional(),
|
39
38
|
});
|
@@ -1,14 +1,3 @@
|
|
1
|
-
export { AsyncClickRequest } from "./AsyncClickRequest";
|
2
|
-
export { AsyncCreateAutomationRequest } from "./AsyncCreateAutomationRequest";
|
3
|
-
export { AsyncExecuteAutomationRequest } from "./AsyncExecuteAutomationRequest";
|
4
|
-
export { AsyncHoverRequest } from "./AsyncHoverRequest";
|
5
|
-
export { AsyncMonitorRequest } from "./AsyncMonitorRequest";
|
6
|
-
export { AsyncPageQueryRequest } from "./AsyncPageQueryRequest";
|
7
|
-
export { AsyncPaginatedExtractionRequest } from "./AsyncPaginatedExtractionRequest";
|
8
|
-
export { AsyncPromptContentRequest } from "./AsyncPromptContentRequest";
|
9
|
-
export { AsyncScreenshotRequest } from "./AsyncScreenshotRequest";
|
10
|
-
export { AsyncSummarizeContentRequest } from "./AsyncSummarizeContentRequest";
|
11
|
-
export { AsyncTypeRequest } from "./AsyncTypeRequest";
|
12
1
|
export { CreateWindowInputV1Body } from "./CreateWindowInputV1Body";
|
13
2
|
export { WindowLoadUrlV1Body } from "./WindowLoadUrlV1Body";
|
14
3
|
export { SessionClickHandlerRequestBody } from "./SessionClickHandlerRequestBody";
|
@@ -1,28 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SessionTypeHandlerRequestBody = exports.SessionSummaryHandlerRequestBody = exports.SessionScrollHandlerRequestBody = exports.SessionScreenshotHandlerRequestBody = exports.ScrapeContentRequest = exports.SessionPaginatedExtractionHandlerRequestBody = exports.SessionMonitorHandlerRequestBody = exports.SessionHoverHandlerRequestBody = exports.SessionClickHandlerRequestBody = exports.WindowLoadUrlV1Body = exports.CreateWindowInputV1Body =
|
4
|
-
var AsyncClickRequest_1 = require("./AsyncClickRequest");
|
5
|
-
Object.defineProperty(exports, "AsyncClickRequest", { enumerable: true, get: function () { return AsyncClickRequest_1.AsyncClickRequest; } });
|
6
|
-
var AsyncCreateAutomationRequest_1 = require("./AsyncCreateAutomationRequest");
|
7
|
-
Object.defineProperty(exports, "AsyncCreateAutomationRequest", { enumerable: true, get: function () { return AsyncCreateAutomationRequest_1.AsyncCreateAutomationRequest; } });
|
8
|
-
var AsyncExecuteAutomationRequest_1 = require("./AsyncExecuteAutomationRequest");
|
9
|
-
Object.defineProperty(exports, "AsyncExecuteAutomationRequest", { enumerable: true, get: function () { return AsyncExecuteAutomationRequest_1.AsyncExecuteAutomationRequest; } });
|
10
|
-
var AsyncHoverRequest_1 = require("./AsyncHoverRequest");
|
11
|
-
Object.defineProperty(exports, "AsyncHoverRequest", { enumerable: true, get: function () { return AsyncHoverRequest_1.AsyncHoverRequest; } });
|
12
|
-
var AsyncMonitorRequest_1 = require("./AsyncMonitorRequest");
|
13
|
-
Object.defineProperty(exports, "AsyncMonitorRequest", { enumerable: true, get: function () { return AsyncMonitorRequest_1.AsyncMonitorRequest; } });
|
14
|
-
var AsyncPageQueryRequest_1 = require("./AsyncPageQueryRequest");
|
15
|
-
Object.defineProperty(exports, "AsyncPageQueryRequest", { enumerable: true, get: function () { return AsyncPageQueryRequest_1.AsyncPageQueryRequest; } });
|
16
|
-
var AsyncPaginatedExtractionRequest_1 = require("./AsyncPaginatedExtractionRequest");
|
17
|
-
Object.defineProperty(exports, "AsyncPaginatedExtractionRequest", { enumerable: true, get: function () { return AsyncPaginatedExtractionRequest_1.AsyncPaginatedExtractionRequest; } });
|
18
|
-
var AsyncPromptContentRequest_1 = require("./AsyncPromptContentRequest");
|
19
|
-
Object.defineProperty(exports, "AsyncPromptContentRequest", { enumerable: true, get: function () { return AsyncPromptContentRequest_1.AsyncPromptContentRequest; } });
|
20
|
-
var AsyncScreenshotRequest_1 = require("./AsyncScreenshotRequest");
|
21
|
-
Object.defineProperty(exports, "AsyncScreenshotRequest", { enumerable: true, get: function () { return AsyncScreenshotRequest_1.AsyncScreenshotRequest; } });
|
22
|
-
var AsyncSummarizeContentRequest_1 = require("./AsyncSummarizeContentRequest");
|
23
|
-
Object.defineProperty(exports, "AsyncSummarizeContentRequest", { enumerable: true, get: function () { return AsyncSummarizeContentRequest_1.AsyncSummarizeContentRequest; } });
|
24
|
-
var AsyncTypeRequest_1 = require("./AsyncTypeRequest");
|
25
|
-
Object.defineProperty(exports, "AsyncTypeRequest", { enumerable: true, get: function () { return AsyncTypeRequest_1.AsyncTypeRequest; } });
|
3
|
+
exports.SessionTypeHandlerRequestBody = exports.SessionSummaryHandlerRequestBody = exports.SessionScrollHandlerRequestBody = exports.SessionScreenshotHandlerRequestBody = exports.ScrapeContentRequest = exports.SessionPaginatedExtractionHandlerRequestBody = exports.SessionMonitorHandlerRequestBody = exports.SessionHoverHandlerRequestBody = exports.SessionClickHandlerRequestBody = exports.WindowLoadUrlV1Body = exports.CreateWindowInputV1Body = void 0;
|
26
4
|
var CreateWindowInputV1Body_1 = require("./CreateWindowInputV1Body");
|
27
5
|
Object.defineProperty(exports, "CreateWindowInputV1Body", { enumerable: true, get: function () { return CreateWindowInputV1Body_1.CreateWindowInputV1Body; } });
|
28
6
|
var WindowLoadUrlV1Body_1 = require("./WindowLoadUrlV1Body");
|
@@ -6,14 +6,10 @@ import * as Airtop from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { MonitorConfigIncludeVisualAnalysis } from "./MonitorConfigIncludeVisualAnalysis";
|
8
8
|
import { IntervalMonitorConfig } from "./IntervalMonitorConfig";
|
9
|
-
import { BrowserWaitSelectorConfig } from "./BrowserWaitSelectorConfig";
|
10
|
-
import { MonitorConfigMonitorType } from "./MonitorConfigMonitorType";
|
11
9
|
export declare const MonitorConfig: core.serialization.ObjectSchema<serializers.MonitorConfig.Raw, Airtop.MonitorConfig>;
|
12
10
|
export declare namespace MonitorConfig {
|
13
11
|
interface Raw {
|
14
12
|
includeVisualAnalysis?: MonitorConfigIncludeVisualAnalysis.Raw | null;
|
15
13
|
interval?: IntervalMonitorConfig.Raw | null;
|
16
|
-
monitorSelectorOptions?: BrowserWaitSelectorConfig.Raw | null;
|
17
|
-
monitorType: MonitorConfigMonitorType.Raw;
|
18
14
|
}
|
19
15
|
}
|
@@ -30,11 +30,7 @@ exports.MonitorConfig = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const MonitorConfigIncludeVisualAnalysis_1 = require("./MonitorConfigIncludeVisualAnalysis");
|
32
32
|
const IntervalMonitorConfig_1 = require("./IntervalMonitorConfig");
|
33
|
-
const BrowserWaitSelectorConfig_1 = require("./BrowserWaitSelectorConfig");
|
34
|
-
const MonitorConfigMonitorType_1 = require("./MonitorConfigMonitorType");
|
35
33
|
exports.MonitorConfig = core.serialization.object({
|
36
34
|
includeVisualAnalysis: MonitorConfigIncludeVisualAnalysis_1.MonitorConfigIncludeVisualAnalysis.optional(),
|
37
35
|
interval: IntervalMonitorConfig_1.IntervalMonitorConfig.optional(),
|
38
|
-
monitorSelectorOptions: BrowserWaitSelectorConfig_1.BrowserWaitSelectorConfig.optional(),
|
39
|
-
monitorType: MonitorConfigMonitorType_1.MonitorConfigMonitorType,
|
40
36
|
});
|
@@ -9,7 +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
|
-
extensionIds?: string[] | null;
|
13
12
|
persistProfile?: boolean | null;
|
14
13
|
profileName?: string | null;
|
15
14
|
proxy?: SessionConfigV1Proxy.Raw | null;
|
@@ -31,7 +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
|
-
extensionIds: core.serialization.list(core.serialization.string()).optional(),
|
35
34
|
persistProfile: core.serialization.boolean().optional(),
|
36
35
|
profileName: core.serialization.string().optional(),
|
37
36
|
proxy: SessionConfigV1Proxy_1.SessionConfigV1Proxy.optional(),
|
@@ -1,22 +1,15 @@
|
|
1
1
|
export * from "./AiPromptResponse";
|
2
2
|
export * from "./AiResponseEnvelope";
|
3
|
-
export * from "./AsyncConfig";
|
4
|
-
export * from "./AsyncSessionAiResponseEnvelope";
|
5
|
-
export * from "./AutomationOutput";
|
6
3
|
export * from "./BrowserWaitNavigationConfigWaitUntil";
|
7
4
|
export * from "./BrowserWaitNavigationConfig";
|
8
|
-
export * from "./BrowserWaitSelectorConfig";
|
9
5
|
export * from "./ClickConfigClickType";
|
10
6
|
export * from "./ClickConfig";
|
11
7
|
export * from "./ClientProvidedResponseMetadata";
|
12
|
-
export * from "./CreateAutomationRequestBodyConfiguration";
|
13
|
-
export * from "./DeleteAutomationOutputWrapperBody";
|
14
8
|
export * from "./EnvelopeDefaultMeta";
|
15
9
|
export * from "./ErrorBody";
|
16
10
|
export * from "./ErrorDetail";
|
17
11
|
export * from "./ErrorMessage";
|
18
12
|
export * from "./ErrorModel";
|
19
|
-
export * from "./ExtensionConfigurationOutput";
|
20
13
|
export * from "./ExternalSessionAiResponseMetadataStatus";
|
21
14
|
export * from "./ExternalSessionAiResponseMetadata";
|
22
15
|
export * from "./ExternalSessionAiResponseMetadataUsage";
|
@@ -24,10 +17,8 @@ export * from "./ExternalSessionConfig";
|
|
24
17
|
export * from "./ExternalSessionWithConnectionInfo";
|
25
18
|
export * from "./IntervalMonitorConfig";
|
26
19
|
export * from "./Issue";
|
27
|
-
export * from "./ListAutomationsOutput";
|
28
20
|
export * from "./MicroInteractionConfig";
|
29
21
|
export * from "./MonitorConfigIncludeVisualAnalysis";
|
30
|
-
export * from "./MonitorConfigMonitorType";
|
31
22
|
export * from "./MonitorConfig";
|
32
23
|
export * from "./OperationOutcome";
|
33
24
|
export * from "./OperationOutcomeResponse";
|
@@ -16,23 +16,16 @@ 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
|
-
__exportStar(require("./AutomationOutput"), exports);
|
22
19
|
__exportStar(require("./BrowserWaitNavigationConfigWaitUntil"), exports);
|
23
20
|
__exportStar(require("./BrowserWaitNavigationConfig"), exports);
|
24
|
-
__exportStar(require("./BrowserWaitSelectorConfig"), exports);
|
25
21
|
__exportStar(require("./ClickConfigClickType"), exports);
|
26
22
|
__exportStar(require("./ClickConfig"), exports);
|
27
23
|
__exportStar(require("./ClientProvidedResponseMetadata"), exports);
|
28
|
-
__exportStar(require("./CreateAutomationRequestBodyConfiguration"), exports);
|
29
|
-
__exportStar(require("./DeleteAutomationOutputWrapperBody"), exports);
|
30
24
|
__exportStar(require("./EnvelopeDefaultMeta"), exports);
|
31
25
|
__exportStar(require("./ErrorBody"), exports);
|
32
26
|
__exportStar(require("./ErrorDetail"), exports);
|
33
27
|
__exportStar(require("./ErrorMessage"), exports);
|
34
28
|
__exportStar(require("./ErrorModel"), exports);
|
35
|
-
__exportStar(require("./ExtensionConfigurationOutput"), exports);
|
36
29
|
__exportStar(require("./ExternalSessionAiResponseMetadataStatus"), exports);
|
37
30
|
__exportStar(require("./ExternalSessionAiResponseMetadata"), exports);
|
38
31
|
__exportStar(require("./ExternalSessionAiResponseMetadataUsage"), exports);
|
@@ -40,10 +33,8 @@ __exportStar(require("./ExternalSessionConfig"), exports);
|
|
40
33
|
__exportStar(require("./ExternalSessionWithConnectionInfo"), exports);
|
41
34
|
__exportStar(require("./IntervalMonitorConfig"), exports);
|
42
35
|
__exportStar(require("./Issue"), exports);
|
43
|
-
__exportStar(require("./ListAutomationsOutput"), exports);
|
44
36
|
__exportStar(require("./MicroInteractionConfig"), exports);
|
45
37
|
__exportStar(require("./MonitorConfigIncludeVisualAnalysis"), exports);
|
46
|
-
__exportStar(require("./MonitorConfigMonitorType"), exports);
|
47
38
|
__exportStar(require("./MonitorConfig"), exports);
|
48
39
|
__exportStar(require("./OperationOutcome"), exports);
|
49
40
|
__exportStar(require("./OperationOutcomeResponse"), exports);
|
@@ -20,7 +20,6 @@ export declare class AirtopClient {
|
|
20
20
|
get windows(): AirtopWindows;
|
21
21
|
get requests(): AirtopRequests;
|
22
22
|
get profiles(): import("../api/resources/profiles/client/Client").Profiles;
|
23
|
-
get extensionConfigurations(): import("../api/resources/extensionConfigurations/client/Client").ExtensionConfigurations;
|
24
23
|
log(message: string): void;
|
25
24
|
warn(message: string): void;
|
26
25
|
error(err: any): void;
|
package/wrapper/AirtopClient.js
CHANGED
@@ -6,13 +6,13 @@ export declare class AirtopRequests extends RequestsClass {
|
|
6
6
|
/**
|
7
7
|
* Waits until a request is complete or times out
|
8
8
|
*
|
9
|
-
* @param requestId - The ID of the request to
|
9
|
+
* @param requestId - The ID of the request to wait for.
|
10
10
|
* @param timeoutSeconds - Maximum time to wait in seconds.
|
11
11
|
* @param intervalSeconds - Polling interval in seconds.
|
12
12
|
* @param requestOptions - Request-specific configuration.
|
13
13
|
*
|
14
14
|
* @example
|
15
|
-
* const result = await client.requests.
|
15
|
+
* const result = await client.requests.waitForRequestCompletion("123e4567-e89b-12d3-a456-426614174000", 300)
|
16
16
|
*/
|
17
17
|
waitForRequestCompletion(requestId: string, timeoutSeconds?: number, intervalSeconds?: number, requestOptions?: RequestsNamespace.RequestOptions): Promise<Airtop.RequestStatusResponse>;
|
18
18
|
}
|
@@ -19,13 +19,13 @@ class AirtopRequests extends Client_1.Requests {
|
|
19
19
|
/**
|
20
20
|
* Waits until a request is complete or times out
|
21
21
|
*
|
22
|
-
* @param requestId - The ID of the request to
|
22
|
+
* @param requestId - The ID of the request to wait for.
|
23
23
|
* @param timeoutSeconds - Maximum time to wait in seconds.
|
24
24
|
* @param intervalSeconds - Polling interval in seconds.
|
25
25
|
* @param requestOptions - Request-specific configuration.
|
26
26
|
*
|
27
27
|
* @example
|
28
|
-
* const result = await client.requests.
|
28
|
+
* const result = await client.requests.waitForRequestCompletion("123e4567-e89b-12d3-a456-426614174000", 300)
|
29
29
|
*/
|
30
30
|
waitForRequestCompletion(requestId, timeoutSeconds = 300, intervalSeconds = 2, requestOptions) {
|
31
31
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -41,7 +41,7 @@ class AirtopRequests extends Client_1.Requests {
|
|
41
41
|
}
|
42
42
|
yield new Promise((resolve) => setTimeout(resolve, intervalSeconds * 1000));
|
43
43
|
}
|
44
|
-
throw new Error(`
|
44
|
+
throw new Error(`Waiting for request timed out: ${requestId}`);
|
45
45
|
});
|
46
46
|
}
|
47
47
|
}
|
@@ -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
|
*
|
@@ -135,7 +125,7 @@ export declare class AirtopWindows extends WindowsClass {
|
|
135
125
|
* @example
|
136
126
|
* await client.windows.paginatedExtraction("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
|
137
127
|
*/
|
138
|
-
paginatedExtraction(sessionId: string, windowId: string, request: Airtop.SessionPaginatedExtractionHandlerRequestBody, requestOptions?:
|
128
|
+
paginatedExtraction(sessionId: string, windowId: string, request: Airtop.SessionPaginatedExtractionHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
|
139
129
|
/**
|
140
130
|
* Execute a scroll interaction in a specific browser window
|
141
131
|
*
|
@@ -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,8 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as errors from "../../errors/index";
|
5
|
-
import * as Airtop from "../index";
|
6
|
-
export declare class ForbiddenError extends errors.AirtopError {
|
7
|
-
constructor(body: Airtop.ErrorModel);
|
8
|
-
}
|
@@ -1,41 +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.ForbiddenError = void 0;
|
30
|
-
const errors = __importStar(require("../../errors/index"));
|
31
|
-
class ForbiddenError extends errors.AirtopError {
|
32
|
-
constructor(body) {
|
33
|
-
super({
|
34
|
-
message: "ForbiddenError",
|
35
|
-
statusCode: 403,
|
36
|
-
body: body,
|
37
|
-
});
|
38
|
-
Object.setPrototypeOf(this, ForbiddenError.prototype);
|
39
|
-
}
|
40
|
-
}
|
41
|
-
exports.ForbiddenError = ForbiddenError;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as errors from "../../errors/index";
|
5
|
-
import * as Airtop from "../index";
|
6
|
-
export declare class UnauthorizedError extends errors.AirtopError {
|
7
|
-
constructor(body: Airtop.ErrorModel);
|
8
|
-
}
|
@@ -1,41 +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.UnauthorizedError = void 0;
|
30
|
-
const errors = __importStar(require("../../errors/index"));
|
31
|
-
class UnauthorizedError extends errors.AirtopError {
|
32
|
-
constructor(body) {
|
33
|
-
super({
|
34
|
-
message: "UnauthorizedError",
|
35
|
-
statusCode: 401,
|
36
|
-
body: body,
|
37
|
-
});
|
38
|
-
Object.setPrototypeOf(this, UnauthorizedError.prototype);
|
39
|
-
}
|
40
|
-
}
|
41
|
-
exports.UnauthorizedError = UnauthorizedError;
|