@airtop/sdk 0.1.17 → 0.1.19

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 (297) hide show
  1. package/Client.d.ts +0 -6
  2. package/Client.js +4 -14
  3. package/README.md +6 -8
  4. package/api/resources/index.d.ts +0 -3
  5. package/api/resources/index.js +1 -4
  6. package/api/resources/profiles/client/Client.js +2 -2
  7. package/api/resources/sessions/client/Client.js +14 -14
  8. package/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
  9. package/api/resources/sessions/types/index.d.ts +1 -1
  10. package/api/resources/sessions/types/index.js +1 -1
  11. package/api/resources/windows/client/Client.d.ts +0 -116
  12. package/api/resources/windows/client/Client.js +26 -654
  13. package/api/resources/windows/client/requests/index.d.ts +0 -10
  14. package/api/types/AirtopProxyConfiguration.d.ts +9 -0
  15. package/api/types/ExternalSessionWithConnectionInfo.d.ts +1 -1
  16. package/api/types/Proxy.d.ts +9 -6
  17. package/api/types/ProxyConfigurationKind.d.ts +9 -0
  18. package/api/types/ProxyCredentials.d.ts +11 -0
  19. package/api/types/SessionConfigV1.d.ts +0 -4
  20. package/api/types/SessionConfigV1Proxy.d.ts +4 -4
  21. package/api/types/VisualAnalysisConfig.d.ts +1 -1
  22. package/api/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +3 -2
  23. package/api/types/VisualAnalysisConfigResultSelectionStrategy.js +1 -0
  24. package/api/types/index.d.ts +3 -11
  25. package/api/types/index.js +3 -11
  26. package/dist/Client.d.ts +0 -6
  27. package/dist/Client.js +4 -14
  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/sessions/client/Client.js +14 -14
  32. package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
  33. package/dist/api/resources/sessions/types/index.d.ts +1 -1
  34. package/dist/api/resources/sessions/types/index.js +1 -1
  35. package/dist/api/resources/windows/client/Client.d.ts +0 -116
  36. package/dist/api/resources/windows/client/Client.js +26 -654
  37. package/dist/api/resources/windows/client/requests/index.d.ts +0 -10
  38. package/dist/api/types/AirtopProxyConfiguration.d.ts +9 -0
  39. package/dist/api/types/ExternalSessionWithConnectionInfo.d.ts +1 -1
  40. package/dist/api/types/Proxy.d.ts +9 -6
  41. package/dist/api/types/ProxyConfigurationKind.d.ts +9 -0
  42. package/dist/api/types/ProxyCredentials.d.ts +11 -0
  43. package/dist/api/types/SessionConfigV1.d.ts +0 -4
  44. package/dist/api/types/SessionConfigV1Proxy.d.ts +4 -4
  45. package/dist/api/types/VisualAnalysisConfig.d.ts +1 -1
  46. package/dist/api/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +3 -2
  47. package/dist/api/types/VisualAnalysisConfigResultSelectionStrategy.js +1 -0
  48. package/dist/api/types/index.d.ts +3 -11
  49. package/dist/api/types/index.js +3 -11
  50. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
  51. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
  52. package/dist/serialization/resources/sessions/types/index.d.ts +1 -1
  53. package/dist/serialization/resources/sessions/types/index.js +1 -1
  54. package/dist/serialization/resources/windows/client/requests/index.d.ts +0 -10
  55. package/dist/serialization/resources/windows/client/requests/index.js +1 -21
  56. package/dist/serialization/types/AirtopProxyConfiguration.d.ts +13 -0
  57. package/dist/serialization/types/{RequestStatusResponse.js → AirtopProxyConfiguration.js} +4 -4
  58. package/dist/serialization/types/Proxy.d.ts +4 -6
  59. package/dist/serialization/types/Proxy.js +3 -5
  60. package/dist/serialization/types/ProxyConfigurationKind.d.ts +14 -0
  61. package/dist/serialization/types/{CustomProxy.js → ProxyConfigurationKind.js} +5 -2
  62. package/dist/serialization/types/ProxyCredentials.d.ts +14 -0
  63. package/dist/serialization/types/{IntervalMonitorConfig.js → ProxyCredentials.js} +5 -4
  64. package/dist/serialization/types/SessionConfigV1.d.ts +0 -2
  65. package/dist/serialization/types/SessionConfigV1.js +0 -2
  66. package/dist/serialization/types/SessionConfigV1Proxy.d.ts +3 -3
  67. package/dist/serialization/types/SessionConfigV1Proxy.js +4 -4
  68. package/dist/serialization/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +1 -1
  69. package/dist/serialization/types/VisualAnalysisConfigResultSelectionStrategy.js +1 -1
  70. package/dist/serialization/types/index.d.ts +3 -11
  71. package/dist/serialization/types/index.js +3 -11
  72. package/dist/wrapper/AirtopClient.d.ts +0 -1
  73. package/dist/wrapper/AirtopClient.js +0 -3
  74. package/dist/wrapper/AirtopWindows.d.ts +5 -3
  75. package/dist/wrapper/AirtopWindows.js +7 -5
  76. package/package.json +1 -1
  77. package/reference.md +0 -896
  78. package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
  79. package/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
  80. package/serialization/resources/sessions/types/index.d.ts +1 -1
  81. package/serialization/resources/sessions/types/index.js +1 -1
  82. package/serialization/resources/windows/client/requests/index.d.ts +0 -10
  83. package/serialization/resources/windows/client/requests/index.js +1 -21
  84. package/serialization/types/AirtopProxyConfiguration.d.ts +13 -0
  85. package/{dist/serialization/types/AsyncConfig.js → serialization/types/AirtopProxyConfiguration.js} +4 -3
  86. package/serialization/types/Proxy.d.ts +4 -6
  87. package/serialization/types/Proxy.js +3 -5
  88. package/serialization/types/ProxyConfigurationKind.d.ts +14 -0
  89. package/serialization/types/{CustomProxy.js → ProxyConfigurationKind.js} +5 -2
  90. package/serialization/types/ProxyCredentials.d.ts +14 -0
  91. package/serialization/types/{AsyncConfig.js → ProxyCredentials.js} +5 -3
  92. package/serialization/types/SessionConfigV1.d.ts +0 -2
  93. package/serialization/types/SessionConfigV1.js +0 -2
  94. package/serialization/types/SessionConfigV1Proxy.d.ts +3 -3
  95. package/serialization/types/SessionConfigV1Proxy.js +4 -4
  96. package/serialization/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +1 -1
  97. package/serialization/types/VisualAnalysisConfigResultSelectionStrategy.js +1 -1
  98. package/serialization/types/index.d.ts +3 -11
  99. package/serialization/types/index.js +3 -11
  100. package/wrapper/AirtopClient.d.ts +0 -1
  101. package/wrapper/AirtopClient.js +0 -3
  102. package/wrapper/AirtopWindows.d.ts +5 -3
  103. package/wrapper/AirtopWindows.js +7 -5
  104. package/api/resources/extensionConfigurations/client/Client.d.ts +0 -50
  105. package/api/resources/extensionConfigurations/client/Client.js +0 -214
  106. package/api/resources/extensionConfigurations/client/index.d.ts +0 -1
  107. package/api/resources/extensionConfigurations/client/index.js +0 -17
  108. package/api/resources/extensionConfigurations/client/requests/ExtensionConfigurationDeleteRequest.d.ts +0 -13
  109. package/api/resources/extensionConfigurations/client/requests/index.d.ts +0 -1
  110. package/api/resources/extensionConfigurations/client/requests/index.js +0 -2
  111. package/api/resources/extensionConfigurations/index.d.ts +0 -1
  112. package/api/resources/extensionConfigurations/index.js +0 -17
  113. package/api/resources/requests/client/Client.d.ts +0 -34
  114. package/api/resources/requests/client/Client.js +0 -115
  115. package/api/resources/requests/client/index.d.ts +0 -1
  116. package/api/resources/requests/client/index.js +0 -2
  117. package/api/resources/requests/index.d.ts +0 -1
  118. package/api/resources/requests/index.js +0 -17
  119. package/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
  120. package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -25
  121. package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
  122. package/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
  123. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -25
  124. package/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
  125. package/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
  126. package/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
  127. package/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
  128. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
  129. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
  130. package/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
  131. package/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
  132. package/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -25
  133. package/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -5
  134. package/api/types/AsyncConfig.d.ts +0 -7
  135. package/api/types/AsyncConfig.js +0 -5
  136. package/api/types/AsyncSessionAiResponseEnvelope.d.ts +0 -9
  137. package/api/types/AsyncSessionAiResponseEnvelope.js +0 -5
  138. package/api/types/BrowserWaitSelectorConfig.d.ts +0 -11
  139. package/api/types/BrowserWaitSelectorConfig.js +0 -5
  140. package/api/types/CustomProxy.d.ts +0 -14
  141. package/api/types/CustomProxy.js +0 -5
  142. package/api/types/ExtensionConfigurationOutput.d.ts +0 -13
  143. package/api/types/ExtensionConfigurationOutput.js +0 -5
  144. package/api/types/IntervalMonitorConfig.d.ts +0 -9
  145. package/api/types/IntervalMonitorConfig.js +0 -5
  146. package/api/types/MonitorConfig.d.ts +0 -14
  147. package/api/types/MonitorConfig.js +0 -5
  148. package/api/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -12
  149. package/api/types/MonitorConfigIncludeVisualAnalysis.js +0 -11
  150. package/api/types/MonitorConfigMonitorType.d.ts +0 -11
  151. package/api/types/MonitorConfigMonitorType.js +0 -10
  152. package/api/types/RequestStatusResponse.d.ts +0 -8
  153. package/api/types/RequestStatusResponse.js +0 -5
  154. package/api/types/SessionConfigV1ProxyItem.d.ts +0 -12
  155. package/api/types/SessionConfigV1ProxyItem.js +0 -5
  156. package/dist/api/resources/extensionConfigurations/client/Client.d.ts +0 -50
  157. package/dist/api/resources/extensionConfigurations/client/Client.js +0 -214
  158. package/dist/api/resources/extensionConfigurations/client/index.d.ts +0 -1
  159. package/dist/api/resources/extensionConfigurations/client/index.js +0 -17
  160. package/dist/api/resources/extensionConfigurations/client/requests/ExtensionConfigurationDeleteRequest.d.ts +0 -13
  161. package/dist/api/resources/extensionConfigurations/client/requests/ExtensionConfigurationDeleteRequest.js +0 -5
  162. package/dist/api/resources/extensionConfigurations/client/requests/index.d.ts +0 -1
  163. package/dist/api/resources/extensionConfigurations/client/requests/index.js +0 -2
  164. package/dist/api/resources/extensionConfigurations/index.d.ts +0 -1
  165. package/dist/api/resources/extensionConfigurations/index.js +0 -17
  166. package/dist/api/resources/requests/client/Client.d.ts +0 -34
  167. package/dist/api/resources/requests/client/Client.js +0 -115
  168. package/dist/api/resources/requests/client/index.d.ts +0 -1
  169. package/dist/api/resources/requests/client/index.js +0 -2
  170. package/dist/api/resources/requests/index.d.ts +0 -1
  171. package/dist/api/resources/requests/index.js +0 -17
  172. package/dist/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
  173. package/dist/api/resources/windows/client/requests/AsyncClickRequest.js +0 -5
  174. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -25
  175. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
  176. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
  177. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
  178. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
  179. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
  180. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -25
  181. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
  182. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
  183. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
  184. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
  185. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
  186. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
  187. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
  188. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
  189. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
  190. package/dist/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -25
  191. package/dist/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -5
  192. package/dist/api/types/AsyncConfig.d.ts +0 -7
  193. package/dist/api/types/AsyncConfig.js +0 -5
  194. package/dist/api/types/AsyncSessionAiResponseEnvelope.d.ts +0 -9
  195. package/dist/api/types/AsyncSessionAiResponseEnvelope.js +0 -5
  196. package/dist/api/types/BrowserWaitSelectorConfig.d.ts +0 -11
  197. package/dist/api/types/BrowserWaitSelectorConfig.js +0 -5
  198. package/dist/api/types/CustomProxy.d.ts +0 -14
  199. package/dist/api/types/CustomProxy.js +0 -5
  200. package/dist/api/types/ExtensionConfigurationOutput.d.ts +0 -13
  201. package/dist/api/types/ExtensionConfigurationOutput.js +0 -5
  202. package/dist/api/types/IntervalMonitorConfig.d.ts +0 -9
  203. package/dist/api/types/IntervalMonitorConfig.js +0 -5
  204. package/dist/api/types/MonitorConfig.d.ts +0 -14
  205. package/dist/api/types/MonitorConfig.js +0 -5
  206. package/dist/api/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -12
  207. package/dist/api/types/MonitorConfigIncludeVisualAnalysis.js +0 -11
  208. package/dist/api/types/MonitorConfigMonitorType.d.ts +0 -11
  209. package/dist/api/types/MonitorConfigMonitorType.js +0 -10
  210. package/dist/api/types/RequestStatusResponse.d.ts +0 -8
  211. package/dist/api/types/RequestStatusResponse.js +0 -5
  212. package/dist/api/types/SessionConfigV1ProxyItem.d.ts +0 -12
  213. package/dist/api/types/SessionConfigV1ProxyItem.js +0 -5
  214. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
  215. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -41
  216. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
  217. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -40
  218. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -20
  219. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -41
  220. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
  221. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -41
  222. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
  223. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -40
  224. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
  225. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -41
  226. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
  227. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -39
  228. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
  229. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -40
  230. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
  231. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -45
  232. package/dist/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -18
  233. package/dist/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -39
  234. package/dist/serialization/types/AsyncConfig.d.ts +0 -12
  235. package/dist/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +0 -15
  236. package/dist/serialization/types/AsyncSessionAiResponseEnvelope.js +0 -36
  237. package/dist/serialization/types/BrowserWaitSelectorConfig.d.ts +0 -14
  238. package/dist/serialization/types/BrowserWaitSelectorConfig.js +0 -35
  239. package/dist/serialization/types/CustomProxy.d.ts +0 -11
  240. package/dist/serialization/types/ExtensionConfigurationOutput.d.ts +0 -15
  241. package/dist/serialization/types/ExtensionConfigurationOutput.js +0 -36
  242. package/dist/serialization/types/IntervalMonitorConfig.d.ts +0 -13
  243. package/dist/serialization/types/MonitorConfig.d.ts +0 -19
  244. package/dist/serialization/types/MonitorConfig.js +0 -40
  245. package/dist/serialization/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -10
  246. package/dist/serialization/types/MonitorConfigIncludeVisualAnalysis.js +0 -31
  247. package/dist/serialization/types/MonitorConfigMonitorType.d.ts +0 -10
  248. package/dist/serialization/types/MonitorConfigMonitorType.js +0 -31
  249. package/dist/serialization/types/RequestStatusResponse.d.ts +0 -13
  250. package/dist/serialization/types/SessionConfigV1ProxyItem.d.ts +0 -14
  251. package/dist/serialization/types/SessionConfigV1ProxyItem.js +0 -35
  252. package/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
  253. package/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -41
  254. package/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
  255. package/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -40
  256. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -20
  257. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -41
  258. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
  259. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -41
  260. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
  261. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -40
  262. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
  263. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -41
  264. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
  265. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -39
  266. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
  267. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -40
  268. package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
  269. package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -45
  270. package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -18
  271. package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -39
  272. package/serialization/types/AsyncConfig.d.ts +0 -12
  273. package/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +0 -15
  274. package/serialization/types/AsyncSessionAiResponseEnvelope.js +0 -36
  275. package/serialization/types/BrowserWaitSelectorConfig.d.ts +0 -14
  276. package/serialization/types/BrowserWaitSelectorConfig.js +0 -35
  277. package/serialization/types/CustomProxy.d.ts +0 -11
  278. package/serialization/types/ExtensionConfigurationOutput.d.ts +0 -15
  279. package/serialization/types/ExtensionConfigurationOutput.js +0 -36
  280. package/serialization/types/IntervalMonitorConfig.d.ts +0 -13
  281. package/serialization/types/IntervalMonitorConfig.js +0 -34
  282. package/serialization/types/MonitorConfig.d.ts +0 -19
  283. package/serialization/types/MonitorConfig.js +0 -40
  284. package/serialization/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -10
  285. package/serialization/types/MonitorConfigIncludeVisualAnalysis.js +0 -31
  286. package/serialization/types/MonitorConfigMonitorType.d.ts +0 -10
  287. package/serialization/types/MonitorConfigMonitorType.js +0 -31
  288. package/serialization/types/RequestStatusResponse.d.ts +0 -13
  289. package/serialization/types/RequestStatusResponse.js +0 -34
  290. package/serialization/types/SessionConfigV1ProxyItem.d.ts +0 -14
  291. package/serialization/types/SessionConfigV1ProxyItem.js +0 -35
  292. /package/api/{resources/extensionConfigurations/client/requests/ExtensionConfigurationDeleteRequest.js → types/AirtopProxyConfiguration.js} +0 -0
  293. /package/api/{resources/windows/client/requests/AsyncClickRequest.js → types/ProxyConfigurationKind.js} +0 -0
  294. /package/api/{resources/windows/client/requests/AsyncHoverRequest.js → types/ProxyCredentials.js} +0 -0
  295. /package/{api/resources/windows/client/requests/AsyncMonitorRequest.js → dist/api/types/AirtopProxyConfiguration.js} +0 -0
  296. /package/{api/resources/windows/client/requests/AsyncPageQueryRequest.js → dist/api/types/ProxyConfigurationKind.js} +0 -0
  297. /package/{api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js → dist/api/types/ProxyCredentials.js} +0 -0
