@airtop/sdk 0.1.35-beta0 → 1.0.0-alpha2.0

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 (1581) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -153
  3. package/dist/index.cjs +1195 -0
  4. package/dist/index.cjs.map +1 -0
  5. package/dist/index.d.cts +1028 -0
  6. package/dist/index.d.ts +1028 -7
  7. package/dist/index.js +1193 -49
  8. package/dist/index.js.map +1 -0
  9. package/package.json +72 -73
  10. package/Client.d.ts +0 -46
  11. package/Client.js +0 -42
  12. package/api/errors/ForbiddenError.d.ts +0 -8
  13. package/api/errors/ForbiddenError.js +0 -51
  14. package/api/errors/InternalServerError.d.ts +0 -8
  15. package/api/errors/InternalServerError.js +0 -51
  16. package/api/errors/NotFoundError.d.ts +0 -8
  17. package/api/errors/NotFoundError.js +0 -51
  18. package/api/errors/UnauthorizedError.d.ts +0 -8
  19. package/api/errors/UnauthorizedError.js +0 -51
  20. package/api/errors/UnprocessableEntityError.d.ts +0 -8
  21. package/api/errors/UnprocessableEntityError.js +0 -51
  22. package/api/errors/index.d.ts +0 -5
  23. package/api/errors/index.js +0 -21
  24. package/api/index.d.ts +0 -3
  25. package/api/index.js +0 -19
  26. package/api/resources/automations/client/Client.d.ts +0 -91
  27. package/api/resources/automations/client/Client.js +0 -429
  28. package/api/resources/automations/client/index.d.ts +0 -1
  29. package/api/resources/automations/client/index.js +0 -17
  30. package/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +0 -19
  31. package/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +0 -5
  32. package/api/resources/automations/client/requests/index.d.ts +0 -1
  33. package/api/resources/automations/client/requests/index.js +0 -2
  34. package/api/resources/automations/index.d.ts +0 -1
  35. package/api/resources/automations/index.js +0 -17
  36. package/api/resources/files/client/Client.d.ts +0 -69
  37. package/api/resources/files/client/Client.js +0 -286
  38. package/api/resources/files/client/index.d.ts +0 -1
  39. package/api/resources/files/client/index.js +0 -17
  40. package/api/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -20
  41. package/api/resources/files/client/requests/CreateFileRestInputV1.js +0 -5
  42. package/api/resources/files/client/requests/FilesListRequest.d.ts +0 -24
  43. package/api/resources/files/client/requests/FilesListRequest.js +0 -5
  44. package/api/resources/files/client/requests/index.d.ts +0 -2
  45. package/api/resources/files/client/requests/index.js +0 -2
  46. package/api/resources/files/index.d.ts +0 -2
  47. package/api/resources/files/index.js +0 -18
  48. package/api/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -13
  49. package/api/resources/files/types/CreateFileRestInputV1FileType.js +0 -12
  50. package/api/resources/files/types/index.d.ts +0 -1
  51. package/api/resources/files/types/index.js +0 -17
  52. package/api/resources/index.d.ts +0 -14
  53. package/api/resources/index.js +0 -53
  54. package/api/resources/profiles/client/Client.d.ts +0 -40
  55. package/api/resources/profiles/client/Client.js +0 -131
  56. package/api/resources/profiles/client/index.d.ts +0 -1
  57. package/api/resources/profiles/client/index.js +0 -17
  58. package/api/resources/profiles/client/requests/ProfilesDeleteRequest.d.ts +0 -17
  59. package/api/resources/profiles/client/requests/ProfilesDeleteRequest.js +0 -5
  60. package/api/resources/profiles/client/requests/index.d.ts +0 -1
  61. package/api/resources/profiles/client/requests/index.js +0 -2
  62. package/api/resources/profiles/index.d.ts +0 -1
  63. package/api/resources/profiles/index.js +0 -17
  64. package/api/resources/requests/client/Client.d.ts +0 -38
  65. package/api/resources/requests/client/Client.js +0 -117
  66. package/api/resources/requests/client/index.d.ts +0 -1
  67. package/api/resources/requests/client/index.js +0 -2
  68. package/api/resources/requests/index.d.ts +0 -1
  69. package/api/resources/requests/index.js +0 -17
  70. package/api/resources/sessions/client/Client.d.ts +0 -102
  71. package/api/resources/sessions/client/Client.js +0 -540
  72. package/api/resources/sessions/client/index.d.ts +0 -1
  73. package/api/resources/sessions/client/index.js +0 -17
  74. package/api/resources/sessions/client/requests/SessionRestInputV1.d.ts +0 -12
  75. package/api/resources/sessions/client/requests/SessionRestInputV1.js +0 -5
  76. package/api/resources/sessions/client/requests/SessionsEventsRequest.d.ts +0 -20
  77. package/api/resources/sessions/client/requests/SessionsEventsRequest.js +0 -5
  78. package/api/resources/sessions/client/requests/SessionsListRequest.d.ts +0 -29
  79. package/api/resources/sessions/client/requests/SessionsListRequest.js +0 -5
  80. package/api/resources/sessions/client/requests/index.d.ts +0 -3
  81. package/api/resources/sessions/client/requests/index.js +0 -2
  82. package/api/resources/sessions/index.d.ts +0 -2
  83. package/api/resources/sessions/index.js +0 -18
  84. package/api/resources/sessions/types/SessionsEventsResponse.d.ts +0 -22
  85. package/api/resources/sessions/types/SessionsEventsResponse.js +0 -5
  86. package/api/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -11
  87. package/api/resources/sessions/types/SessionsEventsResponseError.js +0 -5
  88. package/api/resources/sessions/types/SessionsEventsResponseSessionEvent.d.ts +0 -11
  89. package/api/resources/sessions/types/SessionsEventsResponseSessionEvent.js +0 -5
  90. package/api/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -11
  91. package/api/resources/sessions/types/SessionsEventsResponseStatus.js +0 -5
  92. package/api/resources/sessions/types/SessionsEventsResponseWindowEvent.d.ts +0 -11
  93. package/api/resources/sessions/types/SessionsEventsResponseWindowEvent.js +0 -5
  94. package/api/resources/sessions/types/SessionsListRequestStatus.d.ts +0 -16
  95. package/api/resources/sessions/types/SessionsListRequestStatus.js +0 -15
  96. package/api/resources/sessions/types/index.d.ts +0 -6
  97. package/api/resources/sessions/types/index.js +0 -22
  98. package/api/resources/windows/client/Client.d.ts +0 -362
  99. package/api/resources/windows/client/Client.js +0 -1539
  100. package/api/resources/windows/client/index.d.ts +0 -1
  101. package/api/resources/windows/client/index.js +0 -17
  102. package/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
  103. package/api/resources/windows/client/requests/AsyncClickRequest.js +0 -5
  104. package/api/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +0 -23
  105. package/api/resources/windows/client/requests/AsyncCreateAutomationRequest.js +0 -5
  106. package/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -27
  107. package/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -5
  108. package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
  109. package/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
  110. package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
  111. package/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
  112. package/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
  113. package/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
  114. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
  115. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
  116. package/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
  117. package/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
  118. package/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
  119. package/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
  120. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
  121. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
  122. package/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
  123. package/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
  124. package/api/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +0 -18
  125. package/api/resources/windows/client/requests/CreateWindowInputV1Body.js +0 -5
  126. package/api/resources/windows/client/requests/GetWindowInfoRequest.d.ts +0 -23
  127. package/api/resources/windows/client/requests/GetWindowInfoRequest.js +0 -5
  128. package/api/resources/windows/client/requests/ScrapeContentRequest.d.ts +0 -18
  129. package/api/resources/windows/client/requests/ScrapeContentRequest.js +0 -5
  130. package/api/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +0 -27
  131. package/api/resources/windows/client/requests/SessionClickHandlerRequestBody.js +0 -5
  132. package/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +0 -25
  133. package/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +0 -5
  134. package/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -25
  135. package/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -5
  136. package/api/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.d.ts +0 -25
  137. package/api/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.js +0 -5
  138. package/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +0 -21
  139. package/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +0 -5
  140. package/api/resources/windows/client/requests/SessionScrollHandlerRequestBody.d.ts +0 -29
  141. package/api/resources/windows/client/requests/SessionScrollHandlerRequestBody.js +0 -5
  142. package/api/resources/windows/client/requests/SessionSummaryHandlerRequestBody.d.ts +0 -23
  143. package/api/resources/windows/client/requests/SessionSummaryHandlerRequestBody.js +0 -5
  144. package/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +0 -35
  145. package/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +0 -5
  146. package/api/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +0 -18
  147. package/api/resources/windows/client/requests/WindowLoadUrlV1Body.js +0 -5
  148. package/api/resources/windows/client/requests/index.d.ts +0 -23
  149. package/api/resources/windows/client/requests/index.js +0 -2
  150. package/api/resources/windows/index.d.ts +0 -2
  151. package/api/resources/windows/index.js +0 -18
  152. package/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +0 -13
  153. package/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +0 -12
  154. package/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +0 -13
  155. package/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +0 -12
  156. package/api/resources/windows/types/index.d.ts +0 -2
  157. package/api/resources/windows/types/index.js +0 -18
  158. package/api/types/AiPromptResponse.d.ts +0 -10
  159. package/api/types/AiPromptResponse.js +0 -5
  160. package/api/types/AiResponseEnvelope.d.ts +0 -6
  161. package/api/types/AiResponseEnvelope.js +0 -5
  162. package/api/types/AirtopProxyConfiguration.d.ts +0 -9
  163. package/api/types/AirtopProxyConfiguration.js +0 -5
  164. package/api/types/AsyncConfig.d.ts +0 -7
  165. package/api/types/AsyncConfig.js +0 -5
  166. package/api/types/AsyncSessionAiResponseEnvelope.d.ts +0 -9
  167. package/api/types/AsyncSessionAiResponseEnvelope.js +0 -5
  168. package/api/types/AutomationOutput.d.ts +0 -10
  169. package/api/types/AutomationOutput.js +0 -5
  170. package/api/types/BrowserWaitNavigationConfig.d.ts +0 -10
  171. package/api/types/BrowserWaitNavigationConfig.js +0 -5
  172. package/api/types/BrowserWaitNavigationConfigWaitUntil.d.ts +0 -13
  173. package/api/types/BrowserWaitNavigationConfigWaitUntil.js +0 -12
  174. package/api/types/ClickConfig.d.ts +0 -14
  175. package/api/types/ClickConfig.js +0 -5
  176. package/api/types/ClickConfigClickType.d.ts +0 -12
  177. package/api/types/ClickConfigClickType.js +0 -11
  178. package/api/types/ClientProvidedResponseMetadata.d.ts +0 -6
  179. package/api/types/ClientProvidedResponseMetadata.js +0 -5
  180. package/api/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -4
  181. package/api/types/CreateAutomationRequestBodyConfiguration.js +0 -5
  182. package/api/types/CreateFileV1.d.ts +0 -24
  183. package/api/types/CreateFileV1.js +0 -5
  184. package/api/types/CreateFileV1FileType.d.ts +0 -13
  185. package/api/types/CreateFileV1FileType.js +0 -12
  186. package/api/types/DeleteAutomationOutputWrapperBody.d.ts +0 -4
  187. package/api/types/DeleteAutomationOutputWrapperBody.js +0 -5
  188. package/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -10
  189. package/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -5
  190. package/api/types/EnvelopeDefaultMeta.d.ts +0 -6
  191. package/api/types/EnvelopeDefaultMeta.js +0 -5
  192. package/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -10
  193. package/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -5
  194. package/api/types/ErrorBody.d.ts +0 -9
  195. package/api/types/ErrorBody.js +0 -5
  196. package/api/types/ErrorDetail.d.ts +0 -10
  197. package/api/types/ErrorDetail.js +0 -5
  198. package/api/types/ErrorMessage.d.ts +0 -11
  199. package/api/types/ErrorMessage.js +0 -5
  200. package/api/types/ErrorModel.d.ts +0 -18
  201. package/api/types/ErrorModel.js +0 -5
  202. package/api/types/ExtensionConfigurationOutput.d.ts +0 -13
  203. package/api/types/ExtensionConfigurationOutput.js +0 -5
  204. package/api/types/ExternalFile.d.ts +0 -33
  205. package/api/types/ExternalFile.js +0 -5
  206. package/api/types/ExternalSessionAiResponseMetadata.d.ts +0 -13
  207. package/api/types/ExternalSessionAiResponseMetadata.js +0 -5
  208. package/api/types/ExternalSessionAiResponseMetadataStatus.d.ts +0 -12
  209. package/api/types/ExternalSessionAiResponseMetadataStatus.js +0 -11
  210. package/api/types/ExternalSessionAiResponseMetadataUsage.d.ts +0 -9
  211. package/api/types/ExternalSessionAiResponseMetadataUsage.js +0 -5
  212. package/api/types/ExternalSessionConfig.d.ts +0 -11
  213. package/api/types/ExternalSessionConfig.js +0 -5
  214. package/api/types/ExternalSessionWithConnectionInfo.d.ts +0 -26
  215. package/api/types/ExternalSessionWithConnectionInfo.js +0 -5
  216. package/api/types/FilesResponse.d.ts +0 -10
  217. package/api/types/FilesResponse.js +0 -5
  218. package/api/types/FilesWithPagination.d.ts +0 -10
  219. package/api/types/FilesWithPagination.js +0 -5
  220. package/api/types/GetFileV1.d.ts +0 -24
  221. package/api/types/GetFileV1.js +0 -5
  222. package/api/types/GetFileV1FileType.d.ts +0 -13
  223. package/api/types/GetFileV1FileType.js +0 -12
  224. package/api/types/IntervalMonitorConfig.d.ts +0 -9
  225. package/api/types/IntervalMonitorConfig.js +0 -5
  226. package/api/types/Issue.d.ts +0 -13
  227. package/api/types/Issue.js +0 -5
  228. package/api/types/ListAutomationsOutput.d.ts +0 -7
  229. package/api/types/ListAutomationsOutput.js +0 -5
  230. package/api/types/MicroInteractionConfig.d.ts +0 -10
  231. package/api/types/MicroInteractionConfig.js +0 -5
  232. package/api/types/MicroInteractionConfigWithExperimental.d.ts +0 -12
  233. package/api/types/MicroInteractionConfigWithExperimental.js +0 -5
  234. package/api/types/MicroInteractionExperimentalConfig.d.ts +0 -7
  235. package/api/types/MicroInteractionExperimentalConfig.js +0 -5
  236. package/api/types/MonitorConfig.d.ts +0 -10
  237. package/api/types/MonitorConfig.js +0 -5
  238. package/api/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -12
  239. package/api/types/MonitorConfigIncludeVisualAnalysis.js +0 -11
  240. package/api/types/OperationOutcome.d.ts +0 -7
  241. package/api/types/OperationOutcome.js +0 -5
  242. package/api/types/OperationOutcomeResponse.d.ts +0 -10
  243. package/api/types/OperationOutcomeResponse.js +0 -5
  244. package/api/types/PageQueryConfig.d.ts +0 -12
  245. package/api/types/PageQueryConfig.js +0 -5
  246. package/api/types/PageQueryExperimentalConfig.d.ts +0 -7
  247. package/api/types/PageQueryExperimentalConfig.js +0 -5
  248. package/api/types/PaginatedExtractionConfig.d.ts +0 -16
  249. package/api/types/PaginatedExtractionConfig.js +0 -5
  250. package/api/types/PaginatedExtractionExperimentalConfig.d.ts +0 -7
  251. package/api/types/PaginatedExtractionExperimentalConfig.js +0 -5
  252. package/api/types/Pagination.d.ts +0 -21
  253. package/api/types/Pagination.js +0 -5
  254. package/api/types/Proxy.d.ts +0 -14
  255. package/api/types/Proxy.js +0 -5
  256. package/api/types/ProxyConfigurationKind.d.ts +0 -9
  257. package/api/types/ProxyConfigurationKind.js +0 -5
  258. package/api/types/ProxyCredentials.d.ts +0 -11
  259. package/api/types/ProxyCredentials.js +0 -5
  260. package/api/types/RequestStatusResponse.d.ts +0 -8
  261. package/api/types/RequestStatusResponse.js +0 -5
  262. package/api/types/ScrapeConfig.d.ts +0 -7
  263. package/api/types/ScrapeConfig.js +0 -5
  264. package/api/types/ScrapeResponse.d.ts +0 -10
  265. package/api/types/ScrapeResponse.js +0 -5
  266. package/api/types/ScrapeResponseContent.d.ts +0 -9
  267. package/api/types/ScrapeResponseContent.js +0 -5
  268. package/api/types/ScrapeResponseEnvelope.d.ts +0 -8
  269. package/api/types/ScrapeResponseEnvelope.js +0 -5
  270. package/api/types/ScrapeResponseOutput.d.ts +0 -12
  271. package/api/types/ScrapeResponseOutput.js +0 -5
  272. package/api/types/ScreenshotConfig.d.ts +0 -13
  273. package/api/types/ScreenshotConfig.js +0 -5
  274. package/api/types/ScreenshotMetadata.d.ts +0 -7
  275. package/api/types/ScreenshotMetadata.js +0 -5
  276. package/api/types/ScreenshotRequestConfig.d.ts +0 -8
  277. package/api/types/ScreenshotRequestConfig.js +0 -5
  278. package/api/types/ScrollByConfig.d.ts +0 -9
  279. package/api/types/ScrollByConfig.js +0 -5
  280. package/api/types/ScrollToEdgeConfig.d.ts +0 -9
  281. package/api/types/ScrollToEdgeConfig.js +0 -5
  282. package/api/types/SessionConfigV1.d.ts +0 -18
  283. package/api/types/SessionConfigV1.js +0 -5
  284. package/api/types/SessionConfigV1Proxy.d.ts +0 -17
  285. package/api/types/SessionConfigV1Proxy.js +0 -5
  286. package/api/types/SessionEventMessage.d.ts +0 -17
  287. package/api/types/SessionEventMessage.js +0 -5
  288. package/api/types/SessionPageQueryHandlerRequestBody.d.ts +0 -21
  289. package/api/types/SessionPageQueryHandlerRequestBody.js +0 -5
  290. package/api/types/SessionResponse.d.ts +0 -10
  291. package/api/types/SessionResponse.js +0 -5
  292. package/api/types/SessionsResponse.d.ts +0 -10
  293. package/api/types/SessionsResponse.js +0 -5
  294. package/api/types/SessionsWithPagination.d.ts +0 -10
  295. package/api/types/SessionsWithPagination.js +0 -5
  296. package/api/types/StatusMessage.d.ts +0 -16
  297. package/api/types/StatusMessage.js +0 -5
  298. package/api/types/StatusMessageStatus.d.ts +0 -15
  299. package/api/types/StatusMessageStatus.js +0 -14
  300. package/api/types/SummaryConfig.d.ts +0 -9
  301. package/api/types/SummaryConfig.js +0 -5
  302. package/api/types/SummaryExperimentalConfig.d.ts +0 -7
  303. package/api/types/SummaryExperimentalConfig.js +0 -5
  304. package/api/types/VisualAnalysisConfig.d.ts +0 -18
  305. package/api/types/VisualAnalysisConfig.js +0 -5
  306. package/api/types/VisualAnalysisConfigPartitionDirection.d.ts +0 -12
  307. package/api/types/VisualAnalysisConfigPartitionDirection.js +0 -11
  308. package/api/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +0 -12
  309. package/api/types/VisualAnalysisConfigResultSelectionStrategy.js +0 -11
  310. package/api/types/VisualAnalysisConfigScope.d.ts +0 -13
  311. package/api/types/VisualAnalysisConfigScope.js +0 -12
  312. package/api/types/Window.d.ts +0 -11
  313. package/api/types/Window.js +0 -5
  314. package/api/types/WindowEventMessage.d.ts +0 -19
  315. package/api/types/WindowEventMessage.js +0 -5
  316. package/api/types/WindowId.d.ts +0 -9
  317. package/api/types/WindowId.js +0 -5
  318. package/api/types/WindowIdResponse.d.ts +0 -10
  319. package/api/types/WindowIdResponse.js +0 -5
  320. package/api/types/WindowResponse.d.ts +0 -10
  321. package/api/types/WindowResponse.js +0 -5
  322. package/api/types/index.d.ts +0 -92
  323. package/api/types/index.js +0 -108
  324. package/biome.json +0 -69
  325. package/config/tsconfig-nobase.json +0 -16
  326. package/core/auth/BasicAuth.d.ts +0 -8
  327. package/core/auth/BasicAuth.js +0 -26
  328. package/core/auth/BearerToken.d.ts +0 -5
  329. package/core/auth/BearerToken.js +0 -15
  330. package/core/auth/index.d.ts +0 -2
  331. package/core/auth/index.js +0 -7
  332. package/core/fetcher/APIResponse.d.ts +0 -10
  333. package/core/fetcher/APIResponse.js +0 -2
  334. package/core/fetcher/Fetcher.d.ts +0 -39
  335. package/core/fetcher/Fetcher.js +0 -100
  336. package/core/fetcher/Supplier.d.ts +0 -4
  337. package/core/fetcher/Supplier.js +0 -22
  338. package/core/fetcher/createRequestUrl.d.ts +0 -1
  339. package/core/fetcher/createRequestUrl.js +0 -12
  340. package/core/fetcher/getFetchFn.d.ts +0 -4
  341. package/core/fetcher/getFetchFn.js +0 -68
  342. package/core/fetcher/getHeader.d.ts +0 -1
  343. package/core/fetcher/getHeader.js +0 -11
  344. package/core/fetcher/getRequestBody.d.ts +0 -7
  345. package/core/fetcher/getRequestBody.js +0 -23
  346. package/core/fetcher/getResponseBody.d.ts +0 -1
  347. package/core/fetcher/getResponseBody.js +0 -54
  348. package/core/fetcher/index.d.ts +0 -5
  349. package/core/fetcher/index.js +0 -9
  350. package/core/fetcher/makeRequest.d.ts +0 -1
  351. package/core/fetcher/makeRequest.js +0 -42
  352. package/core/fetcher/requestWithRetries.d.ts +0 -1
  353. package/core/fetcher/requestWithRetries.js +0 -40
  354. package/core/fetcher/signals.d.ts +0 -11
  355. package/core/fetcher/signals.js +0 -36
  356. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
  357. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
  358. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
  359. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
  360. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
  361. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
  362. package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
  363. package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
  364. package/core/index.d.ts +0 -5
  365. package/core/index.js +0 -44
  366. package/core/json.d.ts +0 -15
  367. package/core/json.js +0 -24
  368. package/core/runtime/index.d.ts +0 -1
  369. package/core/runtime/index.js +0 -5
  370. package/core/runtime/runtime.d.ts +0 -9
  371. package/core/runtime/runtime.js +0 -103
  372. package/core/schemas/Schema.d.ts +0 -87
  373. package/core/schemas/Schema.js +0 -24
  374. package/core/schemas/builders/bigint/bigint.d.ts +0 -2
  375. package/core/schemas/builders/bigint/bigint.js +0 -53
  376. package/core/schemas/builders/bigint/index.d.ts +0 -1
  377. package/core/schemas/builders/bigint/index.js +0 -5
  378. package/core/schemas/builders/date/date.d.ts +0 -2
  379. package/core/schemas/builders/date/date.js +0 -62
  380. package/core/schemas/builders/date/index.d.ts +0 -1
  381. package/core/schemas/builders/date/index.js +0 -5
  382. package/core/schemas/builders/enum/enum.d.ts +0 -2
  383. package/core/schemas/builders/enum/enum.js +0 -38
  384. package/core/schemas/builders/enum/index.d.ts +0 -1
  385. package/core/schemas/builders/enum/index.js +0 -5
  386. package/core/schemas/builders/index.d.ts +0 -14
  387. package/core/schemas/builders/index.js +0 -30
  388. package/core/schemas/builders/lazy/index.d.ts +0 -3
  389. package/core/schemas/builders/lazy/index.js +0 -7
  390. package/core/schemas/builders/lazy/lazy.d.ts +0 -5
  391. package/core/schemas/builders/lazy/lazy.js +0 -24
  392. package/core/schemas/builders/lazy/lazyObject.d.ts +0 -3
  393. package/core/schemas/builders/lazy/lazyObject.js +0 -11
  394. package/core/schemas/builders/list/index.d.ts +0 -1
  395. package/core/schemas/builders/list/index.js +0 -5
  396. package/core/schemas/builders/list/list.d.ts +0 -2
  397. package/core/schemas/builders/list/list.js +0 -54
  398. package/core/schemas/builders/literals/booleanLiteral.d.ts +0 -2
  399. package/core/schemas/builders/literals/booleanLiteral.js +0 -28
  400. package/core/schemas/builders/literals/index.d.ts +0 -2
  401. package/core/schemas/builders/literals/index.js +0 -7
  402. package/core/schemas/builders/literals/stringLiteral.d.ts +0 -2
  403. package/core/schemas/builders/literals/stringLiteral.js +0 -28
  404. package/core/schemas/builders/object/index.d.ts +0 -6
  405. package/core/schemas/builders/object/index.js +0 -11
  406. package/core/schemas/builders/object/object.d.ts +0 -3
  407. package/core/schemas/builders/object/object.js +0 -261
  408. package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +0 -6
  409. package/core/schemas/builders/object/objectWithoutOptionalProperties.js +0 -7
  410. package/core/schemas/builders/object/property.d.ts +0 -8
  411. package/core/schemas/builders/object/property.js +0 -15
  412. package/core/schemas/builders/object/types.d.ts +0 -31
  413. package/core/schemas/builders/object/types.js +0 -2
  414. package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +0 -9
  415. package/core/schemas/builders/object-like/getObjectLikeUtils.js +0 -53
  416. package/core/schemas/builders/object-like/index.d.ts +0 -2
  417. package/core/schemas/builders/object-like/index.js +0 -6
  418. package/core/schemas/builders/object-like/types.d.ts +0 -7
  419. package/core/schemas/builders/object-like/types.js +0 -2
  420. package/core/schemas/builders/primitives/any.d.ts +0 -1
  421. package/core/schemas/builders/primitives/any.js +0 -6
  422. package/core/schemas/builders/primitives/boolean.d.ts +0 -1
  423. package/core/schemas/builders/primitives/boolean.js +0 -25
  424. package/core/schemas/builders/primitives/index.d.ts +0 -5
  425. package/core/schemas/builders/primitives/index.js +0 -13
  426. package/core/schemas/builders/primitives/number.d.ts +0 -1
  427. package/core/schemas/builders/primitives/number.js +0 -25
  428. package/core/schemas/builders/primitives/string.d.ts +0 -1
  429. package/core/schemas/builders/primitives/string.js +0 -25
  430. package/core/schemas/builders/primitives/unknown.d.ts +0 -1
  431. package/core/schemas/builders/primitives/unknown.js +0 -6
  432. package/core/schemas/builders/record/index.d.ts +0 -2
  433. package/core/schemas/builders/record/index.js +0 -5
  434. package/core/schemas/builders/record/record.d.ts +0 -3
  435. package/core/schemas/builders/record/record.js +0 -93
  436. package/core/schemas/builders/record/types.d.ts +0 -4
  437. package/core/schemas/builders/record/types.js +0 -2
  438. package/core/schemas/builders/schema-utils/JsonError.d.ts +0 -5
  439. package/core/schemas/builders/schema-utils/JsonError.js +0 -12
  440. package/core/schemas/builders/schema-utils/ParseError.d.ts +0 -5
  441. package/core/schemas/builders/schema-utils/ParseError.js +0 -12
  442. package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +0 -21
  443. package/core/schemas/builders/schema-utils/getSchemaUtils.js +0 -145
  444. package/core/schemas/builders/schema-utils/index.d.ts +0 -4
  445. package/core/schemas/builders/schema-utils/index.js +0 -11
  446. package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +0 -2
  447. package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +0 -9
  448. package/core/schemas/builders/set/index.d.ts +0 -1
  449. package/core/schemas/builders/set/index.js +0 -5
  450. package/core/schemas/builders/set/set.d.ts +0 -2
  451. package/core/schemas/builders/set/set.js +0 -43
  452. package/core/schemas/builders/undiscriminated-union/index.d.ts +0 -2
  453. package/core/schemas/builders/undiscriminated-union/index.js +0 -5
  454. package/core/schemas/builders/undiscriminated-union/types.d.ts +0 -4
  455. package/core/schemas/builders/undiscriminated-union/types.js +0 -2
  456. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +0 -3
  457. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +0 -39
  458. package/core/schemas/builders/union/discriminant.d.ts +0 -5
  459. package/core/schemas/builders/union/discriminant.js +0 -9
  460. package/core/schemas/builders/union/index.d.ts +0 -4
  461. package/core/schemas/builders/union/index.js +0 -7
  462. package/core/schemas/builders/union/types.d.ts +0 -13
  463. package/core/schemas/builders/union/types.js +0 -2
  464. package/core/schemas/builders/union/union.d.ts +0 -4
  465. package/core/schemas/builders/union/union.js +0 -129
  466. package/core/schemas/index.d.ts +0 -2
  467. package/core/schemas/index.js +0 -17
  468. package/core/schemas/utils/MaybePromise.d.ts +0 -1
  469. package/core/schemas/utils/MaybePromise.js +0 -2
  470. package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +0 -7
  471. package/core/schemas/utils/addQuestionMarksToNullableProperties.js +0 -2
  472. package/core/schemas/utils/createIdentitySchemaCreator.d.ts +0 -2
  473. package/core/schemas/utils/createIdentitySchemaCreator.js +0 -15
  474. package/core/schemas/utils/entries.d.ts +0 -1
  475. package/core/schemas/utils/entries.js +0 -6
  476. package/core/schemas/utils/filterObject.d.ts +0 -1
  477. package/core/schemas/utils/filterObject.js +0 -13
  478. package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +0 -1
  479. package/core/schemas/utils/getErrorMessageForIncorrectType.js +0 -27
  480. package/core/schemas/utils/isPlainObject.d.ts +0 -1
  481. package/core/schemas/utils/isPlainObject.js +0 -17
  482. package/core/schemas/utils/keys.d.ts +0 -1
  483. package/core/schemas/utils/keys.js +0 -6
  484. package/core/schemas/utils/maybeSkipValidation.d.ts +0 -2
  485. package/core/schemas/utils/maybeSkipValidation.js +0 -27
  486. package/core/schemas/utils/partition.d.ts +0 -1
  487. package/core/schemas/utils/partition.js +0 -15
  488. package/core/streaming-fetcher/Stream.d.ts +0 -47
  489. package/core/streaming-fetcher/Stream.js +0 -169
  490. package/core/streaming-fetcher/index.d.ts +0 -1
  491. package/core/streaming-fetcher/index.js +0 -5
  492. package/dist/Client.d.ts +0 -46
  493. package/dist/Client.js +0 -42
  494. package/dist/api/errors/ForbiddenError.d.ts +0 -8
  495. package/dist/api/errors/ForbiddenError.js +0 -51
  496. package/dist/api/errors/InternalServerError.d.ts +0 -8
  497. package/dist/api/errors/InternalServerError.js +0 -51
  498. package/dist/api/errors/NotFoundError.d.ts +0 -8
  499. package/dist/api/errors/NotFoundError.js +0 -51
  500. package/dist/api/errors/UnauthorizedError.d.ts +0 -8
  501. package/dist/api/errors/UnauthorizedError.js +0 -51
  502. package/dist/api/errors/UnprocessableEntityError.d.ts +0 -8
  503. package/dist/api/errors/UnprocessableEntityError.js +0 -51
  504. package/dist/api/errors/index.d.ts +0 -5
  505. package/dist/api/errors/index.js +0 -21
  506. package/dist/api/index.d.ts +0 -3
  507. package/dist/api/index.js +0 -19
  508. package/dist/api/resources/automations/client/Client.d.ts +0 -91
  509. package/dist/api/resources/automations/client/Client.js +0 -429
  510. package/dist/api/resources/automations/client/index.d.ts +0 -1
  511. package/dist/api/resources/automations/client/index.js +0 -17
  512. package/dist/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +0 -19
  513. package/dist/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +0 -5
  514. package/dist/api/resources/automations/client/requests/index.d.ts +0 -1
  515. package/dist/api/resources/automations/client/requests/index.js +0 -2
  516. package/dist/api/resources/automations/index.d.ts +0 -1
  517. package/dist/api/resources/automations/index.js +0 -17
  518. package/dist/api/resources/files/client/Client.d.ts +0 -69
  519. package/dist/api/resources/files/client/Client.js +0 -286
  520. package/dist/api/resources/files/client/index.d.ts +0 -1
  521. package/dist/api/resources/files/client/index.js +0 -17
  522. package/dist/api/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -20
  523. package/dist/api/resources/files/client/requests/CreateFileRestInputV1.js +0 -5
  524. package/dist/api/resources/files/client/requests/FilesListRequest.d.ts +0 -24
  525. package/dist/api/resources/files/client/requests/FilesListRequest.js +0 -5
  526. package/dist/api/resources/files/client/requests/index.d.ts +0 -2
  527. package/dist/api/resources/files/client/requests/index.js +0 -2
  528. package/dist/api/resources/files/index.d.ts +0 -2
  529. package/dist/api/resources/files/index.js +0 -18
  530. package/dist/api/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -13
  531. package/dist/api/resources/files/types/CreateFileRestInputV1FileType.js +0 -12
  532. package/dist/api/resources/files/types/index.d.ts +0 -1
  533. package/dist/api/resources/files/types/index.js +0 -17
  534. package/dist/api/resources/index.d.ts +0 -14
  535. package/dist/api/resources/index.js +0 -53
  536. package/dist/api/resources/profiles/client/Client.d.ts +0 -40
  537. package/dist/api/resources/profiles/client/Client.js +0 -131
  538. package/dist/api/resources/profiles/client/index.d.ts +0 -1
  539. package/dist/api/resources/profiles/client/index.js +0 -17
  540. package/dist/api/resources/profiles/client/requests/ProfilesDeleteRequest.d.ts +0 -17
  541. package/dist/api/resources/profiles/client/requests/ProfilesDeleteRequest.js +0 -5
  542. package/dist/api/resources/profiles/client/requests/index.d.ts +0 -1
  543. package/dist/api/resources/profiles/client/requests/index.js +0 -2
  544. package/dist/api/resources/profiles/index.d.ts +0 -1
  545. package/dist/api/resources/profiles/index.js +0 -17
  546. package/dist/api/resources/requests/client/Client.d.ts +0 -38
  547. package/dist/api/resources/requests/client/Client.js +0 -117
  548. package/dist/api/resources/requests/client/index.d.ts +0 -1
  549. package/dist/api/resources/requests/client/index.js +0 -2
  550. package/dist/api/resources/requests/index.d.ts +0 -1
  551. package/dist/api/resources/requests/index.js +0 -17
  552. package/dist/api/resources/sessions/client/Client.d.ts +0 -102
  553. package/dist/api/resources/sessions/client/Client.js +0 -540
  554. package/dist/api/resources/sessions/client/index.d.ts +0 -1
  555. package/dist/api/resources/sessions/client/index.js +0 -17
  556. package/dist/api/resources/sessions/client/requests/SessionRestInputV1.d.ts +0 -12
  557. package/dist/api/resources/sessions/client/requests/SessionRestInputV1.js +0 -5
  558. package/dist/api/resources/sessions/client/requests/SessionsEventsRequest.d.ts +0 -20
  559. package/dist/api/resources/sessions/client/requests/SessionsEventsRequest.js +0 -5
  560. package/dist/api/resources/sessions/client/requests/SessionsListRequest.d.ts +0 -29
  561. package/dist/api/resources/sessions/client/requests/SessionsListRequest.js +0 -5
  562. package/dist/api/resources/sessions/client/requests/index.d.ts +0 -3
  563. package/dist/api/resources/sessions/client/requests/index.js +0 -2
  564. package/dist/api/resources/sessions/index.d.ts +0 -2
  565. package/dist/api/resources/sessions/index.js +0 -18
  566. package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +0 -22
  567. package/dist/api/resources/sessions/types/SessionsEventsResponse.js +0 -5
  568. package/dist/api/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -11
  569. package/dist/api/resources/sessions/types/SessionsEventsResponseError.js +0 -5
  570. package/dist/api/resources/sessions/types/SessionsEventsResponseSessionEvent.d.ts +0 -11
  571. package/dist/api/resources/sessions/types/SessionsEventsResponseSessionEvent.js +0 -5
  572. package/dist/api/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -11
  573. package/dist/api/resources/sessions/types/SessionsEventsResponseStatus.js +0 -5
  574. package/dist/api/resources/sessions/types/SessionsEventsResponseWindowEvent.d.ts +0 -11
  575. package/dist/api/resources/sessions/types/SessionsEventsResponseWindowEvent.js +0 -5
  576. package/dist/api/resources/sessions/types/SessionsListRequestStatus.d.ts +0 -16
  577. package/dist/api/resources/sessions/types/SessionsListRequestStatus.js +0 -15
  578. package/dist/api/resources/sessions/types/index.d.ts +0 -6
  579. package/dist/api/resources/sessions/types/index.js +0 -22
  580. package/dist/api/resources/windows/client/Client.d.ts +0 -362
  581. package/dist/api/resources/windows/client/Client.js +0 -1539
  582. package/dist/api/resources/windows/client/index.d.ts +0 -1
  583. package/dist/api/resources/windows/client/index.js +0 -17
  584. package/dist/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
  585. package/dist/api/resources/windows/client/requests/AsyncClickRequest.js +0 -5
  586. package/dist/api/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +0 -23
  587. package/dist/api/resources/windows/client/requests/AsyncCreateAutomationRequest.js +0 -5
  588. package/dist/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -27
  589. package/dist/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -5
  590. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
  591. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
  592. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
  593. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
  594. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
  595. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
  596. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
  597. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
  598. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
  599. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
  600. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
  601. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
  602. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
  603. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
  604. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
  605. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
  606. package/dist/api/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +0 -18
  607. package/dist/api/resources/windows/client/requests/CreateWindowInputV1Body.js +0 -5
  608. package/dist/api/resources/windows/client/requests/GetWindowInfoRequest.d.ts +0 -23
  609. package/dist/api/resources/windows/client/requests/GetWindowInfoRequest.js +0 -5
  610. package/dist/api/resources/windows/client/requests/ScrapeContentRequest.d.ts +0 -18
  611. package/dist/api/resources/windows/client/requests/ScrapeContentRequest.js +0 -5
  612. package/dist/api/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +0 -27
  613. package/dist/api/resources/windows/client/requests/SessionClickHandlerRequestBody.js +0 -5
  614. package/dist/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +0 -25
  615. package/dist/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +0 -5
  616. package/dist/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -25
  617. package/dist/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -5
  618. package/dist/api/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.d.ts +0 -25
  619. package/dist/api/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.js +0 -5
  620. package/dist/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +0 -21
  621. package/dist/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +0 -5
  622. package/dist/api/resources/windows/client/requests/SessionScrollHandlerRequestBody.d.ts +0 -29
  623. package/dist/api/resources/windows/client/requests/SessionScrollHandlerRequestBody.js +0 -5
  624. package/dist/api/resources/windows/client/requests/SessionSummaryHandlerRequestBody.d.ts +0 -23
  625. package/dist/api/resources/windows/client/requests/SessionSummaryHandlerRequestBody.js +0 -5
  626. package/dist/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +0 -35
  627. package/dist/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +0 -5
  628. package/dist/api/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +0 -18
  629. package/dist/api/resources/windows/client/requests/WindowLoadUrlV1Body.js +0 -5
  630. package/dist/api/resources/windows/client/requests/index.d.ts +0 -23
  631. package/dist/api/resources/windows/client/requests/index.js +0 -2
  632. package/dist/api/resources/windows/index.d.ts +0 -2
  633. package/dist/api/resources/windows/index.js +0 -18
  634. package/dist/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +0 -13
  635. package/dist/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +0 -12
  636. package/dist/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +0 -13
  637. package/dist/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +0 -12
  638. package/dist/api/resources/windows/types/index.d.ts +0 -2
  639. package/dist/api/resources/windows/types/index.js +0 -18
  640. package/dist/api/types/AiPromptResponse.d.ts +0 -10
  641. package/dist/api/types/AiPromptResponse.js +0 -5
  642. package/dist/api/types/AiResponseEnvelope.d.ts +0 -6
  643. package/dist/api/types/AiResponseEnvelope.js +0 -5
  644. package/dist/api/types/AirtopProxyConfiguration.d.ts +0 -9
  645. package/dist/api/types/AirtopProxyConfiguration.js +0 -5
  646. package/dist/api/types/AsyncConfig.d.ts +0 -7
  647. package/dist/api/types/AsyncConfig.js +0 -5
  648. package/dist/api/types/AsyncSessionAiResponseEnvelope.d.ts +0 -9
  649. package/dist/api/types/AsyncSessionAiResponseEnvelope.js +0 -5
  650. package/dist/api/types/AutomationOutput.d.ts +0 -10
  651. package/dist/api/types/AutomationOutput.js +0 -5
  652. package/dist/api/types/BrowserWaitNavigationConfig.d.ts +0 -10
  653. package/dist/api/types/BrowserWaitNavigationConfig.js +0 -5
  654. package/dist/api/types/BrowserWaitNavigationConfigWaitUntil.d.ts +0 -13
  655. package/dist/api/types/BrowserWaitNavigationConfigWaitUntil.js +0 -12
  656. package/dist/api/types/ClickConfig.d.ts +0 -14
  657. package/dist/api/types/ClickConfig.js +0 -5
  658. package/dist/api/types/ClickConfigClickType.d.ts +0 -12
  659. package/dist/api/types/ClickConfigClickType.js +0 -11
  660. package/dist/api/types/ClientProvidedResponseMetadata.d.ts +0 -6
  661. package/dist/api/types/ClientProvidedResponseMetadata.js +0 -5
  662. package/dist/api/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -4
  663. package/dist/api/types/CreateAutomationRequestBodyConfiguration.js +0 -5
  664. package/dist/api/types/CreateFileV1.d.ts +0 -24
  665. package/dist/api/types/CreateFileV1.js +0 -5
  666. package/dist/api/types/CreateFileV1FileType.d.ts +0 -13
  667. package/dist/api/types/CreateFileV1FileType.js +0 -12
  668. package/dist/api/types/DeleteAutomationOutputWrapperBody.d.ts +0 -4
  669. package/dist/api/types/DeleteAutomationOutputWrapperBody.js +0 -5
  670. package/dist/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -10
  671. package/dist/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -5
  672. package/dist/api/types/EnvelopeDefaultMeta.d.ts +0 -6
  673. package/dist/api/types/EnvelopeDefaultMeta.js +0 -5
  674. package/dist/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -10
  675. package/dist/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -5
  676. package/dist/api/types/ErrorBody.d.ts +0 -9
  677. package/dist/api/types/ErrorBody.js +0 -5
  678. package/dist/api/types/ErrorDetail.d.ts +0 -10
  679. package/dist/api/types/ErrorDetail.js +0 -5
  680. package/dist/api/types/ErrorMessage.d.ts +0 -11
  681. package/dist/api/types/ErrorMessage.js +0 -5
  682. package/dist/api/types/ErrorModel.d.ts +0 -18
  683. package/dist/api/types/ErrorModel.js +0 -5
  684. package/dist/api/types/ExtensionConfigurationOutput.d.ts +0 -13
  685. package/dist/api/types/ExtensionConfigurationOutput.js +0 -5
  686. package/dist/api/types/ExternalFile.d.ts +0 -33
  687. package/dist/api/types/ExternalFile.js +0 -5
  688. package/dist/api/types/ExternalSessionAiResponseMetadata.d.ts +0 -13
  689. package/dist/api/types/ExternalSessionAiResponseMetadata.js +0 -5
  690. package/dist/api/types/ExternalSessionAiResponseMetadataStatus.d.ts +0 -12
  691. package/dist/api/types/ExternalSessionAiResponseMetadataStatus.js +0 -11
  692. package/dist/api/types/ExternalSessionAiResponseMetadataUsage.d.ts +0 -9
  693. package/dist/api/types/ExternalSessionAiResponseMetadataUsage.js +0 -5
  694. package/dist/api/types/ExternalSessionConfig.d.ts +0 -11
  695. package/dist/api/types/ExternalSessionConfig.js +0 -5
  696. package/dist/api/types/ExternalSessionWithConnectionInfo.d.ts +0 -26
  697. package/dist/api/types/ExternalSessionWithConnectionInfo.js +0 -5
  698. package/dist/api/types/FilesResponse.d.ts +0 -10
  699. package/dist/api/types/FilesResponse.js +0 -5
  700. package/dist/api/types/FilesWithPagination.d.ts +0 -10
  701. package/dist/api/types/FilesWithPagination.js +0 -5
  702. package/dist/api/types/GetFileV1.d.ts +0 -24
  703. package/dist/api/types/GetFileV1.js +0 -5
  704. package/dist/api/types/GetFileV1FileType.d.ts +0 -13
  705. package/dist/api/types/GetFileV1FileType.js +0 -12
  706. package/dist/api/types/IntervalMonitorConfig.d.ts +0 -9
  707. package/dist/api/types/IntervalMonitorConfig.js +0 -5
  708. package/dist/api/types/Issue.d.ts +0 -13
  709. package/dist/api/types/Issue.js +0 -5
  710. package/dist/api/types/ListAutomationsOutput.d.ts +0 -7
  711. package/dist/api/types/ListAutomationsOutput.js +0 -5
  712. package/dist/api/types/MicroInteractionConfig.d.ts +0 -10
  713. package/dist/api/types/MicroInteractionConfig.js +0 -5
  714. package/dist/api/types/MicroInteractionConfigWithExperimental.d.ts +0 -12
  715. package/dist/api/types/MicroInteractionConfigWithExperimental.js +0 -5
  716. package/dist/api/types/MicroInteractionExperimentalConfig.d.ts +0 -7
  717. package/dist/api/types/MicroInteractionExperimentalConfig.js +0 -5
  718. package/dist/api/types/MonitorConfig.d.ts +0 -10
  719. package/dist/api/types/MonitorConfig.js +0 -5
  720. package/dist/api/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -12
  721. package/dist/api/types/MonitorConfigIncludeVisualAnalysis.js +0 -11
  722. package/dist/api/types/OperationOutcome.d.ts +0 -7
  723. package/dist/api/types/OperationOutcome.js +0 -5
  724. package/dist/api/types/OperationOutcomeResponse.d.ts +0 -10
  725. package/dist/api/types/OperationOutcomeResponse.js +0 -5
  726. package/dist/api/types/PageQueryConfig.d.ts +0 -12
  727. package/dist/api/types/PageQueryConfig.js +0 -5
  728. package/dist/api/types/PageQueryExperimentalConfig.d.ts +0 -7
  729. package/dist/api/types/PageQueryExperimentalConfig.js +0 -5
  730. package/dist/api/types/PaginatedExtractionConfig.d.ts +0 -16
  731. package/dist/api/types/PaginatedExtractionConfig.js +0 -5
  732. package/dist/api/types/PaginatedExtractionExperimentalConfig.d.ts +0 -7
  733. package/dist/api/types/PaginatedExtractionExperimentalConfig.js +0 -5
  734. package/dist/api/types/Pagination.d.ts +0 -21
  735. package/dist/api/types/Pagination.js +0 -5
  736. package/dist/api/types/Proxy.d.ts +0 -14
  737. package/dist/api/types/Proxy.js +0 -5
  738. package/dist/api/types/ProxyConfigurationKind.d.ts +0 -9
  739. package/dist/api/types/ProxyConfigurationKind.js +0 -5
  740. package/dist/api/types/ProxyCredentials.d.ts +0 -11
  741. package/dist/api/types/ProxyCredentials.js +0 -5
  742. package/dist/api/types/RequestStatusResponse.d.ts +0 -8
  743. package/dist/api/types/RequestStatusResponse.js +0 -5
  744. package/dist/api/types/ScrapeConfig.d.ts +0 -7
  745. package/dist/api/types/ScrapeConfig.js +0 -5
  746. package/dist/api/types/ScrapeResponse.d.ts +0 -10
  747. package/dist/api/types/ScrapeResponse.js +0 -5
  748. package/dist/api/types/ScrapeResponseContent.d.ts +0 -9
  749. package/dist/api/types/ScrapeResponseContent.js +0 -5
  750. package/dist/api/types/ScrapeResponseEnvelope.d.ts +0 -8
  751. package/dist/api/types/ScrapeResponseEnvelope.js +0 -5
  752. package/dist/api/types/ScrapeResponseOutput.d.ts +0 -12
  753. package/dist/api/types/ScrapeResponseOutput.js +0 -5
  754. package/dist/api/types/ScreenshotConfig.d.ts +0 -13
  755. package/dist/api/types/ScreenshotConfig.js +0 -5
  756. package/dist/api/types/ScreenshotMetadata.d.ts +0 -7
  757. package/dist/api/types/ScreenshotMetadata.js +0 -5
  758. package/dist/api/types/ScreenshotRequestConfig.d.ts +0 -8
  759. package/dist/api/types/ScreenshotRequestConfig.js +0 -5
  760. package/dist/api/types/ScrollByConfig.d.ts +0 -9
  761. package/dist/api/types/ScrollByConfig.js +0 -5
  762. package/dist/api/types/ScrollToEdgeConfig.d.ts +0 -9
  763. package/dist/api/types/ScrollToEdgeConfig.js +0 -5
  764. package/dist/api/types/SessionConfigV1.d.ts +0 -18
  765. package/dist/api/types/SessionConfigV1.js +0 -5
  766. package/dist/api/types/SessionConfigV1Proxy.d.ts +0 -17
  767. package/dist/api/types/SessionConfigV1Proxy.js +0 -5
  768. package/dist/api/types/SessionEventMessage.d.ts +0 -17
  769. package/dist/api/types/SessionEventMessage.js +0 -5
  770. package/dist/api/types/SessionPageQueryHandlerRequestBody.d.ts +0 -21
  771. package/dist/api/types/SessionPageQueryHandlerRequestBody.js +0 -5
  772. package/dist/api/types/SessionResponse.d.ts +0 -10
  773. package/dist/api/types/SessionResponse.js +0 -5
  774. package/dist/api/types/SessionsResponse.d.ts +0 -10
  775. package/dist/api/types/SessionsResponse.js +0 -5
  776. package/dist/api/types/SessionsWithPagination.d.ts +0 -10
  777. package/dist/api/types/SessionsWithPagination.js +0 -5
  778. package/dist/api/types/StatusMessage.d.ts +0 -16
  779. package/dist/api/types/StatusMessage.js +0 -5
  780. package/dist/api/types/StatusMessageStatus.d.ts +0 -15
  781. package/dist/api/types/StatusMessageStatus.js +0 -14
  782. package/dist/api/types/SummaryConfig.d.ts +0 -9
  783. package/dist/api/types/SummaryConfig.js +0 -5
  784. package/dist/api/types/SummaryExperimentalConfig.d.ts +0 -7
  785. package/dist/api/types/SummaryExperimentalConfig.js +0 -5
  786. package/dist/api/types/VisualAnalysisConfig.d.ts +0 -18
  787. package/dist/api/types/VisualAnalysisConfig.js +0 -5
  788. package/dist/api/types/VisualAnalysisConfigPartitionDirection.d.ts +0 -12
  789. package/dist/api/types/VisualAnalysisConfigPartitionDirection.js +0 -11
  790. package/dist/api/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +0 -12
  791. package/dist/api/types/VisualAnalysisConfigResultSelectionStrategy.js +0 -11
  792. package/dist/api/types/VisualAnalysisConfigScope.d.ts +0 -13
  793. package/dist/api/types/VisualAnalysisConfigScope.js +0 -12
  794. package/dist/api/types/Window.d.ts +0 -11
  795. package/dist/api/types/Window.js +0 -5
  796. package/dist/api/types/WindowEventMessage.d.ts +0 -19
  797. package/dist/api/types/WindowEventMessage.js +0 -5
  798. package/dist/api/types/WindowId.d.ts +0 -9
  799. package/dist/api/types/WindowId.js +0 -5
  800. package/dist/api/types/WindowIdResponse.d.ts +0 -10
  801. package/dist/api/types/WindowIdResponse.js +0 -5
  802. package/dist/api/types/WindowResponse.d.ts +0 -10
  803. package/dist/api/types/WindowResponse.js +0 -5
  804. package/dist/api/types/index.d.ts +0 -92
  805. package/dist/api/types/index.js +0 -108
  806. package/dist/core/auth/BasicAuth.d.ts +0 -8
  807. package/dist/core/auth/BasicAuth.js +0 -26
  808. package/dist/core/auth/BearerToken.d.ts +0 -5
  809. package/dist/core/auth/BearerToken.js +0 -15
  810. package/dist/core/auth/index.d.ts +0 -2
  811. package/dist/core/auth/index.js +0 -7
  812. package/dist/core/fetcher/APIResponse.d.ts +0 -10
  813. package/dist/core/fetcher/APIResponse.js +0 -2
  814. package/dist/core/fetcher/Fetcher.d.ts +0 -39
  815. package/dist/core/fetcher/Fetcher.js +0 -100
  816. package/dist/core/fetcher/Supplier.d.ts +0 -4
  817. package/dist/core/fetcher/Supplier.js +0 -22
  818. package/dist/core/fetcher/createRequestUrl.d.ts +0 -1
  819. package/dist/core/fetcher/createRequestUrl.js +0 -12
  820. package/dist/core/fetcher/getFetchFn.d.ts +0 -4
  821. package/dist/core/fetcher/getFetchFn.js +0 -68
  822. package/dist/core/fetcher/getHeader.d.ts +0 -1
  823. package/dist/core/fetcher/getHeader.js +0 -11
  824. package/dist/core/fetcher/getRequestBody.d.ts +0 -7
  825. package/dist/core/fetcher/getRequestBody.js +0 -23
  826. package/dist/core/fetcher/getResponseBody.d.ts +0 -1
  827. package/dist/core/fetcher/getResponseBody.js +0 -54
  828. package/dist/core/fetcher/index.d.ts +0 -5
  829. package/dist/core/fetcher/index.js +0 -9
  830. package/dist/core/fetcher/makeRequest.d.ts +0 -1
  831. package/dist/core/fetcher/makeRequest.js +0 -42
  832. package/dist/core/fetcher/requestWithRetries.d.ts +0 -1
  833. package/dist/core/fetcher/requestWithRetries.js +0 -40
  834. package/dist/core/fetcher/signals.d.ts +0 -11
  835. package/dist/core/fetcher/signals.js +0 -36
  836. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
  837. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
  838. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
  839. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
  840. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
  841. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
  842. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
  843. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
  844. package/dist/core/index.d.ts +0 -5
  845. package/dist/core/index.js +0 -44
  846. package/dist/core/json.d.ts +0 -15
  847. package/dist/core/json.js +0 -24
  848. package/dist/core/runtime/index.d.ts +0 -1
  849. package/dist/core/runtime/index.js +0 -5
  850. package/dist/core/runtime/runtime.d.ts +0 -9
  851. package/dist/core/runtime/runtime.js +0 -103
  852. package/dist/core/schemas/Schema.d.ts +0 -87
  853. package/dist/core/schemas/Schema.js +0 -24
  854. package/dist/core/schemas/builders/bigint/bigint.d.ts +0 -2
  855. package/dist/core/schemas/builders/bigint/bigint.js +0 -53
  856. package/dist/core/schemas/builders/bigint/index.d.ts +0 -1
  857. package/dist/core/schemas/builders/bigint/index.js +0 -5
  858. package/dist/core/schemas/builders/date/date.d.ts +0 -2
  859. package/dist/core/schemas/builders/date/date.js +0 -62
  860. package/dist/core/schemas/builders/date/index.d.ts +0 -1
  861. package/dist/core/schemas/builders/date/index.js +0 -5
  862. package/dist/core/schemas/builders/enum/enum.d.ts +0 -2
  863. package/dist/core/schemas/builders/enum/enum.js +0 -38
  864. package/dist/core/schemas/builders/enum/index.d.ts +0 -1
  865. package/dist/core/schemas/builders/enum/index.js +0 -5
  866. package/dist/core/schemas/builders/index.d.ts +0 -14
  867. package/dist/core/schemas/builders/index.js +0 -30
  868. package/dist/core/schemas/builders/lazy/index.d.ts +0 -3
  869. package/dist/core/schemas/builders/lazy/index.js +0 -7
  870. package/dist/core/schemas/builders/lazy/lazy.d.ts +0 -5
  871. package/dist/core/schemas/builders/lazy/lazy.js +0 -24
  872. package/dist/core/schemas/builders/lazy/lazyObject.d.ts +0 -3
  873. package/dist/core/schemas/builders/lazy/lazyObject.js +0 -11
  874. package/dist/core/schemas/builders/list/index.d.ts +0 -1
  875. package/dist/core/schemas/builders/list/index.js +0 -5
  876. package/dist/core/schemas/builders/list/list.d.ts +0 -2
  877. package/dist/core/schemas/builders/list/list.js +0 -54
  878. package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +0 -2
  879. package/dist/core/schemas/builders/literals/booleanLiteral.js +0 -28
  880. package/dist/core/schemas/builders/literals/index.d.ts +0 -2
  881. package/dist/core/schemas/builders/literals/index.js +0 -7
  882. package/dist/core/schemas/builders/literals/stringLiteral.d.ts +0 -2
  883. package/dist/core/schemas/builders/literals/stringLiteral.js +0 -28
  884. package/dist/core/schemas/builders/object/index.d.ts +0 -6
  885. package/dist/core/schemas/builders/object/index.js +0 -11
  886. package/dist/core/schemas/builders/object/object.d.ts +0 -3
  887. package/dist/core/schemas/builders/object/object.js +0 -261
  888. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +0 -6
  889. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +0 -7
  890. package/dist/core/schemas/builders/object/property.d.ts +0 -8
  891. package/dist/core/schemas/builders/object/property.js +0 -15
  892. package/dist/core/schemas/builders/object/types.d.ts +0 -31
  893. package/dist/core/schemas/builders/object/types.js +0 -2
  894. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +0 -9
  895. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +0 -53
  896. package/dist/core/schemas/builders/object-like/index.d.ts +0 -2
  897. package/dist/core/schemas/builders/object-like/index.js +0 -6
  898. package/dist/core/schemas/builders/object-like/types.d.ts +0 -7
  899. package/dist/core/schemas/builders/object-like/types.js +0 -2
  900. package/dist/core/schemas/builders/primitives/any.d.ts +0 -1
  901. package/dist/core/schemas/builders/primitives/any.js +0 -6
  902. package/dist/core/schemas/builders/primitives/boolean.d.ts +0 -1
  903. package/dist/core/schemas/builders/primitives/boolean.js +0 -25
  904. package/dist/core/schemas/builders/primitives/index.d.ts +0 -5
  905. package/dist/core/schemas/builders/primitives/index.js +0 -13
  906. package/dist/core/schemas/builders/primitives/number.d.ts +0 -1
  907. package/dist/core/schemas/builders/primitives/number.js +0 -25
  908. package/dist/core/schemas/builders/primitives/string.d.ts +0 -1
  909. package/dist/core/schemas/builders/primitives/string.js +0 -25
  910. package/dist/core/schemas/builders/primitives/unknown.d.ts +0 -1
  911. package/dist/core/schemas/builders/primitives/unknown.js +0 -6
  912. package/dist/core/schemas/builders/record/index.d.ts +0 -2
  913. package/dist/core/schemas/builders/record/index.js +0 -5
  914. package/dist/core/schemas/builders/record/record.d.ts +0 -3
  915. package/dist/core/schemas/builders/record/record.js +0 -93
  916. package/dist/core/schemas/builders/record/types.d.ts +0 -4
  917. package/dist/core/schemas/builders/record/types.js +0 -2
  918. package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +0 -5
  919. package/dist/core/schemas/builders/schema-utils/JsonError.js +0 -12
  920. package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +0 -5
  921. package/dist/core/schemas/builders/schema-utils/ParseError.js +0 -12
  922. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +0 -21
  923. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +0 -145
  924. package/dist/core/schemas/builders/schema-utils/index.d.ts +0 -4
  925. package/dist/core/schemas/builders/schema-utils/index.js +0 -11
  926. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +0 -2
  927. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +0 -9
  928. package/dist/core/schemas/builders/set/index.d.ts +0 -1
  929. package/dist/core/schemas/builders/set/index.js +0 -5
  930. package/dist/core/schemas/builders/set/set.d.ts +0 -2
  931. package/dist/core/schemas/builders/set/set.js +0 -43
  932. package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +0 -2
  933. package/dist/core/schemas/builders/undiscriminated-union/index.js +0 -5
  934. package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +0 -4
  935. package/dist/core/schemas/builders/undiscriminated-union/types.js +0 -2
  936. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +0 -3
  937. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +0 -39
  938. package/dist/core/schemas/builders/union/discriminant.d.ts +0 -5
  939. package/dist/core/schemas/builders/union/discriminant.js +0 -9
  940. package/dist/core/schemas/builders/union/index.d.ts +0 -4
  941. package/dist/core/schemas/builders/union/index.js +0 -7
  942. package/dist/core/schemas/builders/union/types.d.ts +0 -13
  943. package/dist/core/schemas/builders/union/types.js +0 -2
  944. package/dist/core/schemas/builders/union/union.d.ts +0 -4
  945. package/dist/core/schemas/builders/union/union.js +0 -129
  946. package/dist/core/schemas/index.d.ts +0 -2
  947. package/dist/core/schemas/index.js +0 -17
  948. package/dist/core/schemas/utils/MaybePromise.d.ts +0 -1
  949. package/dist/core/schemas/utils/MaybePromise.js +0 -2
  950. package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +0 -7
  951. package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +0 -2
  952. package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +0 -2
  953. package/dist/core/schemas/utils/createIdentitySchemaCreator.js +0 -15
  954. package/dist/core/schemas/utils/entries.d.ts +0 -1
  955. package/dist/core/schemas/utils/entries.js +0 -6
  956. package/dist/core/schemas/utils/filterObject.d.ts +0 -1
  957. package/dist/core/schemas/utils/filterObject.js +0 -13
  958. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +0 -1
  959. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +0 -27
  960. package/dist/core/schemas/utils/isPlainObject.d.ts +0 -1
  961. package/dist/core/schemas/utils/isPlainObject.js +0 -17
  962. package/dist/core/schemas/utils/keys.d.ts +0 -1
  963. package/dist/core/schemas/utils/keys.js +0 -6
  964. package/dist/core/schemas/utils/maybeSkipValidation.d.ts +0 -2
  965. package/dist/core/schemas/utils/maybeSkipValidation.js +0 -27
  966. package/dist/core/schemas/utils/partition.d.ts +0 -1
  967. package/dist/core/schemas/utils/partition.js +0 -15
  968. package/dist/core/streaming-fetcher/Stream.d.ts +0 -47
  969. package/dist/core/streaming-fetcher/Stream.js +0 -169
  970. package/dist/core/streaming-fetcher/index.d.ts +0 -1
  971. package/dist/core/streaming-fetcher/index.js +0 -5
  972. package/dist/environments.d.ts +0 -7
  973. package/dist/environments.js +0 -9
  974. package/dist/errors/AirtopError.d.ts +0 -12
  975. package/dist/errors/AirtopError.js +0 -33
  976. package/dist/errors/AirtopTimeoutError.d.ts +0 -6
  977. package/dist/errors/AirtopTimeoutError.js +0 -13
  978. package/dist/errors/index.d.ts +0 -2
  979. package/dist/errors/index.js +0 -7
  980. package/dist/live-view/types.d.ts +0 -24
  981. package/dist/live-view/types.js +0 -16
  982. package/dist/serialization/index.d.ts +0 -2
  983. package/dist/serialization/index.js +0 -18
  984. package/dist/serialization/resources/automations/client/index.d.ts +0 -1
  985. package/dist/serialization/resources/automations/client/index.js +0 -17
  986. package/dist/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +0 -14
  987. package/dist/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +0 -45
  988. package/dist/serialization/resources/automations/client/requests/index.d.ts +0 -1
  989. package/dist/serialization/resources/automations/client/requests/index.js +0 -5
  990. package/dist/serialization/resources/automations/index.d.ts +0 -1
  991. package/dist/serialization/resources/automations/index.js +0 -17
  992. package/dist/serialization/resources/files/client/index.d.ts +0 -1
  993. package/dist/serialization/resources/files/client/index.js +0 -17
  994. package/dist/serialization/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -16
  995. package/dist/serialization/resources/files/client/requests/CreateFileRestInputV1.js +0 -47
  996. package/dist/serialization/resources/files/client/requests/index.d.ts +0 -1
  997. package/dist/serialization/resources/files/client/requests/index.js +0 -5
  998. package/dist/serialization/resources/files/index.d.ts +0 -2
  999. package/dist/serialization/resources/files/index.js +0 -18
  1000. package/dist/serialization/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -10
  1001. package/dist/serialization/resources/files/types/CreateFileRestInputV1FileType.js +0 -41
  1002. package/dist/serialization/resources/files/types/index.d.ts +0 -1
  1003. package/dist/serialization/resources/files/types/index.js +0 -17
  1004. package/dist/serialization/resources/index.d.ts +0 -11
  1005. package/dist/serialization/resources/index.js +0 -50
  1006. package/dist/serialization/resources/sessions/client/index.d.ts +0 -1
  1007. package/dist/serialization/resources/sessions/client/index.js +0 -17
  1008. package/dist/serialization/resources/sessions/client/requests/SessionRestInputV1.d.ts +0 -13
  1009. package/dist/serialization/resources/sessions/client/requests/SessionRestInputV1.js +0 -44
  1010. package/dist/serialization/resources/sessions/client/requests/index.d.ts +0 -1
  1011. package/dist/serialization/resources/sessions/client/requests/index.js +0 -5
  1012. package/dist/serialization/resources/sessions/index.d.ts +0 -2
  1013. package/dist/serialization/resources/sessions/index.js +0 -18
  1014. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +0 -26
  1015. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +0 -55
  1016. package/dist/serialization/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -15
  1017. package/dist/serialization/resources/sessions/types/SessionsEventsResponseError.js +0 -46
  1018. package/dist/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.d.ts +0 -15
  1019. package/dist/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.js +0 -46
  1020. package/dist/serialization/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -15
  1021. package/dist/serialization/resources/sessions/types/SessionsEventsResponseStatus.js +0 -46
  1022. package/dist/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.d.ts +0 -15
  1023. package/dist/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.js +0 -46
  1024. package/dist/serialization/resources/sessions/types/SessionsListRequestStatus.d.ts +0 -10
  1025. package/dist/serialization/resources/sessions/types/SessionsListRequestStatus.js +0 -41
  1026. package/dist/serialization/resources/sessions/types/index.d.ts +0 -6
  1027. package/dist/serialization/resources/sessions/types/index.js +0 -22
  1028. package/dist/serialization/resources/windows/client/index.d.ts +0 -1
  1029. package/dist/serialization/resources/windows/client/index.js +0 -17
  1030. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
  1031. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -51
  1032. package/dist/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +0 -18
  1033. package/dist/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.js +0 -49
  1034. package/dist/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -18
  1035. package/dist/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -49
  1036. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
  1037. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -50
  1038. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -19
  1039. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -50
  1040. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
  1041. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
  1042. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
  1043. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -50
  1044. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
  1045. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
  1046. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
  1047. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -49
  1048. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
  1049. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -50
  1050. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
  1051. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
  1052. package/dist/serialization/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +0 -16
  1053. package/dist/serialization/resources/windows/client/requests/CreateWindowInputV1Body.js +0 -47
  1054. package/dist/serialization/resources/windows/client/requests/ScrapeContentRequest.d.ts +0 -14
  1055. package/dist/serialization/resources/windows/client/requests/ScrapeContentRequest.js +0 -45
  1056. package/dist/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +0 -18
  1057. package/dist/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.js +0 -49
  1058. package/dist/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +0 -17
  1059. package/dist/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +0 -48
  1060. package/dist/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -17
  1061. package/dist/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -48
  1062. package/dist/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.d.ts +0 -17
  1063. package/dist/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.js +0 -48
  1064. package/dist/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +0 -16
  1065. package/dist/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +0 -47
  1066. package/dist/serialization/resources/windows/client/requests/SessionScrollHandlerRequestBody.d.ts +0 -22
  1067. package/dist/serialization/resources/windows/client/requests/SessionScrollHandlerRequestBody.js +0 -53
  1068. package/dist/serialization/resources/windows/client/requests/SessionSummaryHandlerRequestBody.d.ts +0 -17
  1069. package/dist/serialization/resources/windows/client/requests/SessionSummaryHandlerRequestBody.js +0 -48
  1070. package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +0 -22
  1071. package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +0 -53
  1072. package/dist/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +0 -15
  1073. package/dist/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.js +0 -46
  1074. package/dist/serialization/resources/windows/client/requests/index.d.ts +0 -22
  1075. package/dist/serialization/resources/windows/client/requests/index.js +0 -47
  1076. package/dist/serialization/resources/windows/index.d.ts +0 -2
  1077. package/dist/serialization/resources/windows/index.js +0 -18
  1078. package/dist/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +0 -10
  1079. package/dist/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +0 -41
  1080. package/dist/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +0 -10
  1081. package/dist/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +0 -41
  1082. package/dist/serialization/resources/windows/types/index.d.ts +0 -2
  1083. package/dist/serialization/resources/windows/types/index.js +0 -18
  1084. package/dist/serialization/types/AiPromptResponse.d.ts +0 -18
  1085. package/dist/serialization/types/AiPromptResponse.js +0 -49
  1086. package/dist/serialization/types/AiResponseEnvelope.d.ts +0 -12
  1087. package/dist/serialization/types/AiResponseEnvelope.js +0 -43
  1088. package/dist/serialization/types/AirtopProxyConfiguration.d.ts +0 -13
  1089. package/dist/serialization/types/AirtopProxyConfiguration.js +0 -44
  1090. package/dist/serialization/types/AsyncConfig.d.ts +0 -12
  1091. package/dist/serialization/types/AsyncConfig.js +0 -43
  1092. package/dist/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +0 -15
  1093. package/dist/serialization/types/AsyncSessionAiResponseEnvelope.js +0 -46
  1094. package/dist/serialization/types/AutomationOutput.d.ts +0 -16
  1095. package/dist/serialization/types/AutomationOutput.js +0 -47
  1096. package/dist/serialization/types/BrowserWaitNavigationConfig.d.ts +0 -14
  1097. package/dist/serialization/types/BrowserWaitNavigationConfig.js +0 -45
  1098. package/dist/serialization/types/BrowserWaitNavigationConfigWaitUntil.d.ts +0 -10
  1099. package/dist/serialization/types/BrowserWaitNavigationConfigWaitUntil.js +0 -41
  1100. package/dist/serialization/types/ClickConfig.d.ts +0 -19
  1101. package/dist/serialization/types/ClickConfig.js +0 -50
  1102. package/dist/serialization/types/ClickConfigClickType.d.ts +0 -10
  1103. package/dist/serialization/types/ClickConfigClickType.js +0 -41
  1104. package/dist/serialization/types/ClientProvidedResponseMetadata.d.ts +0 -12
  1105. package/dist/serialization/types/ClientProvidedResponseMetadata.js +0 -43
  1106. package/dist/serialization/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -10
  1107. package/dist/serialization/types/CreateAutomationRequestBodyConfiguration.js +0 -41
  1108. package/dist/serialization/types/CreateFileV1.d.ts +0 -21
  1109. package/dist/serialization/types/CreateFileV1.js +0 -52
  1110. package/dist/serialization/types/CreateFileV1FileType.d.ts +0 -10
  1111. package/dist/serialization/types/CreateFileV1FileType.js +0 -41
  1112. package/dist/serialization/types/DeleteAutomationOutputWrapperBody.d.ts +0 -10
  1113. package/dist/serialization/types/DeleteAutomationOutputWrapperBody.js +0 -41
  1114. package/dist/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -18
  1115. package/dist/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -49
  1116. package/dist/serialization/types/EnvelopeDefaultMeta.d.ts +0 -12
  1117. package/dist/serialization/types/EnvelopeDefaultMeta.js +0 -43
  1118. package/dist/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -18
  1119. package/dist/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -49
  1120. package/dist/serialization/types/ErrorBody.d.ts +0 -13
  1121. package/dist/serialization/types/ErrorBody.js +0 -44
  1122. package/dist/serialization/types/ErrorDetail.d.ts +0 -14
  1123. package/dist/serialization/types/ErrorDetail.js +0 -45
  1124. package/dist/serialization/types/ErrorMessage.d.ts +0 -14
  1125. package/dist/serialization/types/ErrorMessage.js +0 -45
  1126. package/dist/serialization/types/ErrorModel.d.ts +0 -18
  1127. package/dist/serialization/types/ErrorModel.js +0 -49
  1128. package/dist/serialization/types/ExternalFile.d.ts +0 -25
  1129. package/dist/serialization/types/ExternalFile.js +0 -56
  1130. package/dist/serialization/types/ExternalSessionAiResponseMetadata.d.ts +0 -20
  1131. package/dist/serialization/types/ExternalSessionAiResponseMetadata.js +0 -51
  1132. package/dist/serialization/types/ExternalSessionAiResponseMetadataStatus.d.ts +0 -10
  1133. package/dist/serialization/types/ExternalSessionAiResponseMetadataStatus.js +0 -41
  1134. package/dist/serialization/types/ExternalSessionAiResponseMetadataUsage.d.ts +0 -13
  1135. package/dist/serialization/types/ExternalSessionAiResponseMetadataUsage.js +0 -44
  1136. package/dist/serialization/types/ExternalSessionConfig.d.ts +0 -14
  1137. package/dist/serialization/types/ExternalSessionConfig.js +0 -45
  1138. package/dist/serialization/types/ExternalSessionWithConnectionInfo.d.ts +0 -22
  1139. package/dist/serialization/types/ExternalSessionWithConnectionInfo.js +0 -53
  1140. package/dist/serialization/types/FilesResponse.d.ts +0 -18
  1141. package/dist/serialization/types/FilesResponse.js +0 -49
  1142. package/dist/serialization/types/FilesWithPagination.d.ts +0 -15
  1143. package/dist/serialization/types/FilesWithPagination.js +0 -46
  1144. package/dist/serialization/types/GetFileV1.d.ts +0 -21
  1145. package/dist/serialization/types/GetFileV1.js +0 -52
  1146. package/dist/serialization/types/GetFileV1FileType.d.ts +0 -10
  1147. package/dist/serialization/types/GetFileV1FileType.js +0 -41
  1148. package/dist/serialization/types/IntervalMonitorConfig.d.ts +0 -13
  1149. package/dist/serialization/types/IntervalMonitorConfig.js +0 -44
  1150. package/dist/serialization/types/Issue.d.ts +0 -15
  1151. package/dist/serialization/types/Issue.js +0 -46
  1152. package/dist/serialization/types/ListAutomationsOutput.d.ts +0 -13
  1153. package/dist/serialization/types/ListAutomationsOutput.js +0 -44
  1154. package/dist/serialization/types/MicroInteractionConfig.d.ts +0 -15
  1155. package/dist/serialization/types/MicroInteractionConfig.js +0 -46
  1156. package/dist/serialization/types/MicroInteractionConfigWithExperimental.d.ts +0 -17
  1157. package/dist/serialization/types/MicroInteractionConfigWithExperimental.js +0 -48
  1158. package/dist/serialization/types/MicroInteractionExperimentalConfig.d.ts +0 -12
  1159. package/dist/serialization/types/MicroInteractionExperimentalConfig.js +0 -43
  1160. package/dist/serialization/types/MonitorConfig.d.ts +0 -15
  1161. package/dist/serialization/types/MonitorConfig.js +0 -46
  1162. package/dist/serialization/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -10
  1163. package/dist/serialization/types/MonitorConfigIncludeVisualAnalysis.js +0 -41
  1164. package/dist/serialization/types/OperationOutcome.d.ts +0 -12
  1165. package/dist/serialization/types/OperationOutcome.js +0 -43
  1166. package/dist/serialization/types/OperationOutcomeResponse.d.ts +0 -18
  1167. package/dist/serialization/types/OperationOutcomeResponse.js +0 -49
  1168. package/dist/serialization/types/PageQueryConfig.d.ts +0 -16
  1169. package/dist/serialization/types/PageQueryConfig.js +0 -47
  1170. package/dist/serialization/types/PageQueryExperimentalConfig.d.ts +0 -12
  1171. package/dist/serialization/types/PageQueryExperimentalConfig.js +0 -43
  1172. package/dist/serialization/types/PaginatedExtractionConfig.d.ts +0 -18
  1173. package/dist/serialization/types/PaginatedExtractionConfig.js +0 -49
  1174. package/dist/serialization/types/PaginatedExtractionExperimentalConfig.d.ts +0 -12
  1175. package/dist/serialization/types/PaginatedExtractionExperimentalConfig.js +0 -43
  1176. package/dist/serialization/types/Pagination.d.ts +0 -19
  1177. package/dist/serialization/types/Pagination.js +0 -50
  1178. package/dist/serialization/types/Proxy.d.ts +0 -12
  1179. package/dist/serialization/types/Proxy.js +0 -43
  1180. package/dist/serialization/types/ProxyConfigurationKind.d.ts +0 -14
  1181. package/dist/serialization/types/ProxyConfigurationKind.js +0 -45
  1182. package/dist/serialization/types/ProxyCredentials.d.ts +0 -14
  1183. package/dist/serialization/types/ProxyCredentials.js +0 -45
  1184. package/dist/serialization/types/RequestStatusResponse.d.ts +0 -13
  1185. package/dist/serialization/types/RequestStatusResponse.js +0 -44
  1186. package/dist/serialization/types/ScrapeConfig.d.ts +0 -12
  1187. package/dist/serialization/types/ScrapeConfig.js +0 -43
  1188. package/dist/serialization/types/ScrapeResponse.d.ts +0 -18
  1189. package/dist/serialization/types/ScrapeResponse.js +0 -49
  1190. package/dist/serialization/types/ScrapeResponseContent.d.ts +0 -13
  1191. package/dist/serialization/types/ScrapeResponseContent.js +0 -44
  1192. package/dist/serialization/types/ScrapeResponseEnvelope.d.ts +0 -13
  1193. package/dist/serialization/types/ScrapeResponseEnvelope.js +0 -44
  1194. package/dist/serialization/types/ScrapeResponseOutput.d.ts +0 -15
  1195. package/dist/serialization/types/ScrapeResponseOutput.js +0 -46
  1196. package/dist/serialization/types/ScreenshotConfig.d.ts +0 -15
  1197. package/dist/serialization/types/ScreenshotConfig.js +0 -46
  1198. package/dist/serialization/types/ScreenshotMetadata.d.ts +0 -12
  1199. package/dist/serialization/types/ScreenshotMetadata.js +0 -43
  1200. package/dist/serialization/types/ScreenshotRequestConfig.d.ts +0 -13
  1201. package/dist/serialization/types/ScreenshotRequestConfig.js +0 -44
  1202. package/dist/serialization/types/ScrollByConfig.d.ts +0 -13
  1203. package/dist/serialization/types/ScrollByConfig.js +0 -44
  1204. package/dist/serialization/types/ScrollToEdgeConfig.d.ts +0 -13
  1205. package/dist/serialization/types/ScrollToEdgeConfig.js +0 -44
  1206. package/dist/serialization/types/SessionConfigV1.d.ts +0 -18
  1207. package/dist/serialization/types/SessionConfigV1.js +0 -49
  1208. package/dist/serialization/types/SessionConfigV1Proxy.d.ts +0 -12
  1209. package/dist/serialization/types/SessionConfigV1Proxy.js +0 -47
  1210. package/dist/serialization/types/SessionEventMessage.d.ts +0 -18
  1211. package/dist/serialization/types/SessionEventMessage.js +0 -49
  1212. package/dist/serialization/types/SessionPageQueryHandlerRequestBody.d.ts +0 -18
  1213. package/dist/serialization/types/SessionPageQueryHandlerRequestBody.js +0 -49
  1214. package/dist/serialization/types/SessionResponse.d.ts +0 -18
  1215. package/dist/serialization/types/SessionResponse.js +0 -49
  1216. package/dist/serialization/types/SessionsResponse.d.ts +0 -18
  1217. package/dist/serialization/types/SessionsResponse.js +0 -49
  1218. package/dist/serialization/types/SessionsWithPagination.d.ts +0 -15
  1219. package/dist/serialization/types/SessionsWithPagination.js +0 -46
  1220. package/dist/serialization/types/StatusMessage.d.ts +0 -17
  1221. package/dist/serialization/types/StatusMessage.js +0 -48
  1222. package/dist/serialization/types/StatusMessageStatus.d.ts +0 -10
  1223. package/dist/serialization/types/StatusMessageStatus.js +0 -41
  1224. package/dist/serialization/types/SummaryConfig.d.ts +0 -14
  1225. package/dist/serialization/types/SummaryConfig.js +0 -45
  1226. package/dist/serialization/types/SummaryExperimentalConfig.d.ts +0 -12
  1227. package/dist/serialization/types/SummaryExperimentalConfig.js +0 -43
  1228. package/dist/serialization/types/VisualAnalysisConfig.d.ts +0 -20
  1229. package/dist/serialization/types/VisualAnalysisConfig.js +0 -51
  1230. package/dist/serialization/types/VisualAnalysisConfigPartitionDirection.d.ts +0 -10
  1231. package/dist/serialization/types/VisualAnalysisConfigPartitionDirection.js +0 -41
  1232. package/dist/serialization/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +0 -10
  1233. package/dist/serialization/types/VisualAnalysisConfigResultSelectionStrategy.js +0 -41
  1234. package/dist/serialization/types/VisualAnalysisConfigScope.d.ts +0 -10
  1235. package/dist/serialization/types/VisualAnalysisConfigScope.js +0 -41
  1236. package/dist/serialization/types/Window.d.ts +0 -14
  1237. package/dist/serialization/types/Window.js +0 -45
  1238. package/dist/serialization/types/WindowEventMessage.d.ts +0 -19
  1239. package/dist/serialization/types/WindowEventMessage.js +0 -50
  1240. package/dist/serialization/types/WindowId.d.ts +0 -13
  1241. package/dist/serialization/types/WindowId.js +0 -44
  1242. package/dist/serialization/types/WindowIdResponse.d.ts +0 -18
  1243. package/dist/serialization/types/WindowIdResponse.js +0 -49
  1244. package/dist/serialization/types/WindowResponse.d.ts +0 -18
  1245. package/dist/serialization/types/WindowResponse.js +0 -49
  1246. package/dist/serialization/types/index.d.ts +0 -92
  1247. package/dist/serialization/types/index.js +0 -108
  1248. package/dist/utils/batch-operate/SessionQueue.d.ts +0 -45
  1249. package/dist/utils/batch-operate/SessionQueue.js +0 -222
  1250. package/dist/utils/batch-operate/WindowQueue.d.ts +0 -24
  1251. package/dist/utils/batch-operate/WindowQueue.js +0 -213
  1252. package/dist/utils/batch-operate/batch-util.d.ts +0 -3
  1253. package/dist/utils/batch-operate/batch-util.js +0 -49
  1254. package/dist/utils/batch-operate/helpers.d.ts +0 -2
  1255. package/dist/utils/batch-operate/helpers.js +0 -19
  1256. package/dist/utils/batch-operate/types.d.ts +0 -29
  1257. package/dist/utils/batch-operate/types.js +0 -2
  1258. package/dist/utils/index.d.ts +0 -3
  1259. package/dist/utils/index.js +0 -19
  1260. package/dist/utils/process-screenshots.d.ts +0 -9
  1261. package/dist/utils/process-screenshots.js +0 -58
  1262. package/dist/version.d.ts +0 -1
  1263. package/dist/version.js +0 -4
  1264. package/dist/wrapper/AirtopClient.d.ts +0 -31
  1265. package/dist/wrapper/AirtopClient.js +0 -106
  1266. package/dist/wrapper/AirtopFiles.d.ts +0 -38
  1267. package/dist/wrapper/AirtopFiles.js +0 -151
  1268. package/dist/wrapper/AirtopRequests.d.ts +0 -18
  1269. package/dist/wrapper/AirtopRequests.js +0 -48
  1270. package/dist/wrapper/AirtopSessions.d.ts +0 -24
  1271. package/dist/wrapper/AirtopSessions.js +0 -96
  1272. package/dist/wrapper/AirtopWindows.d.ts +0 -154
  1273. package/dist/wrapper/AirtopWindows.js +0 -293
  1274. package/environments.d.ts +0 -7
  1275. package/environments.js +0 -9
  1276. package/errors/AirtopError.d.ts +0 -12
  1277. package/errors/AirtopError.js +0 -33
  1278. package/errors/AirtopTimeoutError.d.ts +0 -6
  1279. package/errors/AirtopTimeoutError.js +0 -13
  1280. package/errors/index.d.ts +0 -2
  1281. package/errors/index.js +0 -7
  1282. package/index.d.ts +0 -7
  1283. package/index.js +0 -51
  1284. package/jest.config.mjs +0 -8
  1285. package/lefthook.yml +0 -23
  1286. package/live-view/types.d.ts +0 -24
  1287. package/live-view/types.js +0 -16
  1288. package/reference.md +0 -3426
  1289. package/scripts/rename-to-esm-files.js +0 -115
  1290. package/serialization/index.d.ts +0 -2
  1291. package/serialization/index.js +0 -18
  1292. package/serialization/resources/automations/client/index.d.ts +0 -1
  1293. package/serialization/resources/automations/client/index.js +0 -17
  1294. package/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +0 -14
  1295. package/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +0 -45
  1296. package/serialization/resources/automations/client/requests/index.d.ts +0 -1
  1297. package/serialization/resources/automations/client/requests/index.js +0 -5
  1298. package/serialization/resources/automations/index.d.ts +0 -1
  1299. package/serialization/resources/automations/index.js +0 -17
  1300. package/serialization/resources/files/client/index.d.ts +0 -1
  1301. package/serialization/resources/files/client/index.js +0 -17
  1302. package/serialization/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -16
  1303. package/serialization/resources/files/client/requests/CreateFileRestInputV1.js +0 -47
  1304. package/serialization/resources/files/client/requests/index.d.ts +0 -1
  1305. package/serialization/resources/files/client/requests/index.js +0 -5
  1306. package/serialization/resources/files/index.d.ts +0 -2
  1307. package/serialization/resources/files/index.js +0 -18
  1308. package/serialization/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -10
  1309. package/serialization/resources/files/types/CreateFileRestInputV1FileType.js +0 -41
  1310. package/serialization/resources/files/types/index.d.ts +0 -1
  1311. package/serialization/resources/files/types/index.js +0 -17
  1312. package/serialization/resources/index.d.ts +0 -11
  1313. package/serialization/resources/index.js +0 -50
  1314. package/serialization/resources/sessions/client/index.d.ts +0 -1
  1315. package/serialization/resources/sessions/client/index.js +0 -17
  1316. package/serialization/resources/sessions/client/requests/SessionRestInputV1.d.ts +0 -13
  1317. package/serialization/resources/sessions/client/requests/SessionRestInputV1.js +0 -44
  1318. package/serialization/resources/sessions/client/requests/index.d.ts +0 -1
  1319. package/serialization/resources/sessions/client/requests/index.js +0 -5
  1320. package/serialization/resources/sessions/index.d.ts +0 -2
  1321. package/serialization/resources/sessions/index.js +0 -18
  1322. package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +0 -26
  1323. package/serialization/resources/sessions/types/SessionsEventsResponse.js +0 -55
  1324. package/serialization/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -15
  1325. package/serialization/resources/sessions/types/SessionsEventsResponseError.js +0 -46
  1326. package/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.d.ts +0 -15
  1327. package/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.js +0 -46
  1328. package/serialization/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -15
  1329. package/serialization/resources/sessions/types/SessionsEventsResponseStatus.js +0 -46
  1330. package/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.d.ts +0 -15
  1331. package/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.js +0 -46
  1332. package/serialization/resources/sessions/types/SessionsListRequestStatus.d.ts +0 -10
  1333. package/serialization/resources/sessions/types/SessionsListRequestStatus.js +0 -41
  1334. package/serialization/resources/sessions/types/index.d.ts +0 -6
  1335. package/serialization/resources/sessions/types/index.js +0 -22
  1336. package/serialization/resources/windows/client/index.d.ts +0 -1
  1337. package/serialization/resources/windows/client/index.js +0 -17
  1338. package/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
  1339. package/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -51
  1340. package/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +0 -18
  1341. package/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.js +0 -49
  1342. package/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -18
  1343. package/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -49
  1344. package/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
  1345. package/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -50
  1346. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -19
  1347. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -50
  1348. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
  1349. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
  1350. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
  1351. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -50
  1352. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
  1353. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
  1354. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
  1355. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -49
  1356. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
  1357. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -50
  1358. package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
  1359. package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
  1360. package/serialization/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +0 -16
  1361. package/serialization/resources/windows/client/requests/CreateWindowInputV1Body.js +0 -47
  1362. package/serialization/resources/windows/client/requests/ScrapeContentRequest.d.ts +0 -14
  1363. package/serialization/resources/windows/client/requests/ScrapeContentRequest.js +0 -45
  1364. package/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +0 -18
  1365. package/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.js +0 -49
  1366. package/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +0 -17
  1367. package/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +0 -48
  1368. package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -17
  1369. package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -48
  1370. package/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.d.ts +0 -17
  1371. package/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.js +0 -48
  1372. package/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +0 -16
  1373. package/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +0 -47
  1374. package/serialization/resources/windows/client/requests/SessionScrollHandlerRequestBody.d.ts +0 -22
  1375. package/serialization/resources/windows/client/requests/SessionScrollHandlerRequestBody.js +0 -53
  1376. package/serialization/resources/windows/client/requests/SessionSummaryHandlerRequestBody.d.ts +0 -17
  1377. package/serialization/resources/windows/client/requests/SessionSummaryHandlerRequestBody.js +0 -48
  1378. package/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +0 -22
  1379. package/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +0 -53
  1380. package/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +0 -15
  1381. package/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.js +0 -46
  1382. package/serialization/resources/windows/client/requests/index.d.ts +0 -22
  1383. package/serialization/resources/windows/client/requests/index.js +0 -47
  1384. package/serialization/resources/windows/index.d.ts +0 -2
  1385. package/serialization/resources/windows/index.js +0 -18
  1386. package/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +0 -10
  1387. package/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +0 -41
  1388. package/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +0 -10
  1389. package/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +0 -41
  1390. package/serialization/resources/windows/types/index.d.ts +0 -2
  1391. package/serialization/resources/windows/types/index.js +0 -18
  1392. package/serialization/types/AiPromptResponse.d.ts +0 -18
  1393. package/serialization/types/AiPromptResponse.js +0 -49
  1394. package/serialization/types/AiResponseEnvelope.d.ts +0 -12
  1395. package/serialization/types/AiResponseEnvelope.js +0 -43
  1396. package/serialization/types/AirtopProxyConfiguration.d.ts +0 -13
  1397. package/serialization/types/AirtopProxyConfiguration.js +0 -44
  1398. package/serialization/types/AsyncConfig.d.ts +0 -12
  1399. package/serialization/types/AsyncConfig.js +0 -43
  1400. package/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +0 -15
  1401. package/serialization/types/AsyncSessionAiResponseEnvelope.js +0 -46
  1402. package/serialization/types/AutomationOutput.d.ts +0 -16
  1403. package/serialization/types/AutomationOutput.js +0 -47
  1404. package/serialization/types/BrowserWaitNavigationConfig.d.ts +0 -14
  1405. package/serialization/types/BrowserWaitNavigationConfig.js +0 -45
  1406. package/serialization/types/BrowserWaitNavigationConfigWaitUntil.d.ts +0 -10
  1407. package/serialization/types/BrowserWaitNavigationConfigWaitUntil.js +0 -41
  1408. package/serialization/types/ClickConfig.d.ts +0 -19
  1409. package/serialization/types/ClickConfig.js +0 -50
  1410. package/serialization/types/ClickConfigClickType.d.ts +0 -10
  1411. package/serialization/types/ClickConfigClickType.js +0 -41
  1412. package/serialization/types/ClientProvidedResponseMetadata.d.ts +0 -12
  1413. package/serialization/types/ClientProvidedResponseMetadata.js +0 -43
  1414. package/serialization/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -10
  1415. package/serialization/types/CreateAutomationRequestBodyConfiguration.js +0 -41
  1416. package/serialization/types/CreateFileV1.d.ts +0 -21
  1417. package/serialization/types/CreateFileV1.js +0 -52
  1418. package/serialization/types/CreateFileV1FileType.d.ts +0 -10
  1419. package/serialization/types/CreateFileV1FileType.js +0 -41
  1420. package/serialization/types/DeleteAutomationOutputWrapperBody.d.ts +0 -10
  1421. package/serialization/types/DeleteAutomationOutputWrapperBody.js +0 -41
  1422. package/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -18
  1423. package/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -49
  1424. package/serialization/types/EnvelopeDefaultMeta.d.ts +0 -12
  1425. package/serialization/types/EnvelopeDefaultMeta.js +0 -43
  1426. package/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -18
  1427. package/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -49
  1428. package/serialization/types/ErrorBody.d.ts +0 -13
  1429. package/serialization/types/ErrorBody.js +0 -44
  1430. package/serialization/types/ErrorDetail.d.ts +0 -14
  1431. package/serialization/types/ErrorDetail.js +0 -45
  1432. package/serialization/types/ErrorMessage.d.ts +0 -14
  1433. package/serialization/types/ErrorMessage.js +0 -45
  1434. package/serialization/types/ErrorModel.d.ts +0 -18
  1435. package/serialization/types/ErrorModel.js +0 -49
  1436. package/serialization/types/ExternalFile.d.ts +0 -25
  1437. package/serialization/types/ExternalFile.js +0 -56
  1438. package/serialization/types/ExternalSessionAiResponseMetadata.d.ts +0 -20
  1439. package/serialization/types/ExternalSessionAiResponseMetadata.js +0 -51
  1440. package/serialization/types/ExternalSessionAiResponseMetadataStatus.d.ts +0 -10
  1441. package/serialization/types/ExternalSessionAiResponseMetadataStatus.js +0 -41
  1442. package/serialization/types/ExternalSessionAiResponseMetadataUsage.d.ts +0 -13
  1443. package/serialization/types/ExternalSessionAiResponseMetadataUsage.js +0 -44
  1444. package/serialization/types/ExternalSessionConfig.d.ts +0 -14
  1445. package/serialization/types/ExternalSessionConfig.js +0 -45
  1446. package/serialization/types/ExternalSessionWithConnectionInfo.d.ts +0 -22
  1447. package/serialization/types/ExternalSessionWithConnectionInfo.js +0 -53
  1448. package/serialization/types/FilesResponse.d.ts +0 -18
  1449. package/serialization/types/FilesResponse.js +0 -49
  1450. package/serialization/types/FilesWithPagination.d.ts +0 -15
  1451. package/serialization/types/FilesWithPagination.js +0 -46
  1452. package/serialization/types/GetFileV1.d.ts +0 -21
  1453. package/serialization/types/GetFileV1.js +0 -52
  1454. package/serialization/types/GetFileV1FileType.d.ts +0 -10
  1455. package/serialization/types/GetFileV1FileType.js +0 -41
  1456. package/serialization/types/IntervalMonitorConfig.d.ts +0 -13
  1457. package/serialization/types/IntervalMonitorConfig.js +0 -44
  1458. package/serialization/types/Issue.d.ts +0 -15
  1459. package/serialization/types/Issue.js +0 -46
  1460. package/serialization/types/ListAutomationsOutput.d.ts +0 -13
  1461. package/serialization/types/ListAutomationsOutput.js +0 -44
  1462. package/serialization/types/MicroInteractionConfig.d.ts +0 -15
  1463. package/serialization/types/MicroInteractionConfig.js +0 -46
  1464. package/serialization/types/MicroInteractionConfigWithExperimental.d.ts +0 -17
  1465. package/serialization/types/MicroInteractionConfigWithExperimental.js +0 -48
  1466. package/serialization/types/MicroInteractionExperimentalConfig.d.ts +0 -12
  1467. package/serialization/types/MicroInteractionExperimentalConfig.js +0 -43
  1468. package/serialization/types/MonitorConfig.d.ts +0 -15
  1469. package/serialization/types/MonitorConfig.js +0 -46
  1470. package/serialization/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -10
  1471. package/serialization/types/MonitorConfigIncludeVisualAnalysis.js +0 -41
  1472. package/serialization/types/OperationOutcome.d.ts +0 -12
  1473. package/serialization/types/OperationOutcome.js +0 -43
  1474. package/serialization/types/OperationOutcomeResponse.d.ts +0 -18
  1475. package/serialization/types/OperationOutcomeResponse.js +0 -49
  1476. package/serialization/types/PageQueryConfig.d.ts +0 -16
  1477. package/serialization/types/PageQueryConfig.js +0 -47
  1478. package/serialization/types/PageQueryExperimentalConfig.d.ts +0 -12
  1479. package/serialization/types/PageQueryExperimentalConfig.js +0 -43
  1480. package/serialization/types/PaginatedExtractionConfig.d.ts +0 -18
  1481. package/serialization/types/PaginatedExtractionConfig.js +0 -49
  1482. package/serialization/types/PaginatedExtractionExperimentalConfig.d.ts +0 -12
  1483. package/serialization/types/PaginatedExtractionExperimentalConfig.js +0 -43
  1484. package/serialization/types/Pagination.d.ts +0 -19
  1485. package/serialization/types/Pagination.js +0 -50
  1486. package/serialization/types/Proxy.d.ts +0 -12
  1487. package/serialization/types/Proxy.js +0 -43
  1488. package/serialization/types/ProxyConfigurationKind.d.ts +0 -14
  1489. package/serialization/types/ProxyConfigurationKind.js +0 -45
  1490. package/serialization/types/ProxyCredentials.d.ts +0 -14
  1491. package/serialization/types/ProxyCredentials.js +0 -45
  1492. package/serialization/types/RequestStatusResponse.d.ts +0 -13
  1493. package/serialization/types/RequestStatusResponse.js +0 -44
  1494. package/serialization/types/ScrapeConfig.d.ts +0 -12
  1495. package/serialization/types/ScrapeConfig.js +0 -43
  1496. package/serialization/types/ScrapeResponse.d.ts +0 -18
  1497. package/serialization/types/ScrapeResponse.js +0 -49
  1498. package/serialization/types/ScrapeResponseContent.d.ts +0 -13
  1499. package/serialization/types/ScrapeResponseContent.js +0 -44
  1500. package/serialization/types/ScrapeResponseEnvelope.d.ts +0 -13
  1501. package/serialization/types/ScrapeResponseEnvelope.js +0 -44
  1502. package/serialization/types/ScrapeResponseOutput.d.ts +0 -15
  1503. package/serialization/types/ScrapeResponseOutput.js +0 -46
  1504. package/serialization/types/ScreenshotConfig.d.ts +0 -15
  1505. package/serialization/types/ScreenshotConfig.js +0 -46
  1506. package/serialization/types/ScreenshotMetadata.d.ts +0 -12
  1507. package/serialization/types/ScreenshotMetadata.js +0 -43
  1508. package/serialization/types/ScreenshotRequestConfig.d.ts +0 -13
  1509. package/serialization/types/ScreenshotRequestConfig.js +0 -44
  1510. package/serialization/types/ScrollByConfig.d.ts +0 -13
  1511. package/serialization/types/ScrollByConfig.js +0 -44
  1512. package/serialization/types/ScrollToEdgeConfig.d.ts +0 -13
  1513. package/serialization/types/ScrollToEdgeConfig.js +0 -44
  1514. package/serialization/types/SessionConfigV1.d.ts +0 -18
  1515. package/serialization/types/SessionConfigV1.js +0 -49
  1516. package/serialization/types/SessionConfigV1Proxy.d.ts +0 -12
  1517. package/serialization/types/SessionConfigV1Proxy.js +0 -47
  1518. package/serialization/types/SessionEventMessage.d.ts +0 -18
  1519. package/serialization/types/SessionEventMessage.js +0 -49
  1520. package/serialization/types/SessionPageQueryHandlerRequestBody.d.ts +0 -18
  1521. package/serialization/types/SessionPageQueryHandlerRequestBody.js +0 -49
  1522. package/serialization/types/SessionResponse.d.ts +0 -18
  1523. package/serialization/types/SessionResponse.js +0 -49
  1524. package/serialization/types/SessionsResponse.d.ts +0 -18
  1525. package/serialization/types/SessionsResponse.js +0 -49
  1526. package/serialization/types/SessionsWithPagination.d.ts +0 -15
  1527. package/serialization/types/SessionsWithPagination.js +0 -46
  1528. package/serialization/types/StatusMessage.d.ts +0 -17
  1529. package/serialization/types/StatusMessage.js +0 -48
  1530. package/serialization/types/StatusMessageStatus.d.ts +0 -10
  1531. package/serialization/types/StatusMessageStatus.js +0 -41
  1532. package/serialization/types/SummaryConfig.d.ts +0 -14
  1533. package/serialization/types/SummaryConfig.js +0 -45
  1534. package/serialization/types/SummaryExperimentalConfig.d.ts +0 -12
  1535. package/serialization/types/SummaryExperimentalConfig.js +0 -43
  1536. package/serialization/types/VisualAnalysisConfig.d.ts +0 -20
  1537. package/serialization/types/VisualAnalysisConfig.js +0 -51
  1538. package/serialization/types/VisualAnalysisConfigPartitionDirection.d.ts +0 -10
  1539. package/serialization/types/VisualAnalysisConfigPartitionDirection.js +0 -41
  1540. package/serialization/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +0 -10
  1541. package/serialization/types/VisualAnalysisConfigResultSelectionStrategy.js +0 -41
  1542. package/serialization/types/VisualAnalysisConfigScope.d.ts +0 -10
  1543. package/serialization/types/VisualAnalysisConfigScope.js +0 -41
  1544. package/serialization/types/Window.d.ts +0 -14
  1545. package/serialization/types/Window.js +0 -45
  1546. package/serialization/types/WindowEventMessage.d.ts +0 -19
  1547. package/serialization/types/WindowEventMessage.js +0 -50
  1548. package/serialization/types/WindowId.d.ts +0 -13
  1549. package/serialization/types/WindowId.js +0 -44
  1550. package/serialization/types/WindowIdResponse.d.ts +0 -18
  1551. package/serialization/types/WindowIdResponse.js +0 -49
  1552. package/serialization/types/WindowResponse.d.ts +0 -18
  1553. package/serialization/types/WindowResponse.js +0 -49
  1554. package/serialization/types/index.d.ts +0 -92
  1555. package/serialization/types/index.js +0 -108
  1556. package/utils/batch-operate/SessionQueue.d.ts +0 -45
  1557. package/utils/batch-operate/SessionQueue.js +0 -222
  1558. package/utils/batch-operate/WindowQueue.d.ts +0 -24
  1559. package/utils/batch-operate/WindowQueue.js +0 -213
  1560. package/utils/batch-operate/batch-util.d.ts +0 -3
  1561. package/utils/batch-operate/batch-util.js +0 -49
  1562. package/utils/batch-operate/helpers.d.ts +0 -2
  1563. package/utils/batch-operate/helpers.js +0 -19
  1564. package/utils/batch-operate/types.d.ts +0 -29
  1565. package/utils/batch-operate/types.js +0 -2
  1566. package/utils/index.d.ts +0 -3
  1567. package/utils/index.js +0 -19
  1568. package/utils/process-screenshots.d.ts +0 -9
  1569. package/utils/process-screenshots.js +0 -58
  1570. package/version.d.ts +0 -1
  1571. package/version.js +0 -4
  1572. package/wrapper/AirtopClient.d.ts +0 -31
  1573. package/wrapper/AirtopClient.js +0 -106
  1574. package/wrapper/AirtopFiles.d.ts +0 -38
  1575. package/wrapper/AirtopFiles.js +0 -151
  1576. package/wrapper/AirtopRequests.d.ts +0 -18
  1577. package/wrapper/AirtopRequests.js +0 -48
  1578. package/wrapper/AirtopSessions.d.ts +0 -24
  1579. package/wrapper/AirtopSessions.js +0 -96
  1580. package/wrapper/AirtopWindows.d.ts +0 -154
  1581. package/wrapper/AirtopWindows.js +0 -293
