@airtop/sdk 0.1.40-beta0 → 0.1.41
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 +10 -9
- package/api/resources/automations/client/Client.js +4 -4
- package/api/resources/files/client/Client.d.ts +11 -0
- package/api/resources/files/client/Client.js +52 -4
- package/api/resources/files/client/requests/PushFileBodyV1.d.ts +11 -0
- package/api/resources/files/client/requests/index.d.ts +1 -0
- 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/windows/client/Client.d.ts +14 -200
- package/api/resources/windows/client/Client.js +215 -1001
- package/api/resources/windows/client/requests/{AsyncClickRequest.d.ts → SessionFileInputHandlerRequestBody.d.ts} +8 -6
- package/api/resources/windows/client/requests/index.d.ts +1 -15
- package/api/types/FileEventMessage.d.ts +1 -0
- package/api/types/index.d.ts +0 -1
- package/api/types/index.js +0 -1
- package/dist/api/resources/automations/client/Client.js +4 -4
- package/dist/api/resources/files/client/Client.d.ts +11 -0
- package/dist/api/resources/files/client/Client.js +52 -4
- package/dist/api/resources/files/client/requests/PushFileBodyV1.d.ts +11 -0
- package/dist/api/resources/files/client/requests/index.d.ts +1 -0
- 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/windows/client/Client.d.ts +14 -200
- package/dist/api/resources/windows/client/Client.js +215 -1001
- package/dist/api/resources/windows/client/requests/{AsyncClickRequest.d.ts → SessionFileInputHandlerRequestBody.d.ts} +8 -6
- package/dist/api/resources/windows/client/requests/index.d.ts +1 -15
- package/dist/api/types/FileEventMessage.d.ts +1 -0
- package/dist/api/types/index.d.ts +0 -1
- package/dist/api/types/index.js +0 -1
- package/dist/serialization/resources/files/client/requests/PushFileBodyV1.d.ts +12 -0
- package/{serialization/types/AsyncOperatorPromptResponseEnvelope.js → dist/serialization/resources/files/client/requests/PushFileBodyV1.js} +4 -7
- package/dist/serialization/resources/files/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/files/client/requests/index.js +3 -1
- package/dist/serialization/resources/windows/client/requests/{AsyncHoverRequest.d.ts → SessionFileInputHandlerRequestBody.d.ts} +5 -4
- package/{serialization/resources/windows/client/requests/AsyncHoverRequest.js → dist/serialization/resources/windows/client/requests/SessionFileInputHandlerRequestBody.js} +5 -4
- package/dist/serialization/resources/windows/client/requests/index.d.ts +1 -15
- package/dist/serialization/resources/windows/client/requests/index.js +3 -31
- package/dist/serialization/types/FileEventMessage.d.ts +1 -0
- package/dist/serialization/types/FileEventMessage.js +1 -0
- package/dist/serialization/types/index.d.ts +0 -1
- package/dist/serialization/types/index.js +0 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +1 -0
- package/dist/utils/upload.d.ts +13 -0
- package/dist/utils/upload.js +55 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/AirtopClient.js +1 -1
- package/dist/wrapper/AirtopFiles.js +3 -3
- package/dist/wrapper/AirtopSessions.d.ts +24 -0
- package/dist/wrapper/AirtopSessions.js +103 -0
- package/dist/wrapper/AirtopWindows.d.ts +25 -1
- package/dist/wrapper/AirtopWindows.js +23 -1
- package/package.json +1 -1
- package/reference.md +187 -1186
- package/serialization/resources/files/client/requests/PushFileBodyV1.d.ts +12 -0
- package/{dist/serialization/types/AsyncOperatorPromptResponseEnvelope.js → serialization/resources/files/client/requests/PushFileBodyV1.js} +4 -7
- package/serialization/resources/files/client/requests/index.d.ts +1 -0
- package/serialization/resources/files/client/requests/index.js +3 -1
- package/serialization/resources/windows/client/requests/{AsyncHoverRequest.d.ts → SessionFileInputHandlerRequestBody.d.ts} +5 -4
- package/{dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js → serialization/resources/windows/client/requests/SessionFileInputHandlerRequestBody.js} +5 -4
- package/serialization/resources/windows/client/requests/index.d.ts +1 -15
- package/serialization/resources/windows/client/requests/index.js +3 -31
- package/serialization/types/FileEventMessage.d.ts +1 -0
- package/serialization/types/FileEventMessage.js +1 -0
- package/serialization/types/index.d.ts +0 -1
- package/serialization/types/index.js +0 -1
- package/utils/index.d.ts +1 -0
- package/utils/index.js +1 -0
- package/utils/upload.d.ts +13 -0
- package/utils/upload.js +55 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/AirtopClient.js +1 -1
- package/wrapper/AirtopFiles.js +3 -3
- package/wrapper/AirtopSessions.d.ts +24 -0
- package/wrapper/AirtopSessions.js +103 -0
- package/wrapper/AirtopWindows.d.ts +25 -1
- package/wrapper/AirtopWindows.js +23 -1
- package/api/resources/windows/client/requests/ActRequest.d.ts +0 -30
- package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
- package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
- package/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
- package/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
- package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
- package/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
- package/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
- package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
- package/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
- package/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
- package/api/resources/windows/client/requests/ExtractRequest.d.ts +0 -30
- package/api/resources/windows/client/requests/ExtractRequest.js +0 -5
- package/api/resources/windows/client/requests/FindManyRequest.d.ts +0 -30
- package/api/resources/windows/client/requests/FindManyRequest.js +0 -5
- package/api/resources/windows/client/requests/FindOneRequest.d.ts +0 -30
- package/api/resources/windows/client/requests/FindOneRequest.js +0 -5
- package/api/resources/windows/client/requests/LlmRequest.d.ts +0 -25
- package/api/resources/windows/client/requests/LlmRequest.js +0 -5
- package/api/resources/windows/client/requests/OperatorPromptV1Body.d.ts +0 -25
- package/api/resources/windows/client/requests/OperatorPromptV1Body.js +0 -5
- package/api/types/AsyncOperatorPromptResponseEnvelope.d.ts +0 -9
- package/api/types/AsyncOperatorPromptResponseEnvelope.js +0 -5
- package/dist/api/resources/windows/client/requests/ActRequest.d.ts +0 -30
- package/dist/api/resources/windows/client/requests/ActRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncClickRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
- package/dist/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
- package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
- package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
- package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
- package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
- package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
- package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
- package/dist/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/ExtractRequest.d.ts +0 -30
- package/dist/api/resources/windows/client/requests/ExtractRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/FindManyRequest.d.ts +0 -30
- package/dist/api/resources/windows/client/requests/FindManyRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/FindOneRequest.d.ts +0 -30
- package/dist/api/resources/windows/client/requests/FindOneRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/LlmRequest.d.ts +0 -25
- package/dist/api/resources/windows/client/requests/LlmRequest.js +0 -5
- package/dist/api/resources/windows/client/requests/OperatorPromptV1Body.d.ts +0 -25
- package/dist/api/resources/windows/client/requests/OperatorPromptV1Body.js +0 -5
- package/dist/api/types/AsyncOperatorPromptResponseEnvelope.d.ts +0 -9
- package/dist/api/types/AsyncOperatorPromptResponseEnvelope.js +0 -5
- package/dist/serialization/resources/windows/client/requests/ActRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/ActRequest.js +0 -50
- package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
- package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -51
- package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -50
- package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
- package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
- package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -50
- package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
- package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
- package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
- package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -49
- package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -50
- package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
- package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
- package/dist/serialization/resources/windows/client/requests/ExtractRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/ExtractRequest.js +0 -50
- package/dist/serialization/resources/windows/client/requests/FindManyRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/FindManyRequest.js +0 -50
- package/dist/serialization/resources/windows/client/requests/FindOneRequest.d.ts +0 -19
- package/dist/serialization/resources/windows/client/requests/FindOneRequest.js +0 -50
- package/dist/serialization/resources/windows/client/requests/LlmRequest.d.ts +0 -17
- package/dist/serialization/resources/windows/client/requests/LlmRequest.js +0 -48
- package/dist/serialization/resources/windows/client/requests/OperatorPromptV1Body.d.ts +0 -17
- package/dist/serialization/resources/windows/client/requests/OperatorPromptV1Body.js +0 -48
- package/dist/serialization/types/AsyncOperatorPromptResponseEnvelope.d.ts +0 -15
- package/serialization/resources/windows/client/requests/ActRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/ActRequest.js +0 -50
- package/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
- package/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -51
- package/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -50
- package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
- package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
- package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -50
- package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
- package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
- package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
- package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -49
- package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -50
- package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
- package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
- package/serialization/resources/windows/client/requests/ExtractRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/ExtractRequest.js +0 -50
- package/serialization/resources/windows/client/requests/FindManyRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/FindManyRequest.js +0 -50
- package/serialization/resources/windows/client/requests/FindOneRequest.d.ts +0 -19
- package/serialization/resources/windows/client/requests/FindOneRequest.js +0 -50
- package/serialization/resources/windows/client/requests/LlmRequest.d.ts +0 -17
- package/serialization/resources/windows/client/requests/LlmRequest.js +0 -48
- package/serialization/resources/windows/client/requests/OperatorPromptV1Body.d.ts +0 -17
- package/serialization/resources/windows/client/requests/OperatorPromptV1Body.js +0 -48
- package/serialization/types/AsyncOperatorPromptResponseEnvelope.d.ts +0 -15
- /package/api/resources/{windows/client/requests/ActRequest.js → files/client/requests/PushFileBodyV1.js} +0 -0
- /package/api/resources/windows/client/requests/{AsyncClickRequest.js → SessionFileInputHandlerRequestBody.js} +0 -0
- /package/{api/resources/windows/client/requests/AsyncHoverRequest.js → dist/api/resources/files/client/requests/PushFileBodyV1.js} +0 -0
- /package/{api/resources/windows/client/requests/AsyncMonitorRequest.js → dist/api/resources/windows/client/requests/SessionFileInputHandlerRequestBody.js} +0 -0
@@ -1,24 +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 { AsyncConfig } from "../../../../types/AsyncConfig";
|
8
|
-
import { MicroInteractionConfigWithExperimental } from "../../../../types/MicroInteractionConfigWithExperimental";
|
9
|
-
export declare const AsyncTypeRequest: core.serialization.Schema<serializers.AsyncTypeRequest.Raw, Airtop.AsyncTypeRequest>;
|
10
|
-
export declare namespace AsyncTypeRequest {
|
11
|
-
interface Raw {
|
12
|
-
async?: AsyncConfig.Raw | null;
|
13
|
-
clearInputField?: boolean | null;
|
14
|
-
clientRequestId?: string | null;
|
15
|
-
configuration?: MicroInteractionConfigWithExperimental.Raw | null;
|
16
|
-
costThresholdCredits?: number | null;
|
17
|
-
elementDescription?: string | null;
|
18
|
-
pressEnterKey?: boolean | null;
|
19
|
-
pressTabKey?: boolean | null;
|
20
|
-
text: string;
|
21
|
-
timeThresholdSeconds?: number | null;
|
22
|
-
waitForNavigation?: boolean | null;
|
23
|
-
}
|
24
|
-
}
|
@@ -1,55 +0,0 @@
|
|
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
|
-
});
|
@@ -1,19 +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 { AsyncConfig } from "../../../../types/AsyncConfig";
|
8
|
-
export declare const ExtractRequest: core.serialization.Schema<serializers.ExtractRequest.Raw, Airtop.ExtractRequest>;
|
9
|
-
export declare namespace ExtractRequest {
|
10
|
-
interface Raw {
|
11
|
-
async?: AsyncConfig.Raw | null;
|
12
|
-
clientRequestId?: string | null;
|
13
|
-
costThresholdCredits?: number | null;
|
14
|
-
jobId: string;
|
15
|
-
nodeHandleId?: string | null;
|
16
|
-
prompt: string;
|
17
|
-
timeThresholdSeconds?: number | null;
|
18
|
-
}
|
19
|
-
}
|
@@ -1,50 +0,0 @@
|
|
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.ExtractRequest = void 0;
|
40
|
-
const core = __importStar(require("../../../../../core"));
|
41
|
-
const AsyncConfig_1 = require("../../../../types/AsyncConfig");
|
42
|
-
exports.ExtractRequest = core.serialization.object({
|
43
|
-
async: AsyncConfig_1.AsyncConfig.optional(),
|
44
|
-
clientRequestId: core.serialization.string().optional(),
|
45
|
-
costThresholdCredits: core.serialization.number().optional(),
|
46
|
-
jobId: core.serialization.string(),
|
47
|
-
nodeHandleId: core.serialization.string().optional(),
|
48
|
-
prompt: core.serialization.string(),
|
49
|
-
timeThresholdSeconds: core.serialization.number().optional(),
|
50
|
-
});
|
@@ -1,19 +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 { AsyncConfig } from "../../../../types/AsyncConfig";
|
8
|
-
export declare const FindManyRequest: core.serialization.Schema<serializers.FindManyRequest.Raw, Airtop.FindManyRequest>;
|
9
|
-
export declare namespace FindManyRequest {
|
10
|
-
interface Raw {
|
11
|
-
async?: AsyncConfig.Raw | null;
|
12
|
-
clientRequestId?: string | null;
|
13
|
-
costThresholdCredits?: number | null;
|
14
|
-
jobId: string;
|
15
|
-
nodeHandleId?: string | null;
|
16
|
-
prompt: string;
|
17
|
-
timeThresholdSeconds?: number | null;
|
18
|
-
}
|
19
|
-
}
|
@@ -1,50 +0,0 @@
|
|
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.FindManyRequest = void 0;
|
40
|
-
const core = __importStar(require("../../../../../core"));
|
41
|
-
const AsyncConfig_1 = require("../../../../types/AsyncConfig");
|
42
|
-
exports.FindManyRequest = core.serialization.object({
|
43
|
-
async: AsyncConfig_1.AsyncConfig.optional(),
|
44
|
-
clientRequestId: core.serialization.string().optional(),
|
45
|
-
costThresholdCredits: core.serialization.number().optional(),
|
46
|
-
jobId: core.serialization.string(),
|
47
|
-
nodeHandleId: core.serialization.string().optional(),
|
48
|
-
prompt: core.serialization.string(),
|
49
|
-
timeThresholdSeconds: core.serialization.number().optional(),
|
50
|
-
});
|
@@ -1,19 +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 { AsyncConfig } from "../../../../types/AsyncConfig";
|
8
|
-
export declare const FindOneRequest: core.serialization.Schema<serializers.FindOneRequest.Raw, Airtop.FindOneRequest>;
|
9
|
-
export declare namespace FindOneRequest {
|
10
|
-
interface Raw {
|
11
|
-
async?: AsyncConfig.Raw | null;
|
12
|
-
clientRequestId?: string | null;
|
13
|
-
costThresholdCredits?: number | null;
|
14
|
-
jobId: string;
|
15
|
-
nodeHandleId?: string | null;
|
16
|
-
prompt: string;
|
17
|
-
timeThresholdSeconds?: number | null;
|
18
|
-
}
|
19
|
-
}
|
@@ -1,50 +0,0 @@
|
|
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.FindOneRequest = void 0;
|
40
|
-
const core = __importStar(require("../../../../../core"));
|
41
|
-
const AsyncConfig_1 = require("../../../../types/AsyncConfig");
|
42
|
-
exports.FindOneRequest = core.serialization.object({
|
43
|
-
async: AsyncConfig_1.AsyncConfig.optional(),
|
44
|
-
clientRequestId: core.serialization.string().optional(),
|
45
|
-
costThresholdCredits: core.serialization.number().optional(),
|
46
|
-
jobId: core.serialization.string(),
|
47
|
-
nodeHandleId: core.serialization.string().optional(),
|
48
|
-
prompt: core.serialization.string(),
|
49
|
-
timeThresholdSeconds: core.serialization.number().optional(),
|
50
|
-
});
|
@@ -1,17 +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 { AsyncConfig } from "../../../../types/AsyncConfig";
|
8
|
-
export declare const LlmRequest: core.serialization.Schema<serializers.LlmRequest.Raw, Airtop.LlmRequest>;
|
9
|
-
export declare namespace LlmRequest {
|
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
|
-
}
|
@@ -1,48 +0,0 @@
|
|
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.LlmRequest = void 0;
|
40
|
-
const core = __importStar(require("../../../../../core"));
|
41
|
-
const AsyncConfig_1 = require("../../../../types/AsyncConfig");
|
42
|
-
exports.LlmRequest = 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,17 +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 { 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
|
-
}
|
@@ -1,48 +0,0 @@
|
|
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,15 +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 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
|
-
}
|
File without changes
|
File without changes
|
File without changes
|