@airtop/sdk 0.1.12 → 0.1.13

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 (49) hide show
  1. package/api/resources/profiles/client/Client.js +4 -4
  2. package/api/resources/sessions/client/Client.js +12 -12
  3. package/api/resources/windows/client/Client.js +24 -24
  4. package/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +1 -1
  5. package/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +1 -1
  6. package/api/types/ClickConfig.d.ts +2 -0
  7. package/api/types/ClickConfigClickType.d.ts +12 -0
  8. package/api/types/ClickConfigClickType.js +11 -0
  9. package/api/types/MicroInteractionConfig.d.ts +10 -0
  10. package/api/types/MicroInteractionConfig.js +5 -0
  11. package/api/types/index.d.ts +2 -0
  12. package/api/types/index.js +2 -0
  13. package/dist/api/resources/profiles/client/Client.js +4 -4
  14. package/dist/api/resources/sessions/client/Client.js +12 -12
  15. package/dist/api/resources/windows/client/Client.js +24 -24
  16. package/dist/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +1 -1
  17. package/dist/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +1 -1
  18. package/dist/api/types/ClickConfig.d.ts +2 -0
  19. package/dist/api/types/ClickConfigClickType.d.ts +12 -0
  20. package/dist/api/types/ClickConfigClickType.js +11 -0
  21. package/dist/api/types/MicroInteractionConfig.d.ts +10 -0
  22. package/dist/api/types/MicroInteractionConfig.js +5 -0
  23. package/dist/api/types/index.d.ts +2 -0
  24. package/dist/api/types/index.js +2 -0
  25. package/dist/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +2 -2
  26. package/dist/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +2 -2
  27. package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +2 -2
  28. package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +2 -2
  29. package/dist/serialization/types/ClickConfig.d.ts +2 -0
  30. package/dist/serialization/types/ClickConfig.js +2 -0
  31. package/dist/serialization/types/ClickConfigClickType.d.ts +10 -0
  32. package/dist/serialization/types/ClickConfigClickType.js +31 -0
  33. package/dist/serialization/types/MicroInteractionConfig.d.ts +15 -0
  34. package/dist/serialization/types/MicroInteractionConfig.js +36 -0
  35. package/dist/serialization/types/index.d.ts +2 -0
  36. package/dist/serialization/types/index.js +2 -0
  37. package/package.json +1 -1
  38. package/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +2 -2
  39. package/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +2 -2
  40. package/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +2 -2
  41. package/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +2 -2
  42. package/serialization/types/ClickConfig.d.ts +2 -0
  43. package/serialization/types/ClickConfig.js +2 -0
  44. package/serialization/types/ClickConfigClickType.d.ts +10 -0
  45. package/serialization/types/ClickConfigClickType.js +31 -0
  46. package/serialization/types/MicroInteractionConfig.d.ts +15 -0
  47. package/serialization/types/MicroInteractionConfig.js +36 -0
  48. package/serialization/types/index.d.ts +2 -0
  49. package/serialization/types/index.js +2 -0
@@ -85,8 +85,8 @@ class Profiles {
85
85
  Authorization: yield this._getAuthorizationHeader(),
86
86
  "X-Fern-Language": "JavaScript",
87
87
  "X-Fern-SDK-Name": "@airtop/sdk",
88
- "X-Fern-SDK-Version": "0.1.12",
89
- "User-Agent": "@airtop/sdk/0.1.12",
88
+ "X-Fern-SDK-Version": "0.1.13",
89
+ "User-Agent": "@airtop/sdk/0.1.13",
90
90
  "X-Fern-Runtime": core.RUNTIME.type,
91
91
  "X-Fern-Runtime-Version": core.RUNTIME.version,
92
92
  },
@@ -164,8 +164,8 @@ class Profiles {
164
164
  Authorization: yield this._getAuthorizationHeader(),
165
165
  "X-Fern-Language": "JavaScript",
166
166
  "X-Fern-SDK-Name": "@airtop/sdk",
167
- "X-Fern-SDK-Version": "0.1.12",
168
- "User-Agent": "@airtop/sdk/0.1.12",
167
+ "X-Fern-SDK-Version": "0.1.13",
168
+ "User-Agent": "@airtop/sdk/0.1.13",
169
169
  "X-Fern-Runtime": core.RUNTIME.type,
170
170
  "X-Fern-Runtime-Version": core.RUNTIME.version,
171
171
  },
@@ -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.12",
98
- "User-Agent": "@airtop/sdk/0.1.12",
97
+ "X-Fern-SDK-Version": "0.1.13",
98
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
184
- "User-Agent": "@airtop/sdk/0.1.12",
183
+ "X-Fern-SDK-Version": "0.1.13",
184
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
249
- "User-Agent": "@airtop/sdk/0.1.12",
248
+ "X-Fern-SDK-Version": "0.1.13",
249
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
336
- "User-Agent": "@airtop/sdk/0.1.12",
335
+ "X-Fern-SDK-Version": "0.1.13",
336
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
392
- "User-Agent": "@airtop/sdk/0.1.12",
391
+ "X-Fern-SDK-Version": "0.1.13",
392
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
490
- "User-Agent": "@airtop/sdk/0.1.12",
489
+ "X-Fern-SDK-Version": "0.1.13",
490
+ "User-Agent": "@airtop/sdk/0.1.13",
491
491
  "X-Fern-Runtime": core.RUNTIME.type,
492
492
  "X-Fern-Runtime-Version": core.RUNTIME.version,
493
493
  },
