@airtop/sdk 0.0.4

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 (716) hide show
  1. package/Client.d.ts +33 -0
  2. package/Client.js +22 -0
  3. package/README.md +135 -0
  4. package/api/errors/InternalServerError.d.ts +8 -0
  5. package/api/errors/InternalServerError.js +41 -0
  6. package/api/errors/NotFoundError.d.ts +8 -0
  7. package/api/errors/NotFoundError.js +41 -0
  8. package/api/errors/UnprocessableEntityError.d.ts +8 -0
  9. package/api/errors/UnprocessableEntityError.js +41 -0
  10. package/api/errors/index.d.ts +3 -0
  11. package/api/errors/index.js +19 -0
  12. package/api/index.d.ts +3 -0
  13. package/api/index.js +19 -0
  14. package/api/resources/index.d.ts +5 -0
  15. package/api/resources/index.js +34 -0
  16. package/api/resources/profiles/client/Client.d.ts +66 -0
  17. package/api/resources/profiles/client/Client.js +296 -0
  18. package/api/resources/profiles/client/index.d.ts +1 -0
  19. package/api/resources/profiles/client/index.js +17 -0
  20. package/api/resources/profiles/client/requests/ProfilesDeleteRequest.d.ts +19 -0
  21. package/api/resources/profiles/client/requests/ProfilesDeleteRequest.js +5 -0
  22. package/api/resources/profiles/client/requests/ProfilesGetRequest.d.ts +19 -0
  23. package/api/resources/profiles/client/requests/ProfilesGetRequest.js +5 -0
  24. package/api/resources/profiles/client/requests/index.d.ts +2 -0
  25. package/api/resources/profiles/client/requests/index.js +2 -0
  26. package/api/resources/profiles/index.d.ts +1 -0
  27. package/api/resources/profiles/index.js +17 -0
  28. package/api/resources/sessions/client/Client.d.ts +132 -0
  29. package/api/resources/sessions/client/Client.js +788 -0
  30. package/api/resources/sessions/client/index.d.ts +1 -0
  31. package/api/resources/sessions/client/index.js +17 -0
  32. package/api/resources/sessions/client/requests/CreateLiveViewUrlRequest.d.ts +20 -0
  33. package/api/resources/sessions/client/requests/CreateLiveViewUrlRequest.js +5 -0
  34. package/api/resources/sessions/client/requests/SessionPromptContentRequest.d.ts +15 -0
  35. package/api/resources/sessions/client/requests/SessionPromptContentRequest.js +5 -0
  36. package/api/resources/sessions/client/requests/SessionPromptPaginatedExtractionRequest.d.ts +15 -0
  37. package/api/resources/sessions/client/requests/SessionPromptPaginatedExtractionRequest.js +5 -0
  38. package/api/resources/sessions/client/requests/SessionRestInputV1.d.ts +14 -0
  39. package/api/resources/sessions/client/requests/SessionRestInputV1.js +5 -0
  40. package/api/resources/sessions/client/requests/SessionsListRequest.d.ts +13 -0
  41. package/api/resources/sessions/client/requests/SessionsListRequest.js +5 -0
  42. package/api/resources/sessions/client/requests/index.d.ts +5 -0
  43. package/api/resources/sessions/client/requests/index.js +2 -0
  44. package/api/resources/sessions/index.d.ts +2 -0
  45. package/api/resources/sessions/index.js +18 -0
  46. package/api/resources/sessions/types/SessionsEventsResponse.d.ts +16 -0
  47. package/api/resources/sessions/types/SessionsEventsResponse.js +5 -0
  48. package/api/resources/sessions/types/SessionsEventsResponseError.d.ts +11 -0
  49. package/api/resources/sessions/types/SessionsEventsResponseError.js +5 -0
  50. package/api/resources/sessions/types/SessionsEventsResponseStatus.d.ts +11 -0
  51. package/api/resources/sessions/types/SessionsEventsResponseStatus.js +5 -0
  52. package/api/resources/sessions/types/index.d.ts +3 -0
  53. package/api/resources/sessions/types/index.js +19 -0
  54. package/api/types/CleanScrapeResponse.d.ts +12 -0
  55. package/api/types/CleanScrapeResponse.js +5 -0
  56. package/api/types/CleanScrapeResponseData.d.ts +10 -0
  57. package/api/types/CleanScrapeResponseData.js +5 -0
  58. package/api/types/CleanScrapeResponseDataStatus.d.ts +12 -0
  59. package/api/types/CleanScrapeResponseDataStatus.js +11 -0
  60. package/api/types/CleanScrapeResponseOutput.d.ts +12 -0
  61. package/api/types/CleanScrapeResponseOutput.js +5 -0
  62. package/api/types/ConnectionInfo.d.ts +14 -0
  63. package/api/types/ConnectionInfo.js +5 -0
  64. package/api/types/ErrorDetail.d.ts +10 -0
  65. package/api/types/ErrorDetail.js +5 -0
  66. package/api/types/ErrorMessage.d.ts +11 -0
  67. package/api/types/ErrorMessage.js +5 -0
  68. package/api/types/ErrorModel.d.ts +20 -0
  69. package/api/types/ErrorModel.js +5 -0
  70. package/api/types/LiveViewConnectionInfo.d.ts +9 -0
  71. package/api/types/LiveViewConnectionInfo.js +5 -0
  72. package/api/types/LiveViewUrlOutputV1Body.d.ts +9 -0
  73. package/api/types/LiveViewUrlOutputV1Body.js +5 -0
  74. package/api/types/ProfileOutputV1Body.d.ts +10 -0
  75. package/api/types/ProfileOutputV1Body.js +5 -0
  76. package/api/types/ProfileV1.d.ts +13 -0
  77. package/api/types/ProfileV1.js +5 -0
  78. package/api/types/ProfilesOutputV1Body.d.ts +9 -0
  79. package/api/types/ProfilesOutputV1Body.js +5 -0
  80. package/api/types/ScrapeResponseContent.d.ts +9 -0
  81. package/api/types/ScrapeResponseContent.js +5 -0
  82. package/api/types/Session.d.ts +20 -0
  83. package/api/types/Session.js +5 -0
  84. package/api/types/SessionAiResponse.d.ts +16 -0
  85. package/api/types/SessionAiResponse.js +5 -0
  86. package/api/types/SessionAiResponseData.d.ts +10 -0
  87. package/api/types/SessionAiResponseData.js +5 -0
  88. package/api/types/SessionAiResponseDataStatus.d.ts +12 -0
  89. package/api/types/SessionAiResponseDataStatus.js +11 -0
  90. package/api/types/SessionAiResponseIssue.d.ts +11 -0
  91. package/api/types/SessionAiResponseIssue.js +5 -0
  92. package/api/types/SessionAiResponseMetadata.d.ts +8 -0
  93. package/api/types/SessionAiResponseMetadata.js +5 -0
  94. package/api/types/SessionAiResponseMetadataUsage.d.ts +9 -0
  95. package/api/types/SessionAiResponseMetadataUsage.js +5 -0
  96. package/api/types/SessionConfig.d.ts +17 -0
  97. package/api/types/SessionConfig.js +5 -0
  98. package/api/types/SessionConfigV1.d.ts +17 -0
  99. package/api/types/SessionConfigV1.js +5 -0
  100. package/api/types/SessionOutputV1Body.d.ts +12 -0
  101. package/api/types/SessionOutputV1Body.js +5 -0
  102. package/api/types/SessionWithConnectionInfo.d.ts +10 -0
  103. package/api/types/SessionWithConnectionInfo.js +5 -0
  104. package/api/types/SessionsOutputV1Body.d.ts +10 -0
  105. package/api/types/SessionsOutputV1Body.js +5 -0
  106. package/api/types/StatusMessage.d.ts +14 -0
  107. package/api/types/StatusMessage.js +5 -0
  108. package/api/types/StatusMessageStatus.d.ts +13 -0
  109. package/api/types/StatusMessageStatus.js +12 -0
  110. package/api/types/index.d.ts +28 -0
  111. package/api/types/index.js +44 -0
  112. package/core/fetcher/APIResponse.d.ts +10 -0
  113. package/core/fetcher/APIResponse.js +2 -0
  114. package/core/fetcher/Fetcher.d.ts +39 -0
  115. package/core/fetcher/Fetcher.js +99 -0
  116. package/core/fetcher/Supplier.d.ts +4 -0
  117. package/core/fetcher/Supplier.js +22 -0
  118. package/core/fetcher/createRequestUrl.d.ts +1 -0
  119. package/core/fetcher/createRequestUrl.js +13 -0
  120. package/core/fetcher/getFetchFn.d.ts +4 -0
  121. package/core/fetcher/getFetchFn.js +59 -0
  122. package/core/fetcher/getHeader.d.ts +1 -0
  123. package/core/fetcher/getHeader.js +12 -0
  124. package/core/fetcher/getRequestBody.d.ts +7 -0
  125. package/core/fetcher/getRequestBody.js +23 -0
  126. package/core/fetcher/getResponseBody.d.ts +1 -0
  127. package/core/fetcher/getResponseBody.js +52 -0
  128. package/core/fetcher/index.d.ts +5 -0
  129. package/core/fetcher/index.js +9 -0
  130. package/core/fetcher/makeRequest.d.ts +1 -0
  131. package/core/fetcher/makeRequest.js +42 -0
  132. package/core/fetcher/requestWithRetries.d.ts +1 -0
  133. package/core/fetcher/requestWithRetries.js +32 -0
  134. package/core/fetcher/signals.d.ts +12 -0
  135. package/core/fetcher/signals.js +37 -0
  136. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +31 -0
  137. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +245 -0
  138. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +22 -0
  139. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +124 -0
  140. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
  141. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +227 -0
  142. package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
  143. package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +50 -0
  144. package/core/index.d.ts +4 -0
  145. package/core/index.js +33 -0
  146. package/core/runtime/index.d.ts +1 -0
  147. package/core/runtime/index.js +5 -0
  148. package/core/runtime/runtime.d.ts +9 -0
  149. package/core/runtime/runtime.js +93 -0
  150. package/core/schemas/Schema.d.ts +84 -0
  151. package/core/schemas/Schema.js +21 -0
  152. package/core/schemas/builders/date/date.d.ts +2 -0
  153. package/core/schemas/builders/date/date.js +63 -0
  154. package/core/schemas/builders/date/index.d.ts +1 -0
  155. package/core/schemas/builders/date/index.js +5 -0
  156. package/core/schemas/builders/enum/enum.d.ts +2 -0
  157. package/core/schemas/builders/enum/enum.js +39 -0
  158. package/core/schemas/builders/enum/index.d.ts +1 -0
  159. package/core/schemas/builders/enum/index.js +5 -0
  160. package/core/schemas/builders/index.d.ts +13 -0
  161. package/core/schemas/builders/index.js +29 -0
  162. package/core/schemas/builders/lazy/index.d.ts +3 -0
  163. package/core/schemas/builders/lazy/index.js +7 -0
  164. package/core/schemas/builders/lazy/lazy.d.ts +5 -0
  165. package/core/schemas/builders/lazy/lazy.js +25 -0
  166. package/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
  167. package/core/schemas/builders/lazy/lazyObject.js +12 -0
  168. package/core/schemas/builders/list/index.d.ts +1 -0
  169. package/core/schemas/builders/list/index.js +5 -0
  170. package/core/schemas/builders/list/list.d.ts +2 -0
  171. package/core/schemas/builders/list/list.js +55 -0
  172. package/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
  173. package/core/schemas/builders/literals/booleanLiteral.js +29 -0
  174. package/core/schemas/builders/literals/index.d.ts +2 -0
  175. package/core/schemas/builders/literals/index.js +7 -0
  176. package/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
  177. package/core/schemas/builders/literals/stringLiteral.js +29 -0
  178. package/core/schemas/builders/object/index.d.ts +6 -0
  179. package/core/schemas/builders/object/index.js +11 -0
  180. package/core/schemas/builders/object/object.d.ts +3 -0
  181. package/core/schemas/builders/object/object.js +233 -0
  182. package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
  183. package/core/schemas/builders/object/objectWithoutOptionalProperties.js +8 -0
  184. package/core/schemas/builders/object/property.d.ts +8 -0
  185. package/core/schemas/builders/object/property.js +16 -0
  186. package/core/schemas/builders/object/types.d.ts +26 -0
  187. package/core/schemas/builders/object/types.js +2 -0
  188. package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
  189. package/core/schemas/builders/object-like/getObjectLikeUtils.js +54 -0
  190. package/core/schemas/builders/object-like/index.d.ts +2 -0
  191. package/core/schemas/builders/object-like/index.js +6 -0
  192. package/core/schemas/builders/object-like/types.d.ts +7 -0
  193. package/core/schemas/builders/object-like/types.js +2 -0
  194. package/core/schemas/builders/primitives/any.d.ts +1 -0
  195. package/core/schemas/builders/primitives/any.js +6 -0
  196. package/core/schemas/builders/primitives/boolean.d.ts +1 -0
  197. package/core/schemas/builders/primitives/boolean.js +25 -0
  198. package/core/schemas/builders/primitives/index.d.ts +5 -0
  199. package/core/schemas/builders/primitives/index.js +13 -0
  200. package/core/schemas/builders/primitives/number.d.ts +1 -0
  201. package/core/schemas/builders/primitives/number.js +25 -0
  202. package/core/schemas/builders/primitives/string.d.ts +1 -0
  203. package/core/schemas/builders/primitives/string.js +25 -0
  204. package/core/schemas/builders/primitives/unknown.d.ts +1 -0
  205. package/core/schemas/builders/primitives/unknown.js +6 -0
  206. package/core/schemas/builders/record/index.d.ts +2 -0
  207. package/core/schemas/builders/record/index.js +5 -0
  208. package/core/schemas/builders/record/record.d.ts +3 -0
  209. package/core/schemas/builders/record/record.js +95 -0
  210. package/core/schemas/builders/record/types.d.ts +4 -0
  211. package/core/schemas/builders/record/types.js +2 -0
  212. package/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
  213. package/core/schemas/builders/schema-utils/JsonError.js +12 -0
  214. package/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
  215. package/core/schemas/builders/schema-utils/ParseError.js +12 -0
  216. package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
  217. package/core/schemas/builders/schema-utils/getSchemaUtils.js +82 -0
  218. package/core/schemas/builders/schema-utils/index.d.ts +4 -0
  219. package/core/schemas/builders/schema-utils/index.js +11 -0
  220. package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
  221. package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +10 -0
  222. package/core/schemas/builders/set/index.d.ts +1 -0
  223. package/core/schemas/builders/set/index.js +5 -0
  224. package/core/schemas/builders/set/set.d.ts +2 -0
  225. package/core/schemas/builders/set/set.js +44 -0
  226. package/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
  227. package/core/schemas/builders/undiscriminated-union/index.js +5 -0
  228. package/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
  229. package/core/schemas/builders/undiscriminated-union/types.js +2 -0
  230. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
  231. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +40 -0
  232. package/core/schemas/builders/union/discriminant.d.ts +5 -0
  233. package/core/schemas/builders/union/discriminant.js +10 -0
  234. package/core/schemas/builders/union/index.d.ts +4 -0
  235. package/core/schemas/builders/union/index.js +7 -0
  236. package/core/schemas/builders/union/types.d.ts +13 -0
  237. package/core/schemas/builders/union/types.js +2 -0
  238. package/core/schemas/builders/union/union.d.ts +4 -0
  239. package/core/schemas/builders/union/union.js +130 -0
  240. package/core/schemas/index.d.ts +2 -0
  241. package/core/schemas/index.js +17 -0
  242. package/core/schemas/utils/MaybePromise.d.ts +1 -0
  243. package/core/schemas/utils/MaybePromise.js +2 -0
  244. package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
  245. package/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
  246. package/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
  247. package/core/schemas/utils/createIdentitySchemaCreator.js +16 -0
  248. package/core/schemas/utils/entries.d.ts +1 -0
  249. package/core/schemas/utils/entries.js +7 -0
  250. package/core/schemas/utils/filterObject.d.ts +1 -0
  251. package/core/schemas/utils/filterObject.js +14 -0
  252. package/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
  253. package/core/schemas/utils/getErrorMessageForIncorrectType.js +24 -0
  254. package/core/schemas/utils/isPlainObject.d.ts +1 -0
  255. package/core/schemas/utils/isPlainObject.js +18 -0
  256. package/core/schemas/utils/keys.d.ts +1 -0
  257. package/core/schemas/utils/keys.js +7 -0
  258. package/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
  259. package/core/schemas/utils/maybeSkipValidation.js +28 -0
  260. package/core/schemas/utils/partition.d.ts +1 -0
  261. package/core/schemas/utils/partition.js +16 -0
  262. package/core/streaming-fetcher/Stream.d.ts +48 -0
  263. package/core/streaming-fetcher/Stream.js +170 -0
  264. package/core/streaming-fetcher/index.d.ts +1 -0
  265. package/core/streaming-fetcher/index.js +5 -0
  266. package/dist/Client.d.ts +33 -0
  267. package/dist/Client.js +22 -0
  268. package/dist/api/errors/InternalServerError.d.ts +8 -0
  269. package/dist/api/errors/InternalServerError.js +41 -0
  270. package/dist/api/errors/NotFoundError.d.ts +8 -0
  271. package/dist/api/errors/NotFoundError.js +41 -0
  272. package/dist/api/errors/UnprocessableEntityError.d.ts +8 -0
  273. package/dist/api/errors/UnprocessableEntityError.js +41 -0
  274. package/dist/api/errors/index.d.ts +3 -0
  275. package/dist/api/errors/index.js +19 -0
  276. package/dist/api/index.d.ts +3 -0
  277. package/dist/api/index.js +19 -0
  278. package/dist/api/resources/index.d.ts +5 -0
  279. package/dist/api/resources/index.js +34 -0
  280. package/dist/api/resources/profiles/client/Client.d.ts +66 -0
  281. package/dist/api/resources/profiles/client/Client.js +296 -0
  282. package/dist/api/resources/profiles/client/index.d.ts +1 -0
  283. package/dist/api/resources/profiles/client/index.js +17 -0
  284. package/dist/api/resources/profiles/client/requests/ProfilesDeleteRequest.d.ts +19 -0
  285. package/dist/api/resources/profiles/client/requests/ProfilesDeleteRequest.js +5 -0
  286. package/dist/api/resources/profiles/client/requests/ProfilesGetRequest.d.ts +19 -0
  287. package/dist/api/resources/profiles/client/requests/ProfilesGetRequest.js +5 -0
  288. package/dist/api/resources/profiles/client/requests/index.d.ts +2 -0
  289. package/dist/api/resources/profiles/client/requests/index.js +2 -0
  290. package/dist/api/resources/profiles/index.d.ts +1 -0
  291. package/dist/api/resources/profiles/index.js +17 -0
  292. package/dist/api/resources/sessions/client/Client.d.ts +132 -0
  293. package/dist/api/resources/sessions/client/Client.js +788 -0
  294. package/dist/api/resources/sessions/client/index.d.ts +1 -0
  295. package/dist/api/resources/sessions/client/index.js +17 -0
  296. package/dist/api/resources/sessions/client/requests/CreateLiveViewUrlRequest.d.ts +20 -0
  297. package/dist/api/resources/sessions/client/requests/CreateLiveViewUrlRequest.js +5 -0
  298. package/dist/api/resources/sessions/client/requests/SessionPromptContentRequest.d.ts +15 -0
  299. package/dist/api/resources/sessions/client/requests/SessionPromptContentRequest.js +5 -0
  300. package/dist/api/resources/sessions/client/requests/SessionPromptPaginatedExtractionRequest.d.ts +15 -0
  301. package/dist/api/resources/sessions/client/requests/SessionPromptPaginatedExtractionRequest.js +5 -0
  302. package/dist/api/resources/sessions/client/requests/SessionRestInputV1.d.ts +14 -0
  303. package/dist/api/resources/sessions/client/requests/SessionRestInputV1.js +5 -0
  304. package/dist/api/resources/sessions/client/requests/SessionsListRequest.d.ts +13 -0
  305. package/dist/api/resources/sessions/client/requests/SessionsListRequest.js +5 -0
  306. package/dist/api/resources/sessions/client/requests/index.d.ts +5 -0
  307. package/dist/api/resources/sessions/client/requests/index.js +2 -0
  308. package/dist/api/resources/sessions/index.d.ts +2 -0
  309. package/dist/api/resources/sessions/index.js +18 -0
  310. package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +16 -0
  311. package/dist/api/resources/sessions/types/SessionsEventsResponse.js +5 -0
  312. package/dist/api/resources/sessions/types/SessionsEventsResponseError.d.ts +11 -0
  313. package/dist/api/resources/sessions/types/SessionsEventsResponseError.js +5 -0
  314. package/dist/api/resources/sessions/types/SessionsEventsResponseStatus.d.ts +11 -0
  315. package/dist/api/resources/sessions/types/SessionsEventsResponseStatus.js +5 -0
  316. package/dist/api/resources/sessions/types/index.d.ts +3 -0
  317. package/dist/api/resources/sessions/types/index.js +19 -0
  318. package/dist/api/types/CleanScrapeResponse.d.ts +12 -0
  319. package/dist/api/types/CleanScrapeResponse.js +5 -0
  320. package/dist/api/types/CleanScrapeResponseData.d.ts +10 -0
  321. package/dist/api/types/CleanScrapeResponseData.js +5 -0
  322. package/dist/api/types/CleanScrapeResponseDataStatus.d.ts +12 -0
  323. package/dist/api/types/CleanScrapeResponseDataStatus.js +11 -0
  324. package/dist/api/types/CleanScrapeResponseOutput.d.ts +12 -0
  325. package/dist/api/types/CleanScrapeResponseOutput.js +5 -0
  326. package/dist/api/types/ConnectionInfo.d.ts +14 -0
  327. package/dist/api/types/ConnectionInfo.js +5 -0
  328. package/dist/api/types/ErrorDetail.d.ts +10 -0
  329. package/dist/api/types/ErrorDetail.js +5 -0
  330. package/dist/api/types/ErrorMessage.d.ts +11 -0
  331. package/dist/api/types/ErrorMessage.js +5 -0
  332. package/dist/api/types/ErrorModel.d.ts +20 -0
  333. package/dist/api/types/ErrorModel.js +5 -0
  334. package/dist/api/types/LiveViewConnectionInfo.d.ts +9 -0
  335. package/dist/api/types/LiveViewConnectionInfo.js +5 -0
  336. package/dist/api/types/LiveViewUrlOutputV1Body.d.ts +9 -0
  337. package/dist/api/types/LiveViewUrlOutputV1Body.js +5 -0
  338. package/dist/api/types/ProfileOutputV1Body.d.ts +10 -0
  339. package/dist/api/types/ProfileOutputV1Body.js +5 -0
  340. package/dist/api/types/ProfileV1.d.ts +13 -0
  341. package/dist/api/types/ProfileV1.js +5 -0
  342. package/dist/api/types/ProfilesOutputV1Body.d.ts +9 -0
  343. package/dist/api/types/ProfilesOutputV1Body.js +5 -0
  344. package/dist/api/types/ScrapeResponseContent.d.ts +9 -0
  345. package/dist/api/types/ScrapeResponseContent.js +5 -0
  346. package/dist/api/types/Session.d.ts +20 -0
  347. package/dist/api/types/Session.js +5 -0
  348. package/dist/api/types/SessionAiResponse.d.ts +16 -0
  349. package/dist/api/types/SessionAiResponse.js +5 -0
  350. package/dist/api/types/SessionAiResponseData.d.ts +10 -0
  351. package/dist/api/types/SessionAiResponseData.js +5 -0
  352. package/dist/api/types/SessionAiResponseDataStatus.d.ts +12 -0
  353. package/dist/api/types/SessionAiResponseDataStatus.js +11 -0
  354. package/dist/api/types/SessionAiResponseIssue.d.ts +11 -0
  355. package/dist/api/types/SessionAiResponseIssue.js +5 -0
  356. package/dist/api/types/SessionAiResponseMetadata.d.ts +8 -0
  357. package/dist/api/types/SessionAiResponseMetadata.js +5 -0
  358. package/dist/api/types/SessionAiResponseMetadataUsage.d.ts +9 -0
  359. package/dist/api/types/SessionAiResponseMetadataUsage.js +5 -0
  360. package/dist/api/types/SessionConfig.d.ts +17 -0
  361. package/dist/api/types/SessionConfig.js +5 -0
  362. package/dist/api/types/SessionConfigV1.d.ts +17 -0
  363. package/dist/api/types/SessionConfigV1.js +5 -0
  364. package/dist/api/types/SessionOutputV1Body.d.ts +12 -0
  365. package/dist/api/types/SessionOutputV1Body.js +5 -0
  366. package/dist/api/types/SessionWithConnectionInfo.d.ts +10 -0
  367. package/dist/api/types/SessionWithConnectionInfo.js +5 -0
  368. package/dist/api/types/SessionsOutputV1Body.d.ts +10 -0
  369. package/dist/api/types/SessionsOutputV1Body.js +5 -0
  370. package/dist/api/types/StatusMessage.d.ts +14 -0
  371. package/dist/api/types/StatusMessage.js +5 -0
  372. package/dist/api/types/StatusMessageStatus.d.ts +13 -0
  373. package/dist/api/types/StatusMessageStatus.js +12 -0
  374. package/dist/api/types/index.d.ts +28 -0
  375. package/dist/api/types/index.js +44 -0
  376. package/dist/core/fetcher/APIResponse.d.ts +10 -0
  377. package/dist/core/fetcher/APIResponse.js +2 -0
  378. package/dist/core/fetcher/Fetcher.d.ts +39 -0
  379. package/dist/core/fetcher/Fetcher.js +99 -0
  380. package/dist/core/fetcher/Supplier.d.ts +4 -0
  381. package/dist/core/fetcher/Supplier.js +22 -0
  382. package/dist/core/fetcher/createRequestUrl.d.ts +1 -0
  383. package/dist/core/fetcher/createRequestUrl.js +13 -0
  384. package/dist/core/fetcher/getFetchFn.d.ts +4 -0
  385. package/dist/core/fetcher/getFetchFn.js +59 -0
  386. package/dist/core/fetcher/getHeader.d.ts +1 -0
  387. package/dist/core/fetcher/getHeader.js +12 -0
  388. package/dist/core/fetcher/getRequestBody.d.ts +7 -0
  389. package/dist/core/fetcher/getRequestBody.js +23 -0
  390. package/dist/core/fetcher/getResponseBody.d.ts +1 -0
  391. package/dist/core/fetcher/getResponseBody.js +52 -0
  392. package/dist/core/fetcher/index.d.ts +5 -0
  393. package/dist/core/fetcher/index.js +9 -0
  394. package/dist/core/fetcher/makeRequest.d.ts +1 -0
  395. package/dist/core/fetcher/makeRequest.js +42 -0
  396. package/dist/core/fetcher/requestWithRetries.d.ts +1 -0
  397. package/dist/core/fetcher/requestWithRetries.js +32 -0
  398. package/dist/core/fetcher/signals.d.ts +12 -0
  399. package/dist/core/fetcher/signals.js +37 -0
  400. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +31 -0
  401. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +245 -0
  402. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +22 -0
  403. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +124 -0
  404. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
  405. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +227 -0
  406. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
  407. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +50 -0
  408. package/dist/core/index.d.ts +4 -0
  409. package/dist/core/index.js +33 -0
  410. package/dist/core/runtime/index.d.ts +1 -0
  411. package/dist/core/runtime/index.js +5 -0
  412. package/dist/core/runtime/runtime.d.ts +9 -0
  413. package/dist/core/runtime/runtime.js +93 -0
  414. package/dist/core/schemas/Schema.d.ts +84 -0
  415. package/dist/core/schemas/Schema.js +21 -0
  416. package/dist/core/schemas/builders/date/date.d.ts +2 -0
  417. package/dist/core/schemas/builders/date/date.js +63 -0
  418. package/dist/core/schemas/builders/date/index.d.ts +1 -0
  419. package/dist/core/schemas/builders/date/index.js +5 -0
  420. package/dist/core/schemas/builders/enum/enum.d.ts +2 -0
  421. package/dist/core/schemas/builders/enum/enum.js +39 -0
  422. package/dist/core/schemas/builders/enum/index.d.ts +1 -0
  423. package/dist/core/schemas/builders/enum/index.js +5 -0
  424. package/dist/core/schemas/builders/index.d.ts +13 -0
  425. package/dist/core/schemas/builders/index.js +29 -0
  426. package/dist/core/schemas/builders/lazy/index.d.ts +3 -0
  427. package/dist/core/schemas/builders/lazy/index.js +7 -0
  428. package/dist/core/schemas/builders/lazy/lazy.d.ts +5 -0
  429. package/dist/core/schemas/builders/lazy/lazy.js +25 -0
  430. package/dist/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
  431. package/dist/core/schemas/builders/lazy/lazyObject.js +12 -0
  432. package/dist/core/schemas/builders/list/index.d.ts +1 -0
  433. package/dist/core/schemas/builders/list/index.js +5 -0
  434. package/dist/core/schemas/builders/list/list.d.ts +2 -0
  435. package/dist/core/schemas/builders/list/list.js +55 -0
  436. package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
  437. package/dist/core/schemas/builders/literals/booleanLiteral.js +29 -0
  438. package/dist/core/schemas/builders/literals/index.d.ts +2 -0
  439. package/dist/core/schemas/builders/literals/index.js +7 -0
  440. package/dist/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
  441. package/dist/core/schemas/builders/literals/stringLiteral.js +29 -0
  442. package/dist/core/schemas/builders/object/index.d.ts +6 -0
  443. package/dist/core/schemas/builders/object/index.js +11 -0
  444. package/dist/core/schemas/builders/object/object.d.ts +3 -0
  445. package/dist/core/schemas/builders/object/object.js +233 -0
  446. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
  447. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +8 -0
  448. package/dist/core/schemas/builders/object/property.d.ts +8 -0
  449. package/dist/core/schemas/builders/object/property.js +16 -0
  450. package/dist/core/schemas/builders/object/types.d.ts +26 -0
  451. package/dist/core/schemas/builders/object/types.js +2 -0
  452. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
  453. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +54 -0
  454. package/dist/core/schemas/builders/object-like/index.d.ts +2 -0
  455. package/dist/core/schemas/builders/object-like/index.js +6 -0
  456. package/dist/core/schemas/builders/object-like/types.d.ts +7 -0
  457. package/dist/core/schemas/builders/object-like/types.js +2 -0
  458. package/dist/core/schemas/builders/primitives/any.d.ts +1 -0
  459. package/dist/core/schemas/builders/primitives/any.js +6 -0
  460. package/dist/core/schemas/builders/primitives/boolean.d.ts +1 -0
  461. package/dist/core/schemas/builders/primitives/boolean.js +25 -0
  462. package/dist/core/schemas/builders/primitives/index.d.ts +5 -0
  463. package/dist/core/schemas/builders/primitives/index.js +13 -0
  464. package/dist/core/schemas/builders/primitives/number.d.ts +1 -0
  465. package/dist/core/schemas/builders/primitives/number.js +25 -0
  466. package/dist/core/schemas/builders/primitives/string.d.ts +1 -0
  467. package/dist/core/schemas/builders/primitives/string.js +25 -0
  468. package/dist/core/schemas/builders/primitives/unknown.d.ts +1 -0
  469. package/dist/core/schemas/builders/primitives/unknown.js +6 -0
  470. package/dist/core/schemas/builders/record/index.d.ts +2 -0
  471. package/dist/core/schemas/builders/record/index.js +5 -0
  472. package/dist/core/schemas/builders/record/record.d.ts +3 -0
  473. package/dist/core/schemas/builders/record/record.js +95 -0
  474. package/dist/core/schemas/builders/record/types.d.ts +4 -0
  475. package/dist/core/schemas/builders/record/types.js +2 -0
  476. package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
  477. package/dist/core/schemas/builders/schema-utils/JsonError.js +12 -0
  478. package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
  479. package/dist/core/schemas/builders/schema-utils/ParseError.js +12 -0
  480. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +17 -0
  481. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +82 -0
  482. package/dist/core/schemas/builders/schema-utils/index.d.ts +4 -0
  483. package/dist/core/schemas/builders/schema-utils/index.js +11 -0
  484. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
  485. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +10 -0
  486. package/dist/core/schemas/builders/set/index.d.ts +1 -0
  487. package/dist/core/schemas/builders/set/index.js +5 -0
  488. package/dist/core/schemas/builders/set/set.d.ts +2 -0
  489. package/dist/core/schemas/builders/set/set.js +44 -0
  490. package/dist/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
  491. package/dist/core/schemas/builders/undiscriminated-union/index.js +5 -0
  492. package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
  493. package/dist/core/schemas/builders/undiscriminated-union/types.js +2 -0
  494. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
  495. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +40 -0
  496. package/dist/core/schemas/builders/union/discriminant.d.ts +5 -0
  497. package/dist/core/schemas/builders/union/discriminant.js +10 -0
  498. package/dist/core/schemas/builders/union/index.d.ts +4 -0
  499. package/dist/core/schemas/builders/union/index.js +7 -0
  500. package/dist/core/schemas/builders/union/types.d.ts +13 -0
  501. package/dist/core/schemas/builders/union/types.js +2 -0
  502. package/dist/core/schemas/builders/union/union.d.ts +4 -0
  503. package/dist/core/schemas/builders/union/union.js +130 -0
  504. package/dist/core/schemas/index.d.ts +2 -0
  505. package/dist/core/schemas/index.js +17 -0
  506. package/dist/core/schemas/utils/MaybePromise.d.ts +1 -0
  507. package/dist/core/schemas/utils/MaybePromise.js +2 -0
  508. package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
  509. package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
  510. package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
  511. package/dist/core/schemas/utils/createIdentitySchemaCreator.js +16 -0
  512. package/dist/core/schemas/utils/entries.d.ts +1 -0
  513. package/dist/core/schemas/utils/entries.js +7 -0
  514. package/dist/core/schemas/utils/filterObject.d.ts +1 -0
  515. package/dist/core/schemas/utils/filterObject.js +14 -0
  516. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
  517. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +24 -0
  518. package/dist/core/schemas/utils/isPlainObject.d.ts +1 -0
  519. package/dist/core/schemas/utils/isPlainObject.js +18 -0
  520. package/dist/core/schemas/utils/keys.d.ts +1 -0
  521. package/dist/core/schemas/utils/keys.js +7 -0
  522. package/dist/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
  523. package/dist/core/schemas/utils/maybeSkipValidation.js +28 -0
  524. package/dist/core/schemas/utils/partition.d.ts +1 -0
  525. package/dist/core/schemas/utils/partition.js +16 -0
  526. package/dist/core/streaming-fetcher/Stream.d.ts +48 -0
  527. package/dist/core/streaming-fetcher/Stream.js +170 -0
  528. package/dist/core/streaming-fetcher/index.d.ts +1 -0
  529. package/dist/core/streaming-fetcher/index.js +5 -0
  530. package/dist/environments.d.ts +7 -0
  531. package/dist/environments.js +9 -0
  532. package/dist/errors/AirtopError.d.ts +12 -0
  533. package/dist/errors/AirtopError.js +32 -0
  534. package/dist/errors/AirtopTimeoutError.d.ts +6 -0
  535. package/dist/errors/AirtopTimeoutError.js +13 -0
  536. package/dist/errors/index.d.ts +2 -0
  537. package/dist/errors/index.js +7 -0
  538. package/dist/index.d.ts +4 -0
  539. package/dist/index.js +34 -0
  540. package/dist/serialization/index.d.ts +2 -0
  541. package/dist/serialization/index.js +18 -0
  542. package/dist/serialization/resources/index.d.ts +3 -0
  543. package/dist/serialization/resources/index.js +32 -0
  544. package/dist/serialization/resources/sessions/client/index.d.ts +1 -0
  545. package/dist/serialization/resources/sessions/client/index.js +17 -0
  546. package/dist/serialization/resources/sessions/client/requests/SessionPromptContentRequest.d.ts +13 -0
  547. package/dist/serialization/resources/sessions/client/requests/SessionPromptContentRequest.js +34 -0
  548. package/dist/serialization/resources/sessions/client/requests/SessionPromptPaginatedExtractionRequest.d.ts +13 -0
  549. package/dist/serialization/resources/sessions/client/requests/SessionPromptPaginatedExtractionRequest.js +34 -0
  550. package/dist/serialization/resources/sessions/client/requests/SessionRestInputV1.d.ts +14 -0
  551. package/dist/serialization/resources/sessions/client/requests/SessionRestInputV1.js +35 -0
  552. package/dist/serialization/resources/sessions/client/requests/index.d.ts +3 -0
  553. package/dist/serialization/resources/sessions/client/requests/index.js +9 -0
  554. package/dist/serialization/resources/sessions/index.d.ts +2 -0
  555. package/dist/serialization/resources/sessions/index.js +18 -0
  556. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +18 -0
  557. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +41 -0
  558. package/dist/serialization/resources/sessions/types/SessionsEventsResponseError.d.ts +15 -0
  559. package/dist/serialization/resources/sessions/types/SessionsEventsResponseError.js +36 -0
  560. package/dist/serialization/resources/sessions/types/SessionsEventsResponseStatus.d.ts +15 -0
  561. package/dist/serialization/resources/sessions/types/SessionsEventsResponseStatus.js +36 -0
  562. package/dist/serialization/resources/sessions/types/index.d.ts +3 -0
  563. package/dist/serialization/resources/sessions/types/index.js +19 -0
  564. package/dist/serialization/types/CleanScrapeResponse.d.ts +16 -0
  565. package/dist/serialization/types/CleanScrapeResponse.js +37 -0
  566. package/dist/serialization/types/CleanScrapeResponseData.d.ts +15 -0
  567. package/dist/serialization/types/CleanScrapeResponseData.js +36 -0
  568. package/dist/serialization/types/CleanScrapeResponseDataStatus.d.ts +10 -0
  569. package/dist/serialization/types/CleanScrapeResponseDataStatus.js +31 -0
  570. package/dist/serialization/types/CleanScrapeResponseOutput.d.ts +15 -0
  571. package/dist/serialization/types/CleanScrapeResponseOutput.js +36 -0
  572. package/dist/serialization/types/ConnectionInfo.d.ts +16 -0
  573. package/dist/serialization/types/ConnectionInfo.js +37 -0
  574. package/dist/serialization/types/ErrorDetail.d.ts +14 -0
  575. package/dist/serialization/types/ErrorDetail.js +35 -0
  576. package/dist/serialization/types/ErrorMessage.d.ts +14 -0
  577. package/dist/serialization/types/ErrorMessage.js +35 -0
  578. package/dist/serialization/types/ErrorModel.d.ts +19 -0
  579. package/dist/serialization/types/ErrorModel.js +40 -0
  580. package/dist/serialization/types/LiveViewConnectionInfo.d.ts +13 -0
  581. package/dist/serialization/types/LiveViewConnectionInfo.js +34 -0
  582. package/dist/serialization/types/LiveViewUrlOutputV1Body.d.ts +13 -0
  583. package/dist/serialization/types/LiveViewUrlOutputV1Body.js +34 -0
  584. package/dist/serialization/types/ProfileOutputV1Body.d.ts +14 -0
  585. package/dist/serialization/types/ProfileOutputV1Body.js +35 -0
  586. package/dist/serialization/types/ProfileV1.d.ts +15 -0
  587. package/dist/serialization/types/ProfileV1.js +36 -0
  588. package/dist/serialization/types/ProfilesOutputV1Body.d.ts +14 -0
  589. package/dist/serialization/types/ProfilesOutputV1Body.js +35 -0
  590. package/dist/serialization/types/ScrapeResponseContent.d.ts +13 -0
  591. package/dist/serialization/types/ScrapeResponseContent.js +34 -0
  592. package/dist/serialization/types/Session.d.ts +19 -0
  593. package/dist/serialization/types/Session.js +40 -0
  594. package/dist/serialization/types/SessionAiResponse.d.ts +19 -0
  595. package/dist/serialization/types/SessionAiResponse.js +40 -0
  596. package/dist/serialization/types/SessionAiResponseData.d.ts +14 -0
  597. package/dist/serialization/types/SessionAiResponseData.js +35 -0
  598. package/dist/serialization/types/SessionAiResponseDataStatus.d.ts +10 -0
  599. package/dist/serialization/types/SessionAiResponseDataStatus.js +31 -0
  600. package/dist/serialization/types/SessionAiResponseIssue.d.ts +14 -0
  601. package/dist/serialization/types/SessionAiResponseIssue.js +35 -0
  602. package/dist/serialization/types/SessionAiResponseMetadata.d.ts +13 -0
  603. package/dist/serialization/types/SessionAiResponseMetadata.js +34 -0
  604. package/dist/serialization/types/SessionAiResponseMetadataUsage.d.ts +13 -0
  605. package/dist/serialization/types/SessionAiResponseMetadataUsage.js +34 -0
  606. package/dist/serialization/types/SessionConfig.d.ts +17 -0
  607. package/dist/serialization/types/SessionConfig.js +38 -0
  608. package/dist/serialization/types/SessionConfigV1.d.ts +17 -0
  609. package/dist/serialization/types/SessionConfigV1.js +38 -0
  610. package/dist/serialization/types/SessionOutputV1Body.d.ts +16 -0
  611. package/dist/serialization/types/SessionOutputV1Body.js +37 -0
  612. package/dist/serialization/types/SessionWithConnectionInfo.d.ts +15 -0
  613. package/dist/serialization/types/SessionWithConnectionInfo.js +36 -0
  614. package/dist/serialization/types/SessionsOutputV1Body.d.ts +14 -0
  615. package/dist/serialization/types/SessionsOutputV1Body.js +35 -0
  616. package/dist/serialization/types/StatusMessage.d.ts +16 -0
  617. package/dist/serialization/types/StatusMessage.js +37 -0
  618. package/dist/serialization/types/StatusMessageStatus.d.ts +10 -0
  619. package/dist/serialization/types/StatusMessageStatus.js +31 -0
  620. package/dist/serialization/types/index.d.ts +28 -0
  621. package/dist/serialization/types/index.js +44 -0
  622. package/environments.d.ts +7 -0
  623. package/environments.js +9 -0
  624. package/errors/AirtopError.d.ts +12 -0
  625. package/errors/AirtopError.js +32 -0
  626. package/errors/AirtopTimeoutError.d.ts +6 -0
  627. package/errors/AirtopTimeoutError.js +13 -0
  628. package/errors/index.d.ts +2 -0
  629. package/errors/index.js +7 -0
  630. package/index.d.ts +4 -0
  631. package/index.js +34 -0
  632. package/jest.config.js +5 -0
  633. package/package.json +39 -0
  634. package/reference.md +812 -0
  635. package/serialization/index.d.ts +2 -0
  636. package/serialization/index.js +18 -0
  637. package/serialization/resources/index.d.ts +3 -0
  638. package/serialization/resources/index.js +32 -0
  639. package/serialization/resources/sessions/client/index.d.ts +1 -0
  640. package/serialization/resources/sessions/client/index.js +17 -0
  641. package/serialization/resources/sessions/client/requests/SessionPromptContentRequest.d.ts +13 -0
  642. package/serialization/resources/sessions/client/requests/SessionPromptContentRequest.js +34 -0
  643. package/serialization/resources/sessions/client/requests/SessionPromptPaginatedExtractionRequest.d.ts +13 -0
  644. package/serialization/resources/sessions/client/requests/SessionPromptPaginatedExtractionRequest.js +34 -0
  645. package/serialization/resources/sessions/client/requests/SessionRestInputV1.d.ts +14 -0
  646. package/serialization/resources/sessions/client/requests/SessionRestInputV1.js +35 -0
  647. package/serialization/resources/sessions/client/requests/index.d.ts +3 -0
  648. package/serialization/resources/sessions/client/requests/index.js +9 -0
  649. package/serialization/resources/sessions/index.d.ts +2 -0
  650. package/serialization/resources/sessions/index.js +18 -0
  651. package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +18 -0
  652. package/serialization/resources/sessions/types/SessionsEventsResponse.js +41 -0
  653. package/serialization/resources/sessions/types/SessionsEventsResponseError.d.ts +15 -0
  654. package/serialization/resources/sessions/types/SessionsEventsResponseError.js +36 -0
  655. package/serialization/resources/sessions/types/SessionsEventsResponseStatus.d.ts +15 -0
  656. package/serialization/resources/sessions/types/SessionsEventsResponseStatus.js +36 -0
  657. package/serialization/resources/sessions/types/index.d.ts +3 -0
  658. package/serialization/resources/sessions/types/index.js +19 -0
  659. package/serialization/types/CleanScrapeResponse.d.ts +16 -0
  660. package/serialization/types/CleanScrapeResponse.js +37 -0
  661. package/serialization/types/CleanScrapeResponseData.d.ts +15 -0
  662. package/serialization/types/CleanScrapeResponseData.js +36 -0
  663. package/serialization/types/CleanScrapeResponseDataStatus.d.ts +10 -0
  664. package/serialization/types/CleanScrapeResponseDataStatus.js +31 -0
  665. package/serialization/types/CleanScrapeResponseOutput.d.ts +15 -0
  666. package/serialization/types/CleanScrapeResponseOutput.js +36 -0
  667. package/serialization/types/ConnectionInfo.d.ts +16 -0
  668. package/serialization/types/ConnectionInfo.js +37 -0
  669. package/serialization/types/ErrorDetail.d.ts +14 -0
  670. package/serialization/types/ErrorDetail.js +35 -0
  671. package/serialization/types/ErrorMessage.d.ts +14 -0
  672. package/serialization/types/ErrorMessage.js +35 -0
  673. package/serialization/types/ErrorModel.d.ts +19 -0
  674. package/serialization/types/ErrorModel.js +40 -0
  675. package/serialization/types/LiveViewConnectionInfo.d.ts +13 -0
  676. package/serialization/types/LiveViewConnectionInfo.js +34 -0
  677. package/serialization/types/LiveViewUrlOutputV1Body.d.ts +13 -0
  678. package/serialization/types/LiveViewUrlOutputV1Body.js +34 -0
  679. package/serialization/types/ProfileOutputV1Body.d.ts +14 -0
  680. package/serialization/types/ProfileOutputV1Body.js +35 -0
  681. package/serialization/types/ProfileV1.d.ts +15 -0
  682. package/serialization/types/ProfileV1.js +36 -0
  683. package/serialization/types/ProfilesOutputV1Body.d.ts +14 -0
  684. package/serialization/types/ProfilesOutputV1Body.js +35 -0
  685. package/serialization/types/ScrapeResponseContent.d.ts +13 -0
  686. package/serialization/types/ScrapeResponseContent.js +34 -0
  687. package/serialization/types/Session.d.ts +19 -0
  688. package/serialization/types/Session.js +40 -0
  689. package/serialization/types/SessionAiResponse.d.ts +19 -0
  690. package/serialization/types/SessionAiResponse.js +40 -0
  691. package/serialization/types/SessionAiResponseData.d.ts +14 -0
  692. package/serialization/types/SessionAiResponseData.js +35 -0
  693. package/serialization/types/SessionAiResponseDataStatus.d.ts +10 -0
  694. package/serialization/types/SessionAiResponseDataStatus.js +31 -0
  695. package/serialization/types/SessionAiResponseIssue.d.ts +14 -0
  696. package/serialization/types/SessionAiResponseIssue.js +35 -0
  697. package/serialization/types/SessionAiResponseMetadata.d.ts +13 -0
  698. package/serialization/types/SessionAiResponseMetadata.js +34 -0
  699. package/serialization/types/SessionAiResponseMetadataUsage.d.ts +13 -0
  700. package/serialization/types/SessionAiResponseMetadataUsage.js +34 -0
  701. package/serialization/types/SessionConfig.d.ts +17 -0
  702. package/serialization/types/SessionConfig.js +38 -0
  703. package/serialization/types/SessionConfigV1.d.ts +17 -0
  704. package/serialization/types/SessionConfigV1.js +38 -0
  705. package/serialization/types/SessionOutputV1Body.d.ts +16 -0
  706. package/serialization/types/SessionOutputV1Body.js +37 -0
  707. package/serialization/types/SessionWithConnectionInfo.d.ts +15 -0
  708. package/serialization/types/SessionWithConnectionInfo.js +36 -0
  709. package/serialization/types/SessionsOutputV1Body.d.ts +14 -0
  710. package/serialization/types/SessionsOutputV1Body.js +35 -0
  711. package/serialization/types/StatusMessage.d.ts +16 -0
  712. package/serialization/types/StatusMessage.js +37 -0
  713. package/serialization/types/StatusMessageStatus.d.ts +10 -0
  714. package/serialization/types/StatusMessageStatus.js +31 -0
  715. package/serialization/types/index.d.ts +28 -0
  716. package/serialization/types/index.js +44 -0
