@airtop/sdk 0.1.36 → 1.0.0-alpha2.1

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 (1405) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +7 -140
  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 -43
  11. package/Client.js +0 -37
  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/index.d.ts +0 -11
  37. package/api/resources/index.js +0 -50
  38. package/api/resources/profiles/client/Client.d.ts +0 -40
  39. package/api/resources/profiles/client/Client.js +0 -131
  40. package/api/resources/profiles/client/index.d.ts +0 -1
  41. package/api/resources/profiles/client/index.js +0 -17
  42. package/api/resources/profiles/client/requests/ProfilesDeleteRequest.d.ts +0 -17
  43. package/api/resources/profiles/client/requests/ProfilesDeleteRequest.js +0 -5
  44. package/api/resources/profiles/client/requests/index.d.ts +0 -1
  45. package/api/resources/profiles/client/requests/index.js +0 -2
  46. package/api/resources/profiles/index.d.ts +0 -1
  47. package/api/resources/profiles/index.js +0 -17
  48. package/api/resources/requests/client/Client.d.ts +0 -38
  49. package/api/resources/requests/client/Client.js +0 -117
  50. package/api/resources/requests/client/index.d.ts +0 -1
  51. package/api/resources/requests/client/index.js +0 -2
  52. package/api/resources/requests/index.d.ts +0 -1
  53. package/api/resources/requests/index.js +0 -17
  54. package/api/resources/sessions/client/Client.d.ts +0 -92
  55. package/api/resources/sessions/client/Client.js +0 -494
  56. package/api/resources/sessions/client/index.d.ts +0 -1
  57. package/api/resources/sessions/client/index.js +0 -17
  58. package/api/resources/sessions/client/requests/SessionRestInputV1.d.ts +0 -12
  59. package/api/resources/sessions/client/requests/SessionRestInputV1.js +0 -5
  60. package/api/resources/sessions/client/requests/SessionsEventsRequest.d.ts +0 -20
  61. package/api/resources/sessions/client/requests/SessionsEventsRequest.js +0 -5
  62. package/api/resources/sessions/client/requests/SessionsListRequest.d.ts +0 -29
  63. package/api/resources/sessions/client/requests/SessionsListRequest.js +0 -5
  64. package/api/resources/sessions/client/requests/index.d.ts +0 -3
  65. package/api/resources/sessions/client/requests/index.js +0 -2
  66. package/api/resources/sessions/index.d.ts +0 -2
  67. package/api/resources/sessions/index.js +0 -18
  68. package/api/resources/sessions/types/SessionsEventsResponse.d.ts +0 -22
  69. package/api/resources/sessions/types/SessionsEventsResponse.js +0 -5
  70. package/api/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -11
  71. package/api/resources/sessions/types/SessionsEventsResponseError.js +0 -5
  72. package/api/resources/sessions/types/SessionsEventsResponseSessionEvent.d.ts +0 -11
  73. package/api/resources/sessions/types/SessionsEventsResponseSessionEvent.js +0 -5
  74. package/api/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -11
  75. package/api/resources/sessions/types/SessionsEventsResponseStatus.js +0 -5
  76. package/api/resources/sessions/types/SessionsEventsResponseWindowEvent.d.ts +0 -11
  77. package/api/resources/sessions/types/SessionsEventsResponseWindowEvent.js +0 -5
  78. package/api/resources/sessions/types/SessionsListRequestStatus.d.ts +0 -16
  79. package/api/resources/sessions/types/SessionsListRequestStatus.js +0 -15
  80. package/api/resources/sessions/types/index.d.ts +0 -6
  81. package/api/resources/sessions/types/index.js +0 -22
  82. package/api/resources/windows/client/Client.d.ts +0 -302
  83. package/api/resources/windows/client/Client.js +0 -1264
  84. package/api/resources/windows/client/index.d.ts +0 -1
  85. package/api/resources/windows/client/index.js +0 -17
  86. package/api/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +0 -23
  87. package/api/resources/windows/client/requests/AsyncCreateAutomationRequest.js +0 -5
  88. package/api/resources/windows/client/requests/AsyncCreateFormFillerRequest.d.ts +0 -23
  89. package/api/resources/windows/client/requests/AsyncCreateFormFillerRequest.js +0 -5
  90. package/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -27
  91. package/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -5
  92. package/api/resources/windows/client/requests/AsyncFillFormRequest.d.ts +0 -27
  93. package/api/resources/windows/client/requests/AsyncFillFormRequest.js +0 -5
  94. package/api/resources/windows/client/requests/CreateFormFillerRequest.d.ts +0 -23
  95. package/api/resources/windows/client/requests/CreateFormFillerRequest.js +0 -5
  96. package/api/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +0 -18
  97. package/api/resources/windows/client/requests/CreateWindowInputV1Body.js +0 -5
  98. package/api/resources/windows/client/requests/FillFormRequest.d.ts +0 -27
  99. package/api/resources/windows/client/requests/FillFormRequest.js +0 -5
  100. package/api/resources/windows/client/requests/GetWindowInfoRequest.d.ts +0 -23
  101. package/api/resources/windows/client/requests/GetWindowInfoRequest.js +0 -5
  102. package/api/resources/windows/client/requests/ScrapeContentRequest.d.ts +0 -18
  103. package/api/resources/windows/client/requests/ScrapeContentRequest.js +0 -5
  104. package/api/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +0 -27
  105. package/api/resources/windows/client/requests/SessionClickHandlerRequestBody.js +0 -5
  106. package/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +0 -25
  107. package/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +0 -5
  108. package/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -25
  109. package/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -5
  110. package/api/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.d.ts +0 -25
  111. package/api/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.js +0 -5
  112. package/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +0 -21
  113. package/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +0 -5
  114. package/api/resources/windows/client/requests/SessionScrollHandlerRequestBody.d.ts +0 -29
  115. package/api/resources/windows/client/requests/SessionScrollHandlerRequestBody.js +0 -5
  116. package/api/resources/windows/client/requests/SessionSummaryHandlerRequestBody.d.ts +0 -23
  117. package/api/resources/windows/client/requests/SessionSummaryHandlerRequestBody.js +0 -5
  118. package/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +0 -35
  119. package/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +0 -5
  120. package/api/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +0 -18
  121. package/api/resources/windows/client/requests/WindowLoadUrlV1Body.js +0 -5
  122. package/api/resources/windows/client/requests/index.d.ts +0 -18
  123. package/api/resources/windows/client/requests/index.js +0 -2
  124. package/api/resources/windows/index.d.ts +0 -2
  125. package/api/resources/windows/index.js +0 -18
  126. package/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +0 -13
  127. package/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +0 -12
  128. package/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +0 -13
  129. package/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +0 -12
  130. package/api/resources/windows/types/index.d.ts +0 -2
  131. package/api/resources/windows/types/index.js +0 -18
  132. package/api/types/AiPromptResponse.d.ts +0 -10
  133. package/api/types/AiPromptResponse.js +0 -5
  134. package/api/types/AiResponseEnvelope.d.ts +0 -6
  135. package/api/types/AiResponseEnvelope.js +0 -5
  136. package/api/types/AirtopProxyConfiguration.d.ts +0 -9
  137. package/api/types/AirtopProxyConfiguration.js +0 -5
  138. package/api/types/AsyncConfig.d.ts +0 -7
  139. package/api/types/AsyncConfig.js +0 -5
  140. package/api/types/AsyncSessionAiResponseEnvelope.d.ts +0 -9
  141. package/api/types/AsyncSessionAiResponseEnvelope.js +0 -5
  142. package/api/types/AutomationOutput.d.ts +0 -10
  143. package/api/types/AutomationOutput.js +0 -5
  144. package/api/types/BrowserWaitNavigationConfig.d.ts +0 -10
  145. package/api/types/BrowserWaitNavigationConfig.js +0 -5
  146. package/api/types/BrowserWaitNavigationConfigWaitUntil.d.ts +0 -13
  147. package/api/types/BrowserWaitNavigationConfigWaitUntil.js +0 -12
  148. package/api/types/ClickConfig.d.ts +0 -14
  149. package/api/types/ClickConfig.js +0 -5
  150. package/api/types/ClickConfigClickType.d.ts +0 -12
  151. package/api/types/ClickConfigClickType.js +0 -11
  152. package/api/types/ClientProvidedResponseMetadata.d.ts +0 -6
  153. package/api/types/ClientProvidedResponseMetadata.js +0 -5
  154. package/api/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -4
  155. package/api/types/CreateAutomationRequestBodyConfiguration.js +0 -5
  156. package/api/types/DeleteAutomationOutputWrapperBody.d.ts +0 -4
  157. package/api/types/DeleteAutomationOutputWrapperBody.js +0 -5
  158. package/api/types/EnvelopeDefaultMeta.d.ts +0 -6
  159. package/api/types/EnvelopeDefaultMeta.js +0 -5
  160. package/api/types/ErrorBody.d.ts +0 -9
  161. package/api/types/ErrorBody.js +0 -5
  162. package/api/types/ErrorDetail.d.ts +0 -10
  163. package/api/types/ErrorDetail.js +0 -5
  164. package/api/types/ErrorMessage.d.ts +0 -11
  165. package/api/types/ErrorMessage.js +0 -5
  166. package/api/types/ErrorModel.d.ts +0 -18
  167. package/api/types/ErrorModel.js +0 -5
  168. package/api/types/ExternalSessionAiResponseMetadata.d.ts +0 -13
  169. package/api/types/ExternalSessionAiResponseMetadata.js +0 -5
  170. package/api/types/ExternalSessionAiResponseMetadataStatus.d.ts +0 -12
  171. package/api/types/ExternalSessionAiResponseMetadataStatus.js +0 -11
  172. package/api/types/ExternalSessionAiResponseMetadataUsage.d.ts +0 -9
  173. package/api/types/ExternalSessionAiResponseMetadataUsage.js +0 -5
  174. package/api/types/ExternalSessionConfig.d.ts +0 -11
  175. package/api/types/ExternalSessionConfig.js +0 -5
  176. package/api/types/ExternalSessionWithConnectionInfo.d.ts +0 -26
  177. package/api/types/ExternalSessionWithConnectionInfo.js +0 -5
  178. package/api/types/IntervalMonitorConfig.d.ts +0 -9
  179. package/api/types/IntervalMonitorConfig.js +0 -5
  180. package/api/types/Issue.d.ts +0 -13
  181. package/api/types/Issue.js +0 -5
  182. package/api/types/ListAutomationsOutput.d.ts +0 -7
  183. package/api/types/ListAutomationsOutput.js +0 -5
  184. package/api/types/MicroInteractionConfig.d.ts +0 -10
  185. package/api/types/MicroInteractionConfig.js +0 -5
  186. package/api/types/MicroInteractionConfigWithExperimental.d.ts +0 -12
  187. package/api/types/MicroInteractionConfigWithExperimental.js +0 -5
  188. package/api/types/MicroInteractionExperimentalConfig.d.ts +0 -7
  189. package/api/types/MicroInteractionExperimentalConfig.js +0 -5
  190. package/api/types/MonitorConfig.d.ts +0 -10
  191. package/api/types/MonitorConfig.js +0 -5
  192. package/api/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -12
  193. package/api/types/MonitorConfigIncludeVisualAnalysis.js +0 -11
  194. package/api/types/OperationOutcome.d.ts +0 -7
  195. package/api/types/OperationOutcome.js +0 -5
  196. package/api/types/OperationOutcomeResponse.d.ts +0 -10
  197. package/api/types/OperationOutcomeResponse.js +0 -5
  198. package/api/types/PageQueryConfig.d.ts +0 -12
  199. package/api/types/PageQueryConfig.js +0 -5
  200. package/api/types/PageQueryExperimentalConfig.d.ts +0 -7
  201. package/api/types/PageQueryExperimentalConfig.js +0 -5
  202. package/api/types/PaginatedExtractionConfig.d.ts +0 -16
  203. package/api/types/PaginatedExtractionConfig.js +0 -5
  204. package/api/types/PaginatedExtractionExperimentalConfig.d.ts +0 -7
  205. package/api/types/PaginatedExtractionExperimentalConfig.js +0 -5
  206. package/api/types/Pagination.d.ts +0 -21
  207. package/api/types/Pagination.js +0 -5
  208. package/api/types/Proxy.d.ts +0 -14
  209. package/api/types/Proxy.js +0 -5
  210. package/api/types/ProxyConfigurationKind.d.ts +0 -9
  211. package/api/types/ProxyConfigurationKind.js +0 -5
  212. package/api/types/ProxyCredentials.d.ts +0 -11
  213. package/api/types/ProxyCredentials.js +0 -5
  214. package/api/types/RequestStatusResponse.d.ts +0 -8
  215. package/api/types/RequestStatusResponse.js +0 -5
  216. package/api/types/ScrapeConfig.d.ts +0 -7
  217. package/api/types/ScrapeConfig.js +0 -5
  218. package/api/types/ScrapeResponse.d.ts +0 -10
  219. package/api/types/ScrapeResponse.js +0 -5
  220. package/api/types/ScrapeResponseContent.d.ts +0 -9
  221. package/api/types/ScrapeResponseContent.js +0 -5
  222. package/api/types/ScrapeResponseEnvelope.d.ts +0 -8
  223. package/api/types/ScrapeResponseEnvelope.js +0 -5
  224. package/api/types/ScrapeResponseOutput.d.ts +0 -12
  225. package/api/types/ScrapeResponseOutput.js +0 -5
  226. package/api/types/ScreenshotConfig.d.ts +0 -13
  227. package/api/types/ScreenshotConfig.js +0 -5
  228. package/api/types/ScreenshotMetadata.d.ts +0 -7
  229. package/api/types/ScreenshotMetadata.js +0 -5
  230. package/api/types/ScreenshotRequestConfig.d.ts +0 -8
  231. package/api/types/ScreenshotRequestConfig.js +0 -5
  232. package/api/types/ScrollByConfig.d.ts +0 -9
  233. package/api/types/ScrollByConfig.js +0 -5
  234. package/api/types/ScrollToEdgeConfig.d.ts +0 -9
  235. package/api/types/ScrollToEdgeConfig.js +0 -5
  236. package/api/types/SessionConfigV1.d.ts +0 -18
  237. package/api/types/SessionConfigV1.js +0 -5
  238. package/api/types/SessionConfigV1Proxy.d.ts +0 -17
  239. package/api/types/SessionConfigV1Proxy.js +0 -5
  240. package/api/types/SessionEventMessage.d.ts +0 -17
  241. package/api/types/SessionEventMessage.js +0 -5
  242. package/api/types/SessionPageQueryHandlerRequestBody.d.ts +0 -21
  243. package/api/types/SessionPageQueryHandlerRequestBody.js +0 -5
  244. package/api/types/SessionResponse.d.ts +0 -10
  245. package/api/types/SessionResponse.js +0 -5
  246. package/api/types/SessionsResponse.d.ts +0 -10
  247. package/api/types/SessionsResponse.js +0 -5
  248. package/api/types/SessionsWithPagination.d.ts +0 -10
  249. package/api/types/SessionsWithPagination.js +0 -5
  250. package/api/types/StatusMessage.d.ts +0 -16
  251. package/api/types/StatusMessage.js +0 -5
  252. package/api/types/StatusMessageStatus.d.ts +0 -15
  253. package/api/types/StatusMessageStatus.js +0 -14
  254. package/api/types/SummaryConfig.d.ts +0 -9
  255. package/api/types/SummaryConfig.js +0 -5
  256. package/api/types/SummaryExperimentalConfig.d.ts +0 -7
  257. package/api/types/SummaryExperimentalConfig.js +0 -5
  258. package/api/types/VisualAnalysisConfig.d.ts +0 -18
  259. package/api/types/VisualAnalysisConfig.js +0 -5
  260. package/api/types/VisualAnalysisConfigPartitionDirection.d.ts +0 -12
  261. package/api/types/VisualAnalysisConfigPartitionDirection.js +0 -11
  262. package/api/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +0 -12
  263. package/api/types/VisualAnalysisConfigResultSelectionStrategy.js +0 -11
  264. package/api/types/VisualAnalysisConfigScope.d.ts +0 -13
  265. package/api/types/VisualAnalysisConfigScope.js +0 -12
  266. package/api/types/Window.d.ts +0 -11
  267. package/api/types/Window.js +0 -5
  268. package/api/types/WindowEventMessage.d.ts +0 -19
  269. package/api/types/WindowEventMessage.js +0 -5
  270. package/api/types/WindowId.d.ts +0 -9
  271. package/api/types/WindowId.js +0 -5
  272. package/api/types/WindowIdResponse.d.ts +0 -10
  273. package/api/types/WindowIdResponse.js +0 -5
  274. package/api/types/WindowResponse.d.ts +0 -10
  275. package/api/types/WindowResponse.js +0 -5
  276. package/api/types/index.d.ts +0 -72
  277. package/api/types/index.js +0 -88
  278. package/biome.json +0 -69
  279. package/config/tsconfig-nobase.json +0 -16
  280. package/core/auth/BasicAuth.d.ts +0 -8
  281. package/core/auth/BasicAuth.js +0 -26
  282. package/core/auth/BearerToken.d.ts +0 -5
  283. package/core/auth/BearerToken.js +0 -15
  284. package/core/auth/index.d.ts +0 -2
  285. package/core/auth/index.js +0 -7
  286. package/core/fetcher/APIResponse.d.ts +0 -10
  287. package/core/fetcher/APIResponse.js +0 -2
  288. package/core/fetcher/Fetcher.d.ts +0 -39
  289. package/core/fetcher/Fetcher.js +0 -100
  290. package/core/fetcher/Supplier.d.ts +0 -4
  291. package/core/fetcher/Supplier.js +0 -22
  292. package/core/fetcher/createRequestUrl.d.ts +0 -1
  293. package/core/fetcher/createRequestUrl.js +0 -12
  294. package/core/fetcher/getFetchFn.d.ts +0 -4
  295. package/core/fetcher/getFetchFn.js +0 -68
  296. package/core/fetcher/getHeader.d.ts +0 -1
  297. package/core/fetcher/getHeader.js +0 -11
  298. package/core/fetcher/getRequestBody.d.ts +0 -7
  299. package/core/fetcher/getRequestBody.js +0 -23
  300. package/core/fetcher/getResponseBody.d.ts +0 -1
  301. package/core/fetcher/getResponseBody.js +0 -54
  302. package/core/fetcher/index.d.ts +0 -5
  303. package/core/fetcher/index.js +0 -9
  304. package/core/fetcher/makeRequest.d.ts +0 -1
  305. package/core/fetcher/makeRequest.js +0 -42
  306. package/core/fetcher/requestWithRetries.d.ts +0 -1
  307. package/core/fetcher/requestWithRetries.js +0 -40
  308. package/core/fetcher/signals.d.ts +0 -11
  309. package/core/fetcher/signals.js +0 -36
  310. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
  311. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
  312. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
  313. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
  314. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
  315. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
  316. package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
  317. package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
  318. package/core/index.d.ts +0 -5
  319. package/core/index.js +0 -44
  320. package/core/json.d.ts +0 -15
  321. package/core/json.js +0 -24
  322. package/core/runtime/index.d.ts +0 -1
  323. package/core/runtime/index.js +0 -5
  324. package/core/runtime/runtime.d.ts +0 -9
  325. package/core/runtime/runtime.js +0 -103
  326. package/core/schemas/Schema.d.ts +0 -87
  327. package/core/schemas/Schema.js +0 -24
  328. package/core/schemas/builders/bigint/bigint.d.ts +0 -2
  329. package/core/schemas/builders/bigint/bigint.js +0 -53
  330. package/core/schemas/builders/bigint/index.d.ts +0 -1
  331. package/core/schemas/builders/bigint/index.js +0 -5
  332. package/core/schemas/builders/date/date.d.ts +0 -2
  333. package/core/schemas/builders/date/date.js +0 -62
  334. package/core/schemas/builders/date/index.d.ts +0 -1
  335. package/core/schemas/builders/date/index.js +0 -5
  336. package/core/schemas/builders/enum/enum.d.ts +0 -2
  337. package/core/schemas/builders/enum/enum.js +0 -38
  338. package/core/schemas/builders/enum/index.d.ts +0 -1
  339. package/core/schemas/builders/enum/index.js +0 -5
  340. package/core/schemas/builders/index.d.ts +0 -14
  341. package/core/schemas/builders/index.js +0 -30
  342. package/core/schemas/builders/lazy/index.d.ts +0 -3
  343. package/core/schemas/builders/lazy/index.js +0 -7
  344. package/core/schemas/builders/lazy/lazy.d.ts +0 -5
  345. package/core/schemas/builders/lazy/lazy.js +0 -24
  346. package/core/schemas/builders/lazy/lazyObject.d.ts +0 -3
  347. package/core/schemas/builders/lazy/lazyObject.js +0 -11
  348. package/core/schemas/builders/list/index.d.ts +0 -1
  349. package/core/schemas/builders/list/index.js +0 -5
  350. package/core/schemas/builders/list/list.d.ts +0 -2
  351. package/core/schemas/builders/list/list.js +0 -54
  352. package/core/schemas/builders/literals/booleanLiteral.d.ts +0 -2
  353. package/core/schemas/builders/literals/booleanLiteral.js +0 -28
  354. package/core/schemas/builders/literals/index.d.ts +0 -2
  355. package/core/schemas/builders/literals/index.js +0 -7
  356. package/core/schemas/builders/literals/stringLiteral.d.ts +0 -2
  357. package/core/schemas/builders/literals/stringLiteral.js +0 -28
  358. package/core/schemas/builders/object/index.d.ts +0 -6
  359. package/core/schemas/builders/object/index.js +0 -11
  360. package/core/schemas/builders/object/object.d.ts +0 -3
  361. package/core/schemas/builders/object/object.js +0 -261
  362. package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +0 -6
  363. package/core/schemas/builders/object/objectWithoutOptionalProperties.js +0 -7
  364. package/core/schemas/builders/object/property.d.ts +0 -8
  365. package/core/schemas/builders/object/property.js +0 -15
  366. package/core/schemas/builders/object/types.d.ts +0 -31
  367. package/core/schemas/builders/object/types.js +0 -2
  368. package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +0 -9
  369. package/core/schemas/builders/object-like/getObjectLikeUtils.js +0 -53
  370. package/core/schemas/builders/object-like/index.d.ts +0 -2
  371. package/core/schemas/builders/object-like/index.js +0 -6
  372. package/core/schemas/builders/object-like/types.d.ts +0 -7
  373. package/core/schemas/builders/object-like/types.js +0 -2
  374. package/core/schemas/builders/primitives/any.d.ts +0 -1
  375. package/core/schemas/builders/primitives/any.js +0 -6
  376. package/core/schemas/builders/primitives/boolean.d.ts +0 -1
  377. package/core/schemas/builders/primitives/boolean.js +0 -25
  378. package/core/schemas/builders/primitives/index.d.ts +0 -5
  379. package/core/schemas/builders/primitives/index.js +0 -13
  380. package/core/schemas/builders/primitives/number.d.ts +0 -1
  381. package/core/schemas/builders/primitives/number.js +0 -25
  382. package/core/schemas/builders/primitives/string.d.ts +0 -1
  383. package/core/schemas/builders/primitives/string.js +0 -25
  384. package/core/schemas/builders/primitives/unknown.d.ts +0 -1
  385. package/core/schemas/builders/primitives/unknown.js +0 -6
  386. package/core/schemas/builders/record/index.d.ts +0 -2
  387. package/core/schemas/builders/record/index.js +0 -5
  388. package/core/schemas/builders/record/record.d.ts +0 -3
  389. package/core/schemas/builders/record/record.js +0 -93
  390. package/core/schemas/builders/record/types.d.ts +0 -4
  391. package/core/schemas/builders/record/types.js +0 -2
  392. package/core/schemas/builders/schema-utils/JsonError.d.ts +0 -5
  393. package/core/schemas/builders/schema-utils/JsonError.js +0 -12
  394. package/core/schemas/builders/schema-utils/ParseError.d.ts +0 -5
  395. package/core/schemas/builders/schema-utils/ParseError.js +0 -12
  396. package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +0 -21
  397. package/core/schemas/builders/schema-utils/getSchemaUtils.js +0 -145
  398. package/core/schemas/builders/schema-utils/index.d.ts +0 -4
  399. package/core/schemas/builders/schema-utils/index.js +0 -11
  400. package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +0 -2
  401. package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +0 -9
  402. package/core/schemas/builders/set/index.d.ts +0 -1
  403. package/core/schemas/builders/set/index.js +0 -5
  404. package/core/schemas/builders/set/set.d.ts +0 -2
  405. package/core/schemas/builders/set/set.js +0 -43
  406. package/core/schemas/builders/undiscriminated-union/index.d.ts +0 -2
  407. package/core/schemas/builders/undiscriminated-union/index.js +0 -5
  408. package/core/schemas/builders/undiscriminated-union/types.d.ts +0 -4
  409. package/core/schemas/builders/undiscriminated-union/types.js +0 -2
  410. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +0 -3
  411. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +0 -39
  412. package/core/schemas/builders/union/discriminant.d.ts +0 -5
  413. package/core/schemas/builders/union/discriminant.js +0 -9
  414. package/core/schemas/builders/union/index.d.ts +0 -4
  415. package/core/schemas/builders/union/index.js +0 -7
  416. package/core/schemas/builders/union/types.d.ts +0 -13
  417. package/core/schemas/builders/union/types.js +0 -2
  418. package/core/schemas/builders/union/union.d.ts +0 -4
  419. package/core/schemas/builders/union/union.js +0 -129
  420. package/core/schemas/index.d.ts +0 -2
  421. package/core/schemas/index.js +0 -17
  422. package/core/schemas/utils/MaybePromise.d.ts +0 -1
  423. package/core/schemas/utils/MaybePromise.js +0 -2
  424. package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +0 -7
  425. package/core/schemas/utils/addQuestionMarksToNullableProperties.js +0 -2
  426. package/core/schemas/utils/createIdentitySchemaCreator.d.ts +0 -2
  427. package/core/schemas/utils/createIdentitySchemaCreator.js +0 -15
  428. package/core/schemas/utils/entries.d.ts +0 -1
  429. package/core/schemas/utils/entries.js +0 -6
  430. package/core/schemas/utils/filterObject.d.ts +0 -1
  431. package/core/schemas/utils/filterObject.js +0 -13
  432. package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +0 -1
  433. package/core/schemas/utils/getErrorMessageForIncorrectType.js +0 -27
  434. package/core/schemas/utils/isPlainObject.d.ts +0 -1
  435. package/core/schemas/utils/isPlainObject.js +0 -17
  436. package/core/schemas/utils/keys.d.ts +0 -1
  437. package/core/schemas/utils/keys.js +0 -6
  438. package/core/schemas/utils/maybeSkipValidation.d.ts +0 -2
  439. package/core/schemas/utils/maybeSkipValidation.js +0 -27
  440. package/core/schemas/utils/partition.d.ts +0 -1
  441. package/core/schemas/utils/partition.js +0 -15
  442. package/core/streaming-fetcher/Stream.d.ts +0 -47
  443. package/core/streaming-fetcher/Stream.js +0 -169
  444. package/core/streaming-fetcher/index.d.ts +0 -1
  445. package/core/streaming-fetcher/index.js +0 -5
  446. package/dist/Client.d.ts +0 -43
  447. package/dist/Client.js +0 -37
  448. package/dist/api/errors/ForbiddenError.d.ts +0 -8
  449. package/dist/api/errors/ForbiddenError.js +0 -51
  450. package/dist/api/errors/InternalServerError.d.ts +0 -8
  451. package/dist/api/errors/InternalServerError.js +0 -51
  452. package/dist/api/errors/NotFoundError.d.ts +0 -8
  453. package/dist/api/errors/NotFoundError.js +0 -51
  454. package/dist/api/errors/UnauthorizedError.d.ts +0 -8
  455. package/dist/api/errors/UnauthorizedError.js +0 -51
  456. package/dist/api/errors/UnprocessableEntityError.d.ts +0 -8
  457. package/dist/api/errors/UnprocessableEntityError.js +0 -51
  458. package/dist/api/errors/index.d.ts +0 -5
  459. package/dist/api/errors/index.js +0 -21
  460. package/dist/api/index.d.ts +0 -3
  461. package/dist/api/index.js +0 -19
  462. package/dist/api/resources/automations/client/Client.d.ts +0 -91
  463. package/dist/api/resources/automations/client/Client.js +0 -429
  464. package/dist/api/resources/automations/client/index.d.ts +0 -1
  465. package/dist/api/resources/automations/client/index.js +0 -17
  466. package/dist/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +0 -19
  467. package/dist/api/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +0 -5
  468. package/dist/api/resources/automations/client/requests/index.d.ts +0 -1
  469. package/dist/api/resources/automations/client/requests/index.js +0 -2
  470. package/dist/api/resources/automations/index.d.ts +0 -1
  471. package/dist/api/resources/automations/index.js +0 -17
  472. package/dist/api/resources/index.d.ts +0 -11
  473. package/dist/api/resources/index.js +0 -50
  474. package/dist/api/resources/profiles/client/Client.d.ts +0 -40
  475. package/dist/api/resources/profiles/client/Client.js +0 -131
  476. package/dist/api/resources/profiles/client/index.d.ts +0 -1
  477. package/dist/api/resources/profiles/client/index.js +0 -17
  478. package/dist/api/resources/profiles/client/requests/ProfilesDeleteRequest.d.ts +0 -17
  479. package/dist/api/resources/profiles/client/requests/ProfilesDeleteRequest.js +0 -5
  480. package/dist/api/resources/profiles/client/requests/index.d.ts +0 -1
  481. package/dist/api/resources/profiles/client/requests/index.js +0 -2
  482. package/dist/api/resources/profiles/index.d.ts +0 -1
  483. package/dist/api/resources/profiles/index.js +0 -17
  484. package/dist/api/resources/requests/client/Client.d.ts +0 -38
  485. package/dist/api/resources/requests/client/Client.js +0 -117
  486. package/dist/api/resources/requests/client/index.d.ts +0 -1
  487. package/dist/api/resources/requests/client/index.js +0 -2
  488. package/dist/api/resources/requests/index.d.ts +0 -1
  489. package/dist/api/resources/requests/index.js +0 -17
  490. package/dist/api/resources/sessions/client/Client.d.ts +0 -92
  491. package/dist/api/resources/sessions/client/Client.js +0 -494
  492. package/dist/api/resources/sessions/client/index.d.ts +0 -1
  493. package/dist/api/resources/sessions/client/index.js +0 -17
  494. package/dist/api/resources/sessions/client/requests/SessionRestInputV1.d.ts +0 -12
  495. package/dist/api/resources/sessions/client/requests/SessionRestInputV1.js +0 -5
  496. package/dist/api/resources/sessions/client/requests/SessionsEventsRequest.d.ts +0 -20
  497. package/dist/api/resources/sessions/client/requests/SessionsEventsRequest.js +0 -5
  498. package/dist/api/resources/sessions/client/requests/SessionsListRequest.d.ts +0 -29
  499. package/dist/api/resources/sessions/client/requests/SessionsListRequest.js +0 -5
  500. package/dist/api/resources/sessions/client/requests/index.d.ts +0 -3
  501. package/dist/api/resources/sessions/client/requests/index.js +0 -2
  502. package/dist/api/resources/sessions/index.d.ts +0 -2
  503. package/dist/api/resources/sessions/index.js +0 -18
  504. package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +0 -22
  505. package/dist/api/resources/sessions/types/SessionsEventsResponse.js +0 -5
  506. package/dist/api/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -11
  507. package/dist/api/resources/sessions/types/SessionsEventsResponseError.js +0 -5
  508. package/dist/api/resources/sessions/types/SessionsEventsResponseSessionEvent.d.ts +0 -11
  509. package/dist/api/resources/sessions/types/SessionsEventsResponseSessionEvent.js +0 -5
  510. package/dist/api/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -11
  511. package/dist/api/resources/sessions/types/SessionsEventsResponseStatus.js +0 -5
  512. package/dist/api/resources/sessions/types/SessionsEventsResponseWindowEvent.d.ts +0 -11
  513. package/dist/api/resources/sessions/types/SessionsEventsResponseWindowEvent.js +0 -5
  514. package/dist/api/resources/sessions/types/SessionsListRequestStatus.d.ts +0 -16
  515. package/dist/api/resources/sessions/types/SessionsListRequestStatus.js +0 -15
  516. package/dist/api/resources/sessions/types/index.d.ts +0 -6
  517. package/dist/api/resources/sessions/types/index.js +0 -22
  518. package/dist/api/resources/windows/client/Client.d.ts +0 -302
  519. package/dist/api/resources/windows/client/Client.js +0 -1264
  520. package/dist/api/resources/windows/client/index.d.ts +0 -1
  521. package/dist/api/resources/windows/client/index.js +0 -17
  522. package/dist/api/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +0 -23
  523. package/dist/api/resources/windows/client/requests/AsyncCreateAutomationRequest.js +0 -5
  524. package/dist/api/resources/windows/client/requests/AsyncCreateFormFillerRequest.d.ts +0 -23
  525. package/dist/api/resources/windows/client/requests/AsyncCreateFormFillerRequest.js +0 -5
  526. package/dist/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -27
  527. package/dist/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -5
  528. package/dist/api/resources/windows/client/requests/AsyncFillFormRequest.d.ts +0 -27
  529. package/dist/api/resources/windows/client/requests/AsyncFillFormRequest.js +0 -5
  530. package/dist/api/resources/windows/client/requests/CreateFormFillerRequest.d.ts +0 -23
  531. package/dist/api/resources/windows/client/requests/CreateFormFillerRequest.js +0 -5
  532. package/dist/api/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +0 -18
  533. package/dist/api/resources/windows/client/requests/CreateWindowInputV1Body.js +0 -5
  534. package/dist/api/resources/windows/client/requests/FillFormRequest.d.ts +0 -27
  535. package/dist/api/resources/windows/client/requests/FillFormRequest.js +0 -5
  536. package/dist/api/resources/windows/client/requests/GetWindowInfoRequest.d.ts +0 -23
  537. package/dist/api/resources/windows/client/requests/GetWindowInfoRequest.js +0 -5
  538. package/dist/api/resources/windows/client/requests/ScrapeContentRequest.d.ts +0 -18
  539. package/dist/api/resources/windows/client/requests/ScrapeContentRequest.js +0 -5
  540. package/dist/api/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +0 -27
  541. package/dist/api/resources/windows/client/requests/SessionClickHandlerRequestBody.js +0 -5
  542. package/dist/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +0 -25
  543. package/dist/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +0 -5
  544. package/dist/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -25
  545. package/dist/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -5
  546. package/dist/api/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.d.ts +0 -25
  547. package/dist/api/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.js +0 -5
  548. package/dist/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +0 -21
  549. package/dist/api/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +0 -5
  550. package/dist/api/resources/windows/client/requests/SessionScrollHandlerRequestBody.d.ts +0 -29
  551. package/dist/api/resources/windows/client/requests/SessionScrollHandlerRequestBody.js +0 -5
  552. package/dist/api/resources/windows/client/requests/SessionSummaryHandlerRequestBody.d.ts +0 -23
  553. package/dist/api/resources/windows/client/requests/SessionSummaryHandlerRequestBody.js +0 -5
  554. package/dist/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +0 -35
  555. package/dist/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +0 -5
  556. package/dist/api/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +0 -18
  557. package/dist/api/resources/windows/client/requests/WindowLoadUrlV1Body.js +0 -5
  558. package/dist/api/resources/windows/client/requests/index.d.ts +0 -18
  559. package/dist/api/resources/windows/client/requests/index.js +0 -2
  560. package/dist/api/resources/windows/index.d.ts +0 -2
  561. package/dist/api/resources/windows/index.js +0 -18
  562. package/dist/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +0 -13
  563. package/dist/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +0 -12
  564. package/dist/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +0 -13
  565. package/dist/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +0 -12
  566. package/dist/api/resources/windows/types/index.d.ts +0 -2
  567. package/dist/api/resources/windows/types/index.js +0 -18
  568. package/dist/api/types/AiPromptResponse.d.ts +0 -10
  569. package/dist/api/types/AiPromptResponse.js +0 -5
  570. package/dist/api/types/AiResponseEnvelope.d.ts +0 -6
  571. package/dist/api/types/AiResponseEnvelope.js +0 -5
  572. package/dist/api/types/AirtopProxyConfiguration.d.ts +0 -9
  573. package/dist/api/types/AirtopProxyConfiguration.js +0 -5
  574. package/dist/api/types/AsyncConfig.d.ts +0 -7
  575. package/dist/api/types/AsyncConfig.js +0 -5
  576. package/dist/api/types/AsyncSessionAiResponseEnvelope.d.ts +0 -9
  577. package/dist/api/types/AsyncSessionAiResponseEnvelope.js +0 -5
  578. package/dist/api/types/AutomationOutput.d.ts +0 -10
  579. package/dist/api/types/AutomationOutput.js +0 -5
  580. package/dist/api/types/BrowserWaitNavigationConfig.d.ts +0 -10
  581. package/dist/api/types/BrowserWaitNavigationConfig.js +0 -5
  582. package/dist/api/types/BrowserWaitNavigationConfigWaitUntil.d.ts +0 -13
  583. package/dist/api/types/BrowserWaitNavigationConfigWaitUntil.js +0 -12
  584. package/dist/api/types/ClickConfig.d.ts +0 -14
  585. package/dist/api/types/ClickConfig.js +0 -5
  586. package/dist/api/types/ClickConfigClickType.d.ts +0 -12
  587. package/dist/api/types/ClickConfigClickType.js +0 -11
  588. package/dist/api/types/ClientProvidedResponseMetadata.d.ts +0 -6
  589. package/dist/api/types/ClientProvidedResponseMetadata.js +0 -5
  590. package/dist/api/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -4
  591. package/dist/api/types/CreateAutomationRequestBodyConfiguration.js +0 -5
  592. package/dist/api/types/DeleteAutomationOutputWrapperBody.d.ts +0 -4
  593. package/dist/api/types/DeleteAutomationOutputWrapperBody.js +0 -5
  594. package/dist/api/types/EnvelopeDefaultMeta.d.ts +0 -6
  595. package/dist/api/types/EnvelopeDefaultMeta.js +0 -5
  596. package/dist/api/types/ErrorBody.d.ts +0 -9
  597. package/dist/api/types/ErrorBody.js +0 -5
  598. package/dist/api/types/ErrorDetail.d.ts +0 -10
  599. package/dist/api/types/ErrorDetail.js +0 -5
  600. package/dist/api/types/ErrorMessage.d.ts +0 -11
  601. package/dist/api/types/ErrorMessage.js +0 -5
  602. package/dist/api/types/ErrorModel.d.ts +0 -18
  603. package/dist/api/types/ErrorModel.js +0 -5
  604. package/dist/api/types/ExternalSessionAiResponseMetadata.d.ts +0 -13
  605. package/dist/api/types/ExternalSessionAiResponseMetadata.js +0 -5
  606. package/dist/api/types/ExternalSessionAiResponseMetadataStatus.d.ts +0 -12
  607. package/dist/api/types/ExternalSessionAiResponseMetadataStatus.js +0 -11
  608. package/dist/api/types/ExternalSessionAiResponseMetadataUsage.d.ts +0 -9
  609. package/dist/api/types/ExternalSessionAiResponseMetadataUsage.js +0 -5
  610. package/dist/api/types/ExternalSessionConfig.d.ts +0 -11
  611. package/dist/api/types/ExternalSessionConfig.js +0 -5
  612. package/dist/api/types/ExternalSessionWithConnectionInfo.d.ts +0 -26
  613. package/dist/api/types/ExternalSessionWithConnectionInfo.js +0 -5
  614. package/dist/api/types/IntervalMonitorConfig.d.ts +0 -9
  615. package/dist/api/types/IntervalMonitorConfig.js +0 -5
  616. package/dist/api/types/Issue.d.ts +0 -13
  617. package/dist/api/types/Issue.js +0 -5
  618. package/dist/api/types/ListAutomationsOutput.d.ts +0 -7
  619. package/dist/api/types/ListAutomationsOutput.js +0 -5
  620. package/dist/api/types/MicroInteractionConfig.d.ts +0 -10
  621. package/dist/api/types/MicroInteractionConfig.js +0 -5
  622. package/dist/api/types/MicroInteractionConfigWithExperimental.d.ts +0 -12
  623. package/dist/api/types/MicroInteractionConfigWithExperimental.js +0 -5
  624. package/dist/api/types/MicroInteractionExperimentalConfig.d.ts +0 -7
  625. package/dist/api/types/MicroInteractionExperimentalConfig.js +0 -5
  626. package/dist/api/types/MonitorConfig.d.ts +0 -10
  627. package/dist/api/types/MonitorConfig.js +0 -5
  628. package/dist/api/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -12
  629. package/dist/api/types/MonitorConfigIncludeVisualAnalysis.js +0 -11
  630. package/dist/api/types/OperationOutcome.d.ts +0 -7
  631. package/dist/api/types/OperationOutcome.js +0 -5
  632. package/dist/api/types/OperationOutcomeResponse.d.ts +0 -10
  633. package/dist/api/types/OperationOutcomeResponse.js +0 -5
  634. package/dist/api/types/PageQueryConfig.d.ts +0 -12
  635. package/dist/api/types/PageQueryConfig.js +0 -5
  636. package/dist/api/types/PageQueryExperimentalConfig.d.ts +0 -7
  637. package/dist/api/types/PageQueryExperimentalConfig.js +0 -5
  638. package/dist/api/types/PaginatedExtractionConfig.d.ts +0 -16
  639. package/dist/api/types/PaginatedExtractionConfig.js +0 -5
  640. package/dist/api/types/PaginatedExtractionExperimentalConfig.d.ts +0 -7
  641. package/dist/api/types/PaginatedExtractionExperimentalConfig.js +0 -5
  642. package/dist/api/types/Pagination.d.ts +0 -21
  643. package/dist/api/types/Pagination.js +0 -5
  644. package/dist/api/types/Proxy.d.ts +0 -14
  645. package/dist/api/types/Proxy.js +0 -5
  646. package/dist/api/types/ProxyConfigurationKind.d.ts +0 -9
  647. package/dist/api/types/ProxyConfigurationKind.js +0 -5
  648. package/dist/api/types/ProxyCredentials.d.ts +0 -11
  649. package/dist/api/types/ProxyCredentials.js +0 -5
  650. package/dist/api/types/RequestStatusResponse.d.ts +0 -8
  651. package/dist/api/types/RequestStatusResponse.js +0 -5
  652. package/dist/api/types/ScrapeConfig.d.ts +0 -7
  653. package/dist/api/types/ScrapeConfig.js +0 -5
  654. package/dist/api/types/ScrapeResponse.d.ts +0 -10
  655. package/dist/api/types/ScrapeResponse.js +0 -5
  656. package/dist/api/types/ScrapeResponseContent.d.ts +0 -9
  657. package/dist/api/types/ScrapeResponseContent.js +0 -5
  658. package/dist/api/types/ScrapeResponseEnvelope.d.ts +0 -8
  659. package/dist/api/types/ScrapeResponseEnvelope.js +0 -5
  660. package/dist/api/types/ScrapeResponseOutput.d.ts +0 -12
  661. package/dist/api/types/ScrapeResponseOutput.js +0 -5
  662. package/dist/api/types/ScreenshotConfig.d.ts +0 -13
  663. package/dist/api/types/ScreenshotConfig.js +0 -5
  664. package/dist/api/types/ScreenshotMetadata.d.ts +0 -7
  665. package/dist/api/types/ScreenshotMetadata.js +0 -5
  666. package/dist/api/types/ScreenshotRequestConfig.d.ts +0 -8
  667. package/dist/api/types/ScreenshotRequestConfig.js +0 -5
  668. package/dist/api/types/ScrollByConfig.d.ts +0 -9
  669. package/dist/api/types/ScrollByConfig.js +0 -5
  670. package/dist/api/types/ScrollToEdgeConfig.d.ts +0 -9
  671. package/dist/api/types/ScrollToEdgeConfig.js +0 -5
  672. package/dist/api/types/SessionConfigV1.d.ts +0 -18
  673. package/dist/api/types/SessionConfigV1.js +0 -5
  674. package/dist/api/types/SessionConfigV1Proxy.d.ts +0 -17
  675. package/dist/api/types/SessionConfigV1Proxy.js +0 -5
  676. package/dist/api/types/SessionEventMessage.d.ts +0 -17
  677. package/dist/api/types/SessionEventMessage.js +0 -5
  678. package/dist/api/types/SessionPageQueryHandlerRequestBody.d.ts +0 -21
  679. package/dist/api/types/SessionPageQueryHandlerRequestBody.js +0 -5
  680. package/dist/api/types/SessionResponse.d.ts +0 -10
  681. package/dist/api/types/SessionResponse.js +0 -5
  682. package/dist/api/types/SessionsResponse.d.ts +0 -10
  683. package/dist/api/types/SessionsResponse.js +0 -5
  684. package/dist/api/types/SessionsWithPagination.d.ts +0 -10
  685. package/dist/api/types/SessionsWithPagination.js +0 -5
  686. package/dist/api/types/StatusMessage.d.ts +0 -16
  687. package/dist/api/types/StatusMessage.js +0 -5
  688. package/dist/api/types/StatusMessageStatus.d.ts +0 -15
  689. package/dist/api/types/StatusMessageStatus.js +0 -14
  690. package/dist/api/types/SummaryConfig.d.ts +0 -9
  691. package/dist/api/types/SummaryConfig.js +0 -5
  692. package/dist/api/types/SummaryExperimentalConfig.d.ts +0 -7
  693. package/dist/api/types/SummaryExperimentalConfig.js +0 -5
  694. package/dist/api/types/VisualAnalysisConfig.d.ts +0 -18
  695. package/dist/api/types/VisualAnalysisConfig.js +0 -5
  696. package/dist/api/types/VisualAnalysisConfigPartitionDirection.d.ts +0 -12
  697. package/dist/api/types/VisualAnalysisConfigPartitionDirection.js +0 -11
  698. package/dist/api/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +0 -12
  699. package/dist/api/types/VisualAnalysisConfigResultSelectionStrategy.js +0 -11
  700. package/dist/api/types/VisualAnalysisConfigScope.d.ts +0 -13
  701. package/dist/api/types/VisualAnalysisConfigScope.js +0 -12
  702. package/dist/api/types/Window.d.ts +0 -11
  703. package/dist/api/types/Window.js +0 -5
  704. package/dist/api/types/WindowEventMessage.d.ts +0 -19
  705. package/dist/api/types/WindowEventMessage.js +0 -5
  706. package/dist/api/types/WindowId.d.ts +0 -9
  707. package/dist/api/types/WindowId.js +0 -5
  708. package/dist/api/types/WindowIdResponse.d.ts +0 -10
  709. package/dist/api/types/WindowIdResponse.js +0 -5
  710. package/dist/api/types/WindowResponse.d.ts +0 -10
  711. package/dist/api/types/WindowResponse.js +0 -5
  712. package/dist/api/types/index.d.ts +0 -72
  713. package/dist/api/types/index.js +0 -88
  714. package/dist/core/auth/BasicAuth.d.ts +0 -8
  715. package/dist/core/auth/BasicAuth.js +0 -26
  716. package/dist/core/auth/BearerToken.d.ts +0 -5
  717. package/dist/core/auth/BearerToken.js +0 -15
  718. package/dist/core/auth/index.d.ts +0 -2
  719. package/dist/core/auth/index.js +0 -7
  720. package/dist/core/fetcher/APIResponse.d.ts +0 -10
  721. package/dist/core/fetcher/APIResponse.js +0 -2
  722. package/dist/core/fetcher/Fetcher.d.ts +0 -39
  723. package/dist/core/fetcher/Fetcher.js +0 -100
  724. package/dist/core/fetcher/Supplier.d.ts +0 -4
  725. package/dist/core/fetcher/Supplier.js +0 -22
  726. package/dist/core/fetcher/createRequestUrl.d.ts +0 -1
  727. package/dist/core/fetcher/createRequestUrl.js +0 -12
  728. package/dist/core/fetcher/getFetchFn.d.ts +0 -4
  729. package/dist/core/fetcher/getFetchFn.js +0 -68
  730. package/dist/core/fetcher/getHeader.d.ts +0 -1
  731. package/dist/core/fetcher/getHeader.js +0 -11
  732. package/dist/core/fetcher/getRequestBody.d.ts +0 -7
  733. package/dist/core/fetcher/getRequestBody.js +0 -23
  734. package/dist/core/fetcher/getResponseBody.d.ts +0 -1
  735. package/dist/core/fetcher/getResponseBody.js +0 -54
  736. package/dist/core/fetcher/index.d.ts +0 -5
  737. package/dist/core/fetcher/index.js +0 -9
  738. package/dist/core/fetcher/makeRequest.d.ts +0 -1
  739. package/dist/core/fetcher/makeRequest.js +0 -42
  740. package/dist/core/fetcher/requestWithRetries.d.ts +0 -1
  741. package/dist/core/fetcher/requestWithRetries.js +0 -40
  742. package/dist/core/fetcher/signals.d.ts +0 -11
  743. package/dist/core/fetcher/signals.js +0 -36
  744. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
  745. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
  746. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
  747. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
  748. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
  749. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
  750. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
  751. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
  752. package/dist/core/index.d.ts +0 -5
  753. package/dist/core/index.js +0 -44
  754. package/dist/core/json.d.ts +0 -15
  755. package/dist/core/json.js +0 -24
  756. package/dist/core/runtime/index.d.ts +0 -1
  757. package/dist/core/runtime/index.js +0 -5
  758. package/dist/core/runtime/runtime.d.ts +0 -9
  759. package/dist/core/runtime/runtime.js +0 -103
  760. package/dist/core/schemas/Schema.d.ts +0 -87
  761. package/dist/core/schemas/Schema.js +0 -24
  762. package/dist/core/schemas/builders/bigint/bigint.d.ts +0 -2
  763. package/dist/core/schemas/builders/bigint/bigint.js +0 -53
  764. package/dist/core/schemas/builders/bigint/index.d.ts +0 -1
  765. package/dist/core/schemas/builders/bigint/index.js +0 -5
  766. package/dist/core/schemas/builders/date/date.d.ts +0 -2
  767. package/dist/core/schemas/builders/date/date.js +0 -62
  768. package/dist/core/schemas/builders/date/index.d.ts +0 -1
  769. package/dist/core/schemas/builders/date/index.js +0 -5
  770. package/dist/core/schemas/builders/enum/enum.d.ts +0 -2
  771. package/dist/core/schemas/builders/enum/enum.js +0 -38
  772. package/dist/core/schemas/builders/enum/index.d.ts +0 -1
  773. package/dist/core/schemas/builders/enum/index.js +0 -5
  774. package/dist/core/schemas/builders/index.d.ts +0 -14
  775. package/dist/core/schemas/builders/index.js +0 -30
  776. package/dist/core/schemas/builders/lazy/index.d.ts +0 -3
  777. package/dist/core/schemas/builders/lazy/index.js +0 -7
  778. package/dist/core/schemas/builders/lazy/lazy.d.ts +0 -5
  779. package/dist/core/schemas/builders/lazy/lazy.js +0 -24
  780. package/dist/core/schemas/builders/lazy/lazyObject.d.ts +0 -3
  781. package/dist/core/schemas/builders/lazy/lazyObject.js +0 -11
  782. package/dist/core/schemas/builders/list/index.d.ts +0 -1
  783. package/dist/core/schemas/builders/list/index.js +0 -5
  784. package/dist/core/schemas/builders/list/list.d.ts +0 -2
  785. package/dist/core/schemas/builders/list/list.js +0 -54
  786. package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +0 -2
  787. package/dist/core/schemas/builders/literals/booleanLiteral.js +0 -28
  788. package/dist/core/schemas/builders/literals/index.d.ts +0 -2
  789. package/dist/core/schemas/builders/literals/index.js +0 -7
  790. package/dist/core/schemas/builders/literals/stringLiteral.d.ts +0 -2
  791. package/dist/core/schemas/builders/literals/stringLiteral.js +0 -28
  792. package/dist/core/schemas/builders/object/index.d.ts +0 -6
  793. package/dist/core/schemas/builders/object/index.js +0 -11
  794. package/dist/core/schemas/builders/object/object.d.ts +0 -3
  795. package/dist/core/schemas/builders/object/object.js +0 -261
  796. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +0 -6
  797. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +0 -7
  798. package/dist/core/schemas/builders/object/property.d.ts +0 -8
  799. package/dist/core/schemas/builders/object/property.js +0 -15
  800. package/dist/core/schemas/builders/object/types.d.ts +0 -31
  801. package/dist/core/schemas/builders/object/types.js +0 -2
  802. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +0 -9
  803. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +0 -53
  804. package/dist/core/schemas/builders/object-like/index.d.ts +0 -2
  805. package/dist/core/schemas/builders/object-like/index.js +0 -6
  806. package/dist/core/schemas/builders/object-like/types.d.ts +0 -7
  807. package/dist/core/schemas/builders/object-like/types.js +0 -2
  808. package/dist/core/schemas/builders/primitives/any.d.ts +0 -1
  809. package/dist/core/schemas/builders/primitives/any.js +0 -6
  810. package/dist/core/schemas/builders/primitives/boolean.d.ts +0 -1
  811. package/dist/core/schemas/builders/primitives/boolean.js +0 -25
  812. package/dist/core/schemas/builders/primitives/index.d.ts +0 -5
  813. package/dist/core/schemas/builders/primitives/index.js +0 -13
  814. package/dist/core/schemas/builders/primitives/number.d.ts +0 -1
  815. package/dist/core/schemas/builders/primitives/number.js +0 -25
  816. package/dist/core/schemas/builders/primitives/string.d.ts +0 -1
  817. package/dist/core/schemas/builders/primitives/string.js +0 -25
  818. package/dist/core/schemas/builders/primitives/unknown.d.ts +0 -1
  819. package/dist/core/schemas/builders/primitives/unknown.js +0 -6
  820. package/dist/core/schemas/builders/record/index.d.ts +0 -2
  821. package/dist/core/schemas/builders/record/index.js +0 -5
  822. package/dist/core/schemas/builders/record/record.d.ts +0 -3
  823. package/dist/core/schemas/builders/record/record.js +0 -93
  824. package/dist/core/schemas/builders/record/types.d.ts +0 -4
  825. package/dist/core/schemas/builders/record/types.js +0 -2
  826. package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +0 -5
  827. package/dist/core/schemas/builders/schema-utils/JsonError.js +0 -12
  828. package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +0 -5
  829. package/dist/core/schemas/builders/schema-utils/ParseError.js +0 -12
  830. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +0 -21
  831. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +0 -145
  832. package/dist/core/schemas/builders/schema-utils/index.d.ts +0 -4
  833. package/dist/core/schemas/builders/schema-utils/index.js +0 -11
  834. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +0 -2
  835. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +0 -9
  836. package/dist/core/schemas/builders/set/index.d.ts +0 -1
  837. package/dist/core/schemas/builders/set/index.js +0 -5
  838. package/dist/core/schemas/builders/set/set.d.ts +0 -2
  839. package/dist/core/schemas/builders/set/set.js +0 -43
  840. package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +0 -2
  841. package/dist/core/schemas/builders/undiscriminated-union/index.js +0 -5
  842. package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +0 -4
  843. package/dist/core/schemas/builders/undiscriminated-union/types.js +0 -2
  844. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +0 -3
  845. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +0 -39
  846. package/dist/core/schemas/builders/union/discriminant.d.ts +0 -5
  847. package/dist/core/schemas/builders/union/discriminant.js +0 -9
  848. package/dist/core/schemas/builders/union/index.d.ts +0 -4
  849. package/dist/core/schemas/builders/union/index.js +0 -7
  850. package/dist/core/schemas/builders/union/types.d.ts +0 -13
  851. package/dist/core/schemas/builders/union/types.js +0 -2
  852. package/dist/core/schemas/builders/union/union.d.ts +0 -4
  853. package/dist/core/schemas/builders/union/union.js +0 -129
  854. package/dist/core/schemas/index.d.ts +0 -2
  855. package/dist/core/schemas/index.js +0 -17
  856. package/dist/core/schemas/utils/MaybePromise.d.ts +0 -1
  857. package/dist/core/schemas/utils/MaybePromise.js +0 -2
  858. package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +0 -7
  859. package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +0 -2
  860. package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +0 -2
  861. package/dist/core/schemas/utils/createIdentitySchemaCreator.js +0 -15
  862. package/dist/core/schemas/utils/entries.d.ts +0 -1
  863. package/dist/core/schemas/utils/entries.js +0 -6
  864. package/dist/core/schemas/utils/filterObject.d.ts +0 -1
  865. package/dist/core/schemas/utils/filterObject.js +0 -13
  866. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +0 -1
  867. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +0 -27
  868. package/dist/core/schemas/utils/isPlainObject.d.ts +0 -1
  869. package/dist/core/schemas/utils/isPlainObject.js +0 -17
  870. package/dist/core/schemas/utils/keys.d.ts +0 -1
  871. package/dist/core/schemas/utils/keys.js +0 -6
  872. package/dist/core/schemas/utils/maybeSkipValidation.d.ts +0 -2
  873. package/dist/core/schemas/utils/maybeSkipValidation.js +0 -27
  874. package/dist/core/schemas/utils/partition.d.ts +0 -1
  875. package/dist/core/schemas/utils/partition.js +0 -15
  876. package/dist/core/streaming-fetcher/Stream.d.ts +0 -47
  877. package/dist/core/streaming-fetcher/Stream.js +0 -169
  878. package/dist/core/streaming-fetcher/index.d.ts +0 -1
  879. package/dist/core/streaming-fetcher/index.js +0 -5
  880. package/dist/environments.d.ts +0 -7
  881. package/dist/environments.js +0 -9
  882. package/dist/errors/AirtopError.d.ts +0 -12
  883. package/dist/errors/AirtopError.js +0 -33
  884. package/dist/errors/AirtopTimeoutError.d.ts +0 -6
  885. package/dist/errors/AirtopTimeoutError.js +0 -13
  886. package/dist/errors/index.d.ts +0 -2
  887. package/dist/errors/index.js +0 -7
  888. package/dist/live-view/types.d.ts +0 -24
  889. package/dist/live-view/types.js +0 -16
  890. package/dist/serialization/index.d.ts +0 -2
  891. package/dist/serialization/index.js +0 -18
  892. package/dist/serialization/resources/automations/client/index.d.ts +0 -1
  893. package/dist/serialization/resources/automations/client/index.js +0 -17
  894. package/dist/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +0 -14
  895. package/dist/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +0 -45
  896. package/dist/serialization/resources/automations/client/requests/index.d.ts +0 -1
  897. package/dist/serialization/resources/automations/client/requests/index.js +0 -5
  898. package/dist/serialization/resources/automations/index.d.ts +0 -1
  899. package/dist/serialization/resources/automations/index.js +0 -17
  900. package/dist/serialization/resources/index.d.ts +0 -8
  901. package/dist/serialization/resources/index.js +0 -47
  902. package/dist/serialization/resources/sessions/client/index.d.ts +0 -1
  903. package/dist/serialization/resources/sessions/client/index.js +0 -17
  904. package/dist/serialization/resources/sessions/client/requests/SessionRestInputV1.d.ts +0 -13
  905. package/dist/serialization/resources/sessions/client/requests/SessionRestInputV1.js +0 -44
  906. package/dist/serialization/resources/sessions/client/requests/index.d.ts +0 -1
  907. package/dist/serialization/resources/sessions/client/requests/index.js +0 -5
  908. package/dist/serialization/resources/sessions/index.d.ts +0 -2
  909. package/dist/serialization/resources/sessions/index.js +0 -18
  910. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +0 -26
  911. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +0 -55
  912. package/dist/serialization/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -15
  913. package/dist/serialization/resources/sessions/types/SessionsEventsResponseError.js +0 -46
  914. package/dist/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.d.ts +0 -15
  915. package/dist/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.js +0 -46
  916. package/dist/serialization/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -15
  917. package/dist/serialization/resources/sessions/types/SessionsEventsResponseStatus.js +0 -46
  918. package/dist/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.d.ts +0 -15
  919. package/dist/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.js +0 -46
  920. package/dist/serialization/resources/sessions/types/SessionsListRequestStatus.d.ts +0 -10
  921. package/dist/serialization/resources/sessions/types/SessionsListRequestStatus.js +0 -41
  922. package/dist/serialization/resources/sessions/types/index.d.ts +0 -6
  923. package/dist/serialization/resources/sessions/types/index.js +0 -22
  924. package/dist/serialization/resources/windows/client/index.d.ts +0 -1
  925. package/dist/serialization/resources/windows/client/index.js +0 -17
  926. package/dist/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +0 -18
  927. package/dist/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.js +0 -49
  928. package/dist/serialization/resources/windows/client/requests/AsyncCreateFormFillerRequest.d.ts +0 -18
  929. package/dist/serialization/resources/windows/client/requests/AsyncCreateFormFillerRequest.js +0 -49
  930. package/dist/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -18
  931. package/dist/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -49
  932. package/dist/serialization/resources/windows/client/requests/AsyncFillFormRequest.d.ts +0 -18
  933. package/dist/serialization/resources/windows/client/requests/AsyncFillFormRequest.js +0 -49
  934. package/dist/serialization/resources/windows/client/requests/CreateFormFillerRequest.d.ts +0 -18
  935. package/dist/serialization/resources/windows/client/requests/CreateFormFillerRequest.js +0 -49
  936. package/dist/serialization/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +0 -16
  937. package/dist/serialization/resources/windows/client/requests/CreateWindowInputV1Body.js +0 -47
  938. package/dist/serialization/resources/windows/client/requests/FillFormRequest.d.ts +0 -18
  939. package/dist/serialization/resources/windows/client/requests/FillFormRequest.js +0 -49
  940. package/dist/serialization/resources/windows/client/requests/ScrapeContentRequest.d.ts +0 -14
  941. package/dist/serialization/resources/windows/client/requests/ScrapeContentRequest.js +0 -45
  942. package/dist/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +0 -18
  943. package/dist/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.js +0 -49
  944. package/dist/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +0 -17
  945. package/dist/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +0 -48
  946. package/dist/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -17
  947. package/dist/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -48
  948. package/dist/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.d.ts +0 -17
  949. package/dist/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.js +0 -48
  950. package/dist/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +0 -16
  951. package/dist/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +0 -47
  952. package/dist/serialization/resources/windows/client/requests/SessionScrollHandlerRequestBody.d.ts +0 -22
  953. package/dist/serialization/resources/windows/client/requests/SessionScrollHandlerRequestBody.js +0 -53
  954. package/dist/serialization/resources/windows/client/requests/SessionSummaryHandlerRequestBody.d.ts +0 -17
  955. package/dist/serialization/resources/windows/client/requests/SessionSummaryHandlerRequestBody.js +0 -48
  956. package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +0 -22
  957. package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +0 -53
  958. package/dist/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +0 -15
  959. package/dist/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.js +0 -46
  960. package/dist/serialization/resources/windows/client/requests/index.d.ts +0 -17
  961. package/dist/serialization/resources/windows/client/requests/index.js +0 -37
  962. package/dist/serialization/resources/windows/index.d.ts +0 -2
  963. package/dist/serialization/resources/windows/index.js +0 -18
  964. package/dist/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +0 -10
  965. package/dist/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +0 -41
  966. package/dist/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +0 -10
  967. package/dist/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +0 -41
  968. package/dist/serialization/resources/windows/types/index.d.ts +0 -2
  969. package/dist/serialization/resources/windows/types/index.js +0 -18
  970. package/dist/serialization/types/AiPromptResponse.d.ts +0 -18
  971. package/dist/serialization/types/AiPromptResponse.js +0 -49
  972. package/dist/serialization/types/AiResponseEnvelope.d.ts +0 -12
  973. package/dist/serialization/types/AiResponseEnvelope.js +0 -43
  974. package/dist/serialization/types/AirtopProxyConfiguration.d.ts +0 -13
  975. package/dist/serialization/types/AirtopProxyConfiguration.js +0 -44
  976. package/dist/serialization/types/AsyncConfig.d.ts +0 -12
  977. package/dist/serialization/types/AsyncConfig.js +0 -43
  978. package/dist/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +0 -15
  979. package/dist/serialization/types/AsyncSessionAiResponseEnvelope.js +0 -46
  980. package/dist/serialization/types/AutomationOutput.d.ts +0 -16
  981. package/dist/serialization/types/AutomationOutput.js +0 -47
  982. package/dist/serialization/types/BrowserWaitNavigationConfig.d.ts +0 -14
  983. package/dist/serialization/types/BrowserWaitNavigationConfig.js +0 -45
  984. package/dist/serialization/types/BrowserWaitNavigationConfigWaitUntil.d.ts +0 -10
  985. package/dist/serialization/types/BrowserWaitNavigationConfigWaitUntil.js +0 -41
  986. package/dist/serialization/types/ClickConfig.d.ts +0 -19
  987. package/dist/serialization/types/ClickConfig.js +0 -50
  988. package/dist/serialization/types/ClickConfigClickType.d.ts +0 -10
  989. package/dist/serialization/types/ClickConfigClickType.js +0 -41
  990. package/dist/serialization/types/ClientProvidedResponseMetadata.d.ts +0 -12
  991. package/dist/serialization/types/ClientProvidedResponseMetadata.js +0 -43
  992. package/dist/serialization/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -10
  993. package/dist/serialization/types/CreateAutomationRequestBodyConfiguration.js +0 -41
  994. package/dist/serialization/types/DeleteAutomationOutputWrapperBody.d.ts +0 -10
  995. package/dist/serialization/types/DeleteAutomationOutputWrapperBody.js +0 -41
  996. package/dist/serialization/types/EnvelopeDefaultMeta.d.ts +0 -12
  997. package/dist/serialization/types/EnvelopeDefaultMeta.js +0 -43
  998. package/dist/serialization/types/ErrorBody.d.ts +0 -13
  999. package/dist/serialization/types/ErrorBody.js +0 -44
  1000. package/dist/serialization/types/ErrorDetail.d.ts +0 -14
  1001. package/dist/serialization/types/ErrorDetail.js +0 -45
  1002. package/dist/serialization/types/ErrorMessage.d.ts +0 -14
  1003. package/dist/serialization/types/ErrorMessage.js +0 -45
  1004. package/dist/serialization/types/ErrorModel.d.ts +0 -18
  1005. package/dist/serialization/types/ErrorModel.js +0 -49
  1006. package/dist/serialization/types/ExternalSessionAiResponseMetadata.d.ts +0 -20
  1007. package/dist/serialization/types/ExternalSessionAiResponseMetadata.js +0 -51
  1008. package/dist/serialization/types/ExternalSessionAiResponseMetadataStatus.d.ts +0 -10
  1009. package/dist/serialization/types/ExternalSessionAiResponseMetadataStatus.js +0 -41
  1010. package/dist/serialization/types/ExternalSessionAiResponseMetadataUsage.d.ts +0 -13
  1011. package/dist/serialization/types/ExternalSessionAiResponseMetadataUsage.js +0 -44
  1012. package/dist/serialization/types/ExternalSessionConfig.d.ts +0 -14
  1013. package/dist/serialization/types/ExternalSessionConfig.js +0 -45
  1014. package/dist/serialization/types/ExternalSessionWithConnectionInfo.d.ts +0 -22
  1015. package/dist/serialization/types/ExternalSessionWithConnectionInfo.js +0 -53
  1016. package/dist/serialization/types/IntervalMonitorConfig.d.ts +0 -13
  1017. package/dist/serialization/types/IntervalMonitorConfig.js +0 -44
  1018. package/dist/serialization/types/Issue.d.ts +0 -15
  1019. package/dist/serialization/types/Issue.js +0 -46
  1020. package/dist/serialization/types/ListAutomationsOutput.d.ts +0 -13
  1021. package/dist/serialization/types/ListAutomationsOutput.js +0 -44
  1022. package/dist/serialization/types/MicroInteractionConfig.d.ts +0 -15
  1023. package/dist/serialization/types/MicroInteractionConfig.js +0 -46
  1024. package/dist/serialization/types/MicroInteractionConfigWithExperimental.d.ts +0 -17
  1025. package/dist/serialization/types/MicroInteractionConfigWithExperimental.js +0 -48
  1026. package/dist/serialization/types/MicroInteractionExperimentalConfig.d.ts +0 -12
  1027. package/dist/serialization/types/MicroInteractionExperimentalConfig.js +0 -43
  1028. package/dist/serialization/types/MonitorConfig.d.ts +0 -15
  1029. package/dist/serialization/types/MonitorConfig.js +0 -46
  1030. package/dist/serialization/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -10
  1031. package/dist/serialization/types/MonitorConfigIncludeVisualAnalysis.js +0 -41
  1032. package/dist/serialization/types/OperationOutcome.d.ts +0 -12
  1033. package/dist/serialization/types/OperationOutcome.js +0 -43
  1034. package/dist/serialization/types/OperationOutcomeResponse.d.ts +0 -18
  1035. package/dist/serialization/types/OperationOutcomeResponse.js +0 -49
  1036. package/dist/serialization/types/PageQueryConfig.d.ts +0 -16
  1037. package/dist/serialization/types/PageQueryConfig.js +0 -47
  1038. package/dist/serialization/types/PageQueryExperimentalConfig.d.ts +0 -12
  1039. package/dist/serialization/types/PageQueryExperimentalConfig.js +0 -43
  1040. package/dist/serialization/types/PaginatedExtractionConfig.d.ts +0 -18
  1041. package/dist/serialization/types/PaginatedExtractionConfig.js +0 -49
  1042. package/dist/serialization/types/PaginatedExtractionExperimentalConfig.d.ts +0 -12
  1043. package/dist/serialization/types/PaginatedExtractionExperimentalConfig.js +0 -43
  1044. package/dist/serialization/types/Pagination.d.ts +0 -19
  1045. package/dist/serialization/types/Pagination.js +0 -50
  1046. package/dist/serialization/types/Proxy.d.ts +0 -12
  1047. package/dist/serialization/types/Proxy.js +0 -43
  1048. package/dist/serialization/types/ProxyConfigurationKind.d.ts +0 -14
  1049. package/dist/serialization/types/ProxyConfigurationKind.js +0 -45
  1050. package/dist/serialization/types/ProxyCredentials.d.ts +0 -14
  1051. package/dist/serialization/types/ProxyCredentials.js +0 -45
  1052. package/dist/serialization/types/RequestStatusResponse.d.ts +0 -13
  1053. package/dist/serialization/types/RequestStatusResponse.js +0 -44
  1054. package/dist/serialization/types/ScrapeConfig.d.ts +0 -12
  1055. package/dist/serialization/types/ScrapeConfig.js +0 -43
  1056. package/dist/serialization/types/ScrapeResponse.d.ts +0 -18
  1057. package/dist/serialization/types/ScrapeResponse.js +0 -49
  1058. package/dist/serialization/types/ScrapeResponseContent.d.ts +0 -13
  1059. package/dist/serialization/types/ScrapeResponseContent.js +0 -44
  1060. package/dist/serialization/types/ScrapeResponseEnvelope.d.ts +0 -13
  1061. package/dist/serialization/types/ScrapeResponseEnvelope.js +0 -44
  1062. package/dist/serialization/types/ScrapeResponseOutput.d.ts +0 -15
  1063. package/dist/serialization/types/ScrapeResponseOutput.js +0 -46
  1064. package/dist/serialization/types/ScreenshotConfig.d.ts +0 -15
  1065. package/dist/serialization/types/ScreenshotConfig.js +0 -46
  1066. package/dist/serialization/types/ScreenshotMetadata.d.ts +0 -12
  1067. package/dist/serialization/types/ScreenshotMetadata.js +0 -43
  1068. package/dist/serialization/types/ScreenshotRequestConfig.d.ts +0 -13
  1069. package/dist/serialization/types/ScreenshotRequestConfig.js +0 -44
  1070. package/dist/serialization/types/ScrollByConfig.d.ts +0 -13
  1071. package/dist/serialization/types/ScrollByConfig.js +0 -44
  1072. package/dist/serialization/types/ScrollToEdgeConfig.d.ts +0 -13
  1073. package/dist/serialization/types/ScrollToEdgeConfig.js +0 -44
  1074. package/dist/serialization/types/SessionConfigV1.d.ts +0 -18
  1075. package/dist/serialization/types/SessionConfigV1.js +0 -49
  1076. package/dist/serialization/types/SessionConfigV1Proxy.d.ts +0 -12
  1077. package/dist/serialization/types/SessionConfigV1Proxy.js +0 -47
  1078. package/dist/serialization/types/SessionEventMessage.d.ts +0 -18
  1079. package/dist/serialization/types/SessionEventMessage.js +0 -49
  1080. package/dist/serialization/types/SessionPageQueryHandlerRequestBody.d.ts +0 -18
  1081. package/dist/serialization/types/SessionPageQueryHandlerRequestBody.js +0 -49
  1082. package/dist/serialization/types/SessionResponse.d.ts +0 -18
  1083. package/dist/serialization/types/SessionResponse.js +0 -49
  1084. package/dist/serialization/types/SessionsResponse.d.ts +0 -18
  1085. package/dist/serialization/types/SessionsResponse.js +0 -49
  1086. package/dist/serialization/types/SessionsWithPagination.d.ts +0 -15
  1087. package/dist/serialization/types/SessionsWithPagination.js +0 -46
  1088. package/dist/serialization/types/StatusMessage.d.ts +0 -17
  1089. package/dist/serialization/types/StatusMessage.js +0 -48
  1090. package/dist/serialization/types/StatusMessageStatus.d.ts +0 -10
  1091. package/dist/serialization/types/StatusMessageStatus.js +0 -41
  1092. package/dist/serialization/types/SummaryConfig.d.ts +0 -14
  1093. package/dist/serialization/types/SummaryConfig.js +0 -45
  1094. package/dist/serialization/types/SummaryExperimentalConfig.d.ts +0 -12
  1095. package/dist/serialization/types/SummaryExperimentalConfig.js +0 -43
  1096. package/dist/serialization/types/VisualAnalysisConfig.d.ts +0 -20
  1097. package/dist/serialization/types/VisualAnalysisConfig.js +0 -51
  1098. package/dist/serialization/types/VisualAnalysisConfigPartitionDirection.d.ts +0 -10
  1099. package/dist/serialization/types/VisualAnalysisConfigPartitionDirection.js +0 -41
  1100. package/dist/serialization/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +0 -10
  1101. package/dist/serialization/types/VisualAnalysisConfigResultSelectionStrategy.js +0 -41
  1102. package/dist/serialization/types/VisualAnalysisConfigScope.d.ts +0 -10
  1103. package/dist/serialization/types/VisualAnalysisConfigScope.js +0 -41
  1104. package/dist/serialization/types/Window.d.ts +0 -14
  1105. package/dist/serialization/types/Window.js +0 -45
  1106. package/dist/serialization/types/WindowEventMessage.d.ts +0 -19
  1107. package/dist/serialization/types/WindowEventMessage.js +0 -50
  1108. package/dist/serialization/types/WindowId.d.ts +0 -13
  1109. package/dist/serialization/types/WindowId.js +0 -44
  1110. package/dist/serialization/types/WindowIdResponse.d.ts +0 -18
  1111. package/dist/serialization/types/WindowIdResponse.js +0 -49
  1112. package/dist/serialization/types/WindowResponse.d.ts +0 -18
  1113. package/dist/serialization/types/WindowResponse.js +0 -49
  1114. package/dist/serialization/types/index.d.ts +0 -72
  1115. package/dist/serialization/types/index.js +0 -88
  1116. package/dist/utils/batch-operate/SessionQueue.d.ts +0 -45
  1117. package/dist/utils/batch-operate/SessionQueue.js +0 -222
  1118. package/dist/utils/batch-operate/WindowQueue.d.ts +0 -24
  1119. package/dist/utils/batch-operate/WindowQueue.js +0 -213
  1120. package/dist/utils/batch-operate/batch-util.d.ts +0 -3
  1121. package/dist/utils/batch-operate/batch-util.js +0 -49
  1122. package/dist/utils/batch-operate/helpers.d.ts +0 -2
  1123. package/dist/utils/batch-operate/helpers.js +0 -19
  1124. package/dist/utils/batch-operate/types.d.ts +0 -29
  1125. package/dist/utils/batch-operate/types.js +0 -2
  1126. package/dist/utils/index.d.ts +0 -3
  1127. package/dist/utils/index.js +0 -19
  1128. package/dist/utils/process-screenshots.d.ts +0 -9
  1129. package/dist/utils/process-screenshots.js +0 -58
  1130. package/dist/version.d.ts +0 -1
  1131. package/dist/version.js +0 -4
  1132. package/dist/wrapper/AirtopClient.d.ts +0 -29
  1133. package/dist/wrapper/AirtopClient.js +0 -104
  1134. package/dist/wrapper/AirtopRequests.d.ts +0 -18
  1135. package/dist/wrapper/AirtopRequests.js +0 -48
  1136. package/dist/wrapper/AirtopSessions.d.ts +0 -24
  1137. package/dist/wrapper/AirtopSessions.js +0 -96
  1138. package/dist/wrapper/AirtopWindows.d.ts +0 -180
  1139. package/dist/wrapper/AirtopWindows.js +0 -333
  1140. package/environments.d.ts +0 -7
  1141. package/environments.js +0 -9
  1142. package/errors/AirtopError.d.ts +0 -12
  1143. package/errors/AirtopError.js +0 -33
  1144. package/errors/AirtopTimeoutError.d.ts +0 -6
  1145. package/errors/AirtopTimeoutError.js +0 -13
  1146. package/errors/index.d.ts +0 -2
  1147. package/errors/index.js +0 -7
  1148. package/index.d.ts +0 -7
  1149. package/index.js +0 -51
  1150. package/jest.config.mjs +0 -8
  1151. package/lefthook.yml +0 -23
  1152. package/live-view/types.d.ts +0 -24
  1153. package/live-view/types.js +0 -16
  1154. package/reference.md +0 -2409
  1155. package/scripts/rename-to-esm-files.js +0 -115
  1156. package/serialization/index.d.ts +0 -2
  1157. package/serialization/index.js +0 -18
  1158. package/serialization/resources/automations/client/index.d.ts +0 -1
  1159. package/serialization/resources/automations/client/index.js +0 -17
  1160. package/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.d.ts +0 -14
  1161. package/serialization/resources/automations/client/requests/UpdateAutomationDescriptionInputBody.js +0 -45
  1162. package/serialization/resources/automations/client/requests/index.d.ts +0 -1
  1163. package/serialization/resources/automations/client/requests/index.js +0 -5
  1164. package/serialization/resources/automations/index.d.ts +0 -1
  1165. package/serialization/resources/automations/index.js +0 -17
  1166. package/serialization/resources/index.d.ts +0 -8
  1167. package/serialization/resources/index.js +0 -47
  1168. package/serialization/resources/sessions/client/index.d.ts +0 -1
  1169. package/serialization/resources/sessions/client/index.js +0 -17
  1170. package/serialization/resources/sessions/client/requests/SessionRestInputV1.d.ts +0 -13
  1171. package/serialization/resources/sessions/client/requests/SessionRestInputV1.js +0 -44
  1172. package/serialization/resources/sessions/client/requests/index.d.ts +0 -1
  1173. package/serialization/resources/sessions/client/requests/index.js +0 -5
  1174. package/serialization/resources/sessions/index.d.ts +0 -2
  1175. package/serialization/resources/sessions/index.js +0 -18
  1176. package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +0 -26
  1177. package/serialization/resources/sessions/types/SessionsEventsResponse.js +0 -55
  1178. package/serialization/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -15
  1179. package/serialization/resources/sessions/types/SessionsEventsResponseError.js +0 -46
  1180. package/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.d.ts +0 -15
  1181. package/serialization/resources/sessions/types/SessionsEventsResponseSessionEvent.js +0 -46
  1182. package/serialization/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -15
  1183. package/serialization/resources/sessions/types/SessionsEventsResponseStatus.js +0 -46
  1184. package/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.d.ts +0 -15
  1185. package/serialization/resources/sessions/types/SessionsEventsResponseWindowEvent.js +0 -46
  1186. package/serialization/resources/sessions/types/SessionsListRequestStatus.d.ts +0 -10
  1187. package/serialization/resources/sessions/types/SessionsListRequestStatus.js +0 -41
  1188. package/serialization/resources/sessions/types/index.d.ts +0 -6
  1189. package/serialization/resources/sessions/types/index.js +0 -22
  1190. package/serialization/resources/windows/client/index.d.ts +0 -1
  1191. package/serialization/resources/windows/client/index.js +0 -17
  1192. package/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +0 -18
  1193. package/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.js +0 -49
  1194. package/serialization/resources/windows/client/requests/AsyncCreateFormFillerRequest.d.ts +0 -18
  1195. package/serialization/resources/windows/client/requests/AsyncCreateFormFillerRequest.js +0 -49
  1196. package/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +0 -18
  1197. package/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +0 -49
  1198. package/serialization/resources/windows/client/requests/AsyncFillFormRequest.d.ts +0 -18
  1199. package/serialization/resources/windows/client/requests/AsyncFillFormRequest.js +0 -49
  1200. package/serialization/resources/windows/client/requests/CreateFormFillerRequest.d.ts +0 -18
  1201. package/serialization/resources/windows/client/requests/CreateFormFillerRequest.js +0 -49
  1202. package/serialization/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +0 -16
  1203. package/serialization/resources/windows/client/requests/CreateWindowInputV1Body.js +0 -47
  1204. package/serialization/resources/windows/client/requests/FillFormRequest.d.ts +0 -18
  1205. package/serialization/resources/windows/client/requests/FillFormRequest.js +0 -49
  1206. package/serialization/resources/windows/client/requests/ScrapeContentRequest.d.ts +0 -14
  1207. package/serialization/resources/windows/client/requests/ScrapeContentRequest.js +0 -45
  1208. package/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.d.ts +0 -18
  1209. package/serialization/resources/windows/client/requests/SessionClickHandlerRequestBody.js +0 -49
  1210. package/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +0 -17
  1211. package/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +0 -48
  1212. package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -17
  1213. package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -48
  1214. package/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.d.ts +0 -17
  1215. package/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.js +0 -48
  1216. package/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.d.ts +0 -16
  1217. package/serialization/resources/windows/client/requests/SessionScreenshotHandlerRequestBody.js +0 -47
  1218. package/serialization/resources/windows/client/requests/SessionScrollHandlerRequestBody.d.ts +0 -22
  1219. package/serialization/resources/windows/client/requests/SessionScrollHandlerRequestBody.js +0 -53
  1220. package/serialization/resources/windows/client/requests/SessionSummaryHandlerRequestBody.d.ts +0 -17
  1221. package/serialization/resources/windows/client/requests/SessionSummaryHandlerRequestBody.js +0 -48
  1222. package/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +0 -22
  1223. package/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +0 -53
  1224. package/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +0 -15
  1225. package/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.js +0 -46
  1226. package/serialization/resources/windows/client/requests/index.d.ts +0 -17
  1227. package/serialization/resources/windows/client/requests/index.js +0 -37
  1228. package/serialization/resources/windows/index.d.ts +0 -2
  1229. package/serialization/resources/windows/index.js +0 -18
  1230. package/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +0 -10
  1231. package/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +0 -41
  1232. package/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +0 -10
  1233. package/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +0 -41
  1234. package/serialization/resources/windows/types/index.d.ts +0 -2
  1235. package/serialization/resources/windows/types/index.js +0 -18
  1236. package/serialization/types/AiPromptResponse.d.ts +0 -18
  1237. package/serialization/types/AiPromptResponse.js +0 -49
  1238. package/serialization/types/AiResponseEnvelope.d.ts +0 -12
  1239. package/serialization/types/AiResponseEnvelope.js +0 -43
  1240. package/serialization/types/AirtopProxyConfiguration.d.ts +0 -13
  1241. package/serialization/types/AirtopProxyConfiguration.js +0 -44
  1242. package/serialization/types/AsyncConfig.d.ts +0 -12
  1243. package/serialization/types/AsyncConfig.js +0 -43
  1244. package/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +0 -15
  1245. package/serialization/types/AsyncSessionAiResponseEnvelope.js +0 -46
  1246. package/serialization/types/AutomationOutput.d.ts +0 -16
  1247. package/serialization/types/AutomationOutput.js +0 -47
  1248. package/serialization/types/BrowserWaitNavigationConfig.d.ts +0 -14
  1249. package/serialization/types/BrowserWaitNavigationConfig.js +0 -45
  1250. package/serialization/types/BrowserWaitNavigationConfigWaitUntil.d.ts +0 -10
  1251. package/serialization/types/BrowserWaitNavigationConfigWaitUntil.js +0 -41
  1252. package/serialization/types/ClickConfig.d.ts +0 -19
  1253. package/serialization/types/ClickConfig.js +0 -50
  1254. package/serialization/types/ClickConfigClickType.d.ts +0 -10
  1255. package/serialization/types/ClickConfigClickType.js +0 -41
  1256. package/serialization/types/ClientProvidedResponseMetadata.d.ts +0 -12
  1257. package/serialization/types/ClientProvidedResponseMetadata.js +0 -43
  1258. package/serialization/types/CreateAutomationRequestBodyConfiguration.d.ts +0 -10
  1259. package/serialization/types/CreateAutomationRequestBodyConfiguration.js +0 -41
  1260. package/serialization/types/DeleteAutomationOutputWrapperBody.d.ts +0 -10
  1261. package/serialization/types/DeleteAutomationOutputWrapperBody.js +0 -41
  1262. package/serialization/types/EnvelopeDefaultMeta.d.ts +0 -12
  1263. package/serialization/types/EnvelopeDefaultMeta.js +0 -43
  1264. package/serialization/types/ErrorBody.d.ts +0 -13
  1265. package/serialization/types/ErrorBody.js +0 -44
  1266. package/serialization/types/ErrorDetail.d.ts +0 -14
  1267. package/serialization/types/ErrorDetail.js +0 -45
  1268. package/serialization/types/ErrorMessage.d.ts +0 -14
  1269. package/serialization/types/ErrorMessage.js +0 -45
  1270. package/serialization/types/ErrorModel.d.ts +0 -18
  1271. package/serialization/types/ErrorModel.js +0 -49
  1272. package/serialization/types/ExternalSessionAiResponseMetadata.d.ts +0 -20
  1273. package/serialization/types/ExternalSessionAiResponseMetadata.js +0 -51
  1274. package/serialization/types/ExternalSessionAiResponseMetadataStatus.d.ts +0 -10
  1275. package/serialization/types/ExternalSessionAiResponseMetadataStatus.js +0 -41
  1276. package/serialization/types/ExternalSessionAiResponseMetadataUsage.d.ts +0 -13
  1277. package/serialization/types/ExternalSessionAiResponseMetadataUsage.js +0 -44
  1278. package/serialization/types/ExternalSessionConfig.d.ts +0 -14
  1279. package/serialization/types/ExternalSessionConfig.js +0 -45
  1280. package/serialization/types/ExternalSessionWithConnectionInfo.d.ts +0 -22
  1281. package/serialization/types/ExternalSessionWithConnectionInfo.js +0 -53
  1282. package/serialization/types/IntervalMonitorConfig.d.ts +0 -13
  1283. package/serialization/types/IntervalMonitorConfig.js +0 -44
  1284. package/serialization/types/Issue.d.ts +0 -15
  1285. package/serialization/types/Issue.js +0 -46
  1286. package/serialization/types/ListAutomationsOutput.d.ts +0 -13
  1287. package/serialization/types/ListAutomationsOutput.js +0 -44
  1288. package/serialization/types/MicroInteractionConfig.d.ts +0 -15
  1289. package/serialization/types/MicroInteractionConfig.js +0 -46
  1290. package/serialization/types/MicroInteractionConfigWithExperimental.d.ts +0 -17
  1291. package/serialization/types/MicroInteractionConfigWithExperimental.js +0 -48
  1292. package/serialization/types/MicroInteractionExperimentalConfig.d.ts +0 -12
  1293. package/serialization/types/MicroInteractionExperimentalConfig.js +0 -43
  1294. package/serialization/types/MonitorConfig.d.ts +0 -15
  1295. package/serialization/types/MonitorConfig.js +0 -46
  1296. package/serialization/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -10
  1297. package/serialization/types/MonitorConfigIncludeVisualAnalysis.js +0 -41
  1298. package/serialization/types/OperationOutcome.d.ts +0 -12
  1299. package/serialization/types/OperationOutcome.js +0 -43
  1300. package/serialization/types/OperationOutcomeResponse.d.ts +0 -18
  1301. package/serialization/types/OperationOutcomeResponse.js +0 -49
  1302. package/serialization/types/PageQueryConfig.d.ts +0 -16
  1303. package/serialization/types/PageQueryConfig.js +0 -47
  1304. package/serialization/types/PageQueryExperimentalConfig.d.ts +0 -12
  1305. package/serialization/types/PageQueryExperimentalConfig.js +0 -43
  1306. package/serialization/types/PaginatedExtractionConfig.d.ts +0 -18
  1307. package/serialization/types/PaginatedExtractionConfig.js +0 -49
  1308. package/serialization/types/PaginatedExtractionExperimentalConfig.d.ts +0 -12
  1309. package/serialization/types/PaginatedExtractionExperimentalConfig.js +0 -43
  1310. package/serialization/types/Pagination.d.ts +0 -19
  1311. package/serialization/types/Pagination.js +0 -50
  1312. package/serialization/types/Proxy.d.ts +0 -12
  1313. package/serialization/types/Proxy.js +0 -43
  1314. package/serialization/types/ProxyConfigurationKind.d.ts +0 -14
  1315. package/serialization/types/ProxyConfigurationKind.js +0 -45
  1316. package/serialization/types/ProxyCredentials.d.ts +0 -14
  1317. package/serialization/types/ProxyCredentials.js +0 -45
  1318. package/serialization/types/RequestStatusResponse.d.ts +0 -13
  1319. package/serialization/types/RequestStatusResponse.js +0 -44
  1320. package/serialization/types/ScrapeConfig.d.ts +0 -12
  1321. package/serialization/types/ScrapeConfig.js +0 -43
  1322. package/serialization/types/ScrapeResponse.d.ts +0 -18
  1323. package/serialization/types/ScrapeResponse.js +0 -49
  1324. package/serialization/types/ScrapeResponseContent.d.ts +0 -13
  1325. package/serialization/types/ScrapeResponseContent.js +0 -44
  1326. package/serialization/types/ScrapeResponseEnvelope.d.ts +0 -13
  1327. package/serialization/types/ScrapeResponseEnvelope.js +0 -44
  1328. package/serialization/types/ScrapeResponseOutput.d.ts +0 -15
  1329. package/serialization/types/ScrapeResponseOutput.js +0 -46
  1330. package/serialization/types/ScreenshotConfig.d.ts +0 -15
  1331. package/serialization/types/ScreenshotConfig.js +0 -46
  1332. package/serialization/types/ScreenshotMetadata.d.ts +0 -12
  1333. package/serialization/types/ScreenshotMetadata.js +0 -43
  1334. package/serialization/types/ScreenshotRequestConfig.d.ts +0 -13
  1335. package/serialization/types/ScreenshotRequestConfig.js +0 -44
  1336. package/serialization/types/ScrollByConfig.d.ts +0 -13
  1337. package/serialization/types/ScrollByConfig.js +0 -44
  1338. package/serialization/types/ScrollToEdgeConfig.d.ts +0 -13
  1339. package/serialization/types/ScrollToEdgeConfig.js +0 -44
  1340. package/serialization/types/SessionConfigV1.d.ts +0 -18
  1341. package/serialization/types/SessionConfigV1.js +0 -49
  1342. package/serialization/types/SessionConfigV1Proxy.d.ts +0 -12
  1343. package/serialization/types/SessionConfigV1Proxy.js +0 -47
  1344. package/serialization/types/SessionEventMessage.d.ts +0 -18
  1345. package/serialization/types/SessionEventMessage.js +0 -49
  1346. package/serialization/types/SessionPageQueryHandlerRequestBody.d.ts +0 -18
  1347. package/serialization/types/SessionPageQueryHandlerRequestBody.js +0 -49
  1348. package/serialization/types/SessionResponse.d.ts +0 -18
  1349. package/serialization/types/SessionResponse.js +0 -49
  1350. package/serialization/types/SessionsResponse.d.ts +0 -18
  1351. package/serialization/types/SessionsResponse.js +0 -49
  1352. package/serialization/types/SessionsWithPagination.d.ts +0 -15
  1353. package/serialization/types/SessionsWithPagination.js +0 -46
  1354. package/serialization/types/StatusMessage.d.ts +0 -17
  1355. package/serialization/types/StatusMessage.js +0 -48
  1356. package/serialization/types/StatusMessageStatus.d.ts +0 -10
  1357. package/serialization/types/StatusMessageStatus.js +0 -41
  1358. package/serialization/types/SummaryConfig.d.ts +0 -14
  1359. package/serialization/types/SummaryConfig.js +0 -45
  1360. package/serialization/types/SummaryExperimentalConfig.d.ts +0 -12
  1361. package/serialization/types/SummaryExperimentalConfig.js +0 -43
  1362. package/serialization/types/VisualAnalysisConfig.d.ts +0 -20
  1363. package/serialization/types/VisualAnalysisConfig.js +0 -51
  1364. package/serialization/types/VisualAnalysisConfigPartitionDirection.d.ts +0 -10
  1365. package/serialization/types/VisualAnalysisConfigPartitionDirection.js +0 -41
  1366. package/serialization/types/VisualAnalysisConfigResultSelectionStrategy.d.ts +0 -10
  1367. package/serialization/types/VisualAnalysisConfigResultSelectionStrategy.js +0 -41
  1368. package/serialization/types/VisualAnalysisConfigScope.d.ts +0 -10
  1369. package/serialization/types/VisualAnalysisConfigScope.js +0 -41
  1370. package/serialization/types/Window.d.ts +0 -14
  1371. package/serialization/types/Window.js +0 -45
  1372. package/serialization/types/WindowEventMessage.d.ts +0 -19
  1373. package/serialization/types/WindowEventMessage.js +0 -50
  1374. package/serialization/types/WindowId.d.ts +0 -13
  1375. package/serialization/types/WindowId.js +0 -44
  1376. package/serialization/types/WindowIdResponse.d.ts +0 -18
  1377. package/serialization/types/WindowIdResponse.js +0 -49
  1378. package/serialization/types/WindowResponse.d.ts +0 -18
  1379. package/serialization/types/WindowResponse.js +0 -49
  1380. package/serialization/types/index.d.ts +0 -72
  1381. package/serialization/types/index.js +0 -88
  1382. package/utils/batch-operate/SessionQueue.d.ts +0 -45
  1383. package/utils/batch-operate/SessionQueue.js +0 -222
  1384. package/utils/batch-operate/WindowQueue.d.ts +0 -24
  1385. package/utils/batch-operate/WindowQueue.js +0 -213
  1386. package/utils/batch-operate/batch-util.d.ts +0 -3
  1387. package/utils/batch-operate/batch-util.js +0 -49
  1388. package/utils/batch-operate/helpers.d.ts +0 -2
  1389. package/utils/batch-operate/helpers.js +0 -19
  1390. package/utils/batch-operate/types.d.ts +0 -29
  1391. package/utils/batch-operate/types.js +0 -2
  1392. package/utils/index.d.ts +0 -3
  1393. package/utils/index.js +0 -19
  1394. package/utils/process-screenshots.d.ts +0 -9
  1395. package/utils/process-screenshots.js +0 -58
  1396. package/version.d.ts +0 -1
  1397. package/version.js +0 -4
  1398. package/wrapper/AirtopClient.d.ts +0 -29
  1399. package/wrapper/AirtopClient.js +0 -104
  1400. package/wrapper/AirtopRequests.d.ts +0 -18
  1401. package/wrapper/AirtopRequests.js +0 -48
  1402. package/wrapper/AirtopSessions.d.ts +0 -24
  1403. package/wrapper/AirtopSessions.js +0 -96
  1404. package/wrapper/AirtopWindows.d.ts +0 -180
  1405. package/wrapper/AirtopWindows.js +0 -333
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.lazy = lazy;
4
- exports.constructLazyBaseSchema = constructLazyBaseSchema;
5
- exports.getMemoizedSchema = getMemoizedSchema;
6
- const schema_utils_1 = require("../schema-utils");
7
- function lazy(getter) {
8
- const baseSchema = constructLazyBaseSchema(getter);
9
- return Object.assign(Object.assign({}, baseSchema), (0, schema_utils_1.getSchemaUtils)(baseSchema));
10
- }
11
- function constructLazyBaseSchema(getter) {
12
- return {
13
- parse: (raw, opts) => getMemoizedSchema(getter).parse(raw, opts),
14
- json: (parsed, opts) => getMemoizedSchema(getter).json(parsed, opts),
15
- getType: () => getMemoizedSchema(getter).getType(),
16
- };
17
- }
18
- function getMemoizedSchema(getter) {
19
- const castedGetter = getter;
20
- if (castedGetter.__zurg_memoized == null) {
21
- castedGetter.__zurg_memoized = getter();
22
- }
23
- return castedGetter.__zurg_memoized;
24
- }
@@ -1,3 +0,0 @@
1
- import { ObjectSchema } from "../object/types";
2
- import { SchemaGetter } from "./lazy";
3
- export declare function lazyObject<Raw, Parsed>(getter: SchemaGetter<ObjectSchema<Raw, Parsed>>): ObjectSchema<Raw, Parsed>;
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.lazyObject = lazyObject;
4
- const object_1 = require("../object");
5
- const object_like_1 = require("../object-like");
6
- const schema_utils_1 = require("../schema-utils");
7
- const lazy_1 = require("./lazy");
8
- function lazyObject(getter) {
9
- const baseSchema = Object.assign(Object.assign({}, (0, lazy_1.constructLazyBaseSchema)(getter)), { _getRawProperties: () => (0, lazy_1.getMemoizedSchema)(getter)._getRawProperties(), _getParsedProperties: () => (0, lazy_1.getMemoizedSchema)(getter)._getParsedProperties() });
10
- return Object.assign(Object.assign(Object.assign(Object.assign({}, baseSchema), (0, schema_utils_1.getSchemaUtils)(baseSchema)), (0, object_like_1.getObjectLikeUtils)(baseSchema)), (0, object_1.getObjectUtils)(baseSchema));
11
- }
@@ -1 +0,0 @@
1
- export { list } from "./list";
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.list = void 0;
4
- var list_1 = require("./list");
5
- Object.defineProperty(exports, "list", { enumerable: true, get: function () { return list_1.list; } });
@@ -1,2 +0,0 @@
1
- import { Schema } from "../../Schema";
2
- export declare function list<Raw, Parsed>(schema: Schema<Raw, Parsed>): Schema<Raw[], Parsed[]>;
@@ -1,54 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.list = list;
4
- const Schema_1 = require("../../Schema");
5
- const getErrorMessageForIncorrectType_1 = require("../../utils/getErrorMessageForIncorrectType");
6
- const maybeSkipValidation_1 = require("../../utils/maybeSkipValidation");
7
- const schema_utils_1 = require("../schema-utils");
8
- function list(schema) {
9
- const baseSchema = {
10
- parse: (raw, opts) => validateAndTransformArray(raw, (item, index) => {
11
- var _a;
12
- return schema.parse(item, Object.assign(Object.assign({}, opts), { breadcrumbsPrefix: [...((_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : []), `[${index}]`] }));
13
- }),
14
- json: (parsed, opts) => validateAndTransformArray(parsed, (item, index) => {
15
- var _a;
16
- return schema.json(item, Object.assign(Object.assign({}, opts), { breadcrumbsPrefix: [...((_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : []), `[${index}]`] }));
17
- }),
18
- getType: () => Schema_1.SchemaType.LIST,
19
- };
20
- return Object.assign(Object.assign({}, (0, maybeSkipValidation_1.maybeSkipValidation)(baseSchema)), (0, schema_utils_1.getSchemaUtils)(baseSchema));
21
- }
22
- function validateAndTransformArray(value, transformItem) {
23
- if (!Array.isArray(value)) {
24
- return {
25
- ok: false,
26
- errors: [
27
- {
28
- message: (0, getErrorMessageForIncorrectType_1.getErrorMessageForIncorrectType)(value, "list"),
29
- path: [],
30
- },
31
- ],
32
- };
33
- }
34
- const maybeValidItems = value.map((item, index) => transformItem(item, index));
35
- return maybeValidItems.reduce((acc, item) => {
36
- if (acc.ok && item.ok) {
37
- return {
38
- ok: true,
39
- value: [...acc.value, item.value],
40
- };
41
- }
42
- const errors = [];
43
- if (!acc.ok) {
44
- errors.push(...acc.errors);
45
- }
46
- if (!item.ok) {
47
- errors.push(...item.errors);
48
- }
49
- return {
50
- ok: false,
51
- errors,
52
- };
53
- }, { ok: true, value: [] });
54
- }
@@ -1,2 +0,0 @@
1
- import { Schema } from "../../Schema";
2
- export declare function booleanLiteral<V extends boolean>(literal: V): Schema<V, V>;
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.booleanLiteral = booleanLiteral;
4
- const Schema_1 = require("../../Schema");
5
- const createIdentitySchemaCreator_1 = require("../../utils/createIdentitySchemaCreator");
6
- const getErrorMessageForIncorrectType_1 = require("../../utils/getErrorMessageForIncorrectType");
7
- function booleanLiteral(literal) {
8
- const schemaCreator = (0, createIdentitySchemaCreator_1.createIdentitySchemaCreator)(Schema_1.SchemaType.BOOLEAN_LITERAL, (value, { breadcrumbsPrefix = [] } = {}) => {
9
- if (value === literal) {
10
- return {
11
- ok: true,
12
- value: literal,
13
- };
14
- }
15
- else {
16
- return {
17
- ok: false,
18
- errors: [
19
- {
20
- path: breadcrumbsPrefix,
21
- message: (0, getErrorMessageForIncorrectType_1.getErrorMessageForIncorrectType)(value, `${literal.toString()}`),
22
- },
23
- ],
24
- };
25
- }
26
- });
27
- return schemaCreator();
28
- }
@@ -1,2 +0,0 @@
1
- export { stringLiteral } from "./stringLiteral";
2
- export { booleanLiteral } from "./booleanLiteral";
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.booleanLiteral = exports.stringLiteral = void 0;
4
- var stringLiteral_1 = require("./stringLiteral");
5
- Object.defineProperty(exports, "stringLiteral", { enumerable: true, get: function () { return stringLiteral_1.stringLiteral; } });
6
- var booleanLiteral_1 = require("./booleanLiteral");
7
- Object.defineProperty(exports, "booleanLiteral", { enumerable: true, get: function () { return booleanLiteral_1.booleanLiteral; } });
@@ -1,2 +0,0 @@
1
- import { Schema } from "../../Schema";
2
- export declare function stringLiteral<V extends string>(literal: V): Schema<V, V>;
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.stringLiteral = stringLiteral;
4
- const Schema_1 = require("../../Schema");
5
- const createIdentitySchemaCreator_1 = require("../../utils/createIdentitySchemaCreator");
6
- const getErrorMessageForIncorrectType_1 = require("../../utils/getErrorMessageForIncorrectType");
7
- function stringLiteral(literal) {
8
- const schemaCreator = (0, createIdentitySchemaCreator_1.createIdentitySchemaCreator)(Schema_1.SchemaType.STRING_LITERAL, (value, { breadcrumbsPrefix = [] } = {}) => {
9
- if (value === literal) {
10
- return {
11
- ok: true,
12
- value: literal,
13
- };
14
- }
15
- else {
16
- return {
17
- ok: false,
18
- errors: [
19
- {
20
- path: breadcrumbsPrefix,
21
- message: (0, getErrorMessageForIncorrectType_1.getErrorMessageForIncorrectType)(value, `"${literal}"`),
22
- },
23
- ],
24
- };
25
- }
26
- });
27
- return schemaCreator();
28
- }
@@ -1,6 +0,0 @@
1
- export { getObjectUtils, object } from "./object";
2
- export { objectWithoutOptionalProperties } from "./objectWithoutOptionalProperties";
3
- export type { inferObjectWithoutOptionalPropertiesSchemaFromPropertySchemas, inferParsedObjectWithoutOptionalPropertiesFromPropertySchemas, } from "./objectWithoutOptionalProperties";
4
- export { isProperty, property } from "./property";
5
- export type { Property } from "./property";
6
- export type { BaseObjectSchema, inferObjectSchemaFromPropertySchemas, inferParsedObject, inferParsedObjectFromPropertySchemas, inferParsedPropertySchema, inferRawKey, inferRawObject, inferRawObjectFromPropertySchemas, inferRawPropertySchema, ObjectSchema, ObjectUtils, PropertySchemas, } from "./types";
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.property = exports.isProperty = exports.objectWithoutOptionalProperties = exports.object = exports.getObjectUtils = void 0;
4
- var object_1 = require("./object");
5
- Object.defineProperty(exports, "getObjectUtils", { enumerable: true, get: function () { return object_1.getObjectUtils; } });
6
- Object.defineProperty(exports, "object", { enumerable: true, get: function () { return object_1.object; } });
7
- var objectWithoutOptionalProperties_1 = require("./objectWithoutOptionalProperties");
8
- Object.defineProperty(exports, "objectWithoutOptionalProperties", { enumerable: true, get: function () { return objectWithoutOptionalProperties_1.objectWithoutOptionalProperties; } });
9
- var property_1 = require("./property");
10
- Object.defineProperty(exports, "isProperty", { enumerable: true, get: function () { return property_1.isProperty; } });
11
- Object.defineProperty(exports, "property", { enumerable: true, get: function () { return property_1.property; } });
@@ -1,3 +0,0 @@
1
- import { BaseObjectSchema, ObjectUtils, PropertySchemas, inferObjectSchemaFromPropertySchemas } from "./types";
2
- export declare function object<ParsedKeys extends string, T extends PropertySchemas<ParsedKeys>>(schemas: T): inferObjectSchemaFromPropertySchemas<T>;
3
- export declare function getObjectUtils<Raw, Parsed>(schema: BaseObjectSchema<Raw, Parsed>): ObjectUtils<Raw, Parsed>;
@@ -1,261 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.object = object;
4
- exports.getObjectUtils = getObjectUtils;
5
- const Schema_1 = require("../../Schema");
6
- const entries_1 = require("../../utils/entries");
7
- const filterObject_1 = require("../../utils/filterObject");
8
- const getErrorMessageForIncorrectType_1 = require("../../utils/getErrorMessageForIncorrectType");
9
- const isPlainObject_1 = require("../../utils/isPlainObject");
10
- const keys_1 = require("../../utils/keys");
11
- const maybeSkipValidation_1 = require("../../utils/maybeSkipValidation");
12
- const partition_1 = require("../../utils/partition");
13
- const object_like_1 = require("../object-like");
14
- const schema_utils_1 = require("../schema-utils");
15
- const property_1 = require("./property");
16
- function object(schemas) {
17
- const baseSchema = {
18
- _getRawProperties: () => Object.entries(schemas).map(([parsedKey, propertySchema]) => (0, property_1.isProperty)(propertySchema) ? propertySchema.rawKey : parsedKey),
19
- _getParsedProperties: () => (0, keys_1.keys)(schemas),
20
- parse: (raw, opts) => {
21
- const rawKeyToProperty = {};
22
- const requiredKeys = [];
23
- for (const [parsedKey, schemaOrObjectProperty] of (0, entries_1.entries)(schemas)) {
24
- const rawKey = (0, property_1.isProperty)(schemaOrObjectProperty) ? schemaOrObjectProperty.rawKey : parsedKey;
25
- const valueSchema = (0, property_1.isProperty)(schemaOrObjectProperty)
26
- ? schemaOrObjectProperty.valueSchema
27
- : schemaOrObjectProperty;
28
- const property = {
29
- rawKey,
30
- parsedKey: parsedKey,
31
- valueSchema,
32
- };
33
- rawKeyToProperty[rawKey] = property;
34
- if (isSchemaRequired(valueSchema)) {
35
- requiredKeys.push(rawKey);
36
- }
37
- }
38
- return validateAndTransformObject({
39
- value: raw,
40
- requiredKeys,
41
- getProperty: (rawKey) => {
42
- const property = rawKeyToProperty[rawKey];
43
- if (property == null) {
44
- return undefined;
45
- }
46
- return {
47
- transformedKey: property.parsedKey,
48
- transform: (propertyValue) => {
49
- var _a;
50
- return property.valueSchema.parse(propertyValue, Object.assign(Object.assign({}, opts), { breadcrumbsPrefix: [...((_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : []), rawKey] }));
51
- },
52
- };
53
- },
54
- unrecognizedObjectKeys: opts === null || opts === void 0 ? void 0 : opts.unrecognizedObjectKeys,
55
- skipValidation: opts === null || opts === void 0 ? void 0 : opts.skipValidation,
56
- breadcrumbsPrefix: opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix,
57
- omitUndefined: opts === null || opts === void 0 ? void 0 : opts.omitUndefined,
58
- });
59
- },
60
- json: (parsed, opts) => {
61
- const requiredKeys = [];
62
- for (const [parsedKey, schemaOrObjectProperty] of (0, entries_1.entries)(schemas)) {
63
- const valueSchema = (0, property_1.isProperty)(schemaOrObjectProperty)
64
- ? schemaOrObjectProperty.valueSchema
65
- : schemaOrObjectProperty;
66
- if (isSchemaRequired(valueSchema)) {
67
- requiredKeys.push(parsedKey);
68
- }
69
- }
70
- return validateAndTransformObject({
71
- value: parsed,
72
- requiredKeys,
73
- getProperty: (parsedKey) => {
74
- const property = schemas[parsedKey];
75
- // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
76
- if (property == null) {
77
- return undefined;
78
- }
79
- if ((0, property_1.isProperty)(property)) {
80
- return {
81
- transformedKey: property.rawKey,
82
- transform: (propertyValue) => {
83
- var _a;
84
- return property.valueSchema.json(propertyValue, Object.assign(Object.assign({}, opts), { breadcrumbsPrefix: [...((_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : []), parsedKey] }));
85
- },
86
- };
87
- }
88
- else {
89
- return {
90
- transformedKey: parsedKey,
91
- transform: (propertyValue) => {
92
- var _a;
93
- return property.json(propertyValue, Object.assign(Object.assign({}, opts), { breadcrumbsPrefix: [...((_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : []), parsedKey] }));
94
- },
95
- };
96
- }
97
- },
98
- unrecognizedObjectKeys: opts === null || opts === void 0 ? void 0 : opts.unrecognizedObjectKeys,
99
- skipValidation: opts === null || opts === void 0 ? void 0 : opts.skipValidation,
100
- breadcrumbsPrefix: opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix,
101
- omitUndefined: opts === null || opts === void 0 ? void 0 : opts.omitUndefined,
102
- });
103
- },
104
- getType: () => Schema_1.SchemaType.OBJECT,
105
- };
106
- return Object.assign(Object.assign(Object.assign(Object.assign({}, (0, maybeSkipValidation_1.maybeSkipValidation)(baseSchema)), (0, schema_utils_1.getSchemaUtils)(baseSchema)), (0, object_like_1.getObjectLikeUtils)(baseSchema)), getObjectUtils(baseSchema));
107
- }
108
- function validateAndTransformObject({ value, requiredKeys, getProperty, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [], }) {
109
- if (!(0, isPlainObject_1.isPlainObject)(value)) {
110
- return {
111
- ok: false,
112
- errors: [
113
- {
114
- path: breadcrumbsPrefix,
115
- message: (0, getErrorMessageForIncorrectType_1.getErrorMessageForIncorrectType)(value, "object"),
116
- },
117
- ],
118
- };
119
- }
120
- const missingRequiredKeys = new Set(requiredKeys);
121
- const errors = [];
122
- const transformed = {};
123
- for (const [preTransformedKey, preTransformedItemValue] of Object.entries(value)) {
124
- const property = getProperty(preTransformedKey);
125
- if (property != null) {
126
- missingRequiredKeys.delete(preTransformedKey);
127
- const value = property.transform(preTransformedItemValue);
128
- if (value.ok) {
129
- transformed[property.transformedKey] = value.value;
130
- }
131
- else {
132
- transformed[preTransformedKey] = preTransformedItemValue;
133
- errors.push(...value.errors);
134
- }
135
- }
136
- else {
137
- switch (unrecognizedObjectKeys) {
138
- case "fail":
139
- errors.push({
140
- path: [...breadcrumbsPrefix, preTransformedKey],
141
- message: `Unexpected key "${preTransformedKey}"`,
142
- });
143
- break;
144
- case "strip":
145
- break;
146
- case "passthrough":
147
- transformed[preTransformedKey] = preTransformedItemValue;
148
- break;
149
- }
150
- }
151
- }
152
- errors.push(...requiredKeys
153
- .filter((key) => missingRequiredKeys.has(key))
154
- .map((key) => ({
155
- path: breadcrumbsPrefix,
156
- message: `Missing required key "${key}"`,
157
- })));
158
- if (errors.length === 0 || skipValidation) {
159
- return {
160
- ok: true,
161
- value: transformed,
162
- };
163
- }
164
- else {
165
- return {
166
- ok: false,
167
- errors,
168
- };
169
- }
170
- }
171
- function getObjectUtils(schema) {
172
- return {
173
- extend: (extension) => {
174
- const baseSchema = {
175
- _getParsedProperties: () => [...schema._getParsedProperties(), ...extension._getParsedProperties()],
176
- _getRawProperties: () => [...schema._getRawProperties(), ...extension._getRawProperties()],
177
- parse: (raw, opts) => {
178
- return validateAndTransformExtendedObject({
179
- extensionKeys: extension._getRawProperties(),
180
- value: raw,
181
- transformBase: (rawBase) => schema.parse(rawBase, opts),
182
- transformExtension: (rawExtension) => extension.parse(rawExtension, opts),
183
- });
184
- },
185
- json: (parsed, opts) => {
186
- return validateAndTransformExtendedObject({
187
- extensionKeys: extension._getParsedProperties(),
188
- value: parsed,
189
- transformBase: (parsedBase) => schema.json(parsedBase, opts),
190
- transformExtension: (parsedExtension) => extension.json(parsedExtension, opts),
191
- });
192
- },
193
- getType: () => Schema_1.SchemaType.OBJECT,
194
- };
195
- return Object.assign(Object.assign(Object.assign(Object.assign({}, baseSchema), (0, schema_utils_1.getSchemaUtils)(baseSchema)), (0, object_like_1.getObjectLikeUtils)(baseSchema)), getObjectUtils(baseSchema));
196
- },
197
- passthrough: () => {
198
- const baseSchema = {
199
- _getParsedProperties: () => schema._getParsedProperties(),
200
- _getRawProperties: () => schema._getRawProperties(),
201
- parse: (raw, opts) => {
202
- const transformed = schema.parse(raw, Object.assign(Object.assign({}, opts), { unrecognizedObjectKeys: "passthrough" }));
203
- if (!transformed.ok) {
204
- return transformed;
205
- }
206
- return {
207
- ok: true,
208
- value: Object.assign(Object.assign({}, raw), transformed.value),
209
- };
210
- },
211
- json: (parsed, opts) => {
212
- const transformed = schema.json(parsed, Object.assign(Object.assign({}, opts), { unrecognizedObjectKeys: "passthrough" }));
213
- if (!transformed.ok) {
214
- return transformed;
215
- }
216
- return {
217
- ok: true,
218
- value: Object.assign(Object.assign({}, parsed), transformed.value),
219
- };
220
- },
221
- getType: () => Schema_1.SchemaType.OBJECT,
222
- };
223
- return Object.assign(Object.assign(Object.assign(Object.assign({}, baseSchema), (0, schema_utils_1.getSchemaUtils)(baseSchema)), (0, object_like_1.getObjectLikeUtils)(baseSchema)), getObjectUtils(baseSchema));
224
- },
225
- };
226
- }
227
- function validateAndTransformExtendedObject({ extensionKeys, value, transformBase, transformExtension, }) {
228
- const extensionPropertiesSet = new Set(extensionKeys);
229
- const [extensionProperties, baseProperties] = (0, partition_1.partition)((0, keys_1.keys)(value), (key) => extensionPropertiesSet.has(key));
230
- const transformedBase = transformBase((0, filterObject_1.filterObject)(value, baseProperties));
231
- const transformedExtension = transformExtension((0, filterObject_1.filterObject)(value, extensionProperties));
232
- if (transformedBase.ok && transformedExtension.ok) {
233
- return {
234
- ok: true,
235
- value: Object.assign(Object.assign({}, transformedBase.value), transformedExtension.value),
236
- };
237
- }
238
- else {
239
- return {
240
- ok: false,
241
- errors: [
242
- ...(transformedBase.ok ? [] : transformedBase.errors),
243
- ...(transformedExtension.ok ? [] : transformedExtension.errors),
244
- ],
245
- };
246
- }
247
- }
248
- function isSchemaRequired(schema) {
249
- return !isSchemaOptional(schema);
250
- }
251
- function isSchemaOptional(schema) {
252
- switch (schema.getType()) {
253
- case Schema_1.SchemaType.ANY:
254
- case Schema_1.SchemaType.UNKNOWN:
255
- case Schema_1.SchemaType.OPTIONAL:
256
- case Schema_1.SchemaType.OPTIONAL_NULLABLE:
257
- return true;
258
- default:
259
- return false;
260
- }
261
- }
@@ -1,6 +0,0 @@
1
- import { ObjectSchema, PropertySchemas, inferParsedPropertySchema, inferRawObjectFromPropertySchemas } from "./types";
2
- export declare function objectWithoutOptionalProperties<ParsedKeys extends string, T extends PropertySchemas<ParsedKeys>>(schemas: T): inferObjectWithoutOptionalPropertiesSchemaFromPropertySchemas<T>;
3
- export type inferObjectWithoutOptionalPropertiesSchemaFromPropertySchemas<T extends PropertySchemas<keyof T>> = ObjectSchema<inferRawObjectFromPropertySchemas<T>, inferParsedObjectWithoutOptionalPropertiesFromPropertySchemas<T>>;
4
- export type inferParsedObjectWithoutOptionalPropertiesFromPropertySchemas<T extends PropertySchemas<keyof T>> = {
5
- [K in keyof T]: inferParsedPropertySchema<T[K]>;
6
- };
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.objectWithoutOptionalProperties = objectWithoutOptionalProperties;
4
- const object_1 = require("./object");
5
- function objectWithoutOptionalProperties(schemas) {
6
- return (0, object_1.object)(schemas);
7
- }
@@ -1,8 +0,0 @@
1
- import { Schema } from "../../Schema";
2
- export declare function property<RawKey extends string, RawValue, ParsedValue>(rawKey: RawKey, valueSchema: Schema<RawValue, ParsedValue>): Property<RawKey, RawValue, ParsedValue>;
3
- export interface Property<RawKey extends string, RawValue, ParsedValue> {
4
- rawKey: RawKey;
5
- valueSchema: Schema<RawValue, ParsedValue>;
6
- isProperty: true;
7
- }
8
- export declare function isProperty<O extends Property<any, any, any>>(maybeProperty: unknown): maybeProperty is O;
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.property = property;
4
- exports.isProperty = isProperty;
5
- function property(rawKey, valueSchema) {
6
- return {
7
- rawKey,
8
- valueSchema,
9
- isProperty: true,
10
- };
11
- }
12
- function isProperty(maybeProperty) {
13
- // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
14
- return maybeProperty.isProperty;
15
- }
@@ -1,31 +0,0 @@
1
- import { BaseSchema, Schema, inferParsed, inferRaw } from "../../Schema";
2
- import { addQuestionMarksToNullableProperties } from "../../utils/addQuestionMarksToNullableProperties";
3
- import { ObjectLikeUtils } from "../object-like";
4
- import { SchemaUtils } from "../schema-utils";
5
- import { Property } from "./property";
6
- export type ObjectSchema<Raw, Parsed> = BaseObjectSchema<Raw, Parsed> & ObjectLikeUtils<Raw, Parsed> & ObjectUtils<Raw, Parsed> & SchemaUtils<Raw, Parsed>;
7
- export interface BaseObjectSchema<Raw, Parsed> extends BaseSchema<Raw, Parsed> {
8
- _getRawProperties: () => (keyof Raw)[];
9
- _getParsedProperties: () => (keyof Parsed)[];
10
- }
11
- export interface ObjectUtils<Raw, Parsed> {
12
- extend: <RawExtension, ParsedExtension>(schemas: ObjectSchema<RawExtension, ParsedExtension>) => ObjectSchema<Raw & RawExtension, Parsed & ParsedExtension>;
13
- passthrough: () => ObjectSchema<Raw & {
14
- [key: string]: unknown;
15
- }, Parsed & {
16
- [key: string]: unknown;
17
- }>;
18
- }
19
- export type inferRawObject<O extends ObjectSchema<any, any>> = O extends ObjectSchema<infer Raw, any> ? Raw : never;
20
- export type inferParsedObject<O extends ObjectSchema<any, any>> = O extends ObjectSchema<any, infer Parsed> ? Parsed : never;
21
- export type inferObjectSchemaFromPropertySchemas<T extends PropertySchemas<keyof T>> = ObjectSchema<inferRawObjectFromPropertySchemas<T>, inferParsedObjectFromPropertySchemas<T>>;
22
- export type inferRawObjectFromPropertySchemas<T extends PropertySchemas<keyof T>> = addQuestionMarksToNullableProperties<{
23
- [ParsedKey in keyof T as inferRawKey<ParsedKey, T[ParsedKey]>]: inferRawPropertySchema<T[ParsedKey]>;
24
- }>;
25
- export type inferParsedObjectFromPropertySchemas<T extends PropertySchemas<keyof T>> = addQuestionMarksToNullableProperties<{
26
- [K in keyof T]: inferParsedPropertySchema<T[K]>;
27
- }>;
28
- export type PropertySchemas<ParsedKeys extends string | number | symbol> = Record<ParsedKeys, Property<any, any, any> | Schema<any, any>>;
29
- export type inferRawPropertySchema<P extends Property<any, any, any> | Schema<any, any>> = P extends Property<any, infer Raw, any> ? Raw : P extends Schema<any, any> ? inferRaw<P> : never;
30
- export type inferParsedPropertySchema<P extends Property<any, any, any> | Schema<any, any>> = P extends Property<any, any, infer Parsed> ? Parsed : P extends Schema<any, any> ? inferParsed<P> : never;
31
- export type inferRawKey<ParsedKey extends string | number | symbol, P extends Property<any, any, any> | Schema<any, any>> = P extends Property<infer Raw, any, any> ? Raw : ParsedKey;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- import { BaseSchema } from "../../Schema";
2
- import { ObjectLikeSchema, ObjectLikeUtils } from "./types";
3
- export declare function getObjectLikeUtils<Raw, Parsed>(schema: BaseSchema<Raw, Parsed>): ObjectLikeUtils<Raw, Parsed>;
4
- /**
5
- * object-like utils are defined in one file to resolve issues with circular imports
6
- */
7
- export declare function withParsedProperties<RawObjectShape, ParsedObjectShape, Properties>(objectLike: BaseSchema<RawObjectShape, ParsedObjectShape>, properties: {
8
- [K in keyof Properties]: Properties[K] | ((parsed: ParsedObjectShape) => Properties[K]);
9
- }): ObjectLikeSchema<RawObjectShape, ParsedObjectShape & Properties>;
@@ -1,53 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getObjectLikeUtils = getObjectLikeUtils;
4
- exports.withParsedProperties = withParsedProperties;
5
- const filterObject_1 = require("../../utils/filterObject");
6
- const getErrorMessageForIncorrectType_1 = require("../../utils/getErrorMessageForIncorrectType");
7
- const isPlainObject_1 = require("../../utils/isPlainObject");
8
- const schema_utils_1 = require("../schema-utils");
9
- function getObjectLikeUtils(schema) {
10
- return {
11
- withParsedProperties: (properties) => withParsedProperties(schema, properties),
12
- };
13
- }
14
- /**
15
- * object-like utils are defined in one file to resolve issues with circular imports
16
- */
17
- function withParsedProperties(objectLike, properties) {
18
- const objectSchema = {
19
- parse: (raw, opts) => {
20
- const parsedObject = objectLike.parse(raw, opts);
21
- if (!parsedObject.ok) {
22
- return parsedObject;
23
- }
24
- const additionalProperties = Object.entries(properties).reduce((processed, [key, value]) => {
25
- return Object.assign(Object.assign({}, processed), { [key]: typeof value === "function" ? value(parsedObject.value) : value });
26
- }, {});
27
- return {
28
- ok: true,
29
- value: Object.assign(Object.assign({}, parsedObject.value), additionalProperties),
30
- };
31
- },
32
- json: (parsed, opts) => {
33
- var _a;
34
- if (!(0, isPlainObject_1.isPlainObject)(parsed)) {
35
- return {
36
- ok: false,
37
- errors: [
38
- {
39
- path: (_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : [],
40
- message: (0, getErrorMessageForIncorrectType_1.getErrorMessageForIncorrectType)(parsed, "object"),
41
- },
42
- ],
43
- };
44
- }
45
- // strip out added properties
46
- const addedPropertyKeys = new Set(Object.keys(properties));
47
- const parsedWithoutAddedProperties = (0, filterObject_1.filterObject)(parsed, Object.keys(parsed).filter((key) => !addedPropertyKeys.has(key)));
48
- return objectLike.json(parsedWithoutAddedProperties, opts);
49
- },
50
- getType: () => objectLike.getType(),
51
- };
52
- return Object.assign(Object.assign(Object.assign({}, objectSchema), (0, schema_utils_1.getSchemaUtils)(objectSchema)), getObjectLikeUtils(objectSchema));
53
- }
@@ -1,2 +0,0 @@
1
- export { getObjectLikeUtils, withParsedProperties } from "./getObjectLikeUtils";
2
- export type { ObjectLikeSchema, ObjectLikeUtils } from "./types";
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.withParsedProperties = exports.getObjectLikeUtils = void 0;
4
- var getObjectLikeUtils_1 = require("./getObjectLikeUtils");
5
- Object.defineProperty(exports, "getObjectLikeUtils", { enumerable: true, get: function () { return getObjectLikeUtils_1.getObjectLikeUtils; } });
6
- Object.defineProperty(exports, "withParsedProperties", { enumerable: true, get: function () { return getObjectLikeUtils_1.withParsedProperties; } });
@@ -1,7 +0,0 @@
1
- import { BaseSchema, Schema } from "../../Schema";
2
- export type ObjectLikeSchema<Raw, Parsed> = Schema<Raw, Parsed> & BaseSchema<Raw, Parsed> & ObjectLikeUtils<Raw, Parsed>;
3
- export interface ObjectLikeUtils<Raw, Parsed> {
4
- withParsedProperties: <T extends Record<string, any>>(properties: {
5
- [K in keyof T]: T[K] | ((parsed: Parsed) => T[K]);
6
- }) => ObjectLikeSchema<Raw, Parsed & T>;
7
- }