@airtop/sdk 0.1.33 → 0.1.34

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 (81) hide show
  1. package/api/resources/profiles/client/Client.js +2 -2
  2. package/api/resources/requests/client/Client.js +2 -2
  3. package/api/resources/sessions/client/Client.js +12 -12
  4. package/api/resources/sessions/types/SessionsEventsResponse.d.ts +7 -7
  5. package/api/resources/sessions/types/index.d.ts +2 -2
  6. package/api/resources/sessions/types/index.js +2 -2
  7. package/api/resources/windows/client/Client.js +30 -30
  8. package/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +1 -1
  9. package/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +1 -1
  10. package/api/types/ClickConfig.d.ts +2 -0
  11. package/api/types/IntervalMonitorConfig.d.ts +2 -2
  12. package/api/types/MicroInteractionConfigWithExperimental.d.ts +12 -0
  13. package/api/types/MicroInteractionConfigWithExperimental.js +5 -0
  14. package/api/types/MicroInteractionExperimentalConfig.d.ts +7 -0
  15. package/api/types/MicroInteractionExperimentalConfig.js +5 -0
  16. package/api/types/PaginatedExtractionConfig.d.ts +2 -0
  17. package/api/types/PaginatedExtractionExperimentalConfig.d.ts +7 -0
  18. package/api/types/PaginatedExtractionExperimentalConfig.js +5 -0
  19. package/api/types/index.d.ts +3 -0
  20. package/api/types/index.js +3 -0
  21. package/dist/api/resources/profiles/client/Client.js +2 -2
  22. package/dist/api/resources/requests/client/Client.js +2 -2
  23. package/dist/api/resources/sessions/client/Client.js +12 -12
  24. package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +7 -7
  25. package/dist/api/resources/sessions/types/index.d.ts +2 -2
  26. package/dist/api/resources/sessions/types/index.js +2 -2
  27. package/dist/api/resources/windows/client/Client.js +30 -30
  28. package/dist/api/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +1 -1
  29. package/dist/api/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +1 -1
  30. package/dist/api/types/ClickConfig.d.ts +2 -0
  31. package/dist/api/types/IntervalMonitorConfig.d.ts +2 -2
  32. package/dist/api/types/MicroInteractionConfigWithExperimental.d.ts +12 -0
  33. package/dist/api/types/MicroInteractionConfigWithExperimental.js +5 -0
  34. package/dist/api/types/MicroInteractionExperimentalConfig.d.ts +7 -0
  35. package/dist/api/types/MicroInteractionExperimentalConfig.js +5 -0
  36. package/dist/api/types/PaginatedExtractionConfig.d.ts +2 -0
  37. package/dist/api/types/PaginatedExtractionExperimentalConfig.d.ts +7 -0
  38. package/dist/api/types/PaginatedExtractionExperimentalConfig.js +5 -0
  39. package/dist/api/types/index.d.ts +3 -0
  40. package/dist/api/types/index.js +3 -0
  41. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +9 -9
  42. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +4 -4
  43. package/dist/serialization/resources/sessions/types/index.d.ts +2 -2
  44. package/dist/serialization/resources/sessions/types/index.js +2 -2
  45. package/dist/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +2 -2
  46. package/dist/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +2 -2
  47. package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +2 -2
  48. package/dist/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +2 -2
  49. package/dist/serialization/types/ClickConfig.d.ts +2 -0
  50. package/dist/serialization/types/ClickConfig.js +2 -0
  51. package/dist/serialization/types/MicroInteractionConfigWithExperimental.d.ts +17 -0
  52. package/dist/serialization/types/MicroInteractionConfigWithExperimental.js +38 -0
  53. package/dist/serialization/types/MicroInteractionExperimentalConfig.d.ts +12 -0
  54. package/dist/serialization/types/MicroInteractionExperimentalConfig.js +33 -0
  55. package/dist/serialization/types/PaginatedExtractionConfig.d.ts +2 -0
  56. package/dist/serialization/types/PaginatedExtractionConfig.js +2 -0
  57. package/dist/serialization/types/PaginatedExtractionExperimentalConfig.d.ts +12 -0
  58. package/dist/serialization/types/PaginatedExtractionExperimentalConfig.js +33 -0
  59. package/dist/serialization/types/index.d.ts +3 -0
  60. package/dist/serialization/types/index.js +3 -0
  61. package/package.json +1 -1
  62. package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +9 -9
  63. package/serialization/resources/sessions/types/SessionsEventsResponse.js +4 -4
  64. package/serialization/resources/sessions/types/index.d.ts +2 -2
  65. package/serialization/resources/sessions/types/index.js +2 -2
  66. package/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.d.ts +2 -2
  67. package/serialization/resources/windows/client/requests/SessionHoverHandlerRequestBody.js +2 -2
  68. package/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.d.ts +2 -2
  69. package/serialization/resources/windows/client/requests/SessionTypeHandlerRequestBody.js +2 -2
  70. package/serialization/types/ClickConfig.d.ts +2 -0
  71. package/serialization/types/ClickConfig.js +2 -0
  72. package/serialization/types/MicroInteractionConfigWithExperimental.d.ts +17 -0
  73. package/serialization/types/MicroInteractionConfigWithExperimental.js +38 -0
  74. package/serialization/types/MicroInteractionExperimentalConfig.d.ts +12 -0
  75. package/serialization/types/MicroInteractionExperimentalConfig.js +33 -0
  76. package/serialization/types/PaginatedExtractionConfig.d.ts +2 -0
  77. package/serialization/types/PaginatedExtractionConfig.js +2 -0
  78. package/serialization/types/PaginatedExtractionExperimentalConfig.d.ts +12 -0
  79. package/serialization/types/PaginatedExtractionExperimentalConfig.js +33 -0
  80. package/serialization/types/index.d.ts +3 -0
  81. package/serialization/types/index.js +3 -0
