@airtop/sdk 0.1.2 → 0.1.4

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 (144) hide show
  1. package/Client.d.ts +2 -2
  2. package/Client.js +1 -1
  3. package/api/errors/InternalServerError.d.ts +1 -1
  4. package/api/errors/NotFoundError.d.ts +1 -1
  5. package/api/errors/UnprocessableEntityError.d.ts +1 -1
  6. package/api/resources/profiles/client/Client.d.ts +3 -3
  7. package/api/resources/profiles/client/Client.js +6 -10
  8. package/api/resources/sessions/client/Client.d.ts +3 -3
  9. package/api/resources/sessions/client/Client.js +21 -25
  10. package/api/resources/windows/client/Client.d.ts +7 -7
  11. package/api/resources/windows/client/Client.js +24 -24
  12. package/api/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +3 -1
  13. package/api/resources/windows/client/requests/{PromptContentRequest.d.ts → SessionContentPromptHandlerRequestBody.d.ts} +1 -4
  14. package/api/resources/windows/client/requests/{SummarizeContentRequest.d.ts → SessionSummaryHandlerRequestBody.d.ts} +1 -4
  15. package/api/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +3 -1
  16. package/api/resources/windows/client/requests/index.d.ts +2 -2
  17. package/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +3 -2
  18. package/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +1 -0
  19. package/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +3 -2
  20. package/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +1 -0
  21. package/api/types/CustomProxy.d.ts +14 -0
  22. package/api/types/ErrorDetail.d.ts +10 -0
  23. package/api/types/ErrorModel.d.ts +18 -0
  24. package/api/types/Proxy.d.ts +11 -0
  25. package/api/types/SessionConfigV1.d.ts +3 -0
  26. package/api/types/SessionConfigV1Proxy.d.ts +14 -0
  27. package/api/types/SessionConfigV1Proxy.js +5 -0
  28. package/api/types/SessionConfigV1ProxyItem.d.ts +12 -0
  29. package/api/types/SessionConfigV1ProxyItem.js +5 -0
  30. package/api/types/index.d.ts +6 -1
  31. package/api/types/index.js +6 -1
  32. package/dist/Client.d.ts +2 -2
  33. package/dist/Client.js +1 -1
  34. package/dist/api/errors/InternalServerError.d.ts +1 -1
  35. package/dist/api/errors/NotFoundError.d.ts +1 -1
  36. package/dist/api/errors/UnprocessableEntityError.d.ts +1 -1
  37. package/dist/api/resources/profiles/client/Client.d.ts +3 -3
  38. package/dist/api/resources/profiles/client/Client.js +6 -10
  39. package/dist/api/resources/sessions/client/Client.d.ts +3 -3
  40. package/dist/api/resources/sessions/client/Client.js +21 -25
  41. package/dist/api/resources/windows/client/Client.d.ts +7 -7
  42. package/dist/api/resources/windows/client/Client.js +24 -24
  43. package/dist/api/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +3 -1
  44. package/dist/api/resources/windows/client/requests/{PromptContentRequest.d.ts → SessionContentPromptHandlerRequestBody.d.ts} +1 -4
  45. package/dist/api/resources/windows/client/requests/SessionContentPromptHandlerRequestBody.js +5 -0
  46. package/dist/api/resources/windows/client/requests/{SummarizeContentRequest.d.ts → SessionSummaryHandlerRequestBody.d.ts} +1 -4
  47. package/dist/api/resources/windows/client/requests/SessionSummaryHandlerRequestBody.js +5 -0
  48. package/dist/api/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +3 -1
  49. package/dist/api/resources/windows/client/requests/index.d.ts +2 -2
  50. package/dist/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +3 -2
  51. package/dist/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +1 -0
  52. package/dist/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +3 -2
  53. package/dist/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +1 -0
  54. package/dist/api/types/CustomProxy.d.ts +14 -0
  55. package/dist/api/types/CustomProxy.js +5 -0
  56. package/dist/api/types/ErrorDetail.d.ts +10 -0
  57. package/dist/api/types/ErrorDetail.js +5 -0
  58. package/dist/api/types/ErrorModel.d.ts +18 -0
  59. package/dist/api/types/ErrorModel.js +5 -0
  60. package/dist/api/types/Proxy.d.ts +11 -0
  61. package/dist/api/types/Proxy.js +5 -0
  62. package/dist/api/types/SessionConfigV1.d.ts +3 -0
  63. package/dist/api/types/SessionConfigV1Proxy.d.ts +14 -0
  64. package/dist/api/types/SessionConfigV1Proxy.js +5 -0
  65. package/dist/api/types/SessionConfigV1ProxyItem.d.ts +12 -0
  66. package/dist/api/types/SessionConfigV1ProxyItem.js +5 -0
  67. package/dist/api/types/index.d.ts +6 -1
  68. package/dist/api/types/index.js +6 -1
  69. package/dist/serialization/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +1 -0
  70. package/dist/serialization/resources/windows/client/requests/CreateWindowInputV1Body.js +1 -0
  71. package/dist/serialization/resources/windows/client/requests/{PromptContentRequest.d.ts → SessionContentPromptHandlerRequestBody.d.ts} +2 -4
  72. package/dist/serialization/resources/windows/client/requests/{PromptContentRequest.js → SessionContentPromptHandlerRequestBody.js} +2 -4
  73. package/dist/serialization/resources/windows/client/requests/{SummarizeContentRequest.d.ts → SessionSummaryHandlerRequestBody.d.ts} +2 -4
  74. package/dist/serialization/resources/windows/client/requests/{SummarizeContentRequest.js → SessionSummaryHandlerRequestBody.js} +2 -4
  75. package/dist/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +1 -0
  76. package/dist/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.js +1 -0
  77. package/dist/serialization/resources/windows/client/requests/index.d.ts +2 -2
  78. package/dist/serialization/resources/windows/client/requests/index.js +5 -5
  79. package/dist/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +1 -1
  80. package/dist/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +1 -1
  81. package/dist/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +1 -1
  82. package/dist/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +1 -1
  83. package/dist/serialization/types/CustomProxy.d.ts +11 -0
  84. package/dist/serialization/types/CustomProxy.js +32 -0
  85. package/dist/serialization/types/ErrorDetail.d.ts +14 -0
  86. package/{serialization/types/ErrorEnvelope.js → dist/serialization/types/ErrorDetail.js} +5 -9
  87. package/dist/serialization/types/ErrorModel.d.ts +18 -0
  88. package/dist/serialization/types/{ErrorEnvelope.js → ErrorModel.js} +9 -9
  89. package/dist/serialization/types/Proxy.d.ts +14 -0
  90. package/dist/serialization/types/Proxy.js +35 -0
  91. package/dist/serialization/types/SessionConfigV1.d.ts +2 -0
  92. package/dist/serialization/types/SessionConfigV1.js +2 -0
  93. package/dist/serialization/types/SessionConfigV1Proxy.d.ts +12 -0
  94. package/dist/serialization/types/SessionConfigV1Proxy.js +33 -0
  95. package/dist/serialization/types/SessionConfigV1ProxyItem.d.ts +14 -0
  96. package/dist/serialization/types/SessionConfigV1ProxyItem.js +35 -0
  97. package/dist/serialization/types/index.d.ts +6 -1
  98. package/dist/serialization/types/index.js +6 -1
  99. package/dist/wrapper/AirtopClient.d.ts +1 -1
  100. package/dist/wrapper/AirtopWindows.d.ts +2 -2
  101. package/package.json +3 -2
  102. package/reference.md +2 -2
  103. package/serialization/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +1 -0
  104. package/serialization/resources/windows/client/requests/CreateWindowInputV1Body.js +1 -0
  105. package/serialization/resources/windows/client/requests/{PromptContentRequest.d.ts → SessionContentPromptHandlerRequestBody.d.ts} +2 -4
  106. package/serialization/resources/windows/client/requests/{PromptContentRequest.js → SessionContentPromptHandlerRequestBody.js} +2 -4
  107. package/serialization/resources/windows/client/requests/{SummarizeContentRequest.d.ts → SessionSummaryHandlerRequestBody.d.ts} +2 -4
  108. package/serialization/resources/windows/client/requests/{SummarizeContentRequest.js → SessionSummaryHandlerRequestBody.js} +2 -4
  109. package/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +1 -0
  110. package/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.js +1 -0
  111. package/serialization/resources/windows/client/requests/index.d.ts +2 -2
  112. package/serialization/resources/windows/client/requests/index.js +5 -5
  113. package/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +1 -1
  114. package/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +1 -1
  115. package/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +1 -1
  116. package/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +1 -1
  117. package/serialization/types/CustomProxy.d.ts +11 -0
  118. package/serialization/types/CustomProxy.js +32 -0
  119. package/serialization/types/ErrorDetail.d.ts +14 -0
  120. package/serialization/types/ErrorDetail.js +35 -0
  121. package/serialization/types/ErrorModel.d.ts +18 -0
  122. package/serialization/types/ErrorModel.js +39 -0
  123. package/serialization/types/Proxy.d.ts +14 -0
  124. package/serialization/types/Proxy.js +35 -0
  125. package/serialization/types/SessionConfigV1.d.ts +2 -0
  126. package/serialization/types/SessionConfigV1.js +2 -0
  127. package/serialization/types/SessionConfigV1Proxy.d.ts +12 -0
  128. package/serialization/types/SessionConfigV1Proxy.js +33 -0
  129. package/serialization/types/SessionConfigV1ProxyItem.d.ts +14 -0
  130. package/serialization/types/SessionConfigV1ProxyItem.js +35 -0
  131. package/serialization/types/index.d.ts +6 -1
  132. package/serialization/types/index.js +6 -1
  133. package/wrapper/AirtopClient.d.ts +1 -1
  134. package/wrapper/AirtopWindows.d.ts +2 -2
  135. package/api/types/ErrorEnvelope.d.ts +0 -12
  136. package/dist/api/types/ErrorEnvelope.d.ts +0 -12
  137. package/dist/serialization/types/ErrorEnvelope.d.ts +0 -18
  138. package/serialization/types/ErrorEnvelope.d.ts +0 -18
  139. /package/api/resources/windows/client/requests/{PromptContentRequest.js → SessionContentPromptHandlerRequestBody.js} +0 -0
  140. /package/api/resources/windows/client/requests/{SummarizeContentRequest.js → SessionSummaryHandlerRequestBody.js} +0 -0
  141. /package/api/types/{ErrorEnvelope.js → CustomProxy.js} +0 -0
  142. /package/{dist/api/resources/windows/client/requests/PromptContentRequest.js → api/types/ErrorDetail.js} +0 -0
  143. /package/{dist/api/resources/windows/client/requests/SummarizeContentRequest.js → api/types/ErrorModel.js} +0 -0
  144. /package/{dist/api/types/ErrorEnvelope.js → api/types/Proxy.js} +0 -0
