@airtop/sdk 0.1.13 → 0.1.15-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 (271) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +7 -2
  3. package/README.md +8 -6
  4. package/api/resources/index.d.ts +1 -0
  5. package/api/resources/index.js +2 -1
  6. package/api/resources/profiles/client/Client.d.ts +0 -10
  7. package/api/resources/profiles/client/Client.js +2 -82
  8. package/api/resources/profiles/client/requests/index.d.ts +0 -1
  9. package/api/resources/requests/client/Client.d.ts +34 -0
  10. package/api/resources/requests/client/Client.js +115 -0
  11. package/api/resources/requests/client/index.d.ts +1 -0
  12. package/api/resources/requests/client/index.js +2 -0
  13. package/api/resources/requests/index.d.ts +1 -0
  14. package/api/resources/requests/index.js +17 -0
  15. package/api/resources/sessions/client/Client.js +12 -12
  16. package/api/resources/windows/client/Client.d.ts +148 -0
  17. package/api/resources/windows/client/Client.js +737 -24
  18. package/api/resources/windows/client/requests/AsyncClickRequest.d.ts +29 -0
  19. package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +25 -0
  20. package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +27 -0
  21. package/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +29 -0
  22. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +25 -0
  23. package/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +29 -0
  24. package/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +23 -0
  25. package/api/resources/windows/client/requests/AsyncScreenshotRequest.js +5 -0
  26. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +25 -0
  27. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +5 -0
  28. package/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +37 -0
  29. package/api/resources/windows/client/requests/AsyncTypeRequest.js +5 -0
  30. package/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +25 -0
  31. package/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +5 -0
  32. package/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +21 -0
  33. package/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +5 -0
  34. package/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +4 -0
  35. package/api/resources/windows/client/requests/index.d.ts +11 -0
  36. package/api/types/AsyncConfig.d.ts +7 -0
  37. package/api/types/AsyncConfig.js +5 -0
  38. package/api/types/{ProfilesResponse.d.ts → AsyncSessionAiResponseEnvelope.d.ts} +2 -3
  39. package/api/types/AsyncSessionAiResponseEnvelope.js +5 -0
  40. package/api/types/BrowserWaitSelectorConfig.d.ts +11 -0
  41. package/api/types/BrowserWaitSelectorConfig.js +5 -0
  42. package/api/types/ExternalSessionAiResponseMetadata.d.ts +2 -0
  43. package/api/types/IntervalMonitorConfig.d.ts +9 -0
  44. package/api/types/IntervalMonitorConfig.js +5 -0
  45. package/api/types/MonitorConfig.d.ts +14 -0
  46. package/api/types/MonitorConfig.js +5 -0
  47. package/api/types/MonitorConfigIncludeVisualAnalysis.d.ts +12 -0
  48. package/api/types/MonitorConfigIncludeVisualAnalysis.js +11 -0
  49. package/api/types/MonitorConfigMonitorType.d.ts +11 -0
  50. package/api/types/MonitorConfigMonitorType.js +10 -0
  51. package/api/types/RequestStatusResponse.d.ts +8 -0
  52. package/api/types/RequestStatusResponse.js +5 -0
  53. package/api/types/ScreenshotConfig.d.ts +13 -0
  54. package/api/types/ScreenshotConfig.js +5 -0
  55. package/api/types/ScreenshotMetadata.d.ts +7 -0
  56. package/api/types/ScreenshotMetadata.js +5 -0
  57. package/api/types/ScreenshotRequestConfig.d.ts +8 -0
  58. package/api/types/ScreenshotRequestConfig.js +5 -0
  59. package/api/types/VisualAnalysisConfig.d.ts +5 -1
  60. package/api/types/VisualAnalysisConfigScope.d.ts +4 -2
  61. package/api/types/VisualAnalysisConfigScope.js +2 -0
  62. package/api/types/index.d.ts +11 -2
  63. package/api/types/index.js +11 -2
  64. package/dist/Client.d.ts +3 -0
  65. package/dist/Client.js +7 -2
  66. package/dist/api/resources/index.d.ts +1 -0
  67. package/dist/api/resources/index.js +2 -1
  68. package/dist/api/resources/profiles/client/Client.d.ts +0 -10
  69. package/dist/api/resources/profiles/client/Client.js +2 -82
  70. package/dist/api/resources/profiles/client/requests/index.d.ts +0 -1
  71. package/dist/api/resources/requests/client/Client.d.ts +34 -0
  72. package/dist/api/resources/requests/client/Client.js +115 -0
  73. package/dist/api/resources/requests/client/index.d.ts +1 -0
  74. package/dist/api/resources/requests/client/index.js +2 -0
  75. package/dist/api/resources/requests/index.d.ts +1 -0
  76. package/dist/api/resources/requests/index.js +17 -0
  77. package/dist/api/resources/sessions/client/Client.js +12 -12
  78. package/dist/api/resources/windows/client/Client.d.ts +148 -0
  79. package/dist/api/resources/windows/client/Client.js +737 -24
  80. package/dist/api/resources/windows/client/requests/AsyncClickRequest.d.ts +29 -0
  81. package/dist/api/resources/windows/client/requests/AsyncClickRequest.js +5 -0
  82. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +25 -0
  83. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.js +5 -0
  84. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +27 -0
  85. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.js +5 -0
  86. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +29 -0
  87. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.js +5 -0
  88. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +25 -0
  89. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +5 -0
  90. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +29 -0
  91. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.js +5 -0
  92. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +23 -0
  93. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.js +5 -0
  94. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +25 -0
  95. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +5 -0
  96. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +37 -0
  97. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.js +5 -0
  98. package/dist/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +25 -0
  99. package/dist/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +5 -0
  100. package/dist/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +21 -0
  101. package/dist/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +5 -0
  102. package/dist/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +4 -0
  103. package/dist/api/resources/windows/client/requests/index.d.ts +11 -0
  104. package/dist/api/types/AsyncConfig.d.ts +7 -0
  105. package/dist/api/types/AsyncConfig.js +5 -0
  106. package/dist/api/types/{ProfilesResponse.d.ts → AsyncSessionAiResponseEnvelope.d.ts} +2 -3
  107. package/dist/api/types/AsyncSessionAiResponseEnvelope.js +5 -0
  108. package/dist/api/types/BrowserWaitSelectorConfig.d.ts +11 -0
  109. package/dist/api/types/BrowserWaitSelectorConfig.js +5 -0
  110. package/dist/api/types/ExternalSessionAiResponseMetadata.d.ts +2 -0
  111. package/dist/api/types/IntervalMonitorConfig.d.ts +9 -0
  112. package/dist/api/types/IntervalMonitorConfig.js +5 -0
  113. package/dist/api/types/MonitorConfig.d.ts +14 -0
  114. package/dist/api/types/MonitorConfig.js +5 -0
  115. package/dist/api/types/MonitorConfigIncludeVisualAnalysis.d.ts +12 -0
  116. package/dist/api/types/MonitorConfigIncludeVisualAnalysis.js +11 -0
  117. package/dist/api/types/MonitorConfigMonitorType.d.ts +11 -0
  118. package/dist/api/types/MonitorConfigMonitorType.js +10 -0
  119. package/dist/api/types/RequestStatusResponse.d.ts +8 -0
  120. package/dist/api/types/RequestStatusResponse.js +5 -0
  121. package/dist/api/types/ScreenshotConfig.d.ts +13 -0
  122. package/dist/api/types/ScreenshotConfig.js +5 -0
  123. package/dist/api/types/ScreenshotMetadata.d.ts +7 -0
  124. package/dist/api/types/ScreenshotMetadata.js +5 -0
  125. package/dist/api/types/ScreenshotRequestConfig.d.ts +8 -0
  126. package/dist/api/types/ScreenshotRequestConfig.js +5 -0
  127. package/dist/api/types/VisualAnalysisConfig.d.ts +5 -1
  128. package/dist/api/types/VisualAnalysisConfigScope.d.ts +4 -2
  129. package/dist/api/types/VisualAnalysisConfigScope.js +2 -0
  130. package/dist/api/types/index.d.ts +11 -2
  131. package/dist/api/types/index.js +11 -2
  132. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +20 -0
  133. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.js +41 -0
  134. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +19 -0
  135. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js +40 -0
  136. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +20 -0
  137. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +41 -0
  138. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +20 -0
  139. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +41 -0
  140. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +19 -0
  141. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +40 -0
  142. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +20 -0
  143. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +41 -0
  144. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +18 -0
  145. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +39 -0
  146. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +19 -0
  147. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +40 -0
  148. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +24 -0
  149. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +45 -0
  150. package/dist/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +18 -0
  151. package/dist/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +39 -0
  152. package/dist/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +16 -0
  153. package/dist/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +37 -0
  154. package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +2 -0
  155. package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +2 -0
  156. package/dist/serialization/resources/windows/client/requests/index.d.ts +11 -0
  157. package/dist/serialization/resources/windows/client/requests/index.js +23 -1
  158. package/dist/serialization/types/AsyncConfig.d.ts +12 -0
  159. package/dist/serialization/types/{ExternalProfileV1.js → AsyncConfig.js} +3 -5
  160. package/dist/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +15 -0
  161. package/dist/serialization/types/{ProfilesResponse.js → AsyncSessionAiResponseEnvelope.js} +3 -6
  162. package/dist/serialization/types/BrowserWaitSelectorConfig.d.ts +14 -0
  163. package/dist/serialization/types/BrowserWaitSelectorConfig.js +35 -0
  164. package/dist/serialization/types/ExternalSessionAiResponseMetadata.d.ts +2 -0
  165. package/dist/serialization/types/ExternalSessionAiResponseMetadata.js +2 -0
  166. package/dist/serialization/types/IntervalMonitorConfig.d.ts +13 -0
  167. package/{serialization/types/ExternalProfileV1.js → dist/serialization/types/IntervalMonitorConfig.js} +4 -5
  168. package/dist/serialization/types/MonitorConfig.d.ts +19 -0
  169. package/dist/serialization/types/MonitorConfig.js +40 -0
  170. package/dist/serialization/types/MonitorConfigIncludeVisualAnalysis.d.ts +10 -0
  171. package/dist/serialization/types/MonitorConfigIncludeVisualAnalysis.js +31 -0
  172. package/dist/serialization/types/MonitorConfigMonitorType.d.ts +10 -0
  173. package/dist/serialization/types/MonitorConfigMonitorType.js +31 -0
  174. package/dist/serialization/types/RequestStatusResponse.d.ts +13 -0
  175. package/dist/serialization/types/RequestStatusResponse.js +34 -0
  176. package/dist/serialization/types/ScreenshotConfig.d.ts +15 -0
  177. package/dist/serialization/types/ScreenshotConfig.js +36 -0
  178. package/dist/serialization/types/ScreenshotMetadata.d.ts +12 -0
  179. package/dist/serialization/types/ScreenshotMetadata.js +33 -0
  180. package/dist/serialization/types/ScreenshotRequestConfig.d.ts +13 -0
  181. package/dist/serialization/types/ScreenshotRequestConfig.js +34 -0
  182. package/dist/serialization/types/VisualAnalysisConfig.d.ts +2 -0
  183. package/dist/serialization/types/VisualAnalysisConfig.js +2 -0
  184. package/dist/serialization/types/VisualAnalysisConfigScope.d.ts +1 -1
  185. package/dist/serialization/types/VisualAnalysisConfigScope.js +1 -1
  186. package/dist/serialization/types/index.d.ts +11 -2
  187. package/dist/serialization/types/index.js +11 -2
  188. package/dist/utils/index.d.ts +1 -0
  189. package/dist/utils/index.js +1 -0
  190. package/dist/utils/process-screenshots.d.ts +10 -0
  191. package/dist/utils/process-screenshots.js +59 -0
  192. package/dist/wrapper/AirtopWindows.d.ts +10 -0
  193. package/dist/wrapper/AirtopWindows.js +17 -0
  194. package/package.json +1 -1
  195. package/reference.md +982 -48
  196. package/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +20 -0
  197. package/serialization/resources/windows/client/requests/AsyncClickRequest.js +41 -0
  198. package/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +19 -0
  199. package/serialization/resources/windows/client/requests/AsyncHoverRequest.js +40 -0
  200. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +20 -0
  201. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +41 -0
  202. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +20 -0
  203. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +41 -0
  204. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +19 -0
  205. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +40 -0
  206. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +20 -0
  207. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +41 -0
  208. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +18 -0
  209. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +39 -0
  210. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +19 -0
  211. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +40 -0
  212. package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +24 -0
  213. package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +45 -0
  214. package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +18 -0
  215. package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +39 -0
  216. package/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +16 -0
  217. package/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +37 -0
  218. package/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +2 -0
  219. package/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +2 -0
  220. package/serialization/resources/windows/client/requests/index.d.ts +11 -0
  221. package/serialization/resources/windows/client/requests/index.js +23 -1
  222. package/serialization/types/AsyncConfig.d.ts +12 -0
  223. package/serialization/types/AsyncConfig.js +33 -0
  224. package/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +15 -0
  225. package/serialization/types/{ProfilesResponse.js → AsyncSessionAiResponseEnvelope.js} +3 -6
  226. package/serialization/types/BrowserWaitSelectorConfig.d.ts +14 -0
  227. package/serialization/types/BrowserWaitSelectorConfig.js +35 -0
  228. package/serialization/types/ExternalSessionAiResponseMetadata.d.ts +2 -0
  229. package/serialization/types/ExternalSessionAiResponseMetadata.js +2 -0
  230. package/serialization/types/IntervalMonitorConfig.d.ts +13 -0
  231. package/serialization/types/IntervalMonitorConfig.js +34 -0
  232. package/serialization/types/MonitorConfig.d.ts +19 -0
  233. package/serialization/types/MonitorConfig.js +40 -0
  234. package/serialization/types/MonitorConfigIncludeVisualAnalysis.d.ts +10 -0
  235. package/serialization/types/MonitorConfigIncludeVisualAnalysis.js +31 -0
  236. package/serialization/types/MonitorConfigMonitorType.d.ts +10 -0
  237. package/serialization/types/MonitorConfigMonitorType.js +31 -0
  238. package/serialization/types/RequestStatusResponse.d.ts +13 -0
  239. package/serialization/types/RequestStatusResponse.js +34 -0
  240. package/serialization/types/ScreenshotConfig.d.ts +15 -0
  241. package/serialization/types/ScreenshotConfig.js +36 -0
  242. package/serialization/types/ScreenshotMetadata.d.ts +12 -0
  243. package/serialization/types/ScreenshotMetadata.js +33 -0
  244. package/serialization/types/ScreenshotRequestConfig.d.ts +13 -0
  245. package/serialization/types/ScreenshotRequestConfig.js +34 -0
  246. package/serialization/types/VisualAnalysisConfig.d.ts +2 -0
  247. package/serialization/types/VisualAnalysisConfig.js +2 -0
  248. package/serialization/types/VisualAnalysisConfigScope.d.ts +1 -1
  249. package/serialization/types/VisualAnalysisConfigScope.js +1 -1
  250. package/serialization/types/index.d.ts +11 -2
  251. package/serialization/types/index.js +11 -2
  252. package/utils/index.d.ts +1 -0
  253. package/utils/index.js +1 -0
  254. package/utils/process-screenshots.d.ts +10 -0
  255. package/utils/process-screenshots.js +59 -0
  256. package/wrapper/AirtopWindows.d.ts +10 -0
  257. package/wrapper/AirtopWindows.js +17 -0
  258. package/api/resources/profiles/client/requests/ProfilesGetRequest.d.ts +0 -17
  259. package/api/types/ExternalProfileV1.d.ts +0 -11
  260. package/dist/api/resources/profiles/client/requests/ProfilesGetRequest.d.ts +0 -17
  261. package/dist/api/types/ExternalProfileV1.d.ts +0 -11
  262. package/dist/serialization/types/ExternalProfileV1.d.ts +0 -14
  263. package/dist/serialization/types/ProfilesResponse.d.ts +0 -18
  264. package/serialization/types/ExternalProfileV1.d.ts +0 -14
  265. package/serialization/types/ProfilesResponse.d.ts +0 -18
  266. /package/api/resources/{profiles/client/requests/ProfilesGetRequest.js → windows/client/requests/AsyncClickRequest.js} +0 -0
  267. /package/api/{types/ExternalProfileV1.js → resources/windows/client/requests/AsyncHoverRequest.js} +0 -0
  268. /package/api/{types/ProfilesResponse.js → resources/windows/client/requests/AsyncMonitorRequest.js} +0 -0
  269. /package/{dist/api/resources/profiles/client/requests/ProfilesGetRequest.js → api/resources/windows/client/requests/AsyncPageQueryRequest.js} +0 -0
  270. /package/{dist/api/types/ExternalProfileV1.js → api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js} +0 -0
  271. /package/{dist/api/types/ProfilesResponse.js → api/resources/windows/client/requests/AsyncPromptContentRequest.js} +0 -0