@@ -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.33",
72
- "User-Agent": "@airtop/sdk/0.1.33",
71
+ "X-Fern-SDK-Version": "0.1.34",
72
+ "User-Agent": "@airtop/sdk/0.1.34",
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.33",
148
- "User-Agent": "@airtop/sdk/0.1.33",
147
+ "X-Fern-SDK-Version": "0.1.34",
148
+ "User-Agent": "@airtop/sdk/0.1.34",
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.33",
213
- "User-Agent": "@airtop/sdk/0.1.33",
212
+ "X-Fern-SDK-Version": "0.1.34",
213
+ "User-Agent": "@airtop/sdk/0.1.34",
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.33",
275
- "User-Agent": "@airtop/sdk/0.1.33",
274
+ "X-Fern-SDK-Version": "0.1.34",
275
+ "User-Agent": "@airtop/sdk/0.1.34",
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.33",
339
- "User-Agent": "@airtop/sdk/0.1.33",
338
+ "X-Fern-SDK-Version": "0.1.34",
339
+ "User-Agent": "@airtop/sdk/0.1.34",
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.33",
404
- "User-Agent": "@airtop/sdk/0.1.33",
403
+ "X-Fern-SDK-Version": "0.1.34",
404
+ "User-Agent": "@airtop/sdk/0.1.34",
405
405
  "X-Fern-Runtime": core.RUNTIME.type,
406
406
  "X-Fern-Runtime-Version": core.RUNTIME.version,
407
407
  },
@@ -463,8 +463,8 @@ class Windows {
463
463
  Authorization: yield this._getAuthorizationHeader(),
464
464
  "X-Fern-Language": "JavaScript",
465
465
  "X-Fern-SDK-Name": "@airtop/sdk",
466
- "X-Fern-SDK-Version": "0.1.33",
467
- "User-Agent": "@airtop/sdk/0.1.33",
466
+ "X-Fern-SDK-Version": "0.1.34",
467
+ "User-Agent": "@airtop/sdk/0.1.34",
468
468
  "X-Fern-Runtime": core.RUNTIME.type,
469
469
  "X-Fern-Runtime-Version": core.RUNTIME.version,
470
470
  },
@@ -530,8 +530,8 @@ class Windows {
530
530
  Authorization: yield this._getAuthorizationHeader(),
531
531
  "X-Fern-Language": "JavaScript",
532
532
  "X-Fern-SDK-Name": "@airtop/sdk",
533
- "X-Fern-SDK-Version": "0.1.33",
534
- "User-Agent": "@airtop/sdk/0.1.33",
533
+ "X-Fern-SDK-Version": "0.1.34",
534
+ "User-Agent": "@airtop/sdk/0.1.34",
535
535
  "X-Fern-Runtime": core.RUNTIME.type,
536
536
  "X-Fern-Runtime-Version": core.RUNTIME.version,
537
537
  },
@@ -597,8 +597,8 @@ class Windows {
597
597
  Authorization: yield this._getAuthorizationHeader(),
598
598
  "X-Fern-Language": "JavaScript",
599
599
  "X-Fern-SDK-Name": "@airtop/sdk",
600
- "X-Fern-SDK-Version": "0.1.33",
601
- "User-Agent": "@airtop/sdk/0.1.33",
600
+ "X-Fern-SDK-Version": "0.1.34",
601
+ "User-Agent": "@airtop/sdk/0.1.34",
602
602
  "X-Fern-Runtime": core.RUNTIME.type,
603
603
  "X-Fern-Runtime-Version": core.RUNTIME.version,
604
604
  },
@@ -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.33",
668
- "User-Agent": "@airtop/sdk/0.1.33",
667
+ "X-Fern-SDK-Version": "0.1.34",
668
+ "User-Agent": "@airtop/sdk/0.1.34",
669
669
  "X-Fern-Runtime": core.RUNTIME.type,
670
670
  "X-Fern-Runtime-Version": core.RUNTIME.version,
671
671
  },
@@ -729,8 +729,8 @@ class Windows {
729
729
  Authorization: yield this._getAuthorizationHeader(),
730
730
  "X-Fern-Language": "JavaScript",
731
731
  "X-Fern-SDK-Name": "@airtop/sdk",
732
- "X-Fern-SDK-Version": "0.1.33",
733
- "User-Agent": "@airtop/sdk/0.1.33",
732
+ "X-Fern-SDK-Version": "0.1.34",
733
+ "User-Agent": "@airtop/sdk/0.1.34",
734
734
  "X-Fern-Runtime": core.RUNTIME.type,
735
735
  "X-Fern-Runtime-Version": core.RUNTIME.version,
736
736
  },
@@ -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.33",
796
- "User-Agent": "@airtop/sdk/0.1.33",
795
+ "X-Fern-SDK-Version": "0.1.34",
796
+ "User-Agent": "@airtop/sdk/0.1.34",
797
797
  "X-Fern-Runtime": core.RUNTIME.type,
798
798
  "X-Fern-Runtime-Version": core.RUNTIME.version,
799
799
  },
@@ -857,8 +857,8 @@ class Windows {
857
857
  Authorization: yield this._getAuthorizationHeader(),
858
858
  "X-Fern-Language": "JavaScript",
859
859
  "X-Fern-SDK-Name": "@airtop/sdk",
860
- "X-Fern-SDK-Version": "0.1.33",
861
- "User-Agent": "@airtop/sdk/0.1.33",
860
+ "X-Fern-SDK-Version": "0.1.34",
861
+ "User-Agent": "@airtop/sdk/0.1.34",
862
862
  "X-Fern-Runtime": core.RUNTIME.type,
863
863
  "X-Fern-Runtime-Version": core.RUNTIME.version,
864
864
  },
@@ -920,8 +920,8 @@ class Windows {
920
920
  Authorization: yield this._getAuthorizationHeader(),
921
921
  "X-Fern-Language": "JavaScript",
922
922
  "X-Fern-SDK-Name": "@airtop/sdk",
923
- "X-Fern-SDK-Version": "0.1.33",
924
- "User-Agent": "@airtop/sdk/0.1.33",
923
+ "X-Fern-SDK-Version": "0.1.34",
924
+ "User-Agent": "@airtop/sdk/0.1.34",
925
925
  "X-Fern-Runtime": core.RUNTIME.type,
926
926
  "X-Fern-Runtime-Version": core.RUNTIME.version,
927
927
  },
@@ -987,8 +987,8 @@ class Windows {
987
987
  Authorization: yield this._getAuthorizationHeader(),
988
988
  "X-Fern-Language": "JavaScript",
989
989
  "X-Fern-SDK-Name": "@airtop/sdk",
990
- "X-Fern-SDK-Version": "0.1.33",
991
- "User-Agent": "@airtop/sdk/0.1.33",
990
+ "X-Fern-SDK-Version": "0.1.34",
991
+ "User-Agent": "@airtop/sdk/0.1.34",
992
992
  "X-Fern-Runtime": core.RUNTIME.type,
993
993
  "X-Fern-Runtime-Version": core.RUNTIME.version,
994
994
  },
@@ -11,7 +11,7 @@ import * as Airtop from "../../../../index";
11
11
  export interface SessionHoverHandlerRequestBody {
12
12
  clientRequestId?: string;
13
13
  /** Request configuration */
14
- configuration?: Airtop.MicroInteractionConfig;
14
+ configuration?: Airtop.MicroInteractionConfigWithExperimental;
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 hover (e.g. 'the search box', 'username field'). The interaction will be aborted if the target element cannot be found. */
@@ -13,7 +13,7 @@ export interface SessionTypeHandlerRequestBody {
13
13
  clearInputField?: boolean;
14
14
  clientRequestId?: string;
15
15
  /** Request configuration */
16
- configuration?: Airtop.MicroInteractionConfig;
16
+ configuration?: Airtop.MicroInteractionConfigWithExperimental;
17
17
  /** 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). */
18
18
  costThresholdCredits?: number;
19
19
  /** 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. */
@@ -5,6 +5,8 @@ import * as Airtop from "../index";
5
5
  export interface ClickConfig {
6
6
  /** The type of click to perform. Defaults to left click. */
7
7
  clickType?: Airtop.ClickConfigClickType;
8
+ /** Experimental configuration options. These may be subject to change and are not guaranteed to be stable across versions. */
9
+ experimental?: Airtop.MicroInteractionExperimentalConfig;
8
10
  /** Optional configuration for visual analysis when locating specified content. */
9
11
  visualAnalysis?: Airtop.VisualAnalysisConfig;
10
12
  /** Optional configuration for waiting for navigation to complete after clicking the element. */
@@ -2,8 +2,8 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface IntervalMonitorConfig {
5
- /** The interval in seconds between condition checks. */
5
+ /** The interval in seconds between condition checks. Defaults to 5 seconds. */
6
6
  intervalSeconds?: number;
7
- /** The timeout in seconds after which the monitor will stop checking the condition. */
7
+ /** The timeout in seconds after which the monitor will stop checking the condition. Defaults to 30 seconds. */
8
8
  timeoutSeconds?: number;
9
9
  }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Airtop from "../index";
5
+ export interface MicroInteractionConfigWithExperimental {
6
+ /** Experimental configuration options. These may be subject to change and are not guaranteed to be stable across versions. */
7
+ experimental?: Airtop.MicroInteractionExperimentalConfig;
8
+ /** Optional configuration for visual analysis when locating specified content. */
9
+ visualAnalysis?: Airtop.VisualAnalysisConfig;
10
+ /** Optional configuration for waiting for navigation to complete after clicking the element. */
11
+ waitForNavigationConfig?: Airtop.BrowserWaitNavigationConfig;
12
+ }
@@ -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 });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface MicroInteractionExperimentalConfig {
5
+ /** A natural language description of the scrollable area on the web page. This identifies the container or region that should be scrolled. If missing, the entire page will be scrolled. You can also describe a visible reference point inside the container. Note: This is different from elementDescription, which specifies the target element to interact with. The target may be located inside the scrollable area defined by scrollWithin. */
6
+ scrollWithin?: string;
7
+ }
@@ -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 });
@@ -3,6 +3,8 @@
3
3
  */
4
4
  import * as Airtop from "../index";
5
5
  export interface PaginatedExtractionConfig {
6
+ /** Experimental configuration options. These may be subject to change and are not guaranteed to be stable across versions. */
7
+ experimental?: Airtop.PaginatedExtractionExperimentalConfig;
6
8
  /** The mode to use for interaction. If set to 'auto', Airtop AI will automatically choose the most cost-effective interaction mode. If set to 'accurate', the request might be slower, but more likely to be accurate. Whereas, 'cost-efficient' will be cheaper and speed things up, but may reduce accuracy. */
7
9
  interactionMode?: string;
8
10
  /** JSON schema defining the structure of the output. If not provided, the format of the output might vary. */
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface PaginatedExtractionExperimentalConfig {
5
+ /** A natural language description of the scrollable area on the web page. This identifies the container or region that should be scrolled to access pagination controls. If missing, the entire page will be scrolled. You can also describe a visible reference point inside the container. */
6
+ scrollWithin?: string;
7
+ }
@@ -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 });
@@ -18,6 +18,8 @@ export * from "./ExternalSessionWithConnectionInfo";
18
18
  export * from "./IntervalMonitorConfig";
19
19
  export * from "./Issue";
20
20
  export * from "./MicroInteractionConfig";
21
+ export * from "./MicroInteractionConfigWithExperimental";
22
+ export * from "./MicroInteractionExperimentalConfig";
21
23
  export * from "./MonitorConfigIncludeVisualAnalysis";
22
24
  export * from "./MonitorConfig";
23
25
  export * from "./OperationOutcome";
@@ -25,6 +27,7 @@ export * from "./OperationOutcomeResponse";
25
27
  export * from "./PageQueryConfig";
26
28
  export * from "./PageQueryExperimentalConfig";
27
29
  export * from "./PaginatedExtractionConfig";
30
+ export * from "./PaginatedExtractionExperimentalConfig";
28
31
  export * from "./Pagination";
29
32
  export * from "./RequestStatusResponse";
30
33
  export * from "./ScrapeConfig";
@@ -34,6 +34,8 @@ __exportStar(require("./ExternalSessionWithConnectionInfo"), exports);
34
34
  __exportStar(require("./IntervalMonitorConfig"), exports);
35
35
  __exportStar(require("./Issue"), exports);
36
36
  __exportStar(require("./MicroInteractionConfig"), exports);
37
+ __exportStar(require("./MicroInteractionConfigWithExperimental"), exports);
38
+ __exportStar(require("./MicroInteractionExperimentalConfig"), exports);
37
39
  __exportStar(require("./MonitorConfigIncludeVisualAnalysis"), exports);
38
40
  __exportStar(require("./MonitorConfig"), exports);
39
41
  __exportStar(require("./OperationOutcome"), exports);
@@ -41,6 +43,7 @@ __exportStar(require("./OperationOutcomeResponse"), exports);
41
43
  __exportStar(require("./PageQueryConfig"), exports);
42
44
  __exportStar(require("./PageQueryExperimentalConfig"), exports);
43
45
  __exportStar(require("./PaginatedExtractionConfig"), exports);
46
+ __exportStar(require("./PaginatedExtractionExperimentalConfig"), exports);
44
47
  __exportStar(require("./Pagination"), exports);
45
48
  __exportStar(require("./RequestStatusResponse"), exports);
46
49
  __exportStar(require("./ScrapeConfig"), exports);
@@ -4,23 +4,23 @@
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";
8
- import { SessionsEventsResponseError } from "./SessionsEventsResponseError";
9
7
  import { SessionsEventsResponseWindowEvent } from "./SessionsEventsResponseWindowEvent";
10
8
  import { SessionsEventsResponseSessionEvent } from "./SessionsEventsResponseSessionEvent";
9
+ import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
10
+ import { SessionsEventsResponseError } from "./SessionsEventsResponseError";
11
11
  export declare const SessionsEventsResponse: core.serialization.Schema<serializers.SessionsEventsResponse.Raw, Airtop.SessionsEventsResponse>;
12
12
  export declare namespace SessionsEventsResponse {
13
- type Raw = SessionsEventsResponse.Status | SessionsEventsResponse.Error | SessionsEventsResponse.WindowEvent | SessionsEventsResponse.SessionEvent;
14
- interface Status extends SessionsEventsResponseStatus.Raw {
15
- event: "status";
16
- }
17
- interface Error extends SessionsEventsResponseError.Raw {
18
- event: "error";
19
- }
13
+ type Raw = SessionsEventsResponse.WindowEvent | SessionsEventsResponse.SessionEvent | SessionsEventsResponse.Status | SessionsEventsResponse.Error;
20
14
  interface WindowEvent extends SessionsEventsResponseWindowEvent.Raw {
21
15
  event: "windowEvent";
22
16
  }
23
17
  interface SessionEvent extends SessionsEventsResponseSessionEvent.Raw {
24
18
  event: "sessionEvent";
25
19
  }
20
+ interface Status extends SessionsEventsResponseStatus.Raw {
21
+ event: "status";
22
+ }
23
+ interface Error extends SessionsEventsResponseError.Raw {
24
+ event: "error";
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");
32
- const SessionsEventsResponseError_1 = require("./SessionsEventsResponseError");
33
31
  const SessionsEventsResponseWindowEvent_1 = require("./SessionsEventsResponseWindowEvent");
34
32
  const SessionsEventsResponseSessionEvent_1 = require("./SessionsEventsResponseSessionEvent");
33
+ const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
34
+ const SessionsEventsResponseError_1 = require("./SessionsEventsResponseError");
35
35
  exports.SessionsEventsResponse = core.serialization
36
36
  .union("event", {
37
- status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
38
- error: SessionsEventsResponseError_1.SessionsEventsResponseError,
39
37
  windowEvent: SessionsEventsResponseWindowEvent_1.SessionsEventsResponseWindowEvent,
40
38
  sessionEvent: SessionsEventsResponseSessionEvent_1.SessionsEventsResponseSessionEvent,
39
+ status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
40
+ error: SessionsEventsResponseError_1.SessionsEventsResponseError,
41
41
  })
42
42
  .transform({
43
43
  transform: (value) => value,
@@ -1,6 +1,6 @@
1
1
  export * from "./SessionsListRequestStatus";
2
- export * from "./SessionsEventsResponseStatus";
3
- export * from "./SessionsEventsResponseError";
4
2
  export * from "./SessionsEventsResponseWindowEvent";
5
3
  export * from "./SessionsEventsResponseSessionEvent";
4
+ export * from "./SessionsEventsResponseStatus";
5
+ export * from "./SessionsEventsResponseError";
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);
19
- __exportStar(require("./SessionsEventsResponseError"), exports);
20
18
  __exportStar(require("./SessionsEventsResponseWindowEvent"), exports);
21
19
  __exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
20
+ __exportStar(require("./SessionsEventsResponseStatus"), exports);
21
+ __exportStar(require("./SessionsEventsResponseError"), exports);
22
22
  __exportStar(require("./SessionsEventsResponse"), 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 { MicroInteractionConfig } from "../../../../types/MicroInteractionConfig";
7
+ import { MicroInteractionConfigWithExperimental } from "../../../../types/MicroInteractionConfigWithExperimental";
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?: MicroInteractionConfig.Raw | null;
12
+ configuration?: MicroInteractionConfigWithExperimental.Raw | null;
13
13
  costThresholdCredits?: number | null;
14
14
  elementDescription: string;
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 MicroInteractionConfig_1 = require("../../../../types/MicroInteractionConfig");
31
+ const MicroInteractionConfigWithExperimental_1 = require("../../../../types/MicroInteractionConfigWithExperimental");
32
32
  exports.SessionHoverHandlerRequestBody = core.serialization.object({
33
33
  clientRequestId: core.serialization.string().optional(),
34
- configuration: MicroInteractionConfig_1.MicroInteractionConfig.optional(),
34
+ configuration: MicroInteractionConfigWithExperimental_1.MicroInteractionConfigWithExperimental.optional(),
35
35
  costThresholdCredits: core.serialization.number().optional(),
36
36
  elementDescription: core.serialization.string(),
37
37
  timeThresholdSeconds: core.serialization.number().optional(),
@@ -4,13 +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 { MicroInteractionConfig } from "../../../../types/MicroInteractionConfig";
7
+ import { MicroInteractionConfigWithExperimental } from "../../../../types/MicroInteractionConfigWithExperimental";
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
  clearInputField?: boolean | null;
12
12
  clientRequestId?: string | null;
13
- configuration?: MicroInteractionConfig.Raw | null;
13
+ configuration?: MicroInteractionConfigWithExperimental.Raw | null;
14
14
  costThresholdCredits?: number | null;
15
15
  elementDescription?: string | null;
16
16
  pressEnterKey?: boolean | null;
@@ -28,11 +28,11 @@ 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 MicroInteractionConfig_1 = require("../../../../types/MicroInteractionConfig");
31
+ const MicroInteractionConfigWithExperimental_1 = require("../../../../types/MicroInteractionConfigWithExperimental");
32
32
  exports.SessionTypeHandlerRequestBody = core.serialization.object({
33
33
  clearInputField: core.serialization.boolean().optional(),
34
34
  clientRequestId: core.serialization.string().optional(),
35
- configuration: MicroInteractionConfig_1.MicroInteractionConfig.optional(),
35
+ configuration: MicroInteractionConfigWithExperimental_1.MicroInteractionConfigWithExperimental.optional(),
36
36
  costThresholdCredits: core.serialization.number().optional(),
37
37
  elementDescription: core.serialization.string().optional(),
38
38
  pressEnterKey: core.serialization.boolean().optional(),
@@ -5,12 +5,14 @@ import * as serializers from "../index";
5
5
  import * as Airtop from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { ClickConfigClickType } from "./ClickConfigClickType";
8
+ import { MicroInteractionExperimentalConfig } from "./MicroInteractionExperimentalConfig";
8
9
  import { VisualAnalysisConfig } from "./VisualAnalysisConfig";
9
10
  import { BrowserWaitNavigationConfig } from "./BrowserWaitNavigationConfig";
10
11
  export declare const ClickConfig: core.serialization.ObjectSchema<serializers.ClickConfig.Raw, Airtop.ClickConfig>;
11
12
  export declare namespace ClickConfig {
12
13
  interface Raw {
13
14
  clickType?: ClickConfigClickType.Raw | null;
15
+ experimental?: MicroInteractionExperimentalConfig.Raw | null;
14
16
  visualAnalysis?: VisualAnalysisConfig.Raw | null;
15
17
  waitForNavigationConfig?: BrowserWaitNavigationConfig.Raw | null;
16
18
  }
@@ -29,10 +29,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ClickConfig = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  const ClickConfigClickType_1 = require("./ClickConfigClickType");
32
+ const MicroInteractionExperimentalConfig_1 = require("./MicroInteractionExperimentalConfig");
32
33
  const VisualAnalysisConfig_1 = require("./VisualAnalysisConfig");
33
34
  const BrowserWaitNavigationConfig_1 = require("./BrowserWaitNavigationConfig");
34
35
  exports.ClickConfig = core.serialization.object({
35
36
  clickType: ClickConfigClickType_1.ClickConfigClickType.optional(),
37
+ experimental: MicroInteractionExperimentalConfig_1.MicroInteractionExperimentalConfig.optional(),
36
38
  visualAnalysis: VisualAnalysisConfig_1.VisualAnalysisConfig.optional(),
37
39
  waitForNavigationConfig: BrowserWaitNavigationConfig_1.BrowserWaitNavigationConfig.optional(),
38
40
  });
@@ -0,0 +1,17 @@
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 { MicroInteractionExperimentalConfig } from "./MicroInteractionExperimentalConfig";
8
+ import { VisualAnalysisConfig } from "./VisualAnalysisConfig";
9
+ import { BrowserWaitNavigationConfig } from "./BrowserWaitNavigationConfig";
10
+ export declare const MicroInteractionConfigWithExperimental: core.serialization.ObjectSchema<serializers.MicroInteractionConfigWithExperimental.Raw, Airtop.MicroInteractionConfigWithExperimental>;
11
+ export declare namespace MicroInteractionConfigWithExperimental {
12
+ interface Raw {
13
+ experimental?: MicroInteractionExperimentalConfig.Raw | null;
14
+ visualAnalysis?: VisualAnalysisConfig.Raw | null;
15
+ waitForNavigationConfig?: BrowserWaitNavigationConfig.Raw | null;
16
+ }
17
+ }
@@ -0,0 +1,38 @@
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.MicroInteractionConfigWithExperimental = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const MicroInteractionExperimentalConfig_1 = require("./MicroInteractionExperimentalConfig");
32
+ const VisualAnalysisConfig_1 = require("./VisualAnalysisConfig");
33
+ const BrowserWaitNavigationConfig_1 = require("./BrowserWaitNavigationConfig");
34
+ exports.MicroInteractionConfigWithExperimental = core.serialization.object({
35
+ experimental: MicroInteractionExperimentalConfig_1.MicroInteractionExperimentalConfig.optional(),
36
+ visualAnalysis: VisualAnalysisConfig_1.VisualAnalysisConfig.optional(),
37
+ waitForNavigationConfig: BrowserWaitNavigationConfig_1.BrowserWaitNavigationConfig.optional(),
38
+ });
@@ -0,0 +1,12 @@
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 MicroInteractionExperimentalConfig: core.serialization.ObjectSchema<serializers.MicroInteractionExperimentalConfig.Raw, Airtop.MicroInteractionExperimentalConfig>;
8
+ export declare namespace MicroInteractionExperimentalConfig {
9
+ interface Raw {
10
+ scrollWithin?: string | null;
11
+ }
12
+ }
@@ -0,0 +1,33 @@
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.MicroInteractionExperimentalConfig = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.MicroInteractionExperimentalConfig = core.serialization.object({
32
+ scrollWithin: core.serialization.string().optional(),
33
+ });
@@ -4,10 +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 { PaginatedExtractionExperimentalConfig } from "./PaginatedExtractionExperimentalConfig";
7
8
  import { ScrapeConfig } from "./ScrapeConfig";
8
9
  export declare const PaginatedExtractionConfig: core.serialization.ObjectSchema<serializers.PaginatedExtractionConfig.Raw, Airtop.PaginatedExtractionConfig>;
9
10
  export declare namespace PaginatedExtractionConfig {
10
11
  interface Raw {
12
+ experimental?: PaginatedExtractionExperimentalConfig.Raw | null;
11
13
  interactionMode?: string | null;
12
14
  outputSchema?: string | null;
13
15
  paginationMode?: string | null;
@@ -28,8 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.PaginatedExtractionConfig = void 0;
30
30
  const core = __importStar(require("../../core"));
31
+ const PaginatedExtractionExperimentalConfig_1 = require("./PaginatedExtractionExperimentalConfig");
31
32
  const ScrapeConfig_1 = require("./ScrapeConfig");
32
33
  exports.PaginatedExtractionConfig = core.serialization.object({
34
+ experimental: PaginatedExtractionExperimentalConfig_1.PaginatedExtractionExperimentalConfig.optional(),
33
35
  interactionMode: core.serialization.string().optional(),
34
36
  outputSchema: core.serialization.string().optional(),
35
37
  paginationMode: core.serialization.string().optional(),
@@ -0,0 +1,12 @@
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 PaginatedExtractionExperimentalConfig: core.serialization.ObjectSchema<serializers.PaginatedExtractionExperimentalConfig.Raw, Airtop.PaginatedExtractionExperimentalConfig>;
8
+ export declare namespace PaginatedExtractionExperimentalConfig {
9
+ interface Raw {
10
+ scrollWithin?: string | null;
11
+ }
12
+ }