@@ -0,0 +1,35 @@
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.Proxy = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.Proxy = core.serialization.object({
32
+ password: core.serialization.string().optional(),
33
+ url: core.serialization.string(),
34
+ username: core.serialization.string().optional(),
35
+ });
@@ -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 { SessionConfigV1Proxy } from "./SessionConfigV1Proxy";
7
8
  export declare const SessionConfigV1: core.serialization.ObjectSchema<serializers.SessionConfigV1.Raw, Airtop.SessionConfigV1>;
8
9
  export declare namespace SessionConfigV1 {
9
10
  interface Raw {
10
11
  baseProfileId?: string | null;
11
12
  persistProfile?: boolean | null;
13
+ proxy?: SessionConfigV1Proxy.Raw | null;
12
14
  timeoutMinutes?: number | null;
13
15
  }
14
16
  }
@@ -28,8 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.SessionConfigV1 = void 0;
30
30
  const core = __importStar(require("../../core"));
31
+ const SessionConfigV1Proxy_1 = require("./SessionConfigV1Proxy");
31
32
  exports.SessionConfigV1 = core.serialization.object({
32
33
  baseProfileId: core.serialization.string().optional(),
33
34
  persistProfile: core.serialization.boolean().optional(),
35
+ proxy: SessionConfigV1Proxy_1.SessionConfigV1Proxy.optional(),
34
36
  timeoutMinutes: core.serialization.number().optional(),
35
37
  });
