@airtop/sdk 0.1.27 → 0.1.29

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 (25) hide show
  1. package/api/resources/profiles/client/Client.js +2 -2
  2. package/api/resources/sessions/client/Client.js +14 -14
  3. package/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
  4. package/api/resources/sessions/types/index.d.ts +1 -1
  5. package/api/resources/sessions/types/index.js +1 -1
  6. package/api/resources/windows/client/Client.js +28 -28
  7. package/dist/api/resources/profiles/client/Client.js +2 -2
  8. package/dist/api/resources/sessions/client/Client.js +14 -14
  9. package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
  10. package/dist/api/resources/sessions/types/index.d.ts +1 -1
  11. package/dist/api/resources/sessions/types/index.js +1 -1
  12. package/dist/api/resources/windows/client/Client.js +28 -28
  13. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
  14. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
  15. package/dist/serialization/resources/sessions/types/index.d.ts +1 -1
  16. package/dist/serialization/resources/sessions/types/index.js +1 -1
  17. package/dist/wrapper/AirtopWindows.d.ts +15 -3
  18. package/dist/wrapper/AirtopWindows.js +19 -0
  19. package/package.json +1 -1
  20. package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
  21. package/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
  22. package/serialization/resources/sessions/types/index.d.ts +1 -1
  23. package/serialization/resources/sessions/types/index.js +1 -1
  24. package/wrapper/AirtopWindows.d.ts +15 -3
  25. package/wrapper/AirtopWindows.js +19 -0
@@ -84,8 +84,8 @@ class Profiles {
84
84
  Authorization: yield this._getAuthorizationHeader(),
85
85
  "X-Fern-Language": "JavaScript",
86
86
  "X-Fern-SDK-Name": "@airtop/sdk",
87
- "X-Fern-SDK-Version": "0.1.27",
88
- "User-Agent": "@airtop/sdk/0.1.27",
87
+ "X-Fern-SDK-Version": "0.1.29",
88
+ "User-Agent": "@airtop/sdk/0.1.29",
89
89
  "X-Fern-Runtime": core.RUNTIME.type,
90
90
  "X-Fern-Runtime-Version": core.RUNTIME.version,
91
91
  },
@@ -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.27",
98
- "User-Agent": "@airtop/sdk/0.1.27",
97
+ "X-Fern-SDK-Version": "0.1.29",
98
+ "User-Agent": "@airtop/sdk/0.1.29",
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.27",
184
- "User-Agent": "@airtop/sdk/0.1.27",
183
+ "X-Fern-SDK-Version": "0.1.29",
184
+ "User-Agent": "@airtop/sdk/0.1.29",
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.27",
249
- "User-Agent": "@airtop/sdk/0.1.27",
248
+ "X-Fern-SDK-Version": "0.1.29",
249
+ "User-Agent": "@airtop/sdk/0.1.29",
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.27",
336
- "User-Agent": "@airtop/sdk/0.1.27",
335
+ "X-Fern-SDK-Version": "0.1.29",
336
+ "User-Agent": "@airtop/sdk/0.1.29",
337
337
  "X-Fern-Runtime": core.RUNTIME.type,
338
338
  "X-Fern-Runtime-Version": core.RUNTIME.version,
339
339
  },
@@ -388,8 +388,8 @@ class Sessions {
388
388
  Authorization: yield this._getAuthorizationHeader(),
389
389
  "X-Fern-Language": "JavaScript",
390
390
  "X-Fern-SDK-Name": "@airtop/sdk",
391
- "X-Fern-SDK-Version": "0.1.27",
392
- "User-Agent": "@airtop/sdk/0.1.27",
391
+ "X-Fern-SDK-Version": "0.1.29",
392
+ "User-Agent": "@airtop/sdk/0.1.29",
393
393
  "X-Fern-Runtime": core.RUNTIME.type,
394
394
  "X-Fern-Runtime-Version": core.RUNTIME.version,
395
395
  },
@@ -486,8 +486,8 @@ class Sessions {
486
486
  Authorization: yield this._getAuthorizationHeader(),
487
487
  "X-Fern-Language": "JavaScript",
488
488
  "X-Fern-SDK-Name": "@airtop/sdk",
489
- "X-Fern-SDK-Version": "0.1.27",
490
- "User-Agent": "@airtop/sdk/0.1.27",
489
+ "X-Fern-SDK-Version": "0.1.29",
490
+ "User-Agent": "@airtop/sdk/0.1.29",
491
491
  "X-Fern-Runtime": core.RUNTIME.type,
492
492
  "X-Fern-Runtime-Version": core.RUNTIME.version,
493
493
  },
@@ -539,8 +539,8 @@ class Sessions {
539
539
  Authorization: yield this._getAuthorizationHeader(),
540
540
  "X-Fern-Language": "JavaScript",
541
541
  "X-Fern-SDK-Name": "@airtop/sdk",
542
- "X-Fern-SDK-Version": "0.1.27",
543
- "User-Agent": "@airtop/sdk/0.1.27",
542
+ "X-Fern-SDK-Version": "0.1.29",
543
+ "User-Agent": "@airtop/sdk/0.1.29",
544
544
  "X-Fern-Runtime": core.RUNTIME.type,
545
545
  "X-Fern-Runtime-Version": core.RUNTIME.version,
546
546
  },
@@ -5,8 +5,11 @@ import * as Airtop from "../../../index";
5
5
  /**
6
6
  * Each oneOf object in the array represents one possible Server Sent Events (SSE) message, serialized as UTF-8 text according to the SSE specification.
7
7
  */
