@airtop/sdk 0.1.15-beta0 → 0.1.15

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 (193) hide show
  1. package/Client.d.ts +0 -3
  2. package/Client.js +2 -7
  3. package/README.md +6 -8
  4. package/api/resources/index.d.ts +0 -1
  5. package/api/resources/index.js +1 -2
  6. package/api/resources/profiles/client/Client.js +2 -2
  7. package/api/resources/sessions/client/Client.js +12 -12
  8. package/api/resources/windows/client/Client.d.ts +0 -116
  9. package/api/resources/windows/client/Client.js +26 -654
  10. package/api/resources/windows/client/requests/index.d.ts +0 -10
  11. package/api/types/index.d.ts +0 -8
  12. package/api/types/index.js +0 -8
  13. package/dist/Client.d.ts +0 -3
  14. package/dist/Client.js +2 -7
  15. package/dist/api/resources/index.d.ts +0 -1
  16. package/dist/api/resources/index.js +1 -2
  17. package/dist/api/resources/profiles/client/Client.js +2 -2
  18. package/dist/api/resources/sessions/client/Client.js +12 -12
  19. package/dist/api/resources/windows/client/Client.d.ts +0 -116
  20. package/dist/api/resources/windows/client/Client.js +26 -654
  21. package/dist/api/resources/windows/client/requests/index.d.ts +0 -10
  22. package/dist/api/types/index.d.ts +0 -8
  23. package/dist/api/types/index.js +0 -8
  24. package/dist/serialization/resources/windows/client/requests/index.d.ts +0 -10
  25. package/dist/serialization/resources/windows/client/requests/index.js +1 -21
  26. package/dist/serialization/types/index.d.ts +0 -8
  27. package/dist/serialization/types/index.js +0 -8
  28. package/dist/wrapper/AirtopWindows.d.ts +0 -10
  29. package/dist/wrapper/AirtopWindows.js +0 -17
  30. package/package.json +1 -1
  31. package/reference.md +0 -768
  32. package/serialization/resources/windows/client/requests/index.d.ts +0 -10
  33. package/serialization/resources/windows/client/requests/index.js +1 -21
  34. package/serialization/types/index.d.ts +0 -8
  35. package/serialization/types/index.js +0 -8
  36. package/wrapper/AirtopWindows.d.ts +0 -10
  37. package/wrapper/AirtopWindows.js +0 -17
  38. package/api/resources/requests/client/Client.d.ts +0 -34
  39. package/api/resources/requests/client/Client.js +0 -115
  40. package/api/resources/requests/client/index.d.ts +0 -1
  41. package/api/resources/requests/client/index.js +0 -2
  42. package/api/resources/requests/index.d.ts +0 -1
  43. package/api/resources/requests/index.js +0 -17
  44. package/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
  45. package/api/resources/windows/client/requests/AsyncClickRequest.js +0 -5
  46. package/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -25
  47. package/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
  48. package/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
  49. package/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
  50. package/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
  51. package/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
  52. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -25
  53. package/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
  54. package/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
  55. package/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
  56. package/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
  57. package/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
  58. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
  59. package/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
  60. package/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
  61. package/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
  62. package/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -25
  63. package/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -5
  64. package/api/types/AsyncConfig.d.ts +0 -7
  65. package/api/types/AsyncConfig.js +0 -5
  66. package/api/types/AsyncSessionAiResponseEnvelope.d.ts +0 -9
  67. package/api/types/AsyncSessionAiResponseEnvelope.js +0 -5
  68. package/api/types/BrowserWaitSelectorConfig.d.ts +0 -11
  69. package/api/types/BrowserWaitSelectorConfig.js +0 -5
  70. package/api/types/IntervalMonitorConfig.d.ts +0 -9
  71. package/api/types/IntervalMonitorConfig.js +0 -5
  72. package/api/types/MonitorConfig.d.ts +0 -14
  73. package/api/types/MonitorConfig.js +0 -5
  74. package/api/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -12
  75. package/api/types/MonitorConfigIncludeVisualAnalysis.js +0 -11
  76. package/api/types/MonitorConfigMonitorType.d.ts +0 -11
  77. package/api/types/MonitorConfigMonitorType.js +0 -10
  78. package/api/types/RequestStatusResponse.d.ts +0 -8
  79. package/api/types/RequestStatusResponse.js +0 -5
  80. package/dist/api/resources/requests/client/Client.d.ts +0 -34
  81. package/dist/api/resources/requests/client/Client.js +0 -115
  82. package/dist/api/resources/requests/client/index.d.ts +0 -1
  83. package/dist/api/resources/requests/client/index.js +0 -2
  84. package/dist/api/resources/requests/index.d.ts +0 -1
  85. package/dist/api/resources/requests/index.js +0 -17
  86. package/dist/api/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -29
  87. package/dist/api/resources/windows/client/requests/AsyncClickRequest.js +0 -5
  88. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -25
  89. package/dist/api/resources/windows/client/requests/AsyncHoverRequest.js +0 -5
  90. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -27
  91. package/dist/api/resources/windows/client/requests/AsyncMonitorRequest.js +0 -5
  92. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -29
  93. package/dist/api/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -5
  94. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -25
  95. package/dist/api/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -5
  96. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -29
  97. package/dist/api/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -5
  98. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -23
  99. package/dist/api/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -5
  100. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -25
  101. package/dist/api/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -5
  102. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -37
  103. package/dist/api/resources/windows/client/requests/AsyncTypeRequest.js +0 -5
  104. package/dist/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -25
  105. package/dist/api/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -5
  106. package/dist/api/types/AsyncConfig.d.ts +0 -7
  107. package/dist/api/types/AsyncConfig.js +0 -5
  108. package/dist/api/types/AsyncSessionAiResponseEnvelope.d.ts +0 -9
  109. package/dist/api/types/AsyncSessionAiResponseEnvelope.js +0 -5
  110. package/dist/api/types/BrowserWaitSelectorConfig.d.ts +0 -11
  111. package/dist/api/types/BrowserWaitSelectorConfig.js +0 -5
  112. package/dist/api/types/IntervalMonitorConfig.d.ts +0 -9
  113. package/dist/api/types/IntervalMonitorConfig.js +0 -5
  114. package/dist/api/types/MonitorConfig.d.ts +0 -14
  115. package/dist/api/types/MonitorConfig.js +0 -5
  116. package/dist/api/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -12
  117. package/dist/api/types/MonitorConfigIncludeVisualAnalysis.js +0 -11
  118. package/dist/api/types/MonitorConfigMonitorType.d.ts +0 -11
  119. package/dist/api/types/MonitorConfigMonitorType.js +0 -10
  120. package/dist/api/types/RequestStatusResponse.d.ts +0 -8
  121. package/dist/api/types/RequestStatusResponse.js +0 -5
  122. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
  123. package/dist/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -41
  124. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
  125. package/dist/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -40
  126. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -20
  127. package/dist/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -41
  128. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
  129. package/dist/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -41
  130. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
  131. package/dist/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -40
  132. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
  133. package/dist/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -41
  134. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
  135. package/dist/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -39
  136. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
  137. package/dist/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -40
  138. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
  139. package/dist/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -45
  140. package/dist/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -18
  141. package/dist/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -39
  142. package/dist/serialization/types/AsyncConfig.d.ts +0 -12
  143. package/dist/serialization/types/AsyncConfig.js +0 -33
  144. package/dist/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +0 -15
  145. package/dist/serialization/types/AsyncSessionAiResponseEnvelope.js +0 -36
  146. package/dist/serialization/types/BrowserWaitSelectorConfig.d.ts +0 -14
  147. package/dist/serialization/types/BrowserWaitSelectorConfig.js +0 -35
  148. package/dist/serialization/types/IntervalMonitorConfig.d.ts +0 -13
  149. package/dist/serialization/types/IntervalMonitorConfig.js +0 -34
  150. package/dist/serialization/types/MonitorConfig.d.ts +0 -19
  151. package/dist/serialization/types/MonitorConfig.js +0 -40
  152. package/dist/serialization/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -10
  153. package/dist/serialization/types/MonitorConfigIncludeVisualAnalysis.js +0 -31
  154. package/dist/serialization/types/MonitorConfigMonitorType.d.ts +0 -10
  155. package/dist/serialization/types/MonitorConfigMonitorType.js +0 -31
  156. package/dist/serialization/types/RequestStatusResponse.d.ts +0 -13
  157. package/dist/serialization/types/RequestStatusResponse.js +0 -34
  158. package/serialization/resources/windows/client/requests/AsyncClickRequest.d.ts +0 -20
  159. package/serialization/resources/windows/client/requests/AsyncClickRequest.js +0 -41
  160. package/serialization/resources/windows/client/requests/AsyncHoverRequest.d.ts +0 -19
  161. package/serialization/resources/windows/client/requests/AsyncHoverRequest.js +0 -40
  162. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.d.ts +0 -20
  163. package/serialization/resources/windows/client/requests/AsyncMonitorRequest.js +0 -41
  164. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.d.ts +0 -20
  165. package/serialization/resources/windows/client/requests/AsyncPageQueryRequest.js +0 -41
  166. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.d.ts +0 -19
  167. package/serialization/resources/windows/client/requests/AsyncPaginatedExtractionRequest.js +0 -40
  168. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.d.ts +0 -20
  169. package/serialization/resources/windows/client/requests/AsyncPromptContentRequest.js +0 -41
  170. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.d.ts +0 -18
  171. package/serialization/resources/windows/client/requests/AsyncScreenshotRequest.js +0 -39
  172. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.d.ts +0 -19
  173. package/serialization/resources/windows/client/requests/AsyncSummarizeContentRequest.js +0 -40
  174. package/serialization/resources/windows/client/requests/AsyncTypeRequest.d.ts +0 -24
  175. package/serialization/resources/windows/client/requests/AsyncTypeRequest.js +0 -45
  176. package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.d.ts +0 -18
  177. package/serialization/resources/windows/client/requests/SessionMonitorHandlerRequestBody.js +0 -39
  178. package/serialization/types/AsyncConfig.d.ts +0 -12
  179. package/serialization/types/AsyncConfig.js +0 -33
  180. package/serialization/types/AsyncSessionAiResponseEnvelope.d.ts +0 -15
  181. package/serialization/types/AsyncSessionAiResponseEnvelope.js +0 -36
  182. package/serialization/types/BrowserWaitSelectorConfig.d.ts +0 -14
  183. package/serialization/types/BrowserWaitSelectorConfig.js +0 -35
  184. package/serialization/types/IntervalMonitorConfig.d.ts +0 -13
  185. package/serialization/types/IntervalMonitorConfig.js +0 -34
  186. package/serialization/types/MonitorConfig.d.ts +0 -19
  187. package/serialization/types/MonitorConfig.js +0 -40
  188. package/serialization/types/MonitorConfigIncludeVisualAnalysis.d.ts +0 -10
  189. package/serialization/types/MonitorConfigIncludeVisualAnalysis.js +0 -31
  190. package/serialization/types/MonitorConfigMonitorType.d.ts +0 -10
  191. package/serialization/types/MonitorConfigMonitorType.js +0 -31
  192. package/serialization/types/RequestStatusResponse.d.ts +0 -13
  193. package/serialization/types/RequestStatusResponse.js +0 -34
