@airtop/sdk 0.1.41 → 0.1.42-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 (235) hide show
  1. package/README.md +9 -10
  2. package/api/resources/automations/client/Client.js +4 -4
  3. package/api/resources/files/client/Client.js +5 -5
  4. package/api/resources/files/client/requests/CreateFileRestInputV1.d.ts +1 -1
  5. package/api/resources/profiles/client/Client.js +1 -1
  6. package/api/resources/requests/client/Client.js +1 -1
  7. package/api/resources/sessions/client/Client.js +6 -6
  8. package/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
  9. package/api/resources/sessions/types/index.d.ts +1 -1
  10. package/api/resources/sessions/types/index.js +1 -1
  11. package/api/resources/windows/client/Client.d.ts +233 -5
  12. package/api/resources/windows/client/Client.js +1173 -214
  13. package/api/resources/windows/client/requests/ActRequest.d.ts +30 -0
  14. package/api/resources/windows/client/requests/ActRequest.js +5 -0
  15. package/api/resources/windows/client/requests/AsyncClickRequest.d.ts +29 -0
  16. package/api/resources/windows/client/requests/AsyncClickRequest.js +5 -0
  17. package/api/resources/windows/client/requests/AsyncFileInputRequest.d.ts +33 -0
  18. package/api/resources/windows/client/requests/AsyncFileInputRequest.js +5 -0
  19. package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +27 -0
  20. package/api/resources/windows/client/requests/AsyncHoverRequest.js +5 -0
  21. package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +27 -0
  22. package/api/resources/windows/client/requests/AsyncMonitorRequest.js +5 -0
  23. package/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +29 -0
  24. package/api/resources/windows/client/requests/AsyncPageQueryRequest.js +5 -0
  25. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +27 -0
  26. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +5 -0
  27. package/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +29 -0
  28. package/api/resources/windows/client/requests/AsyncPromptContentRequest.js +5 -0
  29. package/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +23 -0
  30. package/api/resources/windows/client/requests/AsyncScreenshotRequest.js +5 -0
  31. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +25 -0
  32. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +5 -0
  33. package/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +37 -0
  34. package/api/resources/windows/client/requests/AsyncTypeRequest.js +5 -0
  35. package/api/resources/windows/client/requests/ExtractRequest.d.ts +30 -0
  36. package/api/resources/windows/client/requests/ExtractRequest.js +5 -0
  37. package/api/resources/windows/client/requests/FindManyRequest.d.ts +30 -0
  38. package/api/resources/windows/client/requests/FindManyRequest.js +5 -0
  39. package/api/resources/windows/client/requests/FindOneRequest.d.ts +30 -0
  40. package/api/resources/windows/client/requests/FindOneRequest.js +5 -0
  41. package/api/resources/windows/client/requests/LlmRequest.d.ts +25 -0
  42. package/api/resources/windows/client/requests/LlmRequest.js +5 -0
  43. package/api/resources/windows/client/requests/OperatorPromptV1Body.d.ts +25 -0
  44. package/api/resources/windows/client/requests/OperatorPromptV1Body.js +5 -0
  45. package/api/resources/windows/client/requests/SessionFileInputHandlerRequestBody.d.ts +4 -4
  46. package/api/resources/windows/client/requests/WaitForPageRequest.d.ts +23 -0
  47. package/api/resources/windows/client/requests/WaitForPageRequest.js +5 -0
  48. package/api/resources/windows/client/requests/index.d.ts +17 -0
  49. package/api/resources/windows/types/WaitForPageRequestTargetStatus.d.ts +11 -0
  50. package/api/resources/windows/types/WaitForPageRequestTargetStatus.js +10 -0
  51. package/api/resources/windows/types/index.d.ts +1 -0
  52. package/api/resources/windows/types/index.js +1 -0
  53. package/api/types/AsyncOperatorPromptResponseEnvelope.d.ts +9 -0
  54. package/api/types/AsyncOperatorPromptResponseEnvelope.js +5 -0
  55. package/api/types/FileEventData.d.ts +7 -0
  56. package/api/types/FileEventData.js +5 -0
  57. package/api/types/FileEventMessage.d.ts +2 -1
  58. package/api/types/index.d.ts +2 -0
  59. package/api/types/index.js +2 -0
  60. package/dist/api/resources/automations/client/Client.js +4 -4
  61. package/dist/api/resources/files/client/Client.js +5 -5
  62. package/dist/api/resources/files/client/requests/CreateFileRestInputV1.d.ts +1 -1
  63. package/dist/api/resources/profiles/client/Client.js +1 -1
  64. package/dist/api/resources/requests/client/Client.js +1 -1
  65. package/dist/api/resources/sessions/client/Client.js +6 -6
  66. package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
  67. package/dist/api/resources/sessions/types/index.d.ts +1 -1
  68. package/dist/api/resources/sessions/types/index.js +1 -1
  69. package/dist/api/resources/windows/client/Client.d.ts +233 -5
  70. package/dist/api/resources/windows/client/Client.js +1173 -214
  71. package/dist/api/resources/windows/client/requests/ActRequest.d.ts +30 -0
  72. package/dist/api/resources/windows/client/requests/ActRequest.js +5 -0
  73. package/dist/api/resources/windows/client/requests/AsyncClickRequest.d.ts +29 -0
  74. package/dist/api/resources/windows/client/requests/AsyncClickRequest.js +5 -0
  75. package/dist/api/resources/windows/client/requests/AsyncFileInputRequest.d.ts +33 -0
  76. package/dist/api/resources/windows/client/requests/AsyncFileInputRequest.js +5 -0
  77. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +27 -0
  78. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.js +5 -0
  79. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +27 -0
  80. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.js +5 -0
  81. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +29 -0
  82. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.js +5 -0
  83. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +27 -0
  84. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +5 -0
  85. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +29 -0
  86. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.js +5 -0
  87. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +23 -0
  88. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.js +5 -0
  89. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +25 -0
  90. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +5 -0
  91. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +37 -0
  92. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.js +5 -0
  93. package/dist/api/resources/windows/client/requests/ExtractRequest.d.ts +30 -0
  94. package/dist/api/resources/windows/client/requests/ExtractRequest.js +5 -0
  95. package/dist/api/resources/windows/client/requests/FindManyRequest.d.ts +30 -0
  96. package/dist/api/resources/windows/client/requests/FindManyRequest.js +5 -0
  97. package/dist/api/resources/windows/client/requests/FindOneRequest.d.ts +30 -0
  98. package/dist/api/resources/windows/client/requests/FindOneRequest.js +5 -0
  99. package/dist/api/resources/windows/client/requests/LlmRequest.d.ts +25 -0
  100. package/dist/api/resources/windows/client/requests/LlmRequest.js +5 -0
  101. package/dist/api/resources/windows/client/requests/OperatorPromptV1Body.d.ts +25 -0
  102. package/dist/api/resources/windows/client/requests/OperatorPromptV1Body.js +5 -0
  103. package/dist/api/resources/windows/client/requests/SessionFileInputHandlerRequestBody.d.ts +4 -4
  104. package/dist/api/resources/windows/client/requests/WaitForPageRequest.d.ts +23 -0
  105. package/dist/api/resources/windows/client/requests/WaitForPageRequest.js +5 -0
  106. package/dist/api/resources/windows/client/requests/index.d.ts +17 -0
  107. package/dist/api/resources/windows/types/WaitForPageRequestTargetStatus.d.ts +11 -0
  108. package/dist/api/resources/windows/types/WaitForPageRequestTargetStatus.js +10 -0
  109. package/dist/api/resources/windows/types/index.d.ts +1 -0
  110. package/dist/api/resources/windows/types/index.js +1 -0
  111. package/dist/api/types/AsyncOperatorPromptResponseEnvelope.d.ts +9 -0
  112. package/dist/api/types/AsyncOperatorPromptResponseEnvelope.js +5 -0
  113. package/dist/api/types/FileEventData.d.ts +7 -0
  114. package/dist/api/types/FileEventData.js +5 -0
  115. package/dist/api/types/FileEventMessage.d.ts +2 -1
  116. package/dist/api/types/index.d.ts +2 -0
  117. package/dist/api/types/index.js +2 -0
  118. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
  119. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
  120. package/dist/serialization/resources/sessions/types/index.d.ts +1 -1
  121. package/dist/serialization/resources/sessions/types/index.js +1 -1
  122. package/dist/serialization/resources/windows/client/requests/ActRequest.d.ts +19 -0
  123. package/dist/serialization/resources/windows/client/requests/ActRequest.js +50 -0
  124. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +20 -0
  125. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.js +51 -0
  126. package/dist/serialization/resources/windows/client/requests/AsyncFileInputRequest.d.ts +23 -0
  127. package/dist/serialization/resources/windows/client/requests/AsyncFileInputRequest.js +54 -0
  128. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +19 -0
  129. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js +50 -0
  130. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +19 -0
  131. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +50 -0
  132. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +20 -0
  133. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +51 -0
  134. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +19 -0
  135. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +50 -0
  136. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +20 -0
  137. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +51 -0
  138. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +18 -0
  139. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +49 -0
  140. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +19 -0
  141. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +50 -0
  142. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +24 -0
  143. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +55 -0
  144. package/dist/serialization/resources/windows/client/requests/ExtractRequest.d.ts +19 -0
  145. package/dist/serialization/resources/windows/client/requests/ExtractRequest.js +50 -0
  146. package/dist/serialization/resources/windows/client/requests/FindManyRequest.d.ts +19 -0
  147. package/dist/serialization/resources/windows/client/requests/FindManyRequest.js +50 -0
  148. package/dist/serialization/resources/windows/client/requests/FindOneRequest.d.ts +19 -0
  149. package/dist/serialization/resources/windows/client/requests/FindOneRequest.js +50 -0
  150. package/dist/serialization/resources/windows/client/requests/LlmRequest.d.ts +17 -0
  151. package/dist/serialization/resources/windows/client/requests/LlmRequest.js +48 -0
  152. package/dist/serialization/resources/windows/client/requests/OperatorPromptV1Body.d.ts +17 -0
  153. package/dist/serialization/resources/windows/client/requests/OperatorPromptV1Body.js +48 -0
  154. package/dist/serialization/resources/windows/client/requests/SessionFileInputHandlerRequestBody.d.ts +2 -1
  155. package/dist/serialization/resources/windows/client/requests/SessionFileInputHandlerRequestBody.js +2 -1
  156. package/dist/serialization/resources/windows/client/requests/WaitForPageRequest.d.ts +18 -0
  157. package/dist/serialization/resources/windows/client/requests/WaitForPageRequest.js +49 -0
  158. package/dist/serialization/resources/windows/client/requests/index.d.ts +17 -0
  159. package/dist/serialization/resources/windows/client/requests/index.js +35 -1
  160. package/dist/serialization/resources/windows/types/WaitForPageRequestTargetStatus.d.ts +10 -0
  161. package/dist/serialization/resources/windows/types/WaitForPageRequestTargetStatus.js +41 -0
  162. package/dist/serialization/resources/windows/types/index.d.ts +1 -0
  163. package/dist/serialization/resources/windows/types/index.js +1 -0
  164. package/dist/serialization/types/AsyncOperatorPromptResponseEnvelope.d.ts +15 -0
  165. package/dist/serialization/types/AsyncOperatorPromptResponseEnvelope.js +46 -0
  166. package/dist/serialization/types/FileEventData.d.ts +13 -0
  167. package/dist/serialization/types/FileEventData.js +44 -0
  168. package/dist/serialization/types/FileEventMessage.d.ts +2 -1
  169. package/dist/serialization/types/FileEventMessage.js +2 -1
  170. package/dist/serialization/types/index.d.ts +2 -0
  171. package/dist/serialization/types/index.js +2 -0
  172. package/dist/utils/upload.js +12 -7
  173. package/dist/version.d.ts +1 -1
  174. package/dist/version.js +1 -1
  175. package/dist/wrapper/AirtopSessions.js +12 -5
  176. package/package.json +1 -1
  177. package/reference.md +1457 -144
  178. package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
  179. package/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
  180. package/serialization/resources/sessions/types/index.d.ts +1 -1
  181. package/serialization/resources/sessions/types/index.js +1 -1
  182. package/serialization/resources/windows/client/requests/ActRequest.d.ts +19 -0
  183. package/serialization/resources/windows/client/requests/ActRequest.js +50 -0
  184. package/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +20 -0
  185. package/serialization/resources/windows/client/requests/AsyncClickRequest.js +51 -0
  186. package/serialization/resources/windows/client/requests/AsyncFileInputRequest.d.ts +23 -0
  187. package/serialization/resources/windows/client/requests/AsyncFileInputRequest.js +54 -0
  188. package/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +19 -0
  189. package/serialization/resources/windows/client/requests/AsyncHoverRequest.js +50 -0
  190. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +19 -0
  191. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +50 -0
  192. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +20 -0
  193. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +51 -0
  194. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +19 -0
  195. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +50 -0
  196. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +20 -0
  197. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +51 -0
  198. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +18 -0
  199. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +49 -0
  200. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +19 -0
  201. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +50 -0
  202. package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +24 -0
  203. package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +55 -0
  204. package/serialization/resources/windows/client/requests/ExtractRequest.d.ts +19 -0
  205. package/serialization/resources/windows/client/requests/ExtractRequest.js +50 -0
  206. package/serialization/resources/windows/client/requests/FindManyRequest.d.ts +19 -0
  207. package/serialization/resources/windows/client/requests/FindManyRequest.js +50 -0
  208. package/serialization/resources/windows/client/requests/FindOneRequest.d.ts +19 -0
  209. package/serialization/resources/windows/client/requests/FindOneRequest.js +50 -0
  210. package/serialization/resources/windows/client/requests/LlmRequest.d.ts +17 -0
  211. package/serialization/resources/windows/client/requests/LlmRequest.js +48 -0
  212. package/serialization/resources/windows/client/requests/OperatorPromptV1Body.d.ts +17 -0
  213. package/serialization/resources/windows/client/requests/OperatorPromptV1Body.js +48 -0
  214. package/serialization/resources/windows/client/requests/SessionFileInputHandlerRequestBody.d.ts +2 -1
  215. package/serialization/resources/windows/client/requests/SessionFileInputHandlerRequestBody.js +2 -1
  216. package/serialization/resources/windows/client/requests/WaitForPageRequest.d.ts +18 -0
  217. package/serialization/resources/windows/client/requests/WaitForPageRequest.js +49 -0
  218. package/serialization/resources/windows/client/requests/index.d.ts +17 -0
  219. package/serialization/resources/windows/client/requests/index.js +35 -1
  220. package/serialization/resources/windows/types/WaitForPageRequestTargetStatus.d.ts +10 -0
  221. package/serialization/resources/windows/types/WaitForPageRequestTargetStatus.js +41 -0
  222. package/serialization/resources/windows/types/index.d.ts +1 -0
  223. package/serialization/resources/windows/types/index.js +1 -0
  224. package/serialization/types/AsyncOperatorPromptResponseEnvelope.d.ts +15 -0
  225. package/serialization/types/AsyncOperatorPromptResponseEnvelope.js +46 -0
  226. package/serialization/types/FileEventData.d.ts +13 -0
  227. package/serialization/types/FileEventData.js +44 -0
  228. package/serialization/types/FileEventMessage.d.ts +2 -1
  229. package/serialization/types/FileEventMessage.js +2 -1
  230. package/serialization/types/index.d.ts +2 -0
  231. package/serialization/types/index.js +2 -0
  232. package/utils/upload.js +12 -7
  233. package/version.d.ts +1 -1
  234. package/version.js +1 -1
  235. package/wrapper/AirtopSessions.js +12 -5
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../../../../index";
5
+ /**
6
+ * @example
7
+ * {}
8
+ */
9
+ export interface WaitForPageRequest {
10
+ /** Async configuration options. */
11
+ async?: Airtop.AsyncConfig;
12
+ clientRequestId?: string;
13
+ /** A credit threshold that, once exceeded, will cause the operation to be cancelled. Note that this is *not* a hard limit, but a threshold that is checked periodically during the course of fulfilling the request. A default threshold is used if not specified, but you can use this option to increase or decrease as needed. Set to 0 to disable this feature entirely (not recommended). */
14
+ costThresholdCredits?: number;
15
+ /** The target status of the page */
16
+ targetStatus?: Airtop.WaitForPageRequestTargetStatus;
17
+ /**
18
+ * A time threshold in seconds that, once exceeded, will cause the operation to be cancelled. Note that this is *not* a hard limit, but a threshold that is checked periodically during the course of fulfilling the request. A default threshold is used if not specified, but you can use this option to increase or decrease as needed. Set to 0 to disable this feature entirely (not recommended).
19
+ *
20
+ * This setting does not extend the maximum session duration provided at the time of session creation.
21
+ */
22
+ timeThresholdSeconds?: number;
23
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,17 @@
1
+ export { type AsyncClickRequest } from "./AsyncClickRequest";
1
2
  export { type AsyncCreateAutomationRequest } from "./AsyncCreateAutomationRequest";
2
3
  export { type AsyncCreateFormFillerRequest } from "./AsyncCreateFormFillerRequest";
3
4
  export { type AsyncExecuteAutomationRequest } from "./AsyncExecuteAutomationRequest";
5
+ export { type AsyncFileInputRequest } from "./AsyncFileInputRequest";
4
6
  export { type AsyncFillFormRequest } from "./AsyncFillFormRequest";
7
+ export { type AsyncHoverRequest } from "./AsyncHoverRequest";
8
+ export { type AsyncMonitorRequest } from "./AsyncMonitorRequest";
9
+ export { type AsyncPageQueryRequest } from "./AsyncPageQueryRequest";
10
+ export { type AsyncPaginatedExtractionRequest } from "./AsyncPaginatedExtractionRequest";
11
+ export { type AsyncPromptContentRequest } from "./AsyncPromptContentRequest";
12
+ export { type AsyncScreenshotRequest } from "./AsyncScreenshotRequest";
13
+ export { type AsyncSummarizeContentRequest } from "./AsyncSummarizeContentRequest";
14
+ export { type AsyncTypeRequest } from "./AsyncTypeRequest";
5
15
  export { type CreateWindowInputV1Body } from "./CreateWindowInputV1Body";
6
16
  export { type GetWindowInfoRequest } from "./GetWindowInfoRequest";
7
17
  export { type WindowLoadUrlV1Body } from "./WindowLoadUrlV1Body";
@@ -11,9 +21,16 @@ export { type SessionFileInputHandlerRequestBody } from "./SessionFileInputHandl
11
21
  export { type FillFormRequest } from "./FillFormRequest";
12
22
  export { type SessionHoverHandlerRequestBody } from "./SessionHoverHandlerRequestBody";
13
23
  export { type SessionMonitorHandlerRequestBody } from "./SessionMonitorHandlerRequestBody";
24
+ export { type OperatorPromptV1Body } from "./OperatorPromptV1Body";
14
25
  export { type SessionPaginatedExtractionHandlerRequestBody } from "./SessionPaginatedExtractionHandlerRequestBody";
15
26
  export { type ScrapeContentRequest } from "./ScrapeContentRequest";
16
27
  export { type SessionScreenshotHandlerRequestBody } from "./SessionScreenshotHandlerRequestBody";
17
28
  export { type SessionScrollHandlerRequestBody } from "./SessionScrollHandlerRequestBody";
18
29
  export { type SessionSummaryHandlerRequestBody } from "./SessionSummaryHandlerRequestBody";
19
30
  export { type SessionTypeHandlerRequestBody } from "./SessionTypeHandlerRequestBody";
31
+ export { type ActRequest } from "./ActRequest";
32
+ export { type ExtractRequest } from "./ExtractRequest";
33
+ export { type FindManyRequest } from "./FindManyRequest";
34
+ export { type FindOneRequest } from "./FindOneRequest";
35
+ export { type LlmRequest } from "./LlmRequest";
36
+ export { type WaitForPageRequest } from "./WaitForPageRequest";
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The target status of the page
6
+ */
7
+ export type WaitForPageRequestTargetStatus = "domcontentloaded" | "load";
8
+ export declare const WaitForPageRequestTargetStatus: {
9
+ readonly Domcontentloaded: "domcontentloaded";
10
+ readonly Load: "load";
11
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.WaitForPageRequestTargetStatus = void 0;
7
+ exports.WaitForPageRequestTargetStatus = {
8
+ Domcontentloaded: "domcontentloaded",
9
+ Load: "load",
10
+ };
@@ -1,2 +1,3 @@
1
1
  export * from "./CreateWindowInputV1BodyWaitUntil";
2
2
  export * from "./WindowLoadUrlV1BodyWaitUntil";
3
+ export * from "./WaitForPageRequestTargetStatus";
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./CreateWindowInputV1BodyWaitUntil"), exports);
18
18
  __exportStar(require("./WindowLoadUrlV1BodyWaitUntil"), exports);
19
+ __exportStar(require("./WaitForPageRequestTargetStatus"), exports);
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../index";
5
+ export interface AsyncOperatorPromptResponseEnvelope {
6
+ errors?: Airtop.Issue[];
7
+ requestId: string;
8
+ warnings?: Airtop.Issue[];
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface FileEventData {
5
+ error: string;
6
+ filePath: string;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,7 +7,8 @@ export interface FileEventMessage {
7
7
  downloadUrl: string;
8
8
  /** Event name */
9
9
  event: string;
10
- eventData?: unknown;
10
+ /** Additional data for the event */
11
+ eventData?: Airtop.FileEventData;
11
12
  /** Date and Time of the event */
12
13
  eventTime: Date;
13
14
  /** File ID */
@@ -1,6 +1,7 @@
1
1
  export * from "./AiPromptResponse";
2
2
  export * from "./AiResponseEnvelope";
3
3
  export * from "./AsyncConfig";
4
+ export * from "./AsyncOperatorPromptResponseEnvelope";
4
5
  export * from "./AsyncSessionAiResponseEnvelope";
5
6
  export * from "./AutomationOutput";
6
7
  export * from "./BrowserWaitNavigationConfigWaitUntil";
@@ -28,6 +29,7 @@ export * from "./ExternalSessionAiResponseMetadata";
28
29
  export * from "./ExternalSessionAiResponseMetadataUsage";
29
30
  export * from "./ExternalSessionConfig";
30
31
  export * from "./ExternalSessionWithConnectionInfo";
32
+ export * from "./FileEventData";
31
33
  export * from "./FileEventMessageStatus";
32
34
  export * from "./FileEventMessage";
33
35
  export * from "./FilesResponse";
@@ -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);
@@ -44,6 +45,7 @@ __exportStar(require("./ExternalSessionAiResponseMetadata"), exports);
44
45
  __exportStar(require("./ExternalSessionAiResponseMetadataUsage"), exports);
45
46
  __exportStar(require("./ExternalSessionConfig"), exports);
46
47
  __exportStar(require("./ExternalSessionWithConnectionInfo"), exports);
48
+ __exportStar(require("./FileEventData"), exports);
47
49
  __exportStar(require("./FileEventMessageStatus"), exports);
48
50
  __exportStar(require("./FileEventMessage"), exports);
49
51
  __exportStar(require("./FilesResponse"), exports);
@@ -4,15 +4,18 @@
4
4
  import * as serializers from "../../../index";
5
5
  import * as Airtop from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
+ import { SessionsEventsResponseCaptchaEvent } from "./SessionsEventsResponseCaptchaEvent";
7
8
  import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
8
9
  import { SessionsEventsResponseError } from "./SessionsEventsResponseError";
9
10
  import { SessionsEventsResponseWindowEvent } from "./SessionsEventsResponseWindowEvent";
10
11
  import { SessionsEventsResponseSessionEvent } from "./SessionsEventsResponseSessionEvent";
11
12
  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.Status | SessionsEventsResponse.Error | SessionsEventsResponse.WindowEvent | SessionsEventsResponse.SessionEvent | SessionsEventsResponse.FileEvent | SessionsEventsResponse.CaptchaEvent;
15
+ type Raw = SessionsEventsResponse.CaptchaEvent | SessionsEventsResponse.Status | SessionsEventsResponse.Error | SessionsEventsResponse.WindowEvent | SessionsEventsResponse.SessionEvent | SessionsEventsResponse.FileEvent;
16
+ interface CaptchaEvent extends SessionsEventsResponseCaptchaEvent.Raw {
17
+ event: "captchaEvent";
18
+ }
16
19
  interface Status extends SessionsEventsResponseStatus.Raw {
17
20
  event: "status";
18
21
  }
@@ -28,7 +31,4 @@ export declare namespace SessionsEventsResponse {
28
31
  interface FileEvent extends SessionsEventsResponseFileEvent.Raw {
29
32
  event: "fileEvent";
30
33
  }
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 SessionsEventsResponseCaptchaEvent_1 = require("./SessionsEventsResponseCaptchaEvent");
41
42
  const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
42
43
  const SessionsEventsResponseError_1 = require("./SessionsEventsResponseError");
43
44
  const SessionsEventsResponseWindowEvent_1 = require("./SessionsEventsResponseWindowEvent");
44
45
  const SessionsEventsResponseSessionEvent_1 = require("./SessionsEventsResponseSessionEvent");
45
46
  const SessionsEventsResponseFileEvent_1 = require("./SessionsEventsResponseFileEvent");
46
- const SessionsEventsResponseCaptchaEvent_1 = require("./SessionsEventsResponseCaptchaEvent");
47
47
  exports.SessionsEventsResponse = core.serialization
48
48
  .union("event", {
49
+ captchaEvent: SessionsEventsResponseCaptchaEvent_1.SessionsEventsResponseCaptchaEvent,
49
50
  status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
50
51
  error: SessionsEventsResponseError_1.SessionsEventsResponseError,
51
52
  windowEvent: SessionsEventsResponseWindowEvent_1.SessionsEventsResponseWindowEvent,
52
53
  sessionEvent: SessionsEventsResponseSessionEvent_1.SessionsEventsResponseSessionEvent,
53
54
  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 "./SessionsEventsResponseCaptchaEvent";
2
3
  export * from "./SessionsEventsResponseStatus";
3
4
  export * from "./SessionsEventsResponseError";
4
5
  export * from "./SessionsEventsResponseWindowEvent";
5
6
  export * from "./SessionsEventsResponseSessionEvent";
6
7
  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("./SessionsEventsResponseCaptchaEvent"), exports);
18
19
  __exportStar(require("./SessionsEventsResponseStatus"), exports);
19
20
  __exportStar(require("./SessionsEventsResponseError"), exports);
20
21
  __exportStar(require("./SessionsEventsResponseWindowEvent"), exports);
21
22
  __exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
22
23
  __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,23 @@
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 AsyncFileInputRequest: core.serialization.Schema<serializers.AsyncFileInputRequest.Raw, Airtop.AsyncFileInputRequest>;
10
+ export declare namespace AsyncFileInputRequest {
11
+ interface Raw {
12
+ async?: AsyncConfig.Raw | null;
13
+ clientRequestId?: string | null;
14
+ configuration?: MicroInteractionConfigWithExperimental.Raw | null;
15
+ costThresholdCredits?: number | null;
16
+ elementDescription?: string | null;
17
+ fileId?: string | null;
18
+ fileName?: string | null;
19
+ includeHiddenElements?: boolean | null;
20
+ timeThresholdSeconds?: number | null;
21
+ waitForNavigation?: boolean | null;
22
+ }
23
+ }
@@ -0,0 +1,54 @@
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.AsyncFileInputRequest = void 0;
40
+ const core = __importStar(require("../../../../../core"));
41
+ const AsyncConfig_1 = require("../../../../types/AsyncConfig");
42
+ const MicroInteractionConfigWithExperimental_1 = require("../../../../types/MicroInteractionConfigWithExperimental");
43
+ exports.AsyncFileInputRequest = 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().optional(),
49
+ fileId: core.serialization.string().optional(),
50
+ fileName: core.serialization.string().optional(),
51
+ includeHiddenElements: core.serialization.boolean().optional(),
52
+ timeThresholdSeconds: core.serialization.number().optional(),
53
+ waitForNavigation: core.serialization.boolean().optional(),
54
+ });
@@ -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
+ });