8
- export declare type SessionsEventsResponse = Airtop.SessionsEventsResponse.Error_ | Airtop.SessionsEventsResponse.WindowEvent | Airtop.SessionsEventsResponse.SessionEvent | Airtop.SessionsEventsResponse.Status;
8
+ export declare type SessionsEventsResponse = Airtop.SessionsEventsResponse.Status | Airtop.SessionsEventsResponse.Error_ | Airtop.SessionsEventsResponse.WindowEvent | Airtop.SessionsEventsResponse.SessionEvent;
9
9
  export declare namespace SessionsEventsResponse {
10
+ interface Status extends Airtop.SessionsEventsResponseStatus {
11
+ event: "status";
12
+ }
10
13
  interface Error_ extends Airtop.SessionsEventsResponseError {
11
14
  event: "error";
12
15
  }
@@ -16,7 +19,4 @@ export declare namespace SessionsEventsResponse {
16
19
  interface SessionEvent extends Airtop.SessionsEventsResponseSessionEvent {
17
20
  event: "sessionEvent";
18
21
  }
19
- interface Status extends Airtop.SessionsEventsResponseStatus {
20
- event: "status";
21
- }
22
22
  }
@@ -1,6 +1,6 @@
1
1
  export * from "./SessionsListRequestStatus";
2
+ export * from "./SessionsEventsResponseStatus";
2
3
  export * from "./SessionsEventsResponseError";
3
4
  export * from "./SessionsEventsResponseWindowEvent";
4
5
  export * from "./SessionsEventsResponseSessionEvent";
5
- export * from "./SessionsEventsResponseStatus";
6
6
  export * from "./SessionsEventsResponse";
@@ -15,8 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./SessionsListRequestStatus"), exports);
18
+ __exportStar(require("./SessionsEventsResponseStatus"), exports);
18
19
  __exportStar(require("./SessionsEventsResponseError"), exports);
19
20
  __exportStar(require("./SessionsEventsResponseWindowEvent"), exports);
20
21
  __exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
21
- __exportStar(require("./SessionsEventsResponseStatus"), exports);
22
22
  __exportStar(require("./SessionsEventsResponse"), exports);
@@ -68,8 +68,8 @@ class Windows {
68
68
  Authorization: yield this._getAuthorizationHeader(),
69
69
  "X-Fern-Language": "JavaScript",
70
70
  "X-Fern-SDK-Name": "@airtop/sdk",
71
- "X-Fern-SDK-Version": "0.1.27",
72
- "User-Agent": "@airtop/sdk/0.1.27",
71
+ "X-Fern-SDK-Version": "0.1.29",
72
+ "User-Agent": "@airtop/sdk/0.1.29",
73
73
  "X-Fern-Runtime": core.RUNTIME.type,
74
74
  "X-Fern-Runtime-Version": core.RUNTIME.version,
75
75
  },
@@ -144,8 +144,8 @@ class Windows {
144
144
  Authorization: yield this._getAuthorizationHeader(),
145
145
  "X-Fern-Language": "JavaScript",
146
146
  "X-Fern-SDK-Name": "@airtop/sdk",
147
- "X-Fern-SDK-Version": "0.1.27",
148
- "User-Agent": "@airtop/sdk/0.1.27",
147
+ "X-Fern-SDK-Version": "0.1.29",
148
+ "User-Agent": "@airtop/sdk/0.1.29",
149
149
  "X-Fern-Runtime": core.RUNTIME.type,
150
150
  "X-Fern-Runtime-Version": core.RUNTIME.version,
151
151
  },
@@ -209,8 +209,8 @@ class Windows {
209
209
  Authorization: yield this._getAuthorizationHeader(),
210
210
  "X-Fern-Language": "JavaScript",
211
211
  "X-Fern-SDK-Name": "@airtop/sdk",
212
- "X-Fern-SDK-Version": "0.1.27",
213
- "User-Agent": "@airtop/sdk/0.1.27",
212
+ "X-Fern-SDK-Version": "0.1.29",
213
+ "User-Agent": "@airtop/sdk/0.1.29",
214
214
  "X-Fern-Runtime": core.RUNTIME.type,
215
215
  "X-Fern-Runtime-Version": core.RUNTIME.version,
216
216
  },
@@ -271,8 +271,8 @@ class Windows {
271
271
  Authorization: yield this._getAuthorizationHeader(),
272
272
  "X-Fern-Language": "JavaScript",
273
273
  "X-Fern-SDK-Name": "@airtop/sdk",
274
- "X-Fern-SDK-Version": "0.1.27",
275
- "User-Agent": "@airtop/sdk/0.1.27",
274
+ "X-Fern-SDK-Version": "0.1.29",
275
+ "User-Agent": "@airtop/sdk/0.1.29",
276
276
  "X-Fern-Runtime": core.RUNTIME.type,
277
277
  "X-Fern-Runtime-Version": core.RUNTIME.version,
278
278
  },
@@ -335,8 +335,8 @@ class Windows {
335
335
  Authorization: yield this._getAuthorizationHeader(),
336
336
  "X-Fern-Language": "JavaScript",
337
337
  "X-Fern-SDK-Name": "@airtop/sdk",
338
- "X-Fern-SDK-Version": "0.1.27",
339
- "User-Agent": "@airtop/sdk/0.1.27",
338
+ "X-Fern-SDK-Version": "0.1.29",
339
+ "User-Agent": "@airtop/sdk/0.1.29",
340
340
  "X-Fern-Runtime": core.RUNTIME.type,
341
341
  "X-Fern-Runtime-Version": core.RUNTIME.version,
342
342
  },
@@ -400,8 +400,8 @@ class Windows {
400
400
  Authorization: yield this._getAuthorizationHeader(),
401
401
  "X-Fern-Language": "JavaScript",
402
402
  "X-Fern-SDK-Name": "@airtop/sdk",
403
- "X-Fern-SDK-Version": "0.1.27",
404
- "User-Agent": "@airtop/sdk/0.1.27",
403
+ "X-Fern-SDK-Version": "0.1.29",
404
+ "User-Agent": "@airtop/sdk/0.1.29",
405
405
  "X-Fern-Runtime": core.RUNTIME.type,
406
406
  "X-Fern-Runtime-Version": core.RUNTIME.version,
407
407
  },
@@ -465,8 +465,8 @@ class Windows {
465
465
  Authorization: yield this._getAuthorizationHeader(),
466
466
  "X-Fern-Language": "JavaScript",
467
467
  "X-Fern-SDK-Name": "@airtop/sdk",
468
- "X-Fern-SDK-Version": "0.1.27",
469
- "User-Agent": "@airtop/sdk/0.1.27",
468
+ "X-Fern-SDK-Version": "0.1.29",
469
+ "User-Agent": "@airtop/sdk/0.1.29",
470
470
  "X-Fern-Runtime": core.RUNTIME.type,
471
471
  "X-Fern-Runtime-Version": core.RUNTIME.version,
472
472
  },
@@ -532,8 +532,8 @@ class Windows {
532
532
  Authorization: yield this._getAuthorizationHeader(),
533
533
  "X-Fern-Language": "JavaScript",
534
534
  "X-Fern-SDK-Name": "@airtop/sdk",
535
- "X-Fern-SDK-Version": "0.1.27",
536
- "User-Agent": "@airtop/sdk/0.1.27",
535
+ "X-Fern-SDK-Version": "0.1.29",
536
+ "User-Agent": "@airtop/sdk/0.1.29",
537
537
  "X-Fern-Runtime": core.RUNTIME.type,
538
538
  "X-Fern-Runtime-Version": core.RUNTIME.version,
539
539
  },
@@ -599,8 +599,8 @@ class Windows {
599
599
  Authorization: yield this._getAuthorizationHeader(),
600
600
  "X-Fern-Language": "JavaScript",
601
601
  "X-Fern-SDK-Name": "@airtop/sdk",
602
- "X-Fern-SDK-Version": "0.1.27",
603
- "User-Agent": "@airtop/sdk/0.1.27",
602
+ "X-Fern-SDK-Version": "0.1.29",
603
+ "User-Agent": "@airtop/sdk/0.1.29",
604
604
  "X-Fern-Runtime": core.RUNTIME.type,
605
605
  "X-Fern-Runtime-Version": core.RUNTIME.version,
606
606
  },
@@ -664,8 +664,8 @@ class Windows {
664
664
  Authorization: yield this._getAuthorizationHeader(),
665
665
  "X-Fern-Language": "JavaScript",
666
666
  "X-Fern-SDK-Name": "@airtop/sdk",
667
- "X-Fern-SDK-Version": "0.1.27",
668
- "User-Agent": "@airtop/sdk/0.1.27",
667
+ "X-Fern-SDK-Version": "0.1.29",
668
+ "User-Agent": "@airtop/sdk/0.1.29",
669
669
  "X-Fern-Runtime": core.RUNTIME.type,
670
670
  "X-Fern-Runtime-Version": core.RUNTIME.version,
671
671
  },
@@ -727,8 +727,8 @@ class Windows {
727
727
  Authorization: yield this._getAuthorizationHeader(),
728
728
  "X-Fern-Language": "JavaScript",
729
729
  "X-Fern-SDK-Name": "@airtop/sdk",
730
- "X-Fern-SDK-Version": "0.1.27",
731
- "User-Agent": "@airtop/sdk/0.1.27",
730
+ "X-Fern-SDK-Version": "0.1.29",
731
+ "User-Agent": "@airtop/sdk/0.1.29",
732
732
  "X-Fern-Runtime": core.RUNTIME.type,
733
733
  "X-Fern-Runtime-Version": core.RUNTIME.version,
734
734
  },
@@ -792,8 +792,8 @@ class Windows {
792
792
  Authorization: yield this._getAuthorizationHeader(),
793
793
  "X-Fern-Language": "JavaScript",
794
794
  "X-Fern-SDK-Name": "@airtop/sdk",
795
- "X-Fern-SDK-Version": "0.1.27",
796
- "User-Agent": "@airtop/sdk/0.1.27",
795
+ "X-Fern-SDK-Version": "0.1.29",
796
+ "User-Agent": "@airtop/sdk/0.1.29",
797
797
  "X-Fern-Runtime": core.RUNTIME.type,
798
798
  "X-Fern-Runtime-Version": core.RUNTIME.version,
799
799
  },
@@ -855,8 +855,8 @@ class Windows {
855
855
  Authorization: yield this._getAuthorizationHeader(),
856
856
  "X-Fern-Language": "JavaScript",
857
857
  "X-Fern-SDK-Name": "@airtop/sdk",
858
- "X-Fern-SDK-Version": "0.1.27",
859
- "User-Agent": "@airtop/sdk/0.1.27",
858
+ "X-Fern-SDK-Version": "0.1.29",
859
+ "User-Agent": "@airtop/sdk/0.1.29",
860
860
  "X-Fern-Runtime": core.RUNTIME.type,
861
861
  "X-Fern-Runtime-Version": core.RUNTIME.version,
862
862
  },
@@ -922,8 +922,8 @@ class Windows {
922
922
  Authorization: yield this._getAuthorizationHeader(),
923
923
  "X-Fern-Language": "JavaScript",
924
924
  "X-Fern-SDK-Name": "@airtop/sdk",
925
- "X-Fern-SDK-Version": "0.1.27",
926
- "User-Agent": "@airtop/sdk/0.1.27",
925
+ "X-Fern-SDK-Version": "0.1.29",
926
+ "User-Agent": "@airtop/sdk/0.1.29",
927
927
  "X-Fern-Runtime": core.RUNTIME.type,
928
928
  "X-Fern-Runtime-Version": core.RUNTIME.version,
929
929
  },
@@ -84,8 +84,8 @@ class Profiles {
84
84
  Authorization: yield this._getAuthorizationHeader(),
85
85
  "X-Fern-Language": "JavaScript",
86
86
  "X-Fern-SDK-Name": "@airtop/sdk",
87
- "X-Fern-SDK-Version": "0.1.27",
88
- "User-Agent": "@airtop/sdk/0.1.27",
87
+ "X-Fern-SDK-Version": "0.1.29",
88
+ "User-Agent": "@airtop/sdk/0.1.29",
89
89
  "X-Fern-Runtime": core.RUNTIME.type,
90
90
  "X-Fern-Runtime-Version": core.RUNTIME.version,
91
91
  },
@@ -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.27",
98
- "User-Agent": "@airtop/sdk/0.1.27",
97
+ "X-Fern-SDK-Version": "0.1.29",
98
+ "User-Agent": "@airtop/sdk/0.1.29",
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.27",
184
- "User-Agent": "@airtop/sdk/0.1.27",
183
+ "X-Fern-SDK-Version": "0.1.29",
184
+ "User-Agent": "@airtop/sdk/0.1.29",
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.27",
249
- "User-Agent": "@airtop/sdk/0.1.27",
248
+ "X-Fern-SDK-Version": "0.1.29",
249
+ "User-Agent": "@airtop/sdk/0.1.29",
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.27",
336
- "User-Agent": "@airtop/sdk/0.1.27",
335
+ "X-Fern-SDK-Version": "0.1.29",
336
+ "User-Agent": "@airtop/sdk/0.1.29",
337
337
  "X-Fern-Runtime": core.RUNTIME.type,
338
338
  "X-Fern-Runtime-Version": core.RUNTIME.version,
339
339
  },