@@ -0,0 +1 @@
1
+ export * from "./requests";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * browserId: "7334da2a-91b0-42c5-6156-76a5eba87430",
8
+ * targetId: "123456"
9
+ * }
10
+ */
11
+ export interface CreateLiveViewUrlRequest {
12
+ /**
13
+ * id of the browser to create a url for
14
+ */
15
+ browserId?: string;
16
+ /**
17
+ * id of the target to create a url for
18
+ */
19
+ targetId?: string;
20
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * prompt: "What is the main idea of this page?"
8
+ * }
9
+ */
10
+ export interface SessionPromptContentRequest {
11
+ /** A URL to the JSON Schema for this object. */
12
+ schema?: string;
13
+ /** The prompt to submit about the content in the browser window */
14
+ prompt: string;
15
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * prompt: "For each page on return all the items listed including a subfield"
8
+ * }
9
+ */
10
+ export interface SessionPromptPaginatedExtractionRequest {
11
+ /** A URL to the JSON Schema for this object. */
12
+ schema?: string;
13
+ /** The prompt to perform a paginated extraction with */
14
+ prompt: string;
15
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../../../../index";
5
+ /**
6
+ * @example
7
+ * {}
8
+ */
9
+ export interface SessionRestInputV1 {
10
+ /** A URL to the JSON Schema for this object. */
11
+ schema?: string;
12
+ /** Session configuration */
13
+ configuration?: Airtop.SessionConfigV1;
14
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface SessionsListRequest {
9
+ /**
10
+ * a comma separated list of UUIDs of the session to get
11
+ */
12
+ sessionIds?: string | string[];
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export { type SessionsListRequest } from "./SessionsListRequest";
2
+ export { type SessionRestInputV1 } from "./SessionRestInputV1";
3
+ export { type CreateLiveViewUrlRequest } from "./CreateLiveViewUrlRequest";
4
+ export { type SessionPromptContentRequest } from "./SessionPromptContentRequest";
5
+ export { type SessionPromptPaginatedExtractionRequest } from "./SessionPromptPaginatedExtractionRequest";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./types";
2
+ export * from "./client";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../../../index";
5
+ /**
6
+ * Each oneOf object in the array represents one possible Server Sent Events (SSE) message, serialized as UTF-8 text according to the SSE specification.
7
+ */
8
+ export declare type SessionsEventsResponse = Airtop.SessionsEventsResponse.Status | Airtop.SessionsEventsResponse.Error_;
9
+ export declare namespace SessionsEventsResponse {
10
+ interface Status extends Airtop.SessionsEventsResponseStatus {
11
+ event: "status";
12
+ }
13
+ interface Error_ extends Airtop.SessionsEventsResponseError {
14
+ event: "error";
15
+ }
16
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../../../index";
5
+ export interface SessionsEventsResponseError {
6
+ data: Airtop.ErrorMessage;
7
+ /** The event ID. */
8
+ id?: number;
9
+ /** The retry time in milliseconds. */
10
+ retry?: number;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../../../index";
5
+ export interface SessionsEventsResponseStatus {
6
+ data: Airtop.StatusMessage;
7
+ /** The event ID. */
8
+ id?: number;
9
+ /** The retry time in milliseconds. */
10
+ retry?: number;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export * from "./SessionsEventsResponseStatus";
2
+ export * from "./SessionsEventsResponseError";
3
+ export * from "./SessionsEventsResponse";
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./SessionsEventsResponseStatus"), exports);
18
+ __exportStar(require("./SessionsEventsResponseError"), exports);
19
+ __exportStar(require("./SessionsEventsResponse"), exports);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../index";
5
+ export interface CleanScrapeResponse {
6
+ /** A URL to the JSON Schema for this object. */
7
+ schema?: string;
8
+ /** The data about the scraped browser window */
9
+ data: Airtop.CleanScrapeResponseData;
10
+ /** Metadata about the response */
11
+ meta: Airtop.SessionAiResponseMetadata;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../index";
5
+ export interface CleanScrapeResponseData {
6
+ /** The response to the question about this specific browser window */
7
+ output: Airtop.CleanScrapeResponseOutput;
8
+ /** outcome of the operation */
9
+ status: Airtop.CleanScrapeResponseDataStatus;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * outcome of the operation
6
+ */
7
+ export declare type CleanScrapeResponseDataStatus = "success" | "partial_success" | "failure";
8
+ export declare const CleanScrapeResponseDataStatus: {
9
+ readonly Success: "success";
10
+ readonly PartialSuccess: "partial_success";
11
+ readonly Failure: "failure";
12
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.CleanScrapeResponseDataStatus = void 0;
7
+ exports.CleanScrapeResponseDataStatus = {
8
+ Success: "success",
9
+ PartialSuccess: "partial_success",
10
+ Failure: "failure",
11
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../index";
5
+ export interface CleanScrapeResponseOutput {
6
+ /** The scraped content of the browser window */
7
+ scrapedContent: Airtop.ScrapeResponseContent;
8
+ /** Any text that was highlighted in the browser window */
9
+ selectedText: string;
10
+ /** The title of the browser page */
11
+ title: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../index";
5
+ export interface ConnectionInfo {
6
+ /** Url to connect to chrome devtools protocol port on the airtop browser. Include the header 'x-airtop-token: <api-key>.' */
7
+ cdpUrl?: string;
8
+ /** Websocket url to connect to CDP webSocketDebuggerUrl on the airtop browser. Include the header 'x-airtop-token: <api-key>.' */
9
+ cdpWsUrl?: string;
10
+ /** Websocket url to connect to the chromedriver on the airtop browser. Include the header 'x-airtop-token: <api-key>.' */
11
+ chromedriverUrl?: string;
12
+ /** Connection info for the live view */
13
+ liveView?: Airtop.LiveViewConnectionInfo;
14
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ErrorDetail {
5
+ /** Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id' */
6
+ location?: string;
7
+ /** Error message text */
8
+ message?: string;
9
+ value?: unknown;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ErrorMessage {
5
+ /** Error code */
6
+ code: string;
7
+ /** Event name */
8
+ event: string;
9
+ /** Error message */
10
+ message: string;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../index";
5
+ export interface ErrorModel {
6
+ /** A URL to the JSON Schema for this object. */
7
+ schema?: string;
8
+ /** A human-readable explanation specific to this occurrence of the problem. */
9
+ detail?: string;
10
+ /** Optional list of individual error details */
11
+ errors?: Airtop.ErrorDetail[];
12
+ /** A URI reference that identifies the specific occurrence of the problem. */
13
+ instance?: string;
14
+ /** HTTP status code */
15
+ status?: number;
16
+ /** A short, human-readable summary of the problem type. This value should not change between occurrences of the error. */
17
+ title?: string;
18
+ /** A URI reference to human-readable documentation for the error. */
19
+ type?: string;
20
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface LiveViewConnectionInfo {
5
+ /** Websocket url to connect to the airtop browser */
6
+ airtopBrowserUrl: string;
7
+ /** Token to connect to the airtop browser, use as a header: 'Authorization: Bearer <token>' */
8
+ token?: string;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface LiveViewUrlOutputV1Body {
5
+ /** A URL to the JSON Schema for this object. */
6
+ schema?: string;
7
+ /** Url for live view session */
8
+ url: string;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../index";
5
+ export interface ProfileOutputV1Body {
6
+ /** A URL to the JSON Schema for this object. */
7
+ schema?: string;
8
+ /** created Profile */
9
+ profile: Airtop.ProfileV1;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ProfileV1 {
5
+ /** Name of the profile */
6
+ name: string;
7
+ /** Status of the profile */
8
+ status?: string;
9
+ /** a comma separated list of tags for this profile */
10
+ tags?: string[];
11
+ /** URI to upload profile data to */
12
+ uploadUri?: string;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../index";
5
+ export interface ProfilesOutputV1Body {
6
+ /** A URL to the JSON Schema for this object. */
7
+ schema?: string;
8
+ profiles?: Airtop.ProfileV1[];
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ScrapeResponseContent {
5
+ /** The mime type of content extracted from the browser window */
6
+ contentType: string;
7
+ /** The text content of the browser window */
8
+ text: string;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../index";
5
+ export interface Session {
6
+ /** Session configuration */
7
+ configuration: Airtop.SessionConfig;
8
+ /** Current usage in minutes */
9
+ currentUsage?: number;
10
+ /** Date the session was created */
11
+ dateCreated?: Date;
12
+ /** UUID of the session */
13
+ id: string;
14
+ /** Date of the last activity */
15
+ lastActivity?: Date;
16
+ /** Session status */
17
+ status: string;
18
+ /** URL of the session */
19
+ url?: string;
20
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../index";
5
+ export interface SessionAiResponse {
6
+ /** A URL to the JSON Schema for this object. */
7
+ schema?: string;
8
+ /** The response data from the prompt about the browser window */
9
+ data: Airtop.SessionAiResponseData;
10
+ /** Any errors that occurred while processing the request */
11
+ errors?: Airtop.SessionAiResponseIssue[];
12
+ /** Metadata about the response */
13
+ meta: Airtop.SessionAiResponseMetadata;
14
+ /** Any warnings that occurred while processing the request */
15
+ warnings?: Airtop.SessionAiResponseIssue[];
16
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../index";
5
+ export interface SessionAiResponseData {
6
+ /** The response to the prompt about this specific browser window */
7
+ output: string;
8
+ /** outcome of the operation */
9
+ status: Airtop.SessionAiResponseDataStatus;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * outcome of the operation
6
+ */
7
+ export declare type SessionAiResponseDataStatus = "success" | "partial_success" | "failure";
8
+ export declare const SessionAiResponseDataStatus: {
9
+ readonly Success: "success";
10
+ readonly PartialSuccess: "partial_success";
11
+ readonly Failure: "failure";
12
+ };