@@ -0,0 +1,29 @@
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
+ * elementDescription: "The login button"
9
+ * }
10
+ */
11
+ export interface AsyncClickRequest {
12
+ /** Async configuration options. */
13
+ async?: Airtop.AsyncConfig;
14
+ clientRequestId?: string;
15
+ /** Request configuration */
16
+ configuration?: Airtop.ClickConfig;
17
+ /** 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). */
18
+ costThresholdCredits?: number;
19
+ /** A natural language description of the element to click. */
20
+ elementDescription: string;
21
+ /**
22
+ * 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).
23
+ *
24
+ * This setting does not extend the maximum session duration provided at the time of session creation.
25
+ */
26
+ timeThresholdSeconds?: number;
27
+ /** If true, Airtop AI will wait for the navigation to complete after clicking the element. */
28
+ waitForNavigation?: boolean;
29
+ }
@@ -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,25 @@
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 AsyncHoverRequest {
10
+ /** Async configuration options. */
11
+ async?: Airtop.AsyncConfig;
12
+ clientRequestId?: string;
13
+ /** Request configuration */
14
+ configuration?: Airtop.MicroInteractionConfig;
15
+ /** 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). */
16
+ costThresholdCredits?: number;
17
+ /** A natural language description of where to hover (e.g. 'the search box', 'username field'). The interaction will be aborted if the target element cannot be found. */
18
+ elementDescription?: string;
19
+ /**
20
+ * 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).
21
+ *
22
+ * This setting does not extend the maximum session duration provided at the time of session creation.
23
+ */
24
+ timeThresholdSeconds?: number;
25
+ }
@@ -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,27 @@
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 AsyncMonitorRequest {
10
+ /** Async configuration options. */
11
+ async?: Airtop.AsyncConfig;
12
+ clientRequestId?: string;
13
+ /** A natural language description of the condition to monitor for in the browser window. Required when monitorType is 'interval'. */
14
+ condition?: string;
15
+ /** Monitor configuration. If not specified, defaults to an interval monitor with a 5 second interval. */
16
+ configuration?: Airtop.MonitorConfig;
17
+ /** 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). */
18
+ costThresholdCredits?: number;
19
+ /** The selector to wait for. Required when monitorType is 'selector'. */
20
+ selector?: string;
21
+ /**
22
+ * 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).
23
+ *
24
+ * This setting does not extend the maximum session duration provided at the time of session creation.
25
+ */
26
+ timeThresholdSeconds?: number;
27
+ }
@@ -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,29 @@
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
+ * prompt: "What is the main idea of this page?"
9
+ * }
10
+ */
11
+ export interface AsyncPageQueryRequest {
12
+ /** Async configuration options. */
13
+ async?: Airtop.AsyncConfig;
14
+ clientRequestId?: string;
15
+ /** Request configuration */
16
+ configuration?: Airtop.PageQueryConfig;
17
+ /** 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). */
18
+ costThresholdCredits?: number;
19
+ /** Make a best effort attempt to load more content items than are originally displayed on the page, e.g. by following pagination links, clicking controls to load more content, utilizing infinite scrolling, etc. This can be quite a bit more costly, but may be necessary for sites that require additional interaction to show the needed results. You can provide constraints in your prompt (e.g. on the total number of pages or results to consider). */
20
+ followPaginationLinks?: boolean;
21
+ /** The prompt to submit about the content in the browser window. */
22
+ prompt: string;
23
+ /**
24
+ * 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).
25
+ *
26
+ * This setting does not extend the maximum session duration provided at the time of session creation.
27
+ */
28
+ timeThresholdSeconds?: number;
29
+ }
@@ -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,25 @@
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 AsyncPaginatedExtractionRequest {
10
+ /** Async configuration options. */
11
+ async?: Airtop.AsyncConfig;
12
+ clientRequestId?: string;
13
+ /** Request configuration */
14
+ configuration?: Airtop.PaginatedExtractionConfig;
15
+ /** 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). */
16
+ costThresholdCredits?: number;
17
+ /** A prompt providing the Airtop AI model with additional direction or constraints about the page and the details you want to extract from the page. */
18
+ prompt?: string;
19
+ /**
20
+ * 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).
21
+ *
22
+ * This setting does not extend the maximum session duration provided at the time of session creation.
23
+ */
24
+ timeThresholdSeconds?: number;
25
+ }
@@ -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,29 @@
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
+ * prompt: "What is the main idea of this page?"
9
+ * }
10
+ */
11
+ export interface AsyncPromptContentRequest {
12
+ /** Async configuration options. */
13
+ async?: Airtop.AsyncConfig;
14
+ clientRequestId?: string;
15
+ /** Request configuration */
16
+ configuration?: Airtop.PageQueryConfig;
17
+ /** 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). */
18
+ costThresholdCredits?: number;
19
+ /** Make a best effort attempt to load more content items than are originally displayed on the page, e.g. by following pagination links, clicking controls to load more content, utilizing infinite scrolling, etc. This can be quite a bit more costly, but may be necessary for sites that require additional interaction to show the needed results. You can provide constraints in your prompt (e.g. on the total number of pages or results to consider). */
20
+ followPaginationLinks?: boolean;
21
+ /** The prompt to submit about the content in the browser window. */
22
+ prompt: string;
23
+ /**
24
+ * 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).
25
+ *
26
+ * This setting does not extend the maximum session duration provided at the time of session creation.
27
+ */
28
+ timeThresholdSeconds?: number;
29
+ }
@@ -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,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 AsyncScreenshotRequest {
10
+ /** Async configuration options. */
11
+ async?: Airtop.AsyncConfig;
12
+ clientRequestId?: string;
13
+ /** Request configuration */
14
+ configuration?: Airtop.ScreenshotRequestConfig;
15
+ /** 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). */
16
+ costThresholdCredits?: number;
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 });
@@ -0,0 +1,25 @@
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 AsyncSummarizeContentRequest {
10
+ /** Async configuration options. */
11
+ async?: Airtop.AsyncConfig;
12
+ clientRequestId?: string;
13
+ /** Request configuration */
14
+ configuration?: Airtop.SummaryConfig;
15
+ /** 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). */
16
+ costThresholdCredits?: number;
17
+ /** An optional prompt providing the Airtop AI model with additional direction or constraints about the summary (such as desired length). */
18
+ prompt?: string;
19
+ /**
20
+ * 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).
21
+ *
22
+ * This setting does not extend the maximum session duration provided at the time of session creation.
23
+ */
24
+ timeThresholdSeconds?: number;
25
+ }
@@ -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,37 @@
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
+ * text: "Example text"
9
+ * }
10
+ */
11
+ export interface AsyncTypeRequest {
12
+ /** Async configuration options. */
13
+ async?: Airtop.AsyncConfig;
14
+ /** If true, and an HTML input field is active, clears the input field before typing the text. */
15
+ clearInputField?: boolean;
16
+ clientRequestId?: string;
17
+ /** Request configuration */
18
+ configuration?: Airtop.MicroInteractionConfig;
19
+ /** 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). */
20
+ costThresholdCredits?: number;
21
+ /** A natural language description of where to type (e.g. 'the search box', 'username field'). The interaction will be aborted if the target element cannot be found. */
22
+ elementDescription?: string;
23
+ /** If true, simulates pressing the Enter key after typing the text. */
24
+ pressEnterKey?: boolean;
25
+ /** If true, simulates pressing the Tab key after typing the text. Note that the tab key will be pressed after the Enter key if both options are configured. */
26
+ pressTabKey?: boolean;
27
+ /** The text to type into the browser window. */
28
+ text: string;
29
+ /**
30
+ * 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).
31
+ *
32
+ * This setting does not extend the maximum session duration provided at the time of session creation.
33
+ */
34
+ timeThresholdSeconds?: number;
35
+ /** If true, Airtop AI will wait for the navigation to complete after clicking the element. */
36
+ waitForNavigation?: boolean;
37
+ }
@@ -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,25 @@
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 SessionMonitorHandlerRequestBody {
10
+ clientRequestId?: string;
11
+ /** A natural language description of the condition to monitor for in the browser window. Required when monitorType is 'interval'. */
12
+ condition?: string;
13
+ /** Monitor configuration. If not specified, defaults to an interval monitor with a 5 second interval. */
14
+ configuration?: Airtop.MonitorConfig;
15
+ /** 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). */
16
+ costThresholdCredits?: number;
17
+ /** The selector to wait for. Required when monitorType is 'selector'. */
18
+ selector?: string;
19
+ /**
20
+ * 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).
21
+ *
22
+ * This setting does not extend the maximum session duration provided at the time of session creation.
23
+ */
24
+ timeThresholdSeconds?: number;
25
+ }
@@ -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,21 @@
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 SessionScreenshotHandlerRequestBody {
10
+ clientRequestId?: string;
11
+ /** Request configuration */
12
+ configuration?: Airtop.ScreenshotRequestConfig;
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
+ /**
16
+ * 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).
17
+ *
18
+ * This setting does not extend the maximum session duration provided at the time of session creation.
19
+ */
20
+ timeThresholdSeconds?: number;
21
+ }
@@ -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 });
@@ -9,6 +9,8 @@ import * as Airtop from "../../../../index";
9
9
  * }