@@ -388,8 +388,8 @@ class Sessions {
388
388
  Authorization: yield this._getAuthorizationHeader(),
389
389
  "X-Fern-Language": "JavaScript",
390
390
  "X-Fern-SDK-Name": "@airtop/sdk",
391
- "X-Fern-SDK-Version": "0.1.27",
392
- "User-Agent": "@airtop/sdk/0.1.27",
391
+ "X-Fern-SDK-Version": "0.1.29",
392
+ "User-Agent": "@airtop/sdk/0.1.29",
393
393
  "X-Fern-Runtime": core.RUNTIME.type,
394
394
  "X-Fern-Runtime-Version": core.RUNTIME.version,
395
395
  },
@@ -486,8 +486,8 @@ class Sessions {
486
486
  Authorization: yield this._getAuthorizationHeader(),
487
487
  "X-Fern-Language": "JavaScript",
488
488
  "X-Fern-SDK-Name": "@airtop/sdk",
489
- "X-Fern-SDK-Version": "0.1.27",
490
- "User-Agent": "@airtop/sdk/0.1.27",
489
+ "X-Fern-SDK-Version": "0.1.29",
490
+ "User-Agent": "@airtop/sdk/0.1.29",
491
491
  "X-Fern-Runtime": core.RUNTIME.type,
492
492
  "X-Fern-Runtime-Version": core.RUNTIME.version,
493
493
  },
