@airtop/sdk 0.1.37 → 0.1.38-beta0

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 (171) hide show
  1. package/README.md +9 -10
  2. package/api/errors/index.d.ts +2 -2
  3. package/api/errors/index.js +2 -2
  4. package/api/resources/automations/client/Client.js +4 -4
  5. package/api/resources/files/client/Client.js +4 -4
  6. package/api/resources/profiles/client/Client.js +1 -1
  7. package/api/resources/requests/client/Client.js +1 -1
  8. package/api/resources/sessions/client/Client.js +6 -6
  9. package/api/resources/sessions/types/SessionsEventsResponse.d.ts +7 -4
  10. package/api/resources/sessions/types/SessionsEventsResponseCaptchaEvent.d.ts +11 -0
  11. package/api/resources/sessions/types/SessionsEventsResponseCaptchaEvent.js +5 -0
  12. package/api/resources/sessions/types/index.d.ts +2 -1
  13. package/api/resources/sessions/types/index.js +2 -1
  14. package/api/resources/windows/client/Client.d.ts +126 -0
  15. package/api/resources/windows/client/Client.js +577 -21
  16. package/api/resources/windows/client/requests/AsyncClickRequest.d.ts +29 -0
  17. package/api/resources/windows/client/requests/AsyncClickRequest.js +5 -0
  18. package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +27 -0
  19. package/api/resources/windows/client/requests/AsyncHoverRequest.js +5 -0
  20. package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +27 -0
  21. package/api/resources/windows/client/requests/AsyncMonitorRequest.js +5 -0
  22. package/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +29 -0
  23. package/api/resources/windows/client/requests/AsyncPageQueryRequest.js +5 -0
  24. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +27 -0
  25. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +5 -0
  26. package/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +29 -0
  27. package/api/resources/windows/client/requests/AsyncPromptContentRequest.js +5 -0
  28. package/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +23 -0
  29. package/api/resources/windows/client/requests/AsyncScreenshotRequest.js +5 -0
  30. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +25 -0
  31. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +5 -0
  32. package/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +37 -0
  33. package/api/resources/windows/client/requests/AsyncTypeRequest.js +5 -0
  34. package/api/resources/windows/client/requests/OperatorPromptV1Body.d.ts +25 -0
  35. package/api/resources/windows/client/requests/OperatorPromptV1Body.js +5 -0
  36. package/api/resources/windows/client/requests/index.d.ts +10 -0
  37. package/api/types/AsyncOperatorPromptResponseEnvelope.d.ts +9 -0
  38. package/api/types/AsyncOperatorPromptResponseEnvelope.js +5 -0
  39. package/api/types/CaptchaEventMessage.d.ts +24 -0
  40. package/api/types/CaptchaEventMessage.js +5 -0
  41. package/api/types/CaptchaEventMessageStatus.d.ts +12 -0
  42. package/api/types/CaptchaEventMessageStatus.js +11 -0
  43. package/api/types/SessionConfigV1.d.ts +2 -0
  44. package/api/types/index.d.ts +3 -0
  45. package/api/types/index.js +3 -0
  46. package/dist/api/errors/index.d.ts +2 -2
  47. package/dist/api/errors/index.js +2 -2
  48. package/dist/api/resources/automations/client/Client.js +4 -4
  49. package/dist/api/resources/files/client/Client.js +4 -4
  50. package/dist/api/resources/profiles/client/Client.js +1 -1
  51. package/dist/api/resources/requests/client/Client.js +1 -1
  52. package/dist/api/resources/sessions/client/Client.js +6 -6
  53. package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +7 -4
  54. package/dist/api/resources/sessions/types/SessionsEventsResponseCaptchaEvent.d.ts +11 -0
  55. package/dist/api/resources/sessions/types/SessionsEventsResponseCaptchaEvent.js +5 -0
  56. package/dist/api/resources/sessions/types/index.d.ts +2 -1
  57. package/dist/api/resources/sessions/types/index.js +2 -1
  58. package/dist/api/resources/windows/client/Client.d.ts +126 -0
  59. package/dist/api/resources/windows/client/Client.js +577 -21
  60. package/dist/api/resources/windows/client/requests/AsyncClickRequest.d.ts +29 -0
  61. package/dist/api/resources/windows/client/requests/AsyncClickRequest.js +5 -0
  62. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +27 -0
  63. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.js +5 -0
  64. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +27 -0
  65. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.js +5 -0
  66. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +29 -0
  67. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.js +5 -0
  68. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +27 -0
  69. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +5 -0
  70. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +29 -0
  71. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.js +5 -0
  72. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +23 -0
  73. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.js +5 -0
  74. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +25 -0
  75. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +5 -0
  76. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +37 -0
  77. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.js +5 -0
  78. package/dist/api/resources/windows/client/requests/OperatorPromptV1Body.d.ts +25 -0
  79. package/dist/api/resources/windows/client/requests/OperatorPromptV1Body.js +5 -0
  80. package/dist/api/resources/windows/client/requests/index.d.ts +10 -0
  81. package/dist/api/types/AsyncOperatorPromptResponseEnvelope.d.ts +9 -0
  82. package/dist/api/types/AsyncOperatorPromptResponseEnvelope.js +5 -0
  83. package/dist/api/types/CaptchaEventMessage.d.ts +24 -0
  84. package/dist/api/types/CaptchaEventMessage.js +5 -0
  85. package/dist/api/types/CaptchaEventMessageStatus.d.ts +12 -0
  86. package/dist/api/types/CaptchaEventMessageStatus.js +11 -0
  87. package/dist/api/types/SessionConfigV1.d.ts +2 -0
  88. package/dist/api/types/index.d.ts +3 -0
  89. package/dist/api/types/index.js +3 -0
  90. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +9 -5
  91. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +4 -2
  92. package/dist/serialization/resources/sessions/types/SessionsEventsResponseCaptchaEvent.d.ts +15 -0
  93. package/dist/serialization/resources/sessions/types/SessionsEventsResponseCaptchaEvent.js +46 -0
  94. package/dist/serialization/resources/sessions/types/index.d.ts +2 -1
  95. package/dist/serialization/resources/sessions/types/index.js +2 -1
  96. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +20 -0
  97. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.js +51 -0
  98. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +19 -0
  99. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js +50 -0
  100. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +19 -0
  101. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +50 -0
  102. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +20 -0
  103. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +51 -0
  104. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +19 -0
  105. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +50 -0
  106. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +20 -0
  107. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +51 -0
  108. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +18 -0
  109. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +49 -0
  110. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +19 -0
  111. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +50 -0
  112. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +24 -0
  113. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +55 -0
  114. package/dist/serialization/resources/windows/client/requests/OperatorPromptV1Body.d.ts +17 -0
  115. package/dist/serialization/resources/windows/client/requests/OperatorPromptV1Body.js +48 -0
  116. package/dist/serialization/resources/windows/client/requests/index.d.ts +10 -0
  117. package/dist/serialization/resources/windows/client/requests/index.js +21 -1
  118. package/dist/serialization/types/AsyncOperatorPromptResponseEnvelope.d.ts +15 -0
  119. package/dist/serialization/types/AsyncOperatorPromptResponseEnvelope.js +46 -0
  120. package/dist/serialization/types/CaptchaEventMessage.d.ts +21 -0
  121. package/dist/serialization/types/CaptchaEventMessage.js +52 -0
  122. package/dist/serialization/types/CaptchaEventMessageStatus.d.ts +10 -0
  123. package/dist/serialization/types/CaptchaEventMessageStatus.js +41 -0
  124. package/dist/serialization/types/SessionConfigV1.d.ts +1 -0
  125. package/dist/serialization/types/SessionConfigV1.js +1 -0
  126. package/dist/serialization/types/index.d.ts +3 -0
  127. package/dist/serialization/types/index.js +3 -0
  128. package/dist/version.d.ts +1 -1
  129. package/dist/version.js +1 -1
  130. package/package.json +1 -1
  131. package/reference.md +765 -23
  132. package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +9 -5
  133. package/serialization/resources/sessions/types/SessionsEventsResponse.js +4 -2
  134. package/serialization/resources/sessions/types/SessionsEventsResponseCaptchaEvent.d.ts +15 -0
  135. package/serialization/resources/sessions/types/SessionsEventsResponseCaptchaEvent.js +46 -0
  136. package/serialization/resources/sessions/types/index.d.ts +2 -1
  137. package/serialization/resources/sessions/types/index.js +2 -1
  138. package/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +20 -0
  139. package/serialization/resources/windows/client/requests/AsyncClickRequest.js +51 -0
  140. package/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +19 -0
  141. package/serialization/resources/windows/client/requests/AsyncHoverRequest.js +50 -0
  142. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +19 -0
  143. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +50 -0
  144. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +20 -0
  145. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +51 -0
  146. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +19 -0
  147. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +50 -0
  148. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +20 -0
  149. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +51 -0
  150. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +18 -0
  151. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +49 -0
  152. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +19 -0
  153. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +50 -0
  154. package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +24 -0
  155. package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +55 -0
  156. package/serialization/resources/windows/client/requests/OperatorPromptV1Body.d.ts +17 -0
  157. package/serialization/resources/windows/client/requests/OperatorPromptV1Body.js +48 -0
  158. package/serialization/resources/windows/client/requests/index.d.ts +10 -0
  159. package/serialization/resources/windows/client/requests/index.js +21 -1
  160. package/serialization/types/AsyncOperatorPromptResponseEnvelope.d.ts +15 -0
  161. package/serialization/types/AsyncOperatorPromptResponseEnvelope.js +46 -0
  162. package/serialization/types/CaptchaEventMessage.d.ts +21 -0
  163. package/serialization/types/CaptchaEventMessage.js +52 -0
  164. package/serialization/types/CaptchaEventMessageStatus.d.ts +10 -0
  165. package/serialization/types/CaptchaEventMessageStatus.js +41 -0
  166. package/serialization/types/SessionConfigV1.d.ts +1 -0
  167. package/serialization/types/SessionConfigV1.js +1 -0
  168. package/serialization/types/index.d.ts +3 -0
  169. package/serialization/types/index.js +3 -0
  170. package/version.d.ts +1 -1
  171. package/version.js +1 -1
