@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
@@ -1,131 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
-
if (k2 === undefined) k2 = k;
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
-
}
|
11
|
-
Object.defineProperty(o, k2, desc);
|
12
|
-
}) : (function(o, m, k, k2) {
|
13
|
-
if (k2 === undefined) k2 = k;
|
14
|
-
o[k2] = m[k];
|
15
|
-
}));
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
-
}) : function(o, v) {
|
19
|
-
o["default"] = v;
|
20
|
-
});
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
22
|
-
var ownKeys = function(o) {
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
24
|
-
var ar = [];
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
26
|
-
return ar;
|
27
|
-
};
|
28
|
-
return ownKeys(o);
|
29
|
-
};
|
30
|
-
return function (mod) {
|
31
|
-
if (mod && mod.__esModule) return mod;
|
32
|
-
var result = {};
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
34
|
-
__setModuleDefault(result, mod);
|
35
|
-
return result;
|
36
|
-
};
|
37
|
-
})();
|
38
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
39
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
40
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
41
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
42
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
43
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
44
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
45
|
-
});
|
46
|
-
};
|
47
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
48
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
49
|
-
};
|
50
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
51
|
-
exports.Profiles = void 0;
|
52
|
-
const environments = __importStar(require("../../../../environments"));
|
53
|
-
const core = __importStar(require("../../../../core"));
|
54
|
-
const url_join_1 = __importDefault(require("url-join"));
|
55
|
-
const errors = __importStar(require("../../../../errors/index"));
|
56
|
-
class Profiles {
|
57
|
-
constructor(_options) {
|
58
|
-
this._options = _options;
|
59
|
-
}
|
60
|
-
/**
|
61
|
-
* Delete profiles matching by id
|
62
|
-
*
|
63
|
-
* @param {Airtop.ProfilesDeleteRequest} request
|
64
|
-
* @param {Profiles.RequestOptions} requestOptions - Request-specific configuration.
|
65
|
-
*
|
66
|
-
* @example
|
67
|
-
* await client.profiles.delete()
|
68
|
-
*/
|
69
|
-
delete() {
|
70
|
-
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
71
|
-
var _a, _b, _c;
|
72
|
-
const { profileIds, profileNames } = request;
|
73
|
-
const _queryParams = {};
|
74
|
-
if (profileIds != null) {
|
75
|
-
if (Array.isArray(profileIds)) {
|
76
|
-
_queryParams["profileIds"] = profileIds.map((item) => item);
|
77
|
-
}
|
78
|
-
else {
|
79
|
-
_queryParams["profileIds"] = profileIds;
|
80
|
-
}
|
81
|
-
}
|
82
|
-
if (profileNames != null) {
|
83
|
-
if (Array.isArray(profileNames)) {
|
84
|
-
_queryParams["profileNames"] = profileNames.map((item) => item);
|
85
|
-
}
|
86
|
-
else {
|
87
|
-
_queryParams["profileNames"] = profileNames;
|
88
|
-
}
|
89
|
-
}
|
90
|
-
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
91
|
-
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, "profiles"),
|
92
|
-
method: "DELETE",
|
93
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
94
|
-
contentType: "application/json",
|
95
|
-
queryParameters: _queryParams,
|
96
|
-
requestType: "json",
|
97
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
98
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
99
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
100
|
-
});
|
101
|
-
if (_response.ok) {
|
102
|
-
return;
|
103
|
-
}
|
104
|
-
if (_response.error.reason === "status-code") {
|
105
|
-
throw new errors.AirtopError({
|
106
|
-
statusCode: _response.error.statusCode,
|
107
|
-
body: _response.error.body,
|
108
|
-
});
|
109
|
-
}
|
110
|
-
switch (_response.error.reason) {
|
111
|
-
case "non-json":
|
112
|
-
throw new errors.AirtopError({
|
113
|
-
statusCode: _response.error.statusCode,
|
114
|
-
body: _response.error.rawBody,
|
115
|
-
});
|
116
|
-
case "timeout":
|
117
|
-
throw new errors.AirtopTimeoutError("Timeout exceeded when calling DELETE /profiles.");
|
118
|
-
case "unknown":
|
119
|
-
throw new errors.AirtopError({
|
120
|
-
message: _response.error.errorMessage,
|
121
|
-
});
|
122
|
-
}
|
123
|
-
});
|
124
|
-
}
|
125
|
-
_getAuthorizationHeader() {
|
126
|
-
return __awaiter(this, void 0, void 0, function* () {
|
127
|
-
return `Bearer ${yield core.Supplier.get(this._options.apiKey)}`;
|
128
|
-
});
|
129
|
-
}
|
130
|
-
}
|
131
|
-
exports.Profiles = Profiles;
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./requests";
|
@@ -1,17 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./requests"), exports);
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
/**
|
5
|
-
* @example
|
6
|
-
* {}
|
7
|
-
*/
|
8
|
-
export interface ProfilesDeleteRequest {
|
9
|
-
/**
|
10
|
-
* DEPRECATED. Use profileNames.
|
11
|
-
*/
|
12
|
-
profileIds?: string | string[];
|
13
|
-
/**
|
14
|
-
* A comma-separated list of profile names.
|
15
|
-
*/
|
16
|
-
profileNames?: string | string[];
|
17
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export { type ProfilesDeleteRequest } from "./ProfilesDeleteRequest";
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./client";
|
@@ -1,17 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./client"), exports);
|
@@ -1,38 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as environments from "../../../../environments";
|
5
|
-
import * as core from "../../../../core";
|
6
|
-
import * as Airtop from "../../../index";
|
7
|
-
export declare namespace Requests {
|
8
|
-
interface Options {
|
9
|
-
environment?: core.Supplier<environments.AirtopEnvironment | string>;
|
10
|
-
/** Specify a custom URL to connect the client to. */
|
11
|
-
baseUrl?: core.Supplier<string>;
|
12
|
-
apiKey: core.Supplier<core.BearerToken>;
|
13
|
-
fetcher?: core.FetchFunction;
|
14
|
-
}
|
15
|
-
interface RequestOptions {
|
16
|
-
/** The maximum time to wait for a response in seconds. */
|
17
|
-
timeoutInSeconds?: number;
|
18
|
-
/** The number of times to retry the request. Defaults to 2. */
|
19
|
-
maxRetries?: number;
|
20
|
-
/** A hook to abort the request. */
|
21
|
-
abortSignal?: AbortSignal;
|
22
|
-
/** Additional headers to include in the request. */
|
23
|
-
headers?: Record<string, string>;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
export declare class Requests {
|
27
|
-
protected readonly _options: Requests.Options;
|
28
|
-
constructor(_options: Requests.Options);
|
29
|
-
/**
|
30
|
-
* @param {string} requestId - The ID of the request to check.
|
31
|
-
* @param {Requests.RequestOptions} requestOptions - Request-specific configuration.
|
32
|
-
*
|
33
|
-
* @example
|
34
|
-
* await client.requests.getRequestStatus("123e4567-e89b-12d3-a456-426614174000")
|
35
|
-
*/
|
36
|
-
getRequestStatus(requestId: string, requestOptions?: Requests.RequestOptions): Promise<Airtop.RequestStatusResponse>;
|
37
|
-
protected _getAuthorizationHeader(): Promise<string>;
|
38
|
-
}
|
@@ -1,117 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
-
if (k2 === undefined) k2 = k;
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
-
}
|
11
|
-
Object.defineProperty(o, k2, desc);
|
12
|
-
}) : (function(o, m, k, k2) {
|
13
|
-
if (k2 === undefined) k2 = k;
|
14
|
-
o[k2] = m[k];
|
15
|
-
}));
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
-
}) : function(o, v) {
|
19
|
-
o["default"] = v;
|
20
|
-
});
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
22
|
-
var ownKeys = function(o) {
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
24
|
-
var ar = [];
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
26
|
-
return ar;
|
27
|
-
};
|
28
|
-
return ownKeys(o);
|
29
|
-
};
|
30
|
-
return function (mod) {
|
31
|
-
if (mod && mod.__esModule) return mod;
|
32
|
-
var result = {};
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
34
|
-
__setModuleDefault(result, mod);
|
35
|
-
return result;
|
36
|
-
};
|
37
|
-
})();
|
38
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
39
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
40
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
41
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
42
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
43
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
44
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
45
|
-
});
|
46
|
-
};
|
47
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
48
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
49
|
-
};
|
50
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
51
|
-
exports.Requests = void 0;
|
52
|
-
const environments = __importStar(require("../../../../environments"));
|
53
|
-
const core = __importStar(require("../../../../core"));
|
54
|
-
const url_join_1 = __importDefault(require("url-join"));
|
55
|
-
const serializers = __importStar(require("../../../../serialization/index"));
|
56
|
-
const errors = __importStar(require("../../../../errors/index"));
|
57
|
-
class Requests {
|
58
|
-
constructor(_options) {
|
59
|
-
this._options = _options;
|
60
|
-
}
|
61
|
-
/**
|
62
|
-
* @param {string} requestId - The ID of the request to check.
|
63
|
-
* @param {Requests.RequestOptions} requestOptions - Request-specific configuration.
|
64
|
-
*
|
65
|
-
* @example
|
66
|
-
* await client.requests.getRequestStatus("123e4567-e89b-12d3-a456-426614174000")
|
67
|
-
*/
|
68
|
-
getRequestStatus(requestId, requestOptions) {
|
69
|
-
return __awaiter(this, void 0, void 0, function* () {
|
70
|
-
var _a, _b, _c;
|
71
|
-
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
72
|
-
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `requests/${encodeURIComponent(requestId)}/status`),
|
73
|
-
method: "GET",
|
74
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
75
|
-
contentType: "application/json",
|
76
|
-
requestType: "json",
|
77
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
78
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
79
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
80
|
-
});
|
81
|
-
if (_response.ok) {
|
82
|
-
return serializers.RequestStatusResponse.parseOrThrow(_response.body, {
|
83
|
-
unrecognizedObjectKeys: "passthrough",
|
84
|
-
allowUnrecognizedUnionMembers: true,
|
85
|
-
allowUnrecognizedEnumValues: true,
|
86
|
-
skipValidation: true,
|
87
|
-
breadcrumbsPrefix: ["response"],
|
88
|
-
});
|
89
|
-
}
|
90
|
-
if (_response.error.reason === "status-code") {
|
91
|
-
throw new errors.AirtopError({
|
92
|
-
statusCode: _response.error.statusCode,
|
93
|
-
body: _response.error.body,
|
94
|
-
});
|
95
|
-
}
|
96
|
-
switch (_response.error.reason) {
|
97
|
-
case "non-json":
|
98
|
-
throw new errors.AirtopError({
|
99
|
-
statusCode: _response.error.statusCode,
|
100
|
-
body: _response.error.rawBody,
|
101
|
-
});
|
102
|
-
case "timeout":
|
103
|
-
throw new errors.AirtopTimeoutError("Timeout exceeded when calling GET /requests/{requestId}/status.");
|
104
|
-
case "unknown":
|
105
|
-
throw new errors.AirtopError({
|
106
|
-
message: _response.error.errorMessage,
|
107
|
-
});
|
108
|
-
}
|
109
|
-
});
|
110
|
-
}
|
111
|
-
_getAuthorizationHeader() {
|
112
|
-
return __awaiter(this, void 0, void 0, function* () {
|
113
|
-
return `Bearer ${yield core.Supplier.get(this._options.apiKey)}`;
|
114
|
-
});
|
115
|
-
}
|
116
|
-
}
|
117
|
-
exports.Requests = Requests;
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./client";
|
@@ -1,17 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./client"), exports);
|
@@ -1,102 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as environments from "../../../../environments";
|
5
|
-
import * as core from "../../../../core";
|
6
|
-
import * as Airtop from "../../../index";
|
7
|
-
export declare namespace Sessions {
|
8
|
-
interface Options {
|
9
|
-
environment?: core.Supplier<environments.AirtopEnvironment | string>;
|
10
|
-
/** Specify a custom URL to connect the client to. */
|
11
|
-
baseUrl?: core.Supplier<string>;
|
12
|
-
apiKey: core.Supplier<core.BearerToken>;
|
13
|
-
fetcher?: core.FetchFunction;
|
14
|
-
}
|
15
|
-
interface RequestOptions {
|
16
|
-
/** The maximum time to wait for a response in seconds. */
|
17
|
-
timeoutInSeconds?: number;
|
18
|
-
/** The number of times to retry the request. Defaults to 2. */
|
19
|
-
maxRetries?: number;
|
20
|
-
/** A hook to abort the request. */
|
21
|
-
abortSignal?: AbortSignal;
|
22
|
-
/** Additional headers to include in the request. */
|
23
|
-
headers?: Record<string, string>;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
export declare class Sessions {
|
27
|
-
protected readonly _options: Sessions.Options;
|
28
|
-
constructor(_options: Sessions.Options);
|
29
|
-
/**
|
30
|
-
* Get a paginated list of sessions filtered by ID or status
|
31
|
-
* Get a paginated list of sessions filtered by ID or status
|
32
|
-
*
|
33
|
-
* @param {Airtop.SessionsListRequest} request
|
34
|
-
* @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
|
35
|
-
*
|
36
|
-
* @throws {@link Airtop.NotFoundError}
|
37
|
-
* @throws {@link Airtop.UnprocessableEntityError}
|
38
|
-
* @throws {@link Airtop.InternalServerError}
|
39
|
-
*
|
40
|
-
* @example
|
41
|
-
* await client.sessions.list({
|
42
|
-
* offset: 1,
|
43
|
-
* limit: 10
|
44
|
-
* })
|
45
|
-
*/
|
46
|
-
list(request?: Airtop.SessionsListRequest, requestOptions?: Sessions.RequestOptions): Promise<Airtop.SessionsResponse>;
|
47
|
-
/**
|
48
|
-
* @param {Airtop.SessionRestInputV1} request
|
49
|
-
* @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
|
50
|
-
*
|
51
|
-
* @example
|
52
|
-
* await client.sessions.create()
|
53
|
-
*/
|
54
|
-
create(request?: Airtop.SessionRestInputV1, requestOptions?: Sessions.RequestOptions): Promise<Airtop.SessionResponse>;
|
55
|
-
/**
|
56
|
-
* Get a session by ID
|
57
|
-
*
|
58
|
-
* @param {string} id - Id of the session to get
|
59
|
-
* @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
|
60
|
-
*
|
61
|
-
* @throws {@link Airtop.NotFoundError}
|
62
|
-
* @throws {@link Airtop.UnprocessableEntityError}
|
63
|
-
* @throws {@link Airtop.InternalServerError}
|
64
|
-
*
|
65
|
-
* @example
|
66
|
-
* await client.sessions.getInfo("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b")
|
67
|
-
*/
|
68
|
-
getInfo(id: string, requestOptions?: Sessions.RequestOptions): Promise<Airtop.SessionResponse>;
|
69
|
-
/**
|
70
|
-
* Ends a session by ID. If a given session id does not exist within the organization, it is ignored.
|
71
|
-
*
|
72
|
-
* @param {string} id - ID of the session to delete.
|
73
|
-
* @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
|
74
|
-
*
|
75
|
-
* @example
|
76
|
-
* await client.sessions.terminate("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b")
|
77
|
-
*/
|
78
|
-
terminate(id: string, requestOptions?: Sessions.RequestOptions): Promise<void>;
|
79
|
-
/**
|
80
|
-
* Get a session event stream for a given session ID
|
81
|
-
*/
|
82
|
-
events(id: string, request?: Airtop.SessionsEventsRequest, requestOptions?: Sessions.RequestOptions): Promise<core.Stream<Airtop.SessionsEventsResponse>>;
|
83
|
-
/**
|
84
|
-
* @param {string} sessionId - ID of the session.
|
85
|
-
* @param {string} extensionConfigurationName - Name under which to save the extension configuration.
|
86
|
-
* @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
|
87
|
-
*
|
88
|
-
* @example
|
89
|
-
* await client.sessions.saveExtensionConfigurationOnTermination("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "myExtensionConfiguration")
|
90
|
-
*/
|
91
|
-
saveExtensionConfigurationOnTermination(sessionId: string, profileName: string, requestOptions?: Sessions.RequestOptions): Promise<void>;
|
92
|
-
/**
|
93
|
-
* @param {string} sessionId - ID of the session.
|
94
|
-
* @param {string} profileName - Name under which to save the profile.
|
95
|
-
* @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
|
96
|
-
*
|
97
|
-
* @example
|
98
|
-
* await client.sessions.saveProfileOnTermination("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "myProfile")
|
99
|
-
*/
|
100
|
-
saveProfileOnTermination(sessionId: string, profileName: string, requestOptions?: Sessions.RequestOptions): Promise<void>;
|
101
|
-
protected _getAuthorizationHeader(): Promise<string>;
|
102
|
-
}
|