@@ -1,1539 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
- return new (P || (P = Promise))(function (resolve, reject) {
41
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
- step((generator = generator.apply(thisArg, _arguments || [])).next());
45
- });
46
- };
47
- var __importDefault = (this && this.__importDefault) || function (mod) {
48
- return (mod && mod.__esModule) ? mod : { "default": mod };
49
- };
50
- Object.defineProperty(exports, "__esModule", { value: true });
51
- exports.Windows = void 0;
52
- const environments = __importStar(require("../../../../environments"));
53
- const core = __importStar(require("../../../../core"));
54
- const serializers = __importStar(require("../../../../serialization/index"));
55
- const url_join_1 = __importDefault(require("url-join"));
56
- const errors = __importStar(require("../../../../errors/index"));
57
- class Windows {
58
- constructor(_options) {
59
- this._options = _options;
60
- }
61
- /**
62
- * Execute a click interaction in a specific browser window asynchronously
63
- *
64
- * @param {string} sessionId - The session id for the window.
65
- * @param {string} windowId - The Airtop window id of the browser window.
66
- * @param {Airtop.AsyncClickRequest} request
67
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
68
- *
69
- * @example
70
- * await client.windows.asyncClick("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
71
- * elementDescription: "The login button"
72
- * })
73
- */
74
- asyncClick(sessionId, windowId, request, requestOptions) {
75
- return __awaiter(this, void 0, void 0, function* () {
76
- var _a, _b, _c;
77
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
78
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `async/sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/click`),
79
- method: "POST",
80
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
- contentType: "application/json",
82
- requestType: "json",
83
- body: serializers.AsyncClickRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
84
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
85
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
86
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
87
- });
88
- if (_response.ok) {
89
- return serializers.AsyncSessionAiResponseEnvelope.parseOrThrow(_response.body, {
90
- unrecognizedObjectKeys: "passthrough",
91
- allowUnrecognizedUnionMembers: true,
92
- allowUnrecognizedEnumValues: true,
93
- skipValidation: true,
94
- breadcrumbsPrefix: ["response"],
95
- });
96
- }
97
- if (_response.error.reason === "status-code") {
98
- throw new errors.AirtopError({
99
- statusCode: _response.error.statusCode,
100
- body: _response.error.body,
101
- });
102
- }
103
- switch (_response.error.reason) {
104
- case "non-json":
105
- throw new errors.AirtopError({
106
- statusCode: _response.error.statusCode,
107
- body: _response.error.rawBody,
108
- });
109
- case "timeout":
110
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /async/sessions/{sessionId}/windows/{windowId}/click.");
111
- case "unknown":
112
- throw new errors.AirtopError({
113
- message: _response.error.errorMessage,
114
- });
115
- }
116
- });
117
- }
118
- /**
119
- * Create an automation of a browser window asynchronously
120
- *
121
- * @param {string} sessionId - The session id for the window.
122
- * @param {string} windowId - The Airtop window id of the browser window.
123
- * @param {Airtop.AsyncCreateAutomationRequest} request
124
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
125
- *
126
- * @example
127
- * await client.windows.asyncCreateAutomation("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
128
- */
129
- asyncCreateAutomation(sessionId_1, windowId_1) {
130
- return __awaiter(this, arguments, void 0, function* (sessionId, windowId, request = {}, requestOptions) {
131
- var _a, _b, _c;
132
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
133
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `async/sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/create-automation`),
134
- method: "POST",
135
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
136
- contentType: "application/json",
137
- requestType: "json",
138
- body: serializers.AsyncCreateAutomationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
139
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
140
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
141
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
142
- });
143
- if (_response.ok) {
144
- return serializers.AsyncSessionAiResponseEnvelope.parseOrThrow(_response.body, {
145
- unrecognizedObjectKeys: "passthrough",
146
- allowUnrecognizedUnionMembers: true,
147
- allowUnrecognizedEnumValues: true,
148
- skipValidation: true,
149
- breadcrumbsPrefix: ["response"],
150
- });
151
- }
152
- if (_response.error.reason === "status-code") {
153
- throw new errors.AirtopError({
154
- statusCode: _response.error.statusCode,
155
- body: _response.error.body,
156
- });
157
- }
158
- switch (_response.error.reason) {
159
- case "non-json":
160
- throw new errors.AirtopError({
161
- statusCode: _response.error.statusCode,
162
- body: _response.error.rawBody,
163
- });
164
- case "timeout":
165
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /async/sessions/{sessionId}/windows/{windowId}/create-automation.");
166
- case "unknown":
167
- throw new errors.AirtopError({
168
- message: _response.error.errorMessage,
169
- });
170
- }
171
- });
172
- }
173
- /**
174
- * Execute an automation of a browser window asynchronously
175
- *
176
- * @param {string} sessionId - The session id for the window.
177
- * @param {string} windowId - The Airtop window id of the browser window.
178
- * @param {Airtop.AsyncExecuteAutomationRequest} request
179
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
180
- *
181
- * @example
182
- * await client.windows.asyncExecuteAutomation("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
183
- * automationId: "automationId"
184
- * })
185
- */
186
- asyncExecuteAutomation(sessionId, windowId, request, requestOptions) {
187
- return __awaiter(this, void 0, void 0, function* () {
188
- var _a, _b, _c;
189
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
190
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `async/sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/execute-automation`),
191
- method: "POST",
192
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
193
- contentType: "application/json",
194
- requestType: "json",
195
- body: serializers.AsyncExecuteAutomationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
196
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
197
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
198
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
199
- });
200
- if (_response.ok) {
201
- return serializers.AsyncSessionAiResponseEnvelope.parseOrThrow(_response.body, {
202
- unrecognizedObjectKeys: "passthrough",
203
- allowUnrecognizedUnionMembers: true,
204
- allowUnrecognizedEnumValues: true,
205
- skipValidation: true,
206
- breadcrumbsPrefix: ["response"],
207
- });
208
- }
209
- if (_response.error.reason === "status-code") {
210
- throw new errors.AirtopError({
211
- statusCode: _response.error.statusCode,
212
- body: _response.error.body,
213
- });
214
- }
215
- switch (_response.error.reason) {
216
- case "non-json":
217
- throw new errors.AirtopError({
218
- statusCode: _response.error.statusCode,
219
- body: _response.error.rawBody,
220
- });
221
- case "timeout":
222
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /async/sessions/{sessionId}/windows/{windowId}/execute-automation.");
223
- case "unknown":
224
- throw new errors.AirtopError({
225
- message: _response.error.errorMessage,
226
- });
227
- }
228
- });
229
- }
230
- /**
231
- * @param {string} sessionId - The session id for the window.
232
- * @param {string} windowId - The Airtop window id of the browser window.
233
- * @param {Airtop.AsyncHoverRequest} request
234
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
235
- *
236
- * @example
237
- * await client.windows.asyncHover("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
238
- * elementDescription: "The search box input in the top right corner"
239
- * })
240
- */
241
- asyncHover(sessionId, windowId, request, requestOptions) {
242
- return __awaiter(this, void 0, void 0, function* () {
243
- var _a, _b, _c;
244
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
245
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `async/sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/hover`),
246
- method: "POST",
247
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
248
- contentType: "application/json",
249
- requestType: "json",
250
- body: serializers.AsyncHoverRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
251
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
252
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
253
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
254
- });
255
- if (_response.ok) {
256
- return serializers.AsyncSessionAiResponseEnvelope.parseOrThrow(_response.body, {
257
- unrecognizedObjectKeys: "passthrough",
258
- allowUnrecognizedUnionMembers: true,
259
- allowUnrecognizedEnumValues: true,
260
- skipValidation: true,
261
- breadcrumbsPrefix: ["response"],
262
- });
263
- }
264
- if (_response.error.reason === "status-code") {
265
- throw new errors.AirtopError({
266
- statusCode: _response.error.statusCode,
267
- body: _response.error.body,
268
- });
269
- }
270
- switch (_response.error.reason) {
271
- case "non-json":
272
- throw new errors.AirtopError({
273
- statusCode: _response.error.statusCode,
274
- body: _response.error.rawBody,
275
- });
276
- case "timeout":
277
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /async/sessions/{sessionId}/windows/{windowId}/hover.");
278
- case "unknown":
279
- throw new errors.AirtopError({
280
- message: _response.error.errorMessage,
281
- });
282
- }
283
- });
284
- }
285
- /**
286
- * @param {string} sessionId - The session id for the window.
287
- * @param {string} windowId - The Airtop window id of the browser window.
288
- * @param {Airtop.AsyncMonitorRequest} request
289
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
290
- *
291
- * @example
292
- * await client.windows.asyncMonitor("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
293
- * condition: "Determine if the user appears to be signed in to the website"
294
- * })
295
- */
296
- asyncMonitor(sessionId, windowId, request, requestOptions) {
297
- return __awaiter(this, void 0, void 0, function* () {
298
- var _a, _b, _c;
299
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
300
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `async/sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/monitor`),
301
- method: "POST",
302
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
303
- contentType: "application/json",
304
- requestType: "json",
305
- body: serializers.AsyncMonitorRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
306
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
307
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
308
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
309
- });
310
- if (_response.ok) {
311
- return serializers.AsyncSessionAiResponseEnvelope.parseOrThrow(_response.body, {
312
- unrecognizedObjectKeys: "passthrough",
313
- allowUnrecognizedUnionMembers: true,
314
- allowUnrecognizedEnumValues: true,
315
- skipValidation: true,
316
- breadcrumbsPrefix: ["response"],
317
- });
318
- }
319
- if (_response.error.reason === "status-code") {
320
- throw new errors.AirtopError({
321
- statusCode: _response.error.statusCode,
322
- body: _response.error.body,
323
- });
324
- }
325
- switch (_response.error.reason) {
326
- case "non-json":
327
- throw new errors.AirtopError({
328
- statusCode: _response.error.statusCode,
329
- body: _response.error.rawBody,
330
- });
331
- case "timeout":
332
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /async/sessions/{sessionId}/windows/{windowId}/monitor.");
333
- case "unknown":
334
- throw new errors.AirtopError({
335
- message: _response.error.errorMessage,
336
- });
337
- }
338
- });
339
- }
340
- /**
341
- * @param {string} sessionId - The session id for the window.
342
- * @param {string} windowId - The Airtop window id of the browser window.
343
- * @param {Airtop.AsyncPageQueryRequest} request
344
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
345
- *
346
- * @example
347
- * await client.windows.asyncPageQuery("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
348
- * prompt: "What is the main idea of this page?"
349
- * })
350
- */
351
- asyncPageQuery(sessionId, windowId, request, requestOptions) {
352
- return __awaiter(this, void 0, void 0, function* () {
353
- var _a, _b, _c;
354
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
355
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `async/sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/page-query`),
356
- method: "POST",
357
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
358
- contentType: "application/json",
359
- requestType: "json",
360
- body: serializers.AsyncPageQueryRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
361
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
362
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
363
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
364
- });
365
- if (_response.ok) {
366
- return serializers.AsyncSessionAiResponseEnvelope.parseOrThrow(_response.body, {
367
- unrecognizedObjectKeys: "passthrough",
368
- allowUnrecognizedUnionMembers: true,
369
- allowUnrecognizedEnumValues: true,
370
- skipValidation: true,
371
- breadcrumbsPrefix: ["response"],
372
- });
373
- }
374
- if (_response.error.reason === "status-code") {
375
- throw new errors.AirtopError({
376
- statusCode: _response.error.statusCode,
377
- body: _response.error.body,
378
- });
379
- }
380
- switch (_response.error.reason) {
381
- case "non-json":
382
- throw new errors.AirtopError({
383
- statusCode: _response.error.statusCode,
384
- body: _response.error.rawBody,
385
- });
386
- case "timeout":
387
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /async/sessions/{sessionId}/windows/{windowId}/page-query.");
388
- case "unknown":
389
- throw new errors.AirtopError({
390
- message: _response.error.errorMessage,
391
- });
392
- }
393
- });
394
- }
395
- /**
396
- * @param {string} sessionId - The session id for the window.
397
- * @param {string} windowId - The Airtop window id of the browser window.
398
- * @param {Airtop.AsyncPaginatedExtractionRequest} request
399
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
400
- *
401
- * @example
402
- * await client.windows.asyncPaginatedExtraction("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
403
- * prompt: "This site contains a list of results about <provide details about the list>. Navigate through 3 pages of results and return the title and <provide details about the data you want to extract> about each result in this list."
404
- * })
405
- */
406
- asyncPaginatedExtraction(sessionId, windowId, request, requestOptions) {
407
- return __awaiter(this, void 0, void 0, function* () {
408
- var _a, _b, _c;
409
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
410
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `async/sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/paginated-extraction`),
411
- method: "POST",
412
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
413
- contentType: "application/json",
414
- requestType: "json",
415
- body: serializers.AsyncPaginatedExtractionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
416
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
417
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
418
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
419
- });
420
- if (_response.ok) {
421
- return serializers.AsyncSessionAiResponseEnvelope.parseOrThrow(_response.body, {
422
- unrecognizedObjectKeys: "passthrough",
423
- allowUnrecognizedUnionMembers: true,
424
- allowUnrecognizedEnumValues: true,
425
- skipValidation: true,
426
- breadcrumbsPrefix: ["response"],
427
- });
428
- }
429
- if (_response.error.reason === "status-code") {
430
- throw new errors.AirtopError({
431
- statusCode: _response.error.statusCode,
432
- body: _response.error.body,
433
- });
434
- }
435
- switch (_response.error.reason) {
436
- case "non-json":
437
- throw new errors.AirtopError({
438
- statusCode: _response.error.statusCode,
439
- body: _response.error.rawBody,
440
- });
441
- case "timeout":
442
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /async/sessions/{sessionId}/windows/{windowId}/paginated-extraction.");
443
- case "unknown":
444
- throw new errors.AirtopError({
445
- message: _response.error.errorMessage,
446
- });
447
- }
448
- });
449
- }
450
- /**
451
- * This endpoint is deprecated. Please use the `pageQuery` endpoint instead.
452
- *
453
- * @param {string} sessionId - The session id for the window.
454
- * @param {string} windowId - The Airtop window id of the browser window.
455
- * @param {Airtop.AsyncPromptContentRequest} request
456
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
457
- *
458
- * @example
459
- * await client.windows.asyncPromptContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
460
- * prompt: "What is the main idea of this page?"
461
- * })
462
- */
463
- asyncPromptContent(sessionId, windowId, request, requestOptions) {
464
- return __awaiter(this, void 0, void 0, function* () {
465
- var _a, _b, _c;
466
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
467
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `async/sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/prompt-content`),
468
- method: "POST",
469
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
470
- contentType: "application/json",
471
- requestType: "json",
472
- body: serializers.AsyncPromptContentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
473
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
474
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
475
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
476
- });
477
- if (_response.ok) {
478
- return serializers.AsyncSessionAiResponseEnvelope.parseOrThrow(_response.body, {
479
- unrecognizedObjectKeys: "passthrough",
480
- allowUnrecognizedUnionMembers: true,
481
- allowUnrecognizedEnumValues: true,
482
- skipValidation: true,
483
- breadcrumbsPrefix: ["response"],
484
- });
485
- }
486
- if (_response.error.reason === "status-code") {
487
- throw new errors.AirtopError({
488
- statusCode: _response.error.statusCode,
489
- body: _response.error.body,
490
- });
491
- }
492
- switch (_response.error.reason) {
493
- case "non-json":
494
- throw new errors.AirtopError({
495
- statusCode: _response.error.statusCode,
496
- body: _response.error.rawBody,
497
- });
498
- case "timeout":
499
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /async/sessions/{sessionId}/windows/{windowId}/prompt-content.");
500
- case "unknown":
501
- throw new errors.AirtopError({
502
- message: _response.error.errorMessage,
503
- });
504
- }
505
- });
506
- }
507
- /**
508
- * Take a screenshot of the current viewport of a browser window asynchronously
509
- *
510
- * @param {string} sessionId - The session id for the window.
511
- * @param {string} windowId - The Airtop window id of the browser window.
512
- * @param {Airtop.AsyncScreenshotRequest} request
513
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
514
- *
515
- * @example
516
- * await client.windows.asyncScreenshot("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
517
- */
518
- asyncScreenshot(sessionId_1, windowId_1) {
519
- return __awaiter(this, arguments, void 0, function* (sessionId, windowId, request = {}, requestOptions) {
520
- var _a, _b, _c;
521
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
522
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `async/sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/screenshot`),
523
- method: "POST",
524
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
525
- contentType: "application/json",
526
- requestType: "json",
527
- body: serializers.AsyncScreenshotRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
528
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
529
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
530
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
531
- });
532
- if (_response.ok) {
533
- return serializers.AsyncSessionAiResponseEnvelope.parseOrThrow(_response.body, {
534
- unrecognizedObjectKeys: "passthrough",
535
- allowUnrecognizedUnionMembers: true,
536
- allowUnrecognizedEnumValues: true,
537
- skipValidation: true,
538
- breadcrumbsPrefix: ["response"],
539
- });
540
- }
541
- if (_response.error.reason === "status-code") {
542
- throw new errors.AirtopError({
543
- statusCode: _response.error.statusCode,
544
- body: _response.error.body,
545
- });
546
- }
547
- switch (_response.error.reason) {
548
- case "non-json":
549
- throw new errors.AirtopError({
550
- statusCode: _response.error.statusCode,
551
- body: _response.error.rawBody,
552
- });
553
- case "timeout":
554
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /async/sessions/{sessionId}/windows/{windowId}/screenshot.");
555
- case "unknown":
556
- throw new errors.AirtopError({
557
- message: _response.error.errorMessage,
558
- });
559
- }
560
- });
561
- }
562
- /**
563
- * This endpoint is deprecated. Please use the `pageQuery` endpoint and ask for a summary in the prompt instead.
564
- *
565
- * @param {string} sessionId - The session id for the window.
566
- * @param {string} windowId - The Airtop window id of the browser window to summarize.
567
- * @param {Airtop.AsyncSummarizeContentRequest} request
568
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
569
- *
570
- * @example
571
- * await client.windows.asyncSummarizeContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
572
- */
573
- asyncSummarizeContent(sessionId_1, windowId_1) {
574
- return __awaiter(this, arguments, void 0, function* (sessionId, windowId, request = {}, requestOptions) {
575
- var _a, _b, _c;
576
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
577
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `async/sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/summarize-content`),
578
- method: "POST",
579
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
580
- contentType: "application/json",
581
- requestType: "json",
582
- body: serializers.AsyncSummarizeContentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
583
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
584
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
585
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
586
- });
587
- if (_response.ok) {
588
- return serializers.AsyncSessionAiResponseEnvelope.parseOrThrow(_response.body, {
589
- unrecognizedObjectKeys: "passthrough",
590
- allowUnrecognizedUnionMembers: true,
591
- allowUnrecognizedEnumValues: true,
592
- skipValidation: true,
593
- breadcrumbsPrefix: ["response"],
594
- });
595
- }
596
- if (_response.error.reason === "status-code") {
597
- throw new errors.AirtopError({
598
- statusCode: _response.error.statusCode,
599
- body: _response.error.body,
600
- });
601
- }
602
- switch (_response.error.reason) {
603
- case "non-json":
604
- throw new errors.AirtopError({
605
- statusCode: _response.error.statusCode,
606
- body: _response.error.rawBody,
607
- });
608
- case "timeout":
609
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /async/sessions/{sessionId}/windows/{windowId}/summarize-content.");
610
- case "unknown":
611
- throw new errors.AirtopError({
612
- message: _response.error.errorMessage,
613
- });
614
- }
615
- });
616
- }
617
- /**
618
- * @param {string} sessionId - The session id for the window.
619
- * @param {string} windowId - The Airtop window id of the browser window.
620
- * @param {Airtop.AsyncTypeRequest} request
621
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
622
- *
623
- * @example
624
- * await client.windows.asyncType("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
625
- * text: "Example text"
626
- * })
627
- */
628
- asyncType(sessionId, windowId, request, requestOptions) {
629
- return __awaiter(this, void 0, void 0, function* () {
630
- var _a, _b, _c;
631
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
632
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `async/sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/type`),
633
- method: "POST",
634
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
635
- contentType: "application/json",
636
- requestType: "json",
637
- body: serializers.AsyncTypeRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
638
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
639
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
640
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
641
- });
642
- if (_response.ok) {
643
- return serializers.AsyncSessionAiResponseEnvelope.parseOrThrow(_response.body, {
644
- unrecognizedObjectKeys: "passthrough",
645
- allowUnrecognizedUnionMembers: true,
646
- allowUnrecognizedEnumValues: true,
647
- skipValidation: true,
648
- breadcrumbsPrefix: ["response"],
649
- });
650
- }
651
- if (_response.error.reason === "status-code") {
652
- throw new errors.AirtopError({
653
- statusCode: _response.error.statusCode,
654
- body: _response.error.body,
655
- });
656
- }
657
- switch (_response.error.reason) {
658
- case "non-json":
659
- throw new errors.AirtopError({
660
- statusCode: _response.error.statusCode,
661
- body: _response.error.rawBody,
662
- });
663
- case "timeout":
664
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /async/sessions/{sessionId}/windows/{windowId}/type.");
665
- case "unknown":
666
- throw new errors.AirtopError({
667
- message: _response.error.errorMessage,
668
- });
669
- }
670
- });
671
- }
672
- /**
673
- * Creates a new browser window in a session. Optionally, you can specify a url to load on the window upon creation.
674
- *
675
- * @param {string} sessionId - ID of the session that owns the window.
676
- * @param {Airtop.CreateWindowInputV1Body} request
677
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
678
- *
679
- * @example
680
- * await client.windows.create("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b")
681
- */
682
- create(sessionId_1) {
683
- return __awaiter(this, arguments, void 0, function* (sessionId, request = {}, requestOptions) {
684
- var _a, _b, _c;
685
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
686
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/windows`),
687
- method: "POST",
688
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
689
- contentType: "application/json",
690
- requestType: "json",
691
- body: serializers.CreateWindowInputV1Body.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
692
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
693
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
694
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
695
- });
696
- if (_response.ok) {
697
- return serializers.WindowIdResponse.parseOrThrow(_response.body, {
698
- unrecognizedObjectKeys: "passthrough",
699
- allowUnrecognizedUnionMembers: true,
700
- allowUnrecognizedEnumValues: true,
701
- skipValidation: true,
702
- breadcrumbsPrefix: ["response"],
703
- });
704
- }
705
- if (_response.error.reason === "status-code") {
706
- throw new errors.AirtopError({
707
- statusCode: _response.error.statusCode,
708
- body: _response.error.body,
709
- });
710
- }
711
- switch (_response.error.reason) {
712
- case "non-json":
713
- throw new errors.AirtopError({
714
- statusCode: _response.error.statusCode,
715
- body: _response.error.rawBody,
716
- });
717
- case "timeout":
718
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /sessions/{sessionId}/windows.");
719
- case "unknown":
720
- throw new errors.AirtopError({
721
- message: _response.error.errorMessage,
722
- });
723
- }
724
- });
725
- }
726
- /**
727
- * Get information about a browser window in a session, including the live view url.
728
- *
729
- * @param {string} sessionId - ID of the session that owns the window.
730
- * @param {string} windowId - ID of the browser window, which can either be a normal AirTop windowId or a [CDP TargetId](https://chromedevtools.github.io/devtools-protocol/tot/Target/#type-TargetID) from a browser automation library like Puppeteer (typically associated with the page or main frame). Our SDKs will handle retrieving a TargetId for you from various popular browser automation libraries, but we also have details in our guides on how to do it manually.
731
- * @param {Airtop.GetWindowInfoRequest} request
732
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
733
- *
734
- * @example
735
- * await client.windows.getWindowInfo("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334da2a-91b0-42c5-6156-76a5eba87430", {
736
- * screenResolution: "1280x720"
737
- * })
738
- */
739
- getWindowInfo(sessionId_1, windowId_1) {
740
- return __awaiter(this, arguments, void 0, function* (sessionId, windowId, request = {}, requestOptions) {
741
- var _a, _b, _c;
742
- const { includeNavigationBar, disableResize, screenResolution } = request;
743
- const _queryParams = {};
744
- if (includeNavigationBar != null) {
745
- _queryParams["includeNavigationBar"] = includeNavigationBar.toString();
746
- }
747
- if (disableResize != null) {
748
- _queryParams["disableResize"] = disableResize.toString();
749
- }
750
- if (screenResolution != null) {
751
- _queryParams["screenResolution"] = screenResolution;
752
- }
753
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
754
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}`),
755
- method: "GET",
756
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
757
- contentType: "application/json",
758
- queryParameters: _queryParams,
759
- requestType: "json",
760
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
761
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
762
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
763
- });
764
- if (_response.ok) {
765
- return serializers.WindowResponse.parseOrThrow(_response.body, {
766
- unrecognizedObjectKeys: "passthrough",
767
- allowUnrecognizedUnionMembers: true,
768
- allowUnrecognizedEnumValues: true,
769
- skipValidation: true,
770
- breadcrumbsPrefix: ["response"],
771
- });
772
- }
773
- if (_response.error.reason === "status-code") {
774
- throw new errors.AirtopError({
775
- statusCode: _response.error.statusCode,
776
- body: _response.error.body,
777
- });
778
- }
779
- switch (_response.error.reason) {
780
- case "non-json":
781
- throw new errors.AirtopError({
782
- statusCode: _response.error.statusCode,
783
- body: _response.error.rawBody,
784
- });
785
- case "timeout":
786
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling GET /sessions/{sessionId}/windows/{windowId}.");
787
- case "unknown":
788
- throw new errors.AirtopError({
789
- message: _response.error.errorMessage,
790
- });
791
- }
792
- });
793
- }
794
- /**
795
- * Loads a specified url on a given window
796
- *
797
- * @param {string} sessionId - ID of the session that owns the window.
798
- * @param {string} windowId - Airtop window ID of the browser window.
799
- * @param {Airtop.WindowLoadUrlV1Body} request
800
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
801
- *
802
- * @example
803
- * await client.windows.loadUrl("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334da2a-91b0-42c5-6156-76a5eba87430", {
804
- * url: "https://www.airtop.ai"
805
- * })
806
- */
807
- loadUrl(sessionId, windowId, request, requestOptions) {
808
- return __awaiter(this, void 0, void 0, function* () {
809
- var _a, _b, _c;
810
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
811
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}`),
812
- method: "POST",
813
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
814
- contentType: "application/json",
815
- requestType: "json",
816
- body: serializers.WindowLoadUrlV1Body.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
817
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
818
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
819
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
820
- });
821
- if (_response.ok) {
822
- return serializers.OperationOutcomeResponse.parseOrThrow(_response.body, {
823
- unrecognizedObjectKeys: "passthrough",
824
- allowUnrecognizedUnionMembers: true,
825
- allowUnrecognizedEnumValues: true,
826
- skipValidation: true,
827
- breadcrumbsPrefix: ["response"],
828
- });
829
- }
830
- if (_response.error.reason === "status-code") {
831
- throw new errors.AirtopError({
832
- statusCode: _response.error.statusCode,
833
- body: _response.error.body,
834
- });
835
- }
836
- switch (_response.error.reason) {
837
- case "non-json":
838
- throw new errors.AirtopError({
839
- statusCode: _response.error.statusCode,
840
- body: _response.error.rawBody,
841
- });
842
- case "timeout":
843
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /sessions/{sessionId}/windows/{windowId}.");
844
- case "unknown":
845
- throw new errors.AirtopError({
846
- message: _response.error.errorMessage,
847
- });
848
- }
849
- });
850
- }
851
- /**
852
- * Closes a browser window in a session
853
- *
854
- * @param {string} sessionId - ID of the session that owns the window.
855
- * @param {string} windowId - Airtop window ID of the browser window.
856
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
857
- *
858
- * @example
859
- * await client.windows.close("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334da2a-91b0-42c5-6156-76a5eba87430")
860
- */
861
- close(sessionId, windowId, requestOptions) {
862
- return __awaiter(this, void 0, void 0, function* () {
863
- var _a, _b, _c;
864
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
865
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}`),
866
- method: "DELETE",
867
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
868
- contentType: "application/json",
869
- requestType: "json",
870
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
871
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
872
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
873
- });
874
- if (_response.ok) {
875
- return serializers.WindowIdResponse.parseOrThrow(_response.body, {
876
- unrecognizedObjectKeys: "passthrough",
877
- allowUnrecognizedUnionMembers: true,
878
- allowUnrecognizedEnumValues: true,
879
- skipValidation: true,
880
- breadcrumbsPrefix: ["response"],
881
- });
882
- }
883
- if (_response.error.reason === "status-code") {
884
- throw new errors.AirtopError({
885
- statusCode: _response.error.statusCode,
886
- body: _response.error.body,
887
- });
888
- }
889
- switch (_response.error.reason) {
890
- case "non-json":
891
- throw new errors.AirtopError({
892
- statusCode: _response.error.statusCode,
893
- body: _response.error.rawBody,
894
- });
895
- case "timeout":
896
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling DELETE /sessions/{sessionId}/windows/{windowId}.");
897
- case "unknown":
898
- throw new errors.AirtopError({
899
- message: _response.error.errorMessage,
900
- });
901
- }
902
- });
903
- }
904
- /**
905
- * Execute a click interaction in a specific browser window
906
- *
907
- * @param {string} sessionId - The session id for the window.
908
- * @param {string} windowId - The Airtop window id of the browser window.
909
- * @param {Airtop.SessionClickHandlerRequestBody} request
910
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
911
- *
912
- * @example
913
- * await client.windows.click("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
914
- * elementDescription: "The login button"
915
- * })
916
- */
917
- click(sessionId, windowId, request, requestOptions) {
918
- return __awaiter(this, void 0, void 0, function* () {
919
- var _a, _b, _c;
920
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
921
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/click`),
922
- method: "POST",
923
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
924
- contentType: "application/json",
925
- requestType: "json",
926
- body: serializers.SessionClickHandlerRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
927
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
928
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
929
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
930
- });
931
- if (_response.ok) {
932
- return serializers.AiPromptResponse.parseOrThrow(_response.body, {
933
- unrecognizedObjectKeys: "passthrough",
934
- allowUnrecognizedUnionMembers: true,
935
- allowUnrecognizedEnumValues: true,
936
- skipValidation: true,
937
- breadcrumbsPrefix: ["response"],
938
- });
939
- }
940
- if (_response.error.reason === "status-code") {
941
- throw new errors.AirtopError({
942
- statusCode: _response.error.statusCode,
943
- body: _response.error.body,
944
- });
945
- }
946
- switch (_response.error.reason) {
947
- case "non-json":
948
- throw new errors.AirtopError({
949
- statusCode: _response.error.statusCode,
950
- body: _response.error.rawBody,
951
- });
952
- case "timeout":
953
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /sessions/{sessionId}/windows/{windowId}/click.");
954
- case "unknown":
955
- throw new errors.AirtopError({
956
- message: _response.error.errorMessage,
957
- });
958
- }
959
- });
960
- }
961
- /**
962
- * Execute a hover interaction in a specific browser window
963
- *
964
- * @param {string} sessionId - The session id for the window.
965
- * @param {string} windowId - The Airtop window id of the browser window.
966
- * @param {Airtop.SessionHoverHandlerRequestBody} request
967
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
968
- *
969
- * @example
970
- * await client.windows.hover("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
971
- * elementDescription: "The search box input in the top right corner"
972
- * })
973
- */
974
- hover(sessionId, windowId, request, requestOptions) {
975
- return __awaiter(this, void 0, void 0, function* () {
976
- var _a, _b, _c;
977
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
978
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/hover`),
979
- method: "POST",
980
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
981
- contentType: "application/json",
982
- requestType: "json",
983
- body: serializers.SessionHoverHandlerRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
984
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
985
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
986
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
987
- });
988
- if (_response.ok) {
989
- return serializers.AiPromptResponse.parseOrThrow(_response.body, {
990
- unrecognizedObjectKeys: "passthrough",
991
- allowUnrecognizedUnionMembers: true,
992
- allowUnrecognizedEnumValues: true,
993
- skipValidation: true,
994
- breadcrumbsPrefix: ["response"],
995
- });
996
- }
997
- if (_response.error.reason === "status-code") {
998
- throw new errors.AirtopError({
999
- statusCode: _response.error.statusCode,
1000
- body: _response.error.body,
1001
- });
1002
- }
1003
- switch (_response.error.reason) {
1004
- case "non-json":
1005
- throw new errors.AirtopError({
1006
- statusCode: _response.error.statusCode,
1007
- body: _response.error.rawBody,
1008
- });
1009
- case "timeout":
1010
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /sessions/{sessionId}/windows/{windowId}/hover.");
1011
- case "unknown":
1012
- throw new errors.AirtopError({
1013
- message: _response.error.errorMessage,
1014
- });
1015
- }
1016
- });
1017
- }
1018
- /**
1019
- * @param {string} sessionId - The session id for the window.
1020
- * @param {string} windowId - The Airtop window id of the browser window.
1021
- * @param {Airtop.SessionMonitorHandlerRequestBody} request
1022
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
1023
- *
1024
- * @example
1025
- * await client.windows.monitor("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
1026
- * condition: "Determine if the user appears to be signed in to the website"
1027
- * })
1028
- */
1029
- monitor(sessionId, windowId, request, requestOptions) {
1030
- return __awaiter(this, void 0, void 0, function* () {
1031
- var _a, _b, _c;
1032
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1033
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/monitor`),
1034
- method: "POST",
1035
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1036
- contentType: "application/json",
1037
- requestType: "json",
1038
- body: serializers.SessionMonitorHandlerRequestBody.jsonOrThrow(request, {
1039
- unrecognizedObjectKeys: "strip",
1040
- }),
1041
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1042
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1043
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1044
- });
1045
- if (_response.ok) {
1046
- return serializers.AiPromptResponse.parseOrThrow(_response.body, {
1047
- unrecognizedObjectKeys: "passthrough",
1048
- allowUnrecognizedUnionMembers: true,
1049
- allowUnrecognizedEnumValues: true,
1050
- skipValidation: true,
1051
- breadcrumbsPrefix: ["response"],
1052
- });
1053
- }
1054
- if (_response.error.reason === "status-code") {
1055
- throw new errors.AirtopError({
1056
- statusCode: _response.error.statusCode,
1057
- body: _response.error.body,
1058
- });
1059
- }
1060
- switch (_response.error.reason) {
1061
- case "non-json":
1062
- throw new errors.AirtopError({
1063
- statusCode: _response.error.statusCode,
1064
- body: _response.error.rawBody,
1065
- });
1066
- case "timeout":
1067
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /sessions/{sessionId}/windows/{windowId}/monitor.");
1068
- case "unknown":
1069
- throw new errors.AirtopError({
1070
- message: _response.error.errorMessage,
1071
- });
1072
- }
1073
- });
1074
- }
1075
- /**
1076
- * Submit a prompt that queries the content of a specific browser window. You may extract content from the page, or ask a question about the page and allow the AI to answer it (ex. Is the user logged in?).
1077
- *
1078
- * @param {string} sessionId - The session id for the window.
1079
- * @param {string} windowId - The Airtop window id of the browser window.
1080
- * @param {Airtop.SessionPageQueryHandlerRequestBody} request
1081
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
1082
- *
1083
- * @example
1084
- * await client.windows.pageQuery("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
1085
- * prompt: "What is the main idea of this page?"
1086
- * })
1087
- */
1088
- pageQuery(sessionId, windowId, request, requestOptions) {
1089
- return __awaiter(this, void 0, void 0, function* () {
1090
- var _a, _b, _c;
1091
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1092
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/page-query`),
1093
- method: "POST",
1094
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1095
- contentType: "application/json",
1096
- requestType: "json",
1097
- body: serializers.SessionPageQueryHandlerRequestBody.jsonOrThrow(request, {
1098
- unrecognizedObjectKeys: "strip",
1099
- }),
1100
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1101
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1102
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1103
- });
1104
- if (_response.ok) {
1105
- return serializers.AiPromptResponse.parseOrThrow(_response.body, {
1106
- unrecognizedObjectKeys: "passthrough",
1107
- allowUnrecognizedUnionMembers: true,
1108
- allowUnrecognizedEnumValues: true,
1109
- skipValidation: true,
1110
- breadcrumbsPrefix: ["response"],
1111
- });
1112
- }
1113
- if (_response.error.reason === "status-code") {
1114
- throw new errors.AirtopError({
1115
- statusCode: _response.error.statusCode,
1116
- body: _response.error.body,
1117
- });
1118
- }
1119
- switch (_response.error.reason) {
1120
- case "non-json":
1121
- throw new errors.AirtopError({
1122
- statusCode: _response.error.statusCode,
1123
- body: _response.error.rawBody,
1124
- });
1125
- case "timeout":
1126
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /sessions/{sessionId}/windows/{windowId}/page-query.");
1127
- case "unknown":
1128
- throw new errors.AirtopError({
1129
- message: _response.error.errorMessage,
1130
- });
1131
- }
1132
- });
1133
- }
1134
- /**
1135
- * Submit a prompt that queries the content of a specific browser window and paginates through pages to return a list of results.
1136
- *
1137
- * @param {string} sessionId - The session id for the window.
1138
- * @param {string} windowId - The Airtop window id of the browser window.
1139
- * @param {Airtop.SessionPaginatedExtractionHandlerRequestBody} request
1140
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
1141
- *
1142
- * @example
1143
- * await client.windows.paginatedExtraction("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
1144
- * prompt: "This site contains a list of results about <provide details about the list>. Navigate through 3 pages of results and return the title and <provide details about the data you want to extract> about each result in this list."
1145
- * })
1146
- */
1147
- paginatedExtraction(sessionId, windowId, request, requestOptions) {
1148
- return __awaiter(this, void 0, void 0, function* () {
1149
- var _a, _b, _c;
1150
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1151
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/paginated-extraction`),
1152
- method: "POST",
1153
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1154
- contentType: "application/json",
1155
- requestType: "json",
1156
- body: serializers.SessionPaginatedExtractionHandlerRequestBody.jsonOrThrow(request, {
1157
- unrecognizedObjectKeys: "strip",
1158
- }),
1159
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1160
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1161
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1162
- });
1163
- if (_response.ok) {
1164
- return serializers.AiPromptResponse.parseOrThrow(_response.body, {
1165
- unrecognizedObjectKeys: "passthrough",
1166
- allowUnrecognizedUnionMembers: true,
1167
- allowUnrecognizedEnumValues: true,
1168
- skipValidation: true,
1169
- breadcrumbsPrefix: ["response"],
1170
- });
1171
- }
1172
- if (_response.error.reason === "status-code") {
1173
- throw new errors.AirtopError({
1174
- statusCode: _response.error.statusCode,
1175
- body: _response.error.body,
1176
- });
1177
- }
1178
- switch (_response.error.reason) {
1179
- case "non-json":
1180
- throw new errors.AirtopError({
1181
- statusCode: _response.error.statusCode,
1182
- body: _response.error.rawBody,
1183
- });
1184
- case "timeout":
1185
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /sessions/{sessionId}/windows/{windowId}/paginated-extraction.");
1186
- case "unknown":
1187
- throw new errors.AirtopError({
1188
- message: _response.error.errorMessage,
1189
- });
1190
- }
1191
- });
1192
- }
1193
- /**
1194
- * This endpoint is deprecated. Please use the `pageQuery` endpoint instead.
1195
- *
1196
- * @param {string} sessionId - The session id for the window.
1197
- * @param {string} windowId - The Airtop window id of the browser window.
1198
- * @param {Airtop.SessionPageQueryHandlerRequestBody} request
1199
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
1200
- *
1201
- * @example
1202
- * await client.windows.promptContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
1203
- * prompt: "What is the main idea of this page?"
1204
- * })
1205
- */
1206
- promptContent(sessionId, windowId, request, requestOptions) {
1207
- return __awaiter(this, void 0, void 0, function* () {
1208
- var _a, _b, _c;
1209
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1210
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/prompt-content`),
1211
- method: "POST",
1212
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1213
- contentType: "application/json",
1214
- requestType: "json",
1215
- body: serializers.SessionPageQueryHandlerRequestBody.jsonOrThrow(request, {
1216
- unrecognizedObjectKeys: "strip",
1217
- }),
1218
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1219
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1220
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1221
- });
1222
- if (_response.ok) {
1223
- return serializers.AiPromptResponse.parseOrThrow(_response.body, {
1224
- unrecognizedObjectKeys: "passthrough",
1225
- allowUnrecognizedUnionMembers: true,
1226
- allowUnrecognizedEnumValues: true,
1227
- skipValidation: true,
1228
- breadcrumbsPrefix: ["response"],
1229
- });
1230
- }
1231
- if (_response.error.reason === "status-code") {
1232
- throw new errors.AirtopError({
1233
- statusCode: _response.error.statusCode,
1234
- body: _response.error.body,
1235
- });
1236
- }
1237
- switch (_response.error.reason) {
1238
- case "non-json":
1239
- throw new errors.AirtopError({
1240
- statusCode: _response.error.statusCode,
1241
- body: _response.error.rawBody,
1242
- });
1243
- case "timeout":
1244
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /sessions/{sessionId}/windows/{windowId}/prompt-content.");
1245
- case "unknown":
1246
- throw new errors.AirtopError({
1247
- message: _response.error.errorMessage,
1248
- });
1249
- }
1250
- });
1251
- }
1252
- /**
1253
- * Scrape a window and return the content as markdown
1254
- *
1255
- * @param {string} sessionId - The session id for the window.
1256
- * @param {string} windowId - The Airtop window id of the browser window to scrape.
1257
- * @param {Airtop.ScrapeContentRequest} request
1258
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
1259
- *
1260
- * @example
1261
- * await client.windows.scrapeContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
1262
- */
1263
- scrapeContent(sessionId_1, windowId_1) {
1264
- return __awaiter(this, arguments, void 0, function* (sessionId, windowId, request = {}, requestOptions) {
1265
- var _a, _b, _c;
1266
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1267
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/scrape-content`),
1268
- method: "POST",
1269
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1270
- contentType: "application/json",
1271
- requestType: "json",
1272
- body: serializers.ScrapeContentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
1273
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1274
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1275
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1276
- });
1277
- if (_response.ok) {
1278
- return serializers.ScrapeResponse.parseOrThrow(_response.body, {
1279
- unrecognizedObjectKeys: "passthrough",
1280
- allowUnrecognizedUnionMembers: true,
1281
- allowUnrecognizedEnumValues: true,
1282
- skipValidation: true,
1283
- breadcrumbsPrefix: ["response"],
1284
- });
1285
- }
1286
- if (_response.error.reason === "status-code") {
1287
- throw new errors.AirtopError({
1288
- statusCode: _response.error.statusCode,
1289
- body: _response.error.body,
1290
- });
1291
- }
1292
- switch (_response.error.reason) {
1293
- case "non-json":
1294
- throw new errors.AirtopError({
1295
- statusCode: _response.error.statusCode,
1296
- body: _response.error.rawBody,
1297
- });
1298
- case "timeout":
1299
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /sessions/{sessionId}/windows/{windowId}/scrape-content.");
1300
- case "unknown":
1301
- throw new errors.AirtopError({
1302
- message: _response.error.errorMessage,
1303
- });
1304
- }
1305
- });
1306
- }
1307
- /**
1308
- * Take a screenshot of a browser window
1309
- *
1310
- * @param {string} sessionId - The session id for the window.
1311
- * @param {string} windowId - The Airtop window id of the browser window.
1312
- * @param {Airtop.SessionScreenshotHandlerRequestBody} request
1313
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
1314
- *
1315
- * @example
1316
- * await client.windows.screenshot("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
1317
- */
1318
- screenshot(sessionId_1, windowId_1) {
1319
- return __awaiter(this, arguments, void 0, function* (sessionId, windowId, request = {}, requestOptions) {
1320
- var _a, _b, _c;
1321
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1322
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/screenshot`),
1323
- method: "POST",
1324
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1325
- contentType: "application/json",
1326
- requestType: "json",
1327
- body: serializers.SessionScreenshotHandlerRequestBody.jsonOrThrow(request, {
1328
- unrecognizedObjectKeys: "strip",
1329
- }),
1330
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1331
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1332
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1333
- });
1334
- if (_response.ok) {
1335
- return serializers.AiPromptResponse.parseOrThrow(_response.body, {
1336
- unrecognizedObjectKeys: "passthrough",
1337
- allowUnrecognizedUnionMembers: true,
1338
- allowUnrecognizedEnumValues: true,
1339
- skipValidation: true,
1340
- breadcrumbsPrefix: ["response"],
1341
- });
1342
- }
1343
- if (_response.error.reason === "status-code") {
1344
- throw new errors.AirtopError({
1345
- statusCode: _response.error.statusCode,
1346
- body: _response.error.body,
1347
- });
1348
- }
1349
- switch (_response.error.reason) {
1350
- case "non-json":
1351
- throw new errors.AirtopError({
1352
- statusCode: _response.error.statusCode,
1353
- body: _response.error.rawBody,
1354
- });
1355
- case "timeout":
1356
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /sessions/{sessionId}/windows/{windowId}/screenshot.");
1357
- case "unknown":
1358
- throw new errors.AirtopError({
1359
- message: _response.error.errorMessage,
1360
- });
1361
- }
1362
- });
1363
- }
1364
- /**
1365
- * Execute a scroll interaction in a specific browser window
1366
- *
1367
- * @param {string} sessionId - The session id for the window.
1368
- * @param {string} windowId - The Airtop window id of the browser window.
1369
- * @param {Airtop.SessionScrollHandlerRequestBody} request
1370
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
1371
- *
1372
- * @example
1373
- * await client.windows.scroll("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
1374
- */
1375
- scroll(sessionId_1, windowId_1) {
1376
- return __awaiter(this, arguments, void 0, function* (sessionId, windowId, request = {}, requestOptions) {
1377
- var _a, _b, _c;
1378
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1379
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/scroll`),
1380
- method: "POST",
1381
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1382
- contentType: "application/json",
1383
- requestType: "json",
1384
- body: serializers.SessionScrollHandlerRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
1385
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1386
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1387
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1388
- });
1389
- if (_response.ok) {
1390
- return serializers.AiPromptResponse.parseOrThrow(_response.body, {
1391
- unrecognizedObjectKeys: "passthrough",
1392
- allowUnrecognizedUnionMembers: true,
1393
- allowUnrecognizedEnumValues: true,
1394
- skipValidation: true,
1395
- breadcrumbsPrefix: ["response"],
1396
- });
1397
- }
1398
- if (_response.error.reason === "status-code") {
1399
- throw new errors.AirtopError({
1400
- statusCode: _response.error.statusCode,
1401
- body: _response.error.body,
1402
- });
1403
- }
1404
- switch (_response.error.reason) {
1405
- case "non-json":
1406
- throw new errors.AirtopError({
1407
- statusCode: _response.error.statusCode,
1408
- body: _response.error.rawBody,
1409
- });
1410
- case "timeout":
1411
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /sessions/{sessionId}/windows/{windowId}/scroll.");
1412
- case "unknown":
1413
- throw new errors.AirtopError({
1414
- message: _response.error.errorMessage,
1415
- });
1416
- }
1417
- });
1418
- }
1419
- /**
1420
- * This endpoint is deprecated. Please use the `pageQuery` endpoint and ask for a summary in the prompt instead.
1421
- *
1422
- * @param {string} sessionId - The session id for the window.
1423
- * @param {string} windowId - The Airtop window id of the browser window to summarize.
1424
- * @param {Airtop.SessionSummaryHandlerRequestBody} request
1425
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
1426
- *
1427
- * @example
1428
- * await client.windows.summarizeContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
1429
- */
1430
- summarizeContent(sessionId_1, windowId_1) {
1431
- return __awaiter(this, arguments, void 0, function* (sessionId, windowId, request = {}, requestOptions) {
1432
- var _a, _b, _c;
1433
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1434
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/summarize-content`),
1435
- method: "POST",
1436
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1437
- contentType: "application/json",
1438
- requestType: "json",
1439
- body: serializers.SessionSummaryHandlerRequestBody.jsonOrThrow(request, {
1440
- unrecognizedObjectKeys: "strip",
1441
- }),
1442
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1443
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1444
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1445
- });
1446
- if (_response.ok) {
1447
- return serializers.AiPromptResponse.parseOrThrow(_response.body, {
1448
- unrecognizedObjectKeys: "passthrough",
1449
- allowUnrecognizedUnionMembers: true,
1450
- allowUnrecognizedEnumValues: true,
1451
- skipValidation: true,
1452
- breadcrumbsPrefix: ["response"],
1453
- });
1454
- }
1455
- if (_response.error.reason === "status-code") {
1456
- throw new errors.AirtopError({
1457
- statusCode: _response.error.statusCode,
1458
- body: _response.error.body,
1459
- });
1460
- }
1461
- switch (_response.error.reason) {
1462
- case "non-json":
1463
- throw new errors.AirtopError({
1464
- statusCode: _response.error.statusCode,
1465
- body: _response.error.rawBody,
1466
- });
1467
- case "timeout":
1468
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /sessions/{sessionId}/windows/{windowId}/summarize-content.");
1469
- case "unknown":
1470
- throw new errors.AirtopError({
1471
- message: _response.error.errorMessage,
1472
- });
1473
- }
1474
- });
1475
- }
1476
- /**
1477
- * Execute a type interaction in a specific browser window
1478
- *
1479
- * @param {string} sessionId - The session id for the window.
1480
- * @param {string} windowId - The Airtop window id of the browser window.
1481
- * @param {Airtop.SessionTypeHandlerRequestBody} request
1482
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
1483
- *
1484
- * @example
1485
- * await client.windows.type("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
1486
- * text: "Example text"
1487
- * })
1488
- */
1489
- type(sessionId, windowId, request, requestOptions) {
1490
- return __awaiter(this, void 0, void 0, function* () {
1491
- var _a, _b, _c;
1492
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
1493
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}/type`),
1494
- method: "POST",
1495
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1496
- contentType: "application/json",
1497
- requestType: "json",
1498
- body: serializers.SessionTypeHandlerRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
1499
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1500
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1501
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1502
- });
1503
- if (_response.ok) {
1504
- return serializers.AiPromptResponse.parseOrThrow(_response.body, {
1505
- unrecognizedObjectKeys: "passthrough",
1506
- allowUnrecognizedUnionMembers: true,
1507
- allowUnrecognizedEnumValues: true,
1508
- skipValidation: true,
1509
- breadcrumbsPrefix: ["response"],
1510
- });
1511
- }
1512
- if (_response.error.reason === "status-code") {
1513
- throw new errors.AirtopError({
1514
- statusCode: _response.error.statusCode,
1515
- body: _response.error.body,
1516
- });
1517
- }
1518
- switch (_response.error.reason) {
1519
- case "non-json":
1520
- throw new errors.AirtopError({
1521
- statusCode: _response.error.statusCode,
1522
- body: _response.error.rawBody,
1523
- });
1524
- case "timeout":
1525
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /sessions/{sessionId}/windows/{windowId}/type.");
1526
- case "unknown":
1527
- throw new errors.AirtopError({
1528
- message: _response.error.errorMessage,
1529
- });
1530
- }
1531
- });
1532
- }
1533
- _getAuthorizationHeader() {
1534
- return __awaiter(this, void 0, void 0, function* () {
1535
- return `Bearer ${yield core.Supplier.get(this._options.apiKey)}`;
1536
- });
1537
- }
1538
- }
1539
- exports.Windows = Windows;