10
10
  */
11
11
  export interface SessionTypeHandlerRequestBody {
12
+ /** If true, and an HTML input field is active, clears the input field before typing the text. */
13
+ clearInputField?: boolean;
12
14
  clientRequestId?: string;
13
15
  /** Request configuration */
14
16
  configuration?: Airtop.MicroInteractionConfig;
@@ -18,6 +20,8 @@ export interface SessionTypeHandlerRequestBody {
18
20
  elementDescription?: string;
19
21
  /** If true, simulates pressing the Enter key after typing the text. */
20
22
  pressEnterKey?: boolean;
23
+ /** If true, simulates pressing the Tab key after typing the text. Note that the tab key will be pressed after the Enter key if both options are configured. */
24
+ pressTabKey?: boolean;
21
25
  /** The text to type into the browser window. */
22
26
  text: string;
23
27
  /**
@@ -1,9 +1,20 @@
1
+ export { type AsyncClickRequest } from "./AsyncClickRequest";
2
+ export { type AsyncHoverRequest } from "./AsyncHoverRequest";
3
+ export { type AsyncMonitorRequest } from "./AsyncMonitorRequest";
4
+ export { type AsyncPageQueryRequest } from "./AsyncPageQueryRequest";
5
+ export { type AsyncPaginatedExtractionRequest } from "./AsyncPaginatedExtractionRequest";
6
+ export { type AsyncPromptContentRequest } from "./AsyncPromptContentRequest";
7
+ export { type AsyncScreenshotRequest } from "./AsyncScreenshotRequest";
8
+ export { type AsyncSummarizeContentRequest } from "./AsyncSummarizeContentRequest";
9
+ export { type AsyncTypeRequest } from "./AsyncTypeRequest";
1
10
  export { type CreateWindowInputV1Body } from "./CreateWindowInputV1Body";
2
11
  export { type GetWindowInfoRequest } from "./GetWindowInfoRequest";
3
12
  export { type WindowLoadUrlV1Body } from "./WindowLoadUrlV1Body";
4
13
  export { type SessionClickHandlerRequestBody } from "./SessionClickHandlerRequestBody";
5
14
  export { type SessionHoverHandlerRequestBody } from "./SessionHoverHandlerRequestBody";
15
+ export { type SessionMonitorHandlerRequestBody } from "./SessionMonitorHandlerRequestBody";
6
16
  export { type SessionPaginatedExtractionHandlerRequestBody } from "./SessionPaginatedExtractionHandlerRequestBody";
7
17
  export { type ScrapeContentRequest } from "./ScrapeContentRequest";
18
+ export { type SessionScreenshotHandlerRequestBody } from "./SessionScreenshotHandlerRequestBody";
8
19
  export { type SessionSummaryHandlerRequestBody } from "./SessionSummaryHandlerRequestBody";
9
20
  export { type SessionTypeHandlerRequestBody } from "./SessionTypeHandlerRequestBody";
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface AsyncConfig {
5
+ /** The URL to send the response to when the request is complete. */
6
+ webhookUrl?: 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 });
@@ -2,9 +2,8 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Airtop from "../index";
5
- export interface ProfilesResponse {
6
- data?: Airtop.ExternalProfileV1[];
5
+ export interface AsyncSessionAiResponseEnvelope {
7
6
  errors?: Airtop.Issue[];
8
- meta: Airtop.EnvelopeDefaultMeta;
7
+ requestId: string;
9
8
  warnings?: Airtop.Issue[];
10
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,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface BrowserWaitSelectorConfig {
5
+ /** If true, Airtop AI will wait for the element to not be in the DOM or to be hidden. */
6
+ hidden?: boolean;
7
+ /** The maximum time to wait for the selector to be present, in seconds. Defaults to 30 (30 seconds). */
8
+ timeoutSeconds?: number;
9
+ /** If true, Airtop AI will wait for the element to be visible and present in the DOM. */
10
+ visible?: boolean;
11
+ }
@@ -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 });
@@ -5,6 +5,8 @@ import * as Airtop from "../index";
5
5
  export interface ExternalSessionAiResponseMetadata {
6
6
  clientProvided?: Airtop.ClientProvidedResponseMetadata;
7
7
  requestId?: string;
8
+ /** Array containing any requested screenshots from the operation. */
9
+ screenshots?: Airtop.ScreenshotMetadata[];
8
10
  /** Outcome of the operation. */
9
11
  status: Airtop.ExternalSessionAiResponseMetadataStatus;
10
12
  usage: Airtop.ExternalSessionAiResponseMetadataUsage;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface IntervalMonitorConfig {
5
+ /** The interval in seconds between condition checks. Only used when monitorType is 'interval'. */
6
+ intervalSeconds?: number;
7
+ /** The timeout in seconds after which the monitor will stop checking the condition. */
8
+ timeoutSeconds?: number;
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,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../index";
5
+ export interface MonitorConfig {
6
+ /** If set to 'enabled', Airtop AI will also analyze the web page visually when executing the condition check. If set to 'disabled', no visual analysis will be conducted. */
7
+ includeVisualAnalysis?: Airtop.MonitorConfigIncludeVisualAnalysis;
8
+ /** Configuration for the interval monitor. Only used when monitorType is 'interval'. */
9
+ interval?: Airtop.IntervalMonitorConfig;
10
+ /** Configuration for the browser wait selector. */
11
+ monitorSelectorOptions?: Airtop.BrowserWaitSelectorConfig;
12
+ /** The type of monitoring to perform. Interval executes the condition check at a regular, specified interval. Selector waits for a selector to be present before completing. */
13
+ monitorType: Airtop.MonitorConfigMonitorType;
14
+ }
@@ -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,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * If set to 'enabled', Airtop AI will also analyze the web page visually when executing the condition check. If set to 'disabled', no visual analysis will be conducted.
6
+ */
7
+ export declare type MonitorConfigIncludeVisualAnalysis = "auto" | "disabled" | "enabled";
8
+ export declare const MonitorConfigIncludeVisualAnalysis: {
9
+ readonly Auto: "auto";
10
+ readonly Disabled: "disabled";
11
+ readonly Enabled: "enabled";
12
+ };
@@ -0,0 +1,11 @@
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.MonitorConfigIncludeVisualAnalysis = void 0;
7
+ exports.MonitorConfigIncludeVisualAnalysis = {
8
+ Auto: "auto",
9
+ Disabled: "disabled",
10
+ Enabled: "enabled",
11
+ };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The type of monitoring to perform. Interval executes the condition check at a regular, specified interval. Selector waits for a selector to be present before completing.
6
+ */
7
+ export declare type MonitorConfigMonitorType = "interval" | "selector";
8
+ export declare const MonitorConfigMonitorType: {
9
+ readonly Interval: "interval";
10
+ readonly Selector: "selector";
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.MonitorConfigMonitorType = void 0;
7
+ exports.MonitorConfigMonitorType = {
8
+ Interval: "interval",
9
+ Selector: "selector",
10
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface RequestStatusResponse {
5
+ response?: unknown;
6
+ /** The current status of the request (pending, completed, error) */
7
+ status: string;
8
+ }
@@ -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,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ScreenshotConfig {
5
+ /** Maximum height of the screenshot in pixels. The screenshot will be scaled down to fit within this height if necessary, preserving the aspect ratio. */
6
+ maxHeight?: number;
7
+ /** Maximum width of the screenshot in pixels. The screenshot will be scaled down to fit within this width if necessary, preserving the aspect ratio. */
8
+ maxWidth?: number;
9
+ /** JPEG quality (1-100). Note that this option is still in development and may not work as expected. */
10
+ quality?: number;
11
+ /** Whether to capture the current viewport or whole page. Only viewport is currently supported. */
12
+ scope?: "viewport";
13
+ }
@@ -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 });