@airtop/sdk 0.1.38 → 0.1.40-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.
Files changed (197) hide show
  1. package/README.md +9 -10
  2. package/api/errors/index.d.ts +2 -2
  3. package/api/errors/index.js +2 -2
  4. package/api/resources/automations/client/Client.js +12 -12
  5. package/api/resources/files/client/Client.js +12 -12
  6. package/api/resources/profiles/client/Client.js +3 -3
  7. package/api/resources/requests/client/Client.js +3 -3
  8. package/api/resources/sessions/client/Client.js +18 -18
  9. package/api/resources/sessions/types/SessionsEventsResponse.d.ts +10 -10
  10. package/api/resources/sessions/types/index.d.ts +3 -3
  11. package/api/resources/sessions/types/index.js +3 -3
  12. package/api/resources/windows/client/Client.d.ts +200 -0
  13. package/api/resources/windows/client/Client.js +1056 -211
  14. package/api/resources/windows/client/requests/ActRequest.d.ts +30 -0
  15. package/api/resources/windows/client/requests/ActRequest.js +5 -0
  16. package/api/resources/windows/client/requests/AsyncClickRequest.d.ts +29 -0
  17. package/api/resources/windows/client/requests/AsyncClickRequest.js +5 -0
  18. package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +27 -0
  19. package/api/resources/windows/client/requests/AsyncHoverRequest.js +5 -0
  20. package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +27 -0
  21. package/api/resources/windows/client/requests/AsyncMonitorRequest.js +5 -0
  22. package/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +29 -0
  23. package/api/resources/windows/client/requests/AsyncPageQueryRequest.js +5 -0
  24. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +27 -0
  25. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +5 -0
  26. package/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +29 -0
  27. package/api/resources/windows/client/requests/AsyncPromptContentRequest.js +5 -0
  28. package/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +23 -0
  29. package/api/resources/windows/client/requests/AsyncScreenshotRequest.js +5 -0
  30. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +25 -0
  31. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +5 -0
  32. package/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +37 -0
  33. package/api/resources/windows/client/requests/AsyncTypeRequest.js +5 -0
  34. package/api/resources/windows/client/requests/ExtractRequest.d.ts +30 -0
  35. package/api/resources/windows/client/requests/ExtractRequest.js +5 -0
  36. package/api/resources/windows/client/requests/FindManyRequest.d.ts +30 -0
  37. package/api/resources/windows/client/requests/FindManyRequest.js +5 -0
  38. package/api/resources/windows/client/requests/FindOneRequest.d.ts +30 -0
  39. package/api/resources/windows/client/requests/FindOneRequest.js +5 -0
  40. package/api/resources/windows/client/requests/LlmRequest.d.ts +25 -0
  41. package/api/resources/windows/client/requests/LlmRequest.js +5 -0
  42. package/api/resources/windows/client/requests/OperatorPromptV1Body.d.ts +25 -0
  43. package/api/resources/windows/client/requests/OperatorPromptV1Body.js +5 -0
  44. package/api/resources/windows/client/requests/index.d.ts +15 -0
  45. package/api/types/AsyncOperatorPromptResponseEnvelope.d.ts +9 -0
  46. package/api/types/AsyncOperatorPromptResponseEnvelope.js +5 -0
  47. package/api/types/RequestStatusResponse.d.ts +2 -0
  48. package/api/types/SessionConfigV1.d.ts +2 -0
  49. package/api/types/index.d.ts +1 -0
  50. package/api/types/index.js +1 -0
  51. package/dist/api/errors/index.d.ts +2 -2
  52. package/dist/api/errors/index.js +2 -2
  53. package/dist/api/resources/automations/client/Client.js +12 -12
  54. package/dist/api/resources/files/client/Client.js +12 -12
  55. package/dist/api/resources/profiles/client/Client.js +3 -3
  56. package/dist/api/resources/requests/client/Client.js +3 -3
  57. package/dist/api/resources/sessions/client/Client.js +18 -18
  58. package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +10 -10
  59. package/dist/api/resources/sessions/types/index.d.ts +3 -3
  60. package/dist/api/resources/sessions/types/index.js +3 -3
  61. package/dist/api/resources/windows/client/Client.d.ts +200 -0
  62. package/dist/api/resources/windows/client/Client.js +1056 -211
  63. package/dist/api/resources/windows/client/requests/ActRequest.d.ts +30 -0
  64. package/dist/api/resources/windows/client/requests/ActRequest.js +5 -0
  65. package/dist/api/resources/windows/client/requests/AsyncClickRequest.d.ts +29 -0
  66. package/dist/api/resources/windows/client/requests/AsyncClickRequest.js +5 -0
  67. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +27 -0
  68. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.js +5 -0
  69. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +27 -0
  70. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.js +5 -0
  71. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +29 -0
  72. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.js +5 -0
  73. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +27 -0
  74. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +5 -0
  75. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +29 -0
  76. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.js +5 -0
  77. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +23 -0
  78. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.js +5 -0
  79. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +25 -0
  80. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +5 -0
  81. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +37 -0
  82. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.js +5 -0
  83. package/dist/api/resources/windows/client/requests/ExtractRequest.d.ts +30 -0
  84. package/dist/api/resources/windows/client/requests/ExtractRequest.js +5 -0
  85. package/dist/api/resources/windows/client/requests/FindManyRequest.d.ts +30 -0
  86. package/dist/api/resources/windows/client/requests/FindManyRequest.js +5 -0
  87. package/dist/api/resources/windows/client/requests/FindOneRequest.d.ts +30 -0
  88. package/dist/api/resources/windows/client/requests/FindOneRequest.js +5 -0
  89. package/dist/api/resources/windows/client/requests/LlmRequest.d.ts +25 -0
  90. package/dist/api/resources/windows/client/requests/LlmRequest.js +5 -0
  91. package/dist/api/resources/windows/client/requests/OperatorPromptV1Body.d.ts +25 -0
  92. package/dist/api/resources/windows/client/requests/OperatorPromptV1Body.js +5 -0
  93. package/dist/api/resources/windows/client/requests/index.d.ts +15 -0
  94. package/dist/api/types/AsyncOperatorPromptResponseEnvelope.d.ts +9 -0
  95. package/dist/api/types/AsyncOperatorPromptResponseEnvelope.js +5 -0
  96. package/dist/api/types/RequestStatusResponse.d.ts +2 -0
  97. package/dist/api/types/SessionConfigV1.d.ts +2 -0
  98. package/dist/api/types/index.d.ts +1 -0
  99. package/dist/api/types/index.js +1 -0
  100. package/dist/environments.d.ts +1 -1
  101. package/dist/environments.js +1 -1
  102. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +13 -13
  103. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +6 -6
  104. package/dist/serialization/resources/sessions/types/index.d.ts +3 -3
  105. package/dist/serialization/resources/sessions/types/index.js +3 -3
  106. package/dist/serialization/resources/windows/client/requests/ActRequest.d.ts +19 -0
  107. package/dist/serialization/resources/windows/client/requests/ActRequest.js +50 -0
  108. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +20 -0
  109. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.js +51 -0
  110. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +19 -0
  111. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js +50 -0
  112. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +19 -0
  113. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +50 -0
  114. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +20 -0
  115. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +51 -0
  116. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +19 -0
  117. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +50 -0
  118. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +20 -0
  119. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +51 -0
  120. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +18 -0
  121. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +49 -0
  122. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +19 -0
  123. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +50 -0
  124. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +24 -0
  125. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +55 -0
  126. package/dist/serialization/resources/windows/client/requests/ExtractRequest.d.ts +19 -0
  127. package/dist/serialization/resources/windows/client/requests/ExtractRequest.js +50 -0
  128. package/dist/serialization/resources/windows/client/requests/FindManyRequest.d.ts +19 -0
  129. package/dist/serialization/resources/windows/client/requests/FindManyRequest.js +50 -0
  130. package/dist/serialization/resources/windows/client/requests/FindOneRequest.d.ts +19 -0
  131. package/dist/serialization/resources/windows/client/requests/FindOneRequest.js +50 -0
  132. package/dist/serialization/resources/windows/client/requests/LlmRequest.d.ts +17 -0
  133. package/dist/serialization/resources/windows/client/requests/LlmRequest.js +48 -0
  134. package/dist/serialization/resources/windows/client/requests/OperatorPromptV1Body.d.ts +17 -0
  135. package/dist/serialization/resources/windows/client/requests/OperatorPromptV1Body.js +48 -0
  136. package/dist/serialization/resources/windows/client/requests/index.d.ts +15 -0
  137. package/dist/serialization/resources/windows/client/requests/index.js +31 -1
  138. package/dist/serialization/types/AsyncOperatorPromptResponseEnvelope.d.ts +15 -0
  139. package/dist/serialization/types/AsyncOperatorPromptResponseEnvelope.js +46 -0
  140. package/dist/serialization/types/RequestStatusResponse.d.ts +1 -0
  141. package/dist/serialization/types/RequestStatusResponse.js +1 -0
  142. package/dist/serialization/types/SessionConfigV1.d.ts +1 -0
  143. package/dist/serialization/types/SessionConfigV1.js +1 -0
  144. package/dist/serialization/types/index.d.ts +1 -0
  145. package/dist/serialization/types/index.js +1 -0
  146. package/dist/version.d.ts +1 -1
  147. package/dist/version.js +1 -1
  148. package/environments.d.ts +1 -1
  149. package/environments.js +1 -1
  150. package/package.json +1 -1
  151. package/reference.md +1291 -140
  152. package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +13 -13
  153. package/serialization/resources/sessions/types/SessionsEventsResponse.js +6 -6
  154. package/serialization/resources/sessions/types/index.d.ts +3 -3
  155. package/serialization/resources/sessions/types/index.js +3 -3
  156. package/serialization/resources/windows/client/requests/ActRequest.d.ts +19 -0
  157. package/serialization/resources/windows/client/requests/ActRequest.js +50 -0
  158. package/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +20 -0
  159. package/serialization/resources/windows/client/requests/AsyncClickRequest.js +51 -0
  160. package/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +19 -0
  161. package/serialization/resources/windows/client/requests/AsyncHoverRequest.js +50 -0
  162. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +19 -0
  163. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +50 -0
  164. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +20 -0
  165. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +51 -0
  166. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +19 -0
  167. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +50 -0
  168. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +20 -0
  169. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +51 -0
  170. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +18 -0
  171. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +49 -0
  172. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +19 -0
  173. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +50 -0
  174. package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +24 -0
  175. package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +55 -0
  176. package/serialization/resources/windows/client/requests/ExtractRequest.d.ts +19 -0
  177. package/serialization/resources/windows/client/requests/ExtractRequest.js +50 -0
  178. package/serialization/resources/windows/client/requests/FindManyRequest.d.ts +19 -0
  179. package/serialization/resources/windows/client/requests/FindManyRequest.js +50 -0
  180. package/serialization/resources/windows/client/requests/FindOneRequest.d.ts +19 -0
  181. package/serialization/resources/windows/client/requests/FindOneRequest.js +50 -0
  182. package/serialization/resources/windows/client/requests/LlmRequest.d.ts +17 -0
  183. package/serialization/resources/windows/client/requests/LlmRequest.js +48 -0
  184. package/serialization/resources/windows/client/requests/OperatorPromptV1Body.d.ts +17 -0
  185. package/serialization/resources/windows/client/requests/OperatorPromptV1Body.js +48 -0
  186. package/serialization/resources/windows/client/requests/index.d.ts +15 -0
  187. package/serialization/resources/windows/client/requests/index.js +31 -1
  188. package/serialization/types/AsyncOperatorPromptResponseEnvelope.d.ts +15 -0
  189. package/serialization/types/AsyncOperatorPromptResponseEnvelope.js +46 -0
  190. package/serialization/types/RequestStatusResponse.d.ts +1 -0
  191. package/serialization/types/RequestStatusResponse.js +1 -0
  192. package/serialization/types/SessionConfigV1.d.ts +1 -0
  193. package/serialization/types/SessionConfigV1.js +1 -0
  194. package/serialization/types/index.d.ts +1 -0
  195. package/serialization/types/index.js +1 -0
  196. package/version.d.ts +1 -1
  197. package/version.js +1 -1
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./AiPromptResponse"), exports);
18
18
  __exportStar(require("./AiResponseEnvelope"), exports);
