@airtop/sdk 0.1.35-beta0 → 1.0.0-alpha2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +1 -153
- package/dist/index.cjs +1195 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1028 -0
- package/dist/index.d.ts +1028 -7
- package/dist/index.js +1193 -49
- package/dist/index.js.map +1 -0
- package/package.json +72 -73
- package/Client.d.ts +0 -46
- package/Client.js +0 -42
- package/api/errors/ForbiddenError.d.ts +0 -8
- package/api/errors/ForbiddenError.js +0 -51
- package/api/errors/InternalServerError.d.ts +0 -8
- package/api/errors/InternalServerError.js +0 -51
- package/api/errors/NotFoundError.d.ts +0 -8
- package/api/errors/NotFoundError.js +0 -51
- package/api/errors/UnauthorizedError.d.ts +0 -8
- package/api/errors/UnauthorizedError.js +0 -51
- package/api/errors/UnprocessableEntityError.d.ts +0 -8
- package/api/errors/UnprocessableEntityError.js +0 -51
- package/api/errors/index.d.ts +0 -5
- package/api/errors/index.js +0 -21
- package/api/index.d.ts +0 -3
- package/api/index.js +0 -19
- package/api/resources/automations/client/Client.d.ts +0 -91
- package/api/resources/automations/client/Client.js +0 -429
- 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/files/client/Client.d.ts +0 -69
- package/api/resources/files/client/Client.js +0 -286
- package/api/resources/files/client/index.d.ts +0 -1
- package/api/resources/files/client/index.js +0 -17
- package/api/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -20
- package/api/resources/files/client/requests/CreateFileRestInputV1.js +0 -5
- package/api/resources/files/client/requests/FilesListRequest.d.ts +0 -24
- package/api/resources/files/client/requests/FilesListRequest.js +0 -5
- package/api/resources/files/client/requests/index.d.ts +0 -2
- package/api/resources/files/client/requests/index.js +0 -2
- package/api/resources/files/index.d.ts +0 -2
- package/api/resources/files/index.js +0 -18
- package/api/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -13
- package/api/resources/files/types/CreateFileRestInputV1FileType.js +0 -12
- package/api/resources/files/types/index.d.ts +0 -1
- package/api/resources/files/types/index.js +0 -17
- package/api/resources/index.d.ts +0 -14
- package/api/resources/index.js +0 -53
- package/api/resources/profiles/client/Client.d.ts +0 -40
- package/api/resources/profiles/client/Client.js +0 -131
- package/api/resources/profiles/client/index.d.ts +0 -1
- package/api/resources/profiles/client/index.js +0 -17
- package/api/resources/profiles/client/requests/ProfilesDeleteRequest.d.ts +0 -17
- package/api/resources/profiles/client/requests/ProfilesDeleteRequest.js +0 -5
- package/api/resources/profiles/client/requests/index.d.ts +0 -1
- package/api/resources/profiles/client/requests/index.js +0 -2
- package/api/resources/profiles/index.d.ts +0 -1
- package/api/resources/profiles/index.js +0 -17
- package/api/resources/requests/client/Client.d.ts +0 -38
- package/api/resources/requests/client/Client.js +0 -117
- 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/sessions/client/Client.d.ts +0 -102
- package/api/resources/sessions/client/Client.js +0 -540
- package/api/resources/sessions/client/index.d.ts +0 -1
- package/api/resources/sessions/client/index.js +0 -17
- package/api/resources/sessions/client/requests/SessionRestInputV1.d.ts +0 -12
- package/api/resources/sessions/client/requests/SessionRestInputV1.js +0 -5
- package/api/resources/sessions/client/requests/SessionsEventsRequest.d.ts +0 -20
- package/api/resources/sessions/client/requests/SessionsEventsRequest.js +0 -5
- package/api/resources/sessions/client/requests/SessionsListRequest.d.ts +0 -29
- package/api/resources/sessions/client/requests/SessionsListRequest.js +0 -5
- package/api/resources/sessions/client/requests/index.d.ts +0 -3
- package/api/resources/sessions/client/requests/index.js +0 -2
- package/api/resources/sessions/index.d.ts +0 -2
- package/api/resources/sessions/index.js +0 -18
- package/api/resources/sessions/types/SessionsEventsResponse.d.ts +0 -22
- package/api/resources/sessions/types/SessionsEventsResponse.js +0 -5
- package/api/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -11
- package/api/resources/sessions/types/SessionsEventsResponseError.js +0 -5
- package/api/resources/sessions/types/SessionsEventsResponseSessionEvent.d.ts +0 -11
- package/api/resources/sessions/types/SessionsEventsResponseSessionEvent.js +0 -5
- package/api/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -11
- package/api/resources/sessions/types/SessionsEventsResponseStatus.js +0 -5
- package/api/resources/sessions/types/SessionsEventsResponseWindowEvent.d.ts +0 -11
- package/api/resources/sessions/types/SessionsEventsResponseWindowEvent.js +0 -5
- package/api/resources/sessions/types/SessionsListRequestStatus.d.ts +0 -16
- package/api/resources/sessions/types/SessionsListRequestStatus.js +0 -15
- package/api/resources/sessions/types/index.d.ts +0 -6
- package/api/resources/sessions/types/index.js +0 -22
- package/api/resources/windows/client/Client.d.ts +0 -362
- package/api/resources/windows/client/Client.js +0 -1539
- package/api/resources/windows/client/index.d.ts +0 -1
- package/api/resources/windows/client/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/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +0 -18
- package/api/resources/windows/client/requests/CreateWindowInputV1Body.js +0 -5
- package/api/resources/windows/client/requests/GetWindowInfoRequest.d.ts +0 -23
- package/api/resources/windows/client/requests/GetWindowInfoRequest.js +0 -5
- package/api/resources/windows/client/requests/ScrapeContentRequest.d.ts +0 -18
- package/api/resources/windows/client/requests/ScrapeContentRequest.js +0 -5
- package/api/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +0 -27
- package/api/resources/windows/client/requests/SessionClickHandlerRequestBody.js +0 -5
- package/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +0 -25
- package/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.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/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.d.ts +0 -25
- package/api/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.js +0 -5
- package/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +0 -21
- package/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +0 -5
- package/api/resources/windows/client/requests/SessionScrollHandlerRequestBody.d.ts +0 -29
- package/api/resources/windows/client/requests/SessionScrollHandlerRequestBody.js +0 -5
- package/api/resources/windows/client/requests/SessionSummaryHandlerRequestBody.d.ts +0 -23
- package/api/resources/windows/client/requests/SessionSummaryHandlerRequestBody.js +0 -5
- package/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +0 -35
- package/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +0 -5
- package/api/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +0 -18
- package/api/resources/windows/client/requests/WindowLoadUrlV1Body.js +0 -5
- package/api/resources/windows/client/requests/index.d.ts +0 -23
- package/api/resources/windows/client/requests/index.js +0 -2
- package/api/resources/windows/index.d.ts +0 -2
- package/api/resources/windows/index.js +0 -18
- package/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +0 -13
- package/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +0 -12
- package/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +0 -13
- package/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +0 -12
- package/api/resources/windows/types/index.d.ts +0 -2
- package/api/resources/windows/types/index.js +0 -18
- package/api/types/AiPromptResponse.d.ts +0 -10
- package/api/types/AiPromptResponse.js +0 -5
- package/api/types/AiResponseEnvelope.d.ts +0 -6
- package/api/types/AiResponseEnvelope.js +0 -5
- package/api/types/AirtopProxyConfiguration.d.ts +0 -9
- package/api/types/AirtopProxyConfiguration.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/BrowserWaitNavigationConfig.d.ts +0 -10
- package/api/types/BrowserWaitNavigationConfig.js +0 -5
- package/api/types/BrowserWaitNavigationConfigWaitUntil.d.ts +0 -13
- package/api/types/BrowserWaitNavigationConfigWaitUntil.js +0 -12
- package/api/types/ClickConfig.d.ts +0 -14
- package/api/types/ClickConfig.js +0 -5
- package/api/types/ClickConfigClickType.d.ts +0 -12
- package/api/types/ClickConfigClickType.js +0 -11
- package/api/types/ClientProvidedResponseMetadata.d.ts +0 -6
- package/api/types/ClientProvidedResponseMetadata.js +0 -5
- package/api/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -4
- package/api/types/CreateAutomationRequestBodyConfiguration.js +0 -5
- package/api/types/CreateFileV1.d.ts +0 -24
- package/api/types/CreateFileV1.js +0 -5
- package/api/types/CreateFileV1FileType.d.ts +0 -13
- package/api/types/CreateFileV1FileType.js +0 -12
- package/api/types/DeleteAutomationOutputWrapperBody.d.ts +0 -4
- package/api/types/DeleteAutomationOutputWrapperBody.js +0 -5
- package/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -10
- package/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -5
- package/api/types/EnvelopeDefaultMeta.d.ts +0 -6
- package/api/types/EnvelopeDefaultMeta.js +0 -5
- package/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -10
- package/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -5
- package/api/types/ErrorBody.d.ts +0 -9
- package/api/types/ErrorBody.js +0 -5
- package/api/types/ErrorDetail.d.ts +0 -10
- package/api/types/ErrorDetail.js +0 -5
- package/api/types/ErrorMessage.d.ts +0 -11
- package/api/types/ErrorMessage.js +0 -5
- package/api/types/ErrorModel.d.ts +0 -18
- package/api/types/ErrorModel.js +0 -5
- package/api/types/ExtensionConfigurationOutput.d.ts +0 -13
- package/api/types/ExtensionConfigurationOutput.js +0 -5
- package/api/types/ExternalFile.d.ts +0 -33
- package/api/types/ExternalFile.js +0 -5
- package/api/types/ExternalSessionAiResponseMetadata.d.ts +0 -13
- package/api/types/ExternalSessionAiResponseMetadata.js +0 -5
- package/api/types/ExternalSessionAiResponseMetadataStatus.d.ts +0 -12
- package/api/types/ExternalSessionAiResponseMetadataStatus.js +0 -11
- package/api/types/ExternalSessionAiResponseMetadataUsage.d.ts +0 -9
- package/api/types/ExternalSessionAiResponseMetadataUsage.js +0 -5
- package/api/types/ExternalSessionConfig.d.ts +0 -11
- package/api/types/ExternalSessionConfig.js +0 -5
- package/api/types/ExternalSessionWithConnectionInfo.d.ts +0 -26
- package/api/types/ExternalSessionWithConnectionInfo.js +0 -5
- package/api/types/FilesResponse.d.ts +0 -10
- package/api/types/FilesResponse.js +0 -5
- package/api/types/FilesWithPagination.d.ts +0 -10
- package/api/types/FilesWithPagination.js +0 -5
- package/api/types/GetFileV1.d.ts +0 -24
- package/api/types/GetFileV1.js +0 -5
- package/api/types/GetFileV1FileType.d.ts +0 -13
- package/api/types/GetFileV1FileType.js +0 -12
- package/api/types/IntervalMonitorConfig.d.ts +0 -9
- package/api/types/IntervalMonitorConfig.js +0 -5
- package/api/types/Issue.d.ts +0 -13
- package/api/types/Issue.js +0 -5
- package/api/types/ListAutomationsOutput.d.ts +0 -7
- package/api/types/ListAutomationsOutput.js +0 -5
- package/api/types/MicroInteractionConfig.d.ts +0 -10
- package/api/types/MicroInteractionConfig.js +0 -5
- package/api/types/MicroInteractionConfigWithExperimental.d.ts +0 -12
- package/api/types/MicroInteractionConfigWithExperimental.js +0 -5
- package/api/types/MicroInteractionExperimentalConfig.d.ts +0 -7
- package/api/types/MicroInteractionExperimentalConfig.js +0 -5
- package/api/types/MonitorConfig.d.ts +0 -10
- 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/OperationOutcome.d.ts +0 -7
- package/api/types/OperationOutcome.js +0 -5
- package/api/types/OperationOutcomeResponse.d.ts +0 -10
- package/api/types/OperationOutcomeResponse.js +0 -5
- package/api/types/PageQueryConfig.d.ts +0 -12
- package/api/types/PageQueryConfig.js +0 -5
- package/api/types/PageQueryExperimentalConfig.d.ts +0 -7
- package/api/types/PageQueryExperimentalConfig.js +0 -5
- package/api/types/PaginatedExtractionConfig.d.ts +0 -16
- package/api/types/PaginatedExtractionConfig.js +0 -5
- package/api/types/PaginatedExtractionExperimentalConfig.d.ts +0 -7
- package/api/types/PaginatedExtractionExperimentalConfig.js +0 -5
- package/api/types/Pagination.d.ts +0 -21
- package/api/types/Pagination.js +0 -5
- package/api/types/Proxy.d.ts +0 -14
- package/api/types/Proxy.js +0 -5
- package/api/types/ProxyConfigurationKind.d.ts +0 -9
- package/api/types/ProxyConfigurationKind.js +0 -5
- package/api/types/ProxyCredentials.d.ts +0 -11
- package/api/types/ProxyCredentials.js +0 -5
- package/api/types/RequestStatusResponse.d.ts +0 -8
- package/api/types/RequestStatusResponse.js +0 -5
- package/api/types/ScrapeConfig.d.ts +0 -7
- package/api/types/ScrapeConfig.js +0 -5
- package/api/types/ScrapeResponse.d.ts +0 -10
- package/api/types/ScrapeResponse.js +0 -5
- package/api/types/ScrapeResponseContent.d.ts +0 -9
- package/api/types/ScrapeResponseContent.js +0 -5
- package/api/types/ScrapeResponseEnvelope.d.ts +0 -8
- package/api/types/ScrapeResponseEnvelope.js +0 -5
- package/api/types/ScrapeResponseOutput.d.ts +0 -12
- package/api/types/ScrapeResponseOutput.js +0 -5
- package/api/types/ScreenshotConfig.d.ts +0 -13
- package/api/types/ScreenshotConfig.js +0 -5
- package/api/types/ScreenshotMetadata.d.ts +0 -7
- package/api/types/ScreenshotMetadata.js +0 -5
- package/api/types/ScreenshotRequestConfig.d.ts +0 -8
- package/api/types/ScreenshotRequestConfig.js +0 -5
- package/api/types/ScrollByConfig.d.ts +0 -9
- package/api/types/ScrollByConfig.js +0 -5
- package/api/types/ScrollToEdgeConfig.d.ts +0 -9
- package/api/types/ScrollToEdgeConfig.js +0 -5
- package/api/types/SessionConfigV1.d.ts +0 -18
- package/api/types/SessionConfigV1.js +0 -5
- package/api/types/SessionConfigV1Proxy.d.ts +0 -17
- package/api/types/SessionConfigV1Proxy.js +0 -5
- package/api/types/SessionEventMessage.d.ts +0 -17
- package/api/types/SessionEventMessage.js +0 -5
- package/api/types/SessionPageQueryHandlerRequestBody.d.ts +0 -21
- package/api/types/SessionPageQueryHandlerRequestBody.js +0 -5
- package/api/types/SessionResponse.d.ts +0 -10
- package/api/types/SessionResponse.js +0 -5
- package/api/types/SessionsResponse.d.ts +0 -10
- package/api/types/SessionsResponse.js +0 -5
- package/api/types/SessionsWithPagination.d.ts +0 -10
- package/api/types/SessionsWithPagination.js +0 -5
- package/api/types/StatusMessage.d.ts +0 -16
- package/api/types/StatusMessage.js +0 -5
- package/api/types/StatusMessageStatus.d.ts +0 -15
- package/api/types/StatusMessageStatus.js +0 -14
- package/api/types/SummaryConfig.d.ts +0 -9
- package/api/types/SummaryConfig.js +0 -5
- package/api/types/SummaryExperimentalConfig.d.ts +0 -7
- package/api/types/SummaryExperimentalConfig.js +0 -5
- package/api/types/VisualAnalysisConfig.d.ts +0 -18
- package/api/types/VisualAnalysisConfig.js +0 -5
- package/api/types/VisualAnalysisConfigPartitionDirection.d.ts +0 -12
- package/api/types/VisualAnalysisConfigPartitionDirection.js +0 -11
- package/api/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +0 -12
- package/api/types/VisualAnalysisConfigResultSelectionStrategy.js +0 -11
- package/api/types/VisualAnalysisConfigScope.d.ts +0 -13
- package/api/types/VisualAnalysisConfigScope.js +0 -12
- package/api/types/Window.d.ts +0 -11
- package/api/types/Window.js +0 -5
- package/api/types/WindowEventMessage.d.ts +0 -19
- package/api/types/WindowEventMessage.js +0 -5
- package/api/types/WindowId.d.ts +0 -9
- package/api/types/WindowId.js +0 -5
- package/api/types/WindowIdResponse.d.ts +0 -10
- package/api/types/WindowIdResponse.js +0 -5
- package/api/types/WindowResponse.d.ts +0 -10
- package/api/types/WindowResponse.js +0 -5
- package/api/types/index.d.ts +0 -92
- package/api/types/index.js +0 -108
- package/biome.json +0 -69
- package/config/tsconfig-nobase.json +0 -16
- package/core/auth/BasicAuth.d.ts +0 -8
- package/core/auth/BasicAuth.js +0 -26
- package/core/auth/BearerToken.d.ts +0 -5
- package/core/auth/BearerToken.js +0 -15
- package/core/auth/index.d.ts +0 -2
- package/core/auth/index.js +0 -7
- package/core/fetcher/APIResponse.d.ts +0 -10
- package/core/fetcher/APIResponse.js +0 -2
- package/core/fetcher/Fetcher.d.ts +0 -39
- package/core/fetcher/Fetcher.js +0 -100
- package/core/fetcher/Supplier.d.ts +0 -4
- package/core/fetcher/Supplier.js +0 -22
- package/core/fetcher/createRequestUrl.d.ts +0 -1
- package/core/fetcher/createRequestUrl.js +0 -12
- package/core/fetcher/getFetchFn.d.ts +0 -4
- package/core/fetcher/getFetchFn.js +0 -68
- package/core/fetcher/getHeader.d.ts +0 -1
- package/core/fetcher/getHeader.js +0 -11
- package/core/fetcher/getRequestBody.d.ts +0 -7
- package/core/fetcher/getRequestBody.js +0 -23
- package/core/fetcher/getResponseBody.d.ts +0 -1
- package/core/fetcher/getResponseBody.js +0 -54
- package/core/fetcher/index.d.ts +0 -5
- package/core/fetcher/index.js +0 -9
- package/core/fetcher/makeRequest.d.ts +0 -1
- package/core/fetcher/makeRequest.js +0 -42
- package/core/fetcher/requestWithRetries.d.ts +0 -1
- package/core/fetcher/requestWithRetries.js +0 -40
- package/core/fetcher/signals.d.ts +0 -11
- package/core/fetcher/signals.js +0 -36
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
- package/core/index.d.ts +0 -5
- package/core/index.js +0 -44
- package/core/json.d.ts +0 -15
- package/core/json.js +0 -24
- package/core/runtime/index.d.ts +0 -1
- package/core/runtime/index.js +0 -5
- package/core/runtime/runtime.d.ts +0 -9
- package/core/runtime/runtime.js +0 -103
- package/core/schemas/Schema.d.ts +0 -87
- package/core/schemas/Schema.js +0 -24
- package/core/schemas/builders/bigint/bigint.d.ts +0 -2
- package/core/schemas/builders/bigint/bigint.js +0 -53
- package/core/schemas/builders/bigint/index.d.ts +0 -1
- package/core/schemas/builders/bigint/index.js +0 -5
- package/core/schemas/builders/date/date.d.ts +0 -2
- package/core/schemas/builders/date/date.js +0 -62
- package/core/schemas/builders/date/index.d.ts +0 -1
- package/core/schemas/builders/date/index.js +0 -5
- package/core/schemas/builders/enum/enum.d.ts +0 -2
- package/core/schemas/builders/enum/enum.js +0 -38
- package/core/schemas/builders/enum/index.d.ts +0 -1
- package/core/schemas/builders/enum/index.js +0 -5
- package/core/schemas/builders/index.d.ts +0 -14
- package/core/schemas/builders/index.js +0 -30
- package/core/schemas/builders/lazy/index.d.ts +0 -3
- package/core/schemas/builders/lazy/index.js +0 -7
- package/core/schemas/builders/lazy/lazy.d.ts +0 -5
- package/core/schemas/builders/lazy/lazy.js +0 -24
- package/core/schemas/builders/lazy/lazyObject.d.ts +0 -3
- package/core/schemas/builders/lazy/lazyObject.js +0 -11
- package/core/schemas/builders/list/index.d.ts +0 -1
- package/core/schemas/builders/list/index.js +0 -5
- package/core/schemas/builders/list/list.d.ts +0 -2
- package/core/schemas/builders/list/list.js +0 -54
- package/core/schemas/builders/literals/booleanLiteral.d.ts +0 -2
- package/core/schemas/builders/literals/booleanLiteral.js +0 -28
- package/core/schemas/builders/literals/index.d.ts +0 -2
- package/core/schemas/builders/literals/index.js +0 -7
- package/core/schemas/builders/literals/stringLiteral.d.ts +0 -2
- package/core/schemas/builders/literals/stringLiteral.js +0 -28
- package/core/schemas/builders/object/index.d.ts +0 -6
- package/core/schemas/builders/object/index.js +0 -11
- package/core/schemas/builders/object/object.d.ts +0 -3
- package/core/schemas/builders/object/object.js +0 -261
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +0 -6
- package/core/schemas/builders/object/objectWithoutOptionalProperties.js +0 -7
- package/core/schemas/builders/object/property.d.ts +0 -8
- package/core/schemas/builders/object/property.js +0 -15
- package/core/schemas/builders/object/types.d.ts +0 -31
- package/core/schemas/builders/object/types.js +0 -2
- package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +0 -9
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +0 -53
- package/core/schemas/builders/object-like/index.d.ts +0 -2
- package/core/schemas/builders/object-like/index.js +0 -6
- package/core/schemas/builders/object-like/types.d.ts +0 -7
- package/core/schemas/builders/object-like/types.js +0 -2
- package/core/schemas/builders/primitives/any.d.ts +0 -1
- package/core/schemas/builders/primitives/any.js +0 -6
- package/core/schemas/builders/primitives/boolean.d.ts +0 -1
- package/core/schemas/builders/primitives/boolean.js +0 -25
- package/core/schemas/builders/primitives/index.d.ts +0 -5
- package/core/schemas/builders/primitives/index.js +0 -13
- package/core/schemas/builders/primitives/number.d.ts +0 -1
- package/core/schemas/builders/primitives/number.js +0 -25
- package/core/schemas/builders/primitives/string.d.ts +0 -1
- package/core/schemas/builders/primitives/string.js +0 -25
- package/core/schemas/builders/primitives/unknown.d.ts +0 -1
- package/core/schemas/builders/primitives/unknown.js +0 -6
- package/core/schemas/builders/record/index.d.ts +0 -2
- package/core/schemas/builders/record/index.js +0 -5
- package/core/schemas/builders/record/record.d.ts +0 -3
- package/core/schemas/builders/record/record.js +0 -93
- package/core/schemas/builders/record/types.d.ts +0 -4
- package/core/schemas/builders/record/types.js +0 -2
- package/core/schemas/builders/schema-utils/JsonError.d.ts +0 -5
- package/core/schemas/builders/schema-utils/JsonError.js +0 -12
- package/core/schemas/builders/schema-utils/ParseError.d.ts +0 -5
- package/core/schemas/builders/schema-utils/ParseError.js +0 -12
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +0 -21
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +0 -145
- package/core/schemas/builders/schema-utils/index.d.ts +0 -4
- package/core/schemas/builders/schema-utils/index.js +0 -11
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +0 -2
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +0 -9
- package/core/schemas/builders/set/index.d.ts +0 -1
- package/core/schemas/builders/set/index.js +0 -5
- package/core/schemas/builders/set/set.d.ts +0 -2
- package/core/schemas/builders/set/set.js +0 -43
- package/core/schemas/builders/undiscriminated-union/index.d.ts +0 -2
- package/core/schemas/builders/undiscriminated-union/index.js +0 -5
- package/core/schemas/builders/undiscriminated-union/types.d.ts +0 -4
- package/core/schemas/builders/undiscriminated-union/types.js +0 -2
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +0 -3
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +0 -39
- package/core/schemas/builders/union/discriminant.d.ts +0 -5
- package/core/schemas/builders/union/discriminant.js +0 -9
- package/core/schemas/builders/union/index.d.ts +0 -4
- package/core/schemas/builders/union/index.js +0 -7
- package/core/schemas/builders/union/types.d.ts +0 -13
- package/core/schemas/builders/union/types.js +0 -2
- package/core/schemas/builders/union/union.d.ts +0 -4
- package/core/schemas/builders/union/union.js +0 -129
- package/core/schemas/index.d.ts +0 -2
- package/core/schemas/index.js +0 -17
- package/core/schemas/utils/MaybePromise.d.ts +0 -1
- package/core/schemas/utils/MaybePromise.js +0 -2
- package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +0 -7
- package/core/schemas/utils/addQuestionMarksToNullableProperties.js +0 -2
- package/core/schemas/utils/createIdentitySchemaCreator.d.ts +0 -2
- package/core/schemas/utils/createIdentitySchemaCreator.js +0 -15
- package/core/schemas/utils/entries.d.ts +0 -1
- package/core/schemas/utils/entries.js +0 -6
- package/core/schemas/utils/filterObject.d.ts +0 -1
- package/core/schemas/utils/filterObject.js +0 -13
- package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +0 -1
- package/core/schemas/utils/getErrorMessageForIncorrectType.js +0 -27
- package/core/schemas/utils/isPlainObject.d.ts +0 -1
- package/core/schemas/utils/isPlainObject.js +0 -17
- package/core/schemas/utils/keys.d.ts +0 -1
- package/core/schemas/utils/keys.js +0 -6
- package/core/schemas/utils/maybeSkipValidation.d.ts +0 -2
- package/core/schemas/utils/maybeSkipValidation.js +0 -27
- package/core/schemas/utils/partition.d.ts +0 -1
- package/core/schemas/utils/partition.js +0 -15
- package/core/streaming-fetcher/Stream.d.ts +0 -47
- package/core/streaming-fetcher/Stream.js +0 -169
- package/core/streaming-fetcher/index.d.ts +0 -1
- package/core/streaming-fetcher/index.js +0 -5
- package/dist/Client.d.ts +0 -46
- package/dist/Client.js +0 -42
- package/dist/api/errors/ForbiddenError.d.ts +0 -8
- package/dist/api/errors/ForbiddenError.js +0 -51
- package/dist/api/errors/InternalServerError.d.ts +0 -8
- package/dist/api/errors/InternalServerError.js +0 -51
- package/dist/api/errors/NotFoundError.d.ts +0 -8
- package/dist/api/errors/NotFoundError.js +0 -51
- package/dist/api/errors/UnauthorizedError.d.ts +0 -8
- package/dist/api/errors/UnauthorizedError.js +0 -51
- package/dist/api/errors/UnprocessableEntityError.d.ts +0 -8
- package/dist/api/errors/UnprocessableEntityError.js +0 -51
- package/dist/api/errors/index.d.ts +0 -5
- package/dist/api/errors/index.js +0 -21
- package/dist/api/index.d.ts +0 -3
- package/dist/api/index.js +0 -19
- package/dist/api/resources/automations/client/Client.d.ts +0 -91
- package/dist/api/resources/automations/client/Client.js +0 -429
- 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/files/client/Client.d.ts +0 -69
- package/dist/api/resources/files/client/Client.js +0 -286
- package/dist/api/resources/files/client/index.d.ts +0 -1
- package/dist/api/resources/files/client/index.js +0 -17
- package/dist/api/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -20
- package/dist/api/resources/files/client/requests/CreateFileRestInputV1.js +0 -5
- package/dist/api/resources/files/client/requests/FilesListRequest.d.ts +0 -24
- package/dist/api/resources/files/client/requests/FilesListRequest.js +0 -5
- package/dist/api/resources/files/client/requests/index.d.ts +0 -2
- package/dist/api/resources/files/client/requests/index.js +0 -2
- package/dist/api/resources/files/index.d.ts +0 -2
- package/dist/api/resources/files/index.js +0 -18
- package/dist/api/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -13
- package/dist/api/resources/files/types/CreateFileRestInputV1FileType.js +0 -12
- package/dist/api/resources/files/types/index.d.ts +0 -1
- package/dist/api/resources/files/types/index.js +0 -17
- package/dist/api/resources/index.d.ts +0 -14
- package/dist/api/resources/index.js +0 -53
- package/dist/api/resources/profiles/client/Client.d.ts +0 -40
- package/dist/api/resources/profiles/client/Client.js +0 -131
- package/dist/api/resources/profiles/client/index.d.ts +0 -1
- package/dist/api/resources/profiles/client/index.js +0 -17
- package/dist/api/resources/profiles/client/requests/ProfilesDeleteRequest.d.ts +0 -17
- package/dist/api/resources/profiles/client/requests/ProfilesDeleteRequest.js +0 -5
- package/dist/api/resources/profiles/client/requests/index.d.ts +0 -1
- package/dist/api/resources/profiles/client/requests/index.js +0 -2
- package/dist/api/resources/profiles/index.d.ts +0 -1
- package/dist/api/resources/profiles/index.js +0 -17
- package/dist/api/resources/requests/client/Client.d.ts +0 -38
- package/dist/api/resources/requests/client/Client.js +0 -117
- 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/sessions/client/Client.d.ts +0 -102
- package/dist/api/resources/sessions/client/Client.js +0 -540
- package/dist/api/resources/sessions/client/index.d.ts +0 -1
- package/dist/api/resources/sessions/client/index.js +0 -17
- package/dist/api/resources/sessions/client/requests/SessionRestInputV1.d.ts +0 -12
- package/dist/api/resources/sessions/client/requests/SessionRestInputV1.js +0 -5
- package/dist/api/resources/sessions/client/requests/SessionsEventsRequest.d.ts +0 -20
- package/dist/api/resources/sessions/client/requests/SessionsEventsRequest.js +0 -5
- package/dist/api/resources/sessions/client/requests/SessionsListRequest.d.ts +0 -29
- package/dist/api/resources/sessions/client/requests/SessionsListRequest.js +0 -5
- package/dist/api/resources/sessions/client/requests/index.d.ts +0 -3
- package/dist/api/resources/sessions/client/requests/index.js +0 -2
- package/dist/api/resources/sessions/index.d.ts +0 -2
- package/dist/api/resources/sessions/index.js +0 -18
- package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +0 -22
- package/dist/api/resources/sessions/types/SessionsEventsResponse.js +0 -5
- package/dist/api/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -11
- package/dist/api/resources/sessions/types/SessionsEventsResponseError.js +0 -5
- package/dist/api/resources/sessions/types/SessionsEventsResponseSessionEvent.d.ts +0 -11
- package/dist/api/resources/sessions/types/SessionsEventsResponseSessionEvent.js +0 -5
- package/dist/api/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -11
- package/dist/api/resources/sessions/types/SessionsEventsResponseStatus.js +0 -5
- package/dist/api/resources/sessions/types/SessionsEventsResponseWindowEvent.d.ts +0 -11
- package/dist/api/resources/sessions/types/SessionsEventsResponseWindowEvent.js +0 -5
- package/dist/api/resources/sessions/types/SessionsListRequestStatus.d.ts +0 -16
- package/dist/api/resources/sessions/types/SessionsListRequestStatus.js +0 -15
- package/dist/api/resources/sessions/types/index.d.ts +0 -6
- package/dist/api/resources/sessions/types/index.js +0 -22
- package/dist/api/resources/windows/client/Client.d.ts +0 -362
- package/dist/api/resources/windows/client/Client.js +0 -1539
- package/dist/api/resources/windows/client/index.d.ts +0 -1
- package/dist/api/resources/windows/client/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/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +0 -18
- package/dist/api/resources/windows/client/requests/CreateWindowInputV1Body.js +0 -5
- package/dist/api/resources/windows/client/requests/GetWindowInfoRequest.d.ts +0 -23
- package/dist/api/resources/windows/client/requests/GetWindowInfoRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/ScrapeContentRequest.d.ts +0 -18
- package/dist/api/resources/windows/client/requests/ScrapeContentRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +0 -27
- package/dist/api/resources/windows/client/requests/SessionClickHandlerRequestBody.js +0 -5
- package/dist/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +0 -25
- package/dist/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.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/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.d.ts +0 -25
- package/dist/api/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.js +0 -5
- package/dist/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +0 -21
- package/dist/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +0 -5
- package/dist/api/resources/windows/client/requests/SessionScrollHandlerRequestBody.d.ts +0 -29
- package/dist/api/resources/windows/client/requests/SessionScrollHandlerRequestBody.js +0 -5
- package/dist/api/resources/windows/client/requests/SessionSummaryHandlerRequestBody.d.ts +0 -23
- package/dist/api/resources/windows/client/requests/SessionSummaryHandlerRequestBody.js +0 -5
- package/dist/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +0 -35
- package/dist/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +0 -5
- package/dist/api/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +0 -18
- package/dist/api/resources/windows/client/requests/WindowLoadUrlV1Body.js +0 -5
- package/dist/api/resources/windows/client/requests/index.d.ts +0 -23
- package/dist/api/resources/windows/client/requests/index.js +0 -2
- package/dist/api/resources/windows/index.d.ts +0 -2
- package/dist/api/resources/windows/index.js +0 -18
- package/dist/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +0 -13
- package/dist/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +0 -12
- package/dist/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +0 -13
- package/dist/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +0 -12
- package/dist/api/resources/windows/types/index.d.ts +0 -2
- package/dist/api/resources/windows/types/index.js +0 -18
- package/dist/api/types/AiPromptResponse.d.ts +0 -10
- package/dist/api/types/AiPromptResponse.js +0 -5
- package/dist/api/types/AiResponseEnvelope.d.ts +0 -6
- package/dist/api/types/AiResponseEnvelope.js +0 -5
- package/dist/api/types/AirtopProxyConfiguration.d.ts +0 -9
- package/dist/api/types/AirtopProxyConfiguration.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/BrowserWaitNavigationConfig.d.ts +0 -10
- package/dist/api/types/BrowserWaitNavigationConfig.js +0 -5
- package/dist/api/types/BrowserWaitNavigationConfigWaitUntil.d.ts +0 -13
- package/dist/api/types/BrowserWaitNavigationConfigWaitUntil.js +0 -12
- package/dist/api/types/ClickConfig.d.ts +0 -14
- package/dist/api/types/ClickConfig.js +0 -5
- package/dist/api/types/ClickConfigClickType.d.ts +0 -12
- package/dist/api/types/ClickConfigClickType.js +0 -11
- package/dist/api/types/ClientProvidedResponseMetadata.d.ts +0 -6
- package/dist/api/types/ClientProvidedResponseMetadata.js +0 -5
- package/dist/api/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -4
- package/dist/api/types/CreateAutomationRequestBodyConfiguration.js +0 -5
- package/dist/api/types/CreateFileV1.d.ts +0 -24
- package/dist/api/types/CreateFileV1.js +0 -5
- package/dist/api/types/CreateFileV1FileType.d.ts +0 -13
- package/dist/api/types/CreateFileV1FileType.js +0 -12
- package/dist/api/types/DeleteAutomationOutputWrapperBody.d.ts +0 -4
- package/dist/api/types/DeleteAutomationOutputWrapperBody.js +0 -5
- package/dist/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -10
- package/dist/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -5
- package/dist/api/types/EnvelopeDefaultMeta.d.ts +0 -6
- package/dist/api/types/EnvelopeDefaultMeta.js +0 -5
- package/dist/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -10
- package/dist/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -5
- package/dist/api/types/ErrorBody.d.ts +0 -9
- package/dist/api/types/ErrorBody.js +0 -5
- package/dist/api/types/ErrorDetail.d.ts +0 -10
- package/dist/api/types/ErrorDetail.js +0 -5
- package/dist/api/types/ErrorMessage.d.ts +0 -11
- package/dist/api/types/ErrorMessage.js +0 -5
- package/dist/api/types/ErrorModel.d.ts +0 -18
- package/dist/api/types/ErrorModel.js +0 -5
- package/dist/api/types/ExtensionConfigurationOutput.d.ts +0 -13
- package/dist/api/types/ExtensionConfigurationOutput.js +0 -5
- package/dist/api/types/ExternalFile.d.ts +0 -33
- package/dist/api/types/ExternalFile.js +0 -5
- package/dist/api/types/ExternalSessionAiResponseMetadata.d.ts +0 -13
- package/dist/api/types/ExternalSessionAiResponseMetadata.js +0 -5
- package/dist/api/types/ExternalSessionAiResponseMetadataStatus.d.ts +0 -12
- package/dist/api/types/ExternalSessionAiResponseMetadataStatus.js +0 -11
- package/dist/api/types/ExternalSessionAiResponseMetadataUsage.d.ts +0 -9
- package/dist/api/types/ExternalSessionAiResponseMetadataUsage.js +0 -5
- package/dist/api/types/ExternalSessionConfig.d.ts +0 -11
- package/dist/api/types/ExternalSessionConfig.js +0 -5
- package/dist/api/types/ExternalSessionWithConnectionInfo.d.ts +0 -26
- package/dist/api/types/ExternalSessionWithConnectionInfo.js +0 -5
- package/dist/api/types/FilesResponse.d.ts +0 -10
- package/dist/api/types/FilesResponse.js +0 -5
- package/dist/api/types/FilesWithPagination.d.ts +0 -10
- package/dist/api/types/FilesWithPagination.js +0 -5
- package/dist/api/types/GetFileV1.d.ts +0 -24
- package/dist/api/types/GetFileV1.js +0 -5
- package/dist/api/types/GetFileV1FileType.d.ts +0 -13
- package/dist/api/types/GetFileV1FileType.js +0 -12
- package/dist/api/types/IntervalMonitorConfig.d.ts +0 -9
- package/dist/api/types/IntervalMonitorConfig.js +0 -5
- package/dist/api/types/Issue.d.ts +0 -13
- package/dist/api/types/Issue.js +0 -5
- package/dist/api/types/ListAutomationsOutput.d.ts +0 -7
- package/dist/api/types/ListAutomationsOutput.js +0 -5
- package/dist/api/types/MicroInteractionConfig.d.ts +0 -10
- package/dist/api/types/MicroInteractionConfig.js +0 -5
- package/dist/api/types/MicroInteractionConfigWithExperimental.d.ts +0 -12
- package/dist/api/types/MicroInteractionConfigWithExperimental.js +0 -5
- package/dist/api/types/MicroInteractionExperimentalConfig.d.ts +0 -7
- package/dist/api/types/MicroInteractionExperimentalConfig.js +0 -5
- package/dist/api/types/MonitorConfig.d.ts +0 -10
- 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/OperationOutcome.d.ts +0 -7
- package/dist/api/types/OperationOutcome.js +0 -5
- package/dist/api/types/OperationOutcomeResponse.d.ts +0 -10
- package/dist/api/types/OperationOutcomeResponse.js +0 -5
- package/dist/api/types/PageQueryConfig.d.ts +0 -12
- package/dist/api/types/PageQueryConfig.js +0 -5
- package/dist/api/types/PageQueryExperimentalConfig.d.ts +0 -7
- package/dist/api/types/PageQueryExperimentalConfig.js +0 -5
- package/dist/api/types/PaginatedExtractionConfig.d.ts +0 -16
- package/dist/api/types/PaginatedExtractionConfig.js +0 -5
- package/dist/api/types/PaginatedExtractionExperimentalConfig.d.ts +0 -7
- package/dist/api/types/PaginatedExtractionExperimentalConfig.js +0 -5
- package/dist/api/types/Pagination.d.ts +0 -21
- package/dist/api/types/Pagination.js +0 -5
- package/dist/api/types/Proxy.d.ts +0 -14
- package/dist/api/types/Proxy.js +0 -5
- package/dist/api/types/ProxyConfigurationKind.d.ts +0 -9
- package/dist/api/types/ProxyConfigurationKind.js +0 -5
- package/dist/api/types/ProxyCredentials.d.ts +0 -11
- package/dist/api/types/ProxyCredentials.js +0 -5
- package/dist/api/types/RequestStatusResponse.d.ts +0 -8
- package/dist/api/types/RequestStatusResponse.js +0 -5
- package/dist/api/types/ScrapeConfig.d.ts +0 -7
- package/dist/api/types/ScrapeConfig.js +0 -5
- package/dist/api/types/ScrapeResponse.d.ts +0 -10
- package/dist/api/types/ScrapeResponse.js +0 -5
- package/dist/api/types/ScrapeResponseContent.d.ts +0 -9
- package/dist/api/types/ScrapeResponseContent.js +0 -5
- package/dist/api/types/ScrapeResponseEnvelope.d.ts +0 -8
- package/dist/api/types/ScrapeResponseEnvelope.js +0 -5
- package/dist/api/types/ScrapeResponseOutput.d.ts +0 -12
- package/dist/api/types/ScrapeResponseOutput.js +0 -5
- package/dist/api/types/ScreenshotConfig.d.ts +0 -13
- package/dist/api/types/ScreenshotConfig.js +0 -5
- package/dist/api/types/ScreenshotMetadata.d.ts +0 -7
- package/dist/api/types/ScreenshotMetadata.js +0 -5
- package/dist/api/types/ScreenshotRequestConfig.d.ts +0 -8
- package/dist/api/types/ScreenshotRequestConfig.js +0 -5
- package/dist/api/types/ScrollByConfig.d.ts +0 -9
- package/dist/api/types/ScrollByConfig.js +0 -5
- package/dist/api/types/ScrollToEdgeConfig.d.ts +0 -9
- package/dist/api/types/ScrollToEdgeConfig.js +0 -5
- package/dist/api/types/SessionConfigV1.d.ts +0 -18
- package/dist/api/types/SessionConfigV1.js +0 -5
- package/dist/api/types/SessionConfigV1Proxy.d.ts +0 -17
- package/dist/api/types/SessionConfigV1Proxy.js +0 -5
- package/dist/api/types/SessionEventMessage.d.ts +0 -17
- package/dist/api/types/SessionEventMessage.js +0 -5
- package/dist/api/types/SessionPageQueryHandlerRequestBody.d.ts +0 -21
- package/dist/api/types/SessionPageQueryHandlerRequestBody.js +0 -5
- package/dist/api/types/SessionResponse.d.ts +0 -10
- package/dist/api/types/SessionResponse.js +0 -5
- package/dist/api/types/SessionsResponse.d.ts +0 -10
- package/dist/api/types/SessionsResponse.js +0 -5
- package/dist/api/types/SessionsWithPagination.d.ts +0 -10
- package/dist/api/types/SessionsWithPagination.js +0 -5
- package/dist/api/types/StatusMessage.d.ts +0 -16
- package/dist/api/types/StatusMessage.js +0 -5
- package/dist/api/types/StatusMessageStatus.d.ts +0 -15
- package/dist/api/types/StatusMessageStatus.js +0 -14
- package/dist/api/types/SummaryConfig.d.ts +0 -9
- package/dist/api/types/SummaryConfig.js +0 -5
- package/dist/api/types/SummaryExperimentalConfig.d.ts +0 -7
- package/dist/api/types/SummaryExperimentalConfig.js +0 -5
- package/dist/api/types/VisualAnalysisConfig.d.ts +0 -18
- package/dist/api/types/VisualAnalysisConfig.js +0 -5
- package/dist/api/types/VisualAnalysisConfigPartitionDirection.d.ts +0 -12
- package/dist/api/types/VisualAnalysisConfigPartitionDirection.js +0 -11
- package/dist/api/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +0 -12
- package/dist/api/types/VisualAnalysisConfigResultSelectionStrategy.js +0 -11
- package/dist/api/types/VisualAnalysisConfigScope.d.ts +0 -13
- package/dist/api/types/VisualAnalysisConfigScope.js +0 -12
- package/dist/api/types/Window.d.ts +0 -11
- package/dist/api/types/Window.js +0 -5
- package/dist/api/types/WindowEventMessage.d.ts +0 -19
- package/dist/api/types/WindowEventMessage.js +0 -5
- package/dist/api/types/WindowId.d.ts +0 -9
- package/dist/api/types/WindowId.js +0 -5
- package/dist/api/types/WindowIdResponse.d.ts +0 -10
- package/dist/api/types/WindowIdResponse.js +0 -5
- package/dist/api/types/WindowResponse.d.ts +0 -10
- package/dist/api/types/WindowResponse.js +0 -5
- package/dist/api/types/index.d.ts +0 -92
- package/dist/api/types/index.js +0 -108
- package/dist/core/auth/BasicAuth.d.ts +0 -8
- package/dist/core/auth/BasicAuth.js +0 -26
- package/dist/core/auth/BearerToken.d.ts +0 -5
- package/dist/core/auth/BearerToken.js +0 -15
- package/dist/core/auth/index.d.ts +0 -2
- package/dist/core/auth/index.js +0 -7
- package/dist/core/fetcher/APIResponse.d.ts +0 -10
- package/dist/core/fetcher/APIResponse.js +0 -2
- package/dist/core/fetcher/Fetcher.d.ts +0 -39
- package/dist/core/fetcher/Fetcher.js +0 -100
- package/dist/core/fetcher/Supplier.d.ts +0 -4
- package/dist/core/fetcher/Supplier.js +0 -22
- package/dist/core/fetcher/createRequestUrl.d.ts +0 -1
- package/dist/core/fetcher/createRequestUrl.js +0 -12
- package/dist/core/fetcher/getFetchFn.d.ts +0 -4
- package/dist/core/fetcher/getFetchFn.js +0 -68
- package/dist/core/fetcher/getHeader.d.ts +0 -1
- package/dist/core/fetcher/getHeader.js +0 -11
- package/dist/core/fetcher/getRequestBody.d.ts +0 -7
- package/dist/core/fetcher/getRequestBody.js +0 -23
- package/dist/core/fetcher/getResponseBody.d.ts +0 -1
- package/dist/core/fetcher/getResponseBody.js +0 -54
- package/dist/core/fetcher/index.d.ts +0 -5
- package/dist/core/fetcher/index.js +0 -9
- package/dist/core/fetcher/makeRequest.d.ts +0 -1
- package/dist/core/fetcher/makeRequest.js +0 -42
- package/dist/core/fetcher/requestWithRetries.d.ts +0 -1
- package/dist/core/fetcher/requestWithRetries.js +0 -40
- package/dist/core/fetcher/signals.d.ts +0 -11
- package/dist/core/fetcher/signals.js +0 -36
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
- package/dist/core/index.d.ts +0 -5
- package/dist/core/index.js +0 -44
- package/dist/core/json.d.ts +0 -15
- package/dist/core/json.js +0 -24
- package/dist/core/runtime/index.d.ts +0 -1
- package/dist/core/runtime/index.js +0 -5
- package/dist/core/runtime/runtime.d.ts +0 -9
- package/dist/core/runtime/runtime.js +0 -103
- package/dist/core/schemas/Schema.d.ts +0 -87
- package/dist/core/schemas/Schema.js +0 -24
- package/dist/core/schemas/builders/bigint/bigint.d.ts +0 -2
- package/dist/core/schemas/builders/bigint/bigint.js +0 -53
- package/dist/core/schemas/builders/bigint/index.d.ts +0 -1
- package/dist/core/schemas/builders/bigint/index.js +0 -5
- package/dist/core/schemas/builders/date/date.d.ts +0 -2
- package/dist/core/schemas/builders/date/date.js +0 -62
- package/dist/core/schemas/builders/date/index.d.ts +0 -1
- package/dist/core/schemas/builders/date/index.js +0 -5
- package/dist/core/schemas/builders/enum/enum.d.ts +0 -2
- package/dist/core/schemas/builders/enum/enum.js +0 -38
- package/dist/core/schemas/builders/enum/index.d.ts +0 -1
- package/dist/core/schemas/builders/enum/index.js +0 -5
- package/dist/core/schemas/builders/index.d.ts +0 -14
- package/dist/core/schemas/builders/index.js +0 -30
- package/dist/core/schemas/builders/lazy/index.d.ts +0 -3
- package/dist/core/schemas/builders/lazy/index.js +0 -7
- package/dist/core/schemas/builders/lazy/lazy.d.ts +0 -5
- package/dist/core/schemas/builders/lazy/lazy.js +0 -24
- package/dist/core/schemas/builders/lazy/lazyObject.d.ts +0 -3
- package/dist/core/schemas/builders/lazy/lazyObject.js +0 -11
- package/dist/core/schemas/builders/list/index.d.ts +0 -1
- package/dist/core/schemas/builders/list/index.js +0 -5
- package/dist/core/schemas/builders/list/list.d.ts +0 -2
- package/dist/core/schemas/builders/list/list.js +0 -54
- package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +0 -2
- package/dist/core/schemas/builders/literals/booleanLiteral.js +0 -28
- package/dist/core/schemas/builders/literals/index.d.ts +0 -2
- package/dist/core/schemas/builders/literals/index.js +0 -7
- package/dist/core/schemas/builders/literals/stringLiteral.d.ts +0 -2
- package/dist/core/schemas/builders/literals/stringLiteral.js +0 -28
- package/dist/core/schemas/builders/object/index.d.ts +0 -6
- package/dist/core/schemas/builders/object/index.js +0 -11
- package/dist/core/schemas/builders/object/object.d.ts +0 -3
- package/dist/core/schemas/builders/object/object.js +0 -261
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +0 -6
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +0 -7
- package/dist/core/schemas/builders/object/property.d.ts +0 -8
- package/dist/core/schemas/builders/object/property.js +0 -15
- package/dist/core/schemas/builders/object/types.d.ts +0 -31
- package/dist/core/schemas/builders/object/types.js +0 -2
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +0 -9
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +0 -53
- package/dist/core/schemas/builders/object-like/index.d.ts +0 -2
- package/dist/core/schemas/builders/object-like/index.js +0 -6
- package/dist/core/schemas/builders/object-like/types.d.ts +0 -7
- package/dist/core/schemas/builders/object-like/types.js +0 -2
- package/dist/core/schemas/builders/primitives/any.d.ts +0 -1
- package/dist/core/schemas/builders/primitives/any.js +0 -6
- package/dist/core/schemas/builders/primitives/boolean.d.ts +0 -1
- package/dist/core/schemas/builders/primitives/boolean.js +0 -25
- package/dist/core/schemas/builders/primitives/index.d.ts +0 -5
- package/dist/core/schemas/builders/primitives/index.js +0 -13
- package/dist/core/schemas/builders/primitives/number.d.ts +0 -1
- package/dist/core/schemas/builders/primitives/number.js +0 -25
- package/dist/core/schemas/builders/primitives/string.d.ts +0 -1
- package/dist/core/schemas/builders/primitives/string.js +0 -25
- package/dist/core/schemas/builders/primitives/unknown.d.ts +0 -1
- package/dist/core/schemas/builders/primitives/unknown.js +0 -6
- package/dist/core/schemas/builders/record/index.d.ts +0 -2
- package/dist/core/schemas/builders/record/index.js +0 -5
- package/dist/core/schemas/builders/record/record.d.ts +0 -3
- package/dist/core/schemas/builders/record/record.js +0 -93
- package/dist/core/schemas/builders/record/types.d.ts +0 -4
- package/dist/core/schemas/builders/record/types.js +0 -2
- package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +0 -5
- package/dist/core/schemas/builders/schema-utils/JsonError.js +0 -12
- package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +0 -5
- package/dist/core/schemas/builders/schema-utils/ParseError.js +0 -12
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +0 -21
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +0 -145
- package/dist/core/schemas/builders/schema-utils/index.d.ts +0 -4
- package/dist/core/schemas/builders/schema-utils/index.js +0 -11
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +0 -2
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +0 -9
- package/dist/core/schemas/builders/set/index.d.ts +0 -1
- package/dist/core/schemas/builders/set/index.js +0 -5
- package/dist/core/schemas/builders/set/set.d.ts +0 -2
- package/dist/core/schemas/builders/set/set.js +0 -43
- package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +0 -2
- package/dist/core/schemas/builders/undiscriminated-union/index.js +0 -5
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +0 -4
- package/dist/core/schemas/builders/undiscriminated-union/types.js +0 -2
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +0 -3
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +0 -39
- package/dist/core/schemas/builders/union/discriminant.d.ts +0 -5
- package/dist/core/schemas/builders/union/discriminant.js +0 -9
- package/dist/core/schemas/builders/union/index.d.ts +0 -4
- package/dist/core/schemas/builders/union/index.js +0 -7
- package/dist/core/schemas/builders/union/types.d.ts +0 -13
- package/dist/core/schemas/builders/union/types.js +0 -2
- package/dist/core/schemas/builders/union/union.d.ts +0 -4
- package/dist/core/schemas/builders/union/union.js +0 -129
- package/dist/core/schemas/index.d.ts +0 -2
- package/dist/core/schemas/index.js +0 -17
- package/dist/core/schemas/utils/MaybePromise.d.ts +0 -1
- package/dist/core/schemas/utils/MaybePromise.js +0 -2
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +0 -7
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +0 -2
- package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +0 -2
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +0 -15
- package/dist/core/schemas/utils/entries.d.ts +0 -1
- package/dist/core/schemas/utils/entries.js +0 -6
- package/dist/core/schemas/utils/filterObject.d.ts +0 -1
- package/dist/core/schemas/utils/filterObject.js +0 -13
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +0 -1
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +0 -27
- package/dist/core/schemas/utils/isPlainObject.d.ts +0 -1
- package/dist/core/schemas/utils/isPlainObject.js +0 -17
- package/dist/core/schemas/utils/keys.d.ts +0 -1
- package/dist/core/schemas/utils/keys.js +0 -6
- package/dist/core/schemas/utils/maybeSkipValidation.d.ts +0 -2
- package/dist/core/schemas/utils/maybeSkipValidation.js +0 -27
- package/dist/core/schemas/utils/partition.d.ts +0 -1
- package/dist/core/schemas/utils/partition.js +0 -15
- package/dist/core/streaming-fetcher/Stream.d.ts +0 -47
- package/dist/core/streaming-fetcher/Stream.js +0 -169
- package/dist/core/streaming-fetcher/index.d.ts +0 -1
- package/dist/core/streaming-fetcher/index.js +0 -5
- package/dist/environments.d.ts +0 -7
- package/dist/environments.js +0 -9
- package/dist/errors/AirtopError.d.ts +0 -12
- package/dist/errors/AirtopError.js +0 -33
- package/dist/errors/AirtopTimeoutError.d.ts +0 -6
- package/dist/errors/AirtopTimeoutError.js +0 -13
- package/dist/errors/index.d.ts +0 -2
- package/dist/errors/index.js +0 -7
- package/dist/live-view/types.d.ts +0 -24
- package/dist/live-view/types.js +0 -16
- package/dist/serialization/index.d.ts +0 -2
- package/dist/serialization/index.js +0 -18
- 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 -45
- 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/files/client/index.d.ts +0 -1
- package/dist/serialization/resources/files/client/index.js +0 -17
- package/dist/serialization/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -16
- package/dist/serialization/resources/files/client/requests/CreateFileRestInputV1.js +0 -47
- package/dist/serialization/resources/files/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/files/client/requests/index.js +0 -5
- package/dist/serialization/resources/files/index.d.ts +0 -2
- package/dist/serialization/resources/files/index.js +0 -18
- package/dist/serialization/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -10
- package/dist/serialization/resources/files/types/CreateFileRestInputV1FileType.js +0 -41
- package/dist/serialization/resources/files/types/index.d.ts +0 -1
- package/dist/serialization/resources/files/types/index.js +0 -17
- package/dist/serialization/resources/index.d.ts +0 -11
- package/dist/serialization/resources/index.js +0 -50
- package/dist/serialization/resources/sessions/client/index.d.ts +0 -1
- package/dist/serialization/resources/sessions/client/index.js +0 -17
- package/dist/serialization/resources/sessions/client/requests/SessionRestInputV1.d.ts +0 -13
- package/dist/serialization/resources/sessions/client/requests/SessionRestInputV1.js +0 -44
- package/dist/serialization/resources/sessions/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/sessions/client/requests/index.js +0 -5
- package/dist/serialization/resources/sessions/index.d.ts +0 -2
- package/dist/serialization/resources/sessions/index.js +0 -18
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +0 -26
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +0 -55
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -15
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseError.js +0 -46
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.d.ts +0 -15
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.js +0 -46
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -15
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseStatus.js +0 -46
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.d.ts +0 -15
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.js +0 -46
- package/dist/serialization/resources/sessions/types/SessionsListRequestStatus.d.ts +0 -10
- package/dist/serialization/resources/sessions/types/SessionsListRequestStatus.js +0 -41
- package/dist/serialization/resources/sessions/types/index.d.ts +0 -6
- package/dist/serialization/resources/sessions/types/index.js +0 -22
- package/dist/serialization/resources/windows/client/index.d.ts +0 -1
- package/dist/serialization/resources/windows/client/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 -51
- package/dist/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +0 -18
- package/dist/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.js +0 -49
- package/dist/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -18
- package/dist/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -49
- package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -50
- package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -50
- package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
- package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
- package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -50
- package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
- package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
- package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
- package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -49
- package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -50
- package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
- package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
- package/dist/serialization/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +0 -16
- package/dist/serialization/resources/windows/client/requests/CreateWindowInputV1Body.js +0 -47
- package/dist/serialization/resources/windows/client/requests/ScrapeContentRequest.d.ts +0 -14
- package/dist/serialization/resources/windows/client/requests/ScrapeContentRequest.js +0 -45
- package/dist/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +0 -18
- package/dist/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.js +0 -49
- package/dist/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +0 -17
- package/dist/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +0 -48
- package/dist/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -17
- package/dist/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -48
- package/dist/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.d.ts +0 -17
- package/dist/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.js +0 -48
- package/dist/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +0 -16
- package/dist/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +0 -47
- package/dist/serialization/resources/windows/client/requests/SessionScrollHandlerRequestBody.d.ts +0 -22
- package/dist/serialization/resources/windows/client/requests/SessionScrollHandlerRequestBody.js +0 -53
- package/dist/serialization/resources/windows/client/requests/SessionSummaryHandlerRequestBody.d.ts +0 -17
- package/dist/serialization/resources/windows/client/requests/SessionSummaryHandlerRequestBody.js +0 -48
- package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +0 -22
- package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +0 -53
- package/dist/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +0 -15
- package/dist/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.js +0 -46
- package/dist/serialization/resources/windows/client/requests/index.d.ts +0 -22
- package/dist/serialization/resources/windows/client/requests/index.js +0 -47
- package/dist/serialization/resources/windows/index.d.ts +0 -2
- package/dist/serialization/resources/windows/index.js +0 -18
- package/dist/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +0 -10
- package/dist/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +0 -41
- package/dist/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +0 -10
- package/dist/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +0 -41
- package/dist/serialization/resources/windows/types/index.d.ts +0 -2
- package/dist/serialization/resources/windows/types/index.js +0 -18
- package/dist/serialization/types/AiPromptResponse.d.ts +0 -18
- package/dist/serialization/types/AiPromptResponse.js +0 -49
- package/dist/serialization/types/AiResponseEnvelope.d.ts +0 -12
- package/dist/serialization/types/AiResponseEnvelope.js +0 -43
- package/dist/serialization/types/AirtopProxyConfiguration.d.ts +0 -13
- package/dist/serialization/types/AirtopProxyConfiguration.js +0 -44
- package/dist/serialization/types/AsyncConfig.d.ts +0 -12
- package/dist/serialization/types/AsyncConfig.js +0 -43
- package/dist/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +0 -15
- package/dist/serialization/types/AsyncSessionAiResponseEnvelope.js +0 -46
- package/dist/serialization/types/AutomationOutput.d.ts +0 -16
- package/dist/serialization/types/AutomationOutput.js +0 -47
- package/dist/serialization/types/BrowserWaitNavigationConfig.d.ts +0 -14
- package/dist/serialization/types/BrowserWaitNavigationConfig.js +0 -45
- package/dist/serialization/types/BrowserWaitNavigationConfigWaitUntil.d.ts +0 -10
- package/dist/serialization/types/BrowserWaitNavigationConfigWaitUntil.js +0 -41
- package/dist/serialization/types/ClickConfig.d.ts +0 -19
- package/dist/serialization/types/ClickConfig.js +0 -50
- package/dist/serialization/types/ClickConfigClickType.d.ts +0 -10
- package/dist/serialization/types/ClickConfigClickType.js +0 -41
- package/dist/serialization/types/ClientProvidedResponseMetadata.d.ts +0 -12
- package/dist/serialization/types/ClientProvidedResponseMetadata.js +0 -43
- package/dist/serialization/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -10
- package/dist/serialization/types/CreateAutomationRequestBodyConfiguration.js +0 -41
- package/dist/serialization/types/CreateFileV1.d.ts +0 -21
- package/dist/serialization/types/CreateFileV1.js +0 -52
- package/dist/serialization/types/CreateFileV1FileType.d.ts +0 -10
- package/dist/serialization/types/CreateFileV1FileType.js +0 -41
- package/dist/serialization/types/DeleteAutomationOutputWrapperBody.d.ts +0 -10
- package/dist/serialization/types/DeleteAutomationOutputWrapperBody.js +0 -41
- package/dist/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -18
- package/dist/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -49
- package/dist/serialization/types/EnvelopeDefaultMeta.d.ts +0 -12
- package/dist/serialization/types/EnvelopeDefaultMeta.js +0 -43
- package/dist/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -18
- package/dist/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -49
- package/dist/serialization/types/ErrorBody.d.ts +0 -13
- package/dist/serialization/types/ErrorBody.js +0 -44
- package/dist/serialization/types/ErrorDetail.d.ts +0 -14
- package/dist/serialization/types/ErrorDetail.js +0 -45
- package/dist/serialization/types/ErrorMessage.d.ts +0 -14
- package/dist/serialization/types/ErrorMessage.js +0 -45
- package/dist/serialization/types/ErrorModel.d.ts +0 -18
- package/dist/serialization/types/ErrorModel.js +0 -49
- package/dist/serialization/types/ExternalFile.d.ts +0 -25
- package/dist/serialization/types/ExternalFile.js +0 -56
- package/dist/serialization/types/ExternalSessionAiResponseMetadata.d.ts +0 -20
- package/dist/serialization/types/ExternalSessionAiResponseMetadata.js +0 -51
- package/dist/serialization/types/ExternalSessionAiResponseMetadataStatus.d.ts +0 -10
- package/dist/serialization/types/ExternalSessionAiResponseMetadataStatus.js +0 -41
- package/dist/serialization/types/ExternalSessionAiResponseMetadataUsage.d.ts +0 -13
- package/dist/serialization/types/ExternalSessionAiResponseMetadataUsage.js +0 -44
- package/dist/serialization/types/ExternalSessionConfig.d.ts +0 -14
- package/dist/serialization/types/ExternalSessionConfig.js +0 -45
- package/dist/serialization/types/ExternalSessionWithConnectionInfo.d.ts +0 -22
- package/dist/serialization/types/ExternalSessionWithConnectionInfo.js +0 -53
- package/dist/serialization/types/FilesResponse.d.ts +0 -18
- package/dist/serialization/types/FilesResponse.js +0 -49
- package/dist/serialization/types/FilesWithPagination.d.ts +0 -15
- package/dist/serialization/types/FilesWithPagination.js +0 -46
- package/dist/serialization/types/GetFileV1.d.ts +0 -21
- package/dist/serialization/types/GetFileV1.js +0 -52
- package/dist/serialization/types/GetFileV1FileType.d.ts +0 -10
- package/dist/serialization/types/GetFileV1FileType.js +0 -41
- package/dist/serialization/types/IntervalMonitorConfig.d.ts +0 -13
- package/dist/serialization/types/IntervalMonitorConfig.js +0 -44
- package/dist/serialization/types/Issue.d.ts +0 -15
- package/dist/serialization/types/Issue.js +0 -46
- package/dist/serialization/types/ListAutomationsOutput.d.ts +0 -13
- package/dist/serialization/types/ListAutomationsOutput.js +0 -44
- package/dist/serialization/types/MicroInteractionConfig.d.ts +0 -15
- package/dist/serialization/types/MicroInteractionConfig.js +0 -46
- package/dist/serialization/types/MicroInteractionConfigWithExperimental.d.ts +0 -17
- package/dist/serialization/types/MicroInteractionConfigWithExperimental.js +0 -48
- package/dist/serialization/types/MicroInteractionExperimentalConfig.d.ts +0 -12
- package/dist/serialization/types/MicroInteractionExperimentalConfig.js +0 -43
- package/dist/serialization/types/MonitorConfig.d.ts +0 -15
- package/dist/serialization/types/MonitorConfig.js +0 -46
- package/dist/serialization/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -10
- package/dist/serialization/types/MonitorConfigIncludeVisualAnalysis.js +0 -41
- package/dist/serialization/types/OperationOutcome.d.ts +0 -12
- package/dist/serialization/types/OperationOutcome.js +0 -43
- package/dist/serialization/types/OperationOutcomeResponse.d.ts +0 -18
- package/dist/serialization/types/OperationOutcomeResponse.js +0 -49
- package/dist/serialization/types/PageQueryConfig.d.ts +0 -16
- package/dist/serialization/types/PageQueryConfig.js +0 -47
- package/dist/serialization/types/PageQueryExperimentalConfig.d.ts +0 -12
- package/dist/serialization/types/PageQueryExperimentalConfig.js +0 -43
- package/dist/serialization/types/PaginatedExtractionConfig.d.ts +0 -18
- package/dist/serialization/types/PaginatedExtractionConfig.js +0 -49
- package/dist/serialization/types/PaginatedExtractionExperimentalConfig.d.ts +0 -12
- package/dist/serialization/types/PaginatedExtractionExperimentalConfig.js +0 -43
- package/dist/serialization/types/Pagination.d.ts +0 -19
- package/dist/serialization/types/Pagination.js +0 -50
- package/dist/serialization/types/Proxy.d.ts +0 -12
- package/dist/serialization/types/Proxy.js +0 -43
- package/dist/serialization/types/ProxyConfigurationKind.d.ts +0 -14
- package/dist/serialization/types/ProxyConfigurationKind.js +0 -45
- package/dist/serialization/types/ProxyCredentials.d.ts +0 -14
- package/dist/serialization/types/ProxyCredentials.js +0 -45
- package/dist/serialization/types/RequestStatusResponse.d.ts +0 -13
- package/dist/serialization/types/RequestStatusResponse.js +0 -44
- package/dist/serialization/types/ScrapeConfig.d.ts +0 -12
- package/dist/serialization/types/ScrapeConfig.js +0 -43
- package/dist/serialization/types/ScrapeResponse.d.ts +0 -18
- package/dist/serialization/types/ScrapeResponse.js +0 -49
- package/dist/serialization/types/ScrapeResponseContent.d.ts +0 -13
- package/dist/serialization/types/ScrapeResponseContent.js +0 -44
- package/dist/serialization/types/ScrapeResponseEnvelope.d.ts +0 -13
- package/dist/serialization/types/ScrapeResponseEnvelope.js +0 -44
- package/dist/serialization/types/ScrapeResponseOutput.d.ts +0 -15
- package/dist/serialization/types/ScrapeResponseOutput.js +0 -46
- package/dist/serialization/types/ScreenshotConfig.d.ts +0 -15
- package/dist/serialization/types/ScreenshotConfig.js +0 -46
- package/dist/serialization/types/ScreenshotMetadata.d.ts +0 -12
- package/dist/serialization/types/ScreenshotMetadata.js +0 -43
- package/dist/serialization/types/ScreenshotRequestConfig.d.ts +0 -13
- package/dist/serialization/types/ScreenshotRequestConfig.js +0 -44
- package/dist/serialization/types/ScrollByConfig.d.ts +0 -13
- package/dist/serialization/types/ScrollByConfig.js +0 -44
- package/dist/serialization/types/ScrollToEdgeConfig.d.ts +0 -13
- package/dist/serialization/types/ScrollToEdgeConfig.js +0 -44
- package/dist/serialization/types/SessionConfigV1.d.ts +0 -18
- package/dist/serialization/types/SessionConfigV1.js +0 -49
- package/dist/serialization/types/SessionConfigV1Proxy.d.ts +0 -12
- package/dist/serialization/types/SessionConfigV1Proxy.js +0 -47
- package/dist/serialization/types/SessionEventMessage.d.ts +0 -18
- package/dist/serialization/types/SessionEventMessage.js +0 -49
- package/dist/serialization/types/SessionPageQueryHandlerRequestBody.d.ts +0 -18
- package/dist/serialization/types/SessionPageQueryHandlerRequestBody.js +0 -49
- package/dist/serialization/types/SessionResponse.d.ts +0 -18
- package/dist/serialization/types/SessionResponse.js +0 -49
- package/dist/serialization/types/SessionsResponse.d.ts +0 -18
- package/dist/serialization/types/SessionsResponse.js +0 -49
- package/dist/serialization/types/SessionsWithPagination.d.ts +0 -15
- package/dist/serialization/types/SessionsWithPagination.js +0 -46
- package/dist/serialization/types/StatusMessage.d.ts +0 -17
- package/dist/serialization/types/StatusMessage.js +0 -48
- package/dist/serialization/types/StatusMessageStatus.d.ts +0 -10
- package/dist/serialization/types/StatusMessageStatus.js +0 -41
- package/dist/serialization/types/SummaryConfig.d.ts +0 -14
- package/dist/serialization/types/SummaryConfig.js +0 -45
- package/dist/serialization/types/SummaryExperimentalConfig.d.ts +0 -12
- package/dist/serialization/types/SummaryExperimentalConfig.js +0 -43
- package/dist/serialization/types/VisualAnalysisConfig.d.ts +0 -20
- package/dist/serialization/types/VisualAnalysisConfig.js +0 -51
- package/dist/serialization/types/VisualAnalysisConfigPartitionDirection.d.ts +0 -10
- package/dist/serialization/types/VisualAnalysisConfigPartitionDirection.js +0 -41
- package/dist/serialization/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +0 -10
- package/dist/serialization/types/VisualAnalysisConfigResultSelectionStrategy.js +0 -41
- package/dist/serialization/types/VisualAnalysisConfigScope.d.ts +0 -10
- package/dist/serialization/types/VisualAnalysisConfigScope.js +0 -41
- package/dist/serialization/types/Window.d.ts +0 -14
- package/dist/serialization/types/Window.js +0 -45
- package/dist/serialization/types/WindowEventMessage.d.ts +0 -19
- package/dist/serialization/types/WindowEventMessage.js +0 -50
- package/dist/serialization/types/WindowId.d.ts +0 -13
- package/dist/serialization/types/WindowId.js +0 -44
- package/dist/serialization/types/WindowIdResponse.d.ts +0 -18
- package/dist/serialization/types/WindowIdResponse.js +0 -49
- package/dist/serialization/types/WindowResponse.d.ts +0 -18
- package/dist/serialization/types/WindowResponse.js +0 -49
- package/dist/serialization/types/index.d.ts +0 -92
- package/dist/serialization/types/index.js +0 -108
- package/dist/utils/batch-operate/SessionQueue.d.ts +0 -45
- package/dist/utils/batch-operate/SessionQueue.js +0 -222
- package/dist/utils/batch-operate/WindowQueue.d.ts +0 -24
- package/dist/utils/batch-operate/WindowQueue.js +0 -213
- package/dist/utils/batch-operate/batch-util.d.ts +0 -3
- package/dist/utils/batch-operate/batch-util.js +0 -49
- package/dist/utils/batch-operate/helpers.d.ts +0 -2
- package/dist/utils/batch-operate/helpers.js +0 -19
- package/dist/utils/batch-operate/types.d.ts +0 -29
- package/dist/utils/batch-operate/types.js +0 -2
- package/dist/utils/index.d.ts +0 -3
- package/dist/utils/index.js +0 -19
- package/dist/utils/process-screenshots.d.ts +0 -9
- package/dist/utils/process-screenshots.js +0 -58
- package/dist/version.d.ts +0 -1
- package/dist/version.js +0 -4
- package/dist/wrapper/AirtopClient.d.ts +0 -31
- package/dist/wrapper/AirtopClient.js +0 -106
- package/dist/wrapper/AirtopFiles.d.ts +0 -38
- package/dist/wrapper/AirtopFiles.js +0 -151
- package/dist/wrapper/AirtopRequests.d.ts +0 -18
- package/dist/wrapper/AirtopRequests.js +0 -48
- package/dist/wrapper/AirtopSessions.d.ts +0 -24
- package/dist/wrapper/AirtopSessions.js +0 -96
- package/dist/wrapper/AirtopWindows.d.ts +0 -154
- package/dist/wrapper/AirtopWindows.js +0 -293
- package/environments.d.ts +0 -7
- package/environments.js +0 -9
- package/errors/AirtopError.d.ts +0 -12
- package/errors/AirtopError.js +0 -33
- package/errors/AirtopTimeoutError.d.ts +0 -6
- package/errors/AirtopTimeoutError.js +0 -13
- package/errors/index.d.ts +0 -2
- package/errors/index.js +0 -7
- package/index.d.ts +0 -7
- package/index.js +0 -51
- package/jest.config.mjs +0 -8
- package/lefthook.yml +0 -23
- package/live-view/types.d.ts +0 -24
- package/live-view/types.js +0 -16
- package/reference.md +0 -3426
- package/scripts/rename-to-esm-files.js +0 -115
- package/serialization/index.d.ts +0 -2
- package/serialization/index.js +0 -18
- 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 -45
- 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/files/client/index.d.ts +0 -1
- package/serialization/resources/files/client/index.js +0 -17
- package/serialization/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -16
- package/serialization/resources/files/client/requests/CreateFileRestInputV1.js +0 -47
- package/serialization/resources/files/client/requests/index.d.ts +0 -1
- package/serialization/resources/files/client/requests/index.js +0 -5
- package/serialization/resources/files/index.d.ts +0 -2
- package/serialization/resources/files/index.js +0 -18
- package/serialization/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -10
- package/serialization/resources/files/types/CreateFileRestInputV1FileType.js +0 -41
- package/serialization/resources/files/types/index.d.ts +0 -1
- package/serialization/resources/files/types/index.js +0 -17
- package/serialization/resources/index.d.ts +0 -11
- package/serialization/resources/index.js +0 -50
- package/serialization/resources/sessions/client/index.d.ts +0 -1
- package/serialization/resources/sessions/client/index.js +0 -17
- package/serialization/resources/sessions/client/requests/SessionRestInputV1.d.ts +0 -13
- package/serialization/resources/sessions/client/requests/SessionRestInputV1.js +0 -44
- package/serialization/resources/sessions/client/requests/index.d.ts +0 -1
- package/serialization/resources/sessions/client/requests/index.js +0 -5
- package/serialization/resources/sessions/index.d.ts +0 -2
- package/serialization/resources/sessions/index.js +0 -18
- package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +0 -26
- package/serialization/resources/sessions/types/SessionsEventsResponse.js +0 -55
- package/serialization/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -15
- package/serialization/resources/sessions/types/SessionsEventsResponseError.js +0 -46
- package/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.d.ts +0 -15
- package/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.js +0 -46
- package/serialization/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -15
- package/serialization/resources/sessions/types/SessionsEventsResponseStatus.js +0 -46
- package/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.d.ts +0 -15
- package/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.js +0 -46
- package/serialization/resources/sessions/types/SessionsListRequestStatus.d.ts +0 -10
- package/serialization/resources/sessions/types/SessionsListRequestStatus.js +0 -41
- package/serialization/resources/sessions/types/index.d.ts +0 -6
- package/serialization/resources/sessions/types/index.js +0 -22
- package/serialization/resources/windows/client/index.d.ts +0 -1
- package/serialization/resources/windows/client/index.js +0 -17
- package/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
- package/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -51
- package/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +0 -18
- package/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.js +0 -49
- package/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -18
- package/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -49
- package/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -50
- package/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -50
- package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
- package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
- package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -50
- package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
- package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
- package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
- package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -49
- package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -50
- package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
- package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
- package/serialization/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +0 -16
- package/serialization/resources/windows/client/requests/CreateWindowInputV1Body.js +0 -47
- package/serialization/resources/windows/client/requests/ScrapeContentRequest.d.ts +0 -14
- package/serialization/resources/windows/client/requests/ScrapeContentRequest.js +0 -45
- package/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +0 -18
- package/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.js +0 -49
- package/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +0 -17
- package/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +0 -48
- package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -17
- package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -48
- package/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.d.ts +0 -17
- package/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.js +0 -48
- package/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +0 -16
- package/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +0 -47
- package/serialization/resources/windows/client/requests/SessionScrollHandlerRequestBody.d.ts +0 -22
- package/serialization/resources/windows/client/requests/SessionScrollHandlerRequestBody.js +0 -53
- package/serialization/resources/windows/client/requests/SessionSummaryHandlerRequestBody.d.ts +0 -17
- package/serialization/resources/windows/client/requests/SessionSummaryHandlerRequestBody.js +0 -48
- package/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +0 -22
- package/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +0 -53
- package/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +0 -15
- package/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.js +0 -46
- package/serialization/resources/windows/client/requests/index.d.ts +0 -22
- package/serialization/resources/windows/client/requests/index.js +0 -47
- package/serialization/resources/windows/index.d.ts +0 -2
- package/serialization/resources/windows/index.js +0 -18
- package/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +0 -10
- package/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +0 -41
- package/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +0 -10
- package/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +0 -41
- package/serialization/resources/windows/types/index.d.ts +0 -2
- package/serialization/resources/windows/types/index.js +0 -18
- package/serialization/types/AiPromptResponse.d.ts +0 -18
- package/serialization/types/AiPromptResponse.js +0 -49
- package/serialization/types/AiResponseEnvelope.d.ts +0 -12
- package/serialization/types/AiResponseEnvelope.js +0 -43
- package/serialization/types/AirtopProxyConfiguration.d.ts +0 -13
- package/serialization/types/AirtopProxyConfiguration.js +0 -44
- package/serialization/types/AsyncConfig.d.ts +0 -12
- package/serialization/types/AsyncConfig.js +0 -43
- package/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +0 -15
- package/serialization/types/AsyncSessionAiResponseEnvelope.js +0 -46
- package/serialization/types/AutomationOutput.d.ts +0 -16
- package/serialization/types/AutomationOutput.js +0 -47
- package/serialization/types/BrowserWaitNavigationConfig.d.ts +0 -14
- package/serialization/types/BrowserWaitNavigationConfig.js +0 -45
- package/serialization/types/BrowserWaitNavigationConfigWaitUntil.d.ts +0 -10
- package/serialization/types/BrowserWaitNavigationConfigWaitUntil.js +0 -41
- package/serialization/types/ClickConfig.d.ts +0 -19
- package/serialization/types/ClickConfig.js +0 -50
- package/serialization/types/ClickConfigClickType.d.ts +0 -10
- package/serialization/types/ClickConfigClickType.js +0 -41
- package/serialization/types/ClientProvidedResponseMetadata.d.ts +0 -12
- package/serialization/types/ClientProvidedResponseMetadata.js +0 -43
- package/serialization/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -10
- package/serialization/types/CreateAutomationRequestBodyConfiguration.js +0 -41
- package/serialization/types/CreateFileV1.d.ts +0 -21
- package/serialization/types/CreateFileV1.js +0 -52
- package/serialization/types/CreateFileV1FileType.d.ts +0 -10
- package/serialization/types/CreateFileV1FileType.js +0 -41
- package/serialization/types/DeleteAutomationOutputWrapperBody.d.ts +0 -10
- package/serialization/types/DeleteAutomationOutputWrapperBody.js +0 -41
- package/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -18
- package/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -49
- package/serialization/types/EnvelopeDefaultMeta.d.ts +0 -12
- package/serialization/types/EnvelopeDefaultMeta.js +0 -43
- package/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -18
- package/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -49
- package/serialization/types/ErrorBody.d.ts +0 -13
- package/serialization/types/ErrorBody.js +0 -44
- package/serialization/types/ErrorDetail.d.ts +0 -14
- package/serialization/types/ErrorDetail.js +0 -45
- package/serialization/types/ErrorMessage.d.ts +0 -14
- package/serialization/types/ErrorMessage.js +0 -45
- package/serialization/types/ErrorModel.d.ts +0 -18
- package/serialization/types/ErrorModel.js +0 -49
- package/serialization/types/ExternalFile.d.ts +0 -25
- package/serialization/types/ExternalFile.js +0 -56
- package/serialization/types/ExternalSessionAiResponseMetadata.d.ts +0 -20
- package/serialization/types/ExternalSessionAiResponseMetadata.js +0 -51
- package/serialization/types/ExternalSessionAiResponseMetadataStatus.d.ts +0 -10
- package/serialization/types/ExternalSessionAiResponseMetadataStatus.js +0 -41
- package/serialization/types/ExternalSessionAiResponseMetadataUsage.d.ts +0 -13
- package/serialization/types/ExternalSessionAiResponseMetadataUsage.js +0 -44
- package/serialization/types/ExternalSessionConfig.d.ts +0 -14
- package/serialization/types/ExternalSessionConfig.js +0 -45
- package/serialization/types/ExternalSessionWithConnectionInfo.d.ts +0 -22
- package/serialization/types/ExternalSessionWithConnectionInfo.js +0 -53
- package/serialization/types/FilesResponse.d.ts +0 -18
- package/serialization/types/FilesResponse.js +0 -49
- package/serialization/types/FilesWithPagination.d.ts +0 -15
- package/serialization/types/FilesWithPagination.js +0 -46
- package/serialization/types/GetFileV1.d.ts +0 -21
- package/serialization/types/GetFileV1.js +0 -52
- package/serialization/types/GetFileV1FileType.d.ts +0 -10
- package/serialization/types/GetFileV1FileType.js +0 -41
- package/serialization/types/IntervalMonitorConfig.d.ts +0 -13
- package/serialization/types/IntervalMonitorConfig.js +0 -44
- package/serialization/types/Issue.d.ts +0 -15
- package/serialization/types/Issue.js +0 -46
- package/serialization/types/ListAutomationsOutput.d.ts +0 -13
- package/serialization/types/ListAutomationsOutput.js +0 -44
- package/serialization/types/MicroInteractionConfig.d.ts +0 -15
- package/serialization/types/MicroInteractionConfig.js +0 -46
- package/serialization/types/MicroInteractionConfigWithExperimental.d.ts +0 -17
- package/serialization/types/MicroInteractionConfigWithExperimental.js +0 -48
- package/serialization/types/MicroInteractionExperimentalConfig.d.ts +0 -12
- package/serialization/types/MicroInteractionExperimentalConfig.js +0 -43
- package/serialization/types/MonitorConfig.d.ts +0 -15
- package/serialization/types/MonitorConfig.js +0 -46
- package/serialization/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -10
- package/serialization/types/MonitorConfigIncludeVisualAnalysis.js +0 -41
- package/serialization/types/OperationOutcome.d.ts +0 -12
- package/serialization/types/OperationOutcome.js +0 -43
- package/serialization/types/OperationOutcomeResponse.d.ts +0 -18
- package/serialization/types/OperationOutcomeResponse.js +0 -49
- package/serialization/types/PageQueryConfig.d.ts +0 -16
- package/serialization/types/PageQueryConfig.js +0 -47
- package/serialization/types/PageQueryExperimentalConfig.d.ts +0 -12
- package/serialization/types/PageQueryExperimentalConfig.js +0 -43
- package/serialization/types/PaginatedExtractionConfig.d.ts +0 -18
- package/serialization/types/PaginatedExtractionConfig.js +0 -49
- package/serialization/types/PaginatedExtractionExperimentalConfig.d.ts +0 -12
- package/serialization/types/PaginatedExtractionExperimentalConfig.js +0 -43
- package/serialization/types/Pagination.d.ts +0 -19
- package/serialization/types/Pagination.js +0 -50
- package/serialization/types/Proxy.d.ts +0 -12
- package/serialization/types/Proxy.js +0 -43
- package/serialization/types/ProxyConfigurationKind.d.ts +0 -14
- package/serialization/types/ProxyConfigurationKind.js +0 -45
- package/serialization/types/ProxyCredentials.d.ts +0 -14
- package/serialization/types/ProxyCredentials.js +0 -45
- package/serialization/types/RequestStatusResponse.d.ts +0 -13
- package/serialization/types/RequestStatusResponse.js +0 -44
- package/serialization/types/ScrapeConfig.d.ts +0 -12
- package/serialization/types/ScrapeConfig.js +0 -43
- package/serialization/types/ScrapeResponse.d.ts +0 -18
- package/serialization/types/ScrapeResponse.js +0 -49
- package/serialization/types/ScrapeResponseContent.d.ts +0 -13
- package/serialization/types/ScrapeResponseContent.js +0 -44
- package/serialization/types/ScrapeResponseEnvelope.d.ts +0 -13
- package/serialization/types/ScrapeResponseEnvelope.js +0 -44
- package/serialization/types/ScrapeResponseOutput.d.ts +0 -15
- package/serialization/types/ScrapeResponseOutput.js +0 -46
- package/serialization/types/ScreenshotConfig.d.ts +0 -15
- package/serialization/types/ScreenshotConfig.js +0 -46
- package/serialization/types/ScreenshotMetadata.d.ts +0 -12
- package/serialization/types/ScreenshotMetadata.js +0 -43
- package/serialization/types/ScreenshotRequestConfig.d.ts +0 -13
- package/serialization/types/ScreenshotRequestConfig.js +0 -44
- package/serialization/types/ScrollByConfig.d.ts +0 -13
- package/serialization/types/ScrollByConfig.js +0 -44
- package/serialization/types/ScrollToEdgeConfig.d.ts +0 -13
- package/serialization/types/ScrollToEdgeConfig.js +0 -44
- package/serialization/types/SessionConfigV1.d.ts +0 -18
- package/serialization/types/SessionConfigV1.js +0 -49
- package/serialization/types/SessionConfigV1Proxy.d.ts +0 -12
- package/serialization/types/SessionConfigV1Proxy.js +0 -47
- package/serialization/types/SessionEventMessage.d.ts +0 -18
- package/serialization/types/SessionEventMessage.js +0 -49
- package/serialization/types/SessionPageQueryHandlerRequestBody.d.ts +0 -18
- package/serialization/types/SessionPageQueryHandlerRequestBody.js +0 -49
- package/serialization/types/SessionResponse.d.ts +0 -18
- package/serialization/types/SessionResponse.js +0 -49
- package/serialization/types/SessionsResponse.d.ts +0 -18
- package/serialization/types/SessionsResponse.js +0 -49
- package/serialization/types/SessionsWithPagination.d.ts +0 -15
- package/serialization/types/SessionsWithPagination.js +0 -46
- package/serialization/types/StatusMessage.d.ts +0 -17
- package/serialization/types/StatusMessage.js +0 -48
- package/serialization/types/StatusMessageStatus.d.ts +0 -10
- package/serialization/types/StatusMessageStatus.js +0 -41
- package/serialization/types/SummaryConfig.d.ts +0 -14
- package/serialization/types/SummaryConfig.js +0 -45
- package/serialization/types/SummaryExperimentalConfig.d.ts +0 -12
- package/serialization/types/SummaryExperimentalConfig.js +0 -43
- package/serialization/types/VisualAnalysisConfig.d.ts +0 -20
- package/serialization/types/VisualAnalysisConfig.js +0 -51
- package/serialization/types/VisualAnalysisConfigPartitionDirection.d.ts +0 -10
- package/serialization/types/VisualAnalysisConfigPartitionDirection.js +0 -41
- package/serialization/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +0 -10
- package/serialization/types/VisualAnalysisConfigResultSelectionStrategy.js +0 -41
- package/serialization/types/VisualAnalysisConfigScope.d.ts +0 -10
- package/serialization/types/VisualAnalysisConfigScope.js +0 -41
- package/serialization/types/Window.d.ts +0 -14
- package/serialization/types/Window.js +0 -45
- package/serialization/types/WindowEventMessage.d.ts +0 -19
- package/serialization/types/WindowEventMessage.js +0 -50
- package/serialization/types/WindowId.d.ts +0 -13
- package/serialization/types/WindowId.js +0 -44
- package/serialization/types/WindowIdResponse.d.ts +0 -18
- package/serialization/types/WindowIdResponse.js +0 -49
- package/serialization/types/WindowResponse.d.ts +0 -18
- package/serialization/types/WindowResponse.js +0 -49
- package/serialization/types/index.d.ts +0 -92
- package/serialization/types/index.js +0 -108
- package/utils/batch-operate/SessionQueue.d.ts +0 -45
- package/utils/batch-operate/SessionQueue.js +0 -222
- package/utils/batch-operate/WindowQueue.d.ts +0 -24
- package/utils/batch-operate/WindowQueue.js +0 -213
- package/utils/batch-operate/batch-util.d.ts +0 -3
- package/utils/batch-operate/batch-util.js +0 -49
- package/utils/batch-operate/helpers.d.ts +0 -2
- package/utils/batch-operate/helpers.js +0 -19
- package/utils/batch-operate/types.d.ts +0 -29
- package/utils/batch-operate/types.js +0 -2
- package/utils/index.d.ts +0 -3
- package/utils/index.js +0 -19
- package/utils/process-screenshots.d.ts +0 -9
- package/utils/process-screenshots.js +0 -58
- package/version.d.ts +0 -1
- package/version.js +0 -4
- package/wrapper/AirtopClient.d.ts +0 -31
- package/wrapper/AirtopClient.js +0 -106
- package/wrapper/AirtopFiles.d.ts +0 -38
- package/wrapper/AirtopFiles.js +0 -151
- package/wrapper/AirtopRequests.d.ts +0 -18
- package/wrapper/AirtopRequests.js +0 -48
- package/wrapper/AirtopSessions.d.ts +0 -24
- package/wrapper/AirtopSessions.js +0 -96
- package/wrapper/AirtopWindows.d.ts +0 -154
- package/wrapper/AirtopWindows.js +0 -293
package/dist/index.d.cts
ADDED
@@ -0,0 +1,1028 @@
|
|
1
|
+
import * as _airtop_core from '@airtop/core';
|
2
|
+
import { Airtop } from '@airtop/core';
|
3
|
+
import { AirtopJsonSchemaAdapter } from '@airtop/json-schema-adapter';
|
4
|
+
export { AirtopJsonSchemaAdapter } from '@airtop/json-schema-adapter';
|
5
|
+
import { ILogLayer } from 'loglayer';
|
6
|
+
export { ILogLayer } from 'loglayer';
|
7
|
+
import * as _airtop_core_resources_shared_mjs from '@airtop/core/resources/shared.mjs';
|
8
|
+
import { AutomationUpdateDescriptionParams } from '@airtop/core/resources/automations.js';
|
9
|
+
import { SessionListParams, ProfileOutput, FileListParams, FilesResponse, FileCreateFileParams, WindowIDData, EnvelopeDefaultMeta as EnvelopeDefaultMeta$1, Issue as Issue$1, WindowInfo, WindowGetParams, AIPromptResponse, ScrapeResponse } from '@airtop/core/resources/index.js';
|
10
|
+
import * as _airtop_core_resources_shared_js from '@airtop/core/resources/shared.js';
|
11
|
+
import { SessionConfigV1, GetFileResponse, ListAutomationsOutput, AutomationData, ExternalSessionWithConnectionInfo, EnvelopeDefaultMeta, Issue, AIPromptResponse as AIPromptResponse$1, WindowIDDataResponse, OperationOutcomeResponse } from '@airtop/core/resources/shared.js';
|
12
|
+
export { AIResponseEnvelope, AirtopPagination, ExternalSessionAIResponseMetadata, ExternalSessionWithConnectionInfo, Issue, OperationOutcomeResponse, WindowIDDataResponse } from '@airtop/core/resources/shared.js';
|
13
|
+
import * as _airtop_core_resources_sessions_mjs from '@airtop/core/resources/sessions.mjs';
|
14
|
+
import { WindowClickParams, WindowHoverParams, WindowLoadURLParams, WindowMonitorParams, WindowScrapeParams, WindowScreenshotParams, WindowScrollParams, WindowTypeParams } from '@airtop/core/resources/windows.js';
|
15
|
+
|
16
|
+
/**
|
17
|
+
* Shared configuration between Airtop classes.
|
18
|
+
*/
|
19
|
+
interface CommonAirtopConfig {
|
20
|
+
/**
|
21
|
+
* The Airtop Core SDK client instance for making API calls.
|
22
|
+
*/
|
23
|
+
client: Airtop;
|
24
|
+
/**
|
25
|
+
* LogLayer logger instance for recording events and debugging information.
|
26
|
+
* @see {@link https://loglayer.dev | LogLayer Documentation}
|
27
|
+
*/
|
28
|
+
log: ILogLayer;
|
29
|
+
/**
|
30
|
+
* The log level to use for logging operations.
|
31
|
+
* Defaults to "error" if not specified.
|
32
|
+
*/
|
33
|
+
logLevel?: "debug" | "off" | "error" | "warn" | "info";
|
34
|
+
/**
|
35
|
+
* Optional adapter for converting between different JSON schema formats.
|
36
|
+
* Used for customizing output schema handling.
|
37
|
+
*/
|
38
|
+
outputSchemaAdapter?: AirtopJsonSchemaAdapter;
|
39
|
+
}
|
40
|
+
/**
|
41
|
+
* Configuration for defining the JSON schema output.
|
42
|
+
*/
|
43
|
+
interface OutputJsonSchemaConfig {
|
44
|
+
configuration: {
|
45
|
+
/**
|
46
|
+
* JSON schema defining the structure of the output.
|
47
|
+
*/
|
48
|
+
outputSchema?: any;
|
49
|
+
};
|
50
|
+
}
|
51
|
+
/**
|
52
|
+
* Common options for making requests to the Airtop API.
|
53
|
+
* Controls request behavior and timeout settings.
|
54
|
+
*/
|
55
|
+
interface AirtopRequestOptions {
|
56
|
+
/**
|
57
|
+
* Maximum time in seconds to wait for a response.
|
58
|
+
*/
|
59
|
+
timeoutInSeconds?: number;
|
60
|
+
/**
|
61
|
+
* Maximum number of retry attempts for failed requests.
|
62
|
+
*/
|
63
|
+
maxRetries?: number;
|
64
|
+
/**
|
65
|
+
* Signal for aborting the request.
|
66
|
+
*/
|
67
|
+
abortSignal?: AbortSignal;
|
68
|
+
}
|
69
|
+
/**
|
70
|
+
* Format for responses from the Airtop API
|
71
|
+
*/
|
72
|
+
interface CommonResponse {
|
73
|
+
data: unknown;
|
74
|
+
meta: unknown;
|
75
|
+
warnings?: unknown;
|
76
|
+
errors?: unknown;
|
77
|
+
}
|
78
|
+
|
79
|
+
/**
|
80
|
+
* Base class for Airtop SDK implementation
|
81
|
+
* Provides common functionality for JSON schema conversion, error handling, and request configuration
|
82
|
+
* @hidden
|
83
|
+
*/
|
84
|
+
declare class AirtopBase {
|
85
|
+
/**
|
86
|
+
* Logger instance for the SDK
|
87
|
+
* @internal
|
88
|
+
**/
|
89
|
+
protected log: ILogLayer;
|
90
|
+
/**
|
91
|
+
* Airtop Core SDK client instance
|
92
|
+
* @internal
|
93
|
+
**/
|
94
|
+
protected client: Airtop;
|
95
|
+
/**
|
96
|
+
* JSON schema adapter for output conversion
|
97
|
+
* @internal
|
98
|
+
**/
|
99
|
+
protected outputJsonAdapter: AirtopJsonSchemaAdapter;
|
100
|
+
/**
|
101
|
+
* Creates a new instance of AirtopBase
|
102
|
+
* @param config - Configuration options for the SDK
|
103
|
+
*/
|
104
|
+
constructor(config: CommonAirtopConfig);
|
105
|
+
/**
|
106
|
+
* Returns the API key used by the SDK
|
107
|
+
* @returns API key string
|
108
|
+
*/
|
109
|
+
getApiKey(): string;
|
110
|
+
/**
|
111
|
+
* Sets the base URL for the Airtop API.
|
112
|
+
* @param airtopUrl - The base URL for the Airtop API
|
113
|
+
*/
|
114
|
+
setAirtopUrl(airtopUrl: string): void;
|
115
|
+
/**
|
116
|
+
* Sets the API key for authentication.
|
117
|
+
* @param apiKey - The API key to use for authentication
|
118
|
+
*/
|
119
|
+
setApiKey(apiKey: string): void;
|
120
|
+
/**
|
121
|
+
* Returns the LogLayer logger instance used by the SDK
|
122
|
+
* @returns Logger instance
|
123
|
+
* @see {@link https://loglayer.dev | LogLayer Documentation}
|
124
|
+
*/
|
125
|
+
getLogger(): ILogLayer;
|
126
|
+
/**
|
127
|
+
* Converts input data to JSON schema format
|
128
|
+
* @param input - Data to be converted (schema input, string, or object)
|
129
|
+
* @returns JSON string representation of the input
|
130
|
+
* @internal
|
131
|
+
*/
|
132
|
+
protected convertToJsonSchema(input?: any): string;
|
133
|
+
/**
|
134
|
+
* Returns the common configuration used by the SDK
|
135
|
+
* @returns Common configuration object
|
136
|
+
* @internal
|
137
|
+
*/
|
138
|
+
protected getCommonConfig(): CommonAirtopConfig;
|
139
|
+
/**
|
140
|
+
* Translates the request options to ones used by the Core SDK
|
141
|
+
* @param options - Request options to be resolved
|
142
|
+
* @returns Resolved request options with defaults
|
143
|
+
* @internal
|
144
|
+
*/
|
145
|
+
protected resolveRequestOptions(options?: AirtopRequestOptions): {
|
146
|
+
timeout: number;
|
147
|
+
maxRetries: number;
|
148
|
+
signal: AbortSignal;
|
149
|
+
};
|
150
|
+
}
|
151
|
+
|
152
|
+
/**
|
153
|
+
* Configuration options for creating a new Airtop SDK instance.
|
154
|
+
* Controls authentication, logging, and schema handling.
|
155
|
+
*/
|
156
|
+
interface AirtopConstructorConfig {
|
157
|
+
/**
|
158
|
+
* The API key to use for authentication with the Airtop API.
|
159
|
+
* Required for all API operations.
|
160
|
+
*/
|
161
|
+
apiKey: string;
|
162
|
+
/**
|
163
|
+
* The base URL for the Airtop API.
|
164
|
+
* Defaults to https://api.airtop.ai/api/v1 if not specified.
|
165
|
+
*/
|
166
|
+
airtopUrl?: string;
|
167
|
+
/**
|
168
|
+
* Custom logger instance to use for logging operations.
|
169
|
+
* If not provided, defaults to console logging.
|
170
|
+
*/
|
171
|
+
logger?: ILogLayer;
|
172
|
+
/**
|
173
|
+
* The log level to use for logging operations.
|
174
|
+
* Controls the verbosity of log output.
|
175
|
+
* Defaults to "off" if not specified.
|
176
|
+
*/
|
177
|
+
logLevel?: "debug" | "off" | "error" | "warn" | "info";
|
178
|
+
/**
|
179
|
+
* JSON schema adapter to convert output schema definitions.
|
180
|
+
* Used to customize how response data is structured.
|
181
|
+
*/
|
182
|
+
outputSchemaAdapter?: AirtopJsonSchemaAdapter;
|
183
|
+
}
|
184
|
+
/**
|
185
|
+
* Configuration options for creating a new session.
|
186
|
+
*/
|
187
|
+
interface CreateSessionConfig extends SessionConfigV1 {
|
188
|
+
/**
|
189
|
+
* Whether to skip waiting for the session to be ready.
|
190
|
+
* If true, returns immediately after session creation.
|
191
|
+
* If false (default), waits for the session to be fully initialized.
|
192
|
+
*/
|
193
|
+
skipWaitSessionReady?: boolean;
|
194
|
+
}
|
195
|
+
/**
|
196
|
+
* Configuration options for retrieving multiple sessions.
|
197
|
+
* Excludes session IDs which are provided separately.
|
198
|
+
*/
|
199
|
+
interface GetSessionsConfig extends Omit<SessionListParams, "sessionIds"> {
|
200
|
+
}
|
201
|
+
/**
|
202
|
+
* Configuration options for retrieving multiple files.
|
203
|
+
* Excludes session IDs which are provided separately.
|
204
|
+
*/
|
205
|
+
interface GetFilesConfig extends Omit<FileListParams, "sessionIds"> {
|
206
|
+
}
|
207
|
+
interface AirtopFileResponse extends GetFileResponse {
|
208
|
+
}
|
209
|
+
interface AirtopFilesListResponse extends FilesResponse {
|
210
|
+
}
|
211
|
+
interface AirtopAutomationUpdateDescriptionConfig extends AutomationUpdateDescriptionParams {
|
212
|
+
}
|
213
|
+
interface AirtopAutomationData extends AutomationData {
|
214
|
+
}
|
215
|
+
interface AirtopAutomationListResponse extends ListAutomationsOutput {
|
216
|
+
}
|
217
|
+
interface AirtopProfile extends ProfileOutput {
|
218
|
+
}
|
219
|
+
|
220
|
+
/**
|
221
|
+
* The session data containing connection and state information.
|
222
|
+
* Includes details about the browser session and its configuration.
|
223
|
+
*/
|
224
|
+
interface SessionData extends ExternalSessionWithConnectionInfo {
|
225
|
+
}
|
226
|
+
/**
|
227
|
+
* The metadata associated with the session.
|
228
|
+
* Contains information about the request that created the session.
|
229
|
+
*/
|
230
|
+
interface SessionMetadata extends EnvelopeDefaultMeta {
|
231
|
+
}
|
232
|
+
/**
|
233
|
+
* A warning that occurred during session creation or operation.
|
234
|
+
* A non-fatal issue that didn't prevent session creation.
|
235
|
+
*/
|
236
|
+
interface SessionWarning extends Issue {
|
237
|
+
}
|
238
|
+
/**
|
239
|
+
* An error that occurred during session creation or operation.
|
240
|
+
* This is a fatal issue that prevented session creation.
|
241
|
+
*/
|
242
|
+
interface SessionError extends Issue {
|
243
|
+
}
|
244
|
+
/**
|
245
|
+
* Data structure for initializing an Airtop browser session.
|
246
|
+
* Contains all necessary information about a session's state and configuration.
|
247
|
+
*/
|
248
|
+
interface AirtopSessionResponse {
|
249
|
+
/**
|
250
|
+
* The session data containing connection and state information.
|
251
|
+
* Includes details about the browser session and its configuration.
|
252
|
+
*/
|
253
|
+
data: SessionData;
|
254
|
+
/**
|
255
|
+
* The metadata associated with the session.
|
256
|
+
* Contains information about the request that created the session.
|
257
|
+
*/
|
258
|
+
meta?: SessionMetadata;
|
259
|
+
/**
|
260
|
+
* Warnings that occurred during session creation or operation.
|
261
|
+
* These are non-fatal issues that didn't prevent session creation.
|
262
|
+
*/
|
263
|
+
warnings?: SessionWarning[];
|
264
|
+
/**
|
265
|
+
* Errors that occurred during session creation or operation.
|
266
|
+
* These are fatal issues that prevented session creation.
|
267
|
+
*/
|
268
|
+
errors?: SessionError[];
|
269
|
+
}
|
270
|
+
/**
|
271
|
+
* Configuration parameters for retrieving a window.
|
272
|
+
* Excludes session ID which is provided by the parent session.
|
273
|
+
*/
|
274
|
+
interface CreateFileConfig extends Omit<FileCreateFileParams, "sessionId" | "fileName"> {
|
275
|
+
}
|
276
|
+
|
277
|
+
/**
|
278
|
+
* Common data found in a window API call response.
|
279
|
+
*/
|
280
|
+
interface CommonWindowResponse extends CommonResponse {
|
281
|
+
data: {
|
282
|
+
/**
|
283
|
+
* The ID of the window.
|
284
|
+
*/
|
285
|
+
windowId: string;
|
286
|
+
};
|
287
|
+
}
|
288
|
+
/**
|
289
|
+
* The window data from creating a new window.
|
290
|
+
*/
|
291
|
+
interface WindowCreateData extends WindowIDData {
|
292
|
+
}
|
293
|
+
/**
|
294
|
+
* The window data from fetching window information.
|
295
|
+
*/
|
296
|
+
interface WindowInfoData extends WindowInfo {
|
297
|
+
}
|
298
|
+
/**
|
299
|
+
* The metadata associated with the window.
|
300
|
+
* Contains information about the request that created the window.
|
301
|
+
*/
|
302
|
+
interface WindowMetadata extends EnvelopeDefaultMeta$1 {
|
303
|
+
}
|
304
|
+
/**
|
305
|
+
* A warning associated with the creation of the window.
|
306
|
+
* A non-fatal issue that didn't prevent session creation.
|
307
|
+
*/
|
308
|
+
interface WindowWarning extends Issue$1 {
|
309
|
+
}
|
310
|
+
/**
|
311
|
+
* An error that occurred during session creation or operation.
|
312
|
+
* This is a fatal issue that prevented session creation.
|
313
|
+
*/
|
314
|
+
interface WindowError extends Issue$1 {
|
315
|
+
}
|
316
|
+
/**
|
317
|
+
* Response object for creating a new window.
|
318
|
+
*/
|
319
|
+
interface AirtopWindowCreateResponse {
|
320
|
+
/**
|
321
|
+
* The window data containing window-specific information.
|
322
|
+
*/
|
323
|
+
data: WindowCreateData;
|
324
|
+
/**
|
325
|
+
* The metadata associated with the window.
|
326
|
+
*/
|
327
|
+
meta: WindowMetadata;
|
328
|
+
/**
|
329
|
+
* Warnings associated with the creation of the window.
|
330
|
+
* These are non-fatal issues that occurred during window creation.
|
331
|
+
*/
|
332
|
+
warnings?: WindowWarning[];
|
333
|
+
/**
|
334
|
+
* Errors that occurred during window creation or operation.
|
335
|
+
* These are fatal issues that prevented window creation.
|
336
|
+
*/
|
337
|
+
errors?: WindowError[];
|
338
|
+
}
|
339
|
+
/**
|
340
|
+
* Response object for getting window information.
|
341
|
+
*/
|
342
|
+
interface AirtopWindowGetInfoResponse extends AirtopWindowCreateResponse {
|
343
|
+
/**
|
344
|
+
* The window data containing window-specific information.
|
345
|
+
*/
|
346
|
+
data: WindowInfoData;
|
347
|
+
}
|
348
|
+
|
349
|
+
/**
|
350
|
+
* Configuration parameters for typing text in a window.
|
351
|
+
* Excludes session ID and text content which are provided separately.
|
352
|
+
*/
|
353
|
+
interface WindowTypeConfig extends Omit<WindowTypeParams, "sessionId" | "text"> {
|
354
|
+
}
|
355
|
+
/**
|
356
|
+
* Configuration parameters for retrieving a window.
|
357
|
+
* Excludes session ID which is provided by the parent session.
|
358
|
+
*/
|
359
|
+
interface WindowGetConfig extends Omit<WindowGetParams, "sessionId"> {
|
360
|
+
}
|
361
|
+
/**
|
362
|
+
* Configuration parameters for clicking on an element in a window.
|
363
|
+
* Includes all click-related parameters from the core API.
|
364
|
+
*/
|
365
|
+
interface WindowClickConfig extends WindowClickParams {
|
366
|
+
}
|
367
|
+
/**
|
368
|
+
* Configuration parameters for hovering over an element in a window.
|
369
|
+
* Excludes session ID which is provided by the parent session.
|
370
|
+
*/
|
371
|
+
interface WindowHoverConfig extends Omit<WindowHoverParams, "sessionId"> {
|
372
|
+
}
|
373
|
+
/**
|
374
|
+
* Configuration parameters for loading a URL in a window.
|
375
|
+
* Excludes session ID and URL which are provided separately.
|
376
|
+
*/
|
377
|
+
interface WindowLoadUrlConfig extends Omit<WindowLoadURLParams, "sessionId" | "url"> {
|
378
|
+
}
|
379
|
+
/**
|
380
|
+
* Configuration parameters for monitoring window events.
|
381
|
+
* Excludes session ID which is provided by the parent session.
|
382
|
+
*/
|
383
|
+
interface WindowMonitorConfig extends Omit<WindowMonitorParams, "sessionId"> {
|
384
|
+
}
|
385
|
+
/**
|
386
|
+
* Configuration parameters for performing a natural language query on page content.
|
387
|
+
*/
|
388
|
+
interface WindowPageQueryConfig extends OutputJsonSchemaConfig {
|
389
|
+
}
|
390
|
+
/**
|
391
|
+
* Configuration parameters for extracting paginated data from a window.
|
392
|
+
*/
|
393
|
+
interface WindowPaginatedExtractionConfig extends OutputJsonSchemaConfig {
|
394
|
+
}
|
395
|
+
/**
|
396
|
+
* Configuration parameters for scraping content from a window.
|
397
|
+
* Excludes session ID which is provided by the parent session.
|
398
|
+
*/
|
399
|
+
interface WindowScrapeConfig extends Omit<WindowScrapeParams, "sessionId"> {
|
400
|
+
}
|
401
|
+
/**
|
402
|
+
* Configuration parameters for taking a screenshot of a window.
|
403
|
+
* Excludes session ID which is provided by the parent session.
|
404
|
+
*/
|
405
|
+
interface WindowScreenshotConfig extends Omit<WindowScreenshotParams, "sessionId"> {
|
406
|
+
}
|
407
|
+
/**
|
408
|
+
* Configuration parameters for scrolling a window.
|
409
|
+
* Excludes session ID which is provided by the parent session.
|
410
|
+
*/
|
411
|
+
interface WindowScrollConfig extends Omit<WindowScrollParams, "sessionId"> {
|
412
|
+
}
|
413
|
+
/**
|
414
|
+
* Response for calls that involve an AI prompt.
|
415
|
+
*/
|
416
|
+
interface WindowPromptResponse extends AIPromptResponse {
|
417
|
+
}
|
418
|
+
/**
|
419
|
+
* Scrape window response.
|
420
|
+
*/
|
421
|
+
interface WindowScrapeResponse extends ScrapeResponse {
|
422
|
+
}
|
423
|
+
|
424
|
+
/**
|
425
|
+
* Response object for a screenshot operation.
|
426
|
+
*/
|
427
|
+
interface AirtopWindowScreenshotResponse extends AIPromptResponse$1 {
|
428
|
+
}
|
429
|
+
/**
|
430
|
+
* Contains the data for a screenshot operation.
|
431
|
+
*/
|
432
|
+
interface ScreenshotData {
|
433
|
+
index: number;
|
434
|
+
success: boolean;
|
435
|
+
binaryData?: Buffer;
|
436
|
+
mimeType?: string;
|
437
|
+
error?: Error;
|
438
|
+
}
|
439
|
+
|
440
|
+
/**
|
441
|
+
* The result of a screenshot operation.
|
442
|
+
*/
|
443
|
+
declare class AirtopWindowScreenshot {
|
444
|
+
data: AirtopWindowScreenshotResponse["data"];
|
445
|
+
meta: AirtopWindowScreenshotResponse["meta"];
|
446
|
+
warnings: AirtopWindowScreenshotResponse["warnings"];
|
447
|
+
errors: AirtopWindowScreenshotResponse["errors"];
|
448
|
+
/**
|
449
|
+
* Creates a new AirtopWindowScreenshot instance.
|
450
|
+
* @param screenshotData - Initial screenshot data and configuration
|
451
|
+
*/
|
452
|
+
constructor(screenshotData: AirtopWindowScreenshotResponse);
|
453
|
+
/**
|
454
|
+
* Processes the screenshots and returns them as JPG images.
|
455
|
+
*/
|
456
|
+
screenshotsAsJpg(): ScreenshotData[];
|
457
|
+
/**
|
458
|
+
* Returns response data as a JSON object.
|
459
|
+
*/
|
460
|
+
toJSON(): {
|
461
|
+
data: _airtop_core_resources_shared_js.AIResponseEnvelope;
|
462
|
+
meta: _airtop_core_resources_shared_js.ExternalSessionAIResponseMetadata;
|
463
|
+
warnings: _airtop_core_resources_shared_js.Issue[];
|
464
|
+
errors: _airtop_core_resources_shared_js.Issue[];
|
465
|
+
};
|
466
|
+
}
|
467
|
+
|
468
|
+
/**
|
469
|
+
* Client for making window-specific requests to the Airtop API.
|
470
|
+
*/
|
471
|
+
declare class AirtopWindowClient extends AirtopBase {
|
472
|
+
/**
|
473
|
+
* The browser session id
|
474
|
+
* @internal
|
475
|
+
*/
|
476
|
+
protected sessionId: string;
|
477
|
+
/**
|
478
|
+
* The window id
|
479
|
+
* @internal
|
480
|
+
*/
|
481
|
+
protected windowId: string;
|
482
|
+
/**
|
483
|
+
* Creates a new AirtopWindow instance.
|
484
|
+
* @param config - Common configuration options for the window
|
485
|
+
* @param sessionId - Browser session id
|
486
|
+
* @param windowId - Browser window id
|
487
|
+
*/
|
488
|
+
constructor(config: CommonAirtopConfig, sessionId: string, windowId: string);
|
489
|
+
/**
|
490
|
+
* Gets the window ID.
|
491
|
+
*/
|
492
|
+
getWindowId(): string;
|
493
|
+
/**
|
494
|
+
* Gets the browser session id associated with the window.
|
495
|
+
*/
|
496
|
+
getSessionId(): string;
|
497
|
+
/**
|
498
|
+
* Retrieves a window from a specific session.
|
499
|
+
* @param config - Configuration options for the window
|
500
|
+
* @param requestOptions - Request options
|
501
|
+
* @returns AirtopWindow<AirtopWindowGetInfoResponse> instance
|
502
|
+
*/
|
503
|
+
getWindowInfo(config?: WindowGetConfig, requestOptions?: AirtopRequestOptions): Promise<AirtopWindow<AirtopWindowGetInfoResponse>>;
|
504
|
+
/**
|
505
|
+
* Simulates a click on an element in the window.
|
506
|
+
* @param elementDescription - Description or selector of the element to click
|
507
|
+
* @param config - Additional configuration options for the click action
|
508
|
+
* @param requestOptions - Request options
|
509
|
+
* @returns Promise resolving to the click operation result
|
510
|
+
*/
|
511
|
+
click(elementDescription: string, config?: WindowClickConfig, requestOptions?: AirtopRequestOptions): Promise<WindowPromptResponse>;
|
512
|
+
/**
|
513
|
+
* Closes the window.
|
514
|
+
* @returns Promise resolving when the window is closed
|
515
|
+
*/
|
516
|
+
close(): Promise<WindowIDDataResponse>;
|
517
|
+
/**
|
518
|
+
* Simulates hovering over an element in the window.
|
519
|
+
* @param elementDescription - Description or selector of the element to hover over
|
520
|
+
* @param config - Additional configuration options for the hover action
|
521
|
+
* @param requestOptions - Request options
|
522
|
+
* @returns Promise resolving to the hover operation result
|
523
|
+
*/
|
524
|
+
hover(elementDescription: string, config?: WindowHoverConfig, requestOptions?: AirtopRequestOptions): Promise<WindowPromptResponse>;
|
525
|
+
/**
|
526
|
+
* Loads a URL in the window.
|
527
|
+
* @param url - The URL to load
|
528
|
+
* @param config - Additional configuration options for loading the URL
|
529
|
+
* @param requestOptions - Request options
|
530
|
+
* @returns Promise resolving when the URL is loaded
|
531
|
+
*/
|
532
|
+
loadUrl(url: string, config?: WindowLoadUrlConfig, requestOptions?: AirtopRequestOptions): Promise<OperationOutcomeResponse>;
|
533
|
+
/**
|
534
|
+
* Monitors the window for changes or events.
|
535
|
+
* @param condition - A natural language description of the condition to monitor for in the browser window
|
536
|
+
* @param config - Configuration options for monitoring
|
537
|
+
* @param requestOptions - Request options
|
538
|
+
* @returns Promise resolving to the monitoring operation result
|
539
|
+
*/
|
540
|
+
monitor(condition: string, config?: WindowMonitorConfig, requestOptions?: AirtopRequestOptions): Promise<WindowPromptResponse>;
|
541
|
+
/**
|
542
|
+
* Performs a natural language query on the page content.
|
543
|
+
* @param prompt - The natural language query prompt
|
544
|
+
* @param config - Configuration options for the query
|
545
|
+
* @param requestOptions - Request options
|
546
|
+
* @returns Promise resolving to the query results
|
547
|
+
*/
|
548
|
+
pageQuery(prompt: string, config?: WindowPageQueryConfig, requestOptions?: AirtopRequestOptions): Promise<WindowPromptResponse>;
|
549
|
+
/**
|
550
|
+
* Performs paginated data extraction from the window content.
|
551
|
+
* @param prompt - The extraction prompt
|
552
|
+
* @param config - Configuration options for the extraction
|
553
|
+
* @param requestOptions - Request options
|
554
|
+
* @returns Promise resolving to the extracted data
|
555
|
+
*/
|
556
|
+
paginatedExtraction(prompt: string, config?: WindowPaginatedExtractionConfig, requestOptions?: AirtopRequestOptions): Promise<WindowPromptResponse>;
|
557
|
+
/**
|
558
|
+
* Scrapes content from the window.
|
559
|
+
* @param config - Configuration options for scraping
|
560
|
+
* @param requestOptions - Request options
|
561
|
+
* @returns Promise resolving to the scraped content
|
562
|
+
*/
|
563
|
+
scrape(config?: WindowScrapeConfig, requestOptions?: AirtopRequestOptions): Promise<WindowScrapeResponse>;
|
564
|
+
/**
|
565
|
+
* Takes a screenshot of the window.
|
566
|
+
* @param config - Configuration options for the screenshot
|
567
|
+
* @param requestOptions - Request options
|
568
|
+
* @returns Promise resolving to the screenshot data
|
569
|
+
*/
|
570
|
+
screenshot(config?: WindowScreenshotConfig, requestOptions?: AirtopRequestOptions): Promise<AirtopWindowScreenshot>;
|
571
|
+
/**
|
572
|
+
* Scrolls the window content.
|
573
|
+
* @param config - Configuration options for scrolling
|
574
|
+
* @param requestOptions - Request options
|
575
|
+
* @returns Promise resolving when the scroll operation is complete
|
576
|
+
*/
|
577
|
+
scroll(config?: WindowScrollConfig, requestOptions?: AirtopRequestOptions): Promise<WindowPromptResponse>;
|
578
|
+
/**
|
579
|
+
* Types text into the window.
|
580
|
+
* @param text - The text to type
|
581
|
+
* @param config - Configuration options for typing
|
582
|
+
* @param requestOptions - Request options
|
583
|
+
* @returns Promise resolving when the text has been typed
|
584
|
+
*/
|
585
|
+
type(text: string, config?: WindowTypeConfig, requestOptions?: AirtopRequestOptions): Promise<_airtop_core_resources_shared_mjs.AIPromptResponse>;
|
586
|
+
}
|
587
|
+
|
588
|
+
/**
|
589
|
+
* Represents a browser window in a browser session.
|
590
|
+
*/
|
591
|
+
declare class AirtopWindow<Response extends CommonWindowResponse> extends AirtopWindowClient {
|
592
|
+
/**
|
593
|
+
* The window data containing window-specific information.
|
594
|
+
*/
|
595
|
+
data: Response["data"];
|
596
|
+
/**
|
597
|
+
* The metadata associated with the window.
|
598
|
+
*/
|
599
|
+
meta: Response["meta"];
|
600
|
+
/**
|
601
|
+
* Warnings associated with the creation of the window.
|
602
|
+
* These are non-fatal issues that occurred during window creation.
|
603
|
+
*/
|
604
|
+
warnings: Response["warnings"];
|
605
|
+
/**
|
606
|
+
* Errors that occurred during window creation or operation.
|
607
|
+
* These are fatal issues that prevented window creation.
|
608
|
+
*/
|
609
|
+
errors: Response["errors"];
|
610
|
+
/**
|
611
|
+
* Creates a new AirtopWindow instance.
|
612
|
+
* @param config - Common configuration options for the window
|
613
|
+
* @param sessionId - Browser session id
|
614
|
+
* @param windowData - Initial window data and configuration
|
615
|
+
*/
|
616
|
+
constructor(config: CommonAirtopConfig, sessionId: string, windowData: Response);
|
617
|
+
/**
|
618
|
+
* Returns response data as a JSON object.
|
619
|
+
*/
|
620
|
+
toJSON(): {
|
621
|
+
data: Response["data"];
|
622
|
+
meta: Response["meta"];
|
623
|
+
warnings: Response["warnings"];
|
624
|
+
errors: Response["errors"];
|
625
|
+
};
|
626
|
+
}
|
627
|
+
|
628
|
+
/**
|
629
|
+
* Client for making session-specific requests to the Airtop API.
|
630
|
+
*/
|
631
|
+
declare class AirtopSessionClient extends AirtopBase {
|
632
|
+
/**
|
633
|
+
* The browser session id
|
634
|
+
* @internal
|
635
|
+
*/
|
636
|
+
protected sessionId: string;
|
637
|
+
/**
|
638
|
+
* Creates a new AirtopSession instance.
|
639
|
+
* @param config - Common configuration options for the session
|
640
|
+
* @param sessionId - Browser session id
|
641
|
+
*/
|
642
|
+
constructor(config: CommonAirtopConfig, sessionId: string);
|
643
|
+
/**
|
644
|
+
* Returns the browser session ID.
|
645
|
+
*/
|
646
|
+
getSessionId(): string;
|
647
|
+
/**
|
648
|
+
* Gets the state of the session using the attached session id.
|
649
|
+
* @param requestOptions - Request options
|
650
|
+
* @returns AirtopSession instance or null if not found
|
651
|
+
*/
|
652
|
+
getSessionInfo(requestOptions?: AirtopRequestOptions): Promise<AirtopSession>;
|
653
|
+
/**
|
654
|
+
* Configures the session to save a profile when it terminates.
|
655
|
+
* @param profileName - Name of the profile to save
|
656
|
+
* @param requestOptions - Request options
|
657
|
+
*/
|
658
|
+
saveProfileOnTermination(profileName: string, requestOptions?: AirtopRequestOptions): Promise<void>;
|
659
|
+
/**
|
660
|
+
* Waits for the session to be in a ready state.
|
661
|
+
* @returns The event indicating the session is ready
|
662
|
+
*/
|
663
|
+
waitForSessionReady(): Promise<_airtop_core_resources_sessions_mjs.SessionGetEventsResponse>;
|
664
|
+
/**
|
665
|
+
* Terminates the current session.
|
666
|
+
* If the session is already terminated, this method will log a message and return.
|
667
|
+
*/
|
668
|
+
terminateSession(): Promise<void>;
|
669
|
+
/**
|
670
|
+
* Creates a new window in the current session.
|
671
|
+
* @param url - The URL to load in the new window
|
672
|
+
* @param requestOptions - Request options
|
673
|
+
* @returns A new AirtopWindow<AirtopWindowCreateResponse> instance
|
674
|
+
*/
|
675
|
+
createWindow(url: string, requestOptions?: AirtopRequestOptions): Promise<AirtopWindow<AirtopWindowCreateResponse>>;
|
676
|
+
/**
|
677
|
+
* Returns a window client instance for making window-based requests for a given window id.
|
678
|
+
*
|
679
|
+
* @param windowId - The session ID to attach to the AirtopWindowClient instance
|
680
|
+
**/
|
681
|
+
withWindowId(windowId: string): AirtopWindowClient;
|
682
|
+
/**
|
683
|
+
* Creates a new file in the current session.
|
684
|
+
* @param fileName - The name of the file to create
|
685
|
+
* @param config - Additional configuration options for creating the file
|
686
|
+
* @param requestOptions - Request options
|
687
|
+
*/
|
688
|
+
createFile(fileName: string, config?: CreateFileConfig, requestOptions?: AirtopRequestOptions): _airtop_core.APIPromise<_airtop_core_resources_shared_mjs.CreateFileResponse>;
|
689
|
+
}
|
690
|
+
|
691
|
+
/**
|
692
|
+
* Represents a browser session.
|
693
|
+
*/
|
694
|
+
declare class AirtopSession extends AirtopSessionClient {
|
695
|
+
/**
|
696
|
+
* The session data containing connection and state information.
|
697
|
+
* Includes details about the browser session and its configuration.
|
698
|
+
*/
|
699
|
+
data: SessionData;
|
700
|
+
/**
|
701
|
+
* The metadata associated with the session.
|
702
|
+
* Contains information about the request that created the session.
|
703
|
+
*/
|
704
|
+
meta?: SessionMetadata;
|
705
|
+
/**
|
706
|
+
* Warnings that occurred during session creation or operation.
|
707
|
+
* These are non-fatal issues that didn't prevent session creation.
|
708
|
+
*/
|
709
|
+
warnings?: SessionWarning[];
|
710
|
+
/**
|
711
|
+
* Errors that occurred during session creation or operation.
|
712
|
+
* These are fatal issues that prevented session creation.
|
713
|
+
*/
|
714
|
+
errors?: SessionError[];
|
715
|
+
/**
|
716
|
+
* Creates a new AirtopSession instance.
|
717
|
+
* @param config - Common configuration options for the session
|
718
|
+
* @param sessionData - Browser session data
|
719
|
+
*/
|
720
|
+
constructor(config: CommonAirtopConfig, sessionData: AirtopSessionResponse);
|
721
|
+
/**
|
722
|
+
* Returns response data as a JSON object.
|
723
|
+
*/
|
724
|
+
toJSON(): {
|
725
|
+
data: SessionData;
|
726
|
+
meta: SessionMetadata;
|
727
|
+
warnings: SessionWarning[];
|
728
|
+
errors: SessionError[];
|
729
|
+
};
|
730
|
+
}
|
731
|
+
|
732
|
+
/**
|
733
|
+
* Main Airtop SDK class that provides functionality for managing sessions, profiles, and windows.
|
734
|
+
*/
|
735
|
+
declare class AirtopClient extends AirtopBase {
|
736
|
+
/**
|
737
|
+
* Creates a new instance of the Airtop SDK.
|
738
|
+
* @param config - Configuration options for the Airtop SDK
|
739
|
+
*/
|
740
|
+
constructor(config: AirtopConstructorConfig);
|
741
|
+
/**
|
742
|
+
* Creates a new Airtop session.
|
743
|
+
* @param config - Configuration options for the session
|
744
|
+
* @param options - Request options
|
745
|
+
* @returns A new AirtopSession instance
|
746
|
+
*/
|
747
|
+
createSession(config?: CreateSessionConfig, options?: AirtopRequestOptions): Promise<AirtopSession>;
|
748
|
+
/**
|
749
|
+
* Retrieves multiple sessions by their IDs.
|
750
|
+
* @param sessionIds - Array of session IDs to retrieve
|
751
|
+
* @param config - Configuration options for the request
|
752
|
+
* @param requestOptions - Request options
|
753
|
+
* @returns Object containing pagination info and array of AirtopSession instances
|
754
|
+
*/
|
755
|
+
getSessions(sessionIds: string[], config?: GetSessionsConfig, requestOptions?: AirtopRequestOptions): Promise<{
|
756
|
+
pagination: _airtop_core_resources_shared_mjs.AirtopPagination;
|
757
|
+
sessions: AirtopSession[];
|
758
|
+
errors: _airtop_core_resources_shared_mjs.Issue[];
|
759
|
+
meta: _airtop_core_resources_shared_mjs.EnvelopeDefaultMeta;
|
760
|
+
warnings: _airtop_core_resources_shared_mjs.Issue[];
|
761
|
+
}>;
|
762
|
+
/**
|
763
|
+
* Removes one or more profiles.
|
764
|
+
* @param profileNames - Name(s) of the profile(s) to remove
|
765
|
+
* @param requestOptions - Request options
|
766
|
+
*/
|
767
|
+
removeProfile(profileNames: string[] | string, requestOptions?: AirtopRequestOptions): Promise<void>;
|
768
|
+
/**
|
769
|
+
* Retrieves a profile by name.
|
770
|
+
* @param profileName - Name of the profile to retrieve
|
771
|
+
* @param requestOptions - Request options
|
772
|
+
* @returns The profile
|
773
|
+
*/
|
774
|
+
getProfile(profileName: string, requestOptions?: AirtopRequestOptions): Promise<AirtopProfile>;
|
775
|
+
/**
|
776
|
+
* Renames a profile.
|
777
|
+
* @param sourceName - Current name of the profile
|
778
|
+
* @param targetName - New name for the profile
|
779
|
+
* @param requestOptions - Request options
|
780
|
+
*/
|
781
|
+
renameProfile(sourceName: string, targetName: string, requestOptions?: AirtopRequestOptions): Promise<void>;
|
782
|
+
/**
|
783
|
+
* Returns a session client instance for making session-based requests for a given session id.
|
784
|
+
*
|
785
|
+
* @param sessionId - The session ID to attach to the AirtopSessionClient instance
|
786
|
+
**/
|
787
|
+
withSessionId(sessionId: string): AirtopSessionClient;
|
788
|
+
/**
|
789
|
+
* Retrieves the status of a request.
|
790
|
+
* @param requestId - ID of the request to check
|
791
|
+
* @param requestOptions - Request options
|
792
|
+
* @returns Status of the request
|
793
|
+
*/
|
794
|
+
getRequestStatus(requestId: string, requestOptions?: AirtopRequestOptions): Promise<_airtop_core_resources_shared_mjs.RequestStatusResponse>;
|
795
|
+
/**
|
796
|
+
* Gets a file by ID.
|
797
|
+
* @param fileId
|
798
|
+
* @param requestOptions
|
799
|
+
*/
|
800
|
+
getFile(fileId: string, requestOptions?: AirtopRequestOptions): Promise<AirtopFileResponse>;
|
801
|
+
/**
|
802
|
+
* Lists files filtered by session IDs.
|
803
|
+
* @param sessionIds - Array of session IDs to retrieve files for
|
804
|
+
* @param config - Configuration options for the request
|
805
|
+
* @param requestOptions - Request options
|
806
|
+
* @returns Object containing pagination info and array of AirtopSession instances
|
807
|
+
*/
|
808
|
+
listFiles(sessionIds: string[], config?: GetFilesConfig, requestOptions?: AirtopRequestOptions): Promise<AirtopFilesListResponse>;
|
809
|
+
/**
|
810
|
+
* Removes a file by ID.
|
811
|
+
* @param fileId - ID of the file to remove
|
812
|
+
* @param requestOptions - Request options
|
813
|
+
*/
|
814
|
+
removeFile(fileId: string, requestOptions?: AirtopRequestOptions): Promise<void>;
|
815
|
+
/**
|
816
|
+
* List all automations
|
817
|
+
* @param requestOptions - Request options
|
818
|
+
*/
|
819
|
+
listAutomations(requestOptions?: AirtopRequestOptions): Promise<AirtopAutomationListResponse>;
|
820
|
+
/**
|
821
|
+
* Update the description of a specific automation
|
822
|
+
* @param body - Request body
|
823
|
+
* @param requestOptions - Request options
|
824
|
+
*/
|
825
|
+
updateAutomationDescription(body: AirtopAutomationUpdateDescriptionConfig, requestOptions?: AirtopRequestOptions): Promise<AirtopAutomationData>;
|
826
|
+
/**
|
827
|
+
* Delete a specific automation
|
828
|
+
* @param automationID - ID of the automation to delete
|
829
|
+
* @param requestOptions - Request options
|
830
|
+
*/
|
831
|
+
removeAutomation(automationID: string, requestOptions?: AirtopRequestOptions): _airtop_core.APIPromise<unknown>;
|
832
|
+
}
|
833
|
+
|
834
|
+
/**
|
835
|
+
* Enumeration of available plugin augmentation types.
|
836
|
+
* Determines which part of the SDK a plugin can extend.
|
837
|
+
* @group Plugin Development
|
838
|
+
*/
|
839
|
+
declare enum AirtopPluginAugmentationType {
|
840
|
+
/** Plugin for extending the AirtopClient class */
|
841
|
+
AirtopClient = "AirtopClient",
|
842
|
+
/** Plugin for extending AirtopWindowClient class functionality */
|
843
|
+
AirtopWindowClient = "AirtopWindowClient",
|
844
|
+
/** Plugin for extending AirtopWindow class functionality */
|
845
|
+
AirtopWindow = "AirtopWindow",
|
846
|
+
/** Plugin for extending AirtopSession class functionality */
|
847
|
+
AirtopSessionClient = "AirtopSessionClient",
|
848
|
+
/** Plugin for extending AirtopSession class functionality */
|
849
|
+
AirtopSession = "AirtopSession",
|
850
|
+
/** Plugin for extending AirtopWindowScreenshot class functionality */
|
851
|
+
AirtopWindowScreenshot = "AirtopWindowScreenshot"
|
852
|
+
}
|
853
|
+
/**
|
854
|
+
* Interface for plugins that extend the main AirtopClient class.
|
855
|
+
* Plugins allow you to add custom functionality to the AirtopClient prototype.
|
856
|
+
*
|
857
|
+
* @group Plugin Development
|
858
|
+
*/
|
859
|
+
interface AirtopClientPlugin {
|
860
|
+
/**
|
861
|
+
* Specifies that this plugin augments the main AirtopClient class.
|
862
|
+
* This type discrimination allows TypeScript to properly type-check plugin usage.
|
863
|
+
*/
|
864
|
+
augmentationType: AirtopPluginAugmentationType.AirtopClient;
|
865
|
+
/**
|
866
|
+
* Function that performs the augmentation of the AirtopClient prototype.
|
867
|
+
*
|
868
|
+
* @param prototype - The AirtopClient class prototype being augmented
|
869
|
+
*/
|
870
|
+
augment: (prototype: typeof AirtopClient.prototype) => void;
|
871
|
+
}
|
872
|
+
/**
|
873
|
+
* Interface for plugins that extend the AirtopWindowClient class functionality.
|
874
|
+
* These plugins can modify or enhance the behavior of all window instances
|
875
|
+
* by modifying the prototype.
|
876
|
+
*
|
877
|
+
* @group Plugin Development
|
878
|
+
*/
|
879
|
+
interface AirtopWindowClientPlugin {
|
880
|
+
/**
|
881
|
+
* Specifies that this plugin augments AirtopWindowClient class functionality.
|
882
|
+
* This type discrimination ensures proper type checking when using window plugins.
|
883
|
+
*/
|
884
|
+
augmentationType: AirtopPluginAugmentationType.AirtopWindowClient;
|
885
|
+
/**
|
886
|
+
* Function that performs the augmentation of the AirtopWindowClient prototype.
|
887
|
+
*
|
888
|
+
* @param prototype - The AirtopWindowClient class prototype being augmented
|
889
|
+
*/
|
890
|
+
augment: (prototype: typeof AirtopWindowClient.prototype) => void;
|
891
|
+
}
|
892
|
+
/**
|
893
|
+
* Interface for plugins that extend the AirtopSessionClient class functionality.
|
894
|
+
* These plugins can modify or enhance the behavior of all session instances
|
895
|
+
* by modifying the prototype.
|
896
|
+
*
|
897
|
+
* @group Plugin Development
|
898
|
+
*/
|
899
|
+
interface AirtopSessionClientPlugin {
|
900
|
+
/**
|
901
|
+
* Specifies that this plugin augments AirtopSessionClient class functionality.
|
902
|
+
* This type discrimination ensures proper type checking when using session plugins.
|
903
|
+
*/
|
904
|
+
augmentationType: AirtopPluginAugmentationType.AirtopSessionClient;
|
905
|
+
/**
|
906
|
+
* Function that performs the augmentation of the AirtopSessionClient prototype.
|
907
|
+
*
|
908
|
+
* @param prototype - The AirtopSessionClient class prototype being augmented
|
909
|
+
*/
|
910
|
+
augment: (prototype: typeof AirtopSessionClient.prototype) => void;
|
911
|
+
}
|
912
|
+
/**
|
913
|
+
* Interface for plugins that extend the AirtopWindow class functionality.
|
914
|
+
* These plugins can modify or enhance the behavior of window instances
|
915
|
+
* by modifying the prototype.
|
916
|
+
*
|
917
|
+
* @group Plugin Development
|
918
|
+
*/
|
919
|
+
interface AirtopWindowPlugin {
|
920
|
+
/**
|
921
|
+
* Specifies that this plugin augments AirtopWindow class functionality.
|
922
|
+
* This type discrimination ensures proper type checking when using window plugins.
|
923
|
+
*/
|
924
|
+
augmentationType: AirtopPluginAugmentationType.AirtopWindow;
|
925
|
+
/**
|
926
|
+
* Function that performs the augmentation of the AirtopWindow prototype.
|
927
|
+
*
|
928
|
+
* @param prototype - The AirtopWindow class prototype being augmented
|
929
|
+
*/
|
930
|
+
augment: (prototype: typeof AirtopWindow.prototype) => void;
|
931
|
+
}
|
932
|
+
/**
|
933
|
+
* Interface for plugins that extend the AirtopSession class functionality.
|
934
|
+
* These plugins can modify or enhance the behavior of session instances
|
935
|
+
* by modifying the prototype.
|
936
|
+
*
|
937
|
+
* @group Plugin Development
|
938
|
+
*/
|
939
|
+
interface AirtopSessionPlugin {
|
940
|
+
/**
|
941
|
+
* Specifies that this plugin augments AirtopSession class functionality.
|
942
|
+
* This type discrimination ensures proper type checking when using session plugins.
|
943
|
+
*/
|
944
|
+
augmentationType: AirtopPluginAugmentationType.AirtopSession;
|
945
|
+
/**
|
946
|
+
* Function that performs the augmentation of the AirtopSession prototype.
|
947
|
+
*
|
948
|
+
* @param prototype - The AirtopSession class prototype being augmented
|
949
|
+
*/
|
950
|
+
augment: (prototype: typeof AirtopSession.prototype) => void;
|
951
|
+
}
|
952
|
+
/**
|
953
|
+
* Interface for plugins that extend the AirtopWindowScreenshot class functionality.
|
954
|
+
* These plugins can modify or enhance the behavior of screenshot instances
|
955
|
+
* by modifying the prototype.
|
956
|
+
*
|
957
|
+
* @group Plugin Development
|
958
|
+
*/
|
959
|
+
interface AirtopWindowScreenshotPlugin {
|
960
|
+
/**
|
961
|
+
* Specifies that this plugin augments AirtopWindowScreenshot class functionality.
|
962
|
+
* This type discrimination ensures proper type checking when using screenshot plugins.
|
963
|
+
*/
|
964
|
+
augmentationType: AirtopPluginAugmentationType.AirtopWindowScreenshot;
|
965
|
+
/**
|
966
|
+
* Function that performs the augmentation of the AirtopWindowScreenshot prototype.
|
967
|
+
*
|
968
|
+
* @param prototype - The AirtopWindowScreenshot class prototype being augmented
|
969
|
+
*/
|
970
|
+
augment: (prototype: typeof AirtopWindowScreenshot.prototype) => void;
|
971
|
+
}
|
972
|
+
/**
|
973
|
+
* Union type of all possible plugin types.
|
974
|
+
* Used when handling plugins generically.
|
975
|
+
*
|
976
|
+
* @group Plugin Development
|
977
|
+
*
|
978
|
+
* @see {@link AirtopClientPlugin | AirtopClientPlugin}
|
979
|
+
* @see {@link AirtopWindowClientPlugin | AirtopWindowClientPlugin}
|
980
|
+
* @see {@link AirtopSessionClientPlugin | AirtopSessionClientPlugin}
|
981
|
+
* @see {@link AirtopWindowPlugin | AirtopWindowPlugin}
|
982
|
+
* @see {@link AirtopSessionPlugin | AirtopSessionPlugin}
|
983
|
+
* @see {@link AirtopWindowScreenshotPlugin | AirtopWindowScreenshotPlugin}
|
984
|
+
*/
|
985
|
+
type AirtopPluginType = AirtopClientPlugin | AirtopWindowClientPlugin | AirtopSessionClientPlugin | AirtopWindowPlugin | AirtopSessionPlugin | AirtopWindowScreenshotPlugin;
|
986
|
+
/**
|
987
|
+
* Interface for registering plugins with the SDK.
|
988
|
+
*/
|
989
|
+
interface AirtopPluginRegistration {
|
990
|
+
/**
|
991
|
+
* Array of plugins to add to the SDK.
|
992
|
+
*/
|
993
|
+
pluginsToAdd: AirtopPluginType[];
|
994
|
+
}
|
995
|
+
|
996
|
+
/**
|
997
|
+
* Registers a plugin with the SDK.
|
998
|
+
* @param plugin - The plugin to register
|
999
|
+
*/
|
1000
|
+
declare function registerAirtopPlugin(plugin: AirtopPluginRegistration): void;
|
1001
|
+
|
1002
|
+
/**
|
1003
|
+
* Provides utility methods for creating mock instances of Airtop classes.
|
1004
|
+
* @hideconstructor
|
1005
|
+
*/
|
1006
|
+
declare class AirtopMocks {
|
1007
|
+
/**
|
1008
|
+
* Creates an AirtopBase instance (the class used as the base for other Airtop classes) with a mock client and logger.
|
1009
|
+
*/
|
1010
|
+
static getAirtopBaseMock(config?: Partial<CommonAirtopConfig>): AirtopBase;
|
1011
|
+
/**
|
1012
|
+
* Creates an Airtop instance with a mock client and data.
|
1013
|
+
*/
|
1014
|
+
static getAirtopClientMock(config?: Partial<AirtopConstructorConfig>): AirtopClient;
|
1015
|
+
/**
|
1016
|
+
* Creates an AirtopSession instance with a mock client and data.
|
1017
|
+
*/
|
1018
|
+
static getAirtopSessionMock(responseData?: Partial<AirtopSessionResponse>): AirtopSession;
|
1019
|
+
/**
|
1020
|
+
* Creates an AirtopWindow instance with a mock client and data.
|
1021
|
+
*/
|
1022
|
+
static getAirtopWindowMock({ sessionId, windowData, }?: {
|
1023
|
+
sessionId?: string;
|
1024
|
+
windowData?: AirtopWindowGetInfoResponse;
|
1025
|
+
}): AirtopWindow<AirtopWindowGetInfoResponse>;
|
1026
|
+
}
|
1027
|
+
|
1028
|
+
export { type AirtopAutomationData, type AirtopAutomationListResponse, type AirtopAutomationUpdateDescriptionConfig, AirtopBase, AirtopClient, type AirtopClientPlugin, type AirtopConstructorConfig, type AirtopFileResponse, type AirtopFilesListResponse, AirtopMocks, AirtopPluginAugmentationType, type AirtopPluginRegistration, type AirtopPluginType, type AirtopProfile, type AirtopRequestOptions, AirtopSession, AirtopSessionClient, type AirtopSessionClientPlugin, type AirtopSessionPlugin, type AirtopSessionResponse, AirtopWindow, AirtopWindowClient, type AirtopWindowClientPlugin, type AirtopWindowCreateResponse, type AirtopWindowGetInfoResponse, type AirtopWindowPlugin, AirtopWindowScreenshot, type AirtopWindowScreenshotPlugin, type AirtopWindowScreenshotResponse, type CommonAirtopConfig, type CommonResponse, type CommonWindowResponse, type CreateFileConfig, type CreateSessionConfig, type GetFilesConfig, type GetSessionsConfig, type OutputJsonSchemaConfig, type ScreenshotData, type SessionData, type SessionError, type SessionMetadata, type SessionWarning, type WindowClickConfig, type WindowCreateData, type WindowError, type WindowGetConfig, type WindowHoverConfig, type WindowInfoData, type WindowLoadUrlConfig, type WindowMetadata, type WindowMonitorConfig, type WindowPageQueryConfig, type WindowPaginatedExtractionConfig, type WindowPromptResponse, type WindowScrapeConfig, type WindowScrapeResponse, type WindowScreenshotConfig, type WindowScrollConfig, type WindowTypeConfig, type WindowWarning, registerAirtopPlugin };
|