@airtop/sdk 0.1.36-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 (259) 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.js +4 -4
  5. package/api/resources/index.d.ts +0 -3
  6. package/api/resources/index.js +1 -4
  7. package/api/resources/profiles/client/Client.js +1 -1
  8. package/api/resources/requests/client/Client.js +1 -1
  9. package/api/resources/sessions/client/Client.js +6 -6
  10. package/api/resources/windows/client/Client.d.ts +0 -112
  11. package/api/resources/windows/client/Client.js +21 -520
  12. package/api/resources/windows/client/requests/index.d.ts +0 -9
  13. package/api/types/index.d.ts +0 -9
  14. package/api/types/index.js +0 -9
  15. package/dist/Client.d.ts +0 -3
  16. package/dist/Client.js +6 -11
  17. package/dist/api/resources/automations/client/Client.js +4 -4
  18. package/dist/api/resources/index.d.ts +0 -3
  19. package/dist/api/resources/index.js +1 -4
  20. package/dist/api/resources/profiles/client/Client.js +1 -1
  21. package/dist/api/resources/requests/client/Client.js +1 -1
  22. package/dist/api/resources/sessions/client/Client.js +6 -6
  23. package/dist/api/resources/windows/client/Client.d.ts +0 -112
  24. package/dist/api/resources/windows/client/Client.js +21 -520
  25. package/dist/api/resources/windows/client/requests/index.d.ts +0 -9
  26. package/dist/api/types/index.d.ts +0 -9
  27. package/dist/api/types/index.js +0 -9
  28. package/dist/serialization/resources/index.d.ts +0 -3
  29. package/dist/serialization/resources/index.js +1 -4
  30. package/dist/serialization/resources/windows/client/requests/index.d.ts +0 -9
  31. package/dist/serialization/resources/windows/client/requests/index.js +1 -19
  32. package/dist/serialization/types/index.d.ts +0 -9
  33. package/dist/serialization/types/index.js +0 -9
  34. package/dist/version.d.ts +1 -1
  35. package/dist/version.js +1 -1
  36. package/dist/wrapper/AirtopClient.d.ts +0 -3
  37. package/dist/wrapper/AirtopClient.js +0 -5
  38. package/dist/wrapper/AirtopRequests.js +1 -1
  39. package/dist/wrapper/AirtopWindows.d.ts +26 -0
  40. package/dist/wrapper/AirtopWindows.js +40 -0
  41. package/package.json +1 -1
  42. package/reference.md +38 -913
  43. package/serialization/resources/index.d.ts +0 -3
  44. package/serialization/resources/index.js +1 -4
  45. package/serialization/resources/windows/client/requests/index.d.ts +0 -9
  46. package/serialization/resources/windows/client/requests/index.js +1 -19
  47. package/serialization/types/index.d.ts +0 -9
  48. package/serialization/types/index.js +0 -9
  49. package/version.d.ts +1 -1
  50. package/version.js +1 -1
  51. package/wrapper/AirtopClient.d.ts +0 -3
  52. package/wrapper/AirtopClient.js +0 -5
  53. package/wrapper/AirtopRequests.js +1 -1
  54. package/wrapper/AirtopWindows.d.ts +26 -0
  55. package/wrapper/AirtopWindows.js +40 -0
  56. package/api/resources/files/client/Client.d.ts +0 -69
  57. package/api/resources/files/client/Client.js +0 -286
  58. package/api/resources/files/client/index.d.ts +0 -1
  59. package/api/resources/files/client/index.js +0 -17
  60. package/api/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -22
  61. package/api/resources/files/client/requests/CreateFileRestInputV1.js +0 -5
  62. package/api/resources/files/client/requests/FilesListRequest.d.ts +0 -24
  63. package/api/resources/files/client/requests/FilesListRequest.js +0 -5
  64. package/api/resources/files/client/requests/index.d.ts +0 -2
  65. package/api/resources/files/client/requests/index.js +0 -2
  66. package/api/resources/files/index.d.ts +0 -2
  67. package/api/resources/files/index.js +0 -18
  68. package/api/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -13
  69. package/api/resources/files/types/CreateFileRestInputV1FileType.js +0 -12
  70. package/api/resources/files/types/index.d.ts +0 -1
  71. package/api/resources/files/types/index.js +0 -17
  72. package/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
  73. package/api/resources/windows/client/requests/AsyncClickRequest.js +0 -5
  74. package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
  75. package/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
  76. package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
  77. package/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
  78. package/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
  79. package/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
  80. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
  81. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
  82. package/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
  83. package/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
  84. package/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
  85. package/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
  86. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
  87. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
  88. package/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
  89. package/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
  90. package/api/types/CreateFileV1.d.ts +0 -24
  91. package/api/types/CreateFileV1.js +0 -5
  92. package/api/types/CreateFileV1FileType.d.ts +0 -13
  93. package/api/types/CreateFileV1FileType.js +0 -12
  94. package/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -10
  95. package/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -5
  96. package/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -10
  97. package/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -5
  98. package/api/types/ExternalFile.d.ts +0 -33
  99. package/api/types/ExternalFile.js +0 -5
  100. package/api/types/FilesResponse.d.ts +0 -10
  101. package/api/types/FilesResponse.js +0 -5
  102. package/api/types/FilesWithPagination.d.ts +0 -10
  103. package/api/types/FilesWithPagination.js +0 -5
  104. package/api/types/GetFileV1.d.ts +0 -24
  105. package/api/types/GetFileV1.js +0 -5
  106. package/api/types/GetFileV1FileType.d.ts +0 -13
  107. package/api/types/GetFileV1FileType.js +0 -12
  108. package/dist/api/resources/files/client/Client.d.ts +0 -69
  109. package/dist/api/resources/files/client/Client.js +0 -286
  110. package/dist/api/resources/files/client/index.d.ts +0 -1
  111. package/dist/api/resources/files/client/index.js +0 -17
  112. package/dist/api/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -22
  113. package/dist/api/resources/files/client/requests/CreateFileRestInputV1.js +0 -5
  114. package/dist/api/resources/files/client/requests/FilesListRequest.d.ts +0 -24
  115. package/dist/api/resources/files/client/requests/FilesListRequest.js +0 -5
  116. package/dist/api/resources/files/client/requests/index.d.ts +0 -2
  117. package/dist/api/resources/files/client/requests/index.js +0 -2
  118. package/dist/api/resources/files/index.d.ts +0 -2
  119. package/dist/api/resources/files/index.js +0 -18
  120. package/dist/api/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -13
  121. package/dist/api/resources/files/types/CreateFileRestInputV1FileType.js +0 -12
  122. package/dist/api/resources/files/types/index.d.ts +0 -1
  123. package/dist/api/resources/files/types/index.js +0 -17
  124. package/dist/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
  125. package/dist/api/resources/windows/client/requests/AsyncClickRequest.js +0 -5
  126. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -27
  127. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
  128. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
  129. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
  130. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
  131. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
  132. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -27
  133. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
  134. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
  135. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
  136. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
  137. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
  138. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
  139. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
  140. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
  141. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
  142. package/dist/api/types/CreateFileV1.d.ts +0 -24
  143. package/dist/api/types/CreateFileV1.js +0 -5
  144. package/dist/api/types/CreateFileV1FileType.d.ts +0 -13
  145. package/dist/api/types/CreateFileV1FileType.js +0 -12
  146. package/dist/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -10
  147. package/dist/api/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -5
  148. package/dist/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -10
  149. package/dist/api/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -5
  150. package/dist/api/types/ExternalFile.d.ts +0 -33
  151. package/dist/api/types/ExternalFile.js +0 -5
  152. package/dist/api/types/FilesResponse.d.ts +0 -10
  153. package/dist/api/types/FilesResponse.js +0 -5
  154. package/dist/api/types/FilesWithPagination.d.ts +0 -10
  155. package/dist/api/types/FilesWithPagination.js +0 -5
  156. package/dist/api/types/GetFileV1.d.ts +0 -24
  157. package/dist/api/types/GetFileV1.js +0 -5
  158. package/dist/api/types/GetFileV1FileType.d.ts +0 -13
  159. package/dist/api/types/GetFileV1FileType.js +0 -12
  160. package/dist/serialization/resources/files/client/index.d.ts +0 -1
  161. package/dist/serialization/resources/files/client/index.js +0 -17
  162. package/dist/serialization/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -17
  163. package/dist/serialization/resources/files/client/requests/CreateFileRestInputV1.js +0 -48
  164. package/dist/serialization/resources/files/client/requests/index.d.ts +0 -1
  165. package/dist/serialization/resources/files/client/requests/index.js +0 -5
  166. package/dist/serialization/resources/files/index.d.ts +0 -2
  167. package/dist/serialization/resources/files/index.js +0 -18
  168. package/dist/serialization/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -10
  169. package/dist/serialization/resources/files/types/CreateFileRestInputV1FileType.js +0 -41
  170. package/dist/serialization/resources/files/types/index.d.ts +0 -1
  171. package/dist/serialization/resources/files/types/index.js +0 -17
  172. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
  173. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -51
  174. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
  175. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -50
  176. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -19
  177. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -50
  178. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
  179. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
  180. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
  181. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -50
  182. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
  183. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
  184. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
  185. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -49
  186. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
  187. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -50
  188. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
  189. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
  190. package/dist/serialization/types/CreateFileV1.d.ts +0 -21
  191. package/dist/serialization/types/CreateFileV1.js +0 -52
  192. package/dist/serialization/types/CreateFileV1FileType.d.ts +0 -10
  193. package/dist/serialization/types/CreateFileV1FileType.js +0 -41
  194. package/dist/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -18
  195. package/dist/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -49
  196. package/dist/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -18
  197. package/dist/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -49
  198. package/dist/serialization/types/ExternalFile.d.ts +0 -25
  199. package/dist/serialization/types/ExternalFile.js +0 -56
  200. package/dist/serialization/types/FilesResponse.d.ts +0 -18
  201. package/dist/serialization/types/FilesResponse.js +0 -49
  202. package/dist/serialization/types/FilesWithPagination.d.ts +0 -15
  203. package/dist/serialization/types/FilesWithPagination.js +0 -46
  204. package/dist/serialization/types/GetFileV1.d.ts +0 -21
  205. package/dist/serialization/types/GetFileV1.js +0 -52
  206. package/dist/serialization/types/GetFileV1FileType.d.ts +0 -10
  207. package/dist/serialization/types/GetFileV1FileType.js +0 -41
  208. package/dist/wrapper/AirtopFiles.d.ts +0 -38
  209. package/dist/wrapper/AirtopFiles.js +0 -151
  210. package/serialization/resources/files/client/index.d.ts +0 -1
  211. package/serialization/resources/files/client/index.js +0 -17
  212. package/serialization/resources/files/client/requests/CreateFileRestInputV1.d.ts +0 -17
  213. package/serialization/resources/files/client/requests/CreateFileRestInputV1.js +0 -48
  214. package/serialization/resources/files/client/requests/index.d.ts +0 -1
  215. package/serialization/resources/files/client/requests/index.js +0 -5
  216. package/serialization/resources/files/index.d.ts +0 -2
  217. package/serialization/resources/files/index.js +0 -18
  218. package/serialization/resources/files/types/CreateFileRestInputV1FileType.d.ts +0 -10
  219. package/serialization/resources/files/types/CreateFileRestInputV1FileType.js +0 -41
  220. package/serialization/resources/files/types/index.d.ts +0 -1
  221. package/serialization/resources/files/types/index.js +0 -17
  222. package/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
  223. package/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -51
  224. package/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
  225. package/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -50
  226. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -19
  227. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -50
  228. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
  229. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -51
  230. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
  231. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -50
  232. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
  233. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -51
  234. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
  235. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -49
  236. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
  237. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -50
  238. package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
  239. package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -55
  240. package/serialization/types/CreateFileV1.d.ts +0 -21
  241. package/serialization/types/CreateFileV1.js +0 -52
  242. package/serialization/types/CreateFileV1FileType.d.ts +0 -10
  243. package/serialization/types/CreateFileV1FileType.js +0 -41
  244. package/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.d.ts +0 -18
  245. package/serialization/types/EnvelopeCreateFileV1EnvelopeDefaultMeta.js +0 -49
  246. package/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.d.ts +0 -18
  247. package/serialization/types/EnvelopeGetFileV1EnvelopeDefaultMeta.js +0 -49
  248. package/serialization/types/ExternalFile.d.ts +0 -25
  249. package/serialization/types/ExternalFile.js +0 -56
  250. package/serialization/types/FilesResponse.d.ts +0 -18
  251. package/serialization/types/FilesResponse.js +0 -49
  252. package/serialization/types/FilesWithPagination.d.ts +0 -15
  253. package/serialization/types/FilesWithPagination.js +0 -46
  254. package/serialization/types/GetFileV1.d.ts +0 -21
  255. package/serialization/types/GetFileV1.js +0 -52
  256. package/serialization/types/GetFileV1FileType.d.ts +0 -10
  257. package/serialization/types/GetFileV1FileType.js +0 -41
  258. package/wrapper/AirtopFiles.d.ts +0 -38
  259. package/wrapper/AirtopFiles.js +0 -151
