@airtop/sdk 0.1.35-beta0 → 0.1.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +0 -3
- package/Client.js +6 -11
- package/README.md +10 -9
- package/api/resources/automations/client/Client.d.ts +8 -8
- package/api/resources/automations/client/Client.js +12 -12
- package/api/resources/index.d.ts +0 -3
- package/api/resources/index.js +1 -4
- package/api/resources/profiles/client/Client.js +1 -1
- package/api/resources/requests/client/Client.js +1 -1
- package/api/resources/sessions/client/Client.d.ts +0 -10
- package/api/resources/sessions/client/Client.js +6 -52
- package/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
- 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 +39 -99
- package/api/resources/windows/client/Client.js +125 -400
- package/{dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts → api/resources/windows/client/requests/AsyncCreateFormFillerRequest.d.ts} +2 -4
- package/api/resources/windows/client/requests/AsyncFillFormRequest.d.ts +27 -0
- package/api/resources/windows/client/requests/{AsyncScreenshotRequest.d.ts → CreateFormFillerRequest.d.ts} +2 -2
- package/api/resources/windows/client/requests/FillFormRequest.d.ts +27 -0
- package/api/resources/windows/client/requests/index.d.ts +4 -9
- package/api/types/index.d.ts +0 -20
- package/api/types/index.js +0 -20
- package/dist/Client.d.ts +0 -3
- package/dist/Client.js +6 -11
- package/dist/api/resources/automations/client/Client.d.ts +8 -8
- package/dist/api/resources/automations/client/Client.js +12 -12
- package/dist/api/resources/index.d.ts +0 -3
- package/dist/api/resources/index.js +1 -4
- package/dist/api/resources/profiles/client/Client.js +1 -1
- package/dist/api/resources/requests/client/Client.js +1 -1
- package/dist/api/resources/sessions/client/Client.d.ts +0 -10
- package/dist/api/resources/sessions/client/Client.js +6 -52
- package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
- 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 +39 -99
- package/dist/api/resources/windows/client/Client.js +125 -400
- package/{api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts → dist/api/resources/windows/client/requests/AsyncCreateFormFillerRequest.d.ts} +2 -4
- package/dist/api/resources/windows/client/requests/AsyncFillFormRequest.d.ts +27 -0
- package/dist/api/resources/windows/client/requests/{AsyncScreenshotRequest.d.ts → CreateFormFillerRequest.d.ts} +2 -2
- package/dist/api/resources/windows/client/requests/FillFormRequest.d.ts +27 -0
- package/dist/api/resources/windows/client/requests/index.d.ts +4 -9
- package/dist/api/types/index.d.ts +0 -20
- package/dist/api/types/index.js +0 -20
- package/dist/serialization/resources/index.d.ts +0 -3
- package/dist/serialization/resources/index.js +1 -4
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
- 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/{AsyncHoverRequest.d.ts → AsyncCreateFormFillerRequest.d.ts} +4 -5
- package/dist/serialization/resources/windows/client/requests/{AsyncSummarizeContentRequest.js → AsyncCreateFormFillerRequest.js} +4 -5
- package/{serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts → dist/serialization/resources/windows/client/requests/AsyncFillFormRequest.d.ts} +4 -5
- package/dist/serialization/resources/windows/client/requests/{AsyncMonitorRequest.js → AsyncFillFormRequest.js} +4 -5
- package/dist/serialization/resources/windows/client/requests/{AsyncPageQueryRequest.d.ts → CreateFormFillerRequest.d.ts} +4 -6
- package/dist/serialization/resources/windows/client/requests/{AsyncClickRequest.js → CreateFormFillerRequest.js} +4 -6
- package/dist/serialization/resources/windows/client/requests/{AsyncMonitorRequest.d.ts → FillFormRequest.d.ts} +4 -5
- package/{serialization/resources/windows/client/requests/AsyncMonitorRequest.js → dist/serialization/resources/windows/client/requests/FillFormRequest.js} +4 -5
- package/dist/serialization/resources/windows/client/requests/index.d.ts +4 -9
- package/dist/serialization/resources/windows/client/requests/index.js +9 -19
- package/dist/serialization/types/index.d.ts +0 -20
- package/dist/serialization/types/index.js +0 -20
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/AirtopClient.d.ts +1 -3
- package/dist/wrapper/AirtopClient.js +3 -5
- package/dist/wrapper/AirtopRequests.js +1 -1
- package/dist/wrapper/AirtopWindows.d.ts +27 -1
- package/dist/wrapper/AirtopWindows.js +40 -0
- package/package.json +2 -3
- package/reference.md +257 -1274
- package/serialization/resources/index.d.ts +0 -3
- package/serialization/resources/index.js +1 -4
- package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
- package/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
- 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/AsyncCreateFormFillerRequest.d.ts +18 -0
- package/serialization/resources/windows/client/requests/{AsyncSummarizeContentRequest.js → AsyncCreateFormFillerRequest.js} +4 -5
- package/serialization/resources/windows/client/requests/{AsyncScreenshotRequest.d.ts → AsyncFillFormRequest.d.ts} +4 -4
- package/{dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js → serialization/resources/windows/client/requests/AsyncFillFormRequest.js} +4 -4
- package/{dist/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts → serialization/resources/windows/client/requests/CreateFormFillerRequest.d.ts} +4 -6
- package/{dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js → serialization/resources/windows/client/requests/CreateFormFillerRequest.js} +4 -5
- package/{dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts → serialization/resources/windows/client/requests/FillFormRequest.d.ts} +4 -4
- package/serialization/resources/windows/client/requests/{AsyncScreenshotRequest.js → FillFormRequest.js} +4 -4
- package/serialization/resources/windows/client/requests/index.d.ts +4 -9
- package/serialization/resources/windows/client/requests/index.js +9 -19
- package/serialization/types/index.d.ts +0 -20
- package/serialization/types/index.js +0 -20
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/AirtopClient.d.ts +1 -3
- package/wrapper/AirtopClient.js +3 -5
- package/wrapper/AirtopRequests.js +1 -1
- package/wrapper/AirtopWindows.d.ts +27 -1
- package/wrapper/AirtopWindows.js +40 -0
- package/api/resources/files/client/Client.d.ts +0 -69
- package/api/resources/files/client/Client.js +0 -286
- package/api/resources/files/client/index.d.ts +0 -1
- package/api/resources/files/client/index.js +0 -17
- package/api/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -20
- package/api/resources/files/client/requests/FilesListRequest.d.ts +0 -24
- package/api/resources/files/client/requests/index.d.ts +0 -2
- package/api/resources/files/client/requests/index.js +0 -2
- package/api/resources/files/index.d.ts +0 -2
- package/api/resources/files/index.js +0 -18
- package/api/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -13
- package/api/resources/files/types/CreateFileRestInputV1FileType.js +0 -12
- package/api/resources/files/types/index.d.ts +0 -1
- package/api/resources/files/types/index.js +0 -17
- package/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
- package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
- package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
- package/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
- package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
- package/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
- package/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
- package/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
- package/api/types/CreateFileV1.d.ts +0 -24
- package/api/types/CreateFileV1.js +0 -5
- package/api/types/CreateFileV1FileType.d.ts +0 -13
- package/api/types/CreateFileV1FileType.js +0 -12
- package/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -10
- package/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -5
- package/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -10
- package/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -5
- package/api/types/ExtensionConfigurationOutput.d.ts +0 -13
- package/api/types/ExtensionConfigurationOutput.js +0 -5
- package/api/types/ExternalFile.d.ts +0 -33
- package/api/types/ExternalFile.js +0 -5
- package/api/types/FilesResponse.d.ts +0 -10
- package/api/types/FilesResponse.js +0 -5
- package/api/types/FilesWithPagination.d.ts +0 -10
- package/api/types/FilesWithPagination.js +0 -5
- package/api/types/GetFileV1.d.ts +0 -24
- package/api/types/GetFileV1.js +0 -5
- package/api/types/GetFileV1FileType.d.ts +0 -13
- package/api/types/GetFileV1FileType.js +0 -12
- package/dist/api/resources/files/client/Client.d.ts +0 -69
- package/dist/api/resources/files/client/Client.js +0 -286
- package/dist/api/resources/files/client/index.d.ts +0 -1
- package/dist/api/resources/files/client/index.js +0 -17
- package/dist/api/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -20
- package/dist/api/resources/files/client/requests/CreateFileRestInputV1.js +0 -5
- package/dist/api/resources/files/client/requests/FilesListRequest.d.ts +0 -24
- package/dist/api/resources/files/client/requests/FilesListRequest.js +0 -5
- package/dist/api/resources/files/client/requests/index.d.ts +0 -2
- package/dist/api/resources/files/client/requests/index.js +0 -2
- package/dist/api/resources/files/index.d.ts +0 -2
- package/dist/api/resources/files/index.js +0 -18
- package/dist/api/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -13
- package/dist/api/resources/files/types/CreateFileRestInputV1FileType.js +0 -12
- package/dist/api/resources/files/types/index.d.ts +0 -1
- package/dist/api/resources/files/types/index.js +0 -17
- package/dist/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
- package/dist/api/resources/windows/client/requests/AsyncClickRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
- package/dist/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
- package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
- package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
- package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
- package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
- package/dist/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
- package/dist/api/types/CreateFileV1.d.ts +0 -24
- package/dist/api/types/CreateFileV1.js +0 -5
- package/dist/api/types/CreateFileV1FileType.d.ts +0 -13
- package/dist/api/types/CreateFileV1FileType.js +0 -12
- package/dist/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -10
- package/dist/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -5
- package/dist/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -10
- package/dist/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -5
- package/dist/api/types/ExtensionConfigurationOutput.d.ts +0 -13
- package/dist/api/types/ExtensionConfigurationOutput.js +0 -5
- package/dist/api/types/ExternalFile.d.ts +0 -33
- package/dist/api/types/ExternalFile.js +0 -5
- package/dist/api/types/FilesResponse.d.ts +0 -10
- package/dist/api/types/FilesResponse.js +0 -5
- package/dist/api/types/FilesWithPagination.d.ts +0 -10
- package/dist/api/types/FilesWithPagination.js +0 -5
- package/dist/api/types/GetFileV1.d.ts +0 -24
- package/dist/api/types/GetFileV1.js +0 -5
- package/dist/api/types/GetFileV1FileType.d.ts +0 -13
- package/dist/api/types/GetFileV1FileType.js +0 -12
- package/dist/serialization/resources/files/client/index.d.ts +0 -1
- package/dist/serialization/resources/files/client/index.js +0 -17
- package/dist/serialization/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -16
- package/dist/serialization/resources/files/client/requests/CreateFileRestInputV1.js +0 -47
- package/dist/serialization/resources/files/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/files/client/requests/index.js +0 -5
- package/dist/serialization/resources/files/index.d.ts +0 -2
- package/dist/serialization/resources/files/index.js +0 -18
- package/dist/serialization/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -10
- package/dist/serialization/resources/files/types/CreateFileRestInputV1FileType.js +0 -41
- package/dist/serialization/resources/files/types/index.d.ts +0 -1
- package/dist/serialization/resources/files/types/index.js +0 -17
- package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -50
- package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
- package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
- package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
- package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
- package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
- package/dist/serialization/types/CreateFileV1.d.ts +0 -21
- package/dist/serialization/types/CreateFileV1.js +0 -52
- package/dist/serialization/types/CreateFileV1FileType.d.ts +0 -10
- package/dist/serialization/types/CreateFileV1FileType.js +0 -41
- package/dist/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -18
- package/dist/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -49
- package/dist/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -18
- package/dist/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -49
- package/dist/serialization/types/ExternalFile.d.ts +0 -25
- package/dist/serialization/types/ExternalFile.js +0 -56
- package/dist/serialization/types/FilesResponse.d.ts +0 -18
- package/dist/serialization/types/FilesResponse.js +0 -49
- package/dist/serialization/types/FilesWithPagination.d.ts +0 -15
- package/dist/serialization/types/FilesWithPagination.js +0 -46
- package/dist/serialization/types/GetFileV1.d.ts +0 -21
- package/dist/serialization/types/GetFileV1.js +0 -52
- package/dist/serialization/types/GetFileV1FileType.d.ts +0 -10
- package/dist/serialization/types/GetFileV1FileType.js +0 -41
- package/dist/wrapper/AirtopFiles.d.ts +0 -38
- package/dist/wrapper/AirtopFiles.js +0 -151
- package/serialization/resources/files/client/index.d.ts +0 -1
- package/serialization/resources/files/client/index.js +0 -17
- package/serialization/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -16
- package/serialization/resources/files/client/requests/CreateFileRestInputV1.js +0 -47
- package/serialization/resources/files/client/requests/index.d.ts +0 -1
- package/serialization/resources/files/client/requests/index.js +0 -5
- package/serialization/resources/files/index.d.ts +0 -2
- package/serialization/resources/files/index.js +0 -18
- package/serialization/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -10
- package/serialization/resources/files/types/CreateFileRestInputV1FileType.js +0 -41
- package/serialization/resources/files/types/index.d.ts +0 -1
- package/serialization/resources/files/types/index.js +0 -17
- package/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
- package/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -51
- package/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -50
- package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
- package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
- package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -50
- package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
- package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
- package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
- package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
- package/serialization/types/CreateFileV1.d.ts +0 -21
- package/serialization/types/CreateFileV1.js +0 -52
- package/serialization/types/CreateFileV1FileType.d.ts +0 -10
- package/serialization/types/CreateFileV1FileType.js +0 -41
- package/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -18
- package/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -49
- package/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -18
- package/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -49
- package/serialization/types/ExternalFile.d.ts +0 -25
- package/serialization/types/ExternalFile.js +0 -56
- package/serialization/types/FilesResponse.d.ts +0 -18
- package/serialization/types/FilesResponse.js +0 -49
- package/serialization/types/FilesWithPagination.d.ts +0 -15
- package/serialization/types/FilesWithPagination.js +0 -46
- package/serialization/types/GetFileV1.d.ts +0 -21
- package/serialization/types/GetFileV1.js +0 -52
- package/serialization/types/GetFileV1FileType.d.ts +0 -10
- package/serialization/types/GetFileV1FileType.js +0 -41
- package/wrapper/AirtopFiles.d.ts +0 -38
- package/wrapper/AirtopFiles.js +0 -151
- /package/api/resources/{files/client/requests/CreateFileRestInputV1.js → windows/client/requests/AsyncCreateFormFillerRequest.js} +0 -0
- /package/api/resources/{files/client/requests/FilesListRequest.js → windows/client/requests/AsyncFillFormRequest.js} +0 -0
- /package/api/resources/windows/client/requests/{AsyncClickRequest.js → CreateFormFillerRequest.js} +0 -0
- /package/api/resources/windows/client/requests/{AsyncHoverRequest.js → FillFormRequest.js} +0 -0
- /package/{api/resources/windows/client/requests/AsyncMonitorRequest.js → dist/api/resources/windows/client/requests/AsyncCreateFormFillerRequest.js} +0 -0
- /package/{api/resources/windows/client/requests/AsyncPageQueryRequest.js → dist/api/resources/windows/client/requests/AsyncFillFormRequest.js} +0 -0
- /package/{api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js → dist/api/resources/windows/client/requests/CreateFormFillerRequest.js} +0 -0
- /package/{api/resources/windows/client/requests/AsyncPromptContentRequest.js → dist/api/resources/windows/client/requests/FillFormRequest.js} +0 -0
@@ -1,29 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as Airtop from "../../../../index";
|
5
|
-
/**
|
6
|
-
* @example
|
7
|
-
* {
|
8
|
-
* prompt: "What is the main idea of this page?"
|
9
|
-
* }
|
10
|
-
*/
|
11
|
-
export interface AsyncPromptContentRequest {
|
12
|
-
/** Async configuration options. */
|
13
|
-
async?: Airtop.AsyncConfig;
|
14
|
-
clientRequestId?: string;
|
15
|
-
/** Request configuration */
|
16
|
-
configuration?: Airtop.PageQueryConfig;
|
17
|
-
/** A credit threshold that, once exceeded, will cause the operation to be cancelled. Note that this is *not* a hard limit, but a threshold that is checked periodically during the course of fulfilling the request. A default threshold is used if not specified, but you can use this option to increase or decrease as needed. Set to 0 to disable this feature entirely (not recommended). */
|
18
|
-
costThresholdCredits?: number;
|
19
|
-
/** Make a best effort attempt to load more content items than are originally displayed on the page, e.g. by following pagination links, clicking controls to load more content, utilizing infinite scrolling, etc. This can be quite a bit more costly, but may be necessary for sites that require additional interaction to show the needed results. You can provide constraints in your prompt (e.g. on the total number of pages or results to consider). */
|
20
|
-
followPaginationLinks?: boolean;
|
21
|
-
/** The prompt to submit about the content in the browser window. */
|
22
|
-
prompt: string;
|
23
|
-
/**
|
24
|
-
* A time threshold in seconds that, once exceeded, will cause the operation to be cancelled. Note that this is *not* a hard limit, but a threshold that is checked periodically during the course of fulfilling the request. A default threshold is used if not specified, but you can use this option to increase or decrease as needed. Set to 0 to disable this feature entirely (not recommended).
|
25
|
-
*
|
26
|
-
* This setting does not extend the maximum session duration provided at the time of session creation.
|
27
|
-
*/
|
28
|
-
timeThresholdSeconds?: number;
|
29
|
-
}
|
@@ -1,37 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as Airtop from "../../../../index";
|
5
|
-
/**
|
6
|
-
* @example
|
7
|
-
* {
|
8
|
-
* text: "Example text"
|
9
|
-
* }
|
10
|
-
*/
|
11
|
-
export interface AsyncTypeRequest {
|
12
|
-
/** Async configuration options. */
|
13
|
-
async?: Airtop.AsyncConfig;
|
14
|
-
/** If true, and an HTML input field is active, clears the input field before typing the text. */
|
15
|
-
clearInputField?: boolean;
|
16
|
-
clientRequestId?: string;
|
17
|
-
/** Request configuration */
|
18
|
-
configuration?: Airtop.MicroInteractionConfigWithExperimental;
|
19
|
-
/** A credit threshold that, once exceeded, will cause the operation to be cancelled. Note that this is *not* a hard limit, but a threshold that is checked periodically during the course of fulfilling the request. A default threshold is used if not specified, but you can use this option to increase or decrease as needed. Set to 0 to disable this feature entirely (not recommended). */
|
20
|
-
costThresholdCredits?: number;
|
21
|
-
/** A natural language description of where to type (e.g. 'the search box', 'username field'). The interaction will be aborted if the target element cannot be found. */
|
22
|
-
elementDescription?: string;
|
23
|
-
/** If true, simulates pressing the Enter key after typing the text. */
|
24
|
-
pressEnterKey?: boolean;
|
25
|
-
/** If true, simulates pressing the Tab key after typing the text. Note that the tab key will be pressed after the Enter key if both options are configured. */
|
26
|
-
pressTabKey?: boolean;
|
27
|
-
/** The text to type into the browser window. */
|
28
|
-
text: string;
|
29
|
-
/**
|
30
|
-
* A time threshold in seconds that, once exceeded, will cause the operation to be cancelled. Note that this is *not* a hard limit, but a threshold that is checked periodically during the course of fulfilling the request. A default threshold is used if not specified, but you can use this option to increase or decrease as needed. Set to 0 to disable this feature entirely (not recommended).
|
31
|
-
*
|
32
|
-
* This setting does not extend the maximum session duration provided at the time of session creation.
|
33
|
-
*/
|
34
|
-
timeThresholdSeconds?: number;
|
35
|
-
/** If true, Airtop AI will wait for the navigation to complete after clicking the element. */
|
36
|
-
waitForNavigation?: boolean;
|
37
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as Airtop from "../index";
|
5
|
-
export interface CreateFileV1 {
|
6
|
-
/** Size of the file in bytes */
|
7
|
-
fileBytes: number;
|
8
|
-
/** Name of the file */
|
9
|
-
fileName: string;
|
10
|
-
/** Type of the file */
|
11
|
-
fileType: Airtop.CreateFileV1FileType;
|
12
|
-
/** ID of the file */
|
13
|
-
id: string;
|
14
|
-
/** ID of the organization */
|
15
|
-
orgId: string;
|
16
|
-
/** DEPRECATED: Use sessionIds instead */
|
17
|
-
sessionId?: string;
|
18
|
-
/** IDs of the associated sessions */
|
19
|
-
sessionIds?: string[];
|
20
|
-
/** Time when the file upload was started */
|
21
|
-
uploadStartTime: Date;
|
22
|
-
/** URL to upload the file */
|
23
|
-
uploadUrl: string;
|
24
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
/**
|
5
|
-
* Type of the file
|
6
|
-
*/
|
7
|
-
export type CreateFileV1FileType = "browser_download" | "screenshot" | "video" | "customer_upload";
|
8
|
-
export declare const CreateFileV1FileType: {
|
9
|
-
readonly BrowserDownload: "browser_download";
|
10
|
-
readonly Screenshot: "screenshot";
|
11
|
-
readonly Video: "video";
|
12
|
-
readonly CustomerUpload: "customer_upload";
|
13
|
-
};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.CreateFileV1FileType = void 0;
|
7
|
-
exports.CreateFileV1FileType = {
|
8
|
-
BrowserDownload: "browser_download",
|
9
|
-
Screenshot: "screenshot",
|
10
|
-
Video: "video",
|
11
|
-
CustomerUpload: "customer_upload",
|
12
|
-
};
|
@@ -1,10 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as Airtop from "../index";
|
5
|
-
export interface EnvelopeCreateFileV1EnvelopeDefaultMeta {
|
6
|
-
data: Airtop.CreateFileV1;
|
7
|
-
errors?: Airtop.Issue[];
|
8
|
-
meta: Airtop.EnvelopeDefaultMeta;
|
9
|
-
warnings?: Airtop.Issue[];
|
10
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as Airtop from "../index";
|
5
|
-
export interface EnvelopeGetFileV1EnvelopeDefaultMeta {
|
6
|
-
data: Airtop.GetFileV1;
|
7
|
-
errors?: Airtop.Issue[];
|
8
|
-
meta: Airtop.EnvelopeDefaultMeta;
|
9
|
-
warnings?: Airtop.Issue[];
|
10
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
export interface ExtensionConfigurationOutput {
|
5
|
-
/** The date and time the configuration was created. Might be null for old configurations */
|
6
|
-
createdAt?: Date;
|
7
|
-
/** The ids of the extensions in configuration. */
|
8
|
-
extensionIds?: string[];
|
9
|
-
/** Name of the extension configuration. */
|
10
|
-
name: string;
|
11
|
-
/** The date and time the configuration was last updated. Might be null for configurations not updated recently */
|
12
|
-
updatedAt?: Date;
|
13
|
-
}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
export interface ExternalFile {
|
5
|
-
/** Whether the file has been deleted */
|
6
|
-
deleted: boolean;
|
7
|
-
/** Time when the file was deleted */
|
8
|
-
deletionTime?: Date;
|
9
|
-
/** Size of the file in bytes */
|
10
|
-
fileBytes: number;
|
11
|
-
/** Name of the file */
|
12
|
-
fileName: string;
|
13
|
-
/** Type of the file */
|
14
|
-
fileType: string;
|
15
|
-
/** ID of the file */
|
16
|
-
id: string;
|
17
|
-
/** Time when the file was last heartbeated */
|
18
|
-
lastHeartbeatTime?: Date;
|
19
|
-
/** ID of the organization */
|
20
|
-
orgId: string;
|
21
|
-
/** IDs of the associated sessions */
|
22
|
-
sessionIds?: string[];
|
23
|
-
/** Status of the file */
|
24
|
-
status: string;
|
25
|
-
/** Time when the file was uploaded */
|
26
|
-
uploadCompleteTime?: Date;
|
27
|
-
/** Time when the file was uploaded */
|
28
|
-
uploadStartTime: Date;
|
29
|
-
/** Whether the file is visible in the API */
|
30
|
-
visibleInApi: boolean;
|
31
|
-
/** Whether the file is visible in the portal */
|
32
|
-
visibleInPortal: boolean;
|
33
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as Airtop from "../index";
|
5
|
-
export interface FilesResponse {
|
6
|
-
data: Airtop.FilesWithPagination;
|
7
|
-
errors?: Airtop.Issue[];
|
8
|
-
meta: Airtop.EnvelopeDefaultMeta;
|
9
|
-
warnings?: Airtop.Issue[];
|
10
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as Airtop from "../index";
|
5
|
-
export interface FilesWithPagination {
|
6
|
-
/** List of files. */
|
7
|
-
files?: Airtop.ExternalFile[];
|
8
|
-
/** Pagination details. */
|
9
|
-
pagination: Airtop.Pagination;
|
10
|
-
}
|
package/api/types/GetFileV1.d.ts
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as Airtop from "../index";
|
5
|
-
export interface GetFileV1 {
|
6
|
-
/** URL to download the file */
|
7
|
-
downloadUrl: string;
|
8
|
-
/** Size of the file in bytes */
|
9
|
-
fileBytes: number;
|
10
|
-
/** Name of the file */
|
11
|
-
fileName: string;
|
12
|
-
/** Type of the file */
|
13
|
-
fileType: Airtop.GetFileV1FileType;
|
14
|
-
/** ID of the file */
|
15
|
-
id: string;
|
16
|
-
/** ID of the organization */
|
17
|
-
orgId: string;
|
18
|
-
/** DEPRECATED: Use sessionIds instead */
|
19
|
-
sessionId?: string;
|
20
|
-
/** IDs of the associated sessions */
|
21
|
-
sessionIds?: string[];
|
22
|
-
/** Time when the file upload was started */
|
23
|
-
uploadStartTime: Date;
|
24
|
-
}
|
package/api/types/GetFileV1.js
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
/**
|
5
|
-
* Type of the file
|
6
|
-
*/
|
7
|
-
export type GetFileV1FileType = "browser_download" | "screenshot" | "video" | "customer_upload";
|
8
|
-
export declare const GetFileV1FileType: {
|
9
|
-
readonly BrowserDownload: "browser_download";
|
10
|
-
readonly Screenshot: "screenshot";
|
11
|
-
readonly Video: "video";
|
12
|
-
readonly CustomerUpload: "customer_upload";
|
13
|
-
};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.GetFileV1FileType = void 0;
|
7
|
-
exports.GetFileV1FileType = {
|
8
|
-
BrowserDownload: "browser_download",
|
9
|
-
Screenshot: "screenshot",
|
10
|
-
Video: "video",
|
11
|
-
CustomerUpload: "customer_upload",
|
12
|
-
};
|
@@ -1,69 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as environments from "../../../../environments";
|
5
|
-
import * as core from "../../../../core";
|
6
|
-
import * as Airtop from "../../../index";
|
7
|
-
export declare namespace Files {
|
8
|
-
interface Options {
|
9
|
-
environment?: core.Supplier<environments.AirtopEnvironment | string>;
|
10
|
-
/** Specify a custom URL to connect the client to. */
|
11
|
-
baseUrl?: core.Supplier<string>;
|
12
|
-
apiKey: core.Supplier<core.BearerToken>;
|
13
|
-
fetcher?: core.FetchFunction;
|
14
|
-
}
|
15
|
-
interface RequestOptions {
|
16
|
-
/** The maximum time to wait for a response in seconds. */
|
17
|
-
timeoutInSeconds?: number;
|
18
|
-
/** The number of times to retry the request. Defaults to 2. */
|
19
|
-
maxRetries?: number;
|
20
|
-
/** A hook to abort the request. */
|
21
|
-
abortSignal?: AbortSignal;
|
22
|
-
/** Additional headers to include in the request. */
|
23
|
-
headers?: Record<string, string>;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
export declare class Files {
|
27
|
-
protected readonly _options: Files.Options;
|
28
|
-
constructor(_options: Files.Options);
|
29
|
-
/**
|
30
|
-
* Get a list of files filtered by session ID
|
31
|
-
*
|
32
|
-
* @param {Airtop.FilesListRequest} request
|
33
|
-
* @param {Files.RequestOptions} requestOptions - Request-specific configuration.
|
34
|
-
*
|
35
|
-
* @example
|
36
|
-
* await client.files.list({
|
37
|
-
* offset: 1,
|
38
|
-
* limit: 10
|
39
|
-
* })
|
40
|
-
*/
|
41
|
-
list(request?: Airtop.FilesListRequest, requestOptions?: Files.RequestOptions): Promise<Airtop.FilesResponse>;
|
42
|
-
/**
|
43
|
-
* @param {Airtop.CreateFileRestInputV1} request
|
44
|
-
* @param {Files.RequestOptions} requestOptions - Request-specific configuration.
|
45
|
-
*
|
46
|
-
* @example
|
47
|
-
* await client.files.create({
|
48
|
-
* fileName: "fileName"
|
49
|
-
* })
|
50
|
-
*/
|
51
|
-
create(request: Airtop.CreateFileRestInputV1, requestOptions?: Files.RequestOptions): Promise<Airtop.EnvelopeCreateFileV1EnvelopeDefaultMeta>;
|
52
|
-
/**
|
53
|
-
* @param {string} id - ID of the file
|
54
|
-
* @param {Files.RequestOptions} requestOptions - Request-specific configuration.
|
55
|
-
*
|
56
|
-
* @example
|
57
|
-
* await client.files.get("id")
|
58
|
-
*/
|
59
|
-
get(id: string, requestOptions?: Files.RequestOptions): Promise<Airtop.EnvelopeGetFileV1EnvelopeDefaultMeta>;
|
60
|
-
/**
|
61
|
-
* @param {string} id - ID of the file
|
62
|
-
* @param {Files.RequestOptions} requestOptions - Request-specific configuration.
|
63
|
-
*
|
64
|
-
* @example
|
65
|
-
* await client.files.delete("id")
|
66
|
-
*/
|
67
|
-
delete(id: string, requestOptions?: Files.RequestOptions): Promise<void>;
|
68
|
-
protected _getAuthorizationHeader(): Promise<string>;
|
69
|
-
}
|