@airtop/sdk 0.1.34-beta0 → 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 +12 -8
- package/Client.js +3 -3
- package/README.md +27 -11
- package/api/errors/ForbiddenError.js +17 -7
- package/api/errors/InternalServerError.js +17 -7
- package/api/errors/NotFoundError.js +17 -7
- package/api/errors/UnauthorizedError.js +17 -7
- package/api/errors/UnprocessableEntityError.js +17 -7
- package/api/resources/automations/client/Client.d.ts +4 -0
- package/api/resources/automations/client/Client.js +33 -55
- 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/FilesListRequest.d.ts +24 -0
- package/api/resources/files/client/requests/index.d.ts +2 -0
- package/{dist/api/resources/extensionConfigurations → api/resources/files}/index.d.ts +1 -0
- package/{dist/api/resources/extensionConfigurations → api/resources/files}/index.js +1 -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 +3 -1
- package/api/resources/index.js +21 -9
- 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 +7 -2
- package/api/resources/sessions/client/Client.js +58 -101
- package/api/resources/sessions/client/requests/SessionsEventsRequest.d.ts +7 -0
- package/api/resources/sessions/types/SessionsEventsResponse.d.ts +7 -7
- package/api/resources/sessions/types/SessionsListRequestStatus.d.ts +1 -1
- package/api/resources/sessions/types/index.d.ts +2 -2
- package/api/resources/sessions/types/index.js +2 -2
- package/api/resources/windows/client/Client.d.ts +4 -0
- package/api/resources/windows/client/Client.js +139 -337
- package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +1 -1
- package/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +1 -1
- package/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +1 -1
- package/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +1 -1
- package/api/types/BrowserWaitNavigationConfigWaitUntil.d.ts +1 -1
- package/api/types/ClickConfigClickType.d.ts +1 -1
- package/api/types/CreateAutomationRequestBodyConfiguration.d.ts +1 -1
- 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 +1 -1
- 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/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/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 +20 -1
- package/api/types/index.js +20 -1
- 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 +12 -8
- package/dist/Client.js +3 -3
- package/dist/api/errors/ForbiddenError.js +17 -7
- package/dist/api/errors/InternalServerError.js +17 -7
- package/dist/api/errors/NotFoundError.js +17 -7
- package/dist/api/errors/UnauthorizedError.js +17 -7
- package/dist/api/errors/UnprocessableEntityError.js +17 -7
- package/dist/api/resources/automations/client/Client.d.ts +4 -0
- package/dist/api/resources/automations/client/Client.js +33 -55
- 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/{api/resources/extensionConfigurations → dist/api/resources/files}/index.d.ts +1 -0
- package/{api/resources/extensionConfigurations → dist/api/resources/files}/index.js +1 -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 +3 -1
- package/dist/api/resources/index.js +21 -9
- 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 +7 -2
- package/dist/api/resources/sessions/client/Client.js +58 -101
- package/dist/api/resources/sessions/client/requests/SessionsEventsRequest.d.ts +7 -0
- package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +7 -7
- package/dist/api/resources/sessions/types/SessionsListRequestStatus.d.ts +1 -1
- package/dist/api/resources/sessions/types/index.d.ts +2 -2
- package/dist/api/resources/sessions/types/index.js +2 -2
- package/dist/api/resources/windows/client/Client.d.ts +4 -0
- package/dist/api/resources/windows/client/Client.js +139 -337
- package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +1 -1
- package/dist/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +1 -1
- 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/BrowserWaitNavigationConfigWaitUntil.d.ts +1 -1
- package/dist/api/types/ClickConfigClickType.d.ts +1 -1
- package/dist/api/types/CreateAutomationRequestBodyConfiguration.d.ts +1 -1
- 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 +1 -1
- 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/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/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 +20 -1
- package/dist/api/types/index.js +20 -1
- 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/requests/UpdateAutomationDescriptionInputBody.js +17 -7
- 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 +3 -0
- package/dist/serialization/resources/index.js +21 -8
- package/dist/serialization/resources/sessions/client/requests/SessionRestInputV1.js +17 -7
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +9 -9
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +21 -11
- 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 +2 -2
- package/dist/serialization/resources/sessions/types/index.js +2 -2
- package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.js +17 -7
- package/dist/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.js +17 -7
- package/dist/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +17 -7
- package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +2 -2
- package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js +19 -9
- package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +17 -7
- package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +17 -7
- package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +17 -7
- package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +17 -7
- package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +17 -7
- package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +17 -7
- package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +2 -2
- package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +19 -9
- 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/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.js +17 -7
- package/dist/serialization/types/AsyncSessionAiResponseEnvelope.js +17 -7
- package/dist/serialization/types/AutomationOutput.js +17 -7
- 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.js +17 -7
- 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.js +17 -7
- 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/{ExtensionConfigurationOutput.js → GetFileV1FileType.js} +19 -14
- package/dist/serialization/types/IntervalMonitorConfig.js +17 -7
- package/dist/serialization/types/Issue.js +17 -7
- package/dist/serialization/types/ListAutomationsOutput.js +17 -7
- 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 +20 -1
- package/dist/serialization/types/index.js +20 -1
- 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/{api/resources/extensionConfigurations/client/requests/index.js → version.js} +2 -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.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 +16 -13
- package/reference.md +737 -46
- package/scripts/rename-to-esm-files.js +115 -0
- package/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +17 -7
- 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 +3 -0
- package/serialization/resources/index.js +21 -8
- package/serialization/resources/sessions/client/requests/SessionRestInputV1.js +17 -7
- package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +9 -9
- package/serialization/resources/sessions/types/SessionsEventsResponse.js +21 -11
- 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 +2 -2
- package/serialization/resources/sessions/types/index.js +2 -2
- package/serialization/resources/windows/client/requests/AsyncClickRequest.js +17 -7
- package/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.js +17 -7
- package/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +17 -7
- package/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +2 -2
- package/serialization/resources/windows/client/requests/AsyncHoverRequest.js +19 -9
- package/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +17 -7
- package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +17 -7
- package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +17 -7
- package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +17 -7
- package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +17 -7
- package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +17 -7
- package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +2 -2
- package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +19 -9
- 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/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.js +17 -7
- package/serialization/types/AsyncSessionAiResponseEnvelope.js +17 -7
- package/serialization/types/AutomationOutput.js +17 -7
- 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.js +17 -7
- 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.js +17 -7
- 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/{ExtensionConfigurationOutput.js → GetFileV1FileType.js} +19 -14
- package/serialization/types/IntervalMonitorConfig.js +17 -7
- package/serialization/types/Issue.js +17 -7
- package/serialization/types/ListAutomationsOutput.js +17 -7
- 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 +20 -1
- package/serialization/types/index.js +20 -1
- 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/{dist/api/resources/extensionConfigurations/client/index.js → version.js} +2 -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.js +22 -12
- package/api/resources/extensionConfigurations/client/Client.d.ts +0 -40
- package/api/resources/extensionConfigurations/client/Client.js +0 -149
- package/api/resources/extensionConfigurations/client/index.d.ts +0 -1
- package/api/resources/extensionConfigurations/client/requests/ExtensionConfigurationDeleteRequest.d.ts +0 -13
- package/api/resources/extensionConfigurations/client/requests/index.d.ts +0 -1
- package/dist/api/resources/extensionConfigurations/client/Client.d.ts +0 -40
- package/dist/api/resources/extensionConfigurations/client/Client.js +0 -149
- package/dist/api/resources/extensionConfigurations/client/index.d.ts +0 -1
- package/dist/api/resources/extensionConfigurations/client/requests/ExtensionConfigurationDeleteRequest.d.ts +0 -13
- package/dist/api/resources/extensionConfigurations/client/requests/index.d.ts +0 -1
- package/dist/serialization/types/ExtensionConfigurationOutput.d.ts +0 -15
- package/serialization/types/ExtensionConfigurationOutput.d.ts +0 -15
- /package/api/resources/{extensionConfigurations/client/requests/ExtensionConfigurationDeleteRequest.js → files/client/requests/CreateFileRestInputV1.js} +0 -0
- /package/{dist/api/resources/extensionConfigurations/client/requests/ExtensionConfigurationDeleteRequest.js → api/resources/files/client/requests/FilesListRequest.js} +0 -0
- /package/api/resources/{extensionConfigurations/client → files/client/requests}/index.js +0 -0
- /package/{api/resources/extensionConfigurations → dist/api/resources/files}/client/requests/index.js +0 -0
package/reference.md
CHANGED
@@ -113,7 +113,7 @@ Create an automation of a browser window asynchronously
|
|
113
113
|
```typescript
|
114
114
|
await client.windows.asyncCreateAutomation(
|
115
115
|
"6aac6f73-bd89-4a76-ab32-5a6c422e8b0b",
|
116
|
-
"0334da2a-91b0-42c5-6156-76a5eba87430"
|
116
|
+
"0334da2a-91b0-42c5-6156-76a5eba87430",
|
117
117
|
);
|
118
118
|
```
|
119
119
|
|
@@ -198,7 +198,7 @@ await client.windows.asyncExecuteAutomation(
|
|
198
198
|
"0334da2a-91b0-42c5-6156-76a5eba87430",
|
199
199
|
{
|
200
200
|
automationId: "automationId",
|
201
|
-
}
|
201
|
+
},
|
202
202
|
);
|
203
203
|
```
|
204
204
|
|
@@ -466,7 +466,7 @@ await client.windows.asyncPaginatedExtraction(
|
|
466
466
|
"0334da2a-91b0-42c5-6156-76a5eba87430",
|
467
467
|
{
|
468
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
|
-
}
|
469
|
+
},
|
470
470
|
);
|
471
471
|
```
|
472
472
|
|
@@ -551,7 +551,7 @@ await client.windows.asyncPromptContent(
|
|
551
551
|
"0334da2a-91b0-42c5-6156-76a5eba87430",
|
552
552
|
{
|
553
553
|
prompt: "What is the main idea of this page?",
|
554
|
-
}
|
554
|
+
},
|
555
555
|
);
|
556
556
|
```
|
557
557
|
|
@@ -712,7 +712,7 @@ This endpoint is deprecated. Please use the `pageQuery` endpoint and ask for a s
|
|
712
712
|
```typescript
|
713
713
|
await client.windows.asyncSummarizeContent(
|
714
714
|
"6aac6f73-bd89-4a76-ab32-5a6c422e8b0b",
|
715
|
-
"0334da2a-91b0-42c5-6156-76a5eba87430"
|
715
|
+
"0334da2a-91b0-42c5-6156-76a5eba87430",
|
716
716
|
);
|
717
717
|
```
|
718
718
|
|
@@ -1476,7 +1476,7 @@ await client.windows.paginatedExtraction(
|
|
1476
1476
|
"0334da2a-91b0-42c5-6156-76a5eba87430",
|
1477
1477
|
{
|
1478
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
|
-
}
|
1479
|
+
},
|
1480
1480
|
);
|
1481
1481
|
```
|
1482
1482
|
|
@@ -2256,9 +2256,9 @@ await client.automations.deleteAutomation("automationId");
|
|
2256
2256
|
</dl>
|
2257
2257
|
</details>
|
2258
2258
|
|
2259
|
-
##
|
2259
|
+
## Files
|
2260
2260
|
|
2261
|
-
<details><summary><code>client.
|
2261
|
+
<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">list</a>({ ...params }) -> Airtop.FilesResponse</code></summary>
|
2262
2262
|
<dl>
|
2263
2263
|
<dd>
|
2264
2264
|
|
@@ -2270,7 +2270,7 @@ await client.automations.deleteAutomation("automationId");
|
|
2270
2270
|
<dl>
|
2271
2271
|
<dd>
|
2272
2272
|
|
2273
|
-
Get
|
2273
|
+
Get a list of files filtered by session ID
|
2274
2274
|
|
2275
2275
|
</dd>
|
2276
2276
|
</dl>
|
@@ -2286,7 +2286,10 @@ Get an extension configuration by name
|
|
2286
2286
|
<dd>
|
2287
2287
|
|
2288
2288
|
```typescript
|
2289
|
-
await client.
|
2289
|
+
await client.files.list({
|
2290
|
+
offset: 1,
|
2291
|
+
limit: 10,
|
2292
|
+
});
|
2290
2293
|
```
|
2291
2294
|
|
2292
2295
|
</dd>
|
@@ -2302,7 +2305,7 @@ await client.extensionConfigurations.extensionConfigurationGetInfo("my-configura
|
|
2302
2305
|
<dl>
|
2303
2306
|
<dd>
|
2304
2307
|
|
2305
|
-
**
|
2308
|
+
**request:** `Airtop.FilesListRequest`
|
2306
2309
|
|
2307
2310
|
</dd>
|
2308
2311
|
</dl>
|
@@ -2310,7 +2313,7 @@ await client.extensionConfigurations.extensionConfigurationGetInfo("my-configura
|
|
2310
2313
|
<dl>
|
2311
2314
|
<dd>
|
2312
2315
|
|
2313
|
-
**requestOptions:** `
|
2316
|
+
**requestOptions:** `Files.RequestOptions`
|
2314
2317
|
|
2315
2318
|
</dd>
|
2316
2319
|
</dl>
|
@@ -2321,13 +2324,30 @@ await client.extensionConfigurations.extensionConfigurationGetInfo("my-configura
|
|
2321
2324
|
</dl>
|
2322
2325
|
</details>
|
2323
2326
|
|
2324
|
-
|
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
|
2325
2332
|
|
2326
|
-
<details><summary><code>client.profiles.<a href="/src/api/resources/profiles/client/Client.ts">delete</a>({ ...params }) -> void</code></summary>
|
2327
2333
|
<dl>
|
2328
2334
|
<dd>
|
2329
2335
|
|
2330
|
-
|
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
|
2331
2351
|
|
2332
2352
|
<dl>
|
2333
2353
|
<dd>
|
@@ -2335,12 +2355,28 @@ await client.extensionConfigurations.extensionConfigurationGetInfo("my-configura
|
|
2335
2355
|
<dl>
|
2336
2356
|
<dd>
|
2337
2357
|
|
2338
|
-
|
2358
|
+
**request:** `Airtop.CreateFileRestInputV1`
|
2359
|
+
|
2360
|
+
</dd>
|
2361
|
+
</dl>
|
2362
|
+
|
2363
|
+
<dl>
|
2364
|
+
<dd>
|
2339
2365
|
|
2366
|
+
**requestOptions:** `Files.RequestOptions`
|
2367
|
+
|
2368
|
+
</dd>
|
2369
|
+
</dl>
|
2340
2370
|
</dd>
|
2341
2371
|
</dl>
|
2372
|
+
|
2342
2373
|
</dd>
|
2343
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>
|
2344
2380
|
|
2345
2381
|
#### 🔌 Usage
|
2346
2382
|
|
@@ -2351,7 +2387,7 @@ Delete profiles matching by id
|
|
2351
2387
|
<dd>
|
2352
2388
|
|
2353
2389
|
```typescript
|
2354
|
-
await client.
|
2390
|
+
await client.files.get("id");
|
2355
2391
|
```
|
2356
2392
|
|
2357
2393
|
</dd>
|
@@ -2367,7 +2403,7 @@ await client.profiles.delete();
|
|
2367
2403
|
<dl>
|
2368
2404
|
<dd>
|
2369
2405
|
|
2370
|
-
**
|
2406
|
+
**id:** `string` — ID of the file
|
2371
2407
|
|
2372
2408
|
</dd>
|
2373
2409
|
</dl>
|
@@ -2375,7 +2411,7 @@ await client.profiles.delete();
|
|
2375
2411
|
<dl>
|
2376
2412
|
<dd>
|
2377
2413
|
|
2378
|
-
**requestOptions:** `
|
2414
|
+
**requestOptions:** `Files.RequestOptions`
|
2379
2415
|
|
2380
2416
|
</dd>
|
2381
2417
|
</dl>
|
@@ -2386,9 +2422,7 @@ await client.profiles.delete();
|
|
2386
2422
|
</dl>
|
2387
2423
|
</details>
|
2388
2424
|
|
2389
|
-
|
2390
|
-
|
2391
|
-
<details><summary><code>client.requests.<a href="/src/api/resources/requests/client/Client.ts">getRequestStatus</a>(requestId) -> Airtop.RequestStatusResponse</code></summary>
|
2425
|
+
<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">delete</a>(id) -> void</code></summary>
|
2392
2426
|
<dl>
|
2393
2427
|
<dd>
|
2394
2428
|
|
@@ -2401,7 +2435,7 @@ await client.profiles.delete();
|
|
2401
2435
|
<dd>
|
2402
2436
|
|
2403
2437
|
```typescript
|
2404
|
-
await client.
|
2438
|
+
await client.files.delete("id");
|
2405
2439
|
```
|
2406
2440
|
|
2407
2441
|
</dd>
|
@@ -2417,7 +2451,7 @@ await client.requests.getRequestStatus("123e4567-e89b-12d3-a456-426614174000");
|
|
2417
2451
|
<dl>
|
2418
2452
|
<dd>
|
2419
2453
|
|
2420
|
-
**
|
2454
|
+
**id:** `string` — ID of the file
|
2421
2455
|
|
2422
2456
|
</dd>
|
2423
2457
|
</dl>
|
@@ -2425,7 +2459,7 @@ await client.requests.getRequestStatus("123e4567-e89b-12d3-a456-426614174000");
|
|
2425
2459
|
<dl>
|
2426
2460
|
<dd>
|
2427
2461
|
|
2428
|
-
**requestOptions:** `
|
2462
|
+
**requestOptions:** `Files.RequestOptions`
|
2429
2463
|
|
2430
2464
|
</dd>
|
2431
2465
|
</dl>
|
@@ -2436,9 +2470,9 @@ await client.requests.getRequestStatus("123e4567-e89b-12d3-a456-426614174000");
|
|
2436
2470
|
</dl>
|
2437
2471
|
</details>
|
2438
2472
|
|
2439
|
-
##
|
2473
|
+
## Automations
|
2440
2474
|
|
2441
|
-
<details><summary><code>client.
|
2475
|
+
<details><summary><code>client.automations.<a href="/src/api/resources/automations/client/Client.ts">listAutomations</a>() -> Airtop.ListAutomationsOutput</code></summary>
|
2442
2476
|
<dl>
|
2443
2477
|
<dd>
|
2444
2478
|
|
@@ -2450,7 +2484,7 @@ await client.requests.getRequestStatus("123e4567-e89b-12d3-a456-426614174000");
|
|
2450
2484
|
<dl>
|
2451
2485
|
<dd>
|
2452
2486
|
|
2453
|
-
|
2487
|
+
List all automations for a given organization
|
2454
2488
|
|
2455
2489
|
</dd>
|
2456
2490
|
</dl>
|
@@ -2466,9 +2500,65 @@ Get a list of sessions by ID
|
|
2466
2500
|
<dd>
|
2467
2501
|
|
2468
2502
|
```typescript
|
2469
|
-
await client.
|
2470
|
-
|
2471
|
-
|
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",
|
2472
2562
|
});
|
2473
2563
|
```
|
2474
2564
|
|
@@ -2485,7 +2575,7 @@ await client.sessions.list({
|
|
2485
2575
|
<dl>
|
2486
2576
|
<dd>
|
2487
2577
|
|
2488
|
-
**request:** `Airtop.
|
2578
|
+
**request:** `Airtop.UpdateAutomationDescriptionInputBody`
|
2489
2579
|
|
2490
2580
|
</dd>
|
2491
2581
|
</dl>
|
@@ -2493,7 +2583,7 @@ await client.sessions.list({
|
|
2493
2583
|
<dl>
|
2494
2584
|
<dd>
|
2495
2585
|
|
2496
|
-
**requestOptions:** `
|
2586
|
+
**requestOptions:** `Automations.RequestOptions`
|
2497
2587
|
|
2498
2588
|
</dd>
|
2499
2589
|
</dl>
|
@@ -2504,10 +2594,25 @@ await client.sessions.list({
|
|
2504
2594
|
</dl>
|
2505
2595
|
</details>
|
2506
2596
|
|
2507
|
-
<details><summary><code>client.
|
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
|
+
|
2508
2606
|
<dl>
|
2509
2607
|
<dd>
|
2510
2608
|
|
2609
|
+
Get a specific automation by ID
|
2610
|
+
|
2611
|
+
</dd>
|
2612
|
+
</dl>
|
2613
|
+
</dd>
|
2614
|
+
</dl>
|
2615
|
+
|
2511
2616
|
#### 🔌 Usage
|
2512
2617
|
|
2513
2618
|
<dl>
|
@@ -2517,7 +2622,7 @@ await client.sessions.list({
|
|
2517
2622
|
<dd>
|
2518
2623
|
|
2519
2624
|
```typescript
|
2520
|
-
await client.
|
2625
|
+
await client.automations.getAutomation("automationId");
|
2521
2626
|
```
|
2522
2627
|
|
2523
2628
|
</dd>
|
@@ -2533,7 +2638,7 @@ await client.sessions.create();
|
|
2533
2638
|
<dl>
|
2534
2639
|
<dd>
|
2535
2640
|
|
2536
|
-
**
|
2641
|
+
**automationId:** `string` — ID of the automation to retrieve
|
2537
2642
|
|
2538
2643
|
</dd>
|
2539
2644
|
</dl>
|
@@ -2541,7 +2646,7 @@ await client.sessions.create();
|
|
2541
2646
|
<dl>
|
2542
2647
|
<dd>
|
2543
2648
|
|
2544
|
-
**requestOptions:** `
|
2649
|
+
**requestOptions:** `Automations.RequestOptions`
|
2545
2650
|
|
2546
2651
|
</dd>
|
2547
2652
|
</dl>
|
@@ -2552,7 +2657,7 @@ await client.sessions.create();
|
|
2552
2657
|
</dl>
|
2553
2658
|
</details>
|
2554
2659
|
|
2555
|
-
<details><summary><code>client.
|
2660
|
+
<details><summary><code>client.automations.<a href="/src/api/resources/automations/client/Client.ts">deleteAutomation</a>(automationId) -> Airtop.DeleteAutomationOutputWrapperBody</code></summary>
|
2556
2661
|
<dl>
|
2557
2662
|
<dd>
|
2558
2663
|
|
@@ -2564,7 +2669,7 @@ await client.sessions.create();
|
|
2564
2669
|
<dl>
|
2565
2670
|
<dd>
|
2566
2671
|
|
2567
|
-
|
2672
|
+
Delete a specific automation
|
2568
2673
|
|
2569
2674
|
</dd>
|
2570
2675
|
</dl>
|
@@ -2580,7 +2685,7 @@ Get a session by ID
|
|
2580
2685
|
<dd>
|
2581
2686
|
|
2582
2687
|
```typescript
|
2583
|
-
await client.
|
2688
|
+
await client.automations.deleteAutomation("automationId");
|
2584
2689
|
```
|
2585
2690
|
|
2586
2691
|
</dd>
|
@@ -2596,7 +2701,7 @@ await client.sessions.getInfo("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b");
|
|
2596
2701
|
<dl>
|
2597
2702
|
<dd>
|
2598
2703
|
|
2599
|
-
**
|
2704
|
+
**automationId:** `string` — ID of the automation to delete
|
2600
2705
|
|
2601
2706
|
</dd>
|
2602
2707
|
</dl>
|
@@ -2604,7 +2709,7 @@ await client.sessions.getInfo("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b");
|
|
2604
2709
|
<dl>
|
2605
2710
|
<dd>
|
2606
2711
|
|
2607
|
-
**requestOptions:** `
|
2712
|
+
**requestOptions:** `Automations.RequestOptions`
|
2608
2713
|
|
2609
2714
|
</dd>
|
2610
2715
|
</dl>
|
@@ -2615,7 +2720,9 @@ await client.sessions.getInfo("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b");
|
|
2615
2720
|
</dl>
|
2616
2721
|
</details>
|
2617
2722
|
|
2618
|
-
|
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>
|
2619
2726
|
<dl>
|
2620
2727
|
<dd>
|
2621
2728
|
|
@@ -2627,7 +2734,7 @@ await client.sessions.getInfo("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b");
|
|
2627
2734
|
<dl>
|
2628
2735
|
<dd>
|
2629
2736
|
|
2630
|
-
|
2737
|
+
Get a list of files filtered by session ID
|
2631
2738
|
|
2632
2739
|
</dd>
|
2633
2740
|
</dl>
|
@@ -2643,7 +2750,10 @@ Ends a session by ID. If a given session id does not exist within the organizati
|
|
2643
2750
|
<dd>
|
2644
2751
|
|
2645
2752
|
```typescript
|
2646
|
-
await client.
|
2753
|
+
await client.files.list({
|
2754
|
+
offset: 1,
|
2755
|
+
limit: 10,
|
2756
|
+
});
|
2647
2757
|
```
|
2648
2758
|
|
2649
2759
|
</dd>
|
@@ -2659,7 +2769,588 @@ await client.sessions.terminate("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b");
|
|
2659
2769
|
<dl>
|
2660
2770
|
<dd>
|
2661
2771
|
|
2662
|
-
**
|
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>
|
3001
|
+
|
3002
|
+
## Requests
|
3003
|
+
|
3004
|
+
<details><summary><code>client.requests.<a href="/src/api/resources/requests/client/Client.ts">getRequestStatus</a>(requestId) -> Airtop.RequestStatusResponse</code></summary>
|
3005
|
+
<dl>
|
3006
|
+
<dd>
|
3007
|
+
|
3008
|
+
#### 🔌 Usage
|
3009
|
+
|
3010
|
+
<dl>
|
3011
|
+
<dd>
|
3012
|
+
|
3013
|
+
<dl>
|
3014
|
+
<dd>
|
3015
|
+
|
3016
|
+
```typescript
|
3017
|
+
await client.requests.getRequestStatus("123e4567-e89b-12d3-a456-426614174000");
|
3018
|
+
```
|
3019
|
+
|
3020
|
+
</dd>
|
3021
|
+
</dl>
|
3022
|
+
</dd>
|
3023
|
+
</dl>
|
3024
|
+
|
3025
|
+
#### ⚙️ Parameters
|
3026
|
+
|
3027
|
+
<dl>
|
3028
|
+
<dd>
|
3029
|
+
|
3030
|
+
<dl>
|
3031
|
+
<dd>
|
3032
|
+
|
3033
|
+
**requestId:** `string` — The ID of the request to check.
|
3034
|
+
|
3035
|
+
</dd>
|
3036
|
+
</dl>
|
3037
|
+
|
3038
|
+
<dl>
|
3039
|
+
<dd>
|
3040
|
+
|
3041
|
+
**requestOptions:** `Requests.RequestOptions`
|
3042
|
+
|
3043
|
+
</dd>
|
3044
|
+
</dl>
|
3045
|
+
</dd>
|
3046
|
+
</dl>
|
3047
|
+
|
3048
|
+
</dd>
|
3049
|
+
</dl>
|
3050
|
+
</details>
|
3051
|
+
|
3052
|
+
## Sessions
|
3053
|
+
|
3054
|
+
<details><summary><code>client.sessions.<a href="/src/api/resources/sessions/client/Client.ts">list</a>({ ...params }) -> Airtop.SessionsResponse</code></summary>
|
3055
|
+
<dl>
|
3056
|
+
<dd>
|
3057
|
+
|
3058
|
+
#### 📝 Description
|
3059
|
+
|
3060
|
+
<dl>
|
3061
|
+
<dd>
|
3062
|
+
|
3063
|
+
<dl>
|
3064
|
+
<dd>
|
3065
|
+
|
3066
|
+
Get a paginated list of sessions filtered by ID or status
|
3067
|
+
Get a paginated list of sessions filtered by ID or status
|
3068
|
+
|
3069
|
+
</dd>
|
3070
|
+
</dl>
|
3071
|
+
</dd>
|
3072
|
+
</dl>
|
3073
|
+
|
3074
|
+
#### 🔌 Usage
|
3075
|
+
|
3076
|
+
<dl>
|
3077
|
+
<dd>
|
3078
|
+
|
3079
|
+
<dl>
|
3080
|
+
<dd>
|
3081
|
+
|
3082
|
+
```typescript
|
3083
|
+
await client.sessions.list({
|
3084
|
+
offset: 1,
|
3085
|
+
limit: 10,
|
3086
|
+
});
|
3087
|
+
```
|
3088
|
+
|
3089
|
+
</dd>
|
3090
|
+
</dl>
|
3091
|
+
</dd>
|
3092
|
+
</dl>
|
3093
|
+
|
3094
|
+
#### ⚙️ Parameters
|
3095
|
+
|
3096
|
+
<dl>
|
3097
|
+
<dd>
|
3098
|
+
|
3099
|
+
<dl>
|
3100
|
+
<dd>
|
3101
|
+
|
3102
|
+
**request:** `Airtop.SessionsListRequest`
|
3103
|
+
|
3104
|
+
</dd>
|
3105
|
+
</dl>
|
3106
|
+
|
3107
|
+
<dl>
|
3108
|
+
<dd>
|
3109
|
+
|
3110
|
+
**requestOptions:** `Sessions.RequestOptions`
|
3111
|
+
|
3112
|
+
</dd>
|
3113
|
+
</dl>
|
3114
|
+
</dd>
|
3115
|
+
</dl>
|
3116
|
+
|
3117
|
+
</dd>
|
3118
|
+
</dl>
|
3119
|
+
</details>
|
3120
|
+
|
3121
|
+
<details><summary><code>client.sessions.<a href="/src/api/resources/sessions/client/Client.ts">create</a>({ ...params }) -> Airtop.SessionResponse</code></summary>
|
3122
|
+
<dl>
|
3123
|
+
<dd>
|
3124
|
+
|
3125
|
+
#### 🔌 Usage
|
3126
|
+
|
3127
|
+
<dl>
|
3128
|
+
<dd>
|
3129
|
+
|
3130
|
+
<dl>
|
3131
|
+
<dd>
|
3132
|
+
|
3133
|
+
```typescript
|
3134
|
+
await client.sessions.create();
|
3135
|
+
```
|
3136
|
+
|
3137
|
+
</dd>
|
3138
|
+
</dl>
|
3139
|
+
</dd>
|
3140
|
+
</dl>
|
3141
|
+
|
3142
|
+
#### ⚙️ Parameters
|
3143
|
+
|
3144
|
+
<dl>
|
3145
|
+
<dd>
|
3146
|
+
|
3147
|
+
<dl>
|
3148
|
+
<dd>
|
3149
|
+
|
3150
|
+
**request:** `Airtop.SessionRestInputV1`
|
3151
|
+
|
3152
|
+
</dd>
|
3153
|
+
</dl>
|
3154
|
+
|
3155
|
+
<dl>
|
3156
|
+
<dd>
|
3157
|
+
|
3158
|
+
**requestOptions:** `Sessions.RequestOptions`
|
3159
|
+
|
3160
|
+
</dd>
|
3161
|
+
</dl>
|
3162
|
+
</dd>
|
3163
|
+
</dl>
|
3164
|
+
|
3165
|
+
</dd>
|
3166
|
+
</dl>
|
3167
|
+
</details>
|
3168
|
+
|
3169
|
+
<details><summary><code>client.sessions.<a href="/src/api/resources/sessions/client/Client.ts">getInfo</a>(id) -> Airtop.SessionResponse</code></summary>
|
3170
|
+
<dl>
|
3171
|
+
<dd>
|
3172
|
+
|
3173
|
+
#### 📝 Description
|
3174
|
+
|
3175
|
+
<dl>
|
3176
|
+
<dd>
|
3177
|
+
|
3178
|
+
<dl>
|
3179
|
+
<dd>
|
3180
|
+
|
3181
|
+
Get a session by ID
|
3182
|
+
|
3183
|
+
</dd>
|
3184
|
+
</dl>
|
3185
|
+
</dd>
|
3186
|
+
</dl>
|
3187
|
+
|
3188
|
+
#### 🔌 Usage
|
3189
|
+
|
3190
|
+
<dl>
|
3191
|
+
<dd>
|
3192
|
+
|
3193
|
+
<dl>
|
3194
|
+
<dd>
|
3195
|
+
|
3196
|
+
```typescript
|
3197
|
+
await client.sessions.getInfo("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b");
|
3198
|
+
```
|
3199
|
+
|
3200
|
+
</dd>
|
3201
|
+
</dl>
|
3202
|
+
</dd>
|
3203
|
+
</dl>
|
3204
|
+
|
3205
|
+
#### ⚙️ Parameters
|
3206
|
+
|
3207
|
+
<dl>
|
3208
|
+
<dd>
|
3209
|
+
|
3210
|
+
<dl>
|
3211
|
+
<dd>
|
3212
|
+
|
3213
|
+
**id:** `string` — Id of the session to get
|
3214
|
+
|
3215
|
+
</dd>
|
3216
|
+
</dl>
|
3217
|
+
|
3218
|
+
<dl>
|
3219
|
+
<dd>
|
3220
|
+
|
3221
|
+
**requestOptions:** `Sessions.RequestOptions`
|
3222
|
+
|
3223
|
+
</dd>
|
3224
|
+
</dl>
|
3225
|
+
</dd>
|
3226
|
+
</dl>
|
3227
|
+
|
3228
|
+
</dd>
|
3229
|
+
</dl>
|
3230
|
+
</details>
|
3231
|
+
|
3232
|
+
<details><summary><code>client.sessions.<a href="/src/api/resources/sessions/client/Client.ts">terminate</a>(id) -> void</code></summary>
|
3233
|
+
<dl>
|
3234
|
+
<dd>
|
3235
|
+
|
3236
|
+
#### 📝 Description
|
3237
|
+
|
3238
|
+
<dl>
|
3239
|
+
<dd>
|
3240
|
+
|
3241
|
+
<dl>
|
3242
|
+
<dd>
|
3243
|
+
|
3244
|
+
Ends a session by ID. If a given session id does not exist within the organization, it is ignored.
|
3245
|
+
|
3246
|
+
</dd>
|
3247
|
+
</dl>
|
3248
|
+
</dd>
|
3249
|
+
</dl>
|
3250
|
+
|
3251
|
+
#### 🔌 Usage
|
3252
|
+
|
3253
|
+
<dl>
|
3254
|
+
<dd>
|
3255
|
+
|
3256
|
+
<dl>
|
3257
|
+
<dd>
|
3258
|
+
|
3259
|
+
```typescript
|
3260
|
+
await client.sessions.terminate("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b");
|
3261
|
+
```
|
3262
|
+
|
3263
|
+
</dd>
|
3264
|
+
</dl>
|
3265
|
+
</dd>
|
3266
|
+
</dl>
|
3267
|
+
|
3268
|
+
#### ⚙️ Parameters
|
3269
|
+
|
3270
|
+
<dl>
|
3271
|
+
<dd>
|
3272
|
+
|
3273
|
+
<dl>
|
3274
|
+
<dd>
|
3275
|
+
|
3276
|
+
**id:** `string` — ID of the session to delete.
|
3277
|
+
|
3278
|
+
</dd>
|
3279
|
+
</dl>
|
3280
|
+
|
3281
|
+
<dl>
|
3282
|
+
<dd>
|
3283
|
+
|
3284
|
+
**requestOptions:** `Sessions.RequestOptions`
|
3285
|
+
|
3286
|
+
</dd>
|
3287
|
+
</dl>
|
3288
|
+
</dd>
|
3289
|
+
</dl>
|
3290
|
+
|
3291
|
+
</dd>
|
3292
|
+
</dl>
|
3293
|
+
</details>
|
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`
|
2663
3354
|
|
2664
3355
|
</dd>
|
2665
3356
|
</dl>
|