@airtop/sdk 0.1.31-beta1 → 0.1.31

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 (315) hide show
  1. package/Client.d.ts +0 -6
  2. package/Client.js +6 -16
  3. package/README.md +6 -8
  4. package/api/errors/index.d.ts +0 -2
  5. package/api/errors/index.js +0 -2
  6. package/api/resources/index.d.ts +0 -3
  7. package/api/resources/index.js +1 -4
  8. package/api/resources/profiles/client/Client.js +2 -2
  9. package/api/resources/requests/client/Client.js +2 -2
  10. package/api/resources/sessions/client/Client.d.ts +0 -9
  11. package/api/resources/sessions/client/Client.js +12 -65
  12. package/api/resources/sessions/types/SessionsEventsResponse.d.ts +7 -7
  13. package/api/resources/sessions/types/index.d.ts +2 -2
  14. package/api/resources/sessions/types/index.js +2 -2
  15. package/api/resources/windows/client/Client.d.ts +4 -138
  16. package/api/resources/windows/client/Client.js +34 -729
  17. package/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +5 -5
  18. package/api/resources/windows/client/requests/index.d.ts +0 -11
  19. package/api/types/IntervalMonitorConfig.d.ts +1 -1
  20. package/api/types/MonitorConfig.d.ts +1 -5
  21. package/api/types/SessionConfigV1.d.ts +0 -2
  22. package/api/types/index.d.ts +0 -9
  23. package/api/types/index.js +0 -9
  24. package/dist/Client.d.ts +0 -6
  25. package/dist/Client.js +6 -16
  26. package/dist/api/errors/index.d.ts +0 -2
  27. package/dist/api/errors/index.js +0 -2
  28. package/dist/api/resources/index.d.ts +0 -3
  29. package/dist/api/resources/index.js +1 -4
  30. package/dist/api/resources/profiles/client/Client.js +2 -2
  31. package/dist/api/resources/requests/client/Client.js +2 -2
  32. package/dist/api/resources/sessions/client/Client.d.ts +0 -9
  33. package/dist/api/resources/sessions/client/Client.js +12 -65
  34. package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +7 -7
  35. package/dist/api/resources/sessions/types/index.d.ts +2 -2
  36. package/dist/api/resources/sessions/types/index.js +2 -2
  37. package/dist/api/resources/windows/client/Client.d.ts +4 -138
  38. package/dist/api/resources/windows/client/Client.js +34 -729
  39. package/dist/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +5 -5
  40. package/dist/api/resources/windows/client/requests/index.d.ts +0 -11
  41. package/dist/api/types/IntervalMonitorConfig.d.ts +1 -1
  42. package/dist/api/types/MonitorConfig.d.ts +1 -5
  43. package/dist/api/types/SessionConfigV1.d.ts +0 -2
  44. package/dist/api/types/index.d.ts +0 -9
  45. package/dist/api/types/index.js +0 -9
  46. package/dist/serialization/resources/index.d.ts +0 -2
  47. package/dist/serialization/resources/index.js +1 -3
  48. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +9 -9
  49. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +4 -4
  50. package/dist/serialization/resources/sessions/types/index.d.ts +2 -2
  51. package/dist/serialization/resources/sessions/types/index.js +2 -2
  52. package/dist/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +1 -2
  53. package/dist/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +1 -2
  54. package/dist/serialization/resources/windows/client/requests/index.d.ts +0 -11
  55. package/dist/serialization/resources/windows/client/requests/index.js +1 -23
  56. package/dist/serialization/types/MonitorConfig.d.ts +0 -4
  57. package/dist/serialization/types/MonitorConfig.js +0 -4
  58. package/dist/serialization/types/SessionConfigV1.d.ts +0 -1
  59. package/dist/serialization/types/SessionConfigV1.js +0 -1
  60. package/dist/serialization/types/index.d.ts +0 -9
  61. package/dist/serialization/types/index.js +0 -9
  62. package/dist/wrapper/AirtopClient.d.ts +0 -1
  63. package/dist/wrapper/AirtopClient.js +0 -3
  64. package/dist/wrapper/AirtopRequests.d.ts +2 -2
  65. package/dist/wrapper/AirtopRequests.js +3 -3
  66. package/dist/wrapper/AirtopWindows.d.ts +11 -11
  67. package/dist/wrapper/AirtopWindows.js +17 -17
  68. package/package.json +2 -3
  69. package/reference.md +156 -1295
  70. package/serialization/resources/index.d.ts +0 -2
  71. package/serialization/resources/index.js +1 -3
  72. package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +9 -9
  73. package/serialization/resources/sessions/types/SessionsEventsResponse.js +4 -4
  74. package/serialization/resources/sessions/types/index.d.ts +2 -2
  75. package/serialization/resources/sessions/types/index.js +2 -2
  76. package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +1 -2
  77. package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +1 -2
  78. package/serialization/resources/windows/client/requests/index.d.ts +0 -11
  79. package/serialization/resources/windows/client/requests/index.js +1 -23
  80. package/serialization/types/MonitorConfig.d.ts +0 -4
  81. package/serialization/types/MonitorConfig.js +0 -4
  82. package/serialization/types/SessionConfigV1.d.ts +0 -1
  83. package/serialization/types/SessionConfigV1.js +0 -1
  84. package/serialization/types/index.d.ts +0 -9
  85. package/serialization/types/index.js +0 -9
  86. package/wrapper/AirtopClient.d.ts +0 -1
  87. package/wrapper/AirtopClient.js +0 -3
  88. package/wrapper/AirtopRequests.d.ts +2 -2
  89. package/wrapper/AirtopRequests.js +3 -3
  90. package/wrapper/AirtopWindows.d.ts +11 -11
  91. package/wrapper/AirtopWindows.js +17 -17
  92. package/api/errors/ForbiddenError.d.ts +0 -8
  93. package/api/errors/ForbiddenError.js +0 -41
  94. package/api/errors/UnauthorizedError.d.ts +0 -8
  95. package/api/errors/UnauthorizedError.js +0 -41
  96. package/api/resources/automations/client/Client.d.ts +0 -87
  97. package/api/resources/automations/client/Client.js +0 -451
  98. package/api/resources/automations/client/index.d.ts +0 -1
  99. package/api/resources/automations/client/index.js +0 -17
  100. package/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +0 -19
  101. package/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +0 -5
  102. package/api/resources/automations/client/requests/index.d.ts +0 -1
  103. package/api/resources/automations/client/requests/index.js +0 -2
  104. package/api/resources/automations/index.d.ts +0 -1
  105. package/api/resources/automations/index.js +0 -17
  106. package/api/resources/extensionConfigurations/client/Client.d.ts +0 -40
  107. package/api/resources/extensionConfigurations/client/Client.js +0 -149
  108. package/api/resources/extensionConfigurations/client/index.d.ts +0 -1
  109. package/api/resources/extensionConfigurations/client/index.js +0 -2
  110. package/api/resources/extensionConfigurations/client/requests/ExtensionConfigurationDeleteRequest.d.ts +0 -13
  111. package/api/resources/extensionConfigurations/client/requests/ExtensionConfigurationDeleteRequest.js +0 -5
  112. package/api/resources/extensionConfigurations/client/requests/index.d.ts +0 -1
  113. package/api/resources/extensionConfigurations/client/requests/index.js +0 -2
  114. package/api/resources/extensionConfigurations/index.d.ts +0 -1
  115. package/api/resources/extensionConfigurations/index.js +0 -17
  116. package/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
  117. package/api/resources/windows/client/requests/AsyncClickRequest.js +0 -5
  118. package/api/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +0 -23
  119. package/api/resources/windows/client/requests/AsyncCreateAutomationRequest.js +0 -5
  120. package/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -27
  121. package/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -5
  122. package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
  123. package/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
  124. package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
  125. package/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
  126. package/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
  127. package/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
  128. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
  129. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
  130. package/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
  131. package/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
  132. package/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
  133. package/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
  134. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
  135. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
  136. package/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
  137. package/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
  138. package/api/types/AsyncConfig.d.ts +0 -7
  139. package/api/types/AsyncConfig.js +0 -5
  140. package/api/types/AsyncSessionAiResponseEnvelope.d.ts +0 -9
  141. package/api/types/AsyncSessionAiResponseEnvelope.js +0 -5
  142. package/api/types/AutomationOutput.d.ts +0 -10
  143. package/api/types/AutomationOutput.js +0 -5
  144. package/api/types/BrowserWaitSelectorConfig.d.ts +0 -11
  145. package/api/types/BrowserWaitSelectorConfig.js +0 -5
  146. package/api/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -4
  147. package/api/types/CreateAutomationRequestBodyConfiguration.js +0 -5
  148. package/api/types/DeleteAutomationOutputWrapperBody.d.ts +0 -4
  149. package/api/types/DeleteAutomationOutputWrapperBody.js +0 -5
  150. package/api/types/ExtensionConfigurationOutput.d.ts +0 -13
  151. package/api/types/ExtensionConfigurationOutput.js +0 -5
  152. package/api/types/ListAutomationsOutput.d.ts +0 -7
  153. package/api/types/ListAutomationsOutput.js +0 -5
  154. package/api/types/MonitorConfigMonitorType.d.ts +0 -11
  155. package/api/types/MonitorConfigMonitorType.js +0 -10
  156. package/dist/api/errors/ForbiddenError.d.ts +0 -8
  157. package/dist/api/errors/ForbiddenError.js +0 -41
  158. package/dist/api/errors/UnauthorizedError.d.ts +0 -8
  159. package/dist/api/errors/UnauthorizedError.js +0 -41
  160. package/dist/api/resources/automations/client/Client.d.ts +0 -87
  161. package/dist/api/resources/automations/client/Client.js +0 -451
  162. package/dist/api/resources/automations/client/index.d.ts +0 -1
  163. package/dist/api/resources/automations/client/index.js +0 -17
  164. package/dist/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +0 -19
  165. package/dist/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +0 -5
  166. package/dist/api/resources/automations/client/requests/index.d.ts +0 -1
  167. package/dist/api/resources/automations/client/requests/index.js +0 -2
  168. package/dist/api/resources/automations/index.d.ts +0 -1
  169. package/dist/api/resources/automations/index.js +0 -17
  170. package/dist/api/resources/extensionConfigurations/client/Client.d.ts +0 -40
  171. package/dist/api/resources/extensionConfigurations/client/Client.js +0 -149
  172. package/dist/api/resources/extensionConfigurations/client/index.d.ts +0 -1
  173. package/dist/api/resources/extensionConfigurations/client/index.js +0 -2
  174. package/dist/api/resources/extensionConfigurations/client/requests/ExtensionConfigurationDeleteRequest.d.ts +0 -13
  175. package/dist/api/resources/extensionConfigurations/client/requests/ExtensionConfigurationDeleteRequest.js +0 -5
  176. package/dist/api/resources/extensionConfigurations/client/requests/index.d.ts +0 -1
  177. package/dist/api/resources/extensionConfigurations/client/requests/index.js +0 -2
  178. package/dist/api/resources/extensionConfigurations/index.d.ts +0 -1
  179. package/dist/api/resources/extensionConfigurations/index.js +0 -17
  180. package/dist/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
  181. package/dist/api/resources/windows/client/requests/AsyncClickRequest.js +0 -5
  182. package/dist/api/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +0 -23
  183. package/dist/api/resources/windows/client/requests/AsyncCreateAutomationRequest.js +0 -5
  184. package/dist/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -27
  185. package/dist/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -5
  186. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
  187. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
  188. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
  189. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
  190. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
  191. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
  192. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
  193. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
  194. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
  195. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
  196. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
  197. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
  198. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
  199. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
  200. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
  201. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
  202. package/dist/api/types/AsyncConfig.d.ts +0 -7
  203. package/dist/api/types/AsyncConfig.js +0 -5
  204. package/dist/api/types/AsyncSessionAiResponseEnvelope.d.ts +0 -9
  205. package/dist/api/types/AsyncSessionAiResponseEnvelope.js +0 -5
  206. package/dist/api/types/AutomationOutput.d.ts +0 -10
  207. package/dist/api/types/AutomationOutput.js +0 -5
  208. package/dist/api/types/BrowserWaitSelectorConfig.d.ts +0 -11
  209. package/dist/api/types/BrowserWaitSelectorConfig.js +0 -5
  210. package/dist/api/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -4
  211. package/dist/api/types/CreateAutomationRequestBodyConfiguration.js +0 -5
  212. package/dist/api/types/DeleteAutomationOutputWrapperBody.d.ts +0 -4
  213. package/dist/api/types/DeleteAutomationOutputWrapperBody.js +0 -5
  214. package/dist/api/types/ExtensionConfigurationOutput.d.ts +0 -13
  215. package/dist/api/types/ExtensionConfigurationOutput.js +0 -5
  216. package/dist/api/types/ListAutomationsOutput.d.ts +0 -7
  217. package/dist/api/types/ListAutomationsOutput.js +0 -5
  218. package/dist/api/types/MonitorConfigMonitorType.d.ts +0 -11
  219. package/dist/api/types/MonitorConfigMonitorType.js +0 -10
  220. package/dist/serialization/resources/automations/client/index.d.ts +0 -1
  221. package/dist/serialization/resources/automations/client/index.js +0 -17
  222. package/dist/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +0 -14
  223. package/dist/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +0 -35
  224. package/dist/serialization/resources/automations/client/requests/index.d.ts +0 -1
  225. package/dist/serialization/resources/automations/client/requests/index.js +0 -5
  226. package/dist/serialization/resources/automations/index.d.ts +0 -1
  227. package/dist/serialization/resources/automations/index.js +0 -17
  228. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
  229. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -41
  230. package/dist/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +0 -18
  231. package/dist/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.js +0 -39
  232. package/dist/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -18
  233. package/dist/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -39
  234. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
  235. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -40
  236. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -20
  237. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -41
  238. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
  239. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -41
  240. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
  241. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -40
  242. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
  243. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -41
  244. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
  245. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -39
  246. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
  247. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -40
  248. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
  249. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -45
  250. package/dist/serialization/types/AsyncConfig.d.ts +0 -12
  251. package/dist/serialization/types/AsyncConfig.js +0 -33
  252. package/dist/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +0 -15
  253. package/dist/serialization/types/AsyncSessionAiResponseEnvelope.js +0 -36
  254. package/dist/serialization/types/AutomationOutput.d.ts +0 -16
  255. package/dist/serialization/types/AutomationOutput.js +0 -37
  256. package/dist/serialization/types/BrowserWaitSelectorConfig.d.ts +0 -14
  257. package/dist/serialization/types/BrowserWaitSelectorConfig.js +0 -35
  258. package/dist/serialization/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -10
  259. package/dist/serialization/types/CreateAutomationRequestBodyConfiguration.js +0 -31
  260. package/dist/serialization/types/DeleteAutomationOutputWrapperBody.d.ts +0 -10
  261. package/dist/serialization/types/DeleteAutomationOutputWrapperBody.js +0 -31
  262. package/dist/serialization/types/ExtensionConfigurationOutput.d.ts +0 -15
  263. package/dist/serialization/types/ExtensionConfigurationOutput.js +0 -36
  264. package/dist/serialization/types/ListAutomationsOutput.d.ts +0 -13
  265. package/dist/serialization/types/ListAutomationsOutput.js +0 -34
  266. package/dist/serialization/types/MonitorConfigMonitorType.d.ts +0 -10
  267. package/dist/serialization/types/MonitorConfigMonitorType.js +0 -31
  268. package/serialization/resources/automations/client/index.d.ts +0 -1
  269. package/serialization/resources/automations/client/index.js +0 -17
  270. package/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +0 -14
  271. package/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +0 -35
  272. package/serialization/resources/automations/client/requests/index.d.ts +0 -1
  273. package/serialization/resources/automations/client/requests/index.js +0 -5
  274. package/serialization/resources/automations/index.d.ts +0 -1
  275. package/serialization/resources/automations/index.js +0 -17
  276. package/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
  277. package/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -41
  278. package/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +0 -18
  279. package/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.js +0 -39
  280. package/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -18
  281. package/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -39
  282. package/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
  283. package/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -40
  284. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -20
  285. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -41
  286. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
  287. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -41
  288. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
  289. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -40
  290. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
  291. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -41
  292. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
  293. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -39
  294. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
  295. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -40
  296. package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
  297. package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -45
  298. package/serialization/types/AsyncConfig.d.ts +0 -12
  299. package/serialization/types/AsyncConfig.js +0 -33
  300. package/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +0 -15
  301. package/serialization/types/AsyncSessionAiResponseEnvelope.js +0 -36
  302. package/serialization/types/AutomationOutput.d.ts +0 -16
  303. package/serialization/types/AutomationOutput.js +0 -37
  304. package/serialization/types/BrowserWaitSelectorConfig.d.ts +0 -14
  305. package/serialization/types/BrowserWaitSelectorConfig.js +0 -35
  306. package/serialization/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -10
  307. package/serialization/types/CreateAutomationRequestBodyConfiguration.js +0 -31
  308. package/serialization/types/DeleteAutomationOutputWrapperBody.d.ts +0 -10
  309. package/serialization/types/DeleteAutomationOutputWrapperBody.js +0 -31
  310. package/serialization/types/ExtensionConfigurationOutput.d.ts +0 -15
  311. package/serialization/types/ExtensionConfigurationOutput.js +0 -36
  312. package/serialization/types/ListAutomationsOutput.d.ts +0 -13
  313. package/serialization/types/ListAutomationsOutput.js +0 -34
  314. package/serialization/types/MonitorConfigMonitorType.d.ts +0 -10
  315. package/serialization/types/MonitorConfigMonitorType.js +0 -31
