@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,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
|
-
*/
|
9
|
-
export interface AsyncSummarizeContentRequest {
|
10
|
-
/** Async configuration options. */
|
11
|
-
async?: Airtop.AsyncConfig;
|
12
|
-
clientRequestId?: string;
|
13
|
-
/** Request configuration */
|
14
|
-
configuration?: Airtop.SummaryConfig;
|
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
|
-
/** An optional prompt providing the Airtop AI model with additional direction or constraints about the summary (such as desired length). */
|
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,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,19 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../../../../index";
|
5
|
-
import * as Airtop from "../../../../../api/index";
|
6
|
-
import * as core from "../../../../../core";
|
7
|
-
import { AsyncConfig } from "../../../../types/AsyncConfig";
|
8
|
-
export declare const ActRequest: core.serialization.Schema<serializers.ActRequest.Raw, Airtop.ActRequest>;
|
9
|
-
export declare namespace ActRequest {
|
10
|
-
interface Raw {
|
11
|
-
async?: AsyncConfig.Raw | null;
|
12
|
-
clientRequestId?: string | null;
|
13
|
-
costThresholdCredits?: number | null;
|
14
|
-
jobId: string;
|
15
|
-
nodeHandleId?: string | null;
|
16
|
-
prompt: string;
|
17
|
-
timeThresholdSeconds?: number | null;
|
18
|
-
}
|
19
|
-
}
|
@@ -1,50 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
-
if (k2 === undefined) k2 = k;
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
-
}
|
11
|
-
Object.defineProperty(o, k2, desc);
|
12
|
-
}) : (function(o, m, k, k2) {
|
13
|
-
if (k2 === undefined) k2 = k;
|
14
|
-
o[k2] = m[k];
|
15
|
-
}));
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
-
}) : function(o, v) {
|
19
|
-
o["default"] = v;
|
20
|
-
});
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
22
|
-
var ownKeys = function(o) {
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
24
|
-
var ar = [];
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
26
|
-
return ar;
|
27
|
-
};
|
28
|
-
return ownKeys(o);
|
29
|
-
};
|
30
|
-
return function (mod) {
|
31
|
-
if (mod && mod.__esModule) return mod;
|
32
|
-
var result = {};
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
34
|
-
__setModuleDefault(result, mod);
|
35
|
-
return result;
|
36
|
-
};
|
37
|
-
})();
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
39
|
-
exports.ActRequest = void 0;
|
40
|
-
const core = __importStar(require("../../../../../core"));
|
41
|
-
const AsyncConfig_1 = require("../../../../types/AsyncConfig");
|
42
|
-
exports.ActRequest = core.serialization.object({
|
43
|
-
async: AsyncConfig_1.AsyncConfig.optional(),
|
44
|
-
clientRequestId: core.serialization.string().optional(),
|
45
|
-
costThresholdCredits: core.serialization.number().optional(),
|
46
|
-
jobId: core.serialization.string(),
|
47
|
-
nodeHandleId: core.serialization.string().optional(),
|
48
|
-
prompt: core.serialization.string(),
|
49
|
-
timeThresholdSeconds: core.serialization.number().optional(),
|
50
|
-
});
|
@@ -1,20 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../../../../index";
|
5
|
-
import * as Airtop from "../../../../../api/index";
|
6
|
-
import * as core from "../../../../../core";
|
7
|
-
import { AsyncConfig } from "../../../../types/AsyncConfig";
|
8
|
-
import { ClickConfig } from "../../../../types/ClickConfig";
|
9
|
-
export declare const AsyncClickRequest: core.serialization.Schema<serializers.AsyncClickRequest.Raw, Airtop.AsyncClickRequest>;
|
10
|
-
export declare namespace AsyncClickRequest {
|
11
|
-
interface Raw {
|
12
|
-
async?: AsyncConfig.Raw | null;
|
13
|
-
clientRequestId?: string | null;
|
14
|
-
configuration?: ClickConfig.Raw | null;
|
15
|
-
costThresholdCredits?: number | null;
|
16
|
-
elementDescription: string;
|
17
|
-
timeThresholdSeconds?: number | null;
|
18
|
-
waitForNavigation?: boolean | null;
|
19
|
-
}
|
20
|
-
}
|
@@ -1,51 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
-
if (k2 === undefined) k2 = k;
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
-
}
|
11
|
-
Object.defineProperty(o, k2, desc);
|
12
|
-
}) : (function(o, m, k, k2) {
|
13
|
-
if (k2 === undefined) k2 = k;
|
14
|
-
o[k2] = m[k];
|
15
|
-
}));
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
-
}) : function(o, v) {
|
19
|
-
o["default"] = v;
|
20
|
-
});
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
22
|
-
var ownKeys = function(o) {
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
24
|
-
var ar = [];
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
26
|
-
return ar;
|
27
|
-
};
|
28
|
-
return ownKeys(o);
|
29
|
-
};
|
30
|
-
return function (mod) {
|
31
|
-
if (mod && mod.__esModule) return mod;
|
32
|
-
var result = {};
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
34
|
-
__setModuleDefault(result, mod);
|
35
|
-
return result;
|
36
|
-
};
|
37
|
-
})();
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
39
|
-
exports.AsyncClickRequest = void 0;
|
40
|
-
const core = __importStar(require("../../../../../core"));
|
41
|
-
const AsyncConfig_1 = require("../../../../types/AsyncConfig");
|
42
|
-
const ClickConfig_1 = require("../../../../types/ClickConfig");
|
43
|
-
exports.AsyncClickRequest = core.serialization.object({
|
44
|
-
async: AsyncConfig_1.AsyncConfig.optional(),
|
45
|
-
clientRequestId: core.serialization.string().optional(),
|
46
|
-
configuration: ClickConfig_1.ClickConfig.optional(),
|
47
|
-
costThresholdCredits: core.serialization.number().optional(),
|
48
|
-
elementDescription: core.serialization.string(),
|
49
|
-
timeThresholdSeconds: core.serialization.number().optional(),
|
50
|
-
waitForNavigation: core.serialization.boolean().optional(),
|
51
|
-
});
|
@@ -1,23 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../../../../index";
|
5
|
-
import * as Airtop from "../../../../../api/index";
|
6
|
-
import * as core from "../../../../../core";
|
7
|
-
import { AsyncConfig } from "../../../../types/AsyncConfig";
|
8
|
-
import { MicroInteractionConfigWithExperimental } from "../../../../types/MicroInteractionConfigWithExperimental";
|
9
|
-
export declare const AsyncFileInputRequest: core.serialization.Schema<serializers.AsyncFileInputRequest.Raw, Airtop.AsyncFileInputRequest>;
|
10
|
-
export declare namespace AsyncFileInputRequest {
|
11
|
-
interface Raw {
|
12
|
-
async?: AsyncConfig.Raw | null;
|
13
|
-
clientRequestId?: string | null;
|
14
|
-
configuration?: MicroInteractionConfigWithExperimental.Raw | null;
|
15
|
-
costThresholdCredits?: number | null;
|
16
|
-
elementDescription?: string | null;
|
17
|
-
fileId?: string | null;
|
18
|
-
fileName?: string | null;
|
19
|
-
includeHiddenElements?: boolean | null;
|
20
|
-
timeThresholdSeconds?: number | null;
|
21
|
-
waitForNavigation?: boolean | null;
|
22
|
-
}
|
23
|
-
}
|
@@ -1,54 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
-
if (k2 === undefined) k2 = k;
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
-
}
|
11
|
-
Object.defineProperty(o, k2, desc);
|
12
|
-
}) : (function(o, m, k, k2) {
|
13
|
-
if (k2 === undefined) k2 = k;
|
14
|
-
o[k2] = m[k];
|
15
|
-
}));
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
-
}) : function(o, v) {
|
19
|
-
o["default"] = v;
|
20
|
-
});
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
22
|
-
var ownKeys = function(o) {
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
24
|
-
var ar = [];
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
26
|
-
return ar;
|
27
|
-
};
|
28
|
-
return ownKeys(o);
|
29
|
-
};
|
30
|
-
return function (mod) {
|
31
|
-
if (mod && mod.__esModule) return mod;
|
32
|
-
var result = {};
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
34
|
-
__setModuleDefault(result, mod);
|
35
|
-
return result;
|
36
|
-
};
|
37
|
-
})();
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
39
|
-
exports.AsyncFileInputRequest = void 0;
|
40
|
-
const core = __importStar(require("../../../../../core"));
|
41
|
-
const AsyncConfig_1 = require("../../../../types/AsyncConfig");
|
42
|
-
const MicroInteractionConfigWithExperimental_1 = require("../../../../types/MicroInteractionConfigWithExperimental");
|
43
|
-
exports.AsyncFileInputRequest = core.serialization.object({
|
44
|
-
async: AsyncConfig_1.AsyncConfig.optional(),
|
45
|
-
clientRequestId: core.serialization.string().optional(),
|
46
|
-
configuration: MicroInteractionConfigWithExperimental_1.MicroInteractionConfigWithExperimental.optional(),
|
47
|
-
costThresholdCredits: core.serialization.number().optional(),
|
48
|
-
elementDescription: core.serialization.string().optional(),
|
49
|
-
fileId: core.serialization.string().optional(),
|
50
|
-
fileName: core.serialization.string().optional(),
|
51
|
-
includeHiddenElements: core.serialization.boolean().optional(),
|
52
|
-
timeThresholdSeconds: core.serialization.number().optional(),
|
53
|
-
waitForNavigation: core.serialization.boolean().optional(),
|
54
|
-
});
|
@@ -1,19 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../../../../index";
|
5
|
-
import * as Airtop from "../../../../../api/index";
|
6
|
-
import * as core from "../../../../../core";
|
7
|
-
import { AsyncConfig } from "../../../../types/AsyncConfig";
|
8
|
-
import { MicroInteractionConfigWithExperimental } from "../../../../types/MicroInteractionConfigWithExperimental";
|
9
|
-
export declare const AsyncHoverRequest: core.serialization.Schema<serializers.AsyncHoverRequest.Raw, Airtop.AsyncHoverRequest>;
|
10
|
-
export declare namespace AsyncHoverRequest {
|
11
|
-
interface Raw {
|
12
|
-
async?: AsyncConfig.Raw | null;
|
13
|
-
clientRequestId?: string | null;
|
14
|
-
configuration?: MicroInteractionConfigWithExperimental.Raw | null;
|
15
|
-
costThresholdCredits?: number | null;
|
16
|
-
elementDescription: string;
|
17
|
-
timeThresholdSeconds?: number | null;
|
18
|
-
}
|
19
|
-
}
|
@@ -1,50 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
-
if (k2 === undefined) k2 = k;
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
-
}
|
11
|
-
Object.defineProperty(o, k2, desc);
|
12
|
-
}) : (function(o, m, k, k2) {
|
13
|
-
if (k2 === undefined) k2 = k;
|
14
|
-
o[k2] = m[k];
|
15
|
-
}));
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
-
}) : function(o, v) {
|
19
|
-
o["default"] = v;
|
20
|
-
});
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
22
|
-
var ownKeys = function(o) {
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
24
|
-
var ar = [];
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
26
|
-
return ar;
|
27
|
-
};
|
28
|
-
return ownKeys(o);
|
29
|
-
};
|
30
|
-
return function (mod) {
|
31
|
-
if (mod && mod.__esModule) return mod;
|
32
|
-
var result = {};
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
34
|
-
__setModuleDefault(result, mod);
|
35
|
-
return result;
|
36
|
-
};
|
37
|
-
})();
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
39
|
-
exports.AsyncHoverRequest = void 0;
|
40
|
-
const core = __importStar(require("../../../../../core"));
|
41
|
-
const AsyncConfig_1 = require("../../../../types/AsyncConfig");
|
42
|
-
const MicroInteractionConfigWithExperimental_1 = require("../../../../types/MicroInteractionConfigWithExperimental");
|
43
|
-
exports.AsyncHoverRequest = core.serialization.object({
|
44
|
-
async: AsyncConfig_1.AsyncConfig.optional(),
|
45
|
-
clientRequestId: core.serialization.string().optional(),
|
46
|
-
configuration: MicroInteractionConfigWithExperimental_1.MicroInteractionConfigWithExperimental.optional(),
|
47
|
-
costThresholdCredits: core.serialization.number().optional(),
|
48
|
-
elementDescription: core.serialization.string(),
|
49
|
-
timeThresholdSeconds: core.serialization.number().optional(),
|
50
|
-
});
|