@airtop/sdk 0.1.13 → 0.1.14
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/api/resources/profiles/client/Client.d.ts +0 -10
- package/api/resources/profiles/client/Client.js +2 -82
- package/api/resources/profiles/client/requests/index.d.ts +0 -1
- package/api/resources/sessions/client/Client.js +12 -12
- package/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
- package/api/resources/sessions/types/index.d.ts +1 -1
- package/api/resources/sessions/types/index.js +1 -1
- package/api/resources/windows/client/Client.d.ts +32 -0
- package/api/resources/windows/client/Client.js +109 -24
- package/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +21 -0
- package/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +4 -0
- package/api/resources/windows/client/requests/index.d.ts +1 -0
- package/api/types/ExternalSessionAiResponseMetadata.d.ts +2 -0
- package/api/types/ScreenshotConfig.d.ts +13 -0
- package/api/types/ScreenshotMetadata.d.ts +7 -0
- package/api/types/ScreenshotRequestConfig.d.ts +8 -0
- package/api/types/VisualAnalysisConfig.d.ts +5 -1
- package/api/types/VisualAnalysisConfigScope.d.ts +4 -2
- package/api/types/VisualAnalysisConfigScope.js +2 -0
- package/api/types/index.d.ts +3 -2
- package/api/types/index.js +3 -2
- package/dist/api/resources/profiles/client/Client.d.ts +0 -10
- package/dist/api/resources/profiles/client/Client.js +2 -82
- package/dist/api/resources/profiles/client/requests/index.d.ts +0 -1
- package/dist/api/resources/sessions/client/Client.js +12 -12
- package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
- package/dist/api/resources/sessions/types/index.d.ts +1 -1
- package/dist/api/resources/sessions/types/index.js +1 -1
- package/dist/api/resources/windows/client/Client.d.ts +32 -0
- package/dist/api/resources/windows/client/Client.js +109 -24
- package/dist/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +21 -0
- package/dist/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +4 -0
- package/dist/api/resources/windows/client/requests/index.d.ts +1 -0
- package/dist/api/types/ExternalSessionAiResponseMetadata.d.ts +2 -0
- package/dist/api/types/ScreenshotConfig.d.ts +13 -0
- package/dist/api/types/ScreenshotMetadata.d.ts +7 -0
- package/dist/api/types/ScreenshotMetadata.js +5 -0
- package/dist/api/types/ScreenshotRequestConfig.d.ts +8 -0
- package/dist/api/types/ScreenshotRequestConfig.js +5 -0
- package/dist/api/types/VisualAnalysisConfig.d.ts +5 -1
- package/dist/api/types/VisualAnalysisConfigScope.d.ts +4 -2
- package/dist/api/types/VisualAnalysisConfigScope.js +2 -0
- package/dist/api/types/index.d.ts +3 -2
- package/dist/api/types/index.js +3 -2
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
- package/dist/serialization/resources/sessions/types/index.d.ts +1 -1
- package/dist/serialization/resources/sessions/types/index.js +1 -1
- package/dist/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +16 -0
- package/dist/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +37 -0
- package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +2 -0
- package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +2 -0
- package/dist/serialization/resources/windows/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/windows/client/requests/index.js +3 -1
- package/dist/serialization/types/ExternalSessionAiResponseMetadata.d.ts +2 -0
- package/dist/serialization/types/ExternalSessionAiResponseMetadata.js +2 -0
- package/dist/serialization/types/ScreenshotConfig.d.ts +15 -0
- package/dist/serialization/types/{ProfilesResponse.js → ScreenshotConfig.js} +6 -9
- package/dist/serialization/types/ScreenshotMetadata.d.ts +12 -0
- package/dist/serialization/types/{ExternalProfileV1.js → ScreenshotMetadata.js} +3 -5
- package/dist/serialization/types/ScreenshotRequestConfig.d.ts +13 -0
- package/{serialization/types/ExternalProfileV1.js → dist/serialization/types/ScreenshotRequestConfig.js} +4 -5
- package/dist/serialization/types/VisualAnalysisConfig.d.ts +2 -0
- package/dist/serialization/types/VisualAnalysisConfig.js +2 -0
- package/dist/serialization/types/VisualAnalysisConfigScope.d.ts +1 -1
- package/dist/serialization/types/VisualAnalysisConfigScope.js +1 -1
- package/dist/serialization/types/index.d.ts +3 -2
- package/dist/serialization/types/index.js +3 -2
- package/package.json +1 -1
- package/reference.md +184 -18
- package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
- package/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
- package/serialization/resources/sessions/types/index.d.ts +1 -1
- package/serialization/resources/sessions/types/index.js +1 -1
- package/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +16 -0
- package/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +37 -0
- package/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +2 -0
- package/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +2 -0
- package/serialization/resources/windows/client/requests/index.d.ts +1 -0
- package/serialization/resources/windows/client/requests/index.js +3 -1
- package/serialization/types/ExternalSessionAiResponseMetadata.d.ts +2 -0
- package/serialization/types/ExternalSessionAiResponseMetadata.js +2 -0
- package/serialization/types/ScreenshotConfig.d.ts +15 -0
- package/serialization/types/{ProfilesResponse.js → ScreenshotConfig.js} +6 -9
- package/serialization/types/ScreenshotMetadata.d.ts +12 -0
- package/serialization/types/ScreenshotMetadata.js +33 -0
- package/serialization/types/ScreenshotRequestConfig.d.ts +13 -0
- package/serialization/types/ScreenshotRequestConfig.js +34 -0
- package/serialization/types/VisualAnalysisConfig.d.ts +2 -0
- package/serialization/types/VisualAnalysisConfig.js +2 -0
- package/serialization/types/VisualAnalysisConfigScope.d.ts +1 -1
- package/serialization/types/VisualAnalysisConfigScope.js +1 -1
- package/serialization/types/index.d.ts +3 -2
- package/serialization/types/index.js +3 -2
- package/api/resources/profiles/client/requests/ProfilesGetRequest.d.ts +0 -17
- package/api/types/ExternalProfileV1.d.ts +0 -11
- package/api/types/ProfilesResponse.d.ts +0 -10
- package/dist/api/resources/profiles/client/requests/ProfilesGetRequest.d.ts +0 -17
- package/dist/api/types/ExternalProfileV1.d.ts +0 -11
- package/dist/api/types/ProfilesResponse.d.ts +0 -10
- package/dist/serialization/types/ExternalProfileV1.d.ts +0 -14
- package/dist/serialization/types/ProfilesResponse.d.ts +0 -18
- package/serialization/types/ExternalProfileV1.d.ts +0 -14
- package/serialization/types/ProfilesResponse.d.ts +0 -18
- /package/api/resources/{profiles/client/requests/ProfilesGetRequest.js → windows/client/requests/SessionScreenshotHandlerRequestBody.js} +0 -0
- /package/api/types/{ExternalProfileV1.js → ScreenshotConfig.js} +0 -0
- /package/api/types/{ProfilesResponse.js → ScreenshotMetadata.js} +0 -0
- /package/{dist/api/resources/profiles/client/requests/ProfilesGetRequest.js → api/types/ScreenshotRequestConfig.js} +0 -0
- /package/dist/api/{types/ExternalProfileV1.js → resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js} +0 -0
- /package/dist/api/types/{ProfilesResponse.js → ScreenshotConfig.js} +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
export * from "./SessionsListRequestStatus";
|
2
|
+
export * from "./SessionsEventsResponseSessionEvent";
|
2
3
|
export * from "./SessionsEventsResponseStatus";
|
3
4
|
export * from "./SessionsEventsResponseError";
|
4
5
|
export * from "./SessionsEventsResponseWindowEvent";
|
5
|
-
export * from "./SessionsEventsResponseSessionEvent";
|
6
6
|
export * from "./SessionsEventsResponse";
|
@@ -15,8 +15,8 @@ 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);
|
18
19
|
__exportStar(require("./SessionsEventsResponseStatus"), exports);
|
19
20
|
__exportStar(require("./SessionsEventsResponseError"), exports);
|
20
21
|
__exportStar(require("./SessionsEventsResponseWindowEvent"), exports);
|
21
|
-
__exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
|
22
22
|
__exportStar(require("./SessionsEventsResponse"), exports);
|
package/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../index";
|
5
|
+
import * as Airtop from "../../../../../api/index";
|
6
|
+
import * as core from "../../../../../core";
|
7
|
+
import { ScreenshotRequestConfig } from "../../../../types/ScreenshotRequestConfig";
|
8
|
+
export declare const SessionScreenshotHandlerRequestBody: core.serialization.Schema<serializers.SessionScreenshotHandlerRequestBody.Raw, Airtop.SessionScreenshotHandlerRequestBody>;
|
9
|
+
export declare namespace SessionScreenshotHandlerRequestBody {
|
10
|
+
interface Raw {
|
11
|
+
clientRequestId?: string | null;
|
12
|
+
configuration?: ScreenshotRequestConfig.Raw | null;
|
13
|
+
costThresholdCredits?: number | null;
|
14
|
+
timeThresholdSeconds?: number | null;
|
15
|
+
}
|
16
|
+
}
|
package/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js
ADDED
@@ -0,0 +1,37 @@
|
|
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 (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.SessionScreenshotHandlerRequestBody = void 0;
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
31
|
+
const ScreenshotRequestConfig_1 = require("../../../../types/ScreenshotRequestConfig");
|
32
|
+
exports.SessionScreenshotHandlerRequestBody = core.serialization.object({
|
33
|
+
clientRequestId: core.serialization.string().optional(),
|
34
|
+
configuration: ScreenshotRequestConfig_1.ScreenshotRequestConfig.optional(),
|
35
|
+
costThresholdCredits: core.serialization.number().optional(),
|
36
|
+
timeThresholdSeconds: core.serialization.number().optional(),
|
37
|
+
});
|
@@ -8,11 +8,13 @@ import { MicroInteractionConfig } from "../../../../types/MicroInteractionConfig
|
|
8
8
|
export declare const SessionTypeHandlerRequestBody: core.serialization.Schema<serializers.SessionTypeHandlerRequestBody.Raw, Airtop.SessionTypeHandlerRequestBody>;
|
9
9
|
export declare namespace SessionTypeHandlerRequestBody {
|
10
10
|
interface Raw {
|
11
|
+
clearInputField?: boolean | null;
|
11
12
|
clientRequestId?: string | null;
|
12
13
|
configuration?: MicroInteractionConfig.Raw | null;
|
13
14
|
costThresholdCredits?: number | null;
|
14
15
|
elementDescription?: string | null;
|
15
16
|
pressEnterKey?: boolean | null;
|
17
|
+
pressTabKey?: boolean | null;
|
16
18
|
text: string;
|
17
19
|
timeThresholdSeconds?: number | null;
|
18
20
|
waitForNavigation?: boolean | null;
|
@@ -30,11 +30,13 @@ exports.SessionTypeHandlerRequestBody = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
31
31
|
const MicroInteractionConfig_1 = require("../../../../types/MicroInteractionConfig");
|
32
32
|
exports.SessionTypeHandlerRequestBody = core.serialization.object({
|
33
|
+
clearInputField: core.serialization.boolean().optional(),
|
33
34
|
clientRequestId: core.serialization.string().optional(),
|
34
35
|
configuration: MicroInteractionConfig_1.MicroInteractionConfig.optional(),
|
35
36
|
costThresholdCredits: core.serialization.number().optional(),
|
36
37
|
elementDescription: core.serialization.string().optional(),
|
37
38
|
pressEnterKey: core.serialization.boolean().optional(),
|
39
|
+
pressTabKey: core.serialization.boolean().optional(),
|
38
40
|
text: core.serialization.string(),
|
39
41
|
timeThresholdSeconds: core.serialization.number().optional(),
|
40
42
|
waitForNavigation: core.serialization.boolean().optional(),
|
@@ -4,5 +4,6 @@ export { SessionClickHandlerRequestBody } from "./SessionClickHandlerRequestBody
|
|
4
4
|
export { SessionHoverHandlerRequestBody } from "./SessionHoverHandlerRequestBody";
|
5
5
|
export { SessionPaginatedExtractionHandlerRequestBody } from "./SessionPaginatedExtractionHandlerRequestBody";
|
6
6
|
export { ScrapeContentRequest } from "./ScrapeContentRequest";
|
7
|
+
export { SessionScreenshotHandlerRequestBody } from "./SessionScreenshotHandlerRequestBody";
|
7
8
|
export { SessionSummaryHandlerRequestBody } from "./SessionSummaryHandlerRequestBody";
|
8
9
|
export { SessionTypeHandlerRequestBody } from "./SessionTypeHandlerRequestBody";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SessionTypeHandlerRequestBody = exports.SessionSummaryHandlerRequestBody = exports.ScrapeContentRequest = exports.SessionPaginatedExtractionHandlerRequestBody = exports.SessionHoverHandlerRequestBody = exports.SessionClickHandlerRequestBody = exports.WindowLoadUrlV1Body = exports.CreateWindowInputV1Body = void 0;
|
3
|
+
exports.SessionTypeHandlerRequestBody = exports.SessionSummaryHandlerRequestBody = exports.SessionScreenshotHandlerRequestBody = exports.ScrapeContentRequest = exports.SessionPaginatedExtractionHandlerRequestBody = exports.SessionHoverHandlerRequestBody = exports.SessionClickHandlerRequestBody = exports.WindowLoadUrlV1Body = exports.CreateWindowInputV1Body = void 0;
|
4
4
|
var CreateWindowInputV1Body_1 = require("./CreateWindowInputV1Body");
|
5
5
|
Object.defineProperty(exports, "CreateWindowInputV1Body", { enumerable: true, get: function () { return CreateWindowInputV1Body_1.CreateWindowInputV1Body; } });
|
6
6
|
var WindowLoadUrlV1Body_1 = require("./WindowLoadUrlV1Body");
|
@@ -13,6 +13,8 @@ var SessionPaginatedExtractionHandlerRequestBody_1 = require("./SessionPaginated
|
|
13
13
|
Object.defineProperty(exports, "SessionPaginatedExtractionHandlerRequestBody", { enumerable: true, get: function () { return SessionPaginatedExtractionHandlerRequestBody_1.SessionPaginatedExtractionHandlerRequestBody; } });
|
14
14
|
var ScrapeContentRequest_1 = require("./ScrapeContentRequest");
|
15
15
|
Object.defineProperty(exports, "ScrapeContentRequest", { enumerable: true, get: function () { return ScrapeContentRequest_1.ScrapeContentRequest; } });
|
16
|
+
var SessionScreenshotHandlerRequestBody_1 = require("./SessionScreenshotHandlerRequestBody");
|
17
|
+
Object.defineProperty(exports, "SessionScreenshotHandlerRequestBody", { enumerable: true, get: function () { return SessionScreenshotHandlerRequestBody_1.SessionScreenshotHandlerRequestBody; } });
|
16
18
|
var SessionSummaryHandlerRequestBody_1 = require("./SessionSummaryHandlerRequestBody");
|
17
19
|
Object.defineProperty(exports, "SessionSummaryHandlerRequestBody", { enumerable: true, get: function () { return SessionSummaryHandlerRequestBody_1.SessionSummaryHandlerRequestBody; } });
|
18
20
|
var SessionTypeHandlerRequestBody_1 = require("./SessionTypeHandlerRequestBody");
|
@@ -5,6 +5,7 @@ import * as serializers from "../index";
|
|
5
5
|
import * as Airtop from "../../api/index";
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { ClientProvidedResponseMetadata } from "./ClientProvidedResponseMetadata";
|
8
|
+
import { ScreenshotMetadata } from "./ScreenshotMetadata";
|
8
9
|
import { ExternalSessionAiResponseMetadataStatus } from "./ExternalSessionAiResponseMetadataStatus";
|
9
10
|
import { ExternalSessionAiResponseMetadataUsage } from "./ExternalSessionAiResponseMetadataUsage";
|
10
11
|
export declare const ExternalSessionAiResponseMetadata: core.serialization.ObjectSchema<serializers.ExternalSessionAiResponseMetadata.Raw, Airtop.ExternalSessionAiResponseMetadata>;
|
@@ -12,6 +13,7 @@ export declare namespace ExternalSessionAiResponseMetadata {
|
|
12
13
|
interface Raw {
|
13
14
|
clientProvided?: ClientProvidedResponseMetadata.Raw | null;
|
14
15
|
requestId?: string | null;
|
16
|
+
screenshots?: ScreenshotMetadata.Raw[] | null;
|
15
17
|
status: ExternalSessionAiResponseMetadataStatus.Raw;
|
16
18
|
usage: ExternalSessionAiResponseMetadataUsage.Raw;
|
17
19
|
}
|
@@ -29,11 +29,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ExternalSessionAiResponseMetadata = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const ClientProvidedResponseMetadata_1 = require("./ClientProvidedResponseMetadata");
|
32
|
+
const ScreenshotMetadata_1 = require("./ScreenshotMetadata");
|
32
33
|
const ExternalSessionAiResponseMetadataStatus_1 = require("./ExternalSessionAiResponseMetadataStatus");
|
33
34
|
const ExternalSessionAiResponseMetadataUsage_1 = require("./ExternalSessionAiResponseMetadataUsage");
|
34
35
|
exports.ExternalSessionAiResponseMetadata = core.serialization.object({
|
35
36
|
clientProvided: ClientProvidedResponseMetadata_1.ClientProvidedResponseMetadata.optional(),
|
36
37
|
requestId: core.serialization.string().optional(),
|
38
|
+
screenshots: core.serialization.list(ScreenshotMetadata_1.ScreenshotMetadata).optional(),
|
37
39
|
status: ExternalSessionAiResponseMetadataStatus_1.ExternalSessionAiResponseMetadataStatus,
|
38
40
|
usage: ExternalSessionAiResponseMetadataUsage_1.ExternalSessionAiResponseMetadataUsage,
|
39
41
|
});
|
@@ -0,0 +1,15 @@
|
|
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 ScreenshotConfig: core.serialization.ObjectSchema<serializers.ScreenshotConfig.Raw, Airtop.ScreenshotConfig>;
|
8
|
+
export declare namespace ScreenshotConfig {
|
9
|
+
interface Raw {
|
10
|
+
maxHeight?: number | null;
|
11
|
+
maxWidth?: number | null;
|
12
|
+
quality?: number | null;
|
13
|
+
scope?: "viewport" | null;
|
14
|
+
}
|
15
|
+
}
|
@@ -26,14 +26,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
26
|
return result;
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.
|
29
|
+
exports.ScreenshotConfig = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
errors: core.serialization.list(Issue_1.Issue).optional(),
|
37
|
-
meta: EnvelopeDefaultMeta_1.EnvelopeDefaultMeta,
|
38
|
-
warnings: core.serialization.list(Issue_1.Issue).optional(),
|
31
|
+
exports.ScreenshotConfig = core.serialization.object({
|
32
|
+
maxHeight: core.serialization.number().optional(),
|
33
|
+
maxWidth: core.serialization.number().optional(),
|
34
|
+
quality: core.serialization.number().optional(),
|
35
|
+
scope: core.serialization.stringLiteral("viewport").optional(),
|
39
36
|
});
|
@@ -0,0 +1,12 @@
|
|
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 ScreenshotMetadata: core.serialization.ObjectSchema<serializers.ScreenshotMetadata.Raw, Airtop.ScreenshotMetadata>;
|
8
|
+
export declare namespace ScreenshotMetadata {
|
9
|
+
interface Raw {
|
10
|
+
dataUrl?: string | null;
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,33 @@
|
|
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 (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ScreenshotMetadata = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.ScreenshotMetadata = core.serialization.object({
|
32
|
+
dataUrl: core.serialization.string().optional(),
|
33
|
+
});
|
@@ -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
|
+
import { ScreenshotConfig } from "./ScreenshotConfig";
|
8
|
+
export declare const ScreenshotRequestConfig: core.serialization.ObjectSchema<serializers.ScreenshotRequestConfig.Raw, Airtop.ScreenshotRequestConfig>;
|
9
|
+
export declare namespace ScreenshotRequestConfig {
|
10
|
+
interface Raw {
|
11
|
+
screenshot?: ScreenshotConfig.Raw | null;
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,34 @@
|
|
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 (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ScreenshotRequestConfig = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ScreenshotConfig_1 = require("./ScreenshotConfig");
|
32
|
+
exports.ScreenshotRequestConfig = core.serialization.object({
|
33
|
+
screenshot: ScreenshotConfig_1.ScreenshotConfig.optional(),
|
34
|
+
});
|
@@ -9,8 +9,10 @@ import { VisualAnalysisConfigScope } from "./VisualAnalysisConfigScope";
|
|
9
9
|
export declare const VisualAnalysisConfig: core.serialization.ObjectSchema<serializers.VisualAnalysisConfig.Raw, Airtop.VisualAnalysisConfig>;
|
10
10
|
export declare namespace VisualAnalysisConfig {
|
11
11
|
interface Raw {
|
12
|
+
maxScanScrolls?: number | null;
|
12
13
|
overlapPercentage?: number | null;
|
13
14
|
partitionDirection?: VisualAnalysisConfigPartitionDirection.Raw | null;
|
15
|
+
scanScrollDelay?: number | null;
|
14
16
|
scope?: VisualAnalysisConfigScope.Raw | null;
|
15
17
|
}
|
16
18
|
}
|
@@ -31,7 +31,9 @@ const core = __importStar(require("../../core"));
|
|
31
31
|
const VisualAnalysisConfigPartitionDirection_1 = require("./VisualAnalysisConfigPartitionDirection");
|
32
32
|
const VisualAnalysisConfigScope_1 = require("./VisualAnalysisConfigScope");
|
33
33
|
exports.VisualAnalysisConfig = core.serialization.object({
|
34
|
+
maxScanScrolls: core.serialization.number().optional(),
|
34
35
|
overlapPercentage: core.serialization.number().optional(),
|
35
36
|
partitionDirection: VisualAnalysisConfigPartitionDirection_1.VisualAnalysisConfigPartitionDirection.optional(),
|
37
|
+
scanScrollDelay: core.serialization.number().optional(),
|
36
38
|
scope: VisualAnalysisConfigScope_1.VisualAnalysisConfigScope.optional(),
|
37
39
|
});
|
@@ -6,5 +6,5 @@ import * as Airtop from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const VisualAnalysisConfigScope: core.serialization.Schema<serializers.VisualAnalysisConfigScope.Raw, Airtop.VisualAnalysisConfigScope>;
|
8
8
|
export declare namespace VisualAnalysisConfigScope {
|
9
|
-
type Raw = "viewport" | "page";
|
9
|
+
type Raw = "viewport" | "page" | "scan" | "auto";
|
10
10
|
}
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.VisualAnalysisConfigScope = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
exports.VisualAnalysisConfigScope = core.serialization.enum_(["viewport", "page"]);
|
31
|
+
exports.VisualAnalysisConfigScope = core.serialization.enum_(["viewport", "page", "scan", "auto"]);
|
@@ -10,7 +10,6 @@ export * from "./ErrorBody";
|
|
10
10
|
export * from "./ErrorDetail";
|
11
11
|
export * from "./ErrorMessage";
|
12
12
|
export * from "./ErrorModel";
|
13
|
-
export * from "./ExternalProfileV1";
|
14
13
|
export * from "./ExternalSessionAiResponseMetadataStatus";
|
15
14
|
export * from "./ExternalSessionAiResponseMetadata";
|
16
15
|
export * from "./ExternalSessionAiResponseMetadataUsage";
|
@@ -24,11 +23,13 @@ export * from "./PageQueryConfig";
|
|
24
23
|
export * from "./PageQueryExperimentalConfig";
|
25
24
|
export * from "./PaginatedExtractionConfig";
|
26
25
|
export * from "./Pagination";
|
27
|
-
export * from "./ProfilesResponse";
|
28
26
|
export * from "./ScrapeResponse";
|
29
27
|
export * from "./ScrapeResponseContent";
|
30
28
|
export * from "./ScrapeResponseEnvelope";
|
31
29
|
export * from "./ScrapeResponseOutput";
|
30
|
+
export * from "./ScreenshotConfig";
|
31
|
+
export * from "./ScreenshotMetadata";
|
32
|
+
export * from "./ScreenshotRequestConfig";
|
32
33
|
export * from "./Proxy";
|
33
34
|
export * from "./CustomProxy";
|
34
35
|
export * from "./SessionConfigV1ProxyItem";
|
@@ -26,7 +26,6 @@ __exportStar(require("./ErrorBody"), exports);
|
|
26
26
|
__exportStar(require("./ErrorDetail"), exports);
|
27
27
|
__exportStar(require("./ErrorMessage"), exports);
|
28
28
|
__exportStar(require("./ErrorModel"), exports);
|
29
|
-
__exportStar(require("./ExternalProfileV1"), exports);
|
30
29
|
__exportStar(require("./ExternalSessionAiResponseMetadataStatus"), exports);
|
31
30
|
__exportStar(require("./ExternalSessionAiResponseMetadata"), exports);
|
32
31
|
__exportStar(require("./ExternalSessionAiResponseMetadataUsage"), exports);
|
@@ -40,11 +39,13 @@ __exportStar(require("./PageQueryConfig"), exports);
|
|
40
39
|
__exportStar(require("./PageQueryExperimentalConfig"), exports);
|
41
40
|
__exportStar(require("./PaginatedExtractionConfig"), exports);
|
42
41
|
__exportStar(require("./Pagination"), exports);
|
43
|
-
__exportStar(require("./ProfilesResponse"), exports);
|
44
42
|
__exportStar(require("./ScrapeResponse"), exports);
|
45
43
|
__exportStar(require("./ScrapeResponseContent"), exports);
|
46
44
|
__exportStar(require("./ScrapeResponseEnvelope"), exports);
|
47
45
|
__exportStar(require("./ScrapeResponseOutput"), exports);
|
46
|
+
__exportStar(require("./ScreenshotConfig"), exports);
|
47
|
+
__exportStar(require("./ScreenshotMetadata"), exports);
|
48
|
+
__exportStar(require("./ScreenshotRequestConfig"), exports);
|
48
49
|
__exportStar(require("./Proxy"), exports);
|
49
50
|
__exportStar(require("./CustomProxy"), exports);
|
50
51
|
__exportStar(require("./SessionConfigV1ProxyItem"), exports);
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
/**
|
5
|
-
* @example
|
6
|
-
* {}
|
7
|
-
*/
|
8
|
-
export interface ProfilesGetRequest {
|
9
|
-
/**
|
10
|
-
* DEPRECATED. Use profileNames.
|
11
|
-
*/
|
12
|
-
profileIds?: string | string[];
|
13
|
-
/**
|
14
|
-
* A comma-separated list of profile names.
|
15
|
-
*/
|
16
|
-
profileNames?: string | string[];
|
17
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
export interface ExternalProfileV1 {
|
5
|
-
/** DEPRECATED. Use profileName. */
|
6
|
-
profileId: string;
|
7
|
-
/** Name of the profile. */
|
8
|
-
profileName: string;
|
9
|
-
/** DEPRECATED. */
|
10
|
-
status?: string;
|
11
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as Airtop from "../index";
|
5
|
-
export interface ProfilesResponse {
|
6
|
-
data?: Airtop.ExternalProfileV1[];
|
7
|
-
errors?: Airtop.Issue[];
|
8
|
-
meta: Airtop.EnvelopeDefaultMeta;
|
9
|
-
warnings?: Airtop.Issue[];
|
10
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
/**
|
5
|
-
* @example
|
6
|
-
* {}
|
7
|
-
*/
|
8
|
-
export interface ProfilesGetRequest {
|
9
|
-
/**
|
10
|
-
* DEPRECATED. Use profileNames.
|
11
|
-
*/
|
12
|
-
profileIds?: string | string[];
|
13
|
-
/**
|
14
|
-
* A comma-separated list of profile names.
|
15
|
-
*/
|
16
|
-
profileNames?: string | string[];
|
17
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
export interface ExternalProfileV1 {
|
5
|
-
/** DEPRECATED. Use profileName. */
|
6
|
-
profileId: string;
|
7
|
-
/** Name of the profile. */
|
8
|
-
profileName: string;
|
9
|
-
/** DEPRECATED. */
|
10
|
-
status?: string;
|
11
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as Airtop from "../index";
|
5
|
-
export interface ProfilesResponse {
|
6
|
-
data?: Airtop.ExternalProfileV1[];
|
7
|
-
errors?: Airtop.Issue[];
|
8
|
-
meta: Airtop.EnvelopeDefaultMeta;
|
9
|
-
warnings?: Airtop.Issue[];
|
10
|
-
}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Airtop from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
export declare const ExternalProfileV1: core.serialization.ObjectSchema<serializers.ExternalProfileV1.Raw, Airtop.ExternalProfileV1>;
|
8
|
-
export declare namespace ExternalProfileV1 {
|
9
|
-
interface Raw {
|
10
|
-
profileId: string;
|
11
|
-
profileName: string;
|
12
|
-
status?: string | null;
|
13
|
-
}
|
14
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Airtop from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
import { ExternalProfileV1 } from "./ExternalProfileV1";
|
8
|
-
import { Issue } from "./Issue";
|
9
|
-
import { EnvelopeDefaultMeta } from "./EnvelopeDefaultMeta";
|
10
|
-
export declare const ProfilesResponse: core.serialization.ObjectSchema<serializers.ProfilesResponse.Raw, Airtop.ProfilesResponse>;
|
11
|
-
export declare namespace ProfilesResponse {
|
12
|
-
interface Raw {
|
13
|
-
data?: ExternalProfileV1.Raw[] | null;
|
14
|
-
errors?: Issue.Raw[] | null;
|
15
|
-
meta: EnvelopeDefaultMeta.Raw;
|
16
|
-
warnings?: Issue.Raw[] | null;
|
17
|
-
}
|
18
|
-
}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Airtop from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
export declare const ExternalProfileV1: core.serialization.ObjectSchema<serializers.ExternalProfileV1.Raw, Airtop.ExternalProfileV1>;
|
8
|
-
export declare namespace ExternalProfileV1 {
|
9
|
-
interface Raw {
|
10
|
-
profileId: string;
|
11
|
-
profileName: string;
|
12
|
-
status?: string | null;
|
13
|
-
}
|
14
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Airtop from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
import { ExternalProfileV1 } from "./ExternalProfileV1";
|
8
|
-
import { Issue } from "./Issue";
|
9
|
-
import { EnvelopeDefaultMeta } from "./EnvelopeDefaultMeta";
|
10
|
-
export declare const ProfilesResponse: core.serialization.ObjectSchema<serializers.ProfilesResponse.Raw, Airtop.ProfilesResponse>;
|
11
|
-
export declare namespace ProfilesResponse {
|
12
|
-
interface Raw {
|
13
|
-
data?: ExternalProfileV1.Raw[] | null;
|
14
|
-
errors?: Issue.Raw[] | null;
|
15
|
-
meta: EnvelopeDefaultMeta.Raw;
|
16
|
-
warnings?: Issue.Raw[] | null;
|
17
|
-
}
|
18
|
-
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|