@airtop/sdk 0.1.2 → 0.1.4
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/Client.d.ts +2 -2
- package/Client.js +1 -1
- package/api/errors/InternalServerError.d.ts +1 -1
- package/api/errors/NotFoundError.d.ts +1 -1
- package/api/errors/UnprocessableEntityError.d.ts +1 -1
- package/api/resources/profiles/client/Client.d.ts +3 -3
- package/api/resources/profiles/client/Client.js +6 -10
- package/api/resources/sessions/client/Client.d.ts +3 -3
- package/api/resources/sessions/client/Client.js +21 -25
- package/api/resources/windows/client/Client.d.ts +7 -7
- package/api/resources/windows/client/Client.js +24 -24
- package/api/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +3 -1
- package/api/resources/windows/client/requests/{PromptContentRequest.d.ts → SessionContentPromptHandlerRequestBody.d.ts} +1 -4
- package/api/resources/windows/client/requests/{SummarizeContentRequest.d.ts → SessionSummaryHandlerRequestBody.d.ts} +1 -4
- package/api/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +3 -1
- package/api/resources/windows/client/requests/index.d.ts +2 -2
- package/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +3 -2
- package/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +1 -0
- package/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +3 -2
- package/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +1 -0
- package/api/types/CustomProxy.d.ts +14 -0
- package/api/types/ErrorDetail.d.ts +10 -0
- package/api/types/ErrorModel.d.ts +18 -0
- package/api/types/Proxy.d.ts +11 -0
- package/api/types/SessionConfigV1.d.ts +3 -0
- package/api/types/SessionConfigV1Proxy.d.ts +14 -0
- package/api/types/SessionConfigV1Proxy.js +5 -0
- package/api/types/SessionConfigV1ProxyItem.d.ts +12 -0
- package/api/types/SessionConfigV1ProxyItem.js +5 -0
- package/api/types/index.d.ts +6 -1
- package/api/types/index.js +6 -1
- package/dist/Client.d.ts +2 -2
- package/dist/Client.js +1 -1
- package/dist/api/errors/InternalServerError.d.ts +1 -1
- package/dist/api/errors/NotFoundError.d.ts +1 -1
- package/dist/api/errors/UnprocessableEntityError.d.ts +1 -1
- package/dist/api/resources/profiles/client/Client.d.ts +3 -3
- package/dist/api/resources/profiles/client/Client.js +6 -10
- package/dist/api/resources/sessions/client/Client.d.ts +3 -3
- package/dist/api/resources/sessions/client/Client.js +21 -25
- package/dist/api/resources/windows/client/Client.d.ts +7 -7
- package/dist/api/resources/windows/client/Client.js +24 -24
- package/dist/api/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +3 -1
- package/dist/api/resources/windows/client/requests/{PromptContentRequest.d.ts → SessionContentPromptHandlerRequestBody.d.ts} +1 -4
- package/dist/api/resources/windows/client/requests/SessionContentPromptHandlerRequestBody.js +5 -0
- package/dist/api/resources/windows/client/requests/{SummarizeContentRequest.d.ts → SessionSummaryHandlerRequestBody.d.ts} +1 -4
- package/dist/api/resources/windows/client/requests/SessionSummaryHandlerRequestBody.js +5 -0
- package/dist/api/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +3 -1
- package/dist/api/resources/windows/client/requests/index.d.ts +2 -2
- package/dist/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +3 -2
- package/dist/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +1 -0
- package/dist/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +3 -2
- package/dist/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +1 -0
- package/dist/api/types/CustomProxy.d.ts +14 -0
- package/dist/api/types/CustomProxy.js +5 -0
- package/dist/api/types/ErrorDetail.d.ts +10 -0
- package/dist/api/types/ErrorDetail.js +5 -0
- package/dist/api/types/ErrorModel.d.ts +18 -0
- package/dist/api/types/ErrorModel.js +5 -0
- package/dist/api/types/Proxy.d.ts +11 -0
- package/dist/api/types/Proxy.js +5 -0
- package/dist/api/types/SessionConfigV1.d.ts +3 -0
- package/dist/api/types/SessionConfigV1Proxy.d.ts +14 -0
- package/dist/api/types/SessionConfigV1Proxy.js +5 -0
- package/dist/api/types/SessionConfigV1ProxyItem.d.ts +12 -0
- package/dist/api/types/SessionConfigV1ProxyItem.js +5 -0
- package/dist/api/types/index.d.ts +6 -1
- package/dist/api/types/index.js +6 -1
- package/dist/serialization/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +1 -0
- package/dist/serialization/resources/windows/client/requests/CreateWindowInputV1Body.js +1 -0
- package/dist/serialization/resources/windows/client/requests/{PromptContentRequest.d.ts → SessionContentPromptHandlerRequestBody.d.ts} +2 -4
- package/dist/serialization/resources/windows/client/requests/{PromptContentRequest.js → SessionContentPromptHandlerRequestBody.js} +2 -4
- package/dist/serialization/resources/windows/client/requests/{SummarizeContentRequest.d.ts → SessionSummaryHandlerRequestBody.d.ts} +2 -4
- package/dist/serialization/resources/windows/client/requests/{SummarizeContentRequest.js → SessionSummaryHandlerRequestBody.js} +2 -4
- package/dist/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +1 -0
- package/dist/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.js +1 -0
- package/dist/serialization/resources/windows/client/requests/index.d.ts +2 -2
- package/dist/serialization/resources/windows/client/requests/index.js +5 -5
- package/dist/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +1 -1
- package/dist/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +1 -1
- package/dist/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +1 -1
- package/dist/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +1 -1
- package/dist/serialization/types/CustomProxy.d.ts +11 -0
- package/dist/serialization/types/CustomProxy.js +32 -0
- package/dist/serialization/types/ErrorDetail.d.ts +14 -0
- package/{serialization/types/ErrorEnvelope.js → dist/serialization/types/ErrorDetail.js} +5 -9
- package/dist/serialization/types/ErrorModel.d.ts +18 -0
- package/dist/serialization/types/{ErrorEnvelope.js → ErrorModel.js} +9 -9
- package/dist/serialization/types/Proxy.d.ts +14 -0
- package/dist/serialization/types/Proxy.js +35 -0
- package/dist/serialization/types/SessionConfigV1.d.ts +2 -0
- package/dist/serialization/types/SessionConfigV1.js +2 -0
- package/dist/serialization/types/SessionConfigV1Proxy.d.ts +12 -0
- package/dist/serialization/types/SessionConfigV1Proxy.js +33 -0
- package/dist/serialization/types/SessionConfigV1ProxyItem.d.ts +14 -0
- package/dist/serialization/types/SessionConfigV1ProxyItem.js +35 -0
- package/dist/serialization/types/index.d.ts +6 -1
- package/dist/serialization/types/index.js +6 -1
- package/dist/wrapper/AirtopClient.d.ts +1 -1
- package/dist/wrapper/AirtopWindows.d.ts +2 -2
- package/package.json +3 -2
- package/reference.md +2 -2
- package/serialization/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +1 -0
- package/serialization/resources/windows/client/requests/CreateWindowInputV1Body.js +1 -0
- package/serialization/resources/windows/client/requests/{PromptContentRequest.d.ts → SessionContentPromptHandlerRequestBody.d.ts} +2 -4
- package/serialization/resources/windows/client/requests/{PromptContentRequest.js → SessionContentPromptHandlerRequestBody.js} +2 -4
- package/serialization/resources/windows/client/requests/{SummarizeContentRequest.d.ts → SessionSummaryHandlerRequestBody.d.ts} +2 -4
- package/serialization/resources/windows/client/requests/{SummarizeContentRequest.js → SessionSummaryHandlerRequestBody.js} +2 -4
- package/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +1 -0
- package/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.js +1 -0
- package/serialization/resources/windows/client/requests/index.d.ts +2 -2
- package/serialization/resources/windows/client/requests/index.js +5 -5
- package/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +1 -1
- package/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +1 -1
- package/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +1 -1
- package/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +1 -1
- package/serialization/types/CustomProxy.d.ts +11 -0
- package/serialization/types/CustomProxy.js +32 -0
- package/serialization/types/ErrorDetail.d.ts +14 -0
- package/serialization/types/ErrorDetail.js +35 -0
- package/serialization/types/ErrorModel.d.ts +18 -0
- package/serialization/types/ErrorModel.js +39 -0
- package/serialization/types/Proxy.d.ts +14 -0
- package/serialization/types/Proxy.js +35 -0
- package/serialization/types/SessionConfigV1.d.ts +2 -0
- package/serialization/types/SessionConfigV1.js +2 -0
- package/serialization/types/SessionConfigV1Proxy.d.ts +12 -0
- package/serialization/types/SessionConfigV1Proxy.js +33 -0
- package/serialization/types/SessionConfigV1ProxyItem.d.ts +14 -0
- package/serialization/types/SessionConfigV1ProxyItem.js +35 -0
- package/serialization/types/index.d.ts +6 -1
- package/serialization/types/index.js +6 -1
- package/wrapper/AirtopClient.d.ts +1 -1
- package/wrapper/AirtopWindows.d.ts +2 -2
- package/api/types/ErrorEnvelope.d.ts +0 -12
- package/dist/api/types/ErrorEnvelope.d.ts +0 -12
- package/dist/serialization/types/ErrorEnvelope.d.ts +0 -18
- package/serialization/types/ErrorEnvelope.d.ts +0 -18
- /package/api/resources/windows/client/requests/{PromptContentRequest.js → SessionContentPromptHandlerRequestBody.js} +0 -0
- /package/api/resources/windows/client/requests/{SummarizeContentRequest.js → SessionSummaryHandlerRequestBody.js} +0 -0
- /package/api/types/{ErrorEnvelope.js → CustomProxy.js} +0 -0
- /package/{dist/api/resources/windows/client/requests/PromptContentRequest.js → api/types/ErrorDetail.js} +0 -0
- /package/{dist/api/resources/windows/client/requests/SummarizeContentRequest.js → api/types/ErrorModel.js} +0 -0
- /package/{dist/api/types/ErrorEnvelope.js → api/types/Proxy.js} +0 -0
@@ -0,0 +1,35 @@
|
|
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.Proxy = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.Proxy = core.serialization.object({
|
32
|
+
password: core.serialization.string().optional(),
|
33
|
+
url: core.serialization.string(),
|
34
|
+
username: core.serialization.string().optional(),
|
35
|
+
});
|
@@ -4,11 +4,13 @@
|
|
4
4
|
import * as serializers from "../index";
|
5
5
|
import * as Airtop from "../../api/index";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { SessionConfigV1Proxy } from "./SessionConfigV1Proxy";
|
7
8
|
export declare const SessionConfigV1: core.serialization.ObjectSchema<serializers.SessionConfigV1.Raw, Airtop.SessionConfigV1>;
|
8
9
|
export declare namespace SessionConfigV1 {
|
9
10
|
interface Raw {
|
10
11
|
baseProfileId?: string | null;
|
11
12
|
persistProfile?: boolean | null;
|
13
|
+
proxy?: SessionConfigV1Proxy.Raw | null;
|
12
14
|
timeoutMinutes?: number | null;
|
13
15
|
}
|
14
16
|
}
|
@@ -28,8 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.SessionConfigV1 = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const SessionConfigV1Proxy_1 = require("./SessionConfigV1Proxy");
|
31
32
|
exports.SessionConfigV1 = core.serialization.object({
|
32
33
|
baseProfileId: core.serialization.string().optional(),
|
33
34
|
persistProfile: core.serialization.boolean().optional(),
|
35
|
+
proxy: SessionConfigV1Proxy_1.SessionConfigV1Proxy.optional(),
|
34
36
|
timeoutMinutes: core.serialization.number().optional(),
|
35
37
|
});
|
@@ -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
|
+
import { CustomProxy } from "./CustomProxy";
|
8
|
+
import { SessionConfigV1ProxyItem } from "./SessionConfigV1ProxyItem";
|
9
|
+
export declare const SessionConfigV1Proxy: core.serialization.Schema<serializers.SessionConfigV1Proxy.Raw, Airtop.SessionConfigV1Proxy>;
|
10
|
+
export declare namespace SessionConfigV1Proxy {
|
11
|
+
type Raw = CustomProxy.Raw | SessionConfigV1ProxyItem.Raw[];
|
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.SessionConfigV1Proxy = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const CustomProxy_1 = require("./CustomProxy");
|
32
|
+
const SessionConfigV1ProxyItem_1 = require("./SessionConfigV1ProxyItem");
|
33
|
+
exports.SessionConfigV1Proxy = core.serialization.undiscriminatedUnion([CustomProxy_1.CustomProxy, core.serialization.list(SessionConfigV1ProxyItem_1.SessionConfigV1ProxyItem)]);
|
@@ -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
|
+
import { CustomProxy } from "./CustomProxy";
|
8
|
+
export declare const SessionConfigV1ProxyItem: core.serialization.ObjectSchema<serializers.SessionConfigV1ProxyItem.Raw, Airtop.SessionConfigV1ProxyItem>;
|
9
|
+
export declare namespace SessionConfigV1ProxyItem {
|
10
|
+
interface Raw {
|
11
|
+
domainPattern: string;
|
12
|
+
relay: CustomProxy.Raw;
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,35 @@
|
|
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.SessionConfigV1ProxyItem = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const CustomProxy_1 = require("./CustomProxy");
|
32
|
+
exports.SessionConfigV1ProxyItem = core.serialization.object({
|
33
|
+
domainPattern: core.serialization.string(),
|
34
|
+
relay: CustomProxy_1.CustomProxy,
|
35
|
+
});
|
@@ -6,8 +6,9 @@ export * from "./EmptyResponseJson";
|
|
6
6
|
export * from "./EnvelopeDefaultMeta";
|
7
7
|
export * from "./EnvelopeStatusDefaultMetaStatus";
|
8
8
|
export * from "./EnvelopeStatusDefaultMeta";
|
9
|
-
export * from "./
|
9
|
+
export * from "./ErrorDetail";
|
10
10
|
export * from "./ErrorMessage";
|
11
|
+
export * from "./ErrorModel";
|
11
12
|
export * from "./ExternalProfileV1";
|
12
13
|
export * from "./ExternalSessionAiResponseMetadataStatus";
|
13
14
|
export * from "./ExternalSessionAiResponseMetadata";
|
@@ -23,6 +24,10 @@ export * from "./ScrapeResponse";
|
|
23
24
|
export * from "./ScrapeResponseContent";
|
24
25
|
export * from "./ScrapeResponseEnvelope";
|
25
26
|
export * from "./ScrapeResponseOutput";
|
27
|
+
export * from "./Proxy";
|
28
|
+
export * from "./CustomProxy";
|
29
|
+
export * from "./SessionConfigV1ProxyItem";
|
30
|
+
export * from "./SessionConfigV1Proxy";
|
26
31
|
export * from "./SessionConfigV1";
|
27
32
|
export * from "./SessionResponse";
|
28
33
|
export * from "./SessionsResponse";
|
@@ -22,8 +22,9 @@ __exportStar(require("./EmptyResponseJson"), exports);
|
|
22
22
|
__exportStar(require("./EnvelopeDefaultMeta"), exports);
|
23
23
|
__exportStar(require("./EnvelopeStatusDefaultMetaStatus"), exports);
|
24
24
|
__exportStar(require("./EnvelopeStatusDefaultMeta"), exports);
|
25
|
-
__exportStar(require("./
|
25
|
+
__exportStar(require("./ErrorDetail"), exports);
|
26
26
|
__exportStar(require("./ErrorMessage"), exports);
|
27
|
+
__exportStar(require("./ErrorModel"), exports);
|
27
28
|
__exportStar(require("./ExternalProfileV1"), exports);
|
28
29
|
__exportStar(require("./ExternalSessionAiResponseMetadataStatus"), exports);
|
29
30
|
__exportStar(require("./ExternalSessionAiResponseMetadata"), exports);
|
@@ -39,6 +40,10 @@ __exportStar(require("./ScrapeResponse"), exports);
|
|
39
40
|
__exportStar(require("./ScrapeResponseContent"), exports);
|
40
41
|
__exportStar(require("./ScrapeResponseEnvelope"), exports);
|
41
42
|
__exportStar(require("./ScrapeResponseOutput"), exports);
|
43
|
+
__exportStar(require("./Proxy"), exports);
|
44
|
+
__exportStar(require("./CustomProxy"), exports);
|
45
|
+
__exportStar(require("./SessionConfigV1ProxyItem"), exports);
|
46
|
+
__exportStar(require("./SessionConfigV1Proxy"), exports);
|
42
47
|
__exportStar(require("./SessionConfigV1"), exports);
|
43
48
|
__exportStar(require("./SessionResponse"), exports);
|
44
49
|
__exportStar(require("./SessionsResponse"), exports);
|
@@ -9,7 +9,7 @@ export declare class AirtopClient {
|
|
9
9
|
private _client;
|
10
10
|
private _windowsWrapper;
|
11
11
|
private _sessionsWrapper;
|
12
|
-
constructor(options
|
12
|
+
constructor(options: AugmentedOptions);
|
13
13
|
get windows(): AirtopWindows;
|
14
14
|
get sessions(): AirtopSessions;
|
15
15
|
get profiles(): import("../api/resources/profiles/client/Client").Profiles;
|
@@ -27,9 +27,9 @@ export declare class AirtopWindows {
|
|
27
27
|
loadUrl(sessionId: string, windowId: string, request: Airtop.WindowLoadUrlV1Body, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.EmptyResponse>;
|
28
28
|
close(sessionId: string, windowId: string, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowIdResponse>;
|
29
29
|
getWindowInfo(sessionId: string, windowId: string, request?: Airtop.GetWindowInfoRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowResponse>;
|
30
|
-
promptContent(sessionId: string, windowId: string, request: Airtop.
|
30
|
+
promptContent(sessionId: string, windowId: string, request: Airtop.SessionContentPromptHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
|
31
31
|
scrapeContent(sessionId: string, windowId: string, request?: Airtop.ScrapeContentRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.ScrapeResponse>;
|
32
|
-
summarizeContent(sessionId: string, windowId: string, request?: Airtop.
|
32
|
+
summarizeContent(sessionId: string, windowId: string, request?: Airtop.SessionSummaryHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
|
33
33
|
getWindowInfoForPuppeteerPage(session: Airtop.ExternalSessionWithConnectionInfo, page: puppeteer.Page, request?: Airtop.GetWindowInfoRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowResponse>;
|
34
34
|
getWindowInfoForPlaywrightPage(session: Airtop.ExternalSessionWithConnectionInfo, page: playwright.Page, request?: Airtop.GetWindowInfoRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowResponse>;
|
35
35
|
private executeSeleniumCDPCommand;
|
@@ -1,12 +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 ErrorEnvelope {
|
6
|
-
httpStatus: number;
|
7
|
-
message: string;
|
8
|
-
data?: unknown;
|
9
|
-
errors?: Airtop.Issue[];
|
10
|
-
meta?: unknown;
|
11
|
-
warnings?: Airtop.Issue[];
|
12
|
-
}
|
@@ -1,12 +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 ErrorEnvelope {
|
6
|
-
httpStatus: number;
|
7
|
-
message: string;
|
8
|
-
data?: unknown;
|
9
|
-
errors?: Airtop.Issue[];
|
10
|
-
meta?: unknown;
|
11
|
-
warnings?: Airtop.Issue[];
|
12
|
-
}
|
@@ -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 { Issue } from "./Issue";
|
8
|
-
export declare const ErrorEnvelope: core.serialization.ObjectSchema<serializers.ErrorEnvelope.Raw, Airtop.ErrorEnvelope>;
|
9
|
-
export declare namespace ErrorEnvelope {
|
10
|
-
interface Raw {
|
11
|
-
HttpStatus: number;
|
12
|
-
Message: string;
|
13
|
-
data?: unknown;
|
14
|
-
errors?: Issue.Raw[] | null;
|
15
|
-
meta?: unknown;
|
16
|
-
warnings?: Issue.Raw[] | null;
|
17
|
-
}
|
18
|
-
}
|
@@ -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 { Issue } from "./Issue";
|
8
|
-
export declare const ErrorEnvelope: core.serialization.ObjectSchema<serializers.ErrorEnvelope.Raw, Airtop.ErrorEnvelope>;
|
9
|
-
export declare namespace ErrorEnvelope {
|
10
|
-
interface Raw {
|
11
|
-
HttpStatus: number;
|
12
|
-
Message: string;
|
13
|
-
data?: unknown;
|
14
|
-
errors?: Issue.Raw[] | null;
|
15
|
-
meta?: unknown;
|
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
|