package/reference.md CHANGED
@@ -2,25 +2,553 @@
2
2
 
3
3
  ## Windows
4
4
 
5
+ <details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncClick</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
6
+ <dl>
7
+ <dd>
8
+
9
+ #### 📝 Description
10
+
11
+ <dl>
12
+ <dd>
13
+
14
+ <dl>
15
+ <dd>
16
+
17
+ Execute a click interaction in a specific browser window asynchronously
18
+
19
+ </dd>
20
+ </dl>
21
+ </dd>
22
+ </dl>
23
+
24
+ #### 🔌 Usage
25
+
26
+ <dl>
27
+ <dd>
28
+
29
+ <dl>
30
+ <dd>
31
+
32
+ ```typescript
33
+ await client.windows.asyncClick("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
34
+ elementDescription: "The login button",
35
+ });
36
+ ```
37
+
38
+ </dd>
39
+ </dl>
40
+ </dd>
41
+ </dl>
42
+
43
+ #### ⚙️ Parameters
44
+
45
+ <dl>
46
+ <dd>
47
+
48
+ <dl>
49
+ <dd>
50
+
51
+ **sessionId:** `string` — The session id for the window.
52
+
53
+ </dd>
54
+ </dl>
55
+
56
+ <dl>
57
+ <dd>
58
+
59
+ **windowId:** `string` — The Airtop window id of the browser window.
60
+
61
+ </dd>
62
+ </dl>
63
+
64
+ <dl>
65
+ <dd>
66
+
67
+ **request:** `Airtop.AsyncClickRequest`
68
+
69
+ </dd>
70
+ </dl>
71
+
72
+ <dl>
73
+ <dd>
74
+
75
+ **requestOptions:** `Windows.RequestOptions`
76
+
77
+ </dd>
78
+ </dl>
79
+ </dd>
80
+ </dl>
81
+
82
+ </dd>
83
+ </dl>
84
+ </details>
85
+
5
86
  <details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncCreateAutomation</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