@@ -4,18 +4,18 @@
4
4
  import * as Airtop from "../../../../index";
5
5
  /**
6
6
  * @example
7
- * {}
7
+ * {
8
+ * condition: "Determine if the user appears to be signed in to the website"
9
+ * }
8
10
  */
9
11
  export interface SessionMonitorHandlerRequestBody {
10
12
  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
+ /** A natural language description of the condition to monitor for in the browser window. */
14
+ condition: string;
13
15
  /** Monitor configuration. If not specified, defaults to an interval monitor with a 5 second interval. */
14
16
  configuration?: Airtop.MonitorConfig;
15
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). */
16
18
  costThresholdCredits?: number;
17
- /** The selector to wait for. Required when monitorType is 'selector'. */
18
- selector?: string;
19
19
  /**
20
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
21
  *
@@ -1,14 +1,3 @@
1
- export { type AsyncClickRequest } from "./AsyncClickRequest";
2
- export { type AsyncCreateAutomationRequest } from "./AsyncCreateAutomationRequest";
3
- export { type AsyncExecuteAutomationRequest } from "./AsyncExecuteAutomationRequest";
4
- export { type AsyncHoverRequest } from "./AsyncHoverRequest";
5
- export { type AsyncMonitorRequest } from "./AsyncMonitorRequest";
6
- export { type AsyncPageQueryRequest } from "./AsyncPageQueryRequest";
7
- export { type AsyncPaginatedExtractionRequest } from "./AsyncPaginatedExtractionRequest";
8
- export { type AsyncPromptContentRequest } from "./AsyncPromptContentRequest";
9
- export { type AsyncScreenshotRequest } from "./AsyncScreenshotRequest";
10
- export { type AsyncSummarizeContentRequest } from "./AsyncSummarizeContentRequest";
11
- export { type AsyncTypeRequest } from "./AsyncTypeRequest";
12
1
  export { type CreateWindowInputV1Body } from "./CreateWindowInputV1Body";
13
2
  export { type GetWindowInfoRequest } from "./GetWindowInfoRequest";
14
3
  export { type WindowLoadUrlV1Body } from "./WindowLoadUrlV1Body";
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface IntervalMonitorConfig {
5
- /** The interval in seconds between condition checks. Only used when monitorType is 'interval'. */
5
+ /** The interval in seconds between condition checks. */
6
6
  intervalSeconds?: number;
