@airtop/sdk 0.1.26-beta0 → 0.1.27-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 (82) hide show
  1. package/api/resources/extensionConfigurations/client/Client.js +4 -4
  2. package/api/resources/profiles/client/Client.js +2 -2
  3. package/api/resources/requests/client/Client.js +2 -2
  4. package/api/resources/sessions/client/Client.js +14 -14
  5. package/api/resources/windows/client/Client.d.ts +42 -8
  6. package/api/resources/windows/client/Client.js +192 -56
  7. package/api/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +23 -0
  8. package/api/resources/windows/client/requests/AsyncCreateAutomationRequest.js +5 -0
  9. package/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +27 -0
  10. package/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +5 -0
  11. package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +4 -2
  12. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +4 -2
  13. package/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +4 -2
  14. package/api/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.d.ts +4 -2
  15. package/api/resources/windows/client/requests/SessionScrollHandlerRequestBody.d.ts +3 -3
  16. package/api/resources/windows/client/requests/index.d.ts +2 -0
  17. package/api/types/CreateAutomationRequestBodyConfiguration.d.ts +4 -0
  18. package/api/types/CreateAutomationRequestBodyConfiguration.js +5 -0
  19. package/api/types/index.d.ts +1 -0
  20. package/api/types/index.js +1 -0
  21. package/dist/api/resources/extensionConfigurations/client/Client.js +4 -4
  22. package/dist/api/resources/profiles/client/Client.js +2 -2
  23. package/dist/api/resources/requests/client/Client.js +2 -2
  24. package/dist/api/resources/sessions/client/Client.js +14 -14
  25. package/dist/api/resources/windows/client/Client.d.ts +42 -8
  26. package/dist/api/resources/windows/client/Client.js +192 -56
  27. package/dist/api/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +23 -0
  28. package/dist/api/resources/windows/client/requests/AsyncCreateAutomationRequest.js +5 -0
  29. package/dist/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +27 -0
  30. package/dist/api/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +5 -0
  31. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +4 -2
  32. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +4 -2
  33. package/dist/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +4 -2
  34. package/dist/api/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.d.ts +4 -2
  35. package/dist/api/resources/windows/client/requests/SessionScrollHandlerRequestBody.d.ts +3 -3
  36. package/dist/api/resources/windows/client/requests/index.d.ts +2 -0
  37. package/dist/api/types/CreateAutomationRequestBodyConfiguration.d.ts +4 -0
  38. package/dist/api/types/CreateAutomationRequestBodyConfiguration.js +5 -0
  39. package/dist/api/types/index.d.ts +1 -0
  40. package/dist/api/types/index.js +1 -0
  41. package/dist/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +18 -0
  42. package/dist/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.js +39 -0
  43. package/dist/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +18 -0
  44. package/dist/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +39 -0
  45. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +1 -1
  46. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js +1 -1
  47. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +1 -1
  48. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +1 -1
  49. package/dist/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +1 -1
  50. package/dist/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +1 -1
  51. package/dist/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.d.ts +1 -1
  52. package/dist/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.js +1 -1
  53. package/dist/serialization/resources/windows/client/requests/index.d.ts +2 -0
  54. package/dist/serialization/resources/windows/client/requests/index.js +5 -1
  55. package/dist/serialization/types/CreateAutomationRequestBodyConfiguration.d.ts +10 -0
  56. package/dist/serialization/types/CreateAutomationRequestBodyConfiguration.js +31 -0
  57. package/dist/serialization/types/index.d.ts +1 -0
  58. package/dist/serialization/types/index.js +1 -0
  59. package/dist/wrapper/AirtopWindows.d.ts +15 -3
  60. package/dist/wrapper/AirtopWindows.js +21 -2
  61. package/package.json +1 -1
  62. package/reference.md +181 -4
  63. package/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.d.ts +18 -0
  64. package/serialization/resources/windows/client/requests/AsyncCreateAutomationRequest.js +39 -0
  65. package/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.d.ts +18 -0
  66. package/serialization/resources/windows/client/requests/AsyncExecuteAutomationRequest.js +39 -0
  67. package/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +1 -1
  68. package/serialization/resources/windows/client/requests/AsyncHoverRequest.js +1 -1
  69. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +1 -1
  70. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +1 -1
  71. package/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +1 -1
  72. package/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +1 -1
  73. package/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.d.ts +1 -1
  74. package/serialization/resources/windows/client/requests/SessionPaginatedExtractionHandlerRequestBody.js +1 -1
  75. package/serialization/resources/windows/client/requests/index.d.ts +2 -0
  76. package/serialization/resources/windows/client/requests/index.js +5 -1
  77. package/serialization/types/CreateAutomationRequestBodyConfiguration.d.ts +10 -0
  78. package/serialization/types/CreateAutomationRequestBodyConfiguration.js +31 -0
  79. package/serialization/types/index.d.ts +1 -0
  80. package/serialization/types/index.js +1 -0
  81. package/wrapper/AirtopWindows.d.ts +15 -3
  82. package/wrapper/AirtopWindows.js +21 -2
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.AsyncCreateAutomationRequest = void 0;
30
+ const core = __importStar(require("../../../../../core"));
31
+ const AsyncConfig_1 = require("../../../../types/AsyncConfig");
32
+ const CreateAutomationRequestBodyConfiguration_1 = require("../../../../types/CreateAutomationRequestBodyConfiguration");
33
+ exports.AsyncCreateAutomationRequest = core.serialization.object({
34
+ async: AsyncConfig_1.AsyncConfig.optional(),
35
+ clientRequestId: core.serialization.string().optional(),
36
+ configuration: CreateAutomationRequestBodyConfiguration_1.CreateAutomationRequestBodyConfiguration.optional(),
37
+ costThresholdCredits: core.serialization.number().optional(),
38
+ timeThresholdSeconds: core.serialization.number().optional(),
39
+ });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../index";
5
+ import * as Airtop from "../../../../../api/index";
6
+ import * as core from "../../../../../core";
7
+ import { AsyncConfig } from "../../../../types/AsyncConfig";
8
+ export declare const AsyncExecuteAutomationRequest: core.serialization.Schema<serializers.AsyncExecuteAutomationRequest.Raw, Airtop.AsyncExecuteAutomationRequest>;
9
+ export declare namespace AsyncExecuteAutomationRequest {
10
+ interface Raw {
11
+ async?: AsyncConfig.Raw | null;
12
+ automationId: string;
13
+ clientRequestId?: string | null;
14
+ costThresholdCredits?: number | null;
15
+ parameters?: Record<string, unknown> | null;
16
+ timeThresholdSeconds?: number | null;
17
+ }
18
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.AsyncExecuteAutomationRequest = void 0;
30
+ const core = __importStar(require("../../../../../core"));
31
+ const AsyncConfig_1 = require("../../../../types/AsyncConfig");
32
+ exports.AsyncExecuteAutomationRequest = core.serialization.object({
33
+ async: AsyncConfig_1.AsyncConfig.optional(),
34
+ automationId: core.serialization.string(),
35
+ clientRequestId: core.serialization.string().optional(),
36
+ costThresholdCredits: core.serialization.number().optional(),
37
+ parameters: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
38
+ timeThresholdSeconds: core.serialization.number().optional(),
39
+ });
@@ -13,7 +13,7 @@ export declare namespace AsyncHoverRequest {
13
13
  clientRequestId?: string | null;
14
14
  configuration?: MicroInteractionConfig.Raw | null;
15
15
  costThresholdCredits?: number | null;
16
- elementDescription?: string | null;
16
+ elementDescription: string;
17
17
  timeThresholdSeconds?: number | null;
18
18
  }
19
19
  }