6
87
  <dl>
7
88
  <dd>
8
89
 
9
- #### 📝 Description
90
+ #### 📝 Description
91
+
92
+ <dl>
93
+ <dd>
94
+
95
+ <dl>
96
+ <dd>
97
+
98
+ Create an automation of a browser window asynchronously
99
+
100
+ </dd>
101
+ </dl>
102
+ </dd>
103
+ </dl>
104
+
105
+ #### 🔌 Usage
106
+
107
+ <dl>
108
+ <dd>
109
+
110
+ <dl>
111
+ <dd>
112
+
113
+ ```typescript
114
+ await client.windows.asyncCreateAutomation(
115
+ "6aac6f73-bd89-4a76-ab32-5a6c422e8b0b",
116
+ "0334da2a-91b0-42c5-6156-76a5eba87430",
117
+ );
118
+ ```
119
+
120
+ </dd>
121
+ </dl>
122
+ </dd>
123
+ </dl>
124
+
125
+ #### ⚙️ Parameters
126
+
127
+ <dl>
128
+ <dd>
129
+
130
+ <dl>
131
+ <dd>
132
+
133
+ **sessionId:** `string` — The session id for the window.
134
+
135
+ </dd>
136
+ </dl>
137
+
138
+ <dl>
139
+ <dd>
140
+
141
+ **windowId:** `string` — The Airtop window id of the browser window.
142
+
143
+ </dd>
144
+ </dl>
145
+
146
+ <dl>
147
+ <dd>
148
+
149
+ **request:** `Airtop.AsyncCreateAutomationRequest`
150
+
151
+ </dd>
152
+ </dl>
153
+
154
+ <dl>
155
+ <dd>
156
+
157
+ **requestOptions:** `Windows.RequestOptions`
158
+
159
+ </dd>
160
+ </dl>
161
+ </dd>
162
+ </dl>
163
+
164
+ </dd>
165
+ </dl>
166
+ </details>
167
+
168
+ <details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncCreateFormFiller</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
169
+ <dl>
170
+ <dd>
171
+
172
+ #### 📝 Description
173
+
174
+ <dl>
175
+ <dd>
176
+
177
+ <dl>
178
+ <dd>
179
+
180
+ Create a form filler automation asynchronously
181
+
182
+ </dd>
183
+ </dl>
184
+ </dd>
185
+ </dl>
186
+
187
+ #### 🔌 Usage
188
+
189
+ <dl>
190
+ <dd>
191
+
192
+ <dl>
193
+ <dd>
194
+
195
+ ```typescript
196
+ await client.windows.asyncCreateFormFiller(
197
+ "6aac6f73-bd89-4a76-ab32-5a6c422e8b0b",
198
+ "0334da2a-91b0-42c5-6156-76a5eba87430",
199
+ );
200
+ ```
201
+
202
+ </dd>
203
+ </dl>
204
+ </dd>
205
+ </dl>
206
+
207
+ #### ⚙️ Parameters
208
+
209
+ <dl>
210
+ <dd>
211
+
212
+ <dl>
213
+ <dd>
214
+
215
+ **sessionId:** `string` — The session id for the window.
216
+
217
+ </dd>
218
+ </dl>
219
+
220
+ <dl>
221
+ <dd>
222
+
223
+ **windowId:** `string` — The Airtop window id of the browser window.
224
+
225
+ </dd>
226
+ </dl>
227
+
228
+ <dl>
229
+ <dd>
230
+
231
+ **request:** `Airtop.AsyncCreateFormFillerRequest`
232
+
233
+ </dd>
234
+ </dl>
235
+
236
+ <dl>
237
+ <dd>
238
+
239
+ **requestOptions:** `Windows.RequestOptions`
240
+
241
+ </dd>
242
+ </dl>
243
+ </dd>
244
+ </dl>
245
+
246
+ </dd>
247
+ </dl>
248
+ </details>
249
+
250
+ <details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncExecuteAutomation</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
251
+ <dl>
252
+ <dd>
253
+
254
+ #### 📝 Description
255
+
256
+ <dl>
257
+ <dd>
258
+
259
+ <dl>
260
+ <dd>
261
+
262
+ Execute an automation of a browser window asynchronously
263
+
264
+ </dd>
265
+ </dl>
266
+ </dd>
267
+ </dl>
268
+
269
+ #### 🔌 Usage
270
+
271
+ <dl>
272
+ <dd>
273
+
274
+ <dl>
275
+ <dd>
276
+
277
+ ```typescript
278
+ await client.windows.asyncExecuteAutomation(
279
+ "6aac6f73-bd89-4a76-ab32-5a6c422e8b0b",
280
+ "0334da2a-91b0-42c5-6156-76a5eba87430",
281
+ {
282
+ automationId: "automationId",
283
+ },
284
+ );
285
+ ```
286
+
287
+ </dd>
288
+ </dl>
289
+ </dd>
290
+ </dl>
291
+
292
+ #### ⚙️ Parameters
293
+
294
+ <dl>
295
+ <dd>
296
+
297
+ <dl>
298
+ <dd>
299
+
300
+ **sessionId:** `string` — The session id for the window.
301
+
302
+ </dd>
303
+ </dl>
304
+
305
+ <dl>
306
+ <dd>
307
+
308
+ **windowId:** `string` — The Airtop window id of the browser window.
309
+
310
+ </dd>
311
+ </dl>
312
+
313
+ <dl>
314
+ <dd>
315
+
316
+ **request:** `Airtop.AsyncExecuteAutomationRequest`
317
+
318
+ </dd>
319
+ </dl>
320
+
321
+ <dl>
322
+ <dd>
323
+
324
+ **requestOptions:** `Windows.RequestOptions`
325
+
326
+ </dd>
327
+ </dl>
328
+ </dd>
329
+ </dl>
330
+
331
+ </dd>
332
+ </dl>
333
+ </details>
334
+
335
+ <details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncFillForm</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
336
+ <dl>
337
+ <dd>
338
+
339
+ #### 📝 Description
340
+
341
+ <dl>
342
+ <dd>
343
+
344
+ <dl>
345
+ <dd>
346
+
347
+ Fill a form of a browser window asynchronously using a form-filler automation
348
+
349
+ </dd>
350
+ </dl>
351
+ </dd>
352
+ </dl>
353
+
354
+ #### 🔌 Usage
355
+
356
+ <dl>
357
+ <dd>
358
+
359
+ <dl>
360
+ <dd>
361
+
362
+ ```typescript
363
+ await client.windows.asyncFillForm("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
364
+ automationId: "automationId",
365
+ });
366
+ ```
367
+
368
+ </dd>
369
+ </dl>
370
+ </dd>
371
+ </dl>
372
+
373
+ #### ⚙️ Parameters
374
+
375
+ <dl>
376
+ <dd>
377
+
378
+ <dl>
379
+ <dd>
380
+
381
+ **sessionId:** `string` — The session id for the window.
382
+
383
+ </dd>
384
+ </dl>
385
+
386
+ <dl>
387
+ <dd>
388
+
389
+ **windowId:** `string` — The Airtop window id of the browser window.
390
+
391
+ </dd>
392
+ </dl>
393
+
394
+ <dl>
395
+ <dd>
396
+
397
+ **request:** `Airtop.AsyncFillFormRequest`
398
+
399
+ </dd>
400
+ </dl>
401
+
402
+ <dl>
403
+ <dd>
404
+
405
+ **requestOptions:** `Windows.RequestOptions`
406
+
407
+ </dd>
408
+ </dl>
409
+ </dd>
410
+ </dl>
411
+
412
+ </dd>
413
+ </dl>
414
+ </details>
415
+
416
+ <details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncHover</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
417
+ <dl>
418
+ <dd>
419
+
420
+ #### 🔌 Usage
421
+
422
+ <dl>
423
+ <dd>
424
+
425
+ <dl>
426
+ <dd>
427
+
428
+ ```typescript
429
+ await client.windows.asyncHover("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
430
+ elementDescription: "The search box input in the top right corner",
431
+ });
432
+ ```
433
+
434
+ </dd>
435
+ </dl>
436
+ </dd>
437
+ </dl>
438
+
439
+ #### ⚙️ Parameters
440
+
441
+ <dl>
442
+ <dd>
443
+
444
+ <dl>
445
+ <dd>
446
+
447
+ **sessionId:** `string` — The session id for the window.
448
+
449
+ </dd>
450
+ </dl>
451
+
452
+ <dl>
453
+ <dd>
454
+
455
+ **windowId:** `string` — The Airtop window id of the browser window.
456
+
457
+ </dd>
458
+ </dl>
459
+
460
+ <dl>
461
+ <dd>
462
+
463
+ **request:** `Airtop.AsyncHoverRequest`
464
+
465
+ </dd>
466
+ </dl>
467
+
468
+ <dl>
469
+ <dd>
470
+
471
+ **requestOptions:** `Windows.RequestOptions`
472
+
473
+ </dd>
474
+ </dl>
475
+ </dd>
476
+ </dl>
477
+
478
+ </dd>
479
+ </dl>
480
+ </details>
481
+
482
+ <details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncMonitor</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
483
+ <dl>
484
+ <dd>
485
+
486
+ #### 🔌 Usage
487
+
488
+ <dl>
489
+ <dd>
490
+
491
+ <dl>
492
+ <dd>
493
+
494
+ ```typescript
495
+ await client.windows.asyncMonitor("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
496
+ condition: "Determine if the user appears to be signed in to the website",
497
+ });
498
+ ```
499
+
500
+ </dd>
501
+ </dl>
502
+ </dd>
503
+ </dl>
504
+
505
+ #### ⚙️ Parameters
506
+
507
+ <dl>
508
+ <dd>
509
+
510
+ <dl>
511
+ <dd>
512
+
513
+ **sessionId:** `string` — The session id for the window.
514
+
515
+ </dd>
516
+ </dl>
517
+
518
+ <dl>
519
+ <dd>
520
+
521
+ **windowId:** `string` — The Airtop window id of the browser window.
522
+
523
+ </dd>
524
+ </dl>
10
525
 
