@airtop/sdk 0.1.35-beta0 → 0.1.36

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 (286) hide show
  1. package/Client.d.ts +0 -3
  2. package/Client.js +6 -11
  3. package/README.md +10 -9
  4. package/api/resources/automations/client/Client.d.ts +8 -8
  5. package/api/resources/automations/client/Client.js +12 -12
  6. package/api/resources/index.d.ts +0 -3
  7. package/api/resources/index.js +1 -4
  8. package/api/resources/profiles/client/Client.js +1 -1
  9. package/api/resources/requests/client/Client.js +1 -1
  10. package/api/resources/sessions/client/Client.d.ts +0 -10
  11. package/api/resources/sessions/client/Client.js +6 -52
  12. package/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
  13. package/api/resources/sessions/types/index.d.ts +1 -1
  14. package/api/resources/sessions/types/index.js +1 -1
  15. package/api/resources/windows/client/Client.d.ts +39 -99
  16. package/api/resources/windows/client/Client.js +125 -400
  17. package/{dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts → api/resources/windows/client/requests/AsyncCreateFormFillerRequest.d.ts} +2 -4
  18. package/api/resources/windows/client/requests/AsyncFillFormRequest.d.ts +27 -0
  19. package/api/resources/windows/client/requests/{AsyncScreenshotRequest.d.ts → CreateFormFillerRequest.d.ts} +2 -2
  20. package/api/resources/windows/client/requests/FillFormRequest.d.ts +27 -0
  21. package/api/resources/windows/client/requests/index.d.ts +4 -9
  22. package/api/types/index.d.ts +0 -20
  23. package/api/types/index.js +0 -20
  24. package/dist/Client.d.ts +0 -3
  25. package/dist/Client.js +6 -11
  26. package/dist/api/resources/automations/client/Client.d.ts +8 -8
  27. package/dist/api/resources/automations/client/Client.js +12 -12
  28. package/dist/api/resources/index.d.ts +0 -3
  29. package/dist/api/resources/index.js +1 -4
  30. package/dist/api/resources/profiles/client/Client.js +1 -1
  31. package/dist/api/resources/requests/client/Client.js +1 -1
  32. package/dist/api/resources/sessions/client/Client.d.ts +0 -10
  33. package/dist/api/resources/sessions/client/Client.js +6 -52
  34. package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
  35. package/dist/api/resources/sessions/types/index.d.ts +1 -1
  36. package/dist/api/resources/sessions/types/index.js +1 -1
  37. package/dist/api/resources/windows/client/Client.d.ts +39 -99
  38. package/dist/api/resources/windows/client/Client.js +125 -400
  39. package/{api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts → dist/api/resources/windows/client/requests/AsyncCreateFormFillerRequest.d.ts} +2 -4
  40. package/dist/api/resources/windows/client/requests/AsyncFillFormRequest.d.ts +27 -0
  41. package/dist/api/resources/windows/client/requests/{AsyncScreenshotRequest.d.ts → CreateFormFillerRequest.d.ts} +2 -2
  42. package/dist/api/resources/windows/client/requests/FillFormRequest.d.ts +27 -0
  43. package/dist/api/resources/windows/client/requests/index.d.ts +4 -9
  44. package/dist/api/types/index.d.ts +0 -20
  45. package/dist/api/types/index.js +0 -20
  46. package/dist/serialization/resources/index.d.ts +0 -3
  47. package/dist/serialization/resources/index.js +1 -4
  48. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
  49. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
  50. package/dist/serialization/resources/sessions/types/index.d.ts +1 -1
  51. package/dist/serialization/resources/sessions/types/index.js +1 -1
  52. package/dist/serialization/resources/windows/client/requests/{AsyncHoverRequest.d.ts → AsyncCreateFormFillerRequest.d.ts} +4 -5
  53. package/dist/serialization/resources/windows/client/requests/{AsyncSummarizeContentRequest.js → AsyncCreateFormFillerRequest.js} +4 -5
  54. package/{serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts → dist/serialization/resources/windows/client/requests/AsyncFillFormRequest.d.ts} +4 -5
  55. package/dist/serialization/resources/windows/client/requests/{AsyncMonitorRequest.js → AsyncFillFormRequest.js} +4 -5
  56. package/dist/serialization/resources/windows/client/requests/{AsyncPageQueryRequest.d.ts → CreateFormFillerRequest.d.ts} +4 -6
  57. package/dist/serialization/resources/windows/client/requests/{AsyncClickRequest.js → CreateFormFillerRequest.js} +4 -6
  58. package/dist/serialization/resources/windows/client/requests/{AsyncMonitorRequest.d.ts → FillFormRequest.d.ts} +4 -5
  59. package/{serialization/resources/windows/client/requests/AsyncMonitorRequest.js → dist/serialization/resources/windows/client/requests/FillFormRequest.js} +4 -5
  60. package/dist/serialization/resources/windows/client/requests/index.d.ts +4 -9
  61. package/dist/serialization/resources/windows/client/requests/index.js +9 -19
  62. package/dist/serialization/types/index.d.ts +0 -20
  63. package/dist/serialization/types/index.js +0 -20
  64. package/dist/version.d.ts +1 -1
  65. package/dist/version.js +1 -1
  66. package/dist/wrapper/AirtopClient.d.ts +1 -3
  67. package/dist/wrapper/AirtopClient.js +3 -5
  68. package/dist/wrapper/AirtopRequests.js +1 -1
  69. package/dist/wrapper/AirtopWindows.d.ts +27 -1
  70. package/dist/wrapper/AirtopWindows.js +40 -0
  71. package/package.json +2 -3
  72. package/reference.md +257 -1274
  73. package/serialization/resources/index.d.ts +0 -3
  74. package/serialization/resources/index.js +1 -4
  75. package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
  76. package/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
  77. package/serialization/resources/sessions/types/index.d.ts +1 -1
  78. package/serialization/resources/sessions/types/index.js +1 -1
  79. package/serialization/resources/windows/client/requests/AsyncCreateFormFillerRequest.d.ts +18 -0
  80. package/serialization/resources/windows/client/requests/{AsyncSummarizeContentRequest.js → AsyncCreateFormFillerRequest.js} +4 -5
  81. package/serialization/resources/windows/client/requests/{AsyncScreenshotRequest.d.ts → AsyncFillFormRequest.d.ts} +4 -4
  82. package/{dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js → serialization/resources/windows/client/requests/AsyncFillFormRequest.js} +4 -4
  83. package/{dist/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts → serialization/resources/windows/client/requests/CreateFormFillerRequest.d.ts} +4 -6
  84. package/{dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js → serialization/resources/windows/client/requests/CreateFormFillerRequest.js} +4 -5
  85. package/{dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts → serialization/resources/windows/client/requests/FillFormRequest.d.ts} +4 -4
  86. package/serialization/resources/windows/client/requests/{AsyncScreenshotRequest.js → FillFormRequest.js} +4 -4
  87. package/serialization/resources/windows/client/requests/index.d.ts +4 -9
  88. package/serialization/resources/windows/client/requests/index.js +9 -19
  89. package/serialization/types/index.d.ts +0 -20
  90. package/serialization/types/index.js +0 -20
  91. package/version.d.ts +1 -1
  92. package/version.js +1 -1
  93. package/wrapper/AirtopClient.d.ts +1 -3
  94. package/wrapper/AirtopClient.js +3 -5
  95. package/wrapper/AirtopRequests.js +1 -1
  96. package/wrapper/AirtopWindows.d.ts +27 -1
  97. package/wrapper/AirtopWindows.js +40 -0
  98. package/api/resources/files/client/Client.d.ts +0 -69
  99. package/api/resources/files/client/Client.js +0 -286
  100. package/api/resources/files/client/index.d.ts +0 -1
  101. package/api/resources/files/client/index.js +0 -17
  102. package/api/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -20
  103. package/api/resources/files/client/requests/FilesListRequest.d.ts +0 -24
  104. package/api/resources/files/client/requests/index.d.ts +0 -2
  105. package/api/resources/files/client/requests/index.js +0 -2
  106. package/api/resources/files/index.d.ts +0 -2
  107. package/api/resources/files/index.js +0 -18
  108. package/api/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -13
  109. package/api/resources/files/types/CreateFileRestInputV1FileType.js +0 -12
  110. package/api/resources/files/types/index.d.ts +0 -1
  111. package/api/resources/files/types/index.js +0 -17
  112. package/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
  113. package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
  114. package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
  115. package/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
  116. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
  117. package/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
  118. package/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
  119. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
  120. package/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
  121. package/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
  122. package/api/types/CreateFileV1.d.ts +0 -24
  123. package/api/types/CreateFileV1.js +0 -5
  124. package/api/types/CreateFileV1FileType.d.ts +0 -13
  125. package/api/types/CreateFileV1FileType.js +0 -12
  126. package/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -10
  127. package/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -5
  128. package/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -10
  129. package/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -5
  130. package/api/types/ExtensionConfigurationOutput.d.ts +0 -13
  131. package/api/types/ExtensionConfigurationOutput.js +0 -5
  132. package/api/types/ExternalFile.d.ts +0 -33
  133. package/api/types/ExternalFile.js +0 -5
  134. package/api/types/FilesResponse.d.ts +0 -10
  135. package/api/types/FilesResponse.js +0 -5
  136. package/api/types/FilesWithPagination.d.ts +0 -10
  137. package/api/types/FilesWithPagination.js +0 -5
  138. package/api/types/GetFileV1.d.ts +0 -24
  139. package/api/types/GetFileV1.js +0 -5
  140. package/api/types/GetFileV1FileType.d.ts +0 -13
  141. package/api/types/GetFileV1FileType.js +0 -12
  142. package/dist/api/resources/files/client/Client.d.ts +0 -69
  143. package/dist/api/resources/files/client/Client.js +0 -286
  144. package/dist/api/resources/files/client/index.d.ts +0 -1
  145. package/dist/api/resources/files/client/index.js +0 -17
  146. package/dist/api/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -20
  147. package/dist/api/resources/files/client/requests/CreateFileRestInputV1.js +0 -5
  148. package/dist/api/resources/files/client/requests/FilesListRequest.d.ts +0 -24
  149. package/dist/api/resources/files/client/requests/FilesListRequest.js +0 -5
  150. package/dist/api/resources/files/client/requests/index.d.ts +0 -2
  151. package/dist/api/resources/files/client/requests/index.js +0 -2
  152. package/dist/api/resources/files/index.d.ts +0 -2
  153. package/dist/api/resources/files/index.js +0 -18
  154. package/dist/api/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -13
  155. package/dist/api/resources/files/types/CreateFileRestInputV1FileType.js +0 -12
  156. package/dist/api/resources/files/types/index.d.ts +0 -1
  157. package/dist/api/resources/files/types/index.js +0 -17
  158. package/dist/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
  159. package/dist/api/resources/windows/client/requests/AsyncClickRequest.js +0 -5
  160. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
  161. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
  162. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
  163. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
  164. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
  165. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
  166. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
  167. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
  168. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
  169. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
  170. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
  171. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
  172. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
  173. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
  174. package/dist/api/types/CreateFileV1.d.ts +0 -24
  175. package/dist/api/types/CreateFileV1.js +0 -5
  176. package/dist/api/types/CreateFileV1FileType.d.ts +0 -13
  177. package/dist/api/types/CreateFileV1FileType.js +0 -12
  178. package/dist/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -10
  179. package/dist/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -5
  180. package/dist/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -10
  181. package/dist/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -5
  182. package/dist/api/types/ExtensionConfigurationOutput.d.ts +0 -13
  183. package/dist/api/types/ExtensionConfigurationOutput.js +0 -5
  184. package/dist/api/types/ExternalFile.d.ts +0 -33
  185. package/dist/api/types/ExternalFile.js +0 -5
  186. package/dist/api/types/FilesResponse.d.ts +0 -10
  187. package/dist/api/types/FilesResponse.js +0 -5
  188. package/dist/api/types/FilesWithPagination.d.ts +0 -10
  189. package/dist/api/types/FilesWithPagination.js +0 -5
  190. package/dist/api/types/GetFileV1.d.ts +0 -24
  191. package/dist/api/types/GetFileV1.js +0 -5
  192. package/dist/api/types/GetFileV1FileType.d.ts +0 -13
  193. package/dist/api/types/GetFileV1FileType.js +0 -12
  194. package/dist/serialization/resources/files/client/index.d.ts +0 -1
  195. package/dist/serialization/resources/files/client/index.js +0 -17
  196. package/dist/serialization/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -16
  197. package/dist/serialization/resources/files/client/requests/CreateFileRestInputV1.js +0 -47
  198. package/dist/serialization/resources/files/client/requests/index.d.ts +0 -1
  199. package/dist/serialization/resources/files/client/requests/index.js +0 -5
  200. package/dist/serialization/resources/files/index.d.ts +0 -2
  201. package/dist/serialization/resources/files/index.js +0 -18
  202. package/dist/serialization/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -10
  203. package/dist/serialization/resources/files/types/CreateFileRestInputV1FileType.js +0 -41
  204. package/dist/serialization/resources/files/types/index.d.ts +0 -1
  205. package/dist/serialization/resources/files/types/index.js +0 -17
  206. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -50
  207. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
  208. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
  209. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
  210. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
  211. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
  212. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
  213. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
  214. package/dist/serialization/types/CreateFileV1.d.ts +0 -21
  215. package/dist/serialization/types/CreateFileV1.js +0 -52
  216. package/dist/serialization/types/CreateFileV1FileType.d.ts +0 -10
  217. package/dist/serialization/types/CreateFileV1FileType.js +0 -41
  218. package/dist/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -18
  219. package/dist/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -49
  220. package/dist/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -18
  221. package/dist/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -49
  222. package/dist/serialization/types/ExternalFile.d.ts +0 -25
  223. package/dist/serialization/types/ExternalFile.js +0 -56
  224. package/dist/serialization/types/FilesResponse.d.ts +0 -18
  225. package/dist/serialization/types/FilesResponse.js +0 -49
  226. package/dist/serialization/types/FilesWithPagination.d.ts +0 -15
  227. package/dist/serialization/types/FilesWithPagination.js +0 -46
  228. package/dist/serialization/types/GetFileV1.d.ts +0 -21
  229. package/dist/serialization/types/GetFileV1.js +0 -52
  230. package/dist/serialization/types/GetFileV1FileType.d.ts +0 -10
  231. package/dist/serialization/types/GetFileV1FileType.js +0 -41
  232. package/dist/wrapper/AirtopFiles.d.ts +0 -38
  233. package/dist/wrapper/AirtopFiles.js +0 -151
  234. package/serialization/resources/files/client/index.d.ts +0 -1
  235. package/serialization/resources/files/client/index.js +0 -17
  236. package/serialization/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -16
  237. package/serialization/resources/files/client/requests/CreateFileRestInputV1.js +0 -47
  238. package/serialization/resources/files/client/requests/index.d.ts +0 -1
  239. package/serialization/resources/files/client/requests/index.js +0 -5
  240. package/serialization/resources/files/index.d.ts +0 -2
  241. package/serialization/resources/files/index.js +0 -18
  242. package/serialization/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -10
  243. package/serialization/resources/files/types/CreateFileRestInputV1FileType.js +0 -41
  244. package/serialization/resources/files/types/index.d.ts +0 -1
  245. package/serialization/resources/files/types/index.js +0 -17
  246. package/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
  247. package/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -51
  248. package/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
  249. package/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -50
  250. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
  251. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
  252. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
  253. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -50
  254. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
  255. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
  256. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
  257. package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
  258. package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
  259. package/serialization/types/CreateFileV1.d.ts +0 -21
  260. package/serialization/types/CreateFileV1.js +0 -52
  261. package/serialization/types/CreateFileV1FileType.d.ts +0 -10
  262. package/serialization/types/CreateFileV1FileType.js +0 -41
  263. package/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -18
  264. package/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -49
  265. package/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -18
  266. package/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -49
  267. package/serialization/types/ExternalFile.d.ts +0 -25
  268. package/serialization/types/ExternalFile.js +0 -56
  269. package/serialization/types/FilesResponse.d.ts +0 -18
  270. package/serialization/types/FilesResponse.js +0 -49
  271. package/serialization/types/FilesWithPagination.d.ts +0 -15
  272. package/serialization/types/FilesWithPagination.js +0 -46
  273. package/serialization/types/GetFileV1.d.ts +0 -21
  274. package/serialization/types/GetFileV1.js +0 -52
  275. package/serialization/types/GetFileV1FileType.d.ts +0 -10
  276. package/serialization/types/GetFileV1FileType.js +0 -41
  277. package/wrapper/AirtopFiles.d.ts +0 -38
  278. package/wrapper/AirtopFiles.js +0 -151
  279. /package/api/resources/{files/client/requests/CreateFileRestInputV1.js → windows/client/requests/AsyncCreateFormFillerRequest.js} +0 -0
  280. /package/api/resources/{files/client/requests/FilesListRequest.js → windows/client/requests/AsyncFillFormRequest.js} +0 -0
  281. /package/api/resources/windows/client/requests/{AsyncClickRequest.js → CreateFormFillerRequest.js} +0 -0
  282. /package/api/resources/windows/client/requests/{AsyncHoverRequest.js → FillFormRequest.js} +0 -0
  283. /package/{api/resources/windows/client/requests/AsyncMonitorRequest.js → dist/api/resources/windows/client/requests/AsyncCreateFormFillerRequest.js} +0 -0
  284. /package/{api/resources/windows/client/requests/AsyncPageQueryRequest.js → dist/api/resources/windows/client/requests/AsyncFillFormRequest.js} +0 -0
  285. /package/{api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js → dist/api/resources/windows/client/requests/CreateFormFillerRequest.js} +0 -0
  286. /package/{api/resources/windows/client/requests/AsyncPromptContentRequest.js → dist/api/resources/windows/client/requests/FillFormRequest.js} +0 -0