@@ -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.12",
70
- "User-Agent": "@airtop/sdk/0.1.12",
69
+ "X-Fern-SDK-Version": "0.1.13",
70
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
144
- "User-Agent": "@airtop/sdk/0.1.12",
143
+ "X-Fern-SDK-Version": "0.1.13",
144
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
207
- "User-Agent": "@airtop/sdk/0.1.12",
206
+ "X-Fern-SDK-Version": "0.1.13",
207
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
267
- "User-Agent": "@airtop/sdk/0.1.12",
266
+ "X-Fern-SDK-Version": "0.1.13",
267
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
329
- "User-Agent": "@airtop/sdk/0.1.12",
328
+ "X-Fern-SDK-Version": "0.1.13",
329
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
390
- "User-Agent": "@airtop/sdk/0.1.12",
389
+ "X-Fern-SDK-Version": "0.1.13",
390
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
453
- "User-Agent": "@airtop/sdk/0.1.12",
452
+ "X-Fern-SDK-Version": "0.1.13",
453
+ "User-Agent": "@airtop/sdk/0.1.13",
454
454
  "X-Fern-Runtime": core.RUNTIME.type,
455
455
  "X-Fern-Runtime-Version": core.RUNTIME.version,
456
456
  },
@@ -512,8 +512,8 @@ class Windows {
512
512
  Authorization: yield this._getAuthorizationHeader(),
513
513
  "X-Fern-Language": "JavaScript",
514
514
  "X-Fern-SDK-Name": "@airtop/sdk",
515
- "X-Fern-SDK-Version": "0.1.12",
516
- "User-Agent": "@airtop/sdk/0.1.12",
515
+ "X-Fern-SDK-Version": "0.1.13",
516
+ "User-Agent": "@airtop/sdk/0.1.13",
517
517
  "X-Fern-Runtime": core.RUNTIME.type,
518
518
  "X-Fern-Runtime-Version": core.RUNTIME.version,
519
519
  },
@@ -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.12",
583
- "User-Agent": "@airtop/sdk/0.1.12",
582
+ "X-Fern-SDK-Version": "0.1.13",
583
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
646
- "User-Agent": "@airtop/sdk/0.1.12",
645
+ "X-Fern-SDK-Version": "0.1.13",
646
+ "User-Agent": "@airtop/sdk/0.1.13",
647
647
  "X-Fern-Runtime": core.RUNTIME.type,
648
648
  "X-Fern-Runtime-Version": core.RUNTIME.version,
649
649
  },
@@ -705,8 +705,8 @@ class Windows {
705
705
  Authorization: yield this._getAuthorizationHeader(),
706
706
  "X-Fern-Language": "JavaScript",
707
707
  "X-Fern-SDK-Name": "@airtop/sdk",
708
- "X-Fern-SDK-Version": "0.1.12",
709
- "User-Agent": "@airtop/sdk/0.1.12",
708
+ "X-Fern-SDK-Version": "0.1.13",
709
+ "User-Agent": "@airtop/sdk/0.1.13",
710
710
  "X-Fern-Runtime": core.RUNTIME.type,
711
711
  "X-Fern-Runtime-Version": core.RUNTIME.version,
712
712
  },
@@ -770,8 +770,8 @@ class Windows {
770
770
  Authorization: yield this._getAuthorizationHeader(),
771
771
  "X-Fern-Language": "JavaScript",
772
772
  "X-Fern-SDK-Name": "@airtop/sdk",
773
- "X-Fern-SDK-Version": "0.1.12",
774
- "User-Agent": "@airtop/sdk/0.1.12",
773
+ "X-Fern-SDK-Version": "0.1.13",
774
+ "User-Agent": "@airtop/sdk/0.1.13",
775
775
  "X-Fern-Runtime": core.RUNTIME.type,
776
776
  "X-Fern-Runtime-Version": core.RUNTIME.version,
777
777
  },