@@ -1,18 +1,8 @@
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";
10
1
  export { type CreateWindowInputV1Body } from "./CreateWindowInputV1Body";
11
2
  export { type GetWindowInfoRequest } from "./GetWindowInfoRequest";
12
3
  export { type WindowLoadUrlV1Body } from "./WindowLoadUrlV1Body";
13
4
  export { type SessionClickHandlerRequestBody } from "./SessionClickHandlerRequestBody";
14
5
  export { type SessionHoverHandlerRequestBody } from "./SessionHoverHandlerRequestBody";
15
- export { type SessionMonitorHandlerRequestBody } from "./SessionMonitorHandlerRequestBody";
16
6
  export { type SessionPaginatedExtractionHandlerRequestBody } from "./SessionPaginatedExtractionHandlerRequestBody";
17
7
  export { type ScrapeContentRequest } from "./ScrapeContentRequest";
18
8
  export { type SessionScreenshotHandlerRequestBody } from "./SessionScreenshotHandlerRequestBody";
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface AirtopProxyConfiguration {
5
+ /** Country to exit from, in [ISO 3166-1 alpha-2 format](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). Or `global` to get IP addresses from random countries. We do not guarantee an available proxy in all countries. */
6
+ country?: string;
7
+ /** Try to maintain the same IP address for the duration for up to a maximum of 30 minutes. `true` by default. <Note>Stickiness is on a best-effort basis; we cannot guarantee that the same IP address will be available for 30 minutes at a time.</Note> */
8
+ sticky?: boolean;
9
+ }
@@ -9,7 +9,7 @@ export interface ExternalSessionWithConnectionInfo {
9
9
  cdpWsUrl?: string;
10
10
  /** Websocket url to connect to the Airtop browser for webdriver-based automation frameworks (e.g. Selenium). Include the header 'Authorization: Bearer <airtop-api-key>.' */
11
11
  chromedriverUrl?: string;
12
- /** Session configuration details. */
12
+ /** Session configuration details. DEPRECATED */
13
13
  configuration: Airtop.ExternalSessionConfig;
14
14
  /** Current usage in minutes. */
15
15
  currentUsage?: number;
@@ -1,11 +1,14 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Airtop from "../index";
4
5
  /**
5
- * Proxy object with url of the proxy as a parameter. Takes optional username and password.
6
+ * Configuration for a single custom proxy.
6
7
  */
7
- export interface Proxy {
8
- password?: string;
9
- url: string;
10
- username?: string;
11
- }
8
+ export declare type Proxy =
9
+ /**
10
+ * Url of the proxy. Or `default` to use Airtop-provided proxy. */
11
+ string | Airtop.AirtopProxyConfiguration
12
+ /**
13
+ * Proxy object with url of the proxy as a parameter. Takes optional username and password. */
14
+ | Airtop.ProxyCredentials;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../index";
5
+ export interface ProxyConfigurationKind {
6
+ domainPattern: string;
7
+ /** Configuration for a single custom proxy. */
8
+ relay: Airtop.Proxy;
9
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Proxy object with url of the proxy as a parameter. Takes optional username and password.
6
+ */
7
+ export interface ProxyCredentials {
8
+ password?: string;
9
+ url: string;
10
+ username?: string;
11
+ }
@@ -5,10 +5,6 @@ import * as Airtop from "../index";
5
5
  export interface SessionConfigV1 {
6
6
  /** Deprecated: Use profileName instead. */
7
7
  baseProfileId?: string;
8
- /** Name of an extension configuration to load into the session. */
9
- extensionConfigurationName?: string;
10
- /** Google Web Store extension IDs to be loaded into the session. */
11
- extensionIds?: string[];
12
8
  /** Deprecated: use Save Profile On Termination API instead. */
13
9
  persistProfile?: boolean;
14
10
  /** Name of a profile to load into the session. */
@@ -7,11 +7,11 @@ import * as Airtop from "../index";
7
7
  */
8
8
  export declare type SessionConfigV1Proxy =
9
9
  /**
10
- * True to use airtop provided proxy */
10
+ * Use Airtop-provided proxy. */
11
11
  boolean
12
12
  /**
13
13
  * Configuration for a single custom proxy. */
14
- | Airtop.CustomProxy
14
+ | Airtop.Proxy
15
15
  /**
16
- * Array of proxy configurations. Includes a domain pattern and a proxy configuration to assign proxies to specific domains. */
17
- | Airtop.SessionConfigV1ProxyItem[];
16
+ * You can set multiple proxies. You associate each proxy with a domain pattern. If the domain matches the pattern, the proxy is used. Pattern can contain `?` to match any single character and / or `*` to match any sequence of characters. For example, `*.example.com` will match `www.example.com` and `sub.example.com`. */
17
+ | Airtop.ProxyConfigurationKind[];
@@ -9,7 +9,7 @@ export interface VisualAnalysisConfig {
9
9
  overlapPercentage?: number;
10
10
  /** The direction to partition the screenshot into chunks: 'vertical', 'horizontal', or 'bidirectional'. Defaults to 'vertical', which is recommended for most web pages. For optimal results when partitioning in a single direction, ensure the perpendicular dimension does not exceed 1920 pixels. */
11
11
  partitionDirection?: Airtop.VisualAnalysisConfigPartitionDirection;
12
- /** [Experimental] The strategy to use for selecting the match using visual analysis. Can be 'first' or bestMatch'. Defaults to 'first'. Use 'first' to select the first visual element that matches the element description. This will favor results that appear higher on the page in the event of multiple matches. Use 'bestMatch' to perform a second round of analysis to select the result that best matches the element description. */
12
+ /** [Experimental] The strategy to use for selecting the match using visual analysis. Can be 'auto', 'first' or 'bestMatch'. Defaults to 'auto'. Use 'auto' to let the system decide the best strategy. Use 'first' to select the first visual element that matches the element description. This will favor results that appear higher on the page in the event of multiple matches. Use 'bestMatch' to analyze the complete page and apply judgement to select the best candidate from all potential matches. */
13
13
  resultSelectionStrategy?: Airtop.VisualAnalysisConfigResultSelectionStrategy;
14
14
  /** Scan mode only: The delay between scrolls in milliseconds. Defaults to 1000 (milliseconds). */
15
15
  scanScrollDelay?: number;
@@ -2,10 +2,11 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * [Experimental] The strategy to use for selecting the match using visual analysis. Can be 'first' or bestMatch'. Defaults to 'first'. Use 'first' to select the first visual element that matches the element description. This will favor results that appear higher on the page in the event of multiple matches. Use 'bestMatch' to perform a second round of analysis to select the result that best matches the element description.
5
+ * [Experimental] The strategy to use for selecting the match using visual analysis. Can be 'auto', 'first' or 'bestMatch'. Defaults to 'auto'. Use 'auto' to let the system decide the best strategy. Use 'first' to select the first visual element that matches the element description. This will favor results that appear higher on the page in the event of multiple matches. Use 'bestMatch' to analyze the complete page and apply judgement to select the best candidate from all potential matches.
6
6
  */
7
- export declare type VisualAnalysisConfigResultSelectionStrategy = "first" | "bestMatch";
7
+ export declare type VisualAnalysisConfigResultSelectionStrategy = "first" | "bestMatch" | "auto";
8
8
  export declare const VisualAnalysisConfigResultSelectionStrategy: {
9
9
  readonly First: "first";
10
10
  readonly BestMatch: "bestMatch";
11
+ readonly Auto: "auto";
11
12
  };
@@ -7,4 +7,5 @@ exports.VisualAnalysisConfigResultSelectionStrategy = void 0;
7
7
  exports.VisualAnalysisConfigResultSelectionStrategy = {
8
8
  First: "first",
9
9
  BestMatch: "bestMatch",
10
+ Auto: "auto",
10
11
  };
@@ -1,10 +1,7 @@
1
1
  export * from "./AiPromptResponse";
2
2
  export * from "./AiResponseEnvelope";
3
- export * from "./AsyncConfig";
4
- export * from "./AsyncSessionAiResponseEnvelope";
5
3
  export * from "./BrowserWaitNavigationConfigWaitUntil";
6
4
  export * from "./BrowserWaitNavigationConfig";
7
- export * from "./BrowserWaitSelectorConfig";
8
5
  export * from "./ClickConfigClickType";
9
6
  export * from "./ClickConfig";
10
7
  export * from "./ClientProvidedResponseMetadata";
@@ -13,25 +10,19 @@ export * from "./ErrorBody";
13
10
  export * from "./ErrorDetail";
14
11
  export * from "./ErrorMessage";
15
12
  export * from "./ErrorModel";
16
- export * from "./ExtensionConfigurationOutput";
17
13
  export * from "./ExternalSessionAiResponseMetadataStatus";
18
14
  export * from "./ExternalSessionAiResponseMetadata";
19
15
  export * from "./ExternalSessionAiResponseMetadataUsage";
20
16
  export * from "./ExternalSessionConfig";
21
17
  export * from "./ExternalSessionWithConnectionInfo";
22
- export * from "./IntervalMonitorConfig";
23
18
  export * from "./Issue";
24
19
  export * from "./MicroInteractionConfig";
25
- export * from "./MonitorConfigIncludeVisualAnalysis";
26
- export * from "./MonitorConfigMonitorType";
27
- export * from "./MonitorConfig";
28
20
  export * from "./OperationOutcome";
29
21
  export * from "./OperationOutcomeResponse";
30
22
  export * from "./PageQueryConfig";
31
23
  export * from "./PageQueryExperimentalConfig";
32
24
  export * from "./PaginatedExtractionConfig";
33
25
  export * from "./Pagination";
34
- export * from "./RequestStatusResponse";
35
26
  export * from "./ScrapeResponse";
36
27
  export * from "./ScrapeResponseContent";
37
28
  export * from "./ScrapeResponseEnvelope";
@@ -39,9 +30,10 @@ export * from "./ScrapeResponseOutput";
39
30
  export * from "./ScreenshotConfig";
40
31
  export * from "./ScreenshotMetadata";
41
32
  export * from "./ScreenshotRequestConfig";
33
+ export * from "./AirtopProxyConfiguration";
34
+ export * from "./ProxyCredentials";
42
35
  export * from "./Proxy";
43
- export * from "./CustomProxy";
44
- export * from "./SessionConfigV1ProxyItem";
36
+ export * from "./ProxyConfigurationKind";
45
37
  export * from "./SessionConfigV1Proxy";
46
38
  export * from "./SessionConfigV1";
47
39
  export * from "./SessionEventMessage";
@@ -16,11 +16,8 @@ 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
19
  __exportStar(require("./BrowserWaitNavigationConfigWaitUntil"), exports);
22
20
  __exportStar(require("./BrowserWaitNavigationConfig"), exports);
23
- __exportStar(require("./BrowserWaitSelectorConfig"), exports);
24
21
  __exportStar(require("./ClickConfigClickType"), exports);
25
22
  __exportStar(require("./ClickConfig"), exports);
26
23
  __exportStar(require("./ClientProvidedResponseMetadata"), exports);
@@ -29,25 +26,19 @@ __exportStar(require("./ErrorBody"), exports);
29
26
  __exportStar(require("./ErrorDetail"), exports);
30
27
  __exportStar(require("./ErrorMessage"), exports);
31
28
  __exportStar(require("./ErrorModel"), exports);
32
- __exportStar(require("./ExtensionConfigurationOutput"), exports);
33
29
  __exportStar(require("./ExternalSessionAiResponseMetadataStatus"), exports);
34
30
  __exportStar(require("./ExternalSessionAiResponseMetadata"), exports);
35
31
  __exportStar(require("./ExternalSessionAiResponseMetadataUsage"), exports);
36
32
  __exportStar(require("./ExternalSessionConfig"), exports);
37
33
  __exportStar(require("./ExternalSessionWithConnectionInfo"), exports);
38
- __exportStar(require("./IntervalMonitorConfig"), exports);
39
34
  __exportStar(require("./Issue"), exports);
40
35
  __exportStar(require("./MicroInteractionConfig"), exports);
41
- __exportStar(require("./MonitorConfigIncludeVisualAnalysis"), exports);
42
- __exportStar(require("./MonitorConfigMonitorType"), exports);
43
- __exportStar(require("./MonitorConfig"), exports);
44
36
  __exportStar(require("./OperationOutcome"), exports);
45
37
  __exportStar(require("./OperationOutcomeResponse"), exports);
46
38
  __exportStar(require("./PageQueryConfig"), exports);
47
39
  __exportStar(require("./PageQueryExperimentalConfig"), exports);
48
40
  __exportStar(require("./PaginatedExtractionConfig"), exports);
49
41
  __exportStar(require("./Pagination"), exports);
50
- __exportStar(require("./RequestStatusResponse"), exports);
51
42
  __exportStar(require("./ScrapeResponse"), exports);
52
43
  __exportStar(require("./ScrapeResponseContent"), exports);
53
44
  __exportStar(require("./ScrapeResponseEnvelope"), exports);
@@ -55,9 +46,10 @@ __exportStar(require("./ScrapeResponseOutput"), exports);
55
46
  __exportStar(require("./ScreenshotConfig"), exports);
56
47
  __exportStar(require("./ScreenshotMetadata"), exports);
57
48
  __exportStar(require("./ScreenshotRequestConfig"), exports);
49
+ __exportStar(require("./AirtopProxyConfiguration"), exports);
50
+ __exportStar(require("./ProxyCredentials"), exports);
58
51
  __exportStar(require("./Proxy"), exports);
59
- __exportStar(require("./CustomProxy"), exports);
60
- __exportStar(require("./SessionConfigV1ProxyItem"), exports);
52
+ __exportStar(require("./ProxyConfigurationKind"), exports);
61
53
  __exportStar(require("./SessionConfigV1Proxy"), exports);
62
54
  __exportStar(require("./SessionConfigV1"), exports);
63
55
  __exportStar(require("./SessionEventMessage"), exports);
@@ -4,13 +4,16 @@
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";
7
8
  import { SessionsEventsResponseError } from "./SessionsEventsResponseError";
8
9
  import { SessionsEventsResponseWindowEvent } from "./SessionsEventsResponseWindowEvent";
9
10
  import { SessionsEventsResponseSessionEvent } from "./SessionsEventsResponseSessionEvent";
10
- import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
11
11
  export declare const SessionsEventsResponse: core.serialization.Schema<serializers.SessionsEventsResponse.Raw, Airtop.SessionsEventsResponse>;
12
12
  export declare namespace SessionsEventsResponse {
13
- type Raw = SessionsEventsResponse.Error | SessionsEventsResponse.WindowEvent | SessionsEventsResponse.SessionEvent | SessionsEventsResponse.Status;
13
+ type Raw = SessionsEventsResponse.Status | SessionsEventsResponse.Error | SessionsEventsResponse.WindowEvent | SessionsEventsResponse.SessionEvent;
14
+ interface Status extends SessionsEventsResponseStatus.Raw {
15
+ event: "status";
16
+ }
14
17
  interface Error extends SessionsEventsResponseError.Raw {
15
18
  event: "error";
16
19
  }
@@ -20,7 +23,4 @@ export declare namespace SessionsEventsResponse {
20
23
  interface SessionEvent extends SessionsEventsResponseSessionEvent.Raw {
21
24
  event: "sessionEvent";
22
25
  }
23
- interface Status extends SessionsEventsResponseStatus.Raw {
24
- event: "status";
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");
31
32
  const SessionsEventsResponseError_1 = require("./SessionsEventsResponseError");
32
33
  const SessionsEventsResponseWindowEvent_1 = require("./SessionsEventsResponseWindowEvent");
33
34
  const SessionsEventsResponseSessionEvent_1 = require("./SessionsEventsResponseSessionEvent");
34
- const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
35
35
  exports.SessionsEventsResponse = core.serialization
36
36
  .union("event", {
37
+ status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
37
38
  error: SessionsEventsResponseError_1.SessionsEventsResponseError,
38
39
  windowEvent: SessionsEventsResponseWindowEvent_1.SessionsEventsResponseWindowEvent,
39
40
  sessionEvent: SessionsEventsResponseSessionEvent_1.SessionsEventsResponseSessionEvent,
40
- status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
41
41
  })
42
42
  .transform({
43
43
  transform: (value) => value,
@@ -1,6 +1,6 @@
1
1
  export * from "./SessionsListRequestStatus";
2
+ export * from "./SessionsEventsResponseStatus";
2
3
  export * from "./SessionsEventsResponseError";
3
4
  export * from "./SessionsEventsResponseWindowEvent";
4
5
  export * from "./SessionsEventsResponseSessionEvent";
5
- export * from "./SessionsEventsResponseStatus";
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);
18
19
  __exportStar(require("./SessionsEventsResponseError"), exports);
19
20
  __exportStar(require("./SessionsEventsResponseWindowEvent"), exports);
20
21
  __exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
21
- __exportStar(require("./SessionsEventsResponseStatus"), exports);
22
22
  __exportStar(require("./SessionsEventsResponse"), exports);
@@ -1,17 +1,7 @@
1
- export { AsyncClickRequest } from "./AsyncClickRequest";
2
- export { AsyncHoverRequest } from "./AsyncHoverRequest";
3
- export { AsyncMonitorRequest } from "./AsyncMonitorRequest";
4
- export { AsyncPageQueryRequest } from "./AsyncPageQueryRequest";
5
- export { AsyncPaginatedExtractionRequest } from "./AsyncPaginatedExtractionRequest";
6
- export { AsyncPromptContentRequest } from "./AsyncPromptContentRequest";
7
- export { AsyncScreenshotRequest } from "./AsyncScreenshotRequest";
8
- export { AsyncSummarizeContentRequest } from "./AsyncSummarizeContentRequest";
9
- export { AsyncTypeRequest } from "./AsyncTypeRequest";
10
1
  export { CreateWindowInputV1Body } from "./CreateWindowInputV1Body";
11
2
  export { WindowLoadUrlV1Body } from "./WindowLoadUrlV1Body";
12
3
  export { SessionClickHandlerRequestBody } from "./SessionClickHandlerRequestBody";
13
4
  export { SessionHoverHandlerRequestBody } from "./SessionHoverHandlerRequestBody";
14
- export { SessionMonitorHandlerRequestBody } from "./SessionMonitorHandlerRequestBody";
15
5
  export { SessionPaginatedExtractionHandlerRequestBody } from "./SessionPaginatedExtractionHandlerRequestBody";
16
6
  export { ScrapeContentRequest } from "./ScrapeContentRequest";
17
7
  export { SessionScreenshotHandlerRequestBody } from "./SessionScreenshotHandlerRequestBody";
@@ -1,24 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SessionTypeHandlerRequestBody = exports.SessionSummaryHandlerRequestBody = 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.AsyncClickRequest = void 0;
4
- var AsyncClickRequest_1 = require("./AsyncClickRequest");
5
- Object.defineProperty(exports, "AsyncClickRequest", { enumerable: true, get: function () { return AsyncClickRequest_1.AsyncClickRequest; } });
6
- var AsyncHoverRequest_1 = require("./AsyncHoverRequest");
7
- Object.defineProperty(exports, "AsyncHoverRequest", { enumerable: true, get: function () { return AsyncHoverRequest_1.AsyncHoverRequest; } });
8
- var AsyncMonitorRequest_1 = require("./AsyncMonitorRequest");
9
- Object.defineProperty(exports, "AsyncMonitorRequest", { enumerable: true, get: function () { return AsyncMonitorRequest_1.AsyncMonitorRequest; } });
10
- var AsyncPageQueryRequest_1 = require("./AsyncPageQueryRequest");
11
- Object.defineProperty(exports, "AsyncPageQueryRequest", { enumerable: true, get: function () { return AsyncPageQueryRequest_1.AsyncPageQueryRequest; } });
12
- var AsyncPaginatedExtractionRequest_1 = require("./AsyncPaginatedExtractionRequest");
13
- Object.defineProperty(exports, "AsyncPaginatedExtractionRequest", { enumerable: true, get: function () { return AsyncPaginatedExtractionRequest_1.AsyncPaginatedExtractionRequest; } });
14
- var AsyncPromptContentRequest_1 = require("./AsyncPromptContentRequest");
15
- Object.defineProperty(exports, "AsyncPromptContentRequest", { enumerable: true, get: function () { return AsyncPromptContentRequest_1.AsyncPromptContentRequest; } });
16
- var AsyncScreenshotRequest_1 = require("./AsyncScreenshotRequest");
17
- Object.defineProperty(exports, "AsyncScreenshotRequest", { enumerable: true, get: function () { return AsyncScreenshotRequest_1.AsyncScreenshotRequest; } });
18
- var AsyncSummarizeContentRequest_1 = require("./AsyncSummarizeContentRequest");
19
- Object.defineProperty(exports, "AsyncSummarizeContentRequest", { enumerable: true, get: function () { return AsyncSummarizeContentRequest_1.AsyncSummarizeContentRequest; } });
20
- var AsyncTypeRequest_1 = require("./AsyncTypeRequest");
21
- Object.defineProperty(exports, "AsyncTypeRequest", { enumerable: true, get: function () { return AsyncTypeRequest_1.AsyncTypeRequest; } });
3
+ exports.SessionTypeHandlerRequestBody = exports.SessionSummaryHandlerRequestBody = exports.SessionScreenshotHandlerRequestBody = exports.ScrapeContentRequest = exports.SessionPaginatedExtractionHandlerRequestBody = exports.SessionHoverHandlerRequestBody = exports.SessionClickHandlerRequestBody = exports.WindowLoadUrlV1Body = exports.CreateWindowInputV1Body = void 0;
22
4
  var CreateWindowInputV1Body_1 = require("./CreateWindowInputV1Body");
23
5
  Object.defineProperty(exports, "CreateWindowInputV1Body", { enumerable: true, get: function () { return CreateWindowInputV1Body_1.CreateWindowInputV1Body; } });
24
6
  var WindowLoadUrlV1Body_1 = require("./WindowLoadUrlV1Body");
@@ -27,8 +9,6 @@ var SessionClickHandlerRequestBody_1 = require("./SessionClickHandlerRequestBody
27
9
  Object.defineProperty(exports, "SessionClickHandlerRequestBody", { enumerable: true, get: function () { return SessionClickHandlerRequestBody_1.SessionClickHandlerRequestBody; } });
28
10
  var SessionHoverHandlerRequestBody_1 = require("./SessionHoverHandlerRequestBody");
29
11
  Object.defineProperty(exports, "SessionHoverHandlerRequestBody", { enumerable: true, get: function () { return SessionHoverHandlerRequestBody_1.SessionHoverHandlerRequestBody; } });
30
- var SessionMonitorHandlerRequestBody_1 = require("./SessionMonitorHandlerRequestBody");
31
- Object.defineProperty(exports, "SessionMonitorHandlerRequestBody", { enumerable: true, get: function () { return SessionMonitorHandlerRequestBody_1.SessionMonitorHandlerRequestBody; } });
32
12
  var SessionPaginatedExtractionHandlerRequestBody_1 = require("./SessionPaginatedExtractionHandlerRequestBody");
33
13
  Object.defineProperty(exports, "SessionPaginatedExtractionHandlerRequestBody", { enumerable: true, get: function () { return SessionPaginatedExtractionHandlerRequestBody_1.SessionPaginatedExtractionHandlerRequestBody; } });
34
14
  var ScrapeContentRequest_1 = require("./ScrapeContentRequest");
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Airtop from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const AirtopProxyConfiguration: core.serialization.ObjectSchema<serializers.AirtopProxyConfiguration.Raw, Airtop.AirtopProxyConfiguration>;
8
+ export declare namespace AirtopProxyConfiguration {
9
+ interface Raw {
10
+ country?: string | null;
11
+ sticky?: boolean | null;
12
+ }
13
+ }
@@ -26,9 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.RequestStatusResponse = void 0;
29
+ exports.AirtopProxyConfiguration = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.RequestStatusResponse = core.serialization.object({
32
- response: core.serialization.unknown(),
33
- status: core.serialization.string(),
31
+ exports.AirtopProxyConfiguration = core.serialization.object({
32
+ country: core.serialization.string().optional(),
33
+ sticky: core.serialization.boolean().optional(),
34
34
  });
@@ -4,11 +4,9 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Airtop from "../../api/index";
6
6
  import * as core from "../../core";
7
- export declare const Proxy: core.serialization.ObjectSchema<serializers.Proxy.Raw, Airtop.Proxy>;
7
+ import { AirtopProxyConfiguration } from "./AirtopProxyConfiguration";
8
+ import { ProxyCredentials } from "./ProxyCredentials";
9
+ export declare const Proxy: core.serialization.Schema<serializers.Proxy.Raw, Airtop.Proxy>;
8
10
  export declare namespace Proxy {
9
- interface Raw {
10
- password?: string | null;
11
- url: string;
12
- username?: string | null;
13
- }
11
+ type Raw = string | AirtopProxyConfiguration.Raw | ProxyCredentials.Raw;
14
12
  }
@@ -28,8 +28,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Proxy = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.Proxy = core.serialization.object({
32
- password: core.serialization.string().optional(),
33
- url: core.serialization.string(),
34
- username: core.serialization.string().optional(),
35
- });
31
+ const AirtopProxyConfiguration_1 = require("./AirtopProxyConfiguration");
32
+ const ProxyCredentials_1 = require("./ProxyCredentials");
33
+ exports.Proxy = core.serialization.undiscriminatedUnion([core.serialization.string(), AirtopProxyConfiguration_1.AirtopProxyConfiguration, ProxyCredentials_1.ProxyCredentials]);
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Airtop from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { Proxy } from "./Proxy";
8
+ export declare const ProxyConfigurationKind: core.serialization.ObjectSchema<serializers.ProxyConfigurationKind.Raw, Airtop.ProxyConfigurationKind>;
9
+ export declare namespace ProxyConfigurationKind {
10
+ interface Raw {
11
+ domainPattern: string;
12
+ relay: Proxy.Raw;
13
+ }
14
+ }
@@ -26,7 +26,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.CustomProxy = void 0;
29
+ exports.ProxyConfigurationKind = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  const Proxy_1 = require("./Proxy");
32
- exports.CustomProxy = core.serialization.undiscriminatedUnion([core.serialization.string(), Proxy_1.Proxy]);
32
+ exports.ProxyConfigurationKind = core.serialization.object({
33
+ domainPattern: core.serialization.string(),
34
+ relay: Proxy_1.Proxy,
35
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Airtop from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const ProxyCredentials: core.serialization.ObjectSchema<serializers.ProxyCredentials.Raw, Airtop.ProxyCredentials>;
8
+ export declare namespace ProxyCredentials {
9
+ interface Raw {
10
+ password?: string | null;
11
+ url: string;
12
+ username?: string | null;
13
+ }
14
+ }
@@ -26,9 +26,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.IntervalMonitorConfig = void 0;
29
+ exports.ProxyCredentials = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.IntervalMonitorConfig = core.serialization.object({
32
- intervalSeconds: core.serialization.number().optional(),
33
- timeoutSeconds: core.serialization.number().optional(),
31
+ exports.ProxyCredentials = core.serialization.object({
32
+ password: core.serialization.string().optional(),
33
+ url: core.serialization.string(),
34
+ username: core.serialization.string().optional(),
34
35
  });
@@ -9,8 +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
- extensionConfigurationName?: string | null;
13
- extensionIds?: string[] | null;
14
12
  persistProfile?: boolean | null;
15
13
  profileName?: string | null;
16
14
  proxy?: SessionConfigV1Proxy.Raw | null;
@@ -31,8 +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
- extensionConfigurationName: core.serialization.string().optional(),
35
- extensionIds: core.serialization.list(core.serialization.string()).optional(),
36
34
  persistProfile: core.serialization.boolean().optional(),
37
35
  profileName: core.serialization.string().optional(),
38
36
  proxy: SessionConfigV1Proxy_1.SessionConfigV1Proxy.optional(),
@@ -4,9 +4,9 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Airtop from "../../api/index";
6
6
  import * as core from "../../core";
7
- import { CustomProxy } from "./CustomProxy";
8
- import { SessionConfigV1ProxyItem } from "./SessionConfigV1ProxyItem";
7
+ import { Proxy } from "./Proxy";
8
+ import { ProxyConfigurationKind } from "./ProxyConfigurationKind";
9
9
  export declare const SessionConfigV1Proxy: core.serialization.Schema<serializers.SessionConfigV1Proxy.Raw, Airtop.SessionConfigV1Proxy>;
10
10
  export declare namespace SessionConfigV1Proxy {
11
- type Raw = boolean | CustomProxy.Raw | SessionConfigV1ProxyItem.Raw[];
11
+ type Raw = boolean | Proxy.Raw | ProxyConfigurationKind.Raw[];
12
12
  }
@@ -28,10 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.SessionConfigV1Proxy = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- const CustomProxy_1 = require("./CustomProxy");
32
- const SessionConfigV1ProxyItem_1 = require("./SessionConfigV1ProxyItem");
31
+ const Proxy_1 = require("./Proxy");
32
+ const ProxyConfigurationKind_1 = require("./ProxyConfigurationKind");
33
33
  exports.SessionConfigV1Proxy = core.serialization.undiscriminatedUnion([
34
34
  core.serialization.boolean(),
35
- CustomProxy_1.CustomProxy,
36
- core.serialization.list(SessionConfigV1ProxyItem_1.SessionConfigV1ProxyItem),
35
+ Proxy_1.Proxy,
36
+ core.serialization.list(ProxyConfigurationKind_1.ProxyConfigurationKind),
37
37
  ]);
@@ -6,5 +6,5 @@ import * as Airtop from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const VisualAnalysisConfigResultSelectionStrategy: core.serialization.Schema<serializers.VisualAnalysisConfigResultSelectionStrategy.Raw, Airtop.VisualAnalysisConfigResultSelectionStrategy>;
8
8
  export declare namespace VisualAnalysisConfigResultSelectionStrategy {
9
- type Raw = "first" | "bestMatch";
9
+ type Raw = "first" | "bestMatch" | "auto";
10
10
  }
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.VisualAnalysisConfigResultSelectionStrategy = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.VisualAnalysisConfigResultSelectionStrategy = core.serialization.enum_(["first", "bestMatch"]);
31
+ exports.VisualAnalysisConfigResultSelectionStrategy = core.serialization.enum_(["first", "bestMatch", "auto"]);
@@ -1,10 +1,7 @@
1
1
  export * from "./AiPromptResponse";
2
2
  export * from "./AiResponseEnvelope";
3
- export * from "./AsyncConfig";
4
- export * from "./AsyncSessionAiResponseEnvelope";
5
3
  export * from "./BrowserWaitNavigationConfigWaitUntil";
6
4
  export * from "./BrowserWaitNavigationConfig";
7
- export * from "./BrowserWaitSelectorConfig";
8
5
  export * from "./ClickConfigClickType";
9
6
  export * from "./ClickConfig";
10
7
  export * from "./ClientProvidedResponseMetadata";
@@ -13,25 +10,19 @@ export * from "./ErrorBody";
13
10
  export * from "./ErrorDetail";
14
11
  export * from "./ErrorMessage";
15
12
  export * from "./ErrorModel";
16
- export * from "./ExtensionConfigurationOutput";
17
13
  export * from "./ExternalSessionAiResponseMetadataStatus";
18
14
  export * from "./ExternalSessionAiResponseMetadata";
19
15
  export * from "./ExternalSessionAiResponseMetadataUsage";
20
16
  export * from "./ExternalSessionConfig";
21
17
  export * from "./ExternalSessionWithConnectionInfo";
22
- export * from "./IntervalMonitorConfig";
23
18
  export * from "./Issue";
24
19
  export * from "./MicroInteractionConfig";
25
- export * from "./MonitorConfigIncludeVisualAnalysis";
26
- export * from "./MonitorConfigMonitorType";
27
- export * from "./MonitorConfig";
28
20
  export * from "./OperationOutcome";
29
21
  export * from "./OperationOutcomeResponse";
30
22
  export * from "./PageQueryConfig";
31
23
  export * from "./PageQueryExperimentalConfig";
32
24
  export * from "./PaginatedExtractionConfig";
33
25
  export * from "./Pagination";
34
- export * from "./RequestStatusResponse";
35
26
  export * from "./ScrapeResponse";
36
27
  export * from "./ScrapeResponseContent";
37
28
  export * from "./ScrapeResponseEnvelope";
@@ -39,9 +30,10 @@ export * from "./ScrapeResponseOutput";
39
30
  export * from "./ScreenshotConfig";
40
31
  export * from "./ScreenshotMetadata";
41
32
  export * from "./ScreenshotRequestConfig";
33
+ export * from "./AirtopProxyConfiguration";
34
+ export * from "./ProxyCredentials";
42
35
  export * from "./Proxy";
43
- export * from "./CustomProxy";
44
- export * from "./SessionConfigV1ProxyItem";
36
+ export * from "./ProxyConfigurationKind";
45
37
  export * from "./SessionConfigV1Proxy";
46
38
  export * from "./SessionConfigV1";
47
39
  export * from "./SessionEventMessage";