11
526
  <dl>
12
527
  <dd>
13
528
 
529
+ **request:** `Airtop.AsyncMonitorRequest`
530
+
531
+ </dd>
532
+ </dl>
533
+
14
534
  <dl>
15
535
  <dd>
16
536
 
17
- Create an automation of a browser window asynchronously
537
+ **requestOptions:** `Windows.RequestOptions`
18
538
 
19
539
  </dd>
20
540
  </dl>
21
541
  </dd>
22
542
  </dl>
23
543
 
544
+ </dd>
545
+ </dl>
546
+ </details>
547
+
548
+ <details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncPageQuery</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
549
+ <dl>
550
+ <dd>
551
+
24
552
  #### 🔌 Usage
25
553
 
26
554
  <dl>
@@ -30,9 +558,78 @@ Create an automation of a browser window asynchronously
30
558
  <dd>
31
559
 
32
560
  ```typescript
33
- await client.windows.asyncCreateAutomation(
561
+ await client.windows.asyncPageQuery("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
562
+ prompt: "What is the main idea of this page?",
563
+ });
564
+ ```
565
+
566
+ </dd>
567
+ </dl>
568
+ </dd>
569
+ </dl>
570
+
571
+ #### ⚙️ Parameters
572
+
573
+ <dl>
574
+ <dd>
575
+
576
+ <dl>
577
+ <dd>
578
+
579
+ **sessionId:** `string` — The session id for the window.
580
+
581
+ </dd>
582
+ </dl>
583
+
584
+ <dl>
585
+ <dd>
586
+
587
+ **windowId:** `string` — The Airtop window id of the browser window.
588
+
589
+ </dd>
590
+ </dl>
591
+
592
+ <dl>
593
+ <dd>
594
+
595
+ **request:** `Airtop.AsyncPageQueryRequest`
596
+
597
+ </dd>
598
+ </dl>
599
+
600
+ <dl>
601
+ <dd>
602
+
603
+ **requestOptions:** `Windows.RequestOptions`
604
+
605
+ </dd>
606
+ </dl>
607
+ </dd>
608
+ </dl>
609
+
610
+ </dd>
611
+ </dl>
612
+ </details>
613
+
614
+ <details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncPaginatedExtraction</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
615
+ <dl>
616
+ <dd>
617
+
618
+ #### 🔌 Usage
619
+
620
+ <dl>
621
+ <dd>
622
+
623
+ <dl>
624
+ <dd>
625
+
626
+ ```typescript
627
+ await client.windows.asyncPaginatedExtraction(
34
628
  "6aac6f73-bd89-4a76-ab32-5a6c422e8b0b",
35
629
  "0334da2a-91b0-42c5-6156-76a5eba87430",
630
+ {
631
+ 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.",
632
+ },
36
633
  );
37
634
  ```
