@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
@@ -4,17 +4,15 @@
|
|
4
4
|
import * as serializers from "../../../index";
|
5
5
|
import * as Airtop from "../../../../api/index";
|
6
6
|
import * as core from "../../../../core";
|
7
|
-
import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
|
8
7
|
import { SessionsEventsResponseError } from "./SessionsEventsResponseError";
|
9
8
|
import { SessionsEventsResponseWindowEvent } from "./SessionsEventsResponseWindowEvent";
|
10
9
|
import { SessionsEventsResponseSessionEvent } from "./SessionsEventsResponseSessionEvent";
|
11
10
|
import { SessionsEventsResponseFileEvent } from "./SessionsEventsResponseFileEvent";
|
11
|
+
import { SessionsEventsResponseCaptchaEvent } from "./SessionsEventsResponseCaptchaEvent";
|
12
|
+
import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
|
12
13
|
export declare const SessionsEventsResponse: core.serialization.Schema<serializers.SessionsEventsResponse.Raw, Airtop.SessionsEventsResponse>;
|
13
14
|
export declare namespace SessionsEventsResponse {
|
14
|
-
type Raw = SessionsEventsResponse.
|
15
|
-
interface Status extends SessionsEventsResponseStatus.Raw {
|
16
|
-
event: "status";
|
17
|
-
}
|
15
|
+
type Raw = SessionsEventsResponse.Error | SessionsEventsResponse.WindowEvent | SessionsEventsResponse.SessionEvent | SessionsEventsResponse.FileEvent | SessionsEventsResponse.CaptchaEvent | SessionsEventsResponse.Status;
|
18
16
|
interface Error extends SessionsEventsResponseError.Raw {
|
19
17
|
event: "error";
|
20
18
|
}
|
@@ -27,4 +25,10 @@ export declare namespace SessionsEventsResponse {
|
|
27
25
|
interface FileEvent extends SessionsEventsResponseFileEvent.Raw {
|
28
26
|
event: "fileEvent";
|
29
27
|
}
|
28
|
+
interface CaptchaEvent extends SessionsEventsResponseCaptchaEvent.Raw {
|
29
|
+
event: "captchaEvent";
|
30
|
+
}
|
31
|
+
interface Status extends SessionsEventsResponseStatus.Raw {
|
32
|
+
event: "status";
|
33
|
+
}
|
30
34
|
}
|
@@ -38,18 +38,20 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
39
39
|
exports.SessionsEventsResponse = void 0;
|
40
40
|
const core = __importStar(require("../../../../core"));
|
41
|
-
const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
|
42
41
|
const SessionsEventsResponseError_1 = require("./SessionsEventsResponseError");
|
43
42
|
const SessionsEventsResponseWindowEvent_1 = require("./SessionsEventsResponseWindowEvent");
|
44
43
|
const SessionsEventsResponseSessionEvent_1 = require("./SessionsEventsResponseSessionEvent");
|
45
44
|
const SessionsEventsResponseFileEvent_1 = require("./SessionsEventsResponseFileEvent");
|
45
|
+
const SessionsEventsResponseCaptchaEvent_1 = require("./SessionsEventsResponseCaptchaEvent");
|
46
|
+
const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
|
46
47
|
exports.SessionsEventsResponse = core.serialization
|
47
48
|
.union("event", {
|
48
|
-
status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
|
49
49
|
error: SessionsEventsResponseError_1.SessionsEventsResponseError,
|
50
50
|
windowEvent: SessionsEventsResponseWindowEvent_1.SessionsEventsResponseWindowEvent,
|
51
51
|
sessionEvent: SessionsEventsResponseSessionEvent_1.SessionsEventsResponseSessionEvent,
|
52
52
|
fileEvent: SessionsEventsResponseFileEvent_1.SessionsEventsResponseFileEvent,
|
53
|
+
captchaEvent: SessionsEventsResponseCaptchaEvent_1.SessionsEventsResponseCaptchaEvent,
|
54
|
+
status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
|
53
55
|
})
|
54
56
|
.transform({
|
55
57
|
transform: (value) => value,
|
@@ -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 { CaptchaEventMessage } from "../../../types/CaptchaEventMessage";
|
8
|
+
export declare const SessionsEventsResponseCaptchaEvent: core.serialization.ObjectSchema<serializers.SessionsEventsResponseCaptchaEvent.Raw, Airtop.SessionsEventsResponseCaptchaEvent>;
|
9
|
+
export declare namespace SessionsEventsResponseCaptchaEvent {
|
10
|
+
interface Raw {
|
11
|
+
data: CaptchaEventMessage.Raw;
|
12
|
+
id?: number | null;
|
13
|
+
retry?: number | 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.SessionsEventsResponseCaptchaEvent = void 0;
|
40
|
+
const core = __importStar(require("../../../../core"));
|
41
|
+
const CaptchaEventMessage_1 = require("../../../types/CaptchaEventMessage");
|
42
|
+
exports.SessionsEventsResponseCaptchaEvent = core.serialization.object({
|
43
|
+
data: CaptchaEventMessage_1.CaptchaEventMessage,
|
44
|
+
id: core.serialization.number().optional(),
|
45
|
+
retry: core.serialization.number().optional(),
|
46
|
+
});
|
@@ -1,7 +1,8 @@
|
|
1
1
|
export * from "./SessionsListRequestStatus";
|
2
|
-
export * from "./SessionsEventsResponseStatus";
|
3
2
|
export * from "./SessionsEventsResponseError";
|
4
3
|
export * from "./SessionsEventsResponseWindowEvent";
|
5
4
|
export * from "./SessionsEventsResponseSessionEvent";
|
6
5
|
export * from "./SessionsEventsResponseFileEvent";
|
6
|
+
export * from "./SessionsEventsResponseCaptchaEvent";
|
7
|
+
export * from "./SessionsEventsResponseStatus";
|
7
8
|
export * from "./SessionsEventsResponse";
|
@@ -15,9 +15,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./SessionsListRequestStatus"), exports);
|
18
|
-
__exportStar(require("./SessionsEventsResponseStatus"), exports);
|
19
18
|
__exportStar(require("./SessionsEventsResponseError"), exports);
|
20
19
|
__exportStar(require("./SessionsEventsResponseWindowEvent"), exports);
|
21
20
|
__exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
|
22
21
|
__exportStar(require("./SessionsEventsResponseFileEvent"), exports);
|
22
|
+
__exportStar(require("./SessionsEventsResponseCaptchaEvent"), exports);
|
23
|
+
__exportStar(require("./SessionsEventsResponseStatus"), exports);
|
23
24
|
__exportStar(require("./SessionsEventsResponse"), exports);
|
@@ -0,0 +1,20 @@
|
|
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
|
+
import { ClickConfig } from "../../../../types/ClickConfig";
|
9
|
+
export declare const AsyncClickRequest: core.serialization.Schema<serializers.AsyncClickRequest.Raw, Airtop.AsyncClickRequest>;
|
10
|
+
export declare namespace AsyncClickRequest {
|
11
|
+
interface Raw {
|
12
|
+
async?: AsyncConfig.Raw | null;
|
13
|
+
clientRequestId?: string | null;
|
14
|
+
configuration?: ClickConfig.Raw | null;
|
15
|
+
costThresholdCredits?: number | null;
|
16
|
+
elementDescription: string;
|
17
|
+
timeThresholdSeconds?: number | null;
|
18
|
+
waitForNavigation?: boolean | null;
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,51 @@
|
|
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.AsyncClickRequest = void 0;
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
41
|
+
const AsyncConfig_1 = require("../../../../types/AsyncConfig");
|
42
|
+
const ClickConfig_1 = require("../../../../types/ClickConfig");
|
43
|
+
exports.AsyncClickRequest = core.serialization.object({
|
44
|
+
async: AsyncConfig_1.AsyncConfig.optional(),
|
45
|
+
clientRequestId: core.serialization.string().optional(),
|
46
|
+
configuration: ClickConfig_1.ClickConfig.optional(),
|
47
|
+
costThresholdCredits: core.serialization.number().optional(),
|
48
|
+
elementDescription: core.serialization.string(),
|
49
|
+
timeThresholdSeconds: core.serialization.number().optional(),
|
50
|
+
waitForNavigation: core.serialization.boolean().optional(),
|
51
|
+
});
|
@@ -0,0 +1,19 @@
|
|
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
|
+
import { MicroInteractionConfigWithExperimental } from "../../../../types/MicroInteractionConfigWithExperimental";
|
9
|
+
export declare const AsyncHoverRequest: core.serialization.Schema<serializers.AsyncHoverRequest.Raw, Airtop.AsyncHoverRequest>;
|
10
|
+
export declare namespace AsyncHoverRequest {
|
11
|
+
interface Raw {
|
12
|
+
async?: AsyncConfig.Raw | null;
|
13
|
+
clientRequestId?: string | null;
|
14
|
+
configuration?: MicroInteractionConfigWithExperimental.Raw | null;
|
15
|
+
costThresholdCredits?: number | null;
|
16
|
+
elementDescription: string;
|
17
|
+
timeThresholdSeconds?: number | null;
|
18
|
+
}
|
19
|
+
}
|
@@ -0,0 +1,50 @@
|
|
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.AsyncHoverRequest = void 0;
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
41
|
+
const AsyncConfig_1 = require("../../../../types/AsyncConfig");
|
42
|
+
const MicroInteractionConfigWithExperimental_1 = require("../../../../types/MicroInteractionConfigWithExperimental");
|
43
|
+
exports.AsyncHoverRequest = core.serialization.object({
|
44
|
+
async: AsyncConfig_1.AsyncConfig.optional(),
|
45
|
+
clientRequestId: core.serialization.string().optional(),
|
46
|
+
configuration: MicroInteractionConfigWithExperimental_1.MicroInteractionConfigWithExperimental.optional(),
|
47
|
+
costThresholdCredits: core.serialization.number().optional(),
|
48
|
+
elementDescription: core.serialization.string(),
|
49
|
+
timeThresholdSeconds: core.serialization.number().optional(),
|
50
|
+
});
|
@@ -0,0 +1,19 @@
|
|
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
|
+
import { MonitorConfig } from "../../../../types/MonitorConfig";
|
9
|
+
export declare const AsyncMonitorRequest: core.serialization.Schema<serializers.AsyncMonitorRequest.Raw, Airtop.AsyncMonitorRequest>;
|
10
|
+
export declare namespace AsyncMonitorRequest {
|
11
|
+
interface Raw {
|
12
|
+
async?: AsyncConfig.Raw | null;
|
13
|
+
clientRequestId?: string | null;
|
14
|
+
condition: string;
|
15
|
+
configuration?: MonitorConfig.Raw | null;
|
16
|
+
costThresholdCredits?: number | null;
|
17
|
+
timeThresholdSeconds?: number | null;
|
18
|
+
}
|
19
|
+
}
|
@@ -0,0 +1,50 @@
|
|
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.AsyncMonitorRequest = void 0;
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
41
|
+
const AsyncConfig_1 = require("../../../../types/AsyncConfig");
|
42
|
+
const MonitorConfig_1 = require("../../../../types/MonitorConfig");
|
43
|
+
exports.AsyncMonitorRequest = core.serialization.object({
|
44
|
+
async: AsyncConfig_1.AsyncConfig.optional(),
|
45
|
+
clientRequestId: core.serialization.string().optional(),
|
46
|
+
condition: core.serialization.string(),
|
47
|
+
configuration: MonitorConfig_1.MonitorConfig.optional(),
|
48
|
+
costThresholdCredits: core.serialization.number().optional(),
|
49
|
+
timeThresholdSeconds: core.serialization.number().optional(),
|
50
|
+
});
|
@@ -0,0 +1,20 @@
|
|
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
|
+
import { PageQueryConfig } from "../../../../types/PageQueryConfig";
|
9
|
+
export declare const AsyncPageQueryRequest: core.serialization.Schema<serializers.AsyncPageQueryRequest.Raw, Airtop.AsyncPageQueryRequest>;
|
10
|
+
export declare namespace AsyncPageQueryRequest {
|
11
|
+
interface Raw {
|
12
|
+
async?: AsyncConfig.Raw | null;
|
13
|
+
clientRequestId?: string | null;
|
14
|
+
configuration?: PageQueryConfig.Raw | null;
|
15
|
+
costThresholdCredits?: number | null;
|
16
|
+
followPaginationLinks?: boolean | null;
|
17
|
+
prompt: string;
|
18
|
+
timeThresholdSeconds?: number | null;
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,51 @@
|
|
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.AsyncPageQueryRequest = void 0;
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
41
|
+
const AsyncConfig_1 = require("../../../../types/AsyncConfig");
|
42
|
+
const PageQueryConfig_1 = require("../../../../types/PageQueryConfig");
|
43
|
+
exports.AsyncPageQueryRequest = core.serialization.object({
|
44
|
+
async: AsyncConfig_1.AsyncConfig.optional(),
|
45
|
+
clientRequestId: core.serialization.string().optional(),
|
46
|
+
configuration: PageQueryConfig_1.PageQueryConfig.optional(),
|
47
|
+
costThresholdCredits: core.serialization.number().optional(),
|
48
|
+
followPaginationLinks: core.serialization.boolean().optional(),
|
49
|
+
prompt: core.serialization.string(),
|
50
|
+
timeThresholdSeconds: core.serialization.number().optional(),
|
51
|
+
});
|
@@ -0,0 +1,19 @@
|
|
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
|
+
import { PaginatedExtractionConfig } from "../../../../types/PaginatedExtractionConfig";
|
9
|
+
export declare const AsyncPaginatedExtractionRequest: core.serialization.Schema<serializers.AsyncPaginatedExtractionRequest.Raw, Airtop.AsyncPaginatedExtractionRequest>;
|
10
|
+
export declare namespace AsyncPaginatedExtractionRequest {
|
11
|
+
interface Raw {
|
12
|
+
async?: AsyncConfig.Raw | null;
|
13
|
+
clientRequestId?: string | null;
|
14
|
+
configuration?: PaginatedExtractionConfig.Raw | null;
|
15
|
+
costThresholdCredits?: number | null;
|
16
|
+
prompt: string;
|
17
|
+
timeThresholdSeconds?: number | null;
|
18
|
+
}
|
19
|
+
}
|
@@ -0,0 +1,50 @@
|
|
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.AsyncPaginatedExtractionRequest = void 0;
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
41
|
+
const AsyncConfig_1 = require("../../../../types/AsyncConfig");
|
42
|
+
const PaginatedExtractionConfig_1 = require("../../../../types/PaginatedExtractionConfig");
|
43
|
+
exports.AsyncPaginatedExtractionRequest = core.serialization.object({
|
44
|
+
async: AsyncConfig_1.AsyncConfig.optional(),
|
45
|
+
clientRequestId: core.serialization.string().optional(),
|
46
|
+
configuration: PaginatedExtractionConfig_1.PaginatedExtractionConfig.optional(),
|
47
|
+
costThresholdCredits: core.serialization.number().optional(),
|
48
|
+
prompt: core.serialization.string(),
|
49
|
+
timeThresholdSeconds: core.serialization.number().optional(),
|
50
|
+
});
|
@@ -0,0 +1,20 @@
|
|
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
|
+
import { PageQueryConfig } from "../../../../types/PageQueryConfig";
|
9
|
+
export declare const AsyncPromptContentRequest: core.serialization.Schema<serializers.AsyncPromptContentRequest.Raw, Airtop.AsyncPromptContentRequest>;
|
10
|
+
export declare namespace AsyncPromptContentRequest {
|
11
|
+
interface Raw {
|
12
|
+
async?: AsyncConfig.Raw | null;
|
13
|
+
clientRequestId?: string | null;
|
14
|
+
configuration?: PageQueryConfig.Raw | null;
|
15
|
+
costThresholdCredits?: number | null;
|
16
|
+
followPaginationLinks?: boolean | null;
|
17
|
+
prompt: string;
|
18
|
+
timeThresholdSeconds?: number | null;
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,51 @@
|
|
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.AsyncPromptContentRequest = void 0;
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
41
|
+
const AsyncConfig_1 = require("../../../../types/AsyncConfig");
|
42
|
+
const PageQueryConfig_1 = require("../../../../types/PageQueryConfig");
|
43
|
+
exports.AsyncPromptContentRequest = core.serialization.object({
|
44
|
+
async: AsyncConfig_1.AsyncConfig.optional(),
|
45
|
+
clientRequestId: core.serialization.string().optional(),
|
46
|
+
configuration: PageQueryConfig_1.PageQueryConfig.optional(),
|
47
|
+
costThresholdCredits: core.serialization.number().optional(),
|
48
|
+
followPaginationLinks: core.serialization.boolean().optional(),
|
49
|
+
prompt: core.serialization.string(),
|
50
|
+
timeThresholdSeconds: core.serialization.number().optional(),
|
51
|
+
});
|
@@ -0,0 +1,18 @@
|
|
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
|
+
import { ScreenshotRequestConfig } from "../../../../types/ScreenshotRequestConfig";
|
9
|
+
export declare const AsyncScreenshotRequest: core.serialization.Schema<serializers.AsyncScreenshotRequest.Raw, Airtop.AsyncScreenshotRequest>;
|
10
|
+
export declare namespace AsyncScreenshotRequest {
|
11
|
+
interface Raw {
|
12
|
+
async?: AsyncConfig.Raw | null;
|
13
|
+
clientRequestId?: string | null;
|
14
|
+
configuration?: ScreenshotRequestConfig.Raw | null;
|
15
|
+
costThresholdCredits?: number | null;
|
16
|
+
timeThresholdSeconds?: number | null;
|
17
|
+
}
|
18
|
+
}
|
@@ -0,0 +1,49 @@
|
|
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.AsyncScreenshotRequest = void 0;
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
41
|
+
const AsyncConfig_1 = require("../../../../types/AsyncConfig");
|
42
|
+
const ScreenshotRequestConfig_1 = require("../../../../types/ScreenshotRequestConfig");
|
43
|
+
exports.AsyncScreenshotRequest = core.serialization.object({
|
44
|
+
async: AsyncConfig_1.AsyncConfig.optional(),
|
45
|
+
clientRequestId: core.serialization.string().optional(),
|
46
|
+
configuration: ScreenshotRequestConfig_1.ScreenshotRequestConfig.optional(),
|
47
|
+
costThresholdCredits: core.serialization.number().optional(),
|
48
|
+
timeThresholdSeconds: core.serialization.number().optional(),
|
49
|
+
});
|