@@ -539,8 +539,8 @@ class Sessions {
539
539
  Authorization: yield this._getAuthorizationHeader(),
540
540
  "X-Fern-Language": "JavaScript",
541
541
  "X-Fern-SDK-Name": "@airtop/sdk",
542
- "X-Fern-SDK-Version": "0.1.27",
543
- "User-Agent": "@airtop/sdk/0.1.27",
542
+ "X-Fern-SDK-Version": "0.1.29",
543
+ "User-Agent": "@airtop/sdk/0.1.29",
544
544
  "X-Fern-Runtime": core.RUNTIME.type,
545
545
  "X-Fern-Runtime-Version": core.RUNTIME.version,
546
546
  },
@@ -5,8 +5,11 @@ import * as Airtop from "../../../index";
5
5
  /**
6
6
  * Each oneOf object in the array represents one possible Server Sent Events (SSE) message, serialized as UTF-8 text according to the SSE specification.
7
7
  */
8
- export declare type SessionsEventsResponse = Airtop.SessionsEventsResponse.Error_ | Airtop.SessionsEventsResponse.WindowEvent | Airtop.SessionsEventsResponse.SessionEvent | Airtop.SessionsEventsResponse.Status;
8
+ export declare type SessionsEventsResponse = Airtop.SessionsEventsResponse.Status | Airtop.SessionsEventsResponse.Error_ | Airtop.SessionsEventsResponse.WindowEvent | Airtop.SessionsEventsResponse.SessionEvent;
9
9
  export declare namespace SessionsEventsResponse {
10
+ interface Status extends Airtop.SessionsEventsResponseStatus {
11
+ event: "status";
12
+ }
10
13
  interface Error_ extends Airtop.SessionsEventsResponseError {
11
14
  event: "error";
12
15
  }
@@ -16,7 +19,4 @@ export declare namespace SessionsEventsResponse {
16
19
  interface SessionEvent extends Airtop.SessionsEventsResponseSessionEvent {
17
20
  event: "sessionEvent";
18
21
  }
19
- interface Status extends Airtop.SessionsEventsResponseStatus {
20
- event: "status";
21
- }
22
22
  }
@@ -1,6 +1,6 @@
1
1
  export * from "./SessionsListRequestStatus";
2
+ export * from "./SessionsEventsResponseStatus";
2
3
  export * from "./SessionsEventsResponseError";
3
4
  export * from "./SessionsEventsResponseWindowEvent";
4
5
  export * from "./SessionsEventsResponseSessionEvent";
5
- export * from "./SessionsEventsResponseStatus";
6
6
  export * from "./SessionsEventsResponse";
@@ -15,8 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./SessionsListRequestStatus"), exports);
18
+ __exportStar(require("./SessionsEventsResponseStatus"), exports);
18
19
  __exportStar(require("./SessionsEventsResponseError"), exports);
19
20
  __exportStar(require("./SessionsEventsResponseWindowEvent"), exports);
20
21
  __exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
21
- __exportStar(require("./SessionsEventsResponseStatus"), exports);
22
22
  __exportStar(require("./SessionsEventsResponse"), exports);
@@ -68,8 +68,8 @@ class Windows {
68
68
  Authorization: yield this._getAuthorizationHeader(),
69
69
  "X-Fern-Language": "JavaScript",
70
70
  "X-Fern-SDK-Name": "@airtop/sdk",
71
- "X-Fern-SDK-Version": "0.1.27",
72
- "User-Agent": "@airtop/sdk/0.1.27",
71
+ "X-Fern-SDK-Version": "0.1.29",
72
+ "User-Agent": "@airtop/sdk/0.1.29",
73
73
  "X-Fern-Runtime": core.RUNTIME.type,
74
74
  "X-Fern-Runtime-Version": core.RUNTIME.version,
75
75
  },
@@ -144,8 +144,8 @@ class Windows {
144
144
  Authorization: yield this._getAuthorizationHeader(),
145
145
  "X-Fern-Language": "JavaScript",
146
146
  "X-Fern-SDK-Name": "@airtop/sdk",
147
- "X-Fern-SDK-Version": "0.1.27",
148
- "User-Agent": "@airtop/sdk/0.1.27",
147
+ "X-Fern-SDK-Version": "0.1.29",
148
+ "User-Agent": "@airtop/sdk/0.1.29",
149
149
  "X-Fern-Runtime": core.RUNTIME.type,
150
150
  "X-Fern-Runtime-Version": core.RUNTIME.version,
151
151
  },
@@ -209,8 +209,8 @@ class Windows {
209
209
  Authorization: yield this._getAuthorizationHeader(),
210
210
  "X-Fern-Language": "JavaScript",
211
211
  "X-Fern-SDK-Name": "@airtop/sdk",
212
- "X-Fern-SDK-Version": "0.1.27",
213
- "User-Agent": "@airtop/sdk/0.1.27",
212
+ "X-Fern-SDK-Version": "0.1.29",
213
+ "User-Agent": "@airtop/sdk/0.1.29",
214
214
  "X-Fern-Runtime": core.RUNTIME.type,
215
215
  "X-Fern-Runtime-Version": core.RUNTIME.version,
216
216
  },
@@ -271,8 +271,8 @@ class Windows {
271
271
  Authorization: yield this._getAuthorizationHeader(),
272
272
  "X-Fern-Language": "JavaScript",
273
273
  "X-Fern-SDK-Name": "@airtop/sdk",
274
- "X-Fern-SDK-Version": "0.1.27",
275
- "User-Agent": "@airtop/sdk/0.1.27",
274
+ "X-Fern-SDK-Version": "0.1.29",
275
+ "User-Agent": "@airtop/sdk/0.1.29",
276
276
  "X-Fern-Runtime": core.RUNTIME.type,
277
277
  "X-Fern-Runtime-Version": core.RUNTIME.version,
278
278
  },
@@ -335,8 +335,8 @@ class Windows {
335
335
  Authorization: yield this._getAuthorizationHeader(),
336
336
  "X-Fern-Language": "JavaScript",
337
337
  "X-Fern-SDK-Name": "@airtop/sdk",
338
- "X-Fern-SDK-Version": "0.1.27",
339
- "User-Agent": "@airtop/sdk/0.1.27",
338
+ "X-Fern-SDK-Version": "0.1.29",
339
+ "User-Agent": "@airtop/sdk/0.1.29",
340
340
  "X-Fern-Runtime": core.RUNTIME.type,
341
341
  "X-Fern-Runtime-Version": core.RUNTIME.version,
342
342
  },
@@ -400,8 +400,8 @@ class Windows {
400
400
  Authorization: yield this._getAuthorizationHeader(),
401
401
  "X-Fern-Language": "JavaScript",
402
402
  "X-Fern-SDK-Name": "@airtop/sdk",
403
- "X-Fern-SDK-Version": "0.1.27",
404
- "User-Agent": "@airtop/sdk/0.1.27",
403
+ "X-Fern-SDK-Version": "0.1.29",
404
+ "User-Agent": "@airtop/sdk/0.1.29",
405
405
  "X-Fern-Runtime": core.RUNTIME.type,
406
406
  "X-Fern-Runtime-Version": core.RUNTIME.version,
407
407
  },
@@ -465,8 +465,8 @@ class Windows {
465
465
  Authorization: yield this._getAuthorizationHeader(),
466
466
  "X-Fern-Language": "JavaScript",
467
467
  "X-Fern-SDK-Name": "@airtop/sdk",
468
- "X-Fern-SDK-Version": "0.1.27",
469
- "User-Agent": "@airtop/sdk/0.1.27",
468
+ "X-Fern-SDK-Version": "0.1.29",
469
+ "User-Agent": "@airtop/sdk/0.1.29",
470
470
  "X-Fern-Runtime": core.RUNTIME.type,
471
471
  "X-Fern-Runtime-Version": core.RUNTIME.version,
472
472
  },
@@ -532,8 +532,8 @@ class Windows {
532
532
  Authorization: yield this._getAuthorizationHeader(),
533
533
  "X-Fern-Language": "JavaScript",
534
534
  "X-Fern-SDK-Name": "@airtop/sdk",
535
- "X-Fern-SDK-Version": "0.1.27",
536
- "User-Agent": "@airtop/sdk/0.1.27",
535
+ "X-Fern-SDK-Version": "0.1.29",
536
+ "User-Agent": "@airtop/sdk/0.1.29",
537
537
  "X-Fern-Runtime": core.RUNTIME.type,
538
538
  "X-Fern-Runtime-Version": core.RUNTIME.version,
539
539
  },
@@ -599,8 +599,8 @@ class Windows {
599
599
  Authorization: yield this._getAuthorizationHeader(),
600
600
  "X-Fern-Language": "JavaScript",
601
601
  "X-Fern-SDK-Name": "@airtop/sdk",
602
- "X-Fern-SDK-Version": "0.1.27",
603
- "User-Agent": "@airtop/sdk/0.1.27",
602
+ "X-Fern-SDK-Version": "0.1.29",
603
+ "User-Agent": "@airtop/sdk/0.1.29",
604
604
  "X-Fern-Runtime": core.RUNTIME.type,
605
605
  "X-Fern-Runtime-Version": core.RUNTIME.version,
606
606
  },
@@ -664,8 +664,8 @@ class Windows {
664
664
  Authorization: yield this._getAuthorizationHeader(),
665
665
  "X-Fern-Language": "JavaScript",
666
666
  "X-Fern-SDK-Name": "@airtop/sdk",
667
- "X-Fern-SDK-Version": "0.1.27",
668
- "User-Agent": "@airtop/sdk/0.1.27",
667
+ "X-Fern-SDK-Version": "0.1.29",
668
+ "User-Agent": "@airtop/sdk/0.1.29",
669
669
  "X-Fern-Runtime": core.RUNTIME.type,
670
670
  "X-Fern-Runtime-Version": core.RUNTIME.version,
671
671
  },
@@ -727,8 +727,8 @@ class Windows {
727
727
  Authorization: yield this._getAuthorizationHeader(),
728
728
  "X-Fern-Language": "JavaScript",
729
729
  "X-Fern-SDK-Name": "@airtop/sdk",
730
- "X-Fern-SDK-Version": "0.1.27",
731
- "User-Agent": "@airtop/sdk/0.1.27",
730
+ "X-Fern-SDK-Version": "0.1.29",
731
+ "User-Agent": "@airtop/sdk/0.1.29",
732
732
  "X-Fern-Runtime": core.RUNTIME.type,
733
733
  "X-Fern-Runtime-Version": core.RUNTIME.version,
734
734
  },
@@ -792,8 +792,8 @@ class Windows {
792
792
  Authorization: yield this._getAuthorizationHeader(),
793
793
  "X-Fern-Language": "JavaScript",
794
794
  "X-Fern-SDK-Name": "@airtop/sdk",
795
- "X-Fern-SDK-Version": "0.1.27",
796
- "User-Agent": "@airtop/sdk/0.1.27",
795
+ "X-Fern-SDK-Version": "0.1.29",
796
+ "User-Agent": "@airtop/sdk/0.1.29",
797
797
  "X-Fern-Runtime": core.RUNTIME.type,
798
798
  "X-Fern-Runtime-Version": core.RUNTIME.version,
799
799
  },
@@ -855,8 +855,8 @@ class Windows {
855
855
  Authorization: yield this._getAuthorizationHeader(),
856
856
  "X-Fern-Language": "JavaScript",
857
857
  "X-Fern-SDK-Name": "@airtop/sdk",
858
- "X-Fern-SDK-Version": "0.1.27",
859
- "User-Agent": "@airtop/sdk/0.1.27",
858
+ "X-Fern-SDK-Version": "0.1.29",
859
+ "User-Agent": "@airtop/sdk/0.1.29",
860
860
  "X-Fern-Runtime": core.RUNTIME.type,
861
861
  "X-Fern-Runtime-Version": core.RUNTIME.version,
862
862
  },
@@ -922,8 +922,8 @@ class Windows {
922
922
  Authorization: yield this._getAuthorizationHeader(),
923
923
  "X-Fern-Language": "JavaScript",
924
924
  "X-Fern-SDK-Name": "@airtop/sdk",
925
- "X-Fern-SDK-Version": "0.1.27",
926
- "User-Agent": "@airtop/sdk/0.1.27",
925
+ "X-Fern-SDK-Version": "0.1.29",
926
+ "User-Agent": "@airtop/sdk/0.1.29",
927
927
  "X-Fern-Runtime": core.RUNTIME.type,
928
928
  "X-Fern-Runtime-Version": core.RUNTIME.version,
929
929
  },
@@ -4,13 +4,16 @@
4
4
  import * as serializers from "../../../index";
5
5
  import * as Airtop from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
+ import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
7
8
  import { SessionsEventsResponseError } from "./SessionsEventsResponseError";
8
9
  import { SessionsEventsResponseWindowEvent } from "./SessionsEventsResponseWindowEvent";
9
10
  import { SessionsEventsResponseSessionEvent } from "./SessionsEventsResponseSessionEvent";
10
- import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
11
11
  export declare const SessionsEventsResponse: core.serialization.Schema<serializers.SessionsEventsResponse.Raw, Airtop.SessionsEventsResponse>;
12
12
  export declare namespace SessionsEventsResponse {
13
- type Raw = SessionsEventsResponse.Error | SessionsEventsResponse.WindowEvent | SessionsEventsResponse.SessionEvent | SessionsEventsResponse.Status;
13
+ type Raw = SessionsEventsResponse.Status | SessionsEventsResponse.Error | SessionsEventsResponse.WindowEvent | SessionsEventsResponse.SessionEvent;
14
+ interface Status extends SessionsEventsResponseStatus.Raw {
15
+ event: "status";
16
+ }
14
17
  interface Error extends SessionsEventsResponseError.Raw {
15
18
  event: "error";
16
19
  }
@@ -20,7 +23,4 @@ export declare namespace SessionsEventsResponse {
20
23
  interface SessionEvent extends SessionsEventsResponseSessionEvent.Raw {
21
24
  event: "sessionEvent";
22
25
  }
23
- interface Status extends SessionsEventsResponseStatus.Raw {
24
- event: "status";
25
- }
26
26
  }
@@ -28,16 +28,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.SessionsEventsResponse = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
+ const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
31
32
  const SessionsEventsResponseError_1 = require("./SessionsEventsResponseError");
32
33
  const SessionsEventsResponseWindowEvent_1 = require("./SessionsEventsResponseWindowEvent");
33
34
  const SessionsEventsResponseSessionEvent_1 = require("./SessionsEventsResponseSessionEvent");
34
- const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
35
35
  exports.SessionsEventsResponse = core.serialization
36
36
  .union("event", {
37
+ status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
37
38
  error: SessionsEventsResponseError_1.SessionsEventsResponseError,
38
39
  windowEvent: SessionsEventsResponseWindowEvent_1.SessionsEventsResponseWindowEvent,
39
40
  sessionEvent: SessionsEventsResponseSessionEvent_1.SessionsEventsResponseSessionEvent,
40
- status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
41
41
  })
42
42
  .transform({
43
43
  transform: (value) => value,
@@ -1,6 +1,6 @@
1
1
  export * from "./SessionsListRequestStatus";
2
+ export * from "./SessionsEventsResponseStatus";
2
3
  export * from "./SessionsEventsResponseError";
3
4
  export * from "./SessionsEventsResponseWindowEvent";
4
5
  export * from "./SessionsEventsResponseSessionEvent";
5
- export * from "./SessionsEventsResponseStatus";
6
6
  export * from "./SessionsEventsResponse";
@@ -15,8 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./SessionsListRequestStatus"), exports);
18
+ __exportStar(require("./SessionsEventsResponseStatus"), exports);
18
19
  __exportStar(require("./SessionsEventsResponseError"), exports);
19
20
  __exportStar(require("./SessionsEventsResponseWindowEvent"), exports);
20
21
  __exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
21
- __exportStar(require("./SessionsEventsResponseStatus"), exports);
22
22
  __exportStar(require("./SessionsEventsResponse"), exports);
@@ -15,7 +15,7 @@ declare namespace seleniumWebdriver {
15
15
  }
16
16
  }
17
17
  import type * as Airtop from '../api';
18
- import { Windows as WindowsClass, type Windows as WindowsNamespace } from '../api/resources/windows/client/Client';
18
+ import { type Windows, Windows as WindowsClass, type Windows as WindowsNamespace } from '../api/resources/windows/client/Client';
19
19
  import * as core from '../core';
20
20
  export declare class AirtopWindows extends WindowsClass {
21
21
  readonly _options: WindowsNamespace.Options;
@@ -34,7 +34,7 @@ export declare class AirtopWindows extends WindowsClass {
34
34
  * })
35
35
  */
36
36
  promptContent(sessionId: string, windowId: string, request: Omit<Airtop.SessionPageQueryHandlerRequestBody, 'configuration'> & {
37
- configuration?: Omit<Airtop.SessionPageQueryHandlerRequestBody['configuration'], 'outputSchema'> & {
37
+ configuration?: Omit<Airtop.PageQueryConfig, 'outputSchema'> & {
38
38
  outputSchema?: string | object;
39
39
  };
40
40
  }, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
@@ -50,7 +50,7 @@ export declare class AirtopWindows extends WindowsClass {
50
50
  * })
51
51
  */
52
52
  pageQuery(sessionId: string, windowId: string, request: Omit<Airtop.SessionPageQueryHandlerRequestBody, 'configuration'> & {
53
- configuration?: Omit<Airtop.SessionPageQueryHandlerRequestBody['configuration'], 'outputSchema'> & {
53
+ configuration?: Omit<Airtop.PageQueryConfig, 'outputSchema'> & {
54
54
  outputSchema?: string | object;
55
55
  };
56
56
  }, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
@@ -126,6 +126,18 @@ export declare class AirtopWindows extends WindowsClass {
126
126
  * await client.windows.paginatedExtraction("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
127
127
  */
128
128
  paginatedExtraction(sessionId: string, windowId: string, request: Airtop.SessionPaginatedExtractionHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
129
+ /**
130
+ * Execute a scroll interaction in a specific browser window
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.SessionScrollHandlerRequestBody} request
135
+ * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
136
+ *
137
+ * @example
138
+ * await client.windows.scroll("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
139
+ */
140
+ scroll(sessionId: string, windowId: string, request?: Airtop.SessionScrollHandlerRequestBody, requestOptions?: Windows.RequestOptions): Promise<Airtop.AiPromptResponse>;
129
141
  private executeSeleniumCDPCommand;
130
142
  getWindowInfoForSeleniumDriver(session: Airtop.ExternalSessionWithConnectionInfo, driver: seleniumWebdriver.WebDriver, request?: Airtop.GetWindowInfoRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowResponse>;
131
143
  }
@@ -209,6 +209,25 @@ class AirtopWindows extends Client_1.Windows {
209
209
  return _super.paginatedExtraction.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
210
210
  });
211
211
  }
212
+ /**
213
+ * Execute a scroll interaction in a specific browser window
214
+ *
215
+ * @param {string} sessionId - The session id for the window.
216
+ * @param {string} windowId - The Airtop window id of the browser window.
217
+ * @param {Airtop.SessionScrollHandlerRequestBody} request
218
+ * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
219
+ *
220
+ * @example
221
+ * await client.windows.scroll("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
222
+ */
223
+ scroll(sessionId, windowId, request = {}, requestOptions) {
224
+ const _super = Object.create(null, {
225
+ scroll: { get: () => super.scroll }
226
+ });
227
+ return __awaiter(this, void 0, void 0, function* () {
228
+ return _super.scroll.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
229
+ });
230
+ }
212
231
  executeSeleniumCDPCommand(driver, session, apiKey) {
213
232
  return __awaiter(this, void 0, void 0, function* () {
214
233
  // Get the current WebDriver session ID
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airtop/sdk",
3
- "version": "0.1.27",
3
+ "version": "0.1.29",
4
4
  "private": false,
5
5
  "repository": "https://github.com/airtop-ai/airtop-node-sdk",
6
6
  "main": "./index.js",
@@ -4,13 +4,16 @@
4
4
  import * as serializers from "../../../index";
5
5
  import * as Airtop from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
+ import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
7
8
  import { SessionsEventsResponseError } from "./SessionsEventsResponseError";
8
9
  import { SessionsEventsResponseWindowEvent } from "./SessionsEventsResponseWindowEvent";
9
10
  import { SessionsEventsResponseSessionEvent } from "./SessionsEventsResponseSessionEvent";
10
- import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
11
11
  export declare const SessionsEventsResponse: core.serialization.Schema<serializers.SessionsEventsResponse.Raw, Airtop.SessionsEventsResponse>;
12
12
  export declare namespace SessionsEventsResponse {
13
- type Raw = SessionsEventsResponse.Error | SessionsEventsResponse.WindowEvent | SessionsEventsResponse.SessionEvent | SessionsEventsResponse.Status;
13
+ type Raw = SessionsEventsResponse.Status | SessionsEventsResponse.Error | SessionsEventsResponse.WindowEvent | SessionsEventsResponse.SessionEvent;
14
+ interface Status extends SessionsEventsResponseStatus.Raw {
15
+ event: "status";
16
+ }
14
17
  interface Error extends SessionsEventsResponseError.Raw {
15
18
  event: "error";
16
19
  }
@@ -20,7 +23,4 @@ export declare namespace SessionsEventsResponse {
20
23
  interface SessionEvent extends SessionsEventsResponseSessionEvent.Raw {
21
24
  event: "sessionEvent";
22
25
  }
23
- interface Status extends SessionsEventsResponseStatus.Raw {
24
- event: "status";
25
- }
26
26
  }
@@ -28,16 +28,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.SessionsEventsResponse = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
+ const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
31
32
  const SessionsEventsResponseError_1 = require("./SessionsEventsResponseError");
32
33
  const SessionsEventsResponseWindowEvent_1 = require("./SessionsEventsResponseWindowEvent");
33
34
  const SessionsEventsResponseSessionEvent_1 = require("./SessionsEventsResponseSessionEvent");
34
- const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
35
35
  exports.SessionsEventsResponse = core.serialization
36
36
  .union("event", {
37
+ status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
37
38
  error: SessionsEventsResponseError_1.SessionsEventsResponseError,
38
39
  windowEvent: SessionsEventsResponseWindowEvent_1.SessionsEventsResponseWindowEvent,
39
40
  sessionEvent: SessionsEventsResponseSessionEvent_1.SessionsEventsResponseSessionEvent,
40
- status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
41
41
  })
42
42
  .transform({
43
43
  transform: (value) => value,
@@ -1,6 +1,6 @@
1
1
  export * from "./SessionsListRequestStatus";
2
+ export * from "./SessionsEventsResponseStatus";
2
3
  export * from "./SessionsEventsResponseError";
3
4
  export * from "./SessionsEventsResponseWindowEvent";
4
5
  export * from "./SessionsEventsResponseSessionEvent";
5
- export * from "./SessionsEventsResponseStatus";
6
6
  export * from "./SessionsEventsResponse";
@@ -15,8 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./SessionsListRequestStatus"), exports);
18
+ __exportStar(require("./SessionsEventsResponseStatus"), exports);
18
19
  __exportStar(require("./SessionsEventsResponseError"), exports);
19
20
  __exportStar(require("./SessionsEventsResponseWindowEvent"), exports);
20
21
  __exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
21
- __exportStar(require("./SessionsEventsResponseStatus"), exports);
22
22
  __exportStar(require("./SessionsEventsResponse"), exports);
@@ -15,7 +15,7 @@ declare namespace seleniumWebdriver {
15
15
  }
16
16
  }
17
17
  import type * as Airtop from '../api';
18
- import { Windows as WindowsClass, type Windows as WindowsNamespace } from '../api/resources/windows/client/Client';
18
+ import { type Windows, Windows as WindowsClass, type Windows as WindowsNamespace } from '../api/resources/windows/client/Client';
19
19
  import * as core from '../core';
20
20
  export declare class AirtopWindows extends WindowsClass {
21
21
  readonly _options: WindowsNamespace.Options;
@@ -34,7 +34,7 @@ export declare class AirtopWindows extends WindowsClass {
34
34
  * })
35
35
  */
36
36
  promptContent(sessionId: string, windowId: string, request: Omit<Airtop.SessionPageQueryHandlerRequestBody, 'configuration'> & {
37
- configuration?: Omit<Airtop.SessionPageQueryHandlerRequestBody['configuration'], 'outputSchema'> & {
37
+ configuration?: Omit<Airtop.PageQueryConfig, 'outputSchema'> & {
38
38
  outputSchema?: string | object;
39
39
  };
40
40
  }, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
@@ -50,7 +50,7 @@ export declare class AirtopWindows extends WindowsClass {
50
50
  * })
51
51
  */
52
52
  pageQuery(sessionId: string, windowId: string, request: Omit<Airtop.SessionPageQueryHandlerRequestBody, 'configuration'> & {
53
- configuration?: Omit<Airtop.SessionPageQueryHandlerRequestBody['configuration'], 'outputSchema'> & {
53
+ configuration?: Omit<Airtop.PageQueryConfig, 'outputSchema'> & {
54
54
  outputSchema?: string | object;
55
55
  };
56
56
  }, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
@@ -126,6 +126,18 @@ export declare class AirtopWindows extends WindowsClass {
126
126
  * await client.windows.paginatedExtraction("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
127
127
  */
128
128
  paginatedExtraction(sessionId: string, windowId: string, request: Airtop.SessionPaginatedExtractionHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
129
+ /**
130
+ * Execute a scroll interaction in a specific browser window
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.SessionScrollHandlerRequestBody} request
135
+ * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
136
+ *
137
+ * @example
138
+ * await client.windows.scroll("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
139
+ */
140
+ scroll(sessionId: string, windowId: string, request?: Airtop.SessionScrollHandlerRequestBody, requestOptions?: Windows.RequestOptions): Promise<Airtop.AiPromptResponse>;
129
141
  private executeSeleniumCDPCommand;
130
142
  getWindowInfoForSeleniumDriver(session: Airtop.ExternalSessionWithConnectionInfo, driver: seleniumWebdriver.WebDriver, request?: Airtop.GetWindowInfoRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowResponse>;
131
143
  }
@@ -209,6 +209,25 @@ class AirtopWindows extends Client_1.Windows {
209
209
  return _super.paginatedExtraction.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
210
210
  });
211
211
  }
212
+ /**
213
+ * Execute a scroll interaction in a specific browser window
214
+ *
215
+ * @param {string} sessionId - The session id for the window.
216
+ * @param {string} windowId - The Airtop window id of the browser window.
217
+ * @param {Airtop.SessionScrollHandlerRequestBody} request
218
+ * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
219
+ *
220
+ * @example
221
+ * await client.windows.scroll("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
222
+ */
223
+ scroll(sessionId, windowId, request = {}, requestOptions) {
224
+ const _super = Object.create(null, {
225
+ scroll: { get: () => super.scroll }
226
+ });
227
+ return __awaiter(this, void 0, void 0, function* () {
228
+ return _super.scroll.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
229
+ });
230
+ }
212
231
  executeSeleniumCDPCommand(driver, session, apiKey) {
213
232
  return __awaiter(this, void 0, void 0, function* () {
214
233
  // Get the current WebDriver session ID