38
635
 
@@ -65,7 +662,7 @@ await client.windows.asyncCreateAutomation(
65
662
  <dl>
66
663
  <dd>
67
664
 
68
- **request:** `Airtop.AsyncCreateAutomationRequest`
665
+ **request:** `Airtop.AsyncPaginatedExtractionRequest`
69
666
 
70
667
  </dd>
71
668
  </dl>
@@ -84,7 +681,7 @@ await client.windows.asyncCreateAutomation(
84
681
  </dl>
85
682
  </details>
86
683
 
87
- <details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncCreateFormFiller</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
684
+ <details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncPromptContent</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
88
685
  <dl>
89
686
  <dd>
90
687
 
@@ -96,7 +693,7 @@ await client.windows.asyncCreateAutomation(
96
693
  <dl>
97
694
  <dd>
98
695
 
99
- Create a form filler automation asynchronously
696
+ This endpoint is deprecated. Please use the `pageQuery` endpoint instead.
100
697
 
101
698
  </dd>
102
699
  </dl>
@@ -112,9 +709,12 @@ Create a form filler automation asynchronously
112
709
  <dd>
113
710
 
114
711
  ```typescript
115
- await client.windows.asyncCreateFormFiller(
712
+ await client.windows.asyncPromptContent(
116
713
  "6aac6f73-bd89-4a76-ab32-5a6c422e8b0b",
117
714
  "0334da2a-91b0-42c5-6156-76a5eba87430",
715
+ {
716
+ prompt: "What is the main idea of this page?",
717
+ },
118
718
  );
119
719
  ```
120
720
 
@@ -147,7 +747,7 @@ await client.windows.asyncCreateFormFiller(
147
747
  <dl>
148
748
  <dd>
149
749
 
150
- **request:** `Airtop.AsyncCreateFormFillerRequest`
750
+ **request:** `Airtop.AsyncPromptContentRequest`
151
751
 
152
752
  </dd>
153
753
  </dl>
@@ -166,7 +766,7 @@ await client.windows.asyncCreateFormFiller(
166
766
  </dl>
167
767
  </details>
168
768
 
169
- <details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncExecuteAutomation</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
769
+ <details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncScreenshot</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
170
770
  <dl>
171
771
  <dd>
172
772
 
@@ -178,7 +778,7 @@ await client.windows.asyncCreateFormFiller(
178
778
  <dl>
179
779
  <dd>
180
780
 
181
- Execute an automation of a browser window asynchronously
781
+ Take a screenshot of the current viewport of a browser window asynchronously
182
782
 
183
783
  </dd>
184
784
  </dl>
@@ -194,13 +794,7 @@ Execute an automation of a browser window asynchronously
194
794
  <dd>
195
795
 
196
796
  ```typescript
197
- await client.windows.asyncExecuteAutomation(
198
- "6aac6f73-bd89-4a76-ab32-5a6c422e8b0b",
199
- "0334da2a-91b0-42c5-6156-76a5eba87430",
200
- {
201
- automationId: "automationId",
202
- },
203
- );
797
+ await client.windows.asyncScreenshot("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430");
204
798
  ```
205
799
 
206
800
  </dd>
@@ -232,7 +826,7 @@ await client.windows.asyncExecuteAutomation(
232
826
  <dl>
233
827
  <dd>
234
828
 
235
- **request:** `Airtop.AsyncExecuteAutomationRequest`
829
+ **request:** `Airtop.AsyncScreenshotRequest`
236
830
 
237
831
  </dd>
238
832
  </dl>
@@ -251,7 +845,7 @@ await client.windows.asyncExecuteAutomation(
251
845
  </dl>
252
846
  </details>
253
847
 
254
- <details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncFillForm</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
848
+ <details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncSummarizeContent</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
255
849
  <dl>
256
850
  <dd>
257
851
 
@@ -263,7 +857,7 @@ await client.windows.asyncExecuteAutomation(
263
857
  <dl>
264
858
  <dd>
265
859
 
266
- Fill a form of a browser window asynchronously using a form-filler automation
860
+ This endpoint is deprecated. Please use the `pageQuery` endpoint and ask for a summary in the prompt instead.
267
861
 
268
862
  </dd>
269
863
  </dl>
@@ -279,8 +873,75 @@ Fill a form of a browser window asynchronously using a form-filler automation
279
873
  <dd>
280
874
 
281
875
  ```typescript
282
- await client.windows.asyncFillForm("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
283
- automationId: "automationId",
876
+ await client.windows.asyncSummarizeContent(
877
+ "6aac6f73-bd89-4a76-ab32-5a6c422e8b0b",
878
+ "0334da2a-91b0-42c5-6156-76a5eba87430",
879
+ );
880
+ ```
881
+
882
+ </dd>
883
+ </dl>
884
+ </dd>
885
+ </dl>
886
+
887
+ #### ⚙️ Parameters
888
+
889
+ <dl>
890
+ <dd>
891
+
892
+ <dl>
893
+ <dd>
894
+
895
+ **sessionId:** `string` — The session id for the window.
896
+
897
+ </dd>
898
+ </dl>
899
+
900
+ <dl>
901
+ <dd>
902
+
903
+ **windowId:** `string` — The Airtop window id of the browser window to summarize.
904
+
905
+ </dd>
906
+ </dl>
907
+
908
+ <dl>
909
+ <dd>
910
+
911
+ **request:** `Airtop.AsyncSummarizeContentRequest`
912
+
913
+ </dd>
914
+ </dl>
915
+
916
+ <dl>
917
+ <dd>
918
+
919
+ **requestOptions:** `Windows.RequestOptions`
920
+
921
+ </dd>
922
+ </dl>
923
+ </dd>
924
+ </dl>
925
+
926
+ </dd>
927
+ </dl>
928
+ </details>
929
+
930
+ <details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">asyncType</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncSessionAiResponseEnvelope</code></summary>
931
+ <dl>
932
+ <dd>
933
+
934
+ #### 🔌 Usage
935
+
936
+ <dl>
937
+ <dd>
938
+
939
+ <dl>
940
+ <dd>
941
+
942
+ ```typescript
943
+ await client.windows.asyncType("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
944
+ text: "Example text",
284
945
  });
285
946
  ```
286
947
 
@@ -313,7 +974,7 @@ await client.windows.asyncFillForm("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334
313
974
  <dl>
314
975
  <dd>
315
976
 
316
- **request:** `Airtop.AsyncFillFormRequest`
977
+ **request:** `Airtop.AsyncTypeRequest`
317
978
 
318
979
  </dd>
319
980
  </dl>
@@ -1024,6 +1685,87 @@ await client.windows.monitor("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-9
1024
1685
  </dl>
1025
1686
  </details>
1026
1687
 
1688
+ <details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">operatorPrompt</a>(sessionId, windowId, { ...params }) -> Airtop.AsyncOperatorPromptResponseEnvelope</code></summary>
1689
+ <dl>
1690
+ <dd>
1691
+
1692
+ #### 📝 Description
1693
+
1694
+ <dl>
1695
+ <dd>
1696
+
1697
+ <dl>
1698
+ <dd>
1699
+
1700
+ Prompt OpenAI Operator
1701
+
1702
+ </dd>
1703
+ </dl>
1704
+ </dd>
1705
+ </dl>
1706
+
1707
+ #### 🔌 Usage
1708
+
1709
+ <dl>
1710
+ <dd>
1711
+
1712
+ <dl>
1713
+ <dd>
1714
+
1715
+ ```typescript
1716
+ await client.windows.operatorPrompt("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334da2a-91b0-42c5-6156-76a5eba87430", {
1717
+ prompt: "What is the latest news about OpenAI?",
1718
+ });
1719
+ ```
1720
+
1721
+ </dd>
1722
+ </dl>
1723
+ </dd>
1724
+ </dl>
1725
+
1726
+ #### ⚙️ Parameters
1727
+
1728
+ <dl>
1729
+ <dd>
1730
+
1731
+ <dl>
1732
+ <dd>
1733
+
1734
+ **sessionId:** `string` — ID of the session that owns the window.
1735
+
1736
+ </dd>
1737
+ </dl>
1738
+
1739
+ <dl>
1740
+ <dd>
1741
+
1742
+ **windowId:** `string` — Airtop window ID of the browser window.
1743
+
1744
+ </dd>
1745
+ </dl>
1746
+
1747
+ <dl>
1748
+ <dd>
1749
+
1750
+ **request:** `Airtop.OperatorPromptV1Body`
1751
+
1752
+ </dd>
1753
+ </dl>
1754
+
1755
+ <dl>
1756
+ <dd>
1757
+
1758
+ **requestOptions:** `Windows.RequestOptions`
1759
+
1760
+ </dd>
1761
+ </dl>
1762
+ </dd>
1763
+ </dl>
1764
+
1765
+ </dd>
1766
+ </dl>
1767
+ </details>
1768
+
1027
1769
  <details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">pageQuery</a>(sessionId, windowId, { ...params }) -> Airtop.AiPromptResponse</code></summary>
1028
1770
  <dl>
1029
1771
  <dd>