@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
@@ -6,16 +6,14 @@ import * as Airtop from "../../../../index";
6
6
  * @example
7
7
  * {}
8
8
  */
9
- export interface AsyncSummarizeContentRequest {
9
+ export interface AsyncCreateFormFillerRequest {
10
10
  /** Async configuration options. */
11
11
  async?: Airtop.AsyncConfig;
12
12
  clientRequestId?: string;
13
13
  /** Request configuration */
14
- configuration?: Airtop.SummaryConfig;
14
+ configuration?: Airtop.CreateAutomationRequestBodyConfiguration;
15
15
  /** 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). */
16
16
  costThresholdCredits?: number;
17
- /** An optional prompt providing the Airtop AI model with additional direction or constraints about the summary (such as desired length). */
18
- prompt?: string;
19
17
  /**
20
18
  * 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).
21
19
  *
@@ -0,0 +1,27 @@
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
+ * automationId: "automationId"
9
+ * }
10
+ */
11
+ export interface AsyncFillFormRequest {
12
+ /** Async configuration options. */
13
+ async?: Airtop.AsyncConfig;
14
+ /** The ID of the automation to execute */
15
+ automationId: string;
16
+ clientRequestId?: string;
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
+ /** Optional parameters to pass to the automation execution */
20
+ parameters?: Record<string, unknown>;
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
+ }
@@ -6,12 +6,12 @@ import * as Airtop from "../../../../index";
6
6
  * @example
7
7
  * {}
8
8
  */
9
- export interface AsyncScreenshotRequest {
9
+ export interface CreateFormFillerRequest {
10
10
  /** Async configuration options. */
11
11
  async?: Airtop.AsyncConfig;
12
12
  clientRequestId?: string;
13
13
  /** Request configuration */
14
- configuration?: Airtop.ScreenshotRequestConfig;
14
+ configuration?: Airtop.CreateAutomationRequestBodyConfiguration;
15
15
  /** 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). */
16
16
  costThresholdCredits?: number;
17
17
  /**
@@ -0,0 +1,27 @@
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
+ * automationId: "automationId"
9
+ * }
10
+ */
11
+ export interface FillFormRequest {
12
+ /** Async configuration options. */
13
+ async?: Airtop.AsyncConfig;
14
+ /** The ID of the automation to execute */
15
+ automationId: string;
16
+ clientRequestId?: string;
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
+ /** Optional parameters to pass to the automation execution */
20
+ parameters?: Record<string, unknown>;
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,18 +1,13 @@
1
- export { type AsyncClickRequest } from "./AsyncClickRequest";
2
1
  export { type AsyncCreateAutomationRequest } from "./AsyncCreateAutomationRequest";
2
+ export { type AsyncCreateFormFillerRequest } from "./AsyncCreateFormFillerRequest";
3
3
  export { type AsyncExecuteAutomationRequest } from "./AsyncExecuteAutomationRequest";
4
- export { type AsyncHoverRequest } from "./AsyncHoverRequest";
5
- export { type AsyncMonitorRequest } from "./AsyncMonitorRequest";
6
- export { type AsyncPageQueryRequest } from "./AsyncPageQueryRequest";
7
- export { type AsyncPaginatedExtractionRequest } from "./AsyncPaginatedExtractionRequest";
8
- export { type AsyncPromptContentRequest } from "./AsyncPromptContentRequest";
9
- export { type AsyncScreenshotRequest } from "./AsyncScreenshotRequest";
10
- export { type AsyncSummarizeContentRequest } from "./AsyncSummarizeContentRequest";
11
- export { type AsyncTypeRequest } from "./AsyncTypeRequest";
4
+ export { type AsyncFillFormRequest } from "./AsyncFillFormRequest";
12
5
  export { type CreateWindowInputV1Body } from "./CreateWindowInputV1Body";
13
6
  export { type GetWindowInfoRequest } from "./GetWindowInfoRequest";
14
7
  export { type WindowLoadUrlV1Body } from "./WindowLoadUrlV1Body";
15
8
  export { type SessionClickHandlerRequestBody } from "./SessionClickHandlerRequestBody";
9
+ export { type CreateFormFillerRequest } from "./CreateFormFillerRequest";
10
+ export { type FillFormRequest } from "./FillFormRequest";
16
11
  export { type SessionHoverHandlerRequestBody } from "./SessionHoverHandlerRequestBody";
17
12
  export { type SessionMonitorHandlerRequestBody } from "./SessionMonitorHandlerRequestBody";
18
13
  export { type SessionPaginatedExtractionHandlerRequestBody } from "./SessionPaginatedExtractionHandlerRequestBody";
@@ -9,37 +9,17 @@ export * from "./ClickConfigClickType";
9
9
  export * from "./ClickConfig";
10
10
  export * from "./ClientProvidedResponseMetadata";
11
11
  export * from "./CreateAutomationRequestBodyConfiguration";
12
- export * from "./CreateFileV1FileType";
13
- export * from "./CreateFileV1";
14
12
  export * from "./DeleteAutomationOutputWrapperBody";
15
- export * from "./EnvelopeCreateFileV1EnvelopeDefaultMeta";
16
- export * from "./CreateAutomationRequestBodyConfiguration";
17
- export * from "./CreateFileV1FileType";
18
- export * from "./CreateFileV1";
19
- export * from "./DeleteAutomationOutputWrapperBody";
20
- export * from "./EnvelopeCreateFileV1EnvelopeDefaultMeta";
21
13
  export * from "./EnvelopeDefaultMeta";
22
- export * from "./EnvelopeGetFileV1EnvelopeDefaultMeta";
23
- export * from "./EnvelopeGetFileV1EnvelopeDefaultMeta";
24
14
  export * from "./ErrorBody";
25
15
  export * from "./ErrorDetail";
26
16
  export * from "./ErrorMessage";
27
17
  export * from "./ErrorModel";
28
- export * from "./ExternalFile";
29
- export * from "./ExternalFile";
30
18
  export * from "./ExternalSessionAiResponseMetadataStatus";
31
19
  export * from "./ExternalSessionAiResponseMetadata";
32
20
  export * from "./ExternalSessionAiResponseMetadataUsage";
33
21
  export * from "./ExternalSessionConfig";
34
22
  export * from "./ExternalSessionWithConnectionInfo";
35
- export * from "./FilesResponse";
36
- export * from "./FilesWithPagination";
37
- export * from "./GetFileV1FileType";
38
- export * from "./GetFileV1";
39
- export * from "./FilesResponse";
40
- export * from "./FilesWithPagination";
41
- export * from "./GetFileV1FileType";
42
- export * from "./GetFileV1";
43
23
  export * from "./IntervalMonitorConfig";
44
24
  export * from "./Issue";
45
25
  export * from "./ListAutomationsOutput";
@@ -25,37 +25,17 @@ __exportStar(require("./ClickConfigClickType"), exports);
25
25
  __exportStar(require("./ClickConfig"), exports);
26
26
  __exportStar(require("./ClientProvidedResponseMetadata"), exports);
27
27
  __exportStar(require("./CreateAutomationRequestBodyConfiguration"), exports);
28
- __exportStar(require("./CreateFileV1FileType"), exports);
29
- __exportStar(require("./CreateFileV1"), exports);
30
28
  __exportStar(require("./DeleteAutomationOutputWrapperBody"), exports);
31
- __exportStar(require("./EnvelopeCreateFileV1EnvelopeDefaultMeta"), exports);
32
- __exportStar(require("./CreateAutomationRequestBodyConfiguration"), exports);
33
- __exportStar(require("./CreateFileV1FileType"), exports);
34
- __exportStar(require("./CreateFileV1"), exports);
35
- __exportStar(require("./DeleteAutomationOutputWrapperBody"), exports);
36
- __exportStar(require("./EnvelopeCreateFileV1EnvelopeDefaultMeta"), exports);
37
29
  __exportStar(require("./EnvelopeDefaultMeta"), exports);
38
- __exportStar(require("./EnvelopeGetFileV1EnvelopeDefaultMeta"), exports);
39
- __exportStar(require("./EnvelopeGetFileV1EnvelopeDefaultMeta"), exports);
40
30
  __exportStar(require("./ErrorBody"), exports);
41
31
  __exportStar(require("./ErrorDetail"), exports);
42
32
  __exportStar(require("./ErrorMessage"), exports);
43
33
  __exportStar(require("./ErrorModel"), exports);
44
- __exportStar(require("./ExternalFile"), exports);
45
- __exportStar(require("./ExternalFile"), exports);
46
34
  __exportStar(require("./ExternalSessionAiResponseMetadataStatus"), exports);
47
35
  __exportStar(require("./ExternalSessionAiResponseMetadata"), exports);
48
36
  __exportStar(require("./ExternalSessionAiResponseMetadataUsage"), exports);
49
37
  __exportStar(require("./ExternalSessionConfig"), exports);
50
38
  __exportStar(require("./ExternalSessionWithConnectionInfo"), exports);
51
- __exportStar(require("./FilesResponse"), exports);
52
- __exportStar(require("./FilesWithPagination"), exports);
53
- __exportStar(require("./GetFileV1FileType"), exports);
54
- __exportStar(require("./GetFileV1"), exports);
55
- __exportStar(require("./FilesResponse"), exports);
56
- __exportStar(require("./FilesWithPagination"), exports);
57
- __exportStar(require("./GetFileV1FileType"), exports);
58
- __exportStar(require("./GetFileV1"), exports);
59
39
  __exportStar(require("./IntervalMonitorConfig"), exports);
60
40
  __exportStar(require("./Issue"), exports);
61
41
  __exportStar(require("./ListAutomationsOutput"), exports);
package/dist/Client.d.ts CHANGED
@@ -5,7 +5,6 @@ import * as environments from "./environments";
5
5
  import * as core from "./core";
6
6
  import { Windows } from "./api/resources/windows/client/Client";
7
7
  import { Automations } from "./api/resources/automations/client/Client";
8
- import { Files } from "./api/resources/files/client/Client";
9
8
  import { Profiles } from "./api/resources/profiles/client/Client";
10
9
  import { Requests } from "./api/resources/requests/client/Client";
11
10
  import { Sessions } from "./api/resources/sessions/client/Client";
@@ -32,14 +31,12 @@ export declare class AirtopClient {
32
31
  protected readonly _options: AirtopClient.Options;
33
32
  protected _windows: Windows | undefined;
34
33
  protected _automations: Automations | undefined;
35
- protected _files: Files | undefined;
36
34
  protected _profiles: Profiles | undefined;
37
35
  protected _requests: Requests | undefined;
38
36
  protected _sessions: Sessions | undefined;
39
37
  constructor(_options: AirtopClient.Options);
40
38
  get windows(): Windows;
41
39
  get automations(): Automations;
42
- get files(): Files;
43
40
  get profiles(): Profiles;
44
41
  get requests(): Requests;
45
42
  get sessions(): Sessions;
package/dist/Client.js CHANGED
@@ -6,10 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.AirtopClient = void 0;
7
7
  const Client_1 = require("./api/resources/windows/client/Client");
8
8
  const Client_2 = require("./api/resources/automations/client/Client");
9
- const Client_3 = require("./api/resources/files/client/Client");
10
- const Client_4 = require("./api/resources/profiles/client/Client");
11
- const Client_5 = require("./api/resources/requests/client/Client");
12
- const Client_6 = require("./api/resources/sessions/client/Client");
9
+ const Client_3 = require("./api/resources/profiles/client/Client");
10
+ const Client_4 = require("./api/resources/requests/client/Client");
11
+ const Client_5 = require("./api/resources/sessions/client/Client");
13
12
  class AirtopClient {
14
13
  constructor(_options) {
15
14
  this._options = _options;
@@ -22,21 +21,17 @@ class AirtopClient {
22
21
  var _a;
23
22
  return ((_a = this._automations) !== null && _a !== void 0 ? _a : (this._automations = new Client_2.Automations(this._options)));
24
23
  }
25
- get files() {
26
- var _a;
27
- return ((_a = this._files) !== null && _a !== void 0 ? _a : (this._files = new Client_3.Files(this._options)));
28
- }
29
24
  get profiles() {
30
25
  var _a;
31
- return ((_a = this._profiles) !== null && _a !== void 0 ? _a : (this._profiles = new Client_4.Profiles(this._options)));
26
+ return ((_a = this._profiles) !== null && _a !== void 0 ? _a : (this._profiles = new Client_3.Profiles(this._options)));
32
27
  }
33
28
  get requests() {
34
29
  var _a;
35
- return ((_a = this._requests) !== null && _a !== void 0 ? _a : (this._requests = new Client_5.Requests(this._options)));
30
+ return ((_a = this._requests) !== null && _a !== void 0 ? _a : (this._requests = new Client_4.Requests(this._options)));
36
31
  }
37
32
  get sessions() {
38
33
  var _a;
39
- return ((_a = this._sessions) !== null && _a !== void 0 ? _a : (this._sessions = new Client_6.Sessions(this._options)));
34
+ return ((_a = this._sessions) !== null && _a !== void 0 ? _a : (this._sessions = new Client_5.Sessions(this._options)));
40
35
  }
41
36
  }
42
37
  exports.AirtopClient = AirtopClient;
@@ -32,9 +32,9 @@ export declare class Automations {
32
32
  * @param {Automations.RequestOptions} requestOptions - Request-specific configuration.
33
33
  *
34
34
  * @example
35
- * await client.automations.listAutomations()
35
+ * await client.automations.list()
36
36
  */
37
- listAutomations(requestOptions?: Automations.RequestOptions): Promise<Airtop.ListAutomationsOutput>;
37
+ list(requestOptions?: Automations.RequestOptions): Promise<Airtop.ListAutomationsOutput>;
38
38
  /**
39
39
  * Update the description of a specific automation
40
40
  *
@@ -48,13 +48,13 @@ export declare class Automations {
48
48
  * @throws {@link Airtop.InternalServerError}
49
49
  *
50
50
  * @example
51
- * await client.automations.updateAutomationDescription({
51
+ * await client.automations.update({
52
52
  * description: "description",
53
53
  * id: "id",
54
54
  * orgId: "orgId"
55
55
  * })
56
56
  */
57
- updateAutomationDescription(request: Airtop.UpdateAutomationDescriptionInputBody, requestOptions?: Automations.RequestOptions): Promise<Airtop.AutomationOutput>;
57
+ update(request: Airtop.UpdateAutomationDescriptionInputBody, requestOptions?: Automations.RequestOptions): Promise<Airtop.AutomationOutput>;
58
58
  /**
59
59
  * Get a specific automation by ID
60
60
  *
@@ -68,9 +68,9 @@ export declare class Automations {
68
68
  * @throws {@link Airtop.InternalServerError}
69
69
  *
70
70
  * @example
71
- * await client.automations.getAutomation("automationId")
71
+ * await client.automations.get("automationId")
72
72
  */
73
- getAutomation(automationId: string, requestOptions?: Automations.RequestOptions): Promise<Airtop.AutomationOutput>;
73
+ get(automationId: string, requestOptions?: Automations.RequestOptions): Promise<Airtop.AutomationOutput>;
74
74
  /**
75
75
  * Delete a specific automation
76
76
  *
@@ -84,8 +84,8 @@ export declare class Automations {
84
84
  * @throws {@link Airtop.InternalServerError}
85
85
  *
86
86
  * @example
87
- * await client.automations.deleteAutomation("automationId")
87
+ * await client.automations.delete("automationId")
88
88
  */
89
- deleteAutomation(automationId: string, requestOptions?: Automations.RequestOptions): Promise<Airtop.DeleteAutomationOutputWrapperBody>;
89
+ delete(automationId: string, requestOptions?: Automations.RequestOptions): Promise<Airtop.DeleteAutomationOutputWrapperBody>;
90
90
  protected _getAuthorizationHeader(): Promise<string>;
91
91
  }
@@ -65,15 +65,15 @@ class Automations {
65
65
  * @param {Automations.RequestOptions} requestOptions - Request-specific configuration.
66
66
  *
67
67
  * @example
68
- * await client.automations.listAutomations()
68
+ * await client.automations.list()
69
69
  */
70
- listAutomations(requestOptions) {
70
+ list(requestOptions) {
71
71
  return __awaiter(this, void 0, void 0, function* () {
72
72
  var _a, _b, _c;
73
73
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
74
74
  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, "automations"),
75
75
  method: "GET",
76
- 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),
76
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36", "User-Agent": "@airtop/sdk/0.1.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -123,19 +123,19 @@ class Automations {
123
123
  * @throws {@link Airtop.InternalServerError}
124
124
  *
125
125
  * @example
126
- * await client.automations.updateAutomationDescription({
126
+ * await client.automations.update({
127
127
  * description: "description",
128
128
  * id: "id",
129
129
  * orgId: "orgId"
130
130
  * })
131
131
  */
132
- updateAutomationDescription(request, requestOptions) {
132
+ update(request, requestOptions) {
133
133
  return __awaiter(this, void 0, void 0, function* () {
134
134
  var _a, _b, _c;
135
135
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
136
136
  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, "automations/description"),
137
137
  method: "PUT",
138
- 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),
138
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36", "User-Agent": "@airtop/sdk/0.1.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
139
139
  contentType: "application/json",
140
140
  requestType: "json",
141
141
  body: serializers.UpdateAutomationDescriptionInputBody.jsonOrThrow(request, {
@@ -231,15 +231,15 @@ class Automations {
231
231
  * @throws {@link Airtop.InternalServerError}
232
232
  *
233
233
  * @example
234
- * await client.automations.getAutomation("automationId")
234
+ * await client.automations.get("automationId")
235
235
  */
236
- getAutomation(automationId, requestOptions) {
236
+ get(automationId, requestOptions) {
237
237
  return __awaiter(this, void 0, void 0, function* () {
238
238
  var _a, _b, _c;
239
239
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
240
240
  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, `automations/${encodeURIComponent(automationId)}`),
241
241
  method: "GET",
242
- 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),
242
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36", "User-Agent": "@airtop/sdk/0.1.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
243
243
  contentType: "application/json",
244
244
  requestType: "json",
245
245
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -332,15 +332,15 @@ class Automations {
332
332
  * @throws {@link Airtop.InternalServerError}
333
333
  *
334
334
  * @example
335
- * await client.automations.deleteAutomation("automationId")
335
+ * await client.automations.delete("automationId")
336
336
  */
337
- deleteAutomation(automationId, requestOptions) {
337
+ delete(automationId, requestOptions) {
338
338
  return __awaiter(this, void 0, void 0, function* () {
339
339
  var _a, _b, _c;
340
340
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
341
341
  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, `automations/${encodeURIComponent(automationId)}`),
342
342
  method: "DELETE",
343
- 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),
343
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36", "User-Agent": "@airtop/sdk/0.1.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
344
344
  contentType: "application/json",
345
345
  requestType: "json",
346
346
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1,7 +1,5 @@
1
1
  export * as windows from "./windows";
2
2
  export * from "./windows/types";
3
- export * as files from "./files";
4
- export * from "./files/types";
5
3
  export * as sessions from "./sessions";
6
4
  export * from "./sessions/types";
7
5
  export * as automations from "./automations";
@@ -9,6 +7,5 @@ export * as profiles from "./profiles";
9
7
  export * as requests from "./requests";
10
8
  export * from "./windows/client/requests";
11
9
  export * from "./automations/client/requests";
12
- export * from "./files/client/requests";
13
10
  export * from "./profiles/client/requests";
14
11
  export * from "./sessions/client/requests";
@@ -36,11 +36,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.requests = exports.profiles = exports.automations = exports.sessions = exports.files = exports.windows = void 0;
39
+ exports.requests = exports.profiles = exports.automations = exports.sessions = exports.windows = void 0;
40
40
  exports.windows = __importStar(require("./windows"));
41
41
  __exportStar(require("./windows/types"), exports);
42
- exports.files = __importStar(require("./files"));
43
- __exportStar(require("./files/types"), exports);
44
42
  exports.sessions = __importStar(require("./sessions"));
45
43
  __exportStar(require("./sessions/types"), exports);
46
44
  exports.automations = __importStar(require("./automations"));
@@ -48,6 +46,5 @@ exports.profiles = __importStar(require("./profiles"));
48
46
  exports.requests = __importStar(require("./requests"));
49
47
  __exportStar(require("./windows/client/requests"), exports);
50
48
  __exportStar(require("./automations/client/requests"), exports);
51
- __exportStar(require("./files/client/requests"), exports);
52
49
  __exportStar(require("./profiles/client/requests"), exports);
53
50
  __exportStar(require("./sessions/client/requests"), exports);
@@ -90,7 +90,7 @@ class Profiles {
90
90
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
91
91
  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, "profiles"),
92
92
  method: "DELETE",
93
- 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),
93
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36", "User-Agent": "@airtop/sdk/0.1.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
94
94
  contentType: "application/json",
95
95
  queryParameters: _queryParams,
96
96
  requestType: "json",
@@ -71,7 +71,7 @@ class Requests {
71
71
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
72
72
  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, `requests/${encodeURIComponent(requestId)}/status`),
73
73
  method: "GET",
74
- 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),
74
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36", "User-Agent": "@airtop/sdk/0.1.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -27,7 +27,6 @@ export declare class Sessions {
27
27
  protected readonly _options: Sessions.Options;
28
28
  constructor(_options: Sessions.Options);
29
29
  /**
30
- * Get a paginated list of sessions filtered by ID or status
31
30
  * Get a paginated list of sessions filtered by ID or status
32
31
  *
33
32
  * @param {Airtop.SessionsListRequest} request
@@ -80,15 +79,6 @@ export declare class Sessions {
80
79
  * Get a session event stream for a given session ID
81
80
  */
82
81
  events(id: string, request?: Airtop.SessionsEventsRequest, requestOptions?: Sessions.RequestOptions): Promise<core.Stream<Airtop.SessionsEventsResponse>>;
83
- /**
84
- * @param {string} sessionId - ID of the session.
85
- * @param {string} extensionConfigurationName - Name under which to save the extension configuration.
86
- * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
87
- *
88
- * @example
89
- * await client.sessions.saveExtensionConfigurationOnTermination("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "myExtensionConfiguration")
90
- */
91
- saveExtensionConfigurationOnTermination(sessionId: string, profileName: string, requestOptions?: Sessions.RequestOptions): Promise<void>;
92
82
  /**
93
83
  * @param {string} sessionId - ID of the session.
94
84
  * @param {string} profileName - Name under which to save the profile.
@@ -60,7 +60,6 @@ class Sessions {
60
60
  this._options = _options;
61
61
  }
62
62
  /**
63
- * Get a paginated list of sessions filtered by ID or status
64
63
  * Get a paginated list of sessions filtered by ID or status
65
64
  *
66
65
  * @param {Airtop.SessionsListRequest} request
@@ -103,7 +102,7 @@ class Sessions {
103
102
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
104
103
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, "sessions"),
105
104
  method: "GET",
106
- 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),
105
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36", "User-Agent": "@airtop/sdk/0.1.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
107
106
  contentType: "application/json",
108
107
  queryParameters: _queryParams,
109
108
  requestType: "json",
@@ -181,7 +180,7 @@ class Sessions {
181
180
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
182
181
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, "sessions"),
183
182
  method: "POST",
184
- 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),
183
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36", "User-Agent": "@airtop/sdk/0.1.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
185
184
  contentType: "application/json",
186
185
  requestType: "json",
187
186
  body: serializers.SessionRestInputV1.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -238,7 +237,7 @@ class Sessions {
238
237
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
239
238
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(id)}`),
240
239
  method: "GET",
241
- 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),
240
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36", "User-Agent": "@airtop/sdk/0.1.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
242
241
  contentType: "application/json",
243
242
  requestType: "json",
244
243
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -317,7 +316,7 @@ class Sessions {
317
316
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
318
317
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(id)}`),
319
318
  method: "DELETE",
320
- 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),
319
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36", "User-Agent": "@airtop/sdk/0.1.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
321
320
  contentType: "application/json",
322
321
  requestType: "json",
323
322
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -365,7 +364,7 @@ class Sessions {
365
364
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
366
365
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(id)}/events`),
367
366
  method: "GET",
368
- 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),
367
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36", "User-Agent": "@airtop/sdk/0.1.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
369
368
  contentType: "application/json",
370
369
  queryParameters: _queryParams,
371
370
  requestType: "json",
@@ -441,51 +440,6 @@ class Sessions {
441
440
  }
442
441
  });
443
442
  }
444
- /**
445
- * @param {string} sessionId - ID of the session.
446
- * @param {string} extensionConfigurationName - Name under which to save the extension configuration.
447
- * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
448
- *
449
- * @example
450
- * await client.sessions.saveExtensionConfigurationOnTermination("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "myExtensionConfiguration")
451
- */
452
- saveExtensionConfigurationOnTermination(sessionId, profileName, requestOptions) {
453
- return __awaiter(this, void 0, void 0, function* () {
454
- var _a, _b, _c;
455
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
456
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/save-profile-on-termination/${encodeURIComponent(profileName)}`),
457
- method: "PUT",
458
- 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),
459
- contentType: "application/json",
460
- requestType: "json",
461
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
462
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
463
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
464
- });
465
- if (_response.ok) {
466
- return;
467
- }
468
- if (_response.error.reason === "status-code") {
469
- throw new errors.AirtopError({
470
- statusCode: _response.error.statusCode,
471
- body: _response.error.body,
472
- });
473
- }
474
- switch (_response.error.reason) {
475
- case "non-json":
476
- throw new errors.AirtopError({
477
- statusCode: _response.error.statusCode,
478
- body: _response.error.rawBody,
479
- });
480
- case "timeout":
481
- throw new errors.AirtopTimeoutError("Timeout exceeded when calling PUT /sessions/{sessionId}/save-profile-on-termination/{profileName}.");
482
- case "unknown":
483
- throw new errors.AirtopError({
484
- message: _response.error.errorMessage,
485
- });
486
- }
487
- });
488
- }
489
443
  /**
490
444
  * @param {string} sessionId - ID of the session.
491
445
  * @param {string} profileName - Name under which to save the profile.
@@ -500,7 +454,7 @@ class Sessions {
500
454
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
501
455
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/save-profile-on-termination/${encodeURIComponent(profileName)}`),
502
456
  method: "PUT",
503
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.34", "User-Agent": "@airtop/sdk/0.1.34", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
457
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airtop/sdk", "X-Fern-SDK-Version": "0.1.36", "User-Agent": "@airtop/sdk/0.1.36", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
504
458
  contentType: "application/json",
505
459
  requestType: "json",
506
460
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,