@airtop/sdk 0.1.37 → 0.1.38-beta0
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 +9 -10
- package/api/errors/index.d.ts +2 -2
- package/api/errors/index.js +2 -2
- package/api/resources/automations/client/Client.js +4 -4
- package/api/resources/files/client/Client.js +4 -4
- package/api/resources/profiles/client/Client.js +1 -1
- package/api/resources/requests/client/Client.js +1 -1
- package/api/resources/sessions/client/Client.js +6 -6
- package/api/resources/sessions/types/SessionsEventsResponse.d.ts +7 -4
- package/api/resources/sessions/types/SessionsEventsResponseCaptchaEvent.d.ts +11 -0
- package/api/resources/sessions/types/SessionsEventsResponseCaptchaEvent.js +5 -0
- package/api/resources/sessions/types/index.d.ts +2 -1
- package/api/resources/sessions/types/index.js +2 -1
- package/api/resources/windows/client/Client.d.ts +126 -0
- package/api/resources/windows/client/Client.js +577 -21
- package/api/resources/windows/client/requests/AsyncClickRequest.d.ts +29 -0
- package/api/resources/windows/client/requests/AsyncClickRequest.js +5 -0
- package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +27 -0
- package/api/resources/windows/client/requests/AsyncHoverRequest.js +5 -0
- package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +27 -0
- package/api/resources/windows/client/requests/AsyncMonitorRequest.js +5 -0
- package/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +29 -0
- package/api/resources/windows/client/requests/AsyncPageQueryRequest.js +5 -0
- package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +27 -0
- package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +5 -0
- package/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +29 -0
- package/api/resources/windows/client/requests/AsyncPromptContentRequest.js +5 -0
- package/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +23 -0
- package/api/resources/windows/client/requests/AsyncScreenshotRequest.js +5 -0
- package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +25 -0
- package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +5 -0
- package/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +37 -0
- package/api/resources/windows/client/requests/AsyncTypeRequest.js +5 -0
- package/api/resources/windows/client/requests/OperatorPromptV1Body.d.ts +25 -0
- package/api/resources/windows/client/requests/OperatorPromptV1Body.js +5 -0
- package/api/resources/windows/client/requests/index.d.ts +10 -0
- package/api/types/AsyncOperatorPromptResponseEnvelope.d.ts +9 -0
- package/api/types/AsyncOperatorPromptResponseEnvelope.js +5 -0
- package/api/types/CaptchaEventMessage.d.ts +24 -0
- package/api/types/CaptchaEventMessage.js +5 -0
- package/api/types/CaptchaEventMessageStatus.d.ts +12 -0
- package/api/types/CaptchaEventMessageStatus.js +11 -0
- package/api/types/SessionConfigV1.d.ts +2 -0
- package/api/types/index.d.ts +3 -0
- package/api/types/index.js +3 -0
- package/dist/api/errors/index.d.ts +2 -2
- package/dist/api/errors/index.js +2 -2
- package/dist/api/resources/automations/client/Client.js +4 -4
- package/dist/api/resources/files/client/Client.js +4 -4
- package/dist/api/resources/profiles/client/Client.js +1 -1
- package/dist/api/resources/requests/client/Client.js +1 -1
- package/dist/api/resources/sessions/client/Client.js +6 -6
- package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +7 -4
- package/dist/api/resources/sessions/types/SessionsEventsResponseCaptchaEvent.d.ts +11 -0
- package/dist/api/resources/sessions/types/SessionsEventsResponseCaptchaEvent.js +5 -0
- package/dist/api/resources/sessions/types/index.d.ts +2 -1
- package/dist/api/resources/sessions/types/index.js +2 -1
- package/dist/api/resources/windows/client/Client.d.ts +126 -0
- package/dist/api/resources/windows/client/Client.js +577 -21
- package/dist/api/resources/windows/client/requests/AsyncClickRequest.d.ts +29 -0
- package/dist/api/resources/windows/client/requests/AsyncClickRequest.js +5 -0
- package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +27 -0
- package/dist/api/resources/windows/client/requests/AsyncHoverRequest.js +5 -0
- package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +27 -0
- package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.js +5 -0
- package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +29 -0
- package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.js +5 -0
- package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +27 -0
- package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +5 -0
- package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +29 -0
- package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.js +5 -0
- package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +23 -0
- package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.js +5 -0
- package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +25 -0
- package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +5 -0
- package/dist/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +37 -0
- package/dist/api/resources/windows/client/requests/AsyncTypeRequest.js +5 -0
- package/dist/api/resources/windows/client/requests/OperatorPromptV1Body.d.ts +25 -0
- package/dist/api/resources/windows/client/requests/OperatorPromptV1Body.js +5 -0
- package/dist/api/resources/windows/client/requests/index.d.ts +10 -0
- package/dist/api/types/AsyncOperatorPromptResponseEnvelope.d.ts +9 -0
- package/dist/api/types/AsyncOperatorPromptResponseEnvelope.js +5 -0
- package/dist/api/types/CaptchaEventMessage.d.ts +24 -0
- package/dist/api/types/CaptchaEventMessage.js +5 -0
- package/dist/api/types/CaptchaEventMessageStatus.d.ts +12 -0
- package/dist/api/types/CaptchaEventMessageStatus.js +11 -0
- package/dist/api/types/SessionConfigV1.d.ts +2 -0
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/index.js +3 -0
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +9 -5
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +4 -2
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseCaptchaEvent.d.ts +15 -0
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseCaptchaEvent.js +46 -0
- package/dist/serialization/resources/sessions/types/index.d.ts +2 -1
- package/dist/serialization/resources/sessions/types/index.js +2 -1
- package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +20 -0
- package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.js +51 -0
- package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +19 -0
- package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js +50 -0
- package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +19 -0
- package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +50 -0
- package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +20 -0
- package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +51 -0
- package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +19 -0
- package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +50 -0
- package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +20 -0
- package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +51 -0
- package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +18 -0
- package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +49 -0
- package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +19 -0
- package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +50 -0
- package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +24 -0
- package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +55 -0
- package/dist/serialization/resources/windows/client/requests/OperatorPromptV1Body.d.ts +17 -0
- package/dist/serialization/resources/windows/client/requests/OperatorPromptV1Body.js +48 -0
- package/dist/serialization/resources/windows/client/requests/index.d.ts +10 -0
- package/dist/serialization/resources/windows/client/requests/index.js +21 -1
- package/dist/serialization/types/AsyncOperatorPromptResponseEnvelope.d.ts +15 -0
- package/dist/serialization/types/AsyncOperatorPromptResponseEnvelope.js +46 -0
- package/dist/serialization/types/CaptchaEventMessage.d.ts +21 -0
- package/dist/serialization/types/CaptchaEventMessage.js +52 -0
- package/dist/serialization/types/CaptchaEventMessageStatus.d.ts +10 -0
- package/dist/serialization/types/CaptchaEventMessageStatus.js +41 -0
- package/dist/serialization/types/SessionConfigV1.d.ts +1 -0
- package/dist/serialization/types/SessionConfigV1.js +1 -0
- package/dist/serialization/types/index.d.ts +3 -0
- package/dist/serialization/types/index.js +3 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +765 -23
- package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +9 -5
- package/serialization/resources/sessions/types/SessionsEventsResponse.js +4 -2
- package/serialization/resources/sessions/types/SessionsEventsResponseCaptchaEvent.d.ts +15 -0
- package/serialization/resources/sessions/types/SessionsEventsResponseCaptchaEvent.js +46 -0
- package/serialization/resources/sessions/types/index.d.ts +2 -1
- package/serialization/resources/sessions/types/index.js +2 -1
- package/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +20 -0
- package/serialization/resources/windows/client/requests/AsyncClickRequest.js +51 -0
- package/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +19 -0
- package/serialization/resources/windows/client/requests/AsyncHoverRequest.js +50 -0
- package/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +19 -0
- package/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +50 -0
- package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +20 -0
- package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +51 -0
- package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +19 -0
- package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +50 -0
- package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +20 -0
- package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +51 -0
- package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +18 -0
- package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +49 -0
- package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +19 -0
- package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +50 -0
- package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +24 -0
- package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +55 -0
- package/serialization/resources/windows/client/requests/OperatorPromptV1Body.d.ts +17 -0
- package/serialization/resources/windows/client/requests/OperatorPromptV1Body.js +48 -0
- package/serialization/resources/windows/client/requests/index.d.ts +10 -0
- package/serialization/resources/windows/client/requests/index.js +21 -1
- package/serialization/types/AsyncOperatorPromptResponseEnvelope.d.ts +15 -0
- package/serialization/types/AsyncOperatorPromptResponseEnvelope.js +46 -0
- package/serialization/types/CaptchaEventMessage.d.ts +21 -0
- package/serialization/types/CaptchaEventMessage.js +52 -0
- package/serialization/types/CaptchaEventMessageStatus.d.ts +10 -0
- package/serialization/types/CaptchaEventMessageStatus.js +41 -0
- package/serialization/types/SessionConfigV1.d.ts +1 -0
- package/serialization/types/SessionConfigV1.js +1 -0
- package/serialization/types/index.d.ts +3 -0
- package/serialization/types/index.js +3 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
@@ -0,0 +1,55 @@
|
|
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.AsyncTypeRequest = void 0;
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
41
|
+
const AsyncConfig_1 = require("../../../../types/AsyncConfig");
|
42
|
+
const MicroInteractionConfigWithExperimental_1 = require("../../../../types/MicroInteractionConfigWithExperimental");
|
43
|
+
exports.AsyncTypeRequest = core.serialization.object({
|
44
|
+
async: AsyncConfig_1.AsyncConfig.optional(),
|
45
|
+
clearInputField: core.serialization.boolean().optional(),
|
46
|
+
clientRequestId: core.serialization.string().optional(),
|
47
|
+
configuration: MicroInteractionConfigWithExperimental_1.MicroInteractionConfigWithExperimental.optional(),
|
48
|
+
costThresholdCredits: core.serialization.number().optional(),
|
49
|
+
elementDescription: core.serialization.string().optional(),
|
50
|
+
pressEnterKey: core.serialization.boolean().optional(),
|
51
|
+
pressTabKey: core.serialization.boolean().optional(),
|
52
|
+
text: core.serialization.string(),
|
53
|
+
timeThresholdSeconds: core.serialization.number().optional(),
|
54
|
+
waitForNavigation: core.serialization.boolean().optional(),
|
55
|
+
});
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../index";
|
5
|
+
import * as Airtop from "../../../../../api/index";
|
6
|
+
import * as core from "../../../../../core";
|
7
|
+
import { AsyncConfig } from "../../../../types/AsyncConfig";
|
8
|
+
export declare const OperatorPromptV1Body: core.serialization.Schema<serializers.OperatorPromptV1Body.Raw, Airtop.OperatorPromptV1Body>;
|
9
|
+
export declare namespace OperatorPromptV1Body {
|
10
|
+
interface Raw {
|
11
|
+
async?: AsyncConfig.Raw | null;
|
12
|
+
clientRequestId?: string | null;
|
13
|
+
costThresholdCredits?: number | null;
|
14
|
+
prompt: string;
|
15
|
+
timeThresholdSeconds?: number | null;
|
16
|
+
}
|
17
|
+
}
|
@@ -0,0 +1,48 @@
|
|
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.OperatorPromptV1Body = void 0;
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
41
|
+
const AsyncConfig_1 = require("../../../../types/AsyncConfig");
|
42
|
+
exports.OperatorPromptV1Body = core.serialization.object({
|
43
|
+
async: AsyncConfig_1.AsyncConfig.optional(),
|
44
|
+
clientRequestId: core.serialization.string().optional(),
|
45
|
+
costThresholdCredits: core.serialization.number().optional(),
|
46
|
+
prompt: core.serialization.string(),
|
47
|
+
timeThresholdSeconds: core.serialization.number().optional(),
|
48
|
+
});
|
@@ -1,7 +1,16 @@
|
|
1
|
+
export { AsyncClickRequest } from "./AsyncClickRequest";
|
1
2
|
export { AsyncCreateAutomationRequest } from "./AsyncCreateAutomationRequest";
|
2
3
|
export { AsyncCreateFormFillerRequest } from "./AsyncCreateFormFillerRequest";
|
3
4
|
export { AsyncExecuteAutomationRequest } from "./AsyncExecuteAutomationRequest";
|
4
5
|
export { AsyncFillFormRequest } from "./AsyncFillFormRequest";
|
6
|
+
export { AsyncHoverRequest } from "./AsyncHoverRequest";
|
7
|
+
export { AsyncMonitorRequest } from "./AsyncMonitorRequest";
|
8
|
+
export { AsyncPageQueryRequest } from "./AsyncPageQueryRequest";
|
9
|
+
export { AsyncPaginatedExtractionRequest } from "./AsyncPaginatedExtractionRequest";
|
10
|
+
export { AsyncPromptContentRequest } from "./AsyncPromptContentRequest";
|
11
|
+
export { AsyncScreenshotRequest } from "./AsyncScreenshotRequest";
|
12
|
+
export { AsyncSummarizeContentRequest } from "./AsyncSummarizeContentRequest";
|
13
|
+
export { AsyncTypeRequest } from "./AsyncTypeRequest";
|
5
14
|
export { CreateWindowInputV1Body } from "./CreateWindowInputV1Body";
|
6
15
|
export { WindowLoadUrlV1Body } from "./WindowLoadUrlV1Body";
|
7
16
|
export { SessionClickHandlerRequestBody } from "./SessionClickHandlerRequestBody";
|
@@ -9,6 +18,7 @@ export { CreateFormFillerRequest } from "./CreateFormFillerRequest";
|
|
9
18
|
export { FillFormRequest } from "./FillFormRequest";
|
10
19
|
export { SessionHoverHandlerRequestBody } from "./SessionHoverHandlerRequestBody";
|
11
20
|
export { SessionMonitorHandlerRequestBody } from "./SessionMonitorHandlerRequestBody";
|
21
|
+
export { OperatorPromptV1Body } from "./OperatorPromptV1Body";
|
12
22
|
export { SessionPaginatedExtractionHandlerRequestBody } from "./SessionPaginatedExtractionHandlerRequestBody";
|
13
23
|
export { ScrapeContentRequest } from "./ScrapeContentRequest";
|
14
24
|
export { SessionScreenshotHandlerRequestBody } from "./SessionScreenshotHandlerRequestBody";
|
@@ -1,6 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SessionTypeHandlerRequestBody = exports.SessionSummaryHandlerRequestBody = exports.SessionScrollHandlerRequestBody = exports.SessionScreenshotHandlerRequestBody = exports.ScrapeContentRequest = exports.SessionPaginatedExtractionHandlerRequestBody = exports.SessionMonitorHandlerRequestBody = exports.SessionHoverHandlerRequestBody = exports.FillFormRequest = exports.CreateFormFillerRequest = exports.SessionClickHandlerRequestBody = exports.WindowLoadUrlV1Body = exports.CreateWindowInputV1Body = exports.AsyncFillFormRequest = exports.AsyncExecuteAutomationRequest = exports.AsyncCreateFormFillerRequest = exports.AsyncCreateAutomationRequest = void 0;
|
3
|
+
exports.SessionTypeHandlerRequestBody = exports.SessionSummaryHandlerRequestBody = exports.SessionScrollHandlerRequestBody = exports.SessionScreenshotHandlerRequestBody = exports.ScrapeContentRequest = exports.SessionPaginatedExtractionHandlerRequestBody = exports.OperatorPromptV1Body = exports.SessionMonitorHandlerRequestBody = exports.SessionHoverHandlerRequestBody = exports.FillFormRequest = exports.CreateFormFillerRequest = exports.SessionClickHandlerRequestBody = exports.WindowLoadUrlV1Body = exports.CreateWindowInputV1Body = exports.AsyncTypeRequest = exports.AsyncSummarizeContentRequest = exports.AsyncScreenshotRequest = exports.AsyncPromptContentRequest = exports.AsyncPaginatedExtractionRequest = exports.AsyncPageQueryRequest = exports.AsyncMonitorRequest = exports.AsyncHoverRequest = exports.AsyncFillFormRequest = exports.AsyncExecuteAutomationRequest = exports.AsyncCreateFormFillerRequest = exports.AsyncCreateAutomationRequest = exports.AsyncClickRequest = void 0;
|
4
|
+
var AsyncClickRequest_1 = require("./AsyncClickRequest");
|
5
|
+
Object.defineProperty(exports, "AsyncClickRequest", { enumerable: true, get: function () { return AsyncClickRequest_1.AsyncClickRequest; } });
|
4
6
|
var AsyncCreateAutomationRequest_1 = require("./AsyncCreateAutomationRequest");
|
5
7
|
Object.defineProperty(exports, "AsyncCreateAutomationRequest", { enumerable: true, get: function () { return AsyncCreateAutomationRequest_1.AsyncCreateAutomationRequest; } });
|
6
8
|
var AsyncCreateFormFillerRequest_1 = require("./AsyncCreateFormFillerRequest");
|
@@ -9,6 +11,22 @@ var AsyncExecuteAutomationRequest_1 = require("./AsyncExecuteAutomationRequest")
|
|
9
11
|
Object.defineProperty(exports, "AsyncExecuteAutomationRequest", { enumerable: true, get: function () { return AsyncExecuteAutomationRequest_1.AsyncExecuteAutomationRequest; } });
|
10
12
|
var AsyncFillFormRequest_1 = require("./AsyncFillFormRequest");
|
11
13
|
Object.defineProperty(exports, "AsyncFillFormRequest", { enumerable: true, get: function () { return AsyncFillFormRequest_1.AsyncFillFormRequest; } });
|
14
|
+
var AsyncHoverRequest_1 = require("./AsyncHoverRequest");
|
15
|
+
Object.defineProperty(exports, "AsyncHoverRequest", { enumerable: true, get: function () { return AsyncHoverRequest_1.AsyncHoverRequest; } });
|
16
|
+
var AsyncMonitorRequest_1 = require("./AsyncMonitorRequest");
|
17
|
+
Object.defineProperty(exports, "AsyncMonitorRequest", { enumerable: true, get: function () { return AsyncMonitorRequest_1.AsyncMonitorRequest; } });
|
18
|
+
var AsyncPageQueryRequest_1 = require("./AsyncPageQueryRequest");
|
19
|
+
Object.defineProperty(exports, "AsyncPageQueryRequest", { enumerable: true, get: function () { return AsyncPageQueryRequest_1.AsyncPageQueryRequest; } });
|
20
|
+
var AsyncPaginatedExtractionRequest_1 = require("./AsyncPaginatedExtractionRequest");
|
21
|
+
Object.defineProperty(exports, "AsyncPaginatedExtractionRequest", { enumerable: true, get: function () { return AsyncPaginatedExtractionRequest_1.AsyncPaginatedExtractionRequest; } });
|
22
|
+
var AsyncPromptContentRequest_1 = require("./AsyncPromptContentRequest");
|
23
|
+
Object.defineProperty(exports, "AsyncPromptContentRequest", { enumerable: true, get: function () { return AsyncPromptContentRequest_1.AsyncPromptContentRequest; } });
|
24
|
+
var AsyncScreenshotRequest_1 = require("./AsyncScreenshotRequest");
|
25
|
+
Object.defineProperty(exports, "AsyncScreenshotRequest", { enumerable: true, get: function () { return AsyncScreenshotRequest_1.AsyncScreenshotRequest; } });
|
26
|
+
var AsyncSummarizeContentRequest_1 = require("./AsyncSummarizeContentRequest");
|
27
|
+
Object.defineProperty(exports, "AsyncSummarizeContentRequest", { enumerable: true, get: function () { return AsyncSummarizeContentRequest_1.AsyncSummarizeContentRequest; } });
|
28
|
+
var AsyncTypeRequest_1 = require("./AsyncTypeRequest");
|
29
|
+
Object.defineProperty(exports, "AsyncTypeRequest", { enumerable: true, get: function () { return AsyncTypeRequest_1.AsyncTypeRequest; } });
|
12
30
|
var CreateWindowInputV1Body_1 = require("./CreateWindowInputV1Body");
|
13
31
|
Object.defineProperty(exports, "CreateWindowInputV1Body", { enumerable: true, get: function () { return CreateWindowInputV1Body_1.CreateWindowInputV1Body; } });
|
14
32
|
var WindowLoadUrlV1Body_1 = require("./WindowLoadUrlV1Body");
|
@@ -23,6 +41,8 @@ var SessionHoverHandlerRequestBody_1 = require("./SessionHoverHandlerRequestBody
|
|
23
41
|
Object.defineProperty(exports, "SessionHoverHandlerRequestBody", { enumerable: true, get: function () { return SessionHoverHandlerRequestBody_1.SessionHoverHandlerRequestBody; } });
|
24
42
|
var SessionMonitorHandlerRequestBody_1 = require("./SessionMonitorHandlerRequestBody");
|
25
43
|
Object.defineProperty(exports, "SessionMonitorHandlerRequestBody", { enumerable: true, get: function () { return SessionMonitorHandlerRequestBody_1.SessionMonitorHandlerRequestBody; } });
|
44
|
+
var OperatorPromptV1Body_1 = require("./OperatorPromptV1Body");
|
45
|
+
Object.defineProperty(exports, "OperatorPromptV1Body", { enumerable: true, get: function () { return OperatorPromptV1Body_1.OperatorPromptV1Body; } });
|
26
46
|
var SessionPaginatedExtractionHandlerRequestBody_1 = require("./SessionPaginatedExtractionHandlerRequestBody");
|
27
47
|
Object.defineProperty(exports, "SessionPaginatedExtractionHandlerRequestBody", { enumerable: true, get: function () { return SessionPaginatedExtractionHandlerRequestBody_1.SessionPaginatedExtractionHandlerRequestBody; } });
|
28
48
|
var ScrapeContentRequest_1 = require("./ScrapeContentRequest");
|
@@ -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
|
+
import { Issue } from "./Issue";
|
8
|
+
export declare const AsyncOperatorPromptResponseEnvelope: core.serialization.ObjectSchema<serializers.AsyncOperatorPromptResponseEnvelope.Raw, Airtop.AsyncOperatorPromptResponseEnvelope>;
|
9
|
+
export declare namespace AsyncOperatorPromptResponseEnvelope {
|
10
|
+
interface Raw {
|
11
|
+
errors?: Issue.Raw[] | null;
|
12
|
+
requestId: string;
|
13
|
+
warnings?: Issue.Raw[] | null;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,46 @@
|
|
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.AsyncOperatorPromptResponseEnvelope = void 0;
|
40
|
+
const core = __importStar(require("../../core"));
|
41
|
+
const Issue_1 = require("./Issue");
|
42
|
+
exports.AsyncOperatorPromptResponseEnvelope = core.serialization.object({
|
43
|
+
errors: core.serialization.list(Issue_1.Issue).optional(),
|
44
|
+
requestId: core.serialization.string(),
|
45
|
+
warnings: core.serialization.list(Issue_1.Issue).optional(),
|
46
|
+
});
|
@@ -0,0 +1,21 @@
|
|
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 { CaptchaEventMessageStatus } from "./CaptchaEventMessageStatus";
|
8
|
+
export declare const CaptchaEventMessage: core.serialization.ObjectSchema<serializers.CaptchaEventMessage.Raw, Airtop.CaptchaEventMessage>;
|
9
|
+
export declare namespace CaptchaEventMessage {
|
10
|
+
interface Raw {
|
11
|
+
duration: number;
|
12
|
+
event: string;
|
13
|
+
eventTime: string;
|
14
|
+
id: string;
|
15
|
+
retryCount: number;
|
16
|
+
status: CaptchaEventMessageStatus.Raw;
|
17
|
+
type: string;
|
18
|
+
url: string;
|
19
|
+
windowId: string;
|
20
|
+
}
|
21
|
+
}
|
@@ -0,0 +1,52 @@
|
|
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.CaptchaEventMessage = void 0;
|
40
|
+
const core = __importStar(require("../../core"));
|
41
|
+
const CaptchaEventMessageStatus_1 = require("./CaptchaEventMessageStatus");
|
42
|
+
exports.CaptchaEventMessage = core.serialization.object({
|
43
|
+
duration: core.serialization.number(),
|
44
|
+
event: core.serialization.string(),
|
45
|
+
eventTime: core.serialization.date(),
|
46
|
+
id: core.serialization.string(),
|
47
|
+
retryCount: core.serialization.number(),
|
48
|
+
status: CaptchaEventMessageStatus_1.CaptchaEventMessageStatus,
|
49
|
+
type: core.serialization.string(),
|
50
|
+
url: core.serialization.string(),
|
51
|
+
windowId: core.serialization.string(),
|
52
|
+
});
|
@@ -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 CaptchaEventMessageStatus: core.serialization.Schema<serializers.CaptchaEventMessageStatus.Raw, Airtop.CaptchaEventMessageStatus>;
|
8
|
+
export declare namespace CaptchaEventMessageStatus {
|
9
|
+
type Raw = "processing" | "completed" | "failed";
|
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.CaptchaEventMessageStatus = void 0;
|
40
|
+
const core = __importStar(require("../../core"));
|
41
|
+
exports.CaptchaEventMessageStatus = core.serialization.enum_(["processing", "completed", "failed"]);
|
@@ -45,5 +45,6 @@ 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
|
+
solveCaptcha: core.serialization.boolean().optional(),
|
48
49
|
timeoutMinutes: core.serialization.number().optional(),
|
49
50
|
});
|
@@ -1,10 +1,13 @@
|
|
1
1
|
export * from "./AiPromptResponse";
|
2
2
|
export * from "./AiResponseEnvelope";
|
3
3
|
export * from "./AsyncConfig";
|
4
|
+
export * from "./AsyncOperatorPromptResponseEnvelope";
|
4
5
|
export * from "./AsyncSessionAiResponseEnvelope";
|
5
6
|
export * from "./AutomationOutput";
|
6
7
|
export * from "./BrowserWaitNavigationConfigWaitUntil";
|
7
8
|
export * from "./BrowserWaitNavigationConfig";
|
9
|
+
export * from "./CaptchaEventMessageStatus";
|
10
|
+
export * from "./CaptchaEventMessage";
|
8
11
|
export * from "./ClickConfigClickType";
|
9
12
|
export * from "./ClickConfig";
|
10
13
|
export * from "./ClientProvidedResponseMetadata";
|
@@ -17,10 +17,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./AiPromptResponse"), exports);
|
18
18
|
__exportStar(require("./AiResponseEnvelope"), exports);
|
19
19
|
__exportStar(require("./AsyncConfig"), exports);
|
20
|
+
__exportStar(require("./AsyncOperatorPromptResponseEnvelope"), exports);
|
20
21
|
__exportStar(require("./AsyncSessionAiResponseEnvelope"), exports);
|
21
22
|
__exportStar(require("./AutomationOutput"), exports);
|
22
23
|
__exportStar(require("./BrowserWaitNavigationConfigWaitUntil"), exports);
|
23
24
|
__exportStar(require("./BrowserWaitNavigationConfig"), exports);
|
25
|
+
__exportStar(require("./CaptchaEventMessageStatus"), exports);
|
26
|
+
__exportStar(require("./CaptchaEventMessage"), exports);
|
24
27
|
__exportStar(require("./ClickConfigClickType"), exports);
|
25
28
|
__exportStar(require("./ClickConfig"), exports);
|
26
29
|
__exportStar(require("./ClientProvidedResponseMetadata"), 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.38-beta0";
|
package/dist/version.js
CHANGED