@airtop/sdk 0.1.36-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 (1609) 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 +71 -71
  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 -22
  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 -92
  71. package/api/resources/sessions/client/Client.js +0 -494
  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 -414
  99. package/api/resources/windows/client/Client.js +0 -1763
  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/AsyncCreateFormFillerRequest.d.ts +0 -23
  107. package/api/resources/windows/client/requests/AsyncCreateFormFillerRequest.js +0 -5
  108. package/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -27
  109. package/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -5
  110. package/api/resources/windows/client/requests/AsyncFillFormRequest.d.ts +0 -27
  111. package/api/resources/windows/client/requests/AsyncFillFormRequest.js +0 -5
  112. package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
  113. package/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
  114. package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
  115. package/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
  116. package/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
  117. package/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
  118. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
  119. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
  120. package/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
  121. package/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
  122. package/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
  123. package/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
  124. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
  125. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
  126. package/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
  127. package/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
  128. package/api/resources/windows/client/requests/CreateFormFillerRequest.d.ts +0 -23
  129. package/api/resources/windows/client/requests/CreateFormFillerRequest.js +0 -5
  130. package/api/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +0 -18
  131. package/api/resources/windows/client/requests/CreateWindowInputV1Body.js +0 -5
  132. package/api/resources/windows/client/requests/FillFormRequest.d.ts +0 -27
  133. package/api/resources/windows/client/requests/FillFormRequest.js +0 -5
  134. package/api/resources/windows/client/requests/GetWindowInfoRequest.d.ts +0 -23
  135. package/api/resources/windows/client/requests/GetWindowInfoRequest.js +0 -5
  136. package/api/resources/windows/client/requests/ScrapeContentRequest.d.ts +0 -18
  137. package/api/resources/windows/client/requests/ScrapeContentRequest.js +0 -5
  138. package/api/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +0 -27
  139. package/api/resources/windows/client/requests/SessionClickHandlerRequestBody.js +0 -5
  140. package/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +0 -25
  141. package/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +0 -5
  142. package/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -25
  143. package/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -5
  144. package/api/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.d.ts +0 -25
  145. package/api/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.js +0 -5
  146. package/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +0 -21
  147. package/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +0 -5
  148. package/api/resources/windows/client/requests/SessionScrollHandlerRequestBody.d.ts +0 -29
  149. package/api/resources/windows/client/requests/SessionScrollHandlerRequestBody.js +0 -5
  150. package/api/resources/windows/client/requests/SessionSummaryHandlerRequestBody.d.ts +0 -23
  151. package/api/resources/windows/client/requests/SessionSummaryHandlerRequestBody.js +0 -5
  152. package/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +0 -35
  153. package/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +0 -5
  154. package/api/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +0 -18
  155. package/api/resources/windows/client/requests/WindowLoadUrlV1Body.js +0 -5
  156. package/api/resources/windows/client/requests/index.d.ts +0 -27
  157. package/api/resources/windows/client/requests/index.js +0 -2
  158. package/api/resources/windows/index.d.ts +0 -2
  159. package/api/resources/windows/index.js +0 -18
  160. package/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +0 -13
  161. package/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +0 -12
  162. package/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +0 -13
  163. package/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +0 -12
  164. package/api/resources/windows/types/index.d.ts +0 -2
  165. package/api/resources/windows/types/index.js +0 -18
  166. package/api/types/AiPromptResponse.d.ts +0 -10
  167. package/api/types/AiPromptResponse.js +0 -5
  168. package/api/types/AiResponseEnvelope.d.ts +0 -6
  169. package/api/types/AiResponseEnvelope.js +0 -5
  170. package/api/types/AirtopProxyConfiguration.d.ts +0 -9
  171. package/api/types/AirtopProxyConfiguration.js +0 -5
  172. package/api/types/AsyncConfig.d.ts +0 -7
  173. package/api/types/AsyncConfig.js +0 -5
  174. package/api/types/AsyncSessionAiResponseEnvelope.d.ts +0 -9
  175. package/api/types/AsyncSessionAiResponseEnvelope.js +0 -5
  176. package/api/types/AutomationOutput.d.ts +0 -10
  177. package/api/types/AutomationOutput.js +0 -5
  178. package/api/types/BrowserWaitNavigationConfig.d.ts +0 -10
  179. package/api/types/BrowserWaitNavigationConfig.js +0 -5
  180. package/api/types/BrowserWaitNavigationConfigWaitUntil.d.ts +0 -13
  181. package/api/types/BrowserWaitNavigationConfigWaitUntil.js +0 -12
  182. package/api/types/ClickConfig.d.ts +0 -14
  183. package/api/types/ClickConfig.js +0 -5
  184. package/api/types/ClickConfigClickType.d.ts +0 -12
  185. package/api/types/ClickConfigClickType.js +0 -11
  186. package/api/types/ClientProvidedResponseMetadata.d.ts +0 -6
  187. package/api/types/ClientProvidedResponseMetadata.js +0 -5
  188. package/api/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -4
  189. package/api/types/CreateAutomationRequestBodyConfiguration.js +0 -5
  190. package/api/types/CreateFileV1.d.ts +0 -24
  191. package/api/types/CreateFileV1.js +0 -5
  192. package/api/types/CreateFileV1FileType.d.ts +0 -13
  193. package/api/types/CreateFileV1FileType.js +0 -12
  194. package/api/types/DeleteAutomationOutputWrapperBody.d.ts +0 -4
  195. package/api/types/DeleteAutomationOutputWrapperBody.js +0 -5
  196. package/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -10
  197. package/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -5
  198. package/api/types/EnvelopeDefaultMeta.d.ts +0 -6
  199. package/api/types/EnvelopeDefaultMeta.js +0 -5
  200. package/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -10
  201. package/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -5
  202. package/api/types/ErrorBody.d.ts +0 -9
  203. package/api/types/ErrorBody.js +0 -5
  204. package/api/types/ErrorDetail.d.ts +0 -10
  205. package/api/types/ErrorDetail.js +0 -5
  206. package/api/types/ErrorMessage.d.ts +0 -11
  207. package/api/types/ErrorMessage.js +0 -5
  208. package/api/types/ErrorModel.d.ts +0 -18
  209. package/api/types/ErrorModel.js +0 -5
  210. package/api/types/ExternalFile.d.ts +0 -33
  211. package/api/types/ExternalFile.js +0 -5
  212. package/api/types/ExternalSessionAiResponseMetadata.d.ts +0 -13
  213. package/api/types/ExternalSessionAiResponseMetadata.js +0 -5
  214. package/api/types/ExternalSessionAiResponseMetadataStatus.d.ts +0 -12
  215. package/api/types/ExternalSessionAiResponseMetadataStatus.js +0 -11
  216. package/api/types/ExternalSessionAiResponseMetadataUsage.d.ts +0 -9
  217. package/api/types/ExternalSessionAiResponseMetadataUsage.js +0 -5
  218. package/api/types/ExternalSessionConfig.d.ts +0 -11
  219. package/api/types/ExternalSessionConfig.js +0 -5
  220. package/api/types/ExternalSessionWithConnectionInfo.d.ts +0 -26
  221. package/api/types/ExternalSessionWithConnectionInfo.js +0 -5
  222. package/api/types/FilesResponse.d.ts +0 -10
  223. package/api/types/FilesResponse.js +0 -5
  224. package/api/types/FilesWithPagination.d.ts +0 -10
  225. package/api/types/FilesWithPagination.js +0 -5
  226. package/api/types/GetFileV1.d.ts +0 -24
  227. package/api/types/GetFileV1.js +0 -5
  228. package/api/types/GetFileV1FileType.d.ts +0 -13
  229. package/api/types/GetFileV1FileType.js +0 -12
  230. package/api/types/IntervalMonitorConfig.d.ts +0 -9
  231. package/api/types/IntervalMonitorConfig.js +0 -5
  232. package/api/types/Issue.d.ts +0 -13
  233. package/api/types/Issue.js +0 -5
  234. package/api/types/ListAutomationsOutput.d.ts +0 -7
  235. package/api/types/ListAutomationsOutput.js +0 -5
  236. package/api/types/MicroInteractionConfig.d.ts +0 -10
  237. package/api/types/MicroInteractionConfig.js +0 -5
  238. package/api/types/MicroInteractionConfigWithExperimental.d.ts +0 -12
  239. package/api/types/MicroInteractionConfigWithExperimental.js +0 -5
  240. package/api/types/MicroInteractionExperimentalConfig.d.ts +0 -7
  241. package/api/types/MicroInteractionExperimentalConfig.js +0 -5
  242. package/api/types/MonitorConfig.d.ts +0 -10
  243. package/api/types/MonitorConfig.js +0 -5
  244. package/api/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -12
  245. package/api/types/MonitorConfigIncludeVisualAnalysis.js +0 -11
  246. package/api/types/OperationOutcome.d.ts +0 -7
  247. package/api/types/OperationOutcome.js +0 -5
  248. package/api/types/OperationOutcomeResponse.d.ts +0 -10
  249. package/api/types/OperationOutcomeResponse.js +0 -5
  250. package/api/types/PageQueryConfig.d.ts +0 -12
  251. package/api/types/PageQueryConfig.js +0 -5
  252. package/api/types/PageQueryExperimentalConfig.d.ts +0 -7
  253. package/api/types/PageQueryExperimentalConfig.js +0 -5
  254. package/api/types/PaginatedExtractionConfig.d.ts +0 -16
  255. package/api/types/PaginatedExtractionConfig.js +0 -5
  256. package/api/types/PaginatedExtractionExperimentalConfig.d.ts +0 -7
  257. package/api/types/PaginatedExtractionExperimentalConfig.js +0 -5
  258. package/api/types/Pagination.d.ts +0 -21
  259. package/api/types/Pagination.js +0 -5
  260. package/api/types/Proxy.d.ts +0 -14
  261. package/api/types/Proxy.js +0 -5
  262. package/api/types/ProxyConfigurationKind.d.ts +0 -9
  263. package/api/types/ProxyConfigurationKind.js +0 -5
  264. package/api/types/ProxyCredentials.d.ts +0 -11
  265. package/api/types/ProxyCredentials.js +0 -5
  266. package/api/types/RequestStatusResponse.d.ts +0 -8
  267. package/api/types/RequestStatusResponse.js +0 -5
  268. package/api/types/ScrapeConfig.d.ts +0 -7
  269. package/api/types/ScrapeConfig.js +0 -5
  270. package/api/types/ScrapeResponse.d.ts +0 -10
  271. package/api/types/ScrapeResponse.js +0 -5
  272. package/api/types/ScrapeResponseContent.d.ts +0 -9
  273. package/api/types/ScrapeResponseContent.js +0 -5
  274. package/api/types/ScrapeResponseEnvelope.d.ts +0 -8
  275. package/api/types/ScrapeResponseEnvelope.js +0 -5
  276. package/api/types/ScrapeResponseOutput.d.ts +0 -12
  277. package/api/types/ScrapeResponseOutput.js +0 -5
  278. package/api/types/ScreenshotConfig.d.ts +0 -13
  279. package/api/types/ScreenshotConfig.js +0 -5
  280. package/api/types/ScreenshotMetadata.d.ts +0 -7
  281. package/api/types/ScreenshotMetadata.js +0 -5
  282. package/api/types/ScreenshotRequestConfig.d.ts +0 -8
  283. package/api/types/ScreenshotRequestConfig.js +0 -5
  284. package/api/types/ScrollByConfig.d.ts +0 -9
  285. package/api/types/ScrollByConfig.js +0 -5
  286. package/api/types/ScrollToEdgeConfig.d.ts +0 -9
  287. package/api/types/ScrollToEdgeConfig.js +0 -5
  288. package/api/types/SessionConfigV1.d.ts +0 -18
  289. package/api/types/SessionConfigV1.js +0 -5
  290. package/api/types/SessionConfigV1Proxy.d.ts +0 -17
  291. package/api/types/SessionConfigV1Proxy.js +0 -5
  292. package/api/types/SessionEventMessage.d.ts +0 -17
  293. package/api/types/SessionEventMessage.js +0 -5
  294. package/api/types/SessionPageQueryHandlerRequestBody.d.ts +0 -21
  295. package/api/types/SessionPageQueryHandlerRequestBody.js +0 -5
  296. package/api/types/SessionResponse.d.ts +0 -10
  297. package/api/types/SessionResponse.js +0 -5
  298. package/api/types/SessionsResponse.d.ts +0 -10
  299. package/api/types/SessionsResponse.js +0 -5
  300. package/api/types/SessionsWithPagination.d.ts +0 -10
  301. package/api/types/SessionsWithPagination.js +0 -5
  302. package/api/types/StatusMessage.d.ts +0 -16
  303. package/api/types/StatusMessage.js +0 -5
  304. package/api/types/StatusMessageStatus.d.ts +0 -15
  305. package/api/types/StatusMessageStatus.js +0 -14
  306. package/api/types/SummaryConfig.d.ts +0 -9
  307. package/api/types/SummaryConfig.js +0 -5
  308. package/api/types/SummaryExperimentalConfig.d.ts +0 -7
  309. package/api/types/SummaryExperimentalConfig.js +0 -5
  310. package/api/types/VisualAnalysisConfig.d.ts +0 -18
  311. package/api/types/VisualAnalysisConfig.js +0 -5
  312. package/api/types/VisualAnalysisConfigPartitionDirection.d.ts +0 -12
  313. package/api/types/VisualAnalysisConfigPartitionDirection.js +0 -11
  314. package/api/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +0 -12
  315. package/api/types/VisualAnalysisConfigResultSelectionStrategy.js +0 -11
  316. package/api/types/VisualAnalysisConfigScope.d.ts +0 -13
  317. package/api/types/VisualAnalysisConfigScope.js +0 -12
  318. package/api/types/Window.d.ts +0 -11
  319. package/api/types/Window.js +0 -5
  320. package/api/types/WindowEventMessage.d.ts +0 -19
  321. package/api/types/WindowEventMessage.js +0 -5
  322. package/api/types/WindowId.d.ts +0 -9
  323. package/api/types/WindowId.js +0 -5
  324. package/api/types/WindowIdResponse.d.ts +0 -10
  325. package/api/types/WindowIdResponse.js +0 -5
  326. package/api/types/WindowResponse.d.ts +0 -10
  327. package/api/types/WindowResponse.js +0 -5
  328. package/api/types/index.d.ts +0 -81
  329. package/api/types/index.js +0 -97
  330. package/biome.json +0 -69
  331. package/config/tsconfig-nobase.json +0 -16
  332. package/core/auth/BasicAuth.d.ts +0 -8
  333. package/core/auth/BasicAuth.js +0 -26
  334. package/core/auth/BearerToken.d.ts +0 -5
  335. package/core/auth/BearerToken.js +0 -15
  336. package/core/auth/index.d.ts +0 -2
  337. package/core/auth/index.js +0 -7
  338. package/core/fetcher/APIResponse.d.ts +0 -10
  339. package/core/fetcher/APIResponse.js +0 -2
  340. package/core/fetcher/Fetcher.d.ts +0 -39
  341. package/core/fetcher/Fetcher.js +0 -100
  342. package/core/fetcher/Supplier.d.ts +0 -4
  343. package/core/fetcher/Supplier.js +0 -22
  344. package/core/fetcher/createRequestUrl.d.ts +0 -1
  345. package/core/fetcher/createRequestUrl.js +0 -12
  346. package/core/fetcher/getFetchFn.d.ts +0 -4
  347. package/core/fetcher/getFetchFn.js +0 -68
  348. package/core/fetcher/getHeader.d.ts +0 -1
  349. package/core/fetcher/getHeader.js +0 -11
  350. package/core/fetcher/getRequestBody.d.ts +0 -7
  351. package/core/fetcher/getRequestBody.js +0 -23
  352. package/core/fetcher/getResponseBody.d.ts +0 -1
  353. package/core/fetcher/getResponseBody.js +0 -54
  354. package/core/fetcher/index.d.ts +0 -5
  355. package/core/fetcher/index.js +0 -9
  356. package/core/fetcher/makeRequest.d.ts +0 -1
  357. package/core/fetcher/makeRequest.js +0 -42
  358. package/core/fetcher/requestWithRetries.d.ts +0 -1
  359. package/core/fetcher/requestWithRetries.js +0 -40
  360. package/core/fetcher/signals.d.ts +0 -11
  361. package/core/fetcher/signals.js +0 -36
  362. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
  363. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
  364. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
  365. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
  366. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
  367. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
  368. package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
  369. package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
  370. package/core/index.d.ts +0 -5
  371. package/core/index.js +0 -44
  372. package/core/json.d.ts +0 -15
  373. package/core/json.js +0 -24
  374. package/core/runtime/index.d.ts +0 -1
  375. package/core/runtime/index.js +0 -5
  376. package/core/runtime/runtime.d.ts +0 -9
  377. package/core/runtime/runtime.js +0 -103
  378. package/core/schemas/Schema.d.ts +0 -87
  379. package/core/schemas/Schema.js +0 -24
  380. package/core/schemas/builders/bigint/bigint.d.ts +0 -2
  381. package/core/schemas/builders/bigint/bigint.js +0 -53
  382. package/core/schemas/builders/bigint/index.d.ts +0 -1
  383. package/core/schemas/builders/bigint/index.js +0 -5
  384. package/core/schemas/builders/date/date.d.ts +0 -2
  385. package/core/schemas/builders/date/date.js +0 -62
  386. package/core/schemas/builders/date/index.d.ts +0 -1
  387. package/core/schemas/builders/date/index.js +0 -5
  388. package/core/schemas/builders/enum/enum.d.ts +0 -2
  389. package/core/schemas/builders/enum/enum.js +0 -38
  390. package/core/schemas/builders/enum/index.d.ts +0 -1
  391. package/core/schemas/builders/enum/index.js +0 -5
  392. package/core/schemas/builders/index.d.ts +0 -14
  393. package/core/schemas/builders/index.js +0 -30
  394. package/core/schemas/builders/lazy/index.d.ts +0 -3
  395. package/core/schemas/builders/lazy/index.js +0 -7
  396. package/core/schemas/builders/lazy/lazy.d.ts +0 -5
  397. package/core/schemas/builders/lazy/lazy.js +0 -24
  398. package/core/schemas/builders/lazy/lazyObject.d.ts +0 -3
  399. package/core/schemas/builders/lazy/lazyObject.js +0 -11
  400. package/core/schemas/builders/list/index.d.ts +0 -1
  401. package/core/schemas/builders/list/index.js +0 -5
  402. package/core/schemas/builders/list/list.d.ts +0 -2
  403. package/core/schemas/builders/list/list.js +0 -54
  404. package/core/schemas/builders/literals/booleanLiteral.d.ts +0 -2
  405. package/core/schemas/builders/literals/booleanLiteral.js +0 -28
  406. package/core/schemas/builders/literals/index.d.ts +0 -2
  407. package/core/schemas/builders/literals/index.js +0 -7
  408. package/core/schemas/builders/literals/stringLiteral.d.ts +0 -2
  409. package/core/schemas/builders/literals/stringLiteral.js +0 -28
  410. package/core/schemas/builders/object/index.d.ts +0 -6
  411. package/core/schemas/builders/object/index.js +0 -11
  412. package/core/schemas/builders/object/object.d.ts +0 -3
  413. package/core/schemas/builders/object/object.js +0 -261
  414. package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +0 -6
  415. package/core/schemas/builders/object/objectWithoutOptionalProperties.js +0 -7
  416. package/core/schemas/builders/object/property.d.ts +0 -8
  417. package/core/schemas/builders/object/property.js +0 -15
  418. package/core/schemas/builders/object/types.d.ts +0 -31
  419. package/core/schemas/builders/object/types.js +0 -2
  420. package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +0 -9
  421. package/core/schemas/builders/object-like/getObjectLikeUtils.js +0 -53
  422. package/core/schemas/builders/object-like/index.d.ts +0 -2
  423. package/core/schemas/builders/object-like/index.js +0 -6
  424. package/core/schemas/builders/object-like/types.d.ts +0 -7
  425. package/core/schemas/builders/object-like/types.js +0 -2
  426. package/core/schemas/builders/primitives/any.d.ts +0 -1
  427. package/core/schemas/builders/primitives/any.js +0 -6
  428. package/core/schemas/builders/primitives/boolean.d.ts +0 -1
  429. package/core/schemas/builders/primitives/boolean.js +0 -25
  430. package/core/schemas/builders/primitives/index.d.ts +0 -5
  431. package/core/schemas/builders/primitives/index.js +0 -13
  432. package/core/schemas/builders/primitives/number.d.ts +0 -1
  433. package/core/schemas/builders/primitives/number.js +0 -25
  434. package/core/schemas/builders/primitives/string.d.ts +0 -1
  435. package/core/schemas/builders/primitives/string.js +0 -25
  436. package/core/schemas/builders/primitives/unknown.d.ts +0 -1
  437. package/core/schemas/builders/primitives/unknown.js +0 -6
  438. package/core/schemas/builders/record/index.d.ts +0 -2
  439. package/core/schemas/builders/record/index.js +0 -5
  440. package/core/schemas/builders/record/record.d.ts +0 -3
  441. package/core/schemas/builders/record/record.js +0 -93
  442. package/core/schemas/builders/record/types.d.ts +0 -4
  443. package/core/schemas/builders/record/types.js +0 -2
  444. package/core/schemas/builders/schema-utils/JsonError.d.ts +0 -5
  445. package/core/schemas/builders/schema-utils/JsonError.js +0 -12
  446. package/core/schemas/builders/schema-utils/ParseError.d.ts +0 -5
  447. package/core/schemas/builders/schema-utils/ParseError.js +0 -12
  448. package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +0 -21
  449. package/core/schemas/builders/schema-utils/getSchemaUtils.js +0 -145
  450. package/core/schemas/builders/schema-utils/index.d.ts +0 -4
  451. package/core/schemas/builders/schema-utils/index.js +0 -11
  452. package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +0 -2
  453. package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +0 -9
  454. package/core/schemas/builders/set/index.d.ts +0 -1
  455. package/core/schemas/builders/set/index.js +0 -5
  456. package/core/schemas/builders/set/set.d.ts +0 -2
  457. package/core/schemas/builders/set/set.js +0 -43
  458. package/core/schemas/builders/undiscriminated-union/index.d.ts +0 -2
  459. package/core/schemas/builders/undiscriminated-union/index.js +0 -5
  460. package/core/schemas/builders/undiscriminated-union/types.d.ts +0 -4
  461. package/core/schemas/builders/undiscriminated-union/types.js +0 -2
  462. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +0 -3
  463. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +0 -39
  464. package/core/schemas/builders/union/discriminant.d.ts +0 -5
  465. package/core/schemas/builders/union/discriminant.js +0 -9
  466. package/core/schemas/builders/union/index.d.ts +0 -4
  467. package/core/schemas/builders/union/index.js +0 -7
  468. package/core/schemas/builders/union/types.d.ts +0 -13
  469. package/core/schemas/builders/union/types.js +0 -2
  470. package/core/schemas/builders/union/union.d.ts +0 -4
  471. package/core/schemas/builders/union/union.js +0 -129
  472. package/core/schemas/index.d.ts +0 -2
  473. package/core/schemas/index.js +0 -17
  474. package/core/schemas/utils/MaybePromise.d.ts +0 -1
  475. package/core/schemas/utils/MaybePromise.js +0 -2
  476. package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +0 -7
  477. package/core/schemas/utils/addQuestionMarksToNullableProperties.js +0 -2
  478. package/core/schemas/utils/createIdentitySchemaCreator.d.ts +0 -2
  479. package/core/schemas/utils/createIdentitySchemaCreator.js +0 -15
  480. package/core/schemas/utils/entries.d.ts +0 -1
  481. package/core/schemas/utils/entries.js +0 -6
  482. package/core/schemas/utils/filterObject.d.ts +0 -1
  483. package/core/schemas/utils/filterObject.js +0 -13
  484. package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +0 -1
  485. package/core/schemas/utils/getErrorMessageForIncorrectType.js +0 -27
  486. package/core/schemas/utils/isPlainObject.d.ts +0 -1
  487. package/core/schemas/utils/isPlainObject.js +0 -17
  488. package/core/schemas/utils/keys.d.ts +0 -1
  489. package/core/schemas/utils/keys.js +0 -6
  490. package/core/schemas/utils/maybeSkipValidation.d.ts +0 -2
  491. package/core/schemas/utils/maybeSkipValidation.js +0 -27
  492. package/core/schemas/utils/partition.d.ts +0 -1
  493. package/core/schemas/utils/partition.js +0 -15
  494. package/core/streaming-fetcher/Stream.d.ts +0 -47
  495. package/core/streaming-fetcher/Stream.js +0 -169
  496. package/core/streaming-fetcher/index.d.ts +0 -1
  497. package/core/streaming-fetcher/index.js +0 -5
  498. package/dist/Client.d.ts +0 -46
  499. package/dist/Client.js +0 -42
  500. package/dist/api/errors/ForbiddenError.d.ts +0 -8
  501. package/dist/api/errors/ForbiddenError.js +0 -51
  502. package/dist/api/errors/InternalServerError.d.ts +0 -8
  503. package/dist/api/errors/InternalServerError.js +0 -51
  504. package/dist/api/errors/NotFoundError.d.ts +0 -8
  505. package/dist/api/errors/NotFoundError.js +0 -51
  506. package/dist/api/errors/UnauthorizedError.d.ts +0 -8
  507. package/dist/api/errors/UnauthorizedError.js +0 -51
  508. package/dist/api/errors/UnprocessableEntityError.d.ts +0 -8
  509. package/dist/api/errors/UnprocessableEntityError.js +0 -51
  510. package/dist/api/errors/index.d.ts +0 -5
  511. package/dist/api/errors/index.js +0 -21
  512. package/dist/api/index.d.ts +0 -3
  513. package/dist/api/index.js +0 -19
  514. package/dist/api/resources/automations/client/Client.d.ts +0 -91
  515. package/dist/api/resources/automations/client/Client.js +0 -429
  516. package/dist/api/resources/automations/client/index.d.ts +0 -1
  517. package/dist/api/resources/automations/client/index.js +0 -17
  518. package/dist/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +0 -19
  519. package/dist/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +0 -5
  520. package/dist/api/resources/automations/client/requests/index.d.ts +0 -1
  521. package/dist/api/resources/automations/client/requests/index.js +0 -2
  522. package/dist/api/resources/automations/index.d.ts +0 -1
  523. package/dist/api/resources/automations/index.js +0 -17
  524. package/dist/api/resources/files/client/Client.d.ts +0 -69
  525. package/dist/api/resources/files/client/Client.js +0 -286
  526. package/dist/api/resources/files/client/index.d.ts +0 -1
  527. package/dist/api/resources/files/client/index.js +0 -17
  528. package/dist/api/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -22
  529. package/dist/api/resources/files/client/requests/CreateFileRestInputV1.js +0 -5
  530. package/dist/api/resources/files/client/requests/FilesListRequest.d.ts +0 -24
  531. package/dist/api/resources/files/client/requests/FilesListRequest.js +0 -5
  532. package/dist/api/resources/files/client/requests/index.d.ts +0 -2
  533. package/dist/api/resources/files/client/requests/index.js +0 -2
  534. package/dist/api/resources/files/index.d.ts +0 -2
  535. package/dist/api/resources/files/index.js +0 -18
  536. package/dist/api/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -13
  537. package/dist/api/resources/files/types/CreateFileRestInputV1FileType.js +0 -12
  538. package/dist/api/resources/files/types/index.d.ts +0 -1
  539. package/dist/api/resources/files/types/index.js +0 -17
  540. package/dist/api/resources/index.d.ts +0 -14
  541. package/dist/api/resources/index.js +0 -53
  542. package/dist/api/resources/profiles/client/Client.d.ts +0 -40
  543. package/dist/api/resources/profiles/client/Client.js +0 -131
  544. package/dist/api/resources/profiles/client/index.d.ts +0 -1
  545. package/dist/api/resources/profiles/client/index.js +0 -17
  546. package/dist/api/resources/profiles/client/requests/ProfilesDeleteRequest.d.ts +0 -17
  547. package/dist/api/resources/profiles/client/requests/ProfilesDeleteRequest.js +0 -5
  548. package/dist/api/resources/profiles/client/requests/index.d.ts +0 -1
  549. package/dist/api/resources/profiles/client/requests/index.js +0 -2
  550. package/dist/api/resources/profiles/index.d.ts +0 -1
  551. package/dist/api/resources/profiles/index.js +0 -17
  552. package/dist/api/resources/requests/client/Client.d.ts +0 -38
  553. package/dist/api/resources/requests/client/Client.js +0 -117
  554. package/dist/api/resources/requests/client/index.d.ts +0 -1
  555. package/dist/api/resources/requests/client/index.js +0 -2
  556. package/dist/api/resources/requests/index.d.ts +0 -1
  557. package/dist/api/resources/requests/index.js +0 -17
  558. package/dist/api/resources/sessions/client/Client.d.ts +0 -92
  559. package/dist/api/resources/sessions/client/Client.js +0 -494
  560. package/dist/api/resources/sessions/client/index.d.ts +0 -1
  561. package/dist/api/resources/sessions/client/index.js +0 -17
  562. package/dist/api/resources/sessions/client/requests/SessionRestInputV1.d.ts +0 -12
  563. package/dist/api/resources/sessions/client/requests/SessionRestInputV1.js +0 -5
  564. package/dist/api/resources/sessions/client/requests/SessionsEventsRequest.d.ts +0 -20
  565. package/dist/api/resources/sessions/client/requests/SessionsEventsRequest.js +0 -5
  566. package/dist/api/resources/sessions/client/requests/SessionsListRequest.d.ts +0 -29
  567. package/dist/api/resources/sessions/client/requests/SessionsListRequest.js +0 -5
  568. package/dist/api/resources/sessions/client/requests/index.d.ts +0 -3
  569. package/dist/api/resources/sessions/client/requests/index.js +0 -2
  570. package/dist/api/resources/sessions/index.d.ts +0 -2
  571. package/dist/api/resources/sessions/index.js +0 -18
  572. package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +0 -22
  573. package/dist/api/resources/sessions/types/SessionsEventsResponse.js +0 -5
  574. package/dist/api/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -11
  575. package/dist/api/resources/sessions/types/SessionsEventsResponseError.js +0 -5
  576. package/dist/api/resources/sessions/types/SessionsEventsResponseSessionEvent.d.ts +0 -11
  577. package/dist/api/resources/sessions/types/SessionsEventsResponseSessionEvent.js +0 -5
  578. package/dist/api/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -11
  579. package/dist/api/resources/sessions/types/SessionsEventsResponseStatus.js +0 -5
  580. package/dist/api/resources/sessions/types/SessionsEventsResponseWindowEvent.d.ts +0 -11
  581. package/dist/api/resources/sessions/types/SessionsEventsResponseWindowEvent.js +0 -5
  582. package/dist/api/resources/sessions/types/SessionsListRequestStatus.d.ts +0 -16
  583. package/dist/api/resources/sessions/types/SessionsListRequestStatus.js +0 -15
  584. package/dist/api/resources/sessions/types/index.d.ts +0 -6
  585. package/dist/api/resources/sessions/types/index.js +0 -22
  586. package/dist/api/resources/windows/client/Client.d.ts +0 -414
  587. package/dist/api/resources/windows/client/Client.js +0 -1763
  588. package/dist/api/resources/windows/client/index.d.ts +0 -1
  589. package/dist/api/resources/windows/client/index.js +0 -17
  590. package/dist/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
  591. package/dist/api/resources/windows/client/requests/AsyncClickRequest.js +0 -5
  592. package/dist/api/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +0 -23
  593. package/dist/api/resources/windows/client/requests/AsyncCreateAutomationRequest.js +0 -5
  594. package/dist/api/resources/windows/client/requests/AsyncCreateFormFillerRequest.d.ts +0 -23
  595. package/dist/api/resources/windows/client/requests/AsyncCreateFormFillerRequest.js +0 -5
  596. package/dist/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -27
  597. package/dist/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -5
  598. package/dist/api/resources/windows/client/requests/AsyncFillFormRequest.d.ts +0 -27
  599. package/dist/api/resources/windows/client/requests/AsyncFillFormRequest.js +0 -5
  600. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
  601. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
  602. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
  603. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
  604. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
  605. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
  606. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
  607. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
  608. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
  609. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
  610. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
  611. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
  612. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
  613. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
  614. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
  615. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
  616. package/dist/api/resources/windows/client/requests/CreateFormFillerRequest.d.ts +0 -23
  617. package/dist/api/resources/windows/client/requests/CreateFormFillerRequest.js +0 -5
  618. package/dist/api/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +0 -18
  619. package/dist/api/resources/windows/client/requests/CreateWindowInputV1Body.js +0 -5
  620. package/dist/api/resources/windows/client/requests/FillFormRequest.d.ts +0 -27
  621. package/dist/api/resources/windows/client/requests/FillFormRequest.js +0 -5
  622. package/dist/api/resources/windows/client/requests/GetWindowInfoRequest.d.ts +0 -23
  623. package/dist/api/resources/windows/client/requests/GetWindowInfoRequest.js +0 -5
  624. package/dist/api/resources/windows/client/requests/ScrapeContentRequest.d.ts +0 -18
  625. package/dist/api/resources/windows/client/requests/ScrapeContentRequest.js +0 -5
  626. package/dist/api/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +0 -27
  627. package/dist/api/resources/windows/client/requests/SessionClickHandlerRequestBody.js +0 -5
  628. package/dist/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +0 -25
  629. package/dist/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +0 -5
  630. package/dist/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -25
  631. package/dist/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -5
  632. package/dist/api/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.d.ts +0 -25
  633. package/dist/api/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.js +0 -5
  634. package/dist/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +0 -21
  635. package/dist/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +0 -5
  636. package/dist/api/resources/windows/client/requests/SessionScrollHandlerRequestBody.d.ts +0 -29
  637. package/dist/api/resources/windows/client/requests/SessionScrollHandlerRequestBody.js +0 -5
  638. package/dist/api/resources/windows/client/requests/SessionSummaryHandlerRequestBody.d.ts +0 -23
  639. package/dist/api/resources/windows/client/requests/SessionSummaryHandlerRequestBody.js +0 -5
  640. package/dist/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +0 -35
  641. package/dist/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +0 -5
  642. package/dist/api/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +0 -18
  643. package/dist/api/resources/windows/client/requests/WindowLoadUrlV1Body.js +0 -5
  644. package/dist/api/resources/windows/client/requests/index.d.ts +0 -27
  645. package/dist/api/resources/windows/client/requests/index.js +0 -2
  646. package/dist/api/resources/windows/index.d.ts +0 -2
  647. package/dist/api/resources/windows/index.js +0 -18
  648. package/dist/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +0 -13
  649. package/dist/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +0 -12
  650. package/dist/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +0 -13
  651. package/dist/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +0 -12
  652. package/dist/api/resources/windows/types/index.d.ts +0 -2
  653. package/dist/api/resources/windows/types/index.js +0 -18
  654. package/dist/api/types/AiPromptResponse.d.ts +0 -10
  655. package/dist/api/types/AiPromptResponse.js +0 -5
  656. package/dist/api/types/AiResponseEnvelope.d.ts +0 -6
  657. package/dist/api/types/AiResponseEnvelope.js +0 -5
  658. package/dist/api/types/AirtopProxyConfiguration.d.ts +0 -9
  659. package/dist/api/types/AirtopProxyConfiguration.js +0 -5
  660. package/dist/api/types/AsyncConfig.d.ts +0 -7
  661. package/dist/api/types/AsyncConfig.js +0 -5
  662. package/dist/api/types/AsyncSessionAiResponseEnvelope.d.ts +0 -9
  663. package/dist/api/types/AsyncSessionAiResponseEnvelope.js +0 -5
  664. package/dist/api/types/AutomationOutput.d.ts +0 -10
  665. package/dist/api/types/AutomationOutput.js +0 -5
  666. package/dist/api/types/BrowserWaitNavigationConfig.d.ts +0 -10
  667. package/dist/api/types/BrowserWaitNavigationConfig.js +0 -5
  668. package/dist/api/types/BrowserWaitNavigationConfigWaitUntil.d.ts +0 -13
  669. package/dist/api/types/BrowserWaitNavigationConfigWaitUntil.js +0 -12
  670. package/dist/api/types/ClickConfig.d.ts +0 -14
  671. package/dist/api/types/ClickConfig.js +0 -5
  672. package/dist/api/types/ClickConfigClickType.d.ts +0 -12
  673. package/dist/api/types/ClickConfigClickType.js +0 -11
  674. package/dist/api/types/ClientProvidedResponseMetadata.d.ts +0 -6
  675. package/dist/api/types/ClientProvidedResponseMetadata.js +0 -5
  676. package/dist/api/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -4
  677. package/dist/api/types/CreateAutomationRequestBodyConfiguration.js +0 -5
  678. package/dist/api/types/CreateFileV1.d.ts +0 -24
  679. package/dist/api/types/CreateFileV1.js +0 -5
  680. package/dist/api/types/CreateFileV1FileType.d.ts +0 -13
  681. package/dist/api/types/CreateFileV1FileType.js +0 -12
  682. package/dist/api/types/DeleteAutomationOutputWrapperBody.d.ts +0 -4
  683. package/dist/api/types/DeleteAutomationOutputWrapperBody.js +0 -5
  684. package/dist/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -10
  685. package/dist/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -5
  686. package/dist/api/types/EnvelopeDefaultMeta.d.ts +0 -6
  687. package/dist/api/types/EnvelopeDefaultMeta.js +0 -5
  688. package/dist/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -10
  689. package/dist/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -5
  690. package/dist/api/types/ErrorBody.d.ts +0 -9
  691. package/dist/api/types/ErrorBody.js +0 -5
  692. package/dist/api/types/ErrorDetail.d.ts +0 -10
  693. package/dist/api/types/ErrorDetail.js +0 -5
  694. package/dist/api/types/ErrorMessage.d.ts +0 -11
  695. package/dist/api/types/ErrorMessage.js +0 -5
  696. package/dist/api/types/ErrorModel.d.ts +0 -18
  697. package/dist/api/types/ErrorModel.js +0 -5
  698. package/dist/api/types/ExternalFile.d.ts +0 -33
  699. package/dist/api/types/ExternalFile.js +0 -5
  700. package/dist/api/types/ExternalSessionAiResponseMetadata.d.ts +0 -13
  701. package/dist/api/types/ExternalSessionAiResponseMetadata.js +0 -5
  702. package/dist/api/types/ExternalSessionAiResponseMetadataStatus.d.ts +0 -12
  703. package/dist/api/types/ExternalSessionAiResponseMetadataStatus.js +0 -11
  704. package/dist/api/types/ExternalSessionAiResponseMetadataUsage.d.ts +0 -9
  705. package/dist/api/types/ExternalSessionAiResponseMetadataUsage.js +0 -5
  706. package/dist/api/types/ExternalSessionConfig.d.ts +0 -11
  707. package/dist/api/types/ExternalSessionConfig.js +0 -5
  708. package/dist/api/types/ExternalSessionWithConnectionInfo.d.ts +0 -26
  709. package/dist/api/types/ExternalSessionWithConnectionInfo.js +0 -5
  710. package/dist/api/types/FilesResponse.d.ts +0 -10
  711. package/dist/api/types/FilesResponse.js +0 -5
  712. package/dist/api/types/FilesWithPagination.d.ts +0 -10
  713. package/dist/api/types/FilesWithPagination.js +0 -5
  714. package/dist/api/types/GetFileV1.d.ts +0 -24
  715. package/dist/api/types/GetFileV1.js +0 -5
  716. package/dist/api/types/GetFileV1FileType.d.ts +0 -13
  717. package/dist/api/types/GetFileV1FileType.js +0 -12
  718. package/dist/api/types/IntervalMonitorConfig.d.ts +0 -9
  719. package/dist/api/types/IntervalMonitorConfig.js +0 -5
  720. package/dist/api/types/Issue.d.ts +0 -13
  721. package/dist/api/types/Issue.js +0 -5
  722. package/dist/api/types/ListAutomationsOutput.d.ts +0 -7
  723. package/dist/api/types/ListAutomationsOutput.js +0 -5
  724. package/dist/api/types/MicroInteractionConfig.d.ts +0 -10
  725. package/dist/api/types/MicroInteractionConfig.js +0 -5
  726. package/dist/api/types/MicroInteractionConfigWithExperimental.d.ts +0 -12
  727. package/dist/api/types/MicroInteractionConfigWithExperimental.js +0 -5
  728. package/dist/api/types/MicroInteractionExperimentalConfig.d.ts +0 -7
  729. package/dist/api/types/MicroInteractionExperimentalConfig.js +0 -5
  730. package/dist/api/types/MonitorConfig.d.ts +0 -10
  731. package/dist/api/types/MonitorConfig.js +0 -5
  732. package/dist/api/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -12
  733. package/dist/api/types/MonitorConfigIncludeVisualAnalysis.js +0 -11
  734. package/dist/api/types/OperationOutcome.d.ts +0 -7
  735. package/dist/api/types/OperationOutcome.js +0 -5
  736. package/dist/api/types/OperationOutcomeResponse.d.ts +0 -10
  737. package/dist/api/types/OperationOutcomeResponse.js +0 -5
  738. package/dist/api/types/PageQueryConfig.d.ts +0 -12
  739. package/dist/api/types/PageQueryConfig.js +0 -5
  740. package/dist/api/types/PageQueryExperimentalConfig.d.ts +0 -7
  741. package/dist/api/types/PageQueryExperimentalConfig.js +0 -5
  742. package/dist/api/types/PaginatedExtractionConfig.d.ts +0 -16
  743. package/dist/api/types/PaginatedExtractionConfig.js +0 -5
  744. package/dist/api/types/PaginatedExtractionExperimentalConfig.d.ts +0 -7
  745. package/dist/api/types/PaginatedExtractionExperimentalConfig.js +0 -5
  746. package/dist/api/types/Pagination.d.ts +0 -21
  747. package/dist/api/types/Pagination.js +0 -5
  748. package/dist/api/types/Proxy.d.ts +0 -14
  749. package/dist/api/types/Proxy.js +0 -5
  750. package/dist/api/types/ProxyConfigurationKind.d.ts +0 -9
  751. package/dist/api/types/ProxyConfigurationKind.js +0 -5
  752. package/dist/api/types/ProxyCredentials.d.ts +0 -11
  753. package/dist/api/types/ProxyCredentials.js +0 -5
  754. package/dist/api/types/RequestStatusResponse.d.ts +0 -8
  755. package/dist/api/types/RequestStatusResponse.js +0 -5
  756. package/dist/api/types/ScrapeConfig.d.ts +0 -7
  757. package/dist/api/types/ScrapeConfig.js +0 -5
  758. package/dist/api/types/ScrapeResponse.d.ts +0 -10
  759. package/dist/api/types/ScrapeResponse.js +0 -5
  760. package/dist/api/types/ScrapeResponseContent.d.ts +0 -9
  761. package/dist/api/types/ScrapeResponseContent.js +0 -5
  762. package/dist/api/types/ScrapeResponseEnvelope.d.ts +0 -8
  763. package/dist/api/types/ScrapeResponseEnvelope.js +0 -5
  764. package/dist/api/types/ScrapeResponseOutput.d.ts +0 -12
  765. package/dist/api/types/ScrapeResponseOutput.js +0 -5
  766. package/dist/api/types/ScreenshotConfig.d.ts +0 -13
  767. package/dist/api/types/ScreenshotConfig.js +0 -5
  768. package/dist/api/types/ScreenshotMetadata.d.ts +0 -7
  769. package/dist/api/types/ScreenshotMetadata.js +0 -5
  770. package/dist/api/types/ScreenshotRequestConfig.d.ts +0 -8
  771. package/dist/api/types/ScreenshotRequestConfig.js +0 -5
  772. package/dist/api/types/ScrollByConfig.d.ts +0 -9
  773. package/dist/api/types/ScrollByConfig.js +0 -5
  774. package/dist/api/types/ScrollToEdgeConfig.d.ts +0 -9
  775. package/dist/api/types/ScrollToEdgeConfig.js +0 -5
  776. package/dist/api/types/SessionConfigV1.d.ts +0 -18
  777. package/dist/api/types/SessionConfigV1.js +0 -5
  778. package/dist/api/types/SessionConfigV1Proxy.d.ts +0 -17
  779. package/dist/api/types/SessionConfigV1Proxy.js +0 -5
  780. package/dist/api/types/SessionEventMessage.d.ts +0 -17
  781. package/dist/api/types/SessionEventMessage.js +0 -5
  782. package/dist/api/types/SessionPageQueryHandlerRequestBody.d.ts +0 -21
  783. package/dist/api/types/SessionPageQueryHandlerRequestBody.js +0 -5
  784. package/dist/api/types/SessionResponse.d.ts +0 -10
  785. package/dist/api/types/SessionResponse.js +0 -5
  786. package/dist/api/types/SessionsResponse.d.ts +0 -10
  787. package/dist/api/types/SessionsResponse.js +0 -5
  788. package/dist/api/types/SessionsWithPagination.d.ts +0 -10
  789. package/dist/api/types/SessionsWithPagination.js +0 -5
  790. package/dist/api/types/StatusMessage.d.ts +0 -16
  791. package/dist/api/types/StatusMessage.js +0 -5
  792. package/dist/api/types/StatusMessageStatus.d.ts +0 -15
  793. package/dist/api/types/StatusMessageStatus.js +0 -14
  794. package/dist/api/types/SummaryConfig.d.ts +0 -9
  795. package/dist/api/types/SummaryConfig.js +0 -5
  796. package/dist/api/types/SummaryExperimentalConfig.d.ts +0 -7
  797. package/dist/api/types/SummaryExperimentalConfig.js +0 -5
  798. package/dist/api/types/VisualAnalysisConfig.d.ts +0 -18
  799. package/dist/api/types/VisualAnalysisConfig.js +0 -5
  800. package/dist/api/types/VisualAnalysisConfigPartitionDirection.d.ts +0 -12
  801. package/dist/api/types/VisualAnalysisConfigPartitionDirection.js +0 -11
  802. package/dist/api/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +0 -12
  803. package/dist/api/types/VisualAnalysisConfigResultSelectionStrategy.js +0 -11
  804. package/dist/api/types/VisualAnalysisConfigScope.d.ts +0 -13
  805. package/dist/api/types/VisualAnalysisConfigScope.js +0 -12
  806. package/dist/api/types/Window.d.ts +0 -11
  807. package/dist/api/types/Window.js +0 -5
  808. package/dist/api/types/WindowEventMessage.d.ts +0 -19
  809. package/dist/api/types/WindowEventMessage.js +0 -5
  810. package/dist/api/types/WindowId.d.ts +0 -9
  811. package/dist/api/types/WindowId.js +0 -5
  812. package/dist/api/types/WindowIdResponse.d.ts +0 -10
  813. package/dist/api/types/WindowIdResponse.js +0 -5
  814. package/dist/api/types/WindowResponse.d.ts +0 -10
  815. package/dist/api/types/WindowResponse.js +0 -5
  816. package/dist/api/types/index.d.ts +0 -81
  817. package/dist/api/types/index.js +0 -97
  818. package/dist/core/auth/BasicAuth.d.ts +0 -8
  819. package/dist/core/auth/BasicAuth.js +0 -26
  820. package/dist/core/auth/BearerToken.d.ts +0 -5
  821. package/dist/core/auth/BearerToken.js +0 -15
  822. package/dist/core/auth/index.d.ts +0 -2
  823. package/dist/core/auth/index.js +0 -7
  824. package/dist/core/fetcher/APIResponse.d.ts +0 -10
  825. package/dist/core/fetcher/APIResponse.js +0 -2
  826. package/dist/core/fetcher/Fetcher.d.ts +0 -39
  827. package/dist/core/fetcher/Fetcher.js +0 -100
  828. package/dist/core/fetcher/Supplier.d.ts +0 -4
  829. package/dist/core/fetcher/Supplier.js +0 -22
  830. package/dist/core/fetcher/createRequestUrl.d.ts +0 -1
  831. package/dist/core/fetcher/createRequestUrl.js +0 -12
  832. package/dist/core/fetcher/getFetchFn.d.ts +0 -4
  833. package/dist/core/fetcher/getFetchFn.js +0 -68
  834. package/dist/core/fetcher/getHeader.d.ts +0 -1
  835. package/dist/core/fetcher/getHeader.js +0 -11
  836. package/dist/core/fetcher/getRequestBody.d.ts +0 -7
  837. package/dist/core/fetcher/getRequestBody.js +0 -23
  838. package/dist/core/fetcher/getResponseBody.d.ts +0 -1
  839. package/dist/core/fetcher/getResponseBody.js +0 -54
  840. package/dist/core/fetcher/index.d.ts +0 -5
  841. package/dist/core/fetcher/index.js +0 -9
  842. package/dist/core/fetcher/makeRequest.d.ts +0 -1
  843. package/dist/core/fetcher/makeRequest.js +0 -42
  844. package/dist/core/fetcher/requestWithRetries.d.ts +0 -1
  845. package/dist/core/fetcher/requestWithRetries.js +0 -40
  846. package/dist/core/fetcher/signals.d.ts +0 -11
  847. package/dist/core/fetcher/signals.js +0 -36
  848. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
  849. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
  850. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
  851. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
  852. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
  853. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
  854. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
  855. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
  856. package/dist/core/index.d.ts +0 -5
  857. package/dist/core/index.js +0 -44
  858. package/dist/core/json.d.ts +0 -15
  859. package/dist/core/json.js +0 -24
  860. package/dist/core/runtime/index.d.ts +0 -1
  861. package/dist/core/runtime/index.js +0 -5
  862. package/dist/core/runtime/runtime.d.ts +0 -9
  863. package/dist/core/runtime/runtime.js +0 -103
  864. package/dist/core/schemas/Schema.d.ts +0 -87
  865. package/dist/core/schemas/Schema.js +0 -24
  866. package/dist/core/schemas/builders/bigint/bigint.d.ts +0 -2
  867. package/dist/core/schemas/builders/bigint/bigint.js +0 -53
  868. package/dist/core/schemas/builders/bigint/index.d.ts +0 -1
  869. package/dist/core/schemas/builders/bigint/index.js +0 -5
  870. package/dist/core/schemas/builders/date/date.d.ts +0 -2
  871. package/dist/core/schemas/builders/date/date.js +0 -62
  872. package/dist/core/schemas/builders/date/index.d.ts +0 -1
  873. package/dist/core/schemas/builders/date/index.js +0 -5
  874. package/dist/core/schemas/builders/enum/enum.d.ts +0 -2
  875. package/dist/core/schemas/builders/enum/enum.js +0 -38
  876. package/dist/core/schemas/builders/enum/index.d.ts +0 -1
  877. package/dist/core/schemas/builders/enum/index.js +0 -5
  878. package/dist/core/schemas/builders/index.d.ts +0 -14
  879. package/dist/core/schemas/builders/index.js +0 -30
  880. package/dist/core/schemas/builders/lazy/index.d.ts +0 -3
  881. package/dist/core/schemas/builders/lazy/index.js +0 -7
  882. package/dist/core/schemas/builders/lazy/lazy.d.ts +0 -5
  883. package/dist/core/schemas/builders/lazy/lazy.js +0 -24
  884. package/dist/core/schemas/builders/lazy/lazyObject.d.ts +0 -3
  885. package/dist/core/schemas/builders/lazy/lazyObject.js +0 -11
  886. package/dist/core/schemas/builders/list/index.d.ts +0 -1
  887. package/dist/core/schemas/builders/list/index.js +0 -5
  888. package/dist/core/schemas/builders/list/list.d.ts +0 -2
  889. package/dist/core/schemas/builders/list/list.js +0 -54
  890. package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +0 -2
  891. package/dist/core/schemas/builders/literals/booleanLiteral.js +0 -28
  892. package/dist/core/schemas/builders/literals/index.d.ts +0 -2
  893. package/dist/core/schemas/builders/literals/index.js +0 -7
  894. package/dist/core/schemas/builders/literals/stringLiteral.d.ts +0 -2
  895. package/dist/core/schemas/builders/literals/stringLiteral.js +0 -28
  896. package/dist/core/schemas/builders/object/index.d.ts +0 -6
  897. package/dist/core/schemas/builders/object/index.js +0 -11
  898. package/dist/core/schemas/builders/object/object.d.ts +0 -3
  899. package/dist/core/schemas/builders/object/object.js +0 -261
  900. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +0 -6
  901. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +0 -7
  902. package/dist/core/schemas/builders/object/property.d.ts +0 -8
  903. package/dist/core/schemas/builders/object/property.js +0 -15
  904. package/dist/core/schemas/builders/object/types.d.ts +0 -31
  905. package/dist/core/schemas/builders/object/types.js +0 -2
  906. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +0 -9
  907. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +0 -53
  908. package/dist/core/schemas/builders/object-like/index.d.ts +0 -2
  909. package/dist/core/schemas/builders/object-like/index.js +0 -6
  910. package/dist/core/schemas/builders/object-like/types.d.ts +0 -7
  911. package/dist/core/schemas/builders/object-like/types.js +0 -2
  912. package/dist/core/schemas/builders/primitives/any.d.ts +0 -1
  913. package/dist/core/schemas/builders/primitives/any.js +0 -6
  914. package/dist/core/schemas/builders/primitives/boolean.d.ts +0 -1
  915. package/dist/core/schemas/builders/primitives/boolean.js +0 -25
  916. package/dist/core/schemas/builders/primitives/index.d.ts +0 -5
  917. package/dist/core/schemas/builders/primitives/index.js +0 -13
  918. package/dist/core/schemas/builders/primitives/number.d.ts +0 -1
  919. package/dist/core/schemas/builders/primitives/number.js +0 -25
  920. package/dist/core/schemas/builders/primitives/string.d.ts +0 -1
  921. package/dist/core/schemas/builders/primitives/string.js +0 -25
  922. package/dist/core/schemas/builders/primitives/unknown.d.ts +0 -1
  923. package/dist/core/schemas/builders/primitives/unknown.js +0 -6
  924. package/dist/core/schemas/builders/record/index.d.ts +0 -2
  925. package/dist/core/schemas/builders/record/index.js +0 -5
  926. package/dist/core/schemas/builders/record/record.d.ts +0 -3
  927. package/dist/core/schemas/builders/record/record.js +0 -93
  928. package/dist/core/schemas/builders/record/types.d.ts +0 -4
  929. package/dist/core/schemas/builders/record/types.js +0 -2
  930. package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +0 -5
  931. package/dist/core/schemas/builders/schema-utils/JsonError.js +0 -12
  932. package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +0 -5
  933. package/dist/core/schemas/builders/schema-utils/ParseError.js +0 -12
  934. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +0 -21
  935. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +0 -145
  936. package/dist/core/schemas/builders/schema-utils/index.d.ts +0 -4
  937. package/dist/core/schemas/builders/schema-utils/index.js +0 -11
  938. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +0 -2
  939. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +0 -9
  940. package/dist/core/schemas/builders/set/index.d.ts +0 -1
  941. package/dist/core/schemas/builders/set/index.js +0 -5
  942. package/dist/core/schemas/builders/set/set.d.ts +0 -2
  943. package/dist/core/schemas/builders/set/set.js +0 -43
  944. package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +0 -2
  945. package/dist/core/schemas/builders/undiscriminated-union/index.js +0 -5
  946. package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +0 -4
  947. package/dist/core/schemas/builders/undiscriminated-union/types.js +0 -2
  948. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +0 -3
  949. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +0 -39
  950. package/dist/core/schemas/builders/union/discriminant.d.ts +0 -5
  951. package/dist/core/schemas/builders/union/discriminant.js +0 -9
  952. package/dist/core/schemas/builders/union/index.d.ts +0 -4
  953. package/dist/core/schemas/builders/union/index.js +0 -7
  954. package/dist/core/schemas/builders/union/types.d.ts +0 -13
  955. package/dist/core/schemas/builders/union/types.js +0 -2
  956. package/dist/core/schemas/builders/union/union.d.ts +0 -4
  957. package/dist/core/schemas/builders/union/union.js +0 -129
  958. package/dist/core/schemas/index.d.ts +0 -2
  959. package/dist/core/schemas/index.js +0 -17
  960. package/dist/core/schemas/utils/MaybePromise.d.ts +0 -1
  961. package/dist/core/schemas/utils/MaybePromise.js +0 -2
  962. package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +0 -7
  963. package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +0 -2
  964. package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +0 -2
  965. package/dist/core/schemas/utils/createIdentitySchemaCreator.js +0 -15
  966. package/dist/core/schemas/utils/entries.d.ts +0 -1
  967. package/dist/core/schemas/utils/entries.js +0 -6
  968. package/dist/core/schemas/utils/filterObject.d.ts +0 -1
  969. package/dist/core/schemas/utils/filterObject.js +0 -13
  970. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +0 -1
  971. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +0 -27
  972. package/dist/core/schemas/utils/isPlainObject.d.ts +0 -1
  973. package/dist/core/schemas/utils/isPlainObject.js +0 -17
  974. package/dist/core/schemas/utils/keys.d.ts +0 -1
  975. package/dist/core/schemas/utils/keys.js +0 -6
  976. package/dist/core/schemas/utils/maybeSkipValidation.d.ts +0 -2
  977. package/dist/core/schemas/utils/maybeSkipValidation.js +0 -27
  978. package/dist/core/schemas/utils/partition.d.ts +0 -1
  979. package/dist/core/schemas/utils/partition.js +0 -15
  980. package/dist/core/streaming-fetcher/Stream.d.ts +0 -47
  981. package/dist/core/streaming-fetcher/Stream.js +0 -169
  982. package/dist/core/streaming-fetcher/index.d.ts +0 -1
  983. package/dist/core/streaming-fetcher/index.js +0 -5
  984. package/dist/environments.d.ts +0 -7
  985. package/dist/environments.js +0 -9
  986. package/dist/errors/AirtopError.d.ts +0 -12
  987. package/dist/errors/AirtopError.js +0 -33
  988. package/dist/errors/AirtopTimeoutError.d.ts +0 -6
  989. package/dist/errors/AirtopTimeoutError.js +0 -13
  990. package/dist/errors/index.d.ts +0 -2
  991. package/dist/errors/index.js +0 -7
  992. package/dist/live-view/types.d.ts +0 -24
  993. package/dist/live-view/types.js +0 -16
  994. package/dist/serialization/index.d.ts +0 -2
  995. package/dist/serialization/index.js +0 -18
  996. package/dist/serialization/resources/automations/client/index.d.ts +0 -1
  997. package/dist/serialization/resources/automations/client/index.js +0 -17
  998. package/dist/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +0 -14
  999. package/dist/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +0 -45
  1000. package/dist/serialization/resources/automations/client/requests/index.d.ts +0 -1
  1001. package/dist/serialization/resources/automations/client/requests/index.js +0 -5
  1002. package/dist/serialization/resources/automations/index.d.ts +0 -1
  1003. package/dist/serialization/resources/automations/index.js +0 -17
  1004. package/dist/serialization/resources/files/client/index.d.ts +0 -1
  1005. package/dist/serialization/resources/files/client/index.js +0 -17
  1006. package/dist/serialization/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -17
  1007. package/dist/serialization/resources/files/client/requests/CreateFileRestInputV1.js +0 -48
  1008. package/dist/serialization/resources/files/client/requests/index.d.ts +0 -1
  1009. package/dist/serialization/resources/files/client/requests/index.js +0 -5
  1010. package/dist/serialization/resources/files/index.d.ts +0 -2
  1011. package/dist/serialization/resources/files/index.js +0 -18
  1012. package/dist/serialization/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -10
  1013. package/dist/serialization/resources/files/types/CreateFileRestInputV1FileType.js +0 -41
  1014. package/dist/serialization/resources/files/types/index.d.ts +0 -1
  1015. package/dist/serialization/resources/files/types/index.js +0 -17
  1016. package/dist/serialization/resources/index.d.ts +0 -11
  1017. package/dist/serialization/resources/index.js +0 -50
  1018. package/dist/serialization/resources/sessions/client/index.d.ts +0 -1
  1019. package/dist/serialization/resources/sessions/client/index.js +0 -17
  1020. package/dist/serialization/resources/sessions/client/requests/SessionRestInputV1.d.ts +0 -13
  1021. package/dist/serialization/resources/sessions/client/requests/SessionRestInputV1.js +0 -44
  1022. package/dist/serialization/resources/sessions/client/requests/index.d.ts +0 -1
  1023. package/dist/serialization/resources/sessions/client/requests/index.js +0 -5
  1024. package/dist/serialization/resources/sessions/index.d.ts +0 -2
  1025. package/dist/serialization/resources/sessions/index.js +0 -18
  1026. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +0 -26
  1027. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +0 -55
  1028. package/dist/serialization/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -15
  1029. package/dist/serialization/resources/sessions/types/SessionsEventsResponseError.js +0 -46
  1030. package/dist/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.d.ts +0 -15
  1031. package/dist/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.js +0 -46
  1032. package/dist/serialization/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -15
  1033. package/dist/serialization/resources/sessions/types/SessionsEventsResponseStatus.js +0 -46
  1034. package/dist/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.d.ts +0 -15
  1035. package/dist/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.js +0 -46
  1036. package/dist/serialization/resources/sessions/types/SessionsListRequestStatus.d.ts +0 -10
  1037. package/dist/serialization/resources/sessions/types/SessionsListRequestStatus.js +0 -41
  1038. package/dist/serialization/resources/sessions/types/index.d.ts +0 -6
  1039. package/dist/serialization/resources/sessions/types/index.js +0 -22
  1040. package/dist/serialization/resources/windows/client/index.d.ts +0 -1
  1041. package/dist/serialization/resources/windows/client/index.js +0 -17
  1042. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
  1043. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -51
  1044. package/dist/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +0 -18
  1045. package/dist/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.js +0 -49
  1046. package/dist/serialization/resources/windows/client/requests/AsyncCreateFormFillerRequest.d.ts +0 -18
  1047. package/dist/serialization/resources/windows/client/requests/AsyncCreateFormFillerRequest.js +0 -49
  1048. package/dist/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -18
  1049. package/dist/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -49
  1050. package/dist/serialization/resources/windows/client/requests/AsyncFillFormRequest.d.ts +0 -18
  1051. package/dist/serialization/resources/windows/client/requests/AsyncFillFormRequest.js +0 -49
  1052. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
  1053. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -50
  1054. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -19
  1055. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -50
  1056. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
  1057. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
  1058. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
  1059. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -50
  1060. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
  1061. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
  1062. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
  1063. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -49
  1064. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
  1065. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -50
  1066. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
  1067. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
  1068. package/dist/serialization/resources/windows/client/requests/CreateFormFillerRequest.d.ts +0 -18
  1069. package/dist/serialization/resources/windows/client/requests/CreateFormFillerRequest.js +0 -49
  1070. package/dist/serialization/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +0 -16
  1071. package/dist/serialization/resources/windows/client/requests/CreateWindowInputV1Body.js +0 -47
  1072. package/dist/serialization/resources/windows/client/requests/FillFormRequest.d.ts +0 -18
  1073. package/dist/serialization/resources/windows/client/requests/FillFormRequest.js +0 -49
  1074. package/dist/serialization/resources/windows/client/requests/ScrapeContentRequest.d.ts +0 -14
  1075. package/dist/serialization/resources/windows/client/requests/ScrapeContentRequest.js +0 -45
  1076. package/dist/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +0 -18
  1077. package/dist/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.js +0 -49
  1078. package/dist/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +0 -17
  1079. package/dist/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +0 -48
  1080. package/dist/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -17
  1081. package/dist/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -48
  1082. package/dist/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.d.ts +0 -17
  1083. package/dist/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.js +0 -48
  1084. package/dist/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +0 -16
  1085. package/dist/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +0 -47
  1086. package/dist/serialization/resources/windows/client/requests/SessionScrollHandlerRequestBody.d.ts +0 -22
  1087. package/dist/serialization/resources/windows/client/requests/SessionScrollHandlerRequestBody.js +0 -53
  1088. package/dist/serialization/resources/windows/client/requests/SessionSummaryHandlerRequestBody.d.ts +0 -17
  1089. package/dist/serialization/resources/windows/client/requests/SessionSummaryHandlerRequestBody.js +0 -48
  1090. package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +0 -22
  1091. package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +0 -53
  1092. package/dist/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +0 -15
  1093. package/dist/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.js +0 -46
  1094. package/dist/serialization/resources/windows/client/requests/index.d.ts +0 -26
  1095. package/dist/serialization/resources/windows/client/requests/index.js +0 -55
  1096. package/dist/serialization/resources/windows/index.d.ts +0 -2
  1097. package/dist/serialization/resources/windows/index.js +0 -18
  1098. package/dist/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +0 -10
  1099. package/dist/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +0 -41
  1100. package/dist/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +0 -10
  1101. package/dist/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +0 -41
  1102. package/dist/serialization/resources/windows/types/index.d.ts +0 -2
  1103. package/dist/serialization/resources/windows/types/index.js +0 -18
  1104. package/dist/serialization/types/AiPromptResponse.d.ts +0 -18
  1105. package/dist/serialization/types/AiPromptResponse.js +0 -49
  1106. package/dist/serialization/types/AiResponseEnvelope.d.ts +0 -12
  1107. package/dist/serialization/types/AiResponseEnvelope.js +0 -43
  1108. package/dist/serialization/types/AirtopProxyConfiguration.d.ts +0 -13
  1109. package/dist/serialization/types/AirtopProxyConfiguration.js +0 -44
  1110. package/dist/serialization/types/AsyncConfig.d.ts +0 -12
  1111. package/dist/serialization/types/AsyncConfig.js +0 -43
  1112. package/dist/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +0 -15
  1113. package/dist/serialization/types/AsyncSessionAiResponseEnvelope.js +0 -46
  1114. package/dist/serialization/types/AutomationOutput.d.ts +0 -16
  1115. package/dist/serialization/types/AutomationOutput.js +0 -47
  1116. package/dist/serialization/types/BrowserWaitNavigationConfig.d.ts +0 -14
  1117. package/dist/serialization/types/BrowserWaitNavigationConfig.js +0 -45
  1118. package/dist/serialization/types/BrowserWaitNavigationConfigWaitUntil.d.ts +0 -10
  1119. package/dist/serialization/types/BrowserWaitNavigationConfigWaitUntil.js +0 -41
  1120. package/dist/serialization/types/ClickConfig.d.ts +0 -19
  1121. package/dist/serialization/types/ClickConfig.js +0 -50
  1122. package/dist/serialization/types/ClickConfigClickType.d.ts +0 -10
  1123. package/dist/serialization/types/ClickConfigClickType.js +0 -41
  1124. package/dist/serialization/types/ClientProvidedResponseMetadata.d.ts +0 -12
  1125. package/dist/serialization/types/ClientProvidedResponseMetadata.js +0 -43
  1126. package/dist/serialization/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -10
  1127. package/dist/serialization/types/CreateAutomationRequestBodyConfiguration.js +0 -41
  1128. package/dist/serialization/types/CreateFileV1.d.ts +0 -21
  1129. package/dist/serialization/types/CreateFileV1.js +0 -52
  1130. package/dist/serialization/types/CreateFileV1FileType.d.ts +0 -10
  1131. package/dist/serialization/types/CreateFileV1FileType.js +0 -41
  1132. package/dist/serialization/types/DeleteAutomationOutputWrapperBody.d.ts +0 -10
  1133. package/dist/serialization/types/DeleteAutomationOutputWrapperBody.js +0 -41
  1134. package/dist/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -18
  1135. package/dist/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -49
  1136. package/dist/serialization/types/EnvelopeDefaultMeta.d.ts +0 -12
  1137. package/dist/serialization/types/EnvelopeDefaultMeta.js +0 -43
  1138. package/dist/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -18
  1139. package/dist/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -49
  1140. package/dist/serialization/types/ErrorBody.d.ts +0 -13
  1141. package/dist/serialization/types/ErrorBody.js +0 -44
  1142. package/dist/serialization/types/ErrorDetail.d.ts +0 -14
  1143. package/dist/serialization/types/ErrorDetail.js +0 -45
  1144. package/dist/serialization/types/ErrorMessage.d.ts +0 -14
  1145. package/dist/serialization/types/ErrorMessage.js +0 -45
  1146. package/dist/serialization/types/ErrorModel.d.ts +0 -18
  1147. package/dist/serialization/types/ErrorModel.js +0 -49
  1148. package/dist/serialization/types/ExternalFile.d.ts +0 -25
  1149. package/dist/serialization/types/ExternalFile.js +0 -56
  1150. package/dist/serialization/types/ExternalSessionAiResponseMetadata.d.ts +0 -20
  1151. package/dist/serialization/types/ExternalSessionAiResponseMetadata.js +0 -51
  1152. package/dist/serialization/types/ExternalSessionAiResponseMetadataStatus.d.ts +0 -10
  1153. package/dist/serialization/types/ExternalSessionAiResponseMetadataStatus.js +0 -41
  1154. package/dist/serialization/types/ExternalSessionAiResponseMetadataUsage.d.ts +0 -13
  1155. package/dist/serialization/types/ExternalSessionAiResponseMetadataUsage.js +0 -44
  1156. package/dist/serialization/types/ExternalSessionConfig.d.ts +0 -14
  1157. package/dist/serialization/types/ExternalSessionConfig.js +0 -45
  1158. package/dist/serialization/types/ExternalSessionWithConnectionInfo.d.ts +0 -22
  1159. package/dist/serialization/types/ExternalSessionWithConnectionInfo.js +0 -53
  1160. package/dist/serialization/types/FilesResponse.d.ts +0 -18
  1161. package/dist/serialization/types/FilesResponse.js +0 -49
  1162. package/dist/serialization/types/FilesWithPagination.d.ts +0 -15
  1163. package/dist/serialization/types/FilesWithPagination.js +0 -46
  1164. package/dist/serialization/types/GetFileV1.d.ts +0 -21
  1165. package/dist/serialization/types/GetFileV1.js +0 -52
  1166. package/dist/serialization/types/GetFileV1FileType.d.ts +0 -10
  1167. package/dist/serialization/types/GetFileV1FileType.js +0 -41
  1168. package/dist/serialization/types/IntervalMonitorConfig.d.ts +0 -13
  1169. package/dist/serialization/types/IntervalMonitorConfig.js +0 -44
  1170. package/dist/serialization/types/Issue.d.ts +0 -15
  1171. package/dist/serialization/types/Issue.js +0 -46
  1172. package/dist/serialization/types/ListAutomationsOutput.d.ts +0 -13
  1173. package/dist/serialization/types/ListAutomationsOutput.js +0 -44
  1174. package/dist/serialization/types/MicroInteractionConfig.d.ts +0 -15
  1175. package/dist/serialization/types/MicroInteractionConfig.js +0 -46
  1176. package/dist/serialization/types/MicroInteractionConfigWithExperimental.d.ts +0 -17
  1177. package/dist/serialization/types/MicroInteractionConfigWithExperimental.js +0 -48
  1178. package/dist/serialization/types/MicroInteractionExperimentalConfig.d.ts +0 -12
  1179. package/dist/serialization/types/MicroInteractionExperimentalConfig.js +0 -43
  1180. package/dist/serialization/types/MonitorConfig.d.ts +0 -15
  1181. package/dist/serialization/types/MonitorConfig.js +0 -46
  1182. package/dist/serialization/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -10
  1183. package/dist/serialization/types/MonitorConfigIncludeVisualAnalysis.js +0 -41
  1184. package/dist/serialization/types/OperationOutcome.d.ts +0 -12
  1185. package/dist/serialization/types/OperationOutcome.js +0 -43
  1186. package/dist/serialization/types/OperationOutcomeResponse.d.ts +0 -18
  1187. package/dist/serialization/types/OperationOutcomeResponse.js +0 -49
  1188. package/dist/serialization/types/PageQueryConfig.d.ts +0 -16
  1189. package/dist/serialization/types/PageQueryConfig.js +0 -47
  1190. package/dist/serialization/types/PageQueryExperimentalConfig.d.ts +0 -12
  1191. package/dist/serialization/types/PageQueryExperimentalConfig.js +0 -43
  1192. package/dist/serialization/types/PaginatedExtractionConfig.d.ts +0 -18
  1193. package/dist/serialization/types/PaginatedExtractionConfig.js +0 -49
  1194. package/dist/serialization/types/PaginatedExtractionExperimentalConfig.d.ts +0 -12
  1195. package/dist/serialization/types/PaginatedExtractionExperimentalConfig.js +0 -43
  1196. package/dist/serialization/types/Pagination.d.ts +0 -19
  1197. package/dist/serialization/types/Pagination.js +0 -50
  1198. package/dist/serialization/types/Proxy.d.ts +0 -12
  1199. package/dist/serialization/types/Proxy.js +0 -43
  1200. package/dist/serialization/types/ProxyConfigurationKind.d.ts +0 -14
  1201. package/dist/serialization/types/ProxyConfigurationKind.js +0 -45
  1202. package/dist/serialization/types/ProxyCredentials.d.ts +0 -14
  1203. package/dist/serialization/types/ProxyCredentials.js +0 -45
  1204. package/dist/serialization/types/RequestStatusResponse.d.ts +0 -13
  1205. package/dist/serialization/types/RequestStatusResponse.js +0 -44
  1206. package/dist/serialization/types/ScrapeConfig.d.ts +0 -12
  1207. package/dist/serialization/types/ScrapeConfig.js +0 -43
  1208. package/dist/serialization/types/ScrapeResponse.d.ts +0 -18
  1209. package/dist/serialization/types/ScrapeResponse.js +0 -49
  1210. package/dist/serialization/types/ScrapeResponseContent.d.ts +0 -13
  1211. package/dist/serialization/types/ScrapeResponseContent.js +0 -44
  1212. package/dist/serialization/types/ScrapeResponseEnvelope.d.ts +0 -13
  1213. package/dist/serialization/types/ScrapeResponseEnvelope.js +0 -44
  1214. package/dist/serialization/types/ScrapeResponseOutput.d.ts +0 -15
  1215. package/dist/serialization/types/ScrapeResponseOutput.js +0 -46
  1216. package/dist/serialization/types/ScreenshotConfig.d.ts +0 -15
  1217. package/dist/serialization/types/ScreenshotConfig.js +0 -46
  1218. package/dist/serialization/types/ScreenshotMetadata.d.ts +0 -12
  1219. package/dist/serialization/types/ScreenshotMetadata.js +0 -43
  1220. package/dist/serialization/types/ScreenshotRequestConfig.d.ts +0 -13
  1221. package/dist/serialization/types/ScreenshotRequestConfig.js +0 -44
  1222. package/dist/serialization/types/ScrollByConfig.d.ts +0 -13
  1223. package/dist/serialization/types/ScrollByConfig.js +0 -44
  1224. package/dist/serialization/types/ScrollToEdgeConfig.d.ts +0 -13
  1225. package/dist/serialization/types/ScrollToEdgeConfig.js +0 -44
  1226. package/dist/serialization/types/SessionConfigV1.d.ts +0 -18
  1227. package/dist/serialization/types/SessionConfigV1.js +0 -49
  1228. package/dist/serialization/types/SessionConfigV1Proxy.d.ts +0 -12
  1229. package/dist/serialization/types/SessionConfigV1Proxy.js +0 -47
  1230. package/dist/serialization/types/SessionEventMessage.d.ts +0 -18
  1231. package/dist/serialization/types/SessionEventMessage.js +0 -49
  1232. package/dist/serialization/types/SessionPageQueryHandlerRequestBody.d.ts +0 -18
  1233. package/dist/serialization/types/SessionPageQueryHandlerRequestBody.js +0 -49
  1234. package/dist/serialization/types/SessionResponse.d.ts +0 -18
  1235. package/dist/serialization/types/SessionResponse.js +0 -49
  1236. package/dist/serialization/types/SessionsResponse.d.ts +0 -18
  1237. package/dist/serialization/types/SessionsResponse.js +0 -49
  1238. package/dist/serialization/types/SessionsWithPagination.d.ts +0 -15
  1239. package/dist/serialization/types/SessionsWithPagination.js +0 -46
  1240. package/dist/serialization/types/StatusMessage.d.ts +0 -17
  1241. package/dist/serialization/types/StatusMessage.js +0 -48
  1242. package/dist/serialization/types/StatusMessageStatus.d.ts +0 -10
  1243. package/dist/serialization/types/StatusMessageStatus.js +0 -41
  1244. package/dist/serialization/types/SummaryConfig.d.ts +0 -14
  1245. package/dist/serialization/types/SummaryConfig.js +0 -45
  1246. package/dist/serialization/types/SummaryExperimentalConfig.d.ts +0 -12
  1247. package/dist/serialization/types/SummaryExperimentalConfig.js +0 -43
  1248. package/dist/serialization/types/VisualAnalysisConfig.d.ts +0 -20
  1249. package/dist/serialization/types/VisualAnalysisConfig.js +0 -51
  1250. package/dist/serialization/types/VisualAnalysisConfigPartitionDirection.d.ts +0 -10
  1251. package/dist/serialization/types/VisualAnalysisConfigPartitionDirection.js +0 -41
  1252. package/dist/serialization/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +0 -10
  1253. package/dist/serialization/types/VisualAnalysisConfigResultSelectionStrategy.js +0 -41
  1254. package/dist/serialization/types/VisualAnalysisConfigScope.d.ts +0 -10
  1255. package/dist/serialization/types/VisualAnalysisConfigScope.js +0 -41
  1256. package/dist/serialization/types/Window.d.ts +0 -14
  1257. package/dist/serialization/types/Window.js +0 -45
  1258. package/dist/serialization/types/WindowEventMessage.d.ts +0 -19
  1259. package/dist/serialization/types/WindowEventMessage.js +0 -50
  1260. package/dist/serialization/types/WindowId.d.ts +0 -13
  1261. package/dist/serialization/types/WindowId.js +0 -44
  1262. package/dist/serialization/types/WindowIdResponse.d.ts +0 -18
  1263. package/dist/serialization/types/WindowIdResponse.js +0 -49
  1264. package/dist/serialization/types/WindowResponse.d.ts +0 -18
  1265. package/dist/serialization/types/WindowResponse.js +0 -49
  1266. package/dist/serialization/types/index.d.ts +0 -81
  1267. package/dist/serialization/types/index.js +0 -97
  1268. package/dist/utils/batch-operate/SessionQueue.d.ts +0 -45
  1269. package/dist/utils/batch-operate/SessionQueue.js +0 -222
  1270. package/dist/utils/batch-operate/WindowQueue.d.ts +0 -24
  1271. package/dist/utils/batch-operate/WindowQueue.js +0 -213
  1272. package/dist/utils/batch-operate/batch-util.d.ts +0 -3
  1273. package/dist/utils/batch-operate/batch-util.js +0 -49
  1274. package/dist/utils/batch-operate/helpers.d.ts +0 -2
  1275. package/dist/utils/batch-operate/helpers.js +0 -19
  1276. package/dist/utils/batch-operate/types.d.ts +0 -29
  1277. package/dist/utils/batch-operate/types.js +0 -2
  1278. package/dist/utils/index.d.ts +0 -3
  1279. package/dist/utils/index.js +0 -19
  1280. package/dist/utils/process-screenshots.d.ts +0 -9
  1281. package/dist/utils/process-screenshots.js +0 -58
  1282. package/dist/version.d.ts +0 -1
  1283. package/dist/version.js +0 -4
  1284. package/dist/wrapper/AirtopClient.d.ts +0 -32
  1285. package/dist/wrapper/AirtopClient.js +0 -109
  1286. package/dist/wrapper/AirtopFiles.d.ts +0 -38
  1287. package/dist/wrapper/AirtopFiles.js +0 -151
  1288. package/dist/wrapper/AirtopRequests.d.ts +0 -18
  1289. package/dist/wrapper/AirtopRequests.js +0 -48
  1290. package/dist/wrapper/AirtopSessions.d.ts +0 -24
  1291. package/dist/wrapper/AirtopSessions.js +0 -96
  1292. package/dist/wrapper/AirtopWindows.d.ts +0 -154
  1293. package/dist/wrapper/AirtopWindows.js +0 -293
  1294. package/environments.d.ts +0 -7
  1295. package/environments.js +0 -9
  1296. package/errors/AirtopError.d.ts +0 -12
  1297. package/errors/AirtopError.js +0 -33
  1298. package/errors/AirtopTimeoutError.d.ts +0 -6
  1299. package/errors/AirtopTimeoutError.js +0 -13
  1300. package/errors/index.d.ts +0 -2
  1301. package/errors/index.js +0 -7
  1302. package/index.d.ts +0 -7
  1303. package/index.js +0 -51
  1304. package/jest.config.mjs +0 -8
  1305. package/lefthook.yml +0 -23
  1306. package/live-view/types.d.ts +0 -24
  1307. package/live-view/types.js +0 -16
  1308. package/reference.md +0 -3284
  1309. package/scripts/rename-to-esm-files.js +0 -115
  1310. package/serialization/index.d.ts +0 -2
  1311. package/serialization/index.js +0 -18
  1312. package/serialization/resources/automations/client/index.d.ts +0 -1
  1313. package/serialization/resources/automations/client/index.js +0 -17
  1314. package/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +0 -14
  1315. package/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +0 -45
  1316. package/serialization/resources/automations/client/requests/index.d.ts +0 -1
  1317. package/serialization/resources/automations/client/requests/index.js +0 -5
  1318. package/serialization/resources/automations/index.d.ts +0 -1
  1319. package/serialization/resources/automations/index.js +0 -17
  1320. package/serialization/resources/files/client/index.d.ts +0 -1
  1321. package/serialization/resources/files/client/index.js +0 -17
  1322. package/serialization/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -17
  1323. package/serialization/resources/files/client/requests/CreateFileRestInputV1.js +0 -48
  1324. package/serialization/resources/files/client/requests/index.d.ts +0 -1
  1325. package/serialization/resources/files/client/requests/index.js +0 -5
  1326. package/serialization/resources/files/index.d.ts +0 -2
  1327. package/serialization/resources/files/index.js +0 -18
  1328. package/serialization/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -10
  1329. package/serialization/resources/files/types/CreateFileRestInputV1FileType.js +0 -41
  1330. package/serialization/resources/files/types/index.d.ts +0 -1
  1331. package/serialization/resources/files/types/index.js +0 -17
  1332. package/serialization/resources/index.d.ts +0 -11
  1333. package/serialization/resources/index.js +0 -50
  1334. package/serialization/resources/sessions/client/index.d.ts +0 -1
  1335. package/serialization/resources/sessions/client/index.js +0 -17
  1336. package/serialization/resources/sessions/client/requests/SessionRestInputV1.d.ts +0 -13
  1337. package/serialization/resources/sessions/client/requests/SessionRestInputV1.js +0 -44
  1338. package/serialization/resources/sessions/client/requests/index.d.ts +0 -1
  1339. package/serialization/resources/sessions/client/requests/index.js +0 -5
  1340. package/serialization/resources/sessions/index.d.ts +0 -2
  1341. package/serialization/resources/sessions/index.js +0 -18
  1342. package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +0 -26
  1343. package/serialization/resources/sessions/types/SessionsEventsResponse.js +0 -55
  1344. package/serialization/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -15
  1345. package/serialization/resources/sessions/types/SessionsEventsResponseError.js +0 -46
  1346. package/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.d.ts +0 -15
  1347. package/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.js +0 -46
  1348. package/serialization/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -15
  1349. package/serialization/resources/sessions/types/SessionsEventsResponseStatus.js +0 -46
  1350. package/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.d.ts +0 -15
  1351. package/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.js +0 -46
  1352. package/serialization/resources/sessions/types/SessionsListRequestStatus.d.ts +0 -10
  1353. package/serialization/resources/sessions/types/SessionsListRequestStatus.js +0 -41
  1354. package/serialization/resources/sessions/types/index.d.ts +0 -6
  1355. package/serialization/resources/sessions/types/index.js +0 -22
  1356. package/serialization/resources/windows/client/index.d.ts +0 -1
  1357. package/serialization/resources/windows/client/index.js +0 -17
  1358. package/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
  1359. package/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -51
  1360. package/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +0 -18
  1361. package/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.js +0 -49
  1362. package/serialization/resources/windows/client/requests/AsyncCreateFormFillerRequest.d.ts +0 -18
  1363. package/serialization/resources/windows/client/requests/AsyncCreateFormFillerRequest.js +0 -49
  1364. package/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -18
  1365. package/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -49
  1366. package/serialization/resources/windows/client/requests/AsyncFillFormRequest.d.ts +0 -18
  1367. package/serialization/resources/windows/client/requests/AsyncFillFormRequest.js +0 -49
  1368. package/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
  1369. package/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -50
  1370. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -19
  1371. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -50
  1372. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
  1373. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
  1374. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
  1375. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -50
  1376. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
  1377. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
  1378. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
  1379. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -49
  1380. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
  1381. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -50
  1382. package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
  1383. package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
  1384. package/serialization/resources/windows/client/requests/CreateFormFillerRequest.d.ts +0 -18
  1385. package/serialization/resources/windows/client/requests/CreateFormFillerRequest.js +0 -49
  1386. package/serialization/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +0 -16
  1387. package/serialization/resources/windows/client/requests/CreateWindowInputV1Body.js +0 -47
  1388. package/serialization/resources/windows/client/requests/FillFormRequest.d.ts +0 -18
  1389. package/serialization/resources/windows/client/requests/FillFormRequest.js +0 -49
  1390. package/serialization/resources/windows/client/requests/ScrapeContentRequest.d.ts +0 -14
  1391. package/serialization/resources/windows/client/requests/ScrapeContentRequest.js +0 -45
  1392. package/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +0 -18
  1393. package/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.js +0 -49
  1394. package/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +0 -17
  1395. package/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +0 -48
  1396. package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -17
  1397. package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -48
  1398. package/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.d.ts +0 -17
  1399. package/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.js +0 -48
  1400. package/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +0 -16
  1401. package/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +0 -47
  1402. package/serialization/resources/windows/client/requests/SessionScrollHandlerRequestBody.d.ts +0 -22
  1403. package/serialization/resources/windows/client/requests/SessionScrollHandlerRequestBody.js +0 -53
  1404. package/serialization/resources/windows/client/requests/SessionSummaryHandlerRequestBody.d.ts +0 -17
  1405. package/serialization/resources/windows/client/requests/SessionSummaryHandlerRequestBody.js +0 -48
  1406. package/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +0 -22
  1407. package/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +0 -53
  1408. package/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +0 -15
  1409. package/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.js +0 -46
  1410. package/serialization/resources/windows/client/requests/index.d.ts +0 -26
  1411. package/serialization/resources/windows/client/requests/index.js +0 -55
  1412. package/serialization/resources/windows/index.d.ts +0 -2
  1413. package/serialization/resources/windows/index.js +0 -18
  1414. package/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +0 -10
  1415. package/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +0 -41
  1416. package/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +0 -10
  1417. package/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +0 -41
  1418. package/serialization/resources/windows/types/index.d.ts +0 -2
  1419. package/serialization/resources/windows/types/index.js +0 -18
  1420. package/serialization/types/AiPromptResponse.d.ts +0 -18
  1421. package/serialization/types/AiPromptResponse.js +0 -49
  1422. package/serialization/types/AiResponseEnvelope.d.ts +0 -12
  1423. package/serialization/types/AiResponseEnvelope.js +0 -43
  1424. package/serialization/types/AirtopProxyConfiguration.d.ts +0 -13
  1425. package/serialization/types/AirtopProxyConfiguration.js +0 -44
  1426. package/serialization/types/AsyncConfig.d.ts +0 -12
  1427. package/serialization/types/AsyncConfig.js +0 -43
  1428. package/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +0 -15
  1429. package/serialization/types/AsyncSessionAiResponseEnvelope.js +0 -46
  1430. package/serialization/types/AutomationOutput.d.ts +0 -16
  1431. package/serialization/types/AutomationOutput.js +0 -47
  1432. package/serialization/types/BrowserWaitNavigationConfig.d.ts +0 -14
  1433. package/serialization/types/BrowserWaitNavigationConfig.js +0 -45
  1434. package/serialization/types/BrowserWaitNavigationConfigWaitUntil.d.ts +0 -10
  1435. package/serialization/types/BrowserWaitNavigationConfigWaitUntil.js +0 -41
  1436. package/serialization/types/ClickConfig.d.ts +0 -19
  1437. package/serialization/types/ClickConfig.js +0 -50
  1438. package/serialization/types/ClickConfigClickType.d.ts +0 -10
  1439. package/serialization/types/ClickConfigClickType.js +0 -41
  1440. package/serialization/types/ClientProvidedResponseMetadata.d.ts +0 -12
  1441. package/serialization/types/ClientProvidedResponseMetadata.js +0 -43
  1442. package/serialization/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -10
  1443. package/serialization/types/CreateAutomationRequestBodyConfiguration.js +0 -41
  1444. package/serialization/types/CreateFileV1.d.ts +0 -21
  1445. package/serialization/types/CreateFileV1.js +0 -52
  1446. package/serialization/types/CreateFileV1FileType.d.ts +0 -10
  1447. package/serialization/types/CreateFileV1FileType.js +0 -41
  1448. package/serialization/types/DeleteAutomationOutputWrapperBody.d.ts +0 -10
  1449. package/serialization/types/DeleteAutomationOutputWrapperBody.js +0 -41
  1450. package/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -18
  1451. package/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -49
  1452. package/serialization/types/EnvelopeDefaultMeta.d.ts +0 -12
  1453. package/serialization/types/EnvelopeDefaultMeta.js +0 -43
  1454. package/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -18
  1455. package/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -49
  1456. package/serialization/types/ErrorBody.d.ts +0 -13
  1457. package/serialization/types/ErrorBody.js +0 -44
  1458. package/serialization/types/ErrorDetail.d.ts +0 -14
  1459. package/serialization/types/ErrorDetail.js +0 -45
  1460. package/serialization/types/ErrorMessage.d.ts +0 -14
  1461. package/serialization/types/ErrorMessage.js +0 -45
  1462. package/serialization/types/ErrorModel.d.ts +0 -18
  1463. package/serialization/types/ErrorModel.js +0 -49
  1464. package/serialization/types/ExternalFile.d.ts +0 -25
  1465. package/serialization/types/ExternalFile.js +0 -56
  1466. package/serialization/types/ExternalSessionAiResponseMetadata.d.ts +0 -20
  1467. package/serialization/types/ExternalSessionAiResponseMetadata.js +0 -51
  1468. package/serialization/types/ExternalSessionAiResponseMetadataStatus.d.ts +0 -10
  1469. package/serialization/types/ExternalSessionAiResponseMetadataStatus.js +0 -41
  1470. package/serialization/types/ExternalSessionAiResponseMetadataUsage.d.ts +0 -13
  1471. package/serialization/types/ExternalSessionAiResponseMetadataUsage.js +0 -44
  1472. package/serialization/types/ExternalSessionConfig.d.ts +0 -14
  1473. package/serialization/types/ExternalSessionConfig.js +0 -45
  1474. package/serialization/types/ExternalSessionWithConnectionInfo.d.ts +0 -22
  1475. package/serialization/types/ExternalSessionWithConnectionInfo.js +0 -53
  1476. package/serialization/types/FilesResponse.d.ts +0 -18
  1477. package/serialization/types/FilesResponse.js +0 -49
  1478. package/serialization/types/FilesWithPagination.d.ts +0 -15
  1479. package/serialization/types/FilesWithPagination.js +0 -46
  1480. package/serialization/types/GetFileV1.d.ts +0 -21
  1481. package/serialization/types/GetFileV1.js +0 -52
  1482. package/serialization/types/GetFileV1FileType.d.ts +0 -10
  1483. package/serialization/types/GetFileV1FileType.js +0 -41
  1484. package/serialization/types/IntervalMonitorConfig.d.ts +0 -13
  1485. package/serialization/types/IntervalMonitorConfig.js +0 -44
  1486. package/serialization/types/Issue.d.ts +0 -15
  1487. package/serialization/types/Issue.js +0 -46
  1488. package/serialization/types/ListAutomationsOutput.d.ts +0 -13
  1489. package/serialization/types/ListAutomationsOutput.js +0 -44
  1490. package/serialization/types/MicroInteractionConfig.d.ts +0 -15
  1491. package/serialization/types/MicroInteractionConfig.js +0 -46
  1492. package/serialization/types/MicroInteractionConfigWithExperimental.d.ts +0 -17
  1493. package/serialization/types/MicroInteractionConfigWithExperimental.js +0 -48
  1494. package/serialization/types/MicroInteractionExperimentalConfig.d.ts +0 -12
  1495. package/serialization/types/MicroInteractionExperimentalConfig.js +0 -43
  1496. package/serialization/types/MonitorConfig.d.ts +0 -15
  1497. package/serialization/types/MonitorConfig.js +0 -46
  1498. package/serialization/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -10
  1499. package/serialization/types/MonitorConfigIncludeVisualAnalysis.js +0 -41
  1500. package/serialization/types/OperationOutcome.d.ts +0 -12
  1501. package/serialization/types/OperationOutcome.js +0 -43
  1502. package/serialization/types/OperationOutcomeResponse.d.ts +0 -18
  1503. package/serialization/types/OperationOutcomeResponse.js +0 -49
  1504. package/serialization/types/PageQueryConfig.d.ts +0 -16
  1505. package/serialization/types/PageQueryConfig.js +0 -47
  1506. package/serialization/types/PageQueryExperimentalConfig.d.ts +0 -12
  1507. package/serialization/types/PageQueryExperimentalConfig.js +0 -43
  1508. package/serialization/types/PaginatedExtractionConfig.d.ts +0 -18
  1509. package/serialization/types/PaginatedExtractionConfig.js +0 -49
  1510. package/serialization/types/PaginatedExtractionExperimentalConfig.d.ts +0 -12
  1511. package/serialization/types/PaginatedExtractionExperimentalConfig.js +0 -43
  1512. package/serialization/types/Pagination.d.ts +0 -19
  1513. package/serialization/types/Pagination.js +0 -50
  1514. package/serialization/types/Proxy.d.ts +0 -12
  1515. package/serialization/types/Proxy.js +0 -43
  1516. package/serialization/types/ProxyConfigurationKind.d.ts +0 -14
  1517. package/serialization/types/ProxyConfigurationKind.js +0 -45
  1518. package/serialization/types/ProxyCredentials.d.ts +0 -14
  1519. package/serialization/types/ProxyCredentials.js +0 -45
  1520. package/serialization/types/RequestStatusResponse.d.ts +0 -13
  1521. package/serialization/types/RequestStatusResponse.js +0 -44
  1522. package/serialization/types/ScrapeConfig.d.ts +0 -12
  1523. package/serialization/types/ScrapeConfig.js +0 -43
  1524. package/serialization/types/ScrapeResponse.d.ts +0 -18
  1525. package/serialization/types/ScrapeResponse.js +0 -49
  1526. package/serialization/types/ScrapeResponseContent.d.ts +0 -13
  1527. package/serialization/types/ScrapeResponseContent.js +0 -44
  1528. package/serialization/types/ScrapeResponseEnvelope.d.ts +0 -13
  1529. package/serialization/types/ScrapeResponseEnvelope.js +0 -44
  1530. package/serialization/types/ScrapeResponseOutput.d.ts +0 -15
  1531. package/serialization/types/ScrapeResponseOutput.js +0 -46
  1532. package/serialization/types/ScreenshotConfig.d.ts +0 -15
  1533. package/serialization/types/ScreenshotConfig.js +0 -46
  1534. package/serialization/types/ScreenshotMetadata.d.ts +0 -12
  1535. package/serialization/types/ScreenshotMetadata.js +0 -43
  1536. package/serialization/types/ScreenshotRequestConfig.d.ts +0 -13
  1537. package/serialization/types/ScreenshotRequestConfig.js +0 -44
  1538. package/serialization/types/ScrollByConfig.d.ts +0 -13
  1539. package/serialization/types/ScrollByConfig.js +0 -44
  1540. package/serialization/types/ScrollToEdgeConfig.d.ts +0 -13
  1541. package/serialization/types/ScrollToEdgeConfig.js +0 -44
  1542. package/serialization/types/SessionConfigV1.d.ts +0 -18
  1543. package/serialization/types/SessionConfigV1.js +0 -49
  1544. package/serialization/types/SessionConfigV1Proxy.d.ts +0 -12
  1545. package/serialization/types/SessionConfigV1Proxy.js +0 -47
  1546. package/serialization/types/SessionEventMessage.d.ts +0 -18
  1547. package/serialization/types/SessionEventMessage.js +0 -49
  1548. package/serialization/types/SessionPageQueryHandlerRequestBody.d.ts +0 -18
  1549. package/serialization/types/SessionPageQueryHandlerRequestBody.js +0 -49
  1550. package/serialization/types/SessionResponse.d.ts +0 -18
  1551. package/serialization/types/SessionResponse.js +0 -49
  1552. package/serialization/types/SessionsResponse.d.ts +0 -18
  1553. package/serialization/types/SessionsResponse.js +0 -49
  1554. package/serialization/types/SessionsWithPagination.d.ts +0 -15
  1555. package/serialization/types/SessionsWithPagination.js +0 -46
  1556. package/serialization/types/StatusMessage.d.ts +0 -17
  1557. package/serialization/types/StatusMessage.js +0 -48
  1558. package/serialization/types/StatusMessageStatus.d.ts +0 -10
  1559. package/serialization/types/StatusMessageStatus.js +0 -41
  1560. package/serialization/types/SummaryConfig.d.ts +0 -14
  1561. package/serialization/types/SummaryConfig.js +0 -45
  1562. package/serialization/types/SummaryExperimentalConfig.d.ts +0 -12
  1563. package/serialization/types/SummaryExperimentalConfig.js +0 -43
  1564. package/serialization/types/VisualAnalysisConfig.d.ts +0 -20
  1565. package/serialization/types/VisualAnalysisConfig.js +0 -51
  1566. package/serialization/types/VisualAnalysisConfigPartitionDirection.d.ts +0 -10
  1567. package/serialization/types/VisualAnalysisConfigPartitionDirection.js +0 -41
  1568. package/serialization/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +0 -10
  1569. package/serialization/types/VisualAnalysisConfigResultSelectionStrategy.js +0 -41
  1570. package/serialization/types/VisualAnalysisConfigScope.d.ts +0 -10
  1571. package/serialization/types/VisualAnalysisConfigScope.js +0 -41
  1572. package/serialization/types/Window.d.ts +0 -14
  1573. package/serialization/types/Window.js +0 -45
  1574. package/serialization/types/WindowEventMessage.d.ts +0 -19
  1575. package/serialization/types/WindowEventMessage.js +0 -50
  1576. package/serialization/types/WindowId.d.ts +0 -13
  1577. package/serialization/types/WindowId.js +0 -44
  1578. package/serialization/types/WindowIdResponse.d.ts +0 -18
  1579. package/serialization/types/WindowIdResponse.js +0 -49
  1580. package/serialization/types/WindowResponse.d.ts +0 -18
  1581. package/serialization/types/WindowResponse.js +0 -49
  1582. package/serialization/types/index.d.ts +0 -81
  1583. package/serialization/types/index.js +0 -97
  1584. package/utils/batch-operate/SessionQueue.d.ts +0 -45
  1585. package/utils/batch-operate/SessionQueue.js +0 -222
  1586. package/utils/batch-operate/WindowQueue.d.ts +0 -24
  1587. package/utils/batch-operate/WindowQueue.js +0 -213
  1588. package/utils/batch-operate/batch-util.d.ts +0 -3
  1589. package/utils/batch-operate/batch-util.js +0 -49
  1590. package/utils/batch-operate/helpers.d.ts +0 -2
  1591. package/utils/batch-operate/helpers.js +0 -19
  1592. package/utils/batch-operate/types.d.ts +0 -29
  1593. package/utils/batch-operate/types.js +0 -2
  1594. package/utils/index.d.ts +0 -3
  1595. package/utils/index.js +0 -19
  1596. package/utils/process-screenshots.d.ts +0 -9
  1597. package/utils/process-screenshots.js +0 -58
  1598. package/version.d.ts +0 -1
  1599. package/version.js +0 -4
  1600. package/wrapper/AirtopClient.d.ts +0 -32
  1601. package/wrapper/AirtopClient.js +0 -109
  1602. package/wrapper/AirtopFiles.d.ts +0 -38
  1603. package/wrapper/AirtopFiles.js +0 -151
  1604. package/wrapper/AirtopRequests.d.ts +0 -18
  1605. package/wrapper/AirtopRequests.js +0 -48
  1606. package/wrapper/AirtopSessions.d.ts +0 -24
  1607. package/wrapper/AirtopSessions.js +0 -96
  1608. package/wrapper/AirtopWindows.d.ts +0 -154
  1609. package/wrapper/AirtopWindows.js +0 -293
