@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
@@ -4,15 +4,21 @@
|
|
4
4
|
import * as serializers from "../../../index";
|
5
5
|
import * as Airtop from "../../../../api/index";
|
6
6
|
import * as core from "../../../../core";
|
7
|
+
import { SessionsEventsResponseSessionEvent } from "./SessionsEventsResponseSessionEvent";
|
8
|
+
import { SessionsEventsResponseFileEvent } from "./SessionsEventsResponseFileEvent";
|
7
9
|
import { SessionsEventsResponseCaptchaEvent } from "./SessionsEventsResponseCaptchaEvent";
|
8
10
|
import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
|
9
11
|
import { SessionsEventsResponseError } from "./SessionsEventsResponseError";
|
10
12
|
import { SessionsEventsResponseWindowEvent } from "./SessionsEventsResponseWindowEvent";
|
11
|
-
import { SessionsEventsResponseSessionEvent } from "./SessionsEventsResponseSessionEvent";
|
12
|
-
import { SessionsEventsResponseFileEvent } from "./SessionsEventsResponseFileEvent";
|
13
13
|
export declare const SessionsEventsResponse: core.serialization.Schema<serializers.SessionsEventsResponse.Raw, Airtop.SessionsEventsResponse>;
|
14
14
|
export declare namespace SessionsEventsResponse {
|
15
|
-
type Raw = SessionsEventsResponse.
|
15
|
+
type Raw = SessionsEventsResponse.SessionEvent | SessionsEventsResponse.FileEvent | SessionsEventsResponse.CaptchaEvent | SessionsEventsResponse.Status | SessionsEventsResponse.Error | SessionsEventsResponse.WindowEvent;
|
16
|
+
interface SessionEvent extends SessionsEventsResponseSessionEvent.Raw {
|
17
|
+
event: "sessionEvent";
|
18
|
+
}
|
19
|
+
interface FileEvent extends SessionsEventsResponseFileEvent.Raw {
|
20
|
+
event: "fileEvent";
|
21
|
+
}
|
16
22
|
interface CaptchaEvent extends SessionsEventsResponseCaptchaEvent.Raw {
|
17
23
|
event: "captchaEvent";
|
18
24
|
}
|
@@ -25,10 +31,4 @@ export declare namespace SessionsEventsResponse {
|
|
25
31
|
interface WindowEvent extends SessionsEventsResponseWindowEvent.Raw {
|
26
32
|
event: "windowEvent";
|
27
33
|
}
|
28
|
-
interface SessionEvent extends SessionsEventsResponseSessionEvent.Raw {
|
29
|
-
event: "sessionEvent";
|
30
|
-
}
|
31
|
-
interface FileEvent extends SessionsEventsResponseFileEvent.Raw {
|
32
|
-
event: "fileEvent";
|
33
|
-
}
|
34
34
|
}
|
@@ -38,20 +38,20 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
39
39
|
exports.SessionsEventsResponse = void 0;
|
40
40
|
const core = __importStar(require("../../../../core"));
|
41
|
+
const SessionsEventsResponseSessionEvent_1 = require("./SessionsEventsResponseSessionEvent");
|
42
|
+
const SessionsEventsResponseFileEvent_1 = require("./SessionsEventsResponseFileEvent");
|
41
43
|
const SessionsEventsResponseCaptchaEvent_1 = require("./SessionsEventsResponseCaptchaEvent");
|
42
44
|
const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
|
43
45
|
const SessionsEventsResponseError_1 = require("./SessionsEventsResponseError");
|
44
46
|
const SessionsEventsResponseWindowEvent_1 = require("./SessionsEventsResponseWindowEvent");
|
45
|
-
const SessionsEventsResponseSessionEvent_1 = require("./SessionsEventsResponseSessionEvent");
|
46
|
-
const SessionsEventsResponseFileEvent_1 = require("./SessionsEventsResponseFileEvent");
|
47
47
|
exports.SessionsEventsResponse = core.serialization
|
48
48
|
.union("event", {
|
49
|
+
sessionEvent: SessionsEventsResponseSessionEvent_1.SessionsEventsResponseSessionEvent,
|
50
|
+
fileEvent: SessionsEventsResponseFileEvent_1.SessionsEventsResponseFileEvent,
|
49
51
|
captchaEvent: SessionsEventsResponseCaptchaEvent_1.SessionsEventsResponseCaptchaEvent,
|
50
52
|
status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
|
51
53
|
error: SessionsEventsResponseError_1.SessionsEventsResponseError,
|
52
54
|
windowEvent: SessionsEventsResponseWindowEvent_1.SessionsEventsResponseWindowEvent,
|
53
|
-
sessionEvent: SessionsEventsResponseSessionEvent_1.SessionsEventsResponseSessionEvent,
|
54
|
-
fileEvent: SessionsEventsResponseFileEvent_1.SessionsEventsResponseFileEvent,
|
55
55
|
})
|
56
56
|
.transform({
|
57
57
|
transform: (value) => value,
|
@@ -1,8 +1,8 @@
|
|
1
1
|
export * from "./SessionsListRequestStatus";
|
2
|
+
export * from "./SessionsEventsResponseSessionEvent";
|
3
|
+
export * from "./SessionsEventsResponseFileEvent";
|
2
4
|
export * from "./SessionsEventsResponseCaptchaEvent";
|
3
5
|
export * from "./SessionsEventsResponseStatus";
|
4
6
|
export * from "./SessionsEventsResponseError";
|
5
7
|
export * from "./SessionsEventsResponseWindowEvent";
|
6
|
-
export * from "./SessionsEventsResponseSessionEvent";
|
7
|
-
export * from "./SessionsEventsResponseFileEvent";
|
8
8
|
export * from "./SessionsEventsResponse";
|
@@ -15,10 +15,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./SessionsListRequestStatus"), exports);
|
18
|
+
__exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
|
19
|
+
__exportStar(require("./SessionsEventsResponseFileEvent"), exports);
|
18
20
|
__exportStar(require("./SessionsEventsResponseCaptchaEvent"), exports);
|
19
21
|
__exportStar(require("./SessionsEventsResponseStatus"), exports);
|
20
22
|
__exportStar(require("./SessionsEventsResponseError"), exports);
|
21
23
|
__exportStar(require("./SessionsEventsResponseWindowEvent"), exports);
|
22
|
-
__exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
|
23
|
-
__exportStar(require("./SessionsEventsResponseFileEvent"), exports);
|
24
24
|
__exportStar(require("./SessionsEventsResponse"), exports);
|
@@ -1,17 +1,7 @@
|
|
1
|
-
export { AsyncClickRequest } from "./AsyncClickRequest";
|
2
1
|
export { AsyncCreateAutomationRequest } from "./AsyncCreateAutomationRequest";
|
3
2
|
export { AsyncCreateFormFillerRequest } from "./AsyncCreateFormFillerRequest";
|
4
3
|
export { AsyncExecuteAutomationRequest } from "./AsyncExecuteAutomationRequest";
|
5
|
-
export { AsyncFileInputRequest } from "./AsyncFileInputRequest";
|
6
4
|
export { AsyncFillFormRequest } from "./AsyncFillFormRequest";
|
7
|
-
export { AsyncHoverRequest } from "./AsyncHoverRequest";
|
8
|
-
export { AsyncMonitorRequest } from "./AsyncMonitorRequest";
|
9
|
-
export { AsyncPageQueryRequest } from "./AsyncPageQueryRequest";
|
10
|
-
export { AsyncPaginatedExtractionRequest } from "./AsyncPaginatedExtractionRequest";
|
11
|
-
export { AsyncPromptContentRequest } from "./AsyncPromptContentRequest";
|
12
|
-
export { AsyncScreenshotRequest } from "./AsyncScreenshotRequest";
|
13
|
-
export { AsyncSummarizeContentRequest } from "./AsyncSummarizeContentRequest";
|
14
|
-
export { AsyncTypeRequest } from "./AsyncTypeRequest";
|
15
5
|
export { CreateWindowInputV1Body } from "./CreateWindowInputV1Body";
|
16
6
|
export { WindowLoadUrlV1Body } from "./WindowLoadUrlV1Body";
|
17
7
|
export { SessionClickHandlerRequestBody } from "./SessionClickHandlerRequestBody";
|
@@ -20,16 +10,9 @@ export { SessionFileInputHandlerRequestBody } from "./SessionFileInputHandlerReq
|
|
20
10
|
export { FillFormRequest } from "./FillFormRequest";
|
21
11
|
export { SessionHoverHandlerRequestBody } from "./SessionHoverHandlerRequestBody";
|
22
12
|
export { SessionMonitorHandlerRequestBody } from "./SessionMonitorHandlerRequestBody";
|
23
|
-
export { OperatorPromptV1Body } from "./OperatorPromptV1Body";
|
24
13
|
export { SessionPaginatedExtractionHandlerRequestBody } from "./SessionPaginatedExtractionHandlerRequestBody";
|
25
14
|
export { ScrapeContentRequest } from "./ScrapeContentRequest";
|
26
15
|
export { SessionScreenshotHandlerRequestBody } from "./SessionScreenshotHandlerRequestBody";
|
27
16
|
export { SessionScrollHandlerRequestBody } from "./SessionScrollHandlerRequestBody";
|
28
17
|
export { SessionSummaryHandlerRequestBody } from "./SessionSummaryHandlerRequestBody";
|
29
18
|
export { SessionTypeHandlerRequestBody } from "./SessionTypeHandlerRequestBody";
|
30
|
-
export { ActRequest } from "./ActRequest";
|
31
|
-
export { ExtractRequest } from "./ExtractRequest";
|
32
|
-
export { FindManyRequest } from "./FindManyRequest";
|
33
|
-
export { FindOneRequest } from "./FindOneRequest";
|
34
|
-
export { LlmRequest } from "./LlmRequest";
|
35
|
-
export { WaitForPageRequest } from "./WaitForPageRequest";
|
@@ -1,34 +1,14 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
var AsyncClickRequest_1 = require("./AsyncClickRequest");
|
5
|
-
Object.defineProperty(exports, "AsyncClickRequest", { enumerable: true, get: function () { return AsyncClickRequest_1.AsyncClickRequest; } });
|
3
|
+
exports.SessionTypeHandlerRequestBody = exports.SessionSummaryHandlerRequestBody = exports.SessionScrollHandlerRequestBody = exports.SessionScreenshotHandlerRequestBody = exports.ScrapeContentRequest = exports.SessionPaginatedExtractionHandlerRequestBody = exports.SessionMonitorHandlerRequestBody = exports.SessionHoverHandlerRequestBody = exports.FillFormRequest = exports.SessionFileInputHandlerRequestBody = exports.CreateFormFillerRequest = exports.SessionClickHandlerRequestBody = exports.WindowLoadUrlV1Body = exports.CreateWindowInputV1Body = exports.AsyncFillFormRequest = exports.AsyncExecuteAutomationRequest = exports.AsyncCreateFormFillerRequest = exports.AsyncCreateAutomationRequest = void 0;
|
6
4
|
var AsyncCreateAutomationRequest_1 = require("./AsyncCreateAutomationRequest");
|
7
5
|
Object.defineProperty(exports, "AsyncCreateAutomationRequest", { enumerable: true, get: function () { return AsyncCreateAutomationRequest_1.AsyncCreateAutomationRequest; } });
|
8
6
|
var AsyncCreateFormFillerRequest_1 = require("./AsyncCreateFormFillerRequest");
|
9
7
|
Object.defineProperty(exports, "AsyncCreateFormFillerRequest", { enumerable: true, get: function () { return AsyncCreateFormFillerRequest_1.AsyncCreateFormFillerRequest; } });
|
10
8
|
var AsyncExecuteAutomationRequest_1 = require("./AsyncExecuteAutomationRequest");
|
11
9
|
Object.defineProperty(exports, "AsyncExecuteAutomationRequest", { enumerable: true, get: function () { return AsyncExecuteAutomationRequest_1.AsyncExecuteAutomationRequest; } });
|
12
|
-
var AsyncFileInputRequest_1 = require("./AsyncFileInputRequest");
|
13
|
-
Object.defineProperty(exports, "AsyncFileInputRequest", { enumerable: true, get: function () { return AsyncFileInputRequest_1.AsyncFileInputRequest; } });
|
14
10
|
var AsyncFillFormRequest_1 = require("./AsyncFillFormRequest");
|
15
11
|
Object.defineProperty(exports, "AsyncFillFormRequest", { enumerable: true, get: function () { return AsyncFillFormRequest_1.AsyncFillFormRequest; } });
|
16
|
-
var AsyncHoverRequest_1 = require("./AsyncHoverRequest");
|
17
|
-
Object.defineProperty(exports, "AsyncHoverRequest", { enumerable: true, get: function () { return AsyncHoverRequest_1.AsyncHoverRequest; } });
|
18
|
-
var AsyncMonitorRequest_1 = require("./AsyncMonitorRequest");
|
19
|
-
Object.defineProperty(exports, "AsyncMonitorRequest", { enumerable: true, get: function () { return AsyncMonitorRequest_1.AsyncMonitorRequest; } });
|
20
|
-
var AsyncPageQueryRequest_1 = require("./AsyncPageQueryRequest");
|
21
|
-
Object.defineProperty(exports, "AsyncPageQueryRequest", { enumerable: true, get: function () { return AsyncPageQueryRequest_1.AsyncPageQueryRequest; } });
|
22
|
-
var AsyncPaginatedExtractionRequest_1 = require("./AsyncPaginatedExtractionRequest");
|
23
|
-
Object.defineProperty(exports, "AsyncPaginatedExtractionRequest", { enumerable: true, get: function () { return AsyncPaginatedExtractionRequest_1.AsyncPaginatedExtractionRequest; } });
|
24
|
-
var AsyncPromptContentRequest_1 = require("./AsyncPromptContentRequest");
|
25
|
-
Object.defineProperty(exports, "AsyncPromptContentRequest", { enumerable: true, get: function () { return AsyncPromptContentRequest_1.AsyncPromptContentRequest; } });
|
26
|
-
var AsyncScreenshotRequest_1 = require("./AsyncScreenshotRequest");
|
27
|
-
Object.defineProperty(exports, "AsyncScreenshotRequest", { enumerable: true, get: function () { return AsyncScreenshotRequest_1.AsyncScreenshotRequest; } });
|
28
|
-
var AsyncSummarizeContentRequest_1 = require("./AsyncSummarizeContentRequest");
|
29
|
-
Object.defineProperty(exports, "AsyncSummarizeContentRequest", { enumerable: true, get: function () { return AsyncSummarizeContentRequest_1.AsyncSummarizeContentRequest; } });
|
30
|
-
var AsyncTypeRequest_1 = require("./AsyncTypeRequest");
|
31
|
-
Object.defineProperty(exports, "AsyncTypeRequest", { enumerable: true, get: function () { return AsyncTypeRequest_1.AsyncTypeRequest; } });
|
32
12
|
var CreateWindowInputV1Body_1 = require("./CreateWindowInputV1Body");
|
33
13
|
Object.defineProperty(exports, "CreateWindowInputV1Body", { enumerable: true, get: function () { return CreateWindowInputV1Body_1.CreateWindowInputV1Body; } });
|
34
14
|
var WindowLoadUrlV1Body_1 = require("./WindowLoadUrlV1Body");
|
@@ -45,8 +25,6 @@ var SessionHoverHandlerRequestBody_1 = require("./SessionHoverHandlerRequestBody
|
|
45
25
|
Object.defineProperty(exports, "SessionHoverHandlerRequestBody", { enumerable: true, get: function () { return SessionHoverHandlerRequestBody_1.SessionHoverHandlerRequestBody; } });
|
46
26
|
var SessionMonitorHandlerRequestBody_1 = require("./SessionMonitorHandlerRequestBody");
|
47
27
|
Object.defineProperty(exports, "SessionMonitorHandlerRequestBody", { enumerable: true, get: function () { return SessionMonitorHandlerRequestBody_1.SessionMonitorHandlerRequestBody; } });
|
48
|
-
var OperatorPromptV1Body_1 = require("./OperatorPromptV1Body");
|
49
|
-
Object.defineProperty(exports, "OperatorPromptV1Body", { enumerable: true, get: function () { return OperatorPromptV1Body_1.OperatorPromptV1Body; } });
|
50
28
|
var SessionPaginatedExtractionHandlerRequestBody_1 = require("./SessionPaginatedExtractionHandlerRequestBody");
|
51
29
|
Object.defineProperty(exports, "SessionPaginatedExtractionHandlerRequestBody", { enumerable: true, get: function () { return SessionPaginatedExtractionHandlerRequestBody_1.SessionPaginatedExtractionHandlerRequestBody; } });
|
52
30
|
var ScrapeContentRequest_1 = require("./ScrapeContentRequest");
|
@@ -59,15 +37,3 @@ var SessionSummaryHandlerRequestBody_1 = require("./SessionSummaryHandlerRequest
|
|
59
37
|
Object.defineProperty(exports, "SessionSummaryHandlerRequestBody", { enumerable: true, get: function () { return SessionSummaryHandlerRequestBody_1.SessionSummaryHandlerRequestBody; } });
|
60
38
|
var SessionTypeHandlerRequestBody_1 = require("./SessionTypeHandlerRequestBody");
|
61
39
|
Object.defineProperty(exports, "SessionTypeHandlerRequestBody", { enumerable: true, get: function () { return SessionTypeHandlerRequestBody_1.SessionTypeHandlerRequestBody; } });
|
62
|
-
var ActRequest_1 = require("./ActRequest");
|
63
|
-
Object.defineProperty(exports, "ActRequest", { enumerable: true, get: function () { return ActRequest_1.ActRequest; } });
|
64
|
-
var ExtractRequest_1 = require("./ExtractRequest");
|
65
|
-
Object.defineProperty(exports, "ExtractRequest", { enumerable: true, get: function () { return ExtractRequest_1.ExtractRequest; } });
|
66
|
-
var FindManyRequest_1 = require("./FindManyRequest");
|
67
|
-
Object.defineProperty(exports, "FindManyRequest", { enumerable: true, get: function () { return FindManyRequest_1.FindManyRequest; } });
|
68
|
-
var FindOneRequest_1 = require("./FindOneRequest");
|
69
|
-
Object.defineProperty(exports, "FindOneRequest", { enumerable: true, get: function () { return FindOneRequest_1.FindOneRequest; } });
|
70
|
-
var LlmRequest_1 = require("./LlmRequest");
|
71
|
-
Object.defineProperty(exports, "LlmRequest", { enumerable: true, get: function () { return LlmRequest_1.LlmRequest; } });
|
72
|
-
var WaitForPageRequest_1 = require("./WaitForPageRequest");
|
73
|
-
Object.defineProperty(exports, "WaitForPageRequest", { enumerable: true, get: function () { return WaitForPageRequest_1.WaitForPageRequest; } });
|
@@ -16,4 +16,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./CreateWindowInputV1BodyWaitUntil"), exports);
|
18
18
|
__exportStar(require("./WindowLoadUrlV1BodyWaitUntil"), exports);
|
19
|
-
__exportStar(require("./WaitForPageRequestTargetStatus"), exports);
|
@@ -1,7 +1,6 @@
|
|
1
1
|
export * from "./AiPromptResponse";
|
2
2
|
export * from "./AiResponseEnvelope";
|
3
3
|
export * from "./AsyncConfig";
|
4
|
-
export * from "./AsyncOperatorPromptResponseEnvelope";
|
5
4
|
export * from "./AsyncSessionAiResponseEnvelope";
|
6
5
|
export * from "./AutomationOutput";
|
7
6
|
export * from "./BrowserWaitNavigationConfigWaitUntil";
|
@@ -17,7 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./AiPromptResponse"), exports);
|
18
18
|
__exportStar(require("./AiResponseEnvelope"), exports);
|
19
19
|
__exportStar(require("./AsyncConfig"), exports);
|
20
|
-
__exportStar(require("./AsyncOperatorPromptResponseEnvelope"), exports);
|
21
20
|
__exportStar(require("./AsyncSessionAiResponseEnvelope"), exports);
|
22
21
|
__exportStar(require("./AutomationOutput"), exports);
|
23
22
|
__exportStar(require("./BrowserWaitNavigationConfigWaitUntil"), exports);
|
package/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
1
|
+
export declare const SDK_VERSION = "0.1.43";
|
package/version.js
CHANGED
@@ -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
|
-
}
|
@@ -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
|
-
}
|