@@ -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
+ import { CustomProxy } from "./CustomProxy";
8
+ import { SessionConfigV1ProxyItem } from "./SessionConfigV1ProxyItem";
9
+ export declare const SessionConfigV1Proxy: core.serialization.Schema<serializers.SessionConfigV1Proxy.Raw, Airtop.SessionConfigV1Proxy>;
10
+ export declare namespace SessionConfigV1Proxy {
11
+ type Raw = CustomProxy.Raw | SessionConfigV1ProxyItem.Raw[];
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.SessionConfigV1Proxy = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const CustomProxy_1 = require("./CustomProxy");
32
+ const SessionConfigV1ProxyItem_1 = require("./SessionConfigV1ProxyItem");
33
+ exports.SessionConfigV1Proxy = core.serialization.undiscriminatedUnion([CustomProxy_1.CustomProxy, core.serialization.list(SessionConfigV1ProxyItem_1.SessionConfigV1ProxyItem)]);
@@ -0,0 +1,14 @@
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 { CustomProxy } from "./CustomProxy";
8
+ export declare const SessionConfigV1ProxyItem: core.serialization.ObjectSchema<serializers.SessionConfigV1ProxyItem.Raw, Airtop.SessionConfigV1ProxyItem>;
9
+ export declare namespace SessionConfigV1ProxyItem {
10
+ interface Raw {
11
+ domainPattern: string;
12
+ relay: CustomProxy.Raw;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
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.SessionConfigV1ProxyItem = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const CustomProxy_1 = require("./CustomProxy");
32
+ exports.SessionConfigV1ProxyItem = core.serialization.object({
33
+ domainPattern: core.serialization.string(),
34
+ relay: CustomProxy_1.CustomProxy,
35
+ });
@@ -6,8 +6,9 @@ export * from "./EmptyResponseJson";
6
6
  export * from "./EnvelopeDefaultMeta";
7
7
  export * from "./EnvelopeStatusDefaultMetaStatus";
8
8
  export * from "./EnvelopeStatusDefaultMeta";
9
- export * from "./ErrorEnvelope";
9
+ export * from "./ErrorDetail";
10
10
  export * from "./ErrorMessage";
11
+ export * from "./ErrorModel";
11
12
  export * from "./ExternalProfileV1";
12
13
  export * from "./ExternalSessionAiResponseMetadataStatus";
13
14
  export * from "./ExternalSessionAiResponseMetadata";
@@ -23,6 +24,10 @@ export * from "./ScrapeResponse";
23
24
  export * from "./ScrapeResponseContent";
24
25
  export * from "./ScrapeResponseEnvelope";
25
26
  export * from "./ScrapeResponseOutput";
27
+ export * from "./Proxy";
28
+ export * from "./CustomProxy";
29
+ export * from "./SessionConfigV1ProxyItem";
30
+ export * from "./SessionConfigV1Proxy";
26
31
  export * from "./SessionConfigV1";
27
32
  export * from "./SessionResponse";
28
33
  export * from "./SessionsResponse";
@@ -22,8 +22,9 @@ __exportStar(require("./EmptyResponseJson"), exports);
22
22
  __exportStar(require("./EnvelopeDefaultMeta"), exports);
23
23
  __exportStar(require("./EnvelopeStatusDefaultMetaStatus"), exports);
24
24
  __exportStar(require("./EnvelopeStatusDefaultMeta"), exports);
25
- __exportStar(require("./ErrorEnvelope"), exports);
25
+ __exportStar(require("./ErrorDetail"), exports);
26
26
  __exportStar(require("./ErrorMessage"), exports);
27
+ __exportStar(require("./ErrorModel"), exports);
27
28
  __exportStar(require("./ExternalProfileV1"), exports);
28
29
  __exportStar(require("./ExternalSessionAiResponseMetadataStatus"), exports);
29
30
  __exportStar(require("./ExternalSessionAiResponseMetadata"), exports);
@@ -39,6 +40,10 @@ __exportStar(require("./ScrapeResponse"), exports);
39
40
  __exportStar(require("./ScrapeResponseContent"), exports);
40
41
  __exportStar(require("./ScrapeResponseEnvelope"), exports);
41
42
  __exportStar(require("./ScrapeResponseOutput"), exports);
43
+ __exportStar(require("./Proxy"), exports);
44
+ __exportStar(require("./CustomProxy"), exports);
45
+ __exportStar(require("./SessionConfigV1ProxyItem"), exports);
46
+ __exportStar(require("./SessionConfigV1Proxy"), exports);
42
47
  __exportStar(require("./SessionConfigV1"), exports);
43
48
  __exportStar(require("./SessionResponse"), exports);
44
49
  __exportStar(require("./SessionsResponse"), exports);
@@ -9,7 +9,7 @@ export declare class AirtopClient {
9
9
  private _client;
10
10
  private _windowsWrapper;
11
11
  private _sessionsWrapper;
12
- constructor(options?: AugmentedOptions);
12
+ constructor(options: AugmentedOptions);
13
13
  get windows(): AirtopWindows;
14
14
  get sessions(): AirtopSessions;
15
15
  get profiles(): import("../api/resources/profiles/client/Client").Profiles;
@@ -27,9 +27,9 @@ export declare class AirtopWindows {
27
27
  loadUrl(sessionId: string, windowId: string, request: Airtop.WindowLoadUrlV1Body, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.EmptyResponse>;
28
28
  close(sessionId: string, windowId: string, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowIdResponse>;
29
29
  getWindowInfo(sessionId: string, windowId: string, request?: Airtop.GetWindowInfoRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowResponse>;
30
- promptContent(sessionId: string, windowId: string, request: Airtop.PromptContentRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
30
+ promptContent(sessionId: string, windowId: string, request: Airtop.SessionContentPromptHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
31
31
  scrapeContent(sessionId: string, windowId: string, request?: Airtop.ScrapeContentRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.ScrapeResponse>;
32
- summarizeContent(sessionId: string, windowId: string, request?: Airtop.SummarizeContentRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
32
+ summarizeContent(sessionId: string, windowId: string, request?: Airtop.SessionSummaryHandlerRequestBody, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
33
33
  getWindowInfoForPuppeteerPage(session: Airtop.ExternalSessionWithConnectionInfo, page: puppeteer.Page, request?: Airtop.GetWindowInfoRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowResponse>;
34
34
  getWindowInfoForPlaywrightPage(session: Airtop.ExternalSessionWithConnectionInfo, page: playwright.Page, request?: Airtop.GetWindowInfoRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowResponse>;
35
35
  private executeSeleniumCDPCommand;
@@ -1,12 +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 ErrorEnvelope {
6
- httpStatus: number;
7
- message: string;
8
- data?: unknown;
9
- errors?: Airtop.Issue[];
10
- meta?: unknown;
11
- warnings?: Airtop.Issue[];
12
- }
@@ -1,12 +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 ErrorEnvelope {
6
- httpStatus: number;
7
- message: string;
8
- data?: unknown;
9
- errors?: Airtop.Issue[];
10
- meta?: unknown;
11
- warnings?: Airtop.Issue[];
12
- }
@@ -1,18 +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 { Issue } from "./Issue";
8
- export declare const ErrorEnvelope: core.serialization.ObjectSchema<serializers.ErrorEnvelope.Raw, Airtop.ErrorEnvelope>;
9
- export declare namespace ErrorEnvelope {
10
- interface Raw {
11
- HttpStatus: number;
12
- Message: string;
13
- data?: unknown;
14
- errors?: Issue.Raw[] | null;
15
- meta?: unknown;
16
- warnings?: Issue.Raw[] | null;
17
- }
18
- }
@@ -1,18 +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 { Issue } from "./Issue";
8
- export declare const ErrorEnvelope: core.serialization.ObjectSchema<serializers.ErrorEnvelope.Raw, Airtop.ErrorEnvelope>;
9
- export declare namespace ErrorEnvelope {
10
- interface Raw {
11
- HttpStatus: number;
12
- Message: string;
13
- data?: unknown;
14
- errors?: Issue.Raw[] | null;
15
- meta?: unknown;
16
- warnings?: Issue.Raw[] | null;
17
- }
18
- }
File without changes