@airtop/sdk 0.1.42-beta0 → 0.1.43
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/README.md +10 -9
- package/api/resources/automations/client/Client.js +4 -4
- package/api/resources/files/client/Client.js +5 -5
- package/api/resources/profiles/client/Client.js +1 -1
- package/api/resources/requests/client/Client.js +1 -1
- package/api/resources/sessions/client/Client.js +6 -6
- package/api/resources/sessions/types/SessionsEventsResponse.d.ts +7 -7
- 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 +0 -224
- package/api/resources/windows/client/Client.js +220 -1175
- package/api/resources/windows/client/requests/index.d.ts +0 -17
- package/api/resources/windows/types/index.d.ts +0 -1
- package/api/resources/windows/types/index.js +0 -1
- package/api/types/index.d.ts +0 -1
- package/api/types/index.js +0 -1
- package/dist/api/resources/automations/client/Client.js +4 -4
- package/dist/api/resources/files/client/Client.js +5 -5
- 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.js +6 -6
- package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +7 -7
- 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 +0 -224
- package/dist/api/resources/windows/client/Client.js +220 -1175
- package/dist/api/resources/windows/client/requests/index.d.ts +0 -17
- package/dist/api/resources/windows/types/index.d.ts +0 -1
- package/dist/api/resources/windows/types/index.js +0 -1
- package/dist/api/types/index.d.ts +0 -1
- package/dist/api/types/index.js +0 -1
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +9 -9
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +4 -4
- 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/index.d.ts +0 -17
- package/dist/serialization/resources/windows/client/requests/index.js +1 -35
- package/dist/serialization/resources/windows/types/index.d.ts +0 -1
- package/dist/serialization/resources/windows/types/index.js +0 -1
- package/dist/serialization/types/index.d.ts +0 -1
- package/dist/serialization/types/index.js +0 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +140 -1449
- package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +9 -9
- package/serialization/resources/sessions/types/SessionsEventsResponse.js +4 -4
- 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/index.d.ts +0 -17
- package/serialization/resources/windows/client/requests/index.js +1 -35
- package/serialization/resources/windows/types/index.d.ts +0 -1
- package/serialization/resources/windows/types/index.js +0 -1
- package/serialization/types/index.d.ts +0 -1
- package/serialization/types/index.js +0 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/windows/client/requests/ActRequest.d.ts +0 -30
- package/api/resources/windows/client/requests/ActRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
- package/api/resources/windows/client/requests/AsyncClickRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncFileInputRequest.d.ts +0 -33
- package/api/resources/windows/client/requests/AsyncFileInputRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
- package/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
- package/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
- package/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
- package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
- package/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
- package/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
- package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
- package/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
- package/api/resources/windows/client/requests/ExtractRequest.d.ts +0 -30
- package/api/resources/windows/client/requests/ExtractRequest.js +0 -5
- package/api/resources/windows/client/requests/FindManyRequest.d.ts +0 -30
- package/api/resources/windows/client/requests/FindManyRequest.js +0 -5
- package/api/resources/windows/client/requests/FindOneRequest.d.ts +0 -30
- package/api/resources/windows/client/requests/FindOneRequest.js +0 -5
- package/api/resources/windows/client/requests/LlmRequest.d.ts +0 -25
- package/api/resources/windows/client/requests/LlmRequest.js +0 -5
- package/api/resources/windows/client/requests/OperatorPromptV1Body.d.ts +0 -25
- package/api/resources/windows/client/requests/OperatorPromptV1Body.js +0 -5
- package/api/resources/windows/client/requests/WaitForPageRequest.d.ts +0 -23
- package/api/resources/windows/client/requests/WaitForPageRequest.js +0 -5
- package/api/resources/windows/types/WaitForPageRequestTargetStatus.d.ts +0 -11
- package/api/resources/windows/types/WaitForPageRequestTargetStatus.js +0 -10
- package/api/types/AsyncOperatorPromptResponseEnvelope.d.ts +0 -9
- package/api/types/AsyncOperatorPromptResponseEnvelope.js +0 -5
- package/dist/api/resources/windows/client/requests/ActRequest.d.ts +0 -30
- package/dist/api/resources/windows/client/requests/ActRequest.js +0 -5
- 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/AsyncFileInputRequest.d.ts +0 -33
- package/dist/api/resources/windows/client/requests/AsyncFileInputRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
- package/dist/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
- package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
- package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
- package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
- package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
- package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
- package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
- package/dist/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/ExtractRequest.d.ts +0 -30
- package/dist/api/resources/windows/client/requests/ExtractRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/FindManyRequest.d.ts +0 -30
- package/dist/api/resources/windows/client/requests/FindManyRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/FindOneRequest.d.ts +0 -30
- package/dist/api/resources/windows/client/requests/FindOneRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/LlmRequest.d.ts +0 -25
- package/dist/api/resources/windows/client/requests/LlmRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/OperatorPromptV1Body.d.ts +0 -25
- package/dist/api/resources/windows/client/requests/OperatorPromptV1Body.js +0 -5
- package/dist/api/resources/windows/client/requests/WaitForPageRequest.d.ts +0 -23
- package/dist/api/resources/windows/client/requests/WaitForPageRequest.js +0 -5
- package/dist/api/resources/windows/types/WaitForPageRequestTargetStatus.d.ts +0 -11
- package/dist/api/resources/windows/types/WaitForPageRequestTargetStatus.js +0 -10
- package/dist/api/types/AsyncOperatorPromptResponseEnvelope.d.ts +0 -9
- package/dist/api/types/AsyncOperatorPromptResponseEnvelope.js +0 -5
- package/dist/serialization/resources/windows/client/requests/ActRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/ActRequest.js +0 -50
- package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
- package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -51
- package/dist/serialization/resources/windows/client/requests/AsyncFileInputRequest.d.ts +0 -23
- package/dist/serialization/resources/windows/client/requests/AsyncFileInputRequest.js +0 -54
- package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -50
- package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -50
- package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
- package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
- package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -50
- package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
- package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
- package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
- package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -49
- package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -50
- package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
- package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
- package/dist/serialization/resources/windows/client/requests/ExtractRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/ExtractRequest.js +0 -50
- package/dist/serialization/resources/windows/client/requests/FindManyRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/FindManyRequest.js +0 -50
- package/dist/serialization/resources/windows/client/requests/FindOneRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/FindOneRequest.js +0 -50
- package/dist/serialization/resources/windows/client/requests/LlmRequest.d.ts +0 -17
- package/dist/serialization/resources/windows/client/requests/LlmRequest.js +0 -48
- package/dist/serialization/resources/windows/client/requests/OperatorPromptV1Body.d.ts +0 -17
- package/dist/serialization/resources/windows/client/requests/OperatorPromptV1Body.js +0 -48
- package/dist/serialization/resources/windows/client/requests/WaitForPageRequest.d.ts +0 -18
- package/dist/serialization/resources/windows/client/requests/WaitForPageRequest.js +0 -49
- package/dist/serialization/resources/windows/types/WaitForPageRequestTargetStatus.d.ts +0 -10
- package/dist/serialization/resources/windows/types/WaitForPageRequestTargetStatus.js +0 -41
- package/dist/serialization/types/AsyncOperatorPromptResponseEnvelope.d.ts +0 -15
- package/dist/serialization/types/AsyncOperatorPromptResponseEnvelope.js +0 -46
- package/serialization/resources/windows/client/requests/ActRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/ActRequest.js +0 -50
- 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/AsyncFileInputRequest.d.ts +0 -23
- package/serialization/resources/windows/client/requests/AsyncFileInputRequest.js +0 -54
- package/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -50
- package/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -50
- package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
- package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
- package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -50
- package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
- package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
- package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
- package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -49
- package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -50
- package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
- package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
- package/serialization/resources/windows/client/requests/ExtractRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/ExtractRequest.js +0 -50
- package/serialization/resources/windows/client/requests/FindManyRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/FindManyRequest.js +0 -50
- package/serialization/resources/windows/client/requests/FindOneRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/FindOneRequest.js +0 -50
- package/serialization/resources/windows/client/requests/LlmRequest.d.ts +0 -17
- package/serialization/resources/windows/client/requests/LlmRequest.js +0 -48
- package/serialization/resources/windows/client/requests/OperatorPromptV1Body.d.ts +0 -17
- package/serialization/resources/windows/client/requests/OperatorPromptV1Body.js +0 -48
- package/serialization/resources/windows/client/requests/WaitForPageRequest.d.ts +0 -18
- package/serialization/resources/windows/client/requests/WaitForPageRequest.js +0 -49
- package/serialization/resources/windows/types/WaitForPageRequestTargetStatus.d.ts +0 -10
- package/serialization/resources/windows/types/WaitForPageRequestTargetStatus.js +0 -41
- package/serialization/types/AsyncOperatorPromptResponseEnvelope.d.ts +0 -15
- package/serialization/types/AsyncOperatorPromptResponseEnvelope.js +0 -46
@@ -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,30 +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
|
-
* jobId: "123",
|
9
|
-
* prompt: "Extract all product prices from this page"
|
10
|
-
* }
|
11
|
-
*/
|
12
|
-
export interface ExtractRequest {
|
13
|
-
/** Async configuration options. */
|
14
|
-
async?: Airtop.AsyncConfig;
|
15
|
-
clientRequestId?: string;
|
16
|
-
/** 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). */
|
17
|
-
costThresholdCredits?: number;
|
18
|
-
/** The id of the job to which this operation belongs */
|
19
|
-
jobId: string;
|
20
|
-
/** Optional: The handle id of the node to extract from */
|
21
|
-
nodeHandleId?: string;
|
22
|
-
/** Prompt describing what to extract from the page */
|
23
|
-
prompt: string;
|
24
|
-
/**
|
25
|
-
* 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).
|
26
|
-
*
|
27
|
-
* This setting does not extend the maximum session duration provided at the time of session creation.
|
28
|
-
*/
|
29
|
-
timeThresholdSeconds?: number;
|
30
|
-
}
|
@@ -1,30 +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
|
-
* jobId: "123",
|
9
|
-
* prompt: "Find all the news articles"
|
10
|
-
* }
|
11
|
-
*/
|
12
|
-
export interface FindManyRequest {
|
13
|
-
/** Async configuration options. */
|
14
|
-
async?: Airtop.AsyncConfig;
|
15
|
-
clientRequestId?: string;
|
16
|
-
/** 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). */
|
17
|
-
costThresholdCredits?: number;
|
18
|
-
/** The id of the job to which this operation belongs */
|
19
|
-
jobId: string;
|
20
|
-
/** Optional: The handle id of the node to search within */
|
21
|
-
nodeHandleId?: string;
|
22
|
-
/** Prompt describing what elements to find on the page */
|
23
|
-
prompt: string;
|
24
|
-
/**
|
25
|
-
* 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).
|
26
|
-
*
|
27
|
-
* This setting does not extend the maximum session duration provided at the time of session creation.
|
28
|
-
*/
|
29
|
-
timeThresholdSeconds?: number;
|
30
|
-
}
|
@@ -1,30 +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
|
-
* jobId: "123",
|
9
|
-
* prompt: "Find the login button"
|
10
|
-
* }
|
11
|
-
*/
|
12
|
-
export interface FindOneRequest {
|
13
|
-
/** Async configuration options. */
|
14
|
-
async?: Airtop.AsyncConfig;
|
15
|
-
clientRequestId?: string;
|
16
|
-
/** 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). */
|
17
|
-
costThresholdCredits?: number;
|
18
|
-
/** The id of the job to which this operation belongs */
|
19
|
-
jobId: string;
|
20
|
-
/** Optional: The handle id of the node to search within */
|
21
|
-
nodeHandleId?: string;
|
22
|
-
/** Prompt describing what element to find on the page */
|
23
|
-
prompt: string;
|
24
|
-
/**
|
25
|
-
* 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).
|
26
|
-
*
|
27
|
-
* This setting does not extend the maximum session duration provided at the time of session creation.
|
28
|
-
*/
|
29
|
-
timeThresholdSeconds?: number;
|
30
|
-
}
|
@@ -1,25 +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: "Tell me about this webpage"
|
9
|
-
* }
|
10
|
-
*/
|
11
|
-
export interface LlmRequest {
|
12
|
-
/** Async configuration options. */
|
13
|
-
async?: Airtop.AsyncConfig;
|
14
|
-
clientRequestId?: string;
|
15
|
-
/** 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). */
|
16
|
-
costThresholdCredits?: number;
|
17
|
-
/** Prompt for the LLM to respond to */
|
18
|
-
prompt: string;
|
19
|
-
/**
|
20
|
-
* 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).
|
21
|
-
*
|
22
|
-
* This setting does not extend the maximum session duration provided at the time of session creation.
|
23
|
-
*/
|
24
|
-
timeThresholdSeconds?: number;
|
25
|
-
}
|
@@ -1,25 +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 latest news about OpenAI?"
|
9
|
-
* }
|
10
|
-
*/
|
11
|
-
export interface OperatorPromptV1Body {
|
12
|
-
/** Async configuration options. */
|
13
|
-
async?: Airtop.AsyncConfig;
|
14
|
-
clientRequestId?: string;
|
15
|
-
/** 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). */
|
16
|
-
costThresholdCredits?: number;
|
17
|
-
/** prompt to ask operator */
|
18
|
-
prompt: string;
|
19
|
-
/**
|
20
|
-
* 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).
|
21
|
-
*
|
22
|
-
* This setting does not extend the maximum session duration provided at the time of session creation.
|
23
|
-
*/
|
24
|
-
timeThresholdSeconds?: number;
|
25
|
-
}
|
@@ -1,23 +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
|
-
*/
|
9
|
-
export interface WaitForPageRequest {
|
10
|
-
/** Async configuration options. */
|
11
|
-
async?: Airtop.AsyncConfig;
|
12
|
-
clientRequestId?: string;
|
13
|
-
/** 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). */
|
14
|
-
costThresholdCredits?: number;
|
15
|
-
/** The target status of the page */
|
16
|
-
targetStatus?: Airtop.WaitForPageRequestTargetStatus;
|
17
|
-
/**
|
18
|
-
* 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).
|
19
|
-
*
|
20
|
-
* This setting does not extend the maximum session duration provided at the time of session creation.
|
21
|
-
*/
|
22
|
-
timeThresholdSeconds?: number;
|
23
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
/**
|
5
|
-
* The target status of the page
|
6
|
-
*/
|
7
|
-
export type WaitForPageRequestTargetStatus = "domcontentloaded" | "load";
|
8
|
-
export declare const WaitForPageRequestTargetStatus: {
|
9
|
-
readonly Domcontentloaded: "domcontentloaded";
|
10
|
-
readonly Load: "load";
|
11
|
-
};
|
@@ -1,10 +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.WaitForPageRequestTargetStatus = void 0;
|
7
|
-
exports.WaitForPageRequestTargetStatus = {
|
8
|
-
Domcontentloaded: "domcontentloaded",
|
9
|
-
Load: "load",
|
10
|
-
};
|
@@ -1,30 +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
|
-
* jobId: "123",
|
9
|
-
* prompt: "Click the login button"
|
10
|
-
* }
|
11
|
-
*/
|
12
|
-
export interface ActRequest {
|
13
|
-
/** Async configuration options. */
|
14
|
-
async?: Airtop.AsyncConfig;
|
15
|
-
clientRequestId?: string;
|
16
|
-
/** 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). */
|
17
|
-
costThresholdCredits?: number;
|
18
|
-
/** The id of the job to which this operation belongs */
|
19
|
-
jobId: string;
|
20
|
-
/** Optional: The handle id of the node to act on */
|
21
|
-
nodeHandleId?: string;
|
22
|
-
/** Prompt describing what action to perform on the page */
|
23
|
-
prompt: string;
|
24
|
-
/**
|
25
|
-
* 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).
|
26
|
-
*
|
27
|
-
* This setting does not extend the maximum session duration provided at the time of session creation.
|
28
|
-
*/
|
29
|
-
timeThresholdSeconds?: number;
|
30
|
-
}
|
@@ -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
|
-
* elementDescription: "The login button"
|
9
|
-
* }
|
10
|
-
*/
|
11
|
-
export interface AsyncClickRequest {
|
12
|
-
/** Async configuration options. */
|
13
|
-
async?: Airtop.AsyncConfig;
|
14
|
-
clientRequestId?: string;
|
15
|
-
/** Request configuration */
|
16
|
-
configuration?: Airtop.ClickConfig;
|
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
|
-
/** A natural language description of the element to click. */
|
20
|
-
elementDescription: string;
|
21
|
-
/**
|
22
|
-
* 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).
|
23
|
-
*
|
24
|
-
* This setting does not extend the maximum session duration provided at the time of session creation.
|
25
|
-
*/
|
26
|
-
timeThresholdSeconds?: number;
|
27
|
-
/** If true, Airtop AI will wait for the navigation to complete after clicking the element. */
|
28
|
-
waitForNavigation?: boolean;
|
29
|
-
}
|
@@ -1,33 +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
|
-
*/
|
9
|
-
export interface AsyncFileInputRequest {
|
10
|
-
/** Async configuration options. */
|
11
|
-
async?: Airtop.AsyncConfig;
|
12
|
-
clientRequestId?: string;
|
13
|
-
/** Request configuration */
|
14
|
-
configuration?: Airtop.MicroInteractionConfigWithExperimental;
|
15
|
-
/** 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). */
|
16
|
-
costThresholdCredits?: number;
|
17
|
-
/** A natural language description of the file input to interact with (e.g. 'the file input', 'file upload selection box'). The interaction will be aborted if the target element cannot be found. */
|
18
|
-
elementDescription?: string;
|
19
|
-
/** The id of the file to upload. 'fileId' or 'fileName' is required. */
|
20
|
-
fileId?: string;
|
21
|
-
/** The name of the file to upload, not including the path. 'fileId' or 'fileName' is required. */
|
22
|
-
fileName?: string;
|
23
|
-
/** If true, Airtop AI will find hidden file input elements and interact with them. */
|
24
|
-
includeHiddenElements?: boolean;
|
25
|
-
/**
|
26
|
-
* 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).
|
27
|
-
*
|
28
|
-
* This setting does not extend the maximum session duration provided at the time of session creation.
|
29
|
-
*/
|
30
|
-
timeThresholdSeconds?: number;
|
31
|
-
/** If true, Airtop AI will wait for the navigation to complete after clicking the element. */
|
32
|
-
waitForNavigation?: boolean;
|
33
|
-
}
|
@@ -1,27 +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
|
-
* elementDescription: "The search box input in the top right corner"
|
9
|
-
* }
|
10
|
-
*/
|
11
|
-
export interface AsyncHoverRequest {
|
12
|
-
/** Async configuration options. */
|
13
|
-
async?: Airtop.AsyncConfig;
|
14
|
-
clientRequestId?: string;
|
15
|
-
/** Request configuration */
|
16
|
-
configuration?: Airtop.MicroInteractionConfigWithExperimental;
|
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
|
-
/** A natural language description of where to hover (e.g. 'the search box', 'username field'). The interaction will be aborted if the target element cannot be found. */
|
20
|
-
elementDescription: string;
|
21
|
-
/**
|
22
|
-
* 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).
|
23
|
-
*
|
24
|
-
* This setting does not extend the maximum session duration provided at the time of session creation.
|
25
|
-
*/
|
26
|
-
timeThresholdSeconds?: number;
|
27
|
-
}
|
@@ -1,27 +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
|
-
* condition: "Determine if the user appears to be signed in to the website"
|
9
|
-
* }
|
10
|
-
*/
|
11
|
-
export interface AsyncMonitorRequest {
|
12
|
-
/** Async configuration options. */
|
13
|
-
async?: Airtop.AsyncConfig;
|
14
|
-
clientRequestId?: string;
|
15
|
-
/** A natural language description of the condition to monitor for in the browser window. */
|
16
|
-
condition: string;
|
17
|
-
/** Monitor configuration. If not specified, defaults to an interval monitor with a 5 second interval. */
|
18
|
-
configuration?: Airtop.MonitorConfig;
|
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
|
-
/**
|
22
|
-
* 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).
|
23
|
-
*
|
24
|
-
* This setting does not extend the maximum session duration provided at the time of session creation.
|
25
|
-
*/
|
26
|
-
timeThresholdSeconds?: number;
|
27
|
-
}
|
@@ -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 AsyncPageQueryRequest {
|
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,27 +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: "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."
|
9
|
-
* }
|
10
|
-
*/
|
11
|
-
export interface AsyncPaginatedExtractionRequest {
|
12
|
-
/** Async configuration options. */
|
13
|
-
async?: Airtop.AsyncConfig;
|
14
|
-
clientRequestId?: string;
|
15
|
-
/** Request configuration */
|
16
|
-
configuration?: Airtop.PaginatedExtractionConfig;
|
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
|
-
/** A prompt providing the Airtop AI model with additional direction or constraints about the page and the details you want to extract from the page. */
|
20
|
-
prompt: string;
|
21
|
-
/**
|
22
|
-
* 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).
|
23
|
-
*
|
24
|
-
* This setting does not extend the maximum session duration provided at the time of session creation.
|
25
|
-
*/
|
26
|
-
timeThresholdSeconds?: number;
|
27
|
-
}
|
@@ -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,23 +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
|
-
*/
|
9
|
-
export interface AsyncScreenshotRequest {
|
10
|
-
/** Async configuration options. */
|
11
|
-
async?: Airtop.AsyncConfig;
|
12
|
-
clientRequestId?: string;
|
13
|
-
/** Request configuration */
|
14
|
-
configuration?: Airtop.ScreenshotRequestConfig;
|
15
|
-
/** 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). */
|
16
|
-
costThresholdCredits?: number;
|
17
|
-
/**
|
18
|
-
* 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).
|
19
|
-
*
|
20
|
-
* This setting does not extend the maximum session duration provided at the time of session creation.
|
21
|
-
*/
|
22
|
-
timeThresholdSeconds?: number;
|
23
|
-
}
|