package/dist/index.cjs ADDED
@@ -0,0 +1,1195 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var __getOwnPropNames = Object.getOwnPropertyNames;
2
+ var __commonJS = (cb, mod) => function __require() {
3
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
4
+ };
5
+
6
+ // package.json
7
+ var require_package = __commonJS({
8
+ "package.json"(exports, module) {
9
+ module.exports = {
10
+ name: "@airtop/sdk",
11
+ description: "Airtop SDK for TypeScript",
12
+ version: "1.0.0-alpha2.0",
13
+ type: "module",
14
+ main: "./dist/index.cjs",
15
+ module: "./dist/index.js",
16
+ exports: {
17
+ import: {
18
+ types: "./dist/index.d.ts",
19
+ import: "./dist/index.js"
20
+ },
21
+ require: {
22
+ types: "./dist/index.d.cts",
23
+ require: "./dist/index.cjs"
24
+ }
25
+ },
26
+ types: "./dist/index.d.ts",
27
+ license: "MIT",
28
+ repository: "airtop-ai/airtop-sdk.git",
29
+ author: "Theo Gravity <theo@airtop.ai>",
30
+ keywords: [
31
+ "airtop",
32
+ "browser automation",
33
+ "ai",
34
+ "playwright",
35
+ "puppeteer",
36
+ "selenium",
37
+ "web scraping",
38
+ "agentic"
39
+ ],
40
+ scripts: {
41
+ "build:second-stage": "tsup src/index.ts",
42
+ "test:e2e": "vitest --run",
43
+ "build:dev": "node_modules/.bin/hash-runner",
44
+ clean: "rm -rf .turbo node_modules dist",
45
+ lint: "biome check --write --unsafe src && biome format src --write && biome lint src --fix",
46
+ "verify-types": "tsc --noEmit"
47
+ },
48
+ dependencies: {
49
+ "@airtop/json-schema-adapter": "workspace:*",
50
+ "@airtop/core": "0.1.0-alpha.17",
51
+ "date-fns": "4.1.0",
52
+ loglayer: "6.3.3",
53
+ "serialize-error": "12.0.0",
54
+ uuid: "11.1.0"
55
+ },
56
+ devDependencies: {
57
+ "@biomejs/biome": "1.9.4",
58
+ "@dotenvx/dotenvx": "1.39.0",
59
+ "@internal/tsconfig": "workspace:*",
60
+ "deep-utility-types": "1.3.1",
61
+ "env-var": "7.5.0",
62
+ "hash-runner": "2.0.1",
63
+ nanoid: "5.1.5",
64
+ tsup: "8.4.0",
65
+ typescript: "5.8.2",
66
+ "utility-types": "3.11.0",
67
+ uuid: "11.1.0",
68
+ vitest: "3.1.1",
69
+ zod: "*"
70
+ },
71
+ bugs: "https://github.com/airtop-ai/airtop-sdk/issues",
72
+ engines: {
73
+ node: ">=18"
74
+ },
75
+ files: [
76
+ "dist"
77
+ ],
78
+ homepage: "https://airtop.ai",
79
+ optionalDependencies: {
80
+ "@airtop/json-schema-adapter-zod": "workspace:*"
81
+ },
82
+ packageManager: "pnpm@10.5.0"
83
+ };
84
+ }
85
+ });
86
+
87
+ // src/AirtopBase.ts
88
+ var _datefns = require('date-fns');
89
+ var AirtopBase = class {
90
+ /**
91
+ * Logger instance for the SDK
92
+ * @internal
93
+ **/
94
+
95
+ /**
96
+ * Airtop Core SDK client instance
97
+ * @internal
98
+ **/
99
+
100
+ /**
101
+ * JSON schema adapter for output conversion
102
+ * @internal
103
+ **/
104
+
105
+ /**
106
+ * Creates a new instance of AirtopBase
107
+ * @param config - Configuration options for the SDK
108
+ */
109
+ constructor(config) {
110
+ this.log = config.log.withPrefix("[Airtop]");
111
+ this.client = config.client;
112
+ this.outputJsonAdapter = config.outputSchemaAdapter;
113
+ }
114
+ /**
115
+ * Returns the API key used by the SDK
116
+ * @returns API key string
117
+ */
118
+ getApiKey() {
119
+ return this.client.apiKey;
120
+ }
121
+ /**
122
+ * Sets the base URL for the Airtop API.
123
+ * @param airtopUrl - The base URL for the Airtop API
124
+ */
125
+ setAirtopUrl(airtopUrl) {
126
+ this.client.baseURL = airtopUrl;
127
+ }
128
+ /**
129
+ * Sets the API key for authentication.
130
+ * @param apiKey - The API key to use for authentication
131
+ */
132
+ setApiKey(apiKey) {
133
+ this.client.apiKey = apiKey;
134
+ }
135
+ /**
136
+ * Returns the LogLayer logger instance used by the SDK
137
+ * @returns Logger instance
138
+ * @see {@link https://loglayer.dev | LogLayer Documentation}
139
+ */
140
+ getLogger() {
141
+ return this.log;
142
+ }
143
+ /**
144
+ * Converts input data to JSON schema format
145
+ * @param input - Data to be converted (schema input, string, or object)
146
+ * @returns JSON string representation of the input
147
+ * @internal
148
+ */
149
+ convertToJsonSchema(input) {
150
+ if (input && _optionalChain([this, 'access', _ => _.outputJsonAdapter, 'optionalAccess', _2 => _2.shouldRunConversion, 'call', _3 => _3(input)])) {
151
+ return JSON.stringify(this.outputJsonAdapter.toJsonSchema(input));
152
+ }
153
+ if (typeof input === "object") {
154
+ return JSON.stringify(input);
155
+ }
156
+ return input;
157
+ }
158
+ /**
159
+ * Returns the common configuration used by the SDK
160
+ * @returns Common configuration object
161
+ * @internal
162
+ */
163
+ getCommonConfig() {
164
+ return {
165
+ client: this.client,
166
+ log: this.log
167
+ };
168
+ }
169
+ /**
170
+ * Translates the request options to ones used by the Core SDK
171
+ * @param options - Request options to be resolved
172
+ * @returns Resolved request options with defaults
173
+ * @internal
174
+ */
175
+ resolveRequestOptions(options = {}) {
176
+ return {
177
+ timeout: _datefns.secondsToMilliseconds.call(void 0, options.timeoutInSeconds || 60),
178
+ maxRetries: options.maxRetries || 0,
179
+ signal: options.abortSignal
180
+ };
181
+ }
182
+ };
183
+
184
+ // src/AirtopClient.ts
185
+ var _core = require('@airtop/core');
186
+ var _minutesToMilliseconds = require('date-fns/minutesToMilliseconds');
187
+ var _loglayer = require('loglayer');
188
+ var _serializeerror = require('serialize-error');
189
+
190
+ // src/logger-utils.ts
191
+ var processLogMessage = (log, logLevel, ...args) => {
192
+ if (logLevel === "off") {
193
+ return;
194
+ }
195
+ const data = {};
196
+ let hasData = false;
197
+ let error = null;
198
+ const messages = [];
199
+ for (const arg of args) {
200
+ if (arg instanceof Error) {
201
+ error = arg;
202
+ continue;
203
+ }
204
+ if (typeof arg === "object" && arg !== null) {
205
+ Object.assign(data, arg);
206
+ hasData = true;
207
+ continue;
208
+ }
209
+ if (typeof arg === "string") {
210
+ messages.push(arg);
211
+ }
212
+ }
213
+ let finalMessage = messages.join(" ").trim();
214
+ if (finalMessage === "\u2A2F" && error) {
215
+ finalMessage = _optionalChain([error, 'optionalAccess', _4 => _4.message]) || "";
216
+ }
217
+ if (error && hasData && messages.length > 0) {
218
+ log.withError(error).withMetadata(data)[logLevel](finalMessage);
219
+ } else if (error && messages.length > 0) {
220
+ log.withError(error)[logLevel](finalMessage);
221
+ } else if (hasData && messages.length > 0) {
222
+ log.withMetadata(data)[logLevel](finalMessage);
223
+ } else if (error && hasData && messages.length === 0) {
224
+ log.withError(error).withMetadata(data)[logLevel]("");
225
+ } else if (error && messages.length === 0) {
226
+ log.errorOnly(error);
227
+ } else if (hasData && messages.length === 0) {
228
+ log.metadataOnly(data);
229
+ } else {
230
+ log[logLevel](finalMessage);
231
+ }
232
+ };
233
+
234
+ // src/session/AirtopSessionClient.ts
235
+
236
+
237
+ // src/window/AirtopWindowClient.ts
238
+
239
+
240
+ // src/window/AirtopWindowScreenshot.ts
241
+ function extractMimeAndBase64(dataUrl) {
242
+ const match = dataUrl.match(/^data:(image\/\w+);base64,(.+)$/);
243
+ if (match) {
244
+ return { mimeType: match[1], base64Data: match[2] };
245
+ }
246
+ return {
247
+ mimeType: "image/jpeg",
248
+ base64Data: dataUrl.replace(/^data:image\/jpeg;base64,/, "")
249
+ };
250
+ }
251
+ var AirtopWindowScreenshot = class {
252
+
253
+
254
+
255
+
256
+ /**
257
+ * Creates a new AirtopWindowScreenshot instance.
258
+ * @param screenshotData - Initial screenshot data and configuration
259
+ */
260
+ constructor(screenshotData) {
261
+ this.meta = screenshotData.meta;
262
+ this.data = screenshotData.data;
263
+ this.warnings = screenshotData.warnings;
264
+ this.errors = screenshotData.errors;
265
+ }
266
+ /**
267
+ * Processes the screenshots and returns them as JPG images.
268
+ */
269
+ screenshotsAsJpg() {
270
+ const screenshots = this.meta.screenshots;
271
+ if (!screenshots) {
272
+ return [];
273
+ }
274
+ return screenshots.map((screenshot, index) => {
275
+ if (!screenshot.dataUrl) {
276
+ return {
277
+ index,
278
+ error: new Error("Screenshot data URL not found"),
279
+ success: false
280
+ };
281
+ }
282
+ try {
283
+ const { mimeType, base64Data } = extractMimeAndBase64(screenshot.dataUrl);
284
+ const binaryData = Buffer.from(base64Data, "base64");
285
+ return {
286
+ index,
287
+ binaryData,
288
+ mimeType,
289
+ success: true
290
+ };
291
+ } catch (err) {
292
+ return {
293
+ index,
294
+ error: err instanceof Error ? err : new Error(String(err)),
295
+ success: false
296
+ };
297
+ }
298
+ });
299
+ }
300
+ /**
301
+ * Returns response data as a JSON object.
302
+ */
303
+ toJSON() {
304
+ return {
305
+ data: this.data,
306
+ meta: this.meta,
307
+ warnings: this.warnings,
308
+ errors: this.errors
309
+ };
310
+ }
311
+ };
312
+
313
+ // src/window/AirtopWindowClient.ts
314
+ var AirtopWindowClient = class extends AirtopBase {
315
+ /**
316
+ * The browser session id
317
+ * @internal
318
+ */
319
+
320
+ /**
321
+ * The window id
322
+ * @internal
323
+ */
324
+
325
+ /**
326
+ * Creates a new AirtopWindow instance.
327
+ * @param config - Common configuration options for the window
328
+ * @param sessionId - Browser session id
329
+ * @param windowId - Browser window id
330
+ */
331
+ constructor(config, sessionId, windowId) {
332
+ super(config);
333
+ this.log = this.log.child().withContext({
334
+ sessionId,
335
+ windowId
336
+ });
337
+ this.windowId = windowId;
338
+ this.sessionId = sessionId;
339
+ }
340
+ /**
341
+ * Gets the window ID.
342
+ */
343
+ getWindowId() {
344
+ return this.windowId;
345
+ }
346
+ /**
347
+ * Gets the browser session id associated with the window.
348
+ */
349
+ getSessionId() {
350
+ return this.sessionId;
351
+ }
352
+ /**
353
+ * Retrieves a window from a specific session.
354
+ * @param config - Configuration options for the window
355
+ * @param requestOptions - Request options
356
+ * @returns AirtopWindow<AirtopWindowGetInfoResponse> instance
357
+ */
358
+ async getWindowInfo(config, requestOptions = {}) {
359
+ const results = await this.client.windows.get(
360
+ this.windowId,
361
+ {
362
+ sessionId: this.sessionId,
363
+ ...config
364
+ },
365
+ this.resolveRequestOptions(requestOptions)
366
+ );
367
+ return new AirtopWindow(this.getCommonConfig(), this.sessionId, results);
368
+ }
369
+ /**
370
+ * Simulates a click on an element in the window.
371
+ * @param elementDescription - Description or selector of the element to click
372
+ * @param config - Additional configuration options for the click action
373
+ * @param requestOptions - Request options
374
+ * @returns Promise resolving to the click operation result
375
+ */
376
+ async click(elementDescription, config, requestOptions = {}) {
377
+ this.log.withMetadata({
378
+ elementDescription
379
+ }).info("Clicking on element");
380
+ return this.client.windows.click(
381
+ this.getWindowId(),
382
+ {
383
+ ...config,
384
+ elementDescription,
385
+ sessionId: this.sessionId
386
+ },
387
+ {
388
+ timeout: _datefns.secondsToMilliseconds.call(void 0, 600),
389
+ ...this.resolveRequestOptions(requestOptions)
390
+ }
391
+ );
392
+ }
393
+ /**
394
+ * Closes the window.
395
+ * @returns Promise resolving when the window is closed
396
+ */
397
+ async close() {
398
+ this.log.info("Closing window");
399
+ return this.client.windows.close(this.getWindowId(), {
400
+ sessionId: this.sessionId
401
+ });
402
+ }
403
+ /**
404
+ * Simulates hovering over an element in the window.
405
+ * @param elementDescription - Description or selector of the element to hover over
406
+ * @param config - Additional configuration options for the hover action
407
+ * @param requestOptions - Request options
408
+ * @returns Promise resolving to the hover operation result
409
+ */
410
+ async hover(elementDescription, config, requestOptions = {}) {
411
+ this.log.withMetadata(config).info("Hovering over window");
412
+ return this.client.windows.hover(
413
+ this.getWindowId(),
414
+ {
415
+ elementDescription,
416
+ sessionId: this.sessionId,
417
+ ...config || {}
418
+ },
419
+ {
420
+ timeout: _datefns.secondsToMilliseconds.call(void 0, 600),
421
+ ...this.resolveRequestOptions(requestOptions)
422
+ }
423
+ );
424
+ }
425
+ /**
426
+ * Loads a URL in the window.
427
+ * @param url - The URL to load
428
+ * @param config - Additional configuration options for loading the URL
429
+ * @param requestOptions - Request options
430
+ * @returns Promise resolving when the URL is loaded
431
+ */
432
+ async loadUrl(url, config, requestOptions = {}) {
433
+ this.log.withMetadata({
434
+ url
435
+ }).info("Loading a URL");
436
+ return this.client.windows.loadURL(
437
+ this.getWindowId(),
438
+ {
439
+ sessionId: this.sessionId,
440
+ url,
441
+ ...config
442
+ },
443
+ {
444
+ timeout: _datefns.secondsToMilliseconds.call(void 0, 600),
445
+ ...this.resolveRequestOptions(requestOptions)
446
+ }
447
+ );
448
+ }
449
+ /**
450
+ * Monitors the window for changes or events.
451
+ * @param condition - A natural language description of the condition to monitor for in the browser window
452
+ * @param config - Configuration options for monitoring
453
+ * @param requestOptions - Request options
454
+ * @returns Promise resolving to the monitoring operation result
455
+ */
456
+ async monitor(condition, config, requestOptions = {}) {
457
+ this.log.withMetadata().info("Monitoring window");
458
+ return this.client.windows.monitor(
459
+ this.getWindowId(),
460
+ {
461
+ condition,
462
+ sessionId: this.sessionId,
463
+ ...config || {}
464
+ },
465
+ {
466
+ timeout: _datefns.secondsToMilliseconds.call(void 0, 600),
467
+ ...this.resolveRequestOptions(requestOptions)
468
+ }
469
+ );
470
+ }
471
+ /**
472
+ * Performs a natural language query on the page content.
473
+ * @param prompt - The natural language query prompt
474
+ * @param config - Configuration options for the query
475
+ * @param requestOptions - Request options
476
+ * @returns Promise resolving to the query results
477
+ */
478
+ async pageQuery(prompt, config, requestOptions = {}) {
479
+ this.log.withMetadata({
480
+ prompt
481
+ }).info("Performing a page query");
482
+ const newConfig = config;
483
+ if (_optionalChain([config, 'optionalAccess', _5 => _5.configuration, 'access', _6 => _6.outputSchema])) {
484
+ newConfig.configuration.outputSchema = this.convertToJsonSchema(config.configuration.outputSchema);
485
+ }
486
+ return this.client.windows.pageQuery(
487
+ this.getWindowId(),
488
+ {
489
+ sessionId: this.sessionId,
490
+ prompt,
491
+ ...newConfig || {}
492
+ },
493
+ {
494
+ timeout: _datefns.secondsToMilliseconds.call(void 0, 600),
495
+ ...this.resolveRequestOptions(requestOptions)
496
+ }
497
+ );
498
+ }
499
+ /**
500
+ * Performs paginated data extraction from the window content.
501
+ * @param prompt - The extraction prompt
502
+ * @param config - Configuration options for the extraction
503
+ * @param requestOptions - Request options
504
+ * @returns Promise resolving to the extracted data
505
+ */
506
+ async paginatedExtraction(prompt, config, requestOptions = {}) {
507
+ this.log.withMetadata({
508
+ prompt
509
+ }).info("Performing a paginated extraction");
510
+ const newConfig = config;
511
+ if (_optionalChain([config, 'optionalAccess', _7 => _7.configuration, 'access', _8 => _8.outputSchema])) {
512
+ newConfig.configuration.outputSchema = this.convertToJsonSchema(config.configuration.outputSchema);
513
+ }
514
+ return this.client.windows.paginatedExtraction(
515
+ this.getWindowId(),
516
+ {
517
+ prompt,
518
+ sessionId: this.sessionId,
519
+ ...newConfig || {}
520
+ },
521
+ {
522
+ timeout: _datefns.secondsToMilliseconds.call(void 0, 600),
523
+ ...this.resolveRequestOptions(requestOptions)
524
+ }
525
+ );
526
+ }
527
+ /**
528
+ * Scrapes content from the window.
529
+ * @param config - Configuration options for scraping
530
+ * @param requestOptions - Request options
531
+ * @returns Promise resolving to the scraped content
532
+ */
533
+ async scrape(config, requestOptions = {}) {
534
+ this.log.info("Scraping window");
535
+ return this.client.windows.scrape(
536
+ this.getWindowId(),
537
+ {
538
+ sessionId: this.sessionId,
539
+ ...config || {}
540
+ },
541
+ {
542
+ timeout: _datefns.secondsToMilliseconds.call(void 0, 600),
543
+ ...this.resolveRequestOptions(requestOptions)
544
+ }
545
+ );
546
+ }
547
+ /**
548
+ * Takes a screenshot of the window.
549
+ * @param config - Configuration options for the screenshot
550
+ * @param requestOptions - Request options
551
+ * @returns Promise resolving to the screenshot data
552
+ */
553
+ async screenshot(config, requestOptions = {}) {
554
+ this.log.info("Screenshotting window");
555
+ const resp = await this.client.windows.screenshot(
556
+ this.getWindowId(),
557
+ {
558
+ sessionId: this.sessionId,
559
+ ...config || {}
560
+ },
561
+ {
562
+ timeout: _datefns.secondsToMilliseconds.call(void 0, 600),
563
+ ...this.resolveRequestOptions(requestOptions)
564
+ }
565
+ );
566
+ return new AirtopWindowScreenshot(resp);
567
+ }
568
+ /**
569
+ * Scrolls the window content.
570
+ * @param config - Configuration options for scrolling
571
+ * @param requestOptions - Request options
572
+ * @returns Promise resolving when the scroll operation is complete
573
+ */
574
+ async scroll(config, requestOptions = {}) {
575
+ this.log.info("Scrolling window");
576
+ return this.client.windows.scroll(
577
+ this.getWindowId(),
578
+ {
579
+ sessionId: this.sessionId,
580
+ ...config || {}
581
+ },
582
+ {
583
+ timeout: _datefns.secondsToMilliseconds.call(void 0, 600),
584
+ ...this.resolveRequestOptions(requestOptions)
585
+ }
586
+ );
587
+ }
588
+ /**
589
+ * Types text into the window.
590
+ * @param text - The text to type
591
+ * @param config - Configuration options for typing
592
+ * @param requestOptions - Request options
593
+ * @returns Promise resolving when the text has been typed
594
+ */
595
+ async type(text, config, requestOptions = {}) {
596
+ this.log.withMetadata({
597
+ text
598
+ }).info("Typing text");
599
+ return this.client.windows.type(
600
+ this.getWindowId(),
601
+ {
602
+ sessionId: this.sessionId,
603
+ text,
604
+ ...config || {}
605
+ },
606
+ {
607
+ timeout: _datefns.secondsToMilliseconds.call(void 0, 600),
608
+ ...this.resolveRequestOptions(requestOptions)
609
+ }
610
+ );
611
+ }
612
+ };
613
+
614
+ // src/window/AirtopWindow.ts
615
+ var AirtopWindow = class extends AirtopWindowClient {
616
+ /**
617
+ * The window data containing window-specific information.
618
+ */
619
+
620
+ /**
621
+ * The metadata associated with the window.
622
+ */
623
+
624
+ /**
625
+ * Warnings associated with the creation of the window.
626
+ * These are non-fatal issues that occurred during window creation.
627
+ */
628
+
629
+ /**
630
+ * Errors that occurred during window creation or operation.
631
+ * These are fatal issues that prevented window creation.
632
+ */
633
+
634
+ /**
635
+ * Creates a new AirtopWindow instance.
636
+ * @param config - Common configuration options for the window
637
+ * @param sessionId - Browser session id
638
+ * @param windowData - Initial window data and configuration
639
+ */
640
+ constructor(config, sessionId, windowData) {
641
+ super(config, sessionId, windowData.data.windowId);
642
+ this.meta = windowData.meta;
643
+ this.data = windowData.data;
644
+ this.warnings = windowData.warnings;
645
+ this.errors = windowData.errors;
646
+ }
647
+ /**
648
+ * Returns response data as a JSON object.
649
+ */
650
+ toJSON() {
651
+ return {
652
+ data: this.data,
653
+ meta: this.meta,
654
+ warnings: this.warnings,
655
+ errors: this.errors
656
+ };
657
+ }
658
+ };
659
+
660
+ // src/session/AirtopSessionClient.ts
661
+ var AirtopSessionClient = class extends AirtopBase {
662
+ /**
663
+ * The browser session id
664
+ * @internal
665
+ */
666
+
667
+ /**
668
+ * Creates a new AirtopSession instance.
669
+ * @param config - Common configuration options for the session
670
+ * @param sessionId - Browser session id
671
+ */
672
+ constructor(config, sessionId) {
673
+ super(config);
674
+ this.log = this.log.child().withContext({
675
+ sessionId
676
+ });
677
+ this.sessionId = sessionId;
678
+ }
679
+ /**
680
+ * Returns the browser session ID.
681
+ */
682
+ getSessionId() {
683
+ return this.sessionId;
684
+ }
685
+ /**
686
+ * Gets the state of the session using the attached session id.
687
+ * @param requestOptions - Request options
688
+ * @returns AirtopSession instance or null if not found
689
+ */
690
+ async getSessionInfo(requestOptions = {}) {
691
+ try {
692
+ const results = await this.client.sessions.get(this.sessionId, this.resolveRequestOptions(requestOptions));
693
+ return new AirtopSession(this.getCommonConfig(), {
694
+ data: results.data,
695
+ meta: results.meta,
696
+ warnings: results.warnings,
697
+ errors: results.errors
698
+ });
699
+ } catch (e) {
700
+ if (e instanceof _core.NotFoundError) {
701
+ return null;
702
+ }
703
+ throw e;
704
+ }
705
+ }
706
+ /**
707
+ * Configures the session to save a profile when it terminates.
708
+ * @param profileName - Name of the profile to save
709
+ * @param requestOptions - Request options
710
+ */
711
+ async saveProfileOnTermination(profileName, requestOptions = {}) {
712
+ this.log.withMetadata({
713
+ profileName
714
+ }).info("Saving profile on termination");
715
+ await this.client.sessions.saveProfileOnTermination(
716
+ profileName,
717
+ {
718
+ sessionId: this.sessionId
719
+ },
720
+ this.resolveRequestOptions(requestOptions)
721
+ );
722
+ }
723
+ /**
724
+ * Waits for the session to be in a ready state.
725
+ * @returns The event indicating the session is ready
726
+ */
727
+ async waitForSessionReady() {
728
+ this.log.info("Waiting for session to be ready");
729
+ const sessionEvents = await this.client.sessions.getEvents(this.sessionId);
730
+ for await (const event of sessionEvents) {
731
+ this.log.withMetadata({
732
+ event
733
+ }).info("status message received");
734
+ const e = event;
735
+ if (e.event === "status" && e.status === "running") {
736
+ return event;
737
+ }
738
+ }
739
+ }
740
+ /**
741
+ * Terminates the current session.
742
+ * If the session is already terminated, this method will log a message and return.
743
+ */
744
+ async terminateSession() {
745
+ this.log.info("Terminating session");
746
+ await this.client.sessions.terminate(this.sessionId);
747
+ }
748
+ /**
749
+ * Creates a new window in the current session.
750
+ * @param url - The URL to load in the new window
751
+ * @param requestOptions - Request options
752
+ * @returns A new AirtopWindow<AirtopWindowCreateResponse> instance
753
+ */
754
+ async createWindow(url, requestOptions = {}) {
755
+ this.log.info("Creating window");
756
+ const results = await this.client.windows.create(
757
+ this.sessionId,
758
+ {
759
+ url
760
+ },
761
+ this.resolveRequestOptions(requestOptions)
762
+ );
763
+ return new AirtopWindow(this.getCommonConfig(), this.sessionId, results);
764
+ }
765
+ /**
766
+ * Returns a window client instance for making window-based requests for a given window id.
767
+ *
768
+ * @param windowId - The session ID to attach to the AirtopWindowClient instance
769
+ **/
770
+ withWindowId(windowId) {
771
+ return new AirtopWindowClient(this.getCommonConfig(), this.sessionId, windowId);
772
+ }
773
+ /**
774
+ * Creates a new file in the current session.
775
+ * @param fileName - The name of the file to create
776
+ * @param config - Additional configuration options for creating the file
777
+ * @param requestOptions - Request options
778
+ */
779
+ createFile(fileName, config = {}, requestOptions = {}) {
780
+ this.log.info("Creating file");
781
+ return this.client.files.createFile(
782
+ {
783
+ ...config,
784
+ fileName,
785
+ sessionId: this.sessionId
786
+ },
787
+ this.resolveRequestOptions(requestOptions)
788
+ );
789
+ }
790
+ };
791
+
792
+ // src/session/AirtopSession.ts
793
+ var AirtopSession = class extends AirtopSessionClient {
794
+ /**
795
+ * The session data containing connection and state information.
796
+ * Includes details about the browser session and its configuration.
797
+ */
798
+
799
+ /**
800
+ * The metadata associated with the session.
801
+ * Contains information about the request that created the session.
802
+ */
803
+
804
+ /**
805
+ * Warnings that occurred during session creation or operation.
806
+ * These are non-fatal issues that didn't prevent session creation.
807
+ */
808
+
809
+ /**
810
+ * Errors that occurred during session creation or operation.
811
+ * These are fatal issues that prevented session creation.
812
+ */
813
+
814
+ /**
815
+ * Creates a new AirtopSession instance.
816
+ * @param config - Common configuration options for the session
817
+ * @param sessionData - Browser session data
818
+ */
819
+ constructor(config, sessionData) {
820
+ super(config, sessionData.data.id);
821
+ this.meta = sessionData.meta;
822
+ this.data = sessionData.data;
823
+ this.warnings = sessionData.warnings;
824
+ this.errors = sessionData.errors;
825
+ }
826
+ /**
827
+ * Returns response data as a JSON object.
828
+ */
829
+ toJSON() {
830
+ return {
831
+ data: this.data,
832
+ meta: this.meta,
833
+ warnings: this.warnings,
834
+ errors: this.errors
835
+ };
836
+ }
837
+ };
838
+
839
+ // src/AirtopClient.ts
840
+ var version = require_package().version;
841
+ var AirtopClient = class extends AirtopBase {
842
+ /**
843
+ * Creates a new instance of the Airtop SDK.
844
+ * @param config - Configuration options for the Airtop SDK
845
+ */
846
+ constructor(config) {
847
+ super({
848
+ logLevel: _optionalChain([config, 'optionalAccess', _9 => _9.logLevel]),
849
+ client: new (0, _core.Airtop)({
850
+ maxRetries: 0,
851
+ timeout: _minutesToMilliseconds.minutesToMilliseconds.call(void 0, 1),
852
+ apiKey: config.apiKey,
853
+ baseURL: _optionalChain([config, 'optionalAccess', _10 => _10.airtopUrl]),
854
+ logLevel: _optionalChain([config, 'optionalAccess', _11 => _11.logLevel]) || "off",
855
+ defaultHeaders: {
856
+ "x-airtop-sdk-source": "typescript",
857
+ "x-airtop-sdk-version": version
858
+ }
859
+ }),
860
+ log: _optionalChain([config, 'optionalAccess', _12 => _12.logger]) || new (0, _loglayer.LogLayer)({
861
+ errorSerializer: _serializeerror.serializeError,
862
+ transport: new (0, _loglayer.ConsoleTransport)({
863
+ logger: console,
864
+ messageField: "message",
865
+ enabled: config.logLevel !== "off",
866
+ level: config.logLevel === "off" ? "error" : config.logLevel || "error"
867
+ }),
868
+ contextFieldName: "context",
869
+ metadataFieldName: "metadata"
870
+ }),
871
+ outputSchemaAdapter: config.outputSchemaAdapter
872
+ });
873
+ this.log.withPrefix("[Airtop SDK]");
874
+ this.client.logLevel = config.logLevel;
875
+ this.client.logger = {
876
+ debug: (message, ...rest) => {
877
+ processLogMessage(this.log, "debug", message, rest);
878
+ },
879
+ error: (message, ...rest) => {
880
+ processLogMessage(this.log, "error", message, rest);
881
+ },
882
+ info: (message, ...rest) => {
883
+ processLogMessage(this.log, "info", message, rest);
884
+ },
885
+ warn: (message, ...rest) => {
886
+ processLogMessage(this.log, "warn", message, rest);
887
+ }
888
+ };
889
+ }
890
+ /**
891
+ * Creates a new Airtop session.
892
+ * @param config - Configuration options for the session
893
+ * @param options - Request options
894
+ * @returns A new AirtopSession instance
895
+ */
896
+ async createSession(config, options = {}) {
897
+ const skipWaitSessionReady = _nullishCoalesce(config.skipWaitSessionReady, () => ( false));
898
+ delete config.skipWaitSessionReady;
899
+ const sessionResponse = await this.client.sessions.create(
900
+ {
901
+ configuration: config
902
+ },
903
+ options
904
+ );
905
+ const session = new AirtopSession(this.getCommonConfig(), sessionResponse);
906
+ if (skipWaitSessionReady) {
907
+ return session;
908
+ }
909
+ await session.waitForSessionReady();
910
+ return session;
911
+ }
912
+ /**
913
+ * Retrieves multiple sessions by their IDs.
914
+ * @param sessionIds - Array of session IDs to retrieve
915
+ * @param config - Configuration options for the request
916
+ * @param requestOptions - Request options
917
+ * @returns Object containing pagination info and array of AirtopSession instances
918
+ */
919
+ async getSessions(sessionIds, config, requestOptions = {}) {
920
+ const sessions = await this.client.sessions.list(
921
+ {
922
+ sessionIds,
923
+ limit: config.limit,
924
+ offset: config.offset,
925
+ status: config.status
926
+ },
927
+ this.resolveRequestOptions(requestOptions)
928
+ );
929
+ return {
930
+ pagination: sessions.data.pagination,
931
+ sessions: sessions.data.sessions.map(
932
+ (session) => new AirtopSession(this.getCommonConfig(), {
933
+ data: session
934
+ })
935
+ ),
936
+ errors: sessions.errors,
937
+ meta: sessions.meta,
938
+ warnings: sessions.warnings
939
+ };
940
+ }
941
+ /**
942
+ * Removes one or more profiles.
943
+ * @param profileNames - Name(s) of the profile(s) to remove
944
+ * @param requestOptions - Request options
945
+ */
946
+ async removeProfile(profileNames, requestOptions = {}) {
947
+ await this.client.profile.delete(
948
+ {
949
+ profileNames: Array.isArray(profileNames) ? profileNames : [profileNames]
950
+ },
951
+ this.resolveRequestOptions(requestOptions)
952
+ );
953
+ }
954
+ /**
955
+ * Retrieves a profile by name.
956
+ * @param profileName - Name of the profile to retrieve
957
+ * @param requestOptions - Request options
958
+ * @returns The profile
959
+ */
960
+ async getProfile(profileName, requestOptions = {}) {
961
+ return this.client.profile.get(profileName, this.resolveRequestOptions(requestOptions));
962
+ }
963
+ /**
964
+ * Renames a profile.
965
+ * @param sourceName - Current name of the profile
966
+ * @param targetName - New name for the profile
967
+ * @param requestOptions - Request options
968
+ */
969
+ async renameProfile(sourceName, targetName, requestOptions = {}) {
970
+ return this.client.profile.rename(
971
+ {
972
+ source: sourceName,
973
+ target: targetName
974
+ },
975
+ this.resolveRequestOptions(requestOptions)
976
+ );
977
+ }
978
+ /**
979
+ * Returns a session client instance for making session-based requests for a given session id.
980
+ *
981
+ * @param sessionId - The session ID to attach to the AirtopSessionClient instance
982
+ **/
983
+ withSessionId(sessionId) {
984
+ return new AirtopSessionClient(this.getCommonConfig(), sessionId);
985
+ }
986
+ /**
987
+ * Retrieves the status of a request.
988
+ * @param requestId - ID of the request to check
989
+ * @param requestOptions - Request options
990
+ * @returns Status of the request
991
+ */
992
+ async getRequestStatus(requestId, requestOptions = {}) {
993
+ this.log.withMetadata({
994
+ requestId
995
+ }).info("Getting request status");
996
+ return this.client.requests.getRequestStatus(requestId, this.resolveRequestOptions(requestOptions));
997
+ }
998
+ /**
999
+ * Gets a file by ID.
1000
+ * @param fileId
1001
+ * @param requestOptions
1002
+ */
1003
+ async getFile(fileId, requestOptions = {}) {
1004
+ return this.client.files.get(fileId, this.resolveRequestOptions(requestOptions));
1005
+ }
1006
+ /**
1007
+ * Lists files filtered by session IDs.
1008
+ * @param sessionIds - Array of session IDs to retrieve files for
1009
+ * @param config - Configuration options for the request
1010
+ * @param requestOptions - Request options
1011
+ * @returns Object containing pagination info and array of AirtopSession instances
1012
+ */
1013
+ async listFiles(sessionIds, config, requestOptions = {}) {
1014
+ return this.client.files.list(
1015
+ {
1016
+ sessionIds,
1017
+ limit: config.limit,
1018
+ offset: config.offset
1019
+ },
1020
+ this.resolveRequestOptions(requestOptions)
1021
+ );
1022
+ }
1023
+ /**
1024
+ * Removes a file by ID.
1025
+ * @param fileId - ID of the file to remove
1026
+ * @param requestOptions - Request options
1027
+ */
1028
+ async removeFile(fileId, requestOptions = {}) {
1029
+ return this.client.files.delete(fileId, this.resolveRequestOptions(requestOptions));
1030
+ }
1031
+ /**
1032
+ * List all automations
1033
+ * @param requestOptions - Request options
1034
+ */
1035
+ listAutomations(requestOptions = {}) {
1036
+ return this.client.automations.list(this.resolveRequestOptions(requestOptions));
1037
+ }
1038
+ /**
1039
+ * Update the description of a specific automation
1040
+ * @param body - Request body
1041
+ * @param requestOptions - Request options
1042
+ */
1043
+ updateAutomationDescription(body, requestOptions = {}) {
1044
+ return this.client.automations.updateDescription(body, this.resolveRequestOptions(requestOptions));
1045
+ }
1046
+ /**
1047
+ * Delete a specific automation
1048
+ * @param automationID - ID of the automation to delete
1049
+ * @param requestOptions - Request options
1050
+ */
1051
+ removeAutomation(automationID, requestOptions = {}) {
1052
+ return this.client.automations.delete(automationID, this.resolveRequestOptions(requestOptions));
1053
+ }
1054
+ };
1055
+
1056
+ // src/plugin/AirtopPlugin.types.ts
1057
+ var AirtopPluginAugmentationType = /* @__PURE__ */ ((AirtopPluginAugmentationType2) => {
1058
+ AirtopPluginAugmentationType2["AirtopClient"] = "AirtopClient";
1059
+ AirtopPluginAugmentationType2["AirtopWindowClient"] = "AirtopWindowClient";
1060
+ AirtopPluginAugmentationType2["AirtopWindow"] = "AirtopWindow";
1061
+ AirtopPluginAugmentationType2["AirtopSessionClient"] = "AirtopSessionClient";
1062
+ AirtopPluginAugmentationType2["AirtopSession"] = "AirtopSession";
1063
+ AirtopPluginAugmentationType2["AirtopWindowScreenshot"] = "AirtopWindowScreenshot";
1064
+ return AirtopPluginAugmentationType2;
1065
+ })(AirtopPluginAugmentationType || {});
1066
+
1067
+ // src/plugin/AirtopPlugin.ts
1068
+ function registerAirtopPlugin(plugin) {
1069
+ for (const pluginToAdd of plugin.pluginsToAdd) {
1070
+ switch (pluginToAdd.augmentationType) {
1071
+ case "AirtopClient" /* AirtopClient */:
1072
+ pluginToAdd.augment(AirtopClient.prototype);
1073
+ break;
1074
+ case "AirtopSessionClient" /* AirtopSessionClient */:
1075
+ pluginToAdd.augment(AirtopSessionClient.prototype);
1076
+ break;
1077
+ case "AirtopSession" /* AirtopSession */:
1078
+ pluginToAdd.augment(AirtopSession.prototype);
1079
+ break;
1080
+ case "AirtopWindowClient" /* AirtopWindowClient */:
1081
+ pluginToAdd.augment(AirtopWindowClient.prototype);
1082
+ break;
1083
+ case "AirtopWindow" /* AirtopWindow */:
1084
+ pluginToAdd.augment(AirtopWindow.prototype);
1085
+ break;
1086
+ case "AirtopWindowScreenshot" /* AirtopWindowScreenshot */:
1087
+ pluginToAdd.augment(AirtopWindowScreenshot.prototype);
1088
+ break;
1089
+ }
1090
+ }
1091
+ }
1092
+
1093
+ // src/AirtopMocks.ts
1094
+
1095
+
1096
+ var _uuid = require('uuid');
1097
+ function createNoOpClient(client) {
1098
+ return new Proxy(client, {
1099
+ get(target, prop) {
1100
+ const value = Reflect.get(target, prop);
1101
+ if (typeof value === "function") {
1102
+ return async () => ({
1103
+ data: {},
1104
+ meta: {},
1105
+ warnings: [],
1106
+ errors: []
1107
+ });
1108
+ }
1109
+ if (value && typeof value === "object" && !Array.isArray(value)) {
1110
+ return createNoOpClient(value);
1111
+ }
1112
+ return value;
1113
+ }
1114
+ });
1115
+ }
1116
+ function generateCommonAirtopConfigMock() {
1117
+ const client = new (0, _core.Airtop)({
1118
+ apiKey: "test-api-key"
1119
+ });
1120
+ return {
1121
+ log: new (0, _loglayer.MockLogLayer)(),
1122
+ client: createNoOpClient(client)
1123
+ };
1124
+ }
1125
+ var AirtopMocks = class {
1126
+ /**
1127
+ * Creates an AirtopBase instance (the class used as the base for other Airtop classes) with a mock client and logger.
1128
+ */
1129
+ static getAirtopBaseMock(config = {}) {
1130
+ return new AirtopBase({
1131
+ ...generateCommonAirtopConfigMock(),
1132
+ ...config
1133
+ });
1134
+ }
1135
+ /**
1136
+ * Creates an Airtop instance with a mock client and data.
1137
+ */
1138
+ static getAirtopClientMock(config = {}) {
1139
+ const client = new AirtopClient({
1140
+ apiKey: "test-api-key",
1141
+ ...config
1142
+ });
1143
+ const mocks = generateCommonAirtopConfigMock();
1144
+ client["log"] = mocks.log;
1145
+ client["client"] = mocks.client;
1146
+ return client;
1147
+ }
1148
+ /**
1149
+ * Creates an AirtopSession instance with a mock client and data.
1150
+ */
1151
+ static getAirtopSessionMock(responseData = {}) {
1152
+ return new AirtopSession(generateCommonAirtopConfigMock(), {
1153
+ data: {
1154
+ id: _uuid.v4.call(void 0, ),
1155
+ configuration: {},
1156
+ chromedriverUrl: "http://localhost:9515",
1157
+ status: "active"
1158
+ },
1159
+ meta: {},
1160
+ warnings: [],
1161
+ ...responseData
1162
+ });
1163
+ }
1164
+ /**
1165
+ * Creates an AirtopWindow instance with a mock client and data.
1166
+ */
1167
+ static getAirtopWindowMock({
1168
+ sessionId,
1169
+ windowData
1170
+ } = {}) {
1171
+ return new AirtopWindow(generateCommonAirtopConfigMock(), sessionId || _uuid.v4.call(void 0, ), {
1172
+ data: {
1173
+ targetId: _uuid.v4.call(void 0, ),
1174
+ windowId: _uuid.v4.call(void 0, ),
1175
+ liveViewUrl: "http://localhost:4567"
1176
+ },
1177
+ meta: {},
1178
+ warnings: [],
1179
+ ...windowData || {}
1180
+ });
1181
+ }
1182
+ };
1183
+
1184
+
1185
+
1186
+
1187
+
1188
+
1189
+
1190
+
1191
+
1192
+
1193
+
1194
+ exports.AirtopBase = AirtopBase; exports.AirtopClient = AirtopClient; exports.AirtopMocks = AirtopMocks; exports.AirtopPluginAugmentationType = AirtopPluginAugmentationType; exports.AirtopSession = AirtopSession; exports.AirtopSessionClient = AirtopSessionClient; exports.AirtopWindow = AirtopWindow; exports.AirtopWindowClient = AirtopWindowClient; exports.AirtopWindowScreenshot = AirtopWindowScreenshot; exports.registerAirtopPlugin = registerAirtopPlugin;
1195
+ //# sourceMappingURL=index.cjs.map