@airtop/sdk 0.1.34 → 0.1.35-beta0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +14 -4
- package/Client.js +16 -6
- package/README.md +35 -17
- package/api/errors/ForbiddenError.d.ts +8 -0
- package/api/errors/ForbiddenError.js +51 -0
- package/api/errors/InternalServerError.js +17 -7
- package/api/errors/NotFoundError.js +17 -7
- package/api/errors/UnauthorizedError.d.ts +8 -0
- package/api/errors/UnauthorizedError.js +51 -0
- package/api/errors/UnprocessableEntityError.js +17 -7
- package/api/errors/index.d.ts +2 -0
- package/api/errors/index.js +2 -0
- package/api/resources/automations/client/Client.d.ts +91 -0
- package/api/resources/automations/client/Client.js +429 -0
- package/api/resources/automations/client/index.d.ts +1 -0
- package/api/resources/automations/client/index.js +17 -0
- package/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +19 -0
- package/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +5 -0
- package/api/resources/automations/client/requests/index.d.ts +1 -0
- package/api/resources/automations/client/requests/index.js +2 -0
- package/api/resources/automations/index.d.ts +1 -0
- package/api/resources/automations/index.js +17 -0
- package/api/resources/files/client/Client.d.ts +69 -0
- package/api/resources/files/client/Client.js +286 -0
- package/api/resources/files/client/index.d.ts +1 -0
- package/api/resources/files/client/index.js +17 -0
- package/api/resources/files/client/requests/CreateFileRestInputV1.d.ts +20 -0
- package/api/resources/files/client/requests/CreateFileRestInputV1.js +5 -0
- package/api/resources/files/client/requests/FilesListRequest.d.ts +24 -0
- package/api/resources/files/client/requests/FilesListRequest.js +5 -0
- package/api/resources/files/client/requests/index.d.ts +2 -0
- package/api/resources/files/client/requests/index.js +2 -0
- package/api/resources/files/index.d.ts +2 -0
- package/api/resources/files/index.js +18 -0
- package/api/resources/files/types/CreateFileRestInputV1FileType.d.ts +13 -0
- package/api/resources/files/types/CreateFileRestInputV1FileType.js +12 -0
- package/api/resources/files/types/index.d.ts +1 -0
- package/api/resources/files/types/index.js +17 -0
- package/api/resources/index.d.ts +5 -0
- package/api/resources/index.js +23 -8
- package/api/resources/profiles/client/Client.d.ts +4 -0
- package/api/resources/profiles/client/Client.js +23 -21
- package/api/resources/requests/client/Client.d.ts +4 -0
- package/api/resources/requests/client/Client.js +21 -19
- package/api/resources/sessions/client/Client.d.ts +15 -1
- package/api/resources/sessions/client/Client.js +98 -88
- package/api/resources/sessions/client/requests/SessionsEventsRequest.d.ts +7 -0
- package/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
- package/api/resources/sessions/types/SessionsListRequestStatus.d.ts +1 -1
- package/api/resources/sessions/types/index.d.ts +1 -1
- package/api/resources/sessions/types/index.js +1 -1
- package/api/resources/windows/client/Client.d.ts +142 -0
- package/api/resources/windows/client/Client.js +700 -199
- package/api/resources/windows/client/requests/AsyncClickRequest.d.ts +29 -0
- package/api/resources/windows/client/requests/AsyncClickRequest.js +5 -0
- package/api/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +23 -0
- package/api/resources/windows/client/requests/AsyncCreateAutomationRequest.js +5 -0
- package/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +27 -0
- package/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +5 -0
- package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +27 -0
- package/api/resources/windows/client/requests/AsyncHoverRequest.js +5 -0
- package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +27 -0
- package/api/resources/windows/client/requests/AsyncMonitorRequest.js +5 -0
- package/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +29 -0
- package/api/resources/windows/client/requests/AsyncPageQueryRequest.js +5 -0
- package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +27 -0
- package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +5 -0
- package/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +29 -0
- package/api/resources/windows/client/requests/AsyncPromptContentRequest.js +5 -0
- package/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +23 -0
- package/api/resources/windows/client/requests/AsyncScreenshotRequest.js +5 -0
- package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +25 -0
- package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +5 -0
- package/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +37 -0
- package/api/resources/windows/client/requests/AsyncTypeRequest.js +5 -0
- package/api/resources/windows/client/requests/index.d.ts +11 -0
- package/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +1 -1
- package/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +1 -1
- package/api/types/AsyncConfig.d.ts +7 -0
- package/api/types/AsyncConfig.js +5 -0
- package/api/types/AsyncSessionAiResponseEnvelope.d.ts +9 -0
- package/api/types/AsyncSessionAiResponseEnvelope.js +5 -0
- package/api/types/AutomationOutput.d.ts +10 -0
- package/api/types/AutomationOutput.js +5 -0
- package/api/types/BrowserWaitNavigationConfigWaitUntil.d.ts +1 -1
- package/api/types/ClickConfigClickType.d.ts +1 -1
- package/api/types/CreateAutomationRequestBodyConfiguration.d.ts +4 -0
- package/api/types/CreateAutomationRequestBodyConfiguration.js +5 -0
- package/api/types/CreateFileV1.d.ts +24 -0
- package/api/types/CreateFileV1.js +5 -0
- package/api/types/CreateFileV1FileType.d.ts +13 -0
- package/api/types/CreateFileV1FileType.js +12 -0
- package/api/types/DeleteAutomationOutputWrapperBody.d.ts +4 -0
- package/api/types/DeleteAutomationOutputWrapperBody.js +5 -0
- package/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +10 -0
- package/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +5 -0
- package/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +10 -0
- package/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +5 -0
- package/api/types/ExtensionConfigurationOutput.d.ts +13 -0
- package/api/types/ExtensionConfigurationOutput.js +5 -0
- package/api/types/ExternalFile.d.ts +33 -0
- package/api/types/ExternalFile.js +5 -0
- package/api/types/ExternalSessionAiResponseMetadataStatus.d.ts +1 -1
- package/api/types/FilesResponse.d.ts +10 -0
- package/api/types/FilesResponse.js +5 -0
- package/api/types/FilesWithPagination.d.ts +10 -0
- package/api/types/FilesWithPagination.js +5 -0
- package/api/types/GetFileV1.d.ts +24 -0
- package/api/types/GetFileV1.js +5 -0
- package/api/types/GetFileV1FileType.d.ts +13 -0
- package/api/types/GetFileV1FileType.js +12 -0
- package/api/types/ListAutomationsOutput.d.ts +7 -0
- package/api/types/ListAutomationsOutput.js +5 -0
- package/api/types/MonitorConfigIncludeVisualAnalysis.d.ts +1 -1
- package/api/types/Proxy.d.ts +1 -1
- package/api/types/SessionConfigV1Proxy.d.ts +1 -1
- package/api/types/StatusMessageStatus.d.ts +1 -1
- package/api/types/VisualAnalysisConfigPartitionDirection.d.ts +1 -1
- package/api/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +1 -1
- package/api/types/VisualAnalysisConfigScope.d.ts +1 -1
- package/api/types/index.d.ts +26 -0
- package/api/types/index.js +26 -0
- package/biome.json +3 -0
- package/core/auth/BearerToken.d.ts +1 -1
- package/core/fetcher/APIResponse.d.ts +1 -1
- package/core/fetcher/Fetcher.d.ts +3 -3
- package/core/fetcher/Fetcher.js +6 -5
- package/core/fetcher/Supplier.d.ts +1 -1
- package/core/fetcher/createRequestUrl.d.ts +1 -1
- package/core/fetcher/createRequestUrl.js +1 -2
- package/core/fetcher/getFetchFn.js +18 -9
- package/core/fetcher/getHeader.js +1 -2
- package/core/fetcher/getRequestBody.js +5 -5
- package/core/fetcher/getResponseBody.js +4 -2
- package/core/fetcher/makeRequest.d.ts +1 -1
- package/core/fetcher/requestWithRetries.js +17 -9
- package/core/fetcher/signals.d.ts +0 -1
- package/core/fetcher/signals.js +2 -3
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +1 -2
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +4 -2
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +1 -2
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +6 -4
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +2 -2
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +4 -2
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +1 -1
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +19 -10
- package/core/index.js +17 -7
- package/core/json.d.ts +15 -0
- package/core/json.js +24 -0
- package/core/runtime/runtime.d.ts +1 -1
- package/core/runtime/runtime.js +51 -41
- package/core/schemas/Schema.d.ts +8 -5
- package/core/schemas/Schema.js +3 -0
- package/core/schemas/builders/bigint/bigint.d.ts +2 -0
- package/core/schemas/builders/bigint/bigint.js +53 -0
- package/core/schemas/builders/bigint/index.d.ts +1 -0
- package/core/schemas/builders/bigint/index.js +5 -0
- package/core/schemas/builders/date/date.js +1 -2
- package/core/schemas/builders/enum/enum.js +1 -2
- package/core/schemas/builders/index.d.ts +1 -0
- package/core/schemas/builders/index.js +1 -0
- package/core/schemas/builders/lazy/lazy.d.ts +1 -1
- package/core/schemas/builders/lazy/lazy.js +3 -4
- package/core/schemas/builders/lazy/lazyObject.js +1 -2
- package/core/schemas/builders/list/list.js +1 -2
- package/core/schemas/builders/literals/booleanLiteral.js +1 -2
- package/core/schemas/builders/literals/stringLiteral.js +1 -2
- package/core/schemas/builders/object/object.d.ts +1 -1
- package/core/schemas/builders/object/object.js +31 -3
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +3 -3
- package/core/schemas/builders/object/objectWithoutOptionalProperties.js +1 -2
- package/core/schemas/builders/object/property.js +2 -3
- package/core/schemas/builders/object/types.d.ts +16 -11
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +2 -3
- package/core/schemas/builders/object-like/types.d.ts +1 -1
- package/core/schemas/builders/record/record.js +2 -4
- package/core/schemas/builders/record/types.d.ts +2 -2
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +4 -0
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +67 -4
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +1 -2
- package/core/schemas/builders/set/set.js +1 -2
- package/core/schemas/builders/undiscriminated-union/types.d.ts +4 -4
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +1 -2
- package/core/schemas/builders/union/discriminant.js +1 -2
- package/core/schemas/builders/union/types.d.ts +6 -6
- package/core/schemas/builders/union/union.d.ts +1 -1
- package/core/schemas/builders/union/union.js +1 -2
- package/core/schemas/utils/MaybePromise.d.ts +1 -1
- package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +4 -4
- package/core/schemas/utils/createIdentitySchemaCreator.js +1 -2
- package/core/schemas/utils/entries.d.ts +1 -1
- package/core/schemas/utils/entries.js +1 -2
- package/core/schemas/utils/filterObject.d.ts +1 -1
- package/core/schemas/utils/filterObject.js +1 -2
- package/core/schemas/utils/getErrorMessageForIncorrectType.js +5 -2
- package/core/schemas/utils/isPlainObject.js +1 -2
- package/core/schemas/utils/keys.d.ts +1 -1
- package/core/schemas/utils/keys.js +1 -2
- package/core/schemas/utils/maybeSkipValidation.js +1 -2
- package/core/schemas/utils/partition.js +1 -2
- package/core/streaming-fetcher/Stream.d.ts +0 -1
- package/core/streaming-fetcher/Stream.js +20 -21
- package/dist/Client.d.ts +14 -4
- package/dist/Client.js +16 -6
- package/dist/api/errors/ForbiddenError.d.ts +8 -0
- package/dist/api/errors/ForbiddenError.js +51 -0
- package/dist/api/errors/InternalServerError.js +17 -7
- package/dist/api/errors/NotFoundError.js +17 -7
- package/dist/api/errors/UnauthorizedError.d.ts +8 -0
- package/dist/api/errors/UnauthorizedError.js +51 -0
- package/dist/api/errors/UnprocessableEntityError.js +17 -7
- package/dist/api/errors/index.d.ts +2 -0
- package/dist/api/errors/index.js +2 -0
- package/dist/api/resources/automations/client/Client.d.ts +91 -0
- package/dist/api/resources/automations/client/Client.js +429 -0
- package/dist/api/resources/automations/client/index.d.ts +1 -0
- package/dist/api/resources/automations/client/index.js +17 -0
- package/dist/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +19 -0
- package/dist/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +5 -0
- package/dist/api/resources/automations/client/requests/index.d.ts +1 -0
- package/dist/api/resources/automations/client/requests/index.js +2 -0
- package/dist/api/resources/automations/index.d.ts +1 -0
- package/dist/api/resources/automations/index.js +17 -0
- package/dist/api/resources/files/client/Client.d.ts +69 -0
- package/dist/api/resources/files/client/Client.js +286 -0
- package/dist/api/resources/files/client/index.d.ts +1 -0
- package/dist/api/resources/files/client/index.js +17 -0
- package/dist/api/resources/files/client/requests/CreateFileRestInputV1.d.ts +20 -0
- package/dist/api/resources/files/client/requests/CreateFileRestInputV1.js +5 -0
- package/dist/api/resources/files/client/requests/FilesListRequest.d.ts +24 -0
- package/dist/api/resources/files/client/requests/FilesListRequest.js +5 -0
- package/dist/api/resources/files/client/requests/index.d.ts +2 -0
- package/dist/api/resources/files/client/requests/index.js +2 -0
- package/dist/api/resources/files/index.d.ts +2 -0
- package/dist/api/resources/files/index.js +18 -0
- package/dist/api/resources/files/types/CreateFileRestInputV1FileType.d.ts +13 -0
- package/dist/api/resources/files/types/CreateFileRestInputV1FileType.js +12 -0
- package/dist/api/resources/files/types/index.d.ts +1 -0
- package/dist/api/resources/files/types/index.js +17 -0
- package/dist/api/resources/index.d.ts +5 -0
- package/dist/api/resources/index.js +23 -8
- package/dist/api/resources/profiles/client/Client.d.ts +4 -0
- package/dist/api/resources/profiles/client/Client.js +23 -21
- package/dist/api/resources/requests/client/Client.d.ts +4 -0
- package/dist/api/resources/requests/client/Client.js +21 -19
- package/dist/api/resources/sessions/client/Client.d.ts +15 -1
- package/dist/api/resources/sessions/client/Client.js +98 -88
- package/dist/api/resources/sessions/client/requests/SessionsEventsRequest.d.ts +7 -0
- package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
- package/dist/api/resources/sessions/types/SessionsListRequestStatus.d.ts +1 -1
- package/dist/api/resources/sessions/types/index.d.ts +1 -1
- package/dist/api/resources/sessions/types/index.js +1 -1
- package/dist/api/resources/windows/client/Client.d.ts +142 -0
- package/dist/api/resources/windows/client/Client.js +700 -199
- package/dist/api/resources/windows/client/requests/AsyncClickRequest.d.ts +29 -0
- package/dist/api/resources/windows/client/requests/AsyncClickRequest.js +5 -0
- package/dist/api/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +23 -0
- package/dist/api/resources/windows/client/requests/AsyncCreateAutomationRequest.js +5 -0
- package/dist/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +27 -0
- package/dist/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +5 -0
- package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +27 -0
- package/dist/api/resources/windows/client/requests/AsyncHoverRequest.js +5 -0
- package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +27 -0
- package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.js +5 -0
- package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +29 -0
- package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.js +5 -0
- package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +27 -0
- package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +5 -0
- package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +29 -0
- package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.js +5 -0
- package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +23 -0
- package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.js +5 -0
- package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +25 -0
- package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +5 -0
- package/dist/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +37 -0
- package/dist/api/resources/windows/client/requests/AsyncTypeRequest.js +5 -0
- package/dist/api/resources/windows/client/requests/index.d.ts +11 -0
- package/dist/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +1 -1
- package/dist/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +1 -1
- package/dist/api/types/AsyncConfig.d.ts +7 -0
- package/dist/api/types/AsyncConfig.js +5 -0
- package/dist/api/types/AsyncSessionAiResponseEnvelope.d.ts +9 -0
- package/dist/api/types/AsyncSessionAiResponseEnvelope.js +5 -0
- package/dist/api/types/AutomationOutput.d.ts +10 -0
- package/dist/api/types/AutomationOutput.js +5 -0
- package/dist/api/types/BrowserWaitNavigationConfigWaitUntil.d.ts +1 -1
- package/dist/api/types/ClickConfigClickType.d.ts +1 -1
- package/dist/api/types/CreateAutomationRequestBodyConfiguration.d.ts +4 -0
- package/dist/api/types/CreateAutomationRequestBodyConfiguration.js +5 -0
- package/dist/api/types/CreateFileV1.d.ts +24 -0
- package/dist/api/types/CreateFileV1.js +5 -0
- package/dist/api/types/CreateFileV1FileType.d.ts +13 -0
- package/dist/api/types/CreateFileV1FileType.js +12 -0
- package/dist/api/types/DeleteAutomationOutputWrapperBody.d.ts +4 -0
- package/dist/api/types/DeleteAutomationOutputWrapperBody.js +5 -0
- package/dist/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +10 -0
- package/dist/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +5 -0
- package/dist/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +10 -0
- package/dist/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +5 -0
- package/dist/api/types/ExtensionConfigurationOutput.d.ts +13 -0
- package/dist/api/types/ExtensionConfigurationOutput.js +5 -0
- package/dist/api/types/ExternalFile.d.ts +33 -0
- package/dist/api/types/ExternalFile.js +5 -0
- package/dist/api/types/ExternalSessionAiResponseMetadataStatus.d.ts +1 -1
- package/dist/api/types/FilesResponse.d.ts +10 -0
- package/dist/api/types/FilesResponse.js +5 -0
- package/dist/api/types/FilesWithPagination.d.ts +10 -0
- package/dist/api/types/FilesWithPagination.js +5 -0
- package/dist/api/types/GetFileV1.d.ts +24 -0
- package/dist/api/types/GetFileV1.js +5 -0
- package/dist/api/types/GetFileV1FileType.d.ts +13 -0
- package/dist/api/types/GetFileV1FileType.js +12 -0
- package/dist/api/types/ListAutomationsOutput.d.ts +7 -0
- package/dist/api/types/ListAutomationsOutput.js +5 -0
- package/dist/api/types/MonitorConfigIncludeVisualAnalysis.d.ts +1 -1
- package/dist/api/types/Proxy.d.ts +1 -1
- package/dist/api/types/SessionConfigV1Proxy.d.ts +1 -1
- package/dist/api/types/StatusMessageStatus.d.ts +1 -1
- package/dist/api/types/VisualAnalysisConfigPartitionDirection.d.ts +1 -1
- package/dist/api/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +1 -1
- package/dist/api/types/VisualAnalysisConfigScope.d.ts +1 -1
- package/dist/api/types/index.d.ts +26 -0
- package/dist/api/types/index.js +26 -0
- package/dist/core/auth/BearerToken.d.ts +1 -1
- package/dist/core/fetcher/APIResponse.d.ts +1 -1
- package/dist/core/fetcher/Fetcher.d.ts +3 -3
- package/dist/core/fetcher/Fetcher.js +6 -5
- package/dist/core/fetcher/Supplier.d.ts +1 -1
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -1
- package/dist/core/fetcher/createRequestUrl.js +1 -2
- package/dist/core/fetcher/getFetchFn.js +18 -9
- package/dist/core/fetcher/getHeader.js +1 -2
- package/dist/core/fetcher/getRequestBody.js +5 -5
- package/dist/core/fetcher/getResponseBody.js +4 -2
- package/dist/core/fetcher/makeRequest.d.ts +1 -1
- package/dist/core/fetcher/requestWithRetries.js +17 -9
- package/dist/core/fetcher/signals.d.ts +0 -1
- package/dist/core/fetcher/signals.js +2 -3
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +1 -2
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +4 -2
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +1 -2
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +6 -4
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +2 -2
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +4 -2
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +1 -1
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +19 -10
- package/dist/core/index.js +17 -7
- package/dist/core/json.d.ts +15 -0
- package/dist/core/json.js +24 -0
- package/dist/core/runtime/runtime.d.ts +1 -1
- package/dist/core/runtime/runtime.js +51 -41
- package/dist/core/schemas/Schema.d.ts +8 -5
- package/dist/core/schemas/Schema.js +3 -0
- package/dist/core/schemas/builders/bigint/bigint.d.ts +2 -0
- package/dist/core/schemas/builders/bigint/bigint.js +53 -0
- package/dist/core/schemas/builders/bigint/index.d.ts +1 -0
- package/dist/core/schemas/builders/bigint/index.js +5 -0
- package/dist/core/schemas/builders/date/date.js +1 -2
- package/dist/core/schemas/builders/enum/enum.js +1 -2
- package/dist/core/schemas/builders/index.d.ts +1 -0
- package/dist/core/schemas/builders/index.js +1 -0
- package/dist/core/schemas/builders/lazy/lazy.d.ts +1 -1
- package/dist/core/schemas/builders/lazy/lazy.js +3 -4
- package/dist/core/schemas/builders/lazy/lazyObject.js +1 -2
- package/dist/core/schemas/builders/list/list.js +1 -2
- package/dist/core/schemas/builders/literals/booleanLiteral.js +1 -2
- package/dist/core/schemas/builders/literals/stringLiteral.js +1 -2
- package/dist/core/schemas/builders/object/object.d.ts +1 -1
- package/dist/core/schemas/builders/object/object.js +31 -3
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +3 -3
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +1 -2
- package/dist/core/schemas/builders/object/property.js +2 -3
- package/dist/core/schemas/builders/object/types.d.ts +16 -11
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +2 -3
- package/dist/core/schemas/builders/object-like/types.d.ts +1 -1
- package/dist/core/schemas/builders/record/record.js +2 -4
- package/dist/core/schemas/builders/record/types.d.ts +2 -2
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +4 -0
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +67 -4
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +1 -2
- package/dist/core/schemas/builders/set/set.js +1 -2
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +4 -4
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +1 -2
- package/dist/core/schemas/builders/union/discriminant.js +1 -2
- package/dist/core/schemas/builders/union/types.d.ts +6 -6
- package/dist/core/schemas/builders/union/union.d.ts +1 -1
- package/dist/core/schemas/builders/union/union.js +1 -2
- package/dist/core/schemas/utils/MaybePromise.d.ts +1 -1
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +4 -4
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +1 -2
- package/dist/core/schemas/utils/entries.d.ts +1 -1
- package/dist/core/schemas/utils/entries.js +1 -2
- package/dist/core/schemas/utils/filterObject.d.ts +1 -1
- package/dist/core/schemas/utils/filterObject.js +1 -2
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +5 -2
- package/dist/core/schemas/utils/isPlainObject.js +1 -2
- package/dist/core/schemas/utils/keys.d.ts +1 -1
- package/dist/core/schemas/utils/keys.js +1 -2
- package/dist/core/schemas/utils/maybeSkipValidation.js +1 -2
- package/dist/core/schemas/utils/partition.js +1 -2
- package/dist/core/streaming-fetcher/Stream.d.ts +0 -1
- package/dist/core/streaming-fetcher/Stream.js +20 -21
- package/dist/environments.d.ts +1 -1
- package/dist/errors/AirtopError.js +2 -1
- package/dist/errors/AirtopTimeoutError.d.ts +1 -1
- package/dist/errors/AirtopTimeoutError.js +2 -2
- package/dist/index.js +17 -7
- package/dist/live-view/types.d.ts +1 -1
- package/dist/live-view/types.js +1 -1
- package/dist/serialization/resources/automations/client/index.d.ts +1 -0
- package/dist/serialization/resources/automations/client/index.js +17 -0
- package/dist/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +14 -0
- package/dist/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +45 -0
- package/dist/serialization/resources/automations/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/automations/client/requests/index.js +5 -0
- package/dist/serialization/resources/automations/index.d.ts +1 -0
- package/dist/serialization/resources/automations/index.js +17 -0
- package/dist/serialization/resources/files/client/index.d.ts +1 -0
- package/dist/serialization/resources/files/client/index.js +17 -0
- package/dist/serialization/resources/files/client/requests/CreateFileRestInputV1.d.ts +16 -0
- package/dist/serialization/resources/files/client/requests/CreateFileRestInputV1.js +47 -0
- package/dist/serialization/resources/files/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/files/client/requests/index.js +5 -0
- package/dist/serialization/resources/files/index.d.ts +2 -0
- package/dist/serialization/resources/files/index.js +18 -0
- package/dist/serialization/resources/files/types/CreateFileRestInputV1FileType.d.ts +10 -0
- package/dist/serialization/resources/files/types/CreateFileRestInputV1FileType.js +41 -0
- package/dist/serialization/resources/files/types/index.d.ts +1 -0
- package/dist/serialization/resources/files/types/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +5 -0
- package/dist/serialization/resources/index.js +23 -8
- package/dist/serialization/resources/sessions/client/requests/SessionRestInputV1.js +17 -7
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +19 -9
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseError.js +17 -7
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.js +17 -7
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseStatus.js +17 -7
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.js +17 -7
- package/dist/serialization/resources/sessions/types/SessionsListRequestStatus.js +17 -7
- package/dist/serialization/resources/sessions/types/index.d.ts +1 -1
- package/dist/serialization/resources/sessions/types/index.js +1 -1
- package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +20 -0
- package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.js +51 -0
- package/dist/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +18 -0
- package/dist/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.js +49 -0
- package/dist/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +18 -0
- package/dist/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +49 -0
- package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +19 -0
- package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js +50 -0
- package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +19 -0
- package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +50 -0
- package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +20 -0
- package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +51 -0
- package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +19 -0
- package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +50 -0
- package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +20 -0
- package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +51 -0
- package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +18 -0
- package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +49 -0
- package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +19 -0
- package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +50 -0
- package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +24 -0
- package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +55 -0
- package/dist/serialization/resources/windows/client/requests/CreateWindowInputV1Body.js +17 -7
- package/dist/serialization/resources/windows/client/requests/ScrapeContentRequest.js +17 -7
- package/dist/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.js +17 -7
- package/dist/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +17 -7
- package/dist/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +17 -7
- package/dist/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.js +17 -7
- package/dist/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +17 -7
- package/dist/serialization/resources/windows/client/requests/SessionScrollHandlerRequestBody.js +17 -7
- package/dist/serialization/resources/windows/client/requests/SessionSummaryHandlerRequestBody.js +17 -7
- package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +17 -7
- package/dist/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.js +17 -7
- package/dist/serialization/resources/windows/client/requests/index.d.ts +11 -0
- package/dist/serialization/resources/windows/client/requests/index.js +23 -1
- package/dist/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +17 -7
- package/dist/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +17 -7
- package/dist/serialization/types/AiPromptResponse.js +17 -7
- package/dist/serialization/types/AiResponseEnvelope.js +17 -7
- package/dist/serialization/types/AirtopProxyConfiguration.js +17 -7
- package/dist/serialization/types/AsyncConfig.d.ts +12 -0
- package/dist/serialization/types/AsyncConfig.js +43 -0
- package/dist/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +15 -0
- package/dist/serialization/types/AsyncSessionAiResponseEnvelope.js +46 -0
- package/dist/serialization/types/AutomationOutput.d.ts +16 -0
- package/dist/serialization/types/AutomationOutput.js +47 -0
- package/dist/serialization/types/BrowserWaitNavigationConfig.js +17 -7
- package/dist/serialization/types/BrowserWaitNavigationConfigWaitUntil.js +17 -7
- package/dist/serialization/types/ClickConfig.js +17 -7
- package/dist/serialization/types/ClickConfigClickType.js +17 -7
- package/dist/serialization/types/ClientProvidedResponseMetadata.js +17 -7
- package/dist/serialization/types/CreateAutomationRequestBodyConfiguration.d.ts +10 -0
- package/dist/serialization/types/CreateAutomationRequestBodyConfiguration.js +41 -0
- package/dist/serialization/types/CreateFileV1.d.ts +21 -0
- package/dist/serialization/types/CreateFileV1.js +52 -0
- package/dist/serialization/types/CreateFileV1FileType.d.ts +10 -0
- package/dist/serialization/types/CreateFileV1FileType.js +41 -0
- package/dist/serialization/types/DeleteAutomationOutputWrapperBody.d.ts +10 -0
- package/dist/serialization/types/DeleteAutomationOutputWrapperBody.js +41 -0
- package/dist/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +18 -0
- package/dist/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +49 -0
- package/dist/serialization/types/EnvelopeDefaultMeta.js +17 -7
- package/dist/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +18 -0
- package/dist/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +49 -0
- package/dist/serialization/types/ErrorBody.js +17 -7
- package/dist/serialization/types/ErrorDetail.js +17 -7
- package/dist/serialization/types/ErrorMessage.js +17 -7
- package/dist/serialization/types/ErrorModel.js +17 -7
- package/dist/serialization/types/ExternalFile.d.ts +25 -0
- package/dist/serialization/types/ExternalFile.js +56 -0
- package/dist/serialization/types/ExternalSessionAiResponseMetadata.js +17 -7
- package/dist/serialization/types/ExternalSessionAiResponseMetadataStatus.js +17 -7
- package/dist/serialization/types/ExternalSessionAiResponseMetadataUsage.js +17 -7
- package/dist/serialization/types/ExternalSessionConfig.js +17 -7
- package/dist/serialization/types/ExternalSessionWithConnectionInfo.js +17 -7
- package/dist/serialization/types/FilesResponse.d.ts +18 -0
- package/dist/serialization/types/FilesResponse.js +49 -0
- package/dist/serialization/types/FilesWithPagination.d.ts +15 -0
- package/dist/serialization/types/FilesWithPagination.js +46 -0
- package/dist/serialization/types/GetFileV1.d.ts +21 -0
- package/dist/serialization/types/GetFileV1.js +52 -0
- package/dist/serialization/types/GetFileV1FileType.d.ts +10 -0
- package/dist/serialization/types/GetFileV1FileType.js +41 -0
- package/dist/serialization/types/IntervalMonitorConfig.js +17 -7
- package/dist/serialization/types/Issue.js +17 -7
- package/dist/serialization/types/ListAutomationsOutput.d.ts +13 -0
- package/dist/serialization/types/ListAutomationsOutput.js +44 -0
- package/dist/serialization/types/MicroInteractionConfig.js +17 -7
- package/dist/serialization/types/MicroInteractionConfigWithExperimental.js +17 -7
- package/dist/serialization/types/MicroInteractionExperimentalConfig.js +17 -7
- package/dist/serialization/types/MonitorConfig.js +17 -7
- package/dist/serialization/types/MonitorConfigIncludeVisualAnalysis.js +17 -7
- package/dist/serialization/types/OperationOutcome.js +17 -7
- package/dist/serialization/types/OperationOutcomeResponse.js +17 -7
- package/dist/serialization/types/PageQueryConfig.js +17 -7
- package/dist/serialization/types/PageQueryExperimentalConfig.js +17 -7
- package/dist/serialization/types/PaginatedExtractionConfig.js +17 -7
- package/dist/serialization/types/PaginatedExtractionExperimentalConfig.js +17 -7
- package/dist/serialization/types/Pagination.js +17 -7
- package/dist/serialization/types/Proxy.js +17 -7
- package/dist/serialization/types/ProxyConfigurationKind.js +17 -7
- package/dist/serialization/types/ProxyCredentials.js +17 -7
- package/dist/serialization/types/RequestStatusResponse.js +17 -7
- package/dist/serialization/types/ScrapeConfig.js +17 -7
- package/dist/serialization/types/ScrapeResponse.js +17 -7
- package/dist/serialization/types/ScrapeResponseContent.js +17 -7
- package/dist/serialization/types/ScrapeResponseEnvelope.js +17 -7
- package/dist/serialization/types/ScrapeResponseOutput.js +17 -7
- package/dist/serialization/types/ScreenshotConfig.js +17 -7
- package/dist/serialization/types/ScreenshotMetadata.js +17 -7
- package/dist/serialization/types/ScreenshotRequestConfig.js +17 -7
- package/dist/serialization/types/ScrollByConfig.js +17 -7
- package/dist/serialization/types/ScrollToEdgeConfig.js +17 -7
- package/dist/serialization/types/SessionConfigV1.js +17 -7
- package/dist/serialization/types/SessionConfigV1Proxy.js +17 -7
- package/dist/serialization/types/SessionEventMessage.js +17 -7
- package/dist/serialization/types/SessionPageQueryHandlerRequestBody.js +17 -7
- package/dist/serialization/types/SessionResponse.js +17 -7
- package/dist/serialization/types/SessionsResponse.js +17 -7
- package/dist/serialization/types/SessionsWithPagination.js +17 -7
- package/dist/serialization/types/StatusMessage.js +17 -7
- package/dist/serialization/types/StatusMessageStatus.js +17 -7
- package/dist/serialization/types/SummaryConfig.js +17 -7
- package/dist/serialization/types/SummaryExperimentalConfig.js +17 -7
- package/dist/serialization/types/VisualAnalysisConfig.js +17 -7
- package/dist/serialization/types/VisualAnalysisConfigPartitionDirection.js +17 -7
- package/dist/serialization/types/VisualAnalysisConfigResultSelectionStrategy.js +17 -7
- package/dist/serialization/types/VisualAnalysisConfigScope.js +17 -7
- package/dist/serialization/types/Window.js +17 -7
- package/dist/serialization/types/WindowEventMessage.js +17 -7
- package/dist/serialization/types/WindowId.js +17 -7
- package/dist/serialization/types/WindowIdResponse.js +17 -7
- package/dist/serialization/types/WindowResponse.js +17 -7
- package/dist/serialization/types/index.d.ts +26 -0
- package/dist/serialization/types/index.js +26 -0
- package/dist/utils/batch-operate/SessionQueue.js +2 -2
- package/dist/utils/batch-operate/WindowQueue.js +2 -2
- package/dist/utils/batch-operate/batch-util.d.ts +1 -1
- package/dist/utils/batch-operate/types.d.ts +5 -5
- package/dist/utils/process-screenshots.d.ts +1 -2
- package/dist/utils/process-screenshots.js +1 -2
- package/dist/version.d.ts +1 -0
- package/dist/version.js +4 -0
- package/dist/wrapper/AirtopClient.d.ts +5 -2
- package/dist/wrapper/AirtopClient.js +24 -8
- package/dist/wrapper/AirtopFiles.d.ts +38 -0
- package/dist/wrapper/AirtopFiles.js +151 -0
- package/dist/wrapper/AirtopRequests.js +2 -2
- package/dist/wrapper/AirtopSessions.js +7 -5
- package/dist/wrapper/AirtopWindows.d.ts +1 -1
- package/dist/wrapper/AirtopWindows.js +22 -12
- package/environments.d.ts +1 -1
- package/errors/AirtopError.js +2 -1
- package/errors/AirtopTimeoutError.d.ts +1 -1
- package/errors/AirtopTimeoutError.js +2 -2
- package/index.js +17 -7
- package/{jest.config.js → jest.config.mjs} +4 -1
- package/live-view/types.d.ts +1 -1
- package/live-view/types.js +1 -1
- package/package.json +18 -14
- package/reference.md +2009 -175
- package/scripts/rename-to-esm-files.js +115 -0
- package/serialization/resources/automations/client/index.d.ts +1 -0
- package/serialization/resources/automations/client/index.js +17 -0
- package/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +14 -0
- package/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +45 -0
- package/serialization/resources/automations/client/requests/index.d.ts +1 -0
- package/serialization/resources/automations/client/requests/index.js +5 -0
- package/serialization/resources/automations/index.d.ts +1 -0
- package/serialization/resources/automations/index.js +17 -0
- package/serialization/resources/files/client/index.d.ts +1 -0
- package/serialization/resources/files/client/index.js +17 -0
- package/serialization/resources/files/client/requests/CreateFileRestInputV1.d.ts +16 -0
- package/serialization/resources/files/client/requests/CreateFileRestInputV1.js +47 -0
- package/serialization/resources/files/client/requests/index.d.ts +1 -0
- package/serialization/resources/files/client/requests/index.js +5 -0
- package/serialization/resources/files/index.d.ts +2 -0
- package/serialization/resources/files/index.js +18 -0
- package/serialization/resources/files/types/CreateFileRestInputV1FileType.d.ts +10 -0
- package/serialization/resources/files/types/CreateFileRestInputV1FileType.js +41 -0
- package/serialization/resources/files/types/index.d.ts +1 -0
- package/serialization/resources/files/types/index.js +17 -0
- package/serialization/resources/index.d.ts +5 -0
- package/serialization/resources/index.js +23 -8
- package/serialization/resources/sessions/client/requests/SessionRestInputV1.js +17 -7
- package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
- package/serialization/resources/sessions/types/SessionsEventsResponse.js +19 -9
- package/serialization/resources/sessions/types/SessionsEventsResponseError.js +17 -7
- package/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.js +17 -7
- package/serialization/resources/sessions/types/SessionsEventsResponseStatus.js +17 -7
- package/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.js +17 -7
- package/serialization/resources/sessions/types/SessionsListRequestStatus.js +17 -7
- package/serialization/resources/sessions/types/index.d.ts +1 -1
- package/serialization/resources/sessions/types/index.js +1 -1
- package/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +20 -0
- package/serialization/resources/windows/client/requests/AsyncClickRequest.js +51 -0
- package/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +18 -0
- package/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.js +49 -0
- package/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +18 -0
- package/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +49 -0
- package/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +19 -0
- package/serialization/resources/windows/client/requests/AsyncHoverRequest.js +50 -0
- package/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +19 -0
- package/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +50 -0
- package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +20 -0
- package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +51 -0
- package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +19 -0
- package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +50 -0
- package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +20 -0
- package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +51 -0
- package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +18 -0
- package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +49 -0
- package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +19 -0
- package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +50 -0
- package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +24 -0
- package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +55 -0
- package/serialization/resources/windows/client/requests/CreateWindowInputV1Body.js +17 -7
- package/serialization/resources/windows/client/requests/ScrapeContentRequest.js +17 -7
- package/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.js +17 -7
- package/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +17 -7
- package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +17 -7
- package/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.js +17 -7
- package/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +17 -7
- package/serialization/resources/windows/client/requests/SessionScrollHandlerRequestBody.js +17 -7
- package/serialization/resources/windows/client/requests/SessionSummaryHandlerRequestBody.js +17 -7
- package/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +17 -7
- package/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.js +17 -7
- package/serialization/resources/windows/client/requests/index.d.ts +11 -0
- package/serialization/resources/windows/client/requests/index.js +23 -1
- package/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +17 -7
- package/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +17 -7
- package/serialization/types/AiPromptResponse.js +17 -7
- package/serialization/types/AiResponseEnvelope.js +17 -7
- package/serialization/types/AirtopProxyConfiguration.js +17 -7
- package/serialization/types/AsyncConfig.d.ts +12 -0
- package/serialization/types/AsyncConfig.js +43 -0
- package/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +15 -0
- package/serialization/types/AsyncSessionAiResponseEnvelope.js +46 -0
- package/serialization/types/AutomationOutput.d.ts +16 -0
- package/serialization/types/AutomationOutput.js +47 -0
- package/serialization/types/BrowserWaitNavigationConfig.js +17 -7
- package/serialization/types/BrowserWaitNavigationConfigWaitUntil.js +17 -7
- package/serialization/types/ClickConfig.js +17 -7
- package/serialization/types/ClickConfigClickType.js +17 -7
- package/serialization/types/ClientProvidedResponseMetadata.js +17 -7
- package/serialization/types/CreateAutomationRequestBodyConfiguration.d.ts +10 -0
- package/serialization/types/CreateAutomationRequestBodyConfiguration.js +41 -0
- package/serialization/types/CreateFileV1.d.ts +21 -0
- package/serialization/types/CreateFileV1.js +52 -0
- package/serialization/types/CreateFileV1FileType.d.ts +10 -0
- package/serialization/types/CreateFileV1FileType.js +41 -0
- package/serialization/types/DeleteAutomationOutputWrapperBody.d.ts +10 -0
- package/serialization/types/DeleteAutomationOutputWrapperBody.js +41 -0
- package/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +18 -0
- package/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +49 -0
- package/serialization/types/EnvelopeDefaultMeta.js +17 -7
- package/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +18 -0
- package/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +49 -0
- package/serialization/types/ErrorBody.js +17 -7
- package/serialization/types/ErrorDetail.js +17 -7
- package/serialization/types/ErrorMessage.js +17 -7
- package/serialization/types/ErrorModel.js +17 -7
- package/serialization/types/ExternalFile.d.ts +25 -0
- package/serialization/types/ExternalFile.js +56 -0
- package/serialization/types/ExternalSessionAiResponseMetadata.js +17 -7
- package/serialization/types/ExternalSessionAiResponseMetadataStatus.js +17 -7
- package/serialization/types/ExternalSessionAiResponseMetadataUsage.js +17 -7
- package/serialization/types/ExternalSessionConfig.js +17 -7
- package/serialization/types/ExternalSessionWithConnectionInfo.js +17 -7
- package/serialization/types/FilesResponse.d.ts +18 -0
- package/serialization/types/FilesResponse.js +49 -0
- package/serialization/types/FilesWithPagination.d.ts +15 -0
- package/serialization/types/FilesWithPagination.js +46 -0
- package/serialization/types/GetFileV1.d.ts +21 -0
- package/serialization/types/GetFileV1.js +52 -0
- package/serialization/types/GetFileV1FileType.d.ts +10 -0
- package/serialization/types/GetFileV1FileType.js +41 -0
- package/serialization/types/IntervalMonitorConfig.js +17 -7
- package/serialization/types/Issue.js +17 -7
- package/serialization/types/ListAutomationsOutput.d.ts +13 -0
- package/serialization/types/ListAutomationsOutput.js +44 -0
- package/serialization/types/MicroInteractionConfig.js +17 -7
- package/serialization/types/MicroInteractionConfigWithExperimental.js +17 -7
- package/serialization/types/MicroInteractionExperimentalConfig.js +17 -7
- package/serialization/types/MonitorConfig.js +17 -7
- package/serialization/types/MonitorConfigIncludeVisualAnalysis.js +17 -7
- package/serialization/types/OperationOutcome.js +17 -7
- package/serialization/types/OperationOutcomeResponse.js +17 -7
- package/serialization/types/PageQueryConfig.js +17 -7
- package/serialization/types/PageQueryExperimentalConfig.js +17 -7
- package/serialization/types/PaginatedExtractionConfig.js +17 -7
- package/serialization/types/PaginatedExtractionExperimentalConfig.js +17 -7
- package/serialization/types/Pagination.js +17 -7
- package/serialization/types/Proxy.js +17 -7
- package/serialization/types/ProxyConfigurationKind.js +17 -7
- package/serialization/types/ProxyCredentials.js +17 -7
- package/serialization/types/RequestStatusResponse.js +17 -7
- package/serialization/types/ScrapeConfig.js +17 -7
- package/serialization/types/ScrapeResponse.js +17 -7
- package/serialization/types/ScrapeResponseContent.js +17 -7
- package/serialization/types/ScrapeResponseEnvelope.js +17 -7
- package/serialization/types/ScrapeResponseOutput.js +17 -7
- package/serialization/types/ScreenshotConfig.js +17 -7
- package/serialization/types/ScreenshotMetadata.js +17 -7
- package/serialization/types/ScreenshotRequestConfig.js +17 -7
- package/serialization/types/ScrollByConfig.js +17 -7
- package/serialization/types/ScrollToEdgeConfig.js +17 -7
- package/serialization/types/SessionConfigV1.js +17 -7
- package/serialization/types/SessionConfigV1Proxy.js +17 -7
- package/serialization/types/SessionEventMessage.js +17 -7
- package/serialization/types/SessionPageQueryHandlerRequestBody.js +17 -7
- package/serialization/types/SessionResponse.js +17 -7
- package/serialization/types/SessionsResponse.js +17 -7
- package/serialization/types/SessionsWithPagination.js +17 -7
- package/serialization/types/StatusMessage.js +17 -7
- package/serialization/types/StatusMessageStatus.js +17 -7
- package/serialization/types/SummaryConfig.js +17 -7
- package/serialization/types/SummaryExperimentalConfig.js +17 -7
- package/serialization/types/VisualAnalysisConfig.js +17 -7
- package/serialization/types/VisualAnalysisConfigPartitionDirection.js +17 -7
- package/serialization/types/VisualAnalysisConfigResultSelectionStrategy.js +17 -7
- package/serialization/types/VisualAnalysisConfigScope.js +17 -7
- package/serialization/types/Window.js +17 -7
- package/serialization/types/WindowEventMessage.js +17 -7
- package/serialization/types/WindowId.js +17 -7
- package/serialization/types/WindowIdResponse.js +17 -7
- package/serialization/types/WindowResponse.js +17 -7
- package/serialization/types/index.d.ts +26 -0
- package/serialization/types/index.js +26 -0
- package/utils/batch-operate/SessionQueue.js +2 -2
- package/utils/batch-operate/WindowQueue.js +2 -2
- package/utils/batch-operate/batch-util.d.ts +1 -1
- package/utils/batch-operate/types.d.ts +5 -5
- package/utils/process-screenshots.d.ts +1 -2
- package/utils/process-screenshots.js +1 -2
- package/version.d.ts +1 -0
- package/version.js +4 -0
- package/wrapper/AirtopClient.d.ts +5 -2
- package/wrapper/AirtopClient.js +24 -8
- package/wrapper/AirtopFiles.d.ts +38 -0
- package/wrapper/AirtopFiles.js +151 -0
- package/wrapper/AirtopRequests.js +2 -2
- package/wrapper/AirtopSessions.js +7 -5
- package/wrapper/AirtopWindows.d.ts +1 -1
- package/wrapper/AirtopWindows.js +22 -12
package/reference.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
## Windows
|
4
4
|
|
5
|
-
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">
|
5
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncClick</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
|
6
6
|
<dl>
|
7
7
|
<dd>
|
8
8
|
|
@@ -14,7 +14,7 @@
|
|
14
14
|
<dl>
|
15
15
|
<dd>
|
16
16
|
|
17
|
-
|
17
|
+
Execute a click interaction in a specific browser window asynchronously
|
18
18
|
|
19
19
|
</dd>
|
20
20
|
</dl>
|
@@ -30,7 +30,9 @@ Creates a new browser window in a session. Optionally, you can specify a url to
|
|
30
30
|
<dd>
|
31
31
|
|
32
32
|
```typescript
|
33
|
-
await client.windows.
|
33
|
+
await client.windows.asyncClick("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
|
34
|
+
elementDescription: "The login button",
|
35
|
+
});
|
34
36
|
```
|
35
37
|
|
36
38
|
</dd>
|
@@ -46,7 +48,7 @@ await client.windows.create("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b");
|
|
46
48
|
<dl>
|
47
49
|
<dd>
|
48
50
|
|
49
|
-
**sessionId:** `string` —
|
51
|
+
**sessionId:** `string` — The session id for the window.
|
50
52
|
|
51
53
|
</dd>
|
52
54
|
</dl>
|
@@ -54,7 +56,15 @@ await client.windows.create("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b");
|
|
54
56
|
<dl>
|
55
57
|
<dd>
|
56
58
|
|
57
|
-
**
|
59
|
+
**windowId:** `string` — The Airtop window id of the browser window.
|
60
|
+
|
61
|
+
</dd>
|
62
|
+
</dl>
|
63
|
+
|
64
|
+
<dl>
|
65
|
+
<dd>
|
66
|
+
|
67
|
+
**request:** `Airtop.AsyncClickRequest`
|
58
68
|
|
59
69
|
</dd>
|
60
70
|
</dl>
|
@@ -73,7 +83,7 @@ await client.windows.create("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b");
|
|
73
83
|
</dl>
|
74
84
|
</details>
|
75
85
|
|
76
|
-
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">
|
86
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncCreateAutomation</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
|
77
87
|
<dl>
|
78
88
|
<dd>
|
79
89
|
|
@@ -85,7 +95,7 @@ await client.windows.create("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b");
|
|
85
95
|
<dl>
|
86
96
|
<dd>
|
87
97
|
|
88
|
-
|
98
|
+
Create an automation of a browser window asynchronously
|
89
99
|
|
90
100
|
</dd>
|
91
101
|
</dl>
|
@@ -101,9 +111,10 @@ Get information about a browser window in a session, including the live view url
|
|
101
111
|
<dd>
|
102
112
|
|
103
113
|
```typescript
|
104
|
-
await client.windows.
|
105
|
-
|
106
|
-
|
114
|
+
await client.windows.asyncCreateAutomation(
|
115
|
+
"6aac6f73-bd89-4a76-ab32-5a6c422e8b0b",
|
116
|
+
"0334da2a-91b0-42c5-6156-76a5eba87430",
|
117
|
+
);
|
107
118
|
```
|
108
119
|
|
109
120
|
</dd>
|
@@ -119,7 +130,7 @@ await client.windows.getWindowInfo("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334
|
|
119
130
|
<dl>
|
120
131
|
<dd>
|
121
132
|
|
122
|
-
**sessionId:** `string` —
|
133
|
+
**sessionId:** `string` — The session id for the window.
|
123
134
|
|
124
135
|
</dd>
|
125
136
|
</dl>
|
@@ -127,7 +138,7 @@ await client.windows.getWindowInfo("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334
|
|
127
138
|
<dl>
|
128
139
|
<dd>
|
129
140
|
|
130
|
-
**windowId:** `string` —
|
141
|
+
**windowId:** `string` — The Airtop window id of the browser window.
|
131
142
|
|
132
143
|
</dd>
|
133
144
|
</dl>
|
@@ -135,7 +146,7 @@ await client.windows.getWindowInfo("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334
|
|
135
146
|
<dl>
|
136
147
|
<dd>
|
137
148
|
|
138
|
-
**request:** `Airtop.
|
149
|
+
**request:** `Airtop.AsyncCreateAutomationRequest`
|
139
150
|
|
140
151
|
</dd>
|
141
152
|
</dl>
|
@@ -154,7 +165,7 @@ await client.windows.getWindowInfo("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334
|
|
154
165
|
</dl>
|
155
166
|
</details>
|
156
167
|
|
157
|
-
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">
|
168
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncExecuteAutomation</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
|
158
169
|
<dl>
|
159
170
|
<dd>
|
160
171
|
|
@@ -166,7 +177,7 @@ await client.windows.getWindowInfo("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334
|
|
166
177
|
<dl>
|
167
178
|
<dd>
|
168
179
|
|
169
|
-
|
180
|
+
Execute an automation of a browser window asynchronously
|
170
181
|
|
171
182
|
</dd>
|
172
183
|
</dl>
|
@@ -182,9 +193,13 @@ Loads a specified url on a given window
|
|
182
193
|
<dd>
|
183
194
|
|
184
195
|
```typescript
|
185
|
-
await client.windows.
|
186
|
-
|
187
|
-
|
196
|
+
await client.windows.asyncExecuteAutomation(
|
197
|
+
"6aac6f73-bd89-4a76-ab32-5a6c422e8b0b",
|
198
|
+
"0334da2a-91b0-42c5-6156-76a5eba87430",
|
199
|
+
{
|
200
|
+
automationId: "automationId",
|
201
|
+
},
|
202
|
+
);
|
188
203
|
```
|
189
204
|
|
190
205
|
</dd>
|
@@ -200,7 +215,7 @@ await client.windows.loadUrl("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334da2a-9
|
|
200
215
|
<dl>
|
201
216
|
<dd>
|
202
217
|
|
203
|
-
**sessionId:** `string` —
|
218
|
+
**sessionId:** `string` — The session id for the window.
|
204
219
|
|
205
220
|
</dd>
|
206
221
|
</dl>
|
@@ -208,7 +223,7 @@ await client.windows.loadUrl("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334da2a-9
|
|
208
223
|
<dl>
|
209
224
|
<dd>
|
210
225
|
|
211
|
-
**windowId:** `string` — Airtop window
|
226
|
+
**windowId:** `string` — The Airtop window id of the browser window.
|
212
227
|
|
213
228
|
</dd>
|
214
229
|
</dl>
|
@@ -216,7 +231,7 @@ await client.windows.loadUrl("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334da2a-9
|
|
216
231
|
<dl>
|
217
232
|
<dd>
|
218
233
|
|
219
|
-
**request:** `Airtop.
|
234
|
+
**request:** `Airtop.AsyncExecuteAutomationRequest`
|
220
235
|
|
221
236
|
</dd>
|
222
237
|
</dl>
|
@@ -235,11 +250,11 @@ await client.windows.loadUrl("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334da2a-9
|
|
235
250
|
</dl>
|
236
251
|
</details>
|
237
252
|
|
238
|
-
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">
|
253
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncHover</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
|
239
254
|
<dl>
|
240
255
|
<dd>
|
241
256
|
|
242
|
-
####
|
257
|
+
#### 🔌 Usage
|
243
258
|
|
244
259
|
<dl>
|
245
260
|
<dd>
|
@@ -247,14 +262,18 @@ await client.windows.loadUrl("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334da2a-9
|
|
247
262
|
<dl>
|
248
263
|
<dd>
|
249
264
|
|
250
|
-
|
265
|
+
```typescript
|
266
|
+
await client.windows.asyncHover("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
|
267
|
+
elementDescription: "The search box input in the top right corner",
|
268
|
+
});
|
269
|
+
```
|
251
270
|
|
252
271
|
</dd>
|
253
272
|
</dl>
|
254
273
|
</dd>
|
255
274
|
</dl>
|
256
275
|
|
257
|
-
####
|
276
|
+
#### ⚙️ Parameters
|
258
277
|
|
259
278
|
<dl>
|
260
279
|
<dd>
|
@@ -262,24 +281,15 @@ Closes a browser window in a session
|
|
262
281
|
<dl>
|
263
282
|
<dd>
|
264
283
|
|
265
|
-
|
266
|
-
await client.windows.close("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334da2a-91b0-42c5-6156-76a5eba87430");
|
267
|
-
```
|
284
|
+
**sessionId:** `string` — The session id for the window.
|
268
285
|
|
269
286
|
</dd>
|
270
287
|
</dl>
|
271
|
-
</dd>
|
272
|
-
</dl>
|
273
|
-
|
274
|
-
#### ⚙️ Parameters
|
275
|
-
|
276
|
-
<dl>
|
277
|
-
<dd>
|
278
288
|
|
279
289
|
<dl>
|
280
290
|
<dd>
|
281
291
|
|
282
|
-
**
|
292
|
+
**windowId:** `string` — The Airtop window id of the browser window.
|
283
293
|
|
284
294
|
</dd>
|
285
295
|
</dl>
|
@@ -287,7 +297,7 @@ await client.windows.close("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334da2a-91b
|
|
287
297
|
<dl>
|
288
298
|
<dd>
|
289
299
|
|
290
|
-
**
|
300
|
+
**request:** `Airtop.AsyncHoverRequest`
|
291
301
|
|
292
302
|
</dd>
|
293
303
|
</dl>
|
@@ -306,25 +316,10 @@ await client.windows.close("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334da2a-91b
|
|
306
316
|
</dl>
|
307
317
|
</details>
|
308
318
|
|
309
|
-
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">
|
310
|
-
<dl>
|
311
|
-
<dd>
|
312
|
-
|
313
|
-
#### 📝 Description
|
314
|
-
|
315
|
-
<dl>
|
316
|
-
<dd>
|
317
|
-
|
319
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncMonitor</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
|
318
320
|
<dl>
|
319
321
|
<dd>
|
320
322
|
|
321
|
-
Execute a click interaction in a specific browser window
|
322
|
-
|
323
|
-
</dd>
|
324
|
-
</dl>
|
325
|
-
</dd>
|
326
|
-
</dl>
|
327
|
-
|
328
323
|
#### 🔌 Usage
|
329
324
|
|
330
325
|
<dl>
|
@@ -334,8 +329,8 @@ Execute a click interaction in a specific browser window
|
|
334
329
|
<dd>
|
335
330
|
|
336
331
|
```typescript
|
337
|
-
await client.windows.
|
338
|
-
|
332
|
+
await client.windows.asyncMonitor("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
|
333
|
+
condition: "Determine if the user appears to be signed in to the website",
|
339
334
|
});
|
340
335
|
```
|
341
336
|
|
@@ -368,7 +363,7 @@ await client.windows.click("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b
|
|
368
363
|
<dl>
|
369
364
|
<dd>
|
370
365
|
|
371
|
-
**request:** `Airtop.
|
366
|
+
**request:** `Airtop.AsyncMonitorRequest`
|
372
367
|
|
373
368
|
</dd>
|
374
369
|
</dl>
|
@@ -387,25 +382,10 @@ await client.windows.click("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b
|
|
387
382
|
</dl>
|
388
383
|
</details>
|
389
384
|
|
390
|
-
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">
|
391
|
-
<dl>
|
392
|
-
<dd>
|
393
|
-
|
394
|
-
#### 📝 Description
|
395
|
-
|
396
|
-
<dl>
|
397
|
-
<dd>
|
398
|
-
|
385
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncPageQuery</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
|
399
386
|
<dl>
|
400
387
|
<dd>
|
401
388
|
|
402
|
-
Execute a hover interaction in a specific browser window
|
403
|
-
|
404
|
-
</dd>
|
405
|
-
</dl>
|
406
|
-
</dd>
|
407
|
-
</dl>
|
408
|
-
|
409
389
|
#### 🔌 Usage
|
410
390
|
|
411
391
|
<dl>
|
@@ -415,8 +395,8 @@ Execute a hover interaction in a specific browser window
|
|
415
395
|
<dd>
|
416
396
|
|
417
397
|
```typescript
|
418
|
-
await client.windows.
|
419
|
-
|
398
|
+
await client.windows.asyncPageQuery("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
|
399
|
+
prompt: "What is the main idea of this page?",
|
420
400
|
});
|
421
401
|
```
|
422
402
|
|
@@ -449,7 +429,7 @@ await client.windows.hover("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b
|
|
449
429
|
<dl>
|
450
430
|
<dd>
|
451
431
|
|
452
|
-
**request:** `Airtop.
|
432
|
+
**request:** `Airtop.AsyncPageQueryRequest`
|
453
433
|
|
454
434
|
</dd>
|
455
435
|
</dl>
|
@@ -468,7 +448,7 @@ await client.windows.hover("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b
|
|
468
448
|
</dl>
|
469
449
|
</details>
|
470
450
|
|
471
|
-
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">
|
451
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncPaginatedExtraction</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
|
472
452
|
<dl>
|
473
453
|
<dd>
|
474
454
|
|
@@ -481,9 +461,13 @@ await client.windows.hover("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b
|
|
481
461
|
<dd>
|
482
462
|
|
483
463
|
```typescript
|
484
|
-
await client.windows.
|
485
|
-
|
486
|
-
|
464
|
+
await client.windows.asyncPaginatedExtraction(
|
465
|
+
"6aac6f73-bd89-4a76-ab32-5a6c422e8b0b",
|
466
|
+
"0334da2a-91b0-42c5-6156-76a5eba87430",
|
467
|
+
{
|
468
|
+
prompt: "This site contains a list of results about <provide details about the list>. Navigate through 3 pages of results and return the title and <provide details about the data you want to extract> about each result in this list.",
|
469
|
+
},
|
470
|
+
);
|
487
471
|
```
|
488
472
|
|
489
473
|
</dd>
|
@@ -515,7 +499,7 @@ await client.windows.monitor("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-9
|
|
515
499
|
<dl>
|
516
500
|
<dd>
|
517
501
|
|
518
|
-
**request:** `Airtop.
|
502
|
+
**request:** `Airtop.AsyncPaginatedExtractionRequest`
|
519
503
|
|
520
504
|
</dd>
|
521
505
|
</dl>
|
@@ -534,7 +518,7 @@ await client.windows.monitor("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-9
|
|
534
518
|
</dl>
|
535
519
|
</details>
|
536
520
|
|
537
|
-
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">
|
521
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncPromptContent</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
|
538
522
|
<dl>
|
539
523
|
<dd>
|
540
524
|
|
@@ -546,7 +530,7 @@ await client.windows.monitor("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-9
|
|
546
530
|
<dl>
|
547
531
|
<dd>
|
548
532
|
|
549
|
-
|
533
|
+
This endpoint is deprecated. Please use the `pageQuery` endpoint instead.
|
550
534
|
|
551
535
|
</dd>
|
552
536
|
</dl>
|
@@ -562,9 +546,13 @@ Submit a prompt that queries the content of a specific browser window. You may e
|
|
562
546
|
<dd>
|
563
547
|
|
564
548
|
```typescript
|
565
|
-
await client.windows.
|
566
|
-
|
567
|
-
|
549
|
+
await client.windows.asyncPromptContent(
|
550
|
+
"6aac6f73-bd89-4a76-ab32-5a6c422e8b0b",
|
551
|
+
"0334da2a-91b0-42c5-6156-76a5eba87430",
|
552
|
+
{
|
553
|
+
prompt: "What is the main idea of this page?",
|
554
|
+
},
|
555
|
+
);
|
568
556
|
```
|
569
557
|
|
570
558
|
</dd>
|
@@ -596,7 +584,7 @@ await client.windows.pageQuery("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a
|
|
596
584
|
<dl>
|
597
585
|
<dd>
|
598
586
|
|
599
|
-
**request:** `Airtop.
|
587
|
+
**request:** `Airtop.AsyncPromptContentRequest`
|
600
588
|
|
601
589
|
</dd>
|
602
590
|
</dl>
|
@@ -615,7 +603,7 @@ await client.windows.pageQuery("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a
|
|
615
603
|
</dl>
|
616
604
|
</details>
|
617
605
|
|
618
|
-
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">
|
606
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncScreenshot</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
|
619
607
|
<dl>
|
620
608
|
<dd>
|
621
609
|
|
@@ -627,7 +615,7 @@ await client.windows.pageQuery("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a
|
|
627
615
|
<dl>
|
628
616
|
<dd>
|
629
617
|
|
630
|
-
|
618
|
+
Take a screenshot of the current viewport of a browser window asynchronously
|
631
619
|
|
632
620
|
</dd>
|
633
621
|
</dl>
|
@@ -643,13 +631,7 @@ Submit a prompt that queries the content of a specific browser window and pagina
|
|
643
631
|
<dd>
|
644
632
|
|
645
633
|
```typescript
|
646
|
-
await client.windows.
|
647
|
-
"6aac6f73-bd89-4a76-ab32-5a6c422e8b0b",
|
648
|
-
"0334da2a-91b0-42c5-6156-76a5eba87430",
|
649
|
-
{
|
650
|
-
prompt: "This site contains a list of results about <provide details about the list>. Navigate through 3 pages of results and return the title and <provide details about the data you want to extract> about each result in this list.",
|
651
|
-
}
|
652
|
-
);
|
634
|
+
await client.windows.asyncScreenshot("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430");
|
653
635
|
```
|
654
636
|
|
655
637
|
</dd>
|
@@ -681,7 +663,7 @@ await client.windows.paginatedExtraction(
|
|
681
663
|
<dl>
|
682
664
|
<dd>
|
683
665
|
|
684
|
-
**request:** `Airtop.
|
666
|
+
**request:** `Airtop.AsyncScreenshotRequest`
|
685
667
|
|
686
668
|
</dd>
|
687
669
|
</dl>
|
@@ -700,7 +682,7 @@ await client.windows.paginatedExtraction(
|
|
700
682
|
</dl>
|
701
683
|
</details>
|
702
684
|
|
703
|
-
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">
|
685
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncSummarizeContent</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
|
704
686
|
<dl>
|
705
687
|
<dd>
|
706
688
|
|
@@ -712,7 +694,7 @@ await client.windows.paginatedExtraction(
|
|
712
694
|
<dl>
|
713
695
|
<dd>
|
714
696
|
|
715
|
-
This endpoint is deprecated. Please use the `pageQuery` endpoint instead.
|
697
|
+
This endpoint is deprecated. Please use the `pageQuery` endpoint and ask for a summary in the prompt instead.
|
716
698
|
|
717
699
|
</dd>
|
718
700
|
</dl>
|
@@ -728,9 +710,10 @@ This endpoint is deprecated. Please use the `pageQuery` endpoint instead.
|
|
728
710
|
<dd>
|
729
711
|
|
730
712
|
```typescript
|
731
|
-
await client.windows.
|
732
|
-
|
733
|
-
|
713
|
+
await client.windows.asyncSummarizeContent(
|
714
|
+
"6aac6f73-bd89-4a76-ab32-5a6c422e8b0b",
|
715
|
+
"0334da2a-91b0-42c5-6156-76a5eba87430",
|
716
|
+
);
|
734
717
|
```
|
735
718
|
|
736
719
|
</dd>
|
@@ -754,7 +737,7 @@ await client.windows.promptContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334
|
|
754
737
|
<dl>
|
755
738
|
<dd>
|
756
739
|
|
757
|
-
**windowId:** `string` — The Airtop window id of the browser window.
|
740
|
+
**windowId:** `string` — The Airtop window id of the browser window to summarize.
|
758
741
|
|
759
742
|
</dd>
|
760
743
|
</dl>
|
@@ -762,7 +745,7 @@ await client.windows.promptContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334
|
|
762
745
|
<dl>
|
763
746
|
<dd>
|
764
747
|
|
765
|
-
**request:** `Airtop.
|
748
|
+
**request:** `Airtop.AsyncSummarizeContentRequest`
|
766
749
|
|
767
750
|
</dd>
|
768
751
|
</dl>
|
@@ -781,25 +764,10 @@ await client.windows.promptContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334
|
|
781
764
|
</dl>
|
782
765
|
</details>
|
783
766
|
|
784
|
-
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">
|
785
|
-
<dl>
|
786
|
-
<dd>
|
787
|
-
|
788
|
-
#### 📝 Description
|
789
|
-
|
790
|
-
<dl>
|
791
|
-
<dd>
|
792
|
-
|
767
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncType</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
|
793
768
|
<dl>
|
794
769
|
<dd>
|
795
770
|
|
796
|
-
Scrape a window and return the content as markdown
|
797
|
-
|
798
|
-
</dd>
|
799
|
-
</dl>
|
800
|
-
</dd>
|
801
|
-
</dl>
|
802
|
-
|
803
771
|
#### 🔌 Usage
|
804
772
|
|
805
773
|
<dl>
|
@@ -809,7 +777,9 @@ Scrape a window and return the content as markdown
|
|
809
777
|
<dd>
|
810
778
|
|
811
779
|
```typescript
|
812
|
-
await client.windows.
|
780
|
+
await client.windows.asyncType("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
|
781
|
+
text: "Example text",
|
782
|
+
});
|
813
783
|
```
|
814
784
|
|
815
785
|
</dd>
|
@@ -833,7 +803,7 @@ await client.windows.scrapeContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334
|
|
833
803
|
<dl>
|
834
804
|
<dd>
|
835
805
|
|
836
|
-
**windowId:** `string` — The Airtop window id of the browser window
|
806
|
+
**windowId:** `string` — The Airtop window id of the browser window.
|
837
807
|
|
838
808
|
</dd>
|
839
809
|
</dl>
|
@@ -841,7 +811,7 @@ await client.windows.scrapeContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334
|
|
841
811
|
<dl>
|
842
812
|
<dd>
|
843
813
|
|
844
|
-
**request:** `Airtop.
|
814
|
+
**request:** `Airtop.AsyncTypeRequest`
|
845
815
|
|
846
816
|
</dd>
|
847
817
|
</dl>
|
@@ -860,7 +830,7 @@ await client.windows.scrapeContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334
|
|
860
830
|
</dl>
|
861
831
|
</details>
|
862
832
|
|
863
|
-
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">
|
833
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">create</a>(sessionId, { ...params }) -> Airtop.WindowIdResponse</code></summary>
|
864
834
|
<dl>
|
865
835
|
<dd>
|
866
836
|
|
@@ -872,7 +842,7 @@ await client.windows.scrapeContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334
|
|
872
842
|
<dl>
|
873
843
|
<dd>
|
874
844
|
|
875
|
-
|
845
|
+
Creates a new browser window in a session. Optionally, you can specify a url to load on the window upon creation.
|
876
846
|
|
877
847
|
</dd>
|
878
848
|
</dl>
|
@@ -888,7 +858,7 @@ Take a screenshot of a browser window
|
|
888
858
|
<dd>
|
889
859
|
|
890
860
|
```typescript
|
891
|
-
await client.windows.
|
861
|
+
await client.windows.create("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b");
|
892
862
|
```
|
893
863
|
|
894
864
|
</dd>
|
@@ -904,15 +874,7 @@ await client.windows.screenshot("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2
|
|
904
874
|
<dl>
|
905
875
|
<dd>
|
906
876
|
|
907
|
-
**sessionId:** `string` —
|
908
|
-
|
909
|
-
</dd>
|
910
|
-
</dl>
|
911
|
-
|
912
|
-
<dl>
|
913
|
-
<dd>
|
914
|
-
|
915
|
-
**windowId:** `string` — The Airtop window id of the browser window.
|
877
|
+
**sessionId:** `string` — ID of the session that owns the window.
|
916
878
|
|
917
879
|
</dd>
|
918
880
|
</dl>
|
@@ -920,7 +882,7 @@ await client.windows.screenshot("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2
|
|
920
882
|
<dl>
|
921
883
|
<dd>
|
922
884
|
|
923
|
-
**request:** `Airtop.
|
885
|
+
**request:** `Airtop.CreateWindowInputV1Body`
|
924
886
|
|
925
887
|
</dd>
|
926
888
|
</dl>
|
@@ -939,7 +901,7 @@ await client.windows.screenshot("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2
|
|
939
901
|
</dl>
|
940
902
|
</details>
|
941
903
|
|
942
|
-
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">
|
904
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">getWindowInfo</a>(sessionId, windowId, { ...params }) -> Airtop.WindowResponse</code></summary>
|
943
905
|
<dl>
|
944
906
|
<dd>
|
945
907
|
|
@@ -951,7 +913,7 @@ await client.windows.screenshot("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2
|
|
951
913
|
<dl>
|
952
914
|
<dd>
|
953
915
|
|
954
|
-
|
916
|
+
Get information about a browser window in a session, including the live view url.
|
955
917
|
|
956
918
|
</dd>
|
957
919
|
</dl>
|
@@ -967,7 +929,9 @@ Execute a scroll interaction in a specific browser window
|
|
967
929
|
<dd>
|
968
930
|
|
969
931
|
```typescript
|
970
|
-
await client.windows.
|
932
|
+
await client.windows.getWindowInfo("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334da2a-91b0-42c5-6156-76a5eba87430", {
|
933
|
+
screenResolution: "1280x720",
|
934
|
+
});
|
971
935
|
```
|
972
936
|
|
973
937
|
</dd>
|
@@ -983,7 +947,7 @@ await client.windows.scroll("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91
|
|
983
947
|
<dl>
|
984
948
|
<dd>
|
985
949
|
|
986
|
-
**sessionId:** `string` —
|
950
|
+
**sessionId:** `string` — ID of the session that owns the window.
|
987
951
|
|
988
952
|
</dd>
|
989
953
|
</dl>
|
@@ -991,7 +955,7 @@ await client.windows.scroll("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91
|
|
991
955
|
<dl>
|
992
956
|
<dd>
|
993
957
|
|
994
|
-
**windowId:** `string` —
|
958
|
+
**windowId:** `string` — ID of the browser window, which can either be a normal AirTop windowId or a [CDP TargetId](https://chromedevtools.github.io/devtools-protocol/tot/Target/#type-TargetID) from a browser automation library like Puppeteer (typically associated with the page or main frame). Our SDKs will handle retrieving a TargetId for you from various popular browser automation libraries, but we also have details in our guides on how to do it manually.
|
995
959
|
|
996
960
|
</dd>
|
997
961
|
</dl>
|
@@ -999,7 +963,7 @@ await client.windows.scroll("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91
|
|
999
963
|
<dl>
|
1000
964
|
<dd>
|
1001
965
|
|
1002
|
-
**request:** `Airtop.
|
966
|
+
**request:** `Airtop.GetWindowInfoRequest`
|
1003
967
|
|
1004
968
|
</dd>
|
1005
969
|
</dl>
|
@@ -1018,7 +982,7 @@ await client.windows.scroll("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91
|
|
1018
982
|
</dl>
|
1019
983
|
</details>
|
1020
984
|
|
1021
|
-
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">
|
985
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">loadUrl</a>(sessionId, windowId, { ...params }) -> Airtop.OperationOutcomeResponse</code></summary>
|
1022
986
|
<dl>
|
1023
987
|
<dd>
|
1024
988
|
|
@@ -1030,7 +994,7 @@ await client.windows.scroll("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91
|
|
1030
994
|
<dl>
|
1031
995
|
<dd>
|
1032
996
|
|
1033
|
-
|
997
|
+
Loads a specified url on a given window
|
1034
998
|
|
1035
999
|
</dd>
|
1036
1000
|
</dl>
|
@@ -1046,7 +1010,9 @@ This endpoint is deprecated. Please use the `pageQuery` endpoint and ask for a s
|
|
1046
1010
|
<dd>
|
1047
1011
|
|
1048
1012
|
```typescript
|
1049
|
-
await client.windows.
|
1013
|
+
await client.windows.loadUrl("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334da2a-91b0-42c5-6156-76a5eba87430", {
|
1014
|
+
url: "https://www.airtop.ai",
|
1015
|
+
});
|
1050
1016
|
```
|
1051
1017
|
|
1052
1018
|
</dd>
|
@@ -1062,7 +1028,7 @@ await client.windows.summarizeContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0
|
|
1062
1028
|
<dl>
|
1063
1029
|
<dd>
|
1064
1030
|
|
1065
|
-
**sessionId:** `string` —
|
1031
|
+
**sessionId:** `string` — ID of the session that owns the window.
|
1066
1032
|
|
1067
1033
|
</dd>
|
1068
1034
|
</dl>
|
@@ -1070,7 +1036,7 @@ await client.windows.summarizeContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0
|
|
1070
1036
|
<dl>
|
1071
1037
|
<dd>
|
1072
1038
|
|
1073
|
-
**windowId:** `string` —
|
1039
|
+
**windowId:** `string` — Airtop window ID of the browser window.
|
1074
1040
|
|
1075
1041
|
</dd>
|
1076
1042
|
</dl>
|
@@ -1078,7 +1044,7 @@ await client.windows.summarizeContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0
|
|
1078
1044
|
<dl>
|
1079
1045
|
<dd>
|
1080
1046
|
|
1081
|
-
**request:** `Airtop.
|
1047
|
+
**request:** `Airtop.WindowLoadUrlV1Body`
|
1082
1048
|
|
1083
1049
|
</dd>
|
1084
1050
|
</dl>
|
@@ -1097,7 +1063,7 @@ await client.windows.summarizeContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0
|
|
1097
1063
|
</dl>
|
1098
1064
|
</details>
|
1099
1065
|
|
1100
|
-
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">
|
1066
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">close</a>(sessionId, windowId) -> Airtop.WindowIdResponse</code></summary>
|
1101
1067
|
<dl>
|
1102
1068
|
<dd>
|
1103
1069
|
|
@@ -1109,7 +1075,7 @@ await client.windows.summarizeContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0
|
|
1109
1075
|
<dl>
|
1110
1076
|
<dd>
|
1111
1077
|
|
1112
|
-
|
1078
|
+
Closes a browser window in a session
|
1113
1079
|
|
1114
1080
|
</dd>
|
1115
1081
|
</dl>
|
@@ -1125,9 +1091,7 @@ Execute a type interaction in a specific browser window
|
|
1125
1091
|
<dd>
|
1126
1092
|
|
1127
1093
|
```typescript
|
1128
|
-
await client.windows.
|
1129
|
-
text: "Example text",
|
1130
|
-
});
|
1094
|
+
await client.windows.close("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334da2a-91b0-42c5-6156-76a5eba87430");
|
1131
1095
|
```
|
1132
1096
|
|
1133
1097
|
</dd>
|
@@ -1143,15 +1107,7 @@ await client.windows.type("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0
|
|
1143
1107
|
<dl>
|
1144
1108
|
<dd>
|
1145
1109
|
|
1146
|
-
**sessionId:** `string` —
|
1147
|
-
|
1148
|
-
</dd>
|
1149
|
-
</dl>
|
1150
|
-
|
1151
|
-
<dl>
|
1152
|
-
<dd>
|
1153
|
-
|
1154
|
-
**windowId:** `string` — The Airtop window id of the browser window.
|
1110
|
+
**sessionId:** `string` — ID of the session that owns the window.
|
1155
1111
|
|
1156
1112
|
</dd>
|
1157
1113
|
</dl>
|
@@ -1159,7 +1115,7 @@ await client.windows.type("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0
|
|
1159
1115
|
<dl>
|
1160
1116
|
<dd>
|
1161
1117
|
|
1162
|
-
**
|
1118
|
+
**windowId:** `string` — Airtop window ID of the browser window.
|
1163
1119
|
|
1164
1120
|
</dd>
|
1165
1121
|
</dl>
|
@@ -1178,9 +1134,7 @@ await client.windows.type("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0
|
|
1178
1134
|
</dl>
|
1179
1135
|
</details>
|
1180
1136
|
|
1181
|
-
|
1182
|
-
|
1183
|
-
<details><summary><code>client.profiles.<a href="/src/api/resources/profiles/client/Client.ts">delete</a>({ ...params }) -> void</code></summary>
|
1137
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">click</a>(sessionId, windowId, { ...params }) -> Airtop.AiPromptResponse</code></summary>
|
1184
1138
|
<dl>
|
1185
1139
|
<dd>
|
1186
1140
|
|
@@ -1192,7 +1146,7 @@ await client.windows.type("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0
|
|
1192
1146
|
<dl>
|
1193
1147
|
<dd>
|
1194
1148
|
|
1195
|
-
|
1149
|
+
Execute a click interaction in a specific browser window
|
1196
1150
|
|
1197
1151
|
</dd>
|
1198
1152
|
</dl>
|
@@ -1208,7 +1162,9 @@ Delete profiles matching by id
|
|
1208
1162
|
<dd>
|
1209
1163
|
|
1210
1164
|
```typescript
|
1211
|
-
await client.
|
1165
|
+
await client.windows.click("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
|
1166
|
+
elementDescription: "The login button",
|
1167
|
+
});
|
1212
1168
|
```
|
1213
1169
|
|
1214
1170
|
</dd>
|
@@ -1224,7 +1180,7 @@ await client.profiles.delete();
|
|
1224
1180
|
<dl>
|
1225
1181
|
<dd>
|
1226
1182
|
|
1227
|
-
**
|
1183
|
+
**sessionId:** `string` — The session id for the window.
|
1228
1184
|
|
1229
1185
|
</dd>
|
1230
1186
|
</dl>
|
@@ -1232,16 +1188,1816 @@ await client.profiles.delete();
|
|
1232
1188
|
<dl>
|
1233
1189
|
<dd>
|
1234
1190
|
|
1235
|
-
**
|
1191
|
+
**windowId:** `string` — The Airtop window id of the browser window.
|
1236
1192
|
|
1237
|
-
</dd>
|
1238
|
-
</dl>
|
1239
1193
|
</dd>
|
1240
1194
|
</dl>
|
1241
1195
|
|
1242
|
-
|
1243
|
-
|
1244
|
-
|
1196
|
+
<dl>
|
1197
|
+
<dd>
|
1198
|
+
|
1199
|
+
**request:** `Airtop.SessionClickHandlerRequestBody`
|
1200
|
+
|
1201
|
+
</dd>
|
1202
|
+
</dl>
|
1203
|
+
|
1204
|
+
<dl>
|
1205
|
+
<dd>
|
1206
|
+
|
1207
|
+
**requestOptions:** `Windows.RequestOptions`
|
1208
|
+
|
1209
|
+
</dd>
|
1210
|
+
</dl>
|
1211
|
+
</dd>
|
1212
|
+
</dl>
|
1213
|
+
|
1214
|
+
</dd>
|
1215
|
+
</dl>
|
1216
|
+
</details>
|
1217
|
+
|
1218
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">hover</a>(sessionId, windowId, { ...params }) -> Airtop.AiPromptResponse</code></summary>
|
1219
|
+
<dl>
|
1220
|
+
<dd>
|
1221
|
+
|
1222
|
+
#### 📝 Description
|
1223
|
+
|
1224
|
+
<dl>
|
1225
|
+
<dd>
|
1226
|
+
|
1227
|
+
<dl>
|
1228
|
+
<dd>
|
1229
|
+
|
1230
|
+
Execute a hover interaction in a specific browser window
|
1231
|
+
|
1232
|
+
</dd>
|
1233
|
+
</dl>
|
1234
|
+
</dd>
|
1235
|
+
</dl>
|
1236
|
+
|
1237
|
+
#### 🔌 Usage
|
1238
|
+
|
1239
|
+
<dl>
|
1240
|
+
<dd>
|
1241
|
+
|
1242
|
+
<dl>
|
1243
|
+
<dd>
|
1244
|
+
|
1245
|
+
```typescript
|
1246
|
+
await client.windows.hover("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
|
1247
|
+
elementDescription: "The search box input in the top right corner",
|
1248
|
+
});
|
1249
|
+
```
|
1250
|
+
|
1251
|
+
</dd>
|
1252
|
+
</dl>
|
1253
|
+
</dd>
|
1254
|
+
</dl>
|
1255
|
+
|
1256
|
+
#### ⚙️ Parameters
|
1257
|
+
|
1258
|
+
<dl>
|
1259
|
+
<dd>
|
1260
|
+
|
1261
|
+
<dl>
|
1262
|
+
<dd>
|
1263
|
+
|
1264
|
+
**sessionId:** `string` — The session id for the window.
|
1265
|
+
|
1266
|
+
</dd>
|
1267
|
+
</dl>
|
1268
|
+
|
1269
|
+
<dl>
|
1270
|
+
<dd>
|
1271
|
+
|
1272
|
+
**windowId:** `string` — The Airtop window id of the browser window.
|
1273
|
+
|
1274
|
+
</dd>
|
1275
|
+
</dl>
|
1276
|
+
|
1277
|
+
<dl>
|
1278
|
+
<dd>
|
1279
|
+
|
1280
|
+
**request:** `Airtop.SessionHoverHandlerRequestBody`
|
1281
|
+
|
1282
|
+
</dd>
|
1283
|
+
</dl>
|
1284
|
+
|
1285
|
+
<dl>
|
1286
|
+
<dd>
|
1287
|
+
|
1288
|
+
**requestOptions:** `Windows.RequestOptions`
|
1289
|
+
|
1290
|
+
</dd>
|
1291
|
+
</dl>
|
1292
|
+
</dd>
|
1293
|
+
</dl>
|
1294
|
+
|
1295
|
+
</dd>
|
1296
|
+
</dl>
|
1297
|
+
</details>
|
1298
|
+
|
1299
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">monitor</a>(sessionId, windowId, { ...params }) -> Airtop.AiPromptResponse</code></summary>
|
1300
|
+
<dl>
|
1301
|
+
<dd>
|
1302
|
+
|
1303
|
+
#### 🔌 Usage
|
1304
|
+
|
1305
|
+
<dl>
|
1306
|
+
<dd>
|
1307
|
+
|
1308
|
+
<dl>
|
1309
|
+
<dd>
|
1310
|
+
|
1311
|
+
```typescript
|
1312
|
+
await client.windows.monitor("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
|
1313
|
+
condition: "Determine if the user appears to be signed in to the website",
|
1314
|
+
});
|
1315
|
+
```
|
1316
|
+
|
1317
|
+
</dd>
|
1318
|
+
</dl>
|
1319
|
+
</dd>
|
1320
|
+
</dl>
|
1321
|
+
|
1322
|
+
#### ⚙️ Parameters
|
1323
|
+
|
1324
|
+
<dl>
|
1325
|
+
<dd>
|
1326
|
+
|
1327
|
+
<dl>
|
1328
|
+
<dd>
|
1329
|
+
|
1330
|
+
**sessionId:** `string` — The session id for the window.
|
1331
|
+
|
1332
|
+
</dd>
|
1333
|
+
</dl>
|
1334
|
+
|
1335
|
+
<dl>
|
1336
|
+
<dd>
|
1337
|
+
|
1338
|
+
**windowId:** `string` — The Airtop window id of the browser window.
|
1339
|
+
|
1340
|
+
</dd>
|
1341
|
+
</dl>
|
1342
|
+
|
1343
|
+
<dl>
|
1344
|
+
<dd>
|
1345
|
+
|
1346
|
+
**request:** `Airtop.SessionMonitorHandlerRequestBody`
|
1347
|
+
|
1348
|
+
</dd>
|
1349
|
+
</dl>
|
1350
|
+
|
1351
|
+
<dl>
|
1352
|
+
<dd>
|
1353
|
+
|
1354
|
+
**requestOptions:** `Windows.RequestOptions`
|
1355
|
+
|
1356
|
+
</dd>
|
1357
|
+
</dl>
|
1358
|
+
</dd>
|
1359
|
+
</dl>
|
1360
|
+
|
1361
|
+
</dd>
|
1362
|
+
</dl>
|
1363
|
+
</details>
|
1364
|
+
|
1365
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">pageQuery</a>(sessionId, windowId, { ...params }) -> Airtop.AiPromptResponse</code></summary>
|
1366
|
+
<dl>
|
1367
|
+
<dd>
|
1368
|
+
|
1369
|
+
#### 📝 Description
|
1370
|
+
|
1371
|
+
<dl>
|
1372
|
+
<dd>
|
1373
|
+
|
1374
|
+
<dl>
|
1375
|
+
<dd>
|
1376
|
+
|
1377
|
+
Submit a prompt that queries the content of a specific browser window. You may extract content from the page, or ask a question about the page and allow the AI to answer it (ex. Is the user logged in?).
|
1378
|
+
|
1379
|
+
</dd>
|
1380
|
+
</dl>
|
1381
|
+
</dd>
|
1382
|
+
</dl>
|
1383
|
+
|
1384
|
+
#### 🔌 Usage
|
1385
|
+
|
1386
|
+
<dl>
|
1387
|
+
<dd>
|
1388
|
+
|
1389
|
+
<dl>
|
1390
|
+
<dd>
|
1391
|
+
|
1392
|
+
```typescript
|
1393
|
+
await client.windows.pageQuery("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
|
1394
|
+
prompt: "What is the main idea of this page?",
|
1395
|
+
});
|
1396
|
+
```
|
1397
|
+
|
1398
|
+
</dd>
|
1399
|
+
</dl>
|
1400
|
+
</dd>
|
1401
|
+
</dl>
|
1402
|
+
|
1403
|
+
#### ⚙️ Parameters
|
1404
|
+
|
1405
|
+
<dl>
|
1406
|
+
<dd>
|
1407
|
+
|
1408
|
+
<dl>
|
1409
|
+
<dd>
|
1410
|
+
|
1411
|
+
**sessionId:** `string` — The session id for the window.
|
1412
|
+
|
1413
|
+
</dd>
|
1414
|
+
</dl>
|
1415
|
+
|
1416
|
+
<dl>
|
1417
|
+
<dd>
|
1418
|
+
|
1419
|
+
**windowId:** `string` — The Airtop window id of the browser window.
|
1420
|
+
|
1421
|
+
</dd>
|
1422
|
+
</dl>
|
1423
|
+
|
1424
|
+
<dl>
|
1425
|
+
<dd>
|
1426
|
+
|
1427
|
+
**request:** `Airtop.SessionPageQueryHandlerRequestBody`
|
1428
|
+
|
1429
|
+
</dd>
|
1430
|
+
</dl>
|
1431
|
+
|
1432
|
+
<dl>
|
1433
|
+
<dd>
|
1434
|
+
|
1435
|
+
**requestOptions:** `Windows.RequestOptions`
|
1436
|
+
|
1437
|
+
</dd>
|
1438
|
+
</dl>
|
1439
|
+
</dd>
|
1440
|
+
</dl>
|
1441
|
+
|
1442
|
+
</dd>
|
1443
|
+
</dl>
|
1444
|
+
</details>
|
1445
|
+
|
1446
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">paginatedExtraction</a>(sessionId, windowId, { ...params }) -> Airtop.AiPromptResponse</code></summary>
|
1447
|
+
<dl>
|
1448
|
+
<dd>
|
1449
|
+
|
1450
|
+
#### 📝 Description
|
1451
|
+
|
1452
|
+
<dl>
|
1453
|
+
<dd>
|
1454
|
+
|
1455
|
+
<dl>
|
1456
|
+
<dd>
|
1457
|
+
|
1458
|
+
Submit a prompt that queries the content of a specific browser window and paginates through pages to return a list of results.
|
1459
|
+
|
1460
|
+
</dd>
|
1461
|
+
</dl>
|
1462
|
+
</dd>
|
1463
|
+
</dl>
|
1464
|
+
|
1465
|
+
#### 🔌 Usage
|
1466
|
+
|
1467
|
+
<dl>
|
1468
|
+
<dd>
|
1469
|
+
|
1470
|
+
<dl>
|
1471
|
+
<dd>
|
1472
|
+
|
1473
|
+
```typescript
|
1474
|
+
await client.windows.paginatedExtraction(
|
1475
|
+
"6aac6f73-bd89-4a76-ab32-5a6c422e8b0b",
|
1476
|
+
"0334da2a-91b0-42c5-6156-76a5eba87430",
|
1477
|
+
{
|
1478
|
+
prompt: "This site contains a list of results about <provide details about the list>. Navigate through 3 pages of results and return the title and <provide details about the data you want to extract> about each result in this list.",
|
1479
|
+
},
|
1480
|
+
);
|
1481
|
+
```
|
1482
|
+
|
1483
|
+
</dd>
|
1484
|
+
</dl>
|
1485
|
+
</dd>
|
1486
|
+
</dl>
|
1487
|
+
|
1488
|
+
#### ⚙️ Parameters
|
1489
|
+
|
1490
|
+
<dl>
|
1491
|
+
<dd>
|
1492
|
+
|
1493
|
+
<dl>
|
1494
|
+
<dd>
|
1495
|
+
|
1496
|
+
**sessionId:** `string` — The session id for the window.
|
1497
|
+
|
1498
|
+
</dd>
|
1499
|
+
</dl>
|
1500
|
+
|
1501
|
+
<dl>
|
1502
|
+
<dd>
|
1503
|
+
|
1504
|
+
**windowId:** `string` — The Airtop window id of the browser window.
|
1505
|
+
|
1506
|
+
</dd>
|
1507
|
+
</dl>
|
1508
|
+
|
1509
|
+
<dl>
|
1510
|
+
<dd>
|
1511
|
+
|
1512
|
+
**request:** `Airtop.SessionPaginatedExtractionHandlerRequestBody`
|
1513
|
+
|
1514
|
+
</dd>
|
1515
|
+
</dl>
|
1516
|
+
|
1517
|
+
<dl>
|
1518
|
+
<dd>
|
1519
|
+
|
1520
|
+
**requestOptions:** `Windows.RequestOptions`
|
1521
|
+
|
1522
|
+
</dd>
|
1523
|
+
</dl>
|
1524
|
+
</dd>
|
1525
|
+
</dl>
|
1526
|
+
|
1527
|
+
</dd>
|
1528
|
+
</dl>
|
1529
|
+
</details>
|
1530
|
+
|
1531
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">promptContent</a>(sessionId, windowId, { ...params }) -> Airtop.AiPromptResponse</code></summary>
|
1532
|
+
<dl>
|
1533
|
+
<dd>
|
1534
|
+
|
1535
|
+
#### 📝 Description
|
1536
|
+
|
1537
|
+
<dl>
|
1538
|
+
<dd>
|
1539
|
+
|
1540
|
+
<dl>
|
1541
|
+
<dd>
|
1542
|
+
|
1543
|
+
This endpoint is deprecated. Please use the `pageQuery` endpoint instead.
|
1544
|
+
|
1545
|
+
</dd>
|
1546
|
+
</dl>
|
1547
|
+
</dd>
|
1548
|
+
</dl>
|
1549
|
+
|
1550
|
+
#### 🔌 Usage
|
1551
|
+
|
1552
|
+
<dl>
|
1553
|
+
<dd>
|
1554
|
+
|
1555
|
+
<dl>
|
1556
|
+
<dd>
|
1557
|
+
|
1558
|
+
```typescript
|
1559
|
+
await client.windows.promptContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
|
1560
|
+
prompt: "What is the main idea of this page?",
|
1561
|
+
});
|
1562
|
+
```
|
1563
|
+
|
1564
|
+
</dd>
|
1565
|
+
</dl>
|
1566
|
+
</dd>
|
1567
|
+
</dl>
|
1568
|
+
|
1569
|
+
#### ⚙️ Parameters
|
1570
|
+
|
1571
|
+
<dl>
|
1572
|
+
<dd>
|
1573
|
+
|
1574
|
+
<dl>
|
1575
|
+
<dd>
|
1576
|
+
|
1577
|
+
**sessionId:** `string` — The session id for the window.
|
1578
|
+
|
1579
|
+
</dd>
|
1580
|
+
</dl>
|
1581
|
+
|
1582
|
+
<dl>
|
1583
|
+
<dd>
|
1584
|
+
|
1585
|
+
**windowId:** `string` — The Airtop window id of the browser window.
|
1586
|
+
|
1587
|
+
</dd>
|
1588
|
+
</dl>
|
1589
|
+
|
1590
|
+
<dl>
|
1591
|
+
<dd>
|
1592
|
+
|
1593
|
+
**request:** `Airtop.SessionPageQueryHandlerRequestBody`
|
1594
|
+
|
1595
|
+
</dd>
|
1596
|
+
</dl>
|
1597
|
+
|
1598
|
+
<dl>
|
1599
|
+
<dd>
|
1600
|
+
|
1601
|
+
**requestOptions:** `Windows.RequestOptions`
|
1602
|
+
|
1603
|
+
</dd>
|
1604
|
+
</dl>
|
1605
|
+
</dd>
|
1606
|
+
</dl>
|
1607
|
+
|
1608
|
+
</dd>
|
1609
|
+
</dl>
|
1610
|
+
</details>
|
1611
|
+
|
1612
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">scrapeContent</a>(sessionId, windowId, { ...params }) -> Airtop.ScrapeResponse</code></summary>
|
1613
|
+
<dl>
|
1614
|
+
<dd>
|
1615
|
+
|
1616
|
+
#### 📝 Description
|
1617
|
+
|
1618
|
+
<dl>
|
1619
|
+
<dd>
|
1620
|
+
|
1621
|
+
<dl>
|
1622
|
+
<dd>
|
1623
|
+
|
1624
|
+
Scrape a window and return the content as markdown
|
1625
|
+
|
1626
|
+
</dd>
|
1627
|
+
</dl>
|
1628
|
+
</dd>
|
1629
|
+
</dl>
|
1630
|
+
|
1631
|
+
#### 🔌 Usage
|
1632
|
+
|
1633
|
+
<dl>
|
1634
|
+
<dd>
|
1635
|
+
|
1636
|
+
<dl>
|
1637
|
+
<dd>
|
1638
|
+
|
1639
|
+
```typescript
|
1640
|
+
await client.windows.scrapeContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430");
|
1641
|
+
```
|
1642
|
+
|
1643
|
+
</dd>
|
1644
|
+
</dl>
|
1645
|
+
</dd>
|
1646
|
+
</dl>
|
1647
|
+
|
1648
|
+
#### ⚙️ Parameters
|
1649
|
+
|
1650
|
+
<dl>
|
1651
|
+
<dd>
|
1652
|
+
|
1653
|
+
<dl>
|
1654
|
+
<dd>
|
1655
|
+
|
1656
|
+
**sessionId:** `string` — The session id for the window.
|
1657
|
+
|
1658
|
+
</dd>
|
1659
|
+
</dl>
|
1660
|
+
|
1661
|
+
<dl>
|
1662
|
+
<dd>
|
1663
|
+
|
1664
|
+
**windowId:** `string` — The Airtop window id of the browser window to scrape.
|
1665
|
+
|
1666
|
+
</dd>
|
1667
|
+
</dl>
|
1668
|
+
|
1669
|
+
<dl>
|
1670
|
+
<dd>
|
1671
|
+
|
1672
|
+
**request:** `Airtop.ScrapeContentRequest`
|
1673
|
+
|
1674
|
+
</dd>
|
1675
|
+
</dl>
|
1676
|
+
|
1677
|
+
<dl>
|
1678
|
+
<dd>
|
1679
|
+
|
1680
|
+
**requestOptions:** `Windows.RequestOptions`
|
1681
|
+
|
1682
|
+
</dd>
|
1683
|
+
</dl>
|
1684
|
+
</dd>
|
1685
|
+
</dl>
|
1686
|
+
|
1687
|
+
</dd>
|
1688
|
+
</dl>
|
1689
|
+
</details>
|
1690
|
+
|
1691
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">screenshot</a>(sessionId, windowId, { ...params }) -> Airtop.AiPromptResponse</code></summary>
|
1692
|
+
<dl>
|
1693
|
+
<dd>
|
1694
|
+
|
1695
|
+
#### 📝 Description
|
1696
|
+
|
1697
|
+
<dl>
|
1698
|
+
<dd>
|
1699
|
+
|
1700
|
+
<dl>
|
1701
|
+
<dd>
|
1702
|
+
|
1703
|
+
Take a screenshot of a browser window
|
1704
|
+
|
1705
|
+
</dd>
|
1706
|
+
</dl>
|
1707
|
+
</dd>
|
1708
|
+
</dl>
|
1709
|
+
|
1710
|
+
#### 🔌 Usage
|
1711
|
+
|
1712
|
+
<dl>
|
1713
|
+
<dd>
|
1714
|
+
|
1715
|
+
<dl>
|
1716
|
+
<dd>
|
1717
|
+
|
1718
|
+
```typescript
|
1719
|
+
await client.windows.screenshot("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430");
|
1720
|
+
```
|
1721
|
+
|
1722
|
+
</dd>
|
1723
|
+
</dl>
|
1724
|
+
</dd>
|
1725
|
+
</dl>
|
1726
|
+
|
1727
|
+
#### ⚙️ Parameters
|
1728
|
+
|
1729
|
+
<dl>
|
1730
|
+
<dd>
|
1731
|
+
|
1732
|
+
<dl>
|
1733
|
+
<dd>
|
1734
|
+
|
1735
|
+
**sessionId:** `string` — The session id for the window.
|
1736
|
+
|
1737
|
+
</dd>
|
1738
|
+
</dl>
|
1739
|
+
|
1740
|
+
<dl>
|
1741
|
+
<dd>
|
1742
|
+
|
1743
|
+
**windowId:** `string` — The Airtop window id of the browser window.
|
1744
|
+
|
1745
|
+
</dd>
|
1746
|
+
</dl>
|
1747
|
+
|
1748
|
+
<dl>
|
1749
|
+
<dd>
|
1750
|
+
|
1751
|
+
**request:** `Airtop.SessionScreenshotHandlerRequestBody`
|
1752
|
+
|
1753
|
+
</dd>
|
1754
|
+
</dl>
|
1755
|
+
|
1756
|
+
<dl>
|
1757
|
+
<dd>
|
1758
|
+
|
1759
|
+
**requestOptions:** `Windows.RequestOptions`
|
1760
|
+
|
1761
|
+
</dd>
|
1762
|
+
</dl>
|
1763
|
+
</dd>
|
1764
|
+
</dl>
|
1765
|
+
|
1766
|
+
</dd>
|
1767
|
+
</dl>
|
1768
|
+
</details>
|
1769
|
+
|
1770
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">scroll</a>(sessionId, windowId, { ...params }) -> Airtop.AiPromptResponse</code></summary>
|
1771
|
+
<dl>
|
1772
|
+
<dd>
|
1773
|
+
|
1774
|
+
#### 📝 Description
|
1775
|
+
|
1776
|
+
<dl>
|
1777
|
+
<dd>
|
1778
|
+
|
1779
|
+
<dl>
|
1780
|
+
<dd>
|
1781
|
+
|
1782
|
+
Execute a scroll interaction in a specific browser window
|
1783
|
+
|
1784
|
+
</dd>
|
1785
|
+
</dl>
|
1786
|
+
</dd>
|
1787
|
+
</dl>
|
1788
|
+
|
1789
|
+
#### 🔌 Usage
|
1790
|
+
|
1791
|
+
<dl>
|
1792
|
+
<dd>
|
1793
|
+
|
1794
|
+
<dl>
|
1795
|
+
<dd>
|
1796
|
+
|
1797
|
+
```typescript
|
1798
|
+
await client.windows.scroll("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430");
|
1799
|
+
```
|
1800
|
+
|
1801
|
+
</dd>
|
1802
|
+
</dl>
|
1803
|
+
</dd>
|
1804
|
+
</dl>
|
1805
|
+
|
1806
|
+
#### ⚙️ Parameters
|
1807
|
+
|
1808
|
+
<dl>
|
1809
|
+
<dd>
|
1810
|
+
|
1811
|
+
<dl>
|
1812
|
+
<dd>
|
1813
|
+
|
1814
|
+
**sessionId:** `string` — The session id for the window.
|
1815
|
+
|
1816
|
+
</dd>
|
1817
|
+
</dl>
|
1818
|
+
|
1819
|
+
<dl>
|
1820
|
+
<dd>
|
1821
|
+
|
1822
|
+
**windowId:** `string` — The Airtop window id of the browser window.
|
1823
|
+
|
1824
|
+
</dd>
|
1825
|
+
</dl>
|
1826
|
+
|
1827
|
+
<dl>
|
1828
|
+
<dd>
|
1829
|
+
|
1830
|
+
**request:** `Airtop.SessionScrollHandlerRequestBody`
|
1831
|
+
|
1832
|
+
</dd>
|
1833
|
+
</dl>
|
1834
|
+
|
1835
|
+
<dl>
|
1836
|
+
<dd>
|
1837
|
+
|
1838
|
+
**requestOptions:** `Windows.RequestOptions`
|
1839
|
+
|
1840
|
+
</dd>
|
1841
|
+
</dl>
|
1842
|
+
</dd>
|
1843
|
+
</dl>
|
1844
|
+
|
1845
|
+
</dd>
|
1846
|
+
</dl>
|
1847
|
+
</details>
|
1848
|
+
|
1849
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">summarizeContent</a>(sessionId, windowId, { ...params }) -> Airtop.AiPromptResponse</code></summary>
|
1850
|
+
<dl>
|
1851
|
+
<dd>
|
1852
|
+
|
1853
|
+
#### 📝 Description
|
1854
|
+
|
1855
|
+
<dl>
|
1856
|
+
<dd>
|
1857
|
+
|
1858
|
+
<dl>
|
1859
|
+
<dd>
|
1860
|
+
|
1861
|
+
This endpoint is deprecated. Please use the `pageQuery` endpoint and ask for a summary in the prompt instead.
|
1862
|
+
|
1863
|
+
</dd>
|
1864
|
+
</dl>
|
1865
|
+
</dd>
|
1866
|
+
</dl>
|
1867
|
+
|
1868
|
+
#### 🔌 Usage
|
1869
|
+
|
1870
|
+
<dl>
|
1871
|
+
<dd>
|
1872
|
+
|
1873
|
+
<dl>
|
1874
|
+
<dd>
|
1875
|
+
|
1876
|
+
```typescript
|
1877
|
+
await client.windows.summarizeContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430");
|
1878
|
+
```
|
1879
|
+
|
1880
|
+
</dd>
|
1881
|
+
</dl>
|
1882
|
+
</dd>
|
1883
|
+
</dl>
|
1884
|
+
|
1885
|
+
#### ⚙️ Parameters
|
1886
|
+
|
1887
|
+
<dl>
|
1888
|
+
<dd>
|
1889
|
+
|
1890
|
+
<dl>
|
1891
|
+
<dd>
|
1892
|
+
|
1893
|
+
**sessionId:** `string` — The session id for the window.
|
1894
|
+
|
1895
|
+
</dd>
|
1896
|
+
</dl>
|
1897
|
+
|
1898
|
+
<dl>
|
1899
|
+
<dd>
|
1900
|
+
|
1901
|
+
**windowId:** `string` — The Airtop window id of the browser window to summarize.
|
1902
|
+
|
1903
|
+
</dd>
|
1904
|
+
</dl>
|
1905
|
+
|
1906
|
+
<dl>
|
1907
|
+
<dd>
|
1908
|
+
|
1909
|
+
**request:** `Airtop.SessionSummaryHandlerRequestBody`
|
1910
|
+
|
1911
|
+
</dd>
|
1912
|
+
</dl>
|
1913
|
+
|
1914
|
+
<dl>
|
1915
|
+
<dd>
|
1916
|
+
|
1917
|
+
**requestOptions:** `Windows.RequestOptions`
|
1918
|
+
|
1919
|
+
</dd>
|
1920
|
+
</dl>
|
1921
|
+
</dd>
|
1922
|
+
</dl>
|
1923
|
+
|
1924
|
+
</dd>
|
1925
|
+
</dl>
|
1926
|
+
</details>
|
1927
|
+
|
1928
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">type</a>(sessionId, windowId, { ...params }) -> Airtop.AiPromptResponse</code></summary>
|
1929
|
+
<dl>
|
1930
|
+
<dd>
|
1931
|
+
|
1932
|
+
#### 📝 Description
|
1933
|
+
|
1934
|
+
<dl>
|
1935
|
+
<dd>
|
1936
|
+
|
1937
|
+
<dl>
|
1938
|
+
<dd>
|
1939
|
+
|
1940
|
+
Execute a type interaction in a specific browser window
|
1941
|
+
|
1942
|
+
</dd>
|
1943
|
+
</dl>
|
1944
|
+
</dd>
|
1945
|
+
</dl>
|
1946
|
+
|
1947
|
+
#### 🔌 Usage
|
1948
|
+
|
1949
|
+
<dl>
|
1950
|
+
<dd>
|
1951
|
+
|
1952
|
+
<dl>
|
1953
|
+
<dd>
|
1954
|
+
|
1955
|
+
```typescript
|
1956
|
+
await client.windows.type("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
|
1957
|
+
text: "Example text",
|
1958
|
+
});
|
1959
|
+
```
|
1960
|
+
|
1961
|
+
</dd>
|
1962
|
+
</dl>
|
1963
|
+
</dd>
|
1964
|
+
</dl>
|
1965
|
+
|
1966
|
+
#### ⚙️ Parameters
|
1967
|
+
|
1968
|
+
<dl>
|
1969
|
+
<dd>
|
1970
|
+
|
1971
|
+
<dl>
|
1972
|
+
<dd>
|
1973
|
+
|
1974
|
+
**sessionId:** `string` — The session id for the window.
|
1975
|
+
|
1976
|
+
</dd>
|
1977
|
+
</dl>
|
1978
|
+
|
1979
|
+
<dl>
|
1980
|
+
<dd>
|
1981
|
+
|
1982
|
+
**windowId:** `string` — The Airtop window id of the browser window.
|
1983
|
+
|
1984
|
+
</dd>
|
1985
|
+
</dl>
|
1986
|
+
|
1987
|
+
<dl>
|
1988
|
+
<dd>
|
1989
|
+
|
1990
|
+
**request:** `Airtop.SessionTypeHandlerRequestBody`
|
1991
|
+
|
1992
|
+
</dd>
|
1993
|
+
</dl>
|
1994
|
+
|
1995
|
+
<dl>
|
1996
|
+
<dd>
|
1997
|
+
|
1998
|
+
**requestOptions:** `Windows.RequestOptions`
|
1999
|
+
|
2000
|
+
</dd>
|
2001
|
+
</dl>
|
2002
|
+
</dd>
|
2003
|
+
</dl>
|
2004
|
+
|
2005
|
+
</dd>
|
2006
|
+
</dl>
|
2007
|
+
</details>
|
2008
|
+
|
2009
|
+
## Automations
|
2010
|
+
|
2011
|
+
<details><summary><code>client.automations.<a href="/src/api/resources/automations/client/Client.ts">listAutomations</a>() -> Airtop.ListAutomationsOutput</code></summary>
|
2012
|
+
<dl>
|
2013
|
+
<dd>
|
2014
|
+
|
2015
|
+
#### 📝 Description
|
2016
|
+
|
2017
|
+
<dl>
|
2018
|
+
<dd>
|
2019
|
+
|
2020
|
+
<dl>
|
2021
|
+
<dd>
|
2022
|
+
|
2023
|
+
List all automations for a given organization
|
2024
|
+
|
2025
|
+
</dd>
|
2026
|
+
</dl>
|
2027
|
+
</dd>
|
2028
|
+
</dl>
|
2029
|
+
|
2030
|
+
#### 🔌 Usage
|
2031
|
+
|
2032
|
+
<dl>
|
2033
|
+
<dd>
|
2034
|
+
|
2035
|
+
<dl>
|
2036
|
+
<dd>
|
2037
|
+
|
2038
|
+
```typescript
|
2039
|
+
await client.automations.listAutomations();
|
2040
|
+
```
|
2041
|
+
|
2042
|
+
</dd>
|
2043
|
+
</dl>
|
2044
|
+
</dd>
|
2045
|
+
</dl>
|
2046
|
+
|
2047
|
+
#### ⚙️ Parameters
|
2048
|
+
|
2049
|
+
<dl>
|
2050
|
+
<dd>
|
2051
|
+
|
2052
|
+
<dl>
|
2053
|
+
<dd>
|
2054
|
+
|
2055
|
+
**requestOptions:** `Automations.RequestOptions`
|
2056
|
+
|
2057
|
+
</dd>
|
2058
|
+
</dl>
|
2059
|
+
</dd>
|
2060
|
+
</dl>
|
2061
|
+
|
2062
|
+
</dd>
|
2063
|
+
</dl>
|
2064
|
+
</details>
|
2065
|
+
|
2066
|
+
<details><summary><code>client.automations.<a href="/src/api/resources/automations/client/Client.ts">updateAutomationDescription</a>({ ...params }) -> Airtop.AutomationOutput</code></summary>
|
2067
|
+
<dl>
|
2068
|
+
<dd>
|
2069
|
+
|
2070
|
+
#### 📝 Description
|
2071
|
+
|
2072
|
+
<dl>
|
2073
|
+
<dd>
|
2074
|
+
|
2075
|
+
<dl>
|
2076
|
+
<dd>
|
2077
|
+
|
2078
|
+
Update the description of a specific automation
|
2079
|
+
|
2080
|
+
</dd>
|
2081
|
+
</dl>
|
2082
|
+
</dd>
|
2083
|
+
</dl>
|
2084
|
+
|
2085
|
+
#### 🔌 Usage
|
2086
|
+
|
2087
|
+
<dl>
|
2088
|
+
<dd>
|
2089
|
+
|
2090
|
+
<dl>
|
2091
|
+
<dd>
|
2092
|
+
|
2093
|
+
```typescript
|
2094
|
+
await client.automations.updateAutomationDescription({
|
2095
|
+
description: "description",
|
2096
|
+
id: "id",
|
2097
|
+
orgId: "orgId",
|
2098
|
+
});
|
2099
|
+
```
|
2100
|
+
|
2101
|
+
</dd>
|
2102
|
+
</dl>
|
2103
|
+
</dd>
|
2104
|
+
</dl>
|
2105
|
+
|
2106
|
+
#### ⚙️ Parameters
|
2107
|
+
|
2108
|
+
<dl>
|
2109
|
+
<dd>
|
2110
|
+
|
2111
|
+
<dl>
|
2112
|
+
<dd>
|
2113
|
+
|
2114
|
+
**request:** `Airtop.UpdateAutomationDescriptionInputBody`
|
2115
|
+
|
2116
|
+
</dd>
|
2117
|
+
</dl>
|
2118
|
+
|
2119
|
+
<dl>
|
2120
|
+
<dd>
|
2121
|
+
|
2122
|
+
**requestOptions:** `Automations.RequestOptions`
|
2123
|
+
|
2124
|
+
</dd>
|
2125
|
+
</dl>
|
2126
|
+
</dd>
|
2127
|
+
</dl>
|
2128
|
+
|
2129
|
+
</dd>
|
2130
|
+
</dl>
|
2131
|
+
</details>
|
2132
|
+
|
2133
|
+
<details><summary><code>client.automations.<a href="/src/api/resources/automations/client/Client.ts">getAutomation</a>(automationId) -> Airtop.AutomationOutput</code></summary>
|
2134
|
+
<dl>
|
2135
|
+
<dd>
|
2136
|
+
|
2137
|
+
#### 📝 Description
|
2138
|
+
|
2139
|
+
<dl>
|
2140
|
+
<dd>
|
2141
|
+
|
2142
|
+
<dl>
|
2143
|
+
<dd>
|
2144
|
+
|
2145
|
+
Get a specific automation by ID
|
2146
|
+
|
2147
|
+
</dd>
|
2148
|
+
</dl>
|
2149
|
+
</dd>
|
2150
|
+
</dl>
|
2151
|
+
|
2152
|
+
#### 🔌 Usage
|
2153
|
+
|
2154
|
+
<dl>
|
2155
|
+
<dd>
|
2156
|
+
|
2157
|
+
<dl>
|
2158
|
+
<dd>
|
2159
|
+
|
2160
|
+
```typescript
|
2161
|
+
await client.automations.getAutomation("automationId");
|
2162
|
+
```
|
2163
|
+
|
2164
|
+
</dd>
|
2165
|
+
</dl>
|
2166
|
+
</dd>
|
2167
|
+
</dl>
|
2168
|
+
|
2169
|
+
#### ⚙️ Parameters
|
2170
|
+
|
2171
|
+
<dl>
|
2172
|
+
<dd>
|
2173
|
+
|
2174
|
+
<dl>
|
2175
|
+
<dd>
|
2176
|
+
|
2177
|
+
**automationId:** `string` — ID of the automation to retrieve
|
2178
|
+
|
2179
|
+
</dd>
|
2180
|
+
</dl>
|
2181
|
+
|
2182
|
+
<dl>
|
2183
|
+
<dd>
|
2184
|
+
|
2185
|
+
**requestOptions:** `Automations.RequestOptions`
|
2186
|
+
|
2187
|
+
</dd>
|
2188
|
+
</dl>
|
2189
|
+
</dd>
|
2190
|
+
</dl>
|
2191
|
+
|
2192
|
+
</dd>
|
2193
|
+
</dl>
|
2194
|
+
</details>
|
2195
|
+
|
2196
|
+
<details><summary><code>client.automations.<a href="/src/api/resources/automations/client/Client.ts">deleteAutomation</a>(automationId) -> Airtop.DeleteAutomationOutputWrapperBody</code></summary>
|
2197
|
+
<dl>
|
2198
|
+
<dd>
|
2199
|
+
|
2200
|
+
#### 📝 Description
|
2201
|
+
|
2202
|
+
<dl>
|
2203
|
+
<dd>
|
2204
|
+
|
2205
|
+
<dl>
|
2206
|
+
<dd>
|
2207
|
+
|
2208
|
+
Delete a specific automation
|
2209
|
+
|
2210
|
+
</dd>
|
2211
|
+
</dl>
|
2212
|
+
</dd>
|
2213
|
+
</dl>
|
2214
|
+
|
2215
|
+
#### 🔌 Usage
|
2216
|
+
|
2217
|
+
<dl>
|
2218
|
+
<dd>
|
2219
|
+
|
2220
|
+
<dl>
|
2221
|
+
<dd>
|
2222
|
+
|
2223
|
+
```typescript
|
2224
|
+
await client.automations.deleteAutomation("automationId");
|
2225
|
+
```
|
2226
|
+
|
2227
|
+
</dd>
|
2228
|
+
</dl>
|
2229
|
+
</dd>
|
2230
|
+
</dl>
|
2231
|
+
|
2232
|
+
#### ⚙️ Parameters
|
2233
|
+
|
2234
|
+
<dl>
|
2235
|
+
<dd>
|
2236
|
+
|
2237
|
+
<dl>
|
2238
|
+
<dd>
|
2239
|
+
|
2240
|
+
**automationId:** `string` — ID of the automation to delete
|
2241
|
+
|
2242
|
+
</dd>
|
2243
|
+
</dl>
|
2244
|
+
|
2245
|
+
<dl>
|
2246
|
+
<dd>
|
2247
|
+
|
2248
|
+
**requestOptions:** `Automations.RequestOptions`
|
2249
|
+
|
2250
|
+
</dd>
|
2251
|
+
</dl>
|
2252
|
+
</dd>
|
2253
|
+
</dl>
|
2254
|
+
|
2255
|
+
</dd>
|
2256
|
+
</dl>
|
2257
|
+
</details>
|
2258
|
+
|
2259
|
+
## Files
|
2260
|
+
|
2261
|
+
<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">list</a>({ ...params }) -> Airtop.FilesResponse</code></summary>
|
2262
|
+
<dl>
|
2263
|
+
<dd>
|
2264
|
+
|
2265
|
+
#### 📝 Description
|
2266
|
+
|
2267
|
+
<dl>
|
2268
|
+
<dd>
|
2269
|
+
|
2270
|
+
<dl>
|
2271
|
+
<dd>
|
2272
|
+
|
2273
|
+
Get a list of files filtered by session ID
|
2274
|
+
|
2275
|
+
</dd>
|
2276
|
+
</dl>
|
2277
|
+
</dd>
|
2278
|
+
</dl>
|
2279
|
+
|
2280
|
+
#### 🔌 Usage
|
2281
|
+
|
2282
|
+
<dl>
|
2283
|
+
<dd>
|
2284
|
+
|
2285
|
+
<dl>
|
2286
|
+
<dd>
|
2287
|
+
|
2288
|
+
```typescript
|
2289
|
+
await client.files.list({
|
2290
|
+
offset: 1,
|
2291
|
+
limit: 10,
|
2292
|
+
});
|
2293
|
+
```
|
2294
|
+
|
2295
|
+
</dd>
|
2296
|
+
</dl>
|
2297
|
+
</dd>
|
2298
|
+
</dl>
|
2299
|
+
|
2300
|
+
#### ⚙️ Parameters
|
2301
|
+
|
2302
|
+
<dl>
|
2303
|
+
<dd>
|
2304
|
+
|
2305
|
+
<dl>
|
2306
|
+
<dd>
|
2307
|
+
|
2308
|
+
**request:** `Airtop.FilesListRequest`
|
2309
|
+
|
2310
|
+
</dd>
|
2311
|
+
</dl>
|
2312
|
+
|
2313
|
+
<dl>
|
2314
|
+
<dd>
|
2315
|
+
|
2316
|
+
**requestOptions:** `Files.RequestOptions`
|
2317
|
+
|
2318
|
+
</dd>
|
2319
|
+
</dl>
|
2320
|
+
</dd>
|
2321
|
+
</dl>
|
2322
|
+
|
2323
|
+
</dd>
|
2324
|
+
</dl>
|
2325
|
+
</details>
|
2326
|
+
|
2327
|
+
<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">create</a>({ ...params }) -> Airtop.EnvelopeCreateFileV1EnvelopeDefaultMeta</code></summary>
|
2328
|
+
<dl>
|
2329
|
+
<dd>
|
2330
|
+
|
2331
|
+
#### 🔌 Usage
|
2332
|
+
|
2333
|
+
<dl>
|
2334
|
+
<dd>
|
2335
|
+
|
2336
|
+
<dl>
|
2337
|
+
<dd>
|
2338
|
+
|
2339
|
+
```typescript
|
2340
|
+
await client.files.create({
|
2341
|
+
fileName: "fileName",
|
2342
|
+
});
|
2343
|
+
```
|
2344
|
+
|
2345
|
+
</dd>
|
2346
|
+
</dl>
|
2347
|
+
</dd>
|
2348
|
+
</dl>
|
2349
|
+
|
2350
|
+
#### ⚙️ Parameters
|
2351
|
+
|
2352
|
+
<dl>
|
2353
|
+
<dd>
|
2354
|
+
|
2355
|
+
<dl>
|
2356
|
+
<dd>
|
2357
|
+
|
2358
|
+
**request:** `Airtop.CreateFileRestInputV1`
|
2359
|
+
|
2360
|
+
</dd>
|
2361
|
+
</dl>
|
2362
|
+
|
2363
|
+
<dl>
|
2364
|
+
<dd>
|
2365
|
+
|
2366
|
+
**requestOptions:** `Files.RequestOptions`
|
2367
|
+
|
2368
|
+
</dd>
|
2369
|
+
</dl>
|
2370
|
+
</dd>
|
2371
|
+
</dl>
|
2372
|
+
|
2373
|
+
</dd>
|
2374
|
+
</dl>
|
2375
|
+
</details>
|
2376
|
+
|
2377
|
+
<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">get</a>(id) -> Airtop.EnvelopeGetFileV1EnvelopeDefaultMeta</code></summary>
|
2378
|
+
<dl>
|
2379
|
+
<dd>
|
2380
|
+
|
2381
|
+
#### 🔌 Usage
|
2382
|
+
|
2383
|
+
<dl>
|
2384
|
+
<dd>
|
2385
|
+
|
2386
|
+
<dl>
|
2387
|
+
<dd>
|
2388
|
+
|
2389
|
+
```typescript
|
2390
|
+
await client.files.get("id");
|
2391
|
+
```
|
2392
|
+
|
2393
|
+
</dd>
|
2394
|
+
</dl>
|
2395
|
+
</dd>
|
2396
|
+
</dl>
|
2397
|
+
|
2398
|
+
#### ⚙️ Parameters
|
2399
|
+
|
2400
|
+
<dl>
|
2401
|
+
<dd>
|
2402
|
+
|
2403
|
+
<dl>
|
2404
|
+
<dd>
|
2405
|
+
|
2406
|
+
**id:** `string` — ID of the file
|
2407
|
+
|
2408
|
+
</dd>
|
2409
|
+
</dl>
|
2410
|
+
|
2411
|
+
<dl>
|
2412
|
+
<dd>
|
2413
|
+
|
2414
|
+
**requestOptions:** `Files.RequestOptions`
|
2415
|
+
|
2416
|
+
</dd>
|
2417
|
+
</dl>
|
2418
|
+
</dd>
|
2419
|
+
</dl>
|
2420
|
+
|
2421
|
+
</dd>
|
2422
|
+
</dl>
|
2423
|
+
</details>
|
2424
|
+
|
2425
|
+
<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">delete</a>(id) -> void</code></summary>
|
2426
|
+
<dl>
|
2427
|
+
<dd>
|
2428
|
+
|
2429
|
+
#### 🔌 Usage
|
2430
|
+
|
2431
|
+
<dl>
|
2432
|
+
<dd>
|
2433
|
+
|
2434
|
+
<dl>
|
2435
|
+
<dd>
|
2436
|
+
|
2437
|
+
```typescript
|
2438
|
+
await client.files.delete("id");
|
2439
|
+
```
|
2440
|
+
|
2441
|
+
</dd>
|
2442
|
+
</dl>
|
2443
|
+
</dd>
|
2444
|
+
</dl>
|
2445
|
+
|
2446
|
+
#### ⚙️ Parameters
|
2447
|
+
|
2448
|
+
<dl>
|
2449
|
+
<dd>
|
2450
|
+
|
2451
|
+
<dl>
|
2452
|
+
<dd>
|
2453
|
+
|
2454
|
+
**id:** `string` — ID of the file
|
2455
|
+
|
2456
|
+
</dd>
|
2457
|
+
</dl>
|
2458
|
+
|
2459
|
+
<dl>
|
2460
|
+
<dd>
|
2461
|
+
|
2462
|
+
**requestOptions:** `Files.RequestOptions`
|
2463
|
+
|
2464
|
+
</dd>
|
2465
|
+
</dl>
|
2466
|
+
</dd>
|
2467
|
+
</dl>
|
2468
|
+
|
2469
|
+
</dd>
|
2470
|
+
</dl>
|
2471
|
+
</details>
|
2472
|
+
|
2473
|
+
## Automations
|
2474
|
+
|
2475
|
+
<details><summary><code>client.automations.<a href="/src/api/resources/automations/client/Client.ts">listAutomations</a>() -> Airtop.ListAutomationsOutput</code></summary>
|
2476
|
+
<dl>
|
2477
|
+
<dd>
|
2478
|
+
|
2479
|
+
#### 📝 Description
|
2480
|
+
|
2481
|
+
<dl>
|
2482
|
+
<dd>
|
2483
|
+
|
2484
|
+
<dl>
|
2485
|
+
<dd>
|
2486
|
+
|
2487
|
+
List all automations for a given organization
|
2488
|
+
|
2489
|
+
</dd>
|
2490
|
+
</dl>
|
2491
|
+
</dd>
|
2492
|
+
</dl>
|
2493
|
+
|
2494
|
+
#### 🔌 Usage
|
2495
|
+
|
2496
|
+
<dl>
|
2497
|
+
<dd>
|
2498
|
+
|
2499
|
+
<dl>
|
2500
|
+
<dd>
|
2501
|
+
|
2502
|
+
```typescript
|
2503
|
+
await client.automations.listAutomations();
|
2504
|
+
```
|
2505
|
+
|
2506
|
+
</dd>
|
2507
|
+
</dl>
|
2508
|
+
</dd>
|
2509
|
+
</dl>
|
2510
|
+
|
2511
|
+
#### ⚙️ Parameters
|
2512
|
+
|
2513
|
+
<dl>
|
2514
|
+
<dd>
|
2515
|
+
|
2516
|
+
<dl>
|
2517
|
+
<dd>
|
2518
|
+
|
2519
|
+
**requestOptions:** `Automations.RequestOptions`
|
2520
|
+
|
2521
|
+
</dd>
|
2522
|
+
</dl>
|
2523
|
+
</dd>
|
2524
|
+
</dl>
|
2525
|
+
|
2526
|
+
</dd>
|
2527
|
+
</dl>
|
2528
|
+
</details>
|
2529
|
+
|
2530
|
+
<details><summary><code>client.automations.<a href="/src/api/resources/automations/client/Client.ts">updateAutomationDescription</a>({ ...params }) -> Airtop.AutomationOutput</code></summary>
|
2531
|
+
<dl>
|
2532
|
+
<dd>
|
2533
|
+
|
2534
|
+
#### 📝 Description
|
2535
|
+
|
2536
|
+
<dl>
|
2537
|
+
<dd>
|
2538
|
+
|
2539
|
+
<dl>
|
2540
|
+
<dd>
|
2541
|
+
|
2542
|
+
Update the description of a specific automation
|
2543
|
+
|
2544
|
+
</dd>
|
2545
|
+
</dl>
|
2546
|
+
</dd>
|
2547
|
+
</dl>
|
2548
|
+
|
2549
|
+
#### 🔌 Usage
|
2550
|
+
|
2551
|
+
<dl>
|
2552
|
+
<dd>
|
2553
|
+
|
2554
|
+
<dl>
|
2555
|
+
<dd>
|
2556
|
+
|
2557
|
+
```typescript
|
2558
|
+
await client.automations.updateAutomationDescription({
|
2559
|
+
description: "description",
|
2560
|
+
id: "id",
|
2561
|
+
orgId: "orgId",
|
2562
|
+
});
|
2563
|
+
```
|
2564
|
+
|
2565
|
+
</dd>
|
2566
|
+
</dl>
|
2567
|
+
</dd>
|
2568
|
+
</dl>
|
2569
|
+
|
2570
|
+
#### ⚙️ Parameters
|
2571
|
+
|
2572
|
+
<dl>
|
2573
|
+
<dd>
|
2574
|
+
|
2575
|
+
<dl>
|
2576
|
+
<dd>
|
2577
|
+
|
2578
|
+
**request:** `Airtop.UpdateAutomationDescriptionInputBody`
|
2579
|
+
|
2580
|
+
</dd>
|
2581
|
+
</dl>
|
2582
|
+
|
2583
|
+
<dl>
|
2584
|
+
<dd>
|
2585
|
+
|
2586
|
+
**requestOptions:** `Automations.RequestOptions`
|
2587
|
+
|
2588
|
+
</dd>
|
2589
|
+
</dl>
|
2590
|
+
</dd>
|
2591
|
+
</dl>
|
2592
|
+
|
2593
|
+
</dd>
|
2594
|
+
</dl>
|
2595
|
+
</details>
|
2596
|
+
|
2597
|
+
<details><summary><code>client.automations.<a href="/src/api/resources/automations/client/Client.ts">getAutomation</a>(automationId) -> Airtop.AutomationOutput</code></summary>
|
2598
|
+
<dl>
|
2599
|
+
<dd>
|
2600
|
+
|
2601
|
+
#### 📝 Description
|
2602
|
+
|
2603
|
+
<dl>
|
2604
|
+
<dd>
|
2605
|
+
|
2606
|
+
<dl>
|
2607
|
+
<dd>
|
2608
|
+
|
2609
|
+
Get a specific automation by ID
|
2610
|
+
|
2611
|
+
</dd>
|
2612
|
+
</dl>
|
2613
|
+
</dd>
|
2614
|
+
</dl>
|
2615
|
+
|
2616
|
+
#### 🔌 Usage
|
2617
|
+
|
2618
|
+
<dl>
|
2619
|
+
<dd>
|
2620
|
+
|
2621
|
+
<dl>
|
2622
|
+
<dd>
|
2623
|
+
|
2624
|
+
```typescript
|
2625
|
+
await client.automations.getAutomation("automationId");
|
2626
|
+
```
|
2627
|
+
|
2628
|
+
</dd>
|
2629
|
+
</dl>
|
2630
|
+
</dd>
|
2631
|
+
</dl>
|
2632
|
+
|
2633
|
+
#### ⚙️ Parameters
|
2634
|
+
|
2635
|
+
<dl>
|
2636
|
+
<dd>
|
2637
|
+
|
2638
|
+
<dl>
|
2639
|
+
<dd>
|
2640
|
+
|
2641
|
+
**automationId:** `string` — ID of the automation to retrieve
|
2642
|
+
|
2643
|
+
</dd>
|
2644
|
+
</dl>
|
2645
|
+
|
2646
|
+
<dl>
|
2647
|
+
<dd>
|
2648
|
+
|
2649
|
+
**requestOptions:** `Automations.RequestOptions`
|
2650
|
+
|
2651
|
+
</dd>
|
2652
|
+
</dl>
|
2653
|
+
</dd>
|
2654
|
+
</dl>
|
2655
|
+
|
2656
|
+
</dd>
|
2657
|
+
</dl>
|
2658
|
+
</details>
|
2659
|
+
|
2660
|
+
<details><summary><code>client.automations.<a href="/src/api/resources/automations/client/Client.ts">deleteAutomation</a>(automationId) -> Airtop.DeleteAutomationOutputWrapperBody</code></summary>
|
2661
|
+
<dl>
|
2662
|
+
<dd>
|
2663
|
+
|
2664
|
+
#### 📝 Description
|
2665
|
+
|
2666
|
+
<dl>
|
2667
|
+
<dd>
|
2668
|
+
|
2669
|
+
<dl>
|
2670
|
+
<dd>
|
2671
|
+
|
2672
|
+
Delete a specific automation
|
2673
|
+
|
2674
|
+
</dd>
|
2675
|
+
</dl>
|
2676
|
+
</dd>
|
2677
|
+
</dl>
|
2678
|
+
|
2679
|
+
#### 🔌 Usage
|
2680
|
+
|
2681
|
+
<dl>
|
2682
|
+
<dd>
|
2683
|
+
|
2684
|
+
<dl>
|
2685
|
+
<dd>
|
2686
|
+
|
2687
|
+
```typescript
|
2688
|
+
await client.automations.deleteAutomation("automationId");
|
2689
|
+
```
|
2690
|
+
|
2691
|
+
</dd>
|
2692
|
+
</dl>
|
2693
|
+
</dd>
|
2694
|
+
</dl>
|
2695
|
+
|
2696
|
+
#### ⚙️ Parameters
|
2697
|
+
|
2698
|
+
<dl>
|
2699
|
+
<dd>
|
2700
|
+
|
2701
|
+
<dl>
|
2702
|
+
<dd>
|
2703
|
+
|
2704
|
+
**automationId:** `string` — ID of the automation to delete
|
2705
|
+
|
2706
|
+
</dd>
|
2707
|
+
</dl>
|
2708
|
+
|
2709
|
+
<dl>
|
2710
|
+
<dd>
|
2711
|
+
|
2712
|
+
**requestOptions:** `Automations.RequestOptions`
|
2713
|
+
|
2714
|
+
</dd>
|
2715
|
+
</dl>
|
2716
|
+
</dd>
|
2717
|
+
</dl>
|
2718
|
+
|
2719
|
+
</dd>
|
2720
|
+
</dl>
|
2721
|
+
</details>
|
2722
|
+
|
2723
|
+
## Files
|
2724
|
+
|
2725
|
+
<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">list</a>({ ...params }) -> Airtop.FilesResponse</code></summary>
|
2726
|
+
<dl>
|
2727
|
+
<dd>
|
2728
|
+
|
2729
|
+
#### 📝 Description
|
2730
|
+
|
2731
|
+
<dl>
|
2732
|
+
<dd>
|
2733
|
+
|
2734
|
+
<dl>
|
2735
|
+
<dd>
|
2736
|
+
|
2737
|
+
Get a list of files filtered by session ID
|
2738
|
+
|
2739
|
+
</dd>
|
2740
|
+
</dl>
|
2741
|
+
</dd>
|
2742
|
+
</dl>
|
2743
|
+
|
2744
|
+
#### 🔌 Usage
|
2745
|
+
|
2746
|
+
<dl>
|
2747
|
+
<dd>
|
2748
|
+
|
2749
|
+
<dl>
|
2750
|
+
<dd>
|
2751
|
+
|
2752
|
+
```typescript
|
2753
|
+
await client.files.list({
|
2754
|
+
offset: 1,
|
2755
|
+
limit: 10,
|
2756
|
+
});
|
2757
|
+
```
|
2758
|
+
|
2759
|
+
</dd>
|
2760
|
+
</dl>
|
2761
|
+
</dd>
|
2762
|
+
</dl>
|
2763
|
+
|
2764
|
+
#### ⚙️ Parameters
|
2765
|
+
|
2766
|
+
<dl>
|
2767
|
+
<dd>
|
2768
|
+
|
2769
|
+
<dl>
|
2770
|
+
<dd>
|
2771
|
+
|
2772
|
+
**request:** `Airtop.FilesListRequest`
|
2773
|
+
|
2774
|
+
</dd>
|
2775
|
+
</dl>
|
2776
|
+
|
2777
|
+
<dl>
|
2778
|
+
<dd>
|
2779
|
+
|
2780
|
+
**requestOptions:** `Files.RequestOptions`
|
2781
|
+
|
2782
|
+
</dd>
|
2783
|
+
</dl>
|
2784
|
+
</dd>
|
2785
|
+
</dl>
|
2786
|
+
|
2787
|
+
</dd>
|
2788
|
+
</dl>
|
2789
|
+
</details>
|
2790
|
+
|
2791
|
+
<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">create</a>({ ...params }) -> Airtop.EnvelopeCreateFileV1EnvelopeDefaultMeta</code></summary>
|
2792
|
+
<dl>
|
2793
|
+
<dd>
|
2794
|
+
|
2795
|
+
#### 🔌 Usage
|
2796
|
+
|
2797
|
+
<dl>
|
2798
|
+
<dd>
|
2799
|
+
|
2800
|
+
<dl>
|
2801
|
+
<dd>
|
2802
|
+
|
2803
|
+
```typescript
|
2804
|
+
await client.files.create({
|
2805
|
+
fileName: "fileName",
|
2806
|
+
});
|
2807
|
+
```
|
2808
|
+
|
2809
|
+
</dd>
|
2810
|
+
</dl>
|
2811
|
+
</dd>
|
2812
|
+
</dl>
|
2813
|
+
|
2814
|
+
#### ⚙️ Parameters
|
2815
|
+
|
2816
|
+
<dl>
|
2817
|
+
<dd>
|
2818
|
+
|
2819
|
+
<dl>
|
2820
|
+
<dd>
|
2821
|
+
|
2822
|
+
**request:** `Airtop.CreateFileRestInputV1`
|
2823
|
+
|
2824
|
+
</dd>
|
2825
|
+
</dl>
|
2826
|
+
|
2827
|
+
<dl>
|
2828
|
+
<dd>
|
2829
|
+
|
2830
|
+
**requestOptions:** `Files.RequestOptions`
|
2831
|
+
|
2832
|
+
</dd>
|
2833
|
+
</dl>
|
2834
|
+
</dd>
|
2835
|
+
</dl>
|
2836
|
+
|
2837
|
+
</dd>
|
2838
|
+
</dl>
|
2839
|
+
</details>
|
2840
|
+
|
2841
|
+
<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">get</a>(id) -> Airtop.EnvelopeGetFileV1EnvelopeDefaultMeta</code></summary>
|
2842
|
+
<dl>
|
2843
|
+
<dd>
|
2844
|
+
|
2845
|
+
#### 🔌 Usage
|
2846
|
+
|
2847
|
+
<dl>
|
2848
|
+
<dd>
|
2849
|
+
|
2850
|
+
<dl>
|
2851
|
+
<dd>
|
2852
|
+
|
2853
|
+
```typescript
|
2854
|
+
await client.files.get("id");
|
2855
|
+
```
|
2856
|
+
|
2857
|
+
</dd>
|
2858
|
+
</dl>
|
2859
|
+
</dd>
|
2860
|
+
</dl>
|
2861
|
+
|
2862
|
+
#### ⚙️ Parameters
|
2863
|
+
|
2864
|
+
<dl>
|
2865
|
+
<dd>
|
2866
|
+
|
2867
|
+
<dl>
|
2868
|
+
<dd>
|
2869
|
+
|
2870
|
+
**id:** `string` — ID of the file
|
2871
|
+
|
2872
|
+
</dd>
|
2873
|
+
</dl>
|
2874
|
+
|
2875
|
+
<dl>
|
2876
|
+
<dd>
|
2877
|
+
|
2878
|
+
**requestOptions:** `Files.RequestOptions`
|
2879
|
+
|
2880
|
+
</dd>
|
2881
|
+
</dl>
|
2882
|
+
</dd>
|
2883
|
+
</dl>
|
2884
|
+
|
2885
|
+
</dd>
|
2886
|
+
</dl>
|
2887
|
+
</details>
|
2888
|
+
|
2889
|
+
<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">delete</a>(id) -> void</code></summary>
|
2890
|
+
<dl>
|
2891
|
+
<dd>
|
2892
|
+
|
2893
|
+
#### 🔌 Usage
|
2894
|
+
|
2895
|
+
<dl>
|
2896
|
+
<dd>
|
2897
|
+
|
2898
|
+
<dl>
|
2899
|
+
<dd>
|
2900
|
+
|
2901
|
+
```typescript
|
2902
|
+
await client.files.delete("id");
|
2903
|
+
```
|
2904
|
+
|
2905
|
+
</dd>
|
2906
|
+
</dl>
|
2907
|
+
</dd>
|
2908
|
+
</dl>
|
2909
|
+
|
2910
|
+
#### ⚙️ Parameters
|
2911
|
+
|
2912
|
+
<dl>
|
2913
|
+
<dd>
|
2914
|
+
|
2915
|
+
<dl>
|
2916
|
+
<dd>
|
2917
|
+
|
2918
|
+
**id:** `string` — ID of the file
|
2919
|
+
|
2920
|
+
</dd>
|
2921
|
+
</dl>
|
2922
|
+
|
2923
|
+
<dl>
|
2924
|
+
<dd>
|
2925
|
+
|
2926
|
+
**requestOptions:** `Files.RequestOptions`
|
2927
|
+
|
2928
|
+
</dd>
|
2929
|
+
</dl>
|
2930
|
+
</dd>
|
2931
|
+
</dl>
|
2932
|
+
|
2933
|
+
</dd>
|
2934
|
+
</dl>
|
2935
|
+
</details>
|
2936
|
+
|
2937
|
+
## Profiles
|
2938
|
+
|
2939
|
+
<details><summary><code>client.profiles.<a href="/src/api/resources/profiles/client/Client.ts">delete</a>({ ...params }) -> void</code></summary>
|
2940
|
+
<dl>
|
2941
|
+
<dd>
|
2942
|
+
|
2943
|
+
#### 📝 Description
|
2944
|
+
|
2945
|
+
<dl>
|
2946
|
+
<dd>
|
2947
|
+
|
2948
|
+
<dl>
|
2949
|
+
<dd>
|
2950
|
+
|
2951
|
+
Delete profiles matching by id
|
2952
|
+
|
2953
|
+
</dd>
|
2954
|
+
</dl>
|
2955
|
+
</dd>
|
2956
|
+
</dl>
|
2957
|
+
|
2958
|
+
#### 🔌 Usage
|
2959
|
+
|
2960
|
+
<dl>
|
2961
|
+
<dd>
|
2962
|
+
|
2963
|
+
<dl>
|
2964
|
+
<dd>
|
2965
|
+
|
2966
|
+
```typescript
|
2967
|
+
await client.profiles.delete();
|
2968
|
+
```
|
2969
|
+
|
2970
|
+
</dd>
|
2971
|
+
</dl>
|
2972
|
+
</dd>
|
2973
|
+
</dl>
|
2974
|
+
|
2975
|
+
#### ⚙️ Parameters
|
2976
|
+
|
2977
|
+
<dl>
|
2978
|
+
<dd>
|
2979
|
+
|
2980
|
+
<dl>
|
2981
|
+
<dd>
|
2982
|
+
|
2983
|
+
**request:** `Airtop.ProfilesDeleteRequest`
|
2984
|
+
|
2985
|
+
</dd>
|
2986
|
+
</dl>
|
2987
|
+
|
2988
|
+
<dl>
|
2989
|
+
<dd>
|
2990
|
+
|
2991
|
+
**requestOptions:** `Profiles.RequestOptions`
|
2992
|
+
|
2993
|
+
</dd>
|
2994
|
+
</dl>
|
2995
|
+
</dd>
|
2996
|
+
</dl>
|
2997
|
+
|
2998
|
+
</dd>
|
2999
|
+
</dl>
|
3000
|
+
</details>
|
1245
3001
|
|
1246
3002
|
## Requests
|
1247
3003
|
|
@@ -1307,7 +3063,8 @@ await client.requests.getRequestStatus("123e4567-e89b-12d3-a456-426614174000");
|
|
1307
3063
|
<dl>
|
1308
3064
|
<dd>
|
1309
3065
|
|
1310
|
-
Get a list of sessions by ID
|
3066
|
+
Get a paginated list of sessions filtered by ID or status
|
3067
|
+
Get a paginated list of sessions filtered by ID or status
|
1311
3068
|
|
1312
3069
|
</dd>
|
1313
3070
|
</dl>
|
@@ -1535,6 +3292,83 @@ await client.sessions.terminate("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b");
|
|
1535
3292
|
</dl>
|
1536
3293
|
</details>
|
1537
3294
|
|
3295
|
+
<details><summary><code>client.sessions.<a href="/src/api/resources/sessions/client/Client.ts">events</a>(id, { ...params }) -> core.Stream<Airtop.SessionsEventsResponse></code></summary>
|
3296
|
+
<dl>
|
3297
|
+
<dd>
|
3298
|
+
|
3299
|
+
#### 📝 Description
|
3300
|
+
|
3301
|
+
<dl>
|
3302
|
+
<dd>
|
3303
|
+
|
3304
|
+
<dl>
|
3305
|
+
<dd>
|
3306
|
+
|
3307
|
+
Get a session event stream for a given session ID
|
3308
|
+
|
3309
|
+
</dd>
|
3310
|
+
</dl>
|
3311
|
+
</dd>
|
3312
|
+
</dl>
|
3313
|
+
|
3314
|
+
#### 🔌 Usage
|
3315
|
+
|
3316
|
+
<dl>
|
3317
|
+
<dd>
|
3318
|
+
|
3319
|
+
<dl>
|
3320
|
+
<dd>
|
3321
|
+
|
3322
|
+
```typescript
|
3323
|
+
const response = await client.sessions.events("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", {
|
3324
|
+
lastEventId: 0,
|
3325
|
+
all: true,
|
3326
|
+
});
|
3327
|
+
for await (const item of response) {
|
3328
|
+
console.log(item);
|
3329
|
+
}
|
3330
|
+
```
|
3331
|
+
|
3332
|
+
</dd>
|
3333
|
+
</dl>
|
3334
|
+
</dd>
|
3335
|
+
</dl>
|
3336
|
+
|
3337
|
+
#### ⚙️ Parameters
|
3338
|
+
|
3339
|
+
<dl>
|
3340
|
+
<dd>
|
3341
|
+
|
3342
|
+
<dl>
|
3343
|
+
<dd>
|
3344
|
+
|
3345
|
+
**id:** `string` — ID of the session to get status info for
|
3346
|
+
|
3347
|
+
</dd>
|
3348
|
+
</dl>
|
3349
|
+
|
3350
|
+
<dl>
|
3351
|
+
<dd>
|
3352
|
+
|
3353
|
+
**request:** `Airtop.SessionsEventsRequest`
|
3354
|
+
|
3355
|
+
</dd>
|
3356
|
+
</dl>
|
3357
|
+
|
3358
|
+
<dl>
|
3359
|
+
<dd>
|
3360
|
+
|
3361
|
+
**requestOptions:** `Sessions.RequestOptions`
|
3362
|
+
|
3363
|
+
</dd>
|
3364
|
+
</dl>
|
3365
|
+
</dd>
|
3366
|
+
</dl>
|
3367
|
+
|
3368
|
+
</dd>
|
3369
|
+
</dl>
|
3370
|
+
</details>
|
3371
|
+
|
1538
3372
|
<details><summary><code>client.sessions.<a href="/src/api/resources/sessions/client/Client.ts">saveProfileOnTermination</a>(sessionId, profileName) -> void</code></summary>
|
1539
3373
|
<dl>
|
1540
3374
|
<dd>
|