package/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/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;
package/README.md CHANGED
@@ -23,9 +23,10 @@ Instantiate and use the client with the following:
23
23
  import { AirtopClient } from "@airtop/sdk";
24
24
 
25
25
  const client = new AirtopClient({ apiKey: "YOUR_API_KEY" });
26
- await client.windows.asyncClick("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
27
- elementDescription: "The login button",
28
- });
26
+ await client.windows.asyncCreateAutomation(
27
+ "6aac6f73-bd89-4a76-ab32-5a6c422e8b0b",
28
+ "0334da2a-91b0-42c5-6156-76a5eba87430",
29
+ );
29
30
  ```
30
31
 
31
32
  ## Request And Response Types
@@ -36,7 +37,7 @@ following namespace:
36
37
  ```typescript
37
38
  import { Airtop } from "@airtop/sdk";
38
39
 
39
- const request: Airtop.AsyncClickRequest = {
40
+ const request: Airtop.AsyncCreateAutomationRequest = {
40
41
  ...
41
42
  };
42
43
  ```
@@ -50,7 +51,7 @@ will be thrown.
50
51
  import { AirtopError } from "@airtop/sdk";
51
52
 
52
53
  try {
53
- await client.windows.asyncClick(...);
54
+ await client.windows.asyncCreateAutomation(...);
54
55
  } catch (err) {
55
56
  if (err instanceof AirtopError) {
56
57
  console.log(err.statusCode);
@@ -67,7 +68,7 @@ try {
67
68
  If you would like to send additional headers as part of the request, use the `headers` request option.
68
69
 
69
70
  ```typescript
70
- const response = await client.windows.asyncClick(..., {
71
+ const response = await client.windows.asyncCreateAutomation(..., {
71
72
  headers: {
72
73
  'X-Custom-Header': 'custom value'
73
74
  }
@@ -89,7 +90,7 @@ A request is deemed retryable when any of the following HTTP status codes is ret
89
90
  Use the `maxRetries` request option to configure this behavior.
90
91
 
91
92
  ```typescript
92
- const response = await client.windows.asyncClick(..., {
93
+ const response = await client.windows.asyncCreateAutomation(..., {
93
94
  maxRetries: 0 // override maxRetries at the request level
94
95
  });
95
96
  ```
@@ -99,7 +100,7 @@ const response = await client.windows.asyncClick(..., {
99
100
  The SDK defaults to a 60 second timeout. Use the `timeoutInSeconds` option to configure this behavior.
100
101
 
101
102
  ```typescript
102
- const response = await client.windows.asyncClick(..., {
103
+ const response = await client.windows.asyncCreateAutomation(..., {
103
104
  timeoutInSeconds: 30 // override timeout to 30s
104
105
  });
105
106
  ```
@@ -110,7 +111,7 @@ The SDK allows users to abort requests at any point by passing in an abort signa
110
111
 
111
112
  ```typescript
112
113
  const controller = new AbortController();
113
- const response = await client.windows.asyncClick(..., {
114
+ const response = await client.windows.asyncCreateAutomation(..., {
114
115
  abortSignal: controller.signal
115
116
  });
116
117
  controller.abort(); // aborts the request
@@ -73,7 +73,7 @@ class Automations {
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.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "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,
@@ -135,7 +135,7 @@ class Automations {
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.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "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, {
@@ -239,7 +239,7 @@ class Automations {
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.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "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,
@@ -340,7 +340,7 @@ class Automations {
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.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "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.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "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.36-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "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,
@@ -102,7 +102,7 @@ class Sessions {
102
102
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
103
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"),
104
104
  method: "GET",
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-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "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),
106
106
  contentType: "application/json",
107
107
  queryParameters: _queryParams,
108
108
  requestType: "json",
@@ -180,7 +180,7 @@ class Sessions {
180
180
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
181
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"),
182
182
  method: "POST",
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-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "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),
184
184
  contentType: "application/json",
185
185
  requestType: "json",
186
186
  body: serializers.SessionRestInputV1.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -237,7 +237,7 @@ class Sessions {
237
237
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
238
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)}`),
239
239
  method: "GET",
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-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "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),
241
241
  contentType: "application/json",
242
242
  requestType: "json",
243
243
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -316,7 +316,7 @@ class Sessions {
316
316
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
317
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)}`),
318
318
  method: "DELETE",
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-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "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),
320
320
  contentType: "application/json",
321
321
  requestType: "json",
322
322
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -364,7 +364,7 @@ class Sessions {
364
364
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
365
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`),
366
366
  method: "GET",
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-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "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),
368
368
  contentType: "application/json",
369
369
  queryParameters: _queryParams,
370
370
  requestType: "json",
@@ -454,7 +454,7 @@ class Sessions {
454
454
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
455
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)}`),
456
456
  method: "PUT",
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-beta0", "User-Agent": "@airtop/sdk/0.1.36-beta0", "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),
458
458
  contentType: "application/json",
459
459
  requestType: "json",
460
460
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -26,20 +26,6 @@ export declare namespace Windows {
26
26
  export declare class Windows {
27
27
  protected readonly _options: Windows.Options;
28
28
  constructor(_options: Windows.Options);
29
- /**
30
- * Execute a click interaction in a specific browser window asynchronously
31
- *
32
- * @param {string} sessionId - The session id for the window.
33
- * @param {string} windowId - The Airtop window id of the browser window.
34
- * @param {Airtop.AsyncClickRequest} request
35
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
36
- *
37
- * @example
38
- * await client.windows.asyncClick("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
39
- * elementDescription: "The login button"
40
- * })
41
- */
42
- asyncClick(sessionId: string, windowId: string, request: Airtop.AsyncClickRequest, requestOptions?: Windows.RequestOptions): Promise<Airtop.AsyncSessionAiResponseEnvelope>;
43
29
  /**
44
30
  * Create an automation of a browser window asynchronously
45
31
  *
@@ -92,104 +78,6 @@ export declare class Windows {
92
78
  * })
93
79
  */
94
80
  asyncFillForm(sessionId: string, windowId: string, request: Airtop.AsyncFillFormRequest, requestOptions?: Windows.RequestOptions): Promise<Airtop.AsyncSessionAiResponseEnvelope>;
95
- /**
96
- * @param {string} sessionId - The session id for the window.
97
- * @param {string} windowId - The Airtop window id of the browser window.
98
- * @param {Airtop.AsyncHoverRequest} request
99
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
100
- *
101
- * @example
102
- * await client.windows.asyncHover("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
103
- * elementDescription: "The search box input in the top right corner"
104
- * })
105
- */
106
- asyncHover(sessionId: string, windowId: string, request: Airtop.AsyncHoverRequest, requestOptions?: Windows.RequestOptions): Promise<Airtop.AsyncSessionAiResponseEnvelope>;
107
- /**
108
- * @param {string} sessionId - The session id for the window.
109
- * @param {string} windowId - The Airtop window id of the browser window.
110
- * @param {Airtop.AsyncMonitorRequest} request
111
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
112
- *
113
- * @example
114
- * await client.windows.asyncMonitor("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
115
- * condition: "Determine if the user appears to be signed in to the website"
116
- * })
117
- */
118
- asyncMonitor(sessionId: string, windowId: string, request: Airtop.AsyncMonitorRequest, requestOptions?: Windows.RequestOptions): Promise<Airtop.AsyncSessionAiResponseEnvelope>;
119
- /**
120
- * @param {string} sessionId - The session id for the window.
121
- * @param {string} windowId - The Airtop window id of the browser window.
122
- * @param {Airtop.AsyncPageQueryRequest} request
123
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
124
- *
125
- * @example
126
- * await client.windows.asyncPageQuery("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
127
- * prompt: "What is the main idea of this page?"
128
- * })
129
- */
130
- asyncPageQuery(sessionId: string, windowId: string, request: Airtop.AsyncPageQueryRequest, requestOptions?: Windows.RequestOptions): Promise<Airtop.AsyncSessionAiResponseEnvelope>;
131
- /**
132
- * @param {string} sessionId - The session id for the window.
133
- * @param {string} windowId - The Airtop window id of the browser window.
134
- * @param {Airtop.AsyncPaginatedExtractionRequest} request
135
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
136
- *
137
- * @example
138
- * await client.windows.asyncPaginatedExtraction("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
139
- * 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."
140
- * })
141
- */
142
- asyncPaginatedExtraction(sessionId: string, windowId: string, request: Airtop.AsyncPaginatedExtractionRequest, requestOptions?: Windows.RequestOptions): Promise<Airtop.AsyncSessionAiResponseEnvelope>;
143
- /**
144
- * This endpoint is deprecated. Please use the `pageQuery` endpoint instead.
145
- *
146
- * @param {string} sessionId - The session id for the window.
147
- * @param {string} windowId - The Airtop window id of the browser window.
148
- * @param {Airtop.AsyncPromptContentRequest} request
149
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
150
- *
151
- * @example
152
- * await client.windows.asyncPromptContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
153
- * prompt: "What is the main idea of this page?"
154
- * })
155
- */
156
- asyncPromptContent(sessionId: string, windowId: string, request: Airtop.AsyncPromptContentRequest, requestOptions?: Windows.RequestOptions): Promise<Airtop.AsyncSessionAiResponseEnvelope>;
157
- /**
158
- * Take a screenshot of the current viewport of a browser window asynchronously
159
- *
160
- * @param {string} sessionId - The session id for the window.
161
- * @param {string} windowId - The Airtop window id of the browser window.
162
- * @param {Airtop.AsyncScreenshotRequest} request
163
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
164
- *
165
- * @example
166
- * await client.windows.asyncScreenshot("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
167
- */
168
- asyncScreenshot(sessionId: string, windowId: string, request?: Airtop.AsyncScreenshotRequest, requestOptions?: Windows.RequestOptions): Promise<Airtop.AsyncSessionAiResponseEnvelope>;
169
- /**
170
- * This endpoint is deprecated. Please use the `pageQuery` endpoint and ask for a summary in the prompt instead.
171
- *
172
- * @param {string} sessionId - The session id for the window.
173
- * @param {string} windowId - The Airtop window id of the browser window to summarize.
174
- * @param {Airtop.AsyncSummarizeContentRequest} request
175
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
176
- *
177
- * @example
178
- * await client.windows.asyncSummarizeContent("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
179
- */
180
- asyncSummarizeContent(sessionId: string, windowId: string, request?: Airtop.AsyncSummarizeContentRequest, requestOptions?: Windows.RequestOptions): Promise<Airtop.AsyncSessionAiResponseEnvelope>;
181
- /**
182
- * @param {string} sessionId - The session id for the window.
183
- * @param {string} windowId - The Airtop window id of the browser window.
184
- * @param {Airtop.AsyncTypeRequest} request
185
- * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
186
- *
187
- * @example
188
- * await client.windows.asyncType("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
189
- * text: "Example text"
190
- * })
191
- */
192
- asyncType(sessionId: string, windowId: string, request: Airtop.AsyncTypeRequest, requestOptions?: Windows.RequestOptions): Promise<Airtop.AsyncSessionAiResponseEnvelope>;
193
81
  /**
194
82
  * Creates a new browser window in a session. Optionally, you can specify a url to load on the window upon creation.
195
83
  *