@airtop/sdk 0.1.0 → 0.1.1

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 (178) hide show
  1. package/api/resources/index.d.ts +2 -1
  2. package/api/resources/index.js +3 -2
  3. package/api/resources/profiles/client/Client.js +4 -4
  4. package/api/resources/sessions/client/Client.js +10 -10
  5. package/api/resources/windows/client/Client.d.ts +30 -0
  6. package/api/resources/windows/client/Client.js +191 -9
  7. package/api/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +16 -0
  8. package/api/resources/windows/client/requests/CreateWindowInputV1Body.js +5 -0
  9. package/api/resources/windows/client/requests/PromptContentRequest.d.ts +3 -0
  10. package/api/resources/windows/client/requests/SummarizeContentRequest.d.ts +3 -0
  11. package/api/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +16 -0
  12. package/api/resources/windows/client/requests/WindowLoadUrlV1Body.js +5 -0
  13. package/api/resources/windows/client/requests/index.d.ts +2 -0
  14. package/api/resources/windows/index.d.ts +1 -0
  15. package/api/resources/windows/index.js +1 -0
  16. package/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +11 -0
  17. package/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +10 -0
  18. package/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +11 -0
  19. package/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +10 -0
  20. package/api/resources/windows/types/index.d.ts +2 -0
  21. package/api/resources/windows/types/index.js +18 -0
  22. package/api/types/EmptyResponse.d.ts +10 -0
  23. package/api/types/EmptyResponse.js +5 -0
  24. package/api/types/EmptyResponseJson.d.ts +7 -0
  25. package/api/types/EmptyResponseJson.js +5 -0
  26. package/api/types/EnvelopeStatusDefaultMeta.d.ts +8 -0
  27. package/api/types/EnvelopeStatusDefaultMeta.js +5 -0
  28. package/api/types/EnvelopeStatusDefaultMetaStatus.d.ts +9 -0
  29. package/api/types/EnvelopeStatusDefaultMetaStatus.js +11 -0
  30. package/api/types/PromptContentConfig.d.ts +8 -0
  31. package/api/types/PromptContentConfig.js +5 -0
  32. package/api/types/PromptContentExperimentalConfig.d.ts +7 -0
  33. package/api/types/PromptContentExperimentalConfig.js +5 -0
  34. package/api/types/SummaryConfig.d.ts +7 -0
  35. package/api/types/SummaryConfig.js +5 -0
  36. package/api/types/SummaryExperimentalConfig.d.ts +7 -0
  37. package/api/types/SummaryExperimentalConfig.js +5 -0
  38. package/api/types/WindowId.d.ts +9 -0
  39. package/api/types/WindowId.js +5 -0
  40. package/api/types/WindowIdResponse.d.ts +10 -0
  41. package/api/types/WindowIdResponse.js +5 -0
  42. package/api/types/index.d.ts +10 -0
  43. package/api/types/index.js +10 -0
  44. package/dist/api/resources/index.d.ts +2 -1
  45. package/dist/api/resources/index.js +3 -2
  46. package/dist/api/resources/profiles/client/Client.js +4 -4
  47. package/dist/api/resources/sessions/client/Client.js +10 -10
  48. package/dist/api/resources/windows/client/Client.d.ts +30 -0
  49. package/dist/api/resources/windows/client/Client.js +191 -9
  50. package/dist/api/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +16 -0
  51. package/dist/api/resources/windows/client/requests/CreateWindowInputV1Body.js +5 -0
  52. package/dist/api/resources/windows/client/requests/PromptContentRequest.d.ts +3 -0
  53. package/dist/api/resources/windows/client/requests/SummarizeContentRequest.d.ts +3 -0
  54. package/dist/api/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +16 -0
  55. package/dist/api/resources/windows/client/requests/WindowLoadUrlV1Body.js +5 -0
  56. package/dist/api/resources/windows/client/requests/index.d.ts +2 -0
  57. package/dist/api/resources/windows/index.d.ts +1 -0
  58. package/dist/api/resources/windows/index.js +1 -0
  59. package/dist/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +11 -0
  60. package/dist/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +10 -0
  61. package/dist/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +11 -0
  62. package/dist/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +10 -0
  63. package/dist/api/resources/windows/types/index.d.ts +2 -0
  64. package/dist/api/resources/windows/types/index.js +18 -0
  65. package/dist/api/types/EmptyResponse.d.ts +10 -0
  66. package/dist/api/types/EmptyResponse.js +5 -0
  67. package/dist/api/types/EmptyResponseJson.d.ts +7 -0
  68. package/dist/api/types/EmptyResponseJson.js +5 -0
  69. package/dist/api/types/EnvelopeStatusDefaultMeta.d.ts +8 -0
  70. package/dist/api/types/EnvelopeStatusDefaultMeta.js +5 -0
  71. package/dist/api/types/EnvelopeStatusDefaultMetaStatus.d.ts +9 -0
  72. package/dist/api/types/EnvelopeStatusDefaultMetaStatus.js +11 -0
  73. package/dist/api/types/PromptContentConfig.d.ts +8 -0
  74. package/dist/api/types/PromptContentConfig.js +5 -0
  75. package/dist/api/types/PromptContentExperimentalConfig.d.ts +7 -0
  76. package/dist/api/types/PromptContentExperimentalConfig.js +5 -0
  77. package/dist/api/types/SummaryConfig.d.ts +7 -0
  78. package/dist/api/types/SummaryConfig.js +5 -0
  79. package/dist/api/types/SummaryExperimentalConfig.d.ts +7 -0
  80. package/dist/api/types/SummaryExperimentalConfig.js +5 -0
  81. package/dist/api/types/WindowId.d.ts +9 -0
  82. package/dist/api/types/WindowId.js +5 -0
  83. package/dist/api/types/WindowIdResponse.d.ts +10 -0
  84. package/dist/api/types/WindowIdResponse.js +5 -0
  85. package/dist/api/types/index.d.ts +10 -0
  86. package/dist/api/types/index.js +10 -0
  87. package/dist/index.js +1 -0
  88. package/dist/serialization/resources/index.d.ts +2 -1
  89. package/dist/serialization/resources/index.js +2 -1
  90. package/dist/serialization/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +15 -0
  91. package/dist/serialization/resources/windows/client/requests/CreateWindowInputV1Body.js +36 -0
  92. package/dist/serialization/resources/windows/client/requests/PromptContentRequest.d.ts +2 -0
  93. package/dist/serialization/resources/windows/client/requests/PromptContentRequest.js +2 -0
  94. package/dist/serialization/resources/windows/client/requests/SummarizeContentRequest.d.ts +2 -0
  95. package/dist/serialization/resources/windows/client/requests/SummarizeContentRequest.js +2 -0
  96. package/dist/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +14 -0
  97. package/dist/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.js +35 -0
  98. package/dist/serialization/resources/windows/client/requests/index.d.ts +2 -0
  99. package/dist/serialization/resources/windows/client/requests/index.js +5 -1
  100. package/dist/serialization/resources/windows/index.d.ts +1 -0
  101. package/dist/serialization/resources/windows/index.js +1 -0
  102. package/dist/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +10 -0
  103. package/dist/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +31 -0
  104. package/dist/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +10 -0
  105. package/dist/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +31 -0
  106. package/dist/serialization/resources/windows/types/index.d.ts +2 -0
  107. package/dist/serialization/resources/windows/types/index.js +18 -0
  108. package/dist/serialization/types/EmptyResponse.d.ts +18 -0
  109. package/dist/serialization/types/EmptyResponse.js +39 -0
  110. package/dist/serialization/types/EmptyResponseJson.d.ts +12 -0
  111. package/dist/serialization/types/EmptyResponseJson.js +33 -0
  112. package/dist/serialization/types/EnvelopeStatusDefaultMeta.d.ts +14 -0
  113. package/dist/serialization/types/EnvelopeStatusDefaultMeta.js +35 -0
  114. package/dist/serialization/types/EnvelopeStatusDefaultMetaStatus.d.ts +10 -0
  115. package/dist/serialization/types/EnvelopeStatusDefaultMetaStatus.js +31 -0
  116. package/dist/serialization/types/PromptContentConfig.d.ts +13 -0
  117. package/dist/serialization/types/PromptContentConfig.js +34 -0
  118. package/dist/serialization/types/PromptContentExperimentalConfig.d.ts +12 -0
  119. package/dist/serialization/types/PromptContentExperimentalConfig.js +33 -0
  120. package/dist/serialization/types/SummaryConfig.d.ts +13 -0
  121. package/dist/serialization/types/SummaryConfig.js +34 -0
  122. package/dist/serialization/types/SummaryExperimentalConfig.d.ts +12 -0
  123. package/dist/serialization/types/SummaryExperimentalConfig.js +33 -0
  124. package/dist/serialization/types/WindowId.d.ts +13 -0
  125. package/dist/serialization/types/WindowId.js +34 -0
  126. package/dist/serialization/types/WindowIdResponse.d.ts +18 -0
  127. package/dist/serialization/types/WindowIdResponse.js +39 -0
  128. package/dist/serialization/types/index.d.ts +10 -0
  129. package/dist/serialization/types/index.js +10 -0
  130. package/dist/wrapper/AirtopWindows.d.ts +3 -0
  131. package/dist/wrapper/AirtopWindows.js +15 -0
  132. package/index.js +1 -0
  133. package/package.json +1 -1
  134. package/reference.md +178 -0
  135. package/serialization/resources/index.d.ts +2 -1
  136. package/serialization/resources/index.js +2 -1
  137. package/serialization/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +15 -0
  138. package/serialization/resources/windows/client/requests/CreateWindowInputV1Body.js +36 -0
  139. package/serialization/resources/windows/client/requests/PromptContentRequest.d.ts +2 -0
  140. package/serialization/resources/windows/client/requests/PromptContentRequest.js +2 -0
  141. package/serialization/resources/windows/client/requests/SummarizeContentRequest.d.ts +2 -0
  142. package/serialization/resources/windows/client/requests/SummarizeContentRequest.js +2 -0
  143. package/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +14 -0
  144. package/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.js +35 -0
  145. package/serialization/resources/windows/client/requests/index.d.ts +2 -0
  146. package/serialization/resources/windows/client/requests/index.js +5 -1
  147. package/serialization/resources/windows/index.d.ts +1 -0
  148. package/serialization/resources/windows/index.js +1 -0
  149. package/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +10 -0
  150. package/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +31 -0
  151. package/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +10 -0
  152. package/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +31 -0
  153. package/serialization/resources/windows/types/index.d.ts +2 -0
  154. package/serialization/resources/windows/types/index.js +18 -0
  155. package/serialization/types/EmptyResponse.d.ts +18 -0
  156. package/serialization/types/EmptyResponse.js +39 -0
  157. package/serialization/types/EmptyResponseJson.d.ts +12 -0
  158. package/serialization/types/EmptyResponseJson.js +33 -0
  159. package/serialization/types/EnvelopeStatusDefaultMeta.d.ts +14 -0
  160. package/serialization/types/EnvelopeStatusDefaultMeta.js +35 -0
  161. package/serialization/types/EnvelopeStatusDefaultMetaStatus.d.ts +10 -0
  162. package/serialization/types/EnvelopeStatusDefaultMetaStatus.js +31 -0
  163. package/serialization/types/PromptContentConfig.d.ts +13 -0
  164. package/serialization/types/PromptContentConfig.js +34 -0
  165. package/serialization/types/PromptContentExperimentalConfig.d.ts +12 -0
  166. package/serialization/types/PromptContentExperimentalConfig.js +33 -0
  167. package/serialization/types/SummaryConfig.d.ts +13 -0
  168. package/serialization/types/SummaryConfig.js +34 -0
  169. package/serialization/types/SummaryExperimentalConfig.d.ts +12 -0
  170. package/serialization/types/SummaryExperimentalConfig.js +33 -0
  171. package/serialization/types/WindowId.d.ts +13 -0
  172. package/serialization/types/WindowId.js +34 -0
  173. package/serialization/types/WindowIdResponse.d.ts +18 -0
  174. package/serialization/types/WindowIdResponse.js +39 -0
  175. package/serialization/types/index.d.ts +10 -0
  176. package/serialization/types/index.js +10 -0
  177. package/wrapper/AirtopWindows.d.ts +3 -0
  178. package/wrapper/AirtopWindows.js +15 -0
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.WindowLoadUrlV1BodyWaitUntil = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.WindowLoadUrlV1BodyWaitUntil = core.serialization.enum_(["load", "domContentLoaded"]);
@@ -0,0 +1,2 @@
1
+ export * from "./CreateWindowInputV1BodyWaitUntil";
2
+ export * from "./WindowLoadUrlV1BodyWaitUntil";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./CreateWindowInputV1BodyWaitUntil"), exports);
18
+ __exportStar(require("./WindowLoadUrlV1BodyWaitUntil"), exports);
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Airtop from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { EmptyResponseJson } from "./EmptyResponseJson";
8
+ import { Issue } from "./Issue";
9
+ import { EnvelopeStatusDefaultMeta } from "./EnvelopeStatusDefaultMeta";
10
+ export declare const EmptyResponse: core.serialization.ObjectSchema<serializers.EmptyResponse.Raw, Airtop.EmptyResponse>;
11
+ export declare namespace EmptyResponse {
12
+ interface Raw {
13
+ data: EmptyResponseJson.Raw;
14
+ errors?: Issue.Raw[] | null;
15
+ meta: EnvelopeStatusDefaultMeta.Raw;
16
+ warnings?: Issue.Raw[] | null;
17
+ }
18
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.EmptyResponse = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const EmptyResponseJson_1 = require("./EmptyResponseJson");
32
+ const Issue_1 = require("./Issue");
33
+ const EnvelopeStatusDefaultMeta_1 = require("./EnvelopeStatusDefaultMeta");
34
+ exports.EmptyResponse = core.serialization.object({
35
+ data: EmptyResponseJson_1.EmptyResponseJson,
36
+ errors: core.serialization.list(Issue_1.Issue).optional(),
37
+ meta: EnvelopeStatusDefaultMeta_1.EnvelopeStatusDefaultMeta,
38
+ warnings: core.serialization.list(Issue_1.Issue).optional(),
39
+ });
@@ -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 EmptyResponseJson: core.serialization.ObjectSchema<serializers.EmptyResponseJson.Raw, Airtop.EmptyResponseJson>;
8
+ export declare namespace EmptyResponseJson {
9
+ interface Raw {
10
+ success: boolean;
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.EmptyResponseJson = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.EmptyResponseJson = core.serialization.object({
32
+ success: core.serialization.boolean(),
33
+ });
@@ -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 { EnvelopeStatusDefaultMetaStatus } from "./EnvelopeStatusDefaultMetaStatus";
8
+ export declare const EnvelopeStatusDefaultMeta: core.serialization.ObjectSchema<serializers.EnvelopeStatusDefaultMeta.Raw, Airtop.EnvelopeStatusDefaultMeta>;
9
+ export declare namespace EnvelopeStatusDefaultMeta {
10
+ interface Raw {
11
+ requestId?: string | null;
12
+ status?: EnvelopeStatusDefaultMetaStatus.Raw | null;
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.EnvelopeStatusDefaultMeta = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const EnvelopeStatusDefaultMetaStatus_1 = require("./EnvelopeStatusDefaultMetaStatus");
32
+ exports.EnvelopeStatusDefaultMeta = core.serialization.object({
33
+ requestId: core.serialization.string().optional(),
34
+ status: EnvelopeStatusDefaultMetaStatus_1.EnvelopeStatusDefaultMetaStatus.optional(),
35
+ });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Airtop from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const EnvelopeStatusDefaultMetaStatus: core.serialization.Schema<serializers.EnvelopeStatusDefaultMetaStatus.Raw, Airtop.EnvelopeStatusDefaultMetaStatus>;
8
+ export declare namespace EnvelopeStatusDefaultMetaStatus {
9
+ type Raw = "success" | " failure" | " timeout";
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.EnvelopeStatusDefaultMetaStatus = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.EnvelopeStatusDefaultMetaStatus = core.serialization.enum_(["success", " failure", " timeout"]);
@@ -0,0 +1,13 @@
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 { PromptContentExperimentalConfig } from "./PromptContentExperimentalConfig";
8
+ export declare const PromptContentConfig: core.serialization.ObjectSchema<serializers.PromptContentConfig.Raw, Airtop.PromptContentConfig>;
9
+ export declare namespace PromptContentConfig {
10
+ interface Raw {
11
+ experimental?: PromptContentExperimentalConfig.Raw | null;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
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.PromptContentConfig = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const PromptContentExperimentalConfig_1 = require("./PromptContentExperimentalConfig");
32
+ exports.PromptContentConfig = core.serialization.object({
33
+ experimental: PromptContentExperimentalConfig_1.PromptContentExperimentalConfig.optional(),
34
+ });
@@ -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 PromptContentExperimentalConfig: core.serialization.ObjectSchema<serializers.PromptContentExperimentalConfig.Raw, Airtop.PromptContentExperimentalConfig>;
8
+ export declare namespace PromptContentExperimentalConfig {
9
+ interface Raw {
10
+ includeVisualAnalysis?: 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.PromptContentExperimentalConfig = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.PromptContentExperimentalConfig = core.serialization.object({
32
+ includeVisualAnalysis: core.serialization.string().optional(),
33
+ });
@@ -0,0 +1,13 @@
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 { SummaryExperimentalConfig } from "./SummaryExperimentalConfig";
8
+ export declare const SummaryConfig: core.serialization.ObjectSchema<serializers.SummaryConfig.Raw, Airtop.SummaryConfig>;
9
+ export declare namespace SummaryConfig {
10
+ interface Raw {
11
+ experimental?: SummaryExperimentalConfig.Raw | null;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
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.SummaryConfig = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const SummaryExperimentalConfig_1 = require("./SummaryExperimentalConfig");
32
+ exports.SummaryConfig = core.serialization.object({
33
+ experimental: SummaryExperimentalConfig_1.SummaryExperimentalConfig.optional(),
34
+ });
@@ -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 SummaryExperimentalConfig: core.serialization.ObjectSchema<serializers.SummaryExperimentalConfig.Raw, Airtop.SummaryExperimentalConfig>;
8
+ export declare namespace SummaryExperimentalConfig {
9
+ interface Raw {
10
+ includeVisualAnalysis?: 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.SummaryExperimentalConfig = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.SummaryExperimentalConfig = core.serialization.object({
32
+ includeVisualAnalysis: core.serialization.string().optional(),
33
+ });
@@ -0,0 +1,13 @@
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 WindowId: core.serialization.ObjectSchema<serializers.WindowId.Raw, Airtop.WindowId>;
8
+ export declare namespace WindowId {
9
+ interface Raw {
10
+ targetId: string;
11
+ windowId: string;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
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.WindowId = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.WindowId = core.serialization.object({
32
+ targetId: core.serialization.string(),
33
+ windowId: core.serialization.string(),
34
+ });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Airtop from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { WindowId } from "./WindowId";
8
+ import { Issue } from "./Issue";
9
+ import { EnvelopeDefaultMeta } from "./EnvelopeDefaultMeta";
10
+ export declare const WindowIdResponse: core.serialization.ObjectSchema<serializers.WindowIdResponse.Raw, Airtop.WindowIdResponse>;
11
+ export declare namespace WindowIdResponse {
12
+ interface Raw {
13
+ data: WindowId.Raw;
14
+ errors?: Issue.Raw[] | null;
15
+ meta: EnvelopeDefaultMeta.Raw;
16
+ warnings?: Issue.Raw[] | null;
17
+ }
18
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.WindowIdResponse = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const WindowId_1 = require("./WindowId");
32
+ const Issue_1 = require("./Issue");
33
+ const EnvelopeDefaultMeta_1 = require("./EnvelopeDefaultMeta");
34
+ exports.WindowIdResponse = core.serialization.object({
35
+ data: WindowId_1.WindowId,
36
+ errors: core.serialization.list(Issue_1.Issue).optional(),
37
+ meta: EnvelopeDefaultMeta_1.EnvelopeDefaultMeta,
38
+ warnings: core.serialization.list(Issue_1.Issue).optional(),
39
+ });
@@ -1,7 +1,11 @@
1
1
  export * from "./AiPromptResponse";
2
2
  export * from "./AiResponseEnvelope";
3
3
  export * from "./ClientProvidedResponseMetadata";
4
+ export * from "./EmptyResponse";
5
+ export * from "./EmptyResponseJson";
4
6
  export * from "./EnvelopeDefaultMeta";
7
+ export * from "./EnvelopeStatusDefaultMetaStatus";
8
+ export * from "./EnvelopeStatusDefaultMeta";
5
9
  export * from "./ErrorEnvelope";
6
10
  export * from "./ErrorMessage";
7
11
  export * from "./ExternalProfileV1";
@@ -13,6 +17,8 @@ export * from "./ExternalSessionWithConnectionInfo";
13
17
  export * from "./Issue";
14
18
  export * from "./Pagination";
15
19
  export * from "./ProfilesResponse";
20
+ export * from "./PromptContentConfig";
21
+ export * from "./PromptContentExperimentalConfig";
16
22
  export * from "./ScrapeResponse";
17
23
  export * from "./ScrapeResponseContent";
18
24
  export * from "./ScrapeResponseEnvelope";
@@ -23,5 +29,9 @@ export * from "./SessionsResponse";
23
29
  export * from "./SessionsWithPagination";
24
30
  export * from "./StatusMessageStatus";
25
31
  export * from "./StatusMessage";
32
+ export * from "./SummaryConfig";
33
+ export * from "./SummaryExperimentalConfig";
26
34
  export * from "./Window";
35
+ export * from "./WindowId";
36
+ export * from "./WindowIdResponse";
27
37
  export * from "./WindowResponse";
@@ -17,7 +17,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./AiPromptResponse"), exports);
18
18
  __exportStar(require("./AiResponseEnvelope"), exports);
19
19
  __exportStar(require("./ClientProvidedResponseMetadata"), exports);
20
+ __exportStar(require("./EmptyResponse"), exports);
21
+ __exportStar(require("./EmptyResponseJson"), exports);
20
22
  __exportStar(require("./EnvelopeDefaultMeta"), exports);
23
+ __exportStar(require("./EnvelopeStatusDefaultMetaStatus"), exports);
24
+ __exportStar(require("./EnvelopeStatusDefaultMeta"), exports);
21
25
  __exportStar(require("./ErrorEnvelope"), exports);
22
26
  __exportStar(require("./ErrorMessage"), exports);
23
27
  __exportStar(require("./ExternalProfileV1"), exports);
@@ -29,6 +33,8 @@ __exportStar(require("./ExternalSessionWithConnectionInfo"), exports);
29
33
  __exportStar(require("./Issue"), exports);
30
34
  __exportStar(require("./Pagination"), exports);
31
35
  __exportStar(require("./ProfilesResponse"), exports);
36
+ __exportStar(require("./PromptContentConfig"), exports);
37
+ __exportStar(require("./PromptContentExperimentalConfig"), exports);
32
38
  __exportStar(require("./ScrapeResponse"), exports);
33
39
  __exportStar(require("./ScrapeResponseContent"), exports);
34
40
  __exportStar(require("./ScrapeResponseEnvelope"), exports);
@@ -39,5 +45,9 @@ __exportStar(require("./SessionsResponse"), exports);
39
45
  __exportStar(require("./SessionsWithPagination"), exports);
40
46
  __exportStar(require("./StatusMessageStatus"), exports);
41
47
  __exportStar(require("./StatusMessage"), exports);
48
+ __exportStar(require("./SummaryConfig"), exports);
49
+ __exportStar(require("./SummaryExperimentalConfig"), exports);
42
50
  __exportStar(require("./Window"), exports);
51
+ __exportStar(require("./WindowId"), exports);
52
+ __exportStar(require("./WindowIdResponse"), exports);
43
53
  __exportStar(require("./WindowResponse"), exports);
@@ -23,6 +23,9 @@ export declare class AirtopWindows {
23
23
  private apiKeySupplier;
24
24
  private _windows;
25
25
  constructor(airtopClient: FernClient, apiKeySupplier: core.Supplier<core.BearerToken | undefined>);
26
+ create(sessionId: string, request: Airtop.CreateWindowInputV1Body, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowIdResponse>;
27
+ loadUrl(sessionId: string, windowId: string, request: Airtop.WindowLoadUrlV1Body, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.EmptyResponse>;
28
+ close(sessionId: string, windowId: string, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowIdResponse>;
26
29
  getWindowInfo(sessionId: string, windowId: string, request?: Airtop.GetWindowInfoRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.WindowResponse>;
27
30
  promptContent(sessionId: string, windowId: string, request: Airtop.PromptContentRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.AiPromptResponse>;
28
31
  scrapeContent(sessionId: string, windowId: string, request?: Airtop.ScrapeContentRequest, requestOptions?: WindowsNamespace.RequestOptions): Promise<Airtop.ScrapeResponse>;