@@ -1,69 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as environments from "../../../../environments";
5
- import * as core from "../../../../core";
6
- import * as Airtop from "../../../index";
7
- export declare namespace Files {
8
- interface Options {
9
- environment?: core.Supplier<environments.AirtopEnvironment | string>;
10
- /** Specify a custom URL to connect the client to. */
11
- baseUrl?: core.Supplier<string>;
12
- apiKey: core.Supplier<core.BearerToken>;
13
- fetcher?: core.FetchFunction;
14
- }
15
- interface RequestOptions {
16
- /** The maximum time to wait for a response in seconds. */
17
- timeoutInSeconds?: number;
18
- /** The number of times to retry the request. Defaults to 2. */
19
- maxRetries?: number;
20
- /** A hook to abort the request. */
21
- abortSignal?: AbortSignal;
22
- /** Additional headers to include in the request. */
23
- headers?: Record<string, string>;
24
- }
25
- }
26
- export declare class Files {
27
- protected readonly _options: Files.Options;
28
- constructor(_options: Files.Options);
29
- /**
30
- * Get a list of files filtered by session ID
31
- *
32
- * @param {Airtop.FilesListRequest} request
33
- * @param {Files.RequestOptions} requestOptions - Request-specific configuration.
34
- *
35
- * @example
36
- * await client.files.list({
37
- * offset: 1,
38
- * limit: 10
39
- * })
40
- */
41
- list(request?: Airtop.FilesListRequest, requestOptions?: Files.RequestOptions): Promise<Airtop.FilesResponse>;
42
- /**
43
- * @param {Airtop.CreateFileRestInputV1} request
44
- * @param {Files.RequestOptions} requestOptions - Request-specific configuration.
45
- *
46
- * @example
47
- * await client.files.create({
48
- * fileName: "fileName"
49
- * })
50
- */
51
- create(request: Airtop.CreateFileRestInputV1, requestOptions?: Files.RequestOptions): Promise<Airtop.EnvelopeCreateFileV1EnvelopeDefaultMeta>;
52
- /**
53
- * @param {string} id - ID of the file
54
- * @param {Files.RequestOptions} requestOptions - Request-specific configuration.
55
- *
56
- * @example
57
- * await client.files.get("id")
58
- */
59
- get(id: string, requestOptions?: Files.RequestOptions): Promise<Airtop.EnvelopeGetFileV1EnvelopeDefaultMeta>;
60
- /**
61
- * @param {string} id - ID of the file
62
- * @param {Files.RequestOptions} requestOptions - Request-specific configuration.
63
- *
64
- * @example
65
- * await client.files.delete("id")
66
- */
67
- delete(id: string, requestOptions?: Files.RequestOptions): Promise<void>;
68
- protected _getAuthorizationHeader(): Promise<string>;
69
- }
@@ -1,286 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
- return new (P || (P = Promise))(function (resolve, reject) {
41
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
- step((generator = generator.apply(thisArg, _arguments || [])).next());
45
- });
46
- };
47
- var __importDefault = (this && this.__importDefault) || function (mod) {
48
- return (mod && mod.__esModule) ? mod : { "default": mod };
49
- };
50
- Object.defineProperty(exports, "__esModule", { value: true });
51
- exports.Files = void 0;
52
- const environments = __importStar(require("../../../../environments"));
53
- const core = __importStar(require("../../../../core"));
54
- const url_join_1 = __importDefault(require("url-join"));
55
- const serializers = __importStar(require("../../../../serialization/index"));
56
- const errors = __importStar(require("../../../../errors/index"));
57
- class Files {
58
- constructor(_options) {
59
- this._options = _options;
60
- }
61
- /**
62
- * Get a list of files filtered by session ID
63
- *
64
- * @param {Airtop.FilesListRequest} request
65
- * @param {Files.RequestOptions} requestOptions - Request-specific configuration.
66
- *
67
- * @example
68
- * await client.files.list({
69
- * offset: 1,
70
- * limit: 10
71
- * })
72
- */
73
- list() {
74
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
75
- var _a, _b, _c;
76
- const { sessionIds, offset, limit } = request;
77
- const _queryParams = {};
78
- if (sessionIds != null) {
79
- if (Array.isArray(sessionIds)) {
80
- _queryParams["sessionIds"] = sessionIds.map((item) => item);
81
- }
82
- else {
83
- _queryParams["sessionIds"] = sessionIds;
84
- }
85
- }
86
- if (offset != null) {
87
- _queryParams["offset"] = offset.toString();
88
- }
89
- if (limit != null) {
90
- _queryParams["limit"] = limit.toString();
91
- }
92
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
93
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, "files"),
94
- method: "GET",
95
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
- contentType: "application/json",
97
- queryParameters: _queryParams,
98
- requestType: "json",
99
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
100
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
101
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
102
- });
103
- if (_response.ok) {
104
- return serializers.FilesResponse.parseOrThrow(_response.body, {
105
- unrecognizedObjectKeys: "passthrough",
106
- allowUnrecognizedUnionMembers: true,
107
- allowUnrecognizedEnumValues: true,
108
- skipValidation: true,
109
- breadcrumbsPrefix: ["response"],
110
- });
111
- }
112
- if (_response.error.reason === "status-code") {
113
- throw new errors.AirtopError({
114
- statusCode: _response.error.statusCode,
115
- body: _response.error.body,
116
- });
117
- }
118
- switch (_response.error.reason) {
119
- case "non-json":
120
- throw new errors.AirtopError({
121
- statusCode: _response.error.statusCode,
122
- body: _response.error.rawBody,
123
- });
124
- case "timeout":
125
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling GET /files.");
126
- case "unknown":
127
- throw new errors.AirtopError({
128
- message: _response.error.errorMessage,
129
- });
130
- }
131
- });
132
- }
133
- /**
134
- * @param {Airtop.CreateFileRestInputV1} request
135
- * @param {Files.RequestOptions} requestOptions - Request-specific configuration.
136
- *
137
- * @example
138
- * await client.files.create({
139
- * fileName: "fileName"
140
- * })
141
- */
142
- create(request, requestOptions) {
143
- return __awaiter(this, void 0, void 0, function* () {
144
- var _a, _b, _c;
145
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
146
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, "files"),
147
- method: "POST",
148
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
149
- contentType: "application/json",
150
- requestType: "json",
151
- body: serializers.CreateFileRestInputV1.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
152
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
153
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
154
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
155
- });
156
- if (_response.ok) {
157
- return serializers.EnvelopeCreateFileV1EnvelopeDefaultMeta.parseOrThrow(_response.body, {
158
- unrecognizedObjectKeys: "passthrough",
159
- allowUnrecognizedUnionMembers: true,
160
- allowUnrecognizedEnumValues: true,
161
- skipValidation: true,
162
- breadcrumbsPrefix: ["response"],
163
- });
164
- }
165
- if (_response.error.reason === "status-code") {
166
- throw new errors.AirtopError({
167
- statusCode: _response.error.statusCode,
168
- body: _response.error.body,
169
- });
170
- }
171
- switch (_response.error.reason) {
172
- case "non-json":
173
- throw new errors.AirtopError({
174
- statusCode: _response.error.statusCode,
175
- body: _response.error.rawBody,
176
- });
177
- case "timeout":
178
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling POST /files.");
179
- case "unknown":
180
- throw new errors.AirtopError({
181
- message: _response.error.errorMessage,
182
- });
183
- }
184
- });
185
- }
186
- /**
187
- * @param {string} id - ID of the file
188
- * @param {Files.RequestOptions} requestOptions - Request-specific configuration.
189
- *
190
- * @example
191
- * await client.files.get("id")
192
- */
193
- get(id, requestOptions) {
194
- return __awaiter(this, void 0, void 0, function* () {
195
- var _a, _b, _c;
196
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
197
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `files/${encodeURIComponent(id)}`),
198
- method: "GET",
199
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
200
- contentType: "application/json",
201
- requestType: "json",
202
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
203
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
204
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
205
- });
206
- if (_response.ok) {
207
- return serializers.EnvelopeGetFileV1EnvelopeDefaultMeta.parseOrThrow(_response.body, {
208
- unrecognizedObjectKeys: "passthrough",
209
- allowUnrecognizedUnionMembers: true,
210
- allowUnrecognizedEnumValues: true,
211
- skipValidation: true,
212
- breadcrumbsPrefix: ["response"],
213
- });
214
- }
215
- if (_response.error.reason === "status-code") {
216
- throw new errors.AirtopError({
217
- statusCode: _response.error.statusCode,
218
- body: _response.error.body,
219
- });
220
- }
221
- switch (_response.error.reason) {
222
- case "non-json":
223
- throw new errors.AirtopError({
224
- statusCode: _response.error.statusCode,
225
- body: _response.error.rawBody,
226
- });
227
- case "timeout":
228
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling GET /files/{id}.");
229
- case "unknown":
230
- throw new errors.AirtopError({
231
- message: _response.error.errorMessage,
232
- });
233
- }
234
- });
235
- }
236
- /**
237
- * @param {string} id - ID of the file
238
- * @param {Files.RequestOptions} requestOptions - Request-specific configuration.
239
- *
240
- * @example
241
- * await client.files.delete("id")
242
- */
243
- delete(id, requestOptions) {
244
- return __awaiter(this, void 0, void 0, function* () {
245
- var _a, _b, _c;
246
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
247
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `files/${encodeURIComponent(id)}`),
248
- method: "DELETE",
249
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.35", "User-Agent": "@airtop/sdk/0.1.35", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
250
- contentType: "application/json",
251
- requestType: "json",
252
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
253
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
254
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
255
- });
256
- if (_response.ok) {
257
- return;
258
- }
259
- if (_response.error.reason === "status-code") {
260
- throw new errors.AirtopError({
261
- statusCode: _response.error.statusCode,
262
- body: _response.error.body,
263
- });
264
- }
265
- switch (_response.error.reason) {
266
- case "non-json":
267
- throw new errors.AirtopError({
268
- statusCode: _response.error.statusCode,
269
- body: _response.error.rawBody,
270
- });
271
- case "timeout":
272
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling DELETE /files/{id}.");
273
- case "unknown":
274
- throw new errors.AirtopError({
275
- message: _response.error.errorMessage,
276
- });
277
- }
278
- });
279
- }
280
- _getAuthorizationHeader() {
281
- return __awaiter(this, void 0, void 0, function* () {
282
- return `Bearer ${yield core.Supplier.get(this._options.apiKey)}`;
283
- });
284
- }
285
- }
286
- exports.Files = Files;
@@ -1 +0,0 @@
1
- export * from "./requests";
@@ -1,17 +0,0 @@
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);
@@ -1,20 +0,0 @@
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
- * fileName: "fileName"
9
- * }
10
- */
11
- export interface CreateFileRestInputV1 {
12
- /** Name of the file */
13
- fileName: string;
14
- /** Type of the file */
15
- fileType?: Airtop.CreateFileRestInputV1FileType;
16
- /** DEPRECATED: Use sessionIds instead */
17
- sessionId?: string;
18
- /** IDs of the associated sessions */
19
- sessionIds?: string[];
20
- }
@@ -1,24 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {
7
- * offset: 1,
8
- * limit: 10
9
- * }
10
- */
11
- export interface FilesListRequest {
12
- /**
13
- * A comma-separated list of IDs of the sessionId of the files to retrieve.
14
- */
15
- sessionIds?: string | string[];
16
- /**
17
- * Offset for pagination.
18
- */
19
- offset?: number;
20
- /**
21
- * Limit for pagination.
22
- */
23
- limit?: number;
24
- }
@@ -1,2 +0,0 @@
1
- export { type FilesListRequest } from "./FilesListRequest";
2
- export { type CreateFileRestInputV1 } from "./CreateFileRestInputV1";
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- export * from "./types";
2
- export * from "./client";
@@ -1,18 +0,0 @@
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);
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Type of the file
6
- */
7
- export type CreateFileRestInputV1FileType = "browser_download" | "screenshot" | "video" | "customer_upload";
8
- export declare const CreateFileRestInputV1FileType: {
9
- readonly BrowserDownload: "browser_download";
10
- readonly Screenshot: "screenshot";
11
- readonly Video: "video";
12
- readonly CustomerUpload: "customer_upload";
13
- };
@@ -1,12 +0,0 @@
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.CreateFileRestInputV1FileType = void 0;
7
- exports.CreateFileRestInputV1FileType = {
8
- BrowserDownload: "browser_download",
9
- Screenshot: "screenshot",
10
- Video: "video",
11
- CustomerUpload: "customer_upload",
12
- };
@@ -1 +0,0 @@
1
- export * from "./CreateFileRestInputV1FileType";
@@ -1,17 +0,0 @@
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("./CreateFileRestInputV1FileType"), exports);
@@ -1,29 +0,0 @@
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
- * elementDescription: "The login button"
9
- * }
10
- */
11
- export interface AsyncClickRequest {
12
- /** Async configuration options. */
13
- async?: Airtop.AsyncConfig;
14
- clientRequestId?: string;
15
- /** Request configuration */
16
- configuration?: Airtop.ClickConfig;
17
- /** A credit threshold that, once exceeded, will cause the operation to be cancelled. Note that this is *not* a hard limit, but a threshold that is checked periodically during the course of fulfilling the request. A default threshold is used if not specified, but you can use this option to increase or decrease as needed. Set to 0 to disable this feature entirely (not recommended). */
18
- costThresholdCredits?: number;
19
- /** A natural language description of the element to click. */
20
- elementDescription: string;
21
- /**
22
- * A time threshold in seconds that, once exceeded, will cause the operation to be cancelled. Note that this is *not* a hard limit, but a threshold that is checked periodically during the course of fulfilling the request. A default threshold is used if not specified, but you can use this option to increase or decrease as needed. Set to 0 to disable this feature entirely (not recommended).
23
- *
24
- * This setting does not extend the maximum session duration provided at the time of session creation.
25
- */
26
- timeThresholdSeconds?: number;
27
- /** If true, Airtop AI will wait for the navigation to complete after clicking the element. */
28
- waitForNavigation?: boolean;
29
- }
@@ -1,27 +0,0 @@
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
- * elementDescription: "The search box input in the top right corner"
9
- * }
10
- */
11
- export interface AsyncHoverRequest {
12
- /** Async configuration options. */
13
- async?: Airtop.AsyncConfig;
14
- clientRequestId?: string;
15
- /** Request configuration */
16
- configuration?: Airtop.MicroInteractionConfigWithExperimental;
17
- /** A credit threshold that, once exceeded, will cause the operation to be cancelled. Note that this is *not* a hard limit, but a threshold that is checked periodically during the course of fulfilling the request. A default threshold is used if not specified, but you can use this option to increase or decrease as needed. Set to 0 to disable this feature entirely (not recommended). */
18
- costThresholdCredits?: number;
19
- /** A natural language description of where to hover (e.g. 'the search box', 'username field'). The interaction will be aborted if the target element cannot be found. */
20
- elementDescription: string;
21
- /**
22
- * A time threshold in seconds that, once exceeded, will cause the operation to be cancelled. Note that this is *not* a hard limit, but a threshold that is checked periodically during the course of fulfilling the request. A default threshold is used if not specified, but you can use this option to increase or decrease as needed. Set to 0 to disable this feature entirely (not recommended).
23
- *
24
- * This setting does not extend the maximum session duration provided at the time of session creation.
25
- */
26
- timeThresholdSeconds?: number;
27
- }
@@ -1,27 +0,0 @@
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
- * condition: "Determine if the user appears to be signed in to the website"
9
- * }
10
- */
11
- export interface AsyncMonitorRequest {
12
- /** Async configuration options. */
13
- async?: Airtop.AsyncConfig;
14
- clientRequestId?: string;
15
- /** A natural language description of the condition to monitor for in the browser window. */
16
- condition: string;
17
- /** Monitor configuration. If not specified, defaults to an interval monitor with a 5 second interval. */
18
- configuration?: Airtop.MonitorConfig;
19
- /** A credit threshold that, once exceeded, will cause the operation to be cancelled. Note that this is *not* a hard limit, but a threshold that is checked periodically during the course of fulfilling the request. A default threshold is used if not specified, but you can use this option to increase or decrease as needed. Set to 0 to disable this feature entirely (not recommended). */
20
- costThresholdCredits?: number;
21
- /**
22
- * A time threshold in seconds that, once exceeded, will cause the operation to be cancelled. Note that this is *not* a hard limit, but a threshold that is checked periodically during the course of fulfilling the request. A default threshold is used if not specified, but you can use this option to increase or decrease as needed. Set to 0 to disable this feature entirely (not recommended).
23
- *
24
- * This setting does not extend the maximum session duration provided at the time of session creation.
25
- */
26
- timeThresholdSeconds?: number;
27
- }
@@ -1,29 +0,0 @@
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
- * prompt: "What is the main idea of this page?"
9
- * }
10
- */
11
- export interface AsyncPageQueryRequest {
12
- /** Async configuration options. */
13
- async?: Airtop.AsyncConfig;
14
- clientRequestId?: string;
15
- /** Request configuration */
16
- configuration?: Airtop.PageQueryConfig;
17
- /** A credit threshold that, once exceeded, will cause the operation to be cancelled. Note that this is *not* a hard limit, but a threshold that is checked periodically during the course of fulfilling the request. A default threshold is used if not specified, but you can use this option to increase or decrease as needed. Set to 0 to disable this feature entirely (not recommended). */
18
- costThresholdCredits?: number;
19
- /** Make a best effort attempt to load more content items than are originally displayed on the page, e.g. by following pagination links, clicking controls to load more content, utilizing infinite scrolling, etc. This can be quite a bit more costly, but may be necessary for sites that require additional interaction to show the needed results. You can provide constraints in your prompt (e.g. on the total number of pages or results to consider). */
20
- followPaginationLinks?: boolean;
21
- /** The prompt to submit about the content in the browser window. */
22
- prompt: string;
23
- /**
24
- * A time threshold in seconds that, once exceeded, will cause the operation to be cancelled. Note that this is *not* a hard limit, but a threshold that is checked periodically during the course of fulfilling the request. A default threshold is used if not specified, but you can use this option to increase or decrease as needed. Set to 0 to disable this feature entirely (not recommended).
25
- *
26
- * This setting does not extend the maximum session duration provided at the time of session creation.
27
- */
28
- timeThresholdSeconds?: number;
29
- }
@@ -1,27 +0,0 @@
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
- * prompt: "This site contains a list of results about <provide details about the list>. Navigate through 3 pages of results and return the title and <provide details about the data you want to extract> about each result in this list."
9
- * }
10
- */
11
- export interface AsyncPaginatedExtractionRequest {
12
- /** Async configuration options. */
13
- async?: Airtop.AsyncConfig;
14
- clientRequestId?: string;
15
- /** Request configuration */
16
- configuration?: Airtop.PaginatedExtractionConfig;
17
- /** A credit threshold that, once exceeded, will cause the operation to be cancelled. Note that this is *not* a hard limit, but a threshold that is checked periodically during the course of fulfilling the request. A default threshold is used if not specified, but you can use this option to increase or decrease as needed. Set to 0 to disable this feature entirely (not recommended). */
18
- costThresholdCredits?: number;
19
- /** A prompt providing the Airtop AI model with additional direction or constraints about the page and the details you want to extract from the page. */
20
- prompt: string;
21
- /**
22
- * A time threshold in seconds that, once exceeded, will cause the operation to be cancelled. Note that this is *not* a hard limit, but a threshold that is checked periodically during the course of fulfilling the request. A default threshold is used if not specified, but you can use this option to increase or decrease as needed. Set to 0 to disable this feature entirely (not recommended).
23
- *
24
- * This setting does not extend the maximum session duration provided at the time of session creation.
25
- */
26
- timeThresholdSeconds?: number;
27
- }