@airtop/sdk 0.1.44 → 0.1.45
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 +1 -1
- package/api/resources/automations/client/Client.js +4 -4
- package/api/resources/files/client/Client.js +5 -5
- package/api/resources/files/types/CreateFileRestInputV1FileType.d.ts +2 -2
- package/api/resources/files/types/CreateFileRestInputV1FileType.js +1 -1
- 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 +9 -9
- package/api/resources/sessions/types/index.d.ts +3 -3
- package/api/resources/sessions/types/index.js +3 -3
- package/api/resources/windows/client/Client.js +23 -23
- package/api/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +1 -1
- package/api/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +1 -1
- package/api/types/CreateFileV1FileType.d.ts +2 -2
- package/api/types/CreateFileV1FileType.js +1 -1
- package/api/types/ExternalSessionWithConnectionInfo.d.ts +2 -0
- package/api/types/GetFileV1FileType.d.ts +2 -2
- package/api/types/GetFileV1FileType.js +1 -1
- package/api/types/PageQueryConfig.d.ts +2 -0
- package/api/types/ScreenshotConfig.d.ts +7 -2
- package/api/types/ScreenshotConfigFormat.d.ts +11 -0
- package/api/types/ScreenshotConfigFormat.js +10 -0
- package/api/types/ScreenshotConfigScope.d.ts +13 -0
- package/api/types/ScreenshotConfigScope.js +12 -0
- package/api/types/ScreenshotMetadata.d.ts +15 -0
- package/api/types/ScreenshotMetadataFormat.d.ts +11 -0
- package/api/types/ScreenshotMetadataFormat.js +10 -0
- package/api/types/ScreenshotScrollPosition.d.ts +9 -0
- package/api/types/ScreenshotScrollPosition.js +5 -0
- package/api/types/ScreenshotViewportDimensions.d.ts +9 -0
- package/api/types/ScreenshotViewportDimensions.js +5 -0
- package/api/types/SessionConfigV1.d.ts +2 -0
- package/api/types/VibeCodingConfig.d.ts +11 -0
- package/api/types/VibeCodingConfig.js +5 -0
- package/api/types/index.d.ts +6 -0
- package/api/types/index.js +6 -0
- package/dist/api/resources/automations/client/Client.js +4 -4
- package/dist/api/resources/files/client/Client.js +5 -5
- package/dist/api/resources/files/types/CreateFileRestInputV1FileType.d.ts +2 -2
- package/dist/api/resources/files/types/CreateFileRestInputV1FileType.js +1 -1
- 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 +9 -9
- package/dist/api/resources/sessions/types/index.d.ts +3 -3
- package/dist/api/resources/sessions/types/index.js +3 -3
- package/dist/api/resources/windows/client/Client.js +23 -23
- package/dist/api/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +1 -1
- package/dist/api/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +1 -1
- package/dist/api/types/CreateFileV1FileType.d.ts +2 -2
- package/dist/api/types/CreateFileV1FileType.js +1 -1
- package/dist/api/types/ExternalSessionWithConnectionInfo.d.ts +2 -0
- package/dist/api/types/GetFileV1FileType.d.ts +2 -2
- package/dist/api/types/GetFileV1FileType.js +1 -1
- package/dist/api/types/PageQueryConfig.d.ts +2 -0
- package/dist/api/types/ScreenshotConfig.d.ts +7 -2
- package/dist/api/types/ScreenshotConfigFormat.d.ts +11 -0
- package/dist/api/types/ScreenshotConfigFormat.js +10 -0
- package/dist/api/types/ScreenshotConfigScope.d.ts +13 -0
- package/dist/api/types/ScreenshotConfigScope.js +12 -0
- package/dist/api/types/ScreenshotMetadata.d.ts +15 -0
- package/dist/api/types/ScreenshotMetadataFormat.d.ts +11 -0
- package/dist/api/types/ScreenshotMetadataFormat.js +10 -0
- package/dist/api/types/ScreenshotScrollPosition.d.ts +9 -0
- package/dist/api/types/ScreenshotScrollPosition.js +5 -0
- package/dist/api/types/ScreenshotViewportDimensions.d.ts +9 -0
- package/dist/api/types/ScreenshotViewportDimensions.js +5 -0
- package/dist/api/types/SessionConfigV1.d.ts +2 -0
- package/dist/api/types/VibeCodingConfig.d.ts +11 -0
- package/dist/api/types/VibeCodingConfig.js +5 -0
- package/dist/api/types/index.d.ts +6 -0
- package/dist/api/types/index.js +6 -0
- package/dist/serialization/resources/files/types/CreateFileRestInputV1FileType.d.ts +1 -1
- package/dist/serialization/resources/files/types/CreateFileRestInputV1FileType.js +1 -1
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +12 -12
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +6 -6
- package/dist/serialization/resources/sessions/types/index.d.ts +3 -3
- package/dist/serialization/resources/sessions/types/index.js +3 -3
- package/dist/serialization/types/CreateFileV1FileType.d.ts +1 -1
- package/dist/serialization/types/CreateFileV1FileType.js +1 -1
- package/dist/serialization/types/ExternalSessionWithConnectionInfo.d.ts +1 -0
- package/dist/serialization/types/ExternalSessionWithConnectionInfo.js +1 -0
- package/dist/serialization/types/GetFileV1FileType.d.ts +1 -1
- package/dist/serialization/types/GetFileV1FileType.js +1 -1
- package/dist/serialization/types/PageQueryConfig.d.ts +2 -0
- package/dist/serialization/types/PageQueryConfig.js +2 -0
- package/dist/serialization/types/ScreenshotConfig.d.ts +6 -1
- package/dist/serialization/types/ScreenshotConfig.js +6 -1
- package/dist/serialization/types/ScreenshotConfigFormat.d.ts +10 -0
- package/dist/serialization/types/ScreenshotConfigFormat.js +41 -0
- package/dist/serialization/types/ScreenshotConfigScope.d.ts +10 -0
- package/dist/serialization/types/ScreenshotConfigScope.js +41 -0
- package/dist/serialization/types/ScreenshotMetadata.d.ts +10 -0
- package/dist/serialization/types/ScreenshotMetadata.js +10 -0
- package/dist/serialization/types/ScreenshotMetadataFormat.d.ts +10 -0
- package/dist/serialization/types/ScreenshotMetadataFormat.js +41 -0
- package/dist/serialization/types/ScreenshotScrollPosition.d.ts +13 -0
- package/dist/serialization/types/ScreenshotScrollPosition.js +44 -0
- package/dist/serialization/types/ScreenshotViewportDimensions.d.ts +13 -0
- package/dist/serialization/types/ScreenshotViewportDimensions.js +44 -0
- package/dist/serialization/types/SessionConfigV1.d.ts +1 -0
- package/dist/serialization/types/SessionConfigV1.js +1 -0
- package/dist/serialization/types/VibeCodingConfig.d.ts +14 -0
- package/dist/serialization/types/VibeCodingConfig.js +45 -0
- package/dist/serialization/types/index.d.ts +6 -0
- package/dist/serialization/types/index.js +6 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/serialization/resources/files/types/CreateFileRestInputV1FileType.d.ts +1 -1
- package/serialization/resources/files/types/CreateFileRestInputV1FileType.js +1 -1
- package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +12 -12
- package/serialization/resources/sessions/types/SessionsEventsResponse.js +6 -6
- package/serialization/resources/sessions/types/index.d.ts +3 -3
- package/serialization/resources/sessions/types/index.js +3 -3
- package/serialization/types/CreateFileV1FileType.d.ts +1 -1
- package/serialization/types/CreateFileV1FileType.js +1 -1
- package/serialization/types/ExternalSessionWithConnectionInfo.d.ts +1 -0
- package/serialization/types/ExternalSessionWithConnectionInfo.js +1 -0
- package/serialization/types/GetFileV1FileType.d.ts +1 -1
- package/serialization/types/GetFileV1FileType.js +1 -1
- package/serialization/types/PageQueryConfig.d.ts +2 -0
- package/serialization/types/PageQueryConfig.js +2 -0
- package/serialization/types/ScreenshotConfig.d.ts +6 -1
- package/serialization/types/ScreenshotConfig.js +6 -1
- package/serialization/types/ScreenshotConfigFormat.d.ts +10 -0
- package/serialization/types/ScreenshotConfigFormat.js +41 -0
- package/serialization/types/ScreenshotConfigScope.d.ts +10 -0
- package/serialization/types/ScreenshotConfigScope.js +41 -0
- package/serialization/types/ScreenshotMetadata.d.ts +10 -0
- package/serialization/types/ScreenshotMetadata.js +10 -0
- package/serialization/types/ScreenshotMetadataFormat.d.ts +10 -0
- package/serialization/types/ScreenshotMetadataFormat.js +41 -0
- package/serialization/types/ScreenshotScrollPosition.d.ts +13 -0
- package/serialization/types/ScreenshotScrollPosition.js +44 -0
- package/serialization/types/ScreenshotViewportDimensions.d.ts +13 -0
- package/serialization/types/ScreenshotViewportDimensions.js +44 -0
- package/serialization/types/SessionConfigV1.d.ts +1 -0
- package/serialization/types/SessionConfigV1.js +1 -0
- package/serialization/types/VibeCodingConfig.d.ts +14 -0
- package/serialization/types/VibeCodingConfig.js +45 -0
- package/serialization/types/index.d.ts +6 -0
- package/serialization/types/index.js +6 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
@@ -73,9 +73,14 @@ __exportStar(require("./ScrapeResponse"), exports);
|
|
73
73
|
__exportStar(require("./ScrapeResponseContent"), exports);
|
74
74
|
__exportStar(require("./ScrapeResponseEnvelope"), exports);
|
75
75
|
__exportStar(require("./ScrapeResponseOutput"), exports);
|
76
|
+
__exportStar(require("./ScreenshotConfigFormat"), exports);
|
77
|
+
__exportStar(require("./ScreenshotConfigScope"), exports);
|
76
78
|
__exportStar(require("./ScreenshotConfig"), exports);
|
79
|
+
__exportStar(require("./ScreenshotMetadataFormat"), exports);
|
77
80
|
__exportStar(require("./ScreenshotMetadata"), exports);
|
78
81
|
__exportStar(require("./ScreenshotRequestConfig"), exports);
|
82
|
+
__exportStar(require("./ScreenshotScrollPosition"), exports);
|
83
|
+
__exportStar(require("./ScreenshotViewportDimensions"), exports);
|
79
84
|
__exportStar(require("./ScrollByConfig"), exports);
|
80
85
|
__exportStar(require("./ScrollToEdgeConfig"), exports);
|
81
86
|
__exportStar(require("./AirtopProxyConfiguration"), exports);
|
@@ -93,6 +98,7 @@ __exportStar(require("./StatusMessageStatus"), exports);
|
|
93
98
|
__exportStar(require("./StatusMessage"), exports);
|
94
99
|
__exportStar(require("./SummaryConfig"), exports);
|
95
100
|
__exportStar(require("./SummaryExperimentalConfig"), exports);
|
101
|
+
__exportStar(require("./VibeCodingConfig"), exports);
|
96
102
|
__exportStar(require("./VisualAnalysisConfigPartitionDirection"), exports);
|
97
103
|
__exportStar(require("./VisualAnalysisConfigResultSelectionStrategy"), exports);
|
98
104
|
__exportStar(require("./VisualAnalysisConfigScope"), exports);
|
package/dist/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
1
|
+
export declare const SDK_VERSION = "0.1.45";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@airtop/sdk",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.45",
|
4
4
|
"private": false,
|
5
5
|
"repository": "https://github.com/airtop-ai/airtop-node-sdk",
|
6
6
|
"main": "./index.js",
|
@@ -11,7 +11,7 @@
|
|
11
11
|
"prepack": "cp -rv dist/. .",
|
12
12
|
"test": "jest",
|
13
13
|
"prepublish": "yarn build",
|
14
|
-
"biome:lint": "biome lint --
|
14
|
+
"biome:lint": "biome lint --no-errors-on-unmatched src",
|
15
15
|
"biome:fix": "biome format --write && biome lint --write",
|
16
16
|
"biome:format": "biome format --no-errors-on-unmatched --files-ignore-unknown=true",
|
17
17
|
"compile-nobase": "tsc --project config/tsconfig-nobase.json"
|
@@ -6,5 +6,5 @@ import * as Airtop from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
7
7
|
export declare const CreateFileRestInputV1FileType: core.serialization.Schema<serializers.CreateFileRestInputV1FileType.Raw, Airtop.CreateFileRestInputV1FileType>;
|
8
8
|
export declare namespace CreateFileRestInputV1FileType {
|
9
|
-
type Raw = "browser_download" | "screenshot" | "
|
9
|
+
type Raw = "browser_download" | "screenshot" | "recording" | "customer_upload";
|
10
10
|
}
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
39
39
|
exports.CreateFileRestInputV1FileType = void 0;
|
40
40
|
const core = __importStar(require("../../../../core"));
|
41
|
-
exports.CreateFileRestInputV1FileType = core.serialization.enum_(["browser_download", "screenshot", "
|
41
|
+
exports.CreateFileRestInputV1FileType = core.serialization.enum_(["browser_download", "screenshot", "recording", "customer_upload"]);
|
@@ -4,31 +4,31 @@
|
|
4
4
|
import * as serializers from "../../../index";
|
5
5
|
import * as Airtop from "../../../../api/index";
|
6
6
|
import * as core from "../../../../core";
|
7
|
-
import { SessionsEventsResponseFileEvent } from "./SessionsEventsResponseFileEvent";
|
8
7
|
import { SessionsEventsResponseCaptchaEvent } from "./SessionsEventsResponseCaptchaEvent";
|
9
|
-
import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
|
10
8
|
import { SessionsEventsResponseError } from "./SessionsEventsResponseError";
|
11
|
-
import {
|
9
|
+
import { SessionsEventsResponseFileEvent } from "./SessionsEventsResponseFileEvent";
|
12
10
|
import { SessionsEventsResponseSessionEvent } from "./SessionsEventsResponseSessionEvent";
|
11
|
+
import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
|
12
|
+
import { SessionsEventsResponseWindowEvent } from "./SessionsEventsResponseWindowEvent";
|
13
13
|
export declare const SessionsEventsResponse: core.serialization.Schema<serializers.SessionsEventsResponse.Raw, Airtop.SessionsEventsResponse>;
|
14
14
|
export declare namespace SessionsEventsResponse {
|
15
|
-
type Raw = SessionsEventsResponse.
|
16
|
-
interface FileEvent extends SessionsEventsResponseFileEvent.Raw {
|
17
|
-
event: "fileEvent";
|
18
|
-
}
|
15
|
+
type Raw = SessionsEventsResponse.CaptchaEvent | SessionsEventsResponse.Error | SessionsEventsResponse.FileEvent | SessionsEventsResponse.SessionEvent | SessionsEventsResponse.Status | SessionsEventsResponse.WindowEvent;
|
19
16
|
interface CaptchaEvent extends SessionsEventsResponseCaptchaEvent.Raw {
|
20
17
|
event: "captchaEvent";
|
21
18
|
}
|
22
|
-
interface Status extends SessionsEventsResponseStatus.Raw {
|
23
|
-
event: "status";
|
24
|
-
}
|
25
19
|
interface Error extends SessionsEventsResponseError.Raw {
|
26
20
|
event: "error";
|
27
21
|
}
|
28
|
-
interface
|
29
|
-
event: "
|
22
|
+
interface FileEvent extends SessionsEventsResponseFileEvent.Raw {
|
23
|
+
event: "fileEvent";
|
30
24
|
}
|
31
25
|
interface SessionEvent extends SessionsEventsResponseSessionEvent.Raw {
|
32
26
|
event: "sessionEvent";
|
33
27
|
}
|
28
|
+
interface Status extends SessionsEventsResponseStatus.Raw {
|
29
|
+
event: "status";
|
30
|
+
}
|
31
|
+
interface WindowEvent extends SessionsEventsResponseWindowEvent.Raw {
|
32
|
+
event: "windowEvent";
|
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 SessionsEventsResponseFileEvent_1 = require("./SessionsEventsResponseFileEvent");
|
42
41
|
const SessionsEventsResponseCaptchaEvent_1 = require("./SessionsEventsResponseCaptchaEvent");
|
43
|
-
const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
|
44
42
|
const SessionsEventsResponseError_1 = require("./SessionsEventsResponseError");
|
45
|
-
const
|
43
|
+
const SessionsEventsResponseFileEvent_1 = require("./SessionsEventsResponseFileEvent");
|
46
44
|
const SessionsEventsResponseSessionEvent_1 = require("./SessionsEventsResponseSessionEvent");
|
45
|
+
const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
|
46
|
+
const SessionsEventsResponseWindowEvent_1 = require("./SessionsEventsResponseWindowEvent");
|
47
47
|
exports.SessionsEventsResponse = core.serialization
|
48
48
|
.union("event", {
|
49
|
-
fileEvent: SessionsEventsResponseFileEvent_1.SessionsEventsResponseFileEvent,
|
50
49
|
captchaEvent: SessionsEventsResponseCaptchaEvent_1.SessionsEventsResponseCaptchaEvent,
|
51
|
-
status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
|
52
50
|
error: SessionsEventsResponseError_1.SessionsEventsResponseError,
|
53
|
-
|
51
|
+
fileEvent: SessionsEventsResponseFileEvent_1.SessionsEventsResponseFileEvent,
|
54
52
|
sessionEvent: SessionsEventsResponseSessionEvent_1.SessionsEventsResponseSessionEvent,
|
53
|
+
status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
|
54
|
+
windowEvent: SessionsEventsResponseWindowEvent_1.SessionsEventsResponseWindowEvent,
|
55
55
|
})
|
56
56
|
.transform({
|
57
57
|
transform: (value) => value,
|
@@ -1,8 +1,8 @@
|
|
1
1
|
export * from "./SessionsListRequestStatus";
|
2
|
-
export * from "./SessionsEventsResponseFileEvent";
|
3
2
|
export * from "./SessionsEventsResponseCaptchaEvent";
|
4
|
-
export * from "./SessionsEventsResponseStatus";
|
5
3
|
export * from "./SessionsEventsResponseError";
|
6
|
-
export * from "./
|
4
|
+
export * from "./SessionsEventsResponseFileEvent";
|
7
5
|
export * from "./SessionsEventsResponseSessionEvent";
|
6
|
+
export * from "./SessionsEventsResponseStatus";
|
7
|
+
export * from "./SessionsEventsResponseWindowEvent";
|
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("./SessionsEventsResponseFileEvent"), exports);
|
19
18
|
__exportStar(require("./SessionsEventsResponseCaptchaEvent"), exports);
|
20
|
-
__exportStar(require("./SessionsEventsResponseStatus"), exports);
|
21
19
|
__exportStar(require("./SessionsEventsResponseError"), exports);
|
22
|
-
__exportStar(require("./
|
20
|
+
__exportStar(require("./SessionsEventsResponseFileEvent"), exports);
|
23
21
|
__exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
|
22
|
+
__exportStar(require("./SessionsEventsResponseStatus"), exports);
|
23
|
+
__exportStar(require("./SessionsEventsResponseWindowEvent"), exports);
|
24
24
|
__exportStar(require("./SessionsEventsResponse"), exports);
|
@@ -6,5 +6,5 @@ import * as Airtop from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const CreateFileV1FileType: core.serialization.Schema<serializers.CreateFileV1FileType.Raw, Airtop.CreateFileV1FileType>;
|
8
8
|
export declare namespace CreateFileV1FileType {
|
9
|
-
type Raw = "browser_download" | "screenshot" | "
|
9
|
+
type Raw = "browser_download" | "screenshot" | "recording" | "customer_upload";
|
10
10
|
}
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
39
39
|
exports.CreateFileV1FileType = void 0;
|
40
40
|
const core = __importStar(require("../../core"));
|
41
|
-
exports.CreateFileV1FileType = core.serialization.enum_(["browser_download", "screenshot", "
|
41
|
+
exports.CreateFileV1FileType = core.serialization.enum_(["browser_download", "screenshot", "recording", "customer_upload"]);
|
@@ -50,4 +50,5 @@ exports.ExternalSessionWithConnectionInfo = core.serialization.object({
|
|
50
50
|
lastActivity: core.serialization.date().optional(),
|
51
51
|
profileId: core.serialization.string().optional(),
|
52
52
|
status: core.serialization.string(),
|
53
|
+
viceUrl: core.serialization.string().optional(),
|
53
54
|
});
|
@@ -6,5 +6,5 @@ import * as Airtop from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const GetFileV1FileType: core.serialization.Schema<serializers.GetFileV1FileType.Raw, Airtop.GetFileV1FileType>;
|
8
8
|
export declare namespace GetFileV1FileType {
|
9
|
-
type Raw = "browser_download" | "screenshot" | "
|
9
|
+
type Raw = "browser_download" | "screenshot" | "recording" | "customer_upload";
|
10
10
|
}
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
39
39
|
exports.GetFileV1FileType = void 0;
|
40
40
|
const core = __importStar(require("../../core"));
|
41
|
-
exports.GetFileV1FileType = core.serialization.enum_(["browser_download", "screenshot", "
|
41
|
+
exports.GetFileV1FileType = core.serialization.enum_(["browser_download", "screenshot", "recording", "customer_upload"]);
|
@@ -6,11 +6,13 @@ import * as Airtop from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { PageQueryExperimentalConfig } from "./PageQueryExperimentalConfig";
|
8
8
|
import { ScrapeConfig } from "./ScrapeConfig";
|
9
|
+
import { VisualAnalysisConfig } from "./VisualAnalysisConfig";
|
9
10
|
export declare const PageQueryConfig: core.serialization.ObjectSchema<serializers.PageQueryConfig.Raw, Airtop.PageQueryConfig>;
|
10
11
|
export declare namespace PageQueryConfig {
|
11
12
|
interface Raw {
|
12
13
|
experimental?: PageQueryExperimentalConfig.Raw | null;
|
13
14
|
outputSchema?: string | null;
|
14
15
|
scrape?: ScrapeConfig.Raw | null;
|
16
|
+
visualAnalysis?: VisualAnalysisConfig.Raw | null;
|
15
17
|
}
|
16
18
|
}
|
@@ -40,8 +40,10 @@ exports.PageQueryConfig = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
41
41
|
const PageQueryExperimentalConfig_1 = require("./PageQueryExperimentalConfig");
|
42
42
|
const ScrapeConfig_1 = require("./ScrapeConfig");
|
43
|
+
const VisualAnalysisConfig_1 = require("./VisualAnalysisConfig");
|
43
44
|
exports.PageQueryConfig = core.serialization.object({
|
44
45
|
experimental: PageQueryExperimentalConfig_1.PageQueryExperimentalConfig.optional(),
|
45
46
|
outputSchema: core.serialization.string().optional(),
|
46
47
|
scrape: ScrapeConfig_1.ScrapeConfig.optional(),
|
48
|
+
visualAnalysis: VisualAnalysisConfig_1.VisualAnalysisConfig.optional(),
|
47
49
|
});
|
@@ -4,12 +4,17 @@
|
|
4
4
|
import * as serializers from "../index";
|
5
5
|
import * as Airtop from "../../api/index";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { ScreenshotConfigFormat } from "./ScreenshotConfigFormat";
|
8
|
+
import { ScreenshotConfigScope } from "./ScreenshotConfigScope";
|
9
|
+
import { VisualAnalysisConfig } from "./VisualAnalysisConfig";
|
7
10
|
export declare const ScreenshotConfig: core.serialization.ObjectSchema<serializers.ScreenshotConfig.Raw, Airtop.ScreenshotConfig>;
|
8
11
|
export declare namespace ScreenshotConfig {
|
9
12
|
interface Raw {
|
13
|
+
format?: ScreenshotConfigFormat.Raw | null;
|
10
14
|
maxHeight?: number | null;
|
11
15
|
maxWidth?: number | null;
|
12
16
|
quality?: number | null;
|
13
|
-
scope?:
|
17
|
+
scope?: ScreenshotConfigScope.Raw | null;
|
18
|
+
visualAnalysis?: VisualAnalysisConfig.Raw | null;
|
14
19
|
}
|
15
20
|
}
|
@@ -38,9 +38,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
39
39
|
exports.ScreenshotConfig = void 0;
|
40
40
|
const core = __importStar(require("../../core"));
|
41
|
+
const ScreenshotConfigFormat_1 = require("./ScreenshotConfigFormat");
|
42
|
+
const ScreenshotConfigScope_1 = require("./ScreenshotConfigScope");
|
43
|
+
const VisualAnalysisConfig_1 = require("./VisualAnalysisConfig");
|
41
44
|
exports.ScreenshotConfig = core.serialization.object({
|
45
|
+
format: ScreenshotConfigFormat_1.ScreenshotConfigFormat.optional(),
|
42
46
|
maxHeight: core.serialization.number().optional(),
|
43
47
|
maxWidth: core.serialization.number().optional(),
|
44
48
|
quality: core.serialization.number().optional(),
|
45
|
-
scope:
|
49
|
+
scope: ScreenshotConfigScope_1.ScreenshotConfigScope.optional(),
|
50
|
+
visualAnalysis: VisualAnalysisConfig_1.VisualAnalysisConfig.optional(),
|
46
51
|
});
|
@@ -0,0 +1,10 @@
|
|
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
|
+
export declare const ScreenshotConfigFormat: core.serialization.Schema<serializers.ScreenshotConfigFormat.Raw, Airtop.ScreenshotConfigFormat>;
|
8
|
+
export declare namespace ScreenshotConfigFormat {
|
9
|
+
type Raw = "base64" | "url";
|
10
|
+
}
|
@@ -0,0 +1,41 @@
|
|
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.ScreenshotConfigFormat = void 0;
|
40
|
+
const core = __importStar(require("../../core"));
|
41
|
+
exports.ScreenshotConfigFormat = core.serialization.enum_(["base64", "url"]);
|
@@ -0,0 +1,10 @@
|
|
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
|
+
export declare const ScreenshotConfigScope: core.serialization.Schema<serializers.ScreenshotConfigScope.Raw, Airtop.ScreenshotConfigScope>;
|
8
|
+
export declare namespace ScreenshotConfigScope {
|
9
|
+
type Raw = "viewport" | "page" | "scan" | "auto";
|
10
|
+
}
|
@@ -0,0 +1,41 @@
|
|
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.ScreenshotConfigScope = void 0;
|
40
|
+
const core = __importStar(require("../../core"));
|
41
|
+
exports.ScreenshotConfigScope = core.serialization.enum_(["viewport", "page", "scan", "auto"]);
|
@@ -4,9 +4,19 @@
|
|
4
4
|
import * as serializers from "../index";
|
5
5
|
import * as Airtop from "../../api/index";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { ScreenshotMetadataFormat } from "./ScreenshotMetadataFormat";
|
8
|
+
import { ScreenshotScrollPosition } from "./ScreenshotScrollPosition";
|
9
|
+
import { ScreenshotViewportDimensions } from "./ScreenshotViewportDimensions";
|
7
10
|
export declare const ScreenshotMetadata: core.serialization.ObjectSchema<serializers.ScreenshotMetadata.Raw, Airtop.ScreenshotMetadata>;
|
8
11
|
export declare namespace ScreenshotMetadata {
|
9
12
|
interface Raw {
|
10
13
|
dataUrl?: string | null;
|
14
|
+
fileId?: string | null;
|
15
|
+
fileName?: string | null;
|
16
|
+
format?: ScreenshotMetadataFormat.Raw | null;
|
17
|
+
scrollPosition?: ScreenshotScrollPosition.Raw | null;
|
18
|
+
signedDownloadUrl?: string | null;
|
19
|
+
urlExpiry?: string | null;
|
20
|
+
viewportDimensions?: ScreenshotViewportDimensions.Raw | null;
|
11
21
|
}
|
12
22
|
}
|
@@ -38,6 +38,16 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
39
39
|
exports.ScreenshotMetadata = void 0;
|
40
40
|
const core = __importStar(require("../../core"));
|
41
|
+
const ScreenshotMetadataFormat_1 = require("./ScreenshotMetadataFormat");
|
42
|
+
const ScreenshotScrollPosition_1 = require("./ScreenshotScrollPosition");
|
43
|
+
const ScreenshotViewportDimensions_1 = require("./ScreenshotViewportDimensions");
|
41
44
|
exports.ScreenshotMetadata = core.serialization.object({
|
42
45
|
dataUrl: core.serialization.string().optional(),
|
46
|
+
fileId: core.serialization.string().optional(),
|
47
|
+
fileName: core.serialization.string().optional(),
|
48
|
+
format: ScreenshotMetadataFormat_1.ScreenshotMetadataFormat.optional(),
|
49
|
+
scrollPosition: ScreenshotScrollPosition_1.ScreenshotScrollPosition.optional(),
|
50
|
+
signedDownloadUrl: core.serialization.string().optional(),
|
51
|
+
urlExpiry: core.serialization.string().optional(),
|
52
|
+
viewportDimensions: ScreenshotViewportDimensions_1.ScreenshotViewportDimensions.optional(),
|
43
53
|
});
|
@@ -0,0 +1,10 @@
|
|
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
|
+
export declare const ScreenshotMetadataFormat: core.serialization.Schema<serializers.ScreenshotMetadataFormat.Raw, Airtop.ScreenshotMetadataFormat>;
|
8
|
+
export declare namespace ScreenshotMetadataFormat {
|
9
|
+
type Raw = "base64" | "url";
|
10
|
+
}
|
@@ -0,0 +1,41 @@
|
|
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.ScreenshotMetadataFormat = void 0;
|
40
|
+
const core = __importStar(require("../../core"));
|
41
|
+
exports.ScreenshotMetadataFormat = core.serialization.enum_(["base64", "url"]);
|
@@ -0,0 +1,13 @@
|
|
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
|
+
export declare const ScreenshotScrollPosition: core.serialization.ObjectSchema<serializers.ScreenshotScrollPosition.Raw, Airtop.ScreenshotScrollPosition>;
|
8
|
+
export declare namespace ScreenshotScrollPosition {
|
9
|
+
interface Raw {
|
10
|
+
left: number;
|
11
|
+
top: number;
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,44 @@
|
|
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.ScreenshotScrollPosition = void 0;
|
40
|
+
const core = __importStar(require("../../core"));
|
41
|
+
exports.ScreenshotScrollPosition = core.serialization.object({
|
42
|
+
left: core.serialization.number(),
|
43
|
+
top: core.serialization.number(),
|
44
|
+
});
|
@@ -0,0 +1,13 @@
|
|
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
|
+
export declare const ScreenshotViewportDimensions: core.serialization.ObjectSchema<serializers.ScreenshotViewportDimensions.Raw, Airtop.ScreenshotViewportDimensions>;
|
8
|
+
export declare namespace ScreenshotViewportDimensions {
|
9
|
+
interface Raw {
|
10
|
+
height: number;
|
11
|
+
width: number;
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,44 @@
|
|
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.ScreenshotViewportDimensions = void 0;
|
40
|
+
const core = __importStar(require("../../core"));
|
41
|
+
exports.ScreenshotViewportDimensions = core.serialization.object({
|
42
|
+
height: core.serialization.number(),
|
43
|
+
width: core.serialization.number(),
|
44
|
+
});
|
@@ -45,6 +45,7 @@ exports.SessionConfigV1 = core.serialization.object({
|
|
45
45
|
persistProfile: core.serialization.boolean().optional(),
|
46
46
|
profileName: core.serialization.string().optional(),
|
47
47
|
proxy: SessionConfigV1Proxy_1.SessionConfigV1Proxy.optional(),
|
48
|
+
record: core.serialization.boolean().optional(),
|
48
49
|
solveCaptcha: core.serialization.boolean().optional(),
|
49
50
|
timeoutMinutes: core.serialization.number().optional(),
|
50
51
|
});
|
@@ -0,0 +1,14 @@
|
|
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
|
+
export declare const VibeCodingConfig: core.serialization.ObjectSchema<serializers.VibeCodingConfig.Raw, Airtop.VibeCodingConfig>;
|
8
|
+
export declare namespace VibeCodingConfig {
|
9
|
+
interface Raw {
|
10
|
+
agentVersion?: number | null;
|
11
|
+
enabled?: boolean | null;
|
12
|
+
sourceViceS3Id?: number | null;
|
13
|
+
}
|
14
|
+
}
|