@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.
Files changed (201) hide show
  1. package/README.md +10 -9
  2. package/api/resources/automations/client/Client.js +4 -4
  3. package/api/resources/files/client/Client.d.ts +11 -0
  4. package/api/resources/files/client/Client.js +52 -4
  5. package/api/resources/files/client/requests/PushFileBodyV1.d.ts +11 -0
  6. package/api/resources/files/client/requests/index.d.ts +1 -0
  7. package/api/resources/profiles/client/Client.js +1 -1
  8. package/api/resources/requests/client/Client.js +1 -1
  9. package/api/resources/sessions/client/Client.js +6 -6
  10. package/api/resources/windows/client/Client.d.ts +14 -200
  11. package/api/resources/windows/client/Client.js +215 -1001
  12. package/api/resources/windows/client/requests/{AsyncClickRequest.d.ts → SessionFileInputHandlerRequestBody.d.ts} +8 -6
  13. package/api/resources/windows/client/requests/index.d.ts +1 -15
  14. package/api/types/FileEventMessage.d.ts +1 -0
  15. package/api/types/index.d.ts +0 -1
  16. package/api/types/index.js +0 -1
  17. package/dist/api/resources/automations/client/Client.js +4 -4
  18. package/dist/api/resources/files/client/Client.d.ts +11 -0
  19. package/dist/api/resources/files/client/Client.js +52 -4
  20. package/dist/api/resources/files/client/requests/PushFileBodyV1.d.ts +11 -0
  21. package/dist/api/resources/files/client/requests/index.d.ts +1 -0
  22. package/dist/api/resources/profiles/client/Client.js +1 -1
  23. package/dist/api/resources/requests/client/Client.js +1 -1
  24. package/dist/api/resources/sessions/client/Client.js +6 -6
  25. package/dist/api/resources/windows/client/Client.d.ts +14 -200
  26. package/dist/api/resources/windows/client/Client.js +215 -1001
  27. package/dist/api/resources/windows/client/requests/{AsyncClickRequest.d.ts → SessionFileInputHandlerRequestBody.d.ts} +8 -6
  28. package/dist/api/resources/windows/client/requests/index.d.ts +1 -15
  29. package/dist/api/types/FileEventMessage.d.ts +1 -0
  30. package/dist/api/types/index.d.ts +0 -1
  31. package/dist/api/types/index.js +0 -1
  32. package/dist/serialization/resources/files/client/requests/PushFileBodyV1.d.ts +12 -0
  33. package/{serialization/types/AsyncOperatorPromptResponseEnvelope.js → dist/serialization/resources/files/client/requests/PushFileBodyV1.js} +4 -7
  34. package/dist/serialization/resources/files/client/requests/index.d.ts +1 -0
  35. package/dist/serialization/resources/files/client/requests/index.js +3 -1
  36. package/dist/serialization/resources/windows/client/requests/{AsyncHoverRequest.d.ts → SessionFileInputHandlerRequestBody.d.ts} +5 -4
  37. package/{serialization/resources/windows/client/requests/AsyncHoverRequest.js → dist/serialization/resources/windows/client/requests/SessionFileInputHandlerRequestBody.js} +5 -4
  38. package/dist/serialization/resources/windows/client/requests/index.d.ts +1 -15
  39. package/dist/serialization/resources/windows/client/requests/index.js +3 -31
  40. package/dist/serialization/types/FileEventMessage.d.ts +1 -0
  41. package/dist/serialization/types/FileEventMessage.js +1 -0
  42. package/dist/serialization/types/index.d.ts +0 -1
  43. package/dist/serialization/types/index.js +0 -1
  44. package/dist/utils/index.d.ts +1 -0
  45. package/dist/utils/index.js +1 -0
  46. package/dist/utils/upload.d.ts +13 -0
  47. package/dist/utils/upload.js +55 -0
  48. package/dist/version.d.ts +1 -1
  49. package/dist/version.js +1 -1
  50. package/dist/wrapper/AirtopClient.js +1 -1
  51. package/dist/wrapper/AirtopFiles.js +3 -3
  52. package/dist/wrapper/AirtopSessions.d.ts +24 -0
  53. package/dist/wrapper/AirtopSessions.js +103 -0
  54. package/dist/wrapper/AirtopWindows.d.ts +25 -1
  55. package/dist/wrapper/AirtopWindows.js +23 -1
  56. package/package.json +1 -1
  57. package/reference.md +187 -1186
  58. package/serialization/resources/files/client/requests/PushFileBodyV1.d.ts +12 -0
  59. package/{dist/serialization/types/AsyncOperatorPromptResponseEnvelope.js → serialization/resources/files/client/requests/PushFileBodyV1.js} +4 -7
  60. package/serialization/resources/files/client/requests/index.d.ts +1 -0
  61. package/serialization/resources/files/client/requests/index.js +3 -1
  62. package/serialization/resources/windows/client/requests/{AsyncHoverRequest.d.ts → SessionFileInputHandlerRequestBody.d.ts} +5 -4
  63. package/{dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js → serialization/resources/windows/client/requests/SessionFileInputHandlerRequestBody.js} +5 -4
  64. package/serialization/resources/windows/client/requests/index.d.ts +1 -15
  65. package/serialization/resources/windows/client/requests/index.js +3 -31
  66. package/serialization/types/FileEventMessage.d.ts +1 -0
  67. package/serialization/types/FileEventMessage.js +1 -0
  68. package/serialization/types/index.d.ts +0 -1
  69. package/serialization/types/index.js +0 -1
  70. package/utils/index.d.ts +1 -0
  71. package/utils/index.js +1 -0
  72. package/utils/upload.d.ts +13 -0
  73. package/utils/upload.js +55 -0
  74. package/version.d.ts +1 -1
  75. package/version.js +1 -1
  76. package/wrapper/AirtopClient.js +1 -1
  77. package/wrapper/AirtopFiles.js +3 -3
  78. package/wrapper/AirtopSessions.d.ts +24 -0
  79. package/wrapper/AirtopSessions.js +103 -0
  80. package/wrapper/AirtopWindows.d.ts +25 -1
  81. package/wrapper/AirtopWindows.js +23 -1
  82. package/api/resources/windows/client/requests/ActRequest.d.ts +0 -30
  83. package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
  84. package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
  85. package/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
  86. package/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
  87. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
  88. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
  89. package/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
  90. package/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
  91. package/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
  92. package/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
  93. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
  94. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
  95. package/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
  96. package/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
  97. package/api/resources/windows/client/requests/ExtractRequest.d.ts +0 -30
  98. package/api/resources/windows/client/requests/ExtractRequest.js +0 -5
  99. package/api/resources/windows/client/requests/FindManyRequest.d.ts +0 -30
  100. package/api/resources/windows/client/requests/FindManyRequest.js +0 -5
  101. package/api/resources/windows/client/requests/FindOneRequest.d.ts +0 -30
  102. package/api/resources/windows/client/requests/FindOneRequest.js +0 -5
  103. package/api/resources/windows/client/requests/LlmRequest.d.ts +0 -25
  104. package/api/resources/windows/client/requests/LlmRequest.js +0 -5
  105. package/api/resources/windows/client/requests/OperatorPromptV1Body.d.ts +0 -25
  106. package/api/resources/windows/client/requests/OperatorPromptV1Body.js +0 -5
  107. package/api/types/AsyncOperatorPromptResponseEnvelope.d.ts +0 -9
  108. package/api/types/AsyncOperatorPromptResponseEnvelope.js +0 -5
  109. package/dist/api/resources/windows/client/requests/ActRequest.d.ts +0 -30
  110. package/dist/api/resources/windows/client/requests/ActRequest.js +0 -5
  111. package/dist/api/resources/windows/client/requests/AsyncClickRequest.js +0 -5
  112. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
  113. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
  114. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
  115. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
  116. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
  117. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
  118. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
  119. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
  120. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
  121. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
  122. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
  123. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
  124. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
  125. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
  126. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
  127. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
  128. package/dist/api/resources/windows/client/requests/ExtractRequest.d.ts +0 -30
  129. package/dist/api/resources/windows/client/requests/ExtractRequest.js +0 -5
  130. package/dist/api/resources/windows/client/requests/FindManyRequest.d.ts +0 -30
  131. package/dist/api/resources/windows/client/requests/FindManyRequest.js +0 -5
  132. package/dist/api/resources/windows/client/requests/FindOneRequest.d.ts +0 -30
  133. package/dist/api/resources/windows/client/requests/FindOneRequest.js +0 -5
  134. package/dist/api/resources/windows/client/requests/LlmRequest.d.ts +0 -25
  135. package/dist/api/resources/windows/client/requests/LlmRequest.js +0 -5
  136. package/dist/api/resources/windows/client/requests/OperatorPromptV1Body.d.ts +0 -25
  137. package/dist/api/resources/windows/client/requests/OperatorPromptV1Body.js +0 -5
  138. package/dist/api/types/AsyncOperatorPromptResponseEnvelope.d.ts +0 -9
  139. package/dist/api/types/AsyncOperatorPromptResponseEnvelope.js +0 -5
  140. package/dist/serialization/resources/windows/client/requests/ActRequest.d.ts +0 -19
  141. package/dist/serialization/resources/windows/client/requests/ActRequest.js +0 -50
  142. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
  143. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -51
  144. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -19
  145. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -50
  146. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
  147. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
  148. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
  149. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -50
  150. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
  151. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
  152. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
  153. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -49
  154. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
  155. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -50
  156. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
  157. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
  158. package/dist/serialization/resources/windows/client/requests/ExtractRequest.d.ts +0 -19
  159. package/dist/serialization/resources/windows/client/requests/ExtractRequest.js +0 -50
  160. package/dist/serialization/resources/windows/client/requests/FindManyRequest.d.ts +0 -19
  161. package/dist/serialization/resources/windows/client/requests/FindManyRequest.js +0 -50
  162. package/dist/serialization/resources/windows/client/requests/FindOneRequest.d.ts +0 -19
  163. package/dist/serialization/resources/windows/client/requests/FindOneRequest.js +0 -50
  164. package/dist/serialization/resources/windows/client/requests/LlmRequest.d.ts +0 -17
  165. package/dist/serialization/resources/windows/client/requests/LlmRequest.js +0 -48
  166. package/dist/serialization/resources/windows/client/requests/OperatorPromptV1Body.d.ts +0 -17
  167. package/dist/serialization/resources/windows/client/requests/OperatorPromptV1Body.js +0 -48
  168. package/dist/serialization/types/AsyncOperatorPromptResponseEnvelope.d.ts +0 -15
  169. package/serialization/resources/windows/client/requests/ActRequest.d.ts +0 -19
  170. package/serialization/resources/windows/client/requests/ActRequest.js +0 -50
  171. package/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
  172. package/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -51
  173. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -19
  174. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -50
  175. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
  176. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
  177. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
  178. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -50
  179. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
  180. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
  181. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
  182. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -49
  183. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
  184. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -50
  185. package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
  186. package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
  187. package/serialization/resources/windows/client/requests/ExtractRequest.d.ts +0 -19
  188. package/serialization/resources/windows/client/requests/ExtractRequest.js +0 -50
  189. package/serialization/resources/windows/client/requests/FindManyRequest.d.ts +0 -19
  190. package/serialization/resources/windows/client/requests/FindManyRequest.js +0 -50
  191. package/serialization/resources/windows/client/requests/FindOneRequest.d.ts +0 -19
  192. package/serialization/resources/windows/client/requests/FindOneRequest.js +0 -50
  193. package/serialization/resources/windows/client/requests/LlmRequest.d.ts +0 -17
  194. package/serialization/resources/windows/client/requests/LlmRequest.js +0 -48
  195. package/serialization/resources/windows/client/requests/OperatorPromptV1Body.d.ts +0 -17
  196. package/serialization/resources/windows/client/requests/OperatorPromptV1Body.js +0 -48
  197. package/serialization/types/AsyncOperatorPromptResponseEnvelope.d.ts +0 -15
  198. /package/api/resources/{windows/client/requests/ActRequest.js → files/client/requests/PushFileBodyV1.js} +0 -0
  199. /package/api/resources/windows/client/requests/{AsyncClickRequest.js → SessionFileInputHandlerRequestBody.js} +0 -0
  200. /package/{api/resources/windows/client/requests/AsyncHoverRequest.js → dist/api/resources/files/client/requests/PushFileBodyV1.js} +0 -0
  201. /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
- }