7
7
  /** The timeout in seconds after which the monitor will stop checking the condition. */
8
8
  timeoutSeconds?: number;
@@ -5,10 +5,6 @@ import * as Airtop from "../index";
5
5
  export interface MonitorConfig {
6
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
7
  includeVisualAnalysis?: Airtop.MonitorConfigIncludeVisualAnalysis;
8
- /** Configuration for the interval monitor. Only used when monitorType is 'interval'. */
8
+ /** Configuration for the interval monitor. */
9
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
10
  }
@@ -5,8 +5,6 @@ import * as Airtop from "../index";
5
5
  export interface SessionConfigV1 {
6
6
  /** Deprecated: Use profileName instead. */
7
7
  baseProfileId?: string;
8
- /** Google Web Store extension IDs to be loaded into the session. */
9
- extensionIds?: string[];
10
8
  /** Deprecated: use Save Profile On Termination API instead. */
11
9
  persistProfile?: boolean;
12
10
  /** Name of a profile to load into the session. */
@@ -1,22 +1,15 @@
1
1
  export * from "./AiPromptResponse";
2
2
  export * from "./AiResponseEnvelope";
3
- export * from "./AsyncConfig";
4
- export * from "./AsyncSessionAiResponseEnvelope";
5
- export * from "./AutomationOutput";
6
3
  export * from "./BrowserWaitNavigationConfigWaitUntil";
7
4
  export * from "./BrowserWaitNavigationConfig";
8
- export * from "./BrowserWaitSelectorConfig";
9
5
  export * from "./ClickConfigClickType";
10
6
  export * from "./ClickConfig";
11
7
  export * from "./ClientProvidedResponseMetadata";
12
- export * from "./CreateAutomationRequestBodyConfiguration";
13
- export * from "./DeleteAutomationOutputWrapperBody";
14
8
  export * from "./EnvelopeDefaultMeta";
15
9
  export * from "./ErrorBody";
16
10
  export * from "./ErrorDetail";
17
11
  export * from "./ErrorMessage";
18
12
  export * from "./ErrorModel";
19
- export * from "./ExtensionConfigurationOutput";
20
13
  export * from "./ExternalSessionAiResponseMetadataStatus";
21
14
  export * from "./ExternalSessionAiResponseMetadata";
22
15
  export * from "./ExternalSessionAiResponseMetadataUsage";
@@ -24,10 +17,8 @@ export * from "./ExternalSessionConfig";
24
17
  export * from "./ExternalSessionWithConnectionInfo";
25
18
  export * from "./IntervalMonitorConfig";
26
19
  export * from "./Issue";
27
- export * from "./ListAutomationsOutput";
28
20
  export * from "./MicroInteractionConfig";
29
21
  export * from "./MonitorConfigIncludeVisualAnalysis";
30
- export * from "./MonitorConfigMonitorType";
31
22
  export * from "./MonitorConfig";
32
23
  export * from "./OperationOutcome";
33
24
  export * from "./OperationOutcomeResponse";
@@ -16,23 +16,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./AiPromptResponse"), exports);
18
18
  __exportStar(require("./AiResponseEnvelope"), exports);
19
- __exportStar(require("./AsyncConfig"), exports);
20
- __exportStar(require("./AsyncSessionAiResponseEnvelope"), exports);
21
- __exportStar(require("./AutomationOutput"), exports);
22
19
  __exportStar(require("./BrowserWaitNavigationConfigWaitUntil"), exports);
23
20
  __exportStar(require("./BrowserWaitNavigationConfig"), exports);
24
- __exportStar(require("./BrowserWaitSelectorConfig"), exports);
25
21
  __exportStar(require("./ClickConfigClickType"), exports);
26
22
  __exportStar(require("./ClickConfig"), exports);
27
23
  __exportStar(require("./ClientProvidedResponseMetadata"), exports);
28
- __exportStar(require("./CreateAutomationRequestBodyConfiguration"), exports);
29
- __exportStar(require("./DeleteAutomationOutputWrapperBody"), exports);
30
24
  __exportStar(require("./EnvelopeDefaultMeta"), exports);
31
25
  __exportStar(require("./ErrorBody"), exports);
32
26
  __exportStar(require("./ErrorDetail"), exports);
33
27
  __exportStar(require("./ErrorMessage"), exports);
34
28
  __exportStar(require("./ErrorModel"), exports);
35
- __exportStar(require("./ExtensionConfigurationOutput"), exports);
36
29
  __exportStar(require("./ExternalSessionAiResponseMetadataStatus"), exports);
37
30
  __exportStar(require("./ExternalSessionAiResponseMetadata"), exports);
38
31
  __exportStar(require("./ExternalSessionAiResponseMetadataUsage"), exports);
@@ -40,10 +33,8 @@ __exportStar(require("./ExternalSessionConfig"), exports);
40
33
  __exportStar(require("./ExternalSessionWithConnectionInfo"), exports);
41
34
  __exportStar(require("./IntervalMonitorConfig"), exports);
42
35
  __exportStar(require("./Issue"), exports);
43
- __exportStar(require("./ListAutomationsOutput"), exports);
44
36
  __exportStar(require("./MicroInteractionConfig"), exports);
45
37
  __exportStar(require("./MonitorConfigIncludeVisualAnalysis"), exports);
46
- __exportStar(require("./MonitorConfigMonitorType"), exports);
47
38
  __exportStar(require("./MonitorConfig"), exports);
48
39
  __exportStar(require("./OperationOutcome"), exports);
49
40
  __exportStar(require("./OperationOutcomeResponse"), exports);
@@ -3,6 +3,4 @@ export * from "./windows/types";
3
3
  export * as sessions from "./sessions";
4
4
  export * from "./sessions/types";
5
5
  export * from "./windows/client/requests";
6
- export * as automations from "./automations";
7
- export * from "./automations/client/requests";
8
6
  export * from "./sessions/client/requests";
@@ -26,12 +26,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.automations = exports.sessions = exports.windows = void 0;
29
+ exports.sessions = exports.windows = void 0;
30
30
  exports.windows = __importStar(require("./windows"));
31
31
  __exportStar(require("./windows/types"), exports);
32
32
  exports.sessions = __importStar(require("./sessions"));
33
33
  __exportStar(require("./sessions/types"), exports);
34
34
  __exportStar(require("./windows/client/requests"), exports);
35
- exports.automations = __importStar(require("./automations"));
36
- __exportStar(require("./automations/client/requests"), exports);
37
35
  __exportStar(require("./sessions/client/requests"), exports);
@@ -4,23 +4,23 @@
4
4
  import * as serializers from "../../../index";
5
5
  import * as Airtop from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
- import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
8
- import { SessionsEventsResponseError } from "./SessionsEventsResponseError";
9
7
  import { SessionsEventsResponseWindowEvent } from "./SessionsEventsResponseWindowEvent";
10
8
  import { SessionsEventsResponseSessionEvent } from "./SessionsEventsResponseSessionEvent";
9
+ import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
10
+ import { SessionsEventsResponseError } from "./SessionsEventsResponseError";
11
11
  export declare const SessionsEventsResponse: core.serialization.Schema<serializers.SessionsEventsResponse.Raw, Airtop.SessionsEventsResponse>;
12
12
  export declare namespace SessionsEventsResponse {
13
- type Raw = SessionsEventsResponse.Status | SessionsEventsResponse.Error | SessionsEventsResponse.WindowEvent | SessionsEventsResponse.SessionEvent;
14
- interface Status extends SessionsEventsResponseStatus.Raw {
15
- event: "status";
16
- }
17
- interface Error extends SessionsEventsResponseError.Raw {
18
- event: "error";
19
- }
13
+ type Raw = SessionsEventsResponse.WindowEvent | SessionsEventsResponse.SessionEvent | SessionsEventsResponse.Status | SessionsEventsResponse.Error;
20
14
  interface WindowEvent extends SessionsEventsResponseWindowEvent.Raw {
21
15
  event: "windowEvent";
22
16
  }
23
17
  interface SessionEvent extends SessionsEventsResponseSessionEvent.Raw {
24
18
  event: "sessionEvent";
25
19
  }
20
+ interface Status extends SessionsEventsResponseStatus.Raw {
21
+ event: "status";
22
+ }
23
+ interface Error extends SessionsEventsResponseError.Raw {
24
+ event: "error";
25
+ }
26
26
  }
@@ -28,16 +28,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.SessionsEventsResponse = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
- const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
32
- const SessionsEventsResponseError_1 = require("./SessionsEventsResponseError");
33
31
  const SessionsEventsResponseWindowEvent_1 = require("./SessionsEventsResponseWindowEvent");
34
32
  const SessionsEventsResponseSessionEvent_1 = require("./SessionsEventsResponseSessionEvent");
33
+ const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
34
+ const SessionsEventsResponseError_1 = require("./SessionsEventsResponseError");
35
35
  exports.SessionsEventsResponse = core.serialization
36
36
  .union("event", {
37
- status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
38
- error: SessionsEventsResponseError_1.SessionsEventsResponseError,
39
37
  windowEvent: SessionsEventsResponseWindowEvent_1.SessionsEventsResponseWindowEvent,
40
38
  sessionEvent: SessionsEventsResponseSessionEvent_1.SessionsEventsResponseSessionEvent,
39
+ status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
40
+ error: SessionsEventsResponseError_1.SessionsEventsResponseError,
41
41
  })
42
42
  .transform({
43
43
  transform: (value) => value,
@@ -1,6 +1,6 @@
1
1
  export * from "./SessionsListRequestStatus";
2
- export * from "./SessionsEventsResponseStatus";
3
- export * from "./SessionsEventsResponseError";
4
2
  export * from "./SessionsEventsResponseWindowEvent";
5
3
  export * from "./SessionsEventsResponseSessionEvent";
4
+ export * from "./SessionsEventsResponseStatus";
5
+ export * from "./SessionsEventsResponseError";
6
6
  export * from "./SessionsEventsResponse";
@@ -15,8 +15,8 @@ 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("./SessionsEventsResponseStatus"), exports);
19
- __exportStar(require("./SessionsEventsResponseError"), exports);
20
18
  __exportStar(require("./SessionsEventsResponseWindowEvent"), exports);
21
19
  __exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
20
+ __exportStar(require("./SessionsEventsResponseStatus"), exports);
21
+ __exportStar(require("./SessionsEventsResponseError"), exports);
22
22
  __exportStar(require("./SessionsEventsResponse"), exports);
@@ -9,10 +9,9 @@ export declare const SessionMonitorHandlerRequestBody: core.serialization.Schema
9
9
  export declare namespace SessionMonitorHandlerRequestBody {
10
10
  interface Raw {
11
11
  clientRequestId?: string | null;
12
- condition?: string | null;
12
+ condition: string;
13
13
  configuration?: MonitorConfig.Raw | null;
14
14
  costThresholdCredits?: number | null;
15
- selector?: string | null;
16
15
  timeThresholdSeconds?: number | null;
17
16
  }
18
17
  }
@@ -31,9 +31,8 @@ const core = __importStar(require("../../../../../core"));
31
31
  const MonitorConfig_1 = require("../../../../types/MonitorConfig");
32
32
  exports.SessionMonitorHandlerRequestBody = core.serialization.object({
33
33
  clientRequestId: core.serialization.string().optional(),
34
- condition: core.serialization.string().optional(),
34
+ condition: core.serialization.string(),
35
35
  configuration: MonitorConfig_1.MonitorConfig.optional(),
36
36
  costThresholdCredits: core.serialization.number().optional(),
37
- selector: core.serialization.string().optional(),
38
37
  timeThresholdSeconds: core.serialization.number().optional(),
39
38
  });
@@ -1,14 +1,3 @@
1
- export { AsyncClickRequest } from "./AsyncClickRequest";
2
- export { AsyncCreateAutomationRequest } from "./AsyncCreateAutomationRequest";
3
- export { AsyncExecuteAutomationRequest } from "./AsyncExecuteAutomationRequest";
4
- export { AsyncHoverRequest } from "./AsyncHoverRequest";
5
- export { AsyncMonitorRequest } from "./AsyncMonitorRequest";
6
- export { AsyncPageQueryRequest } from "./AsyncPageQueryRequest";
7
- export { AsyncPaginatedExtractionRequest } from "./AsyncPaginatedExtractionRequest";
8
- export { AsyncPromptContentRequest } from "./AsyncPromptContentRequest";
9
- export { AsyncScreenshotRequest } from "./AsyncScreenshotRequest";
10
- export { AsyncSummarizeContentRequest } from "./AsyncSummarizeContentRequest";
11
- export { AsyncTypeRequest } from "./AsyncTypeRequest";
12
1
  export { CreateWindowInputV1Body } from "./CreateWindowInputV1Body";
13
2
  export { WindowLoadUrlV1Body } from "./WindowLoadUrlV1Body";
14
3
  export { SessionClickHandlerRequestBody } from "./SessionClickHandlerRequestBody";
@@ -1,28 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SessionTypeHandlerRequestBody = exports.SessionSummaryHandlerRequestBody = exports.SessionScrollHandlerRequestBody = exports.SessionScreenshotHandlerRequestBody = exports.ScrapeContentRequest = exports.SessionPaginatedExtractionHandlerRequestBody = exports.SessionMonitorHandlerRequestBody = exports.SessionHoverHandlerRequestBody = exports.SessionClickHandlerRequestBody = exports.WindowLoadUrlV1Body = exports.CreateWindowInputV1Body = exports.AsyncTypeRequest = exports.AsyncSummarizeContentRequest = exports.AsyncScreenshotRequest = exports.AsyncPromptContentRequest = exports.AsyncPaginatedExtractionRequest = exports.AsyncPageQueryRequest = exports.AsyncMonitorRequest = exports.AsyncHoverRequest = exports.AsyncExecuteAutomationRequest = exports.AsyncCreateAutomationRequest = exports.AsyncClickRequest = void 0;
4
- var AsyncClickRequest_1 = require("./AsyncClickRequest");
5
- Object.defineProperty(exports, "AsyncClickRequest", { enumerable: true, get: function () { return AsyncClickRequest_1.AsyncClickRequest; } });
6
- var AsyncCreateAutomationRequest_1 = require("./AsyncCreateAutomationRequest");
7
- Object.defineProperty(exports, "AsyncCreateAutomationRequest", { enumerable: true, get: function () { return AsyncCreateAutomationRequest_1.AsyncCreateAutomationRequest; } });
8
- var AsyncExecuteAutomationRequest_1 = require("./AsyncExecuteAutomationRequest");
9
- Object.defineProperty(exports, "AsyncExecuteAutomationRequest", { enumerable: true, get: function () { return AsyncExecuteAutomationRequest_1.AsyncExecuteAutomationRequest; } });
10
- var AsyncHoverRequest_1 = require("./AsyncHoverRequest");
11
- Object.defineProperty(exports, "AsyncHoverRequest", { enumerable: true, get: function () { return AsyncHoverRequest_1.AsyncHoverRequest; } });
12
- var AsyncMonitorRequest_1 = require("./AsyncMonitorRequest");
13
- Object.defineProperty(exports, "AsyncMonitorRequest", { enumerable: true, get: function () { return AsyncMonitorRequest_1.AsyncMonitorRequest; } });
14
- var AsyncPageQueryRequest_1 = require("./AsyncPageQueryRequest");
15
- Object.defineProperty(exports, "AsyncPageQueryRequest", { enumerable: true, get: function () { return AsyncPageQueryRequest_1.AsyncPageQueryRequest; } });
16
- var AsyncPaginatedExtractionRequest_1 = require("./AsyncPaginatedExtractionRequest");
17
- Object.defineProperty(exports, "AsyncPaginatedExtractionRequest", { enumerable: true, get: function () { return AsyncPaginatedExtractionRequest_1.AsyncPaginatedExtractionRequest; } });
18
- var AsyncPromptContentRequest_1 = require("./AsyncPromptContentRequest");
19
- Object.defineProperty(exports, "AsyncPromptContentRequest", { enumerable: true, get: function () { return AsyncPromptContentRequest_1.AsyncPromptContentRequest; } });
20
- var AsyncScreenshotRequest_1 = require("./AsyncScreenshotRequest");
21
- Object.defineProperty(exports, "AsyncScreenshotRequest", { enumerable: true, get: function () { return AsyncScreenshotRequest_1.AsyncScreenshotRequest; } });
22
- var AsyncSummarizeContentRequest_1 = require("./AsyncSummarizeContentRequest");
23
- Object.defineProperty(exports, "AsyncSummarizeContentRequest", { enumerable: true, get: function () { return AsyncSummarizeContentRequest_1.AsyncSummarizeContentRequest; } });
24
- var AsyncTypeRequest_1 = require("./AsyncTypeRequest");
25
- Object.defineProperty(exports, "AsyncTypeRequest", { enumerable: true, get: function () { return AsyncTypeRequest_1.AsyncTypeRequest; } });
3
+ exports.SessionTypeHandlerRequestBody = exports.SessionSummaryHandlerRequestBody = exports.SessionScrollHandlerRequestBody = exports.SessionScreenshotHandlerRequestBody = exports.ScrapeContentRequest = exports.SessionPaginatedExtractionHandlerRequestBody = exports.SessionMonitorHandlerRequestBody = exports.SessionHoverHandlerRequestBody = exports.SessionClickHandlerRequestBody = exports.WindowLoadUrlV1Body = exports.CreateWindowInputV1Body = void 0;
26
4
  var CreateWindowInputV1Body_1 = require("./CreateWindowInputV1Body");
27
5
  Object.defineProperty(exports, "CreateWindowInputV1Body", { enumerable: true, get: function () { return CreateWindowInputV1Body_1.CreateWindowInputV1Body; } });
28
6
  var WindowLoadUrlV1Body_1 = require("./WindowLoadUrlV1Body");
@@ -6,14 +6,10 @@ import * as Airtop from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { MonitorConfigIncludeVisualAnalysis } from "./MonitorConfigIncludeVisualAnalysis";
8
8
  import { IntervalMonitorConfig } from "./IntervalMonitorConfig";
9
- import { BrowserWaitSelectorConfig } from "./BrowserWaitSelectorConfig";
10
- import { MonitorConfigMonitorType } from "./MonitorConfigMonitorType";
11
9
  export declare const MonitorConfig: core.serialization.ObjectSchema<serializers.MonitorConfig.Raw, Airtop.MonitorConfig>;
12
10
  export declare namespace MonitorConfig {
13
11
  interface Raw {
14
12
  includeVisualAnalysis?: MonitorConfigIncludeVisualAnalysis.Raw | null;
15
13
  interval?: IntervalMonitorConfig.Raw | null;
16
- monitorSelectorOptions?: BrowserWaitSelectorConfig.Raw | null;
17
- monitorType: MonitorConfigMonitorType.Raw;
18
14
  }
19
15
  }
@@ -30,11 +30,7 @@ exports.MonitorConfig = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  const MonitorConfigIncludeVisualAnalysis_1 = require("./MonitorConfigIncludeVisualAnalysis");
32
32
  const IntervalMonitorConfig_1 = require("./IntervalMonitorConfig");
33
- const BrowserWaitSelectorConfig_1 = require("./BrowserWaitSelectorConfig");
34
- const MonitorConfigMonitorType_1 = require("./MonitorConfigMonitorType");
35
33
  exports.MonitorConfig = core.serialization.object({
36
34
  includeVisualAnalysis: MonitorConfigIncludeVisualAnalysis_1.MonitorConfigIncludeVisualAnalysis.optional(),
37
35
  interval: IntervalMonitorConfig_1.IntervalMonitorConfig.optional(),
38
- monitorSelectorOptions: BrowserWaitSelectorConfig_1.BrowserWaitSelectorConfig.optional(),
39
- monitorType: MonitorConfigMonitorType_1.MonitorConfigMonitorType,
40
36
  });
@@ -9,7 +9,6 @@ export declare const SessionConfigV1: core.serialization.ObjectSchema<serializer
9
9
  export declare namespace SessionConfigV1 {
10
10
  interface Raw {
11
11
  baseProfileId?: string | null;
12
- extensionIds?: string[] | null;
13
12
  persistProfile?: boolean | null;
14
13
  profileName?: string | null;
15
14
  proxy?: SessionConfigV1Proxy.Raw | null;
@@ -31,7 +31,6 @@ const core = __importStar(require("../../core"));
31
31
  const SessionConfigV1Proxy_1 = require("./SessionConfigV1Proxy");
32
32
  exports.SessionConfigV1 = core.serialization.object({
33
33
  baseProfileId: core.serialization.string().optional(),
34
- extensionIds: core.serialization.list(core.serialization.string()).optional(),
35
34
  persistProfile: core.serialization.boolean().optional(),
36
35
  profileName: core.serialization.string().optional(),
37
36
  proxy: SessionConfigV1Proxy_1.SessionConfigV1Proxy.optional(),
@@ -1,22 +1,15 @@
1
1
  export * from "./AiPromptResponse";
2
2
  export * from "./AiResponseEnvelope";
3
- export * from "./AsyncConfig";
4
- export * from "./AsyncSessionAiResponseEnvelope";
5
- export * from "./AutomationOutput";
6
3
  export * from "./BrowserWaitNavigationConfigWaitUntil";
7
4
  export * from "./BrowserWaitNavigationConfig";
8
- export * from "./BrowserWaitSelectorConfig";
9
5
  export * from "./ClickConfigClickType";
10
6
  export * from "./ClickConfig";
11
7
  export * from "./ClientProvidedResponseMetadata";
12
- export * from "./CreateAutomationRequestBodyConfiguration";
13
- export * from "./DeleteAutomationOutputWrapperBody";
14
8
  export * from "./EnvelopeDefaultMeta";
15
9
  export * from "./ErrorBody";
16
10
  export * from "./ErrorDetail";
17
11
  export * from "./ErrorMessage";
18
12
  export * from "./ErrorModel";
19
- export * from "./ExtensionConfigurationOutput";
20
13
  export * from "./ExternalSessionAiResponseMetadataStatus";
21
14
  export * from "./ExternalSessionAiResponseMetadata";
22
15
  export * from "./ExternalSessionAiResponseMetadataUsage";
@@ -24,10 +17,8 @@ export * from "./ExternalSessionConfig";
24
17
  export * from "./ExternalSessionWithConnectionInfo";
25
18
  export * from "./IntervalMonitorConfig";
26
19
  export * from "./Issue";
27
- export * from "./ListAutomationsOutput";
28
20
  export * from "./MicroInteractionConfig";
29
21
  export * from "./MonitorConfigIncludeVisualAnalysis";
30
- export * from "./MonitorConfigMonitorType";
31
22
  export * from "./MonitorConfig";
32
23
  export * from "./OperationOutcome";
33
24
  export * from "./OperationOutcomeResponse";
@@ -16,23 +16,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./AiPromptResponse"), exports);
18
18
  __exportStar(require("./AiResponseEnvelope"), exports);
19
- __exportStar(require("./AsyncConfig"), exports);
20
- __exportStar(require("./AsyncSessionAiResponseEnvelope"), exports);
21
- __exportStar(require("./AutomationOutput"), exports);
22
19
  __exportStar(require("./BrowserWaitNavigationConfigWaitUntil"), exports);
23
20
  __exportStar(require("./BrowserWaitNavigationConfig"), exports);
24
- __exportStar(require("./BrowserWaitSelectorConfig"), exports);
25
21
  __exportStar(require("./ClickConfigClickType"), exports);
26
22
  __exportStar(require("./ClickConfig"), exports);
27
23
  __exportStar(require("./ClientProvidedResponseMetadata"), exports);
28
- __exportStar(require("./CreateAutomationRequestBodyConfiguration"), exports);
29
- __exportStar(require("./DeleteAutomationOutputWrapperBody"), exports);
30
24
  __exportStar(require("./EnvelopeDefaultMeta"), exports);
31
25
  __exportStar(require("./ErrorBody"), exports);
32
26
  __exportStar(require("./ErrorDetail"), exports);
33
27
  __exportStar(require("./ErrorMessage"), exports);
34
28
  __exportStar(require("./ErrorModel"), exports);
35
- __exportStar(require("./ExtensionConfigurationOutput"), exports);
36
29
  __exportStar(require("./ExternalSessionAiResponseMetadataStatus"), exports);
37
30
  __exportStar(require("./ExternalSessionAiResponseMetadata"), exports);
38
31
  __exportStar(require("./ExternalSessionAiResponseMetadataUsage"), exports);
@@ -40,10 +33,8 @@ __exportStar(require("./ExternalSessionConfig"), exports);
40
33
  __exportStar(require("./ExternalSessionWithConnectionInfo"), exports);
41
34
  __exportStar(require("./IntervalMonitorConfig"), exports);
42
35
  __exportStar(require("./Issue"), exports);
43
- __exportStar(require("./ListAutomationsOutput"), exports);
44
36
  __exportStar(require("./MicroInteractionConfig"), exports);
45
37
  __exportStar(require("./MonitorConfigIncludeVisualAnalysis"), exports);
46
- __exportStar(require("./MonitorConfigMonitorType"), exports);
47
38
  __exportStar(require("./MonitorConfig"), exports);
48
39
  __exportStar(require("./OperationOutcome"), exports);
49
40
  __exportStar(require("./OperationOutcomeResponse"), exports);
@@ -20,7 +20,6 @@ export declare class AirtopClient {
20
20
  get windows(): AirtopWindows;
21
21
  get requests(): AirtopRequests;
22
22
  get profiles(): import("../api/resources/profiles/client/Client").Profiles;
23
- get extensionConfigurations(): import("../api/resources/extensionConfigurations/client/Client").ExtensionConfigurations;
24
23
  log(message: string): void;
25
24
  warn(message: string): void;
26
25
  error(err: any): void;
@@ -75,9 +75,6 @@ class AirtopClient {
75
75
  get profiles() {
76
76
  return this._client.profiles;
77
77
  }
78
- get extensionConfigurations() {
79
- return this._client.extensionConfigurations;
80
- }
81
78
  log(message) {
82
79
  if (this.debug) {
83
80
  console.log(message);
@@ -6,13 +6,13 @@ export declare class AirtopRequests extends RequestsClass {
6
6
  /**
7
7
  * Waits until a request is complete or times out
8
8
  *
9
- * @param requestId - The ID of the request to poll.
9
+ * @param requestId - The ID of the request to wait for.
10
10
  * @param timeoutSeconds - Maximum time to wait in seconds.
11
11
  * @param intervalSeconds - Polling interval in seconds.
12
12
  * @param requestOptions - Request-specific configuration.
13
13
  *
14
14
  * @example
15
- * const result = await client.requests.pollRequestUntilComplete("123e4567-e89b-12d3-a456-426614174000", 300, 2)
15
+ * const result = await client.requests.waitForRequestCompletion("123e4567-e89b-12d3-a456-426614174000", 300)
16
16
  */
17
17
  waitForRequestCompletion(requestId: string, timeoutSeconds?: number, intervalSeconds?: number, requestOptions?: RequestsNamespace.RequestOptions): Promise<Airtop.RequestStatusResponse>;
18
18
  }
@@ -19,13 +19,13 @@ class AirtopRequests extends Client_1.Requests {
19
19
  /**
20
20
  * Waits until a request is complete or times out
21
21
  *
22
- * @param requestId - The ID of the request to poll.
22
+ * @param requestId - The ID of the request to wait for.
23
23
  * @param timeoutSeconds - Maximum time to wait in seconds.
24
24
  * @param intervalSeconds - Polling interval in seconds.
25
25
  * @param requestOptions - Request-specific configuration.
26
26
  *
27
27
  * @example
28
- * const result = await client.requests.pollRequestUntilComplete("123e4567-e89b-12d3-a456-426614174000", 300, 2)
28
+ * const result = await client.requests.waitForRequestCompletion("123e4567-e89b-12d3-a456-426614174000", 300)
29
29
  */
30
30
  waitForRequestCompletion(requestId, timeoutSeconds = 300, intervalSeconds = 2, requestOptions) {
31
31
  return __awaiter(this, void 0, void 0, function* () {
@@ -41,7 +41,7 @@ class AirtopRequests extends Client_1.Requests {
41
41
  }
42
42
  yield new Promise((resolve) => setTimeout(resolve, intervalSeconds * 1000));
43
43
  }
44
- throw new Error(`Request ${requestId} polling timed out after ${timeoutSeconds} seconds`);
44
+ throw new Error(`Waiting for request timed out: ${requestId}`);
45
45
  });
46
46
  }
47
47
  }
@@ -114,16 +114,6 @@ export declare class AirtopWindows extends WindowsClass {
114
114
  * })
115
115
  */
116
116
  type(sessionId: string, windowId: string, request: Airtop.SessionTypeHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
117
- /**
118
- * @param {string} sessionId - The session id for the window.
119
- * @param {string} windowId - The Airtop window id of the browser window.
120
- * @param {Airtop.SessionMonitorHandlerRequestBody} request
121
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
122
- *
123
- * @example
124
- * await client.windows.monitor("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
125
- */
126
- monitor(sessionId: string, windowId: string, request?: Airtop.SessionMonitorHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
127
117
  /**
128
118
  * Submit a prompt that queries the content of a specific browser window and paginates through pages to return a list of results.
129
119
  *
@@ -135,7 +125,7 @@ export declare class AirtopWindows extends WindowsClass {
135
125
  * @example
136
126
  * await client.windows.paginatedExtraction("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
137
127
  */
138
- paginatedExtraction(sessionId: string, windowId: string, request: Airtop.SessionPaginatedExtractionHandlerRequestBody, requestOptions?: Windows.RequestOptions): Promise<Airtop.AiPromptResponse>;
128
+ paginatedExtraction(sessionId: string, windowId: string, request: Airtop.SessionPaginatedExtractionHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
139
129
  /**
140
130
  * Execute a scroll interaction in a specific browser window
141
131
  *
@@ -148,6 +138,16 @@ export declare class AirtopWindows extends WindowsClass {
148
138
  * await client.windows.scroll("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
149
139
  */
150
140
  scroll(sessionId: string, windowId: string, request?: Airtop.SessionScrollHandlerRequestBody, requestOptions?: Windows.RequestOptions): Promise<Airtop.AiPromptResponse>;
141
+ /**
142
+ * @param {string} sessionId - The session id for the window.
143
+ * @param {string} windowId - The Airtop window id of the browser window.
144
+ * @param {Airtop.SessionMonitorHandlerRequestBody} request
145
+ * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
146
+ *
147
+ * @example
148
+ * await client.windows.monitor("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
149
+ */
150
+ monitor(sessionId: string, windowId: string, request: Airtop.SessionMonitorHandlerRequestBody, requestOptions?: Windows.RequestOptions): Promise<Airtop.AiPromptResponse>;
151
151
  private executeSeleniumCDPCommand;
152
152
  getWindowInfoForSeleniumDriver(session: Airtop.ExternalSessionWithConnectionInfo, driver: seleniumWebdriver.WebDriver, request?: Airtop.GetWindowInfoRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowResponse>;
153
153
  }
@@ -190,23 +190,6 @@ class AirtopWindows extends Client_1.Windows {
190
190
  return _super.type.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
191
191
  });
192
192
  }
193
- /**
194
- * @param {string} sessionId - The session id for the window.
195
- * @param {string} windowId - The Airtop window id of the browser window.
196
- * @param {Airtop.SessionMonitorHandlerRequestBody} request
197
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
198
- *
199
- * @example
200
- * await client.windows.monitor("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
201
- */
202
- monitor(sessionId, windowId, request = {}, requestOptions) {
203
- const _super = Object.create(null, {
204
- monitor: { get: () => super.monitor }
205
- });
206
- return __awaiter(this, void 0, void 0, function* () {
207
- return _super.monitor.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
208
- });
209
- }
210
193
  /**
211
194
  * Submit a prompt that queries the content of a specific browser window and paginates through pages to return a list of results.
212
195
  *
@@ -245,6 +228,23 @@ class AirtopWindows extends Client_1.Windows {
245
228
  return _super.scroll.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
246
229
  });
247
230
  }
231
+ /**
232
+ * @param {string} sessionId - The session id for the window.
233
+ * @param {string} windowId - The Airtop window id of the browser window.
234
+ * @param {Airtop.SessionMonitorHandlerRequestBody} request
235
+ * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
236
+ *
237
+ * @example
238
+ * await client.windows.monitor("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
239
+ */
240
+ monitor(sessionId, windowId, request, requestOptions) {
241
+ const _super = Object.create(null, {
242
+ monitor: { get: () => super.monitor }
243
+ });
244
+ return __awaiter(this, void 0, void 0, function* () {
245
+ return _super.monitor.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
246
+ });
247
+ }
248
248
  executeSeleniumCDPCommand(driver, session, apiKey) {
249
249
  return __awaiter(this, void 0, void 0, function* () {
250
250
  // Get the current WebDriver session ID
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airtop/sdk",
3
- "version": "0.1.31-beta1",
3
+ "version": "0.1.31",
4
4
  "private": false,
5
5
  "repository": "https://github.com/airtop-ai/airtop-node-sdk",
6
6
  "main": "./index.js",
@@ -67,6 +67,5 @@
67
67
  "playwright": ">=1.47.2",
68
68
  "puppeteer": ">=22.14.0",
69
69
  "selenium-webdriver": ">=4.25.0"
70
- },
71
- "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
70
+ }
72
71
  }