19
19
  __exportStar(require("./AsyncConfig"), exports);
20
+ __exportStar(require("./AsyncOperatorPromptResponseEnvelope"), exports);
20
21
  __exportStar(require("./AsyncSessionAiResponseEnvelope"), exports);
21
22
  __exportStar(require("./AutomationOutput"), exports);
22
23
  __exportStar(require("./BrowserWaitNavigationConfigWaitUntil"), exports);
@@ -2,6 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export declare const AirtopEnvironment: {
5
- readonly Default: "https://api.airtop.ai/api/v1";
5
+ readonly Default: "https://api.airtop.ai/api";
6
6
  };
7
7
  export type AirtopEnvironment = typeof AirtopEnvironment.Default;
@@ -5,5 +5,5 @@
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.AirtopEnvironment = void 0;
7
7
  exports.AirtopEnvironment = {
8
- Default: "https://api.airtop.ai/api/v1",
8
+ Default: "https://api.airtop.ai/api",
9
9
  };
@@ -4,24 +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 { SessionsEventsResponseSessionEvent } from "./SessionsEventsResponseSessionEvent";
8
- import { SessionsEventsResponseFileEvent } from "./SessionsEventsResponseFileEvent";
9
- import { SessionsEventsResponseCaptchaEvent } from "./SessionsEventsResponseCaptchaEvent";
10
7
  import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
