@airtop/sdk 0.1.0 → 0.1.2
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.
- package/api/resources/index.d.ts +2 -1
- package/api/resources/index.js +3 -2
- package/api/resources/profiles/client/Client.js +4 -4
- package/api/resources/sessions/client/Client.js +10 -10
- package/api/resources/windows/client/Client.d.ts +30 -0
- package/api/resources/windows/client/Client.js +191 -9
- package/api/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +16 -0
- package/api/resources/windows/client/requests/CreateWindowInputV1Body.js +5 -0
- package/api/resources/windows/client/requests/PromptContentRequest.d.ts +3 -0
- package/api/resources/windows/client/requests/SummarizeContentRequest.d.ts +3 -0
- package/api/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +16 -0
- package/api/resources/windows/client/requests/WindowLoadUrlV1Body.js +5 -0
- package/api/resources/windows/client/requests/index.d.ts +2 -0
- package/api/resources/windows/index.d.ts +1 -0
- package/api/resources/windows/index.js +1 -0
- package/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +11 -0
- package/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +10 -0
- package/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +11 -0
- package/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +10 -0
- package/api/resources/windows/types/index.d.ts +2 -0
- package/api/resources/windows/types/index.js +18 -0
- package/api/types/EmptyResponse.d.ts +10 -0
- package/api/types/EmptyResponse.js +5 -0
- package/api/types/EmptyResponseJson.d.ts +7 -0
- package/api/types/EmptyResponseJson.js +5 -0
- package/api/types/EnvelopeStatusDefaultMeta.d.ts +8 -0
- package/api/types/EnvelopeStatusDefaultMeta.js +5 -0
- package/api/types/EnvelopeStatusDefaultMetaStatus.d.ts +9 -0
- package/api/types/EnvelopeStatusDefaultMetaStatus.js +11 -0
- package/api/types/PromptContentConfig.d.ts +8 -0
- package/api/types/PromptContentConfig.js +5 -0
- package/api/types/PromptContentExperimentalConfig.d.ts +7 -0
- package/api/types/PromptContentExperimentalConfig.js +5 -0
- package/api/types/SummaryConfig.d.ts +7 -0
- package/api/types/SummaryConfig.js +5 -0
- package/api/types/SummaryExperimentalConfig.d.ts +7 -0
- package/api/types/SummaryExperimentalConfig.js +5 -0
- package/api/types/WindowId.d.ts +9 -0
- package/api/types/WindowId.js +5 -0
- package/api/types/WindowIdResponse.d.ts +10 -0
- package/api/types/WindowIdResponse.js +5 -0
- package/api/types/index.d.ts +10 -0
- package/api/types/index.js +10 -0
- package/dist/api/resources/index.d.ts +2 -1
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/profiles/client/Client.js +4 -4
- package/dist/api/resources/sessions/client/Client.js +10 -10
- package/dist/api/resources/windows/client/Client.d.ts +30 -0
- package/dist/api/resources/windows/client/Client.js +191 -9
- package/dist/api/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +16 -0
- package/dist/api/resources/windows/client/requests/CreateWindowInputV1Body.js +5 -0
- package/dist/api/resources/windows/client/requests/PromptContentRequest.d.ts +3 -0
- package/dist/api/resources/windows/client/requests/SummarizeContentRequest.d.ts +3 -0
- package/dist/api/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +16 -0
- package/dist/api/resources/windows/client/requests/WindowLoadUrlV1Body.js +5 -0
- package/dist/api/resources/windows/client/requests/index.d.ts +2 -0
- package/dist/api/resources/windows/index.d.ts +1 -0
- package/dist/api/resources/windows/index.js +1 -0
- package/dist/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +11 -0
- package/dist/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +10 -0
- package/dist/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +11 -0
- package/dist/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +10 -0
- package/dist/api/resources/windows/types/index.d.ts +2 -0
- package/dist/api/resources/windows/types/index.js +18 -0
- package/dist/api/types/EmptyResponse.d.ts +10 -0
- package/dist/api/types/EmptyResponse.js +5 -0
- package/dist/api/types/EmptyResponseJson.d.ts +7 -0
- package/dist/api/types/EmptyResponseJson.js +5 -0
- package/dist/api/types/EnvelopeStatusDefaultMeta.d.ts +8 -0
- package/dist/api/types/EnvelopeStatusDefaultMeta.js +5 -0
- package/dist/api/types/EnvelopeStatusDefaultMetaStatus.d.ts +9 -0
- package/dist/api/types/EnvelopeStatusDefaultMetaStatus.js +11 -0
- package/dist/api/types/PromptContentConfig.d.ts +8 -0
- package/dist/api/types/PromptContentConfig.js +5 -0
- package/dist/api/types/PromptContentExperimentalConfig.d.ts +7 -0
- package/dist/api/types/PromptContentExperimentalConfig.js +5 -0
- package/dist/api/types/SummaryConfig.d.ts +7 -0
- package/dist/api/types/SummaryConfig.js +5 -0
- package/dist/api/types/SummaryExperimentalConfig.d.ts +7 -0
- package/dist/api/types/SummaryExperimentalConfig.js +5 -0
- package/dist/api/types/WindowId.d.ts +9 -0
- package/dist/api/types/WindowId.js +5 -0
- package/dist/api/types/WindowIdResponse.d.ts +10 -0
- package/dist/api/types/WindowIdResponse.js +5 -0
- package/dist/api/types/index.d.ts +10 -0
- package/dist/api/types/index.js +10 -0
- package/dist/serialization/resources/index.d.ts +2 -1
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +15 -0
- package/dist/serialization/resources/windows/client/requests/CreateWindowInputV1Body.js +36 -0
- package/dist/serialization/resources/windows/client/requests/PromptContentRequest.d.ts +2 -0
- package/dist/serialization/resources/windows/client/requests/PromptContentRequest.js +2 -0
- package/dist/serialization/resources/windows/client/requests/SummarizeContentRequest.d.ts +2 -0
- package/dist/serialization/resources/windows/client/requests/SummarizeContentRequest.js +2 -0
- package/dist/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +14 -0
- package/dist/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.js +35 -0
- package/dist/serialization/resources/windows/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/windows/client/requests/index.js +5 -1
- package/dist/serialization/resources/windows/index.d.ts +1 -0
- package/dist/serialization/resources/windows/index.js +1 -0
- package/dist/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +10 -0
- package/dist/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +31 -0
- package/dist/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +10 -0
- package/dist/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +31 -0
- package/dist/serialization/resources/windows/types/index.d.ts +2 -0
- package/dist/serialization/resources/windows/types/index.js +18 -0
- package/dist/serialization/types/EmptyResponse.d.ts +18 -0
- package/dist/serialization/types/EmptyResponse.js +39 -0
- package/dist/serialization/types/EmptyResponseJson.d.ts +12 -0
- package/dist/serialization/types/EmptyResponseJson.js +33 -0
- package/dist/serialization/types/EnvelopeStatusDefaultMeta.d.ts +14 -0
- package/dist/serialization/types/EnvelopeStatusDefaultMeta.js +35 -0
- package/dist/serialization/types/EnvelopeStatusDefaultMetaStatus.d.ts +10 -0
- package/dist/serialization/types/EnvelopeStatusDefaultMetaStatus.js +31 -0
- package/dist/serialization/types/PromptContentConfig.d.ts +13 -0
- package/dist/serialization/types/PromptContentConfig.js +34 -0
- package/dist/serialization/types/PromptContentExperimentalConfig.d.ts +12 -0
- package/dist/serialization/types/PromptContentExperimentalConfig.js +33 -0
- package/dist/serialization/types/SummaryConfig.d.ts +13 -0
- package/dist/serialization/types/SummaryConfig.js +34 -0
- package/dist/serialization/types/SummaryExperimentalConfig.d.ts +12 -0
- package/dist/serialization/types/SummaryExperimentalConfig.js +33 -0
- package/dist/serialization/types/WindowId.d.ts +13 -0
- package/dist/serialization/types/WindowId.js +34 -0
- package/dist/serialization/types/WindowIdResponse.d.ts +18 -0
- package/dist/serialization/types/WindowIdResponse.js +39 -0
- package/dist/serialization/types/index.d.ts +10 -0
- package/dist/serialization/types/index.js +10 -0
- package/dist/wrapper/AirtopWindows.d.ts +3 -0
- package/dist/wrapper/AirtopWindows.js +15 -0
- package/package.json +1 -1
- package/reference.md +178 -0
- package/serialization/resources/index.d.ts +2 -1
- package/serialization/resources/index.js +2 -1
- package/serialization/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +15 -0
- package/serialization/resources/windows/client/requests/CreateWindowInputV1Body.js +36 -0
- package/serialization/resources/windows/client/requests/PromptContentRequest.d.ts +2 -0
- package/serialization/resources/windows/client/requests/PromptContentRequest.js +2 -0
- package/serialization/resources/windows/client/requests/SummarizeContentRequest.d.ts +2 -0
- package/serialization/resources/windows/client/requests/SummarizeContentRequest.js +2 -0
- package/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +14 -0
- package/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.js +35 -0
- package/serialization/resources/windows/client/requests/index.d.ts +2 -0
- package/serialization/resources/windows/client/requests/index.js +5 -1
- package/serialization/resources/windows/index.d.ts +1 -0
- package/serialization/resources/windows/index.js +1 -0
- package/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +10 -0
- package/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +31 -0
- package/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +10 -0
- package/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +31 -0
- package/serialization/resources/windows/types/index.d.ts +2 -0
- package/serialization/resources/windows/types/index.js +18 -0
- package/serialization/types/EmptyResponse.d.ts +18 -0
- package/serialization/types/EmptyResponse.js +39 -0
- package/serialization/types/EmptyResponseJson.d.ts +12 -0
- package/serialization/types/EmptyResponseJson.js +33 -0
- package/serialization/types/EnvelopeStatusDefaultMeta.d.ts +14 -0
- package/serialization/types/EnvelopeStatusDefaultMeta.js +35 -0
- package/serialization/types/EnvelopeStatusDefaultMetaStatus.d.ts +10 -0
- package/serialization/types/EnvelopeStatusDefaultMetaStatus.js +31 -0
- package/serialization/types/PromptContentConfig.d.ts +13 -0
- package/serialization/types/PromptContentConfig.js +34 -0
- package/serialization/types/PromptContentExperimentalConfig.d.ts +12 -0
- package/serialization/types/PromptContentExperimentalConfig.js +33 -0
- package/serialization/types/SummaryConfig.d.ts +13 -0
- package/serialization/types/SummaryConfig.js +34 -0
- package/serialization/types/SummaryExperimentalConfig.d.ts +12 -0
- package/serialization/types/SummaryExperimentalConfig.js +33 -0
- package/serialization/types/WindowId.d.ts +13 -0
- package/serialization/types/WindowId.js +34 -0
- package/serialization/types/WindowIdResponse.d.ts +18 -0
- package/serialization/types/WindowIdResponse.js +39 -0
- package/serialization/types/index.d.ts +10 -0
- package/serialization/types/index.js +10 -0
- package/wrapper/AirtopWindows.d.ts +3 -0
- package/wrapper/AirtopWindows.js +15 -0
package/api/resources/index.d.ts
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
export * as sessions from "./sessions";
|
2
2
|
export * from "./sessions/types";
|
3
|
-
export * as profiles from "./profiles";
|
4
3
|
export * as windows from "./windows";
|
4
|
+
export * from "./windows/types";
|
5
|
+
export * as profiles from "./profiles";
|
5
6
|
export * from "./profiles/client/requests";
|
6
7
|
export * from "./sessions/client/requests";
|
7
8
|
export * from "./windows/client/requests";
|
package/api/resources/index.js
CHANGED
@@ -26,11 +26,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.
|
29
|
+
exports.profiles = exports.windows = exports.sessions = void 0;
|
30
30
|
exports.sessions = __importStar(require("./sessions"));
|
31
31
|
__exportStar(require("./sessions/types"), exports);
|
32
|
-
exports.profiles = __importStar(require("./profiles"));
|
33
32
|
exports.windows = __importStar(require("./windows"));
|
33
|
+
__exportStar(require("./windows/types"), exports);
|
34
|
+
exports.profiles = __importStar(require("./profiles"));
|
34
35
|
__exportStar(require("./profiles/client/requests"), exports);
|
35
36
|
__exportStar(require("./sessions/client/requests"), exports);
|
36
37
|
__exportStar(require("./windows/client/requests"), exports);
|
@@ -77,8 +77,8 @@ class Profiles {
|
|
77
77
|
Authorization: yield this._getAuthorizationHeader(),
|
78
78
|
"X-Fern-Language": "JavaScript",
|
79
79
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
80
|
-
"X-Fern-SDK-Version": "0.1.
|
81
|
-
"User-Agent": "@airtop/sdk/0.1.
|
80
|
+
"X-Fern-SDK-Version": "0.1.2",
|
81
|
+
"User-Agent": "@airtop/sdk/0.1.2",
|
82
82
|
"X-Fern-Runtime": core.RUNTIME.type,
|
83
83
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
84
84
|
},
|
@@ -148,8 +148,8 @@ class Profiles {
|
|
148
148
|
Authorization: yield this._getAuthorizationHeader(),
|
149
149
|
"X-Fern-Language": "JavaScript",
|
150
150
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
151
|
-
"X-Fern-SDK-Version": "0.1.
|
152
|
-
"User-Agent": "@airtop/sdk/0.1.
|
151
|
+
"X-Fern-SDK-Version": "0.1.2",
|
152
|
+
"User-Agent": "@airtop/sdk/0.1.2",
|
153
153
|
"X-Fern-Runtime": core.RUNTIME.type,
|
154
154
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
155
155
|
},
|
@@ -94,8 +94,8 @@ class Sessions {
|
|
94
94
|
Authorization: yield this._getAuthorizationHeader(),
|
95
95
|
"X-Fern-Language": "JavaScript",
|
96
96
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
97
|
-
"X-Fern-SDK-Version": "0.1.
|
98
|
-
"User-Agent": "@airtop/sdk/0.1.
|
97
|
+
"X-Fern-SDK-Version": "0.1.2",
|
98
|
+
"User-Agent": "@airtop/sdk/0.1.2",
|
99
99
|
"X-Fern-Runtime": core.RUNTIME.type,
|
100
100
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
101
101
|
},
|
@@ -180,8 +180,8 @@ class Sessions {
|
|
180
180
|
Authorization: yield this._getAuthorizationHeader(),
|
181
181
|
"X-Fern-Language": "JavaScript",
|
182
182
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
183
|
-
"X-Fern-SDK-Version": "0.1.
|
184
|
-
"User-Agent": "@airtop/sdk/0.1.
|
183
|
+
"X-Fern-SDK-Version": "0.1.2",
|
184
|
+
"User-Agent": "@airtop/sdk/0.1.2",
|
185
185
|
"X-Fern-Runtime": core.RUNTIME.type,
|
186
186
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
187
187
|
},
|
@@ -245,8 +245,8 @@ class Sessions {
|
|
245
245
|
Authorization: yield this._getAuthorizationHeader(),
|
246
246
|
"X-Fern-Language": "JavaScript",
|
247
247
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
248
|
-
"X-Fern-SDK-Version": "0.1.
|
249
|
-
"User-Agent": "@airtop/sdk/0.1.
|
248
|
+
"X-Fern-SDK-Version": "0.1.2",
|
249
|
+
"User-Agent": "@airtop/sdk/0.1.2",
|
250
250
|
"X-Fern-Runtime": core.RUNTIME.type,
|
251
251
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
252
252
|
},
|
@@ -332,8 +332,8 @@ class Sessions {
|
|
332
332
|
Authorization: yield this._getAuthorizationHeader(),
|
333
333
|
"X-Fern-Language": "JavaScript",
|
334
334
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
335
|
-
"X-Fern-SDK-Version": "0.1.
|
336
|
-
"User-Agent": "@airtop/sdk/0.1.
|
335
|
+
"X-Fern-SDK-Version": "0.1.2",
|
336
|
+
"User-Agent": "@airtop/sdk/0.1.2",
|
337
337
|
"X-Fern-Runtime": core.RUNTIME.type,
|
338
338
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
339
339
|
},
|
@@ -380,8 +380,8 @@ class Sessions {
|
|
380
380
|
Authorization: yield this._getAuthorizationHeader(),
|
381
381
|
"X-Fern-Language": "JavaScript",
|
382
382
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
383
|
-
"X-Fern-SDK-Version": "0.1.
|
384
|
-
"User-Agent": "@airtop/sdk/0.1.
|
383
|
+
"X-Fern-SDK-Version": "0.1.2",
|
384
|
+
"User-Agent": "@airtop/sdk/0.1.2",
|
385
385
|
"X-Fern-Runtime": core.RUNTIME.type,
|
386
386
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
387
387
|
},
|
@@ -22,6 +22,15 @@ export declare namespace Windows {
|
|
22
22
|
export declare class Windows {
|
23
23
|
protected readonly _options: Windows.Options;
|
24
24
|
constructor(_options?: Windows.Options);
|
25
|
+
/**
|
26
|
+
* @param {string} sessionId - ID of the session that owns the window.
|
27
|
+
* @param {Airtop.CreateWindowInputV1Body} request
|
28
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
29
|
+
*
|
30
|
+
* @example
|
31
|
+
* await client.windows.create("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b")
|
32
|
+
*/
|
33
|
+
create(sessionId: string, request?: Airtop.CreateWindowInputV1Body, requestOptions?: Windows.RequestOptions): Promise<Airtop.WindowIdResponse>;
|
25
34
|
/**
|
26
35
|
* @param {string} sessionId - ID of the session that owns the window.
|
27
36
|
* @param {string} windowId - ID of the browser window, which can either be a normal AirTop windowId or a [CDP TargetId](https://chromedevtools.github.io/devtools-protocol/tot/Target/#type-TargetID) from a browser automation library like Puppeteer (typically associated with the page or main frame). Our SDKs will handle retrieving a TargetId for you from various popular browser automation libraries, but we also have details in our guides on how to do it manually.
|
@@ -34,6 +43,27 @@ export declare class Windows {
|
|
34
43
|
* })
|
35
44
|
*/
|
36
45
|
getWindowInfo(sessionId: string, windowId: string, request?: Airtop.GetWindowInfoRequest, requestOptions?: Windows.RequestOptions): Promise<Airtop.WindowResponse>;
|
46
|
+
/**
|
47
|
+
* @param {string} sessionId - ID of the session that owns the window.
|
48
|
+
* @param {string} windowId - Airtop window ID of the browser window.
|
49
|
+
* @param {Airtop.WindowLoadUrlV1Body} request
|
50
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
51
|
+
*
|
52
|
+
* @example
|
53
|
+
* await client.windows.loadUrl("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334da2a-91b0-42c5-6156-76a5eba87430", {
|
54
|
+
* url: "https://www.airtop.ai"
|
55
|
+
* })
|
56
|
+
*/
|
57
|
+
loadUrl(sessionId: string, windowId: string, request: Airtop.WindowLoadUrlV1Body, requestOptions?: Windows.RequestOptions): Promise<Airtop.EmptyResponse>;
|
58
|
+
/**
|
59
|
+
* @param {string} sessionId - ID of the session that owns the window.
|
60
|
+
* @param {string} windowId - Airtop window ID of the browser window.
|
61
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
62
|
+
*
|
63
|
+
* @example
|
64
|
+
* await client.windows.close("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334da2a-91b0-42c5-6156-76a5eba87430")
|
65
|
+
*/
|
66
|
+
close(sessionId: string, windowId: string, requestOptions?: Windows.RequestOptions): Promise<Airtop.WindowIdResponse>;
|
37
67
|
/**
|
38
68
|
* @param {string} sessionId - The session id for the window.
|
39
69
|
* @param {string} windowId - The Airtop window id of the browser window to target with an Airtop AI prompt.
|
@@ -41,13 +41,73 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
41
|
exports.Windows = void 0;
|
42
42
|
const environments = __importStar(require("../../../../environments"));
|
43
43
|
const core = __importStar(require("../../../../core"));
|
44
|
-
const url_join_1 = __importDefault(require("url-join"));
|
45
44
|
const serializers = __importStar(require("../../../../serialization/index"));
|
45
|
+
const url_join_1 = __importDefault(require("url-join"));
|
46
46
|
const errors = __importStar(require("../../../../errors/index"));
|
47
47
|
class Windows {
|
48
48
|
constructor(_options = {}) {
|
49
49
|
this._options = _options;
|
50
50
|
}
|
51
|
+
/**
|
52
|
+
* @param {string} sessionId - ID of the session that owns the window.
|
53
|
+
* @param {Airtop.CreateWindowInputV1Body} request
|
54
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
55
|
+
*
|
56
|
+
* @example
|
57
|
+
* await client.windows.create("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b")
|
58
|
+
*/
|
59
|
+
create(sessionId, request = {}, requestOptions) {
|
60
|
+
var _a, _b;
|
61
|
+
return __awaiter(this, void 0, void 0, function* () {
|
62
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
63
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/windows`),
|
64
|
+
method: "POST",
|
65
|
+
headers: {
|
66
|
+
Authorization: yield this._getAuthorizationHeader(),
|
67
|
+
"X-Fern-Language": "JavaScript",
|
68
|
+
"X-Fern-SDK-Name": "@airtop/sdk",
|
69
|
+
"X-Fern-SDK-Version": "0.1.2",
|
70
|
+
"User-Agent": "@airtop/sdk/0.1.2",
|
71
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
72
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
73
|
+
},
|
74
|
+
contentType: "application/json",
|
75
|
+
requestType: "json",
|
76
|
+
body: serializers.CreateWindowInputV1Body.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
77
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
78
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
79
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
80
|
+
});
|
81
|
+
if (_response.ok) {
|
82
|
+
return serializers.WindowIdResponse.parseOrThrow(_response.body, {
|
83
|
+
unrecognizedObjectKeys: "passthrough",
|
84
|
+
allowUnrecognizedUnionMembers: true,
|
85
|
+
allowUnrecognizedEnumValues: true,
|
86
|
+
skipValidation: true,
|
87
|
+
breadcrumbsPrefix: ["response"],
|
88
|
+
});
|
89
|
+
}
|
90
|
+
if (_response.error.reason === "status-code") {
|
91
|
+
throw new errors.AirtopError({
|
92
|
+
statusCode: _response.error.statusCode,
|
93
|
+
body: _response.error.body,
|
94
|
+
});
|
95
|
+
}
|
96
|
+
switch (_response.error.reason) {
|
97
|
+
case "non-json":
|
98
|
+
throw new errors.AirtopError({
|
99
|
+
statusCode: _response.error.statusCode,
|
100
|
+
body: _response.error.rawBody,
|
101
|
+
});
|
102
|
+
case "timeout":
|
103
|
+
throw new errors.AirtopTimeoutError();
|
104
|
+
case "unknown":
|
105
|
+
throw new errors.AirtopError({
|
106
|
+
message: _response.error.errorMessage,
|
107
|
+
});
|
108
|
+
}
|
109
|
+
});
|
110
|
+
}
|
51
111
|
/**
|
52
112
|
* @param {string} sessionId - ID of the session that owns the window.
|
53
113
|
* @param {string} windowId - ID of the browser window, which can either be a normal AirTop windowId or a [CDP TargetId](https://chromedevtools.github.io/devtools-protocol/tot/Target/#type-TargetID) from a browser automation library like Puppeteer (typically associated with the page or main frame). Our SDKs will handle retrieving a TargetId for you from various popular browser automation libraries, but we also have details in our guides on how to do it manually.
|
@@ -80,8 +140,8 @@ class Windows {
|
|
80
140
|
Authorization: yield this._getAuthorizationHeader(),
|
81
141
|
"X-Fern-Language": "JavaScript",
|
82
142
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
83
|
-
"X-Fern-SDK-Version": "0.1.
|
84
|
-
"User-Agent": "@airtop/sdk/0.1.
|
143
|
+
"X-Fern-SDK-Version": "0.1.2",
|
144
|
+
"User-Agent": "@airtop/sdk/0.1.2",
|
85
145
|
"X-Fern-Runtime": core.RUNTIME.type,
|
86
146
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
87
147
|
},
|
@@ -122,6 +182,128 @@ class Windows {
|
|
122
182
|
}
|
123
183
|
});
|
124
184
|
}
|
185
|
+
/**
|
186
|
+
* @param {string} sessionId - ID of the session that owns the window.
|
187
|
+
* @param {string} windowId - Airtop window ID of the browser window.
|
188
|
+
* @param {Airtop.WindowLoadUrlV1Body} request
|
189
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
190
|
+
*
|
191
|
+
* @example
|
192
|
+
* await client.windows.loadUrl("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334da2a-91b0-42c5-6156-76a5eba87430", {
|
193
|
+
* url: "https://www.airtop.ai"
|
194
|
+
* })
|
195
|
+
*/
|
196
|
+
loadUrl(sessionId, windowId, request, requestOptions) {
|
197
|
+
var _a, _b;
|
198
|
+
return __awaiter(this, void 0, void 0, function* () {
|
199
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
200
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}`),
|
201
|
+
method: "POST",
|
202
|
+
headers: {
|
203
|
+
Authorization: yield this._getAuthorizationHeader(),
|
204
|
+
"X-Fern-Language": "JavaScript",
|
205
|
+
"X-Fern-SDK-Name": "@airtop/sdk",
|
206
|
+
"X-Fern-SDK-Version": "0.1.2",
|
207
|
+
"User-Agent": "@airtop/sdk/0.1.2",
|
208
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
209
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
210
|
+
},
|
211
|
+
contentType: "application/json",
|
212
|
+
requestType: "json",
|
213
|
+
body: serializers.WindowLoadUrlV1Body.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
214
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
215
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
216
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
217
|
+
});
|
218
|
+
if (_response.ok) {
|
219
|
+
return serializers.EmptyResponse.parseOrThrow(_response.body, {
|
220
|
+
unrecognizedObjectKeys: "passthrough",
|
221
|
+
allowUnrecognizedUnionMembers: true,
|
222
|
+
allowUnrecognizedEnumValues: true,
|
223
|
+
skipValidation: true,
|
224
|
+
breadcrumbsPrefix: ["response"],
|
225
|
+
});
|
226
|
+
}
|
227
|
+
if (_response.error.reason === "status-code") {
|
228
|
+
throw new errors.AirtopError({
|
229
|
+
statusCode: _response.error.statusCode,
|
230
|
+
body: _response.error.body,
|
231
|
+
});
|
232
|
+
}
|
233
|
+
switch (_response.error.reason) {
|
234
|
+
case "non-json":
|
235
|
+
throw new errors.AirtopError({
|
236
|
+
statusCode: _response.error.statusCode,
|
237
|
+
body: _response.error.rawBody,
|
238
|
+
});
|
239
|
+
case "timeout":
|
240
|
+
throw new errors.AirtopTimeoutError();
|
241
|
+
case "unknown":
|
242
|
+
throw new errors.AirtopError({
|
243
|
+
message: _response.error.errorMessage,
|
244
|
+
});
|
245
|
+
}
|
246
|
+
});
|
247
|
+
}
|
248
|
+
/**
|
249
|
+
* @param {string} sessionId - ID of the session that owns the window.
|
250
|
+
* @param {string} windowId - Airtop window ID of the browser window.
|
251
|
+
* @param {Windows.RequestOptions} requestOptions - Request-specific configuration.
|
252
|
+
*
|
253
|
+
* @example
|
254
|
+
* await client.windows.close("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334da2a-91b0-42c5-6156-76a5eba87430")
|
255
|
+
*/
|
256
|
+
close(sessionId, windowId, requestOptions) {
|
257
|
+
var _a, _b;
|
258
|
+
return __awaiter(this, void 0, void 0, function* () {
|
259
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
260
|
+
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.AirtopEnvironment.Default, `sessions/${encodeURIComponent(sessionId)}/windows/${encodeURIComponent(windowId)}`),
|
261
|
+
method: "DELETE",
|
262
|
+
headers: {
|
263
|
+
Authorization: yield this._getAuthorizationHeader(),
|
264
|
+
"X-Fern-Language": "JavaScript",
|
265
|
+
"X-Fern-SDK-Name": "@airtop/sdk",
|
266
|
+
"X-Fern-SDK-Version": "0.1.2",
|
267
|
+
"User-Agent": "@airtop/sdk/0.1.2",
|
268
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
269
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
270
|
+
},
|
271
|
+
contentType: "application/json",
|
272
|
+
requestType: "json",
|
273
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
274
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
275
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
276
|
+
});
|
277
|
+
if (_response.ok) {
|
278
|
+
return serializers.WindowIdResponse.parseOrThrow(_response.body, {
|
279
|
+
unrecognizedObjectKeys: "passthrough",
|
280
|
+
allowUnrecognizedUnionMembers: true,
|
281
|
+
allowUnrecognizedEnumValues: true,
|
282
|
+
skipValidation: true,
|
283
|
+
breadcrumbsPrefix: ["response"],
|
284
|
+
});
|
285
|
+
}
|
286
|
+
if (_response.error.reason === "status-code") {
|
287
|
+
throw new errors.AirtopError({
|
288
|
+
statusCode: _response.error.statusCode,
|
289
|
+
body: _response.error.body,
|
290
|
+
});
|
291
|
+
}
|
292
|
+
switch (_response.error.reason) {
|
293
|
+
case "non-json":
|
294
|
+
throw new errors.AirtopError({
|
295
|
+
statusCode: _response.error.statusCode,
|
296
|
+
body: _response.error.rawBody,
|
297
|
+
});
|
298
|
+
case "timeout":
|
299
|
+
throw new errors.AirtopTimeoutError();
|
300
|
+
case "unknown":
|
301
|
+
throw new errors.AirtopError({
|
302
|
+
message: _response.error.errorMessage,
|
303
|
+
});
|
304
|
+
}
|
305
|
+
});
|
306
|
+
}
|
125
307
|
/**
|
126
308
|
* @param {string} sessionId - The session id for the window.
|
127
309
|
* @param {string} windowId - The Airtop window id of the browser window to target with an Airtop AI prompt.
|
@@ -143,8 +325,8 @@ class Windows {
|
|
143
325
|
Authorization: yield this._getAuthorizationHeader(),
|
144
326
|
"X-Fern-Language": "JavaScript",
|
145
327
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
146
|
-
"X-Fern-SDK-Version": "0.1.
|
147
|
-
"User-Agent": "@airtop/sdk/0.1.
|
328
|
+
"X-Fern-SDK-Version": "0.1.2",
|
329
|
+
"User-Agent": "@airtop/sdk/0.1.2",
|
148
330
|
"X-Fern-Runtime": core.RUNTIME.type,
|
149
331
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
150
332
|
},
|
@@ -204,8 +386,8 @@ class Windows {
|
|
204
386
|
Authorization: yield this._getAuthorizationHeader(),
|
205
387
|
"X-Fern-Language": "JavaScript",
|
206
388
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
207
|
-
"X-Fern-SDK-Version": "0.1.
|
208
|
-
"User-Agent": "@airtop/sdk/0.1.
|
389
|
+
"X-Fern-SDK-Version": "0.1.2",
|
390
|
+
"User-Agent": "@airtop/sdk/0.1.2",
|
209
391
|
"X-Fern-Runtime": core.RUNTIME.type,
|
210
392
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
211
393
|
},
|
@@ -265,8 +447,8 @@ class Windows {
|
|
265
447
|
Authorization: yield this._getAuthorizationHeader(),
|
266
448
|
"X-Fern-Language": "JavaScript",
|
267
449
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
268
|
-
"X-Fern-SDK-Version": "0.1.
|
269
|
-
"User-Agent": "@airtop/sdk/0.1.
|
450
|
+
"X-Fern-SDK-Version": "0.1.2",
|
451
|
+
"User-Agent": "@airtop/sdk/0.1.2",
|
270
452
|
"X-Fern-Runtime": core.RUNTIME.type,
|
271
453
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
272
454
|
},
|
@@ -0,0 +1,16 @@
|
|
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 CreateWindowInputV1Body {
|
10
|
+
/** Affects the live view configuration. By default, a live view will fill the parent frame (or local window if loaded directly) when initially loaded, causing the browser window to be resized to match. This parameter can be used to instead configure the returned liveViewUrl so that the live view is loaded with fixed dimensions (e.g. 1280x720), resizing the browser window to match, and then disallows any further resizing from the live view. */
|
11
|
+
screenResolution?: string;
|
12
|
+
/** Initial url to navigate to */
|
13
|
+
url?: string;
|
14
|
+
/** Wait until the specified loading event occurs. Defaults to 'load', which waits until the page has loaded */
|
15
|
+
waitUntil?: Airtop.CreateWindowInputV1BodyWaitUntil;
|
16
|
+
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
+
import * as Airtop from "../../../../index";
|
4
5
|
/**
|
5
6
|
* @example
|
6
7
|
* {
|
@@ -9,6 +10,8 @@
|
|
9
10
|
*/
|
10
11
|
export interface PromptContentRequest {
|
11
12
|
clientRequestId?: string;
|
13
|
+
/** Request configuration */
|
14
|
+
configuration?: Airtop.PromptContentConfig;
|
12
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). */
|
13
16
|
costThresholdCredits?: number;
|
14
17
|
/** Make a best effort attempt to load more content items than are originally displayed on the page, e.g. by following pagination links, clicking controls to load more content, utilizing infinite scrolling, etc. This can be quite a bit more costly, but may be necessary for sites that require additional interaction to show the needed results. You can provide constraints in your prompt (e.g. on the total number of pages or results to consider). */
|
@@ -1,12 +1,15 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
+
import * as Airtop from "../../../../index";
|
4
5
|
/**
|
5
6
|
* @example
|
6
7
|
* {}
|
7
8
|
*/
|
8
9
|
export interface SummarizeContentRequest {
|
9
10
|
clientRequestId?: string;
|
11
|
+
/** Request configuration */
|
12
|
+
configuration?: Airtop.SummaryConfig;
|
10
13
|
/** A credit threshold that, once exceeded, will cause the operation to be cancelled. Note that this is *not* a hard limit, but a threshold that is checked periodically during the course of fulfilling the request. A default threshold is used if not specified, but you can use this option to increase or decrease as needed. Set to 0 to disable this feature entirely (not recommended). */
|
11
14
|
costThresholdCredits?: number;
|
12
15
|
/** An optional prompt providing the Airtop AI model with additional direction or constraints about the summary (such as desired length). */
|
@@ -0,0 +1,16 @@
|
|
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
|
+
* url: "https://www.airtop.ai"
|
9
|
+
* }
|
10
|
+
*/
|
11
|
+
export interface WindowLoadUrlV1Body {
|
12
|
+
/** Url to navigate to */
|
13
|
+
url: string;
|
14
|
+
/** Wait until the specified loading event occurs. Defaults to 'load', which waits until the page has loaded */
|
15
|
+
waitUntil?: Airtop.WindowLoadUrlV1BodyWaitUntil;
|
16
|
+
}
|
@@ -1,4 +1,6 @@
|
|
1
|
+
export { type CreateWindowInputV1Body } from "./CreateWindowInputV1Body";
|
1
2
|
export { type GetWindowInfoRequest } from "./GetWindowInfoRequest";
|
3
|
+
export { type WindowLoadUrlV1Body } from "./WindowLoadUrlV1Body";
|
2
4
|
export { type PromptContentRequest } from "./PromptContentRequest";
|
3
5
|
export { type ScrapeContentRequest } from "./ScrapeContentRequest";
|
4
6
|
export { type SummarizeContentRequest } from "./SummarizeContentRequest";
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./types"), exports);
|
17
18
|
__exportStar(require("./client"), exports);
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
/**
|
5
|
+
* Wait until the specified loading event occurs. Defaults to 'load', which waits until the page has loaded
|
6
|
+
*/
|
7
|
+
export declare type CreateWindowInputV1BodyWaitUntil = "load" | "domContentLoaded";
|
8
|
+
export declare const CreateWindowInputV1BodyWaitUntil: {
|
9
|
+
readonly Load: "load";
|
10
|
+
readonly DomContentLoaded: "domContentLoaded";
|
11
|
+
};
|
@@ -0,0 +1,10 @@
|
|
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.CreateWindowInputV1BodyWaitUntil = void 0;
|
7
|
+
exports.CreateWindowInputV1BodyWaitUntil = {
|
8
|
+
Load: "load",
|
9
|
+
DomContentLoaded: "domContentLoaded",
|
10
|
+
};
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
/**
|
5
|
+
* Wait until the specified loading event occurs. Defaults to 'load', which waits until the page has loaded
|
6
|
+
*/
|
7
|
+
export declare type WindowLoadUrlV1BodyWaitUntil = "load" | "domContentLoaded";
|
8
|
+
export declare const WindowLoadUrlV1BodyWaitUntil: {
|
9
|
+
readonly Load: "load";
|
10
|
+
readonly DomContentLoaded: "domContentLoaded";
|
11
|
+
};
|
@@ -0,0 +1,10 @@
|
|
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.WindowLoadUrlV1BodyWaitUntil = void 0;
|
7
|
+
exports.WindowLoadUrlV1BodyWaitUntil = {
|
8
|
+
Load: "load",
|
9
|
+
DomContentLoaded: "domContentLoaded",
|
10
|
+
};
|
@@ -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,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Airtop from "../index";
|
5
|
+
export interface EmptyResponse {
|
6
|
+
data: Airtop.EmptyResponseJson;
|
7
|
+
errors?: Airtop.Issue[];
|
8
|
+
meta: Airtop.EnvelopeStatusDefaultMeta;
|
9
|
+
warnings?: Airtop.Issue[];
|
10
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
export declare type EnvelopeStatusDefaultMetaStatus = "success" | " failure" | " timeout";
|
5
|
+
export declare const EnvelopeStatusDefaultMetaStatus: {
|
6
|
+
readonly Success: "success";
|
7
|
+
readonly Failure: " failure";
|
8
|
+
readonly Timeout: " timeout";
|
9
|
+
};
|