@airtop/sdk 0.1.7 → 0.1.8
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.
- package/api/resources/profiles/client/Client.js +4 -4
- package/api/resources/sessions/client/Client.js +10 -10
- package/api/resources/windows/client/Client.js +22 -22
- package/dist/api/resources/profiles/client/Client.js +4 -4
- package/dist/api/resources/sessions/client/Client.js +10 -10
- package/dist/api/resources/windows/client/Client.js +22 -22
- package/dist/wrapper/AirtopWindows.d.ts +34 -0
- package/dist/wrapper/AirtopWindows.js +55 -0
- package/package.json +1 -1
- package/wrapper/AirtopWindows.d.ts +34 -0
- package/wrapper/AirtopWindows.js +55 -0
@@ -77,8 +77,8 @@ class Profiles {
|
|
77
77
|
Authorization: yield this._getAuthorizationHeader(),
|
78
78
|
"X-Fern-Language": "JavaScript",
|
79
79
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
80
|
-
"X-Fern-SDK-Version": "0.1.
|
81
|
-
"User-Agent": "@airtop/sdk/0.1.
|
80
|
+
"X-Fern-SDK-Version": "0.1.8",
|
81
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
82
82
|
"X-Fern-Runtime": core.RUNTIME.type,
|
83
83
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
84
84
|
},
|
@@ -148,8 +148,8 @@ class Profiles {
|
|
148
148
|
Authorization: yield this._getAuthorizationHeader(),
|
149
149
|
"X-Fern-Language": "JavaScript",
|
150
150
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
151
|
-
"X-Fern-SDK-Version": "0.1.
|
152
|
-
"User-Agent": "@airtop/sdk/0.1.
|
151
|
+
"X-Fern-SDK-Version": "0.1.8",
|
152
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
153
153
|
"X-Fern-Runtime": core.RUNTIME.type,
|
154
154
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
155
155
|
},
|
@@ -94,8 +94,8 @@ class Sessions {
|
|
94
94
|
Authorization: yield this._getAuthorizationHeader(),
|
95
95
|
"X-Fern-Language": "JavaScript",
|
96
96
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
97
|
-
"X-Fern-SDK-Version": "0.1.
|
98
|
-
"User-Agent": "@airtop/sdk/0.1.
|
97
|
+
"X-Fern-SDK-Version": "0.1.8",
|
98
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
99
99
|
"X-Fern-Runtime": core.RUNTIME.type,
|
100
100
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
101
101
|
},
|
@@ -180,8 +180,8 @@ class Sessions {
|
|
180
180
|
Authorization: yield this._getAuthorizationHeader(),
|
181
181
|
"X-Fern-Language": "JavaScript",
|
182
182
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
183
|
-
"X-Fern-SDK-Version": "0.1.
|
184
|
-
"User-Agent": "@airtop/sdk/0.1.
|
183
|
+
"X-Fern-SDK-Version": "0.1.8",
|
184
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
185
185
|
"X-Fern-Runtime": core.RUNTIME.type,
|
186
186
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
187
187
|
},
|
@@ -245,8 +245,8 @@ class Sessions {
|
|
245
245
|
Authorization: yield this._getAuthorizationHeader(),
|
246
246
|
"X-Fern-Language": "JavaScript",
|
247
247
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
248
|
-
"X-Fern-SDK-Version": "0.1.
|
249
|
-
"User-Agent": "@airtop/sdk/0.1.
|
248
|
+
"X-Fern-SDK-Version": "0.1.8",
|
249
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
250
250
|
"X-Fern-Runtime": core.RUNTIME.type,
|
251
251
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
252
252
|
},
|
@@ -332,8 +332,8 @@ class Sessions {
|
|
332
332
|
Authorization: yield this._getAuthorizationHeader(),
|
333
333
|
"X-Fern-Language": "JavaScript",
|
334
334
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
335
|
-
"X-Fern-SDK-Version": "0.1.
|
336
|
-
"User-Agent": "@airtop/sdk/0.1.
|
335
|
+
"X-Fern-SDK-Version": "0.1.8",
|
336
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
337
337
|
"X-Fern-Runtime": core.RUNTIME.type,
|
338
338
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
339
339
|
},
|
@@ -380,8 +380,8 @@ class Sessions {
|
|
380
380
|
Authorization: yield this._getAuthorizationHeader(),
|
381
381
|
"X-Fern-Language": "JavaScript",
|
382
382
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
383
|
-
"X-Fern-SDK-Version": "0.1.
|
384
|
-
"User-Agent": "@airtop/sdk/0.1.
|
383
|
+
"X-Fern-SDK-Version": "0.1.8",
|
384
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
385
385
|
"X-Fern-Runtime": core.RUNTIME.type,
|
386
386
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
387
387
|
},
|
@@ -66,8 +66,8 @@ class Windows {
|
|
66
66
|
Authorization: yield this._getAuthorizationHeader(),
|
67
67
|
"X-Fern-Language": "JavaScript",
|
68
68
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
69
|
-
"X-Fern-SDK-Version": "0.1.
|
70
|
-
"User-Agent": "@airtop/sdk/0.1.
|
69
|
+
"X-Fern-SDK-Version": "0.1.8",
|
70
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
71
71
|
"X-Fern-Runtime": core.RUNTIME.type,
|
72
72
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
73
73
|
},
|
@@ -140,8 +140,8 @@ class Windows {
|
|
140
140
|
Authorization: yield this._getAuthorizationHeader(),
|
141
141
|
"X-Fern-Language": "JavaScript",
|
142
142
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
143
|
-
"X-Fern-SDK-Version": "0.1.
|
144
|
-
"User-Agent": "@airtop/sdk/0.1.
|
143
|
+
"X-Fern-SDK-Version": "0.1.8",
|
144
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
145
145
|
"X-Fern-Runtime": core.RUNTIME.type,
|
146
146
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
147
147
|
},
|
@@ -203,8 +203,8 @@ class Windows {
|
|
203
203
|
Authorization: yield this._getAuthorizationHeader(),
|
204
204
|
"X-Fern-Language": "JavaScript",
|
205
205
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
206
|
-
"X-Fern-SDK-Version": "0.1.
|
207
|
-
"User-Agent": "@airtop/sdk/0.1.
|
206
|
+
"X-Fern-SDK-Version": "0.1.8",
|
207
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
208
208
|
"X-Fern-Runtime": core.RUNTIME.type,
|
209
209
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
210
210
|
},
|
@@ -263,8 +263,8 @@ class Windows {
|
|
263
263
|
Authorization: yield this._getAuthorizationHeader(),
|
264
264
|
"X-Fern-Language": "JavaScript",
|
265
265
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
266
|
-
"X-Fern-SDK-Version": "0.1.
|
267
|
-
"User-Agent": "@airtop/sdk/0.1.
|
266
|
+
"X-Fern-SDK-Version": "0.1.8",
|
267
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
268
268
|
"X-Fern-Runtime": core.RUNTIME.type,
|
269
269
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
270
270
|
},
|
@@ -325,8 +325,8 @@ class Windows {
|
|
325
325
|
Authorization: yield this._getAuthorizationHeader(),
|
326
326
|
"X-Fern-Language": "JavaScript",
|
327
327
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
328
|
-
"X-Fern-SDK-Version": "0.1.
|
329
|
-
"User-Agent": "@airtop/sdk/0.1.
|
328
|
+
"X-Fern-SDK-Version": "0.1.8",
|
329
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
330
330
|
"X-Fern-Runtime": core.RUNTIME.type,
|
331
331
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
332
332
|
},
|
@@ -386,8 +386,8 @@ class Windows {
|
|
386
386
|
Authorization: yield this._getAuthorizationHeader(),
|
387
387
|
"X-Fern-Language": "JavaScript",
|
388
388
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
389
|
-
"X-Fern-SDK-Version": "0.1.
|
390
|
-
"User-Agent": "@airtop/sdk/0.1.
|
389
|
+
"X-Fern-SDK-Version": "0.1.8",
|
390
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
391
391
|
"X-Fern-Runtime": core.RUNTIME.type,
|
392
392
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
393
393
|
},
|
@@ -449,8 +449,8 @@ class Windows {
|
|
449
449
|
Authorization: yield this._getAuthorizationHeader(),
|
450
450
|
"X-Fern-Language": "JavaScript",
|
451
451
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
452
|
-
"X-Fern-SDK-Version": "0.1.
|
453
|
-
"User-Agent": "@airtop/sdk/0.1.
|
452
|
+
"X-Fern-SDK-Version": "0.1.8",
|
453
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
454
454
|
"X-Fern-Runtime": core.RUNTIME.type,
|
455
455
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
456
456
|
},
|
@@ -516,8 +516,8 @@ class Windows {
|
|
516
516
|
Authorization: yield this._getAuthorizationHeader(),
|
517
517
|
"X-Fern-Language": "JavaScript",
|
518
518
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
519
|
-
"X-Fern-SDK-Version": "0.1.
|
520
|
-
"User-Agent": "@airtop/sdk/0.1.
|
519
|
+
"X-Fern-SDK-Version": "0.1.8",
|
520
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
521
521
|
"X-Fern-Runtime": core.RUNTIME.type,
|
522
522
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
523
523
|
},
|
@@ -579,8 +579,8 @@ class Windows {
|
|
579
579
|
Authorization: yield this._getAuthorizationHeader(),
|
580
580
|
"X-Fern-Language": "JavaScript",
|
581
581
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
582
|
-
"X-Fern-SDK-Version": "0.1.
|
583
|
-
"User-Agent": "@airtop/sdk/0.1.
|
582
|
+
"X-Fern-SDK-Version": "0.1.8",
|
583
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
584
584
|
"X-Fern-Runtime": core.RUNTIME.type,
|
585
585
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
586
586
|
},
|
@@ -642,8 +642,8 @@ class Windows {
|
|
642
642
|
Authorization: yield this._getAuthorizationHeader(),
|
643
643
|
"X-Fern-Language": "JavaScript",
|
644
644
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
645
|
-
"X-Fern-SDK-Version": "0.1.
|
646
|
-
"User-Agent": "@airtop/sdk/0.1.
|
645
|
+
"X-Fern-SDK-Version": "0.1.8",
|
646
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
647
647
|
"X-Fern-Runtime": core.RUNTIME.type,
|
648
648
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
649
649
|
},
|
@@ -707,8 +707,8 @@ class Windows {
|
|
707
707
|
Authorization: yield this._getAuthorizationHeader(),
|
708
708
|
"X-Fern-Language": "JavaScript",
|
709
709
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
710
|
-
"X-Fern-SDK-Version": "0.1.
|
711
|
-
"User-Agent": "@airtop/sdk/0.1.
|
710
|
+
"X-Fern-SDK-Version": "0.1.8",
|
711
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
712
712
|
"X-Fern-Runtime": core.RUNTIME.type,
|
713
713
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
714
714
|
},
|
@@ -77,8 +77,8 @@ class Profiles {
|
|
77
77
|
Authorization: yield this._getAuthorizationHeader(),
|
78
78
|
"X-Fern-Language": "JavaScript",
|
79
79
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
80
|
-
"X-Fern-SDK-Version": "0.1.
|
81
|
-
"User-Agent": "@airtop/sdk/0.1.
|
80
|
+
"X-Fern-SDK-Version": "0.1.8",
|
81
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
82
82
|
"X-Fern-Runtime": core.RUNTIME.type,
|
83
83
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
84
84
|
},
|
@@ -148,8 +148,8 @@ class Profiles {
|
|
148
148
|
Authorization: yield this._getAuthorizationHeader(),
|
149
149
|
"X-Fern-Language": "JavaScript",
|
150
150
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
151
|
-
"X-Fern-SDK-Version": "0.1.
|
152
|
-
"User-Agent": "@airtop/sdk/0.1.
|
151
|
+
"X-Fern-SDK-Version": "0.1.8",
|
152
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
153
153
|
"X-Fern-Runtime": core.RUNTIME.type,
|
154
154
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
155
155
|
},
|
@@ -94,8 +94,8 @@ class Sessions {
|
|
94
94
|
Authorization: yield this._getAuthorizationHeader(),
|
95
95
|
"X-Fern-Language": "JavaScript",
|
96
96
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
97
|
-
"X-Fern-SDK-Version": "0.1.
|
98
|
-
"User-Agent": "@airtop/sdk/0.1.
|
97
|
+
"X-Fern-SDK-Version": "0.1.8",
|
98
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
99
99
|
"X-Fern-Runtime": core.RUNTIME.type,
|
100
100
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
101
101
|
},
|
@@ -180,8 +180,8 @@ class Sessions {
|
|
180
180
|
Authorization: yield this._getAuthorizationHeader(),
|
181
181
|
"X-Fern-Language": "JavaScript",
|
182
182
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
183
|
-
"X-Fern-SDK-Version": "0.1.
|
184
|
-
"User-Agent": "@airtop/sdk/0.1.
|
183
|
+
"X-Fern-SDK-Version": "0.1.8",
|
184
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
185
185
|
"X-Fern-Runtime": core.RUNTIME.type,
|
186
186
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
187
187
|
},
|
@@ -245,8 +245,8 @@ class Sessions {
|
|
245
245
|
Authorization: yield this._getAuthorizationHeader(),
|
246
246
|
"X-Fern-Language": "JavaScript",
|
247
247
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
248
|
-
"X-Fern-SDK-Version": "0.1.
|
249
|
-
"User-Agent": "@airtop/sdk/0.1.
|
248
|
+
"X-Fern-SDK-Version": "0.1.8",
|
249
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
250
250
|
"X-Fern-Runtime": core.RUNTIME.type,
|
251
251
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
252
252
|
},
|
@@ -332,8 +332,8 @@ class Sessions {
|
|
332
332
|
Authorization: yield this._getAuthorizationHeader(),
|
333
333
|
"X-Fern-Language": "JavaScript",
|
334
334
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
335
|
-
"X-Fern-SDK-Version": "0.1.
|
336
|
-
"User-Agent": "@airtop/sdk/0.1.
|
335
|
+
"X-Fern-SDK-Version": "0.1.8",
|
336
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
337
337
|
"X-Fern-Runtime": core.RUNTIME.type,
|
338
338
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
339
339
|
},
|
@@ -380,8 +380,8 @@ class Sessions {
|
|
380
380
|
Authorization: yield this._getAuthorizationHeader(),
|
381
381
|
"X-Fern-Language": "JavaScript",
|
382
382
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
383
|
-
"X-Fern-SDK-Version": "0.1.
|
384
|
-
"User-Agent": "@airtop/sdk/0.1.
|
383
|
+
"X-Fern-SDK-Version": "0.1.8",
|
384
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
385
385
|
"X-Fern-Runtime": core.RUNTIME.type,
|
386
386
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
387
387
|
},
|
@@ -66,8 +66,8 @@ class Windows {
|
|
66
66
|
Authorization: yield this._getAuthorizationHeader(),
|
67
67
|
"X-Fern-Language": "JavaScript",
|
68
68
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
69
|
-
"X-Fern-SDK-Version": "0.1.
|
70
|
-
"User-Agent": "@airtop/sdk/0.1.
|
69
|
+
"X-Fern-SDK-Version": "0.1.8",
|
70
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
71
71
|
"X-Fern-Runtime": core.RUNTIME.type,
|
72
72
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
73
73
|
},
|
@@ -140,8 +140,8 @@ class Windows {
|
|
140
140
|
Authorization: yield this._getAuthorizationHeader(),
|
141
141
|
"X-Fern-Language": "JavaScript",
|
142
142
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
143
|
-
"X-Fern-SDK-Version": "0.1.
|
144
|
-
"User-Agent": "@airtop/sdk/0.1.
|
143
|
+
"X-Fern-SDK-Version": "0.1.8",
|
144
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
145
145
|
"X-Fern-Runtime": core.RUNTIME.type,
|
146
146
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
147
147
|
},
|
@@ -203,8 +203,8 @@ class Windows {
|
|
203
203
|
Authorization: yield this._getAuthorizationHeader(),
|
204
204
|
"X-Fern-Language": "JavaScript",
|
205
205
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
206
|
-
"X-Fern-SDK-Version": "0.1.
|
207
|
-
"User-Agent": "@airtop/sdk/0.1.
|
206
|
+
"X-Fern-SDK-Version": "0.1.8",
|
207
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
208
208
|
"X-Fern-Runtime": core.RUNTIME.type,
|
209
209
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
210
210
|
},
|
@@ -263,8 +263,8 @@ class Windows {
|
|
263
263
|
Authorization: yield this._getAuthorizationHeader(),
|
264
264
|
"X-Fern-Language": "JavaScript",
|
265
265
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
266
|
-
"X-Fern-SDK-Version": "0.1.
|
267
|
-
"User-Agent": "@airtop/sdk/0.1.
|
266
|
+
"X-Fern-SDK-Version": "0.1.8",
|
267
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
268
268
|
"X-Fern-Runtime": core.RUNTIME.type,
|
269
269
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
270
270
|
},
|
@@ -325,8 +325,8 @@ class Windows {
|
|
325
325
|
Authorization: yield this._getAuthorizationHeader(),
|
326
326
|
"X-Fern-Language": "JavaScript",
|
327
327
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
328
|
-
"X-Fern-SDK-Version": "0.1.
|
329
|
-
"User-Agent": "@airtop/sdk/0.1.
|
328
|
+
"X-Fern-SDK-Version": "0.1.8",
|
329
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
330
330
|
"X-Fern-Runtime": core.RUNTIME.type,
|
331
331
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
332
332
|
},
|
@@ -386,8 +386,8 @@ class Windows {
|
|
386
386
|
Authorization: yield this._getAuthorizationHeader(),
|
387
387
|
"X-Fern-Language": "JavaScript",
|
388
388
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
389
|
-
"X-Fern-SDK-Version": "0.1.
|
390
|
-
"User-Agent": "@airtop/sdk/0.1.
|
389
|
+
"X-Fern-SDK-Version": "0.1.8",
|
390
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
391
391
|
"X-Fern-Runtime": core.RUNTIME.type,
|
392
392
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
393
393
|
},
|
@@ -449,8 +449,8 @@ class Windows {
|
|
449
449
|
Authorization: yield this._getAuthorizationHeader(),
|
450
450
|
"X-Fern-Language": "JavaScript",
|
451
451
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
452
|
-
"X-Fern-SDK-Version": "0.1.
|
453
|
-
"User-Agent": "@airtop/sdk/0.1.
|
452
|
+
"X-Fern-SDK-Version": "0.1.8",
|
453
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
454
454
|
"X-Fern-Runtime": core.RUNTIME.type,
|
455
455
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
456
456
|
},
|
@@ -516,8 +516,8 @@ class Windows {
|
|
516
516
|
Authorization: yield this._getAuthorizationHeader(),
|
517
517
|
"X-Fern-Language": "JavaScript",
|
518
518
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
519
|
-
"X-Fern-SDK-Version": "0.1.
|
520
|
-
"User-Agent": "@airtop/sdk/0.1.
|
519
|
+
"X-Fern-SDK-Version": "0.1.8",
|
520
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
521
521
|
"X-Fern-Runtime": core.RUNTIME.type,
|
522
522
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
523
523
|
},
|
@@ -579,8 +579,8 @@ class Windows {
|
|
579
579
|
Authorization: yield this._getAuthorizationHeader(),
|
580
580
|
"X-Fern-Language": "JavaScript",
|
581
581
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
582
|
-
"X-Fern-SDK-Version": "0.1.
|
583
|
-
"User-Agent": "@airtop/sdk/0.1.
|
582
|
+
"X-Fern-SDK-Version": "0.1.8",
|
583
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
584
584
|
"X-Fern-Runtime": core.RUNTIME.type,
|
585
585
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
586
586
|
},
|
@@ -642,8 +642,8 @@ class Windows {
|
|
642
642
|
Authorization: yield this._getAuthorizationHeader(),
|
643
643
|
"X-Fern-Language": "JavaScript",
|
644
644
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
645
|
-
"X-Fern-SDK-Version": "0.1.
|
646
|
-
"User-Agent": "@airtop/sdk/0.1.
|
645
|
+
"X-Fern-SDK-Version": "0.1.8",
|
646
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
647
647
|
"X-Fern-Runtime": core.RUNTIME.type,
|
648
648
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
649
649
|
},
|
@@ -707,8 +707,8 @@ class Windows {
|
|
707
707
|
Authorization: yield this._getAuthorizationHeader(),
|
708
708
|
"X-Fern-Language": "JavaScript",
|
709
709
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
710
|
-
"X-Fern-SDK-Version": "0.1.
|
711
|
-
"User-Agent": "@airtop/sdk/0.1.
|
710
|
+
"X-Fern-SDK-Version": "0.1.8",
|
711
|
+
"User-Agent": "@airtop/sdk/0.1.8",
|
712
712
|
"X-Fern-Runtime": core.RUNTIME.type,
|
713
713
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
714
714
|
},
|
@@ -80,6 +80,40 @@ export declare class AirtopWindows extends WindowsClass {
|
|
80
80
|
}, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
|
81
81
|
getWindowInfoForPuppeteerPage(session: Airtop.ExternalSessionWithConnectionInfo, page: puppeteer.Page, request?: Airtop.GetWindowInfoRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowResponse>;
|
82
82
|
getWindowInfoForPlaywrightPage(session: Airtop.ExternalSessionWithConnectionInfo, page: playwright.Page, request?: Airtop.GetWindowInfoRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowResponse>;
|
83
|
+
/**
|
84
|
+
* @param {string} sessionId - The session id for the window.
|
85
|
+
* @param {string} windowId - The Airtop window id of the browser window.
|
86
|
+
* @param {Airtop.SessionClickHandlerRequestBody} request
|
87
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
88
|
+
*
|
89
|
+
* @example
|
90
|
+
* await client.windows.click("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
|
91
|
+
* elementDescription: "The login button"
|
92
|
+
* })
|
93
|
+
*/
|
94
|
+
click(sessionId: string, windowId: string, request: Airtop.SessionClickHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
|
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.SessionHoverHandlerRequestBody} request
|
99
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
100
|
+
*
|
101
|
+
* @example
|
102
|
+
* await client.windows.hover("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
|
103
|
+
*/
|
104
|
+
hover(sessionId: string, windowId: string, request?: Airtop.SessionHoverHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
|
105
|
+
/**
|
106
|
+
* @param {string} sessionId - The session id for the window.
|
107
|
+
* @param {string} windowId - The Airtop window id of the browser window.
|
108
|
+
* @param {Airtop.SessionTypeHandlerRequestBody} request
|
109
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
110
|
+
*
|
111
|
+
* @example
|
112
|
+
* await client.windows.type("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
|
113
|
+
* text: "Example text"
|
114
|
+
* })
|
115
|
+
*/
|
116
|
+
type(sessionId: string, windowId: string, request: Airtop.SessionTypeHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
|
83
117
|
private executeSeleniumCDPCommand;
|
84
118
|
getWindowInfoForSeleniumDriver(session: Airtop.ExternalSessionWithConnectionInfo, driver: seleniumWebdriver.WebDriver, request?: Airtop.GetWindowInfoRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowResponse>;
|
85
119
|
}
|
@@ -135,6 +135,61 @@ class AirtopWindows extends Client_1.Windows {
|
|
135
135
|
return yield this.getWindowInfo(session.id, targetId, request, requestOptions);
|
136
136
|
});
|
137
137
|
}
|
138
|
+
/**
|
139
|
+
* @param {string} sessionId - The session id for the window.
|
140
|
+
* @param {string} windowId - The Airtop window id of the browser window.
|
141
|
+
* @param {Airtop.SessionClickHandlerRequestBody} request
|
142
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
143
|
+
*
|
144
|
+
* @example
|
145
|
+
* await client.windows.click("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
|
146
|
+
* elementDescription: "The login button"
|
147
|
+
* })
|
148
|
+
*/
|
149
|
+
click(sessionId, windowId, request, requestOptions) {
|
150
|
+
const _super = Object.create(null, {
|
151
|
+
click: { get: () => super.click }
|
152
|
+
});
|
153
|
+
return __awaiter(this, void 0, void 0, function* () {
|
154
|
+
return _super.click.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
|
155
|
+
});
|
156
|
+
}
|
157
|
+
/**
|
158
|
+
* @param {string} sessionId - The session id for the window.
|
159
|
+
* @param {string} windowId - The Airtop window id of the browser window.
|
160
|
+
* @param {Airtop.SessionHoverHandlerRequestBody} request
|
161
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
162
|
+
*
|
163
|
+
* @example
|
164
|
+
* await client.windows.hover("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
|
165
|
+
*/
|
166
|
+
hover(sessionId, windowId, request = {}, requestOptions) {
|
167
|
+
const _super = Object.create(null, {
|
168
|
+
hover: { get: () => super.hover }
|
169
|
+
});
|
170
|
+
return __awaiter(this, void 0, void 0, function* () {
|
171
|
+
return _super.hover.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
|
172
|
+
});
|
173
|
+
}
|
174
|
+
/**
|
175
|
+
* @param {string} sessionId - The session id for the window.
|
176
|
+
* @param {string} windowId - The Airtop window id of the browser window.
|
177
|
+
* @param {Airtop.SessionTypeHandlerRequestBody} request
|
178
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
179
|
+
*
|
180
|
+
* @example
|
181
|
+
* await client.windows.type("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
|
182
|
+
* text: "Example text"
|
183
|
+
* })
|
184
|
+
*/
|
185
|
+
type(sessionId, windowId, request, requestOptions) {
|
186
|
+
const _super = Object.create(null, {
|
187
|
+
type: { get: () => super.type }
|
188
|
+
});
|
189
|
+
return __awaiter(this, void 0, void 0, function* () {
|
190
|
+
return _super.type.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
|
191
|
+
});
|
192
|
+
}
|
138
193
|
executeSeleniumCDPCommand(driver, session, apiKey) {
|
139
194
|
return __awaiter(this, void 0, void 0, function* () {
|
140
195
|
// Get the current WebDriver session ID
|
package/package.json
CHANGED
@@ -80,6 +80,40 @@ export declare class AirtopWindows extends WindowsClass {
|
|
80
80
|
}, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
|
81
81
|
getWindowInfoForPuppeteerPage(session: Airtop.ExternalSessionWithConnectionInfo, page: puppeteer.Page, request?: Airtop.GetWindowInfoRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowResponse>;
|
82
82
|
getWindowInfoForPlaywrightPage(session: Airtop.ExternalSessionWithConnectionInfo, page: playwright.Page, request?: Airtop.GetWindowInfoRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowResponse>;
|
83
|
+
/**
|
84
|
+
* @param {string} sessionId - The session id for the window.
|
85
|
+
* @param {string} windowId - The Airtop window id of the browser window.
|
86
|
+
* @param {Airtop.SessionClickHandlerRequestBody} request
|
87
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
88
|
+
*
|
89
|
+
* @example
|
90
|
+
* await client.windows.click("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
|
91
|
+
* elementDescription: "The login button"
|
92
|
+
* })
|
93
|
+
*/
|
94
|
+
click(sessionId: string, windowId: string, request: Airtop.SessionClickHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
|
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.SessionHoverHandlerRequestBody} request
|
99
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
100
|
+
*
|
101
|
+
* @example
|
102
|
+
* await client.windows.hover("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
|
103
|
+
*/
|
104
|
+
hover(sessionId: string, windowId: string, request?: Airtop.SessionHoverHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
|
105
|
+
/**
|
106
|
+
* @param {string} sessionId - The session id for the window.
|
107
|
+
* @param {string} windowId - The Airtop window id of the browser window.
|
108
|
+
* @param {Airtop.SessionTypeHandlerRequestBody} request
|
109
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
110
|
+
*
|
111
|
+
* @example
|
112
|
+
* await client.windows.type("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
|
113
|
+
* text: "Example text"
|
114
|
+
* })
|
115
|
+
*/
|
116
|
+
type(sessionId: string, windowId: string, request: Airtop.SessionTypeHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
|
83
117
|
private executeSeleniumCDPCommand;
|
84
118
|
getWindowInfoForSeleniumDriver(session: Airtop.ExternalSessionWithConnectionInfo, driver: seleniumWebdriver.WebDriver, request?: Airtop.GetWindowInfoRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowResponse>;
|
85
119
|
}
|
package/wrapper/AirtopWindows.js
CHANGED
@@ -135,6 +135,61 @@ class AirtopWindows extends Client_1.Windows {
|
|
135
135
|
return yield this.getWindowInfo(session.id, targetId, request, requestOptions);
|
136
136
|
});
|
137
137
|
}
|
138
|
+
/**
|
139
|
+
* @param {string} sessionId - The session id for the window.
|
140
|
+
* @param {string} windowId - The Airtop window id of the browser window.
|
141
|
+
* @param {Airtop.SessionClickHandlerRequestBody} request
|
142
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
143
|
+
*
|
144
|
+
* @example
|
145
|
+
* await client.windows.click("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
|
146
|
+
* elementDescription: "The login button"
|
147
|
+
* })
|
148
|
+
*/
|
149
|
+
click(sessionId, windowId, request, requestOptions) {
|
150
|
+
const _super = Object.create(null, {
|
151
|
+
click: { get: () => super.click }
|
152
|
+
});
|
153
|
+
return __awaiter(this, void 0, void 0, function* () {
|
154
|
+
return _super.click.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
|
155
|
+
});
|
156
|
+
}
|
157
|
+
/**
|
158
|
+
* @param {string} sessionId - The session id for the window.
|
159
|
+
* @param {string} windowId - The Airtop window id of the browser window.
|
160
|
+
* @param {Airtop.SessionHoverHandlerRequestBody} request
|
161
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
162
|
+
*
|
163
|
+
* @example
|
164
|
+
* await client.windows.hover("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
|
165
|
+
*/
|
166
|
+
hover(sessionId, windowId, request = {}, requestOptions) {
|
167
|
+
const _super = Object.create(null, {
|
168
|
+
hover: { get: () => super.hover }
|
169
|
+
});
|
170
|
+
return __awaiter(this, void 0, void 0, function* () {
|
171
|
+
return _super.hover.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
|
172
|
+
});
|
173
|
+
}
|
174
|
+
/**
|
175
|
+
* @param {string} sessionId - The session id for the window.
|
176
|
+
* @param {string} windowId - The Airtop window id of the browser window.
|
177
|
+
* @param {Airtop.SessionTypeHandlerRequestBody} request
|
178
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
179
|
+
*
|
180
|
+
* @example
|
181
|
+
* await client.windows.type("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430", {
|
182
|
+
* text: "Example text"
|
183
|
+
* })
|
184
|
+
*/
|
185
|
+
type(sessionId, windowId, request, requestOptions) {
|
186
|
+
const _super = Object.create(null, {
|
187
|
+
type: { get: () => super.type }
|
188
|
+
});
|
189
|
+
return __awaiter(this, void 0, void 0, function* () {
|
190
|
+
return _super.type.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
|
191
|
+
});
|
192
|
+
}
|
138
193
|
executeSeleniumCDPCommand(driver, session, apiKey) {
|
139
194
|
return __awaiter(this, void 0, void 0, function* () {
|
140
195
|
// Get the current WebDriver session ID
|