@@ -35,6 +35,6 @@ exports.AsyncHoverRequest = core.serialization.object({
35
35
  clientRequestId: core.serialization.string().optional(),
36
36
  configuration: MicroInteractionConfig_1.MicroInteractionConfig.optional(),
37
37
  costThresholdCredits: core.serialization.number().optional(),
38
- elementDescription: core.serialization.string().optional(),
38
+ elementDescription: core.serialization.string(),
39
39
  timeThresholdSeconds: core.serialization.number().optional(),
40
40
  });
@@ -13,7 +13,7 @@ export declare namespace AsyncPaginatedExtractionRequest {
13
13
  clientRequestId?: string | null;
14
14
  configuration?: PaginatedExtractionConfig.Raw | null;
15
15
  costThresholdCredits?: number | null;
16
- prompt?: string | null;
16
+ prompt: string;
17
17
  timeThresholdSeconds?: number | null;
18
18
  }
19
19
  }
@@ -35,6 +35,6 @@ exports.AsyncPaginatedExtractionRequest = core.serialization.object({
35
35
  clientRequestId: core.serialization.string().optional(),
36
36
  configuration: PaginatedExtractionConfig_1.PaginatedExtractionConfig.optional(),
37
37
  costThresholdCredits: core.serialization.number().optional(),
38
- prompt: core.serialization.string().optional(),
38
+ prompt: core.serialization.string(),
39
39
  timeThresholdSeconds: core.serialization.number().optional(),
40
40
  });