11
8
  import { SessionsEventsResponseError } from "./SessionsEventsResponseError";
12
9
  import { SessionsEventsResponseWindowEvent } from "./SessionsEventsResponseWindowEvent";
10
+ import { SessionsEventsResponseSessionEvent } from "./SessionsEventsResponseSessionEvent";
11
+ import { SessionsEventsResponseFileEvent } from "./SessionsEventsResponseFileEvent";
12
+ import { SessionsEventsResponseCaptchaEvent } from "./SessionsEventsResponseCaptchaEvent";
13
13
  export declare const SessionsEventsResponse: core.serialization.Schema<serializers.SessionsEventsResponse.Raw, Airtop.SessionsEventsResponse>;
14
14
  export declare namespace SessionsEventsResponse {
15
- type Raw = SessionsEventsResponse.SessionEvent | SessionsEventsResponse.FileEvent | SessionsEventsResponse.CaptchaEvent | SessionsEventsResponse.Status | SessionsEventsResponse.Error | SessionsEventsResponse.WindowEvent;
16
- interface SessionEvent extends SessionsEventsResponseSessionEvent.Raw {
17
- event: "sessionEvent";
18
- }
19
- interface FileEvent extends SessionsEventsResponseFileEvent.Raw {
20
- event: "fileEvent";
21
- }
22
- interface CaptchaEvent extends SessionsEventsResponseCaptchaEvent.Raw {
23
- event: "captchaEvent";
24
- }
15
+ type Raw = SessionsEventsResponse.Status | SessionsEventsResponse.Error | SessionsEventsResponse.WindowEvent | SessionsEventsResponse.SessionEvent | SessionsEventsResponse.FileEvent | SessionsEventsResponse.CaptchaEvent;
25
16
  interface Status extends SessionsEventsResponseStatus.Raw {
26
17
  event: "status";
27
18
  }
@@ -31,4 +22,13 @@ export declare namespace SessionsEventsResponse {
31
22
  interface WindowEvent extends SessionsEventsResponseWindowEvent.Raw {
32
23
  event: "windowEvent";
33
24
  }
25
+ interface SessionEvent extends SessionsEventsResponseSessionEvent.Raw {
26
+ event: "sessionEvent";
27
+ }
28
+ interface FileEvent extends SessionsEventsResponseFileEvent.Raw {
29
+ event: "fileEvent";
30
+ }
31
+ interface CaptchaEvent extends SessionsEventsResponseCaptchaEvent.Raw {
32
+ event: "captchaEvent";
33
+ }
34
34
  }
@@ -38,20 +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 SessionsEventsResponseSessionEvent_1 = require("./SessionsEventsResponseSessionEvent");
42
- const SessionsEventsResponseFileEvent_1 = require("./SessionsEventsResponseFileEvent");
43
- const SessionsEventsResponseCaptchaEvent_1 = require("./SessionsEventsResponseCaptchaEvent");
44
41
  const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
45
42
  const SessionsEventsResponseError_1 = require("./SessionsEventsResponseError");
46
43
  const SessionsEventsResponseWindowEvent_1 = require("./SessionsEventsResponseWindowEvent");
44
+ const SessionsEventsResponseSessionEvent_1 = require("./SessionsEventsResponseSessionEvent");
45
+ const SessionsEventsResponseFileEvent_1 = require("./SessionsEventsResponseFileEvent");
46
+ const SessionsEventsResponseCaptchaEvent_1 = require("./SessionsEventsResponseCaptchaEvent");
47
47
  exports.SessionsEventsResponse = core.serialization
48
48
  .union("event", {
49
- sessionEvent: SessionsEventsResponseSessionEvent_1.SessionsEventsResponseSessionEvent,
50
- fileEvent: SessionsEventsResponseFileEvent_1.SessionsEventsResponseFileEvent,
51
- captchaEvent: SessionsEventsResponseCaptchaEvent_1.SessionsEventsResponseCaptchaEvent,
52
49
  status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
53
50
  error: SessionsEventsResponseError_1.SessionsEventsResponseError,
54
51
  windowEvent: SessionsEventsResponseWindowEvent_1.SessionsEventsResponseWindowEvent,
52
+ sessionEvent: SessionsEventsResponseSessionEvent_1.SessionsEventsResponseSessionEvent,
53
+ fileEvent: SessionsEventsResponseFileEvent_1.SessionsEventsResponseFileEvent,
54
+ captchaEvent: SessionsEventsResponseCaptchaEvent_1.SessionsEventsResponseCaptchaEvent,
55
55
  })
56
56
  .transform({
57
57
  transform: (value) => value,
@@ -1,8 +1,8 @@
1
1
  export * from "./SessionsListRequestStatus";
2
- export * from "./SessionsEventsResponseSessionEvent";
3
- export * from "./SessionsEventsResponseFileEvent";
4
- export * from "./SessionsEventsResponseCaptchaEvent";
5
2
  export * from "./SessionsEventsResponseStatus";
6
3
  export * from "./SessionsEventsResponseError";
7
4
  export * from "./SessionsEventsResponseWindowEvent";
5
+ export * from "./SessionsEventsResponseSessionEvent";
6
+ export * from "./SessionsEventsResponseFileEvent";
7
+ export * from "./SessionsEventsResponseCaptchaEvent";
8
8
  export * from "./SessionsEventsResponse";
@@ -15,10 +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("./SessionsEventsResponseSessionEvent"), exports);
19
- __exportStar(require("./SessionsEventsResponseFileEvent"), exports);
20
- __exportStar(require("./SessionsEventsResponseCaptchaEvent"), exports);
21
18
  __exportStar(require("./SessionsEventsResponseStatus"), exports);
22
19
  __exportStar(require("./SessionsEventsResponseError"), exports);
23
20
  __exportStar(require("./SessionsEventsResponseWindowEvent"), exports);
21
+ __exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
22
+ __exportStar(require("./SessionsEventsResponseFileEvent"), exports);
23
+ __exportStar(require("./SessionsEventsResponseCaptchaEvent"), exports);
24
24
  __exportStar(require("./SessionsEventsResponse"), exports);
@@ -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
+ export declare const ActRequest: core.serialization.Schema<serializers.ActRequest.Raw, Airtop.ActRequest>;
9
+ export declare namespace ActRequest {
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
+ }
@@ -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.ActRequest = void 0;
40
+ const core = __importStar(require("../../../../../core"));
41
+ const AsyncConfig_1 = require("../../../../types/AsyncConfig");
42
+ exports.ActRequest = 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
+ });
@@ -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
+ }