@@ -9,7 +9,7 @@ import * as Airtop from "../../../../index";
9
9
  export interface SessionHoverHandlerRequestBody {
10
10
  clientRequestId?: string;
11
11
  /** Request configuration */
12
- configuration?: Airtop.ClickConfig;
12
+ configuration?: Airtop.MicroInteractionConfig;
13
13
  /** A credit threshold that, once exceeded, will cause the operation to be cancelled. Note that this is *not* a hard limit, but a threshold that is checked periodically during the course of fulfilling the request. A default threshold is used if not specified, but you can use this option to increase or decrease as needed. Set to 0 to disable this feature entirely (not recommended). */
14
14
  costThresholdCredits?: number;
15
15
  /** A natural language description of where to hover (e.g. 'the search box', 'username field'). The interaction will be aborted if the target element cannot be found. */
@@ -11,7 +11,7 @@ import * as Airtop from "../../../../index";
11
11
  export interface SessionTypeHandlerRequestBody {
12
12
  clientRequestId?: string;
13
13
  /** Request configuration */
14
- configuration?: Airtop.ClickConfig;
14
+ configuration?: Airtop.MicroInteractionConfig;
15
15
  /** A credit threshold that, once exceeded, will cause the operation to be cancelled. Note that this is *not* a hard limit, but a threshold that is checked periodically during the course of fulfilling the request. A default threshold is used if not specified, but you can use this option to increase or decrease as needed. Set to 0 to disable this feature entirely (not recommended). */
16
16
  costThresholdCredits?: number;
17
17
  /** A natural language description of where to type (e.g. 'the search box', 'username field'). The interaction will be aborted if the target element cannot be found. */
@@ -3,6 +3,8 @@
3
3
  */
4
4
  import * as Airtop from "../index";
5
5
  export interface ClickConfig {
6
+ /** The type of click to perform. Defaults to left click. */
7
+ clickType?: Airtop.ClickConfigClickType;
6
8
  /** Optional configuration for visual analysis when locating specified content. */
7
9
  visualAnalysis?: Airtop.VisualAnalysisConfig;
8
10
  /** Optional configuration for waiting for navigation to complete after clicking the element. */
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The type of click to perform. Defaults to left click.
6
+ */
7
+ export declare type ClickConfigClickType = "click" | "doubleClick" | "rightClick";
8
+ export declare const ClickConfigClickType: {
9
+ readonly Click: "click";
10
+ readonly DoubleClick: "doubleClick";
11
+ readonly RightClick: "rightClick";
12
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ClickConfigClickType = void 0;
7
+ exports.ClickConfigClickType = {
8
+ Click: "click",
9
+ DoubleClick: "doubleClick",
10
+ RightClick: "rightClick",
11
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../index";
5
+ export interface MicroInteractionConfig {
6
+ /** Optional configuration for visual analysis when locating specified content. */
7
+ visualAnalysis?: Airtop.VisualAnalysisConfig;
8
+ /** Optional configuration for waiting for navigation to complete after clicking the element. */
9
+ waitForNavigationConfig?: Airtop.BrowserWaitNavigationConfig;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,6 +2,7 @@ export * from "./AiPromptResponse";
2
2
  export * from "./AiResponseEnvelope";
3
3
  export * from "./BrowserWaitNavigationConfigWaitUntil";
4
4
  export * from "./BrowserWaitNavigationConfig";
5
+ export * from "./ClickConfigClickType";
5
6
  export * from "./ClickConfig";
6
7
  export * from "./ClientProvidedResponseMetadata";
7
8
  export * from "./EnvelopeDefaultMeta";
@@ -16,6 +17,7 @@ export * from "./ExternalSessionAiResponseMetadataUsage";
16
17
  export * from "./ExternalSessionConfig";
17
18
  export * from "./ExternalSessionWithConnectionInfo";
18
19
  export * from "./Issue";
20
+ export * from "./MicroInteractionConfig";
19
21
  export * from "./OperationOutcome";
20
22
  export * from "./OperationOutcomeResponse";
21
23
  export * from "./PageQueryConfig";
@@ -18,6 +18,7 @@ __exportStar(require("./AiPromptResponse"), exports);
18
18
  __exportStar(require("./AiResponseEnvelope"), exports);
19
19
  __exportStar(require("./BrowserWaitNavigationConfigWaitUntil"), exports);
20
20
  __exportStar(require("./BrowserWaitNavigationConfig"), exports);
21
+ __exportStar(require("./ClickConfigClickType"), exports);
21
22
  __exportStar(require("./ClickConfig"), exports);
22
23
  __exportStar(require("./ClientProvidedResponseMetadata"), exports);
23
24
  __exportStar(require("./EnvelopeDefaultMeta"), exports);
@@ -32,6 +33,7 @@ __exportStar(require("./ExternalSessionAiResponseMetadataUsage"), exports);
32
33
  __exportStar(require("./ExternalSessionConfig"), exports);
33
34
  __exportStar(require("./ExternalSessionWithConnectionInfo"), exports);
34
35
  __exportStar(require("./Issue"), exports);
36
+ __exportStar(require("./MicroInteractionConfig"), exports);
35
37
  __exportStar(require("./OperationOutcome"), exports);
36
38
  __exportStar(require("./OperationOutcomeResponse"), exports);
37
39
  __exportStar(require("./PageQueryConfig"), exports);
@@ -85,8 +85,8 @@ class Profiles {
85
85
  Authorization: yield this._getAuthorizationHeader(),
86
86
  "X-Fern-Language": "JavaScript",
87
87
  "X-Fern-SDK-Name": "@airtop/sdk",
88
- "X-Fern-SDK-Version": "0.1.12",
89
- "User-Agent": "@airtop/sdk/0.1.12",
88
+ "X-Fern-SDK-Version": "0.1.13",
89
+ "User-Agent": "@airtop/sdk/0.1.13",
90
90
  "X-Fern-Runtime": core.RUNTIME.type,
91
91
  "X-Fern-Runtime-Version": core.RUNTIME.version,
92
92
  },
@@ -164,8 +164,8 @@ class Profiles {
164
164
  Authorization: yield this._getAuthorizationHeader(),
165
165
  "X-Fern-Language": "JavaScript",
166
166
  "X-Fern-SDK-Name": "@airtop/sdk",
167
- "X-Fern-SDK-Version": "0.1.12",
168
- "User-Agent": "@airtop/sdk/0.1.12",
167
+ "X-Fern-SDK-Version": "0.1.13",
168
+ "User-Agent": "@airtop/sdk/0.1.13",
169
169
  "X-Fern-Runtime": core.RUNTIME.type,
170
170
  "X-Fern-Runtime-Version": core.RUNTIME.version,
171
171
  },
@@ -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.12",
98
- "User-Agent": "@airtop/sdk/0.1.12",
97
+ "X-Fern-SDK-Version": "0.1.13",
98
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
184
- "User-Agent": "@airtop/sdk/0.1.12",
183
+ "X-Fern-SDK-Version": "0.1.13",
184
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
249
- "User-Agent": "@airtop/sdk/0.1.12",
248
+ "X-Fern-SDK-Version": "0.1.13",
249
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
336
- "User-Agent": "@airtop/sdk/0.1.12",
335
+ "X-Fern-SDK-Version": "0.1.13",
336
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
392
- "User-Agent": "@airtop/sdk/0.1.12",
391
+ "X-Fern-SDK-Version": "0.1.13",
392
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
490
- "User-Agent": "@airtop/sdk/0.1.12",
489
+ "X-Fern-SDK-Version": "0.1.13",
490
+ "User-Agent": "@airtop/sdk/0.1.13",
491
491
  "X-Fern-Runtime": core.RUNTIME.type,
492
492
  "X-Fern-Runtime-Version": core.RUNTIME.version,
493
493
  },
@@ -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.12",
70
- "User-Agent": "@airtop/sdk/0.1.12",
69
+ "X-Fern-SDK-Version": "0.1.13",
70
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
144
- "User-Agent": "@airtop/sdk/0.1.12",
143
+ "X-Fern-SDK-Version": "0.1.13",
144
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
207
- "User-Agent": "@airtop/sdk/0.1.12",
206
+ "X-Fern-SDK-Version": "0.1.13",
207
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
267
- "User-Agent": "@airtop/sdk/0.1.12",
266
+ "X-Fern-SDK-Version": "0.1.13",
267
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
329
- "User-Agent": "@airtop/sdk/0.1.12",
328
+ "X-Fern-SDK-Version": "0.1.13",
329
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
390
- "User-Agent": "@airtop/sdk/0.1.12",
389
+ "X-Fern-SDK-Version": "0.1.13",
390
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
453
- "User-Agent": "@airtop/sdk/0.1.12",
452
+ "X-Fern-SDK-Version": "0.1.13",
453
+ "User-Agent": "@airtop/sdk/0.1.13",
454
454
  "X-Fern-Runtime": core.RUNTIME.type,
455
455
  "X-Fern-Runtime-Version": core.RUNTIME.version,
456
456
  },
@@ -512,8 +512,8 @@ class Windows {
512
512
  Authorization: yield this._getAuthorizationHeader(),
513
513
  "X-Fern-Language": "JavaScript",
514
514
  "X-Fern-SDK-Name": "@airtop/sdk",
515
- "X-Fern-SDK-Version": "0.1.12",
516
- "User-Agent": "@airtop/sdk/0.1.12",
515
+ "X-Fern-SDK-Version": "0.1.13",
516
+ "User-Agent": "@airtop/sdk/0.1.13",
517
517
  "X-Fern-Runtime": core.RUNTIME.type,
518
518
  "X-Fern-Runtime-Version": core.RUNTIME.version,
519
519
  },
@@ -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.12",
583
- "User-Agent": "@airtop/sdk/0.1.12",
582
+ "X-Fern-SDK-Version": "0.1.13",
583
+ "User-Agent": "@airtop/sdk/0.1.13",
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.12",
646
- "User-Agent": "@airtop/sdk/0.1.12",
645
+ "X-Fern-SDK-Version": "0.1.13",
646
+ "User-Agent": "@airtop/sdk/0.1.13",
647
647
  "X-Fern-Runtime": core.RUNTIME.type,
648
648
  "X-Fern-Runtime-Version": core.RUNTIME.version,
649
649
  },
@@ -705,8 +705,8 @@ class Windows {
705
705
  Authorization: yield this._getAuthorizationHeader(),
706
706
  "X-Fern-Language": "JavaScript",
707
707
  "X-Fern-SDK-Name": "@airtop/sdk",
708
- "X-Fern-SDK-Version": "0.1.12",
709
- "User-Agent": "@airtop/sdk/0.1.12",
708
+ "X-Fern-SDK-Version": "0.1.13",
709
+ "User-Agent": "@airtop/sdk/0.1.13",
710
710
  "X-Fern-Runtime": core.RUNTIME.type,
711
711
  "X-Fern-Runtime-Version": core.RUNTIME.version,
712
712
  },
@@ -770,8 +770,8 @@ class Windows {
770
770
  Authorization: yield this._getAuthorizationHeader(),
771
771
  "X-Fern-Language": "JavaScript",
772
772
  "X-Fern-SDK-Name": "@airtop/sdk",
773
- "X-Fern-SDK-Version": "0.1.12",
774
- "User-Agent": "@airtop/sdk/0.1.12",
773
+ "X-Fern-SDK-Version": "0.1.13",
774
+ "User-Agent": "@airtop/sdk/0.1.13",
775
775
  "X-Fern-Runtime": core.RUNTIME.type,
776
776
  "X-Fern-Runtime-Version": core.RUNTIME.version,
777
777
  },
@@ -9,7 +9,7 @@ import * as Airtop from "../../../../index";
9
9
  export interface SessionHoverHandlerRequestBody {
10
10
  clientRequestId?: string;
11
11
  /** Request configuration */
12
- configuration?: Airtop.ClickConfig;
12
+ configuration?: Airtop.MicroInteractionConfig;
13
13
  /** A credit threshold that, once exceeded, will cause the operation to be cancelled. Note that this is *not* a hard limit, but a threshold that is checked periodically during the course of fulfilling the request. A default threshold is used if not specified, but you can use this option to increase or decrease as needed. Set to 0 to disable this feature entirely (not recommended). */
14
14
  costThresholdCredits?: number;
15
15
  /** A natural language description of where to hover (e.g. 'the search box', 'username field'). The interaction will be aborted if the target element cannot be found. */
@@ -11,7 +11,7 @@ import * as Airtop from "../../../../index";
11
11
  export interface SessionTypeHandlerRequestBody {
12
12
  clientRequestId?: string;
13
13
  /** Request configuration */
14
- configuration?: Airtop.ClickConfig;
14
+ configuration?: Airtop.MicroInteractionConfig;
15
15
  /** A credit threshold that, once exceeded, will cause the operation to be cancelled. Note that this is *not* a hard limit, but a threshold that is checked periodically during the course of fulfilling the request. A default threshold is used if not specified, but you can use this option to increase or decrease as needed. Set to 0 to disable this feature entirely (not recommended). */
16
16
  costThresholdCredits?: number;
17
17
  /** A natural language description of where to type (e.g. 'the search box', 'username field'). The interaction will be aborted if the target element cannot be found. */
@@ -3,6 +3,8 @@
3
3
  */
4
4
  import * as Airtop from "../index";
5
5
  export interface ClickConfig {
6
+ /** The type of click to perform. Defaults to left click. */
7
+ clickType?: Airtop.ClickConfigClickType;
6
8
  /** Optional configuration for visual analysis when locating specified content. */
7
9
  visualAnalysis?: Airtop.VisualAnalysisConfig;
8
10
  /** Optional configuration for waiting for navigation to complete after clicking the element. */
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The type of click to perform. Defaults to left click.
6
+ */
7
+ export declare type ClickConfigClickType = "click" | "doubleClick" | "rightClick";
8
+ export declare const ClickConfigClickType: {
9
+ readonly Click: "click";
10
+ readonly DoubleClick: "doubleClick";
11
+ readonly RightClick: "rightClick";
12
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ClickConfigClickType = void 0;
7
+ exports.ClickConfigClickType = {
8
+ Click: "click",
9
+ DoubleClick: "doubleClick",
10
+ RightClick: "rightClick",
11
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../index";
5
+ export interface MicroInteractionConfig {
6
+ /** Optional configuration for visual analysis when locating specified content. */
7
+ visualAnalysis?: Airtop.VisualAnalysisConfig;
8
+ /** Optional configuration for waiting for navigation to complete after clicking the element. */
9
+ waitForNavigationConfig?: Airtop.BrowserWaitNavigationConfig;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,6 +2,7 @@ export * from "./AiPromptResponse";
2
2
  export * from "./AiResponseEnvelope";
3
3
  export * from "./BrowserWaitNavigationConfigWaitUntil";
4
4
  export * from "./BrowserWaitNavigationConfig";
5
+ export * from "./ClickConfigClickType";
5
6
  export * from "./ClickConfig";
6
7
  export * from "./ClientProvidedResponseMetadata";
7
8
  export * from "./EnvelopeDefaultMeta";
@@ -16,6 +17,7 @@ export * from "./ExternalSessionAiResponseMetadataUsage";
16
17
  export * from "./ExternalSessionConfig";
17
18
  export * from "./ExternalSessionWithConnectionInfo";
18
19
  export * from "./Issue";
20
+ export * from "./MicroInteractionConfig";
19
21
  export * from "./OperationOutcome";
20
22
  export * from "./OperationOutcomeResponse";
21
23
  export * from "./PageQueryConfig";
@@ -18,6 +18,7 @@ __exportStar(require("./AiPromptResponse"), exports);
18
18
  __exportStar(require("./AiResponseEnvelope"), exports);
19
19
  __exportStar(require("./BrowserWaitNavigationConfigWaitUntil"), exports);
20
20
  __exportStar(require("./BrowserWaitNavigationConfig"), exports);
21
+ __exportStar(require("./ClickConfigClickType"), exports);
21
22
  __exportStar(require("./ClickConfig"), exports);
22
23
  __exportStar(require("./ClientProvidedResponseMetadata"), exports);
23
24
  __exportStar(require("./EnvelopeDefaultMeta"), exports);
@@ -32,6 +33,7 @@ __exportStar(require("./ExternalSessionAiResponseMetadataUsage"), exports);
32
33
  __exportStar(require("./ExternalSessionConfig"), exports);
33
34
  __exportStar(require("./ExternalSessionWithConnectionInfo"), exports);
34
35
  __exportStar(require("./Issue"), exports);
36
+ __exportStar(require("./MicroInteractionConfig"), exports);
35
37
  __exportStar(require("./OperationOutcome"), exports);
36
38
  __exportStar(require("./OperationOutcomeResponse"), exports);
37
39
  __exportStar(require("./PageQueryConfig"), exports);
@@ -4,12 +4,12 @@
4
4
  import * as serializers from "../../../../index";
5
5
  import * as Airtop from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
- import { ClickConfig } from "../../../../types/ClickConfig";
7
+ import { MicroInteractionConfig } from "../../../../types/MicroInteractionConfig";
8
8
  export declare const SessionHoverHandlerRequestBody: core.serialization.Schema<serializers.SessionHoverHandlerRequestBody.Raw, Airtop.SessionHoverHandlerRequestBody>;
9
9
  export declare namespace SessionHoverHandlerRequestBody {
10
10
  interface Raw {
11
11
  clientRequestId?: string | null;
12
- configuration?: ClickConfig.Raw | null;
12
+ configuration?: MicroInteractionConfig.Raw | null;
13
13
  costThresholdCredits?: number | null;
14
14
  elementDescription?: string | null;
15
15
  timeThresholdSeconds?: number | null;
@@ -28,10 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.SessionHoverHandlerRequestBody = void 0;
30
30
  const core = __importStar(require("../../../../../core"));
31
- const ClickConfig_1 = require("../../../../types/ClickConfig");
31
+ const MicroInteractionConfig_1 = require("../../../../types/MicroInteractionConfig");
32
32
  exports.SessionHoverHandlerRequestBody = core.serialization.object({
33
33
  clientRequestId: core.serialization.string().optional(),
34
- configuration: ClickConfig_1.ClickConfig.optional(),
34
+ configuration: MicroInteractionConfig_1.MicroInteractionConfig.optional(),
35
35
  costThresholdCredits: core.serialization.number().optional(),
36
36
  elementDescription: core.serialization.string().optional(),
37
37
  timeThresholdSeconds: core.serialization.number().optional(),
@@ -4,12 +4,12 @@
4
4
  import * as serializers from "../../../../index";
5
5
  import * as Airtop from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
- import { ClickConfig } from "../../../../types/ClickConfig";
7
+ import { MicroInteractionConfig } from "../../../../types/MicroInteractionConfig";
8
8
  export declare const SessionTypeHandlerRequestBody: core.serialization.Schema<serializers.SessionTypeHandlerRequestBody.Raw, Airtop.SessionTypeHandlerRequestBody>;
9
9
  export declare namespace SessionTypeHandlerRequestBody {
10
10
  interface Raw {
11
11
  clientRequestId?: string | null;
12
- configuration?: ClickConfig.Raw | null;
12
+ configuration?: MicroInteractionConfig.Raw | null;
13
13
  costThresholdCredits?: number | null;
14
14
  elementDescription?: string | null;
15
15
  pressEnterKey?: boolean | null;
@@ -28,10 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.SessionTypeHandlerRequestBody = void 0;
30
30
  const core = __importStar(require("../../../../../core"));
31
- const ClickConfig_1 = require("../../../../types/ClickConfig");
31
+ const MicroInteractionConfig_1 = require("../../../../types/MicroInteractionConfig");
32
32
  exports.SessionTypeHandlerRequestBody = core.serialization.object({
33
33
  clientRequestId: core.serialization.string().optional(),
34
- configuration: ClickConfig_1.ClickConfig.optional(),
34
+ configuration: MicroInteractionConfig_1.MicroInteractionConfig.optional(),
35
35
  costThresholdCredits: core.serialization.number().optional(),
36
36
  elementDescription: core.serialization.string().optional(),
37
37
  pressEnterKey: core.serialization.boolean().optional(),
@@ -4,11 +4,13 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Airtop from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { ClickConfigClickType } from "./ClickConfigClickType";
7
8
  import { VisualAnalysisConfig } from "./VisualAnalysisConfig";
8
9
  import { BrowserWaitNavigationConfig } from "./BrowserWaitNavigationConfig";
9
10
  export declare const ClickConfig: core.serialization.ObjectSchema<serializers.ClickConfig.Raw, Airtop.ClickConfig>;
10
11
  export declare namespace ClickConfig {
11
12
  interface Raw {
13
+ clickType?: ClickConfigClickType.Raw | null;
12
14
  visualAnalysis?: VisualAnalysisConfig.Raw | null;
13
15
  waitForNavigationConfig?: BrowserWaitNavigationConfig.Raw | null;
14
16
  }
@@ -28,9 +28,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ClickConfig = void 0;
30
30
  const core = __importStar(require("../../core"));
31
+ const ClickConfigClickType_1 = require("./ClickConfigClickType");
31
32
  const VisualAnalysisConfig_1 = require("./VisualAnalysisConfig");
32
33
  const BrowserWaitNavigationConfig_1 = require("./BrowserWaitNavigationConfig");
33
34
  exports.ClickConfig = core.serialization.object({
35
+ clickType: ClickConfigClickType_1.ClickConfigClickType.optional(),
34
36
  visualAnalysis: VisualAnalysisConfig_1.VisualAnalysisConfig.optional(),
35
37
  waitForNavigationConfig: BrowserWaitNavigationConfig_1.BrowserWaitNavigationConfig.optional(),
36
38
  });
@@ -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 ClickConfigClickType: core.serialization.Schema<serializers.ClickConfigClickType.Raw, Airtop.ClickConfigClickType>;
8
+ export declare namespace ClickConfigClickType {
9
+ type Raw = "click" | "doubleClick" | "rightClick";
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.ClickConfigClickType = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.ClickConfigClickType = core.serialization.enum_(["click", "doubleClick", "rightClick"]);
@@ -0,0 +1,15 @@
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 { VisualAnalysisConfig } from "./VisualAnalysisConfig";
8
+ import { BrowserWaitNavigationConfig } from "./BrowserWaitNavigationConfig";
9
+ export declare const MicroInteractionConfig: core.serialization.ObjectSchema<serializers.MicroInteractionConfig.Raw, Airtop.MicroInteractionConfig>;
10
+ export declare namespace MicroInteractionConfig {
11
+ interface Raw {
12
+ visualAnalysis?: VisualAnalysisConfig.Raw | null;
13
+ waitForNavigationConfig?: BrowserWaitNavigationConfig.Raw | null;
14
+ }
15
+ }
@@ -0,0 +1,36 @@
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.MicroInteractionConfig = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const VisualAnalysisConfig_1 = require("./VisualAnalysisConfig");
32
+ const BrowserWaitNavigationConfig_1 = require("./BrowserWaitNavigationConfig");
33
+ exports.MicroInteractionConfig = core.serialization.object({
34
+ visualAnalysis: VisualAnalysisConfig_1.VisualAnalysisConfig.optional(),
35
+ waitForNavigationConfig: BrowserWaitNavigationConfig_1.BrowserWaitNavigationConfig.optional(),
36
+ });
@@ -2,6 +2,7 @@ export * from "./AiPromptResponse";
2
2
  export * from "./AiResponseEnvelope";
3
3
  export * from "./BrowserWaitNavigationConfigWaitUntil";
4
4
  export * from "./BrowserWaitNavigationConfig";
5
+ export * from "./ClickConfigClickType";
5
6
  export * from "./ClickConfig";
6
7
  export * from "./ClientProvidedResponseMetadata";
7
8
  export * from "./EnvelopeDefaultMeta";
@@ -16,6 +17,7 @@ export * from "./ExternalSessionAiResponseMetadataUsage";
16
17
  export * from "./ExternalSessionConfig";
17
18
  export * from "./ExternalSessionWithConnectionInfo";
18
19
  export * from "./Issue";
20
+ export * from "./MicroInteractionConfig";
19
21
  export * from "./OperationOutcome";
20
22
  export * from "./OperationOutcomeResponse";
21
23
  export * from "./PageQueryConfig";
@@ -18,6 +18,7 @@ __exportStar(require("./AiPromptResponse"), exports);
18
18
  __exportStar(require("./AiResponseEnvelope"), exports);
19
19
  __exportStar(require("./BrowserWaitNavigationConfigWaitUntil"), exports);
20
20
  __exportStar(require("./BrowserWaitNavigationConfig"), exports);
21
+ __exportStar(require("./ClickConfigClickType"), exports);
21
22
  __exportStar(require("./ClickConfig"), exports);
22
23
  __exportStar(require("./ClientProvidedResponseMetadata"), exports);
23
24
  __exportStar(require("./EnvelopeDefaultMeta"), exports);
@@ -32,6 +33,7 @@ __exportStar(require("./ExternalSessionAiResponseMetadataUsage"), exports);
32
33
  __exportStar(require("./ExternalSessionConfig"), exports);
33
34
  __exportStar(require("./ExternalSessionWithConnectionInfo"), exports);
34
35
  __exportStar(require("./Issue"), exports);
36
+ __exportStar(require("./MicroInteractionConfig"), exports);
35
37
  __exportStar(require("./OperationOutcome"), exports);
36
38
  __exportStar(require("./OperationOutcomeResponse"), exports);
37
39
  __exportStar(require("./PageQueryConfig"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airtop/sdk",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "private": false,
5
5
  "repository": "https://github.com/airtop-ai/airtop-node-sdk",
6
6
  "main": "./index.js",
@@ -4,12 +4,12 @@
4
4
  import * as serializers from "../../../../index";
5
5
  import * as Airtop from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
- import { ClickConfig } from "../../../../types/ClickConfig";
7
+ import { MicroInteractionConfig } from "../../../../types/MicroInteractionConfig";
8
8
  export declare const SessionHoverHandlerRequestBody: core.serialization.Schema<serializers.SessionHoverHandlerRequestBody.Raw, Airtop.SessionHoverHandlerRequestBody>;
9
9
  export declare namespace SessionHoverHandlerRequestBody {
10
10
  interface Raw {
11
11
  clientRequestId?: string | null;
12
- configuration?: ClickConfig.Raw | null;
12
+ configuration?: MicroInteractionConfig.Raw | null;
13
13
  costThresholdCredits?: number | null;
14
14
  elementDescription?: string | null;
15
15
  timeThresholdSeconds?: number | null;
@@ -28,10 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.SessionHoverHandlerRequestBody = void 0;
30
30
  const core = __importStar(require("../../../../../core"));
31
- const ClickConfig_1 = require("../../../../types/ClickConfig");
31
+ const MicroInteractionConfig_1 = require("../../../../types/MicroInteractionConfig");
32
32
  exports.SessionHoverHandlerRequestBody = core.serialization.object({
33
33
  clientRequestId: core.serialization.string().optional(),
34
- configuration: ClickConfig_1.ClickConfig.optional(),
34
+ configuration: MicroInteractionConfig_1.MicroInteractionConfig.optional(),
35
35
  costThresholdCredits: core.serialization.number().optional(),
36
36
  elementDescription: core.serialization.string().optional(),
37
37
  timeThresholdSeconds: core.serialization.number().optional(),
@@ -4,12 +4,12 @@
4
4
  import * as serializers from "../../../../index";
5
5
  import * as Airtop from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
- import { ClickConfig } from "../../../../types/ClickConfig";
7
+ import { MicroInteractionConfig } from "../../../../types/MicroInteractionConfig";
8
8
  export declare const SessionTypeHandlerRequestBody: core.serialization.Schema<serializers.SessionTypeHandlerRequestBody.Raw, Airtop.SessionTypeHandlerRequestBody>;
9
9
  export declare namespace SessionTypeHandlerRequestBody {
10
10
  interface Raw {
11
11
  clientRequestId?: string | null;
12
- configuration?: ClickConfig.Raw | null;
12
+ configuration?: MicroInteractionConfig.Raw | null;
13
13
  costThresholdCredits?: number | null;
14
14
  elementDescription?: string | null;
15
15
  pressEnterKey?: boolean | null;
@@ -28,10 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.SessionTypeHandlerRequestBody = void 0;
30
30
  const core = __importStar(require("../../../../../core"));
31
- const ClickConfig_1 = require("../../../../types/ClickConfig");
31
+ const MicroInteractionConfig_1 = require("../../../../types/MicroInteractionConfig");
32
32
  exports.SessionTypeHandlerRequestBody = core.serialization.object({
33
33
  clientRequestId: core.serialization.string().optional(),
34
- configuration: ClickConfig_1.ClickConfig.optional(),
34
+ configuration: MicroInteractionConfig_1.MicroInteractionConfig.optional(),
35
35
  costThresholdCredits: core.serialization.number().optional(),
36
36
  elementDescription: core.serialization.string().optional(),
37
37
  pressEnterKey: core.serialization.boolean().optional(),
@@ -4,11 +4,13 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Airtop from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { ClickConfigClickType } from "./ClickConfigClickType";
7
8
  import { VisualAnalysisConfig } from "./VisualAnalysisConfig";
8
9
  import { BrowserWaitNavigationConfig } from "./BrowserWaitNavigationConfig";
9
10
  export declare const ClickConfig: core.serialization.ObjectSchema<serializers.ClickConfig.Raw, Airtop.ClickConfig>;
10
11
  export declare namespace ClickConfig {
11
12
  interface Raw {
13
+ clickType?: ClickConfigClickType.Raw | null;
12
14
  visualAnalysis?: VisualAnalysisConfig.Raw | null;
13
15
  waitForNavigationConfig?: BrowserWaitNavigationConfig.Raw | null;
14
16
  }
@@ -28,9 +28,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ClickConfig = void 0;
30
30
  const core = __importStar(require("../../core"));
31
+ const ClickConfigClickType_1 = require("./ClickConfigClickType");
31
32
  const VisualAnalysisConfig_1 = require("./VisualAnalysisConfig");
32
33
  const BrowserWaitNavigationConfig_1 = require("./BrowserWaitNavigationConfig");
33
34
  exports.ClickConfig = core.serialization.object({
35
+ clickType: ClickConfigClickType_1.ClickConfigClickType.optional(),
34
36
  visualAnalysis: VisualAnalysisConfig_1.VisualAnalysisConfig.optional(),
35
37
  waitForNavigationConfig: BrowserWaitNavigationConfig_1.BrowserWaitNavigationConfig.optional(),
36
38
  });
@@ -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 ClickConfigClickType: core.serialization.Schema<serializers.ClickConfigClickType.Raw, Airtop.ClickConfigClickType>;
8
+ export declare namespace ClickConfigClickType {
9
+ type Raw = "click" | "doubleClick" | "rightClick";
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.ClickConfigClickType = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.ClickConfigClickType = core.serialization.enum_(["click", "doubleClick", "rightClick"]);
@@ -0,0 +1,15 @@
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 { VisualAnalysisConfig } from "./VisualAnalysisConfig";
8
+ import { BrowserWaitNavigationConfig } from "./BrowserWaitNavigationConfig";
9
+ export declare const MicroInteractionConfig: core.serialization.ObjectSchema<serializers.MicroInteractionConfig.Raw, Airtop.MicroInteractionConfig>;
10
+ export declare namespace MicroInteractionConfig {
11
+ interface Raw {
12
+ visualAnalysis?: VisualAnalysisConfig.Raw | null;
13
+ waitForNavigationConfig?: BrowserWaitNavigationConfig.Raw | null;
14
+ }
15
+ }
@@ -0,0 +1,36 @@
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.MicroInteractionConfig = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const VisualAnalysisConfig_1 = require("./VisualAnalysisConfig");
32
+ const BrowserWaitNavigationConfig_1 = require("./BrowserWaitNavigationConfig");
33
+ exports.MicroInteractionConfig = core.serialization.object({
34
+ visualAnalysis: VisualAnalysisConfig_1.VisualAnalysisConfig.optional(),
35
+ waitForNavigationConfig: BrowserWaitNavigationConfig_1.BrowserWaitNavigationConfig.optional(),
36
+ });
@@ -2,6 +2,7 @@ export * from "./AiPromptResponse";
2
2
  export * from "./AiResponseEnvelope";
3
3
  export * from "./BrowserWaitNavigationConfigWaitUntil";
4
4
  export * from "./BrowserWaitNavigationConfig";
5
+ export * from "./ClickConfigClickType";
5
6
  export * from "./ClickConfig";
6
7
  export * from "./ClientProvidedResponseMetadata";
7
8
  export * from "./EnvelopeDefaultMeta";
@@ -16,6 +17,7 @@ export * from "./ExternalSessionAiResponseMetadataUsage";
16
17
  export * from "./ExternalSessionConfig";
17
18
  export * from "./ExternalSessionWithConnectionInfo";
18
19
  export * from "./Issue";
20
+ export * from "./MicroInteractionConfig";
19
21
  export * from "./OperationOutcome";
20
22
  export * from "./OperationOutcomeResponse";
21
23
  export * from "./PageQueryConfig";
@@ -18,6 +18,7 @@ __exportStar(require("./AiPromptResponse"), exports);
18
18
  __exportStar(require("./AiResponseEnvelope"), exports);
19
19
  __exportStar(require("./BrowserWaitNavigationConfigWaitUntil"), exports);
20
20
  __exportStar(require("./BrowserWaitNavigationConfig"), exports);
21
+ __exportStar(require("./ClickConfigClickType"), exports);
21
22
  __exportStar(require("./ClickConfig"), exports);
22
23
  __exportStar(require("./ClientProvidedResponseMetadata"), exports);
23
24
  __exportStar(require("./EnvelopeDefaultMeta"), exports);
@@ -32,6 +33,7 @@ __exportStar(require("./ExternalSessionAiResponseMetadataUsage"), exports);
32
33
  __exportStar(require("./ExternalSessionConfig"), exports);
33
34
  __exportStar(require("./ExternalSessionWithConnectionInfo"), exports);
34
35
  __exportStar(require("./Issue"), exports);
36
+ __exportStar(require("./MicroInteractionConfig"), exports);
35
37
  __exportStar(require("./OperationOutcome"), exports);
36
38
  __exportStar(require("./OperationOutcomeResponse"), exports);
37
39
  __exportStar(require("./PageQueryConfig"), exports);