@@ -11,7 +11,7 @@ export declare namespace SessionHoverHandlerRequestBody {
11
11
  clientRequestId?: string | null;
12
12
  configuration?: MicroInteractionConfig.Raw | null;
13
13
  costThresholdCredits?: number | null;
14
- elementDescription?: string | null;
14
+ elementDescription: string;
15
15
  timeThresholdSeconds?: number | null;
16
16
  }
17
17
  }
@@ -33,6 +33,6 @@ exports.SessionHoverHandlerRequestBody = core.serialization.object({
33
33
  clientRequestId: core.serialization.string().optional(),
34
34
  configuration: MicroInteractionConfig_1.MicroInteractionConfig.optional(),
35
35
  costThresholdCredits: core.serialization.number().optional(),
36
- elementDescription: core.serialization.string().optional(),
36
+ elementDescription: core.serialization.string(),
37
37
  timeThresholdSeconds: core.serialization.number().optional(),
38
38
  });
@@ -11,7 +11,7 @@ export declare namespace SessionPaginatedExtractionHandlerRequestBody {
11
11
  clientRequestId?: string | null;
12
12
  configuration?: PaginatedExtractionConfig.Raw | null;
13
13
  costThresholdCredits?: number | null;
14
- prompt?: string | null;
14
+ prompt: string;
15
15
  timeThresholdSeconds?: number | null;
16
16
  }
17
17
  }
@@ -33,6 +33,6 @@ exports.SessionPaginatedExtractionHandlerRequestBody = core.serialization.object
33
33
  clientRequestId: core.serialization.string().optional(),
34
34
  configuration: PaginatedExtractionConfig_1.PaginatedExtractionConfig.optional(),
35
35
  costThresholdCredits: core.serialization.number().optional(),
36
- prompt: core.serialization.string().optional(),
36
+ prompt: core.serialization.string(),
37
37
  timeThresholdSeconds: core.serialization.number().optional(),
38
38
  });
@@ -1,4 +1,6 @@
1
1
  export { AsyncClickRequest } from "./AsyncClickRequest";
2
+ export { AsyncCreateAutomationRequest } from "./AsyncCreateAutomationRequest";
3
+ export { AsyncExecuteAutomationRequest } from "./AsyncExecuteAutomationRequest";
2
4
  export { AsyncHoverRequest } from "./AsyncHoverRequest";
3
5
  export { AsyncMonitorRequest } from "./AsyncMonitorRequest";
4
6
  export { AsyncPageQueryRequest } from "./AsyncPageQueryRequest";
@@ -1,8 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SessionTypeHandlerRequestBody = exports.SessionSummaryHandlerRequestBody = exports.SessionScrollHandlerRequestBody = exports.SessionScreenshotHandlerRequestBody = exports.ScrapeContentRequest = exports.SessionPaginatedExtractionHandlerRequestBody = exports.SessionMonitorHandlerRequestBody = exports.SessionHoverHandlerRequestBody = exports.SessionClickHandlerRequestBody = exports.WindowLoadUrlV1Body = exports.CreateWindowInputV1Body = exports.AsyncTypeRequest = exports.AsyncSummarizeContentRequest = exports.AsyncScreenshotRequest = exports.AsyncPromptContentRequest = exports.AsyncPaginatedExtractionRequest = exports.AsyncPageQueryRequest = exports.AsyncMonitorRequest = exports.AsyncHoverRequest = exports.AsyncClickRequest = void 0;
3
+ exports.SessionTypeHandlerRequestBody = exports.SessionSummaryHandlerRequestBody = exports.SessionScrollHandlerRequestBody = exports.SessionScreenshotHandlerRequestBody = exports.ScrapeContentRequest = exports.SessionPaginatedExtractionHandlerRequestBody = exports.SessionMonitorHandlerRequestBody = exports.SessionHoverHandlerRequestBody = exports.SessionClickHandlerRequestBody = exports.WindowLoadUrlV1Body = exports.CreateWindowInputV1Body = exports.AsyncTypeRequest = exports.AsyncSummarizeContentRequest = exports.AsyncScreenshotRequest = exports.AsyncPromptContentRequest = exports.AsyncPaginatedExtractionRequest = exports.AsyncPageQueryRequest = exports.AsyncMonitorRequest = exports.AsyncHoverRequest = exports.AsyncExecuteAutomationRequest = exports.AsyncCreateAutomationRequest = exports.AsyncClickRequest = void 0;
4
4
  var AsyncClickRequest_1 = require("./AsyncClickRequest");
5
5
  Object.defineProperty(exports, "AsyncClickRequest", { enumerable: true, get: function () { return AsyncClickRequest_1.AsyncClickRequest; } });
6
+ var AsyncCreateAutomationRequest_1 = require("./AsyncCreateAutomationRequest");
7
+ Object.defineProperty(exports, "AsyncCreateAutomationRequest", { enumerable: true, get: function () { return AsyncCreateAutomationRequest_1.AsyncCreateAutomationRequest; } });
8
+ var AsyncExecuteAutomationRequest_1 = require("./AsyncExecuteAutomationRequest");
9
+ Object.defineProperty(exports, "AsyncExecuteAutomationRequest", { enumerable: true, get: function () { return AsyncExecuteAutomationRequest_1.AsyncExecuteAutomationRequest; } });
6
10
  var AsyncHoverRequest_1 = require("./AsyncHoverRequest");
7
11
  Object.defineProperty(exports, "AsyncHoverRequest", { enumerable: true, get: function () { return AsyncHoverRequest_1.AsyncHoverRequest; } });