@@ -1,23 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Airtop from "../../../../index";
5
- /**
6
- * @example
7
- * {}
8
- */
9
- export interface AsyncScreenshotRequest {
10
- /** Async configuration options. */
11
- async?: Airtop.AsyncConfig;
12
- clientRequestId?: string;
13
- /** Request configuration */
14
- configuration?: Airtop.ScreenshotRequestConfig;
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
- costThresholdCredits?: number;
17
- /**
18
- * A time threshold in seconds 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).
19
- *
20
- * This setting does not extend the maximum session duration provided at the time of session creation.
21
- */
22
- timeThresholdSeconds?: number;
23
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,25 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Airtop from "../../../../index";
5
- /**
6
- * @example
7
- * {}
8
- */
9
- export interface AsyncSummarizeContentRequest {
10
- /** Async configuration options. */
11
- async?: Airtop.AsyncConfig;
12
- clientRequestId?: string;
13
- /** Request configuration */
14
- configuration?: Airtop.SummaryConfig;
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
- costThresholdCredits?: number;
17
- /** An optional prompt providing the Airtop AI model with additional direction or constraints about the summary (such as desired length). */
18
- prompt?: string;
19
- /**
20
- * A time threshold in seconds 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).
21
- *
22
- * This setting does not extend the maximum session duration provided at the time of session creation.
23
- */
24
- timeThresholdSeconds?: number;
25
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,37 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Airtop from "../../../../index";
5
- /**
6
- * @example
7
- * {
8
- * text: "Example text"
9
- * }
10
- */
11
- export interface AsyncTypeRequest {
12
- /** Async configuration options. */
13
- async?: Airtop.AsyncConfig;
14
- /** If true, and an HTML input field is active, clears the input field before typing the text. */
15
- clearInputField?: boolean;
16
- clientRequestId?: string;
17
- /** Request configuration */
18
- configuration?: Airtop.MicroInteractionConfig;
19
- /** 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). */
20
- costThresholdCredits?: number;
21
- /** 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. */
22
- elementDescription?: string;
23
- /** If true, simulates pressing the Enter key after typing the text. */
24
- pressEnterKey?: boolean;
25
- /** If true, simulates pressing the Tab key after typing the text. Note that the tab key will be pressed after the Enter key if both options are configured. */
26
- pressTabKey?: boolean;
27
- /** The text to type into the browser window. */
28
- text: string;
29
- /**
30
- * A time threshold in seconds 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).
31
- *
32
- * This setting does not extend the maximum session duration provided at the time of session creation.
33
- */
34
- timeThresholdSeconds?: number;
35
- /** If true, Airtop AI will wait for the navigation to complete after clicking the element. */
36
- waitForNavigation?: boolean;
37
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,25 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Airtop from "../../../../index";
5
- /**
6
- * @example
7
- * {}
8
- */
9
- export interface SessionMonitorHandlerRequestBody {
10
- clientRequestId?: string;
11
- /** A natural language description of the condition to monitor for in the browser window. Required when monitorType is 'interval'. */
12
- condition?: string;
13
- /** Monitor configuration. If not specified, defaults to an interval monitor with a 5 second interval. */
14
- configuration?: Airtop.MonitorConfig;
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
- costThresholdCredits?: number;
17
- /** The selector to wait for. Required when monitorType is 'selector'. */
18
- selector?: string;
19
- /**
20
- * A time threshold in seconds 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).
21
- *
22
- * This setting does not extend the maximum session duration provided at the time of session creation.
23
- */
24
- timeThresholdSeconds?: number;
25
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface AsyncConfig {
5
- /** The URL to send the response to when the request is complete. */
6
- webhookUrl?: string;
7
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Airtop from "../index";
5
- export interface AsyncSessionAiResponseEnvelope {
6
- errors?: Airtop.Issue[];
7
- requestId: string;
8
- warnings?: Airtop.Issue[];
9
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface BrowserWaitSelectorConfig {
5
- /** If true, Airtop AI will wait for the element to not be in the DOM or to be hidden. */
6
- hidden?: boolean;
7
- /** The maximum time to wait for the selector to be present, in seconds. Defaults to 30 (30 seconds). */
8
- timeoutSeconds?: number;
9
- /** If true, Airtop AI will wait for the element to be visible and present in the DOM. */
10
- visible?: boolean;
11
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface IntervalMonitorConfig {
5
- /** The interval in seconds between condition checks. Only used when monitorType is 'interval'. */
6
- intervalSeconds?: number;
7
- /** The timeout in seconds after which the monitor will stop checking the condition. */
8
- timeoutSeconds?: number;
9
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Airtop from "../index";
5
- export interface MonitorConfig {
6
- /** If set to 'enabled', Airtop AI will also analyze the web page visually when executing the condition check. If set to 'disabled', no visual analysis will be conducted. */
7
- includeVisualAnalysis?: Airtop.MonitorConfigIncludeVisualAnalysis;
8
- /** Configuration for the interval monitor. Only used when monitorType is 'interval'. */
9
- interval?: Airtop.IntervalMonitorConfig;
10
- /** Configuration for the browser wait selector. */
11
- monitorSelectorOptions?: Airtop.BrowserWaitSelectorConfig;
12
- /** The type of monitoring to perform. Interval executes the condition check at a regular, specified interval. Selector waits for a selector to be present before completing. */
13
- monitorType: Airtop.MonitorConfigMonitorType;
14
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * If set to 'enabled', Airtop AI will also analyze the web page visually when executing the condition check. If set to 'disabled', no visual analysis will be conducted.
6
- */
7
- export declare type MonitorConfigIncludeVisualAnalysis = "auto" | "disabled" | "enabled";
8
- export declare const MonitorConfigIncludeVisualAnalysis: {
9
- readonly Auto: "auto";
10
- readonly Disabled: "disabled";
11
- readonly Enabled: "enabled";
12
- };
@@ -1,11 +0,0 @@
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.MonitorConfigIncludeVisualAnalysis = void 0;
7
- exports.MonitorConfigIncludeVisualAnalysis = {
8
- Auto: "auto",
9
- Disabled: "disabled",
10
- Enabled: "enabled",
11
- };
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * The type of monitoring to perform. Interval executes the condition check at a regular, specified interval. Selector waits for a selector to be present before completing.
6
- */
7
- export declare type MonitorConfigMonitorType = "interval" | "selector";
8
- export declare const MonitorConfigMonitorType: {
9
- readonly Interval: "interval";
10
- readonly Selector: "selector";
11
- };
@@ -1,10 +0,0 @@
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.MonitorConfigMonitorType = void 0;
7
- exports.MonitorConfigMonitorType = {
8
- Interval: "interval",
9
- Selector: "selector",
10
- };
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface RequestStatusResponse {
5
- response?: unknown;
6
- /** The current status of the request (pending, completed, error) */
7
- status: string;
8
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,20 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../index";
5
- import * as Airtop from "../../../../../api/index";
6
- import * as core from "../../../../../core";
7
- import { AsyncConfig } from "../../../../types/AsyncConfig";
8
- import { ClickConfig } from "../../../../types/ClickConfig";
9
- export declare const AsyncClickRequest: core.serialization.Schema<serializers.AsyncClickRequest.Raw, Airtop.AsyncClickRequest>;
10
- export declare namespace AsyncClickRequest {
11
- interface Raw {
12
- async?: AsyncConfig.Raw | null;
13
- clientRequestId?: string | null;
14
- configuration?: ClickConfig.Raw | null;
15
- costThresholdCredits?: number | null;
16
- elementDescription: string;
17
- timeThresholdSeconds?: number | null;
18
- waitForNavigation?: boolean | null;
19
- }
20
- }
@@ -1,41 +0,0 @@
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.AsyncClickRequest = void 0;
30
- const core = __importStar(require("../../../../../core"));
31
- const AsyncConfig_1 = require("../../../../types/AsyncConfig");
32
- const ClickConfig_1 = require("../../../../types/ClickConfig");
33
- exports.AsyncClickRequest = core.serialization.object({
34
- async: AsyncConfig_1.AsyncConfig.optional(),
35
- clientRequestId: core.serialization.string().optional(),
36
- configuration: ClickConfig_1.ClickConfig.optional(),
37
- costThresholdCredits: core.serialization.number().optional(),
38
- elementDescription: core.serialization.string(),
39
- timeThresholdSeconds: core.serialization.number().optional(),
40
- waitForNavigation: core.serialization.boolean().optional(),
41
- });
@@ -1,19 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../index";
5
- import * as Airtop from "../../../../../api/index";
6
- import * as core from "../../../../../core";
7
- import { AsyncConfig } from "../../../../types/AsyncConfig";
8
- import { MicroInteractionConfig } from "../../../../types/MicroInteractionConfig";
9
- export declare const AsyncHoverRequest: core.serialization.Schema<serializers.AsyncHoverRequest.Raw, Airtop.AsyncHoverRequest>;
10
- export declare namespace AsyncHoverRequest {
11
- interface Raw {
12
- async?: AsyncConfig.Raw | null;
13
- clientRequestId?: string | null;
14
- configuration?: MicroInteractionConfig.Raw | null;
15
- costThresholdCredits?: number | null;
16
- elementDescription?: string | null;
17
- timeThresholdSeconds?: number | null;
18
- }
19
- }
@@ -1,40 +0,0 @@
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.AsyncHoverRequest = void 0;
30
- const core = __importStar(require("../../../../../core"));
31
- const AsyncConfig_1 = require("../../../../types/AsyncConfig");
32
- const MicroInteractionConfig_1 = require("../../../../types/MicroInteractionConfig");
33
- exports.AsyncHoverRequest = core.serialization.object({
34
- async: AsyncConfig_1.AsyncConfig.optional(),
35
- clientRequestId: core.serialization.string().optional(),
36
- configuration: MicroInteractionConfig_1.MicroInteractionConfig.optional(),
37
- costThresholdCredits: core.serialization.number().optional(),
38
- elementDescription: core.serialization.string().optional(),
39
- timeThresholdSeconds: core.serialization.number().optional(),
40
- });
@@ -1,20 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../index";
5
- import * as Airtop from "../../../../../api/index";
6
- import * as core from "../../../../../core";
7
- import { AsyncConfig } from "../../../../types/AsyncConfig";
8
- import { MonitorConfig } from "../../../../types/MonitorConfig";
9
- export declare const AsyncMonitorRequest: core.serialization.Schema<serializers.AsyncMonitorRequest.Raw, Airtop.AsyncMonitorRequest>;
10
- export declare namespace AsyncMonitorRequest {
11
- interface Raw {
12
- async?: AsyncConfig.Raw | null;
13
- clientRequestId?: string | null;
14
- condition?: string | null;
15
- configuration?: MonitorConfig.Raw | null;
16
- costThresholdCredits?: number | null;
17
- selector?: string | null;
18
- timeThresholdSeconds?: number | null;
19
- }
20
- }
@@ -1,41 +0,0 @@
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.AsyncMonitorRequest = void 0;
30
- const core = __importStar(require("../../../../../core"));
31
- const AsyncConfig_1 = require("../../../../types/AsyncConfig");
32
- const MonitorConfig_1 = require("../../../../types/MonitorConfig");
33
- exports.AsyncMonitorRequest = core.serialization.object({
34
- async: AsyncConfig_1.AsyncConfig.optional(),
35
- clientRequestId: core.serialization.string().optional(),
36
- condition: core.serialization.string().optional(),
37
- configuration: MonitorConfig_1.MonitorConfig.optional(),
38
- costThresholdCredits: core.serialization.number().optional(),
39
- selector: core.serialization.string().optional(),
40
- timeThresholdSeconds: core.serialization.number().optional(),
41
- });
@@ -1,20 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../index";
5
- import * as Airtop from "../../../../../api/index";
6
- import * as core from "../../../../../core";
7
- import { AsyncConfig } from "../../../../types/AsyncConfig";
8
- import { PageQueryConfig } from "../../../../types/PageQueryConfig";
9
- export declare const AsyncPageQueryRequest: core.serialization.Schema<serializers.AsyncPageQueryRequest.Raw, Airtop.AsyncPageQueryRequest>;
10
- export declare namespace AsyncPageQueryRequest {
11
- interface Raw {
12
- async?: AsyncConfig.Raw | null;
13
- clientRequestId?: string | null;
14
- configuration?: PageQueryConfig.Raw | null;
15
- costThresholdCredits?: number | null;
16
- followPaginationLinks?: boolean | null;
17
- prompt: string;
18
- timeThresholdSeconds?: number | null;
19
- }
20
- }
@@ -1,41 +0,0 @@
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.AsyncPageQueryRequest = void 0;
30
- const core = __importStar(require("../../../../../core"));
31
- const AsyncConfig_1 = require("../../../../types/AsyncConfig");
32
- const PageQueryConfig_1 = require("../../../../types/PageQueryConfig");
33
- exports.AsyncPageQueryRequest = core.serialization.object({
34
- async: AsyncConfig_1.AsyncConfig.optional(),
35
- clientRequestId: core.serialization.string().optional(),
36
- configuration: PageQueryConfig_1.PageQueryConfig.optional(),
37
- costThresholdCredits: core.serialization.number().optional(),
38
- followPaginationLinks: core.serialization.boolean().optional(),
39
- prompt: core.serialization.string(),
40
- timeThresholdSeconds: core.serialization.number().optional(),
41
- });
@@ -1,19 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../index";
5
- import * as Airtop from "../../../../../api/index";
6
- import * as core from "../../../../../core";
7
- import { AsyncConfig } from "../../../../types/AsyncConfig";
8
- import { PaginatedExtractionConfig } from "../../../../types/PaginatedExtractionConfig";
9
- export declare const AsyncPaginatedExtractionRequest: core.serialization.Schema<serializers.AsyncPaginatedExtractionRequest.Raw, Airtop.AsyncPaginatedExtractionRequest>;
10
- export declare namespace AsyncPaginatedExtractionRequest {
11
- interface Raw {
12
- async?: AsyncConfig.Raw | null;
13
- clientRequestId?: string | null;
14
- configuration?: PaginatedExtractionConfig.Raw | null;
15
- costThresholdCredits?: number | null;
16
- prompt?: string | null;
17
- timeThresholdSeconds?: number | null;
18
- }
19
- }
@@ -1,40 +0,0 @@
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.AsyncPaginatedExtractionRequest = void 0;
30
- const core = __importStar(require("../../../../../core"));
31
- const AsyncConfig_1 = require("../../../../types/AsyncConfig");
32
- const PaginatedExtractionConfig_1 = require("../../../../types/PaginatedExtractionConfig");
33
- exports.AsyncPaginatedExtractionRequest = core.serialization.object({
34
- async: AsyncConfig_1.AsyncConfig.optional(),
35
- clientRequestId: core.serialization.string().optional(),
36
- configuration: PaginatedExtractionConfig_1.PaginatedExtractionConfig.optional(),
37
- costThresholdCredits: core.serialization.number().optional(),
38
- prompt: core.serialization.string().optional(),
39
- timeThresholdSeconds: core.serialization.number().optional(),
40
- });
@@ -1,20 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../index";
5
- import * as Airtop from "../../../../../api/index";
6
- import * as core from "../../../../../core";
7
- import { AsyncConfig } from "../../../../types/AsyncConfig";
8
- import { PageQueryConfig } from "../../../../types/PageQueryConfig";
9
- export declare const AsyncPromptContentRequest: core.serialization.Schema<serializers.AsyncPromptContentRequest.Raw, Airtop.AsyncPromptContentRequest>;
10
- export declare namespace AsyncPromptContentRequest {
11
- interface Raw {
12
- async?: AsyncConfig.Raw | null;
13
- clientRequestId?: string | null;
14
- configuration?: PageQueryConfig.Raw | null;
15
- costThresholdCredits?: number | null;
16
- followPaginationLinks?: boolean | null;
17
- prompt: string;
18
- timeThresholdSeconds?: number | null;
19
- }
20
- }