8
12
  var AsyncMonitorRequest_1 = require("./AsyncMonitorRequest");
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Airtop from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const CreateAutomationRequestBodyConfiguration: core.serialization.Schema<serializers.CreateAutomationRequestBodyConfiguration.Raw, Airtop.CreateAutomationRequestBodyConfiguration>;
8
+ export declare namespace CreateAutomationRequestBodyConfiguration {
9
+ type Raw = Record<string, unknown>;
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.CreateAutomationRequestBodyConfiguration = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.CreateAutomationRequestBodyConfiguration = core.serialization.record(core.serialization.string(), core.serialization.unknown());
@@ -8,6 +8,7 @@ export * from "./BrowserWaitSelectorConfig";
8
8
  export * from "./ClickConfigClickType";
9
9
  export * from "./ClickConfig";
10
10
  export * from "./ClientProvidedResponseMetadata";
11
+ export * from "./CreateAutomationRequestBodyConfiguration";
11
12
  export * from "./EnvelopeDefaultMeta";
12
13
  export * from "./ErrorBody";
13
14
  export * from "./ErrorDetail";
@@ -24,6 +24,7 @@ __exportStar(require("./BrowserWaitSelectorConfig"), exports);
24
24
  __exportStar(require("./ClickConfigClickType"), exports);
25
25
  __exportStar(require("./ClickConfig"), exports);
26
26
  __exportStar(require("./ClientProvidedResponseMetadata"), exports);
27
+ __exportStar(require("./CreateAutomationRequestBodyConfiguration"), exports);
27
28
  __exportStar(require("./EnvelopeDefaultMeta"), exports);
28
29
  __exportStar(require("./ErrorBody"), exports);
29
30
  __exportStar(require("./ErrorDetail"), 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;
@@ -101,7 +101,7 @@ export declare class AirtopWindows extends WindowsClass {
101
101
  * @example
102
102
  * await client.windows.hover("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
103
103
  */
104
- hover(sessionId: string, windowId: string, request?: Airtop.SessionHoverHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
104
+ hover(sessionId: string, windowId: string, request: Airtop.SessionHoverHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
105
105
  /**
106
106
  * @param {string} sessionId - The session id for the window.
107
107
  * @param {string} windowId - The Airtop window id of the browser window.
@@ -135,7 +135,19 @@ export declare class AirtopWindows extends WindowsClass {
135
135
  * @example
136
136
  * await client.windows.paginatedExtraction("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
137
137
  */
138
- paginatedExtraction(sessionId: string, windowId: string, request?: Airtop.SessionPaginatedExtractionHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
138
+ paginatedExtraction(sessionId: string, windowId: string, request: Airtop.SessionPaginatedExtractionHandlerRequestBody, requestOptions?: Windows.RequestOptions): Promise<Airtop.AiPromptResponse>;
139
+ /**
140
+ * Execute a scroll interaction in a specific browser window
141
+ *
142
+ * @param {string} sessionId - The session id for the window.
143
+ * @param {string} windowId - The Airtop window id of the browser window.
144
+ * @param {Airtop.SessionScrollHandlerRequestBody} request
145
+ * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
146
+ *
147
+ * @example
148
+ * await client.windows.scroll("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
149
+ */
150
+ scroll(sessionId: string, windowId: string, request?: Airtop.SessionScrollHandlerRequestBody, requestOptions?: Windows.RequestOptions): Promise<Airtop.AiPromptResponse>;
139
151
  private executeSeleniumCDPCommand;
140
152
  getWindowInfoForSeleniumDriver(session: Airtop.ExternalSessionWithConnectionInfo, driver: seleniumWebdriver.WebDriver, request?: Airtop.GetWindowInfoRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowResponse>;
141
153
  }
@@ -163,7 +163,7 @@ class AirtopWindows extends Client_1.Windows {
163
163
  * @example
164
164
  * await client.windows.hover("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
165
165
  */
166
- hover(sessionId, windowId, request = {}, requestOptions) {
166
+ hover(sessionId, windowId, request, requestOptions) {
167
167
  const _super = Object.create(null, {
168
168
  hover: { get: () => super.hover }
169
169
  });
@@ -218,7 +218,7 @@ class AirtopWindows extends Client_1.Windows {
218
218
  * @example
219
219
  * await client.windows.paginatedExtraction("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
220
220
  */
221
- paginatedExtraction(sessionId, windowId, request = {}, requestOptions) {
221
+ paginatedExtraction(sessionId, windowId, request, requestOptions) {
222
222
  const _super = Object.create(null, {
223
223
  paginatedExtraction: { get: () => super.paginatedExtraction }
224
224
  });
@@ -226,6 +226,25 @@ class AirtopWindows extends Client_1.Windows {
226
226
  return _super.paginatedExtraction.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
227
227
  });
228
228
  }
229
+ /**
230
+ * Execute a scroll interaction in a specific browser window
231
+ *
232
+ * @param {string} sessionId - The session id for the window.
233
+ * @param {string} windowId - The Airtop window id of the browser window.
234
+ * @param {Airtop.SessionScrollHandlerRequestBody} request
235
+ * @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
236
+ *
237
+ * @example
238
+ * await client.windows.scroll("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "0334da2a-91b0-42c5-6156-76a5eba87430")
239
+ */
240
+ scroll(sessionId, windowId, request = {}, requestOptions) {
241
+ const _super = Object.create(null, {
242
+ scroll: { get: () => super.scroll }
243
+ });
244
+ return __awaiter(this, void 0, void 0, function* () {
245
+ return _super.scroll.call(this, sessionId, windowId, request, Object.assign(Object.assign({ timeoutInSeconds: 600 }, requestOptions), { maxRetries: 0 }));
246
+ });
247
+ }
229
248
  executeSeleniumCDPCommand(driver, session, apiKey) {
230
249
  return __awaiter(this, void 0, void 0, function* () {